Synthesize array descriptors with -fgnat-encodings=minimal
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
57567375
TT
12020-11-04 Tom Tromey <tromey@adacore.com>
2
3 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
4 values.
5 * gdb.ada/access_to_unbounded_array.exp: Test different
6 -fgnat-encodings values.
7 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
8 values.
9 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
10 values.
11 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
12 values.
13 * gdb.ada/array_of_variable_length.exp: Test different
14 -fgnat-encodings values.
15 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
16 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
17 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
18 change.
19 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
20 values.
21 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
22 * gdb.ada/out_of_line_in_inlined.exp: Test different
23 -fgnat-encodings values.
24 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
25 values.
26 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
27 values.
28 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
29 -fgnat-encodings values.
30 * gdb.ada/variant_record_packed_array.exp: Test different
31 -fgnat-encodings values.
32
a7400e44
TT
332020-11-04 Tom Tromey <tromey@adacore.com>
34
35 * gdb.ada/enum_idx_packed.exp: Add tests.
36 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
37 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
38 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
39 declarations.
40
c40907bf
TV
412020-11-03 Tom de Vries <tdevries@suse.de>
42
43 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
44 terminator comments.
45 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
46 terminator.
47
f468977a
SM
482020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
49
50 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
51 integer format test with regexp.
52
1c2bec19
GB
532020-11-02 Gary Benson <gbenson@redhat.com>
54
55 * gdb.base/print-file-var.exp (test): Separate compiler and
56 linker options, and build using build_executable_from_specs
57 to accommodate this.
58
6539a36d
GB
592020-11-02 Gary Benson <gbenson@redhat.com>
60
61 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
62 for .c files compiled as C++ with Clang if any shared
63 libraries are specified.
64
7ea44a51
GB
652020-11-02 Gary Benson <gbenson@redhat.com>
66
67 * lib/attributes.h: New header.
68 * gdb.base/backtrace.c: Include the above. Replace
69 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
70 * gdb.base/infcall-nested-structs.c: Likewise.
71 * gdb.base/vla-optimized-out.c: Likewise.
72
ab8f783d
TV
732020-11-02 Tom de Vries <tdevries@suse.de>
74
75 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
76
d77c9224
JB
772020-11-01 Joel Brobecker <brobecker@adacore.com>
78
79 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
80 System.Min_Int and System.Max_Int with smaller hardcoded
81 constants.
82
0e5b0dd0
SM
832020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
84
85 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
86 * configure: Re-generate.
87
136821d9
SM
882020-10-30 Simon Marchi <simon.marchi@efficios.com>
89
90 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
91 expected output.
92
b78b3a29
TBA
932020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
94
95 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
96 behavior.
97 * gdb.base/paginate-bg-execution.exp: Ditto.
98 * gdb.base/paginate-inferior-exit.exp: Ditto.
99 * gdb.base/double-prompt-target-event-error.c: Remove.
100 * gdb.base/double-prompt-target-event-error.exp: Remove.
101
cfaa8f76
TBA
1022020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
103
104 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
105 inferiors' and 'detach inferiors' do not change the current
106 inferior.
107
0ad0e70c
TV
1082020-10-29 Tom de Vries <tdevries@suse.de>
109
110 * gdb.threads/tls.exp: Fix DUPLICATEs.
111
99cc6b2a
TV
1122020-10-28 Tom de Vries <tdevries@suse.de>
113
114 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
115
efe9b873
TV
1162020-10-28 Tom de Vries <tdevries@suse.de>
117
118 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
119 * gdb.base/reread.exp: Same.
120
6b68fd45
TV
1212020-10-28 Tom de Vries <tdevries@suse.de>
122
123 * lib/gdb.exp (readnow): Handle arg.
124 * gdb.rust/traits.exp: Add KFAILs for -readnow.
125
32a5f98a
TV
1262020-10-28 Tom de Vries <tdevries@suse.de>
127
128 * gdb.base/relocate.exp: Update regexp for -readnow.
129
f93b8760
TV
1302020-10-28 Tom de Vries <tdevries@suse.de>
131
132 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
133 -readnow.
134
1b00ef06
TV
1352020-10-28 Tom de Vries <tdevries@suse.de>
136
137 PR symtab/26772
138 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
139 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
140
364bb903
TV
1412020-10-28 Tom de Vries <tdevries@suse.de>
142
143 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
144 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
145 complaint during file command for -readnow.
146
445a033f
TV
1472020-10-28 Tom de Vries <tdevries@suse.de>
148
149 * gdb.cp/nsalias.exp: Fix typo in test name.
150
fdd67a42
TV
1512020-10-28 Tom de Vries <tdevries@suse.de>
152
153 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
154
706baf4c
TV
1552020-10-28 Tom de Vries <tdevries@suse.de>
156
157 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
158 -readnow.
159
b448cca5
TV
1602020-10-27 Tom de Vries <tdevries@suse.de>
161
162 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
163
5868da03
TV
1642020-10-27 Tom de Vries <tdevries@suse.de>
165
166 * gdb.base/maint.exp: Update for -readnow.
167
06db6ec3
TV
1682020-10-27 Tom de Vries <tdevries@suse.de>
169
170 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
171 -readnow.
172
934a1764
GB
1732020-10-14 Gary Benson <gbenson@redhat.com>
174
175 * gdb.python/py-format-string.exp (test_deref_refs): Treat
176 "_vptr$Base" as correct, in addition to "_vptr.Base".
177 (test_mixed): Likewise.
178
0bf21fbd
GB
1792020-10-27 Gary Benson <gbenson@redhat.com>
180
181 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
182 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
183
b1d4d8d1
TBA
1842020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
185
186 * gdb.base/condbreak.exp: Update the completion tests to
187 consider the '-force' flag.
188
bd24c5d6
TV
1892020-10-27 Tom de Vries <tdevries@suse.de>
190
191 * gdb.base/list-ambiguous-readnow.exp: New file.
192
733d554a
TBA
1932020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
194
195 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
196 the condition.
197 * gdb.linespec/cpcompletion.exp: Update to consider the
198 '-force-condition' keyword.
199 * gdb.linespec/explicit.exp: Ditto.
200 * lib/completion-support.exp: Ditto.
201
b5fa468f
TBA
2022020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
203
204 * gdb.base/condbreak-multi-context.cc: New file.
205 * gdb.base/condbreak-multi-context.exp: New file.
206
b3247276
TT
2072020-10-26 Tom Tromey <tom@tromey.com>
208
209 * lib/mi-support.exp (default_mi_gdb_start): Call
210 gdb_stdin_log_init.
211 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
212 subtract one from gdb_instances.
213 (gdb_stdin_log_write): Flush in_file.
214
1c47ec3e
TV
2152020-10-26 Tom de Vries <tdevries@suse.de>
216
217 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
218
6390859c
TT
2192020-10-26 Tom Tromey <tromey@adacore.com>
220
221 * gdb.ada/unsigned_range/foo.adb: New file.
222 * gdb.ada/unsigned_range/pack.adb: New file.
223 * gdb.ada/unsigned_range/pack.ads: New file.
224 * gdb.ada/unsigned_range.exp: New file.
225
55c3ad88
TV
2262020-10-26 Tom de Vries <tdevries@suse.de>
227
228 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
229
1612c4bb
TV
2302020-10-26 Tom de Vries <tdevries@suse.de>
231
232 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
233 for CU.
234 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
235
7d72802b
TV
2362020-10-23 Tom de Vries <tdevries@suse.de>
237
238 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
239 DW_FORM_string.
240 (Dwarf::_default_form): New proc.
241 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
242 guessed.
243
9476b583
TV
2442020-10-23 Tom de Vries <tdevries@suse.de>
245
246 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
247 * gdb.dwarf2/atomic-type.exp: Same.
248 * gdb.dwarf2/bad-regnum.exp: Same.
249 * gdb.dwarf2/cpp-linkage-name.exp: Same.
250 * gdb.dwarf2/dw2-align.exp: Same.
251 * gdb.dwarf2/dw2-bad-elf.exp: Same.
252 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
253 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
254 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
255 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
256 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
257 * gdb.dwarf2/enum-type.exp: Same.
258 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
259 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
260 * gdb.dwarf2/main-subprogram.exp: Same.
261 * gdb.dwarf2/missing-type-name.exp: Same.
262 * gdb.dwarf2/nonvar-access.exp: Same.
263 * gdb.dwarf2/typedef-void-finish.exp: Same.
264 * gdb.dwarf2/var-access.exp: Same.
265 * gdb.dwarf2/void-type.exp: Same.
266
4a636814
SM
2672020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
268
269 PR gdb/26693
270 * gdb.dwarf2/template-specification-full-name.exp: New test.
271
557fc257
LM
2722020-10-22 Luis Machado <luis.machado@linaro.org>
273
274 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
275 expected an offset from the function.
276 * gdb.base/msym-bp.exp (test): Likewise.
277
6b4c676c
AB
2782020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
279
280 * gdb.fortran/array-slices.exp: Add a new test.
281
98cec4f6
GB
2822020-10-21 Gary Benson <gbenson@redhat.com>
283
284 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
285 fullname test with Clang. Also expand comments generally.
286
ae86f581
TV
2872020-10-20 Tom de Vries <tdevries@suse.de>
288
289 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
290
8c161360
TV
2912020-10-20 Tom de Vries <tdevries@suse.de>
292
293 * gdb.dwarf2/arr-stride.c: Remove.
294 * gdb.dwarf2/arr-stride.exp: Use main.c.
295 * gdb.dwarf2/arr-subrange.c: Remove.
296 * gdb.dwarf2/arr-subrange.exp: Use main.c.
297 * gdb.dwarf2/bad-regnum.c: Remove.
298 * gdb.dwarf2/bad-regnum.exp: Use main.c.
299 * gdb.dwarf2/corrupt.c: Remove.
300 * gdb.dwarf2/corrupt.exp: Use main.c.
301 * gdb.dwarf2/dw2-bad-elf.c: Remove.
302 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
303 * gdb.dwarf2/dw2-icycle.c: Remove.
304 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
305 * gdb.dwarf2/formdata16.c: Remove.
306 * gdb.dwarf2/formdata16.exp: Use main.c.
307 * gdb.dwarf2/implptrconst.c: Remove.
308 * gdb.dwarf2/implptrconst.exp: Use main.c.
309 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
310 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
311 * gdb.dwarf2/opaque-type-lookup.c: Remove.
312 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
313
9c2412ec
TV
3142020-10-20 Tom de Vries <tdevries@suse.de>
315
316 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
317 file.
318 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
319
0cd2ad78
TV
3202020-10-20 Tom de Vries <tdevries@suse.de>
321
322 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
323 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
324 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
325 * gdb.dwarf2/dw2-ranges-base.exp: Same.
326 * gdb.dwarf2/dw2-ranges.exp: Same.
327 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
328 * gdb.dwarf2/var-access.exp: Same.
329
22cc388e
TT
3302020-10-19 Tom Tromey <tromey@adacore.com>
331
332 PR tui/26719
333 * gdb.tui/list.exp: Check source window contents after focus
334 change.
335
520596f2
TV
3362020-10-17 Tom de Vries <tdevries@suse.de>
337
338 PR symtab/26317
339 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
340
d1c8a76d
TV
3412020-10-17 Tom de Vries <tdevries@suse.de>
342
343 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
344 as suffix.
345 * gdb.dwarf2/atomic.c: Rename to ...
346 * gdb.dwarf2/atomic-type.c: ... this.
347 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
348 * gdb.dwarf2/dw2-ranges-2.c: ... this.
349 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
350 * gdb.dwarf2/dw2-ranges-3.c: ... this.
351 * gdb.dwarf2/fission-mix2.c: Rename to ...
352 * gdb.dwarf2/fission-mix-2.c: ... this.
353 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
354 standard_testfile.
355 * gdb.dwarf2/ada-valprint-error.exp: Same.
356 * gdb.dwarf2/arr-stride.exp: Same.
357 * gdb.dwarf2/arr-subrange.exp: Same.
358 * gdb.dwarf2/atomic-type.exp: Same.
359 * gdb.dwarf2/bad-regnum.exp: Same.
360 * gdb.dwarf2/break-inline-psymtab.exp: Same.
361 * gdb.dwarf2/clang-debug-names-2.exp: Same.
362 * gdb.dwarf2/clang-debug-names.exp: Same.
363 * gdb.dwarf2/comp-unit-lang.exp: Same.
364 * gdb.dwarf2/corrupt.exp: Same.
365 * gdb.dwarf2/count.exp: Same.
366 * gdb.dwarf2/cpp-linkage-name.exp: Same.
367 * gdb.dwarf2/data-loc.exp: Same.
368 * gdb.dwarf2/dw2-align.exp: Same.
369 * gdb.dwarf2/dw2-bad-elf.exp: Same.
370 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
371 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
372 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
373 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
374 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
375 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
376 * gdb.dwarf2/dw2-inline-param.exp: Same.
377 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
378 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
379 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
380 * gdb.dwarf2/dw2-is-stmt.exp: Same.
381 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
382 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
383 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
384 * gdb.dwarf2/dw2-param-error.exp: Same.
385 * gdb.dwarf2/dw2-ranges-base.exp: Same.
386 * gdb.dwarf2/dw2-ranges.exp: Same.
387 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
388 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
389 * gdb.dwarf2/dw4-sig-types.exp: Same.
390 * gdb.dwarf2/dynarr-ptr.exp: Same.
391 * gdb.dwarf2/enum-type.exp: Same.
392 * gdb.dwarf2/fission-mix.exp: Same.
393 * gdb.dwarf2/formdata16.exp: Same.
394 * gdb.dwarf2/implptrconst.exp: Same.
395 * gdb.dwarf2/implptrpiece.exp: Same.
396 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
397 * gdb.dwarf2/main-subprogram.exp: Same.
398 * gdb.dwarf2/method-ptr.exp: Same.
399 * gdb.dwarf2/missing-sig-type.exp: Same.
400 * gdb.dwarf2/nonvar-access.exp: Same.
401 * gdb.dwarf2/opaque-type-lookup.exp: Same.
402 * gdb.dwarf2/shortpiece.exp: Same.
403 * gdb.dwarf2/staticvirtual.exp: Same.
404 * gdb.dwarf2/subrange.exp: Same.
405 * gdb.dwarf2/symtab-producer.exp: Same.
406 * gdb.dwarf2/typedef-void-finish.exp: Same.
407 * gdb.dwarf2/var-access.exp: Same.
408 * gdb.dwarf2/variant.exp: Same.
409 * gdb.dwarf2/void-type.exp: Same.
410 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
411 dw2-ranges-main.c.
412 * gdb.dwarf2/dw2-ranges-main.c: Remove.
413
472d09c1
TV
4142020-10-16 Tom de Vries <tdevries@suse.de>
415
416 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
417
afe75f6d
TV
4182020-10-16 Tom de Vries <tdevries@suse.de>
419
420 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
421
8c8bd0ba
TV
4222020-10-14 Tom de Vries <tdevries@suse.de>
423
424 PR testsuite/26732
425 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
426 scenario 2.
427 * gdb.ada/mi_catch_ex_hand.exp: Same.
428
b75d55d4
PA
4292020-10-13 Pedro Alves <pedro@palves.net>
430
431 * lib/mi-support.exp (mi_clean_restart): New.
432 (mi_run_to_main): Delete.
433 All callers adjust to use mi_clean_restart / mi_runto_main.
434
e777225b
PA
4352020-10-13 Pedro Alves <pedro@palves.net>
436
437 * config/monitor.exp: Use "list -q".
438 * gdb.arch/gdb1558.exp: Use "break -q".
439 * gdb.arch/i386-permbkpt.exp: Use "break -q".
440 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
441 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
442 * gdb.base/commands.exp: Use "break -q".
443 * gdb.base/condbreak.exp: Use "break -q".
444 * gdb.base/ctf-ptype.exp: Use "list -q".
445 * gdb.base/define.exp: Use "break -q".
446 * gdb.base/del.exp: Use "break -q".
447 * gdb.base/fullname.exp: Use "break -q".
448 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
449 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
450 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
451 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
452 "hbreak -q".
453 * gdb.base/included.exp: Use "list -q".
454 * gdb.base/label.exp: Use "break -q".
455 * gdb.base/lineinc.exp: Use "break -q".
456 * gdb.base/list.exp: Use "list -q".
457 * gdb.base/macscp.exp: Use "list -q".
458 * gdb.base/pending.exp: Use "break -q".
459 * gdb.base/prologue-include.exp: Use "break -q".
460 * gdb.base/ptype.exp: Use "list -q".
461 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
462 * gdb.base/server-del-break.exp: Use "break -q".
463 * gdb.base/style.exp: Use "break -q".
464 * gdb.base/symbol-without-target_section.exp: Use "list -q".
465 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
466 * gdb.cp/exception.exp: Use "tbreak -q".
467 * gdb.dwarf2/dw2-error.exp: Use "break -q".
468 * gdb.dwarf2/fission-mix.exp: Use "break -q".
469 * gdb.dwarf2/fission-reread.exp: Use "break -q".
470 * gdb.dwarf2/pr13961.exp: Use "break -q".
471 * gdb.linespec/explicit.exp: Use "list -q".
472 * gdb.linespec/linespec.exp: Use "break -q".
473 * gdb.mi/mi-simplerun.exp: Use "--qualified".
474 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
475 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
476 * gdb.server/connect-without-multi-process.exp: Use "break -q".
477 * gdb.trace/change-loc.exp: Use "break -q".
478 * gdb.trace/pending.exp: Use "break -q".
479 * gdb.tui/basic.exp: Use "list -q".
480 * gdb.tui/list-before.exp: Use "list -q".
481 * gdb.tui/list.exp: Use "list -q".
482 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
483
8abd8ee8
PA
4842020-10-13 Pedro Alves <pedro@palves.net>
485
486 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
487 saved breakpoints file.
488 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
489 inspecting breakpoint list.
490 * lib/gdb.exp (runto_main): Add "qualified" to options.
491 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
492 and handle it.
493 (mi_runto_main): Pass 1 as qualified argument.
494
f71e6719
PA
4952020-10-13 Pedro Alves <pedro@palves.net>
496
497 * lib/mi-support.exp (mi_runto_main): New proc.
498 (mi_run_to_main): Use it.
499 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
500 * gdb.mi/mi-var-cmd.exp: Likewise.
501 * gdb.mi/mi-var-invalidate.exp: Likewise.
502 * mi-var-list-children-invalid-grandchild.exp: Likewise.
503 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
504 * gdb.mi/new-ui-mi-sync.exp: Likewise.
505 * gdb.mi/user-selected-context-sync.exp: Likewise.
506 * gdb.opt/inline-cmds.exp: Likewise.
507 * gdb.python/py-framefilter-mi.exp: Likewise.
508 * gdb.python/py-mi.exp: Likewise.
509
50441f0f
PA
5102020-10-13 Pedro Alves <pedro@palves.net>
511
512 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
513 "runto main".
514 * gdb.ada/small_reg_param.exp: Likewise.
515 * gdb.arch/powerpc-d128-regs.exp: Likewise.
516 * gdb.base/annota1.exp: Likewise.
517 * gdb.base/anon.exp: Likewise.
518 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
519 * gdb.base/dprintf-non-stop.exp: Likewise.
520 * gdb.base/dprintf.exp: Likewise.
521 * gdb.base/gdb11530.exp: Likewise.
522 * gdb.base/gdb11531.exp: Likewise.
523 * gdb.base/gnu_vector.exp: Likewise.
524 * gdb.base/interrupt-noterm.exp: Likewise.
525 * gdb.base/memattr.exp: Likewise.
526 * gdb.base/step-over-syscall.exp: Likewise.
527 * gdb.base/watch-cond-infcall.exp: Likewise.
528 * gdb.base/watch-read.exp: Likewise.
529 * gdb.base/watch-vfork.exp: Likewise.
530 * gdb.base/watch_thread_num.exp: Likewise.
531 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
532 * gdb.guile/scm-frame-inline.exp: Likewise.
533 * gdb.linespec/explicit.exp: Likewise.
534 * gdb.opt/inline-break.exp: Likewise.
535 * gdb.python/py-frame-inline.exp: Likewise.
536 * gdb.reverse/break-precsave.exp: Likewise.
537 * gdb.reverse/break-reverse.exp: Likewise.
538 * gdb.reverse/consecutive-precsave.exp: Likewise.
539 * gdb.reverse/consecutive-reverse.exp: Likewise.
540 * gdb.reverse/finish-precsave.exp: Likewise.
541 * gdb.reverse/finish-reverse.exp: Likewise.
542 * gdb.reverse/fstatat-reverse.exp: Likewise.
543 * gdb.reverse/getresuid-reverse.exp: Likewise.
544 * gdb.reverse/i386-precsave.exp: Likewise.
545 * gdb.reverse/i386-reverse.exp: Likewise.
546 * gdb.reverse/i386-sse-reverse.exp: Likewise.
547 * gdb.reverse/i387-env-reverse.exp: Likewise.
548 * gdb.reverse/i387-stack-reverse.exp: Likewise.
549 * gdb.reverse/insn-reverse.exp: Likewise.
550 * gdb.reverse/machinestate-precsave.exp: Likewise.
551 * gdb.reverse/machinestate.exp: Likewise.
552 * gdb.reverse/pipe-reverse.exp: Likewise.
553 * gdb.reverse/readv-reverse.exp: Likewise.
554 * gdb.reverse/recvmsg-reverse.exp: Likewise.
555 * gdb.reverse/rerun-prec.exp: Likewise.
556 * gdb.reverse/s390-mvcle.exp: Likewise.
557 * gdb.reverse/solib-precsave.exp: Likewise.
558 * gdb.reverse/solib-reverse.exp: Likewise.
559 * gdb.reverse/step-precsave.exp: Likewise.
560 * gdb.reverse/step-reverse.exp: Likewise.
561 * gdb.reverse/time-reverse.exp: Likewise.
562 * gdb.reverse/until-precsave.exp: Likewise.
563 * gdb.reverse/until-reverse.exp: Likewise.
564 * gdb.reverse/waitpid-reverse.exp: Likewise.
565 * gdb.reverse/watch-precsave.exp: Likewise.
566 * gdb.reverse/watch-reverse.exp: Likewise.
567 * gdb.threads/kill.exp: Likewise.
568 * gdb.threads/tid-reuse.exp: Likewise.
569
d3a07122
SM
5702020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
571
572 PR gdb/26642
573 * gdb.base/maint-target-async-off.c: New test.
574 * gdb.base/maint-target-async-off.exp: New test.
575
c65c6c42
AM
5762020-10-13 Alan Modra <amodra@gmail.com>
577
578 * gdb.arch/powerpc-altivec.s,
579 * gdb.arch/powerpc-power7.s,
580 * gdb.arch/powerpc-power8.s,
581 * gdb.arch/powerpc-power9.s,
582 * gdb.arch/powerpc-vsx.s,
583 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
584 * gdb.arch/powerpc-altivec.exp,
585 * gdb.arch/powerpc-power7.exp,
586 * gdb.arch/powerpc-power8.exp,
587 * gdb.arch/powerpc-power9.exp,
588 * gdb.arch/powerpc-vsx.exp,
589 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
590 disassembly of mfvsrd/mtvsrd.
591
f4a0f710
AM
5922020-10-13 Alan Modra <amodra@gmail.com>
593
594 * gdb.arch/arm-disassembler-options.exp: Adjust expected
595 "target architecture" output.
596 * gdb.arch/powerpc-d128-regs.exp: Likewise.
597 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
598 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
599 * gdb.arch/s390-disassembler-options.exp: Likewise.
600
87a37e5e
PA
6012020-10-12 Pedro Alves <pedro@palves.net>
602
603 PR exp/26602
604 PR c++/26550
605 * gdb.cp/ambiguous.cc (marker1): Delete.
606 (main): Initialize all the fields of the locals. Replace marker1
607 call with a "set breakpoint here" marker.
608 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
609 instead of running to marker1. Add tests printing all the
610 variables and all the fields of the variables.
611 (test_ambiguous): New proc, expecting the new GDB output when a
612 field access is ambiguous. Change all "warning: X ambiguous"
613 tests to use it.
614
71e1b6b0
GB
6152020-10-12 Gary Benson <gbenson@redhat.com>
616
617 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
618 * gdb.base/msym-bp-2.c (foo): Likewise.
619 * gdb.base/msym-lang.c (foo): Likewise.
620 * gdb.base/msym-lang-main.c (foo): Likewise.
621 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
622 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
623 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
624 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
625 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
626 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
627 * gdb.python/py-objfile.c (static_var): Likewise.
628 * gdb.python/py-symbol.c (rr): Likewise.
629 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
630 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
631
9370fd51
AB
6322020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
633
634 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
635 output of backtrace.
636
7c184d33
TT
6372020-10-09 Tom Tromey <tromey@adacore.com>
638
639 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
640 (Rec): Add field. Fix range.
641 * gdb.ada/scalar_storage.exp: Update.
642
3d87245c
HD
6432020-10-09 Hannes Domani <ssbssa@yahoo.de>
644
645 PR exp/26714
646 * gdb.base/printcmds.exp: Add tests for void results.
647
f5c4b229
JV
6482020-10-09 Jan Vrany <jan.vrany@labware.com>
649
650 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
651 is emmited for both 'set directories' and 'directory' commands.
652
b2701685
TT
6532020-10-08 Tom Tromey <tom@tromey.com>
654
655 * gdb.base/style.exp: Check that "main"'s name is styled.
656
e86efb33
TT
6572020-10-07 Tom Tromey <tromey@adacore.com>
658
659 * gdb.base/find.exp: Rename some tests.
660
30897591
GB
6612020-10-06 Gary Benson <gbenson@redhat.com>
662
663 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
664 * gdb.base/list1.c (unused): Likewise.
665
ced4a4c1
GB
6662020-10-06 Gary Benson <gbenson@redhat.com>
667
668 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
669 __attribute__ ((used)).
670 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
671
ed3bdac4
AB
6722020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
673
674 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
675 make use of regions throughout.
676 * gdb.base/overlays.exp: Enclose string with variableds in "..",
677 not {...}.
678 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
679
cd096ec8
HD
6802020-10-05 Hannes Domani <ssbssa@yahoo.de>
681
682 * gdb.base/call-sc.c: Fix return struct on stack test case.
683 * gdb.base/call-sc.exp: Likewise.
684
3ee6f75d
GB
6852020-10-02 Gary Benson <gbenson@redhat.com>
686
687 * README: Fix "paralell".
688
f65825ec
GB
6892020-09-30 Gary Benson <gbenson@redhat.com>
690
691 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
692 Convert directive to lowercase.
693 (.Labbrev1_begin): Add missing label.
694 (abbrev code 0x1): Remove DW_AT_stmt_list.
695 (.Ldie_b): Likewise.
696
5f278258
TT
6972020-09-27 Tom Tromey <tom@tromey.com>
698
699 * gdb.tui/new-layout.exp: Use with_test_prefix.
700
8f9929bb
GR
7012020-09-26 Gareth Rees <grees@undo.io> (tiny change)
702
703 PR python/26586
704 * gdb.python/python.exp: add test cases for the from_tty
705 argument to gdb.execute.
706
c20c017b
GB
7072020-09-25 Gary Benson <gbenson@redhat.com>
708
709 * gdb.base/infcall-nested-structs.exp.tcl: Add
710 additional_flags=-Wno-tautological-compare for C++
711 tests when compiling using Clang.
712
68d654af
GB
7132020-09-25 Gary Benson <gbenson@redhat.com>
714
715 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
716 for .c files.
717
b551a89f
TT
7182020-09-24 Tom Tromey <tromey@adacore.com>
719
720 PR tui/26638:
721 * gdb.tui/list.exp: Check output of "focus next".
722
20a5fcbd
TT
7232020-09-23 Tom Tromey <tom@tromey.com>
724
725 * gdb.dwarf2/intbits.exp: New file.
726 * gdb.dwarf2/intbits.c: New file.
727
b167e53f
PA
7282020-09-20 Pedro Alves <pedro@palves.net>
729
730 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
731 spawn_id before calling remote_close. Close secondary MI channel.
732
dbc49e9f
PA
7332020-09-20 Pedro Alves <pedro@palves.net>
734
735 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
736 fails.
737
c8d5abea
AB
7382020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
739
740 * gdb.fortran/array-slices.exp: Update expected results.
741 * gdb.fortran/class-allocatable-array.exp: Likewise.
742 * gdb.fortran/multi-dim.exp: Likewise.
743 * gdb.fortran/vla-type.exp: Likewise.
744 * gdb.mi/mi-vla-fortran.exp: Likewise.
745
14f9473c
VC
7462020-09-18 Victor Collod <vcollod@nvidia.com>
747
748 PR gdb/26635
749 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
750 compatible with i386, and move it to...
751 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
752 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
753 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
754
e8ef12b9
PA
7552020-09-18 Pedro Alves <pedro@palves.net>
756
757 PR gdb/26631
758 * gdb.multi/multi-target-thread-find.exp: New file.
759
e11daf7a
PA
7602020-09-18 Pedro Alves <pedro@palves.net>
761
762 * gdb.multi/multi-target-continue.exp: New file, factored out from
763 multi-target.exp.
764 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
765 multi-target.exp.
766 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
767 multi-target.exp.
768 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
769 multi-target.exp.
770 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
771 multi-target.exp.
772 * gdb.multi/multi-target.exp.tcl: New file, factored out from
773 multi-target.exp.
774 * gdb.multi/multi-target.exp: Delete.
775
d0edc2b8
AB
7762020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
777
778 * gdb.fortran/array-slices.exp: Add missing message data.
779
7474326c
PA
7802020-09-17 Pedro Alves <pedro@palves.net>
781
782 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
783
dd23068d
PA
7842020-09-17 Pedro Alves <pedro@palves.net>
785
786 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
787 full prototype.
788
0640a543
PA
7892020-09-17 Pedro Alves <pedro@palves.net>
790
791 * gdb.python/py-as-string.c: Add cast.
792
ef0cdbc1
PA
7932020-09-17 Pedro Alves <pedro@palves.net>
794
795 * gdb.base/sizeof.c (fill): Add cast.
796
3a5eeb8b
PA
7972020-09-17 Pedro Alves <pedro@palves.net>
798
799 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
800
a8129512
PA
8012020-09-17 Pedro Alves <pedro@palves.net>
802
803 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
804 linkage name.
805 * gdb.base/prologue.exp: Use print /d.
806 * gdb.base/symbol-alias.exp: Handle C++ output.
807 * gdb.base/symbol-alias2.c: Handle C++ output.
808 [__cplusplus] (func): Explicitly specify linkage name.
809
a83cdcb6
PA
8102020-09-17 Pedro Alves <pedro@palves.net>
811
812 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
813 (struct my_key_t): ... this. Adjust all references.
814 (struct value_t): Rename to ...
815 (struct my_value_t): ... this. Adjust all references.
816 (create_map, add_map_element, create_map_map)
817 (add_map_map_element): Add casts.
818
d4bcee5c
PA
8192020-09-17 Pedro Alves <pedro@palves.net>
820
821 * gdb.python/py-framefilter-mi.c (funca): Add casts.
822 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
823
81f90489
PA
8242020-09-17 Pedro Alves <pedro@palves.net>
825
826 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
827
0a229804
PA
8282020-09-17 Pedro Alves <pedro@palves.net>
829
830 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
831 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
832 (charfoo, intfoo): Define full prototype.
833 * gdb.base/ptype1.c (charfoo): Define full prototype.
834 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
835 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
836
c3e5138d
PA
8372020-09-17 Pedro Alves <pedro@palves.net>
838
839 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
840 Don't define.
841 (utf_32_string): Compile for both C and C++.
842 * gdb.base/charset.exp: Use "print /d".
843
151fdbad
PA
8442020-09-17 Pedro Alves <pedro@palves.net>
845
846 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
847 (nullptr): Rename to ...
848 (null_ptr): ... this.
849 * gdb.base/watchpoint.exp: Adjust to rename.
850
18a25b64
PA
8512020-09-17 Pedro Alves <pedro@palves.net>
852
853 * gdb.base/printcmds.c (three, flag_enum_without_zero)
854 (three_not_flag): Add casts.
855
11fac337
PA
8562020-09-17 Pedro Alves <pedro@palves.net>
857
858 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
859 char array.
860 (main): Add references to Barrier, TestStrings, TestStringsH and
861 TestStringsW.
862 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
863 and expect a full prototype in C++.
864
52626c58
PA
8652020-09-17 Pedro Alves <pedro@palves.net>
866
867 * gdb.base/nested-addr.c (main): Add cast.
868 * gdb.base/nested-addr.exp: Use "print /d".
869
52bb0902
PA
8702020-09-17 Pedro Alves <pedro@palves.net>
871
872 * gdb.base/break.exp (func): New. Use it throughout when
873 expecting a function name.
874
73e18ac9
PA
8752020-09-17 Pedro Alves <pedro@palves.net>
876
877 * gdb.base/display.exp: Issue "set print asm-demangle on".
878
c8b18808
PA
8792020-09-17 Pedro Alves <pedro@palves.net>
880
881 * gdb.base/find.c: Include <string.h>.
882 (init_bufs): Add cast.
883 * gdb.base/find.exp: Issue "set print asm-demangle on".
884
fe830662
TT
8852020-09-16 Tom Tromey <tromey@adacore.com>
886
887 PR gdb/26598:
888 * gdb.base/skipcxx.exp: New file.
889 * gdb.base/skipcxx.cc: New file.
890
945ff6e2
TV
8912020-09-16 Tom de Vries <tdevries@suse.de>
892
893 PR testsuite/26617
894 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
895 WITH_DEBUG_SECTIONS is defined.
896 (xstr, str): New macro.
897 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
898 to get start and size of _Dmain.
899 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
900 using additional_flags.
901
da1df1db
TBA
9022020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
903
904 * gdb.base/bp-cmds-sourced-script.c: New file.
905 * gdb.base/bp-cmds-sourced-script.exp: New test.
906 * gdb.base/bp-cmds-sourced-script.gdb: New file.
907
337882d4
TV
9082020-09-16 Tom de Vries <tdevries@suse.de>
909
910 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
911 get the gdb prompt after issuing "monitor exit".
912
7361f908
TV
9132020-09-16 Tom de Vries <tdevries@suse.de>
914
915 PR testsuite/26624
916 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
917
4d91ddd3
TV
9182020-09-16 Tom de Vries <tdevries@suse.de>
919
920 PR testsuite/26618
921 * gdb.tui/new-layout.exp: Escape unbalanced braces.
922
08cc37dd
TT
9232020-09-15 Tom Tromey <tromey@adacore.com>
924
925 PR rust/26197:
926 * lib/rust-support.exp (rust_llvm_version): New proc.
927 * gdb.rust/simple.exp: Check rust_llvm_version.
928
ee6372f2
TV
9292020-09-14 Tom de Vries <tdevries@suse.de>
930
931 * gdb.rust/traits.exp: Fix PATH warning.
932
dc3a371e
PA
9332020-09-13 Pedro Alves <pedro@palves.net>
934
935 * gdb.base/catch-follow-exec.c (main): Add explicit return
936 statement.
937 * gdb.base/catch-signal.c (main): Likewise.
938 * gdb.base/condbreak-call-false.c (main): Likewise.
939 * gdb.base/consecutive.c (main): Add explicit return
940 statement and return type.
941 * gdb.base/cursal.c (main): Add explicit return statement.
942 * gdb.base/cvexpr.c (main): Likewise.
943 * gdb.base/display.c (main): Add explicit return statement and
944 return type.
945 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
946 * gdb.base/endianity.c (main): Likewise.
947 * gdb.base/execd-prog.c (main): Likewise.
948 * gdb.base/gdb1090.c (main): Likewise.
949 * gdb.base/info_qt.c (main): Likewise.
950 * gdb.base/lineinc.c (main): Likewise.
951 * gdb.base/load-command.c (main): Likewise.
952 * gdb.base/macscp1.c (main): Likewise.
953 * gdb.base/pr10179-a.c (main): Likewise.
954 * gdb.base/quit-live.c (main): Likewise.
955 * gdb.base/scope0.c (main): Likewise.
956 * gdb.base/settings.c (main): Likewise.
957 * gdb.base/stack-checking.c (main): Return int.
958 * gdb.base/varargs.c (main): Add explicit return statement.
959 * gdb.cp/ambiguous.cc (main): Likewise.
960 * gdb.cp/anon-struct.cc (main): Likewise.
961 * gdb.cp/anon-union.cc (main): Likewise.
962 * gdb.cp/bool.cc (main): Likewise.
963 * gdb.cp/bs15503.cc (main): Likewise.
964 * gdb.cp/cplusfuncs.cc (main): Likewise.
965 * gdb.cp/cttiadd.cc (main): Likewise.
966 * gdb.cp/extern-c.cc (main): Likewise.
967 * gdb.cp/filename.cc (main): Likewise.
968 * gdb.cp/formatted-ref.cc (main): Likewise.
969 * gdb.cp/mb-ctor.cc (main): Likewise.
970 * gdb.cp/member-ptr.cc (main): Likewise.
971 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
972 * gdb.cp/overload-const.cc (main): Likewise.
973 * gdb.cp/paren-type.cc (main): Likewise.
974 * gdb.cp/parse-lang.cc (main): Likewise.
975 * gdb.cp/pr-1023.cc (main): Likewise.
976 * gdb.cp/psmang1.cc (main): Likewise.
977 * gdb.cp/readnow-language.cc (main): Likewise.
978 * gdb.cp/ref-params.cc (main): Likewise.
979 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
980 * gdb.cp/virtbase2.cc (main): Likewise.
981 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
982 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
983 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
984 * gdb.mi/mi-console.c (main): Likewise.
985 * gdb.mi/mi-read-memory.c (main): Likewise.
986 * gdb.modula2/multidim.c (main): Likewise.
987 * gdb.opt/inline-small-func.c (main): Likewise.
988 * gdb.python/py-rbreak.c (main): Likewise.
989 * gdb.stabs/exclfwd1.c (main): Likewise.
990 * gdb.trace/qtro.c (main): Likewise.
991
af26601c
PA
9922020-09-13 Pedro Alves <pedro@palves.net>
993
994 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
995 instead of getenv.
996
2f4b83cd
PA
9972020-09-13 Pedro Alves <pedro@palves.net>
998
999 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1000 instead of spawning GDB with remote_spawn.
1001 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1002 gdb_spawn instead of spawning GDB with remote_spawn.
1003
c49da0e4
PA
10042020-09-13 Pedro Alves <pedro@palves.net>
1005
1006 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1007 file and add calls to first and second.
1008 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1009 add call to f.
1010
6791b117
PA
10112020-09-13 Pedro Alves <pedro@palves.net>
1012
1013 * gdb.mi/mi-break-qualified.cc: New file.
1014 * gdb.mi/mi-break-qualified.exp: New file.
1015 * lib/mi-support.exp (mi_create_breakpoint_multi)
1016 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1017 procedures.
1018 (mi_create_breakpoint_1): New, factored out from
1019 mi_create_breakpoint.
1020
3b8d4c5c
PA
10212020-09-13 Pedro Alves <pedro@palves.net>
1022
1023 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1024 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1025 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1026 (register_class): Delete.
1027 (main): Don't call register_class.
1028
d5f96005
PA
10292020-09-13 Pedro Alves <pedro@palves.net>
1030
1031 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1032 (do_tests): Remove "calling method for small class" test.
1033 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1034 (register_class): Delete.
1035 (main): Don't call register_class.
1036 * gdb.cp/call-method-register.exp: New file, based on bits removed
1037 from classes.exp.
1038 * gdb.cp/call-method-register.cc: New file, based on bits removed
1039 from classes.cc.
1040
77f2120b
PA
10412020-09-13 Pedro Alves <pedro@palves.net>
1042
1043 * gdb.base/msym-bp-2.c: New.
1044 * gdb.base/msym-bp-shl-lib.c: New file.
1045 * gdb.base/msym-bp-shl-main-2.c: New file.
1046 * gdb.base/msym-bp-shl-main.c: New file.
1047 * gdb.base/msym-bp-shl.exp: New file.
1048 * gdb.base/msym-bp.c: New file.
1049 * gdb.base/msym-bp.exp: New file.
1050
32aea73e
JB
10512020-09-13 Joel Brobecker <brobecker@adacore.com>
1052
1053 * gdb.base/default.exp: Change $_gdb_major to 11.
1054
2a67f09d
FW
10552020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1056 Felix Willgerodt <Felix.Willgerodt@intel.com>
1057
1058 * x86-avx512bf16.c: New file.
1059 * x86-avx512bf16.exp: Likewise.
1060 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1061
ad570dd7
TV
10622020-09-11 Tom de Vries <tdevries@suse.de>
1063
1064 PR exp/26602
1065 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1066
a56f7391
TBA
10672020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1068
1069 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1070
918619e5
AM
10712020-09-10 Alan Modra <amodra@gmail.com>
1072
1073 PR 26597
1074 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1075
cac1e71d
TV
10762020-09-08 Tom de Vries <tdevries@suse.de>
1077
1078 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1079 after gdb_starti_cmd.
1080
c5cd900e
AKS
10812020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1082
1083 * lib/fortran.exp (fortran_complex8): New proc.
1084 (fortran_complex16): New proc.
1085 * gdb.fortran/complex.exp: Use routines from fortran.exp
1086 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1087 * gdb.fortran/vla-ptr-info.exp: Likewise.
1088
8f5c6526
TV
10892020-09-03 Tom de Vries <tdevries@suse.de>
1090
1091 PR breakpoint/26546
1092 * gdb.base/label-without-address.exp: Runto main first.
1093
02c6f3f1
TT
10942020-09-02 Tom Tromey <tromey@adacore.com>
1095
1096 * gdb.ada/mi_var_access.exp: Test children of access variable.
1097 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1098 * gdb.ada/mi_var_array.exp: Update.
1099
efe24f05
KB
11002020-08-31 Kevin Buettner <kevinb@redhat.com>
1101
1102 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1103 on docker w/ AUFS storage driver.
1104
973695d6
KB
11052020-08-31 Kevin Buettner <kevinb@redhat.com>
1106
1107 * gdb.base/corefile2.exp (renamed binfile): New tests.
1108
f3bd50f1
SM
11092020-08-31 Simon Marchi <simon.marchi@efficios.com>
1110
1111 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1112
22b9b4b0
SL
11132020-08-31 Simon Marchi <simon.marchi@efficios.com>
1114
1115 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1116 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1117
8efaf6b3
SM
11182020-08-31 Simon Marchi <simon.marchi@efficios.com>
1119
1120 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1121 output, printing a "not saved" value from history and printing a
1122 convenience variable created from a "not saved" value.
1123
e840f2e3
TV
11242020-08-31 Tom de Vries <tdevries@suse.de>
1125
1126 * gdb.base/eh_return.exp: Use nopie.
1127
8f57f343
PA
11282020-08-28 Pedro Alves <pedro@palves.net>
1129
1130 * gdb.base/advance-until-multiple-locations.exp
1131 (advance_overload, until_overload): Adjust to match the
1132 frame/function header instead of the source line text.
1133
626d2320
TV
11342020-08-28 Tom de Vries <tdevries@suse.de>
1135
1136 * gdb.base/label-without-address.c: New test.
1137 * gdb.base/label-without-address.exp: New file.
1138
df631783
PA
11392020-08-27 Pedro Alves <pedro@palves.net>
1140
1141 PR gdb/26523
1142 PR gdb/26524
1143 * gdb.base/advance-until-multiple-locations.cc: New.
1144 * gdb.base/advance-until-multiple-locations.exp: New.
1145
48b076bb
SM
11462020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1147
1148 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1149
c2015ce4
AB
11502020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1151
1152 * gdb.arch/amd64-byte.exp: Make test names unique, use
1153 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1154 * gdb.arch/amd64-dword.exp: Likewise.
1155 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1156 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1157 unique.
1158 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1159 * gdb.arch/amd64-word.exp: Make test names unique, use
1160 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1161 * gdb.arch/i386-byte.exp: Make test names unique, use
1162 gdb_breakpoint.
1163 * gdb.arch/i386-word.exp: Likewise.
1164
995d3a19
SV
11652020-08-25 Shahab Vahedi <shahab@synopsys.com>
1166
1167 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1168
8cac2b31
SM
11692020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1170
1171 PR gdb/26532
1172 * gdb.threads/stepi-random-signal.exp: Update pattern.
1173
2bc19622
SM
11742020-08-25 Simon Marchi <simon.marchi@efficios.com>
1175
1176 PR gdb/26532
1177 * gdb.base/ui-redirect.exp: Update pattern.
1178
b04aa1fc
GB
11792020-08-25 Gary Benson <gbenson@redhat.com>
1180
1181 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1182 when compiling with clang.
8571e9c8 1183 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1184
9f68b453
GB
11852020-08-25 Gary Benson <gbenson@redhat.com>
1186
1187 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1188 Add additional_flags=-Wno-inaccessible-base when compiling
1189 with GCC >= 10.1 or clang. Add additional_flags=-w when
1190 compiling with GCC < 10.
1191
3945d2d7
GM
11922020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1193
1194 PR m2/26372
fc5d6901
SM
1195 * gdb.modula2/multidim.c: New file.
1196 * gdb.modula2/multidim.exp: New file.
3945d2d7 1197
60122dbe
SM
11982020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1199
1200 * lib/gdb.exp (runto): Always emit fail on internal error.
1201
1eb8556f
SM
12022020-08-24 Simon Marchi <simon.marchi@efficios.com>
1203
1204 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1205 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1206 Likewise.
1207 * gdb.threads/stepi-random-signal.exp: Likewise.
1208
33bf4c5c
TBA
12092020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1210
1211 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1212 * gdb.trace/strace.exp: Ditto.
1213
c2fd7fae
AKS
12142020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1215
1216 * gdb.fortran/vla-type.exp: Skip commands not required for
1217 the Flang compiled binaries after prologue fix.
1218
326afb72
TT
12192020-08-17 Tom de Vries <tdevries@suse.de>
1220 Tom Tromey <tromey@adacore.com>
1221
1222 PR rust/26197:
1223 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1224
3ae7ab99
TT
12252020-08-17 Tom Tromey <tromey@adacore.com>
1226
1227 * gdb.ada/mi_var_access.exp: New file.
1228 * gdb.ada/mi_var_access/mi_access.adb: New file.
1229 * gdb.ada/mi_var_access/pck.adb: New file.
1230 * gdb.ada/mi_var_access/pck.ads: New file.
1231
f569c1c5
TV
12322020-08-16 Tom de Vries <tdevries@suse.de>
1233
1234 PR gdb/25350
1235 * gdb.base/eh_return.c: New test.
1236 * gdb.base/eh_return.exp: New file.
1237
3d11c30a
TV
12382020-08-15 Tom de Vries <tdevries@suse.de>
1239
1240 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1241 (mixed_func_1d_): Use fortran_charlen_t in decl.
1242
547ce8f0
TV
12432020-08-15 Tom de Vries <tdevries@suse.de>
1244
1245 PR backtrace/26390
1246 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1247 Update expected pattern.
1248
a54a7f13
PA
12492020-08-13 Pedro Alves <pedro@palves.net>
1250
1251 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1252 * gdb.fortran/library-module.exp: Likewise.
1253 * gdb.fortran/logical.exp: Likewise.
1254 * gdb.fortran/module.exp: Likewise.
1255 * gdb.fortran/print_type.exp: Likewise.
1256 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1257 * gdb.fortran/vla-datatypes.exp: Likewise.
1258 * gdb.fortran/vla-history.exp: Likewise.
1259 * gdb.fortran/vla-ptr-info.exp: Likewise.
1260 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1261 * gdb.fortran/vla-ptype.exp: Likewise.
1262 * gdb.fortran/vla-sizeof.exp: Likewise.
1263 * gdb.fortran/vla-type.exp: Likewise.
1264 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1265 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1266 * gdb.fortran/vla-value-sub.exp: Likewise.
1267 * gdb.fortran/vla-value.exp: Likewise.
1268
7a82e903
PA
12692020-08-13 Pedro Alves <pedro@palves.net>
1270
1271 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1272 * gdb.ada/access_to_packed_array.exp: Likewise.
1273 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1274 * gdb.ada/addr_arith.exp: Likewise.
1275 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1276 * gdb.ada/arr_arr.exp: Likewise.
1277 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1278 * gdb.ada/array_bounds.exp: Likewise.
1279 * gdb.ada/array_of_variable_length.exp: Likewise.
1280 * gdb.ada/array_ptr_renaming.exp: Likewise.
1281 * gdb.ada/array_subscript_addr.exp: Likewise.
1282 * gdb.ada/arraydim.exp: Likewise.
1283 * gdb.ada/arrayparam.exp: Likewise.
1284 * gdb.ada/arrayptr.exp: Likewise.
1285 * gdb.ada/assign_1.exp: Likewise.
1286 * gdb.ada/assign_arr.exp: Likewise.
1287 * gdb.ada/atomic_enum.exp: Likewise.
1288 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1289 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1290 * gdb.ada/bias.exp: Likewise.
1291 * gdb.ada/boolean_expr.exp: Likewise.
1292 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1293 * gdb.ada/bp_enum_homonym.exp: Likewise.
1294 * gdb.ada/bp_inlined_func.exp: Likewise.
1295 * gdb.ada/bp_on_var.exp: Likewise.
1296 * gdb.ada/bp_range_type.exp: Likewise.
1297 * gdb.ada/bp_reset.exp: Likewise.
1298 * gdb.ada/call_pn.exp: Likewise.
1299 * gdb.ada/catch_assert_if.exp: Likewise.
1300 * gdb.ada/catch_ex.exp: Likewise.
1301 * gdb.ada/catch_ex_std.exp: Likewise.
1302 * gdb.ada/char_enum.exp: Likewise.
1303 * gdb.ada/char_param.exp: Likewise.
1304 * gdb.ada/complete.exp: Likewise.
1305 * gdb.ada/cond_lang.exp: Likewise.
1306 * gdb.ada/convvar_comp.exp: Likewise.
1307 * gdb.ada/dgopt.exp: Likewise.
1308 * gdb.ada/disc_arr_bound.exp: Likewise.
1309 * gdb.ada/display_nested.exp: Likewise.
1310 * gdb.ada/dot_all.exp: Likewise.
1311 * gdb.ada/dyn_loc.exp: Likewise.
1312 * gdb.ada/dyn_stride.exp: Likewise.
1313 * gdb.ada/excep_handle.exp: Likewise.
1314 * gdb.ada/expr_delims.exp: Likewise.
1315 * gdb.ada/expr_with_funcall.exp: Likewise.
1316 * gdb.ada/exprs.exp: Likewise.
1317 * gdb.ada/fin_fun_out.exp: Likewise.
1318 * gdb.ada/fixed_cmp.exp: Likewise.
1319 * gdb.ada/formatted_ref.exp: Likewise.
1320 * gdb.ada/frame_arg_lang.exp: Likewise.
1321 * gdb.ada/frame_args.exp: Likewise.
1322 * gdb.ada/fullname_bp.exp: Likewise.
1323 * gdb.ada/fun_addr.exp: Likewise.
1324 * gdb.ada/fun_in_declare.exp: Likewise.
1325 * gdb.ada/fun_overload_menu.exp: Likewise.
1326 * gdb.ada/fun_renaming.exp: Likewise.
1327 * gdb.ada/funcall_char.exp: Likewise.
1328 * gdb.ada/funcall_param.exp: Likewise.
1329 * gdb.ada/funcall_ptr.exp: Likewise.
1330 * gdb.ada/funcall_ref.exp: Likewise.
1331 * gdb.ada/homonym.exp: Likewise.
1332 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1333 * gdb.ada/info_auto_lang.exp: Likewise.
1334 * gdb.ada/info_exc.exp: Likewise.
1335 * gdb.ada/info_types.exp: Likewise.
1336 * gdb.ada/int_deref.exp: Likewise.
1337 * gdb.ada/interface.exp: Likewise.
1338 * gdb.ada/iwide.exp: Likewise.
1339 * gdb.ada/lang_switch.exp: Likewise.
1340 * gdb.ada/length_cond.exp: Likewise.
1341 * gdb.ada/maint_with_ada.exp: Likewise.
1342 * gdb.ada/mi_catch_assert.exp: Likewise.
1343 * gdb.ada/mi_catch_ex.exp: Likewise.
1344 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1345 * gdb.ada/mi_dyn_arr.exp: Likewise.
1346 * gdb.ada/mi_ex_cond.exp: Likewise.
1347 * gdb.ada/mi_exc_info.exp: Likewise.
1348 * gdb.ada/mi_interface.exp: Likewise.
1349 * gdb.ada/mi_prot.exp: Likewise.
1350 * gdb.ada/mi_ref_changeable.exp: Likewise.
1351 * gdb.ada/mi_string_access.exp: Likewise.
1352 * gdb.ada/mi_task_arg.exp: Likewise.
1353 * gdb.ada/mi_task_info.exp: Likewise.
1354 * gdb.ada/mi_var_array.exp: Likewise.
1355 * gdb.ada/mi_var_union.exp: Likewise.
1356 * gdb.ada/mi_variant.exp: Likewise.
1357 * gdb.ada/minsyms.exp: Likewise.
1358 * gdb.ada/mod_from_name.exp: Likewise.
1359 * gdb.ada/nested.exp: Likewise.
1360 * gdb.ada/null_array.exp: Likewise.
1361 * gdb.ada/optim_drec.exp: Likewise.
1362 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1363 * gdb.ada/packed_array_assign.exp: Likewise.
1364 * gdb.ada/packed_tagged.exp: Likewise.
1365 * gdb.ada/pp-rec-component.exp: Likewise.
1366 * gdb.ada/print_chars.exp: Likewise.
1367 * gdb.ada/print_pc.exp: Likewise.
1368 * gdb.ada/ptr_typedef.exp: Likewise.
1369 * gdb.ada/ptype_arith_binop.exp: Likewise.
1370 * gdb.ada/ptype_array.exp: Likewise.
1371 * gdb.ada/ptype_field.exp: Likewise.
1372 * gdb.ada/ptype_tagged_param.exp: Likewise.
1373 * gdb.ada/ptype_union.exp: Likewise.
1374 * gdb.ada/py_range.exp: Likewise.
1375 * gdb.ada/py_taft.exp: Likewise.
1376 * gdb.ada/rdv_wait.exp: Likewise.
1377 * gdb.ada/rec_comp.exp: Likewise.
1378 * gdb.ada/rec_return.exp: Likewise.
1379 * gdb.ada/ref_param.exp: Likewise.
1380 * gdb.ada/ref_tick_size.exp: Likewise.
1381 * gdb.ada/rename_subscript_param.exp: Likewise.
1382 * gdb.ada/repeat_dyn.exp: Likewise.
1383 * gdb.ada/same_component_name.exp: Likewise.
1384 * gdb.ada/same_enum.exp: Likewise.
1385 * gdb.ada/scalar_storage.exp: Likewise.
1386 * gdb.ada/set_wstr.exp: Likewise.
1387 * gdb.ada/small_reg_param.exp: Likewise.
1388 * gdb.ada/str_binop_equal.exp: Likewise.
1389 * gdb.ada/str_ref_cmp.exp: Likewise.
1390 * gdb.ada/str_uninit.exp: Likewise.
1391 * gdb.ada/sub_variant.exp: Likewise.
1392 * gdb.ada/sym_print_name.exp: Likewise.
1393 * gdb.ada/taft_type.exp: Likewise.
1394 * gdb.ada/tagged.exp: Likewise.
1395 * gdb.ada/tagged_access.exp: Likewise.
1396 * gdb.ada/task_bp.exp: Likewise.
1397 * gdb.ada/task_switch_in_core.exp: Likewise.
1398 * gdb.ada/tasks.exp: Likewise.
1399 * gdb.ada/tick_last_segv.exp: Likewise.
1400 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1401 * gdb.ada/type_coercion.exp: Likewise.
1402 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1403 * gdb.ada/unchecked_union.exp: Likewise.
1404 * gdb.ada/uninitialized_vars.exp: Likewise.
1405 * gdb.ada/var_arr_attrs.exp: Likewise.
1406 * gdb.ada/var_arr_typedef.exp: Likewise.
1407 * gdb.ada/var_rec_arr.exp: Likewise.
1408 * gdb.ada/variant-record.exp: Likewise.
1409 * gdb.ada/variant.exp: Likewise.
1410 * gdb.ada/variant_record_packed_array.exp: Likewise.
1411 * gdb.ada/varsize_limit.exp: Likewise.
1412 * gdb.ada/whatis_array_val.exp: Likewise.
1413 * gdb.ada/widewide.exp: Likewise.
1414 * gdb.ada/win_fu_syms.exp: Likewise.
1415
14162020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
1417
1418 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1419
10c381b5
AB
14202020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1421
1422 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1423 unset the array variable.
1424
8f34b746
TV
14252020-08-03 Tom de Vries <tdevries@suse.de>
1426
1427 PR symtab/26333
1428 * lib/dwarf.exp (DW_LNE_user): New proc.
1429 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1430 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1431
0245e136
KB
14322020-07-31 Kevin Buettner <kevinb@redhat.com>
1433
1434 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1435 to 'uintptr_t'
1436 (inttypes.h): Include.
1437
9ef1ec5d
KB
14382020-07-31 Kevin Buettner <kevinb@redhat.com>
1439
1440 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1441 (C5_24k): Delete.
1442 (C5_8k, C5_64k, C5_256k): New macros.
1443 (buf_ro): Allocate 256 KiB of initialized data.
1444
4c55e970
TBA
14452020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1446
1447 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1448 that attempt to overwrite an existing condition with a condition
1449 that fails parsing and also with a condition that parses fine
1450 but contains junk at the end.
1451
1e620590
TBA
14522020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1453
1454 * gdb.base/condbreak-bad.c: New test.
1455 * gdb.base/condbreak-bad.exp: New file.
1456
e12dcc50
TV
14572020-07-30 Tom de Vries <tdevries@suse.de>
1458
1459 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1460 out of ...
1461 (GDBInfoModuleSymbols::check_entry): ... here.
1462 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1463 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1464 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1465
6cc64caa
TV
14662020-07-30 Tom de Vries <tdevries@suse.de>
1467
1468 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1469 "__class_some_module_Number_t" optional.
1470
90fd07fc
TV
14712020-07-29 Tom de Vries <tdevries@suse.de>
1472
1473 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1474 multiple locations.
1475
f5c79e97
TV
14762020-07-29 Tom de Vries <tdevries@suse.de>
1477
1478 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1479 rather than function name.
1480
f75a0693
AB
14812020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1482
1483 PR symtab/26270:
1484 * gdb.cp/disasm-func-name.cc: New file.
1485 * gdb.cp/disasm-func-name.exp: New file.
1486
4888741a
TT
14872020-07-28 Tom Tromey <tromey@adacore.com>
1488
1489 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1490 'varval' location.
1491
43d5901d
AB
14922020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1493
1494 * gdb.python/py-unwind.py: Update to make use of a register
1495 descriptor.
1496
14fa8fb3
AB
14972020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1498
1499 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1500
e79eb02f
AB
15012020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1502
1503 PR fortran/23051
1504 PR fortran/26139
1505 * gdb.fortran/class-allocatable-array.exp: New file.
1506 * gdb.fortran/class-allocatable-array.f90: New file.
1507 * gdb.fortran/pointer-to-pointer.exp: New file.
1508 * gdb.fortran/pointer-to-pointer.f90: New file.
1509
876518dd
TV
15102020-07-25 Tom de Vries <tdevries@suse.de>
1511
1512 PR symtab/26243
1513 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1514 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1515
6dcfb80a
TV
15162020-07-24 Tom de Vries <tdevries@suse.de>
1517
1518 PR testsuite/26293
1519 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1520
e7bc9db8
PA
15212020-07-23 Pedro Alves <pedro@palves.net>
1522
1523 * gdb.server/server-kill.exp (prepare): New, factored out from the
1524 top level.
1525 (kill_server): New.
1526 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1527 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1528
78344df7
AB
15292020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1530
1531 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1532
25dfed24
SL
15332020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1534
1535 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1536 Initialize to empty string at top level.
1537 (gdb_wrapper_init): Revert check for file existence on build.
1538 Build the wrapper in its default place, not a build-specific
1539 location. When host == build, make the pathname absolute.
1540 (gdb_compile): Delete leftover declaration of
1541 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1542 string instead of uninitialized.
1543
7da515fd
KB
15442020-07-22 Kevin Buettner <kevinb@redhat.com>
1545
1546 * gdb.base/corefile2.exp: New file.
1547 * gdb.base/coremaker2.exp: New file.
1548
9c5ec5c2
KB
15492020-07-22 Kevin Buettner <kevinb@redhat.com>
1550
1551 * gdb.base/coredump-filter.exp: Add second
1552 non-Private-Shared-Anon-File test.
1553 (test_disasm): Rename binfile for test which is expected
1554 to fail.
1555
f9e233c9
KB
15562020-07-22 Kevin Buettner <kevinb@redhat.com>
1557
1558 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1559 data in core file".
1560 * gdb.base/coremaker.c (buf2ro): New global.
1561 (mmapdata): Add a read-only mmap mapping.
1562
94c265d7
KB
15632020-07-22 Kevin Buettner <kevinb@redhat.com>
1564
1565 PR corefiles/25631
1566 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1567 New test.
1568 * gdb.base/coremaker.c (buf3): New global.
1569 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1570 flags.
1571
15722020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
1573
1574 * gdb.base/coremaker.c (filler_ro): New global constant.
1575
32fa152e
TT
15762020-07-22 Tom Tromey <tromey@adacore.com>
1577
1578 * gdb.ada/mi_prot.exp: New file.
1579 * gdb.ada/mi_prot/pkg.adb: New file.
1580 * gdb.ada/mi_prot/pkg.ads: New file.
1581 * gdb.ada/mi_prot/prot.adb: New file.
1582
c8474dc3
TBA
15832020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1584
1585 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1586 loads two JITers.
1587
baf8791e
AB
15882020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1589
1590 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1591
f7306dac
AB
15922020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1593
1594 * gdb.python/py-arch-reg-names.exp: Additional tests.
1595
6d3d6e4b
TV
15962020-07-21 Tom de Vries <tdevries@suse.de>
1597
1598 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1599 breakpoint locations".
1600 * gdb.reverse/solib-reverse.exp: Same.
1601
803d0592
TV
16022020-07-21 Tom de Vries <tdevries@suse.de>
1603
1604 * gdb.reverse/step-reverse.c (callee): Merge statements.
1605
e9bdc510
TV
16062020-07-21 Tom de Vries <tdevries@suse.de>
1607
1608 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1609 line numbers for some variables.
1610
f0f9e75a
TV
16112020-07-21 Tom de Vries <tdevries@suse.de>
1612
1613 * gdb.opt/inline-locals.c (init_array): New func.
1614 (func1): Use init_array.
1615 * gdb.opt/inline-locals.exp: Update pattern.
1616
bd460ecb
TV
16172020-07-21 Tom de Vries <tdevries@suse.de>
1618
1619 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1620 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1621
ae5369e7
LC
16222020-07-20 Ludovic Courtès <ludo@gnu.org>
1623
1624 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1625 * gdb.guile/types-module.exp: Remove "ERROR:" from
1626 regexps since Guile 3.0 no longer prints that.
1627
68cf161c
LC
16282020-07-20 Ludovic Courtès <ludo@gnu.org>
1629
1630 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1631 error regexp to match on Guile 2.2.
1632
c14b4913
GB
16332020-07-20 Gary Benson <gbenson@redhat.com>
1634
1635 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1636 with clang.
1637
b243ba58
TV
16382020-07-20 Tom de Vries <tdevries@suse.de>
1639
1640 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1641 (omp_set_lock_in_order): New function.
1642 (single_scope, multi_scope, nested_func, nested_parallel): Use
1643 omp_set_lock_in_order and omp_unset_lock.
1644 (main): Init and destroy lock and lock2.
1645
c06ad8b5
TV
16462020-07-20 Tom de Vries <tdevries@suse.de>
1647
1648 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1649
6e22f117
TV
16502020-07-20 Tom de Vries <tdevries@suse.de>
1651
1652 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1653
33176ea7
TV
16542020-07-17 Tom de Vries <tdevries@suse.de>
1655
1656 * gdb.base/valgrind-infcall-2.c: New test.
1657 * gdb.base/valgrind-infcall-2.exp: New file.
1658 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1659
90c3ec2d
TV
16602020-07-17 Tom de Vries <tdevries@suse.de>
1661
1662 * gdb.dlang/circular.c (found): Use found_label as label name.
1663 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1664 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1665 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1666 * gdb.dwarf2/ada-linkage-name.exp: Same.
1667 * gdb.dwarf2/arr-subrange.exp: Same.
1668 * gdb.dwarf2/atomic-type.exp: Same.
1669 * gdb.dwarf2/comp-unit-lang.exp: Same.
1670 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1671 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1672 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1673 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1674 * gdb.dwarf2/implptr-64bit.exp: Same.
1675 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1676 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1677 * gdb.dwarf2/imported-unit.exp: Same.
1678 * gdb.dwarf2/main-subprogram.exp: Same.
1679 * gdb.dwarf2/missing-type-name.exp: Same.
1680 * gdb.dwarf2/nonvar-access.exp: Same.
1681 * gdb.dwarf2/struct-with-sig.exp: Same.
1682 * gdb.dwarf2/typedef-void-finish.exp: Same.
1683 * gdb.dwarf2/void-type.exp: Same.
1684
10da644d
TV
16852020-07-17 Tom de Vries <tdevries@suse.de>
1686
1687 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1688 src parameter.
1689 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1690 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1691 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1692 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1693 * gdb.dwarf2/dwz.exp: Same.
1694 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1695 * gdb.dwarf2/implref-array.exp: Same.
1696 * gdb.dwarf2/implref-const.exp: Same.
1697 * gdb.dwarf2/implref-global.exp: Same.
1698 * gdb.dwarf2/implref-struct.exp: Same.
1699 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1700 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1701 * gdb.dwarf2/var-access.exp: Same.
1702 * gdb.dwarf2/varval.exp: Same.
1703 * gdb.trace/entry-values.exp: Same.
1704
315e6afc
TV
17052020-07-17 Tom de Vries <tdevries@suse.de>
1706
1707 * lib/dwarf.exp (Dwarf::extern): Remove.
1708 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1709 * gdb.dlang/circular.exp: Same.
1710 * gdb.dwarf2/comp-unit-lang.exp: Same.
1711 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1712 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1713 * gdb.dwarf2/dwz.exp: Same.
1714 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1715 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1716 * gdb.dwarf2/imported-unit.exp: Same.
1717 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1718
5597c940
SL
17192020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1720
1721 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1722 Use double quotes instead of single quotes.
1723
d0ce17d8
CT
17242020-07-16 Caroline Tice <cmtice@google.com>
1725
1726 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1727 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1728
853772cc
TV
17292020-07-16 Tom de Vries <tdevries@suse.de>
1730
1731 * lib/dwarf.exp (program): Initialize _line.
1732 (DW_LNE_end_sequence): Reinitialize _line.
1733 (DW_LNS_advance_line): Update _line.
1734 (line): New proc.
1735 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1736 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1737 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1738 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1739 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1740 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1741
fe07b572
AB
17422020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1743
1744 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1745 generic.
1746
52781cce
TV
17472020-07-15 Tom de Vries <tdevries@suse.de>
1748
1749 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1750 is_amd64_regs_target.
1751
3dcc261c
AB
17522020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1753
1754 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1755 * gdb.fortran/ptype-on-functions.f90: Likewise.
1756
054a0959
SM
17572020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1758
1759 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1760 values in documentation for addr_size to 4 and 8.
1761
ccb9eba6
AB
17622020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1763
1764 * gdb.arch/amd64-osabi.exp: Update.
1765 * gdb.arch/arm-disassembler-options.exp: Update.
1766 * gdb.arch/powerpc-disassembler-options.exp: Update.
1767 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1768 * gdb.arch/s390-disassembler-options.exp: Update.
1769 * gdb.base/all-architectures.exp.tcl: Update.
1770 * gdb.base/attach-pie-noexec.exp: Update.
1771 * gdb.base/catch-syscall.exp: Update.
1772 * gdb.xml/tdesc-arch.exp: Update.
1773
025a39a7
TV
17742020-07-14 Tom de Vries <tdevries@suse.de>
1775
1776 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1777 (local_gettid): ... this.
1778 (fn): Update.
1779
74e4b667
SL
17802020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1781
1782 * gdb.base/info_sources.exp: Skip directory match tests on
1783 remote hosts.
1784
f413dd74
GB
17852020-07-13 Gary Benson <gbenson@redhat.com>
1786
1787 * gdb.base/savedregs.exp (caller): Use parentheses to
1788 make expected expression evaluation ordering explicit.
1789
915771bb
GB
17902020-07-13 Gary Benson <gbenson@redhat.com>
1791
1792 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1793
2a122642
GB
17942020-07-13 Gary Benson <gbenson@redhat.com>
1795
1796 * gdb.base/bigcore.c (main): Use a volatile pointer when
1797 attempting to trigger a SIGSEGV.
1798 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1799 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1800 * gdb.base/savedregs.c (thrower): Likewise.
1801 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1802
3f00c730
GB
18032020-07-13 Gary Benson <gbenson@redhat.com>
1804
1805 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1806 defining and using VLA structure fields into...
1807 * gdb.base/vla-struct-fields.c: New file.
1808 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1809 tests into...
1810 * gdb.base/vla-struct-fields.exp: New file.
1811
963eeee4
TV
18122020-07-13 Tom de Vries <tdevries@suse.de>
1813
1814 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1815 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1816 * gdb.base/gold-gdb-index.exp: Same.
1817 * gdb.base/morestack.exp: Same.
1818
0ed35c9a
DX
18192020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1820
1821 PR rust/26121
1822 * gdb.rust/modules.rs: Prevent linker from discarding test
1823 symbol.
1824
4fdba23d
PA
18252020-07-10 Pedro Alves <pedro@palves.net>
1826
1827 PR gdb/26199
1828 * gdb.multi/multi-target.c (exit_thread): New.
1829 (thread_start): Break loop if EXIT_THREAD.
1830 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1831 (top level) Call test_no_resumed.
1832
15f3b077
TT
18332020-07-08 Tom Tromey <tromey@adacore.com>
1834
1835 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1836 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1837
9fc501fd
AB
18382020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1839
1840 PR python/22748
1841 * gdb.opt/inline-frame-tailcall.c: New file.
1842 * gdb.opt/inline-frame-tailcall.exp: New file.
1843 * gdb.python/py-unwind-inline.c: New file.
1844 * gdb.python/py-unwind-inline.exp: New file.
1845 * gdb.python/py-unwind-inline.py: New file.
1846
64cb3757
AB
18472020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1848
1849 * gdb.python/py-arch-reg-groups.exp: New file.
1850
0f767f94
AB
18512020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1852
1853 * gdb.python/py-arch-reg-names.exp: New file.
1854
87dbc774
AB
18552020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1856
1857 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1858 gdb.PendingFrame.architecture method.
1859
d8cc8af6
TV
18602020-07-06 Tom de Vries <tdevries@suse.de>
1861
1862 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1863
3c8ea5be
PA
18642020-07-03 Pedro Alves <palves@redhat.com>
1865
1866 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1867 explicitly write negative numbers.
1868 * gdb.base/structs2.exp: Adjust expected output.
1869
bf90c83a
PA
18702020-07-03 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.base/charset.c (init_string): Change all char parameters to
1873 unsigned char parameters.
1874
2eb82157
PA
18752020-07-03 Pedro Alves <palves@redhat.com>
1876
1877 * gdb.base/call-sc.exp (start_scalars_test): Use
1878 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1879 * gdb.base/overlays.c: Remove references to PARAMS.
1880 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1881 * gdb.base/reread.exp: Don't set 'prototypes' global.
1882 * gdb.base/structs.exp (start_structs_test): Use
1883 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1884 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1885 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1886 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1887 call.
1888 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1889
9adda7af
PA
18902020-07-03 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.base/m32rovly.c: Delete.
1893 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1894
2a17c803
PW
18952020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1896
1897 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1898 of gdb_py_test_multiple.
1899 * gdb.python/py-cmd.exp: Likewise.
1900 * gdb.python/py-events.exp: Likewise.
1901 * gdb.python/py-function.exp: Likewise.
1902 * gdb.python/py-inferior.exp: Likewise.
1903 * gdb.python/py-infthread.exp: Likewise.
1904 * gdb.python/py-linetable.exp: Likewise.
1905 * gdb.python/py-parameter.exp: Likewise.
1906 * gdb.python/py-value.exp: Likewise.
1907
b011fe1a
TV
19082020-06-30 Tom de Vries <tdevries@suse.de>
1909
1910 PR testsuite/26175
1911 * lib/future.exp (gdb_default_target_compile): Detect and handle
1912 early_flags.
1913
df5b8876
SM
19142020-06-29 Simon Marchi <simon.marchi@efficios.com>
1915
1916 * boards/simavr.exp (gdb_load): Catch errors when closing
1917 previous connection. Close connection, wait for process and
1918 unset simavr_spawn_id on failure.
1919
a3ca48cd
TV
19202020-06-29 Tom de Vries <tdevries@suse.de>
1921
1922 * lib/gdb.exp (unknown): Make test-case unresolved.
1923
b0237c0e
TV
19242020-06-29 Tom de Vries <tdevries@suse.de>
1925
1926 PR gdb/25475
1927 * gdb.server/solib-list.exp: Verify that the symbol reload
1928 confirmation question is asked.
1929
c0b3b3bd
PW
19302020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1931
1932 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1933 have a input seq nr in each pass message.
fe4c3d43 1934 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1935 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1936 * gdb.python/python.exp: Make test names unique,
1937 use gdb_test_multiline instead of gdb_py_test_multiple,
1938 use $gdb_test_name.
1939 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1940
1776e3e5
NA
19412020-06-26 Nick Alcock <nick.alcock@oracle.com>
1942
1943 * configure.ac: Add --enable-libctf.
1944 * aclocal.m4: sinclude ../config/enable.m4.
1945 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1946 * lib/gdb.exp (skip_ctf_tests): Use it.
1947 * gdb.base/ctf-constvars.exp: Error message tweak.
1948 * gdb.base/ctf-ptype.exp: Likewise.
1949 * configure: Regenerate.
1950
f53b3eeb
GB
19512020-06-26 Gary Benson <gbenson@redhat.com>
1952
1953 * gdb.cp/try_catch.cc: Include string.h.
1954 (main): Replace comparison against string literal with
1955 strcmp, avoiding build failure with -Wstring-compare.
1956 Add "marker test-complete".
1957 * gdb.cp/try_catch.exp: Run the test to the above marker,
1958 then verify that the value of "test" is still true.
1959
6d74da72
AB
19602020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1961
1962 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1963
2e52d038
AB
19642020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1965
1966 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1967
3b9fce96
AB
19682020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1969
1970 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1971 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1972 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1973 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1974 * gdb.arch/riscv-tdesc-loading.exp: New file.
1975
ed69cbc8
AB
19762020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1977
1978 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1979
767a879e
AB
19802020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1981
1982 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1983 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1984 * gdb.arch/riscv-tdesc-regs.c: New file.
1985 * gdb.arch/riscv-tdesc-regs.exp: New file.
1986
221db974
PA
19872020-06-24 Pedro Alves <palves@redhat.com>
1988
1989 * gdb.arch/amd64-entry-value-paramref.exp: Use
1990 prepare_for_testing_full and don't pass "c++" for the .S file
1991 build spec.
1992 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1993 $options, since it's an assembly file. Remove -Wno-deprecated.
1994 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1995 compiling C++ programs.
1996
331733cd
PA
19972020-06-24 Pedro Alves <palves@redhat.com>
1998
1999 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2000 Clang, add "-Wno-unknown-warning-option" to the options.
2001
caa7fd04
AB
20022020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2003
2004 * gdb.xml/tdesc-reload.c: New file.
2005 * gdb.xml/tdesc-reload.exp: New file.
2006 * gdb.xml/maint-xml-dump-01.xml: New file.
2007 * gdb.xml/maint-xml-dump-02.xml: New file.
2008 * gdb.xml/maint-xml-dump.exp: New file.
2009
bb8d1260
SL
20102020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2011
2012 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2013 Adjust for omitted commands when TUI is disabled.
2014
7e4b9c4c
GB
20152020-06-23 Gary Benson <gbenson@redhat.com>
2016 Pedro Alves <palves@redhat.com>
2017
2018 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2019 * gdb.cp/nsimport.cc: Likewise.
2020 * gdb.cp/nsnested.cc: Likewise.
2021 * gdb.cp/nsnoimports.cc: Likewise.
2022 * gdb.cp/nsusing.cc: Likewise.
2023 * gdb.cp/smartp.cc: Likewise.
2024 * gdb.python/py-pp-integral.c: Likewise.
2025 * gdb.python/py-pp-re-notag.c: Likewise.
2026
2e573c0a
GB
20272020-06-23 Gary Benson <gbenson@redhat.com>
2028
2029 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2030 * gdb.cp/nsimport.cc: Likewise.
2031 * gdb.cp/nsnested.cc: Likewise.
2032 * gdb.cp/nsnoimports.cc: Likewise.
2033 * gdb.cp/nsusing.cc: Likewise.
2034 * gdb.cp/smartp.cc: Likewise.
2035 * gdb.python/py-pp-integral.c: Likewise.
2036 * gdb.python/py-pp-re-notag.c: Likewise.
2037
746ebfe8
PW
20382020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2039
2040 * gdb.base/default-args.exp: New test.
2041 * gdb.base/default-args.c: New file.
2042 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2043 * gdb.base/default.exp: Update to new help text.
2044 * gdb.base/help.exp: Likewise.
2045 * gdb.base/page.exp: Likewise.
2046 * gdb.base/style.exp: Likewise.
2047 * gdb.guile/guile.exp: Likewise.
2048 * gdb.python/python.exp: Likewise.
2049
e822f2cd
SL
20502020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2051
2052 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2053 remote host. Fix search path syntax on Windows host.
2054
48e9cc84
PW
20552020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2056
2057 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2058 over 'exec-file-mismatch'.
2059 * gdb.base/attach.c: Mark should_exit volatile.
2060 * gdb.base/attach2.c: Likewise. Add a comment explaining
2061 why the sleep cannot be big.
2062 * gdb.base/attach3.c: New file.
2063
160f8a8f
SL
20642020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2065
2066 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2067 prefix optional.
2068
4d91c2a4
SL
20692020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2070
2071 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2072 for remote host.
2073
87f83f20
SL
20742020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2075 Hafiz Abid Qadeer <abidh@codesourcery.com>
2076
2077 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2078 file sent to remote host.
2079 (top level): Allow int32_t as type of 32-bit register.
2080
37ab8655
TV
20812020-06-19 Tom de Vries <tdevries@suse.de>
2082
2083 * lib/gdb.exp (gdb_note): New proc.
2084 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2085 (gdb_default_target_compile): ... here. Only call
2086 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2087 (use_gdb_compile): Change to array.
2088 (toplevel): Update sets of use_gdb_compile to specify language.
2089 Warn about default_target_compile override. Store dejagnu's version
2090 of default_target_compile in dejagnu_default_target_compile.
2091
a8a56685
TV
20922020-06-18 Tom de Vries <tdevries@suse.de>
2093
2094 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2095 (default_gdb_init): ... here.
2096
581bea2c
SL
20972020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2098
2099 Fix TUI support checks in gdb.tui tests.
2100
2101 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2102 just say UNSUPPORTED.
2103 * gdb.tui/corefile-run.exp: Likewise.
2104 * gdb.tui/empty.exp: Likewise.
2105 * gdb.tui/list-before.exp: Likewise.
2106 * gdb.tui/list.exp: Likewise.
2107 * gdb.tui/main.exp: Likewise.
2108 * gdb.tui/regs.exp: Likewise.
2109 * gdb.tui/resize.exp: Likewise.
2110 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2111 * gdb.tui/tui-layout-asm.exp: Likewise.
2112 * gdb.tui/tui-missing-src.exp: Likewise.
2113 * gdb.tui/winheight.exp: Likewise.
2114 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2115
05e682e3
SL
21162020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2117
2118 Fix TCL error in gdb.python/py-format-string.exp.
2119
2120 * gdb.python/py-format-string.exp: Move test for python support
2121 earlier, out of function body.
2122
efb763a5
SM
21232020-06-15 Simon Marchi <simon.marchi@efficios.com>
2124
2125 * gdb.base/index-cache-load-twice.c: New.
2126 * gdb.base/index-cache-load-twice.exp: New.
2127
43327b20
KS
21282020-06-17 Keith Seitz <keiths@redhat.com>
2129
99cf27cf 2130 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2131 when executing "gdb --configuration".
2132
081e778c
TV
21332020-06-17 Tom de Vries <tdevries@suse.de>
2134
2135 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2136 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2137 conditional on presence of gdb_tcl_unknown.
2138 (gdb_finish): Make override undo conditional on presence of
2139 gdb_tcl_unknown.
2140
d2d1ea20
TT
21412020-06-16 Tom Tromey <tom@tromey.com>
2142
2143 * gdb.python/tui-window.py (failwin): New function. Register it
2144 as a TUI window type.
2145 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2146
c802e8a7
GB
21472020-06-16 Gary Benson <gbenson@redhat.com>
2148
2149 * gdb.python/py-nested-maps.c (create_map): Add missing return
2150 value.
2151 (create_map_map): Likewise.
2152
ff08abb8
TBA
21532020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2154
2155 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2156 variable.
2157 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2158 and use the already-defined 'options' variable.
2159
a29d5112
AB
21602020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2161 Tom de Vries <tdevries@suse.de>
2162
2163 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2164 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2165 (gdb_setup_known_globals): New proc.
2166 (gdb_cleanup_globals): New proc.
2167 * lib/gdb.exp (load_lib): New override proc.
2168 (gdb_stdin_log_init): Set var in_file as persistent global.
2169 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2170 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2171 fpc_compiler as persistent global.
2172
8c74a764
TV
21732020-06-12 Tom de Vries <tdevries@suse.de>
2174
2175 * lib/tuiterm.exp (spawn): Rename to ...
2176 (tui_spawn): ... this.
2177 (toplevel): Move rename of spawn ...
2178 (gdb_init_tuiterm): ... here. New proc.
2179 (gdb_finish_tuiterm): New proc.
2180 * lib/gdb.exp (gdb_finish_hooks): New global var.
2181 (gdb_finish): Handle gdb_finish_hooks.
2182 (tuiterm_env): New proc.
2183 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2184 tuiterm_env.
2185 * gdb.tui/basic.exp: Same.
2186 * gdb.tui/corefile-run.exp: Same.
2187 * gdb.tui/empty.exp: Same.
2188 * gdb.tui/list-before.exp: Same.
2189 * gdb.tui/list.exp: Same.
2190 * gdb.tui/main.exp: Same.
2191 * gdb.tui/new-layout.exp: Same.
2192 * gdb.tui/regs.exp: Same.
2193 * gdb.tui/resize.exp: Same.
2194 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2195 * gdb.tui/tui-layout-asm.exp: Same.
2196 * gdb.tui/tui-missing-src.exp: Same.
2197 * gdb.tui/winheight.exp: Same.
2198
26783bce
TV
21992020-06-12 Tom de Vries <tdevries@suse.de>
2200
2201 PR testsuite/26110
2202 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2203 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2204
2b4e6a3f
TT
22052020-06-11 Tom Tromey <tom@tromey.com>
2206
2207 PR gdb/18318:
2208 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2209 floating point tests.
2210
2f33032a
KS
22112020-06-11 Keith Seitz <keiths@redhat.com>
2212
2213 PR gdb/21356
2214 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2215 vla_struct.
2216 Add new struct vla_typedef and union vla_typedef_union and
2217 corresponding instantiation objects.
2218 Initialize new objects.
2219 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2220 and vla_typedef_union_object.
2221 Fixup type for vla_struct_object.
2222
a8baf0a3
TV
22232020-06-11 Tom de Vries <tdevries@suse.de>
2224
2225 * lib/gdb.exp (with_override): New proc, factored out of ...
2226 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2227
7ab96794
TV
22282020-06-10 Tom de Vries <tdevries@suse.de>
2229
2230 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2231
cab5c3b7
SM
22322020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2233
2234 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2235 parameter, update callers.
2236
f8c41851
SM
22372020-06-04 Simon Marchi <simon.marchi@efficios.com>
2238
2239 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2240 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2241 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2242
1c07a73f
TV
22432020-06-04 Tom de Vries <tdevries@suse.de>
2244
2245 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2246
95146b5d
TV
22472020-06-04 Tom de Vries <tdevries@suse.de>
2248
2249 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2250 exp_continue.
2251
0cfcd4f0
TV
22522020-06-04 Tom de Vries <tdevries@suse.de>
2253
2254 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2255
f9b5d5ea
TV
22562020-06-03 Tom de Vries <tdevries@suse.de>
2257
2258 PR symtab/26046
2259 * gdb.cp/breakpoint-locs-2.cc: New test.
2260 * gdb.cp/breakpoint-locs.cc: New test.
2261 * gdb.cp/breakpoint-locs.exp: New file.
2262 * gdb.cp/breakpoint-locs.h: New test.
2263
5144dfba
TV
22642020-06-03 Tom de Vries <tdevries@suse.de>
2265
2266 PR testsuite/25609
2267 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2268 value of global verbose.
2269 * gdb.base/jit-elf.exp: Same.
2270 * gdb.base/jit-reader.exp: Same.
2271
621eacdf
TV
22722020-06-02 Tom de Vries <tdevries@suse.de>
2273
2274 * gdb.dwarf2/multidictionary.exp: Don't use
2275 gdb_spawn_with_cmdline_opts.
2276
1313c56e
AB
22772020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2278
2279 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2280 use_header case.
2281 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2282 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2283 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2284 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2285 * gdb.dwarf2/dw2-inline-header.c: New file.
2286 * gdb.dwarf2/dw2-inline-header.h: New file.
2287
f68f85b5
PA
22882020-05-30 Pedro Alves <palves@redhat.com>
2289
2290 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2291 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2292
678048e8
GB
22932020-05-29 Gary Benson <gbenson@redhat.com>
2294
2295 * gdb.compile/compile-cplus.exp (additional_flags): Also
2296 set when building with clang.
2297 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2298 when building with clang.
2299
9fcafd23
GB
23002020-05-29 Gary Benson <gbenson@redhat.com>
2301
2302 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2303 building with clang.
2304 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2305
735d5a07
GB
23062020-05-29 Gary Benson <gbenson@redhat.com>
2307
2308 * gdb.cp/koenig.exp (prepare_for_testing): Add
2309 additional_flags=-Wno-unused-comparison.
2310 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2311
4ad2c6a0
GB
23122020-05-28 Gary Benson <gbenson@redhat.com>
2313
2314 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2315 statement.
2316
09fe663e
GB
23172020-05-28 Gary Benson <gbenson@redhat.com>
2318
2319 * gdb.cp/classes.exp (prepare_for_testing): Add
2320 additional_flags=-Wno-deprecated-register.
2321 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2322 * gdb.cp/misc.exp: Likewise.
2323
cee00f17
GB
23242020-05-28 Gary Benson <gbenson@redhat.com>
2325
2326 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2327 (test_op_new::operator new): Add return statement.
2328 (test_op_new_array::operator new[]): Likewise.
2329
636edd00
PA
23302020-05-27 Pedro Alves <palves@redhat.com>
2331
2332 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2333 check. Use test_gdb_complete_unique instead of
2334 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2335 test_gdb_complete_multiple instead of
2336 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2337
c2b75043
LM
23382020-05-27 Luis Machado <luis.machado@linaro.org>
2339
2340 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2341 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2342 * gdb.arch/arm-disassembler-options.exp: Likewise.
2343 * gdb.arch/arm-disp-step.exp: Likewise.
2344 * gdb.arch/thumb-prologue.exp: Likewise.
2345 * gdb.base/async.exp: Likewise.
2346 * gdb.base/auxv.exp: Likewise.
2347 * gdb.base/complex-parts.exp: Likewise.
2348 * gdb.base/ena-dis-br.exp: Likewise.
2349 * gdb.base/foll-exec.exp: Likewise.
2350 * gdb.base/permissions.exp: Likewise.
2351 * gdb.base/relocate.exp: Likewise.
2352 * gdb.base/return2.exp: Likewise.
2353 * gdb.base/sigbpt.exp: Likewise.
2354 * gdb.base/siginfo-obj.exp: Likewise.
2355 * gdb.cp/converts.exp: Likewise.
2356 * gdb.cp/exceptprint.exp: Likewise.
2357 * gdb.cp/inherit.exp: Likewise.
2358 * gdb.cp/nsnoimports.exp: Likewise.
2359 * gdb.cp/virtbase2.exp: Likewise.
2360 * gdb.mi/mi-var-cmd.exp: Likewise.
2361 * gdb.mi/var-cmd.c: Likewise.
2362
53a47a3e
TT
23632020-05-26 Tom Tromey <tromey@adacore.com>
2364
2365 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2366
0bc2354b
TT
23672020-05-26 Tom Tromey <tromey@adacore.com>
2368
2369 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2370 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2371 type.
2372 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2373 variable.
2374
0db49895
CBG
23752020-05-26 Christian Biesinger <cbiesinger@google.com>
2376
2377 * Makefile.in: Use = instead of == for the test command
2378 for portability.
2379
40d22035
TV
23802020-05-26 Tom de Vries <tdevries@suse.de>
2381
2382 * gdb.base/gold-gdb-index-2.c: New test.
2383 * gdb.base/gold-gdb-index.c: New test.
2384 * gdb.base/gold-gdb-index.exp: New file.
2385 * gdb.base/gold-gdb-index.h: New test.
2386
043e2e02
TV
23872020-05-25 Tom de Vries <tdevries@suse.de>
2388
2389 * boards/gold-gdb-index.exp: New file.
2390
462f72c5
SM
23912020-05-25 Simon Marchi <simon.marchi@efficios.com>
2392
2393 * boards/simavr.exp: New file.
2394
6cf66e76
SM
23952020-05-25 Simon Marchi <simon.marchi@efficios.com>
2396
2397 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2398 * gdb.base/inferior-args.exp: New file.
2399 * gdb.base/inferior-args.c: New file.
2400
75d04512
SM
24012020-05-25 Simon Marchi <simon.marchi@efficios.com>
2402
2403 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2404 inferior_args. Pass it to gdb_reload.
2405 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2406 inferior_args.
2407 (gdb_reload): Add inferior_args argument.
2408 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2409 pass it to gdbserver_run.
2410 * boards/native-gdbserver.exp: Do not set noargs.
2411 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2412 inferior_args argument.
2413 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2414 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2415 * gdb.base/args.exp: Likewise.
2416
42cf1844
TV
24172020-05-25 Tom de Vries <tdevries@suse.de>
2418
2419 * lib/gdb.exp (exec_is_pie): Add comment.
2420
8f7d38ef
TV
24212020-05-25 Tom de Vries <tdevries@suse.de>
2422
2423 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2424 instead of $binfile in the untested message.
2425
465e1b0f
TV
24262020-05-25 Tom de Vries <tdevries@suse.de>
2427
2428 PR testsuite/26031
2429 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2430
3c5a0e02
TV
24312020-05-25 Tom de Vries <tdevries@suse.de>
2432
2433 * boards/gold.exp: New file.
2434
0a4f5f8c
TT
24352020-05-23 Tom Tromey <tom@tromey.com>
2436
2437 * gdb.base/style.exp: Remove completion styling test.
2438 * lib/gdb-utils.exp (style): Remove completion styles.
2439
eca1f90c
TT
24402020-05-23 Tom Tromey <tom@tromey.com>
2441
2442 * gdb.base/style.exp: Add completion styling test.
2443 * lib/gdb-utils.exp (style): Add completion styles.
2444
7c13f4e8
AB
24452020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2446
2447 * gdb.base/annota1.exp: Update expected results.
2448 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2449 test name.
2450 * gdb.cp/annota3.exp: Update expected results.
2451
41977d16
SM
24522020-05-20 Simon Marchi <simon.marchi@efficios.com>
2453
2454 PR gdb/26016
2455 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2456 against MAP_FAILED.
2457 * gdb.base/coremaker.c (mmapdata): Likewise.
2458 * gdb.base/jit-reader-host.c (main): Likewise.
2459 * gdb.base/sym-file-loader.c (load): Likewise.
2460 (load_shlib): Likewise.
2461
b4757f2e
TT
24622020-05-20 Tom Tromey <tromey@adacore.com>
2463
2464 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2465
9a0bacfb
TV
24662020-05-20 Tom de Vries <tdevries@suse.de>
2467
2468 PR symtab/25833
2469 * gdb.base/with-mf-inc.c: New test.
2470 * gdb.base/with-mf-main.c: New test.
2471 * gdb.base/with-mf.exp: New file.
2472
76571211
TT
24732020-05-19 Tom Tromey <tromey@adacore.com>
2474
2475 * gdb.rust/simple.exp: Restore missing test result.
2476
4cd9f3d5
TV
24772020-05-19 Tom de Vries <tdevries@suse.de>
2478
2479 * gdb.base/gdb-caching-proc.exp: Fix typo.
2480
7d874253
TT
24812020-05-19 Tom Tromey <tromey@adacore.com>
2482
2483 * gdb.rust/simple.exp: Add some test descriptions.
2484 (test_one_slice): Use with_test_prefix.
2485
1d727695
TV
24862020-05-18 Tom de Vries <tdevries@suse.de>
2487
2488 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2489
7f32a4d5
PA
24902020-05-17 Pedro Alves <palves@redhat.com>
2491
2492 PR gdb/25741
2493 * gdb.base/hw-sw-break-same-address.exp: New file.
2494
7cfd74cf
PA
24952020-05-16 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2498 LAST_LOADED_FILE accordingly.
2499
57b4f16e
PW
25002020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2501
2502 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2503
7c05caf7
PW
25042020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2505
2506 * gdb.base/help.exp: Test apropos and help for commands
2507 having aliases. Fixed comments not starting with an
2508 upper-case letter or not finishing with a dot.
2509
7aa1b46f
PW
25102020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2511
3b3aaacb
PW
2512 * gdb.base/alias.exp: Update help output check.
2513
57b4f16e 25142020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2515
7aa1b46f
PW
2516 * gdb.base/default.exp: Update output following fixes.
2517
0605465f
PW
25182020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2519
2520 * gdb.base/alias.exp: Test aliases starting with a prefix of
2521 another alias.
2522
86e4e63d
GB
25232020-05-15 Gary Benson <gbenson@redhat.com>
2524
2525 * gdb.base/info-os.c (main): Add return statement.
2526 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2527 * gdb.base/large-frame-2.c (func): Likewise.
2528 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2529 * gdb.base/pr10179-b.c (foo2): Likewise.
2530 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2531 * gdb.base/watch-cond.c (func): Likewise.
2532 * gdb.multi/goodbye.c (verylongfun): Likewise.
2533 * gdb.multi/hello.c (commonfun): Likewise.
2534 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2535 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2536 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2537 Likewise.
2538 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2539 * gdb.threads/interrupt-while-step-over.c (child_function):
2540 Likewise.
2541 * gdb.trace/actions-changed.c (end): Likewise.
2542
163df4df
GB
25432020-05-15 Gary Benson <gbenson@redhat.com>
2544
2545 * gdb.opencl/callfuncs.exp: Report when test skipped.
2546 * gdb.opencl/convs_casts.exp: Likewise.
2547 * gdb.opencl/datatypes.exp: Likewise.
2548 * gdb.opencl/operators.exp: Likewise.
2549 * gdb.opencl/vec_comps.exp: Likewise.
2550
6dbc505a
TV
25512020-05-15 Tom de Vries <tdevries@suse.de>
2552
2553 * gdb.base/align.exp.in: Rename to ...
2554 * gdb.base/align.exp.tcl: ... this.
2555 * gdb.base/align-c++.exp: Update.
2556 * gdb.base/align-c.exp: Update.
2557 * gdb.base/all-architectures.exp.in: Rename to ...
2558 * gdb.base/all-architectures.exp: ... this.
2559 * gdb.base/all-architectures-0.exp: Update.
2560 * gdb.base/all-architectures-1.exp: Update.
2561 * gdb.base/all-architectures-2.exp: Update.
2562 * gdb.base/all-architectures-3.exp: Update.
2563 * gdb.base/all-architectures-4.exp: Update.
2564 * gdb.base/all-architectures-5.exp: Update.
2565 * gdb.base/all-architectures-6.exp: Update.
2566 * gdb.base/all-architectures-7.exp: Update.
2567 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2568 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2569 * gdb.base/infcall-nested-structs-c++.exp: Update.
2570 * gdb.base/infcall-nested-structs-c.exp: Update.
2571 * gdb.base/info-types.exp.in: Rename to ...
2572 * gdb.base/info-types.exp.tcl: ... this.
2573 * gdb.base/info-types-c++.exp: Update.
2574 * gdb.base/info-types-c.exp: Update.
2575 * gdb.base/max-depth.exp.in: Rename to ...
2576 * gdb.base/max-depth.exp.tcl: ... this.
2577 * gdb.base/max-depth-c++.exp: Update.
2578 * gdb.base/max-depth-c.exp: Update.
2579 * gdb.cp/cpexprs.exp.in: Rename to ...
2580 * gdb.cp/cpexprs.exp.tcl: ... this.
2581 * gdb.cp/cpexprs-debug-types.exp: Update.
2582 * gdb.cp/cpexprs.exp: Update.
2583 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2584 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2585 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2586 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2587 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2588 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2589 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2590 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2591 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2592 * gdb.dwarf2/clang-debug-names.exp: Update.
2593
d1034d78
AB
25942020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2595
2596 * lib/check-test-names.exp: Remove code that prevents this file
2597 loading when tests are run in parallel.
2598
3c5c3649
PA
25992020-05-15 Pedro Alves <palves@redhat.com>
2600
2601 * gdb.multi/multi-kill.exp (start_inferior): Remove
2602 'testpid' parameter. Refer to namespace variable directly.
2603 (testpid): Declare as namespace variable.
2604
272c36b8
PA
26052020-05-15 Pedro Alves <palves@redhat.com>
2606
2607 * gdb.multi/multi-kill.exp: Wrap in namespace.
2608 (start_inferior): Add TESTPID parameter. Use it instead of the
2609 testpid global.
2610 (top level): Define empty TESTPID array, and pass it down to
2611 start_inferior.
2612
02eba61a
TV
26132020-05-14 Tom de Vries <tdevries@suse.de>
2614
2615 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2616 output.
2617
971a3747
TV
26182020-05-14 Tom de Vries <tdevries@suse.de>
2619
2620 * gdb.base/align.exp: Split into ...
2621 * gdb.base/align.exp.in: ...
2622 * gdb.base/align-c++.exp: ...
2623 * gdb.base/align-c.exp: ... these.
2624 * gdb.base/infcall-nested-structs.exp: Split into ...
2625 * gdb.base/infcall-nested-structs.exp.in: ...
2626 * gdb.base/infcall-nested-structs-c++.exp: ...
2627 * gdb.base/infcall-nested-structs-c.exp: ... these.
2628 * gdb.base/info-types.exp: Split into ...
2629 * gdb.base/info-types.exp.in: ...
2630 * gdb.base/info-types-c++.exp: ...
2631 * gdb.base/info-types-c.exp: ... these.
2632 * gdb.base/max-depth.exp: Split into ...
2633 * gdb.base/max-depth.exp.in: ...
2634 * gdb.base/max-depth-c++.exp: ...
2635 * gdb.base/max-depth-c.exp: ... these.
2636 * gdb.cp/infcall-nodebug.exp: Split into ...
2637 * gdb.cp/infcall-nodebug.exp.in: ...
2638 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2639 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2640 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2641 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2642
a05575d3
TBA
26432020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2644 Pedro Alves <palves@redhat.com>
2645
2646 * gdb.multi/multi-exit.c: New file.
2647 * gdb.multi/multi-exit.exp: New file.
2648 * gdb.multi/multi-kill.c: New file.
2649 * gdb.multi/multi-kill.exp: New file.
2650
6ad82919
TBA
26512020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2652
2653 * gdb.base/annota1.exp: Update the expected output.
2654 * gdb.cp/annota2.exp: Ditto.
2655
843f4d93
AB
26562020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2657
2658 * lib/check-test-names.exp: Disable when testing is being run in
2659 parallel.
2660
c7c66341
TV
26612020-05-12 Tom de Vries <tdevries@suse.de>
2662
2663 * gdb.base/jit-elf.exp: Fix string concat.
2664
1b59ca1c
TV
26652020-05-12 Tom de Vries <tdevries@suse.de>
2666
2667 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2668 messages.
2669
b4991d29
TV
26702020-05-12 Tom de Vries <tdevries@suse.de>
2671
2672 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2673
dbb0ab10
TV
26742020-05-12 Tom de Vries <tdevries@suse.de>
2675
2676 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2677 * gdb.ada/mi_catch_ex.exp: Same.
2678 * gdb.ada/mi_catch_ex_hand.exp: Same.
2679
7549fed8
TV
26802020-05-12 Tom de Vries <tdevries@suse.de>
2681
2682 * gdb.fortran/complex.exp: Use with_test_prefix.
2683
af2d5cd8
TV
26842020-05-12 Tom de Vries <tdevries@suse.de>
2685
2686 * gdb.trace/passcount.exp: Fix test-names.
2687
7c121311
TV
26882020-05-12 Tom de Vries <tdevries@suse.de>
2689
2690 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2691
c9f3b40e
TV
26922020-05-12 Tom de Vries <tdevries@suse.de>
2693
2694 * gdb.gdb/complaints.exp: Use with_test_prefix.
2695 * gdb.xml/tdesc-regs.exp: Same.
2696 * gdb.opt/inline-locals.exp: Fix test name.
2697
111b33f0
TV
26982020-05-12 Tom de Vries <tdevries@suse.de>
2699
2700 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2701 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2702 * gdb.dwarf2/implref-struct.exp: Same.
2703 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2704 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2705
ebf47080
SM
27062020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2707
2708 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2709
d30dcd12
AB
27102020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2711
2712 * lib/check-test-names.exp (all_test_names): New module variable.
2713 (counts): Add 'duplicates' field.
2714 (_check_duplicates): New procedure.
2715 (check): Also check for duplicates.
2716 (do_log_summary): Print duplicates count.
2717 (do_reset_vars): Reset counter for duplicate test names, and
2718 discard all know test names.
2719
34584c09
AB
27202020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2721
2722 * lib/gdb.exp: Include check-test-names.exp library.
2723 * lib/check-test-names.exp: New file.
2724
e0002117
TV
27252020-05-11 Tom de Vries <tdevries@suse.de>
2726
2727 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2728
53f539a3
KS
27292020-05-11 Keith Seitz <keiths@redhat.com>
2730
2731 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2732
113ee09a
TV
27332020-05-11 Tom de Vries <tdevries@suse.de>
2734
2735 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2736 * gdb.cp/cpexprs.exp.in: .. here.
2737 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2738 cpexprs.exp.
2739
ba3e70b0
KS
27402020-05-11 Keith Seitz <keiths@redhat.com>
2741
2742 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2743 test names.
2744 * gdb.ada/arrayptr.exp: Likewise.
2745 * gdb.ada/assign_arr.exp: Likewise.
2746 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2747 * gdb.ada/bp_on_var.exp: Likewise.
2748 * gdb.ada/call_pn.exp: Likewise.
2749 * gdb.ada/complete.exp: Likewise.
2750 * gdb.ada/fun_overload_menu.exp: Likewise.
2751 * gdb.ada/funcall_param.exp: Likewise.
2752 * gdb.ada/funcall_ref.exp: Likewise.
2753 * gdb.ada/packed_array_assign.exp: Likewise.
2754 * gdb.ada/same_component_name.exp: Likewise.
2755 * gdb.ada/type_coercion.exp: Likewise.
2756 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2757 * gdb.ada/variant_record_packed_array.exp: Likewise.
2758
3ee6bb11
TV
27592020-05-11 Tom de Vries <tdevries@suse.de>
2760
2761 PR symtab/25941
2762 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2763 out of ...
2764 * gdb.dwarf2/clang-debug-names.exp: ... here.
2765 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2766 clang-debug-names.exp.in.
2767 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2768 * gdb.dwarf2/clang-debug-names-2.c: New test.
2769
86cd6bc8
AKS
27702020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2771
2772 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2773 (fortran_runto_main): New Proc, fortran version of runto_main.
2774 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2775 * gdb.fortran/array-bounds.exp: Likewise.
2776 * gdb.fortran/array-slices.exp: Likewise.
2777 * gdb.fortran/block-data.exp: Likewise.
2778 * gdb.fortran/charset.exp: Likewise.
2779 * gdb.fortran/common-block.exp: Likewise.
2780 * gdb.fortran/complex.exp: Likewise.
2781 * gdb.fortran/derived-type-function.exp: Likewise.
2782 * gdb.fortran/derived-type.exp: Likewise.
2783 * gdb.fortran/info-modules.exp: Likewise.
2784 * gdb.fortran/info-types.exp: Likewise.
2785 * gdb.fortran/intrinsics.exp: Likewise.
2786 * gdb.fortran/library-module.exp: Likewise.
2787 * gdb.fortran/logical.exp: Likewise.
2788 * gdb.fortran/max-depth.exp: Likewise.
2789 * gdb.fortran/module.exp: Likewise.
2790 * gdb.fortran/multi-dim.exp: Likewise.
2791 * gdb.fortran/nested-funcs.exp: Likewise.
2792 * gdb.fortran/print-formatted.exp: Likewise.
2793 * gdb.fortran/print_type.exp: Likewise.
2794 * gdb.fortran/printing-types.exp: Likewise.
2795 * gdb.fortran/ptr-indentation.exp: Likewise.
2796 * gdb.fortran/ptype-on-functions.exp: Likewise.
2797 * gdb.fortran/subarray.exp: Likewise.
2798 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2799 * gdb.fortran/vla-datatypes.exp: Likewise.
2800 * gdb.fortran/vla-history.exp: Likewise.
2801 * gdb.fortran/vla-ptr-info.exp: Likewise.
2802 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2803 * gdb.fortran/vla-ptype.exp: Likewise.
2804 * gdb.fortran/vla-sizeof.exp: Likewise.
2805 * gdb.fortran/vla-type.exp: Likewise.
2806 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2807 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2808 * gdb.fortran/vla-value-sub.exp: Likewise.
2809 * gdb.fortran/vla-value.exp: Likewise.
2810 * gdb.fortran/whatis_type.exp: Likewise.
2811 * gdb.mi/mi-var-child-f.exp: Likewise.
2812
6dc55ce9 28132020-05-09 Tom de Vries <tdevries@suse.de>
2814
2815 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2816
283cb58c
TV
28172020-05-08 Tom de Vries <tdevries@suse.de>
2818
2819 * gdb.dwarf2/clang-debug-names.c: New test.
2820 * gdb.dwarf2/clang-debug-names.exp: New file.
2821
ac4a4f1c
SM
28222020-05-06 Simon Marchi <simon.marchi@efficios.com>
2823
2824 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2825 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2826
24fe640b
TV
28272020-05-06 Tom de Vries <tdevries@suse.de>
2828
2829 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2830 breakpoint is at a "recommended breakpoint location".
2831 * gdb.reverse/consecutive-reverse.exp: Same.
2832
0d8683a3
TV
28332020-05-06 Tom de Vries <tdevries@suse.de>
2834
2835 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2836 address.
2837
b8983c46
TV
28382020-05-06 Tom de Vries <tdevries@suse.de>
2839
2840 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2841
abf6d805
TV
28422020-05-06 Tom de Vries <tdevries@suse.de>
2843
2844 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2845 info for r.
2846
0fc2a808
TV
28472020-05-06 Tom de Vries <tdevries@suse.de>
2848
2849 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2850 necessary.
2851
873dd427
TV
28522020-05-06 Tom de Vries <tdevries@suse.de>
2853
2854 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2855 void.
2856
7c99e7e2
TV
28572020-05-06 Tom de Vries <tdevries@suse.de>
2858
2859 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2860 of ...
2861 * gdb.base/async.exp: ... here.
2862 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2863 "recommended breakpoint location".
2864
6173d6a6
TV
28652020-05-06 Tom de Vries <tdevries@suse.de>
2866
2867 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2868
6015a067
TV
28692020-05-04 Tom de Vries <tdevries@suse.de>
2870
2871 * gdb.base/async.exp: Check whether instruction addresses are a
2872 "recommended breakpoint location".
2873
3b6acaee
TT
28742020-05-03 Tom Tromey <tom@tromey.com>
2875
2876 * gdb.base/sepdebug.exp: Remove "catch" test.
2877 * gdb.base/break.exp: Remove "catch" test.
2878 * gdb.base/default.exp: Update expected output.
2879
5beb4d17
TV
28802020-05-02 Tom de Vries <tdevries@suse.de>
2881
2882 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2883 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2884 * gdb.arch/i386-mpx-map.exp: Same.
2885 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2886 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2887 * gdb.arch/i386-mpx.exp: Same.
2888
8caf140d
TV
28892020-05-02 Tom de Vries <tdevries@suse.de>
2890
2891 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2892
693196cb
TV
28932020-05-01 Tom de Vries <tdevries@suse.de>
2894
2895 * gdb.ada/operator_bp.exp: Allow more than required amount of
2896 breakpoint.
2897
53ae0aa9
TV
28982020-05-01 Tom de Vries <tdevries@suse.de>
2899
2900 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2901
ee9d1e5f
HD
29022020-04-30 Hannes Domani <ssbssa@yahoo.de>
2903
2904 PR gdb/18706
2905 * gdb.cp/stub-array-size.cc: New test.
2906 * gdb.cp/stub-array-size.exp: New file.
2907 * gdb.cp/stub-array-size.h: New test.
2908 * gdb.cp/stub-array-size2.cc: New test.
2909
d5cf82c0
HD
29102020-04-30 Hannes Domani <ssbssa@yahoo.de>
2911
2912 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2913 output to the new format.
2914
42e165c3
SM
29152020-04-29 Simon Marchi <simon.marchi@efficios.com>
2916
2917 * gdb.base/break.exp: Use with_test_prefix.
2918
6e4e3fe1
TV
29192020-04-29 Tom de Vries <tdevries@suse.de>
2920
2921 * lib/gdb.exp (debug_types): New proc.
2922 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2923 * gdb.python/py-symtab.exp: Same.
2924
d642b692
HD
29252020-04-29 Hannes Domani <ssbssa@yahoo.de>
2926
2927 PR gdb/17320
2928 * gdb.base/pretty-array.c: New test.
2929 * gdb.base/pretty-array.exp: New file.
2930
ea90f227
TV
29312020-04-29 Tom de Vries <tdevries@suse.de>
2932
2933 PR symtab/25889
2934 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2935 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2936 and include cpexprs.exp.
2937
a65189c9
TV
29382020-04-28 Mark Williams <mark@myosotissp.com>
2939
2940 PR gdb/24480
2941 * dw4-toplevel-types.exp: Test for top level types.
2942 * dw4-toplevel-types.cc: Test for top level types.
2943
32d1f47a
TBA
29442020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2945
2946 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2947 (theads -> threads).
2948
56a4f5a1
TV
29492020-04-28 Tom de Vries <tdevries@suse.de>
2950
2951 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2952
0b2f8a3b
TV
29532020-04-28 Tom de Vries <tdevries@suse.de>
2954
2955 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2956
5390c717
TV
29572020-04-28 Tom de Vries <tdevries@suse.de>
2958
2959 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2960
15cd93d0
TV
29612020-04-28 Tom de Vries <tdevries@suse.de>
2962
2963 * gdb.dwarf2/main-foo.c: New test.
2964 * gdb.dwarf2/struct-with-sig.exp: New file.
2965
d472f0fb
TV
29662020-04-25 Tom de Vries <tdevries@suse.de>
2967
2968 * boards/debug-types.exp: New file.
2969
8d840e05
AB
29702020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2971
2972 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2973
bcfe6157
TT
29742020-04-24 Tom Tromey <tom@tromey.com>
2975
2976 PR symtab/12707:
2977 * gdb.python/py-symbol.exp: Update expected results for
2978 linkage_name test.
2979 * gdb.cp/print-demangle.exp: New file.
2980 * gdb.base/c-linkage-name.exp: Fix test.
2981 * gdb.guile/scm-symbol.exp: Update expected results for
2982 linkage_name test.
2983
f049a313
TT
29842020-04-24 Tom Tromey <tom@tromey.com>
2985
2986 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2987 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2988 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2989 assembler.
2990
7cf28874
TV
29912020-04-24 Tom de Vries <tdevries@suse.de>
2992
2993 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2994 C++.
2995
dac2fef7
TT
29962020-04-24 Tom Tromey <tromey@adacore.com>
2997
2998 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2999 values.
3000 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3001 values. Update test for minimal encodings.
3002 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3003 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3004 values. Update test for minimal encodings.
3005
1acda803
TT
30062020-04-24 Tom Tromey <tromey@adacore.com>
3007
3008 PR python/23662:
3009 * gdb.ada/variant.exp: Add Python checks.
3010 * gdb.rust/simple.exp: Add dynamic type checks.
3011
adfb9815
TT
30122020-04-24 Tom Tromey <tromey@adacore.com>
3013
3014 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3015 Make array type matching more lax.
3016 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3017 * gdb.ada/mi_variant.exp: New file.
3018 * gdb.ada/mi_variant/pck.ads: New file.
3019 * gdb.ada/mi_variant/pkg.adb: New file.
3020 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3021 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3022
7d79de9a
TT
30232020-04-24 Tom Tromey <tromey@adacore.com>
3024
3025 * gdb.ada/variant.exp: Add dynamic field offset tests.
3026 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3027 * gdb.ada/variant/pkg.adb: Add new variables.
3028
f8e89861
TT
30292020-04-24 Tom Tromey <tromey@adacore.com>
3030
3031 * gdb.ada/variant.exp: New file
3032 * gdb.ada/variant/pkg.adb: New file
3033 * gdb.ada/variant/pck.adb: New file
3034
86e887ae
TV
30352020-04-24 Tom de Vries <tdevries@suse.de>
3036
3037 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3038
88428775
TV
30392020-04-24 Tom de Vries <tdevries@suse.de>
3040
3041 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3042 flags.
3043
4e86f6e7
TV
30442020-04-24 Tom de Vries <tdevries@suse.de>
3045
3046 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3047
2016d3e6
TV
30482020-04-24 Tom de Vries <tdevries@suse.de>
3049
3050 * lib/gdb.exp (default_gdb_start): Handle eof.
3051 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3052 failure.
3053 * gdb.base/readnever.exp: Handle clean_restart failure.
3054
70bc38f5
TV
30552020-04-23 Tom de Vries <tdevries@suse.de>
3056
3057 * gdb.base/decl-before-def.exp: Run to main and print a again.
3058
de82891c
TV
30592020-04-23 Tom de Vries <tdevries@suse.de>
3060
3061 * gdb.base/decl-before-def-decl.c: New test.
3062 * gdb.base/decl-before-def-def.c: New test.
3063 * gdb.base/decl-before-def.exp: New file.
3064
96038148
TV
30652020-04-23 Tom de Vries <tdevries@suse.de>
3066
3067 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3068
54ac3df1
TV
30692020-04-22 Tom de Vries <tdevries@suse.de>
3070
3071 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3072 debug_info_offset.
3073 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3074 before $objsfile in the line line.
3075
714534e1
TV
30762020-04-22 Tom de Vries <tdevries@suse.de>
3077
3078 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3079
16a7dbf4
MS
30802020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3081
3082 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3083 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3084 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3085 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3086 * gdb.base/jit-protocol.h: Update definitions to match all usage
3087 contexts.
3088
30892020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3090
3091 * gdb.base: Rename all jit related test and source files.
3092
30932020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3094
3095 * gdb.base/jit-reader.exp: Relax register output check.
3096
317d2668
TV
30972020-04-22 Tom de Vries <tdevries@suse.de>
3098
3099 PR symtab/25764
3100 * gdb.base/psym-external-decl-2.c: New test.
3101 * gdb.base/psym-external-decl.c: New test.
3102 * gdb.base/psym-external-decl.exp: New file.
3103 * gdb.threads/tls.exp: Add PR25807 kfail.
3104
eea9e357
TV
31052020-04-22 Tom de Vries <tdevries@suse.de>
3106
3107 PR symtab/25801
3108 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3109 in "info source" output.
3110
3d5afab3
TV
31112020-04-22 Tom de Vries <tdevries@suse.de>
3112
3113 PR symtab/25700
3114 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3115 symtab for imported_unit.c.
3116
b32102f6
GB
31172020-04-21 Gary Benson <gbenson@redhat.com>
3118
3119 * gdb.base/advance.c (func): New argument, to match call site.
3120 (func2, func3): Add return statements.
3121
d43b7a2d
TBA
31222020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3123
3124 * gdb.multi/run-only-second-inf.c: New file.
3125 * gdb.multi/run-only-second-inf.exp: New file.
3126
d89edf9b
MM
31272020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3128
3129 * gdb.btrace/multi-inferior.c: New test.
3130 * gdb.btrace/multi-inferior.exp: New file.
3131
1a476b6d
MM
31322020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3133
3134 * gdb.btrace/enable-new-thread.c: New test.
3135 * gdb.btrace/enable-new-thread.exp: New file.
3136
4778a5f8
TV
31372020-04-21 Tom de Vries <tdevries@suse.de>
3138
3139 PR gdb/25471
3140 * gdb.threads/killed-outside.c: New test.
3141 * gdb.threads/killed-outside.exp: New file.
3142
9b2c992c
GB
31432020-04-20 Gary Benson <gbenson@redhat.com>
3144
3145 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3146 * gdb.base/nested-subp2.exp: Likewise.
3147 * gdb.base/nested-subp3.exp: Likewise.
3148
b5d1d6f7
GB
31492020-04-20 Gary Benson <gbenson@redhat.com>
3150
3151 * gdb.base/nested-subp1.exp: Disable test when using clang.
3152 * gdb.base/nested-subp2.exp: Likewise.
3153 * gdb.base/nested-subp3.exp: Likewise.
3154
25230285
GB
31552020-04-20 Gary Benson <gbenson@redhat.com>
3156
3157 * gdb.cp/exception.cc: Fix compilation error with clang.
3158
fa93cc8f
GB
31592020-04-20 Gary Benson <gbenson@redhat.com>
3160
809730f3 3161 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3162
e0c45f30
GB
31632020-04-20 Gary Benson <gbenson@redhat.com>
3164
3165 * gdb.base/jit-main.c: Fix compilation error with clang.
3166
4ddfec93
KR
31672020-04-17 Kamil Rytarowski <n54@gmx.com>
3168
3169 * gdb.base/attach-twice.c: Include "sys/types.h".
3170 (PTRACE_ATTACH): Add fallback definition.
3171 (main): Pass `0' to the 4th argument of `ptrace'.
3172
2bed205e
KR
31732020-04-17 Kamil Rytarowski <n54@gmx.com>
3174
3175 * gdb.base/fork-running-state.c: Include "signal.h".
3176
0743fc83
TT
31772020-04-17 Tom Tromey <tromey@adacore.com>
3178
3179 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3180 Update tests.
3181 * gdb.btrace/cpu.exp: Update tests.
3182 * gdb.base/maint.exp: Update tests.
3183 * gdb.base/default.exp: Update tests.
3184 * gdb.base/completion.exp: Update tests.
3185
efba5c23
TV
31862020-04-16 Tom de Vries <tdevries@suse.de>
3187
3188 PR symtab/25791
3189 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3190 (ensure_gdb_index): and factor out and move ...
3191 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3192 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3193
d191d716
TV
31942020-04-16 Tom de Vries <tdevries@suse.de>
3195
3196 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3197 loading exec.
3198
99f1bc6a
AB
31992020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3200
3201 * gdb.base/many-completions.exp: New file.
3202
194d088f
TV
32032020-04-14 Tom de Vries <tdevries@suse.de>
3204
3205 PR symtab/25718
3206 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3207
c1a66c06
TV
32082020-04-14 Tom de Vries <tdevries@suse.de>
3209
3210 PR symtab/25720
3211 * gdb.base/maint-expand-symbols-header-file.c: New test.
3212 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3213 * gdb.base/maint-expand-symbols-header-file.h: New test.
3214
21b0982c
AB
32152020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3216
3217 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3218 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3219 get_func_info.
3220 (get_func_info): Delete.
3221 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3222 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3223 * lib/dwarf.exp (get_func_info): New function.
3224
dd1cab06
TV
32252020-04-13 Tom de Vries <tdevries@suse.de>
3226
3227 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3228 to what find_gnatmake does.
3229
71ea2b6b
TV
32302020-04-10 Tom de Vries <tdevries@suse.de>
3231
3232 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3233 -readnow.
3234
bdfc1e8a
TV
32352020-04-10 Tom de Vries <tdevries@suse.de>
3236
3237 PR cli/25808
3238 * gdb.base/style.c: Add leading newlines.
3239 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3240 Check listing of main's one-line body.
3241
14ca8ecf
TV
32422020-04-08 Tom de Vries <tdevries@suse.de>
3243
3244 * lib/gdb.exp (psymtabs_p): New proc.
3245 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3246 importing unit" unsupported if there are no partial symbols.
3247
e21d048f
TV
32482020-04-08 Tom de Vries <tdevries@suse.de>
3249
3250 PR testsuite/25760
3251 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3252
25c11aca
TV
32532020-04-07 Tom de Vries <tdevries@suse.de>
3254
3255 PR symtab/25796
3256 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3257
5707e24b
TV
32582020-04-07 Tom de Vries <tdevries@suse.de>
3259
3260 * gdb.base/check-psymtab.c: New test.
3261 * gdb.base/check-psymtab.exp: New file.
3262
6ee448cc
TT
32632020-04-06 Tom Tromey <tromey@adacore.com>
3264
3265 * gdb.ada/variant-record/proc.adb: New file.
3266 * gdb.ada/variant-record/value.adb: New file.
3267 * gdb.ada/variant-record/value.s: New file.
3268 * gdb.ada/variant-record.exp: New file.
3269
9e7c9a03
HD
32702020-04-03 Hannes Domani <ssbssa@yahoo.de>
3271
3272 PR gdb/25325
3273 * gdb.cp/typed-enum.cc: New test.
3274 * gdb.cp/typed-enum.exp: New file.
3275
c90d28ac
AB
32762020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3277
3278 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3279 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3280 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3281 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3282 * gdb.opt/inline-small-func.c: New file.
3283 * gdb.opt/inline-small-func.exp: New file.
3284 * gdb.opt/inline-small-func.h: New file.
3285
34e9a9fa
AB
32862020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3287
3288 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3289 function.
3290
6a354911
AB
32912020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3292
3293 * lib/dwarf.exp (function_range): Allow compiler options to be
3294 specified.
3295
880d9777
TV
32962020-04-02 Tom de Vries <tdevries@suse.de>
3297
3298 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3299 __attribute__((always_inline)).
3300 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3301
f32682ea
TV
33022020-04-02 Tom de Vries <tdevries@suse.de>
3303
3304 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3305 (gdbserver_gdb_exit): ... here. Add timeout warning.
3306 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3307 (connect_target_extended_remote): Append new server_spawn_id to
3308 server_spawn_ids.
3309 (cleanup): New proc.
3310 (setup, <toplevel>): Call cleanup.
3311
d3214198
TV
33122020-04-02 Tom de Vries <tdevries@suse.de>
3313
3314 * gdb.base/main-psymtab.exp: New file.
3315
cc77ed24
TV
33162020-04-02 Tom de Vries <tdevries@suse.de>
3317
3318 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3319
3638a098
TT
33202020-04-01 Tom Tromey <tom@tromey.com>
3321
3322 * gdb.base/complex-parts.exp: Add type tests.
3323
c34e8714
TT
33242020-04-01 Tom Tromey <tom@tromey.com>
3325
3326 * gdb.base/complex-parts.exp: Add arithmetic tests.
3327
981c08ce
TT
33282020-04-01 Tom Tromey <tom@tromey.com>
3329
3330 * gdb.compile/compile.exp: Update.
3331 * gdb.compile/compile-cplus.exp: Update.
3332 * gdb.base/varargs.exp: Update.
3333 * gdb.base/floatn.exp: Update.
3334 * gdb.base/endianity.exp: Update.
3335 * gdb.base/callfuncs.exp (do_function_calls): Update.
3336 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3337 (complex_float_integral_args): Update.
3338 * gdb.base/complex.exp: Update.
3339 * gdb.base/complex-parts.exp: Update.
3340
3d1cfd43
TT
33412020-04-01 Tom Tromey <tromey@adacore.com>
3342
3343 * gdb.rust/union.rs: New file.
3344 * gdb.rust/union.exp: New file.
3345 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3346 (main): Update.
3347 * gdb.rust/simple.exp: Move union tests to union.exp.
3348
e033dfa9
TT
33492020-04-01 Tom Tromey <tromey@adacore.com>
3350
3351 * gdb.rust/simple.rs (main): Remove "y0".
3352
53cccef1
TBA
33532020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3354
3355 * gdb.multi/stop-all-on-exit.c: New test.
3356 * gdb.multi/stop-all-on-exit.exp: New file.
3357
60e22c1e
HD
33582020-04-01 Hannes Domani <ssbssa@yahoo.de>
3359
3360 PR gdb/24789
3361 * gdb.cp/misc.cc: Add integer reference variable.
3362 * gdb.cp/misc.exp: Add test.
3363
e139a727
TBA
33642020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3365
3366 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3367 scenario to cover execution until the end and also the case
3368
16b0db75
TV
33692020-03-31 Tom de Vries <tdevries@suse.de>
3370
3371 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3372 c. Use "maint info symtabs" to check symtab expansion.
3373
c0502da6
TV
33742020-03-30 Tom de Vries <tdevries@suse.de>
3375
3376 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3377 unsupported.
3378 (verify_psymtab_expanded): Move ...
3379 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3380 test.
3381 (readnow): New proc.
3382
5935fd15
AB
33832020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3384
3385 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3386 with $hex.
3387
1773be9e
TT
33882020-03-20 Tom Tromey <tromey@adacore.com>
3389
3390 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3391
70304be9
TT
33922020-03-20 Tom Tromey <tromey@adacore.com>
3393
3394 * gdb.ada/sub_variant/subv.adb: New file.
3395 * gdb.ada/sub_variant.exp: New file.
3396
0dd7b8f7
TV
33972020-03-20 Tom de Vries <tdevries@suse.de>
3398
3399 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3400 first break fails.
3401 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3402
cada5fc9
AB
34032020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3404
3405 * gdb.server/exit-multiple-threads.c: New file.
3406 * gdb.server/exit-multiple-threads.exp: New file.
3407
6b8c53f2
AB
34082020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3409
3410 * gdb.fortran/mixed-lang-stack.c: New file.
3411 * gdb.fortran/mixed-lang-stack.cpp: New file.
3412 * gdb.fortran/mixed-lang-stack.exp: New file.
3413 * gdb.fortran/mixed-lang-stack.f90: New file.
3414
19a2740f
AB
34152020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3416
3417 * gdb.linespec/cp-completion-aliases.cc: New file.
3418 * gdb.linespec/cp-completion-aliases.exp: New file.
3419
d8c8b848
TV
34202020-03-19 Tom de Vries <tdevries@suse.de>
3421
3422 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3423 more precise.
3424
a9933ccf
TV
34252020-03-18 Tom de Vries <tdevries@suse.de>
3426
3427 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3428 * gdb.dwarf2/break-inline-psymtab.c: New test.
3429 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3430
2f89101f
TV
34312020-03-16 Tom de Vries <tdevries@suse.de>
3432
3433 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3434 cache_verify and cache_verify_proc.
3435
6b9374f1
TV
34362020-03-15 Tom de Vries <tdevries@suse.de>
3437
3438 * gdb.server/solib-list.exp: Handle
3439 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3440
eaeaf44c
TV
34412020-03-15 Tom de Vries <tdevries@suse.de>
3442
3443 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3444 objfiles".
3445
3293bbaf
TT
34462020-03-14 Tom Tromey <tom@tromey.com>
3447
3448 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3449
ab44624c
TV
34502020-03-14 Tom de Vries <tdevries@suse.de>
3451
3452 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3453
54c43825
TV
34542020-03-14 Tom de Vries <tdevries@suse.de>
3455
3456 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3457 result in line-by-line fashion.
3458
2ac70237
TV
34592020-03-14 Tom de Vries <tdevries@suse.de>
3460
3461 * lib/gdb.exp (supports_statement_frontiers): New proc.
3462 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3463
09546b56
TV
34642020-03-14 Tom de Vries <tdevries@suse.de>
3465
3466 * gdb.base/printcmds.exp: Add missing quoting for "print
3467 teststring2".
3468
a1f6a07c
TT
34692020-03-13 Tom Tromey <tom@tromey.com>
3470
3471 * gdb.base/printcmds.exp (test_print_strings): Add regression
3472 test.
3473 * gdb.base/printcmds.c (charptr): New typedef.
3474 (teststring2): New global.
3475
1b83d09c
AB
34762020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3477
3478 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3479 full path in the test name.
3480 (test_ld): Add some with_test_prefix blocks to make test names
3481 unique.
3482
2d61316c
TV
34832020-03-13 Tom de Vries <tdevries@suse.de>
3484
3485 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3486
2e9145ac
TV
34872020-03-13 Tom de Vries <tdevries@suse.de>
3488
3489 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3490
96c7f873
TV
34912020-03-13 Tom de Vries <tdevries@suse.de>
3492
3493 PR symtab/25646
3494 * gdb.dwarf2/imported-unit.exp: Add test.
3495
49ba92c0
TV
34962020-03-13 Tom de Vries <tdevries@suse.de>
3497
3498 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3499 (var1, var2): New variable.
3500 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3501 matching symbols.
3502
301b21e0
TV
35032020-03-13 Tom de Vries <tdevries@suse.de>
3504
3505 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3506 (Term::command): Use prompt prefix.
3507 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3508 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3509 command_no_prompt_prefix instead of prefix.
3510 * gdb.tui/tui-layout-asm.exp: Same.
3511
3f512721
SM
35122020-03-12 Simon Marchi <simon.marchi@efficios.com>
3513
3514 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3515
40310f30
SM
35162020-03-12 Simon Marchi <simon.marchi@efficios.com>
3517
3518 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3519 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3520 on" while stepping over the test instruction, match printed
3521 message.
3522
09252140
TV
35232020-03-12 Tom de Vries <tdevries@suse.de>
3524
3525 * gdb.base/info-types.exp: Use exp_continue during matching of output
3526 of "info types".
3527
14e9c72c
TV
35282020-03-12 Tom de Vries <tdevries@suse.de>
3529
3530 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3531
e515d67e
TV
35322020-03-12 Tom de Vries <tdevries@suse.de>
3533
3534 * gdb.fortran/module.exp: Use exp_continue during matching of output
3535 of "info variable -n".
3536
307eafd8
TV
35372020-03-12 Tom de Vries <tdevries@suse.de>
3538
3539 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3540 gdb.dwarf2/dw2-ranges-base.c.
3541
9a2de3fc
TV
35422020-03-12 Tom de Vries <tdevries@suse.de>
3543
3544 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3545 in presence of GLIBC debuginfo.
3546
3217502e
TV
35472020-03-12 Tom de Vries <tdevries@suse.de>
3548
3549 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3550 $core.
3551
1281424c
TV
35522020-03-12 Tom de Vries <tdevries@suse.de>
3553
3554 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3555 more precise.
3556
038b97fc
SM
35572020-03-11 Simon Marchi <simon.marchi@efficios.com>
3558
3559 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3560 from Unix to Windows path.
3561
5308d1e7
TV
35622020-03-11 Tom de Vries <tdevries@suse.de>
3563
3564 * gdb.ada/minsyms.exp: Set language to ada.
3565
f870f78f
TV
35662020-03-11 Tom de Vries <tdevries@suse.de>
3567
3568 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3569
5a13315d
TV
35702020-03-11 Tom de Vries <tdevries@suse.de>
3571
3572 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3573
976862ed
TT
35742020-03-11 Tom Tromey <tromey@adacore.com>
3575
3576 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3577
7462c383
TV
35782020-03-11 Tom de Vries <tdevries@suse.de>
3579
3580 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3581
1c6c46a0
TV
35822020-03-11 Tom de Vries <tdevries@suse.de>
3583
3584 * gdb.base/break-interp.exp: Limit verbose scope.
3585
44f41bb7
TV
35862020-03-11 Tom de Vries <tdevries@suse.de>
3587
3588 * gdb.fortran/logical.f90: Define variable with character type.
3589 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3590
b76f3a42
TV
35912020-03-11 Tom de Vries <tdevries@suse.de>
3592
3593 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3594
1c33af77
TV
35952020-03-11 Tom de Vries <tdevries@suse.de>
3596
3597 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3598 symtabs.
3599
8c95582d
AB
36002020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3601 Bernd Edlinger <bernd.edlinger@hotmail.de>
3602
3603 * gdb.cp/step-and-next-inline.cc: New file.
3604 * gdb.cp/step-and-next-inline.exp: New file.
3605 * gdb.cp/step-and-next-inline.h: New file.
3606 * gdb.dwarf2/dw2-is-stmt.c: New file.
3607 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3608 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3609 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3610 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3611
cecf8547
AB
36122020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3613
3614 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3615 is-stmt flag in the line table.
3616
0ba678c9
TV
36172020-03-09 Tom de Vries <tdevries@suse.de>
3618
3619 * lib/gdb.exp (cached_file): Create cache dir.
3620
72fbdf83
TV
36212020-03-07 Tom de Vries <tdevries@suse.de>
3622
3623 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3624 * gdb.cp/rvalue-ref-params.exp: Same.
3625
436b5e99
TV
36262020-03-06 Tom de Vries <tdevries@suse.de>
3627
3628 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3629 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3630
09f2921c
TV
36312020-03-06 Tom de Vries <tdevries@suse.de>
3632
3633 * README: Fix "the the".
3634 * gdb.base/dprintf.exp: Same.
3635
50a3cc5d
TV
36362020-03-05 Tom de Vries <tdevries@suse.de>
3637
3638 * gdb.base/maint.exp: Update "main print statistics" expected output.
3639
0a709cba
AKS
36402020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3641
3642 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3643 (fortran_int8): Likewise.
3644 (fortran_real4): Likewise.
3645 (fortran_real8): Likewise.
3646 (fortran_complex4): Likewise.
3647 (fortran_logical4): Likewise.
3648 (fortran_character1): Likewise.
3649
5e5d66b6
AB
36502020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3651
3652 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3653 printed as true.
3654
7b973adc
SDJ
36552020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3656
3657 * gdb.base/printcmds.exp: Add test to verify printf of a
3658 variable holding an address.
3659
478e490a
TV
36602020-03-03 Tom de Vries <tdevries@suse.de>
3661
3662 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3663
1ef44e86
TV
36642020-03-03 Tom de Vries <tdevries@suse.de>
3665
3666 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3667 gdb_test_multiple call.
3668
b98cc2cf
TV
36692020-03-03 Tom de Vries <tdevries@suse.de>
3670
3671 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3672 gdb_test_multiple calls.
3673
63e163f2
AB
36742020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3675
3676 * gdb.base/default.exp: Remove test of 'set history filename'.
3677 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3678 filename to the empty string.
3679 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3680 and GDBHISTSIZE.
3681
24ed6739
AB
36822020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3683
3684 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3685 disabled.
3686
590003dc 36872020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3688 Tom de Vries <tdevries@suse.de>
590003dc
TV
3689
3690 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3691 -prompt prefix, before user_code argument. Add -lbl option likewise.
3692 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3693 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3694 argument.
3695 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3696 have "\r\n" at start-of-line, instead of at end-of-line.
3697
f5e46084
SM
36982020-02-28 Simon Marchi <simon.marchi@efficios.com>
3699
3700 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3701 libinproctrace.so.
3702
f7a7000d
LM
37032020-02-28 Luis Machado <luis.machado@linaro.org>
3704
3705 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3706 to "p/x".
3707
718e0816
LM
37082020-02-28 Luis Machado <luis.machado@linaro.org>
3709
3710 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3711 asm/ptrace.h and error.h.
3712
13c3a74a
TV
37132020-02-28 Tom de Vries <tdevries@suse.de>
3714
3715 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3716 (struct wrapper, do_something, mundane/symada__cS): Move ...
3717 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3718 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3719 Update "print symada__cS before partial symtab expansion" regexp.
3720 Update breakpoint location. Flush symbol cache after expansion.
3721
85d2d5bb
LM
37222020-02-28 Luis Machado <luis.machado@linaro.org>
3723
3724 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3725
3608f86c
TV
37262020-02-27 Tom de Vries <tdevries@suse.de>
3727
3728 * config/sid.exp: Remove unused globals.
3729 * gdb.base/attach.exp: Same.
3730 * gdb.base/catch-load.exp: Same.
3731 * gdb.base/dbx.exp: Same.
3732 * lib/gdb.exp: Same.
3733 * lib/mi-support.exp: Same.
3734 * lib/prompt.exp: Same.
3735
c8d4f6df
TV
37362020-02-27 Tom de Vries <tdevries@suse.de>
3737
3738 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3739 not set.
3740
0d79cdc4
AM
37412020-02-26 Aaron Merey <amerey@redhat.com>
3742
3743 * gdb.debuginfod: New directory for debuginfod tests.
3744 * gdb.debuginfod/main.c: New test file.
3745 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3746
0dce4280
TV
37472020-02-26 Tom de Vries <tdevries@suse.de>
3748
3749 PR gdb/25603
3750 * gdb.base/persistent-lang.cc: New test.
3751 * gdb.base/persistent-lang.exp: New file.
3752
9e80cfa1
AB
37532020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3754
3755 * gdb.fortran/derived-type-striding.exp: Add a new test.
3756 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3757 new test.
3758
2078dbb2
AB
37592020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3760
3761 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3762 names.
3763
70d49700
TV
37642020-02-25 Tom de Vries <tdevries@suse.de>
3765
3766 PR go/18926
3767 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3768
a88ef40d
TV
37692020-02-24 Tom de Vries <tdevries@suse.de>
3770
3771 PR gdb/25592
3772 * gdb.base/info-locals-unused-static-var.c: New test.
3773 * gdb.base/info-locals-unused-static-var.exp: New file.
3774
01b1af32
TT
37752020-02-22 Tom Tromey <tom@tromey.com>
3776
3777 * gdb.python/tui-window.exp: New file.
3778 * gdb.python/tui-window.py: New file.
3779
7c043ba6
TT
37802020-02-22 Tom Tromey <tom@tromey.com>
3781
3782 PR tui/17850:
3783 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3784 tests.
3785
c22fef7e
TT
37862020-02-22 Tom Tromey <tom@tromey.com>
3787
3788 * gdb.tui/new-layout.exp: Add sub-layout tests.
3789
ee325b61
TT
37902020-02-22 Tom Tromey <tom@tromey.com>
3791
3792 * gdb.tui/new-layout.exp: New file.
3793
3f0cbb04
TT
37942020-02-22 Tom Tromey <tom@tromey.com>
3795
3796 * gdb.rust/rust-style.rs: New file.
3797 * gdb.rust/rust-style.exp: New file.
3798 * gdb.base/style.exp: Test structure printing.
3799 * gdb.base/style.c (struct some_struct): New type.
3800 (enum etype): New type.
3801 (struct_value): New global.
3802
75525152
TV
38032020-02-21 Tom de Vries <tdevries@suse.de>
3804
3805 PR go/18926
3806 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3807 Remove blanket xfails. Use message argument for gdb_breakpoint.
3808 Make continuing to breakpoint test conditional on setting breakpoint.
3809 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3810 DW_AT_name attribute. Add xfail for GCC PR93866.
3811
bd360d30
AB
38122020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3813
3814 * gdb.dwarf2/cpp-linkage-name.c: New file.
3815 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3816
c7adb09f 38172020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
3818
3819 * lib/gdb.exp (gdb_wrapper_init): Reset
3820 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3821 not exist.
3822
a9c79803
TV
38232020-02-20 Tom de Vries <tdevries@suse.de>
3824
3825 PR go/17018
3826 * gdb.go/hello.exp: Copy ...
3827 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3828 print of st to print value of global definition. Add xfail for GCC
3829 PR93844.
3830 * gdb.go/hello.exp: Remove printing of st before definition.
3831 * gdb.go/hello.go: Copy ...
3832 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3833 to st.
3834 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3835
d7445728
TV
38362020-02-20 Tom de Vries <tdevries@suse.de>
3837
3838 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3839 (gdb_simple_compile): Handle compile_flags go by using .go extension
3840 for source file.
3841 * gdb.go/chan.exp: Use support_go_compile.
3842 * gdb.go/handcall.exp: Same.
3843 * gdb.go/hello.exp: Same.
3844 * gdb.go/integers.exp: Same.
3845 * gdb.go/max-depth.exp: Same.
3846 * gdb.go/methods.exp: Same.
3847 * gdb.go/package.exp: Same.
3848 * gdb.go/strings.exp: Same.
3849 * gdb.go/types.exp: Same.
3850 * gdb.go/unsafe.exp: Same.
3851
c9c41e6d
TV
38522020-02-19 Tom de Vries <tdevries@suse.de>
3853
3854 * gdb.python/lib-types.exp: Make xfail more strict.
3855
f20ff837
TV
38562020-02-19 Tom de Vries <tdevries@suse.de>
3857
3858 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3859
08410482
DE
38602020-02-19 Doug Evans <dje@google.com>
3861
3862 PR rust/25535
3863 * gdb.rust/simple.exp: Add test.
3864 * gdb.rust/simple.rs: Add test.
3865
623563f7
TV
38662020-02-19 Tom de Vries <tdevries@suse.de>
3867
3868 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3869 output line-by-line.
3870
d3308cfd
TV
38712020-02-19 Tom de Vries <tdevries@suse.de>
3872
3873 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3874
86cbc5dc
TV
38752020-02-19 Tom de Vries <tdevries@suse.de>
3876
3877 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3878 prelink.
3879
9db2b96b
TV
38802020-02-19 Tom de Vries <tdevries@suse.de>
3881
3882 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3883 (gdb_do_cache): Use gdb_do_cache_wrap.
3884 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3885
89e2fdc5
TV
38862020-02-19 Tom de Vries <tdevries@suse.de>
3887
3888 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3889 gdb_compile option.
3890
373d7ac0
SM
38912020-02-18 Simon Marchi <simon.marchi@efficios.com>
3892
3893 * gdb.base/printcmds.exp (test_print_enums): Update expected
3894 output.
3895
b29a2df0
SM
38962020-02-18 Simon Marchi <simon.marchi@efficios.com>
3897
3898 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3899 for "unknown".
3900
6740f0cc
SM
39012020-02-18 Simon Marchi <simon.marchi@efficios.com>
3902
3903 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3904 enumerator.
3905
edd45eb0
SM
39062020-02-18 Simon Marchi <simon.marchi@efficios.com>
3907
3908 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3909 FE_, add FE_NONE.
3910 (three): Update.
3911 (enum flag_enum_without_zero): New enum.
3912 (flag_enum_without_zero): New variable.
3913 (enum not_flag_enum): New enum.
3914 (three_not_flag): New variable.
3915 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3916 (test_print_enums): Add more tests for printing flag enums.
3917
d4295de4
TV
39182020-02-18 Tom de Vries <tdevries@suse.de>
3919
3920 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3921 (gdb_compile_ada): ... here.
3922 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3923 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3924
f251f505
TT
39252020-02-14 Tom Tromey <tom@tromey.com>
3926
3927 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3928 build directory.
3929 * boards/gdbserver-base.exp: Update path to gdbserver.
3930
8f432634
TV
39312020-02-13 Tom de Vries <tdevries@suse.de>
3932
3933 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3934
92b6eaf7
TV
39352020-02-13 Tom de Vries <tdevries@suse.de>
3936
3937 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3938 are missing.
3939
f3b0f7fe
TV
39402020-02-13 Tom de Vries <tdevries@suse.de>
3941
3942 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3943 call.
3944
f6be8713
SDJ
39452020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3946
3947 PR tui/25126
3948 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3949 * gdb.base/cached-source-file.c: New file.
3950 * gdb.base/cached-source-file.exp: New file.
3951
b2770d5e
TV
39522020-02-11 Tom de Vries <tdevries@suse.de>
3953
3954 PR testsuite/25488
3955 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3956
44f6938e
TV
39572020-02-10 Tom de Vries <tdevries@suse.de>
3958
3959 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3960
5f0e2eb7
MR
39612020-02-10 Maciej W. Rozycki <macro@wdc.com>
3962
3963 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3964 and $after_addr are both integers before making a comparison.
3965
46ce2b6f
TV
39662020-02-09 Tom de Vries <tdevries@suse.de>
3967
3968 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3969 command output and paste it into gdb.log. If any, paste catch message
3970 to gdb.log.
3971
5abbbe1d
TT
39722020-02-07 Tom Tromey <tromey@adacore.com>
3973
3974 PR breakpoints/24915:
3975 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3976
1d5d29e7
SV
39772020-02-06 Shahab Vahedi <shahab@synopsys.com>
3978
3979 * gdb.tui/tui-missing-src.exp: Add the "missing source
3980 file" test for the TUI.
3981
b0999b9b
AB
39822020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3983
3984 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3985 including a port number in the output.
3986
c3b149eb
AKS
39872020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3988
3989 * lib/fortran.exp (fortran_int4): Handle clang.
3990 (fortran_int8): Likewise.
3991 (fortran_real4): Likewise.
3992 (fortran_real8): Likewise.
3993 (fortran_complex4): Likewise.
3994 (fortran_logical4): Likewise.
3995 (fortran_character1): Likewise.
3996
f8dcc90b
TV
39972020-02-04 Tom de Vries <tdevries@suse.de>
3998
3999 * README (Race detection): Add note.
4000
f90ac7c2
TV
40012020-02-04 Tom de Vries <tdevries@suse.de>
4002
4003 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4004
780636ae
TV
40052020-02-04 Tom de Vries <tdevries@suse.de>
4006
4007 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4008
5d2e1193
RA
40092020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4010
4011 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4012 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4013 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4014 blttar, bnetarl.
4015 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4016 binary for blttar, bnetarl.
4017 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4018 wait instruction. Delete ldmx test.
4019 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4020
e409c542
AKS
40212020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4022
4023 * gdb.fortran/array-bounds-high.exp: New file.
4024 * gdb.fortran/array-bounds-high.f90: New file.
4025
b0029748
LD
40262020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4027
4028 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4029 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4030
195a8287
TV
40312020-02-01 Tom de Vries <tdevries@suse.de>
4032
4033 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4034
42330a68
AB
40352020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4036
4037 PR tui/9765
4038 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4039 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4040
b62a8028
LM
40412020-01-29 Luis Machado <luis.machado@linaro.org>
4042
4043 * gdb.arch/aarch64-brk-patterns.c: New source file.
4044 * gdb.arch/aarch64-brk-patterns.exp: New test.
4045
5f440116
TBA
40462020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4047
4048 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4049 GCC/Clang version.
4050 * gdb.cp/pass-by-ref.exp: Ditto.
4051
ee2a6fc6
TV
40522020-01-29 Tom de Vries <tdevries@suse.de>
4053
4054 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4055 * gdb.threads/watchpoint-fork-mt.c: Same.
4056 * gdb.threads/watchpoint-fork-parent.c: Same.
4057 * gdb.threads/watchpoint-fork-st.c: Same.
4058 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4059
16b10d6e
LM
40602020-01-27 Luis Machado <luis.machado@linaro.org>
4061
4062 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4063 sitting at a syscall instruction when we hit the syscall function's
4064 breakpoint.
4065 Check PC against one obtained with the x command.
4066 Validate syscall number.
4067 (step_over_syscall): Don't continue to the syscall instruction if
4068 we're already there.
4069
b1468492
PW
40702020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4071
4072 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4073
7ffa82e1
AB
40742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4075
4076 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4077 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4078
3d92a3e3
AB
40792020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4080
4081 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4082 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4083
94a72be7
AB
40842020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4085
4086 * gdb.base/maint.exp: Update line table parsing test.
4087 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4088
53af73bf
PA
40892020-01-24 Pedro Alves <palves@redhat.com>
4090
4091 PR gdb/25410
4092 * gdb.multi/multi-re-run-1.c: New.
4093 * gdb.multi/multi-re-run-2.c: New.
4094 * gdb.multi/multi-re-run.exp: New.
4095
1ba1ac88
AB
40962020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4097
4098 PR gdb/23718
4099 * gdb.server/server-kill-python.exp: New file.
4100
f3364a6d
AB
41012020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4102
4103 * gdb.server/multi-ui-errors.c: New file.
4104 * gdb.server/multi-ui-errors.exp: New file.
4105
733d0a67
AB
41062020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4107
4108 PR tui/9765
4109 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4110
4f13c1c0
TT
41112020-01-19 Tom Tromey <tom@tromey.com>
4112
4113 * gdb.tui/main.exp: Add check for plain "file".
4114
40c94099
CB
41152020-01-16 Christian Biesinger <cbiesinger@google.com>
4116
4117 * lib/gdb.exp: Fix spelling error (seperatelly).
4118
ff47f4f0
TT
41192020-01-14 Tom Tromey <tom@tromey.com>
4120
4121 PR symtab/12535:
4122 * gdb.python/python.exp: Test decode_line with empty string
4123 argument.
4124
717c684d
BE
41252020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4126
4127 * gdb.base/skip-inline.exp: Extend test.
4128
44e4c775
AB
41292020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4130
4131 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4132 * gdb.dwarf2/dw2-bad-elf.c: New file.
4133 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4134
d93c6db7
AB
41352020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4136
4137 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4138 _line_saw_file.
4139
9a6d629c
AB
41402020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4141
4142 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4143 border.
4144
d9ebdab7
TBA
41452020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4146
4147 * gdb.multi/multi-target.exp (setup): Factor out "info
4148 connections" and "info inferiors" tests to ...
4149 (test_info_inferiors): ... this new procedure.
4150 (top level): Run new "info-inferiors" tests.
4151
f3c469b9
PA
41522020-01-10 Pedro Alves <palves@redhat.com>
4153
4154 * gdb.server/bkpt-other-inferior.exp: New file.
4155
121b3efd
PA
41562020-01-10 Pedro Alves <palves@redhat.com>
4157
4158 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4159 of "add-inferior".
4160 * gdb.base/quit-live.exp: Likewise.
4161 * gdb.base/remote-exec-file.exp: Likewise.
4162 * gdb.guile/scm-progspace.exp: Likewise.
4163 * gdb.linespec/linespec.exp: Likewise.
4164 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4165 * gdb.mi/user-selected-context-sync.exp: Likewise.
4166 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4167 "info inferiors" tests.
4168 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4169 "add-inferior".
4170 * gdb.multi/watchpoint-multi.exp: Likewise.
4171 * gdb.python/py-inferior.exp: Likewise.
4172 * gdb.server/extended-remote-restart.exp: Likewise.
4173 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4174 "info inferiors".
4175 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4176 * gdb.trace/report.exp: Likewise.
4177
1dadb1dd
PA
41782020-01-10 Pedro Alves <palves@redhat.com>
4179
4180 * gdb.multi/multi-target.c: New file.
4181 * gdb.multi/multi-target.exp: New file.
4182 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4183 mode requested, but remote does not support non-stop".
4184
78f2c40a
PA
41852020-01-10 Pedro Alves <palves@redhat.com>
4186
4187 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4188 disconnect before reconnecting.
4189
e7af6c70
TBA
41902020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4191 Pedro Alves <palves@redhat.com>
4192
4193 * gdb.server/connect-without-multi-process.exp: Also test
4194 continuing to end.
4195
acdf84a6
PA
41962020-01-10 Pedro Alves <palves@redhat.com>
4197
4198 * gdb.base/remote-exec-file.exp: New file.
4199
873657b9
PA
42002020-01-10 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4203 output.
4204 * gdb.threads/async.c: New.
4205 * gdb.threads/async.exp: New.
4206 * gdb.multi/tids-gid-reset.c: New.
4207 * gdb.multi/tids-gid-reset.exp: New.
4208
7f0ae84c
GB
42092020-01-10 George Barrett <bob@bob131.so>
4210
4211 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4212 to help in finding the image relocation offset.
4213 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4214 options in arguments.
4215 (stap_test_no_debuginfo): Likewise.
4216 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4217 test variants.
4218 (stap_test): Add null semaphore relocation test.
4219
47e9d49d
GB
42202020-01-10 George Barrett <bob@bob131.so>
4221
4222 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4223 * gdb.base/stap-probe.exp: Likewise.
4224 (stap_test): Pass argument as an additional flag.
4225 (stap_test_no_debuginfo): Likewise.
4226 (stap_test): Check `info probes stap' output for semaphore
4227 addresses if the test binary is supposed to have them.
4228
f5a7c406
AB
42292020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4230
4231 * gdb.tui/basic.exp: Add more scrolling tests.
4232
9ae6bf64
TT
42332020-01-09 Tom Tromey <tom@tromey.com>
4234
4235 PR tui/18932:
4236 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4237 meangingful value.
4238 (Term::command, Term::resize): Update.
4239 * gdb.tui/basic.exp: Add scrolling test.
4240
b2efe70c
AB
42412020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4242
4243 * gdb.tui/tui-layout-asm.exp: New file.
4244
3804da7e
AB
42452020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4246
4247 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4248
b40aa28f
AB
42492020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4250
4251 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4252 (Term::enter_tui): Use Term::prepare_for_tui.
4253
63ffd7c9
AB
42542020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4255
4256 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4257 called.
4258
3be966f6
AB
42592020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4260
4261 * gdb.base/skip.exp: Fix race condition in test.
4262
153d79c4
AB
42632020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4264
4265 * gdb.base/backtrace.c: New file.
4266 * gdb.base/backtrace.exp: New file.
4267
f2302a34
AB
42682020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4269
4270 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4271
6ec1d75e
PW
42722020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4273
4274 * gdb.base/style.exp: Test that warnings are styled.
4275
c296cbe6
BE
42762019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4277
4278 * gdb.base/line65535.exp: New file.
4279 * gdb.base/line65535.c: New file.
4280
b28a729d
SM
42812019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4282
4283 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4284 * lib/gnat_debug_info_test.adb: New file.
4285 * gdb.ada/ptype_tagged_param.exp: Use
4286 gnat_runtime_has_debug_info, expect a different output if
4287 runtime does not have debug info.
4288
7f2d7a0d
SM
42892019-12-20 Simon Marchi <simon.marchi@efficios.com>
4290
4291 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4292 (another) quote in test name.
4293
f3bce483
SM
42942019-12-20 Simon Marchi <simon.marchi@efficios.com>
4295
4296 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4297 Add quote in test name.
4298
c855a912
TBA
42992019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4300
4301 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4302 directory instead.
4303 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4304 * gdb.cp/pass-by-ref-2.cc: New file.
4305 * gdb.cp/pass-by-ref-2.exp: New file.
4306
fc9d2d72
TT
43072019-12-20 Tom Tromey <tom@tromey.com>
4308
4309 * gdb.tui/list-before.exp: New file.
4310
77b97e00
TT
43112019-12-20 Tom Tromey <tom@tromey.com>
4312
4313 * gdb.tui/list.exp: Check for source on initial listing.
4314
f69656d0
TT
43152019-12-11 Tom Tromey <tromey@adacore.com>
4316
4317 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4318 Add crlf test.
4319
99a55965
SM
43202019-12-18 Simon Marchi <simon.marchi@efficios.com>
4321
4322 * gdb.base/default.exp: Update value of $_gdb_major.
4323
5024637f
BE
43242019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4325
4326 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4327
b63634be
BE
43282019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4329
4330 * gdb.base/skip.exp: Whitespace fix.
4331
45d73523
BE
43322019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4333
4334 * gdb.base/skip-inline.c: New file.
4335 * gdb.base/skip-inline.exp: New file.
4336
d043f8c8
SM
43372019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4338
4339 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4340 jit_function_00 to jit_function_stack_mangle.
4341 * gdb.base/jithost.c (jit_function_t): Rename to...
4342 (jit_function_stack_mangle_t): ... this.
4343 (jit_function_add_t): New typedef.
4344 (jit_function_00_code): Rename to...
4345 (jit_function_stack_mangle_code): ... this, make static.
4346 (jit_function_add_code): New.
4347 (main): Generate "add" function and call it. Adjust to changes
4348 in jithost_abi.
4349 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4350 (struct jithost_abi) <begin, end>: Remove fields.
4351 <object, function_stack_mangle, function_add>: New fields.
4352 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4353 code_end>: Remove fields.
4354 <func_stack_mangle>: New field.
4355 (read_debug_info): Adjust to renaming, create block for "add"
4356 function.
4357 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4358
873de05c
TT
43592019-12-11 Tom Tromey <tom@tromey.com>
4360
4361 * gdb.tui/resize.exp: Fix regexp.
4362 * gdb.tui/regs.exp: Fix regexps.
4363 * gdb.tui/main.exp: Fix regexp.
4364
3d979945
TT
43652019-12-11 Tom Tromey <tom@tromey.com>
4366
4367 * gdb.tui/resize.exp: Update.
4368 * gdb.tui/empty.exp (layouts): Update.
4369
2192a9d3
TT
43702019-12-11 Tom Tromey <tom@tromey.com>
4371
4372 * gdb.tui/regs.exp: Update.
4373 * gdb.tui/empty.exp (layouts): Update.
4374 * gdb.tui/basic.exp: Update.
4375 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4376
d8edc8b7
PW
43772019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4378
4379 * gdb.base/options.exp: Add -raw-values in the print completion list.
4380 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4381
4c12d936
KB
43822019-12-10 Kevin Buettner <kevinb@redhat.com>
4383
4384 * gdb.threads/omp-par-scope.c: New file.
4385 * gdb/threads/omp-par-scope.exp: New file.
4386
26b911fb
KB
43872019-12-10 Kevin Buettner <kevinb@redhat.com>
4388
bb47f919
KB
4389 * lib/gdb.exp (support_nested_function_tests): New proc.
4390
43912019-12-10 Kevin Buettner <kevinb@redhat.com>
4392
4393 * lib/gdb.exp (gdb_compile_openmp): New proc.
4394 (build_executable_from_specs): Add an "openmp" option.
4395 (gdb_compile_pthreads): Add non-executable case.
26b911fb 4396
6c71eb7d
TT
43972019-12-10 Tom Tromey <tromey@adacore.com>
4398
4399 * gdb.ada/unchecked_union.exp: New file.
4400 * gdb.ada/unchecked_union/pck.adb: New file.
4401 * gdb.ada/unchecked_union/pck.ads: New file.
4402 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4403 * gdb-utils.exp (string_to_regexp): Also quote "?".
4404
bac7c5cf
GB
44052019-12-10 George Barrett <bob@bob131.so>
4406
4407 Test scripted probe breakpoints.
4408 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4409 * gdb.python/py-breakpoint.c (main): Likewise.
4410 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4411 specifier test.
4412 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4413
330f1d38
TBA
44142019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4415
4416 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4417 an rvalue parameter.
4418 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4419 parameter.
4420
b43315e2
AB
44212019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4422
4423 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4424 modules.
4425
54f73dad
AB
44262019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4427
4428 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4429 broken version of GCC.
4430
d57cbee9
AB
44312019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4432
4433 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4434 sym-info-cmds library.
4435 * gdb.fortran/info-types.exp: Likewise.
4436 * lib/sym-info-cmds.exp: New file.
4437
c14aab8c
TV
44382019-12-08 Tom de Vries <tdevries@suse.de>
4439
4440 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4441
aa2d5a42
KS
44422019-12-07 Keith Seitz <keiths@redhat.com>
4443
4444 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4445 * gdb.base/corefile-buildid-shlib.c: New file.
4446 * gdb.base/corefile-buildid.c: New file.
4447 * gdb.base/corefile-buildid.exp: New file.
4448
93e55f0a
TV
44492019-12-06 Tom de Vries <tdevries@suse.de>
4450
4451 * gdb.dwarf2/varval.exp: Add decl before def test.
4452
c7d12402
TBA
44532019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4454
4455 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4456
06acc08f
TBA
44572019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4458
4459 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4460 CV and reference conversion for overload resolution.
4461 * gdb.cp/rvalue-ref-overload.exp: Test it.
4462
e0fad1ea
PW
44632019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4464
4465 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4466 * gdb.base/frameapply.exp: Test faas without command.
4467
8d70a9f0
AB
44682019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4469
4470 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4471 Fortran tests.
4472 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4473 order.
4474
36c8fb93
AB
44752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4476
4477 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4478 casting to type with no kind specified.
4479 (test_basic_parsing_of_type_kinds): Additional tests for types
4480 with no kind specified, and add tests for single/double
4481 precision/complex types.
4482
4139ff00
TT
44832019-12-04 Tom Tromey <tromey@adacore.com>
4484
4485 * gdb.base/endianity.c (struct other) <x>: New field.
4486 (main): Initialize it.
4487 * gdb.base/endianity.exp: Update.
4488
a05cf17a
TT
44892019-12-04 Tom Tromey <tromey@adacore.com>
4490
4491 * gdb.ada/scalar_storage/storage.adb: New file.
4492 * gdb.ada/scalar_storage/pck.adb: New file.
4493 * gdb.ada/scalar_storage/pck.ads: New file.
4494 * gdb.ada/scalar_storage.exp: New file.
4495
103a685e
TT
44962019-12-04 Tom Tromey <tromey@adacore.com>
4497
4498 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4499 (main): Initialize it.
4500 * gdb.base/endianity.exp: Update.
4501
c2512106
AB
45022019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4503
4504 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4505
293b38d6
AB
45062019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4507
4508 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4509 -symbol-info-module-functions and -symbol-info-module-variables.
4510
216a7e6b
AB
45112019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4512
4513 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4514
5bbd8269
AB
45152019-12-01 Richard Bunt <richard.bunt@arm.com>
4516 Andrew Burgess <andrew.burgess@embecosm.com>
4517
4518 * gdb.fortran/derived-type-striding.exp: New file.
4519 * gdb.fortran/derived-type-striding.f90: New file.
4520 * gdb.fortran/array-slices.exp: New file.
4521 * gdb.fortran/array-slices.f90: New file.
4522
be09caf1
PW
45232019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4524
4525 * gdb.base/define.exp: Test . in command names.
4526 * gdb.base/setshow.exp: Update test, as . is now part of
4527 command name.
4528
643c0cbe
PW
45292019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4530
4531 * gdb.base/define-prefix.exp: New file.
4532
dcdec678
AB
45332019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4534
4535 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4536 compile.
4537 (skip_btrace_pt_tests): Likewise.
4538
640ab947
AB
45392019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4540
4541 * gdb.fortran/info-modules.exp: Compile source files in correct
4542 order.
4543
d22670f0
KB
45442019-11-27 Kevin Buettner <kevinb@redhat.com>
4545
4546 * gdb.dwarf2/imported-unit.exp: New file.
4547 * gdb.dwarf2/imported-unit.c: New file.
4548
db5960b4
AB
45492019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4550
4551 * gdb.mi/mi-fortran-modules-2.f90: New file.
4552 * gdb.mi/mi-fortran-modules.exp: New file.
4553 * gdb.mi/mi-fortran-modules.f90: New file.
4554
7dc42066
AB
45552019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4556
4557 * gdb.mi/mi-sym-info-1.c: New file.
4558 * gdb.mi/mi-sym-info-2.c: New file.
4559 * gdb.mi/mi-sym-info.exp: New file.
4560
0dfeecca
TT
45612019-11-22 Tom Tromey <tromey@adacore.com>
4562
4563 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4564 * gdb.ada/tasks/foo.adb: Add another stopping location.
4565
34877895
PJ
45662019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4567
4568 * gdb.base/endianity.c: New test.
4569 * gdb.base/endianity.exp: New file.
4570
2e84f897
LD
45712019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4572
4573 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4574
65d1cd5f
TV
45752019-11-21 Tom de Vries <tdevries@suse.de>
4576
4577 PR gdb/24956
4578 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4579
4f22c3f4
SDJ
45802019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4581
4582 * gdb.python/py-progspace.exp: Add missing parentheses on some
4583 'print' commands.
4584
9f6ad286
TT
45852019-11-19 Tom Tromey <tom@tromey.com>
4586
4587 * gdb.tui/winheight.exp: New file.
4588
0b8dbf3f
AB
45892019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4590
4591 * gdb.base/ctf-whatis.c: Delete.
4592 * gdb.base/ctf-whatis.exp: Delete.
4593 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4594
f833b7a7
AB
45952019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4596
4597 * gdb.base/ctf-cvexpr.exp: Delete.
4598 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4599
30d0a636
AB
46002019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4601
4602 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4603 the compiler. Clean up header comment a little.
4604 * gdb.base/ctf-ptype.exp: Likewise.
4605 * gdb.base/ctf-whatis.exp: Likewise.
4606 * lib/gdb.exp (skip_ctf_tests): New proc.
4607
494409bb
SDJ
46082019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4609
4610 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4611 * gdb.tui/corefile-run.exp: New file.
4612
55708e99
TT
46132019-11-14 Tom Tromey <tromey@adacore.com>
4614
4615 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4616 regression tests.
4617
45e42163
TT
46182019-11-12 Tom Tromey <tom@tromey.com>
4619
4620 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4621 after any command. Expect prompt after WAIT_FOR is seen.
4622 (enter_tui): Enable resize messages.
4623 (command): Expect command in output.
4624 (get_line): Avoid error when cursor appears to be off-screen.
4625 (dump_screen): Include screen size in title.
4626 (_do_resize): New proc, from "resize".
4627 (resize): Rewrite. Do resize in two steps.
4628 * gdb.tui/empty.exp (layouts): Fix entries.
4629 (check_boxes): Remove xfail.
4630 (check_text): Dump screen on failure.
4631
086baaf1
AB
46322019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4633
4634 * gdb.python/py-symbol.exp: Add test for
4635 gdb.lookup_static_symbols.
4636
09ff83af
AB
46372019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4638
4639 * gdb.python/py-symbol.c: Declare and call function from new
4640 py-symbol-2.c file.
4641 * gdb.python/py-symbol.exp: Compile both source files, and add new
4642 tests for gdb.lookup_static_symbol.
4643 * gdb.python/py-symbol-2.c: New file.
4644
11af934b
TV
46452019-11-02 Tom de Vries <tdevries@suse.de>
4646
4647 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4648 * gdb.base/anon.exp: Same.
4649 * gdb.base/auto-connect-native-target.exp: Same.
4650 * gdb.base/call-ar-st.exp: Same.
4651 * gdb.base/catch-syscall.exp: Same.
4652 * gdb.base/commands.exp: Same.
4653 * gdb.base/default.exp: Same.
4654 * gdb.base/display.exp: Same.
4655 * gdb.base/float.exp: Same.
4656 * gdb.base/foll-fork.exp: Same.
4657 * gdb.base/help.exp: Same.
4658 * gdb.base/info-macros.exp: Same.
4659 * gdb.base/info-proc.exp: Same.
4660 * gdb.base/info-target.exp: Same.
4661 * gdb.base/long_long.exp: Same.
4662 * gdb.base/macscp.exp: Same.
4663 * gdb.base/memattr.exp: Same.
4664 * gdb.base/nofield.exp: Same.
4665 * gdb.base/pointers.exp: Same.
4666 * gdb.base/printcmds.exp: Same.
4667 * gdb.base/ptype.exp: Same.
4668 * gdb.base/restore.exp: Same.
4669 * gdb.base/return.exp: Same.
4670 * gdb.base/scope.exp: Same.
4671 * gdb.base/set-noassign.exp: Same.
4672 * gdb.base/setshow.exp: Same.
4673 * gdb.base/shlib-call.exp: Same.
4674 * gdb.base/signals.exp: Same.
4675 * gdb.base/sigstep.exp: Same.
4676 * gdb.base/skip.exp: Same.
4677 * gdb.base/solib-symbol.exp: Same.
4678 * gdb.base/stap-probe.exp: Same.
4679 * gdb.base/step-line.exp: Same.
4680 * gdb.base/step-test.exp: Same.
4681 * gdb.base/style.exp: Same.
4682 * gdb.base/varargs.exp: Same.
4683 * gdb.base/vla-datatypes.exp: Same.
4684 * gdb.base/vla-ptr.exp: Same.
4685 * gdb.base/vla-sideeffect.exp: Same.
4686 * gdb.base/volatile.exp: Same.
4687 * gdb.base/watch-cond-infcall.exp: Same.
4688 * gdb.base/watchpoint.exp: Same.
4689
e96ec2ba
TV
46902019-11-02 Tom de Vries <tdevries@suse.de>
4691
4692 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4693 * gdb.cp/cpexprs.exp: Same.
4694 * gdb.cp/except-multi-location.exp: Same.
4695 * gdb.cp/exceptprint.exp: Same.
4696 * gdb.cp/gdb2384.exp: Same.
4697 * gdb.cp/inherit.exp: Same.
4698 * gdb.cp/m-static.exp: Same.
4699 * gdb.cp/meth-typedefs.exp: Same.
4700 * gdb.cp/misc.exp: Same.
4701 * gdb.cp/namespace.exp: Same.
4702 * gdb.cp/non-trivial-retval.exp: Same.
4703 * gdb.cp/overload.exp: Same.
4704 * gdb.cp/pr17132.exp: Same.
4705 * gdb.cp/re-set-overloaded.exp: Same.
4706 * gdb.cp/rvalue-ref-types.exp: Same.
4707 * gdb.cp/templates.exp: Same.
4708
bd5766ec
LM
47092019-11-01 Luis Machado <luis.machado@linaro.org>
4710
4711 PR gdb/25124
4712
4713 * gdb.arch/pr25124.S: New file.
4714 * gdb.arch/pr25124.exp: New file.
4715
165f8965
AB
47162019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4717
4718 * gdb.fortran/info-modules.exp: Update expected results, and add
4719 additional tests for 'info module functinos', and 'info module
4720 variables'.
4721 * gdb.fortran/info-types.exp: Update expected results.
4722 * gdb.fortran/info-types.f90: Extend testcase with additional
4723 module variables and functions.
4724
59c35742
AB
47252019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4726
4727 * gdb.fortran/info-modules.exp: New file.
4728 * gdb.fortran/info-types.exp: Build with new file.
4729 * gdb.fortran/info-types.f90: Include and use new module.
4730 * gdb.fortran/info-types-2.f90: New file.
4731
f3fb2519
PW
47322019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4733
4734 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4735 * gdb.base/settings.exp: Test all settings types using
4736 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4737 that now verifies that the value of "maint show" is the same as
4738 returned by the settings functions. Test the type of the
4739 maintenance settings.
4740 * gdb.base/default.exp: Update show_conv_list.
4741
d1e36019
TV
47422019-10-31 Tom de Vries <tdevries@suse.de>
4743
4744 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4745 gdb_test.
4746 * gdb.arch/amd64-disp-step.exp: Same.
4747 * gdb.asm/asm-source.exp: Same.
4748 * gdb.btrace/buffer-size.exp: Same.
4749 * gdb.btrace/cpu.exp: Same.
4750 * gdb.btrace/enable.exp: Same.
4751 * gdb.dwarf2/count.exp: Same.
4752 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4753 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4754 * gdb.fortran/vla-datatypes.exp: Same.
4755 * gdb.fortran/vla-history.exp: Same.
4756 * gdb.fortran/vla-ptype.exp: Same.
4757 * gdb.fortran/vla-value.exp: Same.
4758 * gdb.fortran/whatis_type.exp: Same.
4759 * gdb.guile/guile.exp: Same.
4760 * gdb.multi/tids.exp: Same.
4761 * gdb.python/py-finish-breakpoint.exp: Same.
4762 * gdb.python/py-framefilter.exp: Same.
4763 * gdb.python/py-pp-registration.exp: Same.
4764 * gdb.python/py-xmethods.exp: Same.
4765 * gdb.python/python.exp: Same.
4766 * gdb.server/connect-with-no-symbol-file.exp: Same.
4767 * gdb.server/no-thread-db.exp: Same.
4768 * gdb.server/run-without-local-binary.exp: Same.
4769 * gdb.stabs/weird.exp: Same.
4770 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4771 * gdb.threads/thread-find.exp: Same.
4772 * gdb.threads/tls-shared.exp: Same.
4773 * gdb.threads/tls.exp: Same.
4774 * gdb.threads/wp-replication.exp: Same.
4775 * gdb.trace/ax.exp: Same.
4776 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4777
3d11e68e
TV
47782019-10-31 Tom de Vries <tdevries@suse.de>
4779
4780 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4781 * gdb.ada/array_subscript_addr.exp: Same.
4782 * gdb.ada/arrayidx.exp: Same.
4783 * gdb.ada/arrayparam.exp: Same.
4784 * gdb.ada/arrayptr.exp: Same.
4785 * gdb.ada/boolean_expr.exp: Same.
4786 * gdb.ada/call_pn.exp: Same.
4787 * gdb.ada/complete.exp: Same.
4788 * gdb.ada/fixed_cmp.exp: Same.
4789 * gdb.ada/fun_addr.exp: Same.
4790 * gdb.ada/funcall_param.exp: Same.
4791 * gdb.ada/interface.exp: Same.
4792 * gdb.ada/mod_from_name.exp: Same.
4793 * gdb.ada/null_array.exp: Same.
4794 * gdb.ada/packed_array.exp: Same.
4795 * gdb.ada/packed_tagged.exp: Same.
4796 * gdb.ada/print_chars.exp: Same.
4797 * gdb.ada/print_pc.exp: Same.
4798 * gdb.ada/ptype_arith_binop.exp: Same.
4799 * gdb.ada/ptype_field.exp: Same.
4800 * gdb.ada/ptype_tagged_param.exp: Same.
4801 * gdb.ada/rec_return.exp: Same.
4802 * gdb.ada/ref_tick_size.exp: Same.
4803 * gdb.ada/str_ref_cmp.exp: Same.
4804 * gdb.ada/taft_type.exp: Same.
4805 * gdb.ada/tagged.exp: Same.
4806 * gdb.ada/type_coercion.exp: Same.
4807 * gdb.ada/uninitialized_vars.exp: Same.
4808
60b6ede8
TV
48092019-10-30 Tom de Vries <tdevries@suse.de>
4810
4811 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4812
30baf67b
TV
48132019-10-26 Tom de Vries <tdevries@suse.de>
4814
4815 * gdb.base/bigcore.c: Fix typos in comments.
4816 * gdb.base/ctf-ptype.c: Same.
4817 * gdb.base/long_long.c: Same.
4818 * gdb.dwarf2/dw2-op-out-param.S: Same.
4819 * gdb.python/py-evthreads.c: Same.
4820 * gdb.reverse/i387-stack-reverse.c: Same.
4821 * gdb.trace/tfile.c: Same.
4822 * lib/compiler.c: Same.
4823 * lib/compiler.cc: Same.
4824
158da0d1
TV
48252019-10-25 Tom de Vries <tdevries@suse.de>
4826
4827 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4828 gdb_test_multiple calls.
4829 * gdb.reverse/sigall-reverse.exp: Same.
4830 * gdb.reverse/solib-precsave.exp: Same.
4831 * gdb.reverse/solib-reverse.exp: Same.
4832 * gdb.reverse/until-precsave.exp: Same.
4833 * gdb.reverse/until-reverse.exp: Same.
4834
4ccdfbec
TV
48352019-10-24 Tom de Vries <tdevries@suse.de>
4836
4837 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4838 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4839 kfail using -wrap pattern flag and convenience variable
4840 gdb_test_name.
4841
33d569b7
AB
48422019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4843
4844 * gdb.python/py-progspace.exp: Add tests for the
4845 Progspace.block_for_pc method.
4846
4d0b984b
TT
48472019-10-23 Tom Tromey <tom@tromey.com>
4848
4849 * configure: Rebuild.
4850 * aclocal.m4: Use m4_include, not sinclude.
4851
94cb3754
TV
48522019-10-21 Tom de Vries <tdevries@suse.de>
4853
4854 * gdb.base/infcall-nested-structs.c: Add
4855 __attribute__((noinline,noclone)) to all functions.
4856 (call_all): Add missing variable initialization. Simplify return value.
4857 (breakpt): Increment volatile variable, to prevent call from being
4858 optimized out.
4859 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4860
062f1fc1
TV
48612019-10-17 Tom de Vries <tdevries@suse.de>
4862
4863 * gdb.fortran/module.exp: Allow info variables to print info for files
4864 other than module.f90.
4865
0b54364d
AB
48662019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4867
4868 * gdb.fortran/module.exp: Extend with 'info variables' test.
4869
7ff5fae7
AB
48702019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4871
4872 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4873 F77_FOR_TARGET.
4874
d10eccaa
TV
48752019-10-16 Tom de Vries <tdevries@suse.de>
4876
4877 PR tdep/25096
4878 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4879
745ff14e
TV
48802019-10-16 Tom de Vries <tdevries@suse.de>
4881
4882 PR tdep/24104
4883 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4884 Add KFAIL for PR tdep/25096.
4885
03e1ab94
TV
48862019-10-16 Tom de Vries <tdevries@suse.de>
4887
4888 PR testsuite/25059
4889 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4890
b17fcc10
TV
48912019-10-16 Tom de Vries <tdevries@suse.de>
4892
4893 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4894 as signed.
4895
9223170f
SM
48962019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4897
4898 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4899 one instead of increasing timeout.
4900
d6e76313
TV
49012019-10-13 Tom de Vries <tdevries@suse.de>
4902
4903 PR record/25038
4904 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4905 * gdb.reverse/sigall-reverse.exp: Same.
4906 * gdb.reverse/solib-precsave.exp: Same.
4907 * gdb.reverse/solib-reverse.exp: Same.
4908 * gdb.reverse/step-precsave.exp: Same.
4909 * gdb.reverse/until-precsave.exp: Same.
4910 * gdb.reverse/until-reverse.exp: Same.
4911 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4912
6dfc0041
AA
49132019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4914
4915 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4916 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4917 (cmp_struct_05_01, cmp_struct_static_02_01)
4918 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4919 comparisons.
4920
abcf2cc8
TV
49212019-10-10 Tom de Vries <tdevries@suse.de>
4922
4923 PR testsuite/24888
4924 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4925 gnatlink.
4926
a50faaf6
TV
49272019-10-09 Tom de Vries <tdevries@suse.de>
4928
4929 PR testsuite/25048
4930 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4931
60ff3cd7
AB
49322019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4933
4934 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4935 exceptions due to missing debug information.
4936
dfee8566
TV
49372019-10-07 Tom de Vries <tdevries@suse.de>
4938
4939 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4940
3d63690a
AB
49412019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4942
4943 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4944 * gdb.base/annota1.exp: Update to use gdb_test_name.
4945
30d1f018
WP
49462019-10-07 Weimin Pan <weimin.pan@oracle.com>
4947
4948 * gdb.base/ctf-whatis.exp: New file.
4949 * gdb.base/ctf-whatis.c: New file.
4950 * gdb.base/ctf-ptype.exp: New file.
4951 * gdb.base/ctf-ptype.c: New file.
4952 * gdb.base/ctf-constvars.exp: New file.
4953 * gdb.base/ctf-constvars.c: New file.
4954 * gdb.base/ctf-cvexpr.exp: New file.
4955
4dbbb47c
TV
49562019-10-04 Tom de Vries <tdevries@suse.de>
4957
4958 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4959 for loop.
4960
77c2dba3
TT
49612019-10-03 Tom Tromey <tom@tromey.com>
4962
4963 PR rust/24976:
4964 * gdb.rust/simple.rs (Union2): New type.
4965 (main): Use Union2.
4966 * gdb.rust/simple.exp: Add test.
4967
179aed7f
AB
49682019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4969
4970 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4971 nested function prefix.
4972
0a4b0913
AB
49732019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4974 Richard Bunt <richard.bunt@arm.com>
4975 Andrew Burgess <andrew.burgess@embecosm.com>
4976
4977 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4978 nested functions.
4979 * gdb.fortran/nested-funcs.f90: Update expected results.
4980 * gdb.fortran/nested-funcs-2.exp: New file.
4981 * gdb.fortran/nested-funcs-2.f90: New file.
4982
082cce05
AB
49832019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4984
4985 * gdb.python/py-parameter.exp: Make test names unique.
4986 * gdb.python/py-template.exp: Likewise.
4987 * gdb.python/py-value.exp: Likewise.
4988
2b74ba5a
AB
49892019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4990
4991 * gdb.base/break-interp.exp: Reduce test name duplication.
4992 * gdb.base/call-sc.exp: Likewise.
4993 * gdb.base/callfuncs.exp: Likewise.
4994 * gdb.base/charset.exp: Likewise.
4995 * gdb.base/dump.exp: Likewise.
4996 * gdb.base/ena-dis-br.exp: Likewise.
4997 * gdb.base/relational.exp: Likewise.
4998 * gdb.base/step-over-syscall.exp: Likewise.
4999 * gdb.base/structs.exp: Likewise.
5000
58eb20d5
AB
50012019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5002
5003 * gdb.linespec/explicit.exp: Make test names unique.
5004 * gdb.linespec/ls-errs.exp: Likewise.
5005
4d421147
AB
50062019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5007
5008 * gdb.reverse/break-precsave.exp: Make test names unique.
5009 * gdb.reverse/break-reverse.exp: Likewise.
5010 * gdb.reverse/finish-precsave.exp: Likewise.
5011 * gdb.reverse/finish-reverse.exp: Likewise.
5012 * gdb.reverse/machinestate-precsave.exp: Likewise.
5013 * gdb.reverse/machinestate.exp: Likewise.
5014 * gdb.reverse/readv-reverse.exp: Likewise.
5015 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5016 * gdb.reverse/sigall-precsave.exp: Likewise.
5017 * gdb.reverse/sigall-reverse.exp: Likewise.
5018 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5019 * gdb.reverse/watch-precsave.exp: Likewise.
5020 * gdb.reverse/watch-reverse.exp: Likewise.
5021
d8c06f22
AB
50222019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5023
5024 * gdb.threads/stop-with-handle.c: New file.
5025 * gdb.threads/stop-with-handle.exp: New file.
5026
3a56ed86
TV
50272019-10-03 Tom de Vries <tdevries@suse.de>
5028
5029 PR testsuite/25059
5030 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5031 directory" line to be missing.
5032
42275044
TV
50332019-10-03 Tom de Vries <tdevries@suse.de>
5034
5035 PR testsuite/25059
5036 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5037 type optional.
5038
9ef62df0
AA
50392019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5040
5041 * gdb.python/py-format-string.c (string.h): New include.
5042 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5043 the same value, for endianness-independence.
5044 * gdb.python/py-format-string.exp (default_regexp_dict)
5045 (test_pretty_structs, test_format): Adjust expected output to the
5046 changed initialization.
5047
37f6a7f4
TT
50482019-10-02 Tom Tromey <tromey@adacore.com>
5049
5050 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5051
1d58d6a2
PA
50522019-10-02 Pedro Alves <palves@redhat.com>
5053 Andrew Burgess <andrew.burgess@embecosm.com>
5054
5055 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5056 "print-file-var.h".
5057 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5058 (get_version_1): Print this_version_id and its address.
5059 Add extern "C" wrappers around interface functions.
5060 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5061 "print-file-var.h".
5062 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5063 (get_version_2): Print this_version_id and its address.
5064 Add extern "C" wrappers around interface functions.
5065 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5066 <stddef.h> and "print-file-var.h".
5067 Add extern "C" wrappers around interface functions.
5068 [VERSION_ID_MAIN] (this_version_id): Define.
5069 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5070 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5071 up extern "C" blocks.
5072 * gdb.base/print-file-var.exp (test): New, factored out from top
5073 level.
5074 (top level): Test all combinations of attribute hidden or not,
5075 dlopen or not, and this_version_id symbol in main file or not.
5076 Compile tests as both C++ and C, make test names unique.
5077
d770d56f
TT
50782019-10-01 Tom Tromey <tom@tromey.com>
5079
5080 * gdb.base/style.exp: Test "show logging filename".
5081
7f6aba03
TT
50822019-10-01 Tom Tromey <tom@tromey.com>
5083
5084 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5085 * gdb.base/style.exp: Add metadata style test.
5086
14309bb6
TT
50872019-10-01 Tom Tromey <tom@tromey.com>
5088
5089 * gdb.base/style.exp: Test "pwd".
5090
2a3c1174
PA
50912019-10-01 Tom Tromey <tom@tromey.com>
5092
5093 * gdb.base/style.exp: Update tests.
5094
53d666ec
AA
50952019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5096
5097 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5098 'six' to unsigned.
5099 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5100 'five'. Use an all-ones bit pattern for each.
5101 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5102 to its changed values.
5103
4a56a520
TT
51042019-09-30 Tom Tromey <tromey@adacore.com>
5105
5106 * gdb.rust/traits.rs: Disable all warnings.
5107
0df0352a
TV
51082019-09-29 Tom de Vries <tdevries@suse.de>
5109
aac66a4c 5110 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 5111
73d9a918
TV
51122019-09-29 Tom de Vries <tdevries@suse.de>
5113
5114 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5115
060b3ab4
TV
51162019-09-27 Tom de Vries <tdevries@suse.de>
5117
5118 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5119
68f7d34d
TV
51202019-09-27 Tom de Vries <tdevries@suse.de>
5121
5122 PR record/23188
5123 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5124
5d63b30a
TT
51252019-09-26 Tom Tromey <tromey@adacore.com>
5126
5127 * gdb.ada/py_taft.exp: New file.
5128 * gdb.ada/py_taft/main.adb: New file.
5129 * gdb.ada/py_taft/pkg.adb: New file.
5130 * gdb.ada/py_taft/pkg.ads: New file.
5131
3d435220
TV
51322019-09-24 Tom de Vries <tdevries@suse.de>
5133
5134 PR gdb/24598
5135 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5136
77d03678
TV
51372019-09-22 Tom de Vries <tdevries@suse.de>
5138
5139 * gdb.base/restore.exp: Allow register variables to be optimized out at
5140 -O0.
5141
abf516c6
UW
51422019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5143
5144 * gdb.arch/spu-info.exp: Remove file.
5145 * gdb.arch/spu-info.c: Remove file.
5146 * gdb.arch/spu-ls.exp: Remove file.
5147 * gdb.arch/spu-ls.c: Remove file.
5148
5149 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5150 * gdb.asm/spu.inc: Remove file.
5151
5152 * gdb.base/dump.exp: Remove support for spu*-*-*.
5153 * gdb.base/stack-checking.exp: Likewise.
5154 * gdb.base/overlays.exp: Likewise.
5155 * gdb.base/ovlymgr.c: Likewise.
5156 * gdb.base/spu.ld: Remove file.
5157
5158 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5159 * gdb.cp/cpexprs.exp: Likewise.
5160 * gdb.cp/exception.exp: Likewise.
5161 * gdb.cp/gdb2495.exp: Likewise.
5162 * gdb.cp/mb-templates.exp: Likewise.
5163 * gdb.cp/pr9167.exp: Likewise.
5164 * gdb.cp/userdef.exp: Likewise.
5165
5166 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5167
5168 * gdb.cell: Remove directory.
5169 * lib/cell.exp: Remove file.
5170
e452e88f
TV
51712019-09-19 Tom de Vries <tdevries@suse.de>
5172
5173 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5174
8a625130
TV
51752019-09-19 Tom de Vries <tdevries@suse.de>
5176
5177 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5178
81dc3ab5
TV
51792019-09-19 Tom de Vries <tdevries@suse.de>
5180
5181 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5182 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5183 (gdb_target_cmd): ... here.
5184 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5185 value 2.
5186
b078f3ac
AB
51872019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5188
5189 * gdb.base/source-dir.exp: Avoid having directory names in test
5190 names.
5191
f1b620e9
MG
51922019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5193
5194 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5195 directory.
5196
67f3ed6a
AB
51972019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5198
5199 * gdb.base/list-missing-source.exp: New file.
5200
d1b70248
TV
52012019-09-14 Tom de Vries <tdevries@suse.de>
5202
5203 PR teststuite/24599
5204 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5205 * lib/ada.exp (gnatmake_version_at_least): New proc.
5206
5fabdcd6
AB
52072019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5208
5209 * gdb.base/maint.exp: Use exec_has_index_section.
5210
aa17805f
AB
52112019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5212
5213 * gdb.base/maint.exp: Add test for 'maint info sections'.
5214
25e5c209
TV
52152019-09-12 Tom de Vries <tdevries@suse.de>
5216
5217 * gdb.base/store.exp: Allow register variables to be optimized out at
5218 -O0.
5219
4993045d
PW
52202019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5221
5222 * gdb.ada/rdv_wait.exp: Update to new task names.
5223 * gdb.base/task_switch_in_core.exp: Likewise.
5224 * gdb.base/info_sources_base.c: Likewise.
5225
8a516164
TT
52262019-09-10 Tom Tromey <tromey@adacore.com>
5227
5228 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5229
aa391654
TT
52302019-09-10 Tom Tromey <tromey@adacore.com>
5231
5232 * gdb.ada/dgopt.exp: New file.
5233 * gdb.ada/dgopt/x.adb: New file.
5234
8634b462
TT
52352019-09-08 Tom Tromey <tom@tromey.com>
5236
5237 * gdb.tui/resize.exp: Remove setup_xfail.
5238 * gdb.tui/regs.exp: Remove setup_xfail.
5239 * gdb.tui/basic.exp: Remove setup_xfail.
5240
736b0f76
DB
52412019-09-06 David Blaikie <dblaikie@gmail.com>
5242
5243 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5244 * gdb.cp/cplabel.exp: Ditto.
5245 * gdb.linespec/ls-errs.exp: Ditto.
5246
30331a6c
TV
52472019-09-05 Tom de Vries <tdevries@suse.de>
5248
5249 * lib/gdb.exp (cmp_file_string): New proc.
5250 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5251 runto_main. Verify save breakpoints output.
5252
98b0ebab
PW
52532019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5254
5255 * gdb.base/info-var.exp: Test info variables without running
5256 to main, to avoid expect's buffer overflow.
5257
4e962e74
TT
52582019-09-03 Tom Tromey <tromey@adacore.com>
5259
5260 * gdb.ada/bias.exp: New file.
5261 * gdb.ada/bias/bias.adb: New file.
5262 * gdb.ada/print_chars.exp: Add regression test.
5263 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5264 (MC): New variable.
5265
2ea1a07a
SL
52662019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5267
5268 * gdb.base/argv0-symlink.exp: Run only on native target
5269 and local host.
5270
8077c50d
TV
52712019-08-29 Tom de Vries <tdevries@suse.de>
5272
5273 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5274 diverse debug info.
5275 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5276
48352473
TV
52772019-08-28 Tom de Vries <tdevries@suse.de>
5278
5279 * gdb.base/info-var.exp: Allow info variables to print info for files
5280 other than info-var-f1.c and info-var-f2.c.
5281
d8f27c60
AB
52822019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5283
5284 * gdb.fortran/info-types.exp: Add module.
5285 * gdb.fortran/info-types.f90: Update expected results.
5286
1f20c35e
AB
52872019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5288
5289 * gdb.fortran/info-types.exp: New file.
5290 * gdb.fortran/info-types.f90: New file.
5291 * lib/fortran.exp (fortran_character1): New proc.
5292
4acfdd20
AB
52932019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5294
5295 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5296 functions'. Reindent as needed.
5297 * gdb.base/info-var-f1.c: New file.
5298 * gdb.base/info-var-f2.c: New file.
5299 * gdb.base/info-var.exp: New file.
5300 * gdb.base/info-var.h: New file.
5301
5c31b358
TV
53022019-08-26 Tom de Vries <tdevries@suse.de>
5303
5304 PR c++/24852
5305 * gdb.cp/no-libstdcxx-probe.exp: New test.
5306
b694989f
TV
53072019-08-26 Tom de Vries <tdevries@suse.de>
5308
5309 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5310 * tests need to be skipped.
5311 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5312 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5313 mi_skip_libstdcxx_probe_tests.
5314
d9c4ba53
SDJ
53152019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5316
5317 * gdb.python/py-xmethods.exp: Use raw strings when passing
5318 arguments to SimpleXMethodMatcher.
5319
395fad09
TV
53202019-08-22 Tom de Vries <tdevries@suse.de>
5321
5322 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5323 more informative.
5324
26c957f1
PA
53252019-08-21 Pedro Alves <palves@redhat.com>
5326
5327 * gdb.base/with.exp: Test "with" with no arguments.
5328
61f80d5d
TV
53292019-08-21 Tom de Vries <tdevries@suse.de>
5330
5331 * gdb.base/gdb-caching-proc.exp: Sort files.
5332
d7a11d13
TV
53332019-08-20 Tom de Vries <tdevries@suse.de>
5334
5335 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5336 compilation.
5337
34dafe9f
TV
53382019-08-16 Tom de Vries <tdevries@suse.de>
5339
5340 * gdb.base/compare-sections.exp ("after run to main"): Allow
5341 mismatched read-only sections for PIE executables.
5342
398fdd60
TT
53432019-08-16 Tom Tromey <tom@tromey.com>
5344
5345 * lib/tuiterm.exp (_csi_Z): New proc.
5346 * gdb.tui/basic.exp: Update window positions.
5347 * gdb.tui/empty.exp: Update window positions.
5348
d8f9e51c
SL
53492019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5350
5351 * gdb.base/examine-backward.exp: Correct regexp for
5352 "examine 3 bytes backward from ${address_zero}".
5353
3df505f6
TT
53542019-08-15 Tom Tromey <tom@tromey.com>
5355
5356 * gdb.tui/empty.exp: Enable resizing tests.
5357
272560b5
TT
53582019-08-15 Tom Tromey <tromey@adacore.com>
5359
5360 * gdb.ada/char_enum.exp: Add regression tests.
5361 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5362 and '0'.
5363 (Char, Gchar): Update.
5364 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5365
08235187
CB
53662019-08-15 Christian Biesinger <cbiesinger@google.com>
5367
5368 * gdb.python/python.exp: Expect a leading underscore on
5369 GdbOutput{,Error}File.
5370
22a2ab04
SL
53712019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5372
5373 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5374 Windows host.
5375
835b995b
SL
53762019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5377
5378 * gdb.base/batch-preserve-term-settings.exp
5379 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5380
97dd8e07
CB
53812019-08-15 Christian Biesinger <cbiesinger@google.com>
5382
5383 * lib/gdb.exp: When running on a mingw target, replace
5384 /x/ with x:/.
5385
75faf5c4
AH
53862019-08-14 Alan Hayward <alan.hayward@arm.com>
5387
5388 * gdb.arch/aarch64-prologue.c: New test.
5389 * gdb.arch/aarch64-prologue.exp: New file.
5390
abc6c00f
TV
53912019-08-13 Tom de Vries <tdevries@suse.de>
5392
5393 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5394 Thread.
5395
74c2c1f4
SL
53962019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5397
5398 * gdb.python/py-completion.exp: Download the .py file to the host
5399 and use its host pathname. Conditionalize tests that use
5400 tab completion and manipulate files on the build machine.
5401 * gdb.python/py-events.exp: Download the .py file to the host
5402 and use its host pathname.
5403 * gdb.python/py-evsignal.exp: Likewise.
5404 * gdb.python/py-evthreads.exp: Likewise.
5405 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5406 pathname syntax.
5407 * gdb.python/py-framefilter.exp: Download the .py file to the right
5408 place on the host. Match Windows pathname syntax.
5409 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5410 .py file to the host and use its host pathname.
5411 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5412 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5413 build pathname. Skip symlink test on Windows host. Add missing
5414 newline at end of file.
5415 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5416 and use its host pathname.
5417 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5418 * gdb.python/py-section-script.exp: Use host location of binfile
5419 on safe-path. Use correct path separator on Windows host.
5420 Reorder alternatives in gdb_test_multiple to prevent matching
5421 the wrong alternative on success.
5422 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5423
ca2589f3
PP
54242019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5425
5426 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5427 expect the GDB inferior to no longer immediately stop after
5428 being resumed with "signal SIGINT".
5429
020a839d
SL
54302019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5431
5432 * gdb.linespec/break-ask.exp: Generalize regexps to match
5433 Windows pathnames too.
5434
128d6509
TV
54352019-08-08 Tom de Vries <tdevries@suse.de>
5436
5437 PR testsuite/24862
5438 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5439
590042fc
PW
54402019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5441
5442 * gdb.base/style.exp: Update tests for help doc new invariants.
5443 * gdb.base/help.exp: Likewise.
5444
046bebe1
TT
54452019-08-06 Tom Tromey <tom@tromey.com>
5446
5447 * gdb.base/style.exp: Add disassemble test.
5448 * gdb.base/style.c (some_called_function): New function.
5449 (main): Use it.
5450
0b27c27d
CB
54512019-08-05 Christian Biesinger <cbiesinger@google.com>
5452
5453 * gdb.python/py-block.exp: Test dictionary access on blocks.
5454
580f1034
SM
54552019-08-05 Simon Marchi <simon.marchi@efficios.com>
5456
5457 PR gdb/24863
5458 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5459 -list-thread-groups --available test when running under
5460 check-read1.
5461
d86bd7cb
TV
54622019-08-05 Tom de Vries <tdevries@suse.de>
5463
5464 PR testsuite/24863
5465 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5466 * gdb.base/help.exp: Use with_read1_timeout_factor.
5467 * gdb.base/info-macros.exp: Same.
5468 * gdb.cp/nested-types.exp: Same.
5469
a80cf5d8
TV
54702019-08-05 Tom de Vries <tdevries@suse.de>
5471
5472 * lib/gdb.exp (version_at_least): Factor out of ...
5473 (tcl_version_at_least): ... here.
5474 (gdb_compile): Fail if pie results in non-PIE executable.
5475 (readelf_version, readelf_prints_pie): New proc.
5476 (exec_is_pie): Return -1 if unknown.
5477
d0962838
TV
54782019-08-05 Tom de Vries <tdevries@suse.de>
5479
5480 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5481
2252ff3d
SL
54822019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5483
5484 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5485
26655f53
SL
54862019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5487
5488 * lib/completion-support.exp (test_gdb_complete_none): Skip
5489 tab completion tests if no readline support.
5490 (test_gdb_complete_unique_re): Likewise.
5491 (test_gdb_complete_multiple): Likewise.
5492
db4dc13e
PW
54932019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5494
5495 * gdb.base/info_sources.exp: New file.
5496 * gdb.base/info_sources.c: New file.
5497 * gdb.base/info_sources_base.c: New file.
5498
0eba165a
PFC
54992019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5500
5501 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5502 prefix argument.
5503 (test_exit_status): Add prefix argument.
5504
59bd512b
TV
55052019-08-01 Tom de Vries <tdevries@suse.de>
5506
5507 PR testsuite/24863
5508 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5509 calling exp_continue for new thread and thread exited messages.
5510
2a3ad588
TV
55112019-08-01 Tom de Vries <tdevries@suse.de>
5512
5513 PR testsuite/24863
5514 * gdb.base/structs.exp: Fix check-read1 timeout using
5515 gdb_test_sequence.
5516 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5517
117eb594
TV
55182019-08-01 Tom de Vries <tdevries@suse.de>
5519
5520 PR testsuite/24863
5521 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5522 line.
5523
ed591340
TV
55242019-08-01 Tom de Vries <tdevries@suse.de>
5525
5526 PR testsuite/24863
5527 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5528
aa3b6533
TT
55292019-07-30 Tom Tromey <tromey@adacore.com>
5530
5531 * gdb.ada/display_nested.exp: New file.
5532 * gdb.ada/display_nested/foo.adb: New file.
5533 * gdb.ada/display_nested/pack.adb: New file.
5534 * gdb.ada/display_nested/pack.ads: New file.
5535
2906593f
CB
55362019-07-30 Christian Biesinger <cbiesinger@google.com>
5537
5538 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5539 namespace.
5540 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5541
0f575925
TV
55422019-07-30 Tom de Vries <tdevries@suse.de>
5543
5544 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5545 instead.
5546
b13057d9
TV
55472019-07-30 Tom de Vries <tdevries@suse.de>
5548
5549 PR testsuite/24834
5550 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5551 (exec_is_pie): New proc.
5552
5c4dde85
CB
55532019-07-29 Christian Biesinger <cbiesinger@google.com>
5554
5555 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5556
c620ed88
CB
55572019-07-29 Christian Biesinger <cbiesinger@google.com>
5558
5559 * gdb.python/py-objfile.c: Add global and static vars.
5560 * gdb.python/py-objfile.exp: Test new functions Objfile.
5561 lookup_global_symbol and lookup_static_symbol.
5562
3d235706
TT
55632019-07-29 Tom Tromey <tom@tromey.com>
5564
5565 * lib/tuiterm.exp (Term::_csi_@): New proc.
5566 (Term::_csi_X): Don't move cursor.
5567
c7e4c0a6
PW
55682019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5569
5570 * gdb.base/options.exp: Update backtrace - completion to
5571 new option -frame-info.
5572 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5573 Test new 'set print frame-info'. Test backtrace -frame-info
5574 overriding 'set print frame-info'.
5575 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5576 Test new 'set print frame-info'.
5577 Verify consistency of backtrace with and without filters, with and
5578 without -no-filters.
5579 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5580 default.
5581
de28a3b7
TV
55822019-07-29 Tom de Vries <tdevries@suse.de>
5583
5584 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5585 no arguments".
5586
507dd60e
TV
55872019-07-29 Tom de Vries <tdevries@suse.de>
5588
5589 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5590 is a substring of the first for "complete non-unique file name".
5591
5beafce9
TV
55922019-07-29 Tom de Vries <tdevries@suse.de>
5593
5594 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5595 with ".*".
5596
2d274232
TV
55972019-07-29 Tom de Vries <tdevries@suse.de>
5598
5599 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5600 Pass prompt_regexp parameter to gdb_test_multiple calls.
5601
9197cd8b
TV
56022019-07-29 Tom de Vries <tdevries@suse.de>
5603
5604 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 5605 print registers" regexps.
9197cd8b 5606
b528dae0
TV
56072019-07-29 Tom de Vries <tdevries@suse.de>
5608
5609 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5610
d17725d7
TV
56112019-07-29 Tom de Vries <tdevries@suse.de>
5612
5613 PR gdb/24855
5614 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5615 (skip_python_tests_prompt): Add prompt_regexp argument to
5616 gdb_test_multiple calls.
5617
52b75bf1
TT
56182019-07-27 Tom Tromey <tom@tromey.com>
5619
5620 * gdb.tui/main.exp: New file.
5621
2b1d00c2
TT
56222019-07-27 Tom Tromey <tom@tromey.com>
5623
5624 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5625 optional.
5626 * gdb.tui/empty.exp: New file.
5627
ded631d5
TT
56282019-07-27 Tom Tromey <tom@tromey.com>
5629
5630 * lib/tuiterm.exp (spawn): New proc.
5631 (Term::resize): New proc.
5632 * gdb.tui/resize.exp: New file.
5633
58ac439d
TT
56342019-07-27 Tom Tromey <tom@tromey.com>
5635
5636 * gdb.tui/list.exp: New file.
5637
fe1f56ee
TT
56382019-07-27 Tom Tromey <tom@tromey.com>
5639
5640 * gdb.tui/regs.exp: New file.
5641
f790b310
TT
56422019-07-27 Tom Tromey <tom@tromey.com>
5643
5644 * gdb.tui/basic.exp: Add "layout split" test.
5645
d95fc6ee
TT
56462019-07-27 Tom Tromey <tom@tromey.com>
5647
5648 * gdb.tui/basic.exp: Add "layout asm" test.
5649
c3786b3a
TT
56502019-07-27 Tom Tromey <tom@tromey.com>
5651
5652 * lib/tuiterm.exp: New file.
5653 * gdb.tui/basic.exp: New file.
5654
98a617f8
KB
56552019-07-27 Kevin Buettner <kevinb@redhat.com>
5656
5657 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5658 Enable tests associated with this flag. Adjust regex
5659 referencing "foo_low" to now refer to "foo_cold" instead.
5660
5c076da4
KB
56612019-07-27 Kevin Buettner <kevinb@redhat.com>
5662
5663 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5664 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5665 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5666 foo_cold. Revise comments to match.
5667 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5668 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5669 were wrapped into this proc; Call do_test in loop from outermost
5670 level.
5671 (foo_low): Rename all occurrences to "foo_cold".
5672 (backtrace from baz): New test.
5673 (x2/i foo_cold): New test.
5674 (info line *foo_cold): New test.
5675
1512d3b7
TV
56762019-07-26 Tom de Vries <tdevries@suse.de>
5677
5678 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5679
297989a1
TV
56802019-07-25 Tom de Vries <tdevries@suse.de>
5681
5682 PR testsuite/24830
5683 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5684 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5685 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5686 (skip_libstdcxx_probe_tests): ... here.
5687 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5688
b3b965fb
TV
56892019-07-24 Tom de Vries <tdevries@suse.de>
5690
5691 PR testsuite/24807
5692 * gdb.objc/basicclass.m: Include stdio.h.
5693 * gdb.objc/nondebug.m: Same.
5694 * gdb.objc/objcdecode.m: Same.
5695
4625b4d0
TV
56962019-07-24 Tom de Vries <tdevries@suse.de>
5697
5698 PR testsuite/24612
5699 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5700 additional_flags.
5701
024a5840
TV
57022019-07-24 Tom de Vries <tdevries@suse.de>
5703
5704 PR testsuite/24831
5705 * gdb.multi/tids.exp: Update error messages for info threads.
5706
c76ddaa3
TV
57072019-07-24 Tom de Vries <tdevries@suse.de>
5708
5709 * gdb.base/info-types.exp: Allow info types to print info for more than
5710 one file.
5711
9a618ef6
TV
57122019-07-23 Tom de Vries <tdevries@suse.de>
5713
5714 PR testsuite/24842
5715 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5716 gdb_spawn_with_cmdline_opts.
5717
40eadf04
SP
57182019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5719
5720 * gdb.arch/arm-cmse-sgstubs.c: New test.
5721 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5722
5ba29434
TV
57232019-07-23 Tom de Vries <tdevries@suse.de>
5724
5725 PR testsuite/24711
5726 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5727 issuing next command.
5728
a8e9d247
AB
57292019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5730
5731 * gdb.ada/info_auto_lang.exp: Update expected results.
5732 * gdb.base/info-types.c: Add additional types to check.
5733 * gdb.base/info-types.exp: Update expected results.
5734
eb86c5e2
AB
57352019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5736
5737 * gdb.base/info-types.c: New file.
5738 * gdb.base/info-types.exp: New file.
5739
01e175fe
AB
57402019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5741
5742 * gdb.arch/riscv-bp-infcall.c: New file.
5743 * gdb.arch/riscv-bp-infcall.exp: New file.
5744
6b78c3f8
AB
57452019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5746
5747 PR breakpoints/24541
5748 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5749
da738167
TV
57502019-07-14 Tom de Vries <tdevries@suse.de>
5751
5752 PR testsuite/24760
5753 * gdb.objc/basicclass.exp: Fix unterminated string.
5754
0d4e84ed
AB
57552019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5756 Andrew Burgess <andrew.burgess@embecosm.com>
5757
5758 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5759 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5760 negative bounds.
5761 * gdb.fortran/vla-value.exp: Print elements of an array with
5762 negative bounds.
5763 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5764 testing.
5765
021d8588
AB
57662019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5767
5768 * gdb.base/options.exp (expect_string): Dequote strings in
5769 results.
5770 (test-string): Test strings with different quoting and reindent.
5771
f06f1252
TT
57722019-07-10 Tom Tromey <tromey@adacore.com>
5773
5774 * gdb.ada/mi_ex_cond.exp: Update expected results.
5775 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5776 * gdb.ada/mi_catch_ex.exp: Update expected results.
5777 * gdb.ada/mi_catch_assert.exp: Update expected results.
5778 * gdb.ada/catch_ex.exp (catch_exception_info)
5779 (catch_exception_entry, catch_assert_entry)
5780 (catch_unhandled_entry): Update.
5781 * gdb.ada/catch_assert_if.exp: Update expected results.
5782
b863685d
RB
57832019-07-10 Richard Bunt <richard.bunt@arm.com>
5784 Stephen Roberts <stephen.roberts@arm.com>
5785
5786 * gdb.base/define.exp: Restore original prompt.
5787
cb1e4e32
PA
57882019-07-09 Pedro Alves <palves@redhat.com>
5789
5790 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5791 breakpoints" output.
5792 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5793 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5794 throw" creates breakpoint.
5795 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5796 'type="catchpoint"'.
5797
b58a68fe
PA
57982019-07-09 Pedro Alves <palves@redhat.com>
5799
5800 PR c++/15468
5801 * gdb.cp/except-multi-location-lib.cc: New.
5802 * gdb.cp/except-multi-location-main.cc: New.
5803 * gdb.cp/except-multi-location.exp: New.
5804
0826779b
PW
58052019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5806
5807 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5808 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5809 argument and update callers.
5810
5b0e2db4
AB
58112019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5812
5813 * gdb.arch/amd64-break-on-asm-line.S: New file.
5814 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5815
1f6f6e21
PW
58162019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5817
5818 * gdb.base/printcmds.exp: Test printing C string and
5819 C wide string convenience vars without transiting via the inferior.
5820 Also make test names unique.
5821
ea142fbf
AH
58222019-07-08 Alan Hayward <alan.hayward@arm.com>
5823
5862c886 5824 PR breakpoints/25011
ea142fbf
AH
5825 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5826
213fd9fa
PA
58272019-07-04 Pedro Alves <palves@redhat.com>
5828
5829 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5830 body returned ok(0), break(3) or continue(4).
5831 * gdb.testsuite/foreach_with_prefix.exp: New file.
5832
2b40fda7
AH
58332019-07-04 Alan Hayward <alan.hayward@arm.com>
5834
5835 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5836
a26c8de0
PA
58372019-07-03 Pedro Alves <palves@redhat.com>
5838
5839 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5840 "return -code".
5841
5f4ba3e7
PA
58422019-07-03 Pedro Alves <palves@redhat.com>
5843
5844 PR cli/24732
5845 * gdb.base/shell.exp: Load completion-support.exp.
5846 Adjust expected error output. Add completion tests.
5847
a994424f
PA
58482019-07-03 Pedro Alves <palves@redhat.com>
5849
5850 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5851 string_to_regexp.
5852
3d9be6f5
PA
58532019-07-03 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5856 (expect_integer): Adjust to expect "-string".
5857 (expect_string): New.
5858 (all_options): Expect "-string".
5859 (test-flag, test-boolean): Adjust to expect "-string".
5860 (test-string): New proc.
5861 (top level): Call it.
5862
41fc454c
PA
58632019-07-03 Pedro Alves <palves@redhat.com>
5864
5865 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5866 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5867 the expected output in the success.
5868
b2b2a215
PA
58692019-07-03 Pedro Alves <palves@redhat.com>
5870
5871 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5872 Split one gdb_test_multiple call in two to avoid a race.
5873
fdbc9870
PA
58742019-07-03 Pedro Alves <palves@redhat.com>
5875
5876 * gdb.base/with.c: New file.
5877 * gdb.base/with.exp: New file.
5878
c6ac8931
PA
58792019-07-03 Pedro Alves <palves@redhat.com>
5880
5881 * gdb.base/settings.exp: Replace all references to "maint
5882 test-settings set" with references to "maint set test-settings",
5883 and all references to "maint test-settings show" with references
5884 to "maint show test-settings".
5885
970f9d09
PA
58862019-07-03 Pedro Alves <palves@redhat.com>
5887
5888 * gdb.base/settings.exp (test-string): Adjust expected out when
5889 testing "maint test-settings show filename"
5890
54d66006
PA
58912019-07-02 Pedro Alves <palves@redhat.com>
5892
5893 * gdb.base/options.exp (test-info-threads): New procedure.
5894 (top level): Call it.
5895
10d06d82
TT
58962019-06-28 Tom Tromey <tromey@adacore.com>
5897
5898 * gdb.dwarf2/ada-linkage-name.c: New file.
5899 * gdb.dwarf2/ada-linkage-name.exp: New file.
5900
3d507ff2
TT
59012019-06-27 Tom Tromey <tromey@adacore.com>
5902
d039f014 5903 PR c++/20020:
3d507ff2
TT
5904 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5905
8af58ffe
TV
59062019-06-26 Tom de Vries <tdevries@suse.de>
5907
5908 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5909
22e21752
TV
59102019-06-26 Tom de Vries <tdevries@suse.de>
5911
5912 * gdb.base/index-cache.exp: Add back missing debug option.
5913
b65b566c
PW
59142019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5915
5916 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5917
5c2c8c69
TV
59182019-06-25 Tom de Vries <tdevries@suse.de>
5919
5920 PR testsuite/24727
5921 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5922
164e3873
TV
59232019-06-24 Tom de Vries <tdevries@suse.de>
5924
5925 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5926
824eacee
TV
59272019-06-24 Tom de Vries <tdevries@suse.de>
5928
5929 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5930 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5931 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5932
385b97d3
TV
59332019-06-24 Tom de Vries <tdevries@suse.de>
5934
5935 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5936
c596f180
TV
59372019-06-21 Tom de Vries <tdevries@suse.de>
5938
5939 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5940
b13a7d03
TV
59412019-06-21 Tom de Vries <tdevries@suse.de>
5942
5943 PR testsuite/24518
5944 PR ada/24713
5945 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5946 index.
5947
899277ae
TT
59482019-06-19 Tom Tromey <tromey@adacore.com>
5949
5950 * gdb.ada/length_cond.exp: Add intro comment.
5951
680e1bee
TT
59522019-06-19 Tom Tromey <tromey@adacore.com>
5953
5954 * gdb.ada/length_cond.exp: New file.
5955 * gdb.ada/length_cond/length_cond.adb: New file.
5956 * gdb.ada/length_cond/pck.adb: New file.
5957 * gdb.ada/length_cond/pck.ads: New file.
5958
0ed4690a
TV
59592019-06-18 Tom de Vries <tdevries@suse.de>
5960
5961 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5962
d20ed5fd
TT
59632019-06-18 Tom Tromey <tromey@adacore.com>
5964
5965 * gdb.base/list0.h: Add comment explaining control character.
5966
86e04673
TV
59672019-06-18 Tom de Vries <tdevries@suse.de>
5968
5969 * boards/fission.exp: Break up long debug_flags line.
5970
c4973306
SM
59712019-06-16 Tom de Vries <tdevries@suse.de>
5972
5973 PR gdb/24445
5974 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5975 generated index.
5976
93cb9841
AB
59772019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5978
5979 PR gdb/24686
5980 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5981 improve detection of bug gdb/24541.
5982
399aaebd
SM
59832019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5984
5985 PR gdb/24669
5986 * gdb.base/index-cache.exp (uses_readnow,
5987 expecting_index_cache_use): Define global variable.
5988 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5989 expecting_index_cache_use.
5990
584a927c
AB
59912019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5992 Andrew Burgess <andrew.burgess@embecosm.com>
5993
5994 * gdb.fortran/pointers.f90: New file.
5995 * gdb.fortran/print_type.exp: New file.
5996 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5997 * gdb.fortran/vla-type.exp: Likewise.
5998 * gdb.fortran/vla-value.exp: Likewise.
5999 * gdb.mi/mi-vla-fortran.exp: Likewise.
6000
30056ea0
AB
60012019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6002
6003 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6004 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6005 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6006 as a stop reason.
6007
ec8e2b6d
AB
60082019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6009
6010 * gdb.base/annota1.exp: Update expected results.
6011 * gdb.cp/annota2.exp: Likewise.
6012 * gdb.cp/annota3.exp: Likewise.
6013
09e4c4e1
AB
60142019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6015
6016 * gdb.base/style-logging.exp: Remove path from test name.
6017
0735b091
TT
60182019-06-14 Tom Tromey <tromey@adacore.com>
6019
6020 PR gdb/24502:
6021 * gdb.base/style-logging.exp: New file.
6022
f5686554
TT
60232019-06-14 Tom Tromey <tromey@adacore.com>
6024
6025 * gdb.base/symfile-warn.exp: New file.
6026 * gdb.base/symfile-warn.c: New file.
6027
a0c1ffed
TT
60282019-06-14 Tom Tromey <tromey@adacore.com>
6029
6030 * gdb.base/annotate-symlink.exp: New file.
6031
f411722c
TT
60322019-06-14 Tom Tromey <tromey@adacore.com>
6033
6034 * gdb.ada/set_wstr.exp: Add reassignment test.
6035
4268ec18
TT
60362019-06-14 Tom Tromey <tromey@adacore.com>
6037
6038 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6039 'unchecked_access and 'unrestricted_access as well.
6040
9a9e394b
TT
60412019-06-14 Tom Tromey <tromey@adacore.com>
6042
6043 PR ada/24539:
6044 * gdb.ada/vla.exp: Update tests.
6045 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6046 pragma.
6047
4c048731
PA
60482019-06-13 Pedro Alves <palves@redhat.com>
6049
6050 * gdb.base/settings.exp (test-integer): Test junk after
6051 "unlimited".
6052
6665660a
PA
60532019-06-13 Pedro Alves <palves@redhat.com>
6054
6055 * gdb.base/options.exp (test-thread-apply): New.
6056 (top level): Call it.
6057
5d707134
PA
60582019-06-13 Pedro Alves <palves@redhat.com>
6059
6060 * gdb.base/options.exp (test-frame-apply): New.
6061 (top level): Test print commands with different "frame apply"
6062 prefixes.
6063
e2a689da
PA
60642019-06-13 Pedro Alves <palves@redhat.com>
6065
e79be6e5 6066 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
6067 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6068 'max_completions' parameter and handle it.
6069 (test_gdb_completion_offers_commands): New.
6070
90a1ef87
PA
60712019-06-13 Pedro Alves <palves@redhat.com>
6072
6073 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6074
d4c16835
PA
60752019-06-13 Pedro Alves <palves@redhat.com>
6076
6077 * gdb.base/options.exp (test-backtrace): New.
6078 (top level): Call it.
6079
2daf894e
PA
60802019-06-13 Pedro Alves <palves@redhat.com>
6081
6082 * gdb.guile/scm-frame-args.exp: Use "set print
6083 raw-frame-arguments" instead of "set print raw frame-arguments".
6084 * gdb.python/py-frame-args.exp: Likewise.
6085
e6ed716c
PA
60862019-06-13 Pedro Alves <palves@redhat.com>
6087
6088 * gdb.compile/compile.exp: Adjust expected output to option
6089 processing changes.
6090
7d8062de
PA
60912019-06-13 Pedro Alves <palves@redhat.com>
6092
6093 * gdb.base/options.exp: Build executable.
6094 (test-print): New procedure.
6095 (top level): Call it, once for "print" and another for "compile
6096 print".
6097
9d0faba9
PA
60982019-06-13 Pedro Alves <palves@redhat.com>
6099
6100 * gdb.base/options.c: New file.
6101 * gdb.base/options.exp: New file.
6102
dee7b4c8
PA
61032019-06-13 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6106 that "o" is ambiguous.
6107
dca0f6c0
PA
61082019-06-13 Pedro Alves <palves@redhat.com>
6109
6110 * gdb.base/settings.c: New file.
6111 * gdb.base/settings.exp: New file.
6112
ccf46844
PA
61132019-06-13 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.base/completion.exp: Fix comment typo.
6116
b9a3f842
PA
61172019-06-13 Pedro Alves <palves@redhat.com>
6118
6119 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6120 foo --1" test.
6121
d106773e
PA
61222019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6123
6124 * gdb.fortran/block-data.f: New.
6125 * gdb.fortran/block-data.exp: New.
6126
fea82da0
TV
61272019-06-11 Tom de Vries <tdevries@suse.de>
6128
6129 PR testsuite/24521
6130 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6131 message.
6132
8c2e74f1
TV
61332019-06-11 Tom de Vries <tdevries@suse.de>
6134
6135 PR testsuite/24521
6136 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6137
b49851c8
TV
61382019-06-11 Tom de Vries <tdevries@suse.de>
6139
6140 * boards/readnow.exp: New file.
6141
a7067863
AB
61422019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6143
6144 * gdb.fortran/vla-sizeof.exp: Update expected results.
6145
1a3da2cd
AB
61462019-06-06 Amos Bird <amosbird@gmail.com>
6147
6148 * gdb.base/annota1.exp (thread_switch): Add test for
6149 thread-exited annotation.
6150
3847a7bf
TT
61512019-06-06 Tom Tromey <tromey@adacore.com>
6152
6153 * gdb.base/maint.exp: Expect command started/finished output.
6154
0088ba59
AB
61552019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6156
6157 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6158 comment.
6159 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6160
312617a3
AB
61612019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6162
6163 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6164 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6165 * gdb.arch/riscv-unwind-long-insn.c: New file.
6166 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6167
e1f2e1a2
CB
61682019-06-04 Christian Biesinger <cbiesinger@google.com>
6169
d3238f7d 6170 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6171
206584bd
PW
61722019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6173
6174 * lib/gdb.exp (help_list_trailer): New regexp variable
6175 factorizing the help trailer message.
6176 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6177 arg to allow to better factorize various tests.
6178 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6179 (test_prefix_command_help): Use help_list_trailer.
6180 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6181 * gdb.guile/scm-cmd.exp: Likewise.
6182 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6183 * gdb.base/help.exp: Use test_user_defined_class_help.
6184 * gdb.base/style.exp: Add tests for styling of help and apropos.
6185 * lib/gdb-utils.exp (style): Add title and highlight styles.
6186
708dc93e
PW
61872019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6188
6189 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6190 $_shell_exitsignal.
6191 * gdb.base/default.exp: Update for new convenience variables.
6192
f49055a5
TT
61932019-05-29 Tom Tromey <tromey@adacore.com>
6194
6195 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6196 to "break complete ada" test case's regexp.
6197
4330d61d
TT
61982019-05-29 Tom Tromey <tromey@adacore.com>
6199
6200 PR c++/20020:
6201 * gdb.cp/constexpr-field.exp: New file.
6202 * gdb.cp/constexpr-field.cc: New file.
6203
000439d5
TT
62042019-05-29 Tom Tromey <tromey@adacore.com>
6205
6206 * gdb.base/finish.exp (finish_no_print): New proc.
6207 (finish_tests): Call it.
6208
5a01c34c
TV
62092019-05-24 Tom de Vries <tdevries@suse.de>
6210
6211 * gdb.dwarf2/gdb-add-index.exp: New file.
6212
18125b16
TT
62132019-05-22 Tom Tromey <tromey@adacore.com>
6214
6215 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6216 * gdb.base/style.exp: Use "style".
6217 * lib/gdb-utils.exp (style): New proc.
6218
af1a8d03
TV
62192019-05-22 Tom de Vries <tdevries@suse.de>
6220
6221 * gdb.base/align.exp: Require c++11.
6222
e7fe496b
TV
62232019-05-22 Tom de Vries <tdevries@suse.de>
6224
6225 PR testsuite/24586
6226 * gdb.python/py-mi-var-info-path-expression.exp: Call
6227 mi_skip_python_tests to check if python is supported.
6228
8fca4da0
AH
62292019-05-22 Alan Hayward <alan.hayward@arm.com>
6230
6231 * gdb.arch/aarch64-pauth.c: New test.
6232 * gdb.arch/aarch64-pauth.exp: New file.
6233
b7060614
AH
62342019-05-22 Alan Hayward <alan.hayward@arm.com>
6235
6236 * README (Re-running Tests Outside The Testsuite): New section.
6237
669d0468
TV
62382019-05-21 Tom de Vries <tdevries@suse.de>
6239
6240 * gdb.arch/amd64-eval.exp: Require c++11.
6241 * gdb.base/max-depth.exp: Same.
6242 * gdb.compile/compile-cplus-array-decay.exp: Same.
6243 * gdb.cp/meth-typedefs.exp: Same.
6244 * gdb.cp/subtypes.exp: Same.
6245 * gdb.cp/temargs.exp: Same.
6246
ce3ebcaa
AH
62472019-05-21 Alan Hayward <alan.hayward@arm.com>
6248
6249 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6250
34d11c68
AB
62512019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6252
6253 PR gdb/18644
6254 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6255 * gdb.fortran/printing-types.exp: Add new test.
6256 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6257 testing.
6258 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6259 setup_kfail call.
6260
87781e84
AH
62612019-05-17 Alan Hayward <alan.hayward@arm.com>
6262
6263 * README (Running the Testsuite): Change example.
6264 (Testsuite Parameters): Remove TRANSCRIPT.
6265 * lib/gdb.exp: Remove TRANSCRIPT check.
6266
b420b89e
AH
62672019-05-17 Alan Hayward <alan.hayward@arm.com>
6268
6269 * README (Testsuite Parameters): Add replay logging to
6270 GDBSERVER_DEBUG.
6271 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6272 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6273 as a comma separated list.
6274 (gdb_debug_init): Override procedure.
6275
408e9b8b
AH
62762019-05-17 Alan Hayward <alan.hayward@arm.com>
6277
6278 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6279 (gdb_write_cmd_file): New procedure.
6280 * lib/gdbserver-support.exp (gdbserver_start): Call
6281 gdbserver_write_cmd_file.
6282 (gdbserver_write_cmd_file): New procedure.
6283
f9e2e39d
AH
62842019-05-17 Alan Hayward <alan.hayward@arm.com>
6285
6286 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6287 (delete_breakpoints): Likewise.
6288 (gdb_run_cmd): Likewise.
6289 (gdb_start_cmd): Likewise.
6290 (gdb_starti_cmd): Likewise.
6291 (gdb_internal_error_resync): Likewise.
6292 (gdb_test_multiple): Likewise.
6293 (gdb_reinitialize_dir): Likewise.
6294 (default_gdb_exit): Likewise.
6295 (gdb_file_cmd): Mark kill as optional.
6296 (default_gdb_start): Call gdb_stdin_log_init.
6297 (send_gdb): Call gdb_stdin_log_write.
6298 (rerun_to_main): Mark Y as an answer.
6299 (gdb_stdin_log_init): New function.
6300 (gdb_stdin_log_write): Likewise.
6301
81f47ac2
AH
63022019-05-17 Alan Hayward <alan.hayward@arm.com>
6303
6304 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6305 * gdb.base/debug-expr.exp: Likewise.
6306 * gdb.base/foll-fork.exp: Likewise.
6307 * gdb.base/foll-vfork.exp: Likewise.
6308 * gdb.base/fork-print-inferior-events.exp: Likewise.
6309 * gdb.base/gdb-sigterm.exp: Likewise.
6310 * gdb.base/gdbinit-history.exp: Likewise.
6311 * gdb.base/osabi.exp: Likewise.
6312 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6313 * gdb.base/ui-redirect.exp: Likewise.
6314 * gdb.gdb/unittest.exp: Likewise.
6315 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6316 * gdb.mi/mi-watch.exp: Likewise.
6317 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6318 * gdb.mi/user-selected-context-sync.exp: Likewise.
6319 * gdb.python/python.exp: Disable debug test when debugging.
6320 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6321 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6322 Likewise.
6323 * gdb.threads/stepi-random-signal.exp: Likewise.
6324
29b52314
AH
63252019-05-17 Alan Hayward <alan.hayward@arm.com>
6326
6327 * Makefile.in: Pass through GDB_DEBUG.
6328 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6329 (gdb,debug): Add board setting.
6330 * lib/gdb.exp (default_gdb_start): Start debugging.
6331 (gdb_debug_enabled): New procedure.
6332 (gdb_debug_init): Likewise.
29b52314
AH
6333
63342019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 6335
29b52314
AH
6336 * Makefile.in: Pass through GDB_DEBUG.
6337 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6338 (gdb,debug): Add board setting.
6339 * lib/gdb.exp (default_gdb_start): Start debugging.
6340 (gdb_debug_enabled): New procedure.
6341 (gdb_debug_init): Likewise.
29b52314 6342
ca1285d1
AH
63432019-05-17 Alan Hayward <alan.hayward@arm.com>
6344
6345 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6346
f3a09c80
AH
63472019-05-17 Alan Hayward <alan.hayward@arm.com>
6348
6349 * gdb.base/ui-redirect.exp: Test redirection.
6350
26648588
JV
63512019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6352
6353 * gdb.mi/mi-complete.exp: New file.
6354 * gdb.mi/mi-complete.cc: Likewise.
6355
14237686
AB
63562019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6357
6358 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6359 indexed and sliced arrays, and pointers to arrays.
6360
e7bd7fba
TT
63612019-05-14 Tom Tromey <tromey@adacore.com>
6362
6363 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6364 styling test.
6365
2764128d
TV
63662019-05-14 Tom de Vries <tdevries@suse.de>
6367
6368 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6369 selection entry encoding.
6370
71bed2db
TT
63712019-05-10 Tom Tromey <tromey@adacore.com>
6372
6373 * gdb.ada/info_exc.exp: Add "complete" test.
6374
63b667ad
TV
63752019-05-09 Tom de Vries <tdevries@suse.de>
6376
6377 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6378 CU-relative.
6379
9cfd2b89
TV
63802019-05-09 Tom de Vries <tdevries@suse.de>
6381
6382 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6383 CU-relative.
6384
2228ef77
XR
63852019-05-08 Joel Brobecker <brobecker@adacore.com>
6386
6387 * gdb.ada/frame_arg_lang.exp: New testcase.
6388 * gdb.ada/frame_arg_lang/bla.adb: New file.
6389 * gdb.ada/frame_arg_lang/pck.ads: New file.
6390 * gdb.ada/frame_arg_lang/pck.adb: New file.
6391 * gdb.ada/frame_arg_lang/foo.c: New file.
6392
80e55b13
TT
63932019-05-08 Tom Tromey <tromey@adacore.com>
6394
6395 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6396
9d3421af
TT
63972019-05-08 Tom Tromey <tromey@adacore.com>
6398
6399 * gdb.base/ptype-offsets.exp: Update tests.
6400
844333e2
TT
64012019-05-08 Tom Tromey <tromey@adacore.com>
6402
6403 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6404 cases.
6405 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6406 "short".
6407
988915ee
TT
64082019-05-08 Tom Tromey <tromey@adacore.com>
6409
6410 * gdb.ada/vla.exp: New file.
6411 * gdb.ada/vla/vla.adb: New file.
6412
7bd55dac
TV
64132019-05-07 Tom de Vries <tdevries@suse.de>
6414
6415 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6416
75f06e9d
TV
64172019-05-07 Tom de Vries <tdevries@suse.de>
6418
6419 PR testsuite/24522
6420 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6421 section.
6422
77e7aaa4
TV
64232019-05-07 Tom de Vries <tdevries@suse.de>
6424
6425 PR testsuite/24522
6426 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6427 .debug_aranges section.
6428
456ba0fa
TV
64292019-05-07 Tom de Vries <tdevries@suse.de>
6430
6431 PR testsuite/24159
6432 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6433
5a56d6a6
TV
64342019-05-06 Tom de Vries <tdevries@suse.de>
6435
6436 * lib/gdb.exp (exec_has_index_section): New proc.
6437 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6438 section.
6439
9d6d4be8
TV
64402019-05-04 Tom de Vries <tdevries@suse.de>
6441
6442 * boards/cc-with-debug-names.exp: New file.
6443
222a8d25
TT
64442019-05-03 Tom Tromey <tromey@adacore.com>
6445
6446 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6447 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6448 * gdb.ada/char_enum.exp: Add test.
6449
0fdfd794
TV
64502019-05-03 Tom de Vries <tdevries@suse.de>
6451
6452 * boards/cc-with-gdb-index.exp: New file.
6453
80062eb9
AB
64542019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6455
6456 * gdb.rust/simple.exp: Add new test case.
6457 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6458 (main): Initialise an instance of the new struct.
6459
4504bbde
TT
64602019-05-01 Tom Tromey <tromey@adacore.com>
6461
6462 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6463 record.
6464 (NPR): New variable.
6465 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6466 test.
6467
d48e62f4
TT
64682019-05-01 Tom Tromey <tromey@adacore.com>
6469
6470 * gdb.ada/packed_array_assign.exp: Add packed assignment
6471 regression test.
6472
f59f30f5
TV
64732019-05-01 Tom de Vries <tdevries@suse.de>
6474
6475 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6476
b70bfc54
TV
64772019-05-01 Tom de Vries <tdevries@suse.de>
6478
6479 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6480
15f18d14
AT
64812019-04-30 Ali Tamur <tamur@google.com>
6482
6483 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6484
2ff0a947
TT
64852019-04-30 Tom Tromey <tromey@adacore.com>
6486
6487 * lib/ada.exp (find_ada_tool): New proc.
6488 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6489 * gdb.ada/catch_ex_std.exp: New file.
6490 * gdb.ada/catch_ex_std/foo.adb: New file.
6491 * gdb.ada/catch_ex_std/some_package.adb: New file.
6492 * gdb.ada/catch_ex_std/some_package.ads: New file.
6493
a776957c
TT
64942019-04-30 Tom Tromey <tromey@adacore.com>
6495
6496 PR c++/24470:
6497 * gdb.cp/temargs.cc: Add test code from PR.
6498
bc68014d
AB
64992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6500
6501 * gdb.fortran/vla-datatypes.exp: Update expected results.
6502 * gdb.fortran/vla-ptype.exp: Likewise.
6503 * gdb.fortran/vla-type.exp: Likewise.
6504 * gdb.fortran/vla-value.exp: Likewise.
6505
f1fdc960
AB
65062019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6507
6508 * gdb.fortran/ptr-indentation.exp: Update expected results.
6509 * gdb.fortran/ptype-on-functions.exp: Likewise.
6510 * gdb.fortran/vla-ptr-info.exp: Likewise.
6511 * gdb.fortran/vla-value.exp: Likewise.
6512
bf7a4de1
AB
65132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6514
6515 * gdb.fortran/ptype-on-functions.exp: New file.
6516 * gdb.fortran/ptype-on-functions.f90: New file.
6517
bbe75b9d
AB
65182019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6519
6520 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6521 case void string.
6522
1db455a7
AB
65232019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6524
6525 * gdb.fortran/complex.exp: Expand.
6526 * gdb.fortran/complex.f: Renamed to...
6527 * gdb.fortran/complex.f90: ...this, and extended to add more
6528 complex values.
6529
b6d03bb2
AB
65302019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6531
6532 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6533 MODULO, CMPLX.
6534
2e62ab40
AB
65352019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6536 Richard Bunt <richard.bunt@arm.com>
6537
6538 * gdb.base/max-depth.c: New file.
6539 * gdb.base/max-depth.exp: New file.
6540 * gdb.python/py-nested-maps.c: New file.
6541 * gdb.python/py-nested-maps.exp: New file.
6542 * gdb.python/py-nested-maps.py: New file.
6543 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6544 (test_all_common): Call test_max_depth.
6545 * gdb.fortran/max-depth.exp: New file.
6546 * gdb.fortran/max-depth.f90: New file.
6547 * gdb.go/max-depth.exp: New file.
6548 * gdb.go/max-depth.go: New file.
6549 * gdb.modula2/max-depth.exp: New file.
6550 * gdb.modula2/max-depth.c: New file.
6551 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6552
d2b584a5
TV
65532019-04-29 Tom de Vries <tdevries@suse.de>
6554
6555 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6556
136afab8
PW
65572019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6558
6559 * gdb.base/callexit.exp: Test may-call-functions off.
6560
725cbb63
KS
65612019-04-25 Keith Seitz <keiths@redhat.com>
6562
6563 PR c++/24367
6564 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6565 (another_incomplete_struct, test_incomplete): New definitions.
6566 (main): Use new definitions.
6567 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6568 functions.
6569
701adfb0
PA
65702019-04-25 Ali Tamur <tamur@google.com>
6571
6572 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6573
82433e3e
SDJ
65742019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6575
6576 PR corefiles/11608
6577 PR corefiles/18187
6578 * gdb.base/coredump-filter-build-id.exp: New file.
6579
dd06d4d6
AH
65802019-04-25 Alan Hayward <alan.hayward@arm.com>
6581
e79be6e5
SM
6582 * Makefile.in: Pass through GDBSERVER_DEBUG.
6583 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6584 (gdbserver,debug): Add board setting.
6585 * gdb.trace/tspeed.exp: Skip when debugging.
6586 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6587 * lib/gdbserver-support.exp: Likewise
dd06d4d6 6588
1670072e
TT
65892019-04-24 Tom Tromey <tromey@adacore.com>
6590
6591 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6592 Rust.
6593
a59240a4
TT
65942019-04-24 Tom Tromey <tromey@adacore.com>
6595
6596 * gdb.arch/amd64-eval.exp: Test bitfield return.
6597 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6598 (class Foo) <return_bitfields>: New method.
6599 (main): Call it.
6600
b907456c
AB
66012019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6602
6603 * gdb.cp/many-args.cc: New file.
6604 * gdb.cp/many-args.exp: New file.
6605
5c565afd
TV
66062019-04-23 Tom de Vries <tdevries@suse.de>
6607
6608 PR gdb/24433
6609 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6610
ba22ff86
AH
66112019-04-23 Alan Hayward <alan.hayward@arm.com>
6612
6613 * gdb.trace/backtrace.exp: Use nopie flag.
6614 * gdb.trace/circ.exp: Likewise.
6615 * gdb.trace/collection.exp: Likewise.
6616 * gdb.trace/ftrace.exp: Likewise.
6617 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6618 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6619 * gdb.trace/qtro.exp: Likewise.
6620 * gdb.trace/read-memory.exp: Likewise.
6621 * gdb.trace/report.exp: Likewise.
6622 * gdb.trace/tfile.exp: Likewise.
6623 * gdb.trace/tfind.exp: Likewise.
6624 * gdb.trace/unavailable.exp: Likewise.
6625
7905fc35
PA
66262019-04-22 Pedro Alves <palves@redhat.com>
6627
6628 * gdb.base/solib-probes-nosharedlibrary.c,
6629 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6630
8ecb59f8
TT
66312019-04-19 Tom Tromey <tromey@adacore.com>
6632
6633 * gdb.ada/ptype_union.c: New file.
6634 * gdb.ada/ptype_union.exp: New file.
6635
62160ec9
TT
66362019-04-19 Tom Tromey <tromey@adacore.com>
6637
6638 PR symtab/24423:
6639 * gdb.base/list0.h (foo): Add a control-l character.
6640
36cd4ba5
TV
66412019-04-18 Tom de Vries <tdevries@suse.de>
6642
6643 PR gdb/24433
6644 * boards/local-board.exp: Set sysroot to "".
6645
b73715df
TV
66462019-04-18 Tom de Vries <tdevries@suse.de>
6647 Pedro Alves <palves@redhat.com>
6648
6649 PR gdb/24454
6650 * gdb.threads/vfork-follow-child-exec.c: New file.
6651 * gdb.threads/vfork-follow-child-exec.exp: New file.
6652 * gdb.threads/vfork-follow-child-exit.c: New file.
6653 * gdb.threads/vfork-follow-child-exit.exp: New file.
6654
4aa866af
LS
66552019-04-15 Leszek Swirski <leszeks@google.com>
6656
6657 * gdb.arch/amd64-eval.cc: New file.
6658 * gdb.arch/amd64-eval.exp: New file.
6659
e5a1a79a
AH
66602019-04-11 Alan Hayward <alan.hayward@arm.com>
6661
6662 * gdb.server/sysroot.c: New test.
6663 * gdb.server/sysroot.exp: New file.
6664 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6665 matching param.
6666
41077b66
AB
66672019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6668
6669 * gdb.base/align.exp: Extend test to cover structures containing
6670 only static fields.
6671
c30391f8
TV
66722019-04-11 Tom de Vries <tdevries@suse.de>
6673
6674 * boards/cc-with-dwz-m.exp: New file.
6675 * boards/cc-with-dwz.exp: New file.
6676 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6677
e242fd12
SM
66782019-04-09 Simon Marchi <simon.marchi@efficios.com>
6679
6680 * gdb.base/start-cpp.exp: New file.
6681 * gdb.base/start-cpp.cc: New file.
6682
2b0c8b01
KB
66832019-04-08 Kevin Buettner <kevinb@redhat.com>
6684
6685 * gdb.python/py-thrhandle.exp: Adjust tests to call
6686 thread_from_handle instead of thread_from_thread_handle.
6687
947210e5
KB
66882019-04-08 Kevin Buettner <kevinb@redhat.com>
6689
6690 * gdb.python/py-thrhandle.exp: Add tests for
6691 gdb.InferiorThread.handle.
6692
d7df6549
AB
66932019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6694
6695 * gdb.python/py-function.exp: Check calling helper function from
6696 all languages.
6697 * lib/gdb.exp (gdb_supported_languages): New proc.
6698
8bdc1658
AB
66992019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6700
6701 * gdb.base/complex-parts.c: New file.
6702 * gdb.base/complex-parts.exp: New file.
6703
05caa1d2
TT
67042019-04-01 Tom Tromey <tromey@adacore.com>
6705
6706 PR symtab/23331:
6707 * gdb.dwarf2/dw2-ranges-main.c: New file.
6708 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6709 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6710
7734102d
EZ
67112019-03-30 Simon Marchi <simark@simark.ca>
6712
6713 * gdb.base/default.exp: Add values for $_gdb_major and
6714 $_gdb_minor.
6715
188e1fa9
TT
67162019-03-29 Tom Tromey <tromey@adacore.com>
6717
6718 * gdb.base/help.exp: Tighten apropos regexp.
6719
2880242d
KS
67202019-03-29 Keith Seitz <keiths@redhat.com>
6721
6722 * gdb.fortran/array-bounds.exp: New file.
6723 * gdb.fortran/array-bounds.f90: New file.
6724
077cad8e
PW
67252019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6726
6727 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6728
80047cfc
PW
67292019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6730
6731 * gdb.multi/hello.c (main): Increase alarm timer.
6732
f489207e
SL
67332019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6734
6735 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6736 factor when no hardware watchpoint support.
6737
c92df149
AH
67382019-03-28 Alan Hayward <alan.hayward@arm.com>
6739 Pedro Alves <palves@redhat.com>
6740
6741 * boards/local-board.exp: set sysroot to /.
6742
933aebfa
AH
67432019-03-27 Alan Hayward <alan.hayward@arm.com>
6744
6745 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6746 in child.
6747
9f9aa852
AB
67482019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6749
6750 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6751 field.
6752 (make_container): Initialise new field.
6753 * gdb.python/py-prettyprint.exp: Add new tests.
6754 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6755 <display_hint>: New method.
6756
3714a195
AB
67572019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6758
6759 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6760 gdb_continue_to_breakpoint more throughout this test.
6761 (run_lang_tests) Supply unique test names, and use
6762 gdb_test_no_output.
6763
18c77628
AB
67642019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6765
6766 * gdb.base/finish-pretty.exp: Update expected results.
6767 * gdb.base/pretty-print.c: New file.
6768 * gdb.base/pretty-print.exp: New file.
6769
9a93502f
PA
67702019-03-25 Pedro Alves <palves@redhat.com>
6771
6772 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6773 move comments outside list. Append '-i "" eof' section.
6774
968aa7ae
AH
67752019-03-22 Alan Hayward <alan.hayward@arm.com>
6776
34a7f2a4 6777 PR testsuite/25016
968aa7ae
AH
6778 * README: Add pie options.
6779 * gdb.base/break-interp.exp: Ensure pie is disabled.
6780 * gdb.base/dump.exp: Likewise.
6781 * lib/gdb.exp (gdb_compile): Add pie option.
6782
4c7d57e7
TT
67832019-03-19 Tom Tromey <tromey@adacore.com>
6784
6785 * gdb.mi/mi2-cli-display.c: New file.
6786 * gdb.mi/mi2-cli-display.exp: New file.
6787
bff8c71f
TT
67882019-03-18 Joel Brobecker <brobecker@adacore.com>
6789 Tom Tromey <tromey@adacore.com>
6790
6791 * gdb.ada/ptype_array/pck.adb: New file.
6792 * gdb.ada/ptype_array/pck.ads: New file.
6793 * gdb.ada/ptype_array/foo.adb: New file.
6794 * gdb.ada/ptype_array.exp: New file.
6795
d085f989
TT
67962019-03-14 Tom Tromey <tromey@adacore.com>
6797
6798 * gdb.base/style.exp: Add "set style sources" test.
6799
b4be1b06
SM
68002019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6801
6802 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6803 * mi-breakpoint-multiple-locations.exp: ... this.
6804 (make_breakpoints_pattern): New proc.
6805 (do_test): Add mi_version parameter, test -break-insert,
6806 -break-info and =breakpoint-created.
6807
7cde5fc2
AB
68082019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6809
6810 * config/default.exp: Remove 'load_lib gdb.exp'.
6811 * config/monitor.exp: Likewise.
6812 * config/sid.exp: Likewise.
6813 * config/sim.exp: Likewise.
6814 * config/slite.exp: Likewise.
6815 * config/unix.exp: Likewise.
6816 * gdb.base/default.exp: Remove unhelpful comment.
6817
efbecbc1
AB
68182019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6819
6820 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6821
0841c79a
AB
68222019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6823
6824 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6825
4a270568
AB
68262019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6827
6828 * gdb.fortran/type-kinds.exp: Update expected results.
6829
067630bd
AB
68302019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6831
6832 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6833
3be47f7a
AB
68342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6835
6836 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6837 function.
6838 (test_basic_parsing_of_type_kinds): Expand types tested.
6839 (test_parsing_invalid_type_kinds): New function.
6840
4d00f5d8
AB
68412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6842
6843 * gdb.fortran/intrinsics.exp: New file.
6844 * gdb.fortran/intrinsics.f90: New file.
6845 * gdb.fortran/type-kinds.exp: New file.
6846
c8f91604
AB
68472019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6848
6849 * gdb.fortran/dot-ops.exp: New file.
6850
dd9f2c76
AB
68512019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6852
6853 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6854 Check upper and lower case logical literals.
6855
84ec9724
AB
68562019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6857
6858 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6859 Remove duplicate tests.
6860
c3734e09
AH
68612019-03-06 Alan Hayward <alan.hayward@arm.com>
6862
6863 * lib/gdb.exp (builtin_cd): rename of cd.
6864 (cd): Override builtin.
6865
aa3cfbda
RB
68662019-03-06 Richard Bunt <richard.bunt@arm.com>
6867
6868 * gdb.fortran/function-calls.exp: New file.
6869 * gdb.fortran/function-calls.f90: New test.
6870
7b63ad86
RB
68712019-03-04 Richard Bunt <richard.bunt@arm.com>
6872
6873 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6874 on user program standard output.
6875 * gdb.fortran/short-circuit-argument-list.f90: Record function
6876 calls.
6877
01abb042
AH
68782019-02-28 Alan Hayward <alan.hayward@arm.com>
6879
c3734e09
AH
6880 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6881 failure.
01abb042 6882
92137da0
RO
68832019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6884
6885 PR gdb/8527
6886 * gdb.base/interrupt-daemon-attach.c,
6887 gdb.base/interrupt-daemon-attach.exp: New test.
6888
5862844d
PA
68892019-02-27 Pedro Alves <palves@redhat.com>
6890
6891 * gdb.base/page.exp: Add tests for "set width/height -1".
6892
8ed25214
PA
68932019-02-27 Pedro Alves <palves@redhat.com>
6894
6895 * gdb.base/page.exp: Add tests for "set/show width/height" with
6896 "infinite" values.
6897
6c28e44a
TT
68982019-02-27 Tom Tromey <tromey@adacore.com>
6899
6900 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6901 2.4.
6902 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6903 workaround.
6904
bf9a735e
AB
69052019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6906
6907 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6908 tests for structs with static members.
6909
8791793c
TT
69102019-02-26 Tom Tromey <tromey@adacore.com>
6911
6912 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6913 ValueError, not TypeError.
6914
bc2a507e
KB
69152019-02-26 Kevin Buettner <kevinb@redhat.com>
6916
6917 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6918 call from main program.
6919
e0e7d3bd
JB
69202019-02-23 Joel Brobecker <brobecker@adacore.com>
6921
6922 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6923 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6924 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6925 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6926 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6927
9600246d
KS
69282019-02-22 Keith Seitz <keiths@redhat.com>
6929
6930 PR symtab/23853
6931 * gdb.base/symlink-sourcefile.c: New file.
6932 * gdb.base/symlink-sourcefile.exp: New file.
6933
0c95f9ed
TT
69342019-02-20 Tom Tromey <tom@tromey.com>
6935
6936 * gdb.base/info_qt.exp: Update.
6937
6caa91b6
SM
69382019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6939
6940 * gdb.base/source.exp: Move "error in sourced script" code to
6941 the end.
6942 * gdb.base/source-error.gdb: Move contents to
6943 source-error-1.gdb. Add new code to source source-error-1.gdb.
6944 * gdb.base/source-error-1.gdb: New file, from previous
6945 source-error.gdb.
6946
6506371f
TT
69472019-02-17 Tom Tromey <tom@tromey.com>
6948
6949 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6950 for macro styling.
6951 * gdb.base/style.c (SOME_MACRO): New macro.
6952
a0087920
TT
69532019-02-17 Tom Tromey <tom@tromey.com>
6954
6955 * gdb.base/style.exp: Add line-wrapping tests.
6956 * gdb.base/page.exp: Add test for quitting during pagination.
6957
a2cd4f14
JB
69582019-02-17 Joel Brobecker <brobecker@adacore.com>
6959
6960 * gdb.ada/big_packed_array: New testcase.
6961 * gdb.ada/homonym.exp: Fix incorrect expected output for
6962 "break <homonym__get_value>" test.
6963
9d70ffbc
WP
69642019-02-13 Weimin Pan <weimin.pan@oracle.com>
6965
6966 PR breakpoints/21870
6967 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6968 and prepare_for_testing. Add comment.
6969 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6970 redundant cleanup call. Clean up comment.
6971
01c7ae81
WP
69722019-02-12 Weimin Pan <weimin.pan@oracle.com>
6973
6974 PR breakpoints/21870
6975 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6976 * gdb.arch/aarch64-dbreg-contents.c: New file.
6977
aff29d1c
JB
69782019-02-10 Joel Brobecker <brobecker@adacore.com>
6979
6980 * gdb.ada/mi_ref_changeable: New testcase.
6981
df0da8a2
AH
69822019-02-07 Alan Hayward <alan.hayward@arm.com>
6983
6984 * gdb.base/attach.exp: Add double attach test.
6985
bd447abb
SM
69862019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6987
6988 * lib/gdb.exp (default_gdb_start): Don't match pagination
6989 prompt.
6990 (gdb_init): Set stty_init.
6991
1dbc40b9
TT
69922019-01-27 Tom Tromey <tom@tromey.com>
6993
6994 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6995 skip_python_tests.
6996
353229bf
AH
69972019-01-24 Alan Hayward <alan.hayward@arm.com>
6998
6999 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7000 New structure.
7001 (struct struct_static_02_02): Likewise.
7002 (struct struct_static_02_03): Likewise.
7003 (struct struct_static_02_04): Likewise.
7004 (struct struct_static_04_01): Likewise.
7005 (struct struct_static_04_02): Likewise.
7006 (struct struct_static_04_03): Likewise.
7007 (struct struct_static_04_04): Likewise.
7008 (struct struct_static_06_01): Likewise.
7009 (struct struct_static_06_02): Likewise.
7010 (struct struct_static_06_03): Likewise.
7011 (struct struct_static_06_04): Likewise.
7012 (cmp_struct_static_02_01): Likewise.
7013 (cmp_struct_static_02_02): Likewise.
7014 (cmp_struct_static_02_03): Likewise.
7015 (cmp_struct_static_02_04): Likewise.
7016 (cmp_struct_static_04_01): Likewise.
7017 (cmp_struct_static_04_02): Likewise.
7018 (cmp_struct_static_04_03): Likewise.
7019 (cmp_struct_static_04_04): Likewise.
7020 (cmp_struct_static_06_01): Likewise.
7021 (cmp_struct_static_06_02): Likewise.
7022 (cmp_struct_static_06_03): Likewise.
7023 (cmp_struct_static_06_04): Likewise.
7024 (call_all): Test new structs.
7025 * gdb.base/infcall-nested-structs.exp: Likewise.
7026
73021deb
AH
70272019-01-21 Alan Hayward <alan.hayward@arm.com>
7028 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7029
fc65c7db
AH
70302019-01-21 Alan Hayward <alan.hayward@arm.com>
7031 * gdb.base/stack-protector.c: New test.
7032 * gdb.base/stack-protector.exp: New file.
7033 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7034 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7035 option.
7036 (gdb_compile): Remove stack protector for GCC and prevent
7037 recursion.
7038
c24bdb02
KS
70392019-01-16 Keith Seitz <keiths@redhat.com>
7040
7041 PR gdb/23773
7042 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7043
6f072a10
PFC
70442019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7045
7046 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7047 aliases.
7048 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7049 tests.
7050 * gdb.arch/powerpc-vector-regs.c: New file.
7051 * gdb.arch/powerpc-vector-regs.exp: New file.
7052
a7b8d682
PFC
70532019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7054
7055 * gdb.arch/altivec-regs.exp: Fix the list passed to
7056 gdb_expect_list when testing "info vector".
7057
6eb6fb67
AB
70582019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7059
7060 * gdb.base/style.exp: Don't include path in testname.
7061
b56f80d8
KS
70622019-01-10 Keith Seitz <keiths@redhat.com>
7063
7064 PR gdb/23712
7065 PR symtab/23010
7066 * gdb.dwarf2/multidictionary.exp: New file.
7067
041be526
SM
70682019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7069
7070 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7071 (test_gnuv3_style_demangling): ... this.
7072 (test_lucid_style_demangling): Remove.
7073 (test_arm_style_demangling): Remove.
7074 (test_hp_style_demangling): Remove.
7075 (do_tests): Remove calls to the above.
7076
d820d0c3
AB
70772019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7078
7079 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7080 case.
7081
f097f5ad
TT
70822019-01-06 Tom Tromey <tom@tromey.com>
7083
7084 PR gdb/28155:
7085 * gdb.dwarf2/typedef-void-finish.exp: New file.
7086
2cd8cc0b
TT
70872018-12-28 Tom Tromey <tom@tromey.com>
7088 Simon Marchi <simark@simark.ca>
7089
7090 * gdb.base/jit-exec.exp: New file.
7091 * gdb.base/jit-exec.c: New file.
7092 * gdb.base/jit-execd.c: New file.
7093
35fb8261
TT
70942018-12-28 Tom Tromey <tom@tromey.com>
7095
7096 * gdb.base/style.exp: Update test to check for address styling.
7097
47fd17cd
TT
70982018-12-28 Tom Tromey <tom@tromey.com>
7099
7100 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7101 message.
7102
d47032b7
TT
71032018-12-28 Tom Tromey <tom@tromey.com>
7104
7105 * gdb.base/style.exp: Add test for version number styling.
7106
af79b68d
TT
71072018-12-28 Tom Tromey <tom@tromey.com>
7108
7109 * gdb.base/style.exp: Add test for print_address_symbolic.
7110
0bb296cb
TT
71112018-12-28 Tom Tromey <tom@tromey.com>
7112
7113 * gdb.base/style.exp: Add test for breakpoint setting.
7114
80ae2043
TT
71152018-12-28 Tom Tromey <tom@tromey.com>
7116
7117 * gdb.base/style.exp: Add test for variable names.
7118
cbe56571
TT
71192018-12-28 Tom Tromey <tom@tromey.com>
7120
7121 * gdb.base/style.exp: New file.
7122 * gdb.base/style.c: New file.
7123
9162a27c
TT
71242018-12-28 Tom Tromey <tom@tromey.com>
7125
7126 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7127 "dumb".
7128 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7129 the TERM environment variable.
7130
bc543c90
TT
71312018-12-27 Tom Tromey <tom@tromey.com>
7132
7133 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7134 pagination test.
7135
6f0ffe50
AB
71362018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7137
7138 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7139 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7140
b5a1e557
PW
71412018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7142
7143 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7144 Filename a.adb changed to bp_fun_addr.adb.
7145 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7146
6e8b1ab2
JV
71472018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7148
7149 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7150 non-PIE executables.
7151 * README: Mention the gdb,nopie_flag board setting.
7152 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7153 non-PIE executable.
7154 * gdb.arch/amd64-entry-value.exp: Likewise.
7155 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7156 * gdb.arch/i386-float.exp: Likewise.
7157 * gdb.arch/i386-signal.exp: Likewise.
7158 * gdb.mi/mi-reg-undefined.exp: Likewise.
7159
d00a27c5
PM
71602018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7161
7162 PR gdb/23974
7163 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7164
161d081c
PW
71652018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7166
7167 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7168 Update order of results accordingly.
7169
b001de23
AB
71702018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7171
7172 * gdb.base/annota1.exp: Update a test regexp.
7173
99e1a184
AB
71742018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7175
7176 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7177
7a81c1e2
PW
71782018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7179
7180 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7181 (reuse_time): Initialize to REUSE_TIME_CAP.
7182 (check_rc): New function.
7183 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7184 Check pthread_create rc.
7185 (spawner_thread_func): Check pthread_create and pthread_join rc.
7186
73e8dc90
PA
71872018-12-08 Pedro Alves <palves@redhat.com>
7188
7189 * gdb.base/list.exp (test_forward_search): Rename to ...
7190 (test_forward_reverse_search): ... this. Also test reverse-search
7191 and the forward-search alias.
7192
13f2ed32
AB
71932018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7194
7195 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7196 local timeout variable before return, and remove all local timeout
7197 variable entirely.
7198 (gdb_load): Likewise.
7199
64d27cfc
TV
72002018-12-01 Tom de Vries <tdevries@suse.de>
7201
7202 * gdb.base/gdb-caching-proc.exp: New file.
7203
f63c03b4
SDJ
72042018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7205
7206 * Makefile.in (TIMESTAMP): New variable.
7207 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7208 command.
7209 (check-single-racy): Likewise.
7210 (check/%.exp): Likewise.
7211 (check-racy/%.exp): Likewise.
7212 (workers/%.worker): Likewise.
7213 (build-perf): Likewise.
7214 (check-perf): Likewise.
7215 * README: Describe new "TS" and "TS_FORMAT" variables.
7216 * print-ts.py: New file.
7217
1c97054b
BF
72182018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7219
7220 PR python/23714
7221 * gdb.python/python.exp: Test command repetition after
7222 gdb.execute.
7223
1871a62d
AB
72242018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7225
7226 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7227 is correctly aligned.
7228
fb5e1ed9
PW
72292018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7230
7231 * gdb.ada/info_auto_lang.exp: New testcase.
7232 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7233 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7234 * gdb.ada/info_auto_lang/some_c.c: New file.
7235
43d397ca
PW
72362018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7237
7238 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7239 FUNC_lang language syntax.
7240
beddd671
PW
72412018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7242
7243 * gdb.base/info_minsym.c: New file.
7244 * gdb.base/info_minsym.exp: New file.
7245
73fc52c4
TT
72462018-11-19 Tom Tromey <tom@tromey.com>
7247
7248 PR rust/23625:
7249 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7250 * gdb.rust/expr.exp: Update expected output. Change one test.
7251
994b876a
TT
72522018-11-19 Tom Tromey <tom@tromey.com>
7253
7254 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7255
6769f276
PA
72562018-11-19 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7259 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7260 see the expected warning.
7261
38a72da0
AH
72622018-11-16 Alan Hayward <alan.hayward@arm.com>
7263
7264 PR gdb/22736:
7265 * gdb.cp/infcall-nodebug-lib.c: New test.
7266 * gdb.cp/infcall-nodebug-main.c: New test.
7267 * gdb.cp/infcall-nodebug.exp: New file.
7268
53a89d6e
SM
72692018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7270
7271 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7272 completer tests.
7273
9325300d
TV
72742018-11-09 Tom de Vries <tdevries@suse.de>
7275
7276 * gdb.base/msym-lang.c: New test.
7277 * gdb.base/msym-lang.exp: New file.
7278 * gdb.base/msym-lang-main.c: New test.
7279
20f0d60d
TT
72802018-11-08 Tom Tromey <tom@tromey.com>
7281
7282 PR gdb/23555:
7283 PR gdb/23838:
7284 * gdb.base/warning.exp: New file.
7285
b5420128
JB
72862018-11-08 Jan Beulich <jbeulich@suse.com>
7287
7288 * testsuite/gdb.arch/i386-avx512.c,
7289 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7290
cd115d61
AB
72912018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7292
7293 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7294 point hardware.
7295
35ee2dc2
AB
72962018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7297
7298 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7299 * gdb.dwarf2/missing-type-name.exp: New file.
7300
31aceee8
TV
73012018-11-06 Tom de Vries <tdevries@suse.de>
7302
7303 * gdb.base/many-headers.c: New test.
7304 * gdb.base/many-headers.exp: New file.
7305
109be305
JW
73062018-11-06 Jim Wilson <jimw@sifive.com>
7307
7308 * gdb.base/code_elim.exp: For riscv, set additional_flags
7309 to include -msmall-data-limit=0.
7310
e2b7af72
JB
73112018-11-01 Joel Brobecker <brobecker@adacore.com>
7312
7313 * gdb.ada/watch_minus_l: New testcase.
7314
cdcda965
SM
73152018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7316
7317 * gdb.arch/aix-sighandle.c: New file.
7318 * gdb.arch/aix-sighandle.exp: New file.
7319
92dcebf3
AB
73202018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7321
7322 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7323 registers being unions.
7324
68b9ac18
TV
73252018-10-31 Tom de Vries <tdevries@suse.de>
7326
7327 * lib/valgrind.exp: New file.
7328 (vgdb_start, vgdb_stop): New procs, factored out of ...
7329 * gdb.base/valgrind-bt.exp: ... here, ...
7330 * gdb.base/valgrind-disp-step.exp: ... here and ...
7331 * gdb.base/valgrind-infcall.exp: ... here.
7332
1443936e
TV
73332018-10-31 Tom de Vries <tdevries@suse.de>
7334
7335 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7336
eb77c9df
AB
73372018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7338
7339 * gdb.dwarf2/void-type.c: New file.
7340 * gdb.dwarf2/void-type.exp: New file.
7341
82b5e646
PW
73422018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7343
7344 * gdb.base/info_qt.c: New file.
7345 * gdb.base/info_qt.exp: New file.
7346
8d619c01
EBM
73472018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7348
7349 * gdb.arch/powerpc-htm-regs.c: New file.
7350 * gdb.arch/powerpc-htm-regs.exp: New file.
7351
f2cf6173
EBM
73522018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7353
7354 * gdb.arch/powerpc-tar.c: New file.
7355 * gdb.arch/powerpc-tar.exp: New file.
7356
7ca18ed6
EBM
73572018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7358
7359 * gdb.arch/powerpc-ppr-dscr.c: New file.
7360 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7361
bfcc0eba
TV
73622018-10-25 Tom de Vries <tdevries@suse.de>
7363
7364 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7365
fe1a5cad
TV
73662018-10-24 Tom de Vries <tdevries@suse.de>
7367
7368 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7369 longer exists error.
7370
a76dc3b7
TV
73712018-10-24 Tom de Vries <tdevries@suse.de>
7372
7373 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7374
4df46df7
TV
73752018-10-24 Tom de Vries <tdevries@suse.de>
7376
7377 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7378 --db-attach in valgrind.
7379
0dbfcfff
AB
73802018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7381
7382 * gdb.arch/riscv-reg-aliases.c: New file.
7383 * gdb.arch/riscv-reg-aliases.exp: New file.
7384
b04480b1
AH
73852018-10-19 Alan Hayward <alan.hayward@arm.com>
7386
7387 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7388
2c6ac8d7
AH
73892018-10-19 Alan Hayward <alan.hayward@arm.com>
7390
7391 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7392
2bc69f25
AH
73932018-10-19 Alan Hayward <alan.hayward@arm.com>
7394
7395 * gdb.cp/ovldbreak.exp: Fix regexps.
7396
1f1ae3a3
AH
73972018-10-19 Alan Hayward <alan.hayward@arm.com>
7398
7399 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7400
94c18618
SDJ
74012018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7402
7403 PR cli/23785
7404 * gdb.base/restore.exp: New test to check if "restore" with an
7405 invalid file doesn't segfault.
7406
812cd6eb
TV
74072018-10-18 Tom de Vries <tdevries@suse.de>
7408
7409 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7410 * gdb.ada/excep_handle.exp: Same.
7411 * gdb.ada/mi_string_access.exp: Same.
7412 * gdb.ada/mi_var_union.exp: Same.
7413 * gdb.arch/arc-analyze-prologue.exp: Same.
7414 * gdb.arch/arc-decode-insn.exp: Same.
7415 * gdb.base/readnever.exp: Same.
7416 * gdb.fortran/printing-types.exp: Same.
7417 * gdb.guile/scm-lazy-string.exp: Same.
7418
c4b90788
TV
74192018-10-16 Tom de Vries <tdevries@suse.de>
7420
7421 PR gdb/23730
7422 * gdb.base/catch-follow-exec.c: Add copyright notice.
7423 * gdb.base/catch-follow-exec.exp: Rewrite to use
7424 gdb_spawn_with_cmdline_opts. Require gdb-native.
7425
8bca2978
SL
74262018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7427
7428 * gdb.trace/actions-changed.exp: Check for arch support.
7429 * gdb.trace/actions.exp: Likewise.
7430 * gdb.trace/ax.exp: Likewise.
7431 * gdb.trace/backtrace.exp: Likewise.
7432 * gdb.trace/change-loc.exp: Likewise.
7433 * gdb.trace/deltrace.exp: Likewise.
7434 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7435 * gdb.trace/ftrace.exp: Likewise.
7436 * gdb.trace/infotrace.exp: Check for arch support.
7437 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7438 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7439 * gdb.trace/mi-tsv-changed.exp: Likewise.
7440 * gdb.trace/packetlen.exp: Likewise.
7441 * gdb.trace/passc-dyn.exp: Likewise.
7442 * gdb.trace/passcount.exp: Likewise.
7443 * gdb.trace/pending.exp: Likewise.
7444 * gdb.trace/range-stepping.exp: Check for shlib support.
7445 * gdb.trace/report.exp: Check for arch support.
7446 * gdb.trace/save-trace.exp: Likewise.
7447 * gdb.trace/signal.exp: Check for signal support.
7448 * gdb.trace/tfind.exp: Check for arch support.
7449 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7450 * gdb.trace/trace-common.h: Add comment.
7451 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7452 * gdb.trace/trace-enable-disable.exp: Likewise.
7453 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7454 * gdb.trace/tracecmd.exp: Check for arch support.
7455 * gdb.trace/tspeed.exp: Check for shlib and target support.
7456 * gdb.trace/tstatus.exp: Check for arch support.
7457 * gdb.trace/tsv.exp: Likewise.
7458 * gdb.trace/while-dyn.exp: Likewise.
7459 * gdb.trace/while-stepping.exp: Likewise.
7460 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7461
f9c49bff
SM
74622018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7463
7464 * gdb.trace/tspeed.exp: Remove nowarnings.
7465 (prepare_for_trace_test): Declare "global ipalib".
7466 * gdb.trace/tspeed.c: Include unistd.h.
7467 (main): Remove superfluous printf argument.
7468
d4330bde
SL
74692018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7470
7471 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7472 directory prefix on the filename.
7473
8ecfd7bd
SDJ
74742018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7475
7476 * gdb.gdb/unittest.exp: Update expected message informing that
7477 selftests have been disabled.
7478 * gdb.server/unittest.exp: Likewise.
7479
58bbcd02
TV
74802018-10-09 Tom de Vries <tdevries@suse.de>
7481
7482 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7483 with runto_main.
7484
9f6b697b
WP
74852018-10-08 Weimin Pan <weimin.pan@oracle.com>
7486
7487 PR c++/16841
7488 * gdb.cp/virtbase2.cc: New file.
7489 * gdb.cp/virtbase2.exp: New file.
7490
add5ded5
TT
74912018-10-06 Tom Tromey <tom@tromey.com>
7492
7493 PR python/19399:
7494 * gdb.python/py-inferior.exp: Add architecture test.
7495
f9e48344
TT
74962018-10-06 Tom Tromey <tom@tromey.com>
7497
7498 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7499 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7500
2a8be203
TT
75012018-10-06 Tom Tromey <tom@tromey.com>
7502
7503 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7504 of a "throw" catchpoint.
7505
e04caa70
SDJ
75062018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7507
7508 * gdb.base/info-proc.exp: Update string expected from "help info
7509 proc".
7510
5ca8c39f
TT
75112018-10-04 Tom Tromey <tom@tromey.com>
7512
7513 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7514 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7515 (test_initial_complaints, test_empty_complaints): Update.
7516 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7517
3453e7e4
TT
75182018-10-04 Tom Tromey <tom@tromey.com>
7519
7520 PR cli/19551:
7521 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7522 * lib/gdb.exp (gdb_file_cmd): Update.
7523 * gdb.stabs/weird.exp (print_weird_var): Update.
7524 * gdb.server/solib-list.exp: Update.
7525 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7526 * gdb.mi/mi-cli.exp: Update.
7527 * gdb.linespec/linespec.exp: Update.
7528 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7529 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7530 * gdb.cp/cp-relocate.exp: Update.
7531 * gdb.base/sym-file.exp: Update.
7532 * gdb.base/relocate.exp: Update.
7533 * gdb.base/readnever.exp: Update.
7534 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7535 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7536 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7537 * gdb.base/code_elim.exp: Update.
7538 * gdb.base/break-unload-file.exp (test_break): Update.
7539 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7540 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7541 Update.
7542 * gdb.base/attach.exp (do_attach_tests): Update.
7543 * gdb.base/sepdebug.exp: Update.
7544 * gdb.python/py-section-script.exp: Update.
7545
6afcf761
TT
75462018-10-04 Tom Tromey <tom@tromey.com>
7547
7548 PR cli/22234:
7549 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7550 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7551 output.
7552
fef1b293
TT
75532018-10-04 Tom Tromey <tom@tromey.com>
7554
7555 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7556 set width and height to 0.
7557 (test_command_line_attach_run): Use -quiet.
7558
ca98345e
SL
75592018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7560
7561 * lib/gdb.exp (skip_ifunc_tests): New.
7562 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7563 other compile failures.
7564 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7565
ff34e6ae
SM
75662018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7567
7568 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7569 is_amd64_regs_target.
7570
6bb8890e
AH
75712018-10-01 Alan Hayward <alan.hayward@arm.com>
7572
7573 * gdb.arch/aarch64-sighandler-regs.c: New test.
7574 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7575 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7576
224d30d3
MM
75772018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7578
7579 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7580 assembly.
7581
f67ffa6a
AB
75822018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7583
7584 * gdb.base/frame-selection.exp: New file.
7585 * gdb.base/frame-selection.c: New file.
7586
9fc3183f
AH
75872018-09-27 Alan Hayward <alan.hayward@arm.com>
7588
7589 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7590 pthread barrier.
7591 (main): Likewise.
7592
d354055e
AB
75932018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7594
7595 * gdb.base/large-frame-1.c: New file.
7596 * gdb.base/large-frame-2.c: New file.
7597 * gdb.base/large-frame.exp: New file.
7598 * gdb.base/large-frame.h: New file.
7599
db727370
JL
76002018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7601
7602 PR gdb/20948
7603 * gdb.base/write_mem.exp: New test.
7604 * gdb.base/write_mem.c: Likewise.
7605
ae778caf
TT
76062018-09-23 Tom Tromey <tom@tromey.com>
7607
7608 PR python/18852:
7609 * gdb.python/py-parameter.exp: Add test for parameter that throws
7610 on "set".
7611
fd3ba736
TT
76122018-09-23 Tom Tromey <tom@tromey.com>
7613
7614 PR python/17284:
7615 * gdb.python/py-template.exp (test_template_arg): Add test for
7616 negative template argument number.
7617
39a24317
TT
76182018-09-23 Tom Tromey <tom@tromey.com>
7619
7620 PR python/14062:
7621 * gdb.python/python.exp: Add test for post_event error.
7622
f5769a2c
TT
76232018-09-23 Tom Tromey <tom@tromey.com>
7624
7625 PR python/18170:
7626 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7627 convert pointers to int and long.
7628
1c1e54f6
TT
76292018-09-23 Tom Tromey <tom@tromey.com>
7630
7631 PR python/20126:
7632 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7633 signed-ness conversion tests.
7634
fb4fa946
TT
76352018-09-23 Tom Tromey <tom@tromey.com>
7636
7637 PR python/18352;
7638 * gdb.python/py-value.exp (test_float_conversion): New proc.
7639 Use it.
7640
a466edac
HAQ
76412018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7642
7643 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7644
4ee9b0c5
SL
76452018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7646
7647 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7648 no readline.
7649 * gdb.base/utf8-identifiers.exp: Likewise.
7650 * gdb.cp/cpcompletion.exp: Likewise.
7651 * gdb.linespec/cpcompletion.exp: Likewise.
7652 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7653 * gdb.linespec/cpls-ops.exp: Likewise.
7654
23be8da7
RB
76552018-09-19 Richard Bunt <richard.bunt@arm.com>
7656 Chris January <chris.january@arm.com>
7657
7658 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7659 * gdb.fortran/short-circuit-argument-list.exp: New file.
7660 * gdb.fortran/short-circuit-argument-list.f90: New test.
7661
5031d0ae
SDJ
76622018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7663
7664 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7665 "arch=" keyword when executing "-stack-list-frames".
7666
b4c0d1a4
SDJ
76672018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7668
7669 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7670 "arch=" keyword when executing "-stack-list-frames".
7671
7a6d2b45
SDJ
76722018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7673
7674 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7675 break ada".
7676
8588b356
SM
76772018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7678
7679 PR python/23669
7680 * gdb.python/python.exp: Test gdb.execute("show commands").
7681
65e65158
TT
76822018-09-16 Tom Tromey <tom@tromey.com>
7683
7684 * gdb.base/new-ui.exp (do_execution_tests): Update.
7685 * gdb.base/dbx.exp (test_breakpoints): Update.
7686
bf326452
AH
76872018-09-14 Alan Hayward <alan.hayward@arm.com>
7688
7689 * lib/gdb.exp (gdb_simple_compile): Add proc.
7690 (is_elf_target): Use gdb_simple_compile.
7691 (skip_altivec_tests): Likewise.
7692 (skip_vsx_tests): Likewise.
7693 (skip_tsx_tests): Likewise.
7694 (skip_btrace_tests): Likewise.
7695 (skip_btrace_pt_tests): Likewise.
7696 (gdb_can_simple_compile): Likewise.
7697 (gdb_has_argv0): Likewise.
7698 (gdb_target_symbol_prefix): Likewise.
7699 (target_supports_scheduler_locking): Likewise.
7700
2361b0fb
TT
77012018-09-13 Tom Tromey <tom@tromey.com>
7702
7703 * Makefile.in (TAGS): Recognize proc_with_prefix and
7704 gdb_caching_proc.
7705
0ae1a321
SM
77062018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7707
7708 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7709 method.
7710
a40bf0c2
SM
77112018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7712
7713 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7714 and a few other Inferior properties when the Inferior is no
7715 longer valid.
7716
4a3fe98f
TT
77172018-09-13 Tom Tromey <tom@tromey.com>
7718
7719 PR rust/23650:
7720 * gdb.rust/simple.exp: Add test for enum field access error.
7721
098b2108
TT
77222018-09-13 Tom Tromey <tom@tromey.com>
7723
7724 PR rust/23626:
7725 * gdb.rust/simple.rs (EmptyEnum): New type.
7726 (main): Use it.
7727 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7728
1256af7d
SM
77292018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7730
7731 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7732 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7733 * gdb.python/py-symtab.exp: Update test printing an objfile.
7734
4aa8e6c2
SM
77352018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7736
7737 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7738 object.
7739
c221b2f7
AH
77402018-09-12 Alan Hayward <alan.hayward@arm.com>
7741
7742 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7743 (support_complex_tests): Use gdb_can_simple_compile.
7744 (is_ilp32_target): Likewise.
7745 (is_lp64_target): Likewise.
7746 (is_64_target): Likewise.
7747 (is_amd64_regs_target): Likewise.
7748 (is_aarch32_target): Likewise.
7749 (gdb_int128_helper): Likewise.
7750
6f1107b5
JK
77512018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7752
7753 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7754
1f5d1570
JG
77552018-09-10 Jerome Guitton <guitton@adacore.com>
7756
7757 * gdb.ada/same_component_name: Add test for case of tagged record
7758 with variable-length fields.
7759
cc330e39
XR
77602018-09-10 Xavier Roirand <roirand@adacore.com>
7761
7762 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7763 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7764 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7765 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7766
b9c50e9a
XR
77672018-09-10 Xavier Roirand <roirand@adacore.com>
7768
7769 * gdb.ada/mi_string_access.exp: New testcase.
7770 * gdb.ada/mi_string_access/bar.adb: New file.
7771 * gdb.ada/mi_string_access/pck.adb: New file.
7772 * gdb.ada/mi_string_access/pck.asd: New file.
7773
2963898f
XR
77742018-09-10 Xavier Roirand <roirand@adacore.com>
7775
7776 * gdb.ada/mi_var_union.exp: New testcase.
7777 * gdb.ada/mi_var_union/bar.adb: New file.
7778 * gdb.ada/mi_var_union/pck.adb: New file.
7779 * gdb.ada/mi_var_union/pck.asd: New file.
7780
1aac008f
TT
77812018-09-08 Tom Tromey <tom@tromey.com>
7782
7783 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7784
332cf4c9
TT
77852018-09-08 Tom Tromey <tom@tromey.com>
7786
7787 PR python/16047:
7788 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7789 (register_pretty_printers): Register new printer.
7790 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7791 test.
7792 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7793 (an_int_type3): New global.
7794
424da6cf
JB
77952018-09-08 Joel Brobecker <brobecker@adacore.com>
7796
7797 * gdb.ada/expr_with_funcall: New testcase.
7798
2a62dfa9
JB
77992018-09-08 Joel Brobecker <brobecker@adacore.com>
7800
7801 * gdb.ada/packed_array_assign: New testcase.
7802
96b6697f
AB
78032018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7804
7805 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7806 names, and add test prefixes to make test names unique.
7807
e4a62c65
TV
78082018-09-05 Tom de Vries <tdevries@suse.de>
7809
7810 * gdb.dwarf2/varval.exp: Add test.
7811
dd083ee2
GB
78122018-09-04 Gary Benson <gbenson@redhat.com>
7813
7814 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7815 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7816
aef9346c
TT
78172018-08-31 Tom Tromey <tom@tromey.com>
7818
7819 * gdb.rust/simple.rs: Rename second variable "v".
7820
c67f2e15
AB
78212018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7822
7823 * gdb.base/funcargs.c (use_a): New function.
7824 (recurse): Call use_a.
7825
078a0207
KS
78262018-08-29 Keith Seitz <keiths@redhat.com>
7827
7828 * gdb.compile/compile-cplus-anonymous.cc: New file.
7829 * gdb.compile/compile-cplus-anonymous.exp: New file.
7830 * gdb.compile/compile-cplus-array-decay.cc: New file.
7831 * gdb.compile/compile-cplus-array-decay.exp: New file.
7832 * gdb.compile/compile-cplus-inherit.cc: New file.
7833 * gdb.compile/compile-cplus-inherit.exp: New file.
7834 * gdb.compile/compile-cplus-member.cc: New file.
7835 * gdb.compile/compile-cplus-member.exp: New file.
7836 * gdb.compile/compile-cplus-method.cc: New file.
7837 * gdb.compile/compile-cplus-method.exp: New file.
7838 * gdb.compile/compile-cplus-mod.c: "New" file.
7839 * gdb.compile/compile-cplus-namespace.cc: New file.
7840 * gdb.compile/compile-cplus-namespace.exp: New file.
7841 * gdb.compile/compile-cplus-nested.cc: New file.
7842 * gdb.compile/compile-cplus-nested.exp: New file.
7843 * gdb.compile/compile-cplus-print.c: "New" file.
7844 * gdb.compile/compile-cplus-print.exp: "New" file.
7845 * gdb.compile/compile-cplus-virtual.cc: New file.
7846 * gdb.compile/compile-cplus-virtual.exp: New file.
7847 * gdb.compile/compile-cplus.c: "New" file.
7848 * gdb.compile/compile-cplus.exp: "New" file.
7849 * lib/compile-support.exp: New file.
7850
b0f492b9
GB
78512018-08-16 Gary Benson <gbenson@redhat.com>
7852
7853 PR gdb/13000:
7854 * gdb.base/batch-exit-status.exp: New file.
7855 * gdb.base/batch-exit-status.good-commands: Likewise.
7856 * gdb.base/batch-exit-status.bad-commands: Likewise.
7857
36eb4c5f
AH
78582018-08-29 Alan Hayward <alan.hayward@arm.com>
7859
7860 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7861 (struct struct02): Likewise.
7862 (struct struct03): Likewise.
7863 (struct struct04): Likewise.
7864 (struct struct_01_01): New struct.
7865 (struct struct_01_02): Likewise.
7866 (struct struct_01_03): Likewise.
7867 (struct struct_01_04): Likewise.
7868 (struct struct_02_01): Likewise.
7869 (struct struct_02_02): Likewise.
7870 (struct struct_02_03): Likewise.
7871 (struct struct_02_04): Likewise.
7872 (struct struct_04_01): Likewise.
7873 (struct struct_04_02): Likewise.
7874 (struct struct_04_03): Likewise.
7875 (struct struct_04_04): Likewise.
7876 (struct struct_05_01): Likewise.
7877 (struct struct_05_02): Likewise.
7878 (struct struct_05_03): Likewise.
7879 (struct struct_05_04): Likewise.
7880 (cmp_struct01): Remove function.
7881 (cmp_struct02): Likewise.
7882 (cmp_struct03): Likewise.
7883 (cmp_struct04): Likewise.
7884 (cmp_struct_01_01): Add Function.
7885 (cmp_struct_01_02): Likewise.
7886 (cmp_struct_01_03): Likewise.
7887 (cmp_struct_01_04): Likewise.
7888 (cmp_struct_02_01): Likewise.
7889 (cmp_struct_02_02): Likewise.
7890 (cmp_struct_02_03): Likewise.
7891 (cmp_struct_02_04): Likewise.
7892 (cmp_struct_04_01): Likewise.
7893 (cmp_struct_04_02): Likewise.
7894 (cmp_struct_04_03): Likewise.
7895 (cmp_struct_04_04): Likewise.
7896 (cmp_struct_05_01): Likewise.
7897 (cmp_struct_05_02): Likewise.
7898 (cmp_struct_05_03): Likewise.
7899 (cmp_struct_05_04): Likewise.
7900 (call_all): Add new structs.
7901 * gdb.base/infcall-nested-structs.exp: Likewise.
7902
3bf9c013
JV
79032018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7904
7905 * gdb.python/py-framefilter-mi.exp: Update regexp to
7906 check for "arch" field in frame output.
7907
450d1e88
KB
79082018-08-23 Kevin Buettner <kevinb@redhat.com>
7909
7910 * gdb.dwarf2/dw2-ranges-func.c: New file.
7911 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7912
ae739fe7
SM
79132018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7914
7915 * gdb.base/term.exp: Compare terminal settings with values from
7916 the inferior.
7917 * gdb.base/term.c: Get and set terminal settings.
7918
6d52907e
JV
79192018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7920
7921 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7922 accommodate new "arch" field in frame output.
7923 * gdb.mi/mi-return.exp: Likewise.
7924 * gdb.mi/mi-stack.exp: Likewise.
7925 * gdb.mi/mi-syn-frame.exp: Likewise.
7926 * gdb.mi/user-selected-context-sync.exp: Likewise.
7927
be2d111a
MS
79282018-08-19 Michael Spang <spang@google.com>
7929
7930 PR gdb/11786
7931 * gdb.base/gcore-tls-pie.c: New file.
7932 * gdb.base/gcore-tls-pie.exp: New file.
7933
ae3a7c47
KB
79342018-08-18 Kevin Buettner <kevinb@redhat.com>
7935
7936 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7937 * gdb.dwarf2/varval.c: New file.
7938 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7939
2ecae92e
AH
79402018-08-17 Alan Hayward <alan.hayward@arm.com>
7941
7942 PR gdb/18931
7943 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7944
c1854f1d
KS
79452018-08-16 Keith Seitz <keiths@redhat.com>
7946
7947 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7948 tests expected to pass.
7949
26fb3983
JV
79502018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7951
7952 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7953 -data-disassemble -a.
7954 (test_disassembly_bogus_args): Likewise.
7955
67943c00
AB
79562018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7957
7958 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7959
5ff2bbae
AB
79602018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7961
7962 * gdb.base/vla-optimized-out.exp: Add new test.
7963
e5bbcd0f
AB
79642018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7965
7966 * gdb.base/vla-optimized-out-o3.exp: Delete.
7967 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7968 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7969 deleted tests.
7970
9d4a934c
AB
79712018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7972
7973 PR gdb/18050:
7974 * gdb.server/extended-remote-restart.c: New file.
7975 * gdb.server/extended-remote-restart.exp: New file.
7976
045cf012
SM
79772018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7978
7979 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7980 "set variable index = 42".
7981
87d6a7aa
SM
79822018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7983
7984 * boards/index-cache-gdb.exp: New file.
7985 * gdb.dwarf2/index-cache.exp: New file.
7986 * gdb.dwarf2/index-cache.c: New file.
7987 * gdb.base/maint.exp: Check if we are using the index cache.
7988
96d68bd4
RO
79892018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7990
7991 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7992 MAKEFLAGS.
7993
5a699617
RO
79942018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7995
7996 * dg-extract-results.sh: Move to toplevel contrib.
7997 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7998 * Makefile.in (check-parallel-racy): Likewise.
7999
5bd18990
AB
80002018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8001
8002 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8003 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8004 tests if the target supports scheduler locking.
8005
3fbbcf47
TV
80062018-08-04 Tom de Vries <tdevries@suse.de>
8007
8008 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8009
3e1d3d8c
TT
80102018-08-02 Tom Tromey <tom@tromey.com>
8011
8012 PR symtab/16842.
8013 * gdb.cp/temargs.exp: Test "info address" of a template
8014 parameter.
8015
5abe0f0c
JV
80162018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8017
8018 * gdb.python/py-mi-var-info-path-expression.c: New file.
8019 * gdb.python/py-mi-var-info-path-expression.py: New file.
8020 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8021
fb66cde8
SDJ
80222018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8023
8024 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8025 error after "cannot resolve name" string.
8026
c708f4d2
AB
80272018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8028
8029 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8030 started.
8031 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8032
37cc0cae
TV
80332018-07-28 Tom de Vries <tdevries@suse.de>
8034
8035 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8036
63b4ecf7
TV
80372018-07-26 Tom de Vries <tdevries@suse.de>
8038
8039 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8040
3c3bb058
AB
80412018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8042
8043 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8044 is visible.
8045
9e7f3bbb
TV
80462018-07-26 Tom de Vries <tdevries@suse.de>
8047
8048 PR breakpoints/23366
8049 * gdb.base/catch-follow-exec.c: New test.
8050 * gdb.base/catch-follow-exec.exp: New file.
8051
16f808ec
TV
80522018-07-25 Tom de Vries <tdevries@suse.de>
8053
8054 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8055 vla-optimized-out.c.
8056
d7154a8d
JV
80572018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8058
8059 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8060 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8061
232a0032
TV
80622018-07-20 Tom de Vries <tdevries@suse.de>
8063
8064 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8065 NOCLONE macro.
8066 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8067
fbb1d502
TV
80682018-07-19 Tom de Vries <tdevries@suse.de>
8069
8070 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8071 regular expression.
8072
42dc7699
TV
80732018-07-18 Tom de Vries <tdevries@suse.de>
8074
8075 * gdb.base/vla-optimized-out.c: New test.
8076 * gdb.base/vla-optimized-out.exp: New file.
8077
7f1f7e23
SDJ
80782018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8079
8080 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8081 message "No address associated with hostname" when gdbserver
8082 cannot resolve the hostname.
8083
5759ebb3
PW
80842018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8085
8086 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8087 Add some test prefixes to make tests unique.
8088
3606ccab
PW
80892018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8090
8091 * gdb.base/frameapply.c: New file.
8092 * gdb.base/frameapply.exp: New file.
8093
529c08b2
PW
80942018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8095
8096 * gdb.base/skip.exp: Update expected error message.
8097
c7ab0aef
SDJ
80982018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8099 Jan Kratochvil <jan.kratochvil@redhat.com>
8100 Paul Fertser <fercerpav@gmail.com>
8101 Tsutomu Seki <sekiriki@gmail.com>
8102
8103 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8104 parameter.
8105 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8106 by default.
8107 * boards/native-gdbserver.exp: Likewise.
8108 * gdb.server/run-without-local-binary.exp: Improve regexp used
8109 for detecting when a remote debugging connection succeeds.
8110 * gdb.server/server-connect.exp: New file.
8111 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8112 Do not prefix the port number with ":".
8113 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8114 support for detecting and using it. Add '$debughost_gdbserver'
8115 to the list of arguments used to start gdbserver. Handle case
8116 when gdbserver cannot resolve a network name.
8117
16ff70dd
SDJ
81182018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8119
8120 PR c++/23373
8121 * gdb.base/ptype-offsets.cc (struct static_member): New
8122 struct.
8123 (main) <stmember>: New variable.
8124 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8125 with a static member in it.
8126
3541979f
AB
81272018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8128
8129 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8130 watchpoints enabled and disabled.
8131
c8ad9b9a
AB
81322018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8133
8134 * gdb.base/examine-backward.exp: Still run tests around address
8135 0x0, even if address 0x0 is not readable. Update the pattern for
8136 matching address 0x0 in expected output.
8137
e0e5e971
AB
81382018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8139
8140 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8141 malloc/free.
8142
1ea5da02
TV
81432018-07-04 Tom de Vries <tdevries@suse.de>
8144
8145 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8146
471b9d15
MR
81472018-07-02 Maciej W. Rozycki <macro@mips.com>
8148
8149 PR tdep/8282
8150 * gdb.arch/mips-disassembler-options.exp: New test.
8151 * gdb.arch/mips-disassembler-options.s: New test source.
8152
75acb486
PA
81532018-06-29 Pedro Alves <palves@redhat.com>
8154
8155 * gdb.threads/names.exp: Adjust expected "info threads" output.
8156
cd2bb709
PA
81572018-06-29 Pedro Alves <palves@redhat.com>
8158
8159 * gdb.opt/inline-break.exp (line number, address): Add "info
8160 break" tests.
8161
991ff292
PA
81622018-06-29 Pedro Alves <palves@redhat.com>
8163
8164 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8165 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8166 number and address and running to them.
8167
356819b6 81682018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8169
8170 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8171
2512d7ef
JK
81722018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8173
8174 * lib/compiler.c: Remove executable permission flag.
8175
be1b6474
RB
81762018-06-28 Richard Bunt <richard.bunt@arm.com>
8177
8178 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8179 code.
8180 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8181
291f9a96
PT
81822018-06-28 Petr Tesarik <ptesarik@suse.cz>
8183
8184 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8185
ed6dfe51
PT
81862018-06-28 Petr Tesarik <ptesarik@suse.cz>
8187
8188 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8189 address argument is omitted.
8190
d4d429d5
PT
81912018-06-28 Petr Tesarik <ptesarik@suse.cz>
8192
8193 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8194
7ab6656f
OJ
81952018-06-27 Omair Javaid <omair.javaid@linaro.org>
8196
8197 PR gdb/21695
8198 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8199 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8200
a33ccfc7
TT
82012018-06-26 Tom Tromey <tom@tromey.com>
8202
8203 PR rust/22574:
8204 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8205 * gdb.rust/simple.rs (struct SimpleLayout): New.
8206
6d72d289
SM
82072018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8208
8209 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8210 "info registers" output.
8211
8363f9d5
RB
82122018-06-21 Richard Bunt <richard.bunt@arm.com>
8213
8214 * gdb.base/watchpoint-hw-attach.c: New test.
8215 * gdb.base/watchpoint-hw-attach.exp: New file.
8216
f00674fe
SM
82172018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8218
8219 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8220 through /bin/sh.
8221 * boards/dwarf4-gdb-index.exp: Likewise.
8222 * boards/fission-dwp.exp: Likewise.
8223
1d554008
UW
82242018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8225
8226 * gdb.base/float128.exp: Add comment and improved fail message
8227 to the failure case of "print large128" test.
8228
d0ac1c44
SM
82292018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8230
8231 * configure.ac: Remove AC_PREREQ.
8232 * configure: Re-generate.
8233
61b04dd0
PA
82342018-06-19 Pedro Alves <palves@redhat.com>
8235
8236 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8237 (func_extern_caller): New.
8238 (main): Call func_extern_caller.
8239 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8240 logic change.
8241
f63b508a
SM
82422018-06-18 Weimin Pan <weimin.pan@oracle.com>
8243
8244 PR gdb/16841
8245 * gdb.cp/typedef-base.cc: New file.
8246 * gdb.cp/typedef-base.exp: New file.
8247
0fe3a558
TV
82482018-06-18 Tom de Vries <tdevries@suse.de>
8249
8250 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8251
7010835a
AB
82522018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8253 Richard Bunt <Richard.Bunt@arm.com>
8254
8255 * gdb.threads/attach-slow-waitpid.c: New file.
8256 * gdb.threads/attach-slow-waitpid.exp: New file.
8257 * gdb.threads/slow-waitpid.c: New file.
8258
14897d65
PA
82592018-06-14 Pedro Alves <palves@redhat.com>
8260
8261 * gdb.base/fork-running-state.c: Include <errno.h>.
8262 (exit_if_relative_exits): New.
8263 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8264 exits.
8265 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8266 child exits.
8267
5d9a0608
TV
82682018-06-14 Tom de Vries <tdevries@suse.de>
8269
8270 PR cli/22573
8271 * gdb.base/finish-pretty.c: New test.
8272 * gdb.base/finish-pretty.exp: New file.
8273
11ae5818
PA
82742018-06-14 Pedro Alves <palves@redhat.com>
8275
8276 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8277 gdb's expected startup output.
8278
1d39de44
PA
82792018-06-14 Pedro Alves <palves@redhat.com>
8280
8281 * lib/selftest-support.exp (selftest_setup): Remove inlined
8282 function handling.
8283
70ee0000
TV
82842018-06-14 Tom de Vries <tdevries@suse.de>
8285
8286 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8287 matching of breakpoint printing.
8288
11f4b608
TV
82892018-06-13 Tom de Vries <tdevries@suse.de>
8290
8291 PR testsuite/23269
8292 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8293 (fork_child): ... here, and ...
8294 (fork_parent): ... here.
8295
82962018-06-12 Tom de Vries <tdevries@suse.de>
8297
8298 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8299
9516f85a
AB
83002018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8301 Stephen Roberts <stephen.roberts@arm.com>
8302
8303 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8304 rewrite test to describe action performed, rather than possible
8305 failure.
8306
5045b3d7
GB
83072018-06-08 Gary Benson <gbenson@redhat.com>
8308
8309 * gdb.threads/check-libthread-db.exp: New file.
8310 * gdb.threads/check-libthread-db.c: Likewise.
8311
c61b06a1
TT
83122018-06-05 Tom Tromey <tom@tromey.com>
8313
8314 * gdb.base/default.exp: Update expected "show version" output.
8315
eb6af809
TT
83162018-06-05 Tom Tromey <tom@tromey.com>
8317
8318 PR cli/12326:
8319 * gdb.cp/static-print-quit.exp: Update.
8320 * lib/gdb.exp (pagination_prompt): Update.
8321 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8322 * gdb.python/python.exp: Update.
8323
178d6a63
JB
83242018-06-04 Joel Brobecker <brobecker@adacore.com>
8325
8326 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8327
8e817061
JB
83282018-06-01 Joel Brobecker <brobecker@adacore.com>
8329
8330 * gdb.ada/bp_fun_addr: New testcase.
8331
e86ca25f
TT
83322018-06-01 Tom Tromey <tom@tromey.com>
8333
8334 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8335 results.
8336 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8337 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8338 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8339 * gdb.base/maint.exp (maint_pass_if): Update.
8340
4b2dfa9d
MR
83412018-05-31 Maciej W. Rozycki <macro@mips.com>
8342
8343 * gdb.base/endian.exp: New test.
8344 * gdb.base/endian.c: New test source.
8345
45f25d6c
AB
83462018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8347
8348 PR gdb/23203
8349 * gdb.base/bt-selected-frame.c: New file.
8350 * gdb.base/bt-selected-frame.exp: New file.
8351 * lib/gdb.exp (get_current_frame_number): New function.
8352
d9f6d7f8
MR
83532018-05-24 Maciej W. Rozycki <macro@mips.com>
8354 Pedro Alves <palves@redhat.com>
8355
8356 * gdb.threads/tls-core.c: Include <stdlib.h>
8357 (thread_proc): Call `abort'.
8358 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8359 (tls_core_test): New procedure, bits factored out from ...
8360 (top level): ... here. Test both native cores and gcore cores.
8361
ff1cf532
TT
83622018-05-23 Tom Tromey <tom@tromey.com>
8363
8364 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8365
b98664d3
TT
83662018-05-23 Tom Tromey <tom@tromey.com>
8367
8368 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8369 symfile_complaints.
8370 (test_short_complaints): Likewise.
8371 (test_empty_complaints): Likewise.
8372 (test_initial_complaints): Update.
8373
4e9668d0
TT
83742018-05-23 Tom Tromey <tom@tromey.com>
8375
8376 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8377
43ba33c7
TT
83782018-05-23 Tom Tromey <tom@tromey.com>
8379
8380 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8381 (test_short_complaints): Update.
8382
035522c0
PA
83832018-05-22 Pedro Alves <palves@redhat.com>
8384
8385 * gdb.base/remote.exp: Only gdb_start after compiling the
8386 testcase. Issue "disconnect" before testing "set remote" command
8387 defaults. Issue clean_restart before running to main.
8388
cc0be08f
PA
83892018-05-22 Pedro Alves <palves@redhat.com>
8390
8391 * gdb.base/remote.exp: Adjust expected output of "show remote
8392 memory-write-packet-size". Add tests for "set remote
8393 memory-write-packet-size 0" and "set remote
8394 memory-write-packet-size fixed/limit".
8395
b1b60145
PA
83962018-05-22 Pedro Alves <palves@redhat.com>
8397
8398 PR gdb/22973
8399 * gdb.base/utf8-identifiers.c: New file.
8400 * gdb.base/utf8-identifiers.exp: New file.
8401
0ec848ad
PFC
84022018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8403
8404 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8405
2c3305f6
PFC
84062018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8407
8408 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8409
ce1e8424
TT
84102018-05-18 Tom Tromey <tom@tromey.com>
8411
8412 * gdb.base/ptype-offsets.exp: Update.
8413
ddfe970e
KS
84142018-05-17 Keith Seitz <keiths@redhat.com>
8415
8416 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8417 in expected breakpoint stop locations.
8418 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8419 move to proper scope to test variable values.
8420 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8421 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8422 New functions.
8423 (main): Call not_inline_func3.
8424 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8425 inline_func1, inline_func2, and inline_func3. Test that when each
8426 breakpoint is hit, GDB properly reports both the stop location
8427 and the backtrace. Repeat tests for temporary breakpoints.
8428
0726fcc6
MR
84292018-05-15 Maciej W. Rozycki <macro@mips.com>
8430
8431 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8432 rather then trying to access it in determining whether the PID
8433 of `gdbserver' could have been retrieved.
8434
8ee22052
AB
84352018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8436
8437 * gdb.arch/amd64-init-x87-values.S: New file.
8438 * gdb.arch/amd64-init-x87-values.exp: New file.
8439
7785df48
JK
84402018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8441
8442 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8443
56bcdbea
TT
84442018-05-04 Tom Tromey <tom@tromey.com>
8445
8446 PR python/22730:
8447 * gdb.python/python.exp: Test multi-line execute.
8448
a913fffb
TT
84492018-05-04 Tom Tromey <tom@tromey.com>
8450
8451 PR python/22731:
8452 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8453
7a2c85f2
TT
84542018-05-04 Tom Tromey <tom@tromey.com>
8455
8456 PR gdb/11750:
8457 * gdb.base/define.exp: Test defining a user command inside a user
8458 command.
8459 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8460
a3b60e45
JK
84612018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8462 Pedro Alves <palves@redhat.com>
8463
8464 PR breakpoints/19806 and support for PR external/20207.
8465 * gdb.base/watchpoint-unaligned.c: New file.
8466 * gdb.base/watchpoint-unaligned.exp: New file.
8467
45fe4a03
AB
84682018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8469
8470 * gdb.base/maint.exp: Make test names unique, use
8471 test_prefix_command_help to test 'help maint info', and remove
8472 repeated test of 'help maint'.
8473
9be2ae8f
TT
84742018-05-04 Tom Tromey <tom@tromey.com>
8475
8476 PR gdb/22619:
8477 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8478 behavior.
8479
11859c31
AB
84802018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8481
8482 * gdb.base/maint.exp: Process output from 'maint print registers'
8483 line at a time.
8484
089a9490
AB
84852018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8486
8487 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8488 timeout.
8489
9b0797e2
AB
84902018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8491
8492 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8493 filter pattern.
8494
f6ac5f3d
PA
84952018-05-02 Pedro Alves <palves@redhat.com>
8496
8497 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8498 to_log_command renames.
8499 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8500
77d3c63b
TT
85012018-05-02 Tom Tromey <tom@tromey.com>
8502
8503 * gdb.python/py-parameter.exp: Set test message.
8504
0489430a
TT
85052018-05-02 Tom Tromey <tom@tromey.com>
8506
8507 PR python/20084:
8508 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8509 PARAM_ZUINTEGER_UNLIMITED tests.
8510
1632f8ba
DR
85112018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8512
8513 PR rust/23124
8514 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8515 when casting.
8516
6d7bb824
TT
85172018-04-30 Tom Tromey <tom@tromey.com>
8518
8519 * gdb.python/py-type.exp: Check align attribute.
8520 * gdb.python/py-type.c: New "aligncheck" global.
8521
007e1530
TT
85222018-04-30 Tom Tromey <tom@tromey.com>
8523
8524 PR exp/17095:
8525 * gdb.dwarf2/dw2-align.exp: New file.
8526 * gdb.cp/align.exp: New file.
8527 * gdb.base/align.exp: New file.
8528 * lib/gdb.exp (gdb_int128_helper): New proc.
8529 (has_int128_c, has_int128_cxx): New caching procs.
8530
6873858b
TT
85312018-04-27 Tom Tromey <tom@tromey.com>
8532
8533 PR rust/22545:
8534 * gdb.rust/simple.exp: Add inclusive range tests.
8535
79188d8d
PA
85362018-04-26 Pedro Alves <palves@redhat.com>
8537
8538 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8539 ifunc breakpoint locations correctly of ifunc breakpoints set
8540 while the program resolves the ifunc.
8541
c7075ad5
PA
85422018-04-26 Pedro Alves <palves@redhat.com>
8543
8544 * gdb.base/gnu-ifunc-final.c: New file.
8545 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8546 * gdb.base/gnu-ifunc.exp (executable): Delete.
8547 (staticexecutable): Adjust.
8548 (lib_opts, exec_opts): Delete.
8549 (make_binsuffix, build, set-break): New procedures.
8550 (misc_tests): New, with tests factored out from the top level.
8551 (top level): Test different combinations of ifunc resolver name,
8552 resolver with and with debug info, and ifunc target with and
8553 without debug info. Wrap static tests with with_target_prefix.
8554
8388016d
PA
85552018-04-26 Pedro Alves <palves@redhat.com>
8556
8557 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8558 return type" warnings.
8559
249b5733
PA
85602018-04-25 Pedro Alves <palves@redhat.com>
8561
8562 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8563 killed".
8564 * gdb.base/kill-after-signal.exp: Likewise.
8565 * gdb.threads/kill.exp: Likewise.
8566
f67c0c91
SDJ
85672018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8568 Sergio Durigan Junior <sergiodj@redhat.com>
8569 Pedro Alves <palves@redhat.com>
8570
8571 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8572 regexps to expect for '[Inferior ... detached]' as well.
8573 * gdb.base/attach.exp: Likewise.
8574 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8575 "gdb_continue_to_end".
8576 (test_catch_syscall_with_wrong_args): Likewise.
8577 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8578 ']'. Don't set 'verbose' on.
8579 * gdb.base/foll-vfork.exp: Likewise.
8580 * gdb.base/fork-print-inferior-events.c: New file.
8581 * gdb.base/fork-print-inferior-events.exp: New file.
8582 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8583 '[Inferior ... has been killed]' message.
8584 * gdb.base/kill-after-signal.exp: Likewise.
8585 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8586 detach message.
8587 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8588 message.
8589 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8590 regexps to expect for '[Inferior ... detached]' as well.
8591 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8592
0a8ddac4
SM
85932018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8594
8595 PR gdb/23104
8596 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8597
701adfb0
PA
85982018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8599
8600 PR gdb/23095
8601 * gdb.base/break-probes.exp: Pass shlib_load to
8602 prepare_for_testing. Set normal_bp to r_debug_state if target is
8603 bsd.
8604
d27d16bf
RB
86052018-04-19 Richard Bunt <richard.bunt@arm.com>
8606
8607 * gdb.threads/multiple-successive-infcall.c: New test.
8608 * gdb.threads/multiple-successive-infcall.exp: New file.
8609
a037790e
TT
86102018-04-17 Tom Tromey <tom@tromey.com>
8611
8612 * gdb.rust/simple.rs (Union): New type.
8613 (main): New local "u".
8614 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8615
e3a91079
AA
86162018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8617
8618 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8619 number information in output of "whereis" command.
8620 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8621
b744723f
AA
86222018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8623
8624 * gdb.ada/info_types.exp: Adjust expected output to the line
8625 numbers now printed by "info var/func/type".
8626 * gdb.base/completion.exp: Likewise.
8627 * gdb.base/included.exp: Likewise.
8628 * gdb.cp/cp-relocate.exp: Likewise.
8629 * gdb.cp/cplusfuncs.exp: Likewise.
8630 * gdb.cp/namespace.exp: Likewise.
8631 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8632
4a4495d6
MM
86332018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8634
8635 * gdb.btrace/cpu.exp: New.
8636
1d509aa6
MM
86372018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8638
8639 * gdb.base/step-indirect-call-thunk.exp: New.
8640 * gdb.base/step-indirect-call-thunk.c: New.
8641 * gdb.reverse/step-indirect-call-thunk.exp: New.
8642 * gdb.reverse/step-indirect-call-thunk.c: New.
8643
6295b6da
SM
86442018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8645
8646 * gdb.base/pie-fork.c: New file.
8647 * gdb.base/pie-fork.exp: New file.
8648
50146e70
TT
86492018-04-11 Tom Tromey <tom@tromey.com>
8650
8651 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8652
f50d8a2e
PA
86532018-04-10 Pedro Alves <palves@redhat.com>
8654
8655 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8656 exits. Instead loop running forever.
8657 (fork_parent): Run forever too.
8658
a0be7a36
SM
86592018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8660
8661 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8662 mi_continue_to_line.
8663 * gdb.mi/mi-stack.c (callee4): Add comment.
8664
9b73db36
SM
86652018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8666
8667 * gdb.mi/mi-stack.exp: Fix indentation.
8668
c912f608
SM
86692018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8670
8671 PR gdb/22979
8672 * gdb.arch/amd64-osabi.exp: New file.
8673
26540402
SM
86742018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8675
8676 PR gdb/22980
8677 * gdb.base/osabi.exp: New file.
8678
121ad66c 86792018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8680
8681 * gdb.cp/static-typedef-print.exp: New file.
8682 * gdb.cp/static-typedef-print.cc: New file.
8683
3fcded8f
JB
86842018-03-27 Joel Brobecker <brobecker@adacore.com>
8685
8686 * gdb.ada/varsize_limit: New testcase.
8687
59cc4834
JB
86882018-03-27 Joel Brobecker <brobecker@adacore.com>
8689
8690 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8691
8692 * gdb.ada/notcplusplus: New testcase.
8693
8694 * gdb.base/c-linkage-name.c: New file.
8695 * gdb.base/c-linkage-name.exp: New testcase.
8696
4ca59a9f
TT
86972018-03-26 Tom Tromey <tom@tromey.com>
8698
8699 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8700 * gdb.python/py-framefilter.py (name_error): New global.
8701 (ErrorInName.function): Use name_error.
8702
978d6c75
TT
87032018-03-26 Tom Tromey <tom@tromey.com>
8704
8705 PR backtrace/15582:
8706 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8707
b7fee5a3
KS
87082018-03-23 Keith Seitz <keiths@redhat.com>
8709
8710 PR c++/22968
8711 * gdb.cp/subtypes.exp: New file.
8712 * gdb.cp/subtypes.h: New file.
8713 * gdb.cp/subtypes.cc: New file.
8714 * gdb.cp/subtypes-2.cc: New file.
8715
376be529
AB
87162018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8717
8718 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8719 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8720 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8721 -nostartfiles when compiling the test. Confirm that all registers
8722 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8723
066cfa98
AB
87242018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8725
8726 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8727 option, syntax was wrong anyway.
8728 * gdb.arch/arm-disp-step.exp: Likewise.
8729 * gdb.arch/sparc64-regs.exp: Likewise.
8730 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8731 option, syntax was wrong anyway, switch to use
8732 prepare_for_testing.
8733 * gdb.arch/i386-disp-step.exp: Likewise.
8734
079670b9
AA
87352018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8736
8737 * gdb.ada/exec_changed.exp: Replace "target_info exists
8738 use_gdb_stub" by "use_gdb_stub".
8739 * gdb.ada/start.exp: Likewise.
8740 * gdb.base/async-shell.exp: Likewise.
8741 * gdb.base/attach-pie-misread.exp: Likewise.
8742 * gdb.base/attach-wait-input.exp: Likewise.
8743 * gdb.base/break-entry.exp: Likewise.
8744 * gdb.base/break-interp.exp: Likewise.
8745 * gdb.base/dprintf-detach.exp: Likewise.
8746 * gdb.base/nostdlib.exp: Likewise.
8747 * gdb.base/solib-nodir.exp: Likewise.
8748 * gdb.base/statistics.exp: Likewise.
8749 * gdb.base/testenv.exp: Likewise.
8750 * gdb.mi/mi-exec-run.exp: Likewise.
8751 * gdb.mi/mi-start.exp: Likewise.
8752 * gdb.multi/dummy-frame-restore.exp: Likewise.
8753 * gdb.multi/multi-arch-exec.exp: Likewise.
8754 * gdb.multi/multi-arch.exp: Likewise.
8755 * gdb.multi/tids.exp: Likewise.
8756 * gdb.multi/watchpoint-multi.exp: Likewise.
8757 * gdb.python/py-events.exp: Likewise.
8758 * gdb.threads/attach-into-signal.exp: Likewise.
8759 * gdb.threads/attach-stopped.exp: Likewise.
8760 * gdb.threads/threadapply.exp: Likewise.
8761 * lib/selftest-support.exp: Likewise.
8762
26d6cec4
AA
87632018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8764
8765 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8766
4ee89e90
SR
87672018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8768
8769 * gdb.perf/template-breakpoints.cc: New file.
8770 * gdb.perf/template-breakpoints.exp: New file.
8771 * gdb.perf/template-breakpoints.py: New file.
8772
92630041
TT
87732018-03-19 Tom Tromey <tom@tromey.com>
8774
8775 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8776 y0.
8777 * gdb.rust/simple.exp: Test bare identifier form of struct
8778 initializer.
8779
76727919
TT
87802018-03-19 Tom Tromey <tom@tromey.com>
8781
8782 * gdb.gdb/observer.exp: Remove.
8783
194ed413
AA
87842018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8785
8786 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8787 "qualified" option when setting breakpoints.
8788 * gdb.trace/backtrace.exp: Likewise.
8789 * gdb.trace/circ.exp: Likewise.
8790 * gdb.trace/collection.exp: Likewise.
8791 * gdb.trace/disconnected-tracing.exp: Likewise.
8792 * gdb.trace/ftrace-lock.exp: Likewise.
8793 * gdb.trace/ftrace.exp: Likewise.
8794 * gdb.trace/infotrace.exp: Likewise.
8795 * gdb.trace/packetlen.exp: Likewise.
8796 * gdb.trace/passc-dyn.exp: Likewise.
8797 * gdb.trace/qtro.exp: Likewise.
8798 * gdb.trace/read-memory.exp: Likewise.
8799 * gdb.trace/report.exp: Likewise.
8800 * gdb.trace/signal.exp: Likewise.
8801 * gdb.trace/status-stop.exp: Likewise.
8802 * gdb.trace/strace.exp: Likewise.
8803 * gdb.trace/tfind.exp: Likewise.
8804 * gdb.trace/trace-break.exp: Likewise.
8805 * gdb.trace/trace-condition.exp: Likewise.
8806 * gdb.trace/trace-mt.exp: Likewise.
8807 * gdb.trace/tstatus.exp: Likewise.
8808 * gdb.trace/tsv.exp: Likewise.
8809 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8810 * gdb.trace/unavailable.exp: Likewise.
8811 * gdb.trace/while-dyn.exp: Likewise.
8812
8b067d2c
AA
88132018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8814
8815 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8816 that libinproctrace is copied to the target.
8817
3ae9ce5d
TT
88182018-03-14 Tom Tromey <tom@tromey.com>
8819
8820 PR cli/14977:
8821 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8822 a null pointer.
8823 * gdb.base/wchar.exp: Likewise.
8824
b8c2339b
TT
88252018-03-14 Tom Tromey <tom@tromey.com>
8826
8827 PR cli/19918:
8828 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8829 flag.
8830
4872dc46
SM
88312018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8832
8833 PR gdb/22841
8834 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8835 "target" to remote_exec.
8836
e4fe3756
SM
88372018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8838
8839 PR gdb/22841
8840 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8841 ${board}_upload): Remove.
8842
e95a97d4
AA
88432018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8844
8845 * gdb.cp/watch-cp.cc: New test.
8846 * gdb.cp/watch-cp.exp: New file.
8847
dbbb1059
AB
88482018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8849
8850 * gdb.base/infcall-nested-structs.exp: New file.
8851 * gdb.base/infcall-nested-structs.c: New file.
8852 * gdb.base/float.exp: Add riscv support.
8853
ecc054c0
TP
88542018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8855
8856 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8857 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8858
25e3c82c
SDJ
88592018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8860
8861 * gdb.server/abspath.exp: New file.
8862 * lib/gdb.exp (with_cwd): New procedure.
8863
3083294d
SM
88642018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8865
8866 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8867 use it.
8868 (gdb_is_target_remote_prompt): New proc.
8869 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8870 (gdb_is_target_native): Pass prompt parameter to
8871 gdb_is_target_1.
8872
3275ef47
SM
88732018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8874
8875 * gdb.base/load-command.c: New file.
8876 * gdb.base/load-command.exp: New file.
8877 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8878 (gdb_is_target_1): ...this, and generalize for other targets
8879 than just remote.
8880 (gdb_is_target_remote): Use gdb_is_target_1.
8881 (gdb_is_target_native): use gdb_is_target_1.
8882
6893c19a
TT
88832018-02-26 Tom Tromey <tom@tromey.com>
8884
8885 PR python/16497:
8886 * gdb.python/py-framefilter.exp: Update test.
8887
2ddeaf8a
TT
88882018-02-26 Tom Tromey <tom@tromey.com>
8889
8890 * gdb.dwarf2/variant.c: New file.
8891 * gdb.dwarf2/variant.exp: New file.
8892
c9317f21
TT
88932018-02-26 Tom Tromey <tom@tromey.com>
8894
8895 * gdb.rust/simple.exp: Accept more possible results in enum test.
8896
6f6d0c26
SM
88972018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8898
8899 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8900 parentheses.
8901
11b03145
MR
89022018-02-23 Maciej W. Rozycki <macro@mips.com>
8903
8904 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8905 name of a variable: $actual_linejj -> $actual_line.
8906
54a27fe5
JB
89072018-02-21 John Baldwin <jhb@FreeBSD.org>
8908
8909 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8910
de65820c
MM
89112018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8912
8913 * gdb.btrace/buffer-size.exp: Do not force BTS.
8914
980548fd
PA
89152018-02-14 Pedro Alves <palves@redhat.com>
8916
8917 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8918 getting a "Quit".
8919
c4e12631
MM
89202018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8921
8922 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8923 Fix test name.
8924
c2e0e465
SM
89252018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8926
8927 * gdb.cp/m-static.exp: Check type of optimized out static
8928 member.
8929
f7216783
AB
89302018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8931
8932 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8933 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8934
0625771b
LS
89352018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8936 Leszek Swirski <leszeks@google.com>
8937
8938 * gdb.python/py-prettyprint.c
8939 (struct to_string_returns_value_inner,
8940 struct to_string_returns_value_wrapper): New.
8941 (main): Add tsrvw variable.
8942 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8943 ToStringReturnsValueWrapper): New classes.
8944 (register_pretty_printers): Register new pretty-printers.
8945 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8946 recursive pretty printer.
8947 * gdb.python/py-mi.exp: Likewise.
8948
59498c30
LS
89492018-02-01 Leszek Swirski <leszeks@google.com>
8950
8951 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8952 functions with the same name as an include file are parsed
8953 correctly.
8954
d4d38844
YQ
89552018-02-01 Yao Qi <yao.qi@linaro.org>
8956
8957 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8958 "\[^\r\n\]*".
8959
07e5f5cf
NP
89602018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8961
8962 * gdb.arch/powerpc-prologue-frame.s: New file.
8963 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8964 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8965
929b5ad4
JB
89662018-01-31 Joel Brobecker <brobecker@adacore.com>
8967
8968 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8969
e671cd59
PA
89702018-01-30 Pedro Alves <palves@redhat.com>
8971
8972 PR gdb/13211
8973 * gdb.base/interrupt-daemon.c: New.
8974 * gdb.base/interrupt-daemon.exp: New.
8975 * gdb.multi/multi-term-settings.c: New.
8976 * gdb.multi/multi-term-settings.exp: New.
8977
fc413dc4
JB
89782018-01-30 Joel Brobecker <brobecker@adacore.com>
8979
8980 * gdb.base/break.exp: Save the location where the breakpoint
8981 on break.c:47 was actually inserted when debugging the version
8982 compiled at -O2 and use it in the expected output of the "info
8983 break" test performed soon after.
8984
5c319bb2
PA
89852018-01-22 Pedro Alves <palves@redhat.com>
8986 Sergio Durigan Junior <sergiodj@redhat.com>
8987
8988 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8989 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8990
a9e40818
JB
89912018-01-22 Joel Brobecker <brobecker@adacore.com>
8992
8993 * gdb.base/break-include.c, gdb.base/break-include.inc,
8994 gdb.base/break-include.exp: New files.
8995 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8996 line number now being the actual line number where the breakpoint
8997 was inserted.
8998 * gdb.mi/mi-break.exp: Likewise.
8999 * gdb.mi/mi-reverse.exp: Likewise.
9000 * gdb.mi/mi-simplerun.exp: Ditto.
9001
e707fc44
AB
90022018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9003
9004 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9005 varobj.
9006 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9007
ae451627
AB
90082018-01-21 Don Breazeal <donb@codesourcery.com>
9009 Andrew Burgess <andrew.burgess@embecosm.com>
9010
9011 * gdb.mi/basics.c: Add new global.
9012 * gdb.mi/mi-frame-regs.exp: New file.
9013 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9014 case.
9015
b1b189e0
AB
90162018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9017
9018 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9019 non-parameter, and on an unknown symbol.
9020
fcfcc376
TT
90212018-01-19 Tom Tromey <tom@tromey.com>
9022
9023 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9024 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9025
634c1c31
AA
90262018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9027
9028 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9029 setrlimit and chdir to int.
9030
d6ad07fd
AA
90312018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9032
9033 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9034 function.
9035 (my_tend): Likewise.
9036 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9037 rationale of avoiding FP- and vector instructions.
9038
adf8243b
RK
90392018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9040
9041 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9042 "info reg" with "\[ \t\]*".
9043 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9044 "\[ \t\]+".
9045 * gdb.arch/s390-multiarch.exp: Ditto.
9046 * gdb.base/pc-fp.exp: Ditto.
9047 * gdb.reverse/i386-precsave.exp: Ditto.
9048 * gdb.reverse/i386-reverse.exp: Ditto.
9049 * gdb.reverse/i387-env-reverse.exp: Ditto.
9050 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9051
dcc06925
AA
90522018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9053
9054 * lib/gdb.exp (gdb_compile): Re-enable use of
9055 universal_compile_options for languages other than Rust.
9056
25d4fd80
AA
90572018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9058
9059 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9060
ee7f689e 90612018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
9062
9063 PR gdb/16577
9064 * gdb.base/solib-vanish.exp: New.
9065 * gdb.base/solib-vanish-main.c: New.
9066 * gdb.base/solib-vanish-lib1.c: New.
9067 * gdb.base/solib-vanish-lib2.c: New.
9068
d8447b6b
YQ
90692018-01-17 Yao Qi <yao.qi@linaro.org>
9070
9071 * gdb.compile/compile.exp: Match the address printed for
9072 frame in the output of command "bt".
9073
86d6a90c
TT
90742018-01-15 Tom Tromey <tom@tromey.com>
9075
9076 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9077 compute sp_reg.
9078
cbcdb1aa
AB
90792018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9080
9081 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9082 to prepare.
9083 (prepare): Return 0 on error, 1 on success.
9084
eea61984
PA
90852018-01-12 Pedro Alves <palves@redhat.com>
9086
9087 * gdb.base/continue-after-aborted-step-over.c: New.
9088 * gdb.base/continue-after-aborted-step-over.exp: New.
9089
6181e9c2
SM
90902018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9091
9092 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9093 options when not creating an executable.
9094
3cada740
PA
90952018-01-11 Pedro Alves <palves@redhat.com>
9096
9097 PR remote/22597
9098 * gdb.server/stop-reply-no-thread.c: New file.
9099 * gdb.server/stop-reply-no-thread.exp: New file.
9100
c63d3e8d
PA
91012018-01-10 Pedro Alves <palves@redhat.com>
9102
9103 PR gdb/22670
9104 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9105 functions too. Test setting breakpoints and printing C functions
9106 with no debug info too.
9107 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9108
d4c2a405
PA
91092018-01-10 Pedro Alves <palves@redhat.com>
9110
9111 PR gdb/22670
9112 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9113 a fail.
9114
8825213e
PA
91152018-01-10 Pedro Alves <palves@redhat.com>
9116
9117 PR gdb/22670
9118 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9119
605fd3c6
YQ
91202018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9121
9122 * gdb.server/unittest.exp: Match the output in non-development
9123 mode.
9124
1e5ded6c
YQ
91252018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9126
9127 * gdb.gdb/unittest.exp: Match output in non-development mode.
9128
30066b0b
JB
91292018-01-08 Joel Brobecker <brobecker@adacore.com>
9130
9131 * gdb.ada/access_tagged_param.exp: Relax expected output
9132 for value of "ObjL" in "continue" to pck.inspect breakpoint
9133 test.
9134
04bafb1e
XR
91352018-01-08 Joel Brobecker <brobecker@adacore.com>
9136
9f86398b
JB
9137 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9138 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9139
e379cee6
PA
91402018-01-05 Pedro Alves <palves@redhat.com>
9141
9142 PR gdb/18653
9143 * gdb.base/libsegfault.exp: New.
9144
de63c46b
PA
91452018-01-05 Joel Brobecker <brobecker@adacore.com>
9146
9147 PR gdb/22670
9148 * gdb.ada/access_tagged_param.exp: New file.
9149 * gdb.ada/access_tagged_param/foo.adb: New file.
9150
f98fc17b
PA
91512018-01-05 Pedro Alves <palves@redhat.com>
9152
9153 PR gdb/22670
9154 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9155 exercise lower case too, and to exercise both full matching and
9156 wild matching.
9157
342f8240
JB
91582018-01-05 Joel Brobecker <brobecker@adacore.com>
9159
9160 * gdb.ada/rename_subscript_param: New testcase.
9161
7150d33c
JG
91622018-01-05 Jerome Guitton <guitton@adacore.com>
9163
9164 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9165
cc0e770c
JB
91662018-01-05 Joel Brobecker <brobecker@adacore.com>
9167
9168 * gdb.ada/convvar_comp: New testcase.
9169
672a41aa 91702018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9171
9172 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9173 (My_Table): New global variable.
9174 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9175
7365ec2f
JB
91762018-01-04 Joel Brobecker <brobecker@adacore.com>
9177
9178 PR gdb/22670
9179 * gdb.ada/maint_with_ada: New testcase.
9180
289483b6
JB
91812018-01-04 Joel Brobecker <brobecker@adacore.com>
9182
9183 PR gdb/22670
9184 * gdb.ada/bp_c_mixed_case: New testcase.
9185
344420da
JB
91862018-01-04 Joel Brobecker <brobecker@adacore.com>
9187
9188 PR gdb/22670
9189 * gdb.ada/complete.exp: Add "complete break ada" test.
9190
66fc87a0
JB
91912018-01-04 Joel Brobecker <brobecker@adacore.com>
9192
9193 PR gdb/22670
9194 * gdb.ada/info_addr_mixed_case: New testcase.
9195
9f757bf7
XR
91962018-01-03 Xavier Roirand <roirand@adacore.com>
9197
9198 * gdb.ada/excep_handle.exp: New testcase.
9199 * gdb.ada/excep_handle/foo.adb: New file.
9200 * gdb.ada/excep_handle/pck.ads: New file.
9201
bd570f80
JB
92022018-01-03 Joel Brobecker <brobecker@adacore.com>
9203
9204 * gdb.base/step-line.c: Add extra empty line in copyright header.
9205 * gdb.base/step-line.inp: Likewise.
9206
9fe561ab
JB
92072018-01-02 Joel Brobecker <brobecker@adacore.com>
9208
9209 * gdb.ada/dyn_stride.exp: Add slice test.
9210
a405673c
JB
92112018-01-02 Joel Brobecker <brobecker@adacore.com>
9212
9213 * gdb.ada/dyn_stride: New testcase.
9214
cef0f868
SH
92152017-12-27 Stafford Horne <shorne@gmail.com>
9216
9217 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9218 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9219
b67d92b0
SH
92202017-12-27 Stafford Horne <shorne@gmail.com>
9221
9222 * gdb.base/reggroups.c: New file.
9223 * gdb.base/reggroups.exp: New file.
9224
eccab96d
JB
92252017-12-18 Joel Brobecker <brobecker@adacore.com>
9226
9227 * gdb.dwarf2/ada-valprint-error.c: New file.
9228 * gdb.dwarf2/ada-valprint-error.exp: New file.
9229
0e2da9f0
JB
92302017-12-18 Joel Brobecker <brobecker@adacore.com>
9231
9232 * gdb.ada/assign_arr: New testcase.
9233
cb923fcc
XR
92342017-12-18 Xavier Roirand <roirand@adacore.com>
9235
9236 * gdb.ada/funcall_ptr: New testcase.
9237
7c161838
SDJ
92382017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9239
9240 PR cli/16224
9241 * gdb.base/ptype-offsets.cc: New file.
9242 * gdb.base/ptype-offsets.exp: New file.
9243
1af17fd9
YQ
92442017-12-15 Yao Qi <yao.qi@linaro.org>
9245
9246 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9247 if XML is disabled.
9248
828d5846
XR
92492017-12-15 Xavier Roirand <roirand@adacore.com>
9250
9251 * gdb.ada/same_component_name: New testcase.
9252
79e8fcaa
JB
92532017-12-14 Joel Brobecker <brobecker@adacore.com>
9254
9255 * gdb.ada/str_binop_equal: New testcase.
9256
e05fa6f9
JB
92572017-12-14 Joel Brobecker <brobecker@adacore.com>
9258
9259 * gdb.ada/task_switch_in_core: New testcase.
9260
b89641ba
SM
92612017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9262
9263 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9264 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9265 call test_bkpt_qualified.
9266 (test_bkpt_qualified): New proc.
9267
6892d2e4
PA
92682017-12-13 Pedro Alves <palves@redhat.com>
9269
9270 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9271 Tighten regexp by matching with an anchor.
9272
a22ecf70
PA
92732017-12-13 Pedro Alves <palves@redhat.com>
9274
9275 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9276 ("expression with namespace"): New set of tests.
9277 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9278 (Nested::Test_NS::qux): New.
9279 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9280 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9281
9937536c
JB
92822017-12-13 Joel Brobecker <brobecker@adacore.com>
9283
9284 * gdb.base/server-del-break.c: New file.
9285 * gdb.base/server-del-break.exp: New file.
9286
fe49c6f5
SH
92872017-12-12 Stafford Horne <shorne@gmail.com>
9288
9289 * gdb.xml/tdesc-regs.exp: Add or1k support.
9290
c3d18620
SH
92912017-12-12 Stafford Horne <shorne@gmail.com>
9292
9293 * gdb.base/bp-permanent.c: Define nop of or1k.
9294
c5f9cfc8
JB
92952017-12-11 Joel Brobecker <brobecker@adacore.com>
9296
9297 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9298 output with components being reordered.
9299
a9c135fc
JB
93002017-12-11 Joel Brobecker <brobecker@adacore.com>
9301
9302 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9303 output with components being reordered.
9304
927aa2e7
JK
93052017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9306 Pedro Alves <palves@redhat.com>
9307
9308 * gdb.base/maint.exp (check for .gdb_index): Check also for
9309 .debug_names.
9310 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9311 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9312 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9313 (.gdb_index used after symbol reloading): Support also .debug_names.
9314 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9315
f17d9474
YQ
93162017-12-08 Yao Qi <yao.qi@linaro.org>
9317
9318 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9319 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9320
a0de8c21
YQ
93212017-12-08 Yao Qi <yao.qi@linaro.org>
9322
9323 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9324 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9325
a738ea1d
YQ
93262017-12-08 Yao Qi <yao.qi@linaro.org>
9327
9328 * gdb.arch/aarch64-tagged-pointer.c: New file.
9329 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9330
1cd9a73b
SDJ
93312017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9332
9333 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9334 "int".
9335
fa6eb693
KS
93362017-12-07 Keith Seitz <keiths@redhat.com>
9337
9338 PR breakpoints/22569
9339 * gdb.linespec/ls-errs.exp: Change expected result of "break
9340 -source this file has spaces.c -line 3".
9341 Check that an explicit source file followed by whitespace is
9342 identified as an invalid explicit location.
9343
883fd55a
KS
93442017-12-07 Keith Seitz <keiths@redhat.com>
9345
9346 * gdb.cp/nested-types.cc: New file.
9347 * gdb.cp/nested-types.exp: New file.
9348 * lib/cp-support.exp: Load data-structures.exp library.
9349 (debug_cp_test_ptype_class): New global.
9350 (cp_ptype_class_verbose, next_line): New procedures.
9351 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9352 Add and document new return value.
9353 Switch the list of lines to a queue.
9354 Add support for new `type' key for nested type definitions.
9355 Add debugging/troubleshooting messages.
9356 * lib/data-structures.exp: New file.
9357
ec72db3e
SM
93582017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9359
9360 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9361 with proc_with_prefix, don't use with_test_prefix.
9362
99598d71
TT
93632017-12-07 Tom Tromey <tom@tromey.com>
9364
9365 * gdb.base/break.exp: Add test for empty "commands".
9366
a8806230
YQ
93672017-12-07 Yao Qi <yao.qi@linaro.org>
9368
9369 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9370 malloc and catch syscall.
9371
824cc835
PM
93722017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9373
e79be6e5 9374 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
9375 tests for explicit locations.
9376
7cc244de
PA
93772017-12-06 Pedro Alves <palves@redhat.com>
9378
9379 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9380 force-disabling XML descriptions.
9381
50a1fdd5
PA
93822017-12-04 Pedro Alves <palves@redhat.com>
9383
9384 PR gdb/22499
9385 * gdb.arch/amd64-disp-step-avx.S: New file.
9386 * gdb.arch/amd64-disp-step-avx.exp: New file.
9387
f0fb2488
PA
93882017-12-03 Pedro Alves <palves@redhat.com>
9389
9390 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9391 and <string.h>.
9392 (parent_function): Print distinct messages when waitpid fails, or
9393 the child exits with a signal, or the child exits for an unhandled
9394 reason.
9395 * gdb.threads/process-dies-while-detaching.exp
9396 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9397 it. Wait for both inferior output and GDB's prompt. Use an
9398 indirect spawn id list.
9399 (do_detach): New parameter 'child_exit'. Use it to compute
9400 expected inferior output.
9401 (test_detach, test_detach_watch, test_detach_killed_outside):
9402 Adjust to pass down the expected child exit kind.
9403
97cbe998
SDJ
94042017-12-01 Joel Brobecker <brobecker@adacore.com>
9405 Sergio Durigan Junior <sergiodj@redhat.com>
9406 Pedro Alves <palves@redhat.com>
9407
9408 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9409
40fc416f
SDJ
94102017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9411
9412 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9413 to 'symbol-file' and 'add-symbol-file' can be
9414 position-independent.
9415
1cc75e92
YQ
94162017-12-01 Yao Qi <yao.qi@linaro.org>
9417
9418 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9419 the URL in copyright header.
9420 * gdb.arch/aarch64-fp.exp: Likewise.
9421 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9422 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9423 * gdb.base/expand-psymtabs.exp: Likewise.
9424 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9425 * gdb.fortran/common-block.exp: Likewise.
9426 * gdb.fortran/common-block.f90: Likewise.
9427 * gdb.fortran/logical.exp: Likewise.
9428 * gdb.fortran/vla-datatypes.f90: Likewise.
9429 * gdb.fortran/vla-sub.f90: Likewise.
9430
875fb7a7
JB
94312017-11-30 Joel Brobecker <brobecker@adacore.com>
9432
9433 * gdb.ada/repeat_dyn: New testcase.
9434
6f14765f
UW
94352017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9436
9437 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9438 Update for changed thread numbering.
9439 * gdb.cell/bt.exp: Update for changed GDB output.
9440
f1af7b94
SM
94412017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9442
9443 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9444 setting isremote by hand.
9445 * boards/dwarf4-gdb-index.exp: Likewise.
9446 * boards/fission.exp: Likewise.
9447 * boards/stabs.exp: Likewise.
9448
e3919f3e
PA
94492017-11-30 Pedro Alves <palves@redhat.com>
9450
9451 * gdb.linespec/cpls-ops.exp
9452 (check_explicit_skips_function_argument): Extract the underlying
9453 type of size_t instead of hardcoding it.
9454
bd69330d
PA
94552017-11-29 Pedro Alves <palves@redhat.com>
9456
9457 PR c++/19436
9458 * gdb.linespec/cpls-abi-tag.cc: New file.
9459 * gdb.linespec/cpls-abi-tag.exp: New file.
9460
a20714ff
PA
94612017-11-29 Pedro Alves <palves@redhat.com>
9462
9463 * gdb.base/langs.exp: Use -qualified.
9464 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9465 it.
9466 * gdb.cp/namespace.exp: Use -qualified.
9467 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9468 (overload-3, template-overload, template-ret-type, const-overload)
9469 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9470 procedures.
9471 (test_driver): Call them.
9472 * gdb.cp/save-bp-qualified.cc: New.
9473 * gdb.cp/save-bp-qualified.exp: New.
9474 * gdb.linespec/explicit.exp: Test -qualified.
9475 * lib/completion-support.exp (completion::explicit_opts_list): Add
9476 "-qualified".
9477 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9478
f6f1d339
PM
94792017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9480
9481 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9482
02ca603a
TT
94832017-11-29 Tom Tromey <tom@tromey.com>
9484
9485 * gdb.base/relocate.exp: Update invalid argument test.
9486 Add new tests for invalid arguments.
9487
ed6c0bfb
TP
94882017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9489
9490 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9491 Return 0 as a long.
9492 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9493
f106e10e
TP
94942017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9495
9496 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9497 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9498 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9499 func ().
9500 * gdb.cp/shadow.cc (B.func): Return 0.
9501
10329bb2
JB
95022017-11-27 Joel Brobecker <brobecker@adacore.com>
9503
9504 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9505 expected output in gdb_expect call to allow the exception
9506 message to be present as well. Fix syntax confusion to avoid
9507 TCL thinking that exception_name is an array.
9508
617cd4bc
UW
95092017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9510
9511 * gdb.arch/spu-info.c: Include <unistd.h>.
9512 (do_signal_test): Fix broken calls to write.
9513 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9514 Fix checks for empty mailboxes. Update signal tests for corrected
9515 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9516 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9517 * gdb.cell/arch.exp: Use standard_output_file.
9518 * gdb.cell/break.exp: Likewise.
9519 * gdb.cell/bt.exp: Likewise.
9520 * gdb.cell/core.exp: Likewise.
9521 * gdb.cell/dwarfaddr.exp: Likewise.
9522 * gdb.cell/ea-cache.exp: Likewise.
9523 * gdb.cell/ea-standalone.exp: Likewise.
9524 * gdb.cell/f-regs.exp: Likewise.
9525 * gdb.cell/fork.exp: Likewise.
9526 * gdb.cell/gcore.exp: Likewise.
9527 * gdb.cell/mem-access.exp: Likewise.
9528 * gdb.cell/ptype.exp: Likewise.
9529 * gdb.cell/registers.exp: Likewise.
9530 * gdb.cell/sizeof.exp: Likewise.
9531 * gdb.cell/solib-symbol.exp: Likewise.
9532 * gdb.cell/solib.exp: Likewise.
617cd4bc 9533
a81aaca0
PA
95342017-11-25 Pedro Alves <palves@redhat.com>
9535
9536 * gdb.base/complete-empty.exp: New file.
9537 * gdb.base/completion.exp: Adjust.
9538
6a3c6ee4
PA
95392017-11-25 Pedro Alves <palves@redhat.com>
9540
9541 * gdb.linespec/cpls-ops.cc: New file.
9542 * gdb.linespec/cpls-ops.exp: New file.
9543 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9544 factored out from ...
9545 (test_complete_prefix_range): ... this.
9546
8955eb2d
PA
95472017-11-24 Pedro Alves <palves@redhat.com>
9548
9549 * gdb.linespec/cpcompletion.exp: New file.
9550 * gdb.linespec/cpls-hyphen.cc: New file.
9551 * gdb.linespec/cpls.cc: New file.
9552 * gdb.linespec/cpls2.cc: New file.
9553 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9554 test to use test_gdb_complete_unique. Add label completion,
9555 keyword completion and explicit location completion tests.
9556 * lib/completion-support.exp: New file.
9557
e547c119
JB
95582017-11-24 Joel Brobecker <brobecker@adacore.com>
9559
9560 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9561 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9562 when hitting an exception catchpoint.
9563
7c3c1aa8
YQ
95642017-11-22 Yao Qi <yao.qi@linaro.org>
9565
9566 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9567
41bd68f5
SM
95682017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9569
9570 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9571 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9572 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9573
1daad298
YQ
95742017-11-22 Yao Qi <yao.qi@linaro.org>
9575
9576 * gdb.base/info-os.exp: Pass pthreads.
9577 * gdb.multi/multi-attach.exp: Likewise.
9578
88465e87
YQ
95792017-11-22 Yao Qi <yao.qi@linaro.org>
9580
9581 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9582 compiler.
9583
dc196b23
YQ
95842017-11-22 Yao Qi <yao.qi@linaro.org>
9585
9586 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9587 * gdb.base/break-interp.exp: Likewise.
9588 * gdb.base/jit-attach-pie.exp: Likewise.
9589
2400729e
UW
95902017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9591
9592 * gdb.base/float128.c (large128): New variable.
9593 * gdb.base/float128.exp: Add test to print largest __float128 value.
9594
7a26362d
UW
95952017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9596
9597 * gdb.arch/vsx-regs.exp: Update register content checks.
9598
ed0f4273
UW
95992017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9600
9601 * gdb.arch/ppc-longdouble.exp: New file.
9602 * gdb.arch/ppc-longdouble.c: Likewise.
9603
a25d69c6
PA
96042017-11-21 Pedro Alves <palves@redhat.com>
9605
9606 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9607
73fcf641
PA
96082017-11-20 Pedro Alves <palves@redhat.com>
9609
9610 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9611 (long_double_typedef): New typedefs.
9612 Use DEF on double and long double.
9613 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9614 cases.
9615 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9616 and 'long_double_ptr_same_size' locals. Use them to decide
9617 whether cast from array/function to float is valid/invalid.
9618
71a3c369
TT
96192017-11-17 Tom Tromey <tom@tromey.com>
9620
9621 * gdb.rust/traits.rs: New file.
9622 * gdb.rust/traits.exp: New file.
9623
ced9779b
JB
96242017-11-17 Joel Brobecker <brobecker@adacore.com>
9625
9626 * gdb.ada/minsyms: New testcase.
9627
a0922d80
PA
96282017-11-16 Pedro Alves <palves@redhat.com>
9629
9630 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9631 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9632
ea04e54c
PA
96332017-11-16 Pedro Alves <palves@redhat.com>
9634
9635 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9636 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9637
e849ea89
PA
96382017-11-16 Pedro Alves <palves@redhat.com>
9639
9640 * gdb.server/reconnect-ctrl-c.c: New file.
9641 * gdb.server/reconnect-ctrl-c.exp: New file.
9642
d8ae99a7
PM
96432017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9644
9645 * gdb.python/py-rbreak.exp: New file.
9646 * gdb.python/py-rbreak.c: New file.
9647 * gdb.python/py-rbreak-func2.c: New file.
9648
968a13f8
PA
96492017-11-16 Pedro Alves <palves@redhat.com>
9650
9651 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9652 pattern.
9653 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9654 GDB.
9655
71774bc9
SM
96562017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9657
9658 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9659 regex.
9660
ddbb44cf
SM
96612017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9662
9663 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9664 test names.
9665
584a564f
PA
96662017-11-09 Pedro Alves <palves@redhat.com>
9667
9668 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9669 factored out from ...
9670 (top level): ... here, and adjusted to avoid expecting beyond the
9671 prompt in a single gdb_test_multiple.
9672
5ed7a928
PA
96732017-11-09 Pedro Alves <palves@redhat.com>
9674
9675 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9676 output.
9677 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9678 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9679 * gdb.server/ext-run.exp ("kill" test): Likewise.
9680 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9681
a60e0738
PA
96822017-11-09 Pedro Alves <palves@redhat.com>
9683
9684 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9685 match till end of line.
9686
2c88253f
PA
96872017-11-09 Pedro Alves <palves@redhat.com>
9688
9689 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9690
c7a38517
PA
96912017-11-09 Pedro Alves <palves@redhat.com>
9692
9693 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9694 New procedures, factored out from ...
9695 (top level): ... here, and adjusted to avoid expecting beyond the
9696 prompt in one go.
9697
f29f4b6b
PA
96982017-11-09 Pedro Alves <palves@redhat.com>
9699
9700 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9701 output. Fix '?' match.
9702
286acbb5
JB
97032017-11-08 Joel Brobecker <brobecker@adacore.com>
9704
9705 * gdb.ada/scoped_watch: New testcase.
9706 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9707 which is actually correct.
9708 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9709 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9710
62d7ae92
PA
97112017-11-08 Pedro Alves <palves@redhat.com>
9712
9713 * gdb.gdb/complaints.exp (test_initial_complaints)
9714 (test_serial_complaints, test_short_complaints): Call
9715 complaint_internal instead of complaint.
9716
280ca31f
DT
97172017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9718
9719 * gdb.threads/tls-core.c: New file.
9720 * gdb.threads/tls-core.exp: Likewise.
9721
b5ec771e
PA
97222017-11-08 Pedro Alves <palves@redhat.com>
9723
9724 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9725 (p Exported_Capitalized): New test.
9726 (p exported_capitalized): New test.
9727
a02b41a7
PA
97282017-11-07 Pedro Alves <palves@redhat.com>
9729
9730 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9731
95e95a6d
PA
97322017-11-07 Pedro Alves <palves@redhat.com>
9733
9734 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9735 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9736 (disable_invalid, disable_inverted, disable_negative): New
9737 procedures.
9738 ("bad numbers"): New set of tests.
9739
cee62dbd
PA
97402017-11-07 Pedro Alves <palves@redhat.com>
9741
9742 * gdb.cp/ena-dis-br-range.exp: Add tests.
9743
cc638e86
PA
97442017-11-07 Pedro Alves <palves@redhat.com>
9745
9746 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9747
d0fe4701
XR
97482017-11-07 Xavier Roirand <roirand@adacore.com>
9749 Pedro Alves <palves@redhat.com>
9750
9751 * gdb.base/ena-dis-br.exp: Add reference to
9752 gdb.cp/ena-dis-br-range.exp.
9753 * gdb.cp/ena-dis-br-range.exp: New file.
9754 * gdb.cp/ena-dis-br-range.cc: New file.
9755
46f67f80
PA
97562017-11-06 Pedro Alves <palves@redhat.com>
9757
9758 * gdb.base/attach-non-pgrp-leader.c: New.
9759 * gdb.base/attach-non-pgrp-leader.exp: New.
9760
726e1356
PA
97612017-11-06 Pedro Alves <palves@redhat.com>
9762
9763 * configure.ac: No longer check for termio.h and sgtty.h.
9764 * configure: Regenerate.
9765 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9766 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9767 Remove termio and sgtty code.
9768
50ab6ace
YQ
97692017-11-03 Yao Qi <yao.qi@linaro.org>
9770
9771 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9772 in GDB is disabled.
9773
8e68731c
YQ
97742017-11-03 Yao Qi <yao.qi@linaro.org>
9775
9776 * gdb.python/py-thrhandle.exp: Skip it if python is not
9777 enabled.
9778
3a87ae65
SM
97792017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9780
9781 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9782 as a breakpoint command.
9783
484d8d36
MD
97842017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9785
9786 PR python/21213
9787 * gdb.python/py-infthread.exp: Test calling
9788 InferiorThread.inferior () multiple times in a row.
9789
4a27f119
KS
97902017-10-27 Keith Seitz <keiths@redhat.com>
9791
9792 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9793 Test "info break" for every inlined function breakpoint.
9794
bb11dd58
YQ
97952017-10-27 Yao Qi <yao.qi@linaro.org>
9796
9797 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9798
a43f3893
PF
97992017-10-26 Patrick Frants <osscontribute@gmail.com>
9800
9801 * gdb.cp/classes.exp (test_static_members): Test printing
9802 Outer::instance.
9803 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9804 (Inner::instance, Outer::instance): New.
9805
792ccf00
PA
98062017-10-24 Pedro Alves <palves@redhat.com>
9807
9808 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9809 extra console" test in two stages.
9810
eb2bfbad
PA
98112017-10-24 Pedro Alves <palves@redhat.com>
9812
9813 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9814
1f75a651
PA
98152017-10-24 Pedro Alves <palves@redhat.com>
9816
9817 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9818 loop.
9819
779990d9
PA
98202017-10-24 Pedro Alves <palves@redhat.com>
9821
9822 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9823 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9824
ad9b8f5d
PA
98252017-10-24 Pedro Alves <palves@redhat.com>
9826
9827 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9828 parameter and handle it. Don't output read value in test name.
9829
fee6da6e
PA
98302017-10-24 Pedro Alves <palves@redhat.com>
9831
9832 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9833 custom test name.
9834
10389c2c
PA
98352017-10-24 Pedro Alves <palves@redhat.com>
9836
9837 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9838 include the unstable output directory name in the test's name.
9839 (initial_setup_simple) <'set args'>: Use custom test name.
9840
a80e65a9
PA
98412017-10-24 Pedro Alves <palves@redhat.com>
9842
9843 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9844 with explicit test name.
9845
15763a09
PA
98462017-10-20 Pedro Alves <palves@redhat.com>
9847
9848 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9849 'wait -i'. Use gdb_assert and remote_close.
9850
49a4ce2e
AB
98512017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9852
9853 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9854 number from variable rather than hard-coded.
9855
a75868f5
PA
98562017-10-19 Pedro Alves <palves@redhat.com>
9857
9858 * gdb.base/long-inferior-output.c: New file.
9859 * gdb.base/long-inferior-output.exp: New file.
9860
c8ba13ad
KS
98612017-11-18 Keith Seitz <keiths@redhat.com>
9862
9863 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9864 method.
9865 (main): Call it.
9866 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9867 Add additional user-defined conversion operator tests.
9868
b27de576
PA
98692017-10-17 Pedro Alves <palves@redhat.com>
9870
9871 * boards/native-stdio-gdbserver.exp: Load "local-board".
9872
8484c955
PA
98732017-10-17 Pedro Alves <palves@redhat.com>
9874
9875 * gdb.base/quit-live.c: New file.
9876 * gdb.base/quit-live.exp: New file.
9877
83d5a34d
KS
98782017-10-16 Keith Seitz <keiths@redhat.com>
9879
9880 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9881 (class_with_protected_typedef, class_with_private_typedef)
9882 (struct_with_public_typedef, struct_with_protected_typedef)
9883 (struct_with_private_typedef): New classes/structs.
9884 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9885 typedefs and access specifiers.
9886
739b3f1d
PA
98872017-10-16 Pedro Alves <palves@redhat.com>
9888 Simon Marchi <simon.marchi@polymtl.ca>
9889
9890 * README (Local vs Remote vs Native): New section.
9891 * boards/local-board.exp: New file, with bits factored out from
9892 ...
9893 * boards/native-extended-gdbserver.exp: ... here. Load
9894 "local-board".
9895 * boards/native-gdbserver.exp: Load "local-board".
9896 (${board}_spawn, ${board}_exec): Delete.
9897 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9898 ...
9899 * boards/stdio-gdbserver-base.exp: ... this new file.
9900 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9901 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9902 procedure.
9903 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9904 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9905 stdio_gdbserver_command.
9906 (${board}_get_remote_address, ${board}_get_comm_port)
9907 (${board}_download, ${board}_upload): Delete.
9908 (get_target_remote_pipe_cmd): New.
9909
fe68b953
SM
99102017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9911
9912 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9913 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9914 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9915 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9916 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9917 remove with_test_prefix.
9918
300b6685
PA
99192017-10-13 Pedro Alves <palves@redhat.com>
9920
9921 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9922 * gdb.base/annota1.exp: Use it instead of is_remote.
9923 * gdb.base/annota3.exp: Use it instead of is_remote.
9924 * gdb.cp/annota2.exp: Use it instead of is_remote.
9925 * gdb.cp/annota3.exp: Use it instead of is_remote.
9926 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9927
50500caf
PA
99282017-10-13 Pedro Alves <palves@redhat.com>
9929
9930 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9931 (test_num_test_vars, run_and_count_vars, find_env)
9932 (test_set_unset_env, test_inherit_env_var): New procedures.
9933 (top level): Use them.
9934
dad0c6d2
PA
99352017-10-13 Pedro Alves <palves@redhat.com>
9936
9937 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9938 also skip on stub-like targets.
9939
8b0553c1
PA
99402017-10-13 Pedro Alves <palves@redhat.com>
9941
9942 PR gdb/22293
9943 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9944 (top level): Move some tests to ...
9945 (test_not_found): ... this new procedure.
9946 (top level): Call it.
9947
7594f623
PA
99482017-10-13 Pedro Alves <palves@redhat.com>
9949
9950 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9951 expect different "info terminal" output if testing with a
9952 non-native target.
9953
ebe3b402
PA
99542017-10-13 Pedro Alves <palves@redhat.com>
9955 Simon Marchi <simon.marchi@polymtl.ca>
9956
9957 PR python/12966
9958 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9959
42f1b161
PA
99602017-10-13 Pedro Alves <palves@redhat.com>
9961
9962 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9963 already.
9964
8d6ef72b
PA
99652017-10-13 Pedro Alves <palves@redhat.com>
9966
9967 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9968 is_remote.
9969
d7bcd5b8
PA
99702017-10-13 Pedro Alves <palves@redhat.com>
9971
9972 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9973 is_remote.
9974
df479dc6
PA
99752017-10-13 Pedro Alves <palves@redhat.com>
9976
9977 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9978 is set.
9979 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9980 instead of is_remote.
9981
23fb630a
PA
99822017-10-13 Pedro Alves <palves@redhat.com>
9983
9984 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9985 (top level): Add comment.
9986
cc77b1dc
PA
99872017-10-13 Pedro Alves <palves@redhat.com>
9988
9989 * gdb.base/remote.exp (top level): Fix comment typo and add
9990 missing return.
9991
27c9e813
PA
99922017-10-13 Pedro Alves <palves@redhat.com>
9993 Simon Marchi <simon.marchi@polymtl.ca>
9994
9995 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9996 calls and add comments. Skip test if use_gdb_stub is set.
9997 (top level): Use "set cwd" command instead of "cd" command.
9998
5e830d98
PA
99992017-10-13 Pedro Alves <palves@redhat.com>
10000
10001 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10002 is_remote target check.
10003
f5ca0032
PA
100042017-10-13 Pedro Alves <palves@redhat.com>
10005
10006 * gdb.base/scope.exp: Use build_executable + clean_restart +
10007 gdb_file_cmd instead of prepare_for_testing and no longer skip
10008 "before run" tests on is_remote target boards. Update comments.
10009 * boards/native-extended-gdbserver.exp
10010 (extended_gdbserver_load_last_file): New, factored out from ...
10011 (gdb_load): ... this. Move further below and add comment.
10012 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10013
8aed1c0d
PA
100142017-10-12 Pedro Alves <palves@redhat.com>
10015
10016 * gdb.base/attach.exp: Remove references to gdb64.
10017 * gdb.base/dbx.exp: Remove references to gdb64.
10018
cfa34c87
SM
100192017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10020 Pedro Alves <palves@redhat.com>
10021
10022 * gdb.base/label.exp: Remove is_remote target check.
10023
9192b7de
PA
100242017-10-12 Pedro Alves <palves@redhat.com>
10025
10026 * gdb.base/auvx.exp (coredir): Update comment.
10027 (top level) <core_works>: Use "set cwd" command instead of "cd"
10028 command.
10029
6bf0052d
PA
100302017-10-12 Pedro Alves <palves@redhat.com>
10031 Simon Marchi <simon.marchi@polymtl.ca>
10032
10033 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10034 target boards.
10035
e48ef82d
PA
100362017-10-12 Pedro Alves <palves@redhat.com>
10037 Simon Marchi <simon.marchi@polymtl.ca>
10038
10039 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10040 Instead skip if there's any gdb_protocol set.
10041
8d7aea57
SM
100422017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10043 Pedro Alves <palves@redhat.com>
10044
10045 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10046
30440677
PA
100472017-10-12 Pedro Alves <palves@redhat.com>
10048 Simon Marchi <simon.marchi@polymtl.ca>
10049
10050 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10051 instead of on dejagnu remote boards.
10052
4e04f045 100532017-10-12 Pedro Alves <palves@redhat.com>
175654b9 10054 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
10055
10056 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10057 checks. Use build_executable + clean_restart instead of
10058 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10059 of enabling non-stop after starting gdb.
10060
871a186e
PA
100612017-10-12 Pedro Alves <palves@redhat.com>
10062
10063 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10064 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10065 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10066 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10067
56d704da
AK
100682017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10069
10070 * gdb.arch/arc-tdesc-cpu.exp: New file.
10071 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10072
2f20e312
SM
100732017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10074
10075 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10076
65630365
PA
100772017-10-10 Pedro Alves <palves@redhat.com>
10078
10079 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10080 expect CLI output.
10081
bf469271
PA
100822017-10-10 Pedro Alves <palves@redhat.com>
10083
10084 * lib/selftest-support.exp (selftest_setup): Update for
10085 captured_command_loop's prototype change.
10086
777a42f1
PA
100872017-10-09 Pedro Alves <palves@redhat.com>
10088
10089 Test both arch1=>arch2 and arch2=>arch1.
10090
10091 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10092 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10093 factored out to...
10094 (append_arch1_options, append_arch2_options, append_arch_options)
10095 (build_executables): New procedures.
10096 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10097 local.
10098 (top level): Add new 'first_arch' testing axis.
10099
cbd2b4e3
PA
101002017-10-09 Pedro Alves <palves@redhat.com>
10101
10102 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10103 (barrier): New.
10104 (thread_start, all_started): New functions.
10105 (main): Spawn new thread and wait until it is scheduled.
10106 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10107 option.
10108 (do_test): Add 'selected_thread' parameter. Run to all_started
10109 instead of main. Explicitly set the breakpoint at main. Switch
10110 to the SELECTED_THREAD thread.
10111 (top level): Test handling the exec event with either the main
10112 thread or the second thread selected.
10113
5c9e4427
PA
101142017-10-09 Pedro Alves <palves@redhat.com>
10115
10116 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10117 logic. Move STOP marker after the value checks.
10118 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10119 regexp.
10120
b3b7c423
SL
101212017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10122
10123 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10124
3b4b2f16
UW
101252017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10126
10127 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10128 integer-to-dfp conversion.
10129 * gdb.base/dfp-test.exp: Likewise.
10130
5cd63fda
PA
101312017-10-04 Pedro Alves <palves@redhat.com>
10132
10133 * gdb.multi/hangout.c: Include <unistd.h>.
10134 (hangout_loop): New function.
10135 (main): Call alarm. Call hangout_loop in a loop.
10136 * gdb.multi/hello.c: Include <unistd.h>.
10137 (hello_loop): New function.
10138 (main): Call alarm. Call hangout_loop in a loop.
10139 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10140 inferior with the other selected.
10141
4c71c105
SM
101422017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10143
10144 * gdb.mi/list-thread-groups-available.exp: New file.
10145 * gdb.mi/list-thread-groups-available.c: New file.
10146
bc3b087d
SDJ
101472017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10148
10149 * gdb.base/set-cwd.exp: Make it available on
10150 native-extended-gdbserver.
10151
d092c5a2
SDJ
101522017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10153
10154 * gdb.base/set-cwd.c: New file.
10155 * gdb.base/set-cwd.exp: Likewise.
10156
45320ffa
TT
101572017-10-02 Tom Tromey <tom@tromey.com>
10158
10159 PR rust/22236:
10160 * gdb.rust/simple.rs (main): New variable "fslice".
10161 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10162
b3e3859b
TT
101632017-10-02 Tom Tromey <tom@tromey.com>
10164
10165 * gdb.rust/simple.exp: Test ptype of a slice.
10166
01af5e0d
TT
101672017-10-02 Tom Tromey <tom@tromey.com>
10168
10169 * gdb.rust/simple.exp: Test index of slice.
10170
a9bbfbd8
TT
101712017-09-27 Tom Tromey <tom@tromey.com>
10172
10173 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10174
df8899e5
TP
101752017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10176 Pedro Alves <palves@redhat.com>
10177
10178 * gdb.base/compare-sections.exp (get value of read-only section): Read
10179 as unsigned value.
10180 (corrupt read-only section): Likewise and don't set written if patching
10181 failed.
10182
757bf54b
KB
101832017-09-21 Kevin Buettner <kevinb@redhat.com>
10184
10185 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10186 files.
10187
06871ae8
PA
101882017-09-20 Pedro Alves <palves@redhat.com>
10189
10190 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10191 symbol names in gdb's output.
10192 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10193
e5f25bc5
PA
101942017-09-20 Pedro Alves <palves@redhat.com>
10195
10196 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10197 Rename to ...
10198 (test_list_ambiguous_symbol): ... this and add a symbol name
10199 parameter. Adjust.
10200 (test_list_ambiguous_function): Reimplement on top of
10201 test_list_ambiguous_symbol and also test listing ambiguous
10202 variables.
10203 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10204 (ambiguous_fun): ... this.
10205 (ambiguous_var): New.
10206 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10207 (ambiguous_fun): ... this.
10208 (ambiguous_var): New.
10209
4e5a4f58
JB
102102017-09-19 John Baldwin <jhb@FreeBSD.org>
10211
10212 * gdb.base/starti.c: New file.
10213 * gdb.base/starti.exp: New file.
10214 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10215
26e53f3e
PA
102162017-09-14 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10219 (top level): Use it instead of runto.
10220
cb791d59
TT
102212017-09-11 Tom Tromey <tom@tromey.com>
10222
10223 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10224
7c96f8c1
TT
102252017-09-11 Tom Tromey <tom@tromey.com>
10226
10227 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10228 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10229
469412dd
CW
102302017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10231
10232 * gdb.fortran/printing-types.exp: New file.
10233 * gdb.fortran/printing-types.exp: New file.
10234
e0f86435
BH
102352017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10236
10237 * gdb.fortran/vla-ptype.exp: Fix typos.
10238 * gdb.fortran/vla-value.exp: Same.
10239
9e9af4be
BH
102402017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10241
10242 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10243 * gdb.mi/mi-var-child-f.exp: Likewise.
10244 * gdb.mi/mi-vla-fortran.exp: Likewise.
10245
a5ad232b 102462017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10247 Christoph Weinmann <christoph.t.weinmann@intel.com>
10248 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10249
10250 * gdb.fortran/ptr-indentation.f90: New file.
10251 * gdb.fortran/ptr-indentation.exp: New file.
10252
5aec60eb
TT
102532017-09-05 Tom Tromey <tom@tromey.com>
10254
10255 PR gdb/22010:
10256 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10257
8f8f8152
TP
102582017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10259
10260 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10261
fbd1b771
JK
102622017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10263
10264 * gdb.threads/tls-nodebug-pie.c: New file.
10265 * gdb.threads/tls-nodebug-pie.exp: New file.
10266
5eb5f850
TT
102672017-09-05 Tom Tromey <tom@tromey.com>
10268
10269 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10270 for rust.
10271
ae780a21
SM
102722017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10273
10274 * gdb.multi/multi-arch-exec.exp: Test with different
10275 "follow-exec-mode" settings.
10276 (do_test): New procedure.
10277
3693fdb3
PA
102782017-09-04 Pedro Alves <palves@redhat.com>
10279
10280 * gdb.base/func-static.c (S::method const, S::method volatile)
10281 (S::method volatile const): New methods.
10282 (c_s, v_s, cv_s): New instances.
10283 (main): Call method() on them.
10284 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10285 (cannot_resolve): New procedure.
10286 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10287 print-quote-unquoted columns.
10288 (do_test): Test printing each scope too.
10289
e68cb8e0
PA
102902017-09-04 Pedro Alves <palves@redhat.com>
10291
10292 * gdb.base/local-static.exp: Also test with
10293 class::method::variable wholly quoted.
10294 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10295
858be34c
PA
102962017-09-04 Pedro Alves <palves@redhat.com>
10297
10298 * gdb.base/local-static.c: New.
10299 * gdb.base/local-static.cc: New.
10300 * gdb.base/local-static.exp: New.
10301
46a4882b
PA
103022017-09-04 Pedro Alves <palves@redhat.com>
10303
10304 * gdb.asm/asm-source.exp: Add casts to int.
10305 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10306 (dataglobal64_1, dataglobal64_2): New globals.
10307 * gdb.base/nodebug.exp: Test different expressions involving the
10308 new globals, with print, whatis and ptype. Add casts to int.
10309 * gdb.base/solib-display.exp: Add casts to int.
10310 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10311 * gdb.cp/m-static.exp: Add cast to int.
10312 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10313 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10314 tls variable with no debug info without a cast. Test with a cast
10315 to int too.
10316 * gdb.trace/entry-values.exp: Add casts.
10317
2c5a2be1
PA
103182017-09-04 Pedro Alves <palves@redhat.com>
10319
10320 * gdb.base/nodebug.exp: Test that ptype's error about functions
10321 with unknown return type includes the function name too.
10322
7022349d
PA
103232017-09-04 Pedro Alves <palves@redhat.com>
10324
10325 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10326 return type of munmap in infcall.
10327 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10328 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10329 type of ftell in infcall.
10330 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10331 type of getpid in infcall.
10332 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10333 infcall.
10334 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10335 Bail on failure to extract the pid.
10336 * gdb.base/nodebug.c: #include <stdint.h>.
10337 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10338 New functions.
10339 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10340 Change expected output of print/whatis/ptype with functions with
10341 no debug info. Test all supported languages. Call
10342 test_call_promotion.
10343 * gdb.compile/compile.exp: Adjust expected output to expect
10344 warning.
10345 * gdb.threads/siginfo-threads.exp: Likewise.
10346
54990598
PA
103472017-09-04 Pedro Alves <palves@redhat.com>
10348
10349 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10350 "prototypes". Test calling float functions via prototyped and
10351 unprototyped function pointers.
10352 (perform_all_tests): New parameter "prototypes". Pass it down.
10353 (top level): Pass down "prototypes" parameter to
10354 perform_all_tests.
10355
34d16ea2
SM
103562017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10357
10358 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10359 Test with nested loops.
10360
9521ecda
SM
103612017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10362
10363 * gdb.base/commands.exp: Call the new procedures.
10364 (loop_break_test, loop_continue_test): New procedures.
10365
80a65e9b
SM
103662017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10367
10368 * gdb.base/commands.exp: Call new procedure.
10369 (define_if_without_arg_test): New procedure.
10370
e439fa14
PA
103712017-09-04 Pedro Alves <palves@redhat.com>
10372
10373 * gdb.base/list-ambiguous.exp: New file.
10374 * gdb.base/list-ambiguous0.c: New file.
10375 * gdb.base/list-ambiguous1.c: New file.
10376 * gdb.base/list.exp (test_list_range): Adjust expected output.
10377
0a2dde4a
SDJ
103782017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10379
10380 * gdb.base/share-env-with-gdbserver.c: New file.
10381 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10382
5e89eb3a
SM
103832017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10384
10385 * gdb.base/commands.exp (gdbvar_simple_if_test,
10386 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10387 progvar_simple_if_test, progvar_simple_while_test,
10388 progvar_complex_if_while_test, user_defined_command_test,
10389 user_defined_command_args_eval,
10390 user_defined_command_args_stack_test,
10391 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10392 temporary_breakpoint_commands,
10393 gdb_test_no_prompt, redefine_hook_test,
10394 redefine_backtrace_test): Remove "global gdb_prompt".
10395
fd437cbc
SM
103962017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10397
10398 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10399 New proc, call it from toplevel.
10400
87215ad1
SDJ
104012017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10402
10403 PR remote/21852
10404 * gdb.server/normal.c: New file, copied from gdb.base.
10405 * gdb.server/run-without-local-binary.exp: New file.
10406
58afddc6
WP
104072017-08-07 Weimin Pan <weimin.pan@oracle.com>
10408
10409 * gdb.arch/sparc64-adi.exp: New file.
10410 * gdb.arch/sparc64-adi.c: New file.
10411
5277199a
PA
104122017-08-22 Pedro Alves <palves@redhat.com>
10413
10414 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10415 (top level): Add "list all overloads" tests.
10416
14278e1f
TT
104172017-08-22 Tom Tromey <tom@tromey.com>
10418
10419 * gdb.gdb/xfullpath.exp: Remove.
10420
bf223d3e
PA
104212017-08-21 Pedro Alves <palves@redhat.com>
10422
10423 PR gdb/19487
10424 * gdb.base/symbol-alias.c: New.
10425 * gdb.base/symbol-alias2.c: New.
10426 * gdb.base/symbol-alias.exp: New.
10427
c973d0aa
PA
104282017-08-21 Pedro Alves <palves@redhat.com>
10429
10430 * gdb.base/dfp-test.c
10431 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10432 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10433 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10434 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10435 * gdb.base/whatis-ptype-typedefs.c: New.
10436 * gdb.base/whatis-ptype-typedefs.exp: New.
10437 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10438 (an_int, an_int_type, an_int_type2): New globals.
10439 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10440 involving typedefs and cast expressions.
10441 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10442 (lookup_typedefs_function): New.
10443 (typedefs_pretty_printers_dict): New.
10444 (top level): Register lookup_typedefs_function in
10445 gdb.pretty_printers.
10446
6d580b63
YQ
104472017-08-18 Yao Qi <yao.qi@linaro.org>
10448
10449 * gdb.server/unittest.exp: New.
10450
206726fb
SDJ
104512017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10452
10453 PR gdb/21954
10454 * gdb.base/environ.exp: Add test to check if 'unset environment'
10455 works.
10456
bf0ec4c2
AA
104572017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10458
10459 * lib/gdb.exp (universal_compile_options): New caching proc.
10460 (gdb_compile): Suppress GCC's coloring of messages.
10461
d6382fff
TT
104622017-08-14 Tom Tromey <tom@tromey.com>
10463
10464 PR gdb/21675:
10465 * gdb.base/printcmds.exp (test_radices): New function.
10466 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10467 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10468 * lib/gdb.exp (get_integer_valueof): Use p/d.
10469
c2c2dd9f
SM
104702017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10471
10472 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10473 characters.
10474
fdffd6f4
TT
104752017-08-05 Tom Tromey <tom@tromey.com>
10476
10477 * gdb.rust/simple.exp: Allow String to appear in a different
10478 namespace.
10479
27d41eac
YQ
104802017-07-26 Yao Qi <yao.qi@linaro.org>
10481
10482 * gdb.gdb/unittest.exp: Invoke command
10483 "maintenance check xml-descriptions".
10484
031ed05d
AA
104852017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10486
10487 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10488 calling context.
10489 (hex128): Drop erroneous calculation of parameters.
10490
dcd27ddf
SM
104912017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10492
10493 * gdb.python/py-unwind.exp: Disable stack protection when
10494 building test file.
10495
47e77640
PA
104962017-07-20 Pedro Alves <palves@redhat.com>
10497
10498 * gdb.base/default.exp (set language): Adjust expected output.
10499
62d2a18a
PA
105002017-07-20 Pedro Alves <palves@redhat.com>
10501
10502 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10503 (test_minsym): ... this, and make static.
10504 (get_pck__foo__bar__minsym): Rename to ...
10505 (get_test_minsym): ... this.
10506 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10507 symbol names and comments.
10508 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10509 (get_test_minsym): ... this.
10510 (pck__foo__bar__minsym__2): Rename to ...
10511 (test_minsym): ... this.
10512 (main): Adjust.
10513
c45ec17c
PA
105142017-07-17 Pedro Alves <palves@redhat.com>
10515
10516 * gdb.base/completion.exp: Adjust expected output.
10517 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10518 the completer works.
10519
c6756f62
PA
105202017-07-17 Pedro Alves <palves@redhat.com>
10521
10522 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10523
5bd68487
AB
105242017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10525
10526 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10527
8880f2a9
TT
105282017-07-14 Tom Tromey <tom@tromey.com>
10529
10530 PR rust/21764:
10531 * gdb.rust/simple.exp: Add tests.
10532
65547233
TT
105332017-07-14 Tom Tromey <tom@tromey.com>
10534
10535 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10536
8f14146e
PA
105372017-07-14 Pedro Alves <palves@redhat.com>
10538
10539 * gdb.linespec/base/one/thefile.cc (z1): New function.
10540 * gdb.linespec/base/two/thefile.cc (z2): New function.
10541 * gdb.linespec/linespec.exp: Add tests.
10542
b4365d02
AB
105432017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10544
10545 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10546 to mi_create_breakpoint.
10547
5d2cbaa5
AB
105482017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10549
10550 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10551 mi_create_breakpoint.
10552
11cb5716
IB
105532017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10554
10555 * gdb.dlang/demangle.exp: Update for demangling changes.
10556
03278692
TT
105572017-07-09 Tom Tromey <tom@tromey.com>
10558
10559 * gdb.dwarf2/shortpiece.exp: New file.
10560
33c5cd75
DB
105612017-07-06 David Blaikie <dblaikie@gmail.com>
10562
10563 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10564 built from fissiont-multi-cu{1,2}.c.
10565 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10566 except putting 'main' and 'func' in separate CUs in the same DWO file.
10567 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10568 test.
10569 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10570 test.
10571
8455d262
PA
105722017-07-06 Pedro Alves <palves@redhat.com>
10573
10574 * gdb.python/py-unwind.exp: Test flushregs.
10575
dc4bde35
SDJ
105762017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10577
10578 PR cli/21688
10579 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10580 tests for alias commands and trailing whitespace.
10581
51ed89aa
SDJ
105822017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10583
10584 PR cli/21688
10585 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10586 procedure. Call it.
10587
eb17d413
PA
105882017-06-29 Pedro Alves <palves@redhat.com>
10589
10590 * gdb.base/printcmds.exp: Add tests.
10591
41664b45
DG
105922017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10593
10594 PR gdb/21337
10595 * gdb.base/reread-readsym.exp: New file.
10596 * gdb.base/reread-readsym.c: New file.
10597
75312ae3
KB
105982017-06-21 Kevin Buettner <kevinb@redhat.com>
10599
10600 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10601 subpattern.
10602
66953522
PB
106032017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10604
10605 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10606 extended mnemonic.
10607 * gdb.arch/powerpc-power9.s: Likewise.
10608
5524b525
AA
106092017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10610
10611 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10612 on 32-bit x86 targets. Exploit is_*_target macros where
10613 appropriate.
10614
03c8af18
AA
106152017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10616
10617 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10618 register pieces.
10619
3bf31011
AA
106202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10621
10622 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10623 located in one or more DWARF pieces.
10624
805acca0
AA
106252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10626
10627 * lib/gdb.exp (get_endianness): New proc.
10628 * gdb.arch/aarch64-fp.exp: Use it.
10629 * gdb.arch/altivec-regs.exp: Likewise.
10630 * gdb.arch/e500-regs.exp: Likewise.
10631 * gdb.arch/vsx-regs.exp: Likewise.
10632 * gdb.base/dump.exp: Likewise.
10633 * gdb.base/funcargs.exp: Likewise.
10634 * gdb.base/gnu_vector.exp: Likewise.
10635 * gdb.dwarf2/formdata16.exp: Likewise.
10636 * gdb.dwarf2/implptrpiece.exp: Likewise.
10637 * gdb.dwarf2/nonvar-access.exp: Likewise.
10638 * gdb.python/py-inferior.exp: Likewise.
10639 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10640
e9352324
AA
106412017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10642
10643 PR gdb/21226
10644 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10645 stack value pieces are taken from the LSB end.
10646
d5d1163e
AA
106472017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10648
10649 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10650 variable at nonzero offset.
10651
0567c986
AA
106522017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10653
10654 * gdb.dwarf2/var-access.c: New file.
10655 * gdb.dwarf2/var-access.exp: New test.
10656 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10657
973e9aab
TT
106582017-06-12 Tom Tromey <tom@tromey.com>
10659
10660 * gdb.dwarf2/formdata16.exp: Add tests.
10661
d9109c80
TT
106622017-06-12 Tom Tromey <tom@tromey.com>
10663
10664 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10665
30a25466
TT
106662017-06-12 Tom Tromey <tom@tromey.com>
10667
10668 PR exp/16225:
10669 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10670 * gdb.arch/vsx-regs.exp: Update tests.
10671 * gdb.arch/s390-vregs.exp (hex128): New proc.
10672 Update test.
10673 * gdb.arch/altivec-regs.exp: Update tests.
10674
aefd8b33
SDJ
106752017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10676
10677 * gdb.base/startup-with-shell.c: New file.
10678 * gdb.base/startup-with-shell.exp: Likewise.
10679
2090129c
SDJ
106802017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10681
10682 * gdb.server/non-existing-program.exp: Update regex in order to
10683 reflect the fact that gdbserver is now using fork_inferior (with a
10684 shell) to startup the inferior.
10685
8e86a419
SM
106862017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10687
10688 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10689 support function calls from GDB.
10690
e6cf65f2
TT
106912017-05-21 Tom Tromey <tom@tromey.com>
10692
10693 PR rust/21466:
10694 * gdb.rust/unsized.exp: New file.
10695 * gdb.rust/unsized.rs: New file.
10696
43cc5389
TT
106972017-05-19 Tom Tromey <tom@tromey.com>
10698
10699 PR rust/21484:
10700 * gdb.rust/watch.exp: New file.
10701 * gdb.rust/watch.rs: New file.
10702
ec8df234
TT
107032017-05-18 Tom Tromey <tom@tromey.com>
10704
10705 * gdb.rust/simple.exp: Allow Box to be qualified.
10706
3e3e7fae
TP
107072017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10708
10709 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10710
59cc050d
PA
107112017-05-18 Pedro Alves <palves@redhat.com>
10712
10713 * gdb.base/fileio.c (test_write, test_read, test_close)
10714 (test_fstat): Don't print 'ret' in the fail path.
10715
c8f6abd1
PA
107162017-05-18 Pedro Alves <palves@redhat.com>
10717
10718 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10719 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10720 (test_system, test_rename, test_unlink, test_time): Change
10721 prototypes.
10722 * gdb.base/fileio.exp (stop_msg): Adjust.
10723
d2a03b77
PA
107242017-05-18 Pedro Alves <palves@redhat.com>
10725
10726 * gdb.base/fileio.c (null_str): New global.
10727 (test_stat): Use it.
10728 * gdb.base/fileio.exp: Remove nowarnings.
10729
0d5c6999
YQ
107302017-05-17 Yao Qi <yao.qi@linaro.org>
10731
10732 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10733
21873064
YQ
107342017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10735
10736 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10737 argument command.
10738 (top-level): Invoke test_set_inferior_tty.
10739
d512d31c
PA
107402017-05-04 Pedro Alves <palves@redhat.com>
10741
10742 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10743 Add parens to print call for Python 3.
10744
90cef2ed
KS
107452017-05-03 Keith Seitz <keiths@redhat.com>
10746
10747 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10748 (main): Call it.
10749
14f819c8
TW
107502017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10751
10752 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10753 to prev and next.
10754
913aeadd
TW
107552017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10756
10757 * gdb.python/py-record-btrace.exp: Remove test for
10758 gdb.BtraceInstruction.error.
10759
a3be24ad
TW
107602017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10761
10762 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10763
ae20e79a
TW
107642017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10765
10766 * gdb.python/py-record-btrace-threads.c: New file.
10767 * gdb.python/py-record-btrace-threads.exp: New file.
10768
45ce1b47
SDJ
107692017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10770
10771 PR testsuite/8595
10772 * gdb.base/environ.exp: Make test available in all architectures.
10773 Move bits related to "info program" testing to
10774 gdb.base/info-program.exp. Rewrite tests to use the two new
10775 procedures mentione below.
10776 (test_set_show_env_var) New procedure.
10777 (test_set_show_env_var_equal): Likewise.
10778 * gdb.base/info-program.exp: New file.
10779
e15c3eb4
KS
107802017-04-27 Keith Seitz <keiths@redhat.com>
10781
10782 * gdb.cp/oranking.cc (test15): New function.
10783 (main): Call test15 and declare additional variables for testing.
10784 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10785 "p foo101('abc')" tests.
10786 Add tests for cv qualifier overloads.
10787 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10788 "lvalue reference overload" test.
10789 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10790 "print value of f1 on Child&& in f2" test.
10791
3a3fd0fd
PA
107922017-04-19 Pedro Alves <palves@redhat.com>
10793
10794 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10795 procedure.
10796 (top level): Call it.
10797 * lib/gdb.exp (gdb_define_cmd): New procedure.
10798
53375380
PA
107992017-04-12 Pedro Alves <palves@redhat.com>
10800
10801 PR gdb/21323
10802 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10803 (wchar): New global.
10804 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10805 (do_test_wide_char, wide_char_types_no_program, top level): Add
10806 wchar_t testing.
10807
53e710ac
PA
108082017-04-12 Pedro Alves <palves@redhat.com>
10809
10810 PR c++/21323
10811 * gdb.cp/wide_char_types.c: New file.
10812 * gdb.cp/wide_char_types.exp: New file.
10813
0ad9d8c7
SDJ
108142017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10815
10816 PR gdb/21352
10817 * gdb.trace/tsv.exp: Add test for "tsave -r".
10818
b1b45502
IB
108192017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10820
10821 * gdb.dlang/watch-loc.c: New file.
10822 * gdb.dlang/watch-loc.exp: New file.
10823
ec13808e
JK
108242017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10825
10826 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10827
fe5f7374
AK
108282017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10829
10830 * gdb.arch/arc-analyze-prologue.S: New file.
10831 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10832
eea78757
AK
108332017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10834
10835 * gdb.arch/arc-decode-insn.S: New file.
10836 * gdb.arch/arc-decode-insn.exp: Likewise.
10837
5badf10a
IR
108382017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10839
10840 PR tdep/20928
10841 * gdb.arch/sparc64-regs.exp: New file.
10842 * gdb.arch/sparc64-regs.S: Likewise.
10843
cee59b3f
TW
108442017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10845
10846 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10847 and memory view on Python 3.
10848
c0f55cc6
AV
108492017-03-20 Artemiy Volkov <artemiyv@acm.org>
10850 Keith Seitz <keiths@redhat.com>
10851
10852 PR gdb/14441
10853 * gdb.cp/demangle.exp: Add rvalue reference tests.
10854 * gdb.cp/rvalue-ref-casts.cc: New file.
10855 * gdb.cp/rvalue-ref-casts.exp: New file.
10856 * gdb.cp/rvalue-ref-overload.cc: New file.
10857 * gdb.cp/rvalue-ref-overload.exp: New file.
10858 * gdb.cp/rvalue-ref-params.cc: New file.
10859 * gdb.cp/rvalue-ref-params.exp: New file.
10860 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10861 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10862 * gdb.cp/rvalue-ref-types.cc: New file.
10863 * gdb.cp/rvalue-ref-types.exp: New file.
10864 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10865 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10866
51457a05
MAL
108672017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10868
10869 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10870 New procedure.
10871
5b291c04
MAL
108722017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10873
10874 * lib/mi-support.exp (mi_gdb_test): Add additional message
10875 for unexpected output.
10876
59a56148
AA
108772017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10878
10879 * gdb.base/examine-backward.c (Barrier): New character array
10880 constant, to ensure that TestStrings is preceded by a string
10881 terminator.
10882
7942e96e
AA
108832017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10884
10885 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10886 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10887 and implicit pointer into such a location.
10888
6ebac3fb
DE
108892017-03-16 Doug Evans <dje@google.com>
10890
10891 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10892
ec3b243d
TP
108932017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10894
10895 * gdb.cp/m-static.exp: Fix expectation for prototype of
10896 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10897
108982017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10899
10900 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10901 * gdb.guile/scm-lazy-string.c: New file.
10902 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10903 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10904 for pointer, array, typedef lazy strings.
10905
2cc36e25 109062017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10907
10908 PR python/17728, python/18439, python/18779
10909 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10910 * gdb.python/py-lazy-string.c (pointer): New typedef.
10911 (main): New locals ptr, array, typedef_ptr.
10912 * gdb.python/py-value.exp: Move lazy string tests to ...
10913 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10914 array, typedef lazy strings.
ec3b243d 10915
0efcde63
AK
109162017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10917
10918 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10919 Add optional 'test' parameter.
10920
7978d7c3
SM
109212017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10922
10923 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10924 Skip for versions of DejaGnu < 1.5.
10925
896c0c1e
SM
109262017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10927
10928 * lib/gdb.exp (dejagnu_version): New proc.
10929 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10930 Use dejagnu_version.
10931
5f4d1085
KS
109322017-03-10 Keith Seitz <keiths@redhat.com>
10933
10934 PR c++/8128
10935 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10936 type from destructor regexps.
10937 Add a branch which actually passes the test.
10938 Adjust "ptype t5i" test names.
10939
1de05205
PA
109402017-03-08 Pedro Alves <palves@redhat.com>
10941
10942 * gdb.base/step-over-exit.exp: Add explicit test message.
10943
c65d6b55
PA
109442017-03-08 Pedro Alves <palves@redhat.com>
10945
10946 PR gdb/18360
10947 * gdb.threads/interrupt-while-step-over.c: New file.
10948 * gdb.threads/interrupt-while-step-over.exp: New file.
10949
2e86a283
PA
109502017-03-08 Pedro Alves <palves@redhat.com>
10951
10952 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10953 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10954
25dcbff6
PA
109552017-03-08 Pedro Alves <palves@redhat.com>
10956
10957 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10958 PKRU as not supported as a PASS.
10959
dc9366eb
PA
109602017-03-08 Pedro Alves <palves@redhat.com>
10961
10962 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10963 prefix instead of $binfile1/$binfile2.
10964 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10965 in test message.
10966 * gdb.python/py-completion.exp: Use "load python file" as test
10967 messages instead of unstable path names.
10968
6e5d74e7
PA
109692017-03-08 Pedro Alves <palves@redhat.com>
10970 Jan Kratochvil <jan.kratochvil@redhat.com>
10971
10972 PR cli/21218
10973 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10974 New proc.
10975 (top level): Call it.
10976
9753a2f6
PA
109772017-03-08 Pedro Alves <palves@redhat.com>
10978
10979 PR tui/21216
10980 * gdb.tui/tui-nl-filtered-output.exp: New file.
10981
1a4dd9dd
PA
109822017-03-08 Pedro Alves <palves@redhat.com>
10983
10984 * gdb.base/completion.exp: Move TUI completion tests to ...
10985 * gdb.tui/completion.exp: ... this new file.
10986
7cbbff33
PA
109872017-03-08 Pedro Alves <palves@redhat.com>
10988
10989 * gdb.base/tui-disasm-long-lines.c,
10990 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10991 gdb.base/tui-layout.exp: Move to ...
10992 * gdb.tui/: ... this new directory.
10993
5f6fd321
PA
109942017-03-07 Pedro Alves <palves@redhat.com>
10995
10996 * gdb.base/tui-layout.c: New file.
10997 * gdb.base/tui-layout.exp: New file.
10998
44959fa8
PA
109992017-03-07 Pedro Alves <palves@redhat.com>
11000
11001 * gdb.base/tui-layout.c: Rename to ...
11002 * gdb.base/tui-disasm-long-lines.c: ... this.
11003 * gdb.base/tui-layout.exp: Rename to ...
11004 * gdb.base/tui-disasm-long-lines.exp: ... this.
11005
f8c4e718
PA
110062017-03-07 Pedro Alves <palves@redhat.com>
11007
11008 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11009
6dbb839a 110102017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
11011
11012 * i386-mpx-call.c: New file.
11013 * i386-mpx-call.exp: New file.
11014
65b48a81
PB
110152017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11016
11017 * gdb.arch/powerpc-power.exp: Delete test.
11018 * gdb.arch/powerpc-power.s: Likewise.
11019 * gdb.disasm/disassembler-options.exp: New test.
11020 * gdb.arch/powerpc-altivec.exp: Likewise.
11021 * gdb.arch/powerpc-altivec.s: Likewise.
11022 * gdb.arch/powerpc-altivec2.exp: Likewise.
11023 * gdb.arch/powerpc-altivec2.s: Likewise.
11024 * gdb.arch/powerpc-altivec3.exp: Likewise.
11025 * gdb.arch/powerpc-altivec3.s: Likewise.
11026 * gdb.arch/powerpc-power7.exp: Likewise.
11027 * gdb.arch/powerpc-power7.s: Likewise.
11028 * gdb.arch/powerpc-power8.exp: Likewise.
11029 * gdb.arch/powerpc-power8.s: Likewise.
11030 * gdb.arch/powerpc-power9.exp: Likewise.
11031 * gdb.arch/powerpc-power9.s: Likewise.
11032 * gdb.arch/powerpc-vsx.exp: Likewise.
11033 * gdb.arch/powerpc-vsx.s: Likewise.
11034 * gdb.arch/powerpc-vsx2.exp: Likewise.
11035 * gdb.arch/powerpc-vsx2.s: Likewise.
11036 * gdb.arch/powerpc-vsx3.exp: Likewise.
11037 * gdb.arch/powerpc-vsx3.s: Likewise.
11038 * gdb.arch/arm-disassembler-options.exp: Likewise.
11039 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11040 * gdb.arch/s390-disassembler-options.exp: Likewise.
11041
17cd4947
LM
110422017-02-23 Luis Machado <lgustavo@codesourcery.com>
11043
11044 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11045 (check_supported_features): ... this. Changed return type to void.
11046 (supports_rdseed): New static global.
11047 (rdseed): Check supports_rdseed.
11048 (initialize): Call check_supported_features.
11049
2039d74e
EBM
110502017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11051
11052 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11053 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11054 and lqarx/stqcx.
11055 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11056 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11057
a51d7ecf
EBM
110582017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11059
11060 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11061 uppercase.
11062
0224619f
JK
110632017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11064
11065 * gdb.dwarf2/formdata16.c: New file.
11066 * gdb.dwarf2/formdata16.exp: New file.
11067 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11068
216f72a1
JK
110692017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11070
11071 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11072 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11073 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11074 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11075 DW_AT_GNU_*.
11076
43988095
JK
110772017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11078
11079 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11080
99e8a4f9
SDJ
110812017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11082
11083 PR gdb/21164
11084 * gdb.base/maint.exp: Add testcases for when the commands do
11085 not have arguments.
11086
b58a8c0c
TP
110872017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11088
11089 * gdb.cp/chained-calls.exp: Use p instead of P.
11090
4e746bb6
TW
110912017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11092
11093 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11094 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11095
3f77c769
TT
110962017-02-14 Tom Tromey <tom@tromey.com>
11097
11098 PR python/13598:
11099 * gdb.python/py-events.exp: Add before_prompt event tests.
11100
075beec0
AA
111012017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11102
11103 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11104
bf5f525c
LM
111052017-02-13 Luis Machado <lgustavo@codesourcery.com>
11106
11107 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11108 (main): Call my_unique_function_name.
11109 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11110 completion of patterns with a single match.
11111 Add missing -re switches to gdb_test_multiple calls.
11112
13a66184
LM
111132017-02-13 Luis Machado <lgustavo@codesourcery.com>
11114
11115 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11116 return if core file is not recognized.
11117
26a06916
SM
111182017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11119
11120 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11121 and extra UIs.
11122
b761ca9e
SM
111232017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11124
11125 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11126 proc_with_prefix.
11127
b964bee0
TT
111282017-02-10 Tom Tromey <tom@tromey.com>
11129
11130 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11131
18da0c51
MG
111322017-02-10 Martin Galvan <martingalvan@sourceware.org>
11133
11134 PR gdb/21122
11135 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11136
604c4576
JG
111372017-02-08 Jerome Guitton <guitton@adacore.com>
11138
11139 * gdb.base/define.exp: Add test for command abbreviations
11140 in define.
11141
20b477a7
LM
111422017-02-06 Luis Machado <lgustavo@codesourcery.com>
11143
11144 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11145 * gdb.reverse/insn-reverse-x86.c: New file.
11146
3f7b46f2
IR
111472017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11148
11149 PR tdep/20936
11150 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11151
f0fd41c1
TT
111522017-02-03 Tom Tromey <tom@tromey.com>
11153
11154 PR rust/21097:
11155 * gdb.rust/simple.exp: Add new tests.
11156
5be5dbf0
PA
111572017-02-02 Pedro Alves <palves@redhat.com>
11158
11159 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11160 tests.
11161
7346ef59
AA
111622017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11163
11164 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11165 taking a 2-byte value out of a 4-byte DWARF implicit value on
11166 big-endian targets.
11167 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11168 logic. Add test cases for DW_OP_implicit.
11169
787f0025
MM
111702017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11171
11172 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11173
68777c29
MM
111742017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11175
11176 * gdb.btrace/enable.exp: Call gdb_exit before
11177 skip_gdbserver_tests.
11178
0a1c7e28
MM
111792017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11180
11181 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11182 GDBFLAGS.
11183
b5ac99b0
MM
111842017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11185
11186 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11187 the test is skipped.
11188 * gdb.btrace/data.exp: Likewise.
11189 * gdb.btrace/delta.exp: Likewise.
11190 * gdb.btrace/dlopen.exp: Likewise.
11191 * gdb.btrace/enable-running.exp: Likewise.
11192 * gdb.btrace/enable.exp: Likewise.
11193 * gdb.btrace/exception.exp: Likewise.
11194 * gdb.btrace/function_call_history.exp: Likewise.
11195 * gdb.btrace/gcore.exp: Likewise.
11196 * gdb.btrace/instruction_history.exp: Likewise.
11197 * gdb.btrace/multi-thread-step.exp: Likewise.
11198 * gdb.btrace/nohist.exp: Likewise.
11199 * gdb.btrace/non-stop.exp: Likewise.
11200 * gdb.btrace/reconnect.exp: Likewise.
11201 * gdb.btrace/record_goto-step.exp: Likewise.
11202 * gdb.btrace/record_goto.exp: Likewise.
11203 * gdb.btrace/rn-dl-bind.exp: Likewise.
11204 * gdb.btrace/segv.exp: Likewise.
11205 * gdb.btrace/step.exp: Likewise.
11206 * gdb.btrace/stepi.exp: Likewise.
11207 * gdb.btrace/tailcall-only.exp: Likewise.
11208 * gdb.btrace/tailcall.exp: Likewise.
11209 * gdb.btrace/tsx.exp: Likewise.
11210 * gdb.btrace/unknown_functions.exp: Likewise.
11211 * gdb.btrace/vdso.exp: Likewise.
11212
cd4007e4
MM
112132017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11214
11215 * gdb.btrace/enable-running.c: New.
11216 * gdb.btrace/enable-running.exp: New.
11217
2735833d
WT
112182017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11219
11220 * gdb.arch/amd64-gs_base.c: New file.
11221 * gdb.arch/amd64-gs_base.exp: New file.
11222
b51e1e94
LM
112232017-01-26 Luis Machado <lgustavo@codesourcery.com>
11224
11225 * lib/memory.exp: Remove spurious empty newlines.
11226
72ca0410
SM
112272017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11228
11229 * gdb.python/py-bad-printers.exp: Load python file using "source".
11230 * gdb.python/py-events.exp: Likewise.
11231 * gdb.python/py-evsignal.exp: Likewise.
11232 * gdb.python/py-evthreads.exp: Likewise.
11233 * gdb.python/py-frame-args.exp: Likewise.
11234 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11235 * gdb.python/py-framefilter-mi.exp: Likewise.
11236 * gdb.python/py-framefilter.exp: Likewise.
11237 * gdb.python/py-mi.exp: Likewise.
11238 * gdb.python/py-pp-maint.exp: Likewise.
11239 * gdb.python/py-pp-registration.exp: Likewise.
11240 * gdb.python/py-prettyprint.exp: Likewise.
11241 (run_lang_tests): Likewise.
11242 * gdb.python/py-typeprint.exp: Likewise.
11243
e309aa65
LM
112442017-01-26 Luis Machado <lgustavo@codesourcery.com>
11245
11246 * lib/memory.exp: New file.
11247 * lib/gdb.exp: Load memory.exp.
11248 * gdb.base/memattr.exp (delete_memory): Move proc to
11249 lib/memory.exp and rename to delete_memory_regions.
11250 Replace delete_memory with delete_memory_regions.
11251 Cleanup memory regions before tests.
11252 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11253 before tests.
11254
515aff23
LM
112552017-01-26 Luis Machado <lgustavo@codesourcery.com>
11256
11257 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11258 files.
11259 (initialize): New function conditionally defined.
11260 (testcases): Move within conditional block.
11261 (main): Call initialize.
11262 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11263 of gdb.reverse/insn-reverse.c.
11264 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11265 gdb.reverse/insn-reverse.c.
11266
d8b49cf0
YQ
112672017-01-26 Yao Qi <yao.qi@linaro.org>
11268
11269 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11270 disassemble on address 0.
11271
f13a9a0c
YQ
112722017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11273 Yao Qi <yao.qi@linaro.org>
11274
11275 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11276 * gdb.dwarf2/implptr-64bit.S: Remove.
11277 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11278 variables in caller's context. Add DW_OP_implicit_value.
11279
5ac95241
YQ
112802017-01-25 Yao Qi <yao.qi@linaro.org>
11281
11282 * lib/dwarf.exp (Dwarf::_location): Handle
11283 DW_OP_GNU_implicit_pointer with proper size.
11284
23e82930
LM
112852017-01-20 Luis Machado <lgustavo@codesourcery.com>
11286
11287 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11288 and add untested calls.
11289
d334ae25
LM
112902017-01-20 Luis Machado <lgustavo@codesourcery.com>
11291
11292 * gdb.python/python.exp: Check line number against what GDB thinks
11293 the line number is for func1.
11294
f5e6296e
IB
112952017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11296
11297 * gdb.dlang/debug-expr.exp: New file.
11298
5b362f04
LM
112992016-12-23 Luis Machado <lgustavo@codesourcery.com>
11300
11301 Fix test names for the following files:
11302
11303 * gdb.ada/exec_changed.exp
11304 * gdb.ada/info_types.exp
11305 * gdb.arch/aarch64-atomic-inst.exp
11306 * gdb.arch/aarch64-fp.exp
11307 * gdb.arch/altivec-abi.exp
11308 * gdb.arch/altivec-regs.exp
11309 * gdb.arch/amd64-byte.exp
11310 * gdb.arch/amd64-disp-step.exp
11311 * gdb.arch/amd64-dword.exp
11312 * gdb.arch/amd64-entry-value-inline.exp
11313 * gdb.arch/amd64-entry-value-param.exp
11314 * gdb.arch/amd64-entry-value-paramref.exp
11315 * gdb.arch/amd64-entry-value.exp
11316 * gdb.arch/amd64-i386-address.exp
11317 * gdb.arch/amd64-invalid-stack-middle.exp
11318 * gdb.arch/amd64-invalid-stack-top.exp
11319 * gdb.arch/amd64-optimout-repeat.exp
11320 * gdb.arch/amd64-prologue-skip.exp
11321 * gdb.arch/amd64-prologue-xmm.exp
11322 * gdb.arch/amd64-stap-special-operands.exp
11323 * gdb.arch/amd64-stap-wrong-subexp.exp
11324 * gdb.arch/amd64-tailcall-cxx.exp
11325 * gdb.arch/amd64-tailcall-noret.exp
11326 * gdb.arch/amd64-tailcall-ret.exp
11327 * gdb.arch/amd64-tailcall-self.exp
11328 * gdb.arch/amd64-word.exp
11329 * gdb.arch/arm-bl-branch-dest.exp
11330 * gdb.arch/arm-disp-step.exp
11331 * gdb.arch/arm-neon.exp
11332 * gdb.arch/arm-single-step-kernel-helper.exp
11333 * gdb.arch/avr-flash-qualifier.exp
11334 * gdb.arch/disp-step-insn-reloc.exp
11335 * gdb.arch/e500-abi.exp
11336 * gdb.arch/e500-regs.exp
11337 * gdb.arch/ftrace-insn-reloc.exp
11338 * gdb.arch/i386-avx512.exp
11339 * gdb.arch/i386-bp_permanent.exp
11340 * gdb.arch/i386-byte.exp
11341 * gdb.arch/i386-cfi-notcurrent.exp
11342 * gdb.arch/i386-disp-step.exp
11343 * gdb.arch/i386-dr3-watch.exp
11344 * gdb.arch/i386-float.exp
11345 * gdb.arch/i386-gnu-cfi.exp
11346 * gdb.arch/i386-mpx-map.exp
11347 * gdb.arch/i386-mpx-sigsegv.exp
11348 * gdb.arch/i386-mpx-simple_segv.exp
11349 * gdb.arch/i386-mpx.exp
11350 * gdb.arch/i386-permbkpt.exp
11351 * gdb.arch/i386-prologue.exp
11352 * gdb.arch/i386-signal.exp
11353 * gdb.arch/i386-size-overlap.exp
11354 * gdb.arch/i386-unwind.exp
11355 * gdb.arch/i386-word.exp
11356 * gdb.arch/mips-fcr.exp
11357 * gdb.arch/powerpc-d128-regs.exp
11358 * gdb.arch/powerpc-stackless.exp
11359 * gdb.arch/ppc64-atomic-inst.exp
11360 * gdb.arch/s390-stackless.exp
11361 * gdb.arch/s390-tdbregs.exp
11362 * gdb.arch/s390-vregs.exp
11363 * gdb.arch/sparc-sysstep.exp
11364 * gdb.arch/thumb-bx-pc.exp
11365 * gdb.arch/thumb-singlestep.exp
11366 * gdb.arch/thumb2-it.exp
11367 * gdb.arch/vsx-regs.exp
11368 * gdb.asm/asm-source.exp
11369 * gdb.base/a2-run.exp
11370 * gdb.base/advance.exp
11371 * gdb.base/all-bin.exp
11372 * gdb.base/anon.exp
11373 * gdb.base/args.exp
11374 * gdb.base/arithmet.exp
11375 * gdb.base/async-shell.exp
11376 * gdb.base/async.exp
11377 * gdb.base/attach-pie-noexec.exp
11378 * gdb.base/attach-twice.exp
11379 * gdb.base/auto-load.exp
11380 * gdb.base/bang.exp
11381 * gdb.base/bitfields.exp
11382 * gdb.base/break-always.exp
11383 * gdb.base/break-caller-line.exp
11384 * gdb.base/break-entry.exp
11385 * gdb.base/break-inline.exp
11386 * gdb.base/break-on-linker-gcd-function.exp
11387 * gdb.base/break-probes.exp
11388 * gdb.base/break.exp
11389 * gdb.base/breakpoint-shadow.exp
11390 * gdb.base/call-ar-st.exp
11391 * gdb.base/call-sc.exp
11392 * gdb.base/call-signal-resume.exp
11393 * gdb.base/call-strs.exp
11394 * gdb.base/callfuncs.exp
11395 * gdb.base/catch-fork-static.exp
11396 * gdb.base/catch-gdb-caused-signals.exp
11397 * gdb.base/catch-load.exp
11398 * gdb.base/catch-signal-fork.exp
11399 * gdb.base/catch-signal.exp
11400 * gdb.base/catch-syscall.exp
11401 * gdb.base/charset.exp
11402 * gdb.base/checkpoint.exp
11403 * gdb.base/chng-syms.exp
11404 * gdb.base/code-expr.exp
11405 * gdb.base/code_elim.exp
11406 * gdb.base/commands.exp
11407 * gdb.base/completion.exp
11408 * gdb.base/complex.exp
11409 * gdb.base/cond-expr.exp
11410 * gdb.base/condbreak.exp
11411 * gdb.base/consecutive.exp
11412 * gdb.base/continue-all-already-running.exp
11413 * gdb.base/coredump-filter.exp
11414 * gdb.base/corefile.exp
11415 * gdb.base/dbx.exp
11416 * gdb.base/debug-expr.exp
11417 * gdb.base/define.exp
11418 * gdb.base/del.exp
11419 * gdb.base/disabled-location.exp
11420 * gdb.base/disasm-end-cu.exp
11421 * gdb.base/disasm-optim.exp
11422 * gdb.base/display.exp
11423 * gdb.base/duplicate-bp.exp
11424 * gdb.base/ena-dis-br.exp
11425 * gdb.base/ending-run.exp
11426 * gdb.base/enumval.exp
11427 * gdb.base/environ.exp
11428 * gdb.base/eu-strip-infcall.exp
11429 * gdb.base/eval-avoid-side-effects.exp
11430 * gdb.base/eval-skip.exp
11431 * gdb.base/exitsignal.exp
11432 * gdb.base/expand-psymtabs.exp
11433 * gdb.base/filesym.exp
11434 * gdb.base/find-unmapped.exp
11435 * gdb.base/finish.exp
11436 * gdb.base/float.exp
11437 * gdb.base/foll-exec-mode.exp
11438 * gdb.base/foll-exec.exp
11439 * gdb.base/foll-fork.exp
11440 * gdb.base/fortran-sym-case.exp
11441 * gdb.base/freebpcmd.exp
11442 * gdb.base/func-ptr.exp
11443 * gdb.base/func-ptrs.exp
11444 * gdb.base/funcargs.exp
11445 * gdb.base/gcore-buffer-overflow.exp
11446 * gdb.base/gcore-relro-pie.exp
11447 * gdb.base/gcore-relro.exp
11448 * gdb.base/gcore.exp
11449 * gdb.base/gdb1090.exp
11450 * gdb.base/gdb11530.exp
11451 * gdb.base/gdb11531.exp
11452 * gdb.base/gdb1821.exp
11453 * gdb.base/gdbindex-stabs.exp
11454 * gdb.base/gdbvars.exp
11455 * gdb.base/hbreak.exp
11456 * gdb.base/hbreak2.exp
11457 * gdb.base/included.exp
11458 * gdb.base/infcall-input.exp
11459 * gdb.base/inferior-died.exp
11460 * gdb.base/infnan.exp
11461 * gdb.base/info-macros.exp
11462 * gdb.base/info-os.exp
11463 * gdb.base/info-proc.exp
11464 * gdb.base/info-shared.exp
11465 * gdb.base/info-target.exp
11466 * gdb.base/infoline.exp
11467 * gdb.base/interp.exp
11468 * gdb.base/interrupt.exp
11469 * gdb.base/jit-reader.exp
11470 * gdb.base/jit-simple.exp
11471 * gdb.base/kill-after-signal.exp
11472 * gdb.base/kill-detach-inferiors-cmd.exp
11473 * gdb.base/label.exp
11474 * gdb.base/langs.exp
11475 * gdb.base/ldbl_e308.exp
11476 * gdb.base/line-symtabs.exp
11477 * gdb.base/linespecs.exp
11478 * gdb.base/list.exp
11479 * gdb.base/long_long.exp
11480 * gdb.base/longest-types.exp
11481 * gdb.base/maint.exp
11482 * gdb.base/max-value-size.exp
11483 * gdb.base/memattr.exp
11484 * gdb.base/mips_pro.exp
11485 * gdb.base/morestack.exp
11486 * gdb.base/moribund-step.exp
11487 * gdb.base/multi-forks.exp
11488 * gdb.base/nested-addr.exp
11489 * gdb.base/nextoverexit.exp
11490 * gdb.base/noreturn-finish.exp
11491 * gdb.base/noreturn-return.exp
11492 * gdb.base/nostdlib.exp
11493 * gdb.base/offsets.exp
11494 * gdb.base/opaque.exp
11495 * gdb.base/pc-fp.exp
11496 * gdb.base/permissions.exp
11497 * gdb.base/print-symbol-loading.exp
11498 * gdb.base/prologue-include.exp
11499 * gdb.base/psymtab.exp
11500 * gdb.base/ptype.exp
11501 * gdb.base/random-signal.exp
11502 * gdb.base/randomize.exp
11503 * gdb.base/range-stepping.exp
11504 * gdb.base/readline-ask.exp
11505 * gdb.base/recpar.exp
11506 * gdb.base/recurse.exp
11507 * gdb.base/relational.exp
11508 * gdb.base/restore.exp
11509 * gdb.base/return-nodebug.exp
11510 * gdb.base/return.exp
11511 * gdb.base/run-after-attach.exp
11512 * gdb.base/save-bp.exp
11513 * gdb.base/scope.exp
11514 * gdb.base/sect-cmd.exp
11515 * gdb.base/set-lang-auto.exp
11516 * gdb.base/set-noassign.exp
11517 * gdb.base/setvar.exp
11518 * gdb.base/sigall.exp
11519 * gdb.base/sigbpt.exp
11520 * gdb.base/siginfo-addr.exp
11521 * gdb.base/siginfo-infcall.exp
11522 * gdb.base/siginfo-obj.exp
11523 * gdb.base/siginfo.exp
11524 * gdb.base/signals-state-child.exp
11525 * gdb.base/signest.exp
11526 * gdb.base/sigstep.exp
11527 * gdb.base/sizeof.exp
11528 * gdb.base/skip.exp
11529 * gdb.base/solib-corrupted.exp
11530 * gdb.base/solib-nodir.exp
11531 * gdb.base/solib-search.exp
11532 * gdb.base/stack-checking.exp
11533 * gdb.base/stale-infcall.exp
11534 * gdb.base/stap-probe.exp
11535 * gdb.base/start.exp
11536 * gdb.base/step-break.exp
11537 * gdb.base/step-bt.exp
11538 * gdb.base/step-line.exp
11539 * gdb.base/step-over-exit.exp
11540 * gdb.base/step-over-syscall.exp
11541 * gdb.base/step-resume-infcall.exp
11542 * gdb.base/step-test.exp
11543 * gdb.base/store.exp
11544 * gdb.base/structs3.exp
11545 * gdb.base/sym-file.exp
11546 * gdb.base/symbol-without-target_section.exp
11547 * gdb.base/term.exp
11548 * gdb.base/testenv.exp
11549 * gdb.base/ui-redirect.exp
11550 * gdb.base/until.exp
11551 * gdb.base/unwindonsignal.exp
11552 * gdb.base/value-double-free.exp
11553 * gdb.base/vla-datatypes.exp
11554 * gdb.base/vla-ptr.exp
11555 * gdb.base/vla-sideeffect.exp
11556 * gdb.base/volatile.exp
11557 * gdb.base/watch-cond-infcall.exp
11558 * gdb.base/watch-cond.exp
11559 * gdb.base/watch-non-mem.exp
11560 * gdb.base/watch-read.exp
11561 * gdb.base/watch-vfork.exp
11562 * gdb.base/watchpoint-cond-gone.exp
11563 * gdb.base/watchpoint-delete.exp
11564 * gdb.base/watchpoint-hw-hit-once.exp
11565 * gdb.base/watchpoint-hw.exp
11566 * gdb.base/watchpoint-stops-at-right-insn.exp
11567 * gdb.base/watchpoints.exp
11568 * gdb.base/wchar.exp
11569 * gdb.base/whatis-exp.exp
11570 * gdb.btrace/buffer-size.exp
11571 * gdb.btrace/data.exp
11572 * gdb.btrace/delta.exp
11573 * gdb.btrace/dlopen.exp
11574 * gdb.btrace/enable.exp
11575 * gdb.btrace/exception.exp
11576 * gdb.btrace/function_call_history.exp
11577 * gdb.btrace/gcore.exp
11578 * gdb.btrace/instruction_history.exp
11579 * gdb.btrace/nohist.exp
11580 * gdb.btrace/reconnect.exp
11581 * gdb.btrace/record_goto-step.exp
11582 * gdb.btrace/record_goto.exp
11583 * gdb.btrace/rn-dl-bind.exp
11584 * gdb.btrace/segv.exp
11585 * gdb.btrace/step.exp
11586 * gdb.btrace/stepi.exp
11587 * gdb.btrace/tailcall-only.exp
11588 * gdb.btrace/tailcall.exp
11589 * gdb.btrace/tsx.exp
11590 * gdb.btrace/unknown_functions.exp
11591 * gdb.btrace/vdso.exp
11592 * gdb.compile/compile-ifunc.exp
11593 * gdb.compile/compile-ops.exp
11594 * gdb.compile/compile-print.exp
11595 * gdb.compile/compile-setjmp.exp
11596 * gdb.cp/abstract-origin.exp
11597 * gdb.cp/ambiguous.exp
11598 * gdb.cp/annota2.exp
11599 * gdb.cp/annota3.exp
11600 * gdb.cp/anon-ns.exp
11601 * gdb.cp/anon-struct.exp
11602 * gdb.cp/anon-union.exp
11603 * gdb.cp/arg-reference.exp
11604 * gdb.cp/baseenum.exp
11605 * gdb.cp/bool.exp
11606 * gdb.cp/breakpoint.exp
11607 * gdb.cp/bs15503.exp
11608 * gdb.cp/call-c.exp
11609 * gdb.cp/casts.exp
11610 * gdb.cp/chained-calls.exp
11611 * gdb.cp/class2.exp
11612 * gdb.cp/classes.exp
11613 * gdb.cp/cmpd-minsyms.exp
11614 * gdb.cp/converts.exp
11615 * gdb.cp/cp-relocate.exp
11616 * gdb.cp/cpcompletion.exp
11617 * gdb.cp/cpexprs.exp
11618 * gdb.cp/cplabel.exp
11619 * gdb.cp/cplusfuncs.exp
11620 * gdb.cp/cpsizeof.exp
11621 * gdb.cp/ctti.exp
11622 * gdb.cp/derivation.exp
11623 * gdb.cp/destrprint.exp
11624 * gdb.cp/dispcxx.exp
11625 * gdb.cp/enum-class.exp
11626 * gdb.cp/exception.exp
11627 * gdb.cp/exceptprint.exp
11628 * gdb.cp/expand-psymtabs-cxx.exp
11629 * gdb.cp/expand-sals.exp
11630 * gdb.cp/extern-c.exp
11631 * gdb.cp/filename.exp
11632 * gdb.cp/formatted-ref.exp
11633 * gdb.cp/fpointer.exp
11634 * gdb.cp/gdb1355.exp
11635 * gdb.cp/gdb2495.exp
11636 * gdb.cp/hang.exp
11637 * gdb.cp/impl-this.exp
11638 * gdb.cp/infcall-dlopen.exp
11639 * gdb.cp/inherit.exp
11640 * gdb.cp/iostream.exp
11641 * gdb.cp/koenig.exp
11642 * gdb.cp/local.exp
11643 * gdb.cp/m-data.exp
11644 * gdb.cp/m-static.exp
11645 * gdb.cp/mb-ctor.exp
11646 * gdb.cp/mb-inline.exp
11647 * gdb.cp/mb-templates.exp
11648 * gdb.cp/member-name.exp
11649 * gdb.cp/member-ptr.exp
11650 * gdb.cp/meth-typedefs.exp
11651 * gdb.cp/method.exp
11652 * gdb.cp/method2.exp
11653 * gdb.cp/minsym-fallback.exp
11654 * gdb.cp/misc.exp
11655 * gdb.cp/namelessclass.exp
11656 * gdb.cp/namespace-enum.exp
11657 * gdb.cp/namespace-nested-import.exp
11658 * gdb.cp/namespace.exp
11659 * gdb.cp/nextoverthrow.exp
11660 * gdb.cp/no-dmgl-verbose.exp
11661 * gdb.cp/non-trivial-retval.exp
11662 * gdb.cp/noparam.exp
11663 * gdb.cp/nsdecl.exp
11664 * gdb.cp/nsimport.exp
11665 * gdb.cp/nsnested.exp
11666 * gdb.cp/nsnoimports.exp
11667 * gdb.cp/nsrecurs.exp
11668 * gdb.cp/nsstress.exp
11669 * gdb.cp/nsusing.exp
11670 * gdb.cp/operator.exp
11671 * gdb.cp/oranking.exp
11672 * gdb.cp/overload-const.exp
11673 * gdb.cp/overload.exp
11674 * gdb.cp/ovldbreak.exp
11675 * gdb.cp/ovsrch.exp
11676 * gdb.cp/paren-type.exp
11677 * gdb.cp/parse-lang.exp
11678 * gdb.cp/pass-by-ref.exp
11679 * gdb.cp/pr-1023.exp
11680 * gdb.cp/pr-1210.exp
11681 * gdb.cp/pr-574.exp
11682 * gdb.cp/pr10687.exp
11683 * gdb.cp/pr12028.exp
11684 * gdb.cp/pr17132.exp
11685 * gdb.cp/pr17494.exp
11686 * gdb.cp/pr9067.exp
11687 * gdb.cp/pr9167.exp
11688 * gdb.cp/pr9631.exp
11689 * gdb.cp/printmethod.exp
11690 * gdb.cp/psmang.exp
11691 * gdb.cp/psymtab-parameter.exp
11692 * gdb.cp/ptype-cv-cp.exp
11693 * gdb.cp/ptype-flags.exp
11694 * gdb.cp/re-set-overloaded.exp
11695 * gdb.cp/ref-types.exp
11696 * gdb.cp/rtti.exp
11697 * gdb.cp/scope-err.exp
11698 * gdb.cp/shadow.exp
11699 * gdb.cp/smartp.exp
11700 * gdb.cp/static-method.exp
11701 * gdb.cp/static-print-quit.exp
11702 * gdb.cp/temargs.exp
11703 * gdb.cp/templates.exp
11704 * gdb.cp/try_catch.exp
11705 * gdb.cp/typedef-operator.exp
11706 * gdb.cp/typeid.exp
11707 * gdb.cp/userdef.exp
11708 * gdb.cp/using-crash.exp
11709 * gdb.cp/var-tag.exp
11710 * gdb.cp/virtbase.exp
11711 * gdb.cp/virtfunc.exp
11712 * gdb.cp/virtfunc2.exp
11713 * gdb.cp/vla-cxx.exp
11714 * gdb.disasm/t01_mov.exp
11715 * gdb.disasm/t02_mova.exp
11716 * gdb.disasm/t03_add.exp
11717 * gdb.disasm/t04_sub.exp
11718 * gdb.disasm/t05_cmp.exp
11719 * gdb.disasm/t06_ari2.exp
11720 * gdb.disasm/t07_ari3.exp
11721 * gdb.disasm/t08_or.exp
11722 * gdb.disasm/t09_xor.exp
11723 * gdb.disasm/t10_and.exp
11724 * gdb.disasm/t11_logs.exp
11725 * gdb.disasm/t12_bit.exp
11726 * gdb.disasm/t13_otr.exp
11727 * gdb.dlang/circular.exp
11728 * gdb.dwarf2/arr-stride.exp
11729 * gdb.dwarf2/arr-subrange.exp
11730 * gdb.dwarf2/atomic-type.exp
11731 * gdb.dwarf2/bad-regnum.exp
11732 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11733 * gdb.dwarf2/callframecfa.exp
11734 * gdb.dwarf2/clztest.exp
11735 * gdb.dwarf2/corrupt.exp
11736 * gdb.dwarf2/data-loc.exp
11737 * gdb.dwarf2/dup-psym.exp
11738 * gdb.dwarf2/dw2-anon-mptr.exp
11739 * gdb.dwarf2/dw2-anonymous-func.exp
11740 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11741 * gdb.dwarf2/dw2-bad-unresolved.exp
11742 * gdb.dwarf2/dw2-basic.exp
11743 * gdb.dwarf2/dw2-canonicalize-type.exp
11744 * gdb.dwarf2/dw2-case-insensitive.exp
11745 * gdb.dwarf2/dw2-common-block.exp
11746 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11747 * gdb.dwarf2/dw2-compressed.exp
11748 * gdb.dwarf2/dw2-const.exp
11749 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11750 * gdb.dwarf2/dw2-cu-size.exp
11751 * gdb.dwarf2/dw2-dup-frame.exp
11752 * gdb.dwarf2/dw2-entry-value.exp
11753 * gdb.dwarf2/dw2-icycle.exp
11754 * gdb.dwarf2/dw2-ifort-parameter.exp
11755 * gdb.dwarf2/dw2-inline-break.exp
11756 * gdb.dwarf2/dw2-inline-param.exp
11757 * gdb.dwarf2/dw2-intercu.exp
11758 * gdb.dwarf2/dw2-intermix.exp
11759 * gdb.dwarf2/dw2-lexical-block-bare.exp
11760 * gdb.dwarf2/dw2-linkage-name-trust.exp
11761 * gdb.dwarf2/dw2-minsym-in-cu.exp
11762 * gdb.dwarf2/dw2-noloc.exp
11763 * gdb.dwarf2/dw2-op-call.exp
11764 * gdb.dwarf2/dw2-op-out-param.exp
11765 * gdb.dwarf2/dw2-opt-structptr.exp
11766 * gdb.dwarf2/dw2-param-error.exp
11767 * gdb.dwarf2/dw2-producer.exp
11768 * gdb.dwarf2/dw2-ranges-base.exp
11769 * gdb.dwarf2/dw2-ref-missing-frame.exp
11770 * gdb.dwarf2/dw2-reg-undefined.exp
11771 * gdb.dwarf2/dw2-regno-invalid.exp
11772 * gdb.dwarf2/dw2-restore.exp
11773 * gdb.dwarf2/dw2-restrict.exp
11774 * gdb.dwarf2/dw2-single-line-discriminators.exp
11775 * gdb.dwarf2/dw2-strp.exp
11776 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11777 * gdb.dwarf2/dw2-unresolved.exp
11778 * gdb.dwarf2/dw2-var-zero-addr.exp
11779 * gdb.dwarf2/dw4-sig-types.exp
11780 * gdb.dwarf2/dwz.exp
11781 * gdb.dwarf2/dynarr-ptr.exp
11782 * gdb.dwarf2/enum-type.exp
11783 * gdb.dwarf2/gdb-index.exp
11784 * gdb.dwarf2/implptr-64bit.exp
11785 * gdb.dwarf2/implptr-optimized-out.exp
11786 * gdb.dwarf2/implptr.exp
11787 * gdb.dwarf2/implref-array.exp
11788 * gdb.dwarf2/implref-const.exp
11789 * gdb.dwarf2/implref-global.exp
11790 * gdb.dwarf2/implref-struct.exp
11791 * gdb.dwarf2/mac-fileno.exp
11792 * gdb.dwarf2/main-subprogram.exp
11793 * gdb.dwarf2/member-ptr-forwardref.exp
11794 * gdb.dwarf2/method-ptr.exp
11795 * gdb.dwarf2/missing-sig-type.exp
11796 * gdb.dwarf2/nonvar-access.exp
11797 * gdb.dwarf2/opaque-type-lookup.exp
11798 * gdb.dwarf2/pieces-optimized-out.exp
11799 * gdb.dwarf2/pieces.exp
11800 * gdb.dwarf2/pr10770.exp
11801 * gdb.dwarf2/pr13961.exp
11802 * gdb.dwarf2/staticvirtual.exp
11803 * gdb.dwarf2/subrange.exp
11804 * gdb.dwarf2/symtab-producer.exp
11805 * gdb.dwarf2/trace-crash.exp
11806 * gdb.dwarf2/typeddwarf.exp
11807 * gdb.dwarf2/valop.exp
11808 * gdb.dwarf2/watch-notconst.exp
11809 * gdb.fortran/array-element.exp
11810 * gdb.fortran/charset.exp
11811 * gdb.fortran/common-block.exp
11812 * gdb.fortran/complex.exp
11813 * gdb.fortran/derived-type-function.exp
11814 * gdb.fortran/derived-type.exp
11815 * gdb.fortran/logical.exp
11816 * gdb.fortran/module.exp
11817 * gdb.fortran/multi-dim.exp
11818 * gdb.fortran/nested-funcs.exp
11819 * gdb.fortran/print-formatted.exp
11820 * gdb.fortran/subarray.exp
11821 * gdb.fortran/vla-alloc-assoc.exp
11822 * gdb.fortran/vla-datatypes.exp
11823 * gdb.fortran/vla-history.exp
11824 * gdb.fortran/vla-ptr-info.exp
11825 * gdb.fortran/vla-ptype-sub.exp
11826 * gdb.fortran/vla-ptype.exp
11827 * gdb.fortran/vla-sizeof.exp
11828 * gdb.fortran/vla-type.exp
11829 * gdb.fortran/vla-value-sub-arbitrary.exp
11830 * gdb.fortran/vla-value-sub-finish.exp
11831 * gdb.fortran/vla-value-sub.exp
11832 * gdb.fortran/vla-value.exp
11833 * gdb.fortran/whatis_type.exp
11834 * gdb.go/chan.exp
11835 * gdb.go/handcall.exp
11836 * gdb.go/hello.exp
11837 * gdb.go/integers.exp
11838 * gdb.go/methods.exp
11839 * gdb.go/package.exp
11840 * gdb.go/strings.exp
11841 * gdb.go/types.exp
11842 * gdb.go/unsafe.exp
11843 * gdb.guile/scm-arch.exp
11844 * gdb.guile/scm-block.exp
11845 * gdb.guile/scm-breakpoint.exp
11846 * gdb.guile/scm-cmd.exp
11847 * gdb.guile/scm-disasm.exp
11848 * gdb.guile/scm-equal.exp
11849 * gdb.guile/scm-frame-args.exp
11850 * gdb.guile/scm-frame-inline.exp
11851 * gdb.guile/scm-frame.exp
11852 * gdb.guile/scm-iterator.exp
11853 * gdb.guile/scm-math.exp
11854 * gdb.guile/scm-objfile.exp
11855 * gdb.guile/scm-ports.exp
11856 * gdb.guile/scm-symbol.exp
11857 * gdb.guile/scm-symtab.exp
11858 * gdb.guile/scm-value-cc.exp
11859 * gdb.guile/types-module.exp
11860 * gdb.linespec/break-ask.exp
11861 * gdb.linespec/cpexplicit.exp
11862 * gdb.linespec/explicit.exp
11863 * gdb.linespec/keywords.exp
11864 * gdb.linespec/linespec.exp
11865 * gdb.linespec/ls-dollar.exp
11866 * gdb.linespec/ls-errs.exp
11867 * gdb.linespec/skip-two.exp
11868 * gdb.linespec/thread.exp
11869 * gdb.mi/mi-async.exp
11870 * gdb.mi/mi-basics.exp
11871 * gdb.mi/mi-break.exp
11872 * gdb.mi/mi-catch-load.exp
11873 * gdb.mi/mi-cli.exp
11874 * gdb.mi/mi-cmd-param-changed.exp
11875 * gdb.mi/mi-console.exp
11876 * gdb.mi/mi-detach.exp
11877 * gdb.mi/mi-disassemble.exp
11878 * gdb.mi/mi-eval.exp
11879 * gdb.mi/mi-file-transfer.exp
11880 * gdb.mi/mi-file.exp
11881 * gdb.mi/mi-fill-memory.exp
11882 * gdb.mi/mi-inheritance-syntax-error.exp
11883 * gdb.mi/mi-linespec-err-cp.exp
11884 * gdb.mi/mi-logging.exp
11885 * gdb.mi/mi-memory-changed.exp
11886 * gdb.mi/mi-read-memory.exp
11887 * gdb.mi/mi-record-changed.exp
11888 * gdb.mi/mi-reg-undefined.exp
11889 * gdb.mi/mi-regs.exp
11890 * gdb.mi/mi-return.exp
11891 * gdb.mi/mi-reverse.exp
11892 * gdb.mi/mi-simplerun.exp
11893 * gdb.mi/mi-solib.exp
11894 * gdb.mi/mi-stack.exp
11895 * gdb.mi/mi-stepi.exp
11896 * gdb.mi/mi-syn-frame.exp
11897 * gdb.mi/mi-until.exp
11898 * gdb.mi/mi-var-block.exp
11899 * gdb.mi/mi-var-child.exp
11900 * gdb.mi/mi-var-cmd.exp
11901 * gdb.mi/mi-var-cp.exp
11902 * gdb.mi/mi-var-display.exp
11903 * gdb.mi/mi-var-invalidate.exp
11904 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11905 * gdb.mi/mi-vla-fortran.exp
11906 * gdb.mi/mi-watch.exp
11907 * gdb.mi/mi2-var-child.exp
11908 * gdb.mi/user-selected-context-sync.exp
11909 * gdb.modula2/unbounded-array.exp
11910 * gdb.multi/dummy-frame-restore.exp
11911 * gdb.multi/multi-arch-exec.exp
11912 * gdb.multi/multi-arch.exp
11913 * gdb.multi/tids.exp
11914 * gdb.multi/watchpoint-multi.exp
11915 * gdb.opencl/callfuncs.exp
11916 * gdb.opencl/convs_casts.exp
11917 * gdb.opencl/datatypes.exp
11918 * gdb.opencl/operators.exp
11919 * gdb.opencl/vec_comps.exp
11920 * gdb.opt/clobbered-registers-O2.exp
11921 * gdb.opt/inline-break.exp
11922 * gdb.opt/inline-bt.exp
11923 * gdb.opt/inline-cmds.exp
11924 * gdb.opt/inline-locals.exp
11925 * gdb.pascal/case-insensitive-symbols.exp
11926 * gdb.pascal/floats.exp
11927 * gdb.pascal/gdb11492.exp
11928 * gdb.python/lib-types.exp
11929 * gdb.python/py-arch.exp
11930 * gdb.python/py-as-string.exp
11931 * gdb.python/py-bad-printers.exp
11932 * gdb.python/py-block.exp
11933 * gdb.python/py-breakpoint-create-fail.exp
11934 * gdb.python/py-breakpoint.exp
11935 * gdb.python/py-caller-is.exp
11936 * gdb.python/py-cmd.exp
11937 * gdb.python/py-explore-cc.exp
11938 * gdb.python/py-explore.exp
11939 * gdb.python/py-finish-breakpoint.exp
11940 * gdb.python/py-finish-breakpoint2.exp
11941 * gdb.python/py-frame-args.exp
11942 * gdb.python/py-frame-inline.exp
11943 * gdb.python/py-frame.exp
11944 * gdb.python/py-framefilter-mi.exp
11945 * gdb.python/py-infthread.exp
11946 * gdb.python/py-lazy-string.exp
11947 * gdb.python/py-linetable.exp
11948 * gdb.python/py-mi-events.exp
11949 * gdb.python/py-mi-objfile.exp
11950 * gdb.python/py-mi.exp
11951 * gdb.python/py-objfile.exp
11952 * gdb.python/py-pp-integral.exp
11953 * gdb.python/py-pp-maint.exp
11954 * gdb.python/py-pp-re-notag.exp
11955 * gdb.python/py-pp-registration.exp
11956 * gdb.python/py-recurse-unwind.exp
11957 * gdb.python/py-strfns.exp
11958 * gdb.python/py-symbol.exp
11959 * gdb.python/py-symtab.exp
11960 * gdb.python/py-sync-interp.exp
11961 * gdb.python/py-typeprint.exp
11962 * gdb.python/py-unwind-maint.exp
11963 * gdb.python/py-unwind.exp
11964 * gdb.python/py-value-cc.exp
11965 * gdb.python/py-xmethods.exp
11966 * gdb.reverse/amd64-tailcall-reverse.exp
11967 * gdb.reverse/break-precsave.exp
11968 * gdb.reverse/break-reverse.exp
11969 * gdb.reverse/consecutive-precsave.exp
11970 * gdb.reverse/consecutive-reverse.exp
11971 * gdb.reverse/finish-precsave.exp
11972 * gdb.reverse/finish-reverse-bkpt.exp
11973 * gdb.reverse/finish-reverse.exp
11974 * gdb.reverse/fstatat-reverse.exp
11975 * gdb.reverse/getresuid-reverse.exp
11976 * gdb.reverse/i386-precsave.exp
11977 * gdb.reverse/i386-reverse.exp
11978 * gdb.reverse/i386-sse-reverse.exp
11979 * gdb.reverse/i387-env-reverse.exp
11980 * gdb.reverse/i387-stack-reverse.exp
11981 * gdb.reverse/insn-reverse.exp
11982 * gdb.reverse/machinestate-precsave.exp
11983 * gdb.reverse/machinestate.exp
11984 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11985 * gdb.reverse/pipe-reverse.exp
11986 * gdb.reverse/readv-reverse.exp
11987 * gdb.reverse/recvmsg-reverse.exp
11988 * gdb.reverse/rerun-prec.exp
11989 * gdb.reverse/s390-mvcle.exp
11990 * gdb.reverse/step-precsave.exp
11991 * gdb.reverse/step-reverse.exp
11992 * gdb.reverse/time-reverse.exp
11993 * gdb.reverse/until-precsave.exp
11994 * gdb.reverse/until-reverse.exp
11995 * gdb.reverse/waitpid-reverse.exp
11996 * gdb.reverse/watch-precsave.exp
11997 * gdb.reverse/watch-reverse.exp
11998 * gdb.rust/generics.exp
11999 * gdb.rust/methods.exp
12000 * gdb.rust/modules.exp
12001 * gdb.rust/simple.exp
12002 * gdb.server/connect-with-no-symbol-file.exp
12003 * gdb.server/ext-attach.exp
12004 * gdb.server/ext-restart.exp
12005 * gdb.server/ext-wrapper.exp
12006 * gdb.server/file-transfer.exp
12007 * gdb.server/server-exec-info.exp
12008 * gdb.server/server-kill.exp
12009 * gdb.server/server-mon.exp
12010 * gdb.server/wrapper.exp
12011 * gdb.stabs/exclfwd.exp
12012 * gdb.stabs/gdb11479.exp
12013 * gdb.threads/clone-new-thread-event.exp
12014 * gdb.threads/corethreads.exp
12015 * gdb.threads/current-lwp-dead.exp
12016 * gdb.threads/dlopen-libpthread.exp
12017 * gdb.threads/gcore-thread.exp
12018 * gdb.threads/sigstep-threads.exp
12019 * gdb.threads/watchpoint-fork.exp
12020 * gdb.trace/actions-changed.exp
12021 * gdb.trace/backtrace.exp
12022 * gdb.trace/change-loc.exp
12023 * gdb.trace/circ.exp
12024 * gdb.trace/collection.exp
12025 * gdb.trace/disconnected-tracing.exp
12026 * gdb.trace/ftrace.exp
12027 * gdb.trace/mi-trace-frame-collected.exp
12028 * gdb.trace/mi-trace-unavailable.exp
12029 * gdb.trace/mi-traceframe-changed.exp
12030 * gdb.trace/mi-tsv-changed.exp
12031 * gdb.trace/no-attach-trace.exp
12032 * gdb.trace/passc-dyn.exp
12033 * gdb.trace/qtro.exp
12034 * gdb.trace/range-stepping.exp
12035 * gdb.trace/read-memory.exp
12036 * gdb.trace/save-trace.exp
12037 * gdb.trace/signal.exp
12038 * gdb.trace/status-stop.exp
12039 * gdb.trace/tfile.exp
12040 * gdb.trace/trace-break.exp
12041 * gdb.trace/trace-buffer-size.exp
12042 * gdb.trace/trace-condition.exp
12043 * gdb.trace/tracefile-pseudo-reg.exp
12044 * gdb.trace/tstatus.exp
12045 * gdb.trace/unavailable.exp
12046 * gdb.trace/while-dyn.exp
12047 * gdb.trace/while-stepping.exp
12048
34c41c68
DE
120492016-12-22 Doug Evans <xdje42@gmail.com>
12050
12051 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12052 and msymbols.
12053
16e69324
YQ
120542016-12-19 Yao Qi <yao.qi@linaro.org>
12055
12056 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12057 (test_with_self): Don't call do_steps_and_nexts, and remove
12058 code about stepping into xmalloc.
12059
f94f411b
YQ
120602016-12-09 Yao Qi <yao.qi@linaro.org>
12061
12062 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12063
120642016-12-09 Yao Qi <yao.qi@linaro.org>
12065
12066 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12067
f1b5deee
PA
120682016-12-09 Pedro Alves <palves@redhat.com>
12069
12070 * gdb.base/all-architectures-0.exp: New file.
12071 * gdb.base/all-architectures-1.exp: New file.
12072 * gdb.base/all-architectures-2.exp: New file.
12073 * gdb.base/all-architectures-3.exp: New file.
12074 * gdb.base/all-architectures-4.exp: New file.
12075 * gdb.base/all-architectures-5.exp: New file.
12076 * gdb.base/all-architectures-6.exp: New file.
12077 * gdb.base/all-architectures-7.exp: New file.
12078 * gdb.base/all-architectures.exp.in: New file.
12079
364ca42e
YQ
120802016-12-09 Yao Qi <yao.qi@linaro.org>
12081
12082 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12083
107c2d62
LM
120842016-12-02 Luis Machado <lgustavo@codesourcery.com>
12085
12086 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12087 possible.
12088 Remove useless pattern-matching code.
12089
df3ee9ca
PA
120902016-12-02 Pedro Alves <palves@redhat.com>
12091
12092 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12093 procedure.
12094 (top level): Call it.
12095
ec835369
PA
120962016-12-02 Pedro Alves <palves@redhat.com>
12097
12098 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12099 New procedure.
12100 (top level): Call it.
12101
01770bbd
PA
121022016-12-02 Pedro Alves <palves@redhat.com>
12103
12104 PR cli/20559
12105 * gdb.base/commands.exp (user_defined_command_args_eval): New
12106 procedure.
12107 (top level): Call it.
12108
008459ea
LM
121092016-12-02 Luis Machado <lgustavo@codesourcery.com>
12110
12111 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12112 timeout handling.
12113
0c1b455e
TT
121142016-12-02 Tom Tromey <tom@tromey.com>
12115
12116 * gdb.dwarf2/main-subprogram.c: New file.
12117 * gdb.dwarf2/main-subprogram.exp: New file.
12118
018572b8
LM
121192016-12-01 Luis Machado <lgustavo@codesourcery.com>
12120
12121 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12122 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12123 gdb_test_no_output for a couple of cases.
12124 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12125
84c93cd5
LM
121262016-12-01 Luis Machado <lgustavo@codesourcery.com>
12127
12128 Fix test names and standardize compilation error messages throughout
12129 the following files:
12130
12131 * gdb.ada/start.exp
12132 * gdb.arch/alpha-step.exp
12133 * gdb.arch/e500-prologue.exp
12134 * gdb.arch/ftrace-insn-reloc.exp
12135 * gdb.arch/gdb1291.exp
12136 * gdb.arch/gdb1431.exp
12137 * gdb.arch/gdb1558.exp
12138 * gdb.arch/i386-dr3-watch.exp
12139 * gdb.arch/i386-sse-stack-align.exp
12140 * gdb.arch/ia64-breakpoint-shadow.exp
12141 * gdb.arch/pa-nullify.exp
12142 * gdb.arch/powerpc-aix-prologue.exp
12143 * gdb.arch/thumb-bx-pc.exp
12144 * gdb.base/annota1.exp
12145 * gdb.base/annota3.exp
12146 * gdb.base/arrayidx.exp
12147 * gdb.base/assign.exp
12148 * gdb.base/attach.exp
12149 * gdb.base/auxv.exp
12150 * gdb.base/bang.exp
12151 * gdb.base/bfp-test.exp
12152 * gdb.base/bigcore.exp
12153 * gdb.base/bitfields2.exp
12154 * gdb.base/break-fun-addr.exp
12155 * gdb.base/break-probes.exp
12156 * gdb.base/call-rt-st.exp
12157 * gdb.base/callexit.exp
12158 * gdb.base/catch-fork-kill.exp
12159 * gdb.base/charset.exp
12160 * gdb.base/checkpoint.exp
12161 * gdb.base/comprdebug.exp
12162 * gdb.base/constvars.exp
12163 * gdb.base/coredump-filter.exp
12164 * gdb.base/cursal.exp
12165 * gdb.base/cvexpr.exp
12166 * gdb.base/detach.exp
12167 * gdb.base/display.exp
12168 * gdb.base/dmsym.exp
12169 * gdb.base/dprintf-pending.exp
12170 * gdb.base/dso2dso.exp
12171 * gdb.base/dtrace-probe.exp
12172 * gdb.base/dump.exp
12173 * gdb.base/enum_cond.exp
12174 * gdb.base/exe-lock.exp
12175 * gdb.base/exec-invalid-sysroot.exp
12176 * gdb.base/execl-update-breakpoints.exp
12177 * gdb.base/exprs.exp
12178 * gdb.base/fileio.exp
12179 * gdb.base/find.exp
12180 * gdb.base/finish.exp
12181 * gdb.base/fixsection.exp
12182 * gdb.base/foll-vfork.exp
12183 * gdb.base/frame-args.exp
12184 * gdb.base/gcore.exp
12185 * gdb.base/gdb1250.exp
12186 * gdb.base/global-var-nested-by-dso.exp
12187 * gdb.base/gnu-ifunc.exp
12188 * gdb.base/hashline1.exp
12189 * gdb.base/hashline2.exp
12190 * gdb.base/hashline3.exp
12191 * gdb.base/hbreak-in-shr-unsupported.exp
12192 * gdb.base/huge.exp
12193 * gdb.base/infcall-input.exp
12194 * gdb.base/info-fun.exp
12195 * gdb.base/info-shared.exp
12196 * gdb.base/jit-simple.exp
12197 * gdb.base/jit-so.exp
12198 * gdb.base/jit.exp
12199 * gdb.base/jump.exp
12200 * gdb.base/label.exp
12201 * gdb.base/lineinc.exp
12202 * gdb.base/logical.exp
12203 * gdb.base/longjmp.exp
12204 * gdb.base/macscp.exp
12205 * gdb.base/miscexprs.exp
12206 * gdb.base/new-ui-echo.exp
12207 * gdb.base/new-ui-pending-input.exp
12208 * gdb.base/new-ui.exp
12209 * gdb.base/nodebug.exp
12210 * gdb.base/nofield.exp
12211 * gdb.base/offsets.exp
12212 * gdb.base/overlays.exp
12213 * gdb.base/pending.exp
12214 * gdb.base/pointers.exp
12215 * gdb.base/pr11022.exp
12216 * gdb.base/printcmds.exp
12217 * gdb.base/prologue.exp
12218 * gdb.base/ptr-typedef.exp
12219 * gdb.base/realname-expand.exp
12220 * gdb.base/relativedebug.exp
12221 * gdb.base/relocate.exp
12222 * gdb.base/remote.exp
12223 * gdb.base/reread.exp
12224 * gdb.base/return2.exp
12225 * gdb.base/savedregs.exp
12226 * gdb.base/sep.exp
12227 * gdb.base/sepdebug.exp
12228 * gdb.base/sepsymtab.exp
12229 * gdb.base/set-inferior-tty.exp
12230 * gdb.base/setshow.exp
12231 * gdb.base/shlib-call.exp
12232 * gdb.base/sigaltstack.exp
12233 * gdb.base/siginfo-addr.exp
12234 * gdb.base/signals.exp
12235 * gdb.base/signull.exp
12236 * gdb.base/sigrepeat.exp
12237 * gdb.base/so-impl-ld.exp
12238 * gdb.base/solib-display.exp
12239 * gdb.base/solib-overlap.exp
12240 * gdb.base/solib-search.exp
12241 * gdb.base/solib-symbol.exp
12242 * gdb.base/structs.exp
12243 * gdb.base/structs2.exp
12244 * gdb.base/symtab-search-order.exp
12245 * gdb.base/twice.exp
12246 * gdb.base/unload.exp
12247 * gdb.base/varargs.exp
12248 * gdb.base/watchpoint-solib.exp
12249 * gdb.base/watchpoint.exp
12250 * gdb.base/whatis.exp
12251 * gdb.base/wrong_frame_bt_full.exp
12252 * gdb.btrace/dlopen.exp
12253 * gdb.cell/ea-standalone.exp
12254 * gdb.cell/ea-test.exp
12255 * gdb.cp/dispcxx.exp
12256 * gdb.cp/gdb2384.exp
12257 * gdb.cp/method2.exp
12258 * gdb.cp/nextoverthrow.exp
12259 * gdb.cp/pr10728.exp
12260 * gdb.disasm/am33.exp
12261 * gdb.disasm/h8300s.exp
12262 * gdb.disasm/mn10300.exp
12263 * gdb.disasm/sh3.exp
12264 * gdb.dwarf2/dw2-dir-file-name.exp
12265 * gdb.fortran/complex.exp
12266 * gdb.fortran/library-module.exp
12267 * gdb.guile/scm-pretty-print.exp
12268 * gdb.guile/scm-symbol.exp
12269 * gdb.guile/scm-type.exp
12270 * gdb.guile/scm-value.exp
12271 * gdb.linespec/linespec.exp
12272 * gdb.mi/gdb701.exp
12273 * gdb.mi/gdb792.exp
12274 * gdb.mi/mi-breakpoint-changed.exp
12275 * gdb.mi/mi-dprintf-pending.exp
12276 * gdb.mi/mi-dprintf.exp
12277 * gdb.mi/mi-exit-code.exp
12278 * gdb.mi/mi-pending.exp
12279 * gdb.mi/mi-solib.exp
12280 * gdb.mi/new-ui-mi-sync.exp
12281 * gdb.mi/pr11022.exp
12282 * gdb.mi/user-selected-context-sync.exp
12283 * gdb.opt/solib-intra-step.exp
12284 * gdb.python/py-events.exp
12285 * gdb.python/py-finish-breakpoint.exp
12286 * gdb.python/py-mi.exp
12287 * gdb.python/py-prettyprint.exp
12288 * gdb.python/py-shared.exp
12289 * gdb.python/py-symbol.exp
12290 * gdb.python/py-template.exp
12291 * gdb.python/py-type.exp
12292 * gdb.python/py-value.exp
12293 * gdb.reverse/solib-precsave.exp
12294 * gdb.reverse/solib-reverse.exp
12295 * gdb.server/solib-list.exp
12296 * gdb.stabs/weird.exp
12297 * gdb.threads/reconnect-signal.exp
12298 * gdb.threads/stepi-random-signal.exp
12299 * gdb.trace/actions.exp
12300 * gdb.trace/ax.exp
12301 * gdb.trace/backtrace.exp
12302 * gdb.trace/change-loc.exp
12303 * gdb.trace/deltrace.exp
12304 * gdb.trace/ftrace-lock.exp
12305 * gdb.trace/ftrace.exp
12306 * gdb.trace/infotrace.exp
12307 * gdb.trace/mi-tracepoint-changed.exp
12308 * gdb.trace/packetlen.exp
12309 * gdb.trace/passcount.exp
12310 * gdb.trace/pending.exp
12311 * gdb.trace/range-stepping.exp
12312 * gdb.trace/report.exp
12313 * gdb.trace/stap-trace.exp
12314 * gdb.trace/tfind.exp
12315 * gdb.trace/trace-break.exp
12316 * gdb.trace/trace-condition.exp
12317 * gdb.trace/trace-enable-disable.exp
12318 * gdb.trace/trace-mt.exp
12319 * gdb.trace/tracecmd.exp
12320 * gdb.trace/tspeed.exp
12321 * gdb.trace/tsv.exp
12322 * lib/perftest.exp
12323
fb9feb35
LM
123242016-12-01 Luis Machado <lgustavo@codesourcery.com>
12325
12326 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12327 with gdb_test_no_output.
12328 Use command as test name.
12329
cd2ddb6c
LM
123302016-12-01 Luis Machado <lgustavo@codesourcery.com>
12331
12332 Fix test names starting with uppercase throughout the files.
12333
12334 * gdb.ada/assign_1.exp
12335 * gdb.ada/boolean_expr.exp
12336 * gdb.base/arrayidx.exp
12337 * gdb.base/del.exp
12338 * gdb.base/gcore-buffer-overflow.exp
12339 * gdb.base/testenv.exp
12340 * gdb.compile/compile.exp
12341 * gdb.python/py-framefilter-invalidarg.exp
12342 * gdb.python/py-framefilter.exp
12343
bb95117e
LM
123442016-12-01 Luis Machado <lgustavo@codesourcery.com>
12345
12346 Fix test names starting with uppercase throughout the files.
12347
12348 * gdb.ada/array_return.exp
12349 * gdb.ada/expr_delims.exp
12350 * gdb.ada/mi_dyn_arr.exp
12351 * gdb.ada/mi_interface.exp
12352 * gdb.ada/mi_var_array.exp
12353 * gdb.ada/watch_arg.exp
12354 * gdb.arch/alpha-step.exp
12355 * gdb.arch/altivec-regs.exp
12356 * gdb.arch/e500-regs.exp
12357 * gdb.arch/powerpc-d128-regs.exp
12358 * gdb.base/arrayidx.exp
12359 * gdb.base/break.exp
12360 * gdb.base/checkpoint.exp
12361 * gdb.base/debug-expr.exp
12362 * gdb.base/dmsym.exp
12363 * gdb.base/radix.exp
12364 * gdb.base/sepdebug.exp
12365 * gdb.base/testenv.exp
12366 * gdb.base/watch_thread_num.exp
12367 * gdb.base/watchpoint-cond-gone.exp
12368 * gdb.cell/break.exp
12369 * gdb.cell/ea-cache.exp
12370 * gdb.compile/compile.exp
12371 * gdb.cp/gdb2495.exp
12372 * gdb.gdb/selftest.exp
12373 * gdb.gdb/xfullpath.exp
12374 * gdb.go/hello.exp
12375 * gdb.go/integers.exp
12376 * gdb.objc/basicclass.exp
12377 * gdb.pascal/hello.exp
12378 * gdb.pascal/integers.exp
12379 * gdb.python/py-breakpoint.exp
12380 * gdb.python/py-cmd.exp
12381 * gdb.python/py-linetable.exp
12382 * gdb.python/py-xmethods.exp
12383 * gdb.python/python.exp
12384 * gdb.reverse/consecutive-precsave.exp
12385 * gdb.reverse/finish-precsave.exp
12386 * gdb.reverse/i386-precsave.exp
12387 * gdb.reverse/machinestate-precsave.exp
12388 * gdb.reverse/sigall-precsave.exp
12389 * gdb.reverse/solib-precsave.exp
12390 * gdb.reverse/step-precsave.exp
12391 * gdb.reverse/until-precsave.exp
12392 * gdb.reverse/watch-precsave.exp
12393 * gdb.threads/leader-exit.exp
12394 * gdb.threads/pthreads.exp
12395 * gdb.threads/wp-replication.exp
12396 * gdb.trace/actions.exp
12397 * gdb.trace/mi-tsv-changed.exp
12398 * gdb.trace/tsv.exp
12399
de97fdd4
LM
124002016-12-01 Luis Machado <lgustavo@codesourcery.com>
12401
12402 Fix test names starting with uppercase throughout the files.
12403
12404 * gdb.arch/i386-bp_permanent.exp
12405 * gdb.arch/i386-gnu-cfi.exp
12406 * gdb.base/disasm-end-cu.exp
12407 * gdb.base/macscp.exp
12408 * gdb.base/pending.exp
12409 * gdb.base/watch_thread_num.exp
12410 * gdb.cp/exception.exp
12411 * gdb.cp/gdb2495.exp
12412 * gdb.cp/local.exp
12413 * gdb.python/py-evsignal.exp
12414 * gdb.python/python.exp
12415 * gdb.trace/tracecmd.exp
12416
9f058c10
LM
124172016-12-01 Luis Machado <lgustavo@codesourcery.com>
12418
12419 Fix test names starting with uppercase throughout the files.
12420
12421 * gdb.base/charset.exp
12422 * gdb.base/eval.exp
12423 * gdb.base/multi-forks.exp
12424 * gdb.guile/scm-progspace.exp
12425 * gdb.opencl/datatypes.exp
12426 * gdb.python/py-block.exp
12427 * gdb.python/py-function.exp
12428 * gdb.python/py-symbol.exp
12429 * gdb.python/py-symtab.exp
12430 * gdb.python/py-xmethods.exp
12431 * gdb.reverse/break-precsave.exp
12432 * gdb.reverse/break-reverse.exp
12433 * gdb.reverse/consecutive-precsave.exp
12434 * gdb.reverse/consecutive-reverse.exp
12435 * gdb.reverse/finish-precsave.exp
12436 * gdb.reverse/finish-reverse-bkpt.exp
12437 * gdb.reverse/finish-reverse.exp
12438 * gdb.reverse/fstatat-reverse.exp
12439 * gdb.reverse/getresuid-reverse.exp
12440 * gdb.reverse/i386-precsave.exp
12441 * gdb.reverse/i386-reverse.exp
12442 * gdb.reverse/i386-sse-reverse.exp
12443 * gdb.reverse/i387-stack-reverse.exp
12444 * gdb.reverse/insn-reverse.exp
12445 * gdb.reverse/machinestate-precsave.exp
12446 * gdb.reverse/machinestate.exp
12447 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12448 * gdb.reverse/pipe-reverse.exp
12449 * gdb.reverse/readv-reverse.exp
12450 * gdb.reverse/recvmsg-reverse.exp
12451 * gdb.reverse/rerun-prec.exp
12452 * gdb.reverse/s390-mvcle.exp
12453 * gdb.reverse/sigall-precsave.exp
12454 * gdb.reverse/sigall-reverse.exp
12455 * gdb.reverse/solib-precsave.exp
12456 * gdb.reverse/solib-reverse.exp
12457 * gdb.reverse/step-precsave.exp
12458 * gdb.reverse/step-reverse.exp
12459 * gdb.reverse/time-reverse.exp
12460 * gdb.reverse/until-precsave.exp
12461 * gdb.reverse/until-reverse.exp
12462 * gdb.reverse/waitpid-reverse.exp
12463 * gdb.reverse/watch-precsave.exp
12464 * gdb.reverse/watch-reverse.exp
12465
cdc7edd7
LM
124662016-12-01 Luis Machado <lgustavo@codesourcery.com>
12467
12468 Fix test names starting with uppercase throughout the files.
12469
12470 * gdb.arch/i386-mpx-simple_segv.exp
12471 * gdb.arch/i386-mpx.exp
12472 * gdb.arch/i386-permbkpt.exp
12473 * gdb.arch/pa-nullify.exp
12474 * gdb.arch/powerpc-d128-regs.exp
12475 * gdb.arch/vsx-regs.exp
12476 * gdb.base/bfp-test.exp
12477 * gdb.base/break.exp
12478 * gdb.base/breakpoint-shadow.exp
12479 * gdb.base/callfuncs.exp
12480 * gdb.base/charset.exp
12481 * gdb.base/commands.exp
12482 * gdb.base/completion.exp
12483 * gdb.base/dfp-test.exp
12484 * gdb.base/echo.exp
12485 * gdb.base/ending-run.exp
12486 * gdb.base/eval.exp
12487 * gdb.base/expand-psymtabs.exp
12488 * gdb.base/float128.exp
12489 * gdb.base/floatn.exp
12490 * gdb.base/foll-exec-mode.exp
12491 * gdb.base/gdb1056.exp
12492 * gdb.base/gdb11531.exp
12493 * gdb.base/kill-after-signal.exp
12494 * gdb.base/multi-forks.exp
12495 * gdb.base/overlays.exp
12496 * gdb.base/pending.exp
12497 * gdb.base/sepdebug.exp
12498 * gdb.base/testenv.exp
12499 * gdb.base/valgrind-db-attach.exp
12500 * gdb.base/watch_thread_num.exp
12501 * gdb.base/watchpoint-cond-gone.exp
12502 * gdb.base/watchpoint.exp
12503 * gdb.base/watchpoints.exp
12504 * gdb.cp/arg-reference.exp
12505 * gdb.cp/baseenum.exp
12506 * gdb.cp/operator.exp
12507 * gdb.cp/shadow.exp
12508 * gdb.dwarf2/dw2-op-out-param.exp
12509 * gdb.dwarf2/dw2-reg-undefined.exp
12510 * gdb.go/chan.exp
12511 * gdb.go/hello.exp
12512 * gdb.go/integers.exp
12513 * gdb.go/methods.exp
12514 * gdb.go/package.exp
12515 * gdb.guile/scm-parameter.exp
12516 * gdb.guile/scm-progspace.exp
12517 * gdb.guile/scm-value.exp
12518 * gdb.mi/mi-pending.exp
12519 * gdb.mi/user-selected-context-sync.exp
12520 * gdb.multi/multi-attach.exp
12521 * gdb.multi/tids.exp
12522 * gdb.opt/clobbered-registers-O2.exp
12523 * gdb.pascal/floats.exp
12524 * gdb.pascal/integers.exp
12525 * gdb.python/py-block.exp
12526 * gdb.python/py-events.exp
12527 * gdb.python/py-parameter.exp
12528 * gdb.python/py-symbol.exp
12529 * gdb.python/py-symtab.exp
12530 * gdb.python/py-type.exp
12531 * gdb.python/py-value.exp
12532 * gdb.python/py-xmethods.exp
12533 * gdb.python/python.exp
12534 * gdb.reverse/break-precsave.exp
12535 * gdb.reverse/consecutive-precsave.exp
12536 * gdb.reverse/finish-precsave.exp
12537 * gdb.reverse/i386-precsave.exp
12538 * gdb.reverse/machinestate-precsave.exp
12539 * gdb.reverse/sigall-precsave.exp
12540 * gdb.reverse/solib-precsave.exp
12541 * gdb.reverse/step-precsave.exp
12542 * gdb.reverse/until-precsave.exp
12543 * gdb.reverse/watch-precsave.exp
12544 * gdb.server/ext-attach.exp
12545 * gdb.server/ext-restart.exp
12546 * gdb.server/ext-run.exp
12547 * gdb.server/ext-wrapper.exp
12548 * gdb.stabs/gdb11479.exp
12549 * gdb.stabs/weird.exp
12550 * gdb.threads/attach-many-short-lived-threads.exp
12551 * gdb.threads/kill.exp
12552 * gdb.threads/watchpoint-fork.exp
12553
bc6c7af4
LM
125542016-12-01 Luis Machado <lgustavo@codesourcery.com>
12555
12556 Fix test names starting with uppercase throughout all the files below.
12557
12558 * gdb.ada/array_return.exp
12559 * gdb.ada/catch_ex.exp
12560 * gdb.ada/info_exc.exp
12561 * gdb.ada/mi_catch_ex.exp
12562 * gdb.ada/mi_dyn_arr.exp
12563 * gdb.ada/mi_ex_cond.exp
12564 * gdb.ada/mi_exc_info.exp
12565 * gdb.ada/mi_interface.exp
12566 * gdb.ada/mi_task_arg.exp
12567 * gdb.ada/mi_task_info.exp
12568 * gdb.ada/mi_var_array.exp
12569 * gdb.arch/alpha-step.exp
12570 * gdb.arch/amd64-disp-step.exp
12571 * gdb.arch/arm-disp-step.exp
12572 * gdb.arch/disp-step-insn-reloc.exp
12573 * gdb.arch/e500-prologue.exp
12574 * gdb.arch/ftrace-insn-reloc.exp
12575 * gdb.arch/gdb1558.exp
12576 * gdb.arch/i386-bp_permanent.exp
12577 * gdb.arch/i386-disp-step.exp
12578 * gdb.arch/i386-float.exp
12579 * gdb.arch/i386-gnu-cfi.exp
12580 * gdb.arch/ia64-breakpoint-shadow.exp
12581 * gdb.arch/mips16-thunks.exp
12582 * gdb.arch/pa-nullify.exp
12583 * gdb.arch/powerpc-aix-prologue.exp
12584 * gdb.arch/powerpc-power.exp
12585 * gdb.arch/ppc-dfp.exp
12586 * gdb.arch/s390-tdbregs.exp
12587 * gdb.arch/spu-info.exp
12588 * gdb.arch/spu-ls.exp
12589 * gdb.arch/thumb-bx-pc.exp
12590 * gdb.base/advance.exp
12591 * gdb.base/annota-input-while-running.exp
12592 * gdb.base/arrayidx.exp
12593 * gdb.base/asmlabel.exp
12594 * gdb.base/async.exp
12595 * gdb.base/attach-wait-input.exp
12596 * gdb.base/auto-connect-native-target.exp
12597 * gdb.base/batch-preserve-term-settings.exp
12598 * gdb.base/bfp-test.exp
12599 * gdb.base/bigcore.exp
12600 * gdb.base/bp-permanent.exp
12601 * gdb.base/break-always.exp
12602 * gdb.base/break-fun-addr.exp
12603 * gdb.base/break-idempotent.exp
12604 * gdb.base/break-main-file-remove-fail.exp
12605 * gdb.base/break-probes.exp
12606 * gdb.base/break-unload-file.exp
12607 * gdb.base/break.exp
12608 * gdb.base/call-ar-st.exp
12609 * gdb.base/call-rt-st.exp
12610 * gdb.base/call-sc.exp
12611 * gdb.base/call-signal-resume.exp
12612 * gdb.base/call-strs.exp
12613 * gdb.base/callexit.exp
12614 * gdb.base/callfuncs.exp
12615 * gdb.base/catch-gdb-caused-signals.exp
12616 * gdb.base/catch-signal-siginfo-cond.exp
12617 * gdb.base/catch-syscall.exp
12618 * gdb.base/compare-sections.exp
12619 * gdb.base/cond-eval-mode.exp
12620 * gdb.base/condbreak-call-false.exp
12621 * gdb.base/consecutive-step-over.exp
12622 * gdb.base/cursal.exp
12623 * gdb.base/disabled-location.exp
12624 * gdb.base/disasm-end-cu.exp
12625 * gdb.base/display.exp
12626 * gdb.base/double-prompt-target-event-error.exp
12627 * gdb.base/dprintf-bp-same-addr.exp
12628 * gdb.base/dprintf-detach.exp
12629 * gdb.base/dprintf-next.exp
12630 * gdb.base/dprintf-non-stop.exp
12631 * gdb.base/dprintf-pending.exp
12632 * gdb.base/dso2dso.exp
12633 * gdb.base/ending-run.exp
12634 * gdb.base/enum_cond.exp
12635 * gdb.base/examine-backward.exp
12636 * gdb.base/exe-lock.exp
12637 * gdb.base/exec-invalid-sysroot.exp
12638 * gdb.base/execl-update-breakpoints.exp
12639 * gdb.base/execution-termios.exp
12640 * gdb.base/fileio.exp
12641 * gdb.base/fixsection.exp
12642 * gdb.base/foll-exec-mode.exp
12643 * gdb.base/foll-exec.exp
12644 * gdb.base/fork-running-state.exp
12645 * gdb.base/frame-args.exp
12646 * gdb.base/fullpath-expand.exp
12647 * gdb.base/func-ptr.exp
12648 * gdb.base/gcore-relro-pie.exp
12649 * gdb.base/gdb1090.exp
12650 * gdb.base/gdb1555.exp
12651 * gdb.base/global-var-nested-by-dso.exp
12652 * gdb.base/gnu-ifunc.exp
12653 * gdb.base/hbreak-in-shr-unsupported.exp
12654 * gdb.base/hbreak-unmapped.exp
12655 * gdb.base/hook-stop.exp
12656 * gdb.base/infcall-input.exp
12657 * gdb.base/info-fun.exp
12658 * gdb.base/info-shared.exp
12659 * gdb.base/interrupt-noterm.exp
12660 * gdb.base/jit-so.exp
12661 * gdb.base/jit.exp
12662 * gdb.base/line-symtabs.exp
12663 * gdb.base/list.exp
12664 * gdb.base/longjmp.exp
12665 * gdb.base/macscp.exp
12666 * gdb.base/max-value-size.exp
12667 * gdb.base/nodebug.exp
12668 * gdb.base/nofield.exp
12669 * gdb.base/overlays.exp
12670 * gdb.base/paginate-after-ctrl-c-running.exp
12671 * gdb.base/paginate-bg-execution.exp
12672 * gdb.base/paginate-inferior-exit.exp
12673 * gdb.base/pending.exp
12674 * gdb.base/pr11022.exp
12675 * gdb.base/printcmds.exp
12676 * gdb.base/ptr-typedef.exp
12677 * gdb.base/ptype.exp
12678 * gdb.base/randomize.exp
12679 * gdb.base/range-stepping.exp
12680 * gdb.base/realname-expand.exp
12681 * gdb.base/relativedebug.exp
12682 * gdb.base/remote.exp
12683 * gdb.base/savedregs.exp
12684 * gdb.base/sepdebug.exp
12685 * gdb.base/set-noassign.exp
12686 * gdb.base/shlib-call.exp
12687 * gdb.base/shreloc.exp
12688 * gdb.base/sigaltstack.exp
12689 * gdb.base/sigbpt.exp
12690 * gdb.base/siginfo-addr.exp
12691 * gdb.base/siginfo-obj.exp
12692 * gdb.base/siginfo-thread.exp
12693 * gdb.base/signest.exp
12694 * gdb.base/signull.exp
12695 * gdb.base/sigrepeat.exp
12696 * gdb.base/skip.exp
12697 * gdb.base/so-impl-ld.exp
12698 * gdb.base/solib-corrupted.exp
12699 * gdb.base/solib-disc.exp
12700 * gdb.base/solib-display.exp
12701 * gdb.base/solib-overlap.exp
12702 * gdb.base/solib-search.exp
12703 * gdb.base/solib-symbol.exp
12704 * gdb.base/source-execution.exp
12705 * gdb.base/sss-bp-on-user-bp-2.exp
12706 * gdb.base/sss-bp-on-user-bp.exp
12707 * gdb.base/stack-checking.exp
12708 * gdb.base/stale-infcall.exp
12709 * gdb.base/step-break.exp
12710 * gdb.base/step-line.exp
12711 * gdb.base/step-over-exit.exp
12712 * gdb.base/step-test.exp
12713 * gdb.base/structs.exp
12714 * gdb.base/sym-file.exp
12715 * gdb.base/symtab-search-order.exp
12716 * gdb.base/term.exp
12717 * gdb.base/type-opaque.exp
12718 * gdb.base/unload.exp
12719 * gdb.base/until-nodebug.exp
12720 * gdb.base/until.exp
12721 * gdb.base/unwindonsignal.exp
12722 * gdb.base/watch-cond.exp
12723 * gdb.base/watch-non-mem.exp
12724 * gdb.base/watch_thread_num.exp
12725 * gdb.base/watchpoint-reuse-slot.exp
12726 * gdb.base/watchpoint-solib.exp
12727 * gdb.base/watchpoint.exp
12728 * gdb.btrace/dlopen.exp
12729 * gdb.cell/arch.exp
12730 * gdb.cell/break.exp
12731 * gdb.cell/bt.exp
12732 * gdb.cell/core.exp
12733 * gdb.cell/data.exp
12734 * gdb.cell/dwarfaddr.exp
12735 * gdb.cell/ea-cache.exp
12736 * gdb.cell/ea-standalone.exp
12737 * gdb.cell/ea-test.exp
12738 * gdb.cell/f-regs.exp
12739 * gdb.cell/fork.exp
12740 * gdb.cell/gcore.exp
12741 * gdb.cell/mem-access.exp
12742 * gdb.cell/ptype.exp
12743 * gdb.cell/registers.exp
12744 * gdb.cell/sizeof.exp
12745 * gdb.cell/solib-symbol.exp
12746 * gdb.cell/solib.exp
12747 * gdb.compile/compile-tls.exp
12748 * gdb.cp/exception.exp
12749 * gdb.cp/gdb2495.exp
12750 * gdb.cp/local.exp
12751 * gdb.cp/mb-inline.exp
12752 * gdb.cp/mb-templates.exp
12753 * gdb.cp/pr10687.exp
12754 * gdb.cp/pr9167.exp
12755 * gdb.cp/scope-err.exp
12756 * gdb.cp/templates.exp
12757 * gdb.cp/virtfunc.exp
12758 * gdb.dwarf2/dw2-dir-file-name.exp
12759 * gdb.dwarf2/dw2-single-line-discriminators.exp
12760 * gdb.fortran/complex.exp
12761 * gdb.fortran/library-module.exp
12762 * gdb.guile/guile.exp
12763 * gdb.guile/scm-cmd.exp
12764 * gdb.guile/scm-frame-inline.exp
12765 * gdb.guile/scm-objfile.exp
12766 * gdb.guile/scm-pretty-print.exp
12767 * gdb.guile/scm-symbol.exp
12768 * gdb.guile/scm-type.exp
12769 * gdb.guile/scm-value.exp
12770 * gdb.linespec/keywords.exp
12771 * gdb.linespec/ls-errs.exp
12772 * gdb.linespec/macro-relative.exp
12773 * gdb.linespec/thread.exp
12774 * gdb.mi/mi-breakpoint-changed.exp
12775 * gdb.mi/mi-dprintf-pending.exp
12776 * gdb.mi/mi-fullname-deleted.exp
12777 * gdb.mi/mi-logging.exp
12778 * gdb.mi/mi-pending.exp
12779 * gdb.mi/mi-solib.exp
12780 * gdb.mi/new-ui-mi-sync.exp
12781 * gdb.mi/user-selected-context-sync.exp
12782 * gdb.multi/dummy-frame-restore.exp
12783 * gdb.multi/multi-arch-exec.exp
12784 * gdb.multi/remove-inferiors.exp
12785 * gdb.multi/watchpoint-multi-exit.exp
12786 * gdb.opt/solib-intra-step.exp
12787 * gdb.perf/backtrace.exp
12788 * gdb.perf/single-step.exp
12789 * gdb.perf/skip-command.exp
12790 * gdb.perf/skip-prologue.exp
12791 * gdb.perf/solib.exp
12792 * gdb.python/lib-types.exp
12793 * gdb.python/py-as-string.exp
12794 * gdb.python/py-bad-printers.exp
12795 * gdb.python/py-block.exp
12796 * gdb.python/py-breakpoint.exp
12797 * gdb.python/py-cmd.exp
12798 * gdb.python/py-events.exp
12799 * gdb.python/py-evthreads.exp
12800 * gdb.python/py-finish-breakpoint.exp
12801 * gdb.python/py-finish-breakpoint2.exp
12802 * gdb.python/py-frame-inline.exp
12803 * gdb.python/py-frame.exp
12804 * gdb.python/py-inferior.exp
12805 * gdb.python/py-infthread.exp
12806 * gdb.python/py-mi.exp
12807 * gdb.python/py-objfile.exp
12808 * gdb.python/py-pp-maint.exp
12809 * gdb.python/py-pp-registration.exp
12810 * gdb.python/py-prettyprint.exp
12811 * gdb.python/py-recurse-unwind.exp
12812 * gdb.python/py-shared.exp
12813 * gdb.python/py-symbol.exp
12814 * gdb.python/py-symtab.exp
12815 * gdb.python/py-template.exp
12816 * gdb.python/py-type.exp
12817 * gdb.python/py-unwind-maint.exp
12818 * gdb.python/py-unwind.exp
12819 * gdb.python/py-value.exp
12820 * gdb.python/python.exp
12821 * gdb.reverse/finish-reverse-bkpt.exp
12822 * gdb.reverse/insn-reverse.exp
12823 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12824 * gdb.reverse/solib-precsave.exp
12825 * gdb.reverse/solib-reverse.exp
12826 * gdb.stabs/gdb11479.exp
12827 * gdb.stabs/weird.exp
12828 * gdb.threads/fork-child-threads.exp
12829 * gdb.threads/fork-plus-threads.exp
12830 * gdb.threads/fork-thread-pending.exp
12831 * gdb.threads/forking-threads-plus-breakpoint.exp
12832 * gdb.threads/hand-call-in-threads.exp
12833 * gdb.threads/interrupted-hand-call.exp
12834 * gdb.threads/linux-dp.exp
12835 * gdb.threads/local-watch-wrong-thread.exp
12836 * gdb.threads/next-while-other-thread-longjmps.exp
12837 * gdb.threads/non-ldr-exit.exp
12838 * gdb.threads/pending-step.exp
12839 * gdb.threads/print-threads.exp
12840 * gdb.threads/process-dies-while-detaching.exp
12841 * gdb.threads/process-dies-while-handling-bp.exp
12842 * gdb.threads/pthreads.exp
12843 * gdb.threads/queue-signal.exp
12844 * gdb.threads/reconnect-signal.exp
12845 * gdb.threads/signal-command-handle-nopass.exp
12846 * gdb.threads/signal-command-multiple-signals-pending.exp
12847 * gdb.threads/signal-delivered-right-thread.exp
12848 * gdb.threads/signal-sigtrap.exp
12849 * gdb.threads/sigthread.exp
12850 * gdb.threads/staticthreads.exp
12851 * gdb.threads/stepi-random-signal.exp
12852 * gdb.threads/thread-unwindonsignal.exp
12853 * gdb.threads/thread_check.exp
12854 * gdb.threads/thread_events.exp
12855 * gdb.threads/tid-reuse.exp
12856 * gdb.threads/tls-nodebug.exp
12857 * gdb.threads/tls-shared.exp
12858 * gdb.threads/tls-so_extern.exp
12859 * gdb.threads/tls.exp
12860 * gdb.threads/wp-replication.exp
12861 * gdb.trace/actions-changed.exp
12862 * gdb.trace/actions.exp
12863 * gdb.trace/backtrace.exp
12864 * gdb.trace/change-loc.exp
12865 * gdb.trace/collection.exp
12866 * gdb.trace/deltrace.exp
12867 * gdb.trace/disconnected-tracing.exp
12868 * gdb.trace/entry-values.exp
12869 * gdb.trace/ftrace-lock.exp
12870 * gdb.trace/ftrace.exp
12871 * gdb.trace/infotrace.exp
12872 * gdb.trace/mi-trace-frame-collected.exp
12873 * gdb.trace/mi-trace-unavailable.exp
12874 * gdb.trace/mi-traceframe-changed.exp
12875 * gdb.trace/mi-tracepoint-changed.exp
12876 * gdb.trace/mi-tsv-changed.exp
12877 * gdb.trace/no-attach-trace.exp
12878 * gdb.trace/packetlen.exp
12879 * gdb.trace/passc-dyn.exp
12880 * gdb.trace/passcount.exp
12881 * gdb.trace/pending.exp
12882 * gdb.trace/pr16508.exp
12883 * gdb.trace/qtro.exp
12884 * gdb.trace/range-stepping.exp
12885 * gdb.trace/read-memory.exp
12886 * gdb.trace/report.exp
12887 * gdb.trace/save-trace.exp
12888 * gdb.trace/signal.exp
12889 * gdb.trace/stap-trace.exp
12890 * gdb.trace/status-stop.exp
12891 * gdb.trace/strace.exp
12892 * gdb.trace/tfile.exp
12893 * gdb.trace/tfind.exp
12894 * gdb.trace/trace-break.exp
12895 * gdb.trace/trace-condition.exp
12896 * gdb.trace/trace-enable-disable.exp
12897 * gdb.trace/trace-mt.exp
12898 * gdb.trace/tracecmd.exp
12899 * gdb.trace/tracefile-pseudo-reg.exp
12900 * gdb.trace/tspeed.exp
12901 * gdb.trace/tstatus.exp
12902 * gdb.trace/tsv.exp
12903 * gdb.trace/unavailable.exp
12904 * gdb.trace/while-dyn.exp
12905 * gdb.trace/while-stepping.exp
12906 * lib/gdb-guile.exp
12907 * lib/gdb.exp
12908 * lib/mi-support.exp
12909 * lib/pascal.exp
12910 * lib/perftest.exp
12911 * lib/prelink-support.exp
12912 * lib/selftest-support.exp
12913
ad02e4fe
SM
129142016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12915
12916 * Makefile.in: Include disable-implicit-rules.mk.
12917
22347e55
AA
129182016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12919
12920 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12921 non-byte-aligned bit fields.
12922
da5b30da
AA
129232016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12924
12925 PR gdb/12616
12926 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12927 respects the DW_AT_data_bit_offset attribute.
12928
b593ecca
SM
129292016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12930
12931 * gdb.base/default.exp: Fix output of "set language".
12932
3b165252
SM
129332016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12934
12935 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12936 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12937 make.
12938 * configure.ac: Remove checks for the make program.
12939 * configure: Re-generate.
12940
1a2f3d7f
KB
129412016-11-16 Kevin Buettner <kevinb@redhat.com>
12942
12943 * gdb.python/py-recurse-unwind.c (main): Add loop.
12944 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12945 to read_register() and gdb.parse_and_eval(). Make each code
12946 call a separate case that can be individually tested.
12947 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12948 proc. Call cont_and_backtrace for each of the code paths that
12949 we want to test in the unwinder.
12950
b7f38fda
AA
129512016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12952
12953 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12954 the definition of struct S.
12955
1f8db343
CM
129562016-11-11 Catherine Moore <clm@codesourcery.com>
12957
12958 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12959
fad0c9fb
PA
129602016-11-09 Pedro Alves <palves@redhat.com>
12961
12962 * gdb.base/commands.exp (runto_or_return): New procedure.
12963 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12964 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12965 (progvar_simple_while_test, progvar_complex_if_while_test)
12966 (if_while_breakpoint_command_test)
12967 (infrun_breakpoint_command_test, breakpoint_command_test)
12968 (user_defined_command_test, watchpoint_command_test)
12969 (test_command_prompt_position, redefine_hook_test)
12970 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12971 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12972 multi_line_input and multi_line. Remove gdb_expect and
12973 gdb_stop_suppressing_tests uses.
12974 * lib/gdb.exp (valnum_re): New global.
12975 (multi_line_input): New procedure.
12976
8354c62c
SM
129772016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12978
12979 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12980 Remove.
12981 (test_setup): Define with proc_with_prefix.
12982 (test_cli_inferior): Likewise.
12983 (test_cli_thread): Likewise.
12984 (test_cli_frame): Likewise.
12985 (test_cli_select_frame): Likewise.
12986 (test_cli_up_down): Likewise.
12987 (test_mi_thread_select): Likewise.
12988 (test_mi_stack_select_frame): Likewise.
12989 (test_cli_in_mi_inferior): Likewise.
12990 (test_cli_in_mi_thread): Likewise.
12991 (test_cli_in_mi_frame): Likewise.
12992 (top level): Do not use with_test_prefix_procname.
12993
64f367a2
PA
129942016-11-09 Pedro Alves <palves@redhat.com>
12995
12996 * gdb.base/commands.exp (gdbvar_simple_if_test)
12997 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12998 (progvar_simple_if_test, progvar_simple_while_test)
12999 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13000 (infrun_breakpoint_command_test, breakpoint_command_test)
13001 (user_defined_command_test, watchpoint_command_test)
13002 (test_command_prompt_position, deprecated_command_test)
13003 (bp_deleted_in_command, temporary_breakpoint_commands)
13004 (stray_arg0_test, source_file_with_indented_comment)
13005 (recursive_source_test, if_commands_test)
13006 (error_clears_commands_left, redefine_hook_test)
13007 (redefine_backtrace_test): Use proc_with_prefix.
13008 * lib/gdb.exp (proc_with_prefix): New proc.
13009
0bb65f1e
AA
130102016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13011
13012 * gdb.base/tui-layout.c: New file.
13013 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13014 disassembly window contains very long lines.
13015
7353f247
TT
130162016-11-08 Tom Tromey <tom@tromey.com>
13017
13018 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13019 depend on Python 2.
13020
30a7bb83
TT
130212016-11-08 Tom Tromey <tom@tromey.com>
13022
13023 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13024 New method.
13025
cdf5a07c
MG
130262016-10-29 Manish Goregaokar <manish@mozilla.com>
13027
2806dc7e 13028 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 13029
51a789c3
MG
130302016-10-27 Manish Goregaokar <manish@mozilla.com>
13031
2806dc7e
PA
13032 * gdb.rust/simple.rs: Add test for univariant enums without
13033 discriminants and for encoded struct-like enums.
51a789c3 13034
f610ab6d
PA
130352016-10-28 Pedro Alves <palves@redhat.com>
13036
13037 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13038 gdb_test_multiple, tighten regexps and match symtabs and line
13039 tables incrementally.
13040
b129b0ca
LM
130412016-10-28 Luis Machado <lgustavo@codesourcery.com>
13042
13043 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13044 general.
13045
ecf45d2c
SL
130462016-10-25 Luis Machado <lgustavo@codesourcery.com>
13047
13048 * gdb.base/exec-invalid-sysroot.exp: New file.
13049
b8d38ee4
JK
130502016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13051
13052 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13053
f90fd8c2
JK
130542016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13055
13056 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13057
2d2476aa
MR
130582016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13059
2806dc7e
PA
13060 * gdb.base/killed-outside.exp: Remove $options from a call to
13061 `prepare_for_testing'.
2d2476aa 13062
e42b25a0
SM
130632016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13064
13065 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13066 Change test message.
13067
3ccdb432
SM
130682016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13069
13070 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13071 Update comment.
13072
5bad3170
SM
130732016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13074
13075 * gdb.trace/mi-trace-save.exp: New file.
13076
5ad9dba7
YQ
130772016-10-13 Yao Qi <yao.qi@linaro.org>
13078
13079 * gdb.base/code_elim.exp (get_var_address): Remove.
13080 * gdb.base/relocate.exp: Likewise.
13081 * gdb.base/shreloc.exp: Likewise.
13082 * lib/gdb.exp (get_var_address): New.
13083
62df7e21
YQ
130842016-10-13 Yao Qi <yao.qi@linaro.org>
13085
13086 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13087 floating point tests if $skip_float_test is false.
13088
4dac951e
LM
130892016-10-12 Luis Machado <lgustavo@codesourcery.com>
13090
13091 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13092 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13093 argc values.
13094 Add 1 to argc so we guarantee distinct initial/modified argc values.
13095
8f1a8fc4
JK
130962016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13097
13098 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13099
16c85b5d
JK
131002016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13101
13102 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13103 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13104 * gdb.arch/vsx-regs.exp: Likewise.
13105
1d0e042a
YQ
131062016-10-07 Yao Qi <yao.qi@linaro.org>
13107
13108 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13109
68dadef5
MM
131102016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13111
13112 * gdb.python/python.exp: Test decode_line("*0").
13113
33fa2c6e
DE
131142016-10-06 Doug Evans <dje@google.com>
13115
13116 * gdb.python/py-value.exp (test_value_creation): Add test for large
13117 unsigned 64-bit value.
13118
9c37b5ae
TT
131192016-10-06 Tom Tromey <tom@tromey.com>
13120
13121 * gdb.compile/compile.exp: Change java tests to rust.
13122 * gdb.base/setshow.exp: Change java tests to rust.
13123 * gdb.base/default.exp: Remove java from language list.
13124 * README (Examples): Update language example.
13125 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13126 test.
13127 * lib/gdb.exp (skip_java_tests): Remove.
13128 * lib/java.exp: Remove.
13129 * gdb.java: Remove.
13130
78b86327
MR
131312016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13132
13133 * gdb.arch/mips-fcr.exp: New test.
13134 * gdb.arch/mips-fcr.c: Source for the new test.
13135
7470adbb
MR
131362016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13137
13138 * gdb.base/solib-disc.exp: Use `standard_output_file'
13139 throughout.
13140
4a556533
PA
131412016-10-06 Pedro Alves <palves@redhat.com>
13142
13143 * gdb.base/jit-simple-dl.c: New file.
13144 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13145 * gdb.base/jit-simple.c: ... this.
13146 * gdb.base/jit-simple.exp (jit_run): Delete.
13147 (build_jit): New proc.
13148 (jit_test_reread): Recompile either the main program or the shared
13149 library, depending on what is being tested. Skip changing address
13150 if caller wants to. Compare before/after addresses. If testing
13151 standalone, explicitly load the binary. Test "maint info
13152 breakpoints".
13153 (top level): Add "standalone vs shared lib" and "change address"
13154 vs "same address" axes.
13155
5a122fbc
PA
131562016-10-06 Pedro Alves <palves@redhat.com>
13157
13158 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13159 call.
13160 (jit_run): Delete.
13161 (jit_test_reread): Use with_test_prefix. Reload the main binary
13162 explicitly. Compare the before/after addresses of the JIT
13163 descriptor.
13164
ee8da4b8
DE
131652016-08-15 Doug Evans <dje@google.com>
13166
13167 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13168 for single bitfields is bool.
13169 * gdb.xml/tdesc-regs.exp: Ditto.
13170
f389f6fe
JK
131712016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13172
13173 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13174
fdebf1a4
YQ
131752016-10-05 Yao Qi <yao.qi@linaro.org>
13176
13177 * lib/gdb.exp (support_complex_tests): Return zero if
13178 gdb_skip_float_test return true.
13179
9c36d954 131802016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13181 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13182
13183 PR gdb/20487
13184 * gdb.mi/user-selected-context-sync.exp: New file.
13185 * gdb.mi/user-selected-context-sync.c: New file.
13186
4034d0ff 131872016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13188 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13189
13190 PR gdb/20487
13191 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13192 =thread-select-event check.
13193
a4297203
PB
131942016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13195
13196 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13197 the compulsory L operand changes.
13198 * gdb.arch/powerpc-power.s: Likewise.
13199
bb805577
JK
132002016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13201
13202 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13203 * gdb.base/jit-attach-pie.c: New file.
13204 * gdb.base/jit-attach-pie.exp: New file.
13205
6d61dee5
PA
132062016-09-28 Pedro Alves <palves@redhat.com>
13207
13208 * gdb.base/infcall-input.c: New file.
13209 * gdb.base/infcall-input.exp: New file.
13210
f73842fc
YQ
132112016-09-22 Yao Qi <yao.qi@linaro.org>
13212
13213 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13214 (gdb_exit): Rename it to ...
13215 (gdbserver_gdb_exit): ... Close GDBserver.
13216 (gdb_exit): New proc, call gdbserver_gdb_exit.
13217 (mi_gdb_exit): Likewise.
13218
90681dab
YQ
132192016-09-22 Yao Qi <yao.qi@linaro.org>
13220
13221 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13222 path.
13223 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13224 Remove duplication.
13225
9c211fd8
YQ
132262016-09-22 Yao Qi <yao.qi@linaro.org>
13227
13228 * lib/gdbserver-support.exp: Check the existence of
13229 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13230
ad0a504f
AK
132312016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13232
13233 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13234
36cf1806
TT
132352016-09-21 Tom Tromey <tom@tromey.com>
13236
13237 PR gdb/20604:
13238 * gdb.base/quit.exp: New file.
13239
74172ecf
SM
132402016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13241
13242 * .gitignore: New file.
13243
3d0ec882
MR
132442016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13245
13246 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13247 throughout.
13248
8193adea
AA
132492016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13250
13251 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13252
d41a5c09
JK
132532016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13254
13255 * gdb.cp/casts.cc (decltype): Move it ...
13256 (main): ... with its call to ...
13257 * gdb.cp/casts03.cc: ... a new file.
13258 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13259
d2dfe700
JK
132602016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13261
13262 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13263
e2a92b16
PB
132642016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13265
13266 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13267 and sync up the test with tests in gas/testsuite/gas/ppc.
13268 * gdb.arch/powerpc-power.exp: Likewise.
13269
49b4de64
JK
132702016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13271
13272 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13273
2c29df25
SDJ
132742016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13275 Jan Kratochvil <jan.kratochvil@redhat.com>
13276
13277 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13278 make m1's definition to be different from m2's. Use 'dummy' as an
13279 argument for probe 'two'.
13280
cc3c2846
JB
132812016-09-10 Jon Beniston <jon@beniston.com>
13282
13283 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13284 for sim target.
13285
e1b2624a
AA
132862016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13287
13288 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13289 variable declaration.
13290 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13291 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13292 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13293 received HWCAP as its argument.
13294
4295e285
PA
132952016-09-06 Pedro Alves <palves@redhat.com>
13296
13297 * gdb.base/new-ui-pending-input.c: New file.
13298 * gdb.base/new-ui-pending-input.exp: New file.
13299 * gdb.exp (clear_gdb_spawn_id): New procedure.
13300 (with_spawn_id): Check whether gdb_spawn_id exists before
13301 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13302 on exit.
13303
00d5215e
UW
133042016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13305
13306 * gdb.base/float128.c: New file.
13307 * gdb.base/float128.exp: Likewise.
13308 * gdb.base/floatn.c: Likewise.
13309 * gdb.base/floatn.exp: Likewise.
13310
a9ff5f12
UW
133112016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13312
13313 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13314
f245535c
PA
133152016-09-05 Pedro Alves <palves@redhat.com>
13316
13317 PR backtrace/19927
13318 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13319 unwinders are immediately called as side effect of "source" or
13320 "disable unwinder" commands.
13321 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13322
ae9cf263
YQ
133232016-09-02 Yao Qi <yao.qi@linaro.org>
13324
13325 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13326 is true and $type is "float" or "double".
13327
27aba047
YQ
133282016-09-02 Yao Qi <yao.qi@linaro.org>
13329
13330 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13331 true.
13332 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13333 * gdb.base/call-rt-st.exp: Likewise.
13334 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13335 return value instead of gdb,skip_float_test.
13336 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13337 (do_function_calls): Use its return value instead of
13338 gdb,skip_float_test.
13339 * gdb.base/finish.exp: Likewise.
13340 * gdb.base/funcargs.exp: Likewise.
13341 * gdb.base/return.exp: Likewise.
13342 * gdb.base/return2.exp: Likewise.
13343 * gdb.base/varargs.exp: Likewise.
13344 * lib/gdb.exp (gdb_skip_float_test): Change it to
13345 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13346
5af962df
AA
133472016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13348
13349 * gdb.multi/tids.exp: Test "thread apply all".
13350
7fac6910
JK
133512016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13352
13353 * gdb.base/default.exp (tty): Remove.
13354
bb1fe4ac
KB
133552016-08-24 Kevin Buettner <kevinb@redhat.com>
13356
2806dc7e
PA
13357 * gdb.python/py-recurse-unwind.c: New file.
13358 * gdb.python/py-recurse-unwind.py: New file.
13359 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 13360
0a1ddfa6
SM
133612016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13362
13363 * gdb.base/set-inferior-tty.exp: New file.
13364 * gdb.base/set-inferior-tty.c: New file.
13365
d9de1fe3
PA
133662016-08-23 Pedro Alves <palves@redhat.com>
13367
13368 PR gdb/20494
13369 * gdb.base/new-ui-echo.c: New file.
13370 * gdb.base/new-ui-echo.exp: New file.
13371
e9d9abd7
YQ
133722016-08-23 Yao Qi <yao.qi@linaro.org>
13373
13374 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13375 gdbserver_spawn.
13376 * gdb.server/connect-without-multi-process.exp (do_test):
13377 Likewise.
13378
3589529e
YQ
133792016-08-23 Yao Qi <yao.qi@linaro.org>
13380
13381 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13382 standalone_txt. Delete gdb_txt and standalone_txt on host
13383 and target. Spawn the binary on target. Copy files from
13384 target to host.
13385
6bb90213
PA
133862016-08-22 Pedro Alves <palves@redhat.com>
13387
13388 PR gdb/20505
13389 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13390 with_test_prefix. Factor out bits to ...
13391 (test_no_vdso): ... this new procedure.
13392
20c2c024
CL
133932016-08-19 Carl Love <cel@us.ibm.com>
13394
13395 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13396 maintaining separate logic for constructing the output path.
13397 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13398 * gdb.arch/ppc-dfp.exp: Likewise.
13399 * gdb.arch/ppc-fp.exp: Likewise.
13400 * gdb.arch/vsx-regs.exp: Likewise.
13401 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13402 binprefix for generating the additional binary files.
13403
0646e07d
PA
134042016-08-19 Pedro Alves <palves@redhat.com>
13405
13406 * gdb.trace/mi-trace-frame-collected.exp
13407 (test_trace_frame_collected): On x32, expect two registers.
13408
46da9242
CL
134092016-08-18 Carl Love <cel@us.ibm.com>
13410
13411 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13412 and sync up the test with tests in gas/testsuite/gas/ppc.
13413 * gdb.arch/powerpc-power.exp: Likewise.
13414
eb2332d7
SM
134152016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13416
13417 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13418 expected error message.
13419
63c61e04
SM
134202016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13421
13422 * gdb.multi/remove-inferiors.exp: New file.
13423 * gdb.multi/remove-inferiors.c: New file.
13424
7b17065f
YQ
134252016-08-12 Yao Qi <yao.qi@linaro.org>
13426
13427 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13428 argument list.
13429
01d3dedf
PA
134302016-08-10 Pedro Alves <palves@redhat.com>
13431
13432 PR gdb/19187
13433 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13434 setup_kfails.
13435
3eb7562a
PA
134362016-08-09 Pedro Alves <palves@redhat.com>
13437 Simon Marchi <simon.marchi@ericsson.com>
13438
13439 PR gdb/20418
13440 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13441 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13442
80614914
PA
134432016-08-09 Pedro Alves <palves@redhat.com>
13444
13445 PR mi/20431
13446 * gdb.mi/mi-cmd-error.exp: New file.
13447
f348d89a
PA
134482016-08-09 Pedro Alves <palves@redhat.com>
13449
13450 PR gdb/18653
13451 * gdb.base/signals-state-child.c: New file.
13452 * gdb.base/signals-state-child.exp: New file.
13453 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13454
e5ca03b4
PA
134552016-08-09 Pedro Alves <palves@redhat.com>
13456
13457 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13458
282a0691
TT
134592016-08-03 Tom Tromey <tom@tromey.com>
13460
13461 PR python/18565:
13462 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13463
41bfcd63
YQ
134642016-08-01 Yao Qi <yao.qi@linaro.org>
13465
13466 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13467 variable mode to "multi-process" if $multi_process is 1, otherwise
13468 set it to "single-process".
13469
e3465b24
YQ
134702016-08-01 Yao Qi <yao.qi@linaro.org>
13471
13472 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13473 * gdb.cp/cpexprs.exp: Likewise.
13474 * gdb.cp/m-static.exp: Likewise.
13475
0b31a4bc
TT
134762016-07-26 Tom Tromey <tom@tromey.com>
13477
13478 PR python/20190:
13479 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13480 test.
13481
e0461dbb
MM
134822016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13483
13484 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13485 selecting assembly source files.
13486 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13487 assembly source files.
13488 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13489 assembly source files.
13490 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13491 selecting assembly source files.
13492
8194e927
SM
134932016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13494
13495 * gdb.base/new-ui.exp (do_test_invalid_args): New
13496 procedure.
13497
c0272db5
TW
134982016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13499
13500 * gdb.btrace/reconnect.c: New file.
13501 * gdb.btrace/reconnect.exp: New file.
13502
e3487908
GKB
135032016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13504
13505 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13506 to test_catch_syscall_group.
13507 (test_catch_syscall_group): New.
13508
12df5c00
TT
135092016-07-21 Tom Tromey <tom@tromey.com>
13510
13511 * gdb.rust/simple.rs (main): Use empty struct expression.
13512 * gdb.rust/simple.exp: Add tests for empty struct expression.
13513
bae62ee2
YQ
135142016-07-21 Yao Qi <yao.qi@linaro.org>
13515
13516 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13517 if gdb_skip_xml_test is true on some targets.
13518
b1b53fb3
YQ
135192016-07-21 Yao Qi <yao.qi@linaro.org>
13520
13521 * gdb.server/solib-list.exp: Unset last_loaded_file.
13522
027d97f8
JK
135232016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13524
13525 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13526 "step into captured_main (args)".
13527
7674d381
JK
135282016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13529
13530 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13531
72b5d099
JK
135322016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13533
13534 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13535
1f960ced
PA
135362016-07-19 Pedro Alves <palves@redhat.com>
13537
13538 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13539 * gdb.opt/inline-bt.exp: Likewise.
13540 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13541 additional_flags=-Winline.
13542 * gdb.opt/inline-locals.exp: Likewise.
13543 * gdb.opt/inline-markers.c (ATTR): Define.
13544 (inlined_fn): Use it.
13545
f25827c1
YQ
135462016-07-19 Yao Qi <yao.qi@linaro.org>
13547
13548 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13549 (test_with_self): Remove some code. Remove argument executable.
13550 (top-level): Use do_self_tests.
13551
37539ebe
DB
135522016-07-15 Zachary Welch <zwelch@codesourcery.com>
13553 Don Breazeal <donb@codesourcery.com>
13554
13555 * gdb.base/maint.exp: Escape paths used in regular expressions.
13556 * gdb.stabs/weird.exp: Likewise.
13557
dac790e1
TT
135582016-07-13 Tom Tromey <tom@tromey.com>
13559
13560 PR python/15620, PR python/18620:
13561 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13562 (test_bkpt_events): New procs.
13563
93daf339
TT
135642016-07-13 Tom Tromey <tom@tromey.com>
13565
13566 PR python/17698:
13567 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13568 test.
13569 (test_watchpoints): Likewise.
13570 (test_bkpt_pending): New proc.
13571
6571a381
TT
135722016-07-13 Tom Tromey <tom@tromey.com>
13573
13574 PR cli/18053:
13575 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13576 completion test.
13577
e8732474
JK
135782016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13579
13580 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13581 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13582 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13583 f_label.
13584 (g): Rename g_end_lbl to g_label.
13585 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13586 low_pc and high_pc.
13587 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13588
e0f3fd7c
TT
135892016-07-12 Tom Tromey <tom@tromey.com>
13590
13591 PR python/19293:
13592 * gdb.python/py-unwind-maint.exp: Update tests.
13593
3cfe46b6
YQ
135942016-07-12 Yao Qi <yao.qi@linaro.org>
13595
13596 * lib/selftest-support.exp (selftest_setup): Match the output
13597 when captured_main is inlined.
13598
4f19a0e6
WT
135992016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13600
13601 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13602 New variables.
13603 (print this%a, print this%b, print this): New tests.
13604 * gdb.fortran/derived-types.f90 (this): New object and
13605 initialization.
13606
986cf455
SM
136072016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13608
13609 * gdb.ada/arraydim.exp: Remove extra directory level in build
13610 directory.
13611
f0464b23
SM
136122016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13613
13614 * lib/ada.exp: Remove extra directory level in build directory.
13615 * gdb.ada/cond_lang.exp: Likewise.
13616 * gdb.ada/exec_changed.exp: Likewise.
13617 * gdb.ada/lang_switch.exp: Likewise.
13618
42d94011
MG
136192016-07-06 Manish Goregaokar <manish@mozilla.com>
13620
2806dc7e
PA
13621 * simple.rs: Add test for raw pointer subscripting.
13622 * simple.exp: Add test expectations.
42d94011 13623
647c264c
YQ
136242016-07-05 Yao Qi <yao.qi@linaro.org>
13625
13626 * gdb.mi/mi-reverse.exp: Match =record-started output.
13627
20aa2c60
PA
136282016-07-01 Pedro Alves <palves@redhat.com>
13629
13630 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13631 procedure.
13632 (jit_reader_test): Test the jit reader's unwinder.
13633 * gdb.base/jithost.c (jit_function_00_code): New global.
13634 (main): Use memcpy to fill in the mmapped code, instead of poking
13635 bytes manually here.
13636 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13637 value.
13638 (read_debug_info): Save the function's range.
13639 (read_sp): New function.
13640 (unwind_frame): Use it. Also unwind RBP.
13641 (get_frame_id): Use read_sp.
13642 (gdb_init_reader): Use calloc instead of malloc.
13643 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13644 parameter. Use gdb_test_multiple.
13645
ced2dffb
PA
136462016-07-01 Pedro Alves <palves@redhat.com>
13647 Antoine Tremblay <antoine.tremblay@ericsson.com>
13648
13649 * gdb.threads/process-dies-while-detaching.c: New file.
13650 * gdb.threads/process-dies-while-detaching.exp: New file.
13651
63000888
PA
136522016-07-01 Pedro Alves <palves@redhat.com>
13653
13654 * gdb.multi/watchpoint-multi-exit.c: New file.
13655 * gdb.multi/watchpoint-multi-exit.exp: New file.
13656
038d4868
PA
136572016-06-30 Pedro Alves <palves@redhat.com>
13658
13659 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13660 unset inferior_spawn_id.
13661
994e9c83
PA
136622016-06-30 Pedro Alves <palves@redhat.com>
13663
13664 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13665 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13666
e5653468
YQ
136672016-06-29 Yao Qi <yao.qi@linaro.org>
13668
13669 * gdb.base/return.c: Add copyright header.
13670
803b47e5
TT
136712016-06-29 Tom Tromey <tom@tromey.com>
13672
13673 PR python/20129:
13674 * gdb.python/py-framefilter.exp: Add tests for setting priority
13675 and disabling of non-existent frame filter.
13676
28244707
YQ
136772016-06-29 Yao Qi <yao.qi@linaro.org>
13678
13679 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13680 0x0f07ff.
13681
a31d2f06
YQ
136822016-06-28 Yao Qi <yao.qi@linaro.org>
13683
13684 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13685 triplets. Start gdb, execute catch syscall, and continue. Check
13686 gdb's output to determine catch syscall is supported.
13687
921d8f54
MG
136882016-06-27 Manish Goregaokar <manish@mozilla.com>
13689
25d49b86
PA
13690 * gdb.rust/simple.rs: Add test for returning unit in a function.
13691 * gdb.rust/simple.exp: Add expectation for functions returning
13692 unit.
921d8f54 13693
f4952523
PMR
136942016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13695
13696 * gdb.python/py-breakpoint-create-fail.c,
13697 gdb.python/py-breakpoint-create-fail.exp,
13698 gdb.python/py-breakpoint-create-fail.py: New testcase.
13699
fccb08f8
MG
137002016-06-25 Manish Goregaokar <manish@mozilla.com>
13701
13702 PR gdb/20239
13703 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
13704 * gdb.rust/simple.exp: Add test expectations for new NonZero
13705 tests.
fccb08f8 13706
6b850546
DT
137072016-06-24 David Taylor <dtaylor@emc.com>
13708
13709 * gdb.base/offsets.exp: New file.
13710 * gdb.base/offsets.c: New file.
13711
17621150
TT
137122016-06-23 Tom Tromey <tom@tromey.com>
13713
13714 PR gdb/16483:
13715 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13716 before any filters are loaded.
13717
04d59df6
WT
137182016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13719
13720 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13721 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13722 structs.
13723 * gdb.fortran/derived-type-function.exp: New file.
13724 * gdb.fortran/derived-type-function.f90: New file.
13725
13726
ac69f786
PA
137272016-06-21 Pedro Alves <palves@redhat.com>
13728
13729 * gdb.base/new-ui.exp: New file.
13730 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13731 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13732 (with_spawn_id): New procedure.
13733
49940788
PA
137342016-06-21 Pedro Alves <palves@redhat.com>
13735
13736 * gdb.mi/mi-exec-run.exp: New file.
13737
ef274d26
PA
137382016-06-21 Pedro Alves <palves@redhat.com>
13739
13740 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13741 breakpoint command's output on the main UI.
13742 (test_break): New procedure, factored out from calls in the top
13743 level.
13744 (top level): Use foreach_with_prefix to test MI as main UI and as
13745 separate UI.
13746
468afe6c
PA
137472016-06-21 Pedro Alves <palves@redhat.com>
13748
13749 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13750 (test_awatch_creation_and_listing)
13751 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13752 Remove 'type' parameter.
13753 (test_watchpoint_all): New parameter mi_mode. Remove
13754 with_test_prefix.
13755 (top level): Use foreach_with_prefix, and add main/separate UI MI
13756 testing axis.
13757
51f77c37
PA
137582016-06-21 Pedro Alves <palves@redhat.com>
13759
13760 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13761 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13762 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13763 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13764 (gdb_main_spawn_id, mi_spawn_id): Declare and
13765 comment.
13766 (mi_create_inferior_pty): New procedure,
13767 factored out from default_mi_gdb_start.
13768 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13769 procedures.
13770 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13771 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13772 Use mi_create_inferior_pty.
13773 (mi_gdb_start): Use eval to pass down args list.
13774
8980e177
PA
137752016-06-21 Pedro Alves <palves@redhat.com>
13776
13777 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13778 * gdb.opt/inline-cmds.exp: Add MI tests.
13779
f38d3ad1
PA
137802016-06-21 Pedro Alves <palves@redhat.com>
13781
13782 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13783
45db7c09
PA
137842016-06-21 Pedro Alves <palves@redhat.com>
13785
13786 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13787 (top level): Use it instead of mi_execute_to.
13788
5a069ab3
PA
137892016-06-21 Pedro Alves <palves@redhat.com>
13790
13791 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13792 (cont_handler_str): New.
13793 (signal_stop_handler): Set stop_handler_str instead of printing to
13794 stdout.
13795 (continue_handler): Set cont_handler_str instead of printing to
13796 stdout.
13797 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13798 mi_send_resuming_command. Print stop_handler_str and
13799 cont_handler_str instead of expecting the python events print
13800 directly.
13801
2838cc1d
SD
138022016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13803
13804 * gdb.base/jit-reader.exp: New file.
13805 * gdb.base/jithost.c: New file.
13806 * gdb.base/jithost.h: New file.
13807 * gdb.base/jitreader.c : New file.
13808 * gdb.base/jit-protocol.h: New file.
13809
21a77091
YQ
138102016-06-17 Yao Qi <yao.qi@linaro.org>
13811
13812 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13813 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13814 and detach-on-fork. Adjust tests.
13815 (top level): Invoke break_cond_on_syscall with combinations of
13816 syscall, follow-fork-mode and detach-on-fork.
13817
f50bf8e5
YQ
138182016-06-17 Yao Qi <yao.qi@linaro.org>
13819
13820 * gdb.base/step-over-exit.c: New.
13821 * gdb.base/step-over-exit.exp: New.
13822
a28d8e50
YTL
138232016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13824
13825 * gdb.base/float.exp: Add target check for nds32*-*-*.
13826 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13827
cad8e26d
AB
138282016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13829
13830 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13831 for unsupported target features.
13832 * gdb.base/call-rt-st.exp: Likewise.
13833 * gdb.base/call-sc.exp: Likewise.
13834 * gdb.base/call-signal-resume.exp: Likewise.
13835 * gdb.base/call-strs.exp: Likewise.
13836 * gdb.base/callexit.exp: Likewise.
13837 * gdb.base/callfuncs.exp: Likewise.
13838 * gdb.base/nodebug.exp: Likewise.
13839 * gdb.base/printcmds.exp: Likewise.
13840 * gdb.base/ptype.exp: Likewise.
13841 * gdb.base/structs.exp: Likewise.
13842 * gdb.base/unwindonsignal.exp: Likewise.
13843 * gdb.cp/gdb2495.exp: Likewise.
13844 * gdb.cp/templates.exp: Likewise.
13845 * gdb.cp/virtfunc.exp: Likewise.
13846 * gdb.threads/hand-call-in-threads.exp: Likewise.
13847 * gdb.threads/interrupted-hand-call.exp: Likewise.
13848 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13849
347dc102
TT
138502016-06-10 Tom Tromey <tom@tromey.com>
13851
13852 PR rust/20110:
13853 * gdb.rust/expr.exp: Add test for integer constant larger than
13854 i32.
13855
5e13cf25
BH
138562016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13857
13858 * gdb.fortran/nested-funcs.exp: New.
13859 * gdb.fortran/nested-funcs.f90: New.
13860
bb556f1f
TK
138612016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13862
13863 * gdb.base/examine-backward.c: New file.
13864 * gdb.base/examine-backward.exp: New file.
13865
38b022b4
SM
138662016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13867
13868 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13869 matching.
13870
1b40ec05
TT
138712016-06-02 Tom Tromey <tom@tromey.com>
13872
13873 PR python/18984:
13874 * gdb.python/py-shared.exp: Add solib_name test.
13875
193bd378
SM
138762016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13877
13878 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13879
3326303b
MG
138802016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13881
13882 PR c++/19893
13883 * gdb.dwarf2/implref.exp: Rename to...
13884 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13885 * gdb.dwarf2/implref-array.c: New file.
13886 * gdb.dwarf2/implref-array.exp: Likewise.
13887 * gdb.dwarf2/implref-global.c: Likewise.
13888 * gdb.dwarf2/implref-global.exp: Likewise.
13889 * gdb.dwarf2/implref-struct.c: Likewise.
13890 * gdb.dwarf2/implref-struct.exp: Likewise.
13891
825c8ef2
AT
138922016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13893
13894 * gdb.trace/trace-condition.exp: Add 64bit tests.
13895
2320162a
AT
138962016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13897
13898 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13899 bits types.
13900 (main): Adapt to 8 to 64 bits types.
13901 * gdb.trace/trace-condition.exp: Add new tests.
13902
a7818233
AT
139032016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13904
13905 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13906
0d336466
AT
139072016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13908
13909 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13910 Move condition tests...
13911 * gdb.trace/trace-condition.exp: Here.
13912
7faeb45a
AT
139132016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13914
13915 * gdb.trace/trace-condition.exp: Add counter-case tests.
13916
e385593e
JK
139172016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13918
13919 PR c++/15231
13920 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13921 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13922
744608cc
PA
139232016-05-27 Pedro Alves <palves@redhat.com>
13924
13925 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13926 New procedure.
13927 (top level): Call it, and bail out of DejaGnu is known to be bad.
13928
ac775bf4
AB
139292016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13930
13931 * gdb.base/whatis.c: Extend the test case.
13932 * gdb.base/whatis.exp: Add additional tests.
13933
2bbad2ea
BH
139342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13935
13936* gdb.fortran/type.f90: Add pointer variable.
13937* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13938
8b70175d
BH
139392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13940
13941 * gdb.fortran/vla-type.exp: Fix testcase name.
13942
86d8a848
BH
139432016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13944
13945 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13946
e188eb36
BH
139472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13948
13949 * gdb.fortran/type.f90: Add nested structures.
13950 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13951 * gdb.fortran/derived-type.exp: Adapt expected output.
13952 * gdb.fortran/vla-type.exp: Adapt expected output.
13953
9b2db1fd
BH
139542016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13955
13956 * gdb.fortran/whatis_type.exp: Adapt expected output.
13957
72b17055
BH
139582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13959
13960 * gdb.fortran/print_type.exp: Fix expected output.
13961 * gdb.fortran/whatis_type.exp: Fix expected output.
13962
3cd81d8d
BH
139632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13964
13965 * gdb.fortran/whatis_type.exp: Use multi_line.
13966
ddae9462
TT
139672016-05-24 Tom Tromey <tom@tromey.com>
13968
13969 PR python/17386:
13970 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13971 use value as an index.
13972
1957f6b8
TT
139732016-05-23 Tom Tromey <tom@tromey.com>
13974
13975 PR python/17981:
13976 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13977 no-breakpoint case.
13978
026a9174
PA
139792016-05-24 Pedro Alves <palves@redhat.com>
13980
13981 PR gdb/19828
13982 * gdb.threads/clone-attach-detach.c: New file.
13983 * gdb.threads/clone-attach-detach.exp: New file.
13984
e70a7231
FR
139852016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13986
13987 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13988
0f6ed0e0
TT
139892016-05-23 Tom Tromey <tom@tromey.com>
13990
13991 PR python/19438, PR python/18393:
13992 * gdb.python/py-progspace.exp: Add "dir" test.
13993 * gdb.python/py-objfile.exp: Add "dir" test.
13994
ffd19d61
YQ
139952016-05-23 Yao Qi <yao.qi@linaro.org>
13996
13997 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13998 * gdb.arch/thumb2-it.exp: Likewise.
13999
9e8f9b05
SM
140002016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14001
14002 * gdb.mi/mi-threads-interrupt.c: New file.
14003 * gdb.mi/mi-threads-interrupt.exp: New file.
14004
61c6156d
SM
140052016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14006
14007 PR gdb/18077
14008 * gdb.mi/mi-async-run.exp: New file.
14009 * gdb.mi/mi-async-run.c: New file.
14010
67218854
TT
140112016-05-17 Tom Tromey <tom@tromey.com>
14012 Manish Goregaokar <manishsmail@gmail.com>
14013
14014 * lib/rust-support.exp: New file.
14015 * lib/gdb.exp (skip_rust_tests): New proc.
14016 (build_executable_from_specs): Handle rust.
14017 * lib/future.exp (gdb_find_rustc): New proc.
14018 (gdb_default_target_compile): Handle rust.
14019 * gdb.rust/expr.exp: New file.
14020 * gdb.rust/generics.exp: New file.
14021 * gdb.rust/generics.rs: New file.
14022 * gdb.rust/methods.exp: New file.
14023 * gdb.rust/methods.rs: New file.
14024 * gdb.rust/modules.exp: New file.
14025 * gdb.rust/modules.rs: New file.
14026 * gdb.rust/simple.exp: New file.
14027 * gdb.rust/simple.rs: New file.
14028
c44af4eb
TT
140292016-05-17 Tom Tromey <tom@tromey.com>
14030
14031 * gdb.base/default.exp (set language): Add rust.
14032
dcd1f979
TT
140332016-05-17 Tom Tromey <tom@tromey.com>
14034
14035 * gdb.gdb/unittest.exp: New file.
14036
155b7f57
YQ
140372016-05-16 Yao Qi <yao.qi@linaro.org>
14038
14039 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14040 shell_prompt. Update shell_prompt_re.
14041
8ddd5a6c
DE
140422016-05-12 Doug Evans <dje@google.com>
14043
14044 PR symtab/19999
14045 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14046 $options when building executable.
14047 * gdb.dwarf2/fission-loclists-pie.S: New file.
14048 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14049
02e370d9
SM
140502016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14051
14052 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14053 of [is_remote target],
14054
8929ad8b
SM
140552016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14056
14057 * lib/gdb.exp (use_gdb_stub): New procedure.
14058
6c447423
DE
140592016-05-03 Yunlian Jiang <yunlian@google.com>
14060 Doug Evans <dje@google.com>
14061
14062 PR symtab/19914
14063 * gdb.dwarf2/dwp-sepdebug.c: New file.
14064 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14065
444e826c
SM
140662016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14067
14068 * gdb.base/detach.exp: Remove is_remote check.
14069
740feeaa
SM
140702016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14071
14072 * gdb.base/annota-input-while-running.exp: Don't check for
14073 [is_remote target]. Enable annotations after running to main.
14074 Remove unused "set test..." line.
14075
9080ac9d
SM
140762016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14077
14078 * gdb.trace/trace-enable-disable.exp: New file.
14079 * gdb.trace/trace-enable-disable.c: New file.
14080
952ebca5
SM
140812016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14082
14083 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14084 use it in info sharedlibrary test.
14085 * gdb.trace/ftrace-lock.exp: Likewise.
14086 * gdb.trace/ftrace.exp: Likewise.
14087 * gdb.trace/range-stepping.exp: Likewise.
14088 * gdb.trace/trace-break.exp: Likewise.
14089 * gdb.trace/trace-condition.exp: Likewise.
14090 * gdb.trace/trace-mt.exp: Likewise.
14091
d9019901
SM
140922016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14093
14094 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14095 (gdb_load_shlib): ... this.
14096 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14097 gdb_load_shlib.
14098 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14099 * gdb.base/ctxobj.exp: Likewise.
14100 * gdb.base/dprintf-pending.exp: Likewise.
14101 * gdb.base/dso2dso.exp: Likewise.
14102 * gdb.base/fixsection.exp: Likewise.
14103 * gdb.base/gcore-relro.exp: Likewise.
14104 * gdb.base/gdb1555.exp: Likewise.
14105 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14106 * gdb.base/gnu-ifunc.exp: Likewise.
14107 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14108 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14109 * gdb.base/pending.exp: Likewise.
14110 * gdb.base/print-file-var.exp: Likewise.
14111 * gdb.base/print-symbol-loading.exp: Likewise.
14112 * gdb.base/shlib-call.exp: Likewise.
14113 * gdb.base/shreloc.exp: Likewise.
14114 * gdb.base/so-impl-ld.exp: Likewise.
14115 * gdb.base/solib-disc.exp: Likewise.
14116 * gdb.base/solib-nodir.exp: Likewise.
14117 * gdb.base/solib-overlap.exp: Likewise.
14118 * gdb.base/solib-symbol.exp: Likewise.
14119 * gdb.base/solib-weak.exp (do_test): Likewise.
14120 * gdb.base/sym-file.exp: Likewise.
14121 * gdb.base/symtab-search-order.exp: Likewise.
14122 * gdb.base/type-opaque.exp: Likewise.
14123 * gdb.base/unload.exp: Likewise.
14124 * gdb.base/watchpoint-solib.exp: Likewise.
14125 * gdb.compile/compile.exp: Likewise.
14126 * gdb.cp/gdb2384.exp: Likewise.
14127 * gdb.cp/infcall-dlopen.exp: Likewise.
14128 * gdb.cp/re-set-overloaded.exp: Likewise.
14129 * gdb.fortran/library-module.exp: Likewise.
14130 * gdb.opt/solib-intra-step.exp: Likewise.
14131 * gdb.python/py-finish-breakpoint.exp: Likewise.
14132 * gdb.python/py-shared.exp: Likewise.
14133 * gdb.reverse/solib-precsave.exp: Likewise.
14134 * gdb.reverse/solib-reverse.exp: Likewise.
14135 * gdb.server/solib-list.exp: Likewise.
14136 * gdb.threads/dlopen-libpthread.exp: Likewise.
14137 * gdb.threads/tls-shared.exp: Likewise.
14138 * gdb.threads/tls-so_extern.exp: Likewise.
14139 * gdb.trace/change-loc.exp: Likewise.
14140 * gdb.trace/ftrace-lock.exp: Likewise.
14141 * gdb.trace/ftrace.exp: Likewise.
14142 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14143 * gdb.trace/pending.exp: Likewise.
14144 * gdb.trace/range-stepping.exp: Likewise.
14145 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14146 (strace_info_marker): Likewise.
14147 (strace_probe_marker): Likewise.
14148 (strace_trace_on_same_addr): Likewise.
14149 (strace_trace_on_diff_addr): Likewise.
14150 * gdb.trace/trace-break.exp: Likewise.
14151 * gdb.trace/trace-condition.exp: Likewise.
14152 * gdb.trace/trace-mt.exp: Likewise.
14153
fca4cfd9
SM
141542016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14155
14156 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14157 result of gdb_remote_download.
14158 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14159 * gdb.base/dso2dso.exp: Likewise.
14160 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14161 * gdb.base/print-file-var.exp: Likewise.
14162 * gdb.base/shlib-call.exp: Likewise.
14163 * gdb.base/shreloc.exp: Likewise.
14164 * gdb.base/solib-overlap.exp: Likewise.
14165 * gdb.base/solib-weak.exp (do_test): Likewise.
14166 * gdb.base/unload.exp: Likewise.
14167
11cf4ffb
YQ
141682016-04-27 Yao Qi <yao.qi@linaro.org>
14169
14170 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14171 exists.
14172
3e2e34f8
KB
141732016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14174
14175 * vla-type.exp: Print structure from toplevel.
14176
8f07e298
BH
141772016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14178
14179 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14180 of dynamic types.
14181 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14182 of dynamic types.
14183
9920b434
BH
141842016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14185
14186 * gdb.fortran/vla-type.f90: New file.
14187 * gdb.fortran/vla-type.exp: New file.
14188
f3abeff5
YQ
141892016-04-25 Yao Qi <yao.qi@linaro.org>
14190
14191 * gdb.base/branch-to-self.c: New file.
14192 * gdb.base/branch-to-self.exp: New file.
14193
0a5d52f0
YQ
141942016-04-22 Yao Qi <yao.qi@linaro.org>
14195
14196 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14197 more after $hex.
14198
495346f6
YQ
141992016-04-22 Yao Qi <yao.qi@linaro.org>
14200
14201 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14202 * gdb.base/annota3.exp: Likewise.
14203
4a7e075c
YQ
142042016-04-22 Yao Qi <yao.qi@linaro.org>
14205
14206 * gdb.reverse/step-precsave.exp: Do one step and test program
14207 stops in "callee" and do multiple steps until program goes out
14208 of "callee".
14209 * gdb.reverse/step-reverse.exp: Likewise.
14210
5b061e98
YQ
142112016-04-22 Yao Qi <yao.qi@linaro.org>
14212
14213 * gdb.trace/signal.exp: Also pass if
14214 $tracepoint_hits($i) > $iterations.
14215
5c5dc57f
YQ
142162016-04-22 Yao Qi <yao.qi@linaro.org>
14217
14218 * gdb.trace/signal.c: New file.
14219 * gdb.trace/signal.exp: New file.
14220
a55411b9
DE
142212016-04-19 Doug Evans <xdje42@gmail.com>
14222
14223 * gdb.base/bad-file.exp: New file.
14224
a22df60a
MG
142252016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14226
14227 * gdb.dwarf2/implref.exp: New file.
14228
0c13f7e5
BH
142292016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14230
14231 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14232 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14233 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14234 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14235 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14236 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14237 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14238 * lib/fortran.exp (fortran_int4): New procedure.
14239 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14240 (fortran_logical4): Likewise.
14241
9b9b09e9
BH
142422016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14243
14244 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14245
a14d1f4d
BH
142462016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14247
14248 * lib/compiler.c: Add Intel specific preprocessor macros.
14249 * lib/compiler.cc: Likewise.
25d49b86 14250
7d49b1d0
LM
142512016-04-13 Luis Machado <lgustavo@codesourcery.com>
14252
14253 * gdb.server/connect-with-no-symbol-file.c: New file.
14254 * gdb.server/connect-with-no-symbol-file.exp: New file.
14255
8392fa22
SM
142562016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14257
14258 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14259
8c4c4aeb
SM
142602016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14261
14262 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14263 standard output directory.
14264
45e3745e
AT
142652016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14266
14267 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14268
e26b7e41
MM
142692016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14270
14271 * gdb.btrace/instruction_history.c (loop): Add declaration.
14272
8ce09462
AT
142732016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14274
14275 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14276
2e88a1ea
SM
142772016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14278
14279 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14280 parentheses to print.
14281 (continue_handler): Likewise.
14282
f48e22e3
SM
142832016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14284
14285 * gdb.server/solib-list.exp: Remove is_remote check.
14286 Pass shlib= to gdb_compile. Don't link shared library with
14287 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14288 Run binary filename through "readlink -f" on the target.
14289
096be756
PA
142902016-04-08 Pedro Alves <palves@redhat.com>
14291
14292 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14293 interpreter filename as argument to gdbserver_spawn.
14294 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14295 Return empty if $last_loaded_file does not exist.
14296
06500533
JK
142972016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14298
14299 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14300 * gdb.base/jit-main.c: Use exit after usage.
14301
2d35e871
JK
143022016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14303
14304 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14305 GDBHISTSIZE prior to the tests.
14306 * gdb.base/gdbinit-history.exp: Likewise.
14307
143082016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
14309
14310 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14311 instead of build_executable. Use gdb_load_shlibs.
14312
c8064e7e
YQ
143132016-04-07 Yao Qi <yao.qi@linaro.org>
14314
14315 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14316 Execute "si" command.
14317
bde47561
YQ
143182016-04-07 Yao Qi <yao.qi@linaro.org>
14319
14320 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14321 number instead of the comments on some line.
14322
b16f8a3b
DB
143232016-04-06 Don Breazeal <donb@codesourcery.com>
14324
14325 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14326 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14327
c2f901df
SM
143282016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14329
14330 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14331 standard_output_file. Remove unused binfile variable.
14332
ac17fda0
CU
143332016-04-05 Catalin Udma <catalin.udma@freescale.com>
14334
14335 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14336 * gdb.python/py-mi-objfile.exp: Match "list main" output
14337 in console format.
14338
03a8c4df
SM
143392016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14340
14341 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14342 absolute.
14343
6e774b13
SM
143442016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14345
14346 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14347 absolute.
14348 * gdb.trace/ftrace.exp: Likewise.
14349 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14350 targets as well.
14351 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14352 (gdb_load_shlibs): Copy libraries to test directory when testing
14353 natively. Only set solib-search-path if testing remotely.
14354 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14355
7817ea46
SM
143562016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14357
14358 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14359 gdb_download. Use it even if the target is not remote.
14360 * gdb.base/jit.exp (compile_jit_test): Likewise.
14361 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14362 output directory if the destination board is local, otherwise use
14363 the standard remote_download from DejaGnu.
14364 (gdb_download): Remove.
14365 (gdb_load_shlibs): Use gdb_remote_download instead of
14366 gdb_download.
14367 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14368 Use gdb_remote_download instead of gdb_download. Use it even if
14369 the target is not remote.
14370 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14371 instead of gdb_download.
14372
7beb7f68
SM
143732016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14374
14375 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14376 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14377 run.
14378
cc63428a
AV
143792016-04-01 Artemiy Volkov <artemiyv@acm.org>
14380
14381 PR gdb/19820
14382 * gdb.base/printcmds.exp: Add artificial arrays tests.
14383
64cdf930
PA
143842016-03-31 Pedro Alves <palves@redhat.com>
14385
14386 PR gdb/19858
14387 * gdb.base/jit-main.c: Include unistd.h.
14388 (ATTACH): Define to 0 if not already defined.
14389 (wait_for_gdb, mypid): New globals.
14390 (WAIT_FOR_GDB): New macro.
14391 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14392 some breakpoint locations.
14393 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14394 New procedures.
14395 (one_jit_test): Add REATTACH parameter, and handle it. Use
14396 continue_to_test_location.
14397 (top level): Test attach, and adjusts calls to one_jit_test.
14398
40dea8cb
PA
143992016-03-31 Pedro Alves <palves@redhat.com>
14400
14401 PR gdb/19858
14402 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14403 BINSUFFIX parameter, and handle it.
14404 (top level): Adjust calls compile_jit_test.
14405
e7ea3ec7
CU
144062016-03-31 Catalin Udma <catalin.udma@freescale.com>
14407
14408 PR python/19743
14409 * gdb.python/py-mi-events-gdb.py: New file.
14410 * gdb.python/py-mi-events.c: New file.
14411 * gdb.python/py-mi-events.exp: New file.
14412
e6359af3
YQ
144132016-03-30 Yao Qi <yao.qi@linaro.org>
14414
14415 * gdb.reverse/until-precsave.exp: Match function name only.
14416 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14417 Move malloc to a condition block.
14418 * gdb.reverse/until-reverse.exp: Match function name only.
14419
a4105d04
MK
144202016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14421
14422 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14423 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14424 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14425 variable for GPR 0 instead of assuming it is register 0.
14426 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14427 * lib/trace-support.exp: Add s390 registers.
14428
bfa6adb9
YQ
144292016-03-29 Yao Qi <yao.qi@linaro.org>
14430
14431 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14432
1e6697ea
YQ
144332016-03-24 Yao Qi <yao.qi@linaro.org>
14434
14435 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14436 test message.
14437
64bcd522
AA
144382016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14439
14440 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14441 maintaining separate logic for constructing the output path.
14442
7868401b
DB
144432016-03-16 Don Breazeal <donb@codesourcery.com>
14444
14445 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14446 Retry fork and waitpid on interrupted system call errors.
14447 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14448 Use with_timeout_factor to increase timeout by factor of 10.
14449
1cafadb4
DB
144502016-03-15 Don Breazeal <donb@codesourcery.com>
14451
14452 * gdb.cp/scope-err.cc: New test program.
14453 * gdb.cp/scope-err.exp: New test script.
14454 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14455 lines and "set breakpoint here" comment.
14456 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14457 Fixed some whitespace and format issues.
14458 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14459 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14460
81516450
DE
144612016-03-15 Doug Evans <dje@google.com>
14462
14463 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14464 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14465 All callers updated. Add tests for enums, mixed flags register.
14466
aa52b601
DE
144672016-03-15 Doug Evans <dje@google.com>
14468
14469 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14470 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14471
fa4ff313
SM
144722016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14473
14474 * gdb.base/default.exp: Add $_as_string to the list of expected
14475 convenience functions.
14476
f2403c39
AB
144772016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14478
14479 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14480
f2f3ccb9
SM
144812016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14482
14483 * gdb.python/py-as-string.exp: New file.
14484 * gdb.python/py-as-string.c: New file.
14485
00dbd492
PA
144862016-03-09 Pedro Alves <palves@redhat.com>
14487
14488 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14489 signal" -> "Thread NN received signal" output change.
14490 * gdb.threads/ia64-sigill.exp: Likewise.
14491 * gdb.threads/linux-dp.exp: Likewise.
14492 * gdb.threads/manythreads.exp: Likewise.
14493 * gdb.threads/pending-step.exp: Likewise.
14494 * gdb.threads/print-threads.exp: Likewise.
14495 * gdb.threads/sigstep-threads.exp: Likewise.
14496 * gdb.threads/staticthreads.exp: Likewise.
14497 * gdb.threads/tls.exp: Likewise.
14498
1e6697ea
YQ
144992016-03-09 Pedro Alves <palves@redhat.com>
14500
14501 * gdb.base/command-line-input.exp: New file.
14502
b04fd3be
MK
145032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14504
14505 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14506 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14507 * gdb.trace/pending.exp: Accept leading dot before function name.
14508 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14509 * lib/trace-support.exp: Set registers for ppc.
14510
98fa59e9
MK
145112016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14512
14513 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14514 use it for disassembly; accept .main in addition to main in backtrace.
14515
f77198c8
MK
145162016-03-09 Wei-cheng Wang <cole945@gmail.com>
14517 Marcin Kościelnicki <koriakin@0x04.net>
14518
14519 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14520 (gdb_recursion_test_ptr): New global variable.
14521 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14522 gdb_recursion_test.
14523 (gdb_c_test): Ditto.
14524
ba84e0da
MK
145252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14526
14527 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14528 ordering.
14529
4366d36e
MK
145302016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14531
14532 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14533 (bar): Add bar_start_lbl label.
14534 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14535 of foo/bar for emitting DWARF and tracing.
14536
5eb264df
SDJ
145372016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14538
14539 * analyze-racy-logs.py: Set executable bit.
14540
fb6a751f
SDJ
145412016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14542
14543 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14544 (CHECK_TARGET_TMP): Likewise.
14545 (check-single-racy): New rule.
14546 (check-parallel-racy): Likewise.
14547 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14548 (do-check-parallel-racy): New rule.
14549 (check-racy/%.exp): Likewise.
14550 * README (Racy testcases): New section.
14551 * analyze-racy-logs.py: New file.
14552
bdf7e230
DE
145532016-03-03 Doug Evans <dje@google.com>
14554
14555 * gdb.base/skip.exp: Use with_test_prefix.
14556
4719d415
YQ
145572016-03-03 Yao Qi <yao.qi@linaro.org>
14558
14559 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14560 Invoke step_over_syscall "clone" and break_cond_on_syscall
14561 "clone".
14562 * gdb.base/step-over-clone.c: New file.
14563
ea507862
YQ
145642016-03-03 Yao Qi <yao.qi@linaro.org>
14565
14566 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14567 code format.
14568
8fc8cbda
YQ
145692016-03-03 Yao Qi <yao.qi@linaro.org>
14570
14571 * gdb.base/disp-step-fork.c: Rename to ...
14572 * gdb.base/step-over-fork.c: ... it. New file.
14573 * gdb.base/disp-step-vfork.c: Rename to ...
14574 * gdb.base/step-over-vfork.c: ... it. New file.
14575 * gdb.base/disp-step-syscall.exp: Rename to ...
14576 * gdb.base/step-over-syscall.exp: ... it. New file.
14577 (disp_step_cross_syscall): Rename to ...
14578 (step_over_syscall): ... it.
14579
92fa70b0
YQ
145802016-03-03 Yao Qi <yao.qi@linaro.org>
14581
14582 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14583 If target supports condition evaluation on target, invoke
14584 break_cond_on_syscall for fork and vfork.
14585
e197ad3c
YQ
145862016-03-03 Yao Qi <yao.qi@linaro.org>
14587
14588 * gdb.base/disp-step-syscall.exp: Don't invoke
14589 support_displaced_stepping.
14590 (disp_step_cross_syscall): Test with displaced stepping off and
14591 on if supported.
14592
0b47da9f
YQ
145932016-03-03 Yao Qi <yao.qi@linaro.org>
14594
14595 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14596 proc.
14597 (setup): New proc.
14598 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14599 and setup.
14600
065ab6dc
BH
146012016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14602
14603 * gdb.fortran/vla-history.exp: Remove breakpoint.
14604
07e448ad 146052016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14606
25d49b86
PA
14607 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14608 exceeds timeout.
07e448ad 14609
9ac2d526 146102016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14611
25d49b86
PA
14612 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14613 breakpoint.
9ac2d526 14614
17807369
BH
146152016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14616
14617 * gdb.mi/vla.f90: Nullify pointer after declaration.
14618
86e501af
PA
146192016-03-01 Pedro Alves <palves@redhat.com>
14620
14621 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14622
1e903e32
PA
146232016-03-01 Pedro Alves <palves@redhat.com>
14624
14625 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14626 before anything else.
14627 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14628 _GNU_SOURCE here.
14629 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14630 before anything else.
14631 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14632
6ccb54e2
PA
146332016-03-01 Pedro Alves <palves@redhat.com>
14634
14635 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14636
30ca9da1
YQ
146372016-03-01 Yao Qi <yao.qi@linaro.org>
14638
14639 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14640 prepare_for_testing.
14641
dc856b38
YQ
146422016-03-01 Yao Qi <yao.qi@linaro.org>
14643
14644 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14645
4a932159
AA
146462016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14647
14648 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14649 manually constructing the output path.
14650
f2489477
AA
146512016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14652
14653 * gdb.arch/s390-stackless.S: New.
14654 * gdb.arch/s390-stackless.exp: New.
14655
38899f16
IB
146562016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14657
14658 * gdb.dlang/circular.c: New file.
14659 * gdb.dlang/circular.exp: New file.
14660
9fde51ed
YQ
146612016-02-26 Yao Qi <yao.qi@linaro.org>
14662
14663 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14664 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14665 (testcases): Update.
14666
ce90fefe
YQ
146672016-02-26 Yao Qi <yao.qi@linaro.org>
14668
14669 * gdb.reverse/aarch64.c: Rename to ...
14670 * gdb.reverse/insn-reverse.c: ... it.
14671 * gdb.reverse/aarch64.exp: Rename to ...
14672 * gdb.reverse/insn-reverse.exp: ... it.
14673
3263bceb
YQ
146742016-02-26 Yao Qi <yao.qi@linaro.org>
14675
14676 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14677 (testcase_ftype): New.
14678 (testcases): New array.
14679 (n_testcases): New.
14680 (main): Call each element in testcases.
14681 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14682 (read_testcase): New.
14683 Do the tests in a loop.
14684
6cb59ff1
YQ
146852016-02-25 Yao Qi <yao.qi@linaro.org>
14686
14687 * gdb.base/branches.c: Remove.
14688
ae91f625
MK
146892016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14690
14691 PR gdb/13808
14692 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14693
678b48b7
MK
146942016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14695
14696 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14697
7337a6f2
MK
146982016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14699
14700 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14701 change x86_64 call_insn to 'callq'.
14702
861ca91f
AT
147032016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14704
14705 * gdb.trace/tfile-avx.c: Move to...
14706 * gdb.trace/tracefile-pseudo-reg.c: Here.
14707 * gdb.trace/tfile-avx.exp: Move to...
14708 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14709
bf74e428
GB
147102016-02-24 Gary Benson <gbenson@redhat.com>
14711
14712 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14713 message on attach.
14714
cce0e923
DE
147152016-02-23 Doug Evans <dje@google.com>
14716
14717 * gdb.base/skip.c (test_skip): New function.
14718 (end_test_skip_file_and_function): New function.
14719 (test_skip_file_and_function): New function.
14720 * gdb.base/skip1.c (test_skip): New function.
14721 (skip1_test_skip_file_and_function): New function.
14722 * gdb.base/skip.exp: Add tests for new skip options.
14723 * gdb.base/skip-solib.exp: Update expected output.
14724 * gdb.perf/skip-command.cc: New file.
14725 * gdb.perf/skip-command.exp: New file.
14726 * gdb.perf/skip-command.py: New file.
14727
4000e47e
MK
147282016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14729
14730 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14731 info registers pattern.
14732
24f75ead
IB
147332016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14734
14735 * lib/future.exp: Add D support.
14736 (gdb_find_gdc): New proc.
14737 (gdb_default_target_compile): Add D support.
14738
fbb7bcbe
WW
147392016-02-18 Wei-cheng Wang <cole945@gmail.com>
14740
14741 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14742 user+system time.
14743 (trace_speed_test): Determine the iteration count for a time
14744 between 15..30 seconds.
14745
012b3a21
WT
147462016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14747
14748 * gdb.arch/i386-mpx-sigsegv.c: New file.
14749 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14750 * gdb.arch/i386-mpx-simple_segv.c: New file.
14751 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14752
2d5189bd
YQ
147532016-02-18 Yao Qi <yao.qi@linaro.org>
14754
14755 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14756 Don't call setup_kfail.
14757
40fb20d0
YQ
147582016-02-18 Yao Qi <yao.qi@linaro.org>
14759
14760 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14761 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14762
21b1f8d2
DE
147632016-02-16 Doug Evans <dje@google.com>
14764
14765 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14766 * gdb.base/skip1.c: Ditto.
14767 * gdb.base/skip.exp: Whitespace cleanup.
14768
4041ed77
DB
147692016-02-16 Don Breazeal <donb@codesourcery.com>
14770
14771 PR remote/19496
14772 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14773 Remove kfail for PR remote/19496.
14774
c4ef31bf
SM
147752016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14776
14777 * lib/gdb.exp (standard_temp_file): Return a path specific to
14778 the runtest invocation.
14779
266b65b3
SM
147802016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14781
14782 * gdb.trace/save-trace.exp: Change relative path to be in the
14783 standard output directory.
14784
a7a0a6a9
JK
147852016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14786
14787 * gdb.arch/i386-prologue.c: Add missing prototypes.
14788
c99dbb42
JK
147892016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14790
14791 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14792 * gdb.arch/i386-prologue.exp: Likewise.
14793 * gdb.arch/i386-size.exp: Likewise.
14794
aa480355
SM
147952016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14796
14797 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14798 define object file path.
14799 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14800 file path.
14801 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14802 standard_output_file to define binfile.
14803
ba881f50
JK
148042016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14805
14806 Fix compatibility with recent gfortran-5.3.1.
14807 * gdb.fortran/vla-history.exp (print vla1 allocated)
14808 (print vla2 allocated, print $2, print $3): Remove
14809 (print $4): Rename to ...
14810 (print $2): ... here.
14811 (print $9): Rename to ...
14812 (print $5): ... here.
14813 (print $10): Rename to ...
14814 (print $6): ... here.
14815 * gdb.fortran/vla.f90: Add pvla initialization.
14816
e9fb005c
JK
148172016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14818
14819 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14820 New test.
14821 * gdb.fortran/vla-value-sub.exp: Likewise.
14822
e44e00ff
MK
148232016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14824
14825 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14826
97e94151
SM
148272016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14828
14829 * i386-biarch-core.exp: Define corefile using
14830 standard_output_file.
14831
01113bc1
YQ
148322016-02-12 Yao Qi <yao.qi@linaro.org>
14833
14834 * gdb.arch/arm-single-step-kernel-helper.c: New.
14835 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14836
33b4777c
MM
148372016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14838
14839 * gdb.btrace/tailcall-only.exp: New.
14840 * gdb.btrace/tailcall-only.c: New.
14841 * gdb.btrace/x86_64-tailcall-only.S: New.
14842 * gdb.btrace/i686-tailcall-only.S: New.
14843
acc23c11
PA
148442016-02-11 Pedro Alves <palves@redhat.com>
14845
14846 * README (Parallel testing): Add missing double quotes.
14847
e352bf0a
PA
148482016-02-11 Pedro Alves <palves@redhat.com>
14849
14850 * README (Parallel testing): New section.
14851 (GDB_PARALLEL): Rewrite.
14852 (FORCE_PARALLEL): Document.
14853
9f5fed78
MK
148542016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14855
14856 * gdb.trace/tfile-avx.c: New test.
14857 * gdb.trace/tfile-avx.exp: New test.
14858
9ef9e6a6
KS
148592016-02-09 Keith Seitz <keiths@redhat.com>
14860
14861 PR breakpoints/19546
14862 * gdb.base/infcall-exec.c: New file.
14863 * gdb.base/infcall-exec2.c: New file.
14864 * gdb.base/infcall-exec.exp: New file.
14865
a96e36da
KS
148662016-02-09 Keith Seitz <keiths@redhat.com>
14867
14868 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14869 (toplevel): Call test_bkpt_address.
14870
9f61929f
KS
148712016-02-09 Keith Seitz <keiths@redhat.com>
14872
14873 PR python/19506
14874 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14875 (toplevel): Call test_bkpt_address.
14876
1e94266c
SM
148772016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14878
14879 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14880 to AC_OUTPUT.
14881 * configure: Regenerate.
14882
2a7f3dff
PA
148832016-02-09 Pedro Alves <palves@redhat.com>
14884
14885 PR breakpoints/19548
14886 * gdb.base/execl-update-breakpoints.c (some_function): New
14887 function.
14888 (main): Call it.
14889 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14890 Tighten expected GDB output.
14891
2151ccc5
SM
148922016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14893
14894 * Makefile.in (ALL_SUBDIRS): Remove.
14895 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14896 (distclean maintainer-clean realclean): Likewise.
14897 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14898 * configure: Regenerate.
14899 * gdb.ada/Makefile.in: Delete.
14900 * gdb.arch/Makefile.in: Likewise.
14901 * gdb.asm/Makefile.in: Likewise.
14902 * gdb.base/Makefile.in: Likewise.
14903 * gdb.btrace/Makefile.in: Likewise.
14904 * gdb.cell/Makefile.in: Likewise.
14905 * gdb.compile/Makefile.in: Likewise.
14906 * gdb.cp/Makefile.in: Likewise.
14907 * gdb.disasm/Makefile.in: Likewise.
14908 * gdb.dlang/Makefile.in: Likewise.
14909 * gdb.dwarf2/Makefile.in: Likewise.
14910 * gdb.fortran/Makefile.in: Likewise.
14911 * gdb.gdb/Makefile.in: Likewise.
14912 * gdb.go/Makefile.in: Likewise.
14913 * gdb.guile/Makefile.in: Likewise.
14914 * gdb.java/Makefile.in: Likewise.
14915 * gdb.linespec/Makefile.in: Likewise.
14916 * gdb.mi/Makefile.in: Likewise.
14917 * gdb.modula2/Makefile.in: Likewise.
14918 * gdb.multi/Makefile.in: Likewise.
14919 * gdb.objc/Makefile.in: Likewise.
14920 * gdb.opencl/Makefile.in: Likewise.
14921 * gdb.opt/Makefile.in: Likewise.
14922 * gdb.pascal/Makefile.in: Likewise.
14923 * gdb.perf/Makefile.in: Likewise.
14924 * gdb.python/Makefile.in: Likewise.
14925 * gdb.reverse/Makefile.in: Likewise.
14926 * gdb.server/Makefile.in: Likewise.
14927 * gdb.stabs/Makefile.in: Likewise.
14928 * gdb.threads/Makefile.in: Likewise.
14929 * gdb.trace/Makefile.in: Likewise.
14930 * gdb.xml/Makefile.in: Likewise.
14931 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14932 GDB_PARALLEL.
14933 (standard_output_file): Remove check for GDB_PARALLEL, always
14934 return path in outputs/$subdir/$testname.
14935
437277d4
SM
149362016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14937
14938 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14939 (site.exp): Assign abs_srcdir to tcl's srcdir.
14940
31d913c7
YQ
149412016-02-04 Yao Qi <yao.qi@linaro.org>
14942
14943 * gdb.base/foll-exec-mode.c: Include limits.h.
14944 (main): Add parameters argc and argv. Get directory from
14945 argv[0].
14946 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14947 compilation.
14948 * gdb.base/foll-exec.c: Include limits.h.
14949 (main): Add parameters argc and argv.
14950 Get directory from argv[0].
14951 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14952 Adjust tests on the number of lines as source code changed.
14953 * gdb.base/foll-vfork-exit.c: Include limits.h.
14954 (main): Add one line of statement before vfork.
14955 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14956 (main): Add parameters argc and argv. Get directory from
14957 argv[0].
14958 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14959 (setup_gdb): Set tbreak to skip some source lines.
14960 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14961 (main): Add parameters argc and argv. Get directory from
14962 argv[0].
14963 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14964 compilation.
14965 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14966 (main): Add parameters argc and argv. Get directory from
14967 argv[0].
14968 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14969 compilation.
14970
9482b9fb
DE
149712016-02-01 Doug Evans <dje@google.com>
14972
14973 * gdb.base/skip.exp: Clean up multiple references to same test name.
14974
6b2e4f10
PA
149752016-02-01 Pedro Alves <palves@redhat.com>
14976
ccb6afd6 14977 PR remote/19496
6b2e4f10
PA
14978 * gdb.threads/forking-threads-plus-breakpoint.exp
14979 (displaced_stepping_supported): New global.
14980 (probe_displaced_stepping_support): New procedure.
14981 (do_test): Add 'displaced' parameter, and use it.
14982 (top level): Check for displaced stepping support. Add displaced
14983 stepping on/off testing axis.
14984
37a8db1a
AB
149852016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14986
14987 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14988 pointer. Don't perform further tests on the unassociated pointer
14989 if the first test fails.
14990
5fdf6324
AB
149912016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14992
14993 * gdb.base/max-value-size.c: New file.
14994 * gdb.base/max-value-size.exp: New file.
14995 * gdb.base/huge.exp: Disable max-value-size for this test.
14996
935c6144
IB
149972016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14998
14999 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15000
7fe8399d
YQ
150012016-01-28 Yao Qi <yao.qi@linaro.org>
15002
15003 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15004
a2077e25
PA
150052016-01-25 Pedro Alves <palves@redhat.com>
15006
15007 PR threads/19461
15008 * gdb.base/fork-running-state.c: New file.
15009 * gdb.base/fork-running-state.exp: New file.
15010
1d2736d4
PA
150112016-01-25 Pedro Alves <palves@redhat.com>
15012
15013 PR gdb/19494
15014 * gdb.base/catch-fork-kill.c: New file.
15015 * gdb.base/catch-fork-kill.exp: New file.
15016
f1da4b11
PA
150172016-01-25 Pedro Alves <palves@redhat.com>
15018
15019 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15020 Delete, moved to lib/gdb.exp.
15021 * gdb.threads/forking-threads-plus-breakpoint.exp
15022 (foreach_with_prefix): Likewise.
15023 * gdb.threads/process-dies-while-handling-bp.exp
15024 (foreach_with_prefix): Likewise.
15025 * lib/gdb.exp (foreach_with_prefix): New procedure.
15026
45f38546
MK
150272016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15028
15029 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15030 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15031
dc29a1ce
MK
150322016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15033
15034 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15035 endian targets.
15036
092127d7
JK
150372016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15038 Pedro Alves <palves@redhat.com>
15039
15040 Fix testsuite compatibility with Guile.
15041 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15042 number.
15043
31d765d3
JK
150442016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15045
15046 Fix testsuite compatibility with Guile.
15047 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15048 (thread 1): New test for backtrace through signal handler.
15049
1ac78c04
YQ
150502016-01-22 Yao Qi <yao.qi@linaro.org>
15051
15052 PR testsuite/19491
15053 * gdb.base/multi-forks.c: Include
15054 ../lib/unbuffer_output.c
15055 (main): Call gdb_unbuffer_output.
15056
4f5946a8
DE
150572016-01-21 Doug Evans <dje@google.com>
15058
15059 * lib/ada.exp (gdb_compile_ada): Fix typo.
15060
305e13e6
JB
150612016-01-21 Joel Brobecker <brobecker@adacore.com>
15062
15063 * gdb.base/break-fun-addr.exp: New file.
15064 * gdb.base/break-fun-addr1.c: New file.
15065 * gdb.base/break-fun-addr2.c: New file.
15066
5f5dfff6
SM
150672016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15068
15069 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15070 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15071 enum flag values.
15072
fd356fa2
AA
150732016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15074
15075 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15076 when GDB can not set the vector return value. Add more comments
15077 for clarification.
15078
9df22175
AT
150792016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15080
15081 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15082 command.
15083
41d1845e
SM
150842016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15085
15086 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15087
01ac6840
SM
150882016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15089
15090 * Makefile.in (check-single): Pass --status to runtest.
15091 (check/%.exp): Likewise.
15092
150932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15094
15095 * Makefile.in (check-parallel): Propagate return code from make
15096 do-check-parallel.
15097
bd0a71fa
MK
150982016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15099
15100 * gdb.trace/ftrace.exp: Fix expected message on continue.
15101 * gdb.trace/pending.exp: Fix expected message on continue.
15102 * gdb.trace/trace-break.exp: Fix expected message on continue.
15103
8bcbad33
SM
151042016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15105
15106 * lib/gdb.exp (gdb_test): Remove unused global references.
15107
f303dbd6
PA
151082016-01-18 Pedro Alves <palves@redhat.com>
15109
15110 * gdb.base/async-shell.exp: Adjust expected output.
15111 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15112 * gdb.base/siginfo-thread.exp: Adjust expected output.
15113 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15114 * gdb.java/jnpe.exp: Adjust expected output.
15115 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15116 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15117 * gdb.threads/leader-exit.exp: Adjust expected output.
15118 * gdb.threads/manythreads.exp: Adjust expected output.
15119 * gdb.threads/pthreads.exp: Adjust expected output.
15120 * gdb.threads/schedlock.exp: Adjust expected output.
15121 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15122 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15123 expected output.
15124 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15125 output.
15126 * gdb.threads/sigthread.exp: Adjust expected output.
15127 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15128
b2789696
YQ
151292016-01-18 Yao Qi <yao.qi@linaro.org>
15130
15131 * gdb.guile/scm-section-script.c: Replace @progbits with
15132 %progbits.
15133 * gdb.python/py-section-script.c: Likewise.
15134
71ef29a8
PA
151352016-01-15 Pedro Alves <palves@redhat.com>
15136
15137 * gdb.multi/tids.exp: Test star wildcard ranges.
15138
3f5b7598
PA
151392016-01-15 Pedro Alves <palves@redhat.com>
15140
15141 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15142 command from "thread apply" invocation.
15143 (thr_apply_info_thr_invalid): Default the expected output to the
15144 input tid list.
15145 (top level): Add tests that use convenience variables. Add tests
15146 for "thread apply" with a valid TID list, but missing the command.
15147
663f6d42
PA
151482016-01-13 Pedro Alves <palves@redhat.com>
15149
15150 * gdb.base/default.exp: Expect $_gthread as well.
15151 * gdb.multi/tids.exp: Test $_gthread.
15152 * gdb.threads/thread-specific.exp: Test $_gthread.
15153
c84f6bbf
PA
151542016-01-13 Pedro Alves <palves@redhat.com>
15155
15156 * gdb.multi/tids.exp: Test "info threads -gid".
15157
22a02324
PA
151582016-01-13 Pedro Alves <palves@redhat.com>
15159
15160 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15161 Breakpoint.thread.
15162 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15163
5d5658a1
PA
151642016-01-07 Pedro Alves <palves@redhat.com>
15165
15166 * gdb.base/break.exp: Adjust to output changes.
15167 * gdb.base/hbreak2.exp: Likewise.
15168 * gdb.base/sepdebug.exp: Likewise.
15169 * gdb.base/watch_thread_num.exp: Likewise.
15170 * gdb.linespec/keywords.exp: Likewise.
15171 * gdb.multi/info-threads.exp: Likewise.
15172 * gdb.threads/thread-find.exp: Likewise.
15173 * gdb.multi/tids.c: New file.
15174 * gdb.multi/tids.exp: New file.
15175
84654457
PA
151762016-01-13 Pedro Alves <palves@redhat.com>
15177
15178 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15179
e3940304
PA
151802016-01-13 Pedro Alves <palves@redhat.com>
15181
15182 * gdb.base/default.exp: Expect $_inferior as well.
15183 * gdb.multi/base.exp: Test $_inferior.
15184
a911d87a
PA
151852016-01-13 Pedro Alves <palves@redhat.com>
15186
15187 PR breakpoints/19388
15188 * gdb.base/catch-signal-siginfo-cond.c: New file.
15189 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15190
82075af2
JS
151912016-01-12 Josh Stone <jistone@redhat.com>
15192 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15193
15194 * gdb.base/catch-syscall.c (do_execve): New variable.
15195 (main): Conditionally trigger an execve.
15196 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15197 (test_catch_syscall_execve): New, check entry/return across execve.
15198 (do_syscall_tests): Call test_catch_syscall_execve.
15199
e46eeedd
PA
152002016-01-12 Pedro Alves <palves@redhat.com>
15201
15202 * gdb.base/random-signal.exp (do_test): New procedure, with body
15203 of testcase moved in.
15204
01d8c27e
JK
152052016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15206 Pedro Alves <palves@redhat.com>
15207
15208 * gdb.base/funcargs.exp (finish from indirectly called function):
15209 Reintroduce the case for 'First'.
15210
9a706302
JK
152112016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15212 Pedro Alves <palves@redhat.com>
15213
15214 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15215 (tcatch_vfork_then_child_follow_exec)
15216 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15217 identification.
15218
c0ecb95f
JK
152192016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15220
15221 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15222 and repeats to unlimited.
15223 * gdb.python/py-value.exp: Likewise.
15224 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15225 and repeats to unlimited.
15226
6cfc1fcb
JK
152272016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15228
15229 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15230 and reordering the functions.
15231 * gdb.multi/hangout.c: Likewise.
15232 * gdb.multi/hello.c: Likewise.
15233
582a1b00
SM
152342016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15235
15236 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15237 absolute.
15238 (SingleStatisticTestResult.report): Use dict.keys instead of
15239 dict.iterkeys.
15240
79bc59cb
PA
152412016-01-06 Pedro Alves <palves@redhat.com>
15242
15243 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15244
43368e1d
MM
152452016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15246
15247 * gdb.btrace/dlopen.exp: New.
15248 * gdb.btrace/dlopen.c: New.
15249 * gdb.btrace/dlopen-dso.c: New.
15250
79fad5b8
SL
152512015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15252
15253 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15254 PATTERN argument is optional.
15255
ab8314b3
JB
152562015-12-24 Joel Brobecker <brobecker@adacore.com>
15257
15258 * lib/ada.exp (target_compile_ada_from_dir): New function.
15259 (gdb_compile_ada): Reimplement avoiding the use of project files.
15260 * gdb.ada/gnat_ada.gpr: Delete.
15261 * gdb.ada/cond_lang.exp: Adjust test to make path before
15262 filename optional.
15263 * gdb.ada/small_reg_param.exp: Likewise.
15264
fe33faff
SM
152652015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15266
15267 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15268
6d265cb4
TP
152692015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15270
15271 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15272 case.
15273
10125099
SM
152742015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15275
15276 * gdb.base/break.exp: Remove dead code.
15277 * gdb.base/sepdebug.exp: Likewise.
15278
3ca22649
SM
152792015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15280
15281 * gdb.asm/asm-source.exp: Remove HP-UX references.
15282 * gdb.base/annota1.exp: Likewise.
15283 * gdb.base/annota3.exp: Likewise.
15284 * gdb.base/attach.exp: Likewise.
15285 * gdb.base/bigcore.exp: Likewise.
15286 * gdb.base/break.exp: Likewise.
15287 * gdb.base/call-ar-st.exp: Likewise.
15288 * gdb.base/callfuncs.exp: Likewise.
15289 * gdb.base/catch-fork-static.exp: Likewise.
15290 * gdb.base/display.exp: Likewise.
15291 * gdb.base/foll-exec-mode.exp: Likewise.
15292 * gdb.base/foll-exec.exp: Likewise.
15293 * gdb.base/foll-fork.exp: Likewise.
15294 * gdb.base/foll-vfork.exp: Likewise.
15295 * gdb.base/funcargs.exp: Likewise.
15296 * gdb.base/hbreak2.exp: Likewise.
15297 * gdb.base/inferior-died.exp: Likewise.
15298 * gdb.base/interrupt.exp: Likewise.
15299 * gdb.base/multi-forks.exp: Likewise.
15300 * gdb.base/nodebug.exp: Likewise.
15301 * gdb.base/sepdebug.exp: Likewise.
15302 * gdb.base/solib1.c: Likewise.
15303 * gdb.base/step-test.exp: Likewise.
15304 * gdb.mi/non-stop.c: Likewise.
15305 * gdb.mi/pthreads.c: Likewise.
15306 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15307 * gdb.threads/pthreads.c: Likewise.
15308 * gdb.threads/staticthreads.exp: Likewise.
15309 * lib/future.exp: Likewise.
15310 * lib/gdb.exp: Likewise.
15311 * gdb.base/so-indr-cl.c: Remove.
15312 * gdb.base/so-indr-cl.exp: Likewise.
15313 * gdb.base/solib.c: Likewise.
15314 * gdb.base/solib.exp: Likewise.
15315 * gdb.base/solib2.c: Likewise.
15316
b6304613
SM
153172015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15318
15319 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15320 * gdb.base/call-ar-st.exp: Likewise.
15321 * gdb.base/callfuncs.exp: Likewise.
15322 * gdb.base/condbreak.exp: Likewise.
15323 * gdb.base/constvars.exp: Likewise.
15324 * gdb.base/hbreak2.exp: Likewise.
15325 * gdb.base/langs.exp: Likewise.
15326 * gdb.base/list.exp: Likewise.
15327 * gdb.base/long_long.exp: Likewise.
15328 * gdb.base/ptype.exp: Likewise.
15329 * gdb.base/scope.exp: Likewise.
15330 * gdb.base/signals.exp: Likewise.
15331 * gdb.base/so-impl-ld.exp: Likewise.
15332 * gdb.base/varargs.exp: Likewise.
15333 * gdb.base/volatile.exp: Likewise.
15334 * gdb.base/whatis.exp: Likewise.
15335 * gdb.cp/cplusfuncs.exp: Likewise.
15336 * gdb.cp/inherit.exp: Likewise.
15337 * gdb.cp/local.exp: Likewise.
15338 * gdb.cp/member-ptr.exp: Likewise.
15339 * gdb.cp/method.exp: Likewise.
15340 * gdb.cp/overload.exp: Likewise.
15341 * gdb.cp/templates.exp: Likewise.
15342 * gdb.stabs/weird.exp: Likewise.
15343 * lib/compiler.c: Likewise.
15344 * lib/compiler.cc: Likewise.
15345 * lib/cp-support.exp: Likewise.
15346 * lib/gdb.exp: Likewise.
15347
bf401b07
SM
153482015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15349
15350 * configure.ac: Remove HP-UX case.
15351 * configure: Regenerate.
15352
aff9c0f8
SM
153532015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15354
15355 * lib/gdb.exp (gdb_compile): Add function doc.
15356
a6904d5a
PA
153572015-12-17 Pedro Alves <palves@redhat.com>
15358
15359 PR threads/19354
15360 * gdb.multi/info-threads.exp: New file.
15361
a22279dd
YQ
153622015-12-15 Yao Qi <yao.qi@linaro.org>
15363
15364 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15365 is aarch64*-*-*.
15366
0588c796
SL
153672015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15368
15369 * gdb.base/history-duplicates.exp: Skip if no readline support.
15370
5d978e17
SL
153712015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15372
15373 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15374
7e763b86
SL
153752015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15376
15377 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15378
87a3a92c
SL
153792015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15380
15381 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15382 ctrl-C if nointerrupts target property is set.
15383 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15384 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15385 * gdb.base/paginate-bg-execution.exp: Likewise.
15386 * gdb.base/paginate-execution-startup.exp: Likewise.
15387 * gdb.base/random-signal.exp: Likewise.
15388 * gdb.base/range-stepping.exp: Likewise.
15389 * gdb.cp/annota2.exp: Likewise.
15390 * gdb.cp/annota3.exp: Likewise.
15391 * gdb.gdb/selftest.exp: Likewise.
15392 * gdb.threads/continue-pending-status.exp: Likewise.
15393 * gdb.threads/leader-exit.exp: Likewise.
15394 * gdb.threads/manythreads.exp: Likewise.
15395 * gdb.threads/pthreads.exp: Likewise.
15396 * gdb.threads/schedlock.exp: Likewise.
15397 * gdb.threads/sigthread.exp: Likewise.
15398
a8f077dc
DB
153992015-12-11 Don Breazeal <donb@codesourcery.com>
15400
15401 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15402 remote.
15403 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15404 * gdb.base/foll-exec.exp (main): Enable for target remote.
15405 * gdb.base/foll-fork.exp (main): Likewise.
15406 * gdb.base/foll-vfork.exp (main): Likewise.
15407 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15408 (proc continue_to_exit_bp_loc): Use clean_restart.
15409 * gdb.base/pie-execl.exp (main): Disable for target remote.
15410 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15411 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15412 * gdb.threads/execl.exp (main): Likewise.
15413 * gdb.threads/fork-child-threads.exp (main): Likewise.
15414 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15415 remote.
15416 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15417 remote.
15418 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15419 pid.tid style ptids, instead of just tid.
15420 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15421 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15422 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15423 ptids, instead of just tid.
15424
3b2464a8
AB
154252015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15426
15427 * gdb.base/list.exp (test_list_forward): Add end of file error
15428 test.
15429 (test_repeat_list_command): Add end of file error test.
15430 (test_list_backwards): Add beginning of file error test.
15431
a0def019
AB
154322015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15433
15434 * gdb.base/list.exp (test_list_invalid_args): New function,
15435 defined, and called.
15436
5c000dff
AB
154372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15438
15439 * gdb.base/list.exp (test_list): Make test names unique.
15440
f1637ebe
YQ
154412015-12-11 Yao Qi <yao.qi@linaro.org>
15442
15443 * gdb.base/coremaker2.c: Remove.
15444
36d6fc0a
PA
154452015-12-10 Pedro Alves <palves@redhat.com>
15446
15447 * gdb.multi/base.exp: Remove stale "spaces" references.
15448
762f7747
PA
154492015-12-10 Pedro Alves <palves@redhat.com>
15450
15451 * gdb.multi/base.exp: Don't use nowarnings.
15452 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15453 * gdb.multi/hangout.c: Include stdio.h.
15454 * gdb.multi/hello.c: Include stdlib.h.
15455 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15456 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15457 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15458
28d2bfb9
AB
154592015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15460
15461 * gdb.dwarf2/dw2-ranges-base.c: New file.
15462 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15463 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15464 support additional line table, and debug ranges generation.
15465 (Dwarf::ranges): New function, generate .debug_ranges.
15466 (Dwarf::lines): Support generating simple line table programs.
15467 (Dwarf::assemble): Initialise new namespace variables.
15468
5fc2beac
KB
154692015-12-09 Kevin Buettner <kevinb@redhat.com>
15470
15471 * gdb.base/async.exp (proc test_background): Add case for
15472 asynchronous execution not supported.
15473
1c35a88f
LM
154742015-12-09 Luis Machado <lgustavo@codesourcery.com>
15475
15476 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15477 format and change test names to make them unique.
15478
b593e3d9
RK
154792015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15480 Pedro Alves <pedro@redhat.com>
15481
15482 PR gdb/18702
15483 Add checking of floatformats setup on x86_64 hosts.
15484 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15485 (smallval, bigval): New labels/constants.
15486 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15487 float" after loading bigval and smallval.
15488
d72413e6
PMR
154892015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15490
15491 * gdb.ada/fun_overload_menu.exp: New testcase.
15492 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15493
ece66d65
JS
154942015-12-04 Josh Stone <jistone@redhat.com>
15495
15496 * gdb.base/catch-fork-static.exp: New.
15497
41d0efca
YQ
154982015-12-03 Yao Qi <yao.qi@linaro.org>
15499
15500 * gdb.base/sizeof.c: Don't include stdio.h and
15501 ../lib/unbuffer_output.c.
15502 (main): New variable 'size' and 'value'. Remove printf and
15503 gdb_unbuffer_output. Assign return value to size and value.
15504 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15505 at the beginning.
15506 (check_sizeof): Check the result by printing variable 'size'.
15507 (check_valueof): Check the result by printing variable 'value'.
15508
99fd02d9
YQ
155092015-12-01 Yao Qi <yao.qi@linaro.org>
15510
15511 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15512 for aarch64*-*-linux* target.
15513
f2faf941
PA
155142015-11-30 Pedro Alves <palves@redhat.com>
15515
15516 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15517
04bf20c5
PA
155182015-11-30 Pedro Alves <palves@redhat.com>
15519
15520 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15521 Handle non-stop mode vCont replies.
15522
09df4675
PA
155232015-11-30 Pedro Alves <palves@redhat.com>
15524
15525 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15526 prepare_for_testing. Start gdb with "set non-stop on" appended to
15527 GDBFLAGS. Lax expected stop output.
15528
58b584af
YQ
155292015-11-27 Yao Qi <yao.qi@linaro.org>
15530
15531 * gdb.arch/arm-neon.exp: New.
15532 * gdb.arch/arm-neon.c: New.
15533
dfcb77a8
YQ
155342015-11-27 Yao Qi <yao.qi@linaro.org>
15535
15536 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15537
88e8ec1b
YQ
155382015-11-27 Yao Qi <yao.qi@linaro.org>
15539
15540 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15541 frames-invalid annotation.
15542
bfde72c2
YQ
155432015-11-27 Yao Qi <yao.qi@linaro.org>
15544
15545 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15546
f6512a69
SM
155472015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15548
15549 * gdb.threads/names.exp: New file.
15550 * gdb.threads/names.c: New file.
15551 * README: Mention gdb,no_thread_names.
15552
46a3515b
MM
155532015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15554
15555 PR 19297
15556 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15557 support" error.
15558
62147a22
PA
155592015-11-24 Pedro Alves <palves@redhat.com>
15560
15561 PR 17539
15562 * gdb.base/display.exp: Expect displays to be sorted in ascending
15563 order. Use multi_line.
15564 * gdb.base/solib-display.exp: Likewise.
15565
2f341b6e
PA
155662015-11-24 Pedro Alves <palves@redhat.com>
15567
15568 PR 17539
25d49b86
PA
15569 * gdb.base/display.exp: Expect displays to be sorted in ascending
15570 order. Use multi_line.
15571 * gdb.base/solib-display.exp: Likewise.
2f341b6e 15572
7e0aa6aa
PA
155732015-11-24 Pedro Alves <palves@redhat.com>
15574
15575 PR 17539
15576 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15577 threads in ascending order.
15578 * gdb.base/foll-fork.exp: Likewise.
15579 * gdb.base/foll-vfork.exp: Likewise.
15580 * gdb.base/multi-forks.exp: Likewise.
15581 * gdb.mi/mi-nonstop.exp: Likewise.
15582 * gdb.mi/mi-nsintrall.exp: Likewise.
15583 * gdb.multi/base.exp: Likewise.
15584 * gdb.multi/multi-arch.exp: Likewise.
15585 * gdb.python/py-inferior.exp: Likewise.
15586 * gdb.threads/break-while-running.exp: Likewise.
15587 * gdb.threads/execl.exp: Likewise.
15588 * gdb.threads/gcore-thread.exp: Likewise.
15589 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15590 * gdb.threads/kill.exp: Likewise.
15591 * gdb.threads/linux-dp.exp: Likewise.
15592 * gdb.threads/multiple-step-overs.exp: Likewise.
15593 * gdb.threads/next-bp-other-thread.exp: Likewise.
15594 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15595 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15596 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15597 * gdb.threads/thread-find.exp: Likewise.
15598 * gdb.threads/tls.exp: Likewise.
15599 * lib/mi-support.exp (mi_reverse_list): Delete.
15600 (mi_check_thread_states): No longer reverse list.
15601
2cc57ad8
PA
156022015-11-24 Pedro Alves <palves@redhat.com>
15603
15604 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15605 use lowercase.
15606
c93e8391
SM
156072015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15608
15609 * gdb.trace/actions.c: Include trace-common.h.
15610 (main): Add a location for a fast tracepoint.
15611 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15612 the normal tracepoints.
15613 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15614
045ccf91
SM
156152015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15616
15617 * save-trace.exp: Factor out code to these...
15618 (gdb_save_tracepoints): New.
15619 (gdb_load_tracepoints): New.
15620 (do_save_load_test): New.
15621
5506f9f6
KB
156222015-11-23 Kevin Buettner <kevinb@redhat.com>
15623
15624 * gdb.base/asmlabel.exp: New test.
15625 * gdb.base/asmlabel.c: New test case.
15626
16c3b12f
JB
156272015-11-23 Joel Brobecker <brobecker@adacore.com>
15628
15629 * gdb.base/wrong_frame_bt_full-main.c: New file.
15630 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15631 * gdb.base/wrong_frame_bt_full.exp: New file.
15632
155bfbd3
JB
156332015-11-23 Joel Brobecker <brobecker@adacore.com>
15634
15635 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15636
bb097445
JM
156372015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15638
206853a0 15639 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
15640 pstate register when comparing registers values in
15641 sparc64-*-linux-gnu targets to avoid spurious differences.
15642
9c88ed8f
JM
156432015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15644
206853a0 15645 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 15646
96161e25
SL
156472015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15648
15649 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15650 as type argument to gdb_compile.
15651 * gdb.base/nested-subp2.exp: Likewise.
15652 * gdb.base/nested-subp3.exp: Likewise.
15653
340c2830
DV
156542015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15655
15656 * lib/dwarf.exp (_note): Fix left shift of negative value.
15657 * gdb.trace/trace-condition.exp: Likewise.
15658
c1862d0f
YQ
156592015-11-13 Yao Qi <yao.qi@linaro.org>
15660
15661 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15662 comments about d10v.
15663 (test_scalar_returns): Likewise.
15664 * gdb.base/d10v.ld: Remove.
15665 * gdb.base/overlays.exp: Remove the target triplet checking for
15666 d10v-*-*.
15667 * gdb.base/structs.exp (test_struct_returns): Remove the
15668 comments about d10v.
15669 (test_struct_calls): Likewise.
15670
77ae9c19
YQ
156712015-11-13 Yao Qi <yao.qi@linaro.org>
15672
15673 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15674 * gdb.base/gnu_vector.c: Don't include stdio.h.
15675 (main): Don't print res and call add_some_intvecs.
15676
430e004e
MK
156772015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15678
15679 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15680 macro.
15681 (func5): Removed.
15682 (func4): Use FAST_TRACEPOINT_LABEL.
15683 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15684 macro.
15685 (func): Removed.
15686 (thread_function): Use FAST_TRACEPOINT_LABEL.
15687 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15688 (func): Remove.
15689 (marker): Use FAST_TRACEPOINT_LABEL.
15690 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15691 (pendfunc1): Remove.
15692 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15693 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15694 (foo): Remove.
15695 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15696 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15697 macro.
15698 (func): Remove.
15699 (marker): Use FAST_TRACEPOINT_LABEL.
15700 * gdb.trace/trace-common.h: New header.
15701 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15702 macro.
15703 (func): Remove.
15704 (marker): Use FAST_TRACEPOINT_LABEL.
15705 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15706 (func): Remove.
15707 (thread_function): Use FAST_TRACEPOINT_LABEL.
15708
6e7675a7
MK
157092015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15710
15711 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15712 in front.
15713 * gdb.trace/change-loc.exp: Use global pcreg definition.
15714 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15715 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15716 in front.
15717 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15718 * gdb.trace/pending.exp: Likewise.
15719 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15720 * gdb.trace/trace-break.exp: Likewise.
15721 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15722 in front.
15723 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15724 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15725 in front.
15726 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15727
dddc0e16
JB
157282015-11-09 Joel Brobecker <brobecker@adacore.com>
15729
15730 * gdb.ada/fin_fun_out: New testcase.
15731
c6f0b406
KB
157322015-11-07 Kevin Buettner <kevinb@redhat.com>
15733
15734 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15735 value associated with DW_AT_byte_size.
15736 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15737 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15738 DW_AT_upper_bound.
15739
f01dcfd9
KB
157402015-11-07 Kevin Buettner <kevinb@redhat.com>
15741
15742 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15743 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15744 version.
15745 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15746 gdb.dwarf2/dw2-canonicalize-type.exp,
15747 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15748 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15749 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15750 provided by gdb_target_symbol_prefix_flags_asm.
15751 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15752 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15753 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15754 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15755 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15756 macros where needed). Use this macro for symbols which require
15757 the prefix provided by SYMBOL_PREFIX.
15758
2223449a
KB
157592015-11-05 Kevin Buettner <kevinb@redhat.com>
15760
15761 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15762 New procs.
15763 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15764 representing expressions, of more than one list element.
15765 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15766 to prepend linker symbol prefix to f.
15767 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15768 table_1 and table_2.
15769 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15770 Likewise, for f and g.
15771 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15772 for ptr.
15773 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15774 for main.
15775 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15776 table_1_ptr and table_2_ptr.
15777
6f2f1a3a
JK
157782015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15779 Joel Brobecker <brobecker@adacore.com>
15780
15781 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15782
566c56c9
MK
157832015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15784
15785 * gdb.reverse/s390-mvcle.c: New test.
15786 * gdb.reverse/s390-mvcle.exp: New file.
15787 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15788
d5f0636b
MK
157892015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15790
15791 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15792
7ad8b86c
MK
157932015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15794
15795 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15796 reaching marker2.
15797 * gdb.reverse/getresuid-reverse.exp: Likewise.
15798 * gdb.reverse/pipe-reverse.exp: Likewise.
15799 * gdb.reverse/readv-reverse.exp: Likewise.
15800 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15801 * gdb.reverse/time-reverse.exp: Likewise.
15802 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15803
4081c0f1
YQ
158042015-10-30 Yao Qi <yao.qi@linaro.org>
15805
15806 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15807 (empty_cycle): Remove.
15808 (main): Don't call empty_cycle. Don't use watch_count_done.
15809 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15810 empty_cycle. Rewrite the code counting HW watchpoints.
15811
452b4ba5
MK
158122015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15813
15814 * gdb.reverse/fstatat-reverse.c: New test.
15815 * gdb.reverse/fstatat-reverse.exp: New file.
15816 * gdb.reverse/getresuid-reverse.c: New test.
15817 * gdb.reverse/getresuid-reverse.exp: New file.
15818 * gdb.reverse/pipe-reverse.c: New test.
15819 * gdb.reverse/pipe-reverse.exp: New file.
15820 * gdb.reverse/readv-reverse.c: New test.
15821 * gdb.reverse/readv-reverse.exp: New file.
15822 * gdb.reverse/recvmsg-reverse.c: New test.
15823 * gdb.reverse/recvmsg-reverse.exp: New file.
15824 * gdb.reverse/time-reverse.c: New test.
15825 * gdb.reverse/time-reverse.exp: New file.
15826 * gdb.reverse/waitpid-reverse.c: New test.
15827 * gdb.reverse/waitpid-reverse.exp: New file.
15828
5e2e7507
JK
158292015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15830
15831 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15832
0fde2c53
DE
158332015-10-26 Doug Evans <dje@google.com>
15834
15835 PR symtab/17391
15836 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15837 * gdb.dwarf2/bad-regnum.c: New file.
15838 * gdb.dwarf2/bad-regnum.exp: New file.
15839
1a70ae97
DE
158402015-10-26 Doug Evans <dje@google.com>
15841
15842 PR python/18938
15843 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15844 file.
15845
27dc26ab
JK
158462015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15847
15848 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15849 for a change by "Mention language in compile error message".
15850
bed91f4d
SM
158512015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15852
15853 PR python/18073
15854 * gdb.python/py-type.c (C::a_method): New.
15855 (C::a_const_method): New.
15856 (C::a_static_method): New.
15857 (a_function): New.
15858 * gdb.python/py-type.exp (test_fields): Test getting fields
15859 from function and method.
15860
3f2f83dd
KB
158612015-10-21 Keven Boell <keven.boell@intel.com>
15862
15863 * gdb.fortran/vla-alloc-assoc.exp: New file.
15864 * gdb.fortran/vla-datatypes.exp: New file.
15865 * gdb.fortran/vla-datatypes.f90: New file.
15866 * gdb.fortran/vla-history.exp: New file.
15867 * gdb.fortran/vla-ptype-sub.exp: New file.
15868 * gdb.fortran/vla-ptype.exp: New file.
15869 * gdb.fortran/vla-sizeof.exp: New file.
15870 * gdb.fortran/vla-sub.f90: New file.
15871 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15872 * gdb.fortran/vla-value-sub-finish.exp: New file.
15873 * gdb.fortran/vla-value-sub.exp: New file.
15874 * gdb.fortran/vla-value.exp: New file.
15875 * gdb.fortran/vla-ptr-info.exp: New file.
15876 * gdb.mi/mi-vla-fortran.exp: New file.
15877 * gdb.mi/vla.f90: New file.
15878
27145d50
SL
158792015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15880
15881 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15882 of hardwired timeout value.
15883
5f3ff4f8
JK
158842015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15885 Pedro Alves <palves@redhat.com>
15886
15887 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15888 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15889
bfd09d20
JS
158902015-10-19 Josh Stone <jistone@redhat.com>
15891
15892 * gdb.base/catch-syscall.c: Include <sched.h>.
15893 (unknown_syscall): New variable.
15894 (main): Trigger a vfork and an unknown syscall.
15895 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15896 (unknown_syscall_number): Likewise.
15897 (check_call_to_syscall): Accept an optional syscall pattern.
15898 (check_return_from_syscall): Likewise.
15899 (check_continue): Likewise.
15900 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15901 (test_catch_syscall_skipping_return): New test toggling off 'catch
15902 syscall' to step over the syscall return, then toggling back on.
15903 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15904 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15905 (do_syscall_tests): Call test_catch_syscall_without_args and
15906 test_catch_syscall_mid_vfork.
15907 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15908 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15909
b32b93c6
AS
159102015-10-19 Andrew Stubbs <ams@codesourcery.com>
15911
15912 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15913 print g_vE): Add new pass patterns.
15914 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15915 print various symbol names for vptr fields.
15916
9d622bda
AB
159172015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15918
15919 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15920 results.
15921
0fd8ac1c
YQ
159222015-10-12 Yao Qi <yao.qi@linaro.org>
15923
15924 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15925
34240514
YQ
159262015-10-12 Yao Qi <yao.qi@linaro.org>
15927
15928 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15929 is aarch64*-*-linux*.
15930
8240f442
YQ
159312015-10-12 Yao Qi <yao.qi@linaro.org>
15932
15933 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15934 (can_relocate_bcond_true): ... it.
15935 (can_relocate_bcond_false): New function.
15936 (foo): Likewise.
15937 (can_relocate_bl): Likewise.
15938 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15939 can_relocate_bl.
15940
2520f728
PMR
159412015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15942
15943 * gdb.base/nested-addr.c: New file.
15944 * gdb.base/nested-addr.exp: New testcase.
15945
abcef95a
MM
159462015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15947
15948 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15949 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15950 its output. Ignore the output of "record goto begin" and instead
15951 check that GDB is replaying.
15952
145e3ddb
PA
159532015-10-09 Pedro Alves <palves@redhat.com>
15954
15955 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15956 (top level): Use it in the run with no args test.
15957
d5d8c4e1
IB
159582015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15959
15960 * gdb.dlang/properties.exp: New file.
15961
06e635ef
SL
159622015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15963
15964 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15965 whether or not address 0x1000 is mapped on the target.
15966
e019fd1d
SM
159672015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15968
15969 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15970 build.
15971
77ba2a67
MM
159722015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15973
15974 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15975 instruction-history test.
15976
c60eb31f
DE
159772015-09-28 Doug Evans <dje@google.com>
15978
15979 * gdb.base/gcore.c (array_func): Add reference to static_array.
15980
9a3c8263
SM
159812015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15982
15983 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15984 source line.
15985
9720e656
SL
159862015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15987
15988 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15989 short or char as base type.
15990
938d3bf2
SL
159912015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15992
15993 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15994 to allow any size enum.
15995
e6c2c623
PMR
159962015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15997
15998 * gdb.ada/array_ptr_renaming.exp: New testcase.
15999 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16000 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16001
06da0f77
PL
160022015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16003
16004 * gdb.trace/ftrace-lock.c: New file.
16005 * gdb.trace/ftrace-lock.exp: New file.
16006
4f51c22a
PL
160072015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16008
16009 * gdb.arch/insn-reloc.c: New file.
16010 * gdb.arch/ftrace-insn-reloc.exp: New file.
16011
7041adf4
PL
160122015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16013
16014 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16015 instruction.
16016 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16017 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16018 * gdb.trace/range-stepping.c: Likewise.
16019 * gdb.trace/trace-break.c: Likewise.
16020 * gdb.trace/trace-mt.c (thread_function): Likewise.
16021 * gdb.trace/ftrace.c (marker): Likewise.
16022 * gdb.trace/trace-condition.c (marker): Likewise.
16023 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16024 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16025 is_aarch64_target.
16026
015d2e7e
DE
160272015-09-18 Doug Evans <xdje42@gmail.com>
16028
16029 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16030 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16031
26b188a2
SL
160322015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16033
16034 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16035 the breakpoint.
16036
79dc332b
SL
160372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16038
16039 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16040 the pending breakpoint. Remove timeout override for "Run till
16041 MI pending breakpoint on pendfunc3 on thread 2" test.
16042
f57929f2
SL
160432015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16044
16045 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16046 filename pattern.
16047
3f469b17
SL
160482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16049
16050 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16051 in breakpoint filename pattern.
16052
515b89b3
SL
160532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16054
7800dbe4
SL
16055 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16056
160572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16058
515b89b3
SL
16059 * gdb.linespec/explicit.exp: Check for readline support for
16060 tab-completion tests. Fix obvious typo.
16061
d2939ba2
MM
160622015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16063
16064 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16065 and replay.
16066
cbb55fa7
MM
160672015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16068
16069 * gdb.btrace/non-stop.c: New.
16070 * gdb.btrace/non-stop.exp: New.
16071
43691ca1
PL
160722015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16073 Yao Qi <yao.qi@linaro.org>
16074
16075 * gdb.trace/trace-condition.c: New file.
16076 * gdb.trace/trace-condition.exp: New file.
16077
d78908cf
WW
160782015-09-16 Wei-cheng Wang <cole945@gmail.com>
16079
16080 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16081 for testing bytecode compilation.
16082
1ed415e2
PA
160832015-09-16 Pedro Alves <palves@redhat.com>
16084 Sandra Loosemore <sandra@codesourcery.com>
16085
16086 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16087 (SECONDS): Redefine.
16088 (main): Call pthread_kill and alarm early.
16089 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16090 support.
16091 (test): If the target can't hardware step and doesn't support
16092 displaced stepping, increase the timeout.
16093
d136eff5
PA
160942015-09-16 Pedro Alves <palves@redhat.com>
16095
16096 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16097 (enable_debug): New procedures.
16098 (test): Use them. Bail out if waiting for threads fails.
16099 (top level): Bail out if a test fails.
16100
991f019c
YQ
161012015-09-16 Yao Qi <yao.qi@linaro.org>
16102
16103 * gdb.asm/asm-source.exp: Set asm-arch for
16104 aarch64*-*-* target.
16105 * gdb.asm/aarch64.inc: New file.
16106
bfca584f
PMR
161072015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16108
16109 * gdb.ada/array_of_variable_length.exp: New testcase.
16110 * gdb.ada/array_of_variable_length/foo.adb: New file.
16111 * gdb.ada/array_of_variable_length/pck.adb: New file.
16112 * gdb.ada/array_of_variable_length/pck.ads: New file.
16113
b326e587
DE
161142015-09-15 Doug Evans <dje@google.com>
16115
16116 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16117 of function static local variable.
16118
5382cfab
PW
161192015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16120
16121 * gdb.threads/tls-so_extern.exp: New test file.
16122 * gdb.threads/tls-so_extern.c: New test file.
16123 * gdb.threads/tls-so_extern_main.c: New test file.
16124
141c5cc4
JK
161252015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16126
16127 * gdb.opt/solib-intra-step-lib.c: New file.
16128 * gdb.opt/solib-intra-step-main.c: New file.
16129 * gdb.opt/solib-intra-step.exp: New file.
16130
d15dcecd
PA
161312015-09-15 Pedro Alves <palves@redhat.com>
16132
16133 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16134 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16135
4c2f2a79
PA
161362015-09-14 Pedro Alves <palves@redhat.com>
16137
16138 * gdb.base/hook-stop-continue.c: Delete.
16139 * gdb.base/hook-stop-continue.exp: Delete.
16140 * gdb.base/hook-stop-frame.c: Delete.
16141 * gdb.base/hook-stop-frame.exp: Delete.
16142 * gdb.base/hook-stop.c: New file.
16143 * gdb.base/hook-stop.exp: New file.
16144
919e6dbe
PMR
161452015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16146
16147 * gdb.ada/access_to_packed_array.exp: New testcase.
16148 * gdb.ada/access_to_packed_array/foo.adb: New file.
16149 * gdb.ada/access_to_packed_array/pack.adb: New file.
16150 * gdb.ada/access_to_packed_array/pack.ads: New file.
16151
157280a4
MM
161522015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16153
16154 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16155 buffer size test.
16156
2fd33e94
DB
161572015-09-11 Don Breazeal <donb@codesourcery.com>
16158
16159 * gdb.base/foll-exec.c: Add copyright header. Fix
16160 formatting issues.
16161 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16162 (do_exec_tests): Use clean_restart in place of zap_session,
16163 and for test initialization. Fix formatting issues. Use
16164 fail in place of perror.
16165 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16166 an expect statement to match an expression with output from
16167 the program under debug.
16168 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16169 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16170 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16171 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16172 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16173
e70b6e8e
DE
161742015-09-09 Doug Evans <dje@google.com>
16175
16176 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16177
7a551a51
DE
161782015-09-09 Doug Evans <dje@google.com>
16179
16180 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16181
4c666f84
DE
161822015-09-09 Doug Evans <dje@google.com>
16183
16184 * gdb.base/savedregs.exp: Fix typo.
16185
243a9253
PA
161862015-09-09 Pedro Alves <palves@redhat.com>
16187
16188 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16189
c0fa8fbd
SL
161902015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16191
16192 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16193 command actually switches threads. Give up on remaining
16194 tests if target fails to stop at breakpoint.
16195
cd7c1778
PMR
161962015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16197
16198 * gdb.ada/funcall_char.exp: New testcase.
16199 * gdb.ada/funcall_char/foo.adb: New file.
16200
dc5c8746
PMR
162012015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16202
16203 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16204 expected outputs. Add two testcases for completing ambiguous
16205 functions.
16206 * gdb.ada/complete/aux_pck.adb: New file.
16207 * gdb.ada/complete/aux_pck.ads: New file.
16208 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16209 Ambiguous_Func functions.
16210 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16211 * gdb.ada/complete/pck.adb: Likewise.
16212
4e83a1e7
UW
162132015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16214
16215 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16216 failures to run the test program under GDB.
16217
8ce74153
LM
162182015-08-26 Luis Machado <lgustavo@codesourcery.com>
16219
16220 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16221 to C.
16222
e9756d52
PP
162232015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16224
16225 * gdb.base/run-after-attach.exp: New test file.
16226 * gdb.base/run-after-attach.c: New test file.
16227
8d37573b
DB
162282015-08-26 Don Breazeal <donb@codesourcery.com>
16229
16230 * gdb.base/foll-exec-2.c: New test program.
16231 * gdb.base/foll-exec-2.exp: New test.
16232
63e43d3a
PMR
162332015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16234
16235 * gdb.base/nested-subp1.exp: New file.
16236 * gdb.base/nested-subp1.c: New file.
16237 * gdb.base/nested-subp2.exp: New file.
16238 * gdb.base/nested-subp2.c: New file.
16239 * gdb.base/nested-subp3.exp: New file.
16240 * gdb.base/nested-subp3.c: New file.
16241
3d40fbb5
PA
162422015-08-24 Pedro Alves <palves@redhat.com>
16243
16244 * gdb.server/connect-without-multi-process.c: New file.
16245 * gdb.server/connect-without-multi-process.exp: New file.
16246
4422ac93
LM
162472015-08-24 Luis Machado <lgustavo@codesourcery.com>
16248
16249 * gdb.opt/inline-markers.c: Make z int.
16250
91dddb86
LM
162512015-08-24 Luis Machado <lgustavo@codesourcery.com>
16252
16253 * gdb.opt/inline-markers.c: Make z volatile.
16254
a48847ee
LM
162552015-08-24 Luis Machado <lgustavo@codesourcery.com>
16256
16257 * gdb.opt/inline-bt.c: New volatile global z.
16258 * gdb.opt/inline-cmds.c: Likewise.
16259 * gdb.opt/inline-locals.c: Likewise.
16260 * gdb.opt/inline-markers.c: New extern global z.
16261 (marker): Use z.
16262 (inline_fn): Likewise.
16263
0ebbc52b
PA
162642015-08-24 Pedro Alves <palves@redhat.com>
16265
16266 * config/m32r-stub.exp: Remove file.
16267 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16268 * gdb.base/call-rt-st.exp: Likewise.
16269 * gdb.base/call-strs.exp: Likewise.
16270 * gdb.base/default.exp: Remove references to h8300-*-hms and
16271 *-*-udi*.
16272 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16273
77c365df
AA
162742015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16275
16276 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16277 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16278 and "return" use KFAIL when GDB can not read/write the vector
16279 return value.
16280
4313b8c0
GB
162812015-08-21 Gary Benson <gbenson@redhat.com>
16282
16283 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16284
0e433b32
PA
162852015-08-20 Pedro Alves <palves@redhat.com>
16286
16287 * gdb.server/solib-list.exp: No longer expect an interior stop in
16288 non-stop mode.
16289
221e1a37
PA
162902015-08-20 Pedro Alves <palves@redhat.com>
16291
16292 * gdb.server/connect-stopped-target.c: New file.
16293 * gdb.server/connect-stopped-target.exp: New file.
16294
40e3ad0e
PA
162952015-08-20 Pedro Alves <palves@redhat.com>
16296
16297 * gdb.dwarf2/comp-unit-lang.exp: New file.
16298 * gdb.dwarf2/comp-unit-lang.c: New file.
16299
af39b327
PMR
163002015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16301
16302 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16303 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16304
7d45c7c3 163052015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 16306
7d45c7c3
KB
16307 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16308 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16309
4d6cceb4
DE
163102015-08-18 Doug Evans <dje@google.com>
16311 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16312
16313 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16314 skip_python_tests. New arg prompt_regexp.
16315 (skip_python_tests): New function.
16316 * lib/mi-support.exp (mi_skip_python_tests): New function.
16317 * gdb.python/py-mi-objfile-gdb.py: New file.
16318 * gdb.python/py-mi-objfile.c: New file.
16319 * gdb.python/py-mi-objfile.exp: New file.
16320
ad89c2aa
KS
163212015-08-17 Keith Seitz <keiths@redhat.com>
16322
16323 * gdb.linespec/explicit.exp: Move strace test from here ...
16324 * gdb.trace/strace.exp: ... to here.
16325
e3ae3c43
PP
163262015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16327
16328 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16329 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16330
604b2636
DE
163312015-08-14 Doug Evans <xdje42@gmail.com>
16332
16333 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16334 inferior before selecting a new file.
16335
6ff0ba5f
DE
163362015-08-14 Doug Evans <xdje42@gmail.com>
16337
16338 * gdb.mi/mi-disassemble.exp: Update.
16339 * gdb.base/disasm-optim.S: New file.
16340 * gdb.base/disasm-optim.c: New file.
16341 * gdb.base/disasm-optim.h: New file.
16342 * gdb.base/disasm-optim.exp: New file.
16343
9ca98f92
KS
163442015-08-14 Keith Seitz <keiths@redhat.com>
16345
16346 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16347 "evaluated-by".
16348
52bbc560
JB
163492015-08-13 Joel Brobecker <brobecker@adacore.com>
16350
16351 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16352
5d8c3ed3
PMR
163532015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16354
16355 * gdb.ada/fun_renaming.exp: New testcase.
16356 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16357 * gdb.ada/fun_renaming/pack.adb: New file.
16358 * gdb.ada/fun_renaming/pack.ads: New file.
16359
ea8812bc
KS
163602015-08-12 Keith Seitz <keiths@redhat.com>
16361
16362 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16363 gdb_get_line_number.
16364
4dafcdeb
JB
163652015-08-12 Joel Brobecker <brobecker@adacore.com>
16366
16367 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16368 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16369 gdb.base/dso2dso.exp: New files.
16370
5ba32597
SDJ
163712015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16372 Pedro Alves <palves@redhat.com>
16373 Keith Seitz <keiths@redhat.com>
16374
16375 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16376 GDBFLAGS.
16377
b6dafabf
PP
163782015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16379
16380 * gdb.base/gdbhistsize-history.exp
16381 (test_histsize_history_setting): Use save_vars.
16382 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16383 Use save_vars.
16384 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16385 * gdb.base/readline.exp: Use save_vars.
16386
abe8e607
PP
163872015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16388
16389 * lib/gdb.exp (save_vars): New proc.
16390
629500fa
KS
163912015-08-11 Keith Seitz <keiths@redhat.com>
16392
16393 * gdb.base/help.exp: Update help_breakpoint_text.
16394
eb8c4e2e
KS
163952015-08-11 Keith Seitz <keiths@redhat.com>
16396
16397 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16398 (at toplevel): Call test_explicit_breakpoints.
16399 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16400 breakpoints.
16401 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16402 breakpoint conditions, "-cond".
16403
87f0e720
KS
164042015-08-11 Keith Seitz <keiths@redhat.com>
16405
16406 * gdb.linespec/3explicit.c: New file.
16407 * gdb.linespec/cpexplicit.cc: New file.
16408 * gdb.linespec/cpexplicit.exp: New file.
16409 * gdb.linespec/explicit.c: New file.
16410 * gdb.linespec/explicit.exp: New file.
16411 * gdb.linespec/explicit2.c: New file.
16412 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16413 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16414 before using in the matching pattern.
16415 Clarify that `prefix' is a regular expression.
16416
f00aae0f
KS
164172015-08-11 Keith Seitz <keiths@redhat.com>
16418
16419 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16420 test.
16421 Add tests for missing ",FMT" and ",".
16422
e27852be
DE
164232015-08-10 Doug Evans <dje@google.com>
16424 Keith Seitz <keiths@redhat.com>
16425
16426 PR gdb/17960
16427 * gdb.base/completion.exp: Add location completer tests.
16428
7f03bd92
PA
164292015-08-07 Pedro Alves <palves@redhat.com>
16430
16431 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16432 tests here.
16433 (top level): Run do_test with and without displaced stepping.
16434
3fc8eb30
PA
164352015-08-07 Pedro Alves <palves@redhat.com>
16436
16437 * gdb.base/valgrind-disp-step.c: New file.
16438 * gdb.base/valgrind-disp-step.exp: New file.
16439
d4569d7b
PA
164402015-08-07 Pedro Alves <palves@redhat.com>
16441
16442 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16443 Delete function.
16444 (main): Add alarm. Run an infinite loop instead of calling
16445 wait_threads.
16446 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16447 comment.
16448 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16449 Delete function.
16450 (main): Add alarm. Run an infinite loop instead of calling
16451 wait_threads.
16452 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16453 comment.
16454
e1316e60
PA
164552015-08-07 Pedro Alves <palves@redhat.com>
16456
16457 * gdb.base/checkpoint-ns.exp: New file.
16458 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16459 standard_testfile.
16460
da8c46d2
MM
164612015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16462
16463 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16464 * gdb.btrace/instruction_history.exp: Update.
16465 * gdb.btrace/tsx.exp: New.
16466 * gdb.btrace/tsx.c: New.
16467
de1c2c52
PA
164682015-08-06 Pedro Alves <palves@redhat.com>
16469
16470 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16471 increase timeout.
16472 * gdb.reverse/until-precsave.exp: Bump timeouts.
16473
782e0bf4
PA
164742015-08-06 Pedro Alves <palves@redhat.com>
16475
16476 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16477
83e97ed0
PA
164782015-08-06 Pedro Alves <palves@redhat.com>
16479
16480 PR gdb/18749
16481 * gdb.threads/process-dies-while-handling-bp.c: New file.
16482 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16483
863d01bd
PA
164842015-08-06 Pedro Alves <palves@redhat.com>
16485
16486 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16487 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16488
0a39bb32
PA
164892015-08-05 Pedro Alves <palves@redhat.com>
16490
16491 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16492 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16493
ee2d2b10
SL
164942015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16495
16496 * gdb.base/bp-permanent.exp: Report test as unsupported if
16497 the target cannot stop at the permanent breakpoint.
16498
4e1bdb00
DE
164992015-08-03 Doug Evans <dje@google.com>
16500
16501 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16502 10000.
16503
3d338901
DE
165042015-08-03 Doug Evans <dje@google.com>
16505
16506 * Makefile.in (workers/%.worker, build-perf): New rule.
16507 (GDB_PERFTEST_MODE): New variable.
16508 (check-perf): Use it.
16509 (clean): Clean up gdb.perf parallel build subdirs.
16510 * lib/build-piece.exp: New file.
16511 * lib/gdb.exp (make_gdb_parallel_path): New function
16512 (standard_output_file, standard_temp_file): Call it.
16513 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16514 of $GDB_PARALLEL.
16515 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16516
af061d3e
DE
165172015-08-03 Doug Evans <dje@google.com>
16518
8e1afc81 16519 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16520 (LOG_FILE_NAME): New global.
16521 (TextReporter.__init__): Initialize self.txt_sum.
16522 (TextReporter.report): Add support for multiple data-points.
16523 Move report to perftest.sum, put raw data in perftest.log.
16524 (TextReporter.start): Open sum and log files.
16525 (TextReporter.end): Close sum and log files.
8e1afc81
DE
16526 * gdb.perf/lib/perftest/testresult.py
16527 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 16528
2c8c5d37
PA
165292015-07-31 Pedro Alves <palves@redhat.com>
16530
16531 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16532 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16533 kill_wait_spawned_process instead of explicit "kill -9".
16534 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16535 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16536 kill_wait_spawned_process.
16537 * gdb.base/attach-twice.exp: Likewise.
16538 * gdb.base/attach.exp: Likewise.
16539 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16540 gdb_test_multiple.
16541 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16542 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16543 kill_wait_spawned_process.
16544 * gdb.base/valgrind-infcall.exp: Likewise.
16545 * gdb.multi/multi-attach.exp: Likewise.
16546 * gdb.python/py-prompt.exp: Likewise.
16547 * gdb.python/py-sync-interp.exp: Likewise.
16548 * gdb.server/ext-attach.exp: Likewise.
16549 * gdb.threads/attach-into-signal.exp (corefunc): Use
16550 spawn_wait_for_attach, spawn_id_get_pid and
16551 kill_wait_spawned_process.
16552 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16553 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16554 spawn_id_get_pid and kill_wait_spawned_process.
16555 * gdb.threads/attach-stopped.exp (corefunc): Use
16556 spawn_wait_for_attach, spawn_id_get_pid and
16557 kill_wait_spawned_process.
16558 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16559 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16560 kill_wait_spawned_process instead of explicit "kill -9".
16561 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16562 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16563 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16564 processes. Don't map cygwin/windows pids here. Now returns a
16565 spawn id list.
16566
032a0fca
SL
165672015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16568
16569 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16570 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16571 correct patch.
16572
61a934ca
SL
165732015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16574
16575 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16576
4bc4d428
SL
165772015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16578
16579 Reapply:
16580 2014-05-21 Mark Wielaard <mjw@redhat.com>
16581
16582 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16583
998d452a
PA
165842015-07-30 Pedro Alves <palves@redhat.com>
16585
16586 * linux-low.c (handle_extended_wait): Set the child's last
16587 reported status to TARGET_WAITKIND_STOPPED.
16588
69dde7dc
PA
165892015-07-30 Pedro Alves <palves@redhat.com>
16590
16591 PR threads/18600
16592 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16593 only shows inferior 1.
16594
4dd63d48
PA
165952015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16596 Pedro Alves <palves@redhat.com>
16597
16598 PR threads/18600
16599 * gdb.threads/fork-plus-threads.c: New file.
16600 * gdb.threads/fork-plus-threads.exp: New file.
16601
d618e4c5
PP
166022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16603
16604 * gdb.base/batch-preserve-term-settings.exp
16605 (test_terminal_settings_preserved_after_cli_exit): Use
16606 send_quit_command.
16607
1eef6428
PA
166082015-07-29 Pedro Alves <palves@redhat.com>
16609 Don Breazeal <donb@codesourcery.com>
16610
16611 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16612 output from both inferior_spawn_id and gdb_spawn_id.
16613
7da5b897
SDJ
166142015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16615
16616 * gdb.threads/attach-into-signal.exp (corefunc): Use
16617 with_test_prefix on nested loops, uniquefying the test messages.
16618
dac804df
SDJ
166192015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16620
16621 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16622 commit.
16623
06265e53
PP
166242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16625
16626 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16627 New proc.
16628 (test_terminal_settings_preserved_after_sigterm): New test.
16629
18206ca3
PP
166302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16631
16632 * gdb.base/batch-preserve-term-settings.exp
16633 (test_terminal_settings_preserved_after_cli_exit): New test.
16634
90074d11
PP
166352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16636
16637 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16638 manipulation of saved_gdbflags.
16639 (test_terminal_settings_preserved): Remove global declaration of
16640 the unused variable pagination_prompt. Remove manipulation of
16641 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16642 GDBFLAGS.
16643
eb1a7902
PA
166442015-07-29 Pedro Alves <palves@redhat.com>
16645
16646 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16647
8b75dd3b
PA
166482015-07-29 Pedro Alves <palves@redhat.com>
16649
16650 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16651 at the top.
16652
dedad4e3
PA
166532015-07-29 Pedro Alves <palves@redhat.com>
16654
16655 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16656 (main): Call gdb_unbuffer_output.
16657 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16658 (main): Call gdb_unbuffer_output.
16659 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16660 (main): Call gdb_unbuffer_output.
16661 * gdb.base/call-strs.exp: Adjust to step over the
16662 gdb_unbuffer_output call.
16663 * gdb.base/catch-gdb-caused-signals.c: Include
16664 "../lib/unbuffer_output.c".
16665 (main): Call gdb_unbuffer_output.
16666 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16667 (main): Call gdb_unbuffer_output.
16668 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16669 (main): Call gdb_unbuffer_output.
16670 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16671 (main): Call gdb_unbuffer_output.
16672 * gdb.base/shlib-call.exp: Adjust to step over the
16673 gdb_unbuffer_output call.
16674 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16675 (main): Call gdb_unbuffer_output.
16676 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16677 (main): Call gdb_unbuffer_output.
16678 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16679 (main): Rename to ...
16680 (test): ... this.
16681 (main): Reimplement.
16682 * gdb.base/varargs.exp: Run to test instead of to main.
16683 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16684 (main): Call gdb_unbuffer_output.
16685
58789a91
PA
166862015-07-29 Pedro Alves <palves@redhat.com>
16687
16688 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16689 factore out from mi_continue_dprintf. For call-style dprintfs,
16690 expect dprintf output out of $inferior_spawn_id.
16691 (mi_continue_dprintf): Use mi_expect_dprintf.
16692 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16693 (main): Call gdb_unbuffer_output.
16694
e8376742
PA
166952015-07-29 Pedro Alves <palves@redhat.com>
16696
16697 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16698 (default_mi_gdb_start): Set inferior_spawn_id instead of
16699 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16700 gdb_spawn_id.
16701 (mi_gdb_test): Always expect inferior output from both
16702 $inferior_spawn_id and $gdb_spawn_id.
16703
08280010
PA
167042015-07-29 Pedro Alves <palves@redhat.com>
16705
16706 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16707 send_inferior and $inferior_spawn_id.
16708
4d30e432
PA
167092015-07-29 Pedro Alves <palves@redhat.com>
16710
16711 * gdb.gdb/complaints.exp (test_initial_complaints)
16712 (test_serial_complaints, test_short_complaints): Use
16713 gdb_test_stdio.
16714 (test_empty_complaint): Handle $inferior_spawn_id !=
16715 $gdb_spawn_id.
16716
0d30a335
PA
167172015-07-29 Pedro Alves <palves@redhat.com>
16718
16719 * gdb.base/varargs.exp: Use gdb_test_stdio.
16720
39413b29
PA
167212015-07-29 Pedro Alves <palves@redhat.com>
16722
16723 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16724
7cb000a9
PA
167252015-07-29 Pedro Alves <palves@redhat.com>
16726
16727 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16728
d7b8ac82
PA
167292015-07-29 Pedro Alves <palves@redhat.com>
16730
16731 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16732 parameter into two new parameters, "inf_result" and "gdb_result".
16733 Expect inferior output and gdb output from $inferior_spawn_id and
16734 $gdb_spawn_id, respectively. Adjust all callers.
16735
789c3a0c
PA
167362015-07-29 Pedro Alves <palves@redhat.com>
16737
16738 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16739 of gdb_test_sequence.
16740
77e760c3
PA
167412015-07-29 Pedro Alves <palves@redhat.com>
16742
16743 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16744 (saw_spurious_output): Expect inferior output from
16745 $inferior_spawn_id. Use gdb_test_stdio.
16746
8396d2cd
PA
167472015-07-29 Pedro Alves <palves@redhat.com>
16748
16749 * gdb.base/dprintf.exp: Use standard_testfile. Change
16750 prepare_for_testing call.
16751 (srcfile): Don't set.
16752 (restart): New procedure.
16753 (test_dprintf): New procecure, use to continue over dprintfs.
16754 (test_call, test_agent): New procedures, tests moved here.
16755 Restart gdb and recreate dprintfs. Adjust expected output.
16756
2051d61f
PA
167572015-07-29 Pedro Alves <palves@redhat.com>
16758
16759 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16760
452397af
PA
167612015-07-29 Pedro Alves <palves@redhat.com>
16762
16763 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16764
8aed9555
PA
167652015-07-29 Pedro Alves <palves@redhat.com>
16766
16767 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16768 gdb_test_stdio.
16769
188a61b4
PA
167702015-07-29 Pedro Alves <palves@redhat.com>
16771
16772 * lib/gdb.exp (gdb_test_stdio): New procedure.
16773
12264a45
PA
167742015-07-29 Pedro Alves <palves@redhat.com>
16775
16776 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16777
23ffc893
PA
167782015-07-29 Pedro Alves <palves@redhat.com>
16779
16780 * gdb.base/call-signal-resume.exp: Remove check for
16781 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16782 * gdb.base/unwindonsignal.exp: Likewise.
16783 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16784 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16785
65566918
PA
167862015-07-29 Pedro Alves <palves@redhat.com>
16787
16788 * gdb.base/siginfo-addr.c (pass): New function.
16789 (handler): Call it iff si_addr is correct.
16790 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16791 Set a breakpoint at "pass" and continue to it.
16792
d60a9221
SDJ
167932015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16794
16795 * gdb.python/py-objfile.exp: Make some tests have unique names.
16796 * gdb.python/py-pp-registration.exp: Likewise.
16797
bde40b8f
PA
167982015-07-28 Pedro Alves <palves@redhat.com>
16799
16800 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16801
13e1dec8
SM
168022015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16803
16804 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16805
da33c9a7
SM
168062015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16807
16808 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16809
077836f7
PP
168102015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16811
16812 * gdb.base/gdb-sigterm-2.exp: New test.
16813
b8cc7b2e
DE
168142015-07-25 Doug Evans <xdje42@gmail.com>
16815
16816 Revert:
16817 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16818 (workers/%.worker, build-perf): New rule.
16819 (GDB_PERFTEST_MODE): New variable.
16820 (check-perf): Use it.
16821 (clean): Clean up gdb.perf parallel build subdirs.
16822 * lib/build-piece.exp: New file.
16823 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16824 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16825 name.
16826 (standard_temp_file): Ditto.
16827 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16828 of $GDB_PARALLEL.
16829
c8bd4544
DE
168302015-07-24 Doug Evans <dje@google.com>
16831
16832 * gdb.perf/lib/perftest/utils.py: New file.
16833 * gdb.perf/gm-hello.cc: New file.
16834 * gdb.perf/gm-pervasive-typedef.cc: New file.
16835 * gdb.perf/gm-pervasive-typedef.h: New file.
16836 * gdb.perf/gm-std.cc: New file.
16837 * gdb.perf/gm-std.h: New file.
16838 * gdb.perf/gm-use-cerr.cc: New file.
16839 * gdb.perf/gm-utils.h: New file.
16840 * gdb.perf/gmonster-null-lookup.py: New file.
16841 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16842 * gdb.perf/gmonster-print-cerr.py: New file.
16843 * gdb.perf/gmonster-ptype-string.py: New file.
16844 * gdb.perf/gmonster-runto-main.py: New file.
16845 * gdb.perf/gmonster-select-file.py: New file.
16846 * gdb.perf/gmonster1-null-lookup.exp: New file.
16847 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16848 * gdb.perf/gmonster1-print-cerr.exp: New file.
16849 * gdb.perf/gmonster1-ptype-string.exp: New file.
16850 * gdb.perf/gmonster1-runto-main.exp: New file.
16851 * gdb.perf/gmonster1-select-file.exp: New file.
16852 * gdb.perf/gmonster1.cc: New file.
16853 * gdb.perf/gmonster1.exp: New file.
16854 * gdb.perf/gmonster2-null-lookup.exp: New file.
16855 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16856 * gdb.perf/gmonster2-print-cerr.exp: New file.
16857 * gdb.perf/gmonster2-ptype-string.exp: New file.
16858 * gdb.perf/gmonster2-runto-main.exp: New file.
16859 * gdb.perf/gmonster2-select-file.exp: New file.
16860 * gdb.perf/gmonster2.cc: New file.
16861 * gdb.perf/gmonster2.exp: New file.
16862
6eab34f3
DE
168632015-07-24 Doug Evans <dje@google.com>
16864
16865 * gdb.perf/README: New file.
16866 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16867 * lib/gen-perf-test.exp: New file.
16868
63738bfd
DE
168692015-07-24 Doug Evans <dje@google.com>
16870
16871 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16872 (PerfTest::startup): New function.
16873 (PerfTest::run): Return result of calling body.
16874 (PerfTest::assemble): Rewrite.
16875 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16876 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16877 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16878 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16879 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16880
7b606f95
DE
168812015-07-24 Doug Evans <dje@google.com>
16882
16883 * lib/gdb.exp (clean_restart): Make executable optional.
16884
a97b16b8
DE
168852015-07-24 Doug Evans <dje@google.com>
16886
16887 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16888 compiler_info references.
16889 * gdb.cp/temargs.exp: Ditto.
16890 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16891 (get_compiler_info): Early exit if already computed. Set compiler_info
16892 to "unknown" if there was a problem.
16893 (test_compiler_info): Add function comment. Call get_compiler_info.
16894
35baa57f
DE
168952015-07-24 Doug Evans <dje@google.com>
16896
16897 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16898 (workers/%.worker, build-perf): New rule.
16899 (GDB_PERFTEST_MODE): New variable.
16900 (check-perf): Use it.
16901 (clean): Clean up gdb.perf parallel build subdirs.
16902 * lib/build-piece.exp: New file.
16903 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16904 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16905 name.
16906 (standard_temp_file): Ditto.
16907 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16908 of $GDB_PARALLEL.
16909
6ebea266
DE
169102015-07-24 Doug Evans <dje@google.com>
16911
16912 * lib/future.exp (gdb_default_target_compile): New option
16913 "early_flags".
16914 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16915 --as-needed.
16916
1e76a7e9
SDJ
169172015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16918
16919 * gdb.base/catch-syscall.exp: Call gdb_exit before
16920 gdb_skip_xml_test.
16921
5068630a
PA
169222015-07-24 Pedro Alves <palves@redhat.com>
16923
16924 * gdb.python/py-events.exp: Accept output between the stop event
16925 and the prompt.
16926 * gdb.python/py-evsignal.exp: Likewise.
16927 * gdb.python/py-evthreads.exp: Likewise.
16928
77598427
PA
169292015-07-24 Pedro Alves <palves@redhat.com>
16930
16931 PR gdb/18717
16932 * gdb.threads/non-ldr-exit.c: New file.
16933 * gdb.threads/non-ldr-exit.exp: New file.
16934
11e6c98f
YQ
169352015-07-24 Yao Qi <yao.qi@linaro.org>
16936
16937 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16938 restarting process.
16939
51aee833
YQ
169402015-07-24 Yao Qi <yao.qi@linaro.org>
16941
16942 * gdb.server/ext-restart.exp: New file.
16943
8cfe207c
YQ
169442015-07-24 Yao Qi <yao.qi@linaro.org>
16945
16946 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16947 argument options.
16948 * gdb.server/ext-wrapper.exp: New file.
16949
cc12ce38
DE
169502015-07-23 Doug Evans <dje@google.com>
16951
16952 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16953 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16954
d0d84780
PMR
169552015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16956
16957 * gdb.ada/var_arr_typedef.exp: New testcase.
16958 * gdb.ada/var_arr_typedef/pack.adb: New file.
16959 * gdb.ada/var_arr_typedef/pack.ads: New file.
16960 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16961
8b558f79
JB
169622015-07-20 Joel Brobecker <brobecker@adacore.com>
16963
16964 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16965
775a3298
JK
169662015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16967
16968 * gdb.arch/i386-biarch-core.exp: Replace istarget
16969 by "complete set gnutarget". Remove expectation for the "core-file"
16970 command.
16971
db1ff28b
JK
169722015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16973
16974 Revert the previous commit:
16975 Tests for validate symbol file using build-id.
16976
0a94970d
JK
169772015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16978
16979 Tests for validate symbol file using build-id.
16980 * gdb.base/solib-mismatch-lib.c: New file.
16981 * gdb.base/solib-mismatch-libmod.c: New file.
16982 * gdb.base/solib-mismatch.c: New file.
16983 * gdb.base/solib-mismatch.exp: New file.
16984
03346981
SL
169852015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16986
16987 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16988 nios2-*-linux*.
16989 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16990 * gdb.base/siginfo.exp: Likewise.
16991 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16992
42422cc7
PL
169932015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16994
16995 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16996 Move it to ...
16997 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16998 ... here.
16999 * gdb.trace/range-stepping.exp: Check that the target supports
17000 range stepping.
17001
cfa68bae
JK
170022015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17003
17004 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17005
8ffdba26
PA
170062015-07-14 Pedro Alves <palves@redhat.com>
17007
17008 * gdb.base/killed-outside.exp: New file.
17009 * gdb.base/killed-outside.c: New file.
17010
218a5a11
JK
170112015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17012
17013 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17014 (n at main): New.
17015 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17016
e03ed3c6
AA
170172015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17018
17019 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17020 infcall tests instead of setting up for KFAIL.
17021
485668e5
MM
170222015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17023
17024 * gdb.btrace/record_goto-step.exp: New.
17025
08464196
JK
170262015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17027
17028 PR compile/18484
17029 * gdb.compile/compile.c (struct struct_type): Add volatile to
17030 selffield's type.
17031 * gdb.compile/compile.exp
17032 (compile code struct_object.selffield = &struct_object): Skip further
17033 struct_object tests if this one xfails.
17034
bcf5c1d9
RC
170352015-07-08 Robert O'Callahan <robert@ocallahan.org>
17036
17037 PR exp/18617
17038 * gdb.trace/ax.exp: Add test.
17039
4931af25
YQ
170402015-07-07 Yao Qi <yao.qi@linaro.org>
17041
17042 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17043 instead of istarget "aarch64*-*-*".
17044 * gdb.arch/aarch64-fp.exp: Likewise.
17045 * gdb.base/float.exp: Likewise.
17046 * gdb.reverse/aarch64.exp: Likewise.
17047 * lib/gdb.exp (is_aarch64_target): New proc.
17048
9fcf688e
YQ
170492015-07-07 Yao Qi <yao.qi@linaro.org>
17050
17051 * lib/gdb.exp (is_aarch32_target): New proc.
17052 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17053 instead of "istarget "arm*-*-*"".
17054 * gdb.arch/arm-disp-step.exp: Likewise.
17055 * gdb.arch/thumb-bx-pc.exp: Likewise.
17056 * gdb.arch/thumb-prologue.exp: Likewise.
17057 * gdb.arch/thumb-singlestep.exp: Likewise.
17058 * gdb.base/disp-step-syscall.exp: Likewise.
17059 * gdb.base/float.exp: Likewise.
17060
fbd8d50d
YQ
170612015-07-07 Yao Qi <yao.qi@linaro.org>
17062
17063 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17064 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17065
71be1fdc
YQ
170662015-07-07 Yao Qi <yao.qi@linaro.org>
17067
17068 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17069 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17070 if it exists.
17071 * gdb.multi/multi-arch.exp: Likewise.
17072
3e221d36
SM
170732015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17074
17075 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17076 print.
17077
d441430b
YQ
170782015-07-07 Yao Qi <yao.qi@linaro.org>
17079
17080 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17081
06f810bd
MG
170822015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17083
17084 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17085 '[' and ']' characters.
17086
5e61e7c0
IB
170872015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17088
17089 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17090
28bf096c
PA
170912015-06-29 Pedro Alves <palves@redhat.com>
17092
17093 PR threads/18127
17094 * gdb.threads/hand-call-new-thread.c: New file.
17095 * gdb.threads/hand-call-new-thread.c: New file.
17096
ee93cd5e
KS
170972015-06-26 Keith Seitz <keiths@redhat.com>
17098 Doug Evans <dje@google.com>
17099
17100 PR 16253
17101 * gdb.cp/var-tag-2.cc: New file.
17102 * gdb.cp/var-tag-3.cc: New file.
17103 * gdb.cp/var-tag-4.cc: New file.
17104 * gdb.cp/var-tag.cc: New file.
17105 * gdb.cp/var-tag.exp: New file.
17106
fc637f04
PP
171072015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17108
17109 * gdb.base/history-duplicates.exp: New test.
17110
2e52ae68
PP
171112015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17112
17113 * gdb.base/completion.exp: Test the completion of the "focus"
17114 command.
17115
6e22494e
JK
171162015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17117
17118 * gdb.arch/amd64-prologue-skip.S: New file.
17119 * gdb.arch/amd64-prologue-skip.exp: New file.
17120
bf7b9cd9
SM
171212015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17122
17123 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17124 is_address_zero_readable check.
17125
201e8dfd
PB
171262015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17127
17128 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17129 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17130
5cd867b4
YQ
171312015-06-24 Yao Qi <yao.qi@linaro.org>
17132
17133 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17134 linux targets.
17135
4d7be007
YQ
171362015-06-24 Yao Qi <yao.qi@linaro.org>
17137
17138 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17139 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17140 * gdb.base/siginfo-thread.exp: Likewise.
17141
07fcd301
YQ
171422015-06-22 Yao Qi <yao.qi@linaro.org>
17143
17144 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17145
52042a00
YQ
171462015-06-22 Yao Qi <yao.qi@linaro.org>
17147
17148 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17149 aarch64*-*-*.
17150 (skip_hw_watchpoint_tests): Likewise.
17151
74bd41ce
PP
171522015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17153
17154 * gdb.base/gdbinit-history.exp: Test the interaction between
17155 setting GDBHISTSIZE and setting the history size via .gdbinit.
17156
bc460514
PP
171572015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17158
17159 PR gdb/16999
17160 * gdb.base/gdbhistsize-history.exp: New test.
17161
b58c513b
PP
171622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17163
17164 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17165 with GDBHISTSIZE.
17166 * gdb.base/readline.exp: Likewise.
17167
92046791
YQ
171682015-06-17 Yao Qi <yao.qi@linaro.org>
17169
17170 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17171 line.
17172
2093d2d3
PP
171732015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17174
17175 * gdb.base/gdbinit-history.exp: Add test case to check that
17176 an unlimited history file does not get truncated on exit.
17177
e6c693af
AA
171782015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17179
17180 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17181 (VECTOR): New macro. Use it...
17182 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17183 ...for these typedefs.
17184 (int8, char1, int1, double1): New typedefs.
17185 (struct just_int2, struct two_int2): New structures.
17186 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17187 (add_structvecs, add_singlevecs): New functions.
17188 (main): Call add_some_intvecs twice.
17189 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17190 the compile and exit upon failure. Try compiling for the "native"
17191 architecture. Test inferior function calls with vector arguments
17192 and vector return value handling with "finish" and "return".
17193
c74f7d1c
JT
171942015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17195
17196 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17197 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17198 PE file.
17199 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17200
98aa42ee
AT
172012015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17202
17203 PR breakpoints/16465
17204 * gdb.mi/mi-dprintf-pending.c: New file.
17205 * gdb.mi/mi-dprintf-pending.exp: New test.
17206 * gdb.mi/mi-dprintf-pendshr.c: New file.
17207
7d73c23c 172082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17209 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17210
17211 * gdb.arch/i386-mpx-map.c: New file.
17212 * gdb.arch/i386-mpx-map.exp: New File.
17213
172142015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17215
17216 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17217 * gdb.arch/i386-mpx.exp: Indentation fixed.
17218
172192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17220
17221 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17222 function and improved indentation.
17223 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17224 gdb_test_multiple. Added additional tests to skip the test.
17225
172262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17227
17228 * gdb.arch/i386-avx512.c: Change path in include file.
17229 * gdb.arch/i386-avx512.exp: Change include dir path
17230 compilation flag.
17231 * gdb.arch/i386-mpx.c: Change path in include file.
17232 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17233 flag.
17234
d5eba19a
JK
172352015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17236
17237 * gdb.compile/compile-print.exp (compile print *vararray@3)
17238 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17239
7f361056
JK
172402015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17241
17242 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17243 (do not keep jit in memory): ... this.
17244 (expect 5): Change it to ...
17245 (expect no 5): ... this.
17246
3b462ec2
SM
172472015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17248
17249 PR gdb/15564
17250 * gdb.mi/mi-detach.exp: New file.
17251
e0619de6
JK
172522015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17253
17254 PR symtab/18392
17255 * gdb.arch/amd64-tailcall-self.S: New file.
17256 * gdb.arch/amd64-tailcall-self.c: New file.
17257 * gdb.arch/amd64-tailcall-self.exp: New file.
17258
e970cb34
DB
172592015-05-28 Don Breazeal <donb@codesourcery.com>
17260
17261 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17262 tests for remote targets by checking is_target_gdbserver.
17263
b2e2f908
DE
172642015-05-27 Doug Evans <dje@google.com>
17265
17266 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17267 * gdb.dwarf2/opaque-type-lookup.c: New file.
17268 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17269
82c7be31
DE
172702015-05-26 Doug Evans <dje@google.com>
17271
17272 * gdb.cp/iostream.cc: New file.
17273 * gdb.cp/iostream.exp: New file.
17274
b4f54984
DE
172752015-05-26 Doug Evans <dje@google.com>
17276
17277 * gdb.dwarf2/dw2-op-call.exp: Update.
17278 * gdb.dwarf2/dw4-sig-types.exp: Update.
17279 * gdb.dwarf2/implptr.exp: Update.
17280 * gdb.mi/mi-cmd-param-changed.exp: Update.
17281
4ea6efe9
DE
172822015-05-26 Doug Evans <dje@google.com>
17283
17284 * gdb.python/py-lazy-string.c: New file.
17285 * gdb.python/py-lazy-string.exp: New file.
17286 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17287 (main): Update. Add estring3.
17288 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17289 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17290
f6bb7db3
YQ
172912015-05-26 Omair Javaid <omair.javaid@linaro.org>
17292 Yao Qi <yao.qi@linaro.org>
17293
17294 * gdb.reverse/aarch64.c: New.
17295 * gdb.reverse/aarch64.exp: New.
17296
a81bfbd0
OJ
172972015-05-26 Omair Javaid <omair.javaid@linaro.org>
17298
25d49b86
PA
17299 * lib/gdb.exp (supports_process_record): Return true for
17300 aarch64*-linux*.
a81bfbd0
OJ
17301 (supports_reverse): Likewise.
17302
158bf1b4
PP
173032015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17304
17305 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17306 Use with_test_prefix.
17307
a0145030
AB
173082015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17309
17310 * gdb.base/completion.exp: Add test for completion of layout
17311 names.
17312
ebe3b578
AB
173132015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17314
17315 * lib/gdb.exp (skip_tui_tests): New proc.
17316 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17317
84204ed7
PA
173182015-05-19 Pedro Alves <palves@redhat.com>
17319
17320 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17321 Save the whole env array instead of just HOME. Unset HISTSIZE in
17322 the environment while testing. Restore whole environment
17323 afterwards.
17324
37442ce1
DE
173252015-05-16 Doug Evans <xdje42@gmail.com>
17326
17327 * gdb.guile/scm-ports.c: New file.
17328 * gdb.guile/scm-ports.exp: Add memory port tests.
17329
36de76f9
JK
173302015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17331
17332 * gdb.compile/compile-print.c: New file.
17333 * gdb.compile/compile-print.exp: New file.
17334
3a9558c4
JK
173352015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17336
17337 * gdb.compile/compile-ops.exp: Cast param to void.
17338 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17339 (compile code struct_object.selffield = &struct_object): Add xfail.
17340
aa715135
JG
173412015-05-15 Joel Brobecker <brobecker@adacore.com>
17342
17343 * gdb.ada/arr_enum_with_gap: New testcase.
17344
931e5bc3
JG
173452015-05-15 Joel Brobecker <brobecker@adacore.com>
17346
17347 * gdb.ada/byte_packed_arr: New testcase.
17348
9cd4d857
JB
173492015-05-15 Joel Brobecker <brobecker@adacore.com>
17350
17351 * gdb.ada/pckd_neg: New testcase.
17352
ebfd00d2
PP
173532015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17354
17355 PR gdb/17820
17356 * gdb.base/gdbinit-history.exp: New test.
17357 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17358 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17359
4c082a81
SC
173602015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17361
17362 * gdb.python/py-xmethods.cc: Enhance test case.
17363 * gdb.python/py-xmethods.exp: New tests.
17364 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17365 function.
17366 (B_indexoper): Likewise.
17367 (global_dm_list) : Add new xmethod worker functions.
17368
f7797074
SDJ
173692015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17370
17371 * gdb.base/coredump-filter.exp: Correctly unset
17372 "coredump_var_addr" array.
17373
a4674e4e
PA
173742015-05-08 Pedro Alves <palves@redhat.com>
17375
17376 * gdb.server/non-existing-program.exp: Unset spawn_id.
17377
df2eb078
SC
173782015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17379
17380 PR python/18291
17381 * gdb.python/py-xmethods.exp: Add tests.
17382
422349a3
YQ
173832015-05-08 Yao Qi <yao.qi@linaro.org>
17384
17385 PR gdb/18208
17386 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17387 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17388 function set_coredump_filter, and remove remote_exec call.
17389 Remove argument ipid. Callers update.
17390 (top level): Don't get inferior's PID.
17391
63fc80ce
AA
173922015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17393
17394 * gdb.base/watch_thread_num.exp: Skip test on targets without
17395 access watchpoints.
17396
80ad801e
PA
173972015-05-06 Pedro Alves <palves@redhat.com>
17398
17399 PR server/18081
17400 * gdb.server/non-existing-program.exp: New file.
17401
0fa7fe50
JB
174022015-05-05 Joel Brobecker <brobecker@adacore.com>
17403
17404 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17405
3ea89b92
PMR
174062015-05-05 Joel Brobecker <brobecker@adacore.com>
17407
17408 * gdb.ada/out_of_line_in_inlined: New testcase.
17409
87b8eff0
JB
174102015-05-05 Joel Brobecker <brobecker@adacore.com>
17411
17412 * gdb.ada/var_rec_arr: New testcase.
17413
5fccc635
YQ
174142015-04-30 Yao Qi <yao.qi@linaro.org>
17415
17416 * gdb.base/break-idempotent.exp: If
17417 skip_hw_watchpoint_multi_tests returns true, skip the tests
17418 on "rwatch" and "awatch".
17419
42d38f42
YQ
174202015-04-30 Yao Qi <yao.qi@linaro.org>
17421
17422 * gdb.base/relativedebug.exp: Invoke gdb command
17423 "info sharedlibrary", and if libc.so doesn't have debug info,
17424 skip the test.
17425
2ce1cdbf
DE
174262015-04-29 Doug Evans <dje@google.com>
17427
17428 * gdb.python/py-xmethods.exp: Add ptype tests.
17429 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17430 get_result_type method.
17431
f24a38c5
LM
174322015-04-29 Luis Machado <lgustavo@codesourcery.com>
17433
17434 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17435 the target does not support hardware watchpoints.
17436
ecbf2b3c
LM
174372015-04-29 Luis Machado <lgustavo@codesourcery.com>
17438
17439 * gdb.base/break-always.exp: Abort testing if writing to memory
17440 causes an error.
17441
34f5f757
DE
174422015-04-28 Doug Evans <dje@google.com>
17443
17444 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17445 * gdb.python/py-pp-registration.exp: ... here. New file.
17446 * gdb.python/py-pp-registration.c: New file.
17447 * gdb.python/py-pp-registration.py: New file.
17448
69b4374a
DE
174492015-04-28 Doug Evans <dje@google.com>
17450
17451 * gdb.python/py-bad-printers.c: New file.
17452 * gdb.python/py-bad-printers.py: New file.
17453 * gdb.python/py-bad-printers.exp: New file.
17454
59fb7612
SS
174552015-04-28 Sasha Smundak <asmundak@google.com>
17456
17457 * gdb.python/py-type.exp: New test.
17458
2631b16a
AW
174592015-04-28 Andy Wingo <wingo@igalia.com>
17460
17461 * gdb.python/py-parameter.exp:
17462 * gdb.guile/scm-parameter.exp: Escape the path that we are
17463 matching against, as it might contain characters that are special
17464 to regular expressions.
17465
460efde1
JB
174662015-04-27 Joel Brobecker <brobecker@adacore.com>
17467
17468 * gdb.ada/rec_comp: New testcase.
17469
2d369d8e
SDJ
174702015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17471
17472 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17473 before using it.
17474
cf75d6c3
AB
174752015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17476
17477 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17478 new tests for verilog output.
17479
8dbe7ca5
YQ
174802015-04-24 Yao Qi <yao.qi@linaro.org>
17481
17482 * boards/remote-gdbserver-on-localhost.exp: New file.
17483
4ef9fb2f
PA
174842015-04-23 Pedro Alves <palves@redhat.com>
17485
17486 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17487 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17488 "end of file", remove $inferior_spawn_id from the indirect list.
17489
0a803169
PA
174902015-04-23 Pedro Alves <palves@redhat.com>
17491
17492 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17493
749ef8f8
PA
174942015-04-23 Pedro Alves <palves@redhat.com>
17495
17496 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17497 on $any_spawn_id instead of only on $gdb_spawn_id.
17498
8aae4344
PM
174992015-04-21 Pierre Muller <muller@sourceware.org>
17500
17501 PR pascal/17815
17502 * lib/pascal.exp (gpc_compile): Add new option "class".
17503 (fpc_compile): Likewise.
17504 * gdb.pascal/case-insensitive-symbols.pas: New file.
17505 * gdb.pascal/case-insensitive-symbols.exp: New file.
17506
1586c8fb
GB
175072015-04-20 Gary Benson <gbenson@redhat.com>
17508
17509 * gdb.base/attach.exp: Fix three extended remote failures.
17510
1b6e6f5c
GB
175112015-04-17 Gary Benson <gbenson@redhat.com>
17512
17513 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17514 the main executable over the remote protocol.
17515
e797481d
PA
175162015-04-16 Pedro Alves <palves@redhat.com>
17517
17518 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17519 a new gdbserver if gdbserver_reconnect_p is set.
17520
1ca99c42
PA
175212015-04-16 Pedro Alves <palves@redhat.com>
17522
17523 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17524 is set, don't exit gdbserver.
17525
af9fd6f8
AA
175262015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17527
17528 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17529 appropriate .insn, such that an older assembler can be used.
17530 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17531 the z/Architecture instruction set on 31-bit targets as well.
17532
04ff1e61
AA
175332015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17534
17535 * gdb.go/handcall.exp: Remove all logic related to the first
17536 breakpoint and rely on go_runto_main instead.
17537 * gdb.go/strings.exp: Likewise.
17538 * gdb.go/unsafe.exp: Likewise.
17539 * gdb.go/hello.exp: Likewise. Also rename the remaining
17540 breakpoint marker to "breakpoint 1".
17541 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17542 * gdb.go/strings.go: Likewise.
17543 * gdb.go/unsafe.go: Likewise.
17544 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17545 "set breakpoint 2 here" and rename the remaining breakpoint marker
17546 to "breakpoint 1".
17547
40d2f8d6
SM
175482015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17549
17550 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17551 if itertools.imap is not present.
17552 * gdb.python/py-objfile.exp: Add parentheses.
17553 * gdb.python/py-type.exp: Same.
17554 * gdb.python/py-unwind-maint.py: Same.
17555
8cbc97c6
YQ
175562015-04-15 Yao Qi <yao.qi@linaro.org>
17557
17558 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17559 of ":$ptr_size" and set its form explicitly.
17560
45fd756c
YQ
175612015-04-15 Pedro Alves <palves@redhat.com>
17562 Yao Qi <yao.qi@linaro.org>
17563
17564 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17565 timeout by factor of 4.
17566 (test_regular_watch): Likewise.
17567 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17568 * gdb.reverse/sigall-reverse.exp: Likewise.
17569 * gdb.reverse/until-precsave.exp: Likewise.
17570 * lib/gdb.exp (with_timeout_factor): New proc.
17571 (gdb_expect): Move some code to ...
17572 (get_largest_timeout): ... here. New procedure.
17573
9e811bc3
LM
175742015-04-14 Luis Machado <lgustavo@codesourcery.com>
17575
17576 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17577
0ff6fcb2
LM
175782015-04-13 Luis Machado <lgustavo@codesourcery.com>
17579
17580 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17581 to write to the .text section.
17582
7578d5f7
LM
175832015-04-13 Luis Machado <lgustavo@codesourcery.com>
17584
17585 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17586 Handle the case of targets that do not provide PID information.
17587
2efe15c4
YQ
175882015-04-13 Yao Qi <yao.qi@linaro.org>
17589
17590 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17591 and use expect instead of gdb_expect.
17592
8cd8f2f8
SDJ
175932015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17594
17595 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17596 "coredump_var_addr" to avoid naming conflict with other testcases.
17597
9ee41772
PA
175982015-04-10 Pedro Alves <palves@redhat.com>
17599
17600 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17601 gdb_test_sequence and gdb_assert.
17602
07473109
PA
176032015-04-10 Pedro Alves <palves@redhat.com>
17604
17605 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17606 test messages that don't include the breakpoint address.
17607
de3db44c
YQ
176082015-04-10 Yao Qi <yao.qi@linaro.org>
17609
17610 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17611 false for some offset and width combinations which aren't
17612 supported by linux kernel.
17613
c79d856c
PA
176142015-04-10 Pedro Alves <palves@redhat.com>
17615
17616 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17617 procedure, factored out from ...
17618 (top level): ... here. Add "set displaced-stepping" testing axis.
17619 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17620 parameter "displaced". Use it.
17621 (top level): Use foreach and add "set displaced-stepping" testing
17622 axis.
17623
ebc90b50
PA
176242015-04-10 Pedro Alves <palves@redhat.com>
17625
17626 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17627 Remove comment.
17628 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17629 both the address of the instruction that triggers the watchpoint
17630 and the address of the instruction immediately after, and use
17631 those addresses for the test. Fix comment.
17632
8f572e5c
PA
176332015-04-10 Pedro Alves <palves@redhat.com>
17634
17635 * gdb.base/sigstep.exp (breakpoint_to_handler)
17636 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17637 Test "backtrace" in handler.
17638 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17639 (top level): Add new "displaced" test axis to
17640 breakpoint_to_handler, breakpoint_to_handler_entry and
17641 breakpoint_over_handler.
17642
8d707a12
PA
176432015-04-10 Pedro Alves <palves@redhat.com>
17644
17645 PR gdb/18216
17646 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17647
ef713951
YQ
176482015-04-10 Yao Qi <yao.qi@linaro.org>
17649
17650 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17651 (test_add_rn_pc): New function.
17652 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17653 (top level): Invoke test_add_rn_pc.
17654
906d60cf
PA
176552015-04-10 Pedro Alves <palves@redhat.com>
17656
17657 PR gdb/13858
17658 * gdb.base/step-over-no-symbols.exp: New file.
17659
f2983cc3
AW
176602015-04-09 Andy Wingo <wingo@igalia.com>
17661
17662 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17663 after the Python tests.
17664
6d62641c
SDJ
176652015-04-08 Keith Seitz <keiths@redhat.com>
17666
17667 PR python/16699
17668 * gdb.python/py-completion.exp: New tests for completion.
17669 * gdb.python/py-completion.py (CompleteLimit1): New class.
17670 (CompleteLimit2): Likewise.
17671 (CompleteLimit3): Likewise.
17672 (CompleteLimit4): Likewise.
17673 (CompleteLimit5): Likewise.
17674 (CompleteLimit6): Likewise.
17675 (CompleteLimit7): Likewise.
17676
f3770638
PA
176772015-04-08 Pedro Alves <palves@redhat.com>
17678
17679 PR gdb/18214
17680 PR gdb/18216
17681 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17682 function.
17683 (main): Install it as SIGUSR1 handler.
17684 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17685 parameter. Always use "setup" as prefix. Toggle "set
17686 displaced-stepping" off/on depending on global. Don't switch to
17687 thread 1 here.
17688 (top level): Add displaced stepping "off/on" test axis. Update
17689 "setup" calls. Wrap each subtest with with_test_prefix. Test
17690 continuing with a queued signal in each thread.
17691
4496bed7
PA
176922015-04-08 Pedro Alves <palves@redhat.com>
17693
17694 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17695 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17696 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17697 Return early if running to main fails.
17698 * gdb.trace/while-stepping.exp: Likewise.
17699
b97fde92
PA
177002015-04-07 Pedro Alves <palves@redhat.com>
17701
17702 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17703 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17704 interact with inferior program.
17705
f71c18e7
PA
177062015-04-07 Pedro Alves <palves@redhat.com>
17707
17708 * lib/gdb.exp (inferior_spawn_id): New global.
17709 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17710 spawn id after processing the user code.
17711 (default_gdb_start): Set inferior_spawn_id.
17712 (send_inferior): New procedure.
17713 * lib/gdbserver-support.exp (gdbserver_start): Set
17714 inferior_spawn_id.
17715 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17716
6423214f
PA
177172015-04-07 Pedro Alves <palves@redhat.com>
17718
17719 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17720 * lib/gdbserver-support.exp (gdbserver_start): Make
17721 $server_spawn_id global.
17722 (gdbserver_start): Don't wait for gdbserver's spawn id with
17723 expect_background.
17724 (close_gdbserver): New procedure.
17725 (gdb_exit): Rename the default version and reimplement.
17726
71c0ee8c
PA
177272015-04-07 Pedro Alves <palves@redhat.com>
17728
72f4393d 17729 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
17730 append the substituted item, not the original item.
17731
203bc29b
PA
177322015-04-07 Pedro Alves <palves@redhat.com>
17733
17734 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17735 gdb_expect.
17736
508a3ddf
PA
177372015-04-07 Pedro Alves <palves@redhat.com>
17738
17739 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17740 output appearing once only.
17741
9f6dbe2b
PA
177422015-04-07 Pedro Alves <palves@redhat.com>
17743
17744 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17745 that doesn't expect anything. Return early if running to main
17746 fails.
17747
337532fa
YQ
177482015-04-07 Yao Qi <yao.qi@linaro.org>
17749
17750 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17751 (child_function): Call alarm.
17752 (main): Move call to alarm into the loop.
17753 * gdb.threads/non-stop-fair-events.exp: Build program with
17754 -DTIMEOUT=$timeout.
17755
01b622d4
DE
177562015-04-06 Doug Evans <xdje42@gmail.com>
17757
17758 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17759 Fix dest parameter to board_info.
17760 (fpc_compile): Ditto.
17761 (gdb_compile_pascal): Rename dest arg to destfile.
17762
961f4160
PMR
177632015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17764
17765 * gdb.ada/funcall_ref.exp: New file.
17766 * gdb.ada/funcall_ref/foo.adb: New file.
17767
cafda597
YQ
177682015-04-02 Yao Qi <yao.qi@linaro.org>
17769
17770 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17771 is remote.
17772
fed040c6
GB
177732015-04-02 Gary Benson <gbenson@redhat.com>
17774
17775 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17776
d11916aa
SS
177772015-04-01 Sasha Smundak <asmundak@google.com>
17778
17779 * gdb.python/py-unwind-maint.c: New file.
17780 * gdb.python/py-unwind-maint.exp: New test.
17781 * gdb.python/py-unwind-maint.py: New file.
17782 * gdb.python/py-unwind.c: New file.
17783 * gdb.python/py-unwind.exp: New test.
17784 * gdb.python/py-unwind.py: New test.
17785
a1471180
PA
177862015-04-01 Pedro Alves <palves@redhat.com>
17787
17788 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17789 to fail instead of non-existent $test.
17790
0bbeccb1
PA
177912015-04-01 Pedro Alves <palves@redhat.com>
17792
17793 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17794 GDBFLAGS if not empty.
17795
3c724c8c
PMR
177962015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17797
17798 * gdb.ada/complete.exp: Remove "multi_line".
17799 * gdb.ada/info_exc.exp: Remove "multi_line".
17800 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17801 * gdb.ada/ptype_field.exp: Remove "multi_line".
17802 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17803 * gdb.ada/tagged.exp: Remove "multi_line".
17804 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17805 [multi_line ...]
17806 * gdb.btrace/delta.exp: Likewise.
17807 * gdb.btrace/exception.exp: Likewise.
17808 * gdb.btrace/function_call_history.exp: Likewise.
17809 * gdb.btrace/instruction_history.exp: Likewise.
17810 * gdb.btrace/nohist.exp: Likewise.
17811 * gdb.btrace/record_goto.exp: Likewise.
17812 * gdb.btrace/segv.exp: Likewise.
17813 * gdb.btrace/stepi.exp: Likewise.
17814 * gdb.btrace/tailcall.exp: Likewise.
17815 * gdb.btrace/unknown_functions.exp: Likewise.
17816 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17817 * lib/gdb.exp: Add the "multi_line" helper.
17818
4eec2deb
PA
178192015-04-01 Pedro Alves <palves@redhat.com>
17820
17821 * gdb.threads/tid-reuse.c: New file.
17822 * gdb.threads/tid-reuse.exp: New file.
17823
df8411da
SDJ
178242015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17825
17826 PR corefiles/16092
17827 * gdb.base/coredump-filter.c: New file.
17828 * gdb.base/coredump-filter.exp: Likewise.
17829
6ef37366
PM
178302015-03-27 Petr Machata <pmachata@redhat.com>
17831
17832 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17833 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17834 (Dwarf::assemble): Initialize them.
17835 (Dwarf::lines): New function.
17836
7ec911b0
JT
178372015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17838
17839 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17840 SYMBOL_PREFIX for x86_64-*-cygwin.
17841
ff908ebf
AW
178422015-03-26 Andy Wingo <wingo@igalia.com>
17843
17844 PR symtab/18148
17845 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17846 const_value but not a location.
17847 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17848 location defined in non-main CUs are visible.
17849
6d5f0679
YQ
178502015-03-26 Yao Qi <yao.qi@linaro.org>
17851
17852 PR testsuite/18139
17853 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17854 Add a line number entry for the same line.
17855 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17856 Add a line number entry for the same line.
17857
2898689b
YQ
178582015-03-26 Yao Qi <yao.qi@linaro.org>
17859
17860 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17861 .int 0.
17862 (func): Likewise. Add .Lfunc_1 label.
17863 Use .Lfunc_1 label.
17864 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17865 .int 0.
17866 (func): Likewise.
17867 Use .Lfunc_1 label.
17868
85180498
YQ
178692015-03-26 Yao Qi <yao.qi@linaro.org>
17870
17871 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17872 Call gdb_compile instead to compile each .s files without debug
17873 information.
17874
8aa08a8d
YQ
178752015-03-26 Yao Qi <yao.qi@linaro.org>
17876
17877 * gdb.base/savedregs.exp (process_saved_regs): Make
17878 "Saved registers:" optional in the pattern.
17879
66849923
MM
178802015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17881
17882 * gdb.btrace/next.exp: Merged into step.exp.
17883 * gdb.btrace/finish.exp: Merged into step.exp.
17884 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17885 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17886 "record goto" and checking the exact replay position.
17887 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17888 check for "Recording format" in "info record" output.
17889 * gdb.btrace/record_goto.exp: Choose test file based on target.
17890 * gdb.btrace/x86-record_goto.S: Renamed into ...
17891 * gdb.btrace/x86_64-record_goto.S: ... this.
17892 * gdb.btrace/i686-record_goto.S: New.
17893 * gdb.btrace/x86-tailcall.S: Renamed into ...
17894 * gdb.btrace/x86_64-tailcall.S: ... this.
17895 * gdb.btrace/i686-tailcall.S: New.
17896 * gdb.btrace/x86-tailcall.c: Renamed into ...
17897 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17898 separate statements. Update test.
17899 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17900 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17901 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17902 * gdb.btrace/tailcall.exp: Choose test file based on target.
17903 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17904
11cc1b74
MM
179052015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17906
17907 * gdb.btrace/exception.exp: Increase BTS buffer size.
17908
a25d8bf9
PA
179092015-03-24 Pedro Alves <palves@redhat.com>
17910
17911 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17912
856e7dd6
PA
179132015-03-24 Pedro Alves <palves@redhat.com>
17914
17915 * gdb.threads/schedlock.exp (test_step): No longer expect that
17916 "set scheduler-locking step" with "next" over a function call runs
17917 threads unlocked.
17918
ad235a41
AT
179192015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17920
17921 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17922
15630549
AT
179232015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17924
17925 PR breakpoints/16466
17926 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17927 * gdb.mi/mi-pending.c (thread_func): New function.
17928 (int main): Add threading support required.
17929 * gdb.mi/mi-pending.exp: Add tests for this issue.
17930 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17931 (pendfunc2): Remove stdio dependency.
17932 * gdb.mi/mi-pendshr2.c: New file.
17933
693dca06
KS
179342015-03-23 Keith Seitz <keiths@redhat.com>
17935
17936 * gdb.linespec/keywords.c: New file.
17937 * gdb.linespec/keywords.exp: New file.
17938
7e993ebf
KS
179392015-03-23 Keith Seitz <keiths@redhat.com>
17940
17941 PR gdb/18021
17942 * gdb.dwarf2/staticvirtual.exp: New test.
17943
bc23328c
JK
179442015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17945
17946 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17947 * README: Remove HP-UX and gdb.hp.
17948 (configuration):
17949 * configure: Regenerate.
17950 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17951 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17952 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17953 gdb.hp/gdb.defects/Makefile.
17954 * gdb.hp/Makefile.in: File deleted.
17955 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17956 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17957 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17958 * gdb.hp/gdb.aCC/run.c: File deleted.
17959 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17960 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17961 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17962 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17963 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17964 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17965 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17966 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17967 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17968 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17969 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17970 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17971 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17972 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17973 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17974 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17975 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17976 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17977 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17978 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17979 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17980 * gdb.hp/gdb.compat/average.c: File deleted.
17981 * gdb.hp/gdb.compat/sum.c: File deleted.
17982 * gdb.hp/gdb.compat/xdb.c: File deleted.
17983 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17984 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17985 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17986 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17987 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17988 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17989 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17990 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17991 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17992 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17993 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17994 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17995 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17996 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17997 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17998 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17999 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18000 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18001 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18002 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18003 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18004 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18005 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18006 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18007 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18008 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18009 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18010 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18011 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18012 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18013 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18014 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18015 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18016 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18017 * gdb.hp/tools/odump: File deleted.
18018
8bf3b159
PA
180192015-03-19 Pedro Alves <palves@redhat.com>
18020
18021 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18022 (saw_thread_3): New globals.
18023 (top level): Increment them when an event for the corresponding
18024 thread is seen.
18025 (no thread starvation): New test.
18026
eb54c8bf
PA
180272015-03-19 Pedro Alves <palves@redhat.com>
18028
18029 * gdb.threads/continue-pending-status.c: New file.
18030 * gdb.threads/continue-pending-status.exp: New file.
18031
32d2e5d6
PA
180322015-03-18 Pedro Alves <palves@redhat.com>
18033
18034 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18035 Use gdb_is_target_remote instead of is_remote. Use
18036 gdb_test_multiple instead of gdb_expect. Exit early if
18037 gdb_test_multiple hits its internal matches. Tighten stepi tests
18038 expected output. Fail on exit with any signal, instead of just
18039 SIGILL.
18040
f68f11b7
YQ
180412015-03-18 Yao Qi <yao.qi@linaro.org>
18042
18043 PR tdep/18107
18044 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18045 variable.
18046 * gdb.base/catch-syscall.exp: Don't skip it on
18047 aarch64*-*-linux* target. Remove elements in all_syscalls.
18048 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18049 target.
18050 (setup_all_syscalls): New proc.
18051
ca5fd19b
YQ
180522015-03-16 Yao Qi <yao.qi@linaro.org>
18053
18054 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18055 (top level): Skip tests if valid_addr_p returns false for
18056 $cmd1 or $cmd2.
18057
85642ba0
AW
180582015-03-11 Andy Wingo <wingo@igalia.com>
18059
18060 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18061
e03f9645
YQ
180622015-03-11 Yao Qi <yao.qi@linaro.org>
18063
18064 * gdb.base/catch-syscall.exp: Fix typo in comments.
18065
5d0962b2
YQ
180662015-03-11 Yao Qi <yao.qi@linaro.org>
18067
18068 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18069
b2df3cef
PA
180702015-03-09 Pedro Alves <palves@redhat.com>
18071
18072 * dg-extract-results.py: Delete.
18073
ef878e53
PA
180742015-03-09 Pedro Alves <palves@redhat.com>
18075
18076 Merge dg-extract-results.sh from GCC upstream (r218843).
18077
18078 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18079 * dg-extract-results.sh: Use --text with grep to avoid issues with
18080 binary files. Fall back to cat -v, if that doesn't work.
18081
9494d219
PA
180822015-03-05 Pedro Alves <palves@redhat.com>
18083
18084 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18085
a8d9763a
SM
180862015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18087
18088 * lib/mi-support.exp (mi_expect_interrupt): Accept
18089 alternative event for when in all-stop mode.
18090
be9957b8
PA
180912015-03-04 Pedro Alves <palves@redhat.com>
18092
18093 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18094
d57be0f4 180952015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
18096
18097 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18098
c214c7cf
AA
180992015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18100
18101 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18102 regexps for GDB's current line display, accept a hex address
18103 preceding the line number.
18104
6d74a497
AA
181052015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18106
18107 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18108 the 'arch1' variable for "s390*-linux*" targets.
18109
511aee7c
PA
181102015-03-04 Pedro Alves <palves@redhat.com>
18111
18112 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18113 (main): Pass missing retval argument to pthread_join call.
18114
95e50b27
PA
181152015-03-02 Pedro Alves <palves@redhat.com>
18116
18117 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18118 (top level): Call do_test with non-stop as well.
18119
28054d69
PA
181202015-03-02 Pedro Alves <palves@redhat.com>
18121
18122 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18123 -1.
18124
4fa5d7b4
AA
181252015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18126
18127 * gdb.arch/s390-vregs.exp: New test.
18128 * gdb.arch/s390-vregs.S: New file.
18129
97c18565
PA
181302015-02-27 Pedro Alves <palves@redhat.com>
18131
18132 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18133 call to catch_command_errors.
18134 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18135 catch_command_errors.
18136
a37bfa30
PA
181372015-02-27 Pedro Alves <palves@redhat.com>
18138
18139 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18140 "true" for boolean result.
18141 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18142 prototype of main.
18143
6f98576f
PA
181442015-02-27 Pedro Alves <palves@redhat.com>
18145
18146 * lib/unbuffer_output.c: New file.
18147 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18148 (main): Call gdb_unbuffer_output.
18149
eba5ab56
YQ
181502015-02-27 Yao Qi <yao.qi@linaro.org>
18151
18152 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18153 target.
18154
0def5aaa
DE
181552015-02-26 Doug Evans <dje@google.com>
18156
18157 * gdb.cp/class2.cc (Dbase, D): New classes.
18158 (main): New local delta.
18159 * gdb.cp/class2.exp: Test printing delta.
18160 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18161 (dynbar): New global.
18162 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18163
081a1c2c
JK
181642015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18165
18166 * gdb.compile/compile-ifunc.c: New file.
18167 * gdb.compile/compile-ifunc.exp: New file.
18168
2f41223f
AT
181692015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18170
18171 * gdb.base/structs.exp: Check for correct struct on finish.
18172
03eddd80
YQ
181732015-02-26 Yao Qi <yao.qi@linaro.org>
18174
18175 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18176 is zero.
18177
80c57053
JK
181782015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18179
18180 * gdb.arch/cordic.ko.bz2: New file.
18181 * gdb.arch/cordic.ko.debug.bz2: New file.
18182 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18183
21613c12
YQ
181842015-02-25 Yao Qi <yao.qi@linaro.org>
18185
18186 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18187 aarch64*-*-* target.
18188
d8b901ed
PA
181892015-02-23 Pedro Alves <palves@redhat.com>
18190
18191 * lib/gdb.exp (delete_breakpoints): Rewrite using
18192 gdb_test_multiple.
18193
e5b85ead
PA
181942015-02-23 Pedro Alves <palves@redhat.com>
18195
18196 * gdb.base/info-os.c: Include stdlib.h.
18197
85c3a371
DE
181982015-02-22 Doug Evans <xdje42@gmail.com>
18199
18200 PR symtab/17855
18201 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18202 is read after symbols have been re-read.
18203 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18204 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18205
96553a0c
DE
182062015-02-21 Doug Evans <dje@google.com>
18207
18208 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18209
97a0c697
JK
182102015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18211
18212 PR corefiles/17808
18213 * gdb.arch/i386-biarch-core.core.bz2: New file.
18214 * gdb.arch/i386-biarch-core.exp: New file.
18215
a47cd6e9
PA
182162015-02-21 Pedro Alves <palves@redhat.com>
18217
18218 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18219 runto_main fails.
18220
c5facdc4
PA
182212015-02-20 Pedro Alves <palves@redhat.com>
18222
18223 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18224 info probes.
18225
2db9a427
PA
182262015-02-20 Pedro Alves <palves@redhat.com>
18227
18228 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18229
60fb7e9e
PA
182302015-02-20 Pedro Alves <palves@redhat.com>
18231
18232 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18233 clean_restart before gdb_target_supports_trace.
18234
5c5019c2
PA
182352015-02-20 Pedro Alves <palves@redhat.com>
18236
18237 PR threads/18006
18238 * gdb.threads/clone-thread_db.c: New file.
18239 * gdb.threads/clone-thread_db.exp: New file.
18240
c9587f88
AT
182412015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18242
18243 PR breakpoints/16812
18244 * gdb.base/catch-gdb-caused-signals.c: New file.
18245 * gdb.base/catch-gdb-caused-signals.exp: New file.
18246
f6a88844
JM
182472015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18248
18249 * configure: Regenerated.
18250 * configure.ac: Use GDB_AC_TRANSFORM.
18251 * aclocal.m4: sinclude ../transform.m4.
18252
497c491b
JM
182532015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18254
18255 * lib/dtrace.exp: New file.
18256 * gdb.base/dtrace-probe.exp: Likewise.
18257 * gdb.base/dtrace-probe.d: Likewise.
18258 * gdb.base/dtrace-probe.c: Likewise.
18259 * lib/pdtrace.in: Likewise.
18260 * configure.ac: Output variables with the transformed names of
18261 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18262 * configure: Regenerated.
18263
03e98035
JM
182642015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18265
18266 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18267 expected message when trying to access $_probe_* convenience
18268 variables while not on a probe.
18269
63cc30e9
JK
182702015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18271
18272 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18273
0703599a
PA
182742015-02-11 Pedro Alves <pedro@codesourcery.com>
18275
18276 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18277 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18278
7e60a48e
DE
182792015-02-10 Doug Evans <xdje42@gmail.com>
18280
18281 * lib/gdb.exp (gdb_load): Always return a result.
18282
01b088bc
PA
182832015-02-10 Pedro Alves <palves@redhat.com>
18284
18285 * gdb.threads/signal-sigtrap.c: New file.
18286 * gdb.threads/signal-sigtrap.exp: New file.
18287
b05ec7a5
AT
182882015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18289
18290 * gdb.trace/no-attach-trace.c: New file.
18291 * gdb.trace/no-attach-trace.exp: New file.
18292
a2c2acaf
MW
182932015-02-09 Mark Wielaard <mjw@redhat.com>
18294
18295 * gdb.dwarf2/atomic.c: New file.
18296 * gdb.dwarf2/atomic-type.exp: Likewise.
18297
31fd9caa
MM
182982015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18299
18300 * gdb.btrace/buffer-size.exp: Update "info record" output.
18301 * gdb.btrace/delta.exp: Update "info record" output.
18302 * gdb.btrace/enable.exp: Update "info record" output.
18303 * gdb.btrace/finish.exp: Update "info record" output.
18304 * gdb.btrace/instruction_history.exp: Update "info record" output.
18305 * gdb.btrace/next.exp: Update "info record" output.
18306 * gdb.btrace/nexti.exp: Update "info record" output.
18307 * gdb.btrace/step.exp: Update "info record" output.
18308 * gdb.btrace/stepi.exp: Update "info record" output.
18309 * gdb.btrace/nohist.exp: Update "info record" output.
18310
d33501a5
MM
183112015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18312
18313 * gdb.btrace/buffer-size: New.
18314
f4abbc16
MM
183152015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18316
18317 * gdb.btrace/delta.exp: Update "info record" output.
18318 * gdb.btrace/enable.exp: Update "info record" output.
18319 * gdb.btrace/finish.exp: Update "info record" output.
18320 * gdb.btrace/instruction_history.exp: Update "info record" output.
18321 * gdb.btrace/next.exp: Update "info record" output.
18322 * gdb.btrace/nexti.exp: Update "info record" output.
18323 * gdb.btrace/step.exp: Update "info record" output.
18324 * gdb.btrace/stepi.exp: Update "info record" output.
18325 * gdb.btrace/nohist.exp: Update "info record" output.
18326
b9d61307
SM
183272015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18328
18329 PR gdb/15678
18330 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18331
e584fdbc
PA
183322015-02-06 Pedro Alves <palves@redhat.com>
18333
18334 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18335 macro.
18336 (seconds_left, again): New globals.
18337 (main): Wait seconds_left in a 1-second sleep loop instead of
18338 sleeping 180 seconds. If 'again' is set, reset the seconds
18339 counter.
18340 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18341 'again' in the inferior before detaching. Print the seconds left.
18342 (options): New global.
18343 (top level): Build program with -DTIMEOUT=$timeout.
18344
77f41761
PA
183452015-02-06 Pedro Alves <palves@redhat.com>
18346
18347 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18348 determine how many seconds to pass to 'alarm'.
18349 * gdb.base/gdb-sigterm.exp (top level): Build program with
18350 -DTIMEOUT=$timeout.
18351 (do_test): Return success/failure indication. Add more verbose
18352 logging. Don't fail if 200 single steps are seen. Instead, fail
18353 when the test times out.
18354 (passes): New global.
18355 (top level): Break the testing loop if testing fails on any
18356 iteration. Use gdb_assert.
18357
b9394193
DB
183582015-02-04 Don Breazeal <donb@codesourcery.com>
18359
18360 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18361 and initialize them.
18362 (ipc_cleanup): New function.
18363 (main): Don't declare shmid, semid, and msqid. Add a call to
18364 atexit so that we call ipc_cleanup on exit.
18365
42d9e528
PA
183662015-02-04 Pedro Alves <palves@redhat.com>
18367
18368 * boards/native-extended-gdbserver.exp: Remove any target variant
18369 specifications from the board name before clearing the isremote
18370 flag from board_info.
18371
ae6ae975
DE
183722015-01-31 Doug Evans <xdje42@gmail.com>
18373
18374 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18375
cfb069a8
GB
183762015-01-31 Gary Benson <gbenson@redhat.com>
18377
18378 * gdb.base/completion.exp: Disable completion limiting for
18379 existing tests. Add new tests to check completion limiting.
18380 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18381
5dd31d79
DE
183822015-01-31 Doug Evans <xdje42@gmail.com>
18383
18384 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18385
9f050062
DE
183862015-01-31 Doug Evans <xdje42@gmail.com>
18387
18388 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18389 entries. Duplicate file section script entries.
18390 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18391 inlined entries. Add test for safe-path rejection.
18392 * gdb.python/py-section-script.c: Add duplicate inlined section script
18393 entries. Duplicate file section script entries.
18394 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18395 inlined entries. Add test for safe-path rejection.
18396
df25ebbd
JB
183972015-01-29 Joel Brobecker <brobecker@adacore.com>
18398
18399 * gdb.ada/disc_arr_bound: New testcase.
18400
4a0ca9ec
JB
184012015-01-29 Joel Brobecker <brobecker@adacore.com>
18402
18403 * gdb.ada/mi_var_array: New testcase.
18404
3a8b707a
DE
184052015-01-27 Doug Evans <dje@google.com>
18406
18407 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18408 Add test for objfile.filename, objfile.username after objfile
18409 has been unloaded.
18410
f8313f6e
JB
184112015-01-26 Joel Brobecker <brobecker@adacore.com>
18412
18413 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18414 the second test to print the name attribute of value
18415 returned by the call to gdb.lookup_type, and adjust
18416 the expected output accordingly.
18417
37bc665e
MW
184182015-01-25 Mark Wielaard <mjw@redhat.com>
18419
18420 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18421 * gdb.base/disp-step-fork.c: Include unistd.h.
18422 * gdb.base/siginfo-obj.c: Include stdio.h.
18423 * gdb.base/siginfo-thread.c: Likewise.
18424 * gdb.mi/non-stop.c: Include unistd.h.
18425 * gdb.mi/nsthrexec.c: Include stdio.h.
18426 * gdb.mi/pthreads.c: Include unistd.h.
18427 * gdb.modula2/unbounded1.c (main): Declare returns int.
18428 * gdb.reverse/consecutive-reverse.c: Likewise.
18429 * gdb.threads/create-fail.c: Include unistd.h.
18430 * gdb.threads/killed.c: Likewise.
18431 * gdb.threads/linux-dp.c: Likewise.
18432 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18433 * gdb.threads/non-ldr-exc-2.c: Likewise.
18434 * gdb.threads/non-ldr-exc-3.c: Likewise.
18435 * gdb.threads/non-ldr-exc-4.c: Likewise.
18436 * gdb.threads/pthreads.c: Include unistd.h.
18437 (main): Declare returns int.
18438 * gdb.threads/tls-main.c (foo): New declaration.
18439 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18440
f7e5394d
SM
184412015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18442
18443 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18444 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18445
743649fd
MW
184462015-01-15 Mark Wielaard <mjw@redhat.com>
18447
18448 * gdb.base/noreturn-return.c: New file.
18449 * gdb.base/noreturn-return.exp: New file.
18450 * gdb.base/noreturn-finish.c: New file.
18451 * gdb.base/noreturn-finish.exp: New file.
18452
198297aa
PA
184532015-01-23 Pedro Alves <palves@redhat.com>
18454
18455 * gdb.threads/continue-pending-after-query.c: New file.
18456 * gdb.threads/continue-pending-after-query.exp: New file.
18457
717cf30c
AG
184582015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18459 Simon Marchi <simon.marchi@ericsson.com>
18460
18461 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18462 * gdb.base/valgrind-db-attach.exp: Same.
18463 * gdb.base/valgrind-infcall.exp: Same.
18464 * lib/mi-support.exp (default_mi_gdb_start): Same.
18465 * lib/prompt.exp (default_prompt_gdb_start): Same.
18466 * lib/gdb.exp (default_gdb_spawn): Same.
18467 (gdb_interact): New.
18468
18469
4b62a76e
JK
184702015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18471
18472 * gdb.compile/compile.exp (pointer to jit function): New test.
18473
b4cdae6f
WW
184742015-01-17 Wei-cheng Wang <cole945@gmail.com>
18475
18476 * lib/gdb.exp (supports_process_record): Return true for
18477 powerpc*-*-linux*.
18478 (supports_reverse): Likewise.
18479
d221e7ef
DB
184802015-01-15 Don Breazeal <donb@codesourcery.com>
18481
18482 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18483 instead of checking whether the target board is remote and
18484 use spawn_wait_for_attach instead of exec/sleep.
18485 * gdb.base/attach-twice.exp: Likewise.
18486
bafffb51
JB
184872015-01-15 Joel Brobecker <brobecker@adacore.com>
18488
18489 * gdb.ada/var_arr_attrs: New testcase.
18490
5589af0e
PA
184912015-01-14 Pedro Alves <palves@redhat.com>
18492 Joel Brobecker <brobecker@adacore.com>
18493
18494 PR gdb/17525
18495 * gdb.base/bp-cmds-execution-x-script.c: New file.
18496 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18497 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18498
6c400b59
PA
184992015-01-14 Pedro Alves <palves@redhat.com>
18500
18501 PR cli/17828
18502 * gdb.base/batch-preserve-term-settings.c: New file.
18503 * gdb.base/batch-preserve-term-settings.exp: New file.
18504
e02c96a7
DE
185052015-01-13 Doug Evans <dje@google.com>
18506
18507 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18508 binary.
18509
576fd14c
JB
185102015-01-13 Joel Brobecker <brobecker@adacore.com>
18511
18512 * Makefile.in (clean mostlyclean): Do not delete *.py.
18513
04dccad0
JB
185142015-01-13 Joel Brobecker <brobecker@adacore.com>
18515
18516 * gdb.python/py-lookup-type.exp: New file.
18517
3d230f71
PA
185182015-01-12 Pedro Alves <palves@redhat.com>
18519
18520 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18521 restore GDBFLAGS before returning.
18522
7e67715d
JK
185232015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18524
18525 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18526 is_amd64_regs_target and is_x86_like_target.
18527
f2e0d4b4
DE
185282015-01-11 Doug Evans <xdje42@gmail.com>
18529
18530 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18531 is given without an explicit form.
18532 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18533 attributes.
18534 * gdb.dwarf/corrupt.exp: Ditto.
18535 * gdb.dwarf2/enum-type.exp: Ditto.
18536 * gdb.trace/entry-values.exp: Ditto.
18537 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18538
439250fb
DE
185392015-01-11 Doug Evans <xdje42@gmail.com>
18540
18541 PR gdb/15830
18542 * gdb.base/maint.exp: Remove references to "maint demangle".
18543 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18544 Add tests for explicitly specifying language to demangle.
18545 * gdb.dlang/demangle.exp: Ditto.
18546
ede9f622
PA
185472015-01-09 Pedro Alves <palves@redhat.com>
18548
18549 * gdb.threads/non-stop-fair-events.c: New file.
18550 * gdb.threads/non-stop-fair-events.exp: New file.
18551
a7b796db
PA
185522015-01-09 Pedro Alves <palves@redhat.com>
18553
18554 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18555 the global scope. Set a breakpoint after all threads are started
18556 rather than stepping over two source lines. Expect the prompt.
18557 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18558 global.
18559 (NUM): Now 15.
18560 (main): Use threads_started_barrier to wait for all threads to
18561 start. Main thread no longer calls thread_function. Exit after
18562 180 seconds.
18563 (loop): New function.
18564 (thread_function): Wait on threads_started_barrier barrier. Call
18565 'loop' at each iteration.
18566 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18567 threads have started, instead of hardcoding number of "next"
18568 steps. Use an access watchpoint instead of a write watchpoint.
18569
9665ffdd
PA
185702015-01-09 Pedro Alves <palves@redhat.com>
18571
18572 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18573 (thread_func): Wait on barrier.
18574 (main): Wait for all threads to start before stopping GDB.
18575 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18576 global.
18577 (thread1_func, thread2_func): Wait on barrier.
18578 (main): Wait for all threads to start before stopping GDB.
18579 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18580 New global.
18581 (thread1_func, thread2_func): Wait on barrier.
18582 (main): Wait for all threads to start before stopping GDB.
18583
c945a99f
PA
185842015-01-09 Pedro Alves <palves@redhat.com>
18585
18586 * gdb.threads/attach-many-short-lived-threads.c: New file.
18587 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18588
c1a747c1
PA
185892014-01-09 Pedro Alves <palves@redhat.com>
18590
18591 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18592 instead of to thread 2.
18593 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18594 Add barrier around each pthread_create call instead of around all
18595 calls.
18596 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18597 Set a break on thread_function and have the child threads hit it
18598 one at at a time.
18599
60b3033e
PA
186002015-01-09 Pedro Alves <palves@redhat.com>
18601
18602 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18603 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18604 false.
18605 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18606 checking whether the target board is remote.
18607 * gdb.multi/multi-attach.exp: Likewise.
18608 * gdb.python/py-sync-interp.exp: Likewise.
18609 * gdb.server/ext-attach.exp: Likewise.
18610 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18611 tests that need to attach, instead of checking whether the target
18612 board is remote at the top of the file.
18613
acc018ac
YQ
186142015-01-08 Yao Qi <yao@codesourcery.com>
18615
18616 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18617
50a18af8
JK
186182015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18619
18620 Fix testcase compilation.
18621 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18622
8503d6e1
JB
186232015-01-06 Joel Brobecker <brobecker@adacore.com>
18624
18625 * gdb.python/py-type.exp: Add a couple test about empty
18626 array creation, and negative-length array creation.
18627
cc73dbcc
DE
186282015-01-02 Doug Evans <xdje42@gmail.com>
18629
18630 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18631
0300bbc7
DE
186322015-01-02 Doug Evans <dje@google.com>
18633
18634 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18635
9d85a0ec
YQ
186362014-12-29 Yao Qi <yao@codesourcery.com>
18637
18638 * gdb.trace/entry-values.exp: Update comments. Rename variable
18639 bar_call_foo to returned_from_foo.
18640
87186c6a
MMN
186412014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18642
18643 PR gdb/17394
18644 * gdb.linespec/break-asm-file.c: New file.
18645 * gdb.linespec/break-asm-file.exp: New file.
18646 * gdb.linespec/break-asm-file0.s: New file.
18647 * gdb.linespec/break-asm-file1.s: New file.
18648
1bab7383
YQ
186492014-12-18 Nigel Stephens <nigel@mips.com>
18650 Maciej W. Rozycki <macro@codesourcery.com>
18651
18652 * gdb.base/float.exp: Handle the new output from "info float" on
18653 MIPS targets.
18654
1bc1068a
JK
186552014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18656
18657 Fix MinGW compilation.
18658 * gdb.compile/compile-ops.exp: Update untested message if
18659 !skip_compile_feature_tests.
18660 * gdb.compile/compile-setjmp.exp: Likewise.
18661 * gdb.compile/compile-tls.exp: Likewise.
18662 * gdb.compile/compile.exp: Likewise.
18663 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18664 supported on this host".
18665
b6615d10
DE
186662014-12-16 Doug Evans <xdje42@gmail.com>
18667
18668 * boards/stabs.exp: New file.
18669
25dda427
AA
186702014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18671
18672 * gdb.base/completion.exp: Adjust to format changes of "maint
18673 print user-registers".
18674
bf330350
CU
186752014-12-16 Catalin Udma <catalin.udma@freescale.com>
18676
18677 PR server/17457
18678 * gdb.arch/aarch64-fp.c: New file.
18679 * gdb.arch/aarch64-fp.exp: New file.
18680
395cf596
SDJ
186812014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18682
18683 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18684 r210637, r210913, r211666, r215400, r215817).
18685
18686 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18687 * dg-extract-results.py: New file.
18688 * dg-extract-results.sh: Use it if the environment seems
18689 suitable.
18690
18691 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18692
18693 * dg-extract-results.py (parse_run): Handle warnings that
18694 are printed before a test harness is run.
18695
18696 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18697
18698 * dg-extract-results.py (Named): Remove __cmp__ method.
18699 (output_variation): Use a key to sort variation.harnesses.
18700
18701 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18702
18703 * dg-extract-results.py: For Python 3, force sys.stdout to
18704 handle surrogate escape sequences.
18705 (safe_open): New function.
18706 (output_segment, main): Use it.
18707
18708 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18709
18710 * dg-extract-results.py (Prog.result_re): Include options
18711 in test name.
18712
18713 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18714
18715 * dg-extract-results.py (output_variation): Always sort if
18716 do_sum.
18717
e882ef3c
SM
187182014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18719
18720 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18721 as long as we get pagination notifications.
18722
4992aa20
JM
187232014-12-15 Jason Merrill <jason@redhat.com>
18724
18725 * Makefile.in (check-gdb.%): Restore.
18726 * README: Mention it.
18727
c1b5a1a6
JB
187282014-12-13 Joel Brobecker <brobecker@adacore.com>
18729
18730 * gdb.ada/str_uninit: New testcase.
18731
5537b577
JK
187322014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18733
18734 PR symtab/17642
18735 * gdb.base/vla-stub-define.c: New file.
18736 * gdb.base/vla-stub.c: New file.
18737 * gdb.base/vla-stub.exp: New file.
18738
bb2ec1b3
TT
187392014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18740 Jan Kratochvil <jan.kratochvil@redhat.com>
18741 Tom Tromey <tromey@redhat.com>
18742
18743 * configure.ac: Add gdb.compile/.
18744 * configure: Regenerate.
18745 * gdb.compile/Makefile.in: New file.
18746 * gdb.compile/compile-ops.exp: New file.
18747 * gdb.compile/compile-ops.c: New file.
18748 * gdb.compile/compile-tls.c: New file.
18749 * gdb.compile/compile-tls.exp: New file.
18750 * gdb.compile/compile-constvar.S: New file.
18751 * gdb.compile/compile-constvar.c: New file.
18752 * gdb.compile/compile-mod.c: New file.
18753 * gdb.compile/compile-nodebug.c: New file.
18754 * gdb.compile/compile-setjmp-mod.c: New file.
18755 * gdb.compile/compile-setjmp.c: New file.
18756 * gdb.compile/compile-setjmp.exp: New file.
18757 * gdb.compile/compile-shlib.c: New file.
18758 * gdb.compile/compile.c: New file.
18759 * gdb.compile/compile.exp: New file.
18760 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18761
4ff709eb
TT
187622014-12-12 Tom Tromey <tromey@redhat.com>
18763
18764 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18765 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18766
6dddd6a5
DE
187672014-12-12 Doug Evans <dje@google.com>
18768
18769 * lib/gdb-python.exp (get_python_valueof): New function.
18770 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18771
71c24708
AA
187722014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18773
18774 * gdb.base/completion.exp: Add test for completion of "info
18775 registers ".
18776
3e29f34a
MR
187772014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18778
18779 * gdb.base/func-ptrs.c: New file.
18780 * gdb.base/func-ptrs.exp: New file.
18781
fc126975
SM
187822014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18783
18784 PR breakpoints/17012
18785 * gdb.base/dprintf-detach.c: New file.
18786 * gdb.base/dprintf-detach.exp: New file.
18787
0a46d518
SM
187882014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18789
18790 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18791 * lib/gdb.exp (target_is_gdbserver): New procedure.
18792
a0be3e44
DE
187932014-12-08 Doug Evans <dje@google.com>
18794
18795 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18796
df1b803a
YQ
187972014-12-05 Yao Qi <yao@codesourcery.com>
18798
18799 * gdb.guile/scm-error.exp: Remove the third argument to
18800 gdb_remote_download.
18801 * gdb.guile/scm-frame-args.exp: Likewise.
18802 * gdb.guile/scm-section-script.exp: Likewise.
18803
ddb9f679
YQ
188042014-12-05 Yao Qi <yao@codesourcery.com>
18805
18806 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18807
86e4ed39
DE
188082014-12-04 Doug Evans <dje@google.com>
18809
18810 * gdb.python/py-objfile.exp: Add tests for
18811 objfile.add_separate_debug_file.
18812
7c50a931
DE
188132014-12-04 Doug Evans <dje@google.com>
18814
18815 * lib/gdb.exp (get_build_id): New function.
18816 (build_id_debug_filename_get): Rewrite to use it.
18817 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18818
621661e3
MR
188192014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18820
18821 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18822 `method(long)', not just 0x0.
18823 * gdb.cp/nsalias.exp: Align code labels to 4.
18824 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18825 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18826 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18827 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18828 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18829 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18830
29f0c3b7
DE
188312014-12-02 Doug Evans <dje@google.com>
18832
e1e061e7 18833 PR symtab/17602
29f0c3b7 18834 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18835 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18836 * gdb.cp/anon-ns.exp: Update.
18837
162078c8
NB
188382014-12-02 Nick Bull <nicholaspbull@gmail.com>
18839
18840 * gdb.python/py-events.py (inferior_call_handler): New.
18841 (register_changed_handler, memory_changed_handler): New.
18842 (test_events.invoke): Register new handlers.
18843 * gdb.python/py-events.exp: Add tests for inferior call,
18844 memory_changed and register_changed events.
18845
fdb09caf
AA
188462014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18847
18848 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18849 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18850 if the linker doesn't understand this.
18851
55cfb2c4
SM
188522014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18853
18854 * gdb.python/python.exp: Change expected reply to help().
18855
9e8cd6df
YQ
188562014-12-01 Yao Qi <yao@codesourcery.com>
18857
18858 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18859 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18860 * configure: Re-generated.
18861
6c659fc2
SC
188622014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18863
18864 * gdb.cp/chained-calls.cc: New file.
18865 * gdb.cp/chained-calls.exp: New file.
18866 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18867
d7fc3181
SM
188682014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18869
18870 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18871 * gdb.dwarf2/symtab-producer.exp: Same.
18872 * gdb.gdb/python-interrupts.exp: Same.
18873 * gdb.gdb/python-selftest.exp: Same.
18874 * gdb.python/py-linetable.exp: Same.
18875 * gdb.python/py-type.exp: Same.
18876 * gdb.python/py-value-cc.exp: Same.
18877 * gdb.python/py-value.exp: Same.
18878
10e79639
YQ
188792014-11-28 Yao Qi <yao@codesourcery.com>
18880
18881 * gdb.base/break-probes.exp: Match library name prefixed with
18882 sysroot.
18883
f28a0564
SM
188842014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18885
18886 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18887 test expected output. Add parentheses for the call to print.
18888 Remove L suffix from integers.
18889
3fe1ce1d
DE
188902014-11-26 Doug Evans <dje@google.com>
18891
18892 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18893
84429e27
YQ
188942014-11-22 Yao Qi <yao@codesourcery.com>
18895
18896 * gdb.trace/entry-values.c: Remove asms.
18897 (foo): Add foo_label.
18898 (bar): Add bar_label.
18899 * gdb.trace/entry-values.exp: Remove code computing foo's
18900 length and bar's length.
18901 (Dwarf::assemble): Invoke function_range for bar and use
18902 MACRO_AT_func for foo.
18903
26741859
YQ
189042014-11-22 Yao Qi <yao@codesourcery.com>
18905
18906 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18907 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18908 Use .Lgcc43_procstart instead of gcc43.
18909
45e44d27
JB
189102014-11-21 Joel Brobecker <brobecker@adacore.com>
18911
18912 * gdb.ada/n_arr_bound: New testcase.
18913
458c8db8
SDJ
189142014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18915
18916 PR breakpoints/10737
18917 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18918 test_catch_syscall_multi_arch.
18919 (test_catch_syscall_multi_arch): New function.
18920
43f3e411
DE
189212014-11-20 Doug Evans <xdje42@gmail.com>
18922
18923 * gdb.base/maint.exp: Update expected output.
18924
0d7b2549
AA
189252014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18926
18927 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18928 4-byte instruction on S390.
18929
8908fca5
JB
189302014-11-19 Joel Brobecker <brobecker@adacore.com>
18931
18932 * gdb.ada/arr_arr: New testcase.
18933
4a46959e
JB
189342014-11-19 Joel Brobecker <brobecker@adacore.com>
18935
18936 * gdb.ada/pkd_arr_elem: New Testcase.
18937
470e2f4e
LM
189382014-11-18 Luis Machado <lgustavo@codesourcery.com>
18939
18940 * gdb.reverse/break-precsave: Expect completion message for
18941 core file reads.
18942 * gdb.reverse/consecutive-precsave.exp: Likewise.
18943 * gdb.reverse/finish-precsave.exp: Likewise.
18944 * gdb.reverse/i386-precsave.exp: Likewise.
18945 * gdb.reverse/machinestate-precsave.exp: Likewise.
18946 * gdb.reverse/sigall-precsave.exp: Likewise.
18947 * gdb.reverse/solib-precsave.exp: Likewise.
18948 * gdb.reverse/step-precsave.exp: Likewise.
18949 * gdb.reverse/until-precsave.exp: Likewise.
18950 * gdb.reverse/watch-precsave.exp: Likewise.
18951
a267f3ad
AA
189522014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18953
18954 * gdb.base/bp-permanent.c: Include unistd.h.
18955 * gdb.python/py-framefilter-mi.c (main): Add return type.
18956 * gdb.python/py-framefilter.c (main): Likewise.
18957 * gdb.trace/actions-changed.c (main): Likewise.
18958
12084a9a
AA
189592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18960
18961 * gdb.mi/until.c: Add eye-catchers.
18962 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18963 line numbers.
18964
dc7e1a77
AA
189652014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18966
18967 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18968 function header variants in break1.c.
18969 * gdb.base/ena-dis-br.exp: Likewise.
18970 * gdb.base/hbreak2.exp: Likewise.
18971 * gdb.reverse/until-precsave.exp: Drop references to removed
18972 non-prototype function header variants in ur1.c.
18973 * gdb.reverse/until-reverse.exp: Likewise.
18974
41c77605
PM
189752014-11-17 Petr Machata <pmachata@redhat.com>
18976
18977 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18978 ${_cu_offset_size} bytes abbrev offset.
18979
34248c3a
DE
189802014-11-15 Doug Evans <xdje42@gmail.com>
18981
18982 PR symtab/17559
18983 * gdb.base/line-symtabs.exp: New file.
18984 * gdb.base/line-symtabs.c: New file.
18985 * gdb.base/line-symtabs.h: New file.
18986
646da059
YQ
189872014-11-14 Yao Qi <yao@codesourcery.com>
18988
18989 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18990 (func): Add label func_label.
18991 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18992 Replace low_pc and high_pc with MACRO_AT_range.
18993 Replace name, low_pc and high_pc with MACRO_AT_func.
18994
9301ebe6
YQ
189952014-11-14 Yao Qi <yao@codesourcery.com>
18996
18997 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18998 Replace name, low_pc and high_pc with MACRO_AT_func.
18999
f166b542
YQ
190002014-11-14 Yao Qi <yao@codesourcery.com>
19001
19002 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19003 produce debug information.
19004 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19005
0f6e71e3
YQ
190062014-11-14 Yao Qi <yao@codesourcery.com>
19007
19008 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19009 object and get function length.
19010 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19011 with MACRO_AT_func.
19012 (top-level): Replace gdb_compile and clean_restart with
19013 prepare_for_testing.
19014 * gdb.dwarf2/main.c (main): Add label main_label.
19015
876c4df9
YQ
190162014-11-14 Yao Qi <yao@codesourcery.com>
19017
19018 * lib/dwarf.exp (function_range): New procedure.
19019 (Dwarf::_handle_macro_at_func): New procedure.
19020 (Dwarf::_handle_macro_at_range): New procedure.
19021 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19022
02ad9cf1
YQ
190232014-11-14 Yao Qi <yao@codesourcery.com>
19024
19025 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19026 (_handle_attribute): New procedure.
19027
a59add0c
AA
190282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19029
19030 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19031 * gdb.base/call-sc.c (zed): Likewise.
19032 * gdb.base/checkpoint.c (main): Likewise.
19033 * gdb.base/dump.c (main): Likewise.
19034 * gdb.base/gcore.c (main): Likewise.
19035 * gdb.base/huge.c (main): Likewise.
19036 * gdb.base/multi-forks.c (main): Likewise.
19037 * gdb.base/pr10179-a.c (main): Likewise.
19038 * gdb.base/savedregs.c (main): Likewise.
19039 * gdb.base/sigaltstack.c (main): Likewise.
19040 * gdb.base/siginfo.c (main): Likewise.
19041 * gdb.base/structs.c (zed): Likewise.
19042 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19043 * gdb.mi/mi-syn-frame.c (main): Likewise.
19044 * gdb.mi/until.c (foo, main): Likewise.
19045 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19046 * gdb.base/solib-weak.c (foo): Declare.
19047 * gdb.base/attach-twice.c: Include stdio.h.
19048 * gdb.base/weaklib1.c: Likewise.
19049 * gdb.base/weaklib2.c: Likewise.
19050 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19051 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19052 unistd.h.
19053 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19054 * gdb.mi/mi-exit-code.c: Likewise.
19055 * gdb.base/break-interp-lib.c: Include string.h.
19056 * gdb.base/coremaker.c: Likewise.
19057 * gdb.base/testenv.c: Likewise.
19058 * gdb.python/py-finish-breakpoint.c: Likewise.
19059 * gdb.base/inferior-died.c: Include sys/wait.h.
19060 * gdb.base/fileio.c: Include time.h.
19061 * gdb.base/async-shell.c: Include unistd.h.
19062 * gdb.base/dprintf-non-stop.c: Likewise.
19063 * gdb.base/info-os.c: Likewise.
19064 * gdb.mi/mi-console.c: Likewise.
19065 * gdb.mi/watch-nonstop.c: Likewise.
19066 * gdb.python/py-events.c: Likewise.
19067 * gdb.base/async.c (baz): Move up before its invocation.
19068 * gdb.base/code_elim2.c (my_global_func): Likewise.
19069 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19070 * gdb.base/advance.c (func2): Likewise.
19071
3b5d5997
AA
190722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19073
19074 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19075 variant.
19076 * gdb.base/annota3.c: Likewise.
19077 * gdb.base/async.c: Likewise.
19078 * gdb.base/average.c: Likewise.
19079 * gdb.base/call-ar-st.c: Likewise.
19080 * gdb.base/call-rt-st.c: Likewise.
19081 * gdb.base/call-sc.c: Likewise.
19082 * gdb.base/call-strs.c: Likewise.
19083 * gdb.base/ending-run.c: Likewise.
19084 * gdb.base/execd-prog.c: Likewise.
19085 * gdb.base/exprs.c: Likewise.
19086 * gdb.base/foll-exec.c: Likewise.
19087 * gdb.base/foll-fork.c: Likewise.
19088 * gdb.base/foll-vfork.c: Likewise.
19089 * gdb.base/funcargs.c: Likewise.
19090 * gdb.base/gcore.c: Likewise.
19091 * gdb.base/jump.c: Likewise.
19092 * gdb.base/langs0.c: Likewise.
19093 * gdb.base/langs1.c: Likewise.
19094 * gdb.base/langs2.c: Likewise.
19095 * gdb.base/mips_pro.c: Likewise.
19096 * gdb.base/nodebug.c: Likewise.
19097 * gdb.base/opaque0.c: Likewise.
19098 * gdb.base/opaque1.c: Likewise.
19099 * gdb.base/recurse.c: Likewise.
19100 * gdb.base/run.c: Likewise.
19101 * gdb.base/scope0.c: Likewise.
19102 * gdb.base/scope1.c: Likewise.
19103 * gdb.base/setshow.c: Likewise.
19104 * gdb.base/setvar.c: Likewise.
19105 * gdb.base/shmain.c: Likewise.
19106 * gdb.base/shr1.c: Likewise.
19107 * gdb.base/shr2.c: Likewise.
19108 * gdb.base/sigall.c: Likewise.
19109 * gdb.base/signals.c: Likewise.
19110 * gdb.base/so-indr-cl.c: Likewise.
19111 * gdb.base/solib2.c: Likewise.
19112 * gdb.base/structs.c: Likewise.
19113 * gdb.base/sum.c: Likewise.
19114 * gdb.base/vforked-prog.c: Likewise.
19115 * gdb.base/watchpoint.c: Likewise.
19116 * gdb.reverse/shr2.c: Likewise.
19117 * gdb.reverse/until-reverse.c: Likewise.
19118 * gdb.reverse/ur1.c: Likewise.
19119 * gdb.reverse/watch-reverse.c: Likewise.
19120
066a77c5
AA
191212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19122
19123 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19124 variant.
19125 * gdb.base/sepdebug.exp: Drop references to removed code.
19126
4f204ea5
AA
191272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19128
19129 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19130 variant. Preserve original line numbering.
19131 * gdb.base/list1.c: Likewise.
19132
3b377a3a
AA
191332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19134
19135 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19136 variant.
19137 * gdb.base/break1.c: Likewise.
19138 * gdb.base/break.exp: Drop references to removed code.
19139
e444df73
AA
191402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19141
19142 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19143 variant.
19144
8008f2a7
AA
191452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19146
19147 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19148
a5a06887
AA
191492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19150
19151 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19152 logic into perform_all_tests() and invoke it with and without
19153 function header prototypes.
19154 (do_function_calls): Remove conditional XFAIL for PR 5318.
19155 (rerun_and_prepare): Remove duplicate code.
19156 (perform_all_tests): New. Main logic moved here.
19157
44dba9b9
AA
191582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19159
19160 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19161 code guarded by #ifdef NO_PROTOTYPES.
19162 (t_double_many_args): Likewise.
19163 (DEF_FUNC_MANY_ARGS_1): Likewise.
19164 (DEF_FUNC_VALUES_1): Likewise.
19165 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19166 guarded by #ifdef PROTOTYPES.
19167
d1fbcd56
AA
191682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19169
19170 * gdb.mi/mi-console.c: Add eye-catcher.
19171 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19172 instead of literal line number.
19173
b0e59b8f
AA
191742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19175
19176 * gdb.base/shr2.c: Add eye-catcher.
19177 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19178 line number.
19179
78f98cca
AA
191802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19181
19182 * gdb.base/jump.c: Add eye-catchers.
19183 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19184 numbers.
19185
58fa2af0
AA
191862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19187
19188 * gdb.base/execd-prog.c: Add eye-catchers.
19189 * gdb.base/foll-exec.c: Likewise.
19190 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19191 line numbers.
19192
04e5059b
AA
191932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19194
19195 * gdb.base/ending-run.c: Add eye-catchers.
19196 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19197 literal line numbers.
19198
dbfdb174
AA
191992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19200
19201 * gdb.base/call-rt-st.c: Add eye-catchers.
19202 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19203 literal line numbers.
19204
888a2ade
AA
192052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19206
19207 * gdb.base/call-ar-st.c: Add eye-catchers.
19208 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19209 literal line numbers.
19210
6acc2dde
AA
192112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19212
19213 * gdb.base/average.c: Add eye-catchers.
19214 * gdb.base/sum.c: Likewise.
19215 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19216 regexps dynamically.
19217
9ecfcd1d
AA
192182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19219
19220 * gdb.base/solib1.c: Add eye-catchers.
19221 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19222 literal line numbers.
19223
78708b7c
PA
192242014-11-12 Pedro Alves <palves@redhat.com>
19225
19226 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19227 leader has exited.
19228
af48d08f
PA
192292014-11-12 Pedro Alves <palves@redhat.com>
19230
19231 * gdb.arch/i386-bp_permanent.c: New file.
19232 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19233 (srcfile): Set to i386-bp_permanent.c.
19234 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19235 that stepi does not execute the 'leave' instruction, instead of
19236 testing it does execute.
19237 * gdb.base/bp-permanent.c: New file.
19238 * gdb.base/bp-permanent.exp: New file.
19239
af3768e9
DE
192402014-11-10 Doug Evans <xdje42@gmail.com>
19241
19242 PR symtab/17564
19243 * gdb.base/symtab-search-order.exp: New file.
19244 * gdb.base/symtab-search-order.c: New file.
19245 * gdb.base/symtab-search-order-1.c: New file.
19246 * gdb.base/symtab-search-order-shlib-1.c: New file.
19247
9de00a4a
PA
192482014-11-07 Pedro Alves <palves@redhat.com>
19249
19250 PR gdb/17511
19251 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19252 i?86-*-linux*.
19253
e0f52461
SC
192542014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19255
19256 PR c++/17494
19257 * gdb.cp/pr17494.cc: New file.
19258 * gdb.cp/pr17494.exp: New file.
19259
6ce8c980
YQ
192602014-11-02 Yao Qi <yao@codesourcery.com>
19261
19262 * gdb.python/python.exp: Get working directory and match the
19263 output of "set extended-prompt \\w " with it.
19264
02be9a71
DE
192652014-10-30 Doug Evans <dje@google.com>
19266
19267 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19268 in objfiles.
19269 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19270 in progspaces.
19271
3bdff46b
LM
192722014-10-30 Janis Johnson <janisjo@codesourcery.com>
19273
19274 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19275 * gdb.base/realname-expand.exp: Likewise.
19276 * gdb.linespec/macro-relative.exp: Likewise.
19277
ab917dfb
PA
192782014-10-29 Pedro Alves <palves@redhat.com>
19279
19280 PR gdb/17408
19281 * gdb.threads/schedlock.c (some_function): New function.
19282 (call_function): New global.
19283 (MAYBE_CALL_SOME_FUNCTION): New macro.
19284 (thread_function): Call it.
19285 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19286 and use it instead of a global counter. Adjust all callers.
19287 (get_current_thread): Use "find current thread" for test message
19288 here rather than having all callers pass down the same string.
19289 (goto_loop): New procedure, factored out from ...
19290 (my_continue): ... this.
19291 (step_ten_loops): Change parameter from test message to command to
19292 use. Adjust.
19293 (list_count): Delete global.
19294 (check_result): New procedure, factored out from duplicate top
19295 level code.
19296 (continue tests): Wrap in with_test_prefix.
19297 (test_step): New procedure, factored out from duplicate top level
19298 code.
19299 (top level): Test "step" in combination with all scheduler-locking
19300 modes. Test "next" in combination with all scheduler-locking
19301 modes, and in combination with stepping over a function call or
19302 not.
19303 * gdb.threads/next-bp-other-thread.c: New file.
19304 * gdb.threads/next-bp-other-thread.exp: New file.
19305
d3d4baed
PA
193062014-10-29 Pedro Alves <palves@redhat.com>
19307
19308 PR python/17372
19309 * gdb.python/python.exp: Test a multi-line command that spawns
19310 interactive Python.
19311 * gdb.base/multi-line-starts-subshell.exp: New file.
19312
563e8d85
YQ
193132014-10-29 Yao Qi <yao@codesourcery.com>
19314
19315 * gdb.base/fileio.exp: Make directories on host.
19316
0ea4d52e
YQ
193172014-10-29 Yao Qi <yao@codesourcery.com>
19318
19319 * gdb.base/fileio.c (test_write): Close the file.
19320
7f5ef605
PA
193212014-10-28 Pedro Alves <palves@redhat.com>
19322
19323 PR gdb/12623
19324 * gdb.base/sigstep.c (no_handler): New global.
19325 (main): If 'no_handler is true, set the signal handlers to
19326 SIG_IGN.
19327 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19328 with_sw_watch and no_handler parameters. Handle them.
19329 (top level) <stepping over handler when stopped at a breakpoint
19330 test>: Add a test axis for testing with a software watchpoint, and
19331 another for testing with the signal handler set to SIG_IGN.
19332 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19333 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19334
abbdbd03
PA
193352014-10-28 Pedro Alves <palves@redhat.com>
19336
19337 PR gdb/17511
19338 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19339 * gdb.base/sigstep.exp (other_handler_location): New global.
19340 (advance): Support stepping into the signal handler, and running
19341 commands while in the handler.
19342 (in_handler_map): New global.
19343 (top level): In the advance test, add combinations for getting
19344 into the handler with stepping commands, and for running commands
19345 in the handler. Add comment descripting the advancei tests.
19346
1df4399f
PA
193472014-10-28 Pedro Alves <palves@redhat.com>
19348
19349 * gdb.base/sigstep.exp: Use build_executable instead of
19350 prepare_for_testing.
19351 (top level): Move code that starts GDB, runs to main and creates a
19352 display to ...
19353 (restart): ... this new procedure.
19354 (top level): Move backtrace from signal handler test to ...
19355 (validate_backtrace): ... this new procedure.
19356 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19357 with_test_prefix. Always restart GDB.
19358 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19359 with_test_prefix. Always restart GDB. No need to delete
19360 breakpoints after the test.
19361 (test_skip_handler): Remove prefix parameter.
19362 (skip_over_handler, breakpoint_to_handler)
19363 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19364 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19365 restart GDB. No need to delete breakpoints after the test.
19366 (top level): Use foreach to call the test procedures with
19367 different commands.
19368
a5b6e449
PA
193692014-10-28 Pedro Alves <palves@redhat.com>
19370
19371 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19372 instead of GNATS numbers.
19373 * gdb.base/sigbpt.exp: Likewise.
19374 * gdb.base/siginfo.exp: Likewise.
19375 * gdb.base/sigstep.exp: Likewise.
19376
e5f8a7cc
PA
193772014-10-27 Pedro Alves <palves@redhat.com>
19378
19379 * gdb.base/sigstep.c (dummy): New global.
19380 (main): Issue a couple writes to the new global.
19381 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19382 procedures.
19383 (skip_over_handler): Use test_skip_handler.
19384 (top level): Call skip_over_handler for stepi and nexti too.
19385 (breakpoint_over_handler): Use test_skip_handler.
19386 (top level): Call breakpoint_over_handler for stepi and nexti too.
19387
763905a3
YQ
193882014-10-27 Yao Qi <yao@codesourcery.com>
19389
19390 * gdb.trace/tfile.c (adjust_function_address)
19391 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19392 function descriptor.
19393
6f259a23
DB
193942014-10-24 Don Breazeal <donb@codesourcery.com>
19395
19396 * gdb.base/foll-fork.exp (test_follow_fork,
19397 catch_fork_child_follow): Check for updated fork messages emitted
19398 from infrun.c.
19399 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19400 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19401 vfork_and_exec_child_follow_through_step): Check for updated vfork
19402 messages emitted from infrun.c.
19403
09dd9a69
PA
194042014-10-24 Pedro Alves <palves@redhat.com>
19405
19406 * gdb.base/corefile.exp: Remove references to ultrix.
19407 * gdb.base/interrupt.exp: Likewise.
19408 * gdb.base/whatis.exp: Likewise.
19409 * gdb.gdb/selftest.exp: Likewise.
19410 * gdb.threads/manythreads.exp: Likewise.
19411 * gdb.threads/print-threads.exp: Likewise.
19412 * gdb.threads/pthreads.exp:: Likewise.
19413 * gdb.threads/schedlock.exp: Likewise.
19414
3433cfa5
SC
194152014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19416
19417 * gdb.cp/non-trivial-retval.cc: Add a test case.
19418 * gdb.cp/non-trivial-retval.exp: Add a test.
19419
092f880b
YQ
194202014-10-20 Yao Qi <yao@codesourcery.com>
19421
19422 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19423 * gdb.python/py-objfile-script-gdb.py: New file.
19424 * gdb.python/py-objfile-script.exp: Update reference to
19425 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19426 of remote_download. Remove the dest file.
19427
acbdb7f3
YQ
194282014-10-20 Yao Qi <yao@codesourcery.com>
19429
19430 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19431 * gdb.base/step-line.exp: Likewise.
19432 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19433 * gdb.dwarf2/dw2-basic.exp: Likewise.
19434 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19435 * gdb.dwarf2/dw2-filename.exp: Likewise.
19436 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19437 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19438 * gdb.dwarf2/dw2-producer.exp: Likewise.
19439 * gdb.dwarf2/mac-fileno.exp: Likewise.
19440 * gdb.python/py-frame-args.exp: Likewise.
19441 * gdb.python/py-framefilter.exp: Likewise.
19442 * gdb.python/py-mi.exp: Likewise.
19443 * gdb.python/py-objfile-script.exp: Likewise
19444 * gdb.python/py-pp-integral.exp: Likewise.
19445 * gdb.python/py-pp-re-notag.exp: Likewise.
19446 * gdb.python/py-prettyprint.exp: Likewise.
19447 * gdb.python/py-section-script.exp: Likewise.
19448 * gdb.python/py-typeprint.exp: Likewise.
19449 * gdb.python/py-xmethods.exp: Likewise.
19450 * gdb.stabs/weird.exp: Likewise.
19451 * gdb.xml/tdesc-regs.exp: Likewise.
19452
bd286a29
KCY
194532014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19454
19455 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19456 (out_cu): Use addr_len for the size of addresses.
19457 (out_line): Likewise. Size DW_LNE_set_address instruction
19458 according to addr_len.
19459 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19460 (FUNC): Add START_INSNS to definition.
19461
673dc4a0
YQ
194622014-10-18 Yao Qi <yao@codesourcery.com>
19463
19464 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19465 gdb_has_argv0 return true.
19466 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19467 check [target_info exists noargs], check [gdb_has_argv0]
19468 instead.
19469 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19470 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19471 procedures.
19472
4ffbba72
DE
194732014-10-17 Doug Evans <dje@google.com>
19474
19475 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19476 event.
19477 * gdb.python/py-events.py: Add clear_objfiles event.
19478
d096d8c1
DE
194792014-10-17 Doug Evans <dje@google.com>
19480
19481 * gdb.python/py-objfile.exp: Test progspace attribute.
19482
a80db015
LM
194832014-10-17 Luis Machado <lgustavo@codesourcery.com>
19484
19485 * gdb.guile/scm-breakpoint.exp: Do not assume any
19486 directory separators when matching source file paths.
19487 * gdb.python/py-breakpoint.exp: Likewise.
19488 * gdb.reverse/break-precsave.exp: Likewise.
19489 * gdb.reverse/break-reverse.exp: Likewise.
19490 * gdb.reverse/consecutive-precsave.exp: Likewise.
19491 * gdb.reverse/finish-precsave.exp: Likewise.
19492 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19493 * gdb.reverse/finish-reverse.exp: Likewise.
19494 * gdb.reverse/i386-precsave.exp: Likewise.
19495 * gdb.reverse/i387-env-reverse.exp: Likewise.
19496 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19497 * gdb.reverse/machinestate-precsave.exp: Likewise.
19498 * gdb.reverse/machinestate.exp: Likewise.
19499 * gdb.reverse/sigall-precsave.exp: Likewise.
19500 * gdb.reverse/solib-precsave.exp: Likewise.
19501 * gdb.reverse/step-precsave.exp: Likewise.
19502 * gdb.reverse/until-precsave.exp: Likewise.
19503 * gdb.reverse/watch-precsave.exp: Likewise.
19504 * gdb.reverse/watch-reverse.exp: Likewise.
19505
b22089ab
YQ
195062014-10-17 Yao Qi <yao@codesourcery.com>
19507
19508 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19509 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19510
6c4486e6
PA
195112014-10-17 Pedro Alves <palves@redhat.com>
19512
19513 PR gdb/17471
19514 * gdb.base/bg-execution-repeat.c: New file.
19515 * gdb.base/bg-execution-repeat.exp: New file.
19516
0ff33695
PA
195172014-10-17 Pedro Alves <palves@redhat.com>
19518
19519 PR gdb/17300
19520 * gdb.base/continue-all-already-running.c: New file.
19521 * gdb.base/continue-all-already-running.exp: New file.
19522
6fdebc3d
PA
195232014-10-17 Pedro Alves <palves@redhat.com>
19524
19525 PR gdb/17472
19526 * gdb.base/annota-input-while-running.c: New file.
19527 * gdb.base/annota-input-while-running.exp: New file.
19528
32a8097b
PA
195292014-10-17 Pedro Alves <palves@redhat.com>
19530
19531 * gdb.base/callfuncs.exp: emove references to osf.
19532 * gdb.base/sigall.exp: Likewise.
19533 * gdb.gdb/selftest.exp: Likewise.
19534 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19535 * gdb.mi/non-stop.c: Likewise.
19536 * gdb.mi/pthreads.c: Likewise.
19537 * gdb.reverse/sigall-precsave.exp: Likewise.
19538 * gdb.reverse/sigall-reverse.exp: Likewise.
19539 * gdb.threads/pthreads.c: Likewise.
19540 * gdb.threads/pthreads.exp: Likewise.
19541
7a3517ff
YQ
195422014-10-17 Yao Qi <yao@codesourcery.com>
19543
19544 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19545 check 'target_info exists noargs'.
19546 (test_command_prompt_position): Likewise.
19547 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19548 Remove "set args".
19549 (progvar_simple_while_test): Likewise.
19550 (progvar_complex_if_while_test): Likewise.
19551 (if_while_breakpoint_command_test): Likewise.
19552 (infrun_breakpoint_command_test): Likewise.
19553 (breakpoint_command_test): Likewise.
19554 (watchpoint_command_test): Likewise.
19555 (bp_deleted_in_command_test): Likewise.
19556 (temporary_breakpoint_commands): Likewise.
19557
bb99c472
YQ
195582014-10-16 Yao Qi <yao@codesourcery.com>
19559
19560 * gdb.base/remotetimeout.exp: Remove noargs checking.
19561
7c16b83e
PA
195622014-10-15 Pedro Alves <palves@redhat.com>
19563
19564 PR breakpoints/9649
19565 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19566 * gdb.base/breakpoint-in-ro-region.exp
19567 (probe_target_hardware_step): New procedure.
19568 (top level): Probe hardware stepping and hardware breakpoint
19569 support. Test stepping through a read-only region, with both
19570 "breakpoint auto-hw" on and off and both "always-inserted" on and
19571 off.
19572
35a49624
IB
195732014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19574
19575 * gdb.dlang/demangle.exp: Update for demangling changes.
19576
2d1c107c
SC
195772014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19578
19579 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19580 * gdb.cp/non-trivial-retval.exp: Add new tests.
19581
778811d5
SC
195822014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19583
19584 PR c++/13403
19585 PR c++/15154
19586 * gdb.cp/non-trivial-retval.cc: New file.
19587 * gdb.cp/non-trivial-retval.exp: New file.
19588
10c5f0a8
YQ
195892014-10-15 Yao Qi <yao@codesourcery.com>
19590
19591 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19592 remote host.
19593
65d7b369
YQ
195942014-10-15 Yao Qi <yao@codesourcery.com>
19595
19596 * gdb.python/py-symbol.exp: Match file base name if host is
19597 remote, otherwise match file name with dir name.
19598 * gdb.python/py-symtab.exp: Likewise.
19599 * gdb.python/python.exp: Likewise.
19600
46dc1394
YQ
196012014-10-15 Yao Qi <yao@codesourcery.com>
19602
19603 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19604 pattern.
19605 * gdb.python/py-symtab.exp: Likewise.
19606 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19607 locationn.
19608
c40cc657
JB
196092014-10-14 Joel Brobecker <brobecker@adacore.com>
19610
19611 * gdb.ada/addr_arith: New testcase.
19612
2abf49e1
MR
196132014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19614
19615 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19616 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19617 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19618 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19619
f7088df3
SDJ
196202014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19621
19622 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19623 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19624 * gdb.arch/stap-eval-lang-ada.exp: New file.
19625
4dc06805
YQ
196262014-10-14 Yao Qi <yao@codesourcery.com>
19627
19628 * gdb.mi/mi-var-child.c (nothing1): New function.
19629 (nothing2): New function.
19630 (do_children_tests): Set function pointers by nothing1 and
19631 nothing2.
19632 * gdb.mi/mi-var-child.exp: Step over new added statements.
19633 Update test to match the new output.
19634 * gdb.mi/var-cmd.c (nothing1): New function.
19635 (nothing2): New function.
19636 (do_children_tests): Set function pointers by nothing1 and
19637 nothing2.
19638 * gdb.mi/mi-var-display.exp: Update test to match output.
19639 Step to the line specified by $line_dct_nothing.
19640 Increase the number of lines to step.
19641
46a93de2
YQ
196422014-10-14 Yao Qi <yao@codesourcery.com>
19643
19644 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19645 tests.
19646 * gdb.mi/mi2-var-child.exp: Likewise.
19647
14ea52ee
DE
196482014-10-13 Doug Evans <dje@google.com>
19649
19650 * gdb.python/py-objfile.exp: Change name of file name test.
19651
e5c6e92b
DE
196522014-10-13 Doug Evans <dje@google.com>
19653
19654 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19655 from the start of the CU.
19656
c780cc2f
JK
196572014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19658 Yao Qi <yao@codesourcery.com>
19659
19660 Fix "save breakpoints" for "catch" command.
19661 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19662 Remove -nonewline. Match also the added "main" line.
19663
99894e11
JK
196642014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19665
19666 Fix "save breakpoints" for "disable $bpnum" command.
19667 * gdb.base/save-bp.c (main): Add label.
19668 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19669
6e1ac5a3
JK
196702014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19671
19672 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19673
754dd2b0
YQ
196742014-10-11 Yao Qi <yao@codesourcery.com>
19675
19676 * gdb.server/server-kill.exp: Execute command
19677 "set remote trace-status-packet on" before "tstatus".
19678
f90183d7
YQ
196792014-10-11 Yao Qi <yao@codesourcery.com>
19680
19681 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19682 (main): Call getppid.
19683 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19684 and continue to it. Read variable "server_pid".
19685
bf40a607
YQ
196862014-10-11 Yao Qi <yao@codesourcery.com>
19687
19688 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19689
052ca370
YQ
196902014-10-11 Yao Qi <yao@codesourcery.com>
19691
19692 * gdb.threads/thread-find.exp: Don't execute command
19693 "info threads".
19694 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19695 * gdb.threads/linux-dp.exp: Don't check the condition
19696 $threads_created equals to zero.
19697
3831839c
PA
196982014-10-10 Pedro Alves <palves@redhat.com>
19699
19700 * gdb.base/bigcore.exp: Remove references to IRIX.
19701 * gdb.base/funcargs.exp: Likewise.
19702 * gdb.base/interrupt.exp: Likewise.
19703 * gdb.base/mips_pro.exp: Likewise.
19704 * gdb.base/nodebug.exp: Likewise.
19705 * gdb.base/setvar.exp: Likewise.
19706 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19707
8b9a549d
PA
197082014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19709 Pedro Alves <palves@redhat.com>
19710
19711 PR symtab/14466
19712 * gdb.base/vdso-warning.c: New file.
19713 * gdb.base/vdso-warning.exp: New file.
19714
d48ba5e8
DE
197152014-10-02 Doug Evans <dje@google.com>
19716
19717 * gdb.base/structs.c (main): Don't run forever.
19718
2278c276
PA
197192014-10-02 Pedro Alves <palves@redhat.com>
19720
19721 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19722 (top level) <stop threads 1, stop threads 2>: Use it.
19723
b57bacec
PA
197242014-10-02 Pedro Alves <palves@redhat.com>
19725
19726 * gdb.threads/break-while-running.exp (test): Add new
19727 'update_thread_list' argument. Skip "info threads" if false.
19728 (top level): Add new 'update_thread_list' axis.
19729
13fd3ff3
PA
197302014-10-02 Pedro Alves <palves@redhat.com>
19731
19732 PR breakpoints/17431
19733 * gdb.base/execl-update-breakpoints.c: New file.
19734 * gdb.base/execl-update-breakpoints.exp: New file.
19735
0fec99e8
PA
197362014-10-01 Pedro Alves <palves@redhat.com>
19737
19738 * gdb.base/breakpoint-in-ro-region.c: New file.
19739 * gdb.base/breakpoint-in-ro-region.exp: New file.
19740
2ddf4301
SM
197412014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19742
19743 * gdb.mi/mi-exit-code.exp: New file.
19744 * gdb.mi/mi-exit-code.c: New file.
19745
6a5f3f43
YQ
197462014-09-30 Yao Qi <yao@codesourcery.com>
19747
19748 * lib/prelink-support.exp (build_executable_own_libs): Error if
19749 the target isn't native.
19750
345bcc73
YQ
197512014-09-30 Yao Qi <yao@codesourcery.com>
19752
19753 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19754 false.
19755
a25a5a45
PA
197562014-09-22 Pedro Alves <palves@redhat.com>
19757
19758 * gdb.threads/break-while-running.exp: New file.
19759 * gdb.threads/break-while-running.c: New file.
19760
00ba3162
YQ
197612014-09-19 Yao Qi <yao@codesourcery.com>
19762
19763 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19764 Invoke test. Restart GDB with --readnow and invoke test again.
19765
c3b7b696
YQ
197662014-09-19 Yao Qi <yao@codesourcery.com>
19767
19768 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19769 proc set_breakpoint_on_gcd_function. Invoke
19770 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19771 invoke set_breakpoint_on_gcd_function again.
19772
2b4fd423
DE
197732014-09-18 Doug Evans <dje@google.com>
19774
19775 * gdb.dwarf2/symtab-producer.exp: New file.
19776
a5947601
SDJ
197772014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19778
19779 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19780 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19781 * gdb.base/global-var-nested-by-dso.c: Likewise.
19782 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19783
91c19059
SDJ
197842014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19785 Pedro Alves <palves@redhat.com>
19786
19787 * gdb.base/watch-bitfields.exp: Pass string other than test file
19788 name to prepare_for_testing.
19789 (watch): New procedure.
19790 (expect_watchpoint): Use with_test_prefix.
19791 (top level): Factor out tests to ...
19792 (test_watch_location, test_regular_watch): ... these new
19793 procedures, and use with_test_prefix and gdb_continue_to_end.
19794
bb9d5f81
PP
197952014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19796
19797 PR breakpoints/12526
19798 * gdb.base/watch-bitfields.exp: New file.
19799 * gdb.base/watch-bitfields.c: New file.
19800
635856f5
PA
198012014-09-16 Pedro Alves <palves@redhat.com>
19802
19803 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19804 software and hardware addresses, not software address against
19805 itself.
19806
7280ceea
PA
198072014-09-16 Pedro Alves <palves@redhat.com>
19808
19809 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19810 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19811
428b16bd
PA
198122014-09-16 Pedro Alves <palves@redhat.com>
19813
19814 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19815 files.
19816 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19817 "*-*-vxworks*" throughout.
19818 * gdb.base/break.exp: Likewise.
19819 * gdb.base/default.exp: Likewise.
19820 * gdb.base/scope.exp: Likewise.
19821 * gdb.base/sepdebug.exp: Likewise.
19822 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19823 throughout.
19824 * gdb.base/run.c: Likewise.
19825 * gdb.base/sepdebug.c: Likewise.
19826 * gdb.hp/gdb.aCC/run.c: Likewise.
19827 * gdb.reverse/until-reverse.c: Likewise.
19828 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19829
666d413c
YQ
198302014-09-16 Yao Qi <yao@codesourcery.com>
19831
19832 * boards/local-remote-host-native.exp: New file.
19833
57cbd724
DE
198342014-09-14 Doug Evans <xdje42@gmail.com>
19835
19836 * gdb.threads/queue-signal.c (thread_count): New variable.
19837 (thread_count_mutex, thread_count_condvar): New variables.
19838 (incr_thread_count, wait_all_threads_running): New functions.
19839 (main): Wait for all threads to be in their thread functions.
19840
81219e53
DE
198412014-09-13 Doug Evans <xdje42@gmail.com>
19842
19843 * gdb.threads/queue-signal.c: New file.
19844 * gdb.threads/queue-signal.exp: New file.
19845
3714cea7
DE
198462014-09-13 Doug Evans <xdje42@gmail.com>
19847
19848 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19849 be consistent with what default_gdb_init uses.
19850 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19851 the plain text of the prompt. Add some logging printfs.
19852 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19853
fa43b1d7
PA
198542014-09-12 Pedro Alves <palves@redhat.com>
19855
19856 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19857 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19858 * gdb.arch/i386-size-overlap.exp: Likewise.
19859 * gdb.arch/i386-size.exp: Likewise.
19860 * gdb.arch/i386-unwind.exp: Likewise.
19861 * gdb.base/a2-run.exp: Likewise.
19862 * gdb.base/break.exp: Likewise.
19863 * gdb.base/charset.exp: Likewise.
19864 * gdb.base/chng-syms.exp: Likewise.
19865 * gdb.base/commands.exp: Likewise.
19866 * gdb.base/dbx.exp: Likewise.
19867 * gdb.base/find.exp: Likewise.
19868 * gdb.base/funcargs.exp: Likewise.
19869 * gdb.base/jit-simple.exp: Likewise.
19870 * gdb.base/reread.exp: Likewise.
19871 * gdb.base/sepdebug.exp: Likewise.
19872 * gdb.base/step-bt.exp: Likewise.
19873 * gdb.cp/mb-inline.exp: Likewise.
19874 * gdb.cp/mb-templates.exp: Likewise.
19875 * gdb.objc/basicclass.exp: Likewise.
19876 * gdb.threads/killed.exp: Likewise.
19877
9d9bf2df
EBM
198782014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19879
19880 PR tdep/17379
19881 * gdb.arch/powerpc-stackless.S: New file.
19882 * gdb.arch/powerpc-stackless.exp: New file.
19883
1cf2f1b0
JK
198842014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19885
19886 * gdb.base/attach.c: Include unistd.h.
19887 (main): Call alarm. Add label postloop.
19888 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19889 gdb_breakpoint, gdb_continue_to_breakpoint.
19890 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19891
98880d46
PA
198922014-09-11 Pedro Alves <palves@redhat.com>
19893
19894 PR gdb/17347
19895 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19896 * gdb.base/attach.exp (test_command_line_attach_run): New
19897 procedure.
19898 (top level): Call it.
19899
4c92ff2c
PA
199002014-09-11 Pedro Alves <palves@redhat.com>
19901
19902 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19903 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19904 (do_command_attach_tests): Use spawn_wait_for_attach.
19905 * gdb.base/solib-overlap.exp: Likewise.
19906 * gdb.multi/multi-attach.exp: Likewise.
19907 * gdb.python/py-prompt.exp: Likewise.
19908 * gdb.python/py-sync-interp.exp: Likewise.
19909 * gdb.server/ext-attach.exp: Likewise.
19910
3adc1a7d
GKB
199112014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19912
19913 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19914 command in testcase. Simplify testcase.
19915
96334934
JB
199162014-09-10 Joel Brobecker <brobecker@adacore.com>
19917
19918 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19919
eb479039
JB
199202014-09-10 Joel Brobecker <brobecker@adacore.com>
19921
19922 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19923
deede10c
JB
199242014-09-10 Joel Brobecker <brobecker@adacore.com>
19925
19926 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19927
7828a5f5
JB
199282014-09-10 Joel Brobecker <brobecker@adacore.com>
19929
19930 * gdb.dwarf2/dynarr-ptr.c: New file.
19931 * gdb.dwarf2/dynarr-ptr.exp: New file.
19932
33aeebcf
MR
199332014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19934
19935 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19936 of 30 rather than hardcoding 120 for a slow test case. Take the
19937 `gdb,timeout' target setting into account for this calculation.
19938 Don't extend the timeout for the test cases that don't need it.
19939
7b415901
MR
199402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19941
19942 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19943 a factor of 2 for a slow test case. Take the `gdb,timeout'
19944 target setting into account for this calculation.
19945 * gdb.reverse/until-precsave.exp: Increase the timeout by
19946 a factor of 15 and 3 respectively rather than adding 120
19947 for a pair of slow test cases. Take the `gdb,timeout'
19948 target setting into account for this calculation.
19949
4a40f85a
MR
199502014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19951
19952 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19953 timeout, don't pass one down to gdb_expect.
19954 (gdb_expect): Rework timeout selection.
19955
09635af7
MR
199562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19957
19958 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19959 exception on timeout.
19960 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19961 (gdbserver_start_extended): Catch any `gdbserver_start' error
19962 exceptions.
19963 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19964 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19965 `gdbserver_gdb_load' error exceptions.
19966
2bdd10b7
MR
199672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19968
19969 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19970 120 on waiting for the TCP socket to open.
19971
316935f0
DE
199722014-09-09 Doug Evans <xdje42@gmail.com>
19973
19974 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19975 _caller_matches, _any_caller_is, _any_caller_matches.
19976
83740597
DE
199772014-09-09 Doug Evans <xdje42@gmail.com>
19978
19979 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19980
4c122fc3
YQ
199812014-09-09 Yao Qi <yao@codesourcery.com>
19982
19983 * gdb.mi/mi-var-display.exp: Set print symbol off.
19984
a9f116cb
GKB
199852014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19986
19987 PR gdb/17035
19988 * gdb.base/commands.exp: Add tests to verify user-defined
19989 commands with empty bodies.
19990 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19991 python commands in `show user command`.
19992 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19993 scheme commands in `show user command`.
19994
c75bd3a2
JK
199952014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19996
19997 PR python/17355
19998 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19999 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20000 * gdb.python/py-framefilter-invalidarg.exp: New file.
20001 * gdb.python/py-framefilter-invalidarg.py: New file.
20002
faa42425
DE
200032014-09-06 Doug Evans <xdje42@gmail.com>
20004
20005 PR 15276
20006 * gdb.python/py-caller-is.c: New file.
20007 * gdb.python/py-caller-is.exp: New file.
20008
474ca4f6
SDJ
200092014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20010
20011 PR gdb/17235
20012 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20013 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20014
eb0b0463
SDJ
200152014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20016
20017 PR fortran/17237
20018 * gdb.fortran/print-formatted.exp: New file.
20019 * gdb.fortran/print-formatted.f90: Likewise.
20020
5f3b99cf
SS
200212014-09-03 Sasha Smundak <asmundak@google.com>
20022
20023 * gdb.python/py-frame.exp: Test Frame.read_register.
20024
7d793aa9
SDJ
200252014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20026
20027 PR python/16699
20028 * gdb.python/py-completion.exp: New file.
20029 * gdb.python/py-completion.py: Likewise.
20030
fb0576e9
DE
200312014-08-28 Doug Evans <dje@google.com>
20032
20033 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20034 eax,etc. are live with values set by gdb and thus the compiler can't
20035 use them.
20036 * gdb.arch/i386-pseudo.c (main): Ditto.
20037
ee92b0dd
DE
200382014-08-27 Doug Evans <dje@google.com>
20039
20040 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20041
6649db35
DE
200422014-08-25 Doug Evans <dje@google.com>
20043
20044 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20045 (main): Ditto.
20046
564b7600
DE
200472014-08-25 Doug Evans <dje@google.com>
20048
20049 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20050
3881fb67
YQ
200512014-08-24 Yao Qi <yao@codesourcery.com>
20052
20053 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20054 symbol off.
20055 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20056
a05a36a5
DE
200572014-08-22 Doug Evans <dje@google.com>
20058
20059 PR 17276
20060 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20061 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20062 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20063
7c343b48
YQ
200642014-08-22 Yao Qi <yao@codesourcery.com>
20065
20066 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20067 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20068 * gdb.python/python.exp: Likewise. Use .py file on the host
20069 instead of the build.
20070
22fd09ae
JK
200712014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20072
20073 * gdb.threads/gcore-stale-thread.c: New file.
20074 * gdb.threads/gcore-stale-thread.exp: New file.
20075
a8454a7c
PA
200762014-08-21 Pedro Alves <palves@redhat.com>
20077
20078 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20079 * gdb.base/gcore-relro-pie.exp: Likewise.
20080 * gdb.base/gcore-relro.exp: Likewise.
20081 * gdb.base/gcore.exp: Likewise.
20082 * gdb.base/print-symbol-loading.exp: Likewise.
20083 * gdb.threads/gcore-thread.exp: Likewise.
20084 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20085
2a31c623
PA
200862014-08-20 Pedro Alves <palves@redhat.com>
20087 Jan Kratochvil <jan.kratochvil@redhat.com>
20088
20089 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20090 configure.
20091 (EXPECT): Handle READ1 being set.
20092 (all): Depend on EXTRA_RULES.
20093 (check-read1, expect-read1, read1.so, read1): New rules.
20094 * README (Testsuite Parameters): Document the READ1 make variable.
20095 (Race detection): New section.
20096 * configure: Regenerate.
20097 * configure.ac: If build==host==target, and running under a
20098 GNU/glibc system, add read1 to the extra Makefile rules.
20099 (EXTRA_RULES): AC_SUBST it.
20100 * lib/read1.c: New file.
20101
d36430db
JB
201022014-08-20 Joel Brobecker <brobecker@adacore.com>
20103
20104 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20105 the handling of variables declared as a typedef to an array
20106 which a DW_AT_data_location attribute.
20107
9a0dc9e3
PA
201082014-08-19 Andrew Burgess <aburgess@broadcom.com>
20109 Pedro Alves <palves@redhat.com>
20110
20111 PR symtab/14604
20112 PR symtab/14605
20113 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20114 gdb_test.
20115
0718a8da
PA
201162014-08-19 Pedro Alves <palves@redhat.com>
20117
20118 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20119
13b448cd
YQ
201202014-08-19 Yao Qi <yao@codesourcery.com>
20121
20122 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20123 right line.
20124
1cbf5077
DB
201252014-08-18 David Blaikie <dblaikie@gmail.com>
20126
20127 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20128
bf0fae19
JB
201292014-08-18 Joel Brobecker <brobecker@adacore.com>
20130
20131 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20132 attribute in array range.
20133
3c8c5dcc
JB
201342014-08-18 Joel Brobecker <brobecker@adacore.com>
20135
20136 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20137
e66d4446
SC
201382014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20139
20140 PR c++/17132
20141 * gdb.cp/pr17132.cc: New file.
20142 * gdb.cp/pr17132.exp: New file.
20143
940df408
SC
201442014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20145
20146 * gdb.python/py-xmethods.py (A_getarrayind)
20147 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20148 Use 'print' with function call syntax.
20149 (E_method_matcher.match): Fix tab vs space indentation mixup.
20150
ebcc6c3a
YQ
201512014-08-15 Yao Qi <yao@codesourcery.com>
20152
20153 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20154 false.
20155
775e0f04
YQ
201562014-08-15 Yao Qi <yao@codesourcery.com>
20157
20158 * gdb.cp/casts.exp: Set print symbol off.
20159 * gdb.cp/class2.exp: Likewise.
20160 * gdb.cp/overload.exp: Likewise.
20161 * gdb.cp/templates.exp: Likewise.
20162
d769e349
DE
201632014-08-11 Doug Evans <dje@google.com>
20164
20165 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20166 (test_load_shlib): Update.
20167
20c6f1e1
YQ
201682014-08-09 Yao Qi <yao@codesourcery.com>
20169
20170 * gdb.base/display.exp: Invoke is_address_zero_readable.
20171 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20172 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20173 * gdb.base/hbreak-unmapped.exp: Return if
20174 is_address_zero_readable returns true.
20175 * gdb.base/signest.exp: Likewise.
20176 * gdb.base/signull.exp: Likewise.
20177 * gdb.base/sigbpt.exp: Likewise.
20178 * gdb.guile/scm-disasm.exp: Do the test if
20179 is_address_zero_readable returns false.
20180 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20181 * gdb.python/py-arch.exp: Likewise.
20182 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20183 * lib/gdb.exp (is_address_zero_readable): New proc.
20184
5792e8e3
YQ
201852014-08-09 Yao Qi <yao@codesourcery.com>
20186
20187 PR testsuite/13443
20188 * gdb.mi/mi-var-display.exp: Make test messages unique.
20189
3cecbbbe
TT
201902014-08-04 Tom Tromey <tromey@redhat.com>
20191
20192 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20193 target 0".
20194
00b51ff5
TT
201952014-08-04 Tom Tromey <tromey@redhat.com>
20196
20197 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20198 "target_resume".
20199
6908c509
JB
202002014-08-01 Joel Brobecker <brobecker@adacore.com>
20201
20202 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20203 inner_vla_struct_object_size.
20204 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20205 as xfail.
20206
cc6563d2
PA
202072014-07-30 Pedro Alves <palves@redhat.com>
20208
20209 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20210 comment.
20211
7e09a223
YQ
202122014-07-29 Yao Qi <yao@codesourcery.com>
20213
20214 PR gdb/17206
20215 * gdb.base/until-nodebug.exp: New.
20216
7ebdbe92
DE
202172014-07-28 Doug Evans <xdje42@gmail.com>
20218
20219 PR guile/17203
20220 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20221 previously existing parameter, and previously ambiguously spelled
20222 parameter.
20223
fdb1adc6
WN
202242014-07-28 Will Newton <will.newton@linaro.org>
20225
20226 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20227
186fcde0
DE
202282014-07-26 Ludovic Courtès <ludo@gnu.org>
20229 Doug Evans <xdje42@gmail.com>
20230
20231 PR guile/17146
20232 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20233
70509625
PA
202342014-07-25 Pedro Alves <palves@redhat.com>
20235
20236 * gdb.threads/signal-command-handle-nopass.c: New file.
20237 * gdb.threads/signal-command-handle-nopass.exp: New file.
20238 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20239 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20240 * gdb.threads/signal-delivered-right-thread.c: New file.
20241 * gdb.threads/signal-delivered-right-thread.exp: New file.
20242
c3f814a1
PA
202432014-07-25 Pedro Alves <palves@redhat.com>
20244
20245 * gdb.base/double-prompt-target-event-error.exp
20246 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20247 match.
20248 (cancel_pagination_in_target_event): Rework double prompt
20249 detection.
20250 * gdb.base/paginate-after-ctrl-c-running.exp
20251 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20252 <return>' match.
20253 * gdb.base/paginate-bg-execution.exp
20254 (test_bg_execution_pagination_return)
20255 (test_bg_execution_pagination_cancel): Remove '-notransfer
20256 <return>' matches.
20257 * gdb.base/paginate-execution-startup.exp
20258 (test_fg_execution_pagination_return)
20259 (test_fg_execution_pagination_cancel): Remove '-notransfer
20260 <return>' matches.
20261 * gdb.base/paginate-inferior-exit.exp
20262 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20263 match.
20264 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20265 * lib/gdb.exp (pagination_prompt): Run text through
20266 string_to_regexp.
20267 (gdb_test_multiple): Match $pagination_prompt instead of
20268 "<return>".
20269 (string_to_regexp): Move to lib/gdb-utils.exp.
20270
e214cf6c
JK
202712014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20272
20273 * gdb.arch/amd64-entry-value-paramref.S: New file.
20274 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20275 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20276 * gdb.arch/amd64-optimout-repeat.S: New file.
20277 * gdb.arch/amd64-optimout-repeat.c: New file.
20278 * gdb.arch/amd64-optimout-repeat.exp: New file.
20279
17d0c5c8
JK
202802014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20281
20282 PR gdb/17170
20283 * gdb.base/statistics.exp: New file.
20284
b8b8facf
DE
202852014-07-17 Doug Evans <dje@google.com>
20286
74b49205 20287 PR gdb/17170
b8b8facf
DE
20288 * gdb.base/maint.exp: Update testing of per-command stats.
20289
1b5d0ab3
PA
202902014-07-16 Pedro Alves <palves@redhat.com>
20291
20292 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20293 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20294 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20295 (tfile_write_buf): New functions.
20296 (add_memory_block): Rewrite using the above.
20297 (adjust_function_address): New function.
20298 (FUNCTION_ADDRESS): New macro.
20299 (write_basic_trace_file): Remove short_x local, and use
20300 tfile_write_16. Change type of func_addr local to unsigned long
20301 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20302 here. Cast argument of add_memory_block to char pointer.
20303 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20304 (main): Remove parameters.
20305 * gdb.trace/tfile.exp: Remove nowarnings.
20306
4d974e88
SM
203072014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20308
20309 * gdb.base/debug-expr.exp: Test string evaluation with
20310 "debug expression" on.
20311
41e99568
PA
203122014-07-15 Pedro Alves <palves@redhat.com>
20313
20314 * gdb.base/reread.exp: Use clean_restart.
20315
487d9753
PL
203162014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20317
20318 * gdb.arch/avr-flash-qualifer.c: New.
20319 * gdb.arch/avr-flash-qualifer.exp: New.
20320
cc1c52ad
PA
203212014-07-14 Pedro Alves <palves@redhat.com>
20322
20323 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20324 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20325
1e973570
PA
203262014-07-14 Pedro Alves <palves@redhat.com>
20327
20328 * gdb.base/double-prompt-target-event-error.c: New file.
20329 * gdb.base/double-prompt-target-event-error.exp: New file.
20330
93d6eb10
PA
203312014-07-14 Pedro Alves <palves@redhat.com>
20332
20333 PR gdb/17072
20334 * gdb.base/paginate-inferior-exit.c: New file.
20335 * gdb.base/paginate-inferior-exit.exp: New file.
20336
0017922d
PA
203372014-07-14 Pedro Alves <palves@redhat.com>
20338
20339 PR gdb/17072
20340 * gdb.base/paginate-bg-execution.c: New file.
20341 * gdb.base/paginate-bg-execution.exp: New file.
20342
94696ad3
PA
203432014-07-14 Pedro Alves <palves@redhat.com>
20344
20345 PR gdb/17072
20346 * gdb.base/paginate-execution-startup.c: New file.
20347 * gdb.base/paginate-execution-startup.exp: New file.
20348 * lib/gdb.exp (pagination_prompt): New global.
20349 (default_gdb_spawn): New procedure, factored out from
20350 default_gdb_spawn.
20351 (default_gdb_start): Adjust to call default_gdb_spawn.
20352 (gdb_spawn): New procedure.
20353
bd293940
PA
203542014-07-14 Pedro Alves <palves@redhat.com>
20355
20356 * lib/gdb.exp (gdb_assert): New procedure.
20357 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20358
c933f875
PA
203592014-07-14 Pedro Alves <palves@redhat.com>
20360
20361 * gdb.base/execution-termios.c: New file.
20362 * gdb.base/execution-termios.exp: New file.
20363
d98b7a16
TT
203642014-07-14 Tom Tromey <tromey@redhat.com>
20365
20366 * gdb.cp/vla-cxx.cc: New file.
20367 * gdb.cp/vla-cxx.exp: New file.
20368
548740d6
TT
203692014-07-14 Tom Tromey <tromey@redhat.com>
20370
20371 * gdb.reverse/rerun-prec.c: New file.
20372 * gdb.reverse/rerun-prec.exp: New file.
20373
a25eb028
MR
203742014-07-12 Maciej W. Rozycki <macro@mips.com>
20375 Maciej W. Rozycki <macro@codesourcery.com>
20376
20377 * lib/gdb-utils.exp: New file.
20378 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20379 inline `gdb_init_command' processing.
20380 (gdb_start_cmd): Likewise.
20381 * lib/mi-support.exp (mi_run_cmd): Likewise.
20382 * README: Document `gdb_init_command' and `gdb_init_commands'.
20383
218c2655
JK
203842014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20385
20386 Fix false FAIL running under a very long directory name.
20387 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20388 and "set print elements 10000". Twice.
20389
5401fde3
YQ
203902014-07-11 Yao Qi <yao@codesourcery.com>
20391
20392 * gdb.base/exprs.exp: "set print symbol off".
20393
e76126e8
PA
203942014-07-11 Pedro Alves <palves@redhat.com>
20395
20396 * gdb.threads/kill.c: New file.
20397 * gdb.threads/kill.exp: New file.
20398
2d6f0de6
YQ
203992014-07-10 Yao Qi <yao@codesourcery.com>
20400
20401 * gdb.trace/tfile.c (write_basic_trace_file)
20402 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20403 address written to trace file.
20404
7180e04a
PA
204052014-07-09 Pedro Alves <palves@redhat.com>
20406
20407 * gdb.base/attach-wait-input.exp: New file.
20408 * gdb.base/attach-wait-input.c: New file.
20409
9a9a7608
AB
204102014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20411
20412 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20413 setting up test structures.
20414 (main): Call new test function.
20415 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20416 test function, continue into test function and walk test
20417 structures.
20418
161ac41e
YQ
204192014-07-02 Yao Qi <yao@codesourcery.com>
20420
20421 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20422 'bar_start' at the beginning of functions 'foo' and 'bar'
20423 respectively.
20424 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20425 instead of 'foo' and 'bar'.
20426
1f267ae3
MM
204272014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20428
20429 * gdb.btrace/segv.exp: New.
20430 * gdb.btrace/segv.c: New.
20431
2b239efb
LM
204322014-07-02 Luis Machado <lgustavo@codesourcery.com>
20433
20434 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20435 instruction.
20436
cf363f18
MW
204372014-06-30 Mark Wielaard <mjw@redhat.com>
20438
20439 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20440 vulture, vilify, villar): New volatile array constants.
20441 (vindictive, vegetation): New const volatile array constants.
20442 * gdb.base/volatile.exp: Test volatile and const volatile array
20443 types.
20444
aebf9d24
AA
204452014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20446
20447 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20448 target lacks support for awatch, rwatch, or hbreak.
20449
b67a2c6f
YQ
204502014-06-27 Yao Qi <yao@codesourcery.com>
20451
20452 * gdb.multi/dummy-frame-restore.exp: New.
20453 * gdb.multi/dummy-frame-restore.c: New.
20454
aef92902
MM
204552014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20456
20457 * gdb.btrace/gcore.exp: New.
20458
8e9db26e
PA
204592014-06-23 Pedro Alves <palves@redhat.com>
20460
20461 * gdb.base/watchpoint-reuse-slot.c: New file.
20462 * gdb.base/watchpoint-reuse-slot.exp: New file.
20463
70afc5b7
SC
204642014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20465
20466 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20467 progspace's filename in 'info', 'enable' and 'disable' command
20468 tests.
20469
b972bd9c
JK
204702014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20471
20472 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20473 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20474 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20475
125f8a3d
GB
204762014-06-20 Gary Benson <gbenson@redhat.com>
20477
20478 * gdb.arch/i386-avx.exp: Fix include file location.
20479 * gdb.arch/i386-sse.exp: Likewise.
20480
3ed9baed
IB
204812014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20482
20483 * gdb.dlang/expression.exp: New file.
20484
034f788c
PA
204852014-06-19 Pedro Alves <palves@redhat.com>
20486
20487 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20488 out from ...
20489 (top level): ... here. Iterate running tests under different
20490 scheduler-locking settings.
20491
45371d0c
LM
204922014-06-18 Luis Machado <lgustavo@codesourcery.com>
20493
20494 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20495 to DW_FORM_addr and use non-zero addresses.
20496
5d376983
SC
204972014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20498
20499 PR gdb/17017
20500 * gdb.python/py-xmethods.cc: Add global function call counters and
20501 increment them in their respective functions. Remove "cout"
20502 statements.
20503 * gdb.python/py-xmethods.exp: Make tests check the global function
20504 call counters instead of depending on inferior IO.
20505
a1aa2221
LM
205062014-06-18 Don Breazeal <donb@codesourcery.com>
20507
20508 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20509 Deleted procedure.
20510 (explicit_fork_parent_follow): Deleted procedure.
20511 (explicit_fork_child_follow): Deleted procedure.
20512 (test_follow_fork): New procedure.
20513 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20514 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20515 procedure calls.
20516
0fc05997
YQ
205172014-06-17 Yao Qi <yao@codesourcery.com>
20518
20519 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20520 CP1252.
20521
70795c52
LM
205222014-06-17 Luis Machado <lgustavo@codesourcery.com>
20523
20524 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20525 Initialize ptr and S explicitly.
20526 (skip_type_update_when_not_use_rtti_test): Likewise.
20527
6be47f0c
KS
205282014-06-16 Keith Seitz <keiths@redhat.com>
20529
20530 PR mi/15863
20531 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20532 the inferior is started.
20533
d03de421
PA
205342014-06-16 Pedro Alves <palves@redhat.com>
20535
20536 * gdb.base/break-main-file-remove-fail.c: New file.
20537 * gdb.base/break-main-file-remove-fail.exp: New file.
20538 * gdb.base/break-unload-file.exp: Use build_executable instead of
20539 prepare_for_testing.
20540 (test_break): New parameter "initial_load". Handle it.
20541 (top level): Add initial_load cmdline/file axis.
20542
f9579b99
TT
205432014-06-12 Tom Tromey <tromey@redhat.com>
20544
20545 * gdb.base/completion.exp: Don't use directory name in test.
20546
3657956b
GB
205472014-06-09 Gary Benson <gbenson@redhat.com>
20548
20549 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20550 separate the always-available ANSI-standard signals from the
20551 signals that require checking.
20552 (main): Likewise.
20553 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20554 Likewise.
20555 (main): Likewise.
20556
4186eb54
KS
205572014-06-07 Keith Seitz <keiths@redhat.com>
20558
20559 Revert:
20560 PR c++/16253
20561 * gdb.cp/var-tag.cc: New file.
20562 * gdb.cp/var-tag.exp: New file.
20563 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20564 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20565 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20566 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20567
25326a28 205682014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
20569
20570 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20571
829155c9
PA
205722014-06-06 Pedro Alves <palves@redhat.com>
20573
20574 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20575 in target debug output instead of looking at RSP packets,
20576 disabling the test on any target that uses hardware stepping.
20577 Update comments.
20578
61c8d22e
PA
205792014-06-06 Pedro Alves <palves@redhat.com>
20580
20581 * gdb.base/break-unload-file.exp: Fix typo.
20582
d9a47287
YQ
205832014-06-06 Yao Qi <yao@codesourcery.com>
20584
20585 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20586 from "jit_function" to "^jit_function".
20587
e5e01dbf
YQ
205882014-06-06 Yao Qi <yao@codesourcery.com>
20589
20590 * gdb.base/async.c (foo): Add one statement.
20591 * gdb.base/async.exp: Get the next instruction address and
20592 match the output of "nexti" by instruction address. Match
20593 the hex address in the output of "finish".
20594
73ba372c
GB
205952014-06-06 Gary Benson <gbenson@redhat.com>
20596
20597 * gdb.base/call-signals.c: Remove preprocessor conditionals
20598 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20599 SIGSEGV and SIGTERM.
20600 * gdb.base/sigall.c: Likewise.
20601 * gdb.base/unwindonsignal.c: Likewise.
20602 * gdb.reverse/sigall-reverse.c: Likewise.
20603
831517df
YQ
206042014-06-06 Yao Qi <yao@codesourcery.com>
20605
20606 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20607 readable, skip the test.
20608
b8b91e98
YQ
206092014-06-06 Yao Qi <yao@codesourcery.com>
20610
20611 * gdb.threads/staticthreads.c (thread_function): Move the line
20612 setting breakpoint on forward.
20613 * gdb.threads/staticthreads.exp: Update comments.
20614
fb934770
LC
206152014-06-05 Ludovic Courtès <ludo@gnu.org>
20616
20617 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20618 "history-append! type error".
20619
6ef284bd
SM
206202014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20621
20622 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20623 erroneous dprintf expected input.
20624
a872e241
DE
206252014-06-04 Doug Evans <xdje42@gmail.com>
20626
20627 * gdb.guile/scm-generics.exp: Delete.
20628
16f691fb
DE
206292014-06-04 Doug Evans <xdje42@gmail.com>
20630
20631 * gdb.guile/scm-breakpoint.exp: Update.
20632 Add tests for breakpoint registration.
20633
012370f6
TT
206342014-06-04 Tom Tromey <tromey@redhat.com>
20635
20636 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20637 VLA-in-union.
20638 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20639 inner_vla_struct, vla_union types. Initialize objects of those
20640 types and compute their sizes.
20641
9f5a4cef
HZ
206422014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20643 Hui Zhu <hui@codesourcery.com>
20644
20645 * gdb.base/fileio.exp: Add test for shell not available as well as
20646 available.
20647 * gdb.base/fileio.c (test_system): Check for shell twice.
20648
90a45c4d
YQ
206492014-06-04 Yao Qi <yao@codesourcery.com>
20650
20651 * gdb.base/auto-connect-native-target.exp: Remove redundant
20652 space from the regexp pattern.
20653
70017e41
YQ
206542014-06-04 Yao Qi <yao@codesourcery.com>
20655
20656 * gdb.base/default.exp: Replace "child" with "native" in
20657 regexp pattern.
20658
883964a7
SC
206592014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20660
20661 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20662 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20663 * gdb.python/py-xmethods.py: Python script supporting the
20664 new testcase and tests.
20665
ef370185
JB
206662014-06-03 Joel Brobecker <brobecker@adacore.com>
20667 Pedro Alves <palves@redhat.com>
20668
20669 PR breakpoints/17000
20670 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20671 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20672
1e2ccb61
BM
206732014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20674
20675 * gdb.base/subst.exp: Add tests to verify partial path matching
20676 output.
20677
c6ec5ab2
PA
206782014-06-03 Pedro Alves <palves@redhat.com>
20679
20680 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20681 target that doesn't use software single-stepping.
20682
835c559f
PA
206832014-06-03 Pedro Alves <palves@redhat.com>
20684
20685 PR breakpoints/17000
20686 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20687 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20688
06eb1586
DE
206892014-06-02 Doug Evans <xdje42@gmail.com>
20690
20691 * gdb.guile/scm-parameter.exp: New file.
20692
e698b8c4
DE
206932014-06-02 Doug Evans <xdje42@gmail.com>
20694
20695 * gdb.guile/scm-cmd.c: New file.
20696 * gdb.guile/scm-cmd.exp: New file.
20697
ded03782
DE
206982014-06-02 Doug Evans <xdje42@gmail.com>
20699
20700 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20701 pretty-printer lookup.
20702 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20703 (make-pp_s-printer): Call it.
20704 (make-pretty-printer-from-dict): New function.
20705 (lookup-pretty-printer-maker-from-dict): New function.
20706 (*pretty-printer*): Simplify.
20707 (make-objfile-pp_s-printer): New function.
20708 (install-objfile-pretty-printers!): New function.
20709 (make-progspace-pp_s-printer): New function.
20710 (install-progspace-pretty-printers!): New function.
20711 * gdb.guile/scm-progspace.c: New file.
20712 * gdb.guile/scm-progspace.exp: New file.
20713
41fac0cf
PA
207142014-06-02 Pedro Alves <palves@redhat.com>
20715
20716 * gdb.base/dprintf-bp-same-addr.c: New file.
20717 * gdb.base/dprintf-bp-same-addr.exp: New file.
20718
96ae5695
EBM
207192014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20720
20721 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20722 * gdb.arch/powerpc-power.s: Likewise.
20723
da02b3a8
JB
207242014-06-02 Joel Brobecker <brobecker@adacore.com>
20725
20726 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20727
c72b2e7b
YQ
207282014-06-01 Yao Qi <yao@codesourcery.com>
20729
20730 * gdb.base/watchpoint.exp (test_watch_location): Check null
20731 pointer can be dereferenced. If not, do the test, otherwise
20732 skip it.
20733
53e8a631
AB
207342014-05-30 Andrew Burgess <aburgess@broadcom.com>
20735
20736 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20737 results.
20738 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20739
938f0e2f
AB
207402014-05-30 Andrew Burgess <aburgess@broadcom.com>
20741
20742 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20743 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20744 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20745 * gdb.arch/amd64-invalid-stack-top.c: New file.
20746 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20747
9ba6657a
PA
207482014-05-30 Pedro Alves <palves@redhat.com>
20749
20750 PR breakpoints/17000
20751 * gdb.base/sss-bp-on-user-bp.c: New file.
20752 * gdb.base/sss-bp-on-user-bp.exp: New file.
20753
522c09bf
DB
207542014-05-30 David Blaikie <dblaikie@gmail.com>
20755
20756 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20757 gnu_inline semantics via attribute.
20758 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20759 source explicitly specifies the required semantics.
20760
bf4ef81e
MR
207612014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20762
20763 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20764
329ea579
PA
207652014-05-29 Pedro Alves <palves@redhat.com>
20766 Tom Tromey <tromey@redhat.com>
20767
20768 * gdb.base/async-shell.exp: Don't enable target-async.
20769 * gdb.base/async.exp
20770 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20771 parameter. Adjust.
20772 (top level): Don't test with "target-async".
20773 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20774 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20775 * gdb.base/inferior-died.exp: Don't enable target-async.
20776 * gdb.base/interrupt-noterm.exp: Likewise.
20777 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20778 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20779 * gdb.mi/mi-nonstop.exp: Likewise.
20780 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20781 * gdb.mi/mi-nsintrall.exp: Likewise.
20782 * gdb.mi/mi-nsmoribund.exp: Likewise.
20783 * gdb.mi/mi-nsthrexec.exp: Likewise.
20784 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20785 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20786 * gdb.python/py-evsignal.exp: Don't enable target-async.
20787 * gdb.python/py-evthreads.exp: Likewise.
20788 * gdb.python/py-prompt.exp: Likewise.
20789 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20790 * gdb.server/solib-list.exp: Don't enable target-async.
20791 * gdb.threads/thread-specific-bp.exp: Likewise.
20792 * lib/mi-support.exp: Adjust to use mi-async.
20793
fd664c91
PA
207942014-05-29 Pedro Alves <palves@redhat.com>
20795
20796 PR gdb/13860
20797 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20798 reason, even in sync mode.
20799
251bde03
PA
208002014-05-29 Pedro Alves <palves@redhat.com>
20801 Hui Zhu <hui@codesourcery.com>
20802
20803 PR PR15693
20804 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20805 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20806 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20807 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20808
7f3c0343
JB
208092014-05-28 Joel Brobecker <brobecker@adacore.com>
20810
20811 * config/monitor.exp (gdb_target_monitor): Replace use of
20812 "set remotebaud" by "set serial baud".
20813
b2715b27
AW
208142014-05-26 Andy Wingo <wingo@igalia.com>
20815
20816 * gdb.guile/scm-breakpoint.exp:
20817 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20818 properties instead of gdb-object-properties.
20819
498a4489
YQ
208202014-05-26 Yao Qi <yao@codesourcery.com>
20821
20822 * gdb.server/no-thread-db.exp: Specify source file name
20823 explicitly when setting a breakpoint.
20824
589fdceb
MM
208252014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20826
20827 * gdb.btrace/vdso.c: New.
20828 * gdb.btrace/vdso.exp: New.
20829
e9089e05
MM
208302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20831
20832 * gdb.base/gcore.exp (capture_command_output): Move ...
20833 * lib/gdb.exp (capture_command_output): ... here.
20834
67b5c0c1
MM
208352014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20836
20837 * gdb.btrace/data.exp: Test memory access during btrace replay.
20838
a2199296
SM
208392014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20840
20841 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20842
17b2616c
PA
208432014-05-21 Pedro Alves <palves@redhat.com>
20844
20845 PR gdb/13860
20846 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20847 (top level): Test that output related to execution commands is
20848 sent to the console with CLI commands, but not with MI commands.
20849 Test that breakpoint events are always mirrored to the console.
20850 Also expect the new source line to be output after a "next" in
20851 async mode too. Make it a pass/fail test.
20852 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20853 output.
20854 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20855
5166082f
PA
208562014-05-21 Pedro Alves <palves@redhat.com>
20857
20858 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20859 Use them to test variations of "list" after reaching a breakpoint.
20860 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20861 Test "list" with listsize 10 after reaching a breakpoint.
20862 * gdb.python/python.exp (decode_line current location line
20863 number): Adjust expected line number.
20864
2f25d70f
SM
208652014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20866
20867 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20868 behavior for $args, pass it directly to "run".
20869
ff604a67
MR
208702014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20871
20872 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20873 30000 to 65536.
20874
6a3cb8e8
PA
208752014-05-21 Pedro Alves <palves@redhat.com>
20876
20877 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20878 auto-connect-native-target off".
20879 * gdb.base/auto-connect-native-target.c: New file.
20880 * gdb.base/auto-connect-native-target.exp: New file.
20881
4ebfc96e
PA
208822014-05-21 Pedro Alves <palves@redhat.com>
20883
20884 * gdb.base/default.exp: Test "target native" instead of "target
20885 child".
20886
36d46afb
MW
208872014-05-21 Mark Wielaard <mjw@redhat.com>
20888
20889 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20890
5876f503
JK
208912014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20892
20893 Fix TLS access for -static -pthread.
20894 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20895 <HAVE_TLS> (thread_function, main): Initialize it.
20896 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20897 Add clean_restart.
20898 <$have_tls != "">: Check TLSVAR.
20899
0256a6ac
PA
209002014-05-21 Pedro Alves <palves@redhat.com>
20901
20902 * gdb.base/dcache-line-read-error.c: New.
20903 * gdb.base/dcache-line-read-error.exp: New.
20904
936d2992
PA
209052014-05-20 Pedro Alves <palves@redhat.com>
20906
20907 * gdb.base/compare-sections.c: New file.
20908 * gdb.base/compare-sections.exp: New file.
20909
802e8e6d
PA
209102014-05-20 Pedro Alves <palves@redhat.com>
20911
20912 * gdb.base/break-idempotent.c: New file.
20913 * gdb.base/break-idempotent.exp: New file.
20914
e59fa00f
MM
209152014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20916
20917 * gdb.btrace/nohist.exp: New.
20918
8b696e31
YQ
209192014-05-20 Yao Qi <yao@codesourcery.com>
20920
20921 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20922 gdb.reverse directory and gdb_reverse_timeout exists in board
20923 setting.
20924 * README: Document gdb_reverse_timeout.
20925
73c9764f
YQ
209262014-05-20 Yao Qi <yao@codesourcery.com>
20927
20928 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20929 'test_file_name'. Treat args as a string instead of a list.
20930 (gdb_init): Rename argument 'args' by 'test_file_name'.
20931
f1f4348a
JK
209322014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20933
20934 * gdb.arch/powerpc-power.exp: New file.
20935 * gdb.arch/powerpc-power.s: New file.
20936
0dbe70ce
DE
209372014-05-16 Doug Evans <dje@google.com>
20938
20939 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20940 * gdb.base/completion.exp: Check that all expected files exist
20941 before doing file completion.
0dbe70ce 20942
8d551b02
DE
209432014-05-16 Doug Evans <dje@google.com>
20944
20945 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20946 Update.
20947 (do_syscall_tests_without_xml): Update.
20948
73eb7709
PA
209492014-05-16 Pedro Alves <palves@redhat.com>
20950
20951 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20952 instead of "unknown output after running".
20953
3fae92fc
YQ
209542014-05-16 Yao Qi <yao@codesourcery.com>
20955
20956 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20957 file1.txt from host at the end.
20958 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20959
c2b2ccc5
DE
209602014-05-15 Doug Evans <dje@google.com>
20961
20962 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20963 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20964 loading file. Add test for TU lookup.
20965
8c217a4b
SM
209662014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20967
20968 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20969 calling "-exec-arguments" or "set args" before running the
20970 inferior.
20971
3deb39c6
SM
209722014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20973
20974 * lib/mi-support.exp (mi_expect_stop): Expect message for
20975 inferiors that exit with non-zero exit code.
20976
71a79f8c
YQ
209772014-05-14 Yao Qi <yao@codesourcery.com>
20978
20979 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20980 match absolute path on remote host.
20981 (test_file_list_exec_source_files): Remove "/" from the
20982 pattern.
20983
f23fcd46
YQ
209842014-05-14 Yao Qi <yao@codesourcery.com>
20985
20986 * boards/local-remote-host-notty.exp (${board}_file): New
20987 proc.
20988
9404b58f
KM
209892014-05-07 Kyle McMartin <kyle@redhat.com>
20990
20991 Pushed by Joel Brobecker <brobecker@adacore.com>.
20992 * gdb.arch/aarch64-atomic-inst.c: New file.
20993 * gdb.arch/aarch64-atomic-inst.exp: New file.
20994
5e45f04c
YQ
209952014-05-07 Yao Qi <yao@codesourcery.com>
20996
20997 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20998 in current context" too.
20999
c888a17d
KS
210002014-05-05 Keith Seitz <keiths@redhat.com>
21001
21002 * gdb.linespec/ls-dollar.exp: Add test for linespec
21003 file:convenience_variable.
21004
290a839c
YQ
210052014-05-05 Yao Qi <yao@codesourcery.com>
21006
21007 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21008 traceframes into tfile and ctf trace files. Read data from
21009 trace file and test collected data.
21010 (gdb_collect_locals_test): Likewise.
21011 (gdb_unavailable_registers_test): Likewise.
21012 (gdb_unavailable_floats): Likewise.
21013 (gdb_collect_globals_test): Likewise.
21014 (top-level): Append "ctf" to trace_file_targets if GDB
21015 supports.
21016
b5262cd0
YQ
210172014-05-05 Yao Qi <yao@codesourcery.com>
21018
21019 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21020 code to ...
21021 (gdb_collect_args_test_1): ... it. New proc.
21022 (gdb_collect_locals_test): Move some code to ...
21023 (gdb_collect_locals_test_1): ... it. New proc.
21024 (gdb_unavailable_registers_test): Move some code to ...
21025 (gdb_unavailable_registers_test_1): ... it. New proc.
21026 (gdb_unavailable_floats): Move some code to ...
21027 (gdb_unavailable_floats_1): ... it. New proc.
21028
30a1e6cc
SDJ
210292014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21030
21031 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21032 probes to test for bitness recognition.
21033 * gdb.arch/amd64-stap-optional-prefix.exp
21034 (test_probe_value_without_reg): New procedure.
21035 Add code to test for different kinds of bitness.
21036
f33da99a
SDJ
210372014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21038
21039 PR breakpoints/16889
21040 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21041 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21042
5b80f00d
PA
210432014-05-01 Pedro Alves <palves@redhat.com>
21044
21045 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21046 gdb_file_cmd if no file is specified.
21047 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21048 last_loaded_file to set the remote exec-file.
21049
f8c2a73c
PA
210502014-05-01 Pedro Alves <palves@redhat.com>
21051
21052 * boards/local-remote-host.exp: New file.
21053
be6e8ac7
PA
210542014-05-01 Pedro Alves <palves@redhat.com>
21055
21056 * boards/local-remote-host.exp: Rename to ...
21057 * boards/local-remote-host-notty.exp: ... this.
21058
cac0dc8f
JB
210592014-04-28 Joel Brobecker <brobecker@adacore.com>
21060
21061 * gdb.ada/dyn_arrayidx: New testcase.
21062
9730e6cc
YQ
210632014-04-26 Yao Qi <yao@codesourcery.com>
21064
21065 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21066 and compute the length of function main. Save it in
21067 $main_length.
21068 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21069 (top-level): Use gdb_compile to compile objects into
21070 executable and restart GDB. Remove invocation to
21071 prepare_for_testing.
21072
7ae1a6a6
PA
210732014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21074 Pedro Alves <palves@redhat.com>
21075
21076 PR server/16255
21077 * gdb.multi/multi-attach.c: New file.
21078 * gdb.multi/multi-attach.exp: New file.
21079
4082afcc
PA
210802014-04-25 Pedro Alves <palves@redhat.com>
21081
21082 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21083 user.
21084 (top level): Test that "set remote conditional-breakpoints-packet
21085 off" works as intended.
21086 * gdb.base/dprintf.exp: Test that "set remote
21087 breakpoint-commands-packet off" works as intended.
21088 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21089 New function.
21090 (top level): Call it.
21091 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21092 remote fast-tracepoints-packet off" works as intended.
21093 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21094 * lib/gdb.exp (gdb_is_target_remote): ... here.
21095
2abc3f8d
DB
210962014-04-24 David Blaikie <dblaikie@gmail.com>
21097
21098 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21099 ensure clang would not discard them.
21100 * gdb.base/gdbvars.c: Ditto.
21101 * gdb.base/memattr.c: Ditto.
21102 * gdb.base/whatis.c: Ditto.
21103 * gdb.python/py-prettyprint.c: Ditto.
21104 * gdb.trace/actions.c: Ditto.
21105 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21106 ensure clang would not discard it.
21107
bfd39632
DB
211082014-04-24 David Blaikie <dblaikie@gmail.com>
21109
21110 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21111 clang to emit the full definition of type required by the test
21112 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21113
22842ff6
DB
211142014-04-24 David Blaikie <dblaikie@gmail.com>
21115
21116 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21117 coax Clang into emitting the definition of the type.
21118 * gdb.cp/pr10728-x.h (y): Ditto.
21119 * gdb.cp/pr10728-y.cc (y): Ditto.
21120
c2e827ad
DB
211212014-04-24 David Blaikie <dblaikie@gmail.com>
21122
21123 * gdb.base/label.exp: XFAIL label related tests under Clang.
21124 * gdb.cp/cplabel.exp: Ditto.
21125 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21126 under Clang those using labels.
21127
4c2d33e7
YQ
211282014-04-25 Yao Qi <yao@codesourcery.com>
21129
21130 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21131 double_label.
21132 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21133 partial_label and double_label.
21134
56083b99
DB
211352014-04-24 David Blaikie <dblaikie@gmail.com>
21136
21137 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21138
25d4e99d
DB
211392014-04-24 David Blaikie <dblaikie@gmail.com>
21140
21141 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21142 of the function to work across GCC and Clang.
21143 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21144 pointer types (const void ** const V void **).
21145
01f9f808
MS
211462014-04-24 Michael Sturm <michael.sturm@mintel.com>
21147 Walfred Tedeschi <walfred.tedeschi@intel.com>
21148
21149 * Makefile.in (EXECUTABLES): Added i386-avx512.
21150 * gdb.arch/i386-avx512.c: New file.
21151 * gdb.arch/i386-avx512.exp: Likewise.
21152
4b48d439
KS
211532014-04-23 Keith Seitz <keiths@redhat.com>
21154
21155 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21156 (mi_make_breakpoint_table): New procedure.
21157 (mi_create_breakpoint): Use mi_make_breakpoint
21158 and return the result.
21159 (mi_make_breakpoint): New procedure.
21160 (mi_build_kv_pairs): New procedure.
21161
21162 * gdb.mi/mi-break.exp: Remove unused globals,
21163 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21164 All callers updated.
21165 * gdb.mi/mi-dprintf.exp: Use variable to track command
21166 number.
21167 Update all callers of mi_create_breakpoint and use
21168 mi_make_breakpoint_table.
21169 Remove any unused global variables.
21170 * gdb.mi/mi-nonstop.exp: Likewise.
21171 * gdb.mi/mi-nsintrall.exp: Likewise.
21172 * gdb.mi/mi-nsmoribund.exp: Likewise.
21173 * gdb.mi/mi-nsthrexec.exp: Likewise.
21174 * gdb.mi/mi-reverse.exp: Likewise.
21175 * gdb.mi/mi-simplerun.exp: Likewise.
21176 * gdb.mi/mi-stepn.exp: Likewise.
21177 * gdb.mi/mi-syn-frame.exp: Likewise.
21178 * gdb.mi/mi-until.exp: Likewise.
21179 * gdb.mi/mi-var-cp.exp: Likewise.
21180 * gdb.mi/mi-var-display.exp: Likewise.
21181 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21182 * gdb.mi/mi2-var-child.exp: Likewise.
21183 * gdb.mi/mi-vla-c99.exp: Likewise.
21184 * lib/mi-support.exp: Likewise.
21185
21186 From Ian Lance Taylor <iant@cygnus.com>:
21187 * lib/gdb.exp (parse_args): New procedure.
21188
08351840
PA
211892014-04-23 Pedro Alves <palves@redhat.com>
21190
21191 * gdb.base/break-unload-file.c: New file.
21192 * gdb.base/break-unload-file.exp: New file.
21193 * gdb.base/sym-file-lib.c (baz): New function.
21194 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21195 field.
21196 (load): Store the segment's mapped size.
21197 (unload): New function.
21198 (unload_shlib): New function.
21199 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21200 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21201 set a breakpoint at baz, and call it.
21202 * gdb.base/sym-file.exp: New tests for stale breakpoint
21203 instructions.
21204
076855f9
PA
212052014-04-23 Pedro Alves <palves@redhat.com>
21206
21207 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21208 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21209 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21210 * gdb.base/hbreak-unmapped.c: New file.
21211 * gdb.base/hbreak-unmapped.exp: New file.
21212 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21213 * lib/gdb.exp (gdb_is_target_remote): ... here.
21214
483805cf
PA
212152014-04-22 Pedro Alves <palves@redhat.com>
21216
21217 * gdb.base/consecutive-step-over.c: New file.
21218 * gdb.base/consecutive-step-over.exp: New file.
21219
06d97543
PA
212202014-04-22 Pedro Alves <palves@redhat.com>
21221
21222 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21223 instead of send_gdb/gdb_expect.
21224
b4429ea2
YQ
212252014-04-22 Yao Qi <yao@codesourcery.com>
21226
21227 * lib/trace-support.exp (generate_tracefile): New procedure.
21228 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21229 return 0.
21230 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21231 if generate_tracefile returns 1.
21232
51d48146
PA
212332014-04-18 Tom Tromey <palves@redhat.com>
21234 Pedro alves <tromey@redhat.com>
21235
21236 PR backtrace/15558
21237 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21238 with a backtrace limit.
21239 * gdb.python/py-frame-inline.exp: Test running to an inline
21240 function with a backtrace limit, and printing the newest frame.
21241 * gdb.python/py-frame-inline.c (main): Call f.
21242
bd1dce5f
MS
212432014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21244
21245 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21246
40d1a503
MS
212472014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21248
21249 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21250 Drop prefix from unsupported source file path.
21251
389b98f7
YQ
212522014-04-17 Yao Qi <yao@codesourcery.com>
21253
21254 * lib/gdb.exp (with_target_charset): New proc.
21255 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21256 with_target_charset.
21257 (test_print_strings): Likewise.
21258 (test_repeat_bytes): Likewise.
21259 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21260 for some tests.
21261
22869d73
KS
212622014-04-16 Keith Seitz <keiths@redhat.com>
21263
21264 PR gdb/15827
21265 * gdb.dwarf2/corrupt.c: New file.
21266 * gdb.dwarf2/corrupt.exp: New file.
21267
c4f87ca6
KS
212682014-04-16 Keith Seitz <keiths@redhat.com>
21269
21270 PR c++/16597
21271 * gdb.cp/namelessclass.cc: New file.
21272 * gdb.cp/namelessclass.exp: New file.
21273 * gdb.cp/namelessclass.S: New file.
21274
ab19de87
DE
212752014-04-16 Doug Evans <dje@google.com>
21276
21277 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21278 Add comment.
21279 (gdbserver_default_get_comm_port): New function.
21280 (gdbserver_start): Check if board file provided
21281 "gdbserver,get_comm_port" and use it if so.
21282 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21283 (gdb,socketport): Set to "stdio".
21284 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21285 (stdio_gdbserver_template): Delete.
21286 (${board}_get_remote_address): Update.
21287 (${board}_build_remote_cmd): Delete.
21288 (${board}_get_comm_port): New function.
21289 (${board}_spawn): Update.
21290 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21291 Delete.
21292 (${board}_get_remote_address): Update.
21293 (${board}_get_comm_port): New function.
21294
fc98a809
AB
212952014-04-16 Andrew Burgess <aburgess@broadcom.com>
21296
21297 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21298 appearing in any order.
21299
87fd9e6e
DE
213002014-04-15 Doug Evans <dje@google.com>
21301
21302 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21303 uninitialized value of "description".
21304
099fc3ea
KS
213052014-04-15 Keith Seitz <keiths@redhat.com>
21306
21307 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21308 Remove unused globals.
21309 (test_running_the_program): Likewise.
21310 (test_controlled_execution): Likewise.
21311 (test_controlling_breakpoints): Likewise.
21312 (test_program_termination): Likewise.
21313
5da151d4
KS
213142014-04-15 Keith Seitz <keiths@redhat.com>
21315
21316 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21317 unused globals.
21318 (test_rbreak_creation_and_listing): Likewise.
21319 (test_ignore_count): Likewise.
21320 (test_error): Likewise.
21321
35e5d2f0
PA
213222014-04-15 Pedro Alves <palves@redhat.com>
21323
21324 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21325 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21326 sym-file-loader.c.
21327 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21328 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21329 to sym-file-loader.c.
21330 (struct library): Forward declare.
21331 (load_shlib, lookup_function): Change prototypes.
21332 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21333 (translate_offset): Remove declarations.
21334 (get_text_addr): New declaration.
21335 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21336 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21337 sym-file-loader.h.
21338 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21339 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21340 here from sym-file-loader.h.
21341 (struct library): New structure.
21342 (load_shlib, lookup_function): Change prototypes and adjust to
21343 work with a struct library.
21344 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21345 (translate_offset): Make static.
21346 (get_text_addr): New function.
21347 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21348
eb4c1710
PA
213492014-04-15 Pedro Alves <palves@redhat.com>
21350
21351 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21352
2d1baf52
PA
213532014-04-15 Pedro Alves <palves@redhat.com>
21354
21355 * gdb.base/sym-file-loader.c: Include <limits.h>.
21356 (SELF_LINK): New define.
21357 (get_origin): New function.
21358 (load_shlib): Use it.
21359 * gdb.base/sym-file.exp: Don't early return if the target is
21360 remote. Use runto_main, and issue fail is that fails. Use
21361 gdb_load_shlibs.
21362 (shlib_name): Delete.
21363 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21364
7dd6df01
PA
213652014-04-15 Pedro Alves <palves@redhat.com>
21366
21367 * gdb.base/sym-file.exp: Remove regex characters from test
21368 message. Don't refer to breakpoint numbers in test messages.
21369
b50c8614
KS
213702014-04-14 Keith Seitz <keiths@redhat.com>
21371
21372 PR c++/16253
21373 * gdb.cp/var-tag.cc: New file.
21374 * gdb.cp/var-tag.exp: New file.
21375 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21376 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21377 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21378 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21379
3d567982
TT
213802014-04-14 Tom Tromey <tromey@redhat.com>
21381
21382 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21383 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21384 type.
21385 * gdb.cp/enum-class.exp: New file.
21386 * gdb.cp/enum-class.cc: New file.
21387
0626fc76
TT
213882014-04-14 Tom Tromey <tromey@redhat.com>
21389
21390 * gdb.dwarf2/enum-type.exp: New file.
21391
dca325b3
SA
213922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21393
21394 * gdb.mi/mi-vla-c99.exp: New file.
21395 * gdb.mi/vla.c: New file.
21396
5854b38a
SA
213972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21398
21399 * gdb.base/vla-datatypes.c: New file.
21400 * gdb.base/vla-datatypes.exp: New file.
21401
463bb957
SA
214022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21403
21404 * gdb.base/vla-ptr.c: New file.
21405 * gdb.base/vla-ptr.exp: New file.
21406
3dd170be
SA
214072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21408
21409 * gdb.dwarf2/count.exp: New file.
21410
5ecaaa66
SA
214112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21412
21413 * gdb.base/vla-sideeffect.c: New file.
21414 * gdb.base/vla-sideeffect.exp: New file.
21415
41f1ada5
DB
214162014-04-14 David Blaikie <dblaikie@gmail.com>
21417
21418 * gdb.mi/non-stop.c: Add return value for non-void function return
21419 statement.
21420 * gdb.threads/staticthreads.c: Ditto.
21421
0be03e84
DE
214222014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21423 Doug Evans <xdje42@gmail.com>
21424
21425 * gdb.guile/scm-value.c: Improve test case.
21426 * gdb.guile/scm-value.exp: Add new test.
21427
f180a1fb
DB
214282014-04-11 David Blaikie <dblaikie@gmail.com>
21429
21430 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21431 override Clang's default.
21432
6b662e19
JB
214332014-04-11 Joel Brobecker <brobecker@adacore.com>
21434
21435 Revert the following changes (regressions):
21436
21437 * gdb.base/vla-sideeffect.c: New file.
21438 * gdb.base/vla-sideeffect.exp: New file.
21439
21440 * gdb.dwarf2/count.exp: New file.
21441
21442 * gdb.base/vla-multi.c: New file.
21443 * gdb.base/vla-multi.exp: New file.
21444
21445 * gdb.base/vla-ptr.c: New file.
21446 * gdb.base/vla-ptr.exp: New file.
21447
21448 * gdb.base/vla-datatypes.c: New file.
21449 * gdb.base/vla-datatypes.exp: New file.
21450
21451 * gdb.mi/mi-vla-c99.exp: New file.
21452 * gdb.mi/vla.c: New file.
21453
245a5f0b
KS
214542014-04-11 Keith Seitz <keiths@redhat.com>
21455
21456 PR c++/16675
21457 * gdb.cp/cpsizeof.exp: New file.
21458 * gdb.cp/cpsizeof.cc: New file.
21459
58a84dcf
SA
214602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21461
191a8a90
JB
21462 * gdb.mi/mi-vla-c99.exp: New file.
21463 * gdb.mi/vla.c: New file.
58a84dcf 21464
c8655f75
SA
214652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21466
21467 * gdb.base/vla-datatypes.c: New file.
21468 * gdb.base/vla-datatypes.exp: New file.
21469
024e13b4
SA
214702014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21471
21472 * gdb.base/vla-ptr.c: New file.
21473 * gdb.base/vla-ptr.exp: New file.
21474
1a237e0e
SA
214752014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21476
21477 * gdb.base/vla-multi.c: New file.
21478 * gdb.base/vla-multi.exp: New file.
21479
504f3432
SA
214802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21481
21482 * gdb.dwarf2/count.exp: New file.
21483
3bce8237
SA
214842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21485
191a8a90
JB
21486 * gdb.base/vla-sideeffect.c: New file.
21487 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 21488
322f9c21
YQ
214892014-04-11 Yao Qi <yao@codesourcery.com>
21490
21491 * gdb.base/completion.exp: Check file exists before running tests
21492 on file completion.
21493
d708bcd1
PA
214942014-04-10 Pedro Alves <palves@redhat.com>
21495
21496 * gdb.base/cond-eval-mode.c: New file.
21497 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21498 prepare_for_testing to build the new file. Check result of
21499 runto_main.
21500 (test_break, test_watch): New procedures.
21501 (top level): Use them.
21502
ae1d2761
PM
215032014-04-08 Pierre Muller <muller@sourceware.org>
21504
21505 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21506 Ctrl-V use for mingw hosts.
21507
7af389b8
SC
215082014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21509
21510 * gdb.python/py-value.c: Improve test case.
21511 * gdb.python/py-value.exp: Add new test.
21512
5e703181
DE
215132014-04-07 David Blaikie <dblaikie@gmail.com>
21514
21515 * lib/compiler.c: Identify the clang compiler.
21516 * lib/compiler.cc: Ditto.
21517
9810b410
YQ
215182014-04-03 Yao Qi <yao@codesourcery.com>
21519
21520 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21521
98d1b8dc
AB
215222014-04-01 Anton Blanchard <anton@samba.org>
21523
21524 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21525 messages unique.
21526
3114cea1
AB
215272014-04-01 Anton Blanchard <anton@samba.org>
21528
21529 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21530 prepare_for_testing.
21531
62f7182c
AB
215322014-04-01 Anton Blanchard <anton@samba.org>
21533
21534 * gdb.arch/ppc64-atomic-inst.c: Remove.
21535 * gdb.arch/ppc64-atomic-inst.S: New file.
21536 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21537
770e7fc7
DE
215382014-03-31 Doug Evans <dje@google.com>
21539
21540 * gdb.base/print-symbol-loading-lib.c: New file.
21541 * gdb.base/print-symbol-loading-main.c: New file.
21542 * gdb.base/print-symbol-loading.exp: New file.
21543
46e2bafa
YQ
215442014-03-31 Yao Qi <yao@codesourcery.com>
21545
21546 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21547
8776cfe9
JB
215482014-03-28 Joel Brobecker <brobecker@adacore.com>
21549
21550 * gdb.ada/mi_dyn_arr: New testcase.
21551
5d1ef361
DE
215522014-03-27 Doug Evans <dje@google.com>
21553
21554 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21555
b5bee914
YQ
215562014-03-27 Yao Qi <yao@codesourcery.com>
21557
21558 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21559 if target is nios2-*-*.
21560
0d4d0e77
YQ
215612014-03-26 Yao Qi <yao@codesourcery.com>
21562
21563 * lib/gdb.exp (readline_is_used): New proc.
21564 * gdb.base/completion.exp: Move tests on command complete up.
21565 Skip the rest of tests if readline is not used.
21566 * gdb.ada/complete.exp: Skp the test if readline is not
21567 used.
21568 * gdb.base/filesym.exp: Likewise.
21569 * gdb.base/macscp.exp: Likewise.
21570 * gdb.base/readline-ask.exp: Likewise.
21571 * gdb.base/readline.exp: Likewise.
21572 * gdb.python/py-cmd.exp: Likewise.
21573 * gdb.trace/tfile.exp: Likewise.
21574
29361eee
YQ
215752014-03-26 Yao Qi <yao@codesourcery.com>
21576
21577 * gdb.base/macscp.exp: Fix code format issues.
21578
bc9a5525
UW
215792014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21580
21581 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21582 * gdb.asm/powerpc64le.inc: New file.
21583
d3839ede
PA
215842014-03-25 Pedro Alves <palves@redhat.com>
21585 Doug Evans <dje@google.com>
21586
21587 * gdb.base/source-execution.c: New file.
21588 * gdb.base/source-execution.exp: New file.
21589 * gdb.base/source-execution.gdb: New file.
21590
01672a57
DE
215912014-03-24 Doug Evans <dje@google.com>
21592
21593 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21594 using fission.
21595
88bbeca9
HZ
215962014-03-24 Hui Zhu <hui@codesourcery.com>
21597 Pedro Alves <palves@redhat.com>
21598
21599 PR breakpoints/16101
21600 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21601 test pass/fail messages. Detect missing support for dprintf when
21602 breakpoints are actually inserted.
21603 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21604 breakpoints are actually inserted.
21605 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21606 fails.
21607
d2348791
JK
216082014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21609
21610 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21611
feef67ab
DE
216122014-03-22 Doug Evans <xdje42@gmail.com>
21613
21614 * gdb.python/python.exp (python not supported): Verify multi-line
21615 python command issues an error.
25d743f9 21616 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 21617 guile command issues an error.
feef67ab 21618
ecebef6a
MR
216192014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21620
21621 * gdb.threads/thread-specific.exp: Handle the lack of usable
21622 $this_breakpoint and $this_thread.
21623
ccdd1909
HZ
216242014-03-21 Hui Zhu <hui@codesourcery.com>
21625
21626 * gdb.base/attach.exp (do_command_attach_tests): New.
21627
beb460e8
PA
216282014-03-20 Tom Tromey <tromey@redhat.com>
21629 Pedro Alves <palves@redhat.com>
21630
21631 PR cli/15718
21632 * gdb.base/condbreak-call-false.c: New file.
21633 * gdb.base/condbreak-call-false.exp: New file.
21634
40acf43a
PA
216352014-03-20 Pedro Alves <palves@redhat.com>
21636
21637 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21638 Delete.
21639 (block_signals, unblock_signals): Delete.
21640 (child_function_2, main): Remove references to deleted variable
21641 and functions.
21642
9f5e1e02
PA
216432014-03-20 Pedro Alves <palves@redhat.com>
21644
21645 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21646 Use pthread_kill to signal thread 2.
21647 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21648 Adjust to make the test send itself a signal rather than using the
21649 host's "kill" command.
21650
99619bea
PA
216512014-03-20 Pedro Alves <palves@redhat.com>
21652
21653 * gdb.threads/multiple-step-overs.c: New file.
21654 * gdb.threads/multiple-step-overs.exp: New file.
21655 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21656 Adjust expected infrun debug output.
21657
2adfaa28
PA
216582014-03-20 Pedro Alves <palves@redhat.com>
21659
21660 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21661 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21662
31e77af2
PA
216632014-03-20 Pedro Alves <palves@redhat.com>
21664
21665 PR breakpoints/7143
21666 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21667 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21668 of gdb_test_multiple.
21669 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21670 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21671
b9f437de
PA
216722014-03-20 Pedro Alves <palves@redhat.com>
21673
21674 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21675 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21676
05adc73e
PA
216772014-03-19 Pedro Alves <palves@redhat.com>
21678
21679 * gdb.base/async.exp: Remove early return.
21680
6048b950
PA
216812014-03-19 Pedro Alves <palves@redhat.com>
21682
21683 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21684
8bcfb00a
PA
216852014-03-19 Pedro Alves <palves@redhat.com>
21686
21687 * gdb.base/async.exp (test_background): Expect \r\n after
21688 "completed." in the fail pattern.
21689
884e37dc
PA
216902014-03-19 Pedro Alves <palves@redhat.com>
21691
21692 * gdb.base/async.exp (test_background): New procedure.
21693 Use it for all background execution command tests.
21694
148e57e2
PA
216952014-03-19 Pedro Alves <palves@redhat.com>
21696
21697 * gdb.base/async.exp: Use prepare_for_testing.
21698
f48088c7
PA
216992014-03-19 Pedro Alves <palves@redhat.com>
21700
21701 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21702 the same line.
21703
e2f6c966
PA
217042014-03-19 Pedro Alves <palves@redhat.com>
21705
21706 * gdb.base/async.c (main): Add "jump here" and "until here" line
21707 marker comments.
21708 * gdb.base/async.exp (jump_here): New global.
21709 (jump& test): Use it.
21710 (until_here): New global.
21711 (until& test): Use it.
21712
c30568d4
PA
217132014-03-19 Pedro Alves <palves@redhat.com>
21714
21715 * gdb.base/async.exp: Don't frob gdb_protocol.
21716
0172b6a7
DE
217172014-03-18 Doug Evans <xdje42@gmail.com>
21718
21719 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21720 Fix spelling of exec-done-display.
21721
06c868a8
JK
217222014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21723
21724 PR gdb/15358
21725 * gdb.base/gdb-sigterm.c: New file.
21726 * gdb.base/gdb-sigterm.exp: New file.
21727
0c7e1a46
PA
217282014-03-18 Pedro Alves <palves@redhat.com>
21729
21730 PR gdb/13860
21731 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21732 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21733 solib-event.
21734
f7c77d93
JB
217352014-03-17 Joel Brobecker <brobecker@adacore.com>
21736
21737 * gdb.ada/pckd_arr_ren: New testcase.
21738
5a1e8c7a
DE
217392014-03-13 Doug Evans <xdje42@gmail.com>
21740
21741 PR guile/16612
21742 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21743 collect after discarding symbols.
21744
350e1a76
DE
217452014-03-13 Ludovic Courtès <ludo@gnu.org>
21746 Doug Evans <xdje42@gmail.com>
21747
21748 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21749 to history survives a gc.
21750
a69900ae
PA
217512014-03-13 Pedro Alves <palves@redhat.com>
21752
21753 * gdb.base/default.exp: Don't test "target procfs".
21754
5db9f0bd
PA
217552014-03-13 Pedro Alves <palves@redhat.com>
21756
21757 * gdb.base/default.exp: Update "target child" and "target procfs"
21758 tests to not expect "Unix".
21759
b3ccfe11
TT
217602014-03-12 Tom Tromey <tromey@redhat.com>
21761
21762 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21763 New procs. Add target-async tests.
21764 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21765 Add target-async tests.
21766
646f4417
AA
217672014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21768
21769 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21770 'func_start' and 'func_end' for the beginning and end of the
21771 function code, respectively.
21772 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21773 'func_end' instead of 'func' and 'main'.
21774
288c211f
AA
217752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21776
21777 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21778 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21779 generate the debug info assembler source.
21780
e0c0f156
AA
217812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21782
21783 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21784 * gdb.dwarf2/arr-subrange.exp: Likewise.
21785 * gdb.dwarf2/dwz.exp: Likewise.
21786 * gdb.dwarf2/method-ptr.exp: Likewise.
21787 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21788 * gdb.dwarf2/subrange.exp: Likewise.
21789 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21790 * gdb.dwarf2/implptrpiece.exp: Likewise.
21791 * gdb.dwarf2/nostaticblock.exp: Likewise.
21792
0e5c4555
AA
217932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21794
21795 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21796 directory to absolute path name arguments.
21797
5ec18f2b
JG
217982014-03-10 Joel Brobecker <brobecker@adacore.com>
21799
21800 * gdb.ada/tagged_access: New testcase.
21801
847fc4f2
MM
218022014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21803
21804 * gdb.btrace/data.exp: Update expected output.
21805
cc3da688
YQ
218062014-03-06 Yao Qi <yao@codesourcery.com>
21807
21808 * gdb.trace/pr16508.exp: New file.
21809
0f26cec1
PA
218102014-03-05 Pedro Alves <palves@redhat.com>
21811
21812 PR gdb/16575
21813 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21814 procedure.
21815 (top level): Adjust to use it. Add tests that exercise breakpoint
21816 interaction with the code-cache.
21817
7a5a839f
LC
218182014-02-26 Ludovic Courtès <ludo@gnu.org>
21819
21820 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21821 test for 'history-append!'.
21822
31aa7e4e
JB
218232014-02-26 Joel Brobecker <brobecker@adacore.com>
21824
21825 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21826 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21827 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21828 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21829 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21830 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21831
1b588015
JB
218322014-02-26 Joel Brobecker <brobecker@adacore.com>
21833
21834 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21835 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21836 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21837
55426c9d
JB
218382014-02-26 Joel Brobecker <brobecker@adacore.com>
21839
21840 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21841
dc53a7ad
JB
218422014-02-26 Joel Brobecker <brobecker@adacore.com>
21843
21844 * gdb.dwarf2/arr-stride.c: New file.
21845 * gdb.dwarf2/arr-stride.exp: New file.
21846
12ab52e9
PA
218472014-02-26 Pedro Alves <palves@redhat.com>
21848
21849 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21850 that won't ever trigger. Make sure that GDB reports the correct
21851 breakpoint that caused the stop.
21852
849c862e
JK
218532014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21854
21855 PR gdb/16626
21856 * gdb.base/auto-load-script: New file.
21857 * gdb.base/auto-load.c: New file.
21858 * gdb.base/auto-load.exp: New file.
21859
71b7d793
JK
21860 PR gdb/16626
21861 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21862
e2f0d509
JK
218632014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21864
21865 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21866 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21867
50cc37c8
DE
218682014-02-24 Doug Evans <dje@google.com>
21869
21870 * lib/gdb.exp (run_on_host): Log error output if program fails.
21871
ea4758f2
PA
218722014-02-21 Pedro Alves <palves@redhat.com>
21873
21874 * gdb.threads/step-after-sr-lock.c: Rename to ...
21875 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21876 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21877 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21878 ... this.
21879
d7b30f67
SDJ
218802014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21881
21882 PR tdep/16397
21883 * gdb.arch/amd64-stap-special-operands.exp: New file.
21884 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21885 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21886 * gdb.arch/amd64-stap-triplet.S: Likewise.
21887 * gdb.arch/amd64-stap-triplet.c: Likewise.
21888
83deb43f
JB
218892014-02-20 Joel Brobecker <brobecker@adacore.com>
21890
21891 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21892 in .section pseudo-op.
21893
adde2bff
DE
218942014-02-20 lin zuojian <manjian2006@gmail.com>
21895 Joel Brobecker <brobecker@adacore.com>
21896 Doug Evans <xdje42@gmail.com>
21897
21898 PR symtab/16581
21899 * gdb.dwarf2/dw2-icycle.S: New file.
21900 * gdb.dwarf2/dw2-icycle.c: New file.
21901 * gdb.dwarf2/dw2-icycle.exp: New file.
21902
f7bd0f78
SC
219032014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21904
21905 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21906 operations on gdb.Value objects.
21907 * gdb.python/py-value-cc.exp: Add new test to test operations on
21908 gdb.Value objects.
21909
c17ef0d5
DE
219102014-02-18 Doug Evans <dje@google.com>
21911
21912 * Makefile.in (TESTS): New variable.
21913 (expanded_tests, expanded_tests_or_none): New variables
21914 (check-single): Pass $(expanded_tests_or_none) to runtest.
21915 (check-parallel): Only run tests in $(TESTS) if non-empty.
21916 (check/no-matching-tests-found): New rule.
21917 * README: Document TESTS makefile variable.
21918
5dd3176f
DE
219192014-02-18 Doug Evans <dje@google.com>
21920
21921 * Makefile.in (check-parallel): rm -rf outputs temp.
21922
0b10be4f
JK
219232014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21924
21925 Fix "ERROR: no fileid for" in the testsuite.
21926 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21927
85f224e7
DE
219282014-02-12 Doug Evans <dje@google.com>
21929
21930 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21931 (MISCELLANEOUS): New variable.
21932 (clean): rm -rf $(MISCELLANEOUS).
21933 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21934 dwp live in the same directory as symlinks, with each symlink pointed
21935 to a differently named file in a different directory.
21936
149b30ff
DE
219372014-02-11 Doug Evans <dje@google.com>
21938
21939 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21940 of Tcl file commands.
21941
1dfdac32
MK
219422014-02-10 Mark Kettenis <kettenis@gnu.org>
21943
21944 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21945 "kill -SIGUSR1 -1".
21946
aa4fb036
JB
219472014-02-10 Joel Brobecker <brobecker@adacore.com>
21948
21949 * gdb.ada/tick_length_array_enum_idx: New testcase.
21950
ed3ef339
DE
219512014-02-10 Doug Evans <xdje42@gmail.com>
21952
21953 * configure.ac (AC_OUTPUT): Add gdb.guile.
21954 * configure: Regenerate.
21955 * lib/gdb-guile.exp: New file.
21956 * lib/gdb.exp (get_target_charset): New function.
21957 * gdb.base/help.exp: Update expected output from "apropos apropos".
21958 * gdb.guile/Makefile.in: New file.
21959 * gdb.guile/guile.exp: New file.
21960 * gdb.guile/scm-arch.c: New file.
21961 * gdb.guile/scm-arch.exp: New file.
21962 * gdb.guile/scm-block.c: New file.
21963 * gdb.guile/scm-block.exp: New file.
21964 * gdb.guile/scm-breakpoint.c: New file.
21965 * gdb.guile/scm-breakpoint.exp: New file.
21966 * gdb.guile/scm-disasm.c: New file.
21967 * gdb.guile/scm-disasm.exp: New file.
21968 * gdb.guile/scm-equal.c: New file.
21969 * gdb.guile/scm-equal.exp: New file.
21970 * gdb.guile/scm-error.exp: New file.
21971 * gdb.guile/scm-error.scm: New file.
21972 * gdb.guile/scm-frame-args.c: New file.
21973 * gdb.guile/scm-frame-args.exp: New file.
21974 * gdb.guile/scm-frame-args.scm: New file.
21975 * gdb.guile/scm-frame-inline.c: New file.
21976 * gdb.guile/scm-frame-inline.exp: New file.
21977 * gdb.guile/scm-frame.c: New file.
21978 * gdb.guile/scm-frame.exp: New file.
21979 * gdb.guile/scm-generics.exp: New file.
21980 * gdb.guile/scm-gsmob.exp: New file.
21981 * gdb.guile/scm-iterator.c: New file.
21982 * gdb.guile/scm-iterator.exp: New file.
21983 * gdb.guile/scm-math.c: New file.
21984 * gdb.guile/scm-math.exp: New file.
21985 * gdb.guile/scm-objfile-script-gdb.in: New file.
21986 * gdb.guile/scm-objfile-script.c: New file.
21987 * gdb.guile/scm-objfile-script.exp: New file.
21988 * gdb.guile/scm-objfile.c: New file.
21989 * gdb.guile/scm-objfile.exp: New file.
21990 * gdb.guile/scm-ports.exp: New file.
21991 * gdb.guile/scm-pretty-print.c: New file.
21992 * gdb.guile/scm-pretty-print.exp: New file.
21993 * gdb.guile/scm-pretty-print.scm: New file.
21994 * gdb.guile/scm-section-script.c: New file.
21995 * gdb.guile/scm-section-script.exp: New file.
21996 * gdb.guile/scm-section-script.scm: New file.
21997 * gdb.guile/scm-symbol.c: New file.
21998 * gdb.guile/scm-symbol.exp: New file.
21999 * gdb.guile/scm-symtab-2.c: New file.
22000 * gdb.guile/scm-symtab.c: New file.
22001 * gdb.guile/scm-symtab.exp: New file.
22002 * gdb.guile/scm-type.c: New file.
22003 * gdb.guile/scm-type.exp: New file.
22004 * gdb.guile/scm-value-cc.cc: New file.
22005 * gdb.guile/scm-value-cc.exp: New file.
22006 * gdb.guile/scm-value.c: New file.
22007 * gdb.guile/scm-value.exp: New file.
22008 * gdb.guile/source2.scm: New file.
22009 * gdb.guile/types-module.cc: New file.
22010 * gdb.guile/types-module.exp: New file.
22011
7026a7c1
YQ
220122014-02-10 Yao Qi <yao@codesourcery.com>
22013
22014 PR testsuite/16543
22015 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22016 * configure: Regenerated.
22017 * Makefile.in: New file.
22018
6c466447
AS
220192014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22020
22021 * gdb.python/py-framefilter.exp: Fix typo.
22022
6e854735
YQ
220232014-02-08 Yao Qi <yao@codesourcery.com>
22024
22025 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22026 that no =breakpoint-modified is emitted when breakpoints are
22027 modified through MI commands.
22028
d137e6dc
PA
220292014-02-07 Pedro Alves <pedro@codesourcery.com>
22030 Pedro Alves <palves@redhat.com>
22031
22032 * gdb.threads/step-after-sr-lock.c: New file.
22033 * gdb.threads/step-after-sr-lock.exp: New file.
22034
b5ee5a50
PA
220352014-02-07 Pedro Alves <palves@redhat.com>
22036
22037 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22038
3c77faf3
JK
220392014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22040
22041 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22042 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22043
6dddc817
DE
220442014-02-06 Doug Evans <xdje42@gmail.com>
22045
22046 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22047 output.
22048
22049 * gdb.gdb/python-interrupts.exp: New file.
22050
de7b2893
YQ
220512014-02-05 Yao Qi <yao@codesourcery.com>
22052
22053 * gdb.trace/report.exp (use_collected_data): Test the output
22054 of "info threads" and "info inferiors".
22055
66d032ac
YQ
220562014-02-05 Yao Qi <yao@codesourcery.com>
22057
22058 Revert this patch:
22059
22060 2013-05-24 Yao Qi <yao@codesourcery.com>
22061
22062 * gdb.trace/tfile.exp: Test inferior and thread.
22063
591a12a1
UW
220642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22065
22066 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22067 on a function.
22068 * gdb.base/step-bt.c: Call hello via function pointer to make
22069 sure its first instruction is executed on powerpc64le-linux.
22070
0ff3e01f
UW
220712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22072
22073 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22074
084ee545
UW
220752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22076
22077 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22078 of the test patterns for use on little-endian systems.
22079
6ed14ff3
UW
220802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22081
22082 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22083 (decimal_vector): Fix for little-endian.
22084
401e27fd
JM
220852014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22086
22087 * gdb.arch/sparc-sysstep.exp: New file.
22088 * gdb.arch/sparc-sysstep.c: Likewise.
22089
22090 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22091
8b924729
EBM
220922014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22093
22094 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22095
fb151210
JB
220962014-01-23 Tom Tromey <tromey@redhat.com>
22097
22098 * gdb.ada/array_char_idx: New testcase.
22099
0740f8d8
TT
221002014-01-23 Tom Tromey <tromey@redhat.com>
22101
22102 PR python/16487:
22103 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22104 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22105 classes.
22106
21909fa1
TT
221072014-01-23 Tom Tromey <tromey@redhat.com>
22108
22109 PR python/16491:
22110 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22111 string from an inferior frame.
22112 * gdb.python/py-framefilter-mi.exp: Update.
22113
87ce2a04
DE
221142014-01-22 Doug Evans <dje@google.com>
22115
22116 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22117
237b092b
AA
221182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22119
22120 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22121
d674a709
AA
221222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22123
22124 * gdb.trace/entry-values.exp: Remove excess space character from
22125 regex patterns. Handle s390 call instruction.
22126
20fa3390
AA
221272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22128
22129 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22130 define "*_start" label. Make "name" static.
22131 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22132 ${name} by references to ${name}_start.
22133
78466714
AA
221342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22135
22136 * gdb.base/info-macros.exp: Remove "debug" from the compile
22137 options.
22138
ec9f644a
IB
221392014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22140
22141 * gdb.dlang/demangle.exp: New file.
22142
94b1b47e
IB
221432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22144
22145 * gdb.dlang/primitive-types.exp: New file.
22146
7f420862
IB
221472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22148
22149 * configure.ac: Create gdb.dlang/Makefile.
22150 * configure: Regenerate.
22151 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22152 * gdb.dlang/Makefile.in: New file.
22153 * lib/d-support.exp: New file.
22154 * lib/gdb.exp (skip_d_tests): New proc.
22155
52834460
MM
221562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22157
22158 * gdb.btrace/delta.exp: Check reverse stepi.
22159 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22160 * gdb.btrace/finish.exp: New.
22161 * gdb.btrace/next.exp: New.
22162 * gdb.btrace/nexti.exp: New.
22163 * gdb.btrace/record_goto.c: Add comments.
22164 * gdb.btrace/step.exp: New.
22165 * gdb.btrace/stepi.exp: New.
22166 * gdb.btrace/multi-thread-step.c: New.
22167 * gdb.btrace/multi-thread-step.exp: New.
22168 * gdb.btrace/rn-dl-bind.c: New.
22169 * gdb.btrace/rn-dl-bind.exp: New.
22170 * gdb.btrace/data.c: New.
22171 * gdb.btrace/data.exp: New.
22172 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22173
6e07b1d2
MM
221742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22175
22176 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22177 * gdb.btrace/exception.exp: Update.
22178 * gdb.btrace/instruction_history.exp: Update.
22179 * gdb.btrace/record_goto.exp: Update.
22180 * gdb.btrace/tailcall.exp: Update.
22181 * gdb.btrace/unknown_functions.exp: Update.
22182 * gdb.btrace/delta.exp: New.
22183
0b722aec
MM
221842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22185
22186 * gdb.btrace/record_goto.exp: Add backtrace test.
22187 * gdb.btrace/tailcall.exp: Add backtrace test.
22188
066ce621
MM
221892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22190
22191 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22192 * gdb.btrace/record_goto.c: New.
22193 * gdb.btrace/record_goto.exp: New.
22194 * gdb.btrace/x86-record_goto.S: New.
22195
0688d04e
MM
221962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22197
22198 * gdb.btrace/function_call_history.exp: Update tests.
22199 * gdb.btrace/instruction_history.exp: Update tests.
22200
8710b709
MM
222012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22202
22203 * gdb.btrace/function_call_history.exp: Fix expected field
22204 order for "record function-call-history".
22205 Add new tests for "record function-call-history /c".
22206 * gdb.btrace/exception.cc: New.
22207 * gdb.btrace/exception.exp: New.
22208 * gdb.btrace/tailcall.exp: New.
22209 * gdb.btrace/x86-tailcall.S: New.
22210 * gdb.btrace/x86-tailcall.c: New.
22211 * gdb.btrace/unknown_functions.c: New.
22212 * gdb.btrace/unknown_functions.exp: New.
22213 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22214
5de9129b
MM
222152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22216
22217 * gdb.btrace/instruction_history.exp: Update.
22218 * gdb.btrace/function_call_history.exp: Update.
22219
23a7fe75
MM
222202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22221
22222 * gdb.btrace/function_call_history.exp: Fix expected function
22223 trace.
22224 * gdb.btrace/instruction_history.exp: Initialize traced.
22225 Remove traced_functions.
22226
724c7dd8
MM
222272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22228
22229 * gdb.btrace/function_call_history.exp: Update
22230 * gdb.btrace/instruction_history.exp: Update.
22231
6d78d93b
MM
222322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22233
22234 * gdb.btrace/enable.exp: Update expected text.
22235
93a360cc
OJ
222362014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22237
22238 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22239 bytes.
22240
3772b53f
MR
222412014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22242
22243 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22244
596662fa
OJ
222452014-01-15 Omair Javaid <omair.javaid@linaro.org>
22246
22247 * lib/gdb.exp (supports_process_record): Return true for
22248 arm*-linux*. (supports_reverse): Likewise.
22249
b5b08fb4
SC
222502014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22251
22252 PR python/15464
22253 PR python/16113
22254 * gdb.python/py-type.c: Enhance test case.
22255 * gdb.python/py-value-cc.cc: Likewise
22256 * gdb.python/py-type.exp: Add new tests.
22257 * gdb.python/py-value-cc.exp: Likewise
22258
52d7fb13
AA
222592014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22260 Pedro Alves <palves@redhat.com>
22261
22262 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22263 Make "name" extern.
22264 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22265 references to ${name}_start by references to ${name}.
22266
a2cd8cfe
JB
222672014-01-10 Joel Brobecker <brobecker@adacore.com>
22268
22269 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22270
4e23fced
JB
222712014-01-10 Joel Brobecker <brobecker@adacore.com>
22272
22273 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22274
c6a9e42c
PA
222752014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22276 Pedro Alves <palves@redhat.com>
22277
22278 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 22279 mi_gdb_target_load.
c6a9e42c 22280
b7ea362b
PA
222812014-01-08 Pedro Alves <palves@redhat.com>
22282
22283 * gdb.threads/reconnect-signal.c: New file.
22284 * gdb.threads/reconnect-signal.exp: New file.
22285
5e3f4fab
EBM
222862014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22287
22288 * gdb.base/source-dir.exp: New file.
22289
79301218
JB
222902014-01-07 Joel Brobecker <brobecker@adacore.com>
22291
22292 * gdb.ada/mi_interface: New testcase.
22293
8e355c5d
JB
222942014-01-07 Joel Brobecker <brobecker@adacore.com>
22295
22296 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22297 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22298 gdb.ada/pp-rec-component/pck.ads: New files.
22299
c0d48811
JB
223002014-01-07 Joel Brobecker <brobecker@adacore.com>
22301
22302 * gdb.python/py-pp-integral.c: New file.
22303 * gdb.python/py-pp-integral.py: New file.
22304 * gdb.python/py-pp-integral.exp: New file.
22305
17b609c3 22306For older changes see ChangeLog-1993-2013.
c906108c 22307\f
8d8cb839
EZ
22308;; Local Variables:
22309;; mode: change-log
22310;; left-margin: 8
22311;; fill-column: 74
22312;; version-control: never
22313;; End:
902f2ccb 22314
b811d2c2 22315 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
22316 Copying and distribution of this file, with or without modification,
22317 are permitted provided the copyright notice and this notice are preserved.
This page took 5.360523 seconds and 4 git commands to generate.