]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame_incremental - gdb/testsuite/ChangeLog
Print Ada type name in more cases
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12020-11-04 Tom Tromey <tromey@adacore.com>
2
3 * gdb.ada/rec_ptype.exp: New file.
4 * gdb.ada/rec_ptype/main.adb: New file.
5 * gdb.ada/rec_ptype/p.ads: New file.
6
72020-11-04 Tom Tromey <tromey@adacore.com>
8
9 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
10 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
11 (PT_Full): New variable.
12 * gdb.ada/tick_length_array_enum_idx/pck.adb
13 (Full_PT): New type.
14
152020-11-04 Tom Tromey <tromey@adacore.com>
16
17 * gdb.ada/array_of_variant.exp: New file.
18 * gdb.ada/array_of_variant/p.adb: New file.
19 * gdb.ada/array_of_variant/pck.ads: New file.
20 * gdb.ada/array_of_variant/pck.adb: New file.
21
222020-11-04 Tom Tromey <tromey@adacore.com>
23
24 * gdb.ada/enum_idx_packed.exp: Add test.
25 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
26 New variable.
27 * gdb.ada/enum_idx_packed/pck.ads (Short)
28 (Multi_Dimension, Multi_Dimension_Access): New types.
29
302020-11-04 Tom Tromey <tromey@adacore.com>
31
32 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
33
342020-11-04 Tom Tromey <tromey@adacore.com>
35
36 * gdb.ada/set_pckd_arr_elt.exp: Also test
37 -fgnat-encodings=minimal. Add tests.
38 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
39 Call Update_Small a second time.
40 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
41 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
42 (Variant_Access): New types.
43 (New_Variant): Declare.
44
452020-11-04 Tom Tromey <tromey@adacore.com>
46
47 * gdb.ada/mod_from_name.exp: Test printing slice.
48
492020-11-04 Tom Tromey <tromey@adacore.com>
50
51 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
52 values.
53 * gdb.ada/access_to_unbounded_array.exp: Test different
54 -fgnat-encodings values.
55 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
56 values.
57 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
58 values.
59 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
60 values.
61 * gdb.ada/array_of_variable_length.exp: Test different
62 -fgnat-encodings values.
63 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
64 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
65 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
66 change.
67 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
68 values.
69 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
70 * gdb.ada/out_of_line_in_inlined.exp: Test different
71 -fgnat-encodings values.
72 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
73 values.
74 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
75 values.
76 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
77 -fgnat-encodings values.
78 * gdb.ada/variant_record_packed_array.exp: Test different
79 -fgnat-encodings values.
80
812020-11-04 Tom Tromey <tromey@adacore.com>
82
83 * gdb.ada/enum_idx_packed.exp: Add tests.
84 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
85 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
86 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
87 declarations.
88
892020-11-03 Tom de Vries <tdevries@suse.de>
90
91 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
92 terminator comments.
93 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
94 terminator.
95
962020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
97
98 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
99 integer format test with regexp.
100
1012020-11-02 Gary Benson <gbenson@redhat.com>
102
103 * gdb.base/print-file-var.exp (test): Separate compiler and
104 linker options, and build using build_executable_from_specs
105 to accommodate this.
106
1072020-11-02 Gary Benson <gbenson@redhat.com>
108
109 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
110 for .c files compiled as C++ with Clang if any shared
111 libraries are specified.
112
1132020-11-02 Gary Benson <gbenson@redhat.com>
114
115 * lib/attributes.h: New header.
116 * gdb.base/backtrace.c: Include the above. Replace
117 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
118 * gdb.base/infcall-nested-structs.c: Likewise.
119 * gdb.base/vla-optimized-out.c: Likewise.
120
1212020-11-02 Tom de Vries <tdevries@suse.de>
122
123 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
124
1252020-11-01 Joel Brobecker <brobecker@adacore.com>
126
127 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
128 System.Min_Int and System.Max_Int with smaller hardcoded
129 constants.
130
1312020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
132
133 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
134 * configure: Re-generate.
135
1362020-10-30 Simon Marchi <simon.marchi@efficios.com>
137
138 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
139 expected output.
140
1412020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
142
143 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
144 behavior.
145 * gdb.base/paginate-bg-execution.exp: Ditto.
146 * gdb.base/paginate-inferior-exit.exp: Ditto.
147 * gdb.base/double-prompt-target-event-error.c: Remove.
148 * gdb.base/double-prompt-target-event-error.exp: Remove.
149
1502020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
151
152 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
153 inferiors' and 'detach inferiors' do not change the current
154 inferior.
155
1562020-10-29 Tom de Vries <tdevries@suse.de>
157
158 * gdb.threads/tls.exp: Fix DUPLICATEs.
159
1602020-10-28 Tom de Vries <tdevries@suse.de>
161
162 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
163
1642020-10-28 Tom de Vries <tdevries@suse.de>
165
166 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
167 * gdb.base/reread.exp: Same.
168
1692020-10-28 Tom de Vries <tdevries@suse.de>
170
171 * lib/gdb.exp (readnow): Handle arg.
172 * gdb.rust/traits.exp: Add KFAILs for -readnow.
173
1742020-10-28 Tom de Vries <tdevries@suse.de>
175
176 * gdb.base/relocate.exp: Update regexp for -readnow.
177
1782020-10-28 Tom de Vries <tdevries@suse.de>
179
180 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
181 -readnow.
182
1832020-10-28 Tom de Vries <tdevries@suse.de>
184
185 PR symtab/26772
186 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
187 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
188
1892020-10-28 Tom de Vries <tdevries@suse.de>
190
191 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
192 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
193 complaint during file command for -readnow.
194
1952020-10-28 Tom de Vries <tdevries@suse.de>
196
197 * gdb.cp/nsalias.exp: Fix typo in test name.
198
1992020-10-28 Tom de Vries <tdevries@suse.de>
200
201 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
202
2032020-10-28 Tom de Vries <tdevries@suse.de>
204
205 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
206 -readnow.
207
2082020-10-27 Tom de Vries <tdevries@suse.de>
209
210 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
211
2122020-10-27 Tom de Vries <tdevries@suse.de>
213
214 * gdb.base/maint.exp: Update for -readnow.
215
2162020-10-27 Tom de Vries <tdevries@suse.de>
217
218 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
219 -readnow.
220
2212020-10-14 Gary Benson <gbenson@redhat.com>
222
223 * gdb.python/py-format-string.exp (test_deref_refs): Treat
224 "_vptr$Base" as correct, in addition to "_vptr.Base".
225 (test_mixed): Likewise.
226
2272020-10-27 Gary Benson <gbenson@redhat.com>
228
229 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
230 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
231
2322020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
233
234 * gdb.base/condbreak.exp: Update the completion tests to
235 consider the '-force' flag.
236
2372020-10-27 Tom de Vries <tdevries@suse.de>
238
239 * gdb.base/list-ambiguous-readnow.exp: New file.
240
2412020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
242
243 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
244 the condition.
245 * gdb.linespec/cpcompletion.exp: Update to consider the
246 '-force-condition' keyword.
247 * gdb.linespec/explicit.exp: Ditto.
248 * lib/completion-support.exp: Ditto.
249
2502020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
251
252 * gdb.base/condbreak-multi-context.cc: New file.
253 * gdb.base/condbreak-multi-context.exp: New file.
254
2552020-10-26 Tom Tromey <tom@tromey.com>
256
257 * lib/mi-support.exp (default_mi_gdb_start): Call
258 gdb_stdin_log_init.
259 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
260 subtract one from gdb_instances.
261 (gdb_stdin_log_write): Flush in_file.
262
2632020-10-26 Tom de Vries <tdevries@suse.de>
264
265 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
266
2672020-10-26 Tom Tromey <tromey@adacore.com>
268
269 * gdb.ada/unsigned_range/foo.adb: New file.
270 * gdb.ada/unsigned_range/pack.adb: New file.
271 * gdb.ada/unsigned_range/pack.ads: New file.
272 * gdb.ada/unsigned_range.exp: New file.
273
2742020-10-26 Tom de Vries <tdevries@suse.de>
275
276 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
277
2782020-10-26 Tom de Vries <tdevries@suse.de>
279
280 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
281 for CU.
282 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
283
2842020-10-23 Tom de Vries <tdevries@suse.de>
285
286 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
287 DW_FORM_string.
288 (Dwarf::_default_form): New proc.
289 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
290 guessed.
291
2922020-10-23 Tom de Vries <tdevries@suse.de>
293
294 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
295 * gdb.dwarf2/atomic-type.exp: Same.
296 * gdb.dwarf2/bad-regnum.exp: Same.
297 * gdb.dwarf2/cpp-linkage-name.exp: Same.
298 * gdb.dwarf2/dw2-align.exp: Same.
299 * gdb.dwarf2/dw2-bad-elf.exp: Same.
300 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
301 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
302 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
303 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
304 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
305 * gdb.dwarf2/enum-type.exp: Same.
306 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
307 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
308 * gdb.dwarf2/main-subprogram.exp: Same.
309 * gdb.dwarf2/missing-type-name.exp: Same.
310 * gdb.dwarf2/nonvar-access.exp: Same.
311 * gdb.dwarf2/typedef-void-finish.exp: Same.
312 * gdb.dwarf2/var-access.exp: Same.
313 * gdb.dwarf2/void-type.exp: Same.
314
3152020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
316
317 PR gdb/26693
318 * gdb.dwarf2/template-specification-full-name.exp: New test.
319
3202020-10-22 Luis Machado <luis.machado@linaro.org>
321
322 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
323 expected an offset from the function.
324 * gdb.base/msym-bp.exp (test): Likewise.
325
3262020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.fortran/array-slices.exp: Add a new test.
329
3302020-10-21 Gary Benson <gbenson@redhat.com>
331
332 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
333 fullname test with Clang. Also expand comments generally.
334
3352020-10-20 Tom de Vries <tdevries@suse.de>
336
337 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
338
3392020-10-20 Tom de Vries <tdevries@suse.de>
340
341 * gdb.dwarf2/arr-stride.c: Remove.
342 * gdb.dwarf2/arr-stride.exp: Use main.c.
343 * gdb.dwarf2/arr-subrange.c: Remove.
344 * gdb.dwarf2/arr-subrange.exp: Use main.c.
345 * gdb.dwarf2/bad-regnum.c: Remove.
346 * gdb.dwarf2/bad-regnum.exp: Use main.c.
347 * gdb.dwarf2/corrupt.c: Remove.
348 * gdb.dwarf2/corrupt.exp: Use main.c.
349 * gdb.dwarf2/dw2-bad-elf.c: Remove.
350 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
351 * gdb.dwarf2/dw2-icycle.c: Remove.
352 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
353 * gdb.dwarf2/formdata16.c: Remove.
354 * gdb.dwarf2/formdata16.exp: Use main.c.
355 * gdb.dwarf2/implptrconst.c: Remove.
356 * gdb.dwarf2/implptrconst.exp: Use main.c.
357 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
358 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
359 * gdb.dwarf2/opaque-type-lookup.c: Remove.
360 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
361
3622020-10-20 Tom de Vries <tdevries@suse.de>
363
364 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
365 file.
366 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
367
3682020-10-20 Tom de Vries <tdevries@suse.de>
369
370 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
371 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
372 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
373 * gdb.dwarf2/dw2-ranges-base.exp: Same.
374 * gdb.dwarf2/dw2-ranges.exp: Same.
375 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
376 * gdb.dwarf2/var-access.exp: Same.
377
3782020-10-19 Tom Tromey <tromey@adacore.com>
379
380 PR tui/26719
381 * gdb.tui/list.exp: Check source window contents after focus
382 change.
383
3842020-10-17 Tom de Vries <tdevries@suse.de>
385
386 PR symtab/26317
387 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
388
3892020-10-17 Tom de Vries <tdevries@suse.de>
390
391 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
392 as suffix.
393 * gdb.dwarf2/atomic.c: Rename to ...
394 * gdb.dwarf2/atomic-type.c: ... this.
395 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
396 * gdb.dwarf2/dw2-ranges-2.c: ... this.
397 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
398 * gdb.dwarf2/dw2-ranges-3.c: ... this.
399 * gdb.dwarf2/fission-mix2.c: Rename to ...
400 * gdb.dwarf2/fission-mix-2.c: ... this.
401 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
402 standard_testfile.
403 * gdb.dwarf2/ada-valprint-error.exp: Same.
404 * gdb.dwarf2/arr-stride.exp: Same.
405 * gdb.dwarf2/arr-subrange.exp: Same.
406 * gdb.dwarf2/atomic-type.exp: Same.
407 * gdb.dwarf2/bad-regnum.exp: Same.
408 * gdb.dwarf2/break-inline-psymtab.exp: Same.
409 * gdb.dwarf2/clang-debug-names-2.exp: Same.
410 * gdb.dwarf2/clang-debug-names.exp: Same.
411 * gdb.dwarf2/comp-unit-lang.exp: Same.
412 * gdb.dwarf2/corrupt.exp: Same.
413 * gdb.dwarf2/count.exp: Same.
414 * gdb.dwarf2/cpp-linkage-name.exp: Same.
415 * gdb.dwarf2/data-loc.exp: Same.
416 * gdb.dwarf2/dw2-align.exp: Same.
417 * gdb.dwarf2/dw2-bad-elf.exp: Same.
418 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
419 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
420 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
421 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
422 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
423 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
424 * gdb.dwarf2/dw2-inline-param.exp: Same.
425 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
426 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
427 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
428 * gdb.dwarf2/dw2-is-stmt.exp: Same.
429 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
430 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
431 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
432 * gdb.dwarf2/dw2-param-error.exp: Same.
433 * gdb.dwarf2/dw2-ranges-base.exp: Same.
434 * gdb.dwarf2/dw2-ranges.exp: Same.
435 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
436 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
437 * gdb.dwarf2/dw4-sig-types.exp: Same.
438 * gdb.dwarf2/dynarr-ptr.exp: Same.
439 * gdb.dwarf2/enum-type.exp: Same.
440 * gdb.dwarf2/fission-mix.exp: Same.
441 * gdb.dwarf2/formdata16.exp: Same.
442 * gdb.dwarf2/implptrconst.exp: Same.
443 * gdb.dwarf2/implptrpiece.exp: Same.
444 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
445 * gdb.dwarf2/main-subprogram.exp: Same.
446 * gdb.dwarf2/method-ptr.exp: Same.
447 * gdb.dwarf2/missing-sig-type.exp: Same.
448 * gdb.dwarf2/nonvar-access.exp: Same.
449 * gdb.dwarf2/opaque-type-lookup.exp: Same.
450 * gdb.dwarf2/shortpiece.exp: Same.
451 * gdb.dwarf2/staticvirtual.exp: Same.
452 * gdb.dwarf2/subrange.exp: Same.
453 * gdb.dwarf2/symtab-producer.exp: Same.
454 * gdb.dwarf2/typedef-void-finish.exp: Same.
455 * gdb.dwarf2/var-access.exp: Same.
456 * gdb.dwarf2/variant.exp: Same.
457 * gdb.dwarf2/void-type.exp: Same.
458 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
459 dw2-ranges-main.c.
460 * gdb.dwarf2/dw2-ranges-main.c: Remove.
461
4622020-10-16 Tom de Vries <tdevries@suse.de>
463
464 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
465
4662020-10-16 Tom de Vries <tdevries@suse.de>
467
468 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
469
4702020-10-14 Tom de Vries <tdevries@suse.de>
471
472 PR testsuite/26732
473 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
474 scenario 2.
475 * gdb.ada/mi_catch_ex_hand.exp: Same.
476
4772020-10-13 Pedro Alves <pedro@palves.net>
478
479 * lib/mi-support.exp (mi_clean_restart): New.
480 (mi_run_to_main): Delete.
481 All callers adjust to use mi_clean_restart / mi_runto_main.
482
4832020-10-13 Pedro Alves <pedro@palves.net>
484
485 * config/monitor.exp: Use "list -q".
486 * gdb.arch/gdb1558.exp: Use "break -q".
487 * gdb.arch/i386-permbkpt.exp: Use "break -q".
488 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
489 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
490 * gdb.base/commands.exp: Use "break -q".
491 * gdb.base/condbreak.exp: Use "break -q".
492 * gdb.base/ctf-ptype.exp: Use "list -q".
493 * gdb.base/define.exp: Use "break -q".
494 * gdb.base/del.exp: Use "break -q".
495 * gdb.base/fullname.exp: Use "break -q".
496 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
497 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
498 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
499 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
500 "hbreak -q".
501 * gdb.base/included.exp: Use "list -q".
502 * gdb.base/label.exp: Use "break -q".
503 * gdb.base/lineinc.exp: Use "break -q".
504 * gdb.base/list.exp: Use "list -q".
505 * gdb.base/macscp.exp: Use "list -q".
506 * gdb.base/pending.exp: Use "break -q".
507 * gdb.base/prologue-include.exp: Use "break -q".
508 * gdb.base/ptype.exp: Use "list -q".
509 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
510 * gdb.base/server-del-break.exp: Use "break -q".
511 * gdb.base/style.exp: Use "break -q".
512 * gdb.base/symbol-without-target_section.exp: Use "list -q".
513 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
514 * gdb.cp/exception.exp: Use "tbreak -q".
515 * gdb.dwarf2/dw2-error.exp: Use "break -q".
516 * gdb.dwarf2/fission-mix.exp: Use "break -q".
517 * gdb.dwarf2/fission-reread.exp: Use "break -q".
518 * gdb.dwarf2/pr13961.exp: Use "break -q".
519 * gdb.linespec/explicit.exp: Use "list -q".
520 * gdb.linespec/linespec.exp: Use "break -q".
521 * gdb.mi/mi-simplerun.exp: Use "--qualified".
522 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
523 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
524 * gdb.server/connect-without-multi-process.exp: Use "break -q".
525 * gdb.trace/change-loc.exp: Use "break -q".
526 * gdb.trace/pending.exp: Use "break -q".
527 * gdb.tui/basic.exp: Use "list -q".
528 * gdb.tui/list-before.exp: Use "list -q".
529 * gdb.tui/list.exp: Use "list -q".
530 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
531
5322020-10-13 Pedro Alves <pedro@palves.net>
533
534 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
535 saved breakpoints file.
536 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
537 inspecting breakpoint list.
538 * lib/gdb.exp (runto_main): Add "qualified" to options.
539 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
540 and handle it.
541 (mi_runto_main): Pass 1 as qualified argument.
542
5432020-10-13 Pedro Alves <pedro@palves.net>
544
545 * lib/mi-support.exp (mi_runto_main): New proc.
546 (mi_run_to_main): Use it.
547 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
548 * gdb.mi/mi-var-cmd.exp: Likewise.
549 * gdb.mi/mi-var-invalidate.exp: Likewise.
550 * mi-var-list-children-invalid-grandchild.exp: Likewise.
551 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
552 * gdb.mi/new-ui-mi-sync.exp: Likewise.
553 * gdb.mi/user-selected-context-sync.exp: Likewise.
554 * gdb.opt/inline-cmds.exp: Likewise.
555 * gdb.python/py-framefilter-mi.exp: Likewise.
556 * gdb.python/py-mi.exp: Likewise.
557
5582020-10-13 Pedro Alves <pedro@palves.net>
559
560 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
561 "runto main".
562 * gdb.ada/small_reg_param.exp: Likewise.
563 * gdb.arch/powerpc-d128-regs.exp: Likewise.
564 * gdb.base/annota1.exp: Likewise.
565 * gdb.base/anon.exp: Likewise.
566 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
567 * gdb.base/dprintf-non-stop.exp: Likewise.
568 * gdb.base/dprintf.exp: Likewise.
569 * gdb.base/gdb11530.exp: Likewise.
570 * gdb.base/gdb11531.exp: Likewise.
571 * gdb.base/gnu_vector.exp: Likewise.
572 * gdb.base/interrupt-noterm.exp: Likewise.
573 * gdb.base/memattr.exp: Likewise.
574 * gdb.base/step-over-syscall.exp: Likewise.
575 * gdb.base/watch-cond-infcall.exp: Likewise.
576 * gdb.base/watch-read.exp: Likewise.
577 * gdb.base/watch-vfork.exp: Likewise.
578 * gdb.base/watch_thread_num.exp: Likewise.
579 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
580 * gdb.guile/scm-frame-inline.exp: Likewise.
581 * gdb.linespec/explicit.exp: Likewise.
582 * gdb.opt/inline-break.exp: Likewise.
583 * gdb.python/py-frame-inline.exp: Likewise.
584 * gdb.reverse/break-precsave.exp: Likewise.
585 * gdb.reverse/break-reverse.exp: Likewise.
586 * gdb.reverse/consecutive-precsave.exp: Likewise.
587 * gdb.reverse/consecutive-reverse.exp: Likewise.
588 * gdb.reverse/finish-precsave.exp: Likewise.
589 * gdb.reverse/finish-reverse.exp: Likewise.
590 * gdb.reverse/fstatat-reverse.exp: Likewise.
591 * gdb.reverse/getresuid-reverse.exp: Likewise.
592 * gdb.reverse/i386-precsave.exp: Likewise.
593 * gdb.reverse/i386-reverse.exp: Likewise.
594 * gdb.reverse/i386-sse-reverse.exp: Likewise.
595 * gdb.reverse/i387-env-reverse.exp: Likewise.
596 * gdb.reverse/i387-stack-reverse.exp: Likewise.
597 * gdb.reverse/insn-reverse.exp: Likewise.
598 * gdb.reverse/machinestate-precsave.exp: Likewise.
599 * gdb.reverse/machinestate.exp: Likewise.
600 * gdb.reverse/pipe-reverse.exp: Likewise.
601 * gdb.reverse/readv-reverse.exp: Likewise.
602 * gdb.reverse/recvmsg-reverse.exp: Likewise.
603 * gdb.reverse/rerun-prec.exp: Likewise.
604 * gdb.reverse/s390-mvcle.exp: Likewise.
605 * gdb.reverse/solib-precsave.exp: Likewise.
606 * gdb.reverse/solib-reverse.exp: Likewise.
607 * gdb.reverse/step-precsave.exp: Likewise.
608 * gdb.reverse/step-reverse.exp: Likewise.
609 * gdb.reverse/time-reverse.exp: Likewise.
610 * gdb.reverse/until-precsave.exp: Likewise.
611 * gdb.reverse/until-reverse.exp: Likewise.
612 * gdb.reverse/waitpid-reverse.exp: Likewise.
613 * gdb.reverse/watch-precsave.exp: Likewise.
614 * gdb.reverse/watch-reverse.exp: Likewise.
615 * gdb.threads/kill.exp: Likewise.
616 * gdb.threads/tid-reuse.exp: Likewise.
617
6182020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
619
620 PR gdb/26642
621 * gdb.base/maint-target-async-off.c: New test.
622 * gdb.base/maint-target-async-off.exp: New test.
623
6242020-10-13 Alan Modra <amodra@gmail.com>
625
626 * gdb.arch/powerpc-altivec.s,
627 * gdb.arch/powerpc-power7.s,
628 * gdb.arch/powerpc-power8.s,
629 * gdb.arch/powerpc-power9.s,
630 * gdb.arch/powerpc-vsx.s,
631 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
632 * gdb.arch/powerpc-altivec.exp,
633 * gdb.arch/powerpc-power7.exp,
634 * gdb.arch/powerpc-power8.exp,
635 * gdb.arch/powerpc-power9.exp,
636 * gdb.arch/powerpc-vsx.exp,
637 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
638 disassembly of mfvsrd/mtvsrd.
639
6402020-10-13 Alan Modra <amodra@gmail.com>
641
642 * gdb.arch/arm-disassembler-options.exp: Adjust expected
643 "target architecture" output.
644 * gdb.arch/powerpc-d128-regs.exp: Likewise.
645 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
646 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
647 * gdb.arch/s390-disassembler-options.exp: Likewise.
648
6492020-10-12 Pedro Alves <pedro@palves.net>
650
651 PR exp/26602
652 PR c++/26550
653 * gdb.cp/ambiguous.cc (marker1): Delete.
654 (main): Initialize all the fields of the locals. Replace marker1
655 call with a "set breakpoint here" marker.
656 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
657 instead of running to marker1. Add tests printing all the
658 variables and all the fields of the variables.
659 (test_ambiguous): New proc, expecting the new GDB output when a
660 field access is ambiguous. Change all "warning: X ambiguous"
661 tests to use it.
662
6632020-10-12 Gary Benson <gbenson@redhat.com>
664
665 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
666 * gdb.base/msym-bp-2.c (foo): Likewise.
667 * gdb.base/msym-lang.c (foo): Likewise.
668 * gdb.base/msym-lang-main.c (foo): Likewise.
669 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
670 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
671 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
672 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
673 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
674 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
675 * gdb.python/py-objfile.c (static_var): Likewise.
676 * gdb.python/py-symbol.c (rr): Likewise.
677 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
678 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
679
6802020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
683 output of backtrace.
684
6852020-10-09 Tom Tromey <tromey@adacore.com>
686
687 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
688 (Rec): Add field. Fix range.
689 * gdb.ada/scalar_storage.exp: Update.
690
6912020-10-09 Hannes Domani <ssbssa@yahoo.de>
692
693 PR exp/26714
694 * gdb.base/printcmds.exp: Add tests for void results.
695
6962020-10-09 Jan Vrany <jan.vrany@labware.com>
697
698 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
699 is emmited for both 'set directories' and 'directory' commands.
700
7012020-10-08 Tom Tromey <tom@tromey.com>
702
703 * gdb.base/style.exp: Check that "main"'s name is styled.
704
7052020-10-07 Tom Tromey <tromey@adacore.com>
706
707 * gdb.base/find.exp: Rename some tests.
708
7092020-10-06 Gary Benson <gbenson@redhat.com>
710
711 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
712 * gdb.base/list1.c (unused): Likewise.
713
7142020-10-06 Gary Benson <gbenson@redhat.com>
715
716 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
717 __attribute__ ((used)).
718 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
719
7202020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
721
722 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
723 make use of regions throughout.
724 * gdb.base/overlays.exp: Enclose string with variableds in "..",
725 not {...}.
726 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
727
7282020-10-05 Hannes Domani <ssbssa@yahoo.de>
729
730 * gdb.base/call-sc.c: Fix return struct on stack test case.
731 * gdb.base/call-sc.exp: Likewise.
732
7332020-10-02 Gary Benson <gbenson@redhat.com>
734
735 * README: Fix "paralell".
736
7372020-09-30 Gary Benson <gbenson@redhat.com>
738
739 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
740 Convert directive to lowercase.
741 (.Labbrev1_begin): Add missing label.
742 (abbrev code 0x1): Remove DW_AT_stmt_list.
743 (.Ldie_b): Likewise.
744
7452020-09-27 Tom Tromey <tom@tromey.com>
746
747 * gdb.tui/new-layout.exp: Use with_test_prefix.
748
7492020-09-26 Gareth Rees <grees@undo.io> (tiny change)
750
751 PR python/26586
752 * gdb.python/python.exp: add test cases for the from_tty
753 argument to gdb.execute.
754
7552020-09-25 Gary Benson <gbenson@redhat.com>
756
757 * gdb.base/infcall-nested-structs.exp.tcl: Add
758 additional_flags=-Wno-tautological-compare for C++
759 tests when compiling using Clang.
760
7612020-09-25 Gary Benson <gbenson@redhat.com>
762
763 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
764 for .c files.
765
7662020-09-24 Tom Tromey <tromey@adacore.com>
767
768 PR tui/26638:
769 * gdb.tui/list.exp: Check output of "focus next".
770
7712020-09-23 Tom Tromey <tom@tromey.com>
772
773 * gdb.dwarf2/intbits.exp: New file.
774 * gdb.dwarf2/intbits.c: New file.
775
7762020-09-20 Pedro Alves <pedro@palves.net>
777
778 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
779 spawn_id before calling remote_close. Close secondary MI channel.
780
7812020-09-20 Pedro Alves <pedro@palves.net>
782
783 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
784 fails.
785
7862020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
787
788 * gdb.fortran/array-slices.exp: Update expected results.
789 * gdb.fortran/class-allocatable-array.exp: Likewise.
790 * gdb.fortran/multi-dim.exp: Likewise.
791 * gdb.fortran/vla-type.exp: Likewise.
792 * gdb.mi/mi-vla-fortran.exp: Likewise.
793
7942020-09-18 Victor Collod <vcollod@nvidia.com>
795
796 PR gdb/26635
797 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
798 compatible with i386, and move it to...
799 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
800 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
801 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
802
8032020-09-18 Pedro Alves <pedro@palves.net>
804
805 PR gdb/26631
806 * gdb.multi/multi-target-thread-find.exp: New file.
807
8082020-09-18 Pedro Alves <pedro@palves.net>
809
810 * gdb.multi/multi-target-continue.exp: New file, factored out from
811 multi-target.exp.
812 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
813 multi-target.exp.
814 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
815 multi-target.exp.
816 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
817 multi-target.exp.
818 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
819 multi-target.exp.
820 * gdb.multi/multi-target.exp.tcl: New file, factored out from
821 multi-target.exp.
822 * gdb.multi/multi-target.exp: Delete.
823
8242020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
825
826 * gdb.fortran/array-slices.exp: Add missing message data.
827
8282020-09-17 Pedro Alves <pedro@palves.net>
829
830 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
831
8322020-09-17 Pedro Alves <pedro@palves.net>
833
834 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
835 full prototype.
836
8372020-09-17 Pedro Alves <pedro@palves.net>
838
839 * gdb.python/py-as-string.c: Add cast.
840
8412020-09-17 Pedro Alves <pedro@palves.net>
842
843 * gdb.base/sizeof.c (fill): Add cast.
844
8452020-09-17 Pedro Alves <pedro@palves.net>
846
847 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
848
8492020-09-17 Pedro Alves <pedro@palves.net>
850
851 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
852 linkage name.
853 * gdb.base/prologue.exp: Use print /d.
854 * gdb.base/symbol-alias.exp: Handle C++ output.
855 * gdb.base/symbol-alias2.c: Handle C++ output.
856 [__cplusplus] (func): Explicitly specify linkage name.
857
8582020-09-17 Pedro Alves <pedro@palves.net>
859
860 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
861 (struct my_key_t): ... this. Adjust all references.
862 (struct value_t): Rename to ...
863 (struct my_value_t): ... this. Adjust all references.
864 (create_map, add_map_element, create_map_map)
865 (add_map_map_element): Add casts.
866
8672020-09-17 Pedro Alves <pedro@palves.net>
868
869 * gdb.python/py-framefilter-mi.c (funca): Add casts.
870 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
871
8722020-09-17 Pedro Alves <pedro@palves.net>
873
874 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
875
8762020-09-17 Pedro Alves <pedro@palves.net>
877
878 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
879 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
880 (charfoo, intfoo): Define full prototype.
881 * gdb.base/ptype1.c (charfoo): Define full prototype.
882 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
883 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
884
8852020-09-17 Pedro Alves <pedro@palves.net>
886
887 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
888 Don't define.
889 (utf_32_string): Compile for both C and C++.
890 * gdb.base/charset.exp: Use "print /d".
891
8922020-09-17 Pedro Alves <pedro@palves.net>
893
894 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
895 (nullptr): Rename to ...
896 (null_ptr): ... this.
897 * gdb.base/watchpoint.exp: Adjust to rename.
898
8992020-09-17 Pedro Alves <pedro@palves.net>
900
901 * gdb.base/printcmds.c (three, flag_enum_without_zero)
902 (three_not_flag): Add casts.
903
9042020-09-17 Pedro Alves <pedro@palves.net>
905
906 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
907 char array.
908 (main): Add references to Barrier, TestStrings, TestStringsH and
909 TestStringsW.
910 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
911 and expect a full prototype in C++.
912
9132020-09-17 Pedro Alves <pedro@palves.net>
914
915 * gdb.base/nested-addr.c (main): Add cast.
916 * gdb.base/nested-addr.exp: Use "print /d".
917
9182020-09-17 Pedro Alves <pedro@palves.net>
919
920 * gdb.base/break.exp (func): New. Use it throughout when
921 expecting a function name.
922
9232020-09-17 Pedro Alves <pedro@palves.net>
924
925 * gdb.base/display.exp: Issue "set print asm-demangle on".
926
9272020-09-17 Pedro Alves <pedro@palves.net>
928
929 * gdb.base/find.c: Include <string.h>.
930 (init_bufs): Add cast.
931 * gdb.base/find.exp: Issue "set print asm-demangle on".
932
9332020-09-16 Tom Tromey <tromey@adacore.com>
934
935 PR gdb/26598:
936 * gdb.base/skipcxx.exp: New file.
937 * gdb.base/skipcxx.cc: New file.
938
9392020-09-16 Tom de Vries <tdevries@suse.de>
940
941 PR testsuite/26617
942 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
943 WITH_DEBUG_SECTIONS is defined.
944 (xstr, str): New macro.
945 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
946 to get start and size of _Dmain.
947 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
948 using additional_flags.
949
9502020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
951
952 * gdb.base/bp-cmds-sourced-script.c: New file.
953 * gdb.base/bp-cmds-sourced-script.exp: New test.
954 * gdb.base/bp-cmds-sourced-script.gdb: New file.
955
9562020-09-16 Tom de Vries <tdevries@suse.de>
957
958 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
959 get the gdb prompt after issuing "monitor exit".
960
9612020-09-16 Tom de Vries <tdevries@suse.de>
962
963 PR testsuite/26624
964 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
965
9662020-09-16 Tom de Vries <tdevries@suse.de>
967
968 PR testsuite/26618
969 * gdb.tui/new-layout.exp: Escape unbalanced braces.
970
9712020-09-15 Tom Tromey <tromey@adacore.com>
972
973 PR rust/26197:
974 * lib/rust-support.exp (rust_llvm_version): New proc.
975 * gdb.rust/simple.exp: Check rust_llvm_version.
976
9772020-09-14 Tom de Vries <tdevries@suse.de>
978
979 * gdb.rust/traits.exp: Fix PATH warning.
980
9812020-09-13 Pedro Alves <pedro@palves.net>
982
983 * gdb.base/catch-follow-exec.c (main): Add explicit return
984 statement.
985 * gdb.base/catch-signal.c (main): Likewise.
986 * gdb.base/condbreak-call-false.c (main): Likewise.
987 * gdb.base/consecutive.c (main): Add explicit return
988 statement and return type.
989 * gdb.base/cursal.c (main): Add explicit return statement.
990 * gdb.base/cvexpr.c (main): Likewise.
991 * gdb.base/display.c (main): Add explicit return statement and
992 return type.
993 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
994 * gdb.base/endianity.c (main): Likewise.
995 * gdb.base/execd-prog.c (main): Likewise.
996 * gdb.base/gdb1090.c (main): Likewise.
997 * gdb.base/info_qt.c (main): Likewise.
998 * gdb.base/lineinc.c (main): Likewise.
999 * gdb.base/load-command.c (main): Likewise.
1000 * gdb.base/macscp1.c (main): Likewise.
1001 * gdb.base/pr10179-a.c (main): Likewise.
1002 * gdb.base/quit-live.c (main): Likewise.
1003 * gdb.base/scope0.c (main): Likewise.
1004 * gdb.base/settings.c (main): Likewise.
1005 * gdb.base/stack-checking.c (main): Return int.
1006 * gdb.base/varargs.c (main): Add explicit return statement.
1007 * gdb.cp/ambiguous.cc (main): Likewise.
1008 * gdb.cp/anon-struct.cc (main): Likewise.
1009 * gdb.cp/anon-union.cc (main): Likewise.
1010 * gdb.cp/bool.cc (main): Likewise.
1011 * gdb.cp/bs15503.cc (main): Likewise.
1012 * gdb.cp/cplusfuncs.cc (main): Likewise.
1013 * gdb.cp/cttiadd.cc (main): Likewise.
1014 * gdb.cp/extern-c.cc (main): Likewise.
1015 * gdb.cp/filename.cc (main): Likewise.
1016 * gdb.cp/formatted-ref.cc (main): Likewise.
1017 * gdb.cp/mb-ctor.cc (main): Likewise.
1018 * gdb.cp/member-ptr.cc (main): Likewise.
1019 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1020 * gdb.cp/overload-const.cc (main): Likewise.
1021 * gdb.cp/paren-type.cc (main): Likewise.
1022 * gdb.cp/parse-lang.cc (main): Likewise.
1023 * gdb.cp/pr-1023.cc (main): Likewise.
1024 * gdb.cp/psmang1.cc (main): Likewise.
1025 * gdb.cp/readnow-language.cc (main): Likewise.
1026 * gdb.cp/ref-params.cc (main): Likewise.
1027 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1028 * gdb.cp/virtbase2.cc (main): Likewise.
1029 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1030 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1031 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1032 * gdb.mi/mi-console.c (main): Likewise.
1033 * gdb.mi/mi-read-memory.c (main): Likewise.
1034 * gdb.modula2/multidim.c (main): Likewise.
1035 * gdb.opt/inline-small-func.c (main): Likewise.
1036 * gdb.python/py-rbreak.c (main): Likewise.
1037 * gdb.stabs/exclfwd1.c (main): Likewise.
1038 * gdb.trace/qtro.c (main): Likewise.
1039
10402020-09-13 Pedro Alves <pedro@palves.net>
1041
1042 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1043 instead of getenv.
1044
10452020-09-13 Pedro Alves <pedro@palves.net>
1046
1047 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1048 instead of spawning GDB with remote_spawn.
1049 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1050 gdb_spawn instead of spawning GDB with remote_spawn.
1051
10522020-09-13 Pedro Alves <pedro@palves.net>
1053
1054 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1055 file and add calls to first and second.
1056 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1057 add call to f.
1058
10592020-09-13 Pedro Alves <pedro@palves.net>
1060
1061 * gdb.mi/mi-break-qualified.cc: New file.
1062 * gdb.mi/mi-break-qualified.exp: New file.
1063 * lib/mi-support.exp (mi_create_breakpoint_multi)
1064 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1065 procedures.
1066 (mi_create_breakpoint_1): New, factored out from
1067 mi_create_breakpoint.
1068
10692020-09-13 Pedro Alves <pedro@palves.net>
1070
1071 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1072 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1073 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1074 (register_class): Delete.
1075 (main): Don't call register_class.
1076
10772020-09-13 Pedro Alves <pedro@palves.net>
1078
1079 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1080 (do_tests): Remove "calling method for small class" test.
1081 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1082 (register_class): Delete.
1083 (main): Don't call register_class.
1084 * gdb.cp/call-method-register.exp: New file, based on bits removed
1085 from classes.exp.
1086 * gdb.cp/call-method-register.cc: New file, based on bits removed
1087 from classes.cc.
1088
10892020-09-13 Pedro Alves <pedro@palves.net>
1090
1091 * gdb.base/msym-bp-2.c: New.
1092 * gdb.base/msym-bp-shl-lib.c: New file.
1093 * gdb.base/msym-bp-shl-main-2.c: New file.
1094 * gdb.base/msym-bp-shl-main.c: New file.
1095 * gdb.base/msym-bp-shl.exp: New file.
1096 * gdb.base/msym-bp.c: New file.
1097 * gdb.base/msym-bp.exp: New file.
1098
10992020-09-13 Joel Brobecker <brobecker@adacore.com>
1100
1101 * gdb.base/default.exp: Change $_gdb_major to 11.
1102
11032020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1104 Felix Willgerodt <Felix.Willgerodt@intel.com>
1105
1106 * x86-avx512bf16.c: New file.
1107 * x86-avx512bf16.exp: Likewise.
1108 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1109
11102020-09-11 Tom de Vries <tdevries@suse.de>
1111
1112 PR exp/26602
1113 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1114
11152020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1116
1117 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1118
11192020-09-10 Alan Modra <amodra@gmail.com>
1120
1121 PR 26597
1122 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1123
11242020-09-08 Tom de Vries <tdevries@suse.de>
1125
1126 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1127 after gdb_starti_cmd.
1128
11292020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1130
1131 * lib/fortran.exp (fortran_complex8): New proc.
1132 (fortran_complex16): New proc.
1133 * gdb.fortran/complex.exp: Use routines from fortran.exp
1134 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1135 * gdb.fortran/vla-ptr-info.exp: Likewise.
1136
11372020-09-03 Tom de Vries <tdevries@suse.de>
1138
1139 PR breakpoint/26546
1140 * gdb.base/label-without-address.exp: Runto main first.
1141
11422020-09-02 Tom Tromey <tromey@adacore.com>
1143
1144 * gdb.ada/mi_var_access.exp: Test children of access variable.
1145 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1146 * gdb.ada/mi_var_array.exp: Update.
1147
11482020-08-31 Kevin Buettner <kevinb@redhat.com>
1149
1150 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1151 on docker w/ AUFS storage driver.
1152
11532020-08-31 Kevin Buettner <kevinb@redhat.com>
1154
1155 * gdb.base/corefile2.exp (renamed binfile): New tests.
1156
11572020-08-31 Simon Marchi <simon.marchi@efficios.com>
1158
1159 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1160
11612020-08-31 Simon Marchi <simon.marchi@efficios.com>
1162
1163 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1164 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1165
11662020-08-31 Simon Marchi <simon.marchi@efficios.com>
1167
1168 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1169 output, printing a "not saved" value from history and printing a
1170 convenience variable created from a "not saved" value.
1171
11722020-08-31 Tom de Vries <tdevries@suse.de>
1173
1174 * gdb.base/eh_return.exp: Use nopie.
1175
11762020-08-28 Pedro Alves <pedro@palves.net>
1177
1178 * gdb.base/advance-until-multiple-locations.exp
1179 (advance_overload, until_overload): Adjust to match the
1180 frame/function header instead of the source line text.
1181
11822020-08-28 Tom de Vries <tdevries@suse.de>
1183
1184 * gdb.base/label-without-address.c: New test.
1185 * gdb.base/label-without-address.exp: New file.
1186
11872020-08-27 Pedro Alves <pedro@palves.net>
1188
1189 PR gdb/26523
1190 PR gdb/26524
1191 * gdb.base/advance-until-multiple-locations.cc: New.
1192 * gdb.base/advance-until-multiple-locations.exp: New.
1193
11942020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1195
1196 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1197
11982020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1199
1200 * gdb.arch/amd64-byte.exp: Make test names unique, use
1201 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1202 * gdb.arch/amd64-dword.exp: Likewise.
1203 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1204 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1205 unique.
1206 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1207 * gdb.arch/amd64-word.exp: Make test names unique, use
1208 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1209 * gdb.arch/i386-byte.exp: Make test names unique, use
1210 gdb_breakpoint.
1211 * gdb.arch/i386-word.exp: Likewise.
1212
12132020-08-25 Shahab Vahedi <shahab@synopsys.com>
1214
1215 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1216
12172020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1218
1219 PR gdb/26532
1220 * gdb.threads/stepi-random-signal.exp: Update pattern.
1221
12222020-08-25 Simon Marchi <simon.marchi@efficios.com>
1223
1224 PR gdb/26532
1225 * gdb.base/ui-redirect.exp: Update pattern.
1226
12272020-08-25 Gary Benson <gbenson@redhat.com>
1228
1229 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1230 when compiling with clang.
1231 * gdb.dwarf2/dw2-restore.exp: Likewise.
1232
12332020-08-25 Gary Benson <gbenson@redhat.com>
1234
1235 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1236 Add additional_flags=-Wno-inaccessible-base when compiling
1237 with GCC >= 10.1 or clang. Add additional_flags=-w when
1238 compiling with GCC < 10.
1239
12402020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1241
1242 PR m2/26372
1243 * gdb.modula2/multidim.c: New file.
1244 * gdb.modula2/multidim.exp: New file.
1245
12462020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1247
1248 * lib/gdb.exp (runto): Always emit fail on internal error.
1249
12502020-08-24 Simon Marchi <simon.marchi@efficios.com>
1251
1252 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1253 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1254 Likewise.
1255 * gdb.threads/stepi-random-signal.exp: Likewise.
1256
12572020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1258
1259 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1260 * gdb.trace/strace.exp: Ditto.
1261
12622020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1263
1264 * gdb.fortran/vla-type.exp: Skip commands not required for
1265 the Flang compiled binaries after prologue fix.
1266
12672020-08-17 Tom de Vries <tdevries@suse.de>
1268 Tom Tromey <tromey@adacore.com>
1269
1270 PR rust/26197:
1271 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1272
12732020-08-17 Tom Tromey <tromey@adacore.com>
1274
1275 * gdb.ada/mi_var_access.exp: New file.
1276 * gdb.ada/mi_var_access/mi_access.adb: New file.
1277 * gdb.ada/mi_var_access/pck.adb: New file.
1278 * gdb.ada/mi_var_access/pck.ads: New file.
1279
12802020-08-16 Tom de Vries <tdevries@suse.de>
1281
1282 PR gdb/25350
1283 * gdb.base/eh_return.c: New test.
1284 * gdb.base/eh_return.exp: New file.
1285
12862020-08-15 Tom de Vries <tdevries@suse.de>
1287
1288 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1289 (mixed_func_1d_): Use fortran_charlen_t in decl.
1290
12912020-08-15 Tom de Vries <tdevries@suse.de>
1292
1293 PR backtrace/26390
1294 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1295 Update expected pattern.
1296
12972020-08-13 Pedro Alves <pedro@palves.net>
1298
1299 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1300 * gdb.fortran/library-module.exp: Likewise.
1301 * gdb.fortran/logical.exp: Likewise.
1302 * gdb.fortran/module.exp: Likewise.
1303 * gdb.fortran/print_type.exp: Likewise.
1304 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1305 * gdb.fortran/vla-datatypes.exp: Likewise.
1306 * gdb.fortran/vla-history.exp: Likewise.
1307 * gdb.fortran/vla-ptr-info.exp: Likewise.
1308 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1309 * gdb.fortran/vla-ptype.exp: Likewise.
1310 * gdb.fortran/vla-sizeof.exp: Likewise.
1311 * gdb.fortran/vla-type.exp: Likewise.
1312 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1313 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1314 * gdb.fortran/vla-value-sub.exp: Likewise.
1315 * gdb.fortran/vla-value.exp: Likewise.
1316
13172020-08-13 Pedro Alves <pedro@palves.net>
1318
1319 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1320 * gdb.ada/access_to_packed_array.exp: Likewise.
1321 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1322 * gdb.ada/addr_arith.exp: Likewise.
1323 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1324 * gdb.ada/arr_arr.exp: Likewise.
1325 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1326 * gdb.ada/array_bounds.exp: Likewise.
1327 * gdb.ada/array_of_variable_length.exp: Likewise.
1328 * gdb.ada/array_ptr_renaming.exp: Likewise.
1329 * gdb.ada/array_subscript_addr.exp: Likewise.
1330 * gdb.ada/arraydim.exp: Likewise.
1331 * gdb.ada/arrayparam.exp: Likewise.
1332 * gdb.ada/arrayptr.exp: Likewise.
1333 * gdb.ada/assign_1.exp: Likewise.
1334 * gdb.ada/assign_arr.exp: Likewise.
1335 * gdb.ada/atomic_enum.exp: Likewise.
1336 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1337 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1338 * gdb.ada/bias.exp: Likewise.
1339 * gdb.ada/boolean_expr.exp: Likewise.
1340 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1341 * gdb.ada/bp_enum_homonym.exp: Likewise.
1342 * gdb.ada/bp_inlined_func.exp: Likewise.
1343 * gdb.ada/bp_on_var.exp: Likewise.
1344 * gdb.ada/bp_range_type.exp: Likewise.
1345 * gdb.ada/bp_reset.exp: Likewise.
1346 * gdb.ada/call_pn.exp: Likewise.
1347 * gdb.ada/catch_assert_if.exp: Likewise.
1348 * gdb.ada/catch_ex.exp: Likewise.
1349 * gdb.ada/catch_ex_std.exp: Likewise.
1350 * gdb.ada/char_enum.exp: Likewise.
1351 * gdb.ada/char_param.exp: Likewise.
1352 * gdb.ada/complete.exp: Likewise.
1353 * gdb.ada/cond_lang.exp: Likewise.
1354 * gdb.ada/convvar_comp.exp: Likewise.
1355 * gdb.ada/dgopt.exp: Likewise.
1356 * gdb.ada/disc_arr_bound.exp: Likewise.
1357 * gdb.ada/display_nested.exp: Likewise.
1358 * gdb.ada/dot_all.exp: Likewise.
1359 * gdb.ada/dyn_loc.exp: Likewise.
1360 * gdb.ada/dyn_stride.exp: Likewise.
1361 * gdb.ada/excep_handle.exp: Likewise.
1362 * gdb.ada/expr_delims.exp: Likewise.
1363 * gdb.ada/expr_with_funcall.exp: Likewise.
1364 * gdb.ada/exprs.exp: Likewise.
1365 * gdb.ada/fin_fun_out.exp: Likewise.
1366 * gdb.ada/fixed_cmp.exp: Likewise.
1367 * gdb.ada/formatted_ref.exp: Likewise.
1368 * gdb.ada/frame_arg_lang.exp: Likewise.
1369 * gdb.ada/frame_args.exp: Likewise.
1370 * gdb.ada/fullname_bp.exp: Likewise.
1371 * gdb.ada/fun_addr.exp: Likewise.
1372 * gdb.ada/fun_in_declare.exp: Likewise.
1373 * gdb.ada/fun_overload_menu.exp: Likewise.
1374 * gdb.ada/fun_renaming.exp: Likewise.
1375 * gdb.ada/funcall_char.exp: Likewise.
1376 * gdb.ada/funcall_param.exp: Likewise.
1377 * gdb.ada/funcall_ptr.exp: Likewise.
1378 * gdb.ada/funcall_ref.exp: Likewise.
1379 * gdb.ada/homonym.exp: Likewise.
1380 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1381 * gdb.ada/info_auto_lang.exp: Likewise.
1382 * gdb.ada/info_exc.exp: Likewise.
1383 * gdb.ada/info_types.exp: Likewise.
1384 * gdb.ada/int_deref.exp: Likewise.
1385 * gdb.ada/interface.exp: Likewise.
1386 * gdb.ada/iwide.exp: Likewise.
1387 * gdb.ada/lang_switch.exp: Likewise.
1388 * gdb.ada/length_cond.exp: Likewise.
1389 * gdb.ada/maint_with_ada.exp: Likewise.
1390 * gdb.ada/mi_catch_assert.exp: Likewise.
1391 * gdb.ada/mi_catch_ex.exp: Likewise.
1392 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1393 * gdb.ada/mi_dyn_arr.exp: Likewise.
1394 * gdb.ada/mi_ex_cond.exp: Likewise.
1395 * gdb.ada/mi_exc_info.exp: Likewise.
1396 * gdb.ada/mi_interface.exp: Likewise.
1397 * gdb.ada/mi_prot.exp: Likewise.
1398 * gdb.ada/mi_ref_changeable.exp: Likewise.
1399 * gdb.ada/mi_string_access.exp: Likewise.
1400 * gdb.ada/mi_task_arg.exp: Likewise.
1401 * gdb.ada/mi_task_info.exp: Likewise.
1402 * gdb.ada/mi_var_array.exp: Likewise.
1403 * gdb.ada/mi_var_union.exp: Likewise.
1404 * gdb.ada/mi_variant.exp: Likewise.
1405 * gdb.ada/minsyms.exp: Likewise.
1406 * gdb.ada/mod_from_name.exp: Likewise.
1407 * gdb.ada/nested.exp: Likewise.
1408 * gdb.ada/null_array.exp: Likewise.
1409 * gdb.ada/optim_drec.exp: Likewise.
1410 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1411 * gdb.ada/packed_array_assign.exp: Likewise.
1412 * gdb.ada/packed_tagged.exp: Likewise.
1413 * gdb.ada/pp-rec-component.exp: Likewise.
1414 * gdb.ada/print_chars.exp: Likewise.
1415 * gdb.ada/print_pc.exp: Likewise.
1416 * gdb.ada/ptr_typedef.exp: Likewise.
1417 * gdb.ada/ptype_arith_binop.exp: Likewise.
1418 * gdb.ada/ptype_array.exp: Likewise.
1419 * gdb.ada/ptype_field.exp: Likewise.
1420 * gdb.ada/ptype_tagged_param.exp: Likewise.
1421 * gdb.ada/ptype_union.exp: Likewise.
1422 * gdb.ada/py_range.exp: Likewise.
1423 * gdb.ada/py_taft.exp: Likewise.
1424 * gdb.ada/rdv_wait.exp: Likewise.
1425 * gdb.ada/rec_comp.exp: Likewise.
1426 * gdb.ada/rec_return.exp: Likewise.
1427 * gdb.ada/ref_param.exp: Likewise.
1428 * gdb.ada/ref_tick_size.exp: Likewise.
1429 * gdb.ada/rename_subscript_param.exp: Likewise.
1430 * gdb.ada/repeat_dyn.exp: Likewise.
1431 * gdb.ada/same_component_name.exp: Likewise.
1432 * gdb.ada/same_enum.exp: Likewise.
1433 * gdb.ada/scalar_storage.exp: Likewise.
1434 * gdb.ada/set_wstr.exp: Likewise.
1435 * gdb.ada/small_reg_param.exp: Likewise.
1436 * gdb.ada/str_binop_equal.exp: Likewise.
1437 * gdb.ada/str_ref_cmp.exp: Likewise.
1438 * gdb.ada/str_uninit.exp: Likewise.
1439 * gdb.ada/sub_variant.exp: Likewise.
1440 * gdb.ada/sym_print_name.exp: Likewise.
1441 * gdb.ada/taft_type.exp: Likewise.
1442 * gdb.ada/tagged.exp: Likewise.
1443 * gdb.ada/tagged_access.exp: Likewise.
1444 * gdb.ada/task_bp.exp: Likewise.
1445 * gdb.ada/task_switch_in_core.exp: Likewise.
1446 * gdb.ada/tasks.exp: Likewise.
1447 * gdb.ada/tick_last_segv.exp: Likewise.
1448 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1449 * gdb.ada/type_coercion.exp: Likewise.
1450 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1451 * gdb.ada/unchecked_union.exp: Likewise.
1452 * gdb.ada/uninitialized_vars.exp: Likewise.
1453 * gdb.ada/var_arr_attrs.exp: Likewise.
1454 * gdb.ada/var_arr_typedef.exp: Likewise.
1455 * gdb.ada/var_rec_arr.exp: Likewise.
1456 * gdb.ada/variant-record.exp: Likewise.
1457 * gdb.ada/variant.exp: Likewise.
1458 * gdb.ada/variant_record_packed_array.exp: Likewise.
1459 * gdb.ada/varsize_limit.exp: Likewise.
1460 * gdb.ada/whatis_array_val.exp: Likewise.
1461 * gdb.ada/widewide.exp: Likewise.
1462 * gdb.ada/win_fu_syms.exp: Likewise.
1463
14642020-08-12 Gary Benson <gbenson@redhat.com>
1465
1466 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1467
14682020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1469
1470 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1471 unset the array variable.
1472
14732020-08-03 Tom de Vries <tdevries@suse.de>
1474
1475 PR symtab/26333
1476 * lib/dwarf.exp (DW_LNE_user): New proc.
1477 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1478 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1479
14802020-07-31 Kevin Buettner <kevinb@redhat.com>
1481
1482 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1483 to 'uintptr_t'
1484 (inttypes.h): Include.
1485
14862020-07-31 Kevin Buettner <kevinb@redhat.com>
1487
1488 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1489 (C5_24k): Delete.
1490 (C5_8k, C5_64k, C5_256k): New macros.
1491 (buf_ro): Allocate 256 KiB of initialized data.
1492
14932020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1494
1495 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1496 that attempt to overwrite an existing condition with a condition
1497 that fails parsing and also with a condition that parses fine
1498 but contains junk at the end.
1499
15002020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1501
1502 * gdb.base/condbreak-bad.c: New test.
1503 * gdb.base/condbreak-bad.exp: New file.
1504
15052020-07-30 Tom de Vries <tdevries@suse.de>
1506
1507 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1508 out of ...
1509 (GDBInfoModuleSymbols::check_entry): ... here.
1510 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1511 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1512 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1513
15142020-07-30 Tom de Vries <tdevries@suse.de>
1515
1516 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1517 "__class_some_module_Number_t" optional.
1518
15192020-07-29 Tom de Vries <tdevries@suse.de>
1520
1521 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1522 multiple locations.
1523
15242020-07-29 Tom de Vries <tdevries@suse.de>
1525
1526 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1527 rather than function name.
1528
15292020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1530
1531 PR symtab/26270:
1532 * gdb.cp/disasm-func-name.cc: New file.
1533 * gdb.cp/disasm-func-name.exp: New file.
1534
15352020-07-28 Tom Tromey <tromey@adacore.com>
1536
1537 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1538 'varval' location.
1539
15402020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1541
1542 * gdb.python/py-unwind.py: Update to make use of a register
1543 descriptor.
1544
15452020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1546
1547 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1548
15492020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1550
1551 PR fortran/23051
1552 PR fortran/26139
1553 * gdb.fortran/class-allocatable-array.exp: New file.
1554 * gdb.fortran/class-allocatable-array.f90: New file.
1555 * gdb.fortran/pointer-to-pointer.exp: New file.
1556 * gdb.fortran/pointer-to-pointer.f90: New file.
1557
15582020-07-25 Tom de Vries <tdevries@suse.de>
1559
1560 PR symtab/26243
1561 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1562 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1563
15642020-07-24 Tom de Vries <tdevries@suse.de>
1565
1566 PR testsuite/26293
1567 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1568
15692020-07-23 Pedro Alves <pedro@palves.net>
1570
1571 * gdb.server/server-kill.exp (prepare): New, factored out from the
1572 top level.
1573 (kill_server): New.
1574 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1575 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1576
15772020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1578
1579 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1580
15812020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1582
1583 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1584 Initialize to empty string at top level.
1585 (gdb_wrapper_init): Revert check for file existence on build.
1586 Build the wrapper in its default place, not a build-specific
1587 location. When host == build, make the pathname absolute.
1588 (gdb_compile): Delete leftover declaration of
1589 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1590 string instead of uninitialized.
1591
15922020-07-22 Kevin Buettner <kevinb@redhat.com>
1593
1594 * gdb.base/corefile2.exp: New file.
1595 * gdb.base/coremaker2.exp: New file.
1596
15972020-07-22 Kevin Buettner <kevinb@redhat.com>
1598
1599 * gdb.base/coredump-filter.exp: Add second
1600 non-Private-Shared-Anon-File test.
1601 (test_disasm): Rename binfile for test which is expected
1602 to fail.
1603
16042020-07-22 Kevin Buettner <kevinb@redhat.com>
1605
1606 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1607 data in core file".
1608 * gdb.base/coremaker.c (buf2ro): New global.
1609 (mmapdata): Add a read-only mmap mapping.
1610
16112020-07-22 Kevin Buettner <kevinb@redhat.com>
1612
1613 PR corefiles/25631
1614 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1615 New test.
1616 * gdb.base/coremaker.c (buf3): New global.
1617 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1618 flags.
1619
16202020-07-22 Kevin Buettner <kevinb@redhat.com>
1621
1622 * gdb.base/coremaker.c (filler_ro): New global constant.
1623
16242020-07-22 Tom Tromey <tromey@adacore.com>
1625
1626 * gdb.ada/mi_prot.exp: New file.
1627 * gdb.ada/mi_prot/pkg.adb: New file.
1628 * gdb.ada/mi_prot/pkg.ads: New file.
1629 * gdb.ada/mi_prot/prot.adb: New file.
1630
16312020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1632
1633 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1634 loads two JITers.
1635
16362020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1637
1638 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1639
16402020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1641
1642 * gdb.python/py-arch-reg-names.exp: Additional tests.
1643
16442020-07-21 Tom de Vries <tdevries@suse.de>
1645
1646 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1647 breakpoint locations".
1648 * gdb.reverse/solib-reverse.exp: Same.
1649
16502020-07-21 Tom de Vries <tdevries@suse.de>
1651
1652 * gdb.reverse/step-reverse.c (callee): Merge statements.
1653
16542020-07-21 Tom de Vries <tdevries@suse.de>
1655
1656 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1657 line numbers for some variables.
1658
16592020-07-21 Tom de Vries <tdevries@suse.de>
1660
1661 * gdb.opt/inline-locals.c (init_array): New func.
1662 (func1): Use init_array.
1663 * gdb.opt/inline-locals.exp: Update pattern.
1664
16652020-07-21 Tom de Vries <tdevries@suse.de>
1666
1667 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1668 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1669
16702020-07-20 Ludovic Courtès <ludo@gnu.org>
1671
1672 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1673 * gdb.guile/types-module.exp: Remove "ERROR:" from
1674 regexps since Guile 3.0 no longer prints that.
1675
16762020-07-20 Ludovic Courtès <ludo@gnu.org>
1677
1678 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1679 error regexp to match on Guile 2.2.
1680
16812020-07-20 Gary Benson <gbenson@redhat.com>
1682
1683 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1684 with clang.
1685
16862020-07-20 Tom de Vries <tdevries@suse.de>
1687
1688 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1689 (omp_set_lock_in_order): New function.
1690 (single_scope, multi_scope, nested_func, nested_parallel): Use
1691 omp_set_lock_in_order and omp_unset_lock.
1692 (main): Init and destroy lock and lock2.
1693
16942020-07-20 Tom de Vries <tdevries@suse.de>
1695
1696 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1697
16982020-07-20 Tom de Vries <tdevries@suse.de>
1699
1700 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1701
17022020-07-17 Tom de Vries <tdevries@suse.de>
1703
1704 * gdb.base/valgrind-infcall-2.c: New test.
1705 * gdb.base/valgrind-infcall-2.exp: New file.
1706 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1707
17082020-07-17 Tom de Vries <tdevries@suse.de>
1709
1710 * gdb.dlang/circular.c (found): Use found_label as label name.
1711 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1712 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1713 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1714 * gdb.dwarf2/ada-linkage-name.exp: Same.
1715 * gdb.dwarf2/arr-subrange.exp: Same.
1716 * gdb.dwarf2/atomic-type.exp: Same.
1717 * gdb.dwarf2/comp-unit-lang.exp: Same.
1718 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1719 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1720 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1721 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1722 * gdb.dwarf2/implptr-64bit.exp: Same.
1723 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1724 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1725 * gdb.dwarf2/imported-unit.exp: Same.
1726 * gdb.dwarf2/main-subprogram.exp: Same.
1727 * gdb.dwarf2/missing-type-name.exp: Same.
1728 * gdb.dwarf2/nonvar-access.exp: Same.
1729 * gdb.dwarf2/struct-with-sig.exp: Same.
1730 * gdb.dwarf2/typedef-void-finish.exp: Same.
1731 * gdb.dwarf2/void-type.exp: Same.
1732
17332020-07-17 Tom de Vries <tdevries@suse.de>
1734
1735 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1736 src parameter.
1737 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1738 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1739 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1740 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1741 * gdb.dwarf2/dwz.exp: Same.
1742 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1743 * gdb.dwarf2/implref-array.exp: Same.
1744 * gdb.dwarf2/implref-const.exp: Same.
1745 * gdb.dwarf2/implref-global.exp: Same.
1746 * gdb.dwarf2/implref-struct.exp: Same.
1747 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1748 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1749 * gdb.dwarf2/var-access.exp: Same.
1750 * gdb.dwarf2/varval.exp: Same.
1751 * gdb.trace/entry-values.exp: Same.
1752
17532020-07-17 Tom de Vries <tdevries@suse.de>
1754
1755 * lib/dwarf.exp (Dwarf::extern): Remove.
1756 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1757 * gdb.dlang/circular.exp: Same.
1758 * gdb.dwarf2/comp-unit-lang.exp: Same.
1759 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1760 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1761 * gdb.dwarf2/dwz.exp: Same.
1762 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1763 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1764 * gdb.dwarf2/imported-unit.exp: Same.
1765 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1766
17672020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1768
1769 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1770 Use double quotes instead of single quotes.
1771
17722020-07-16 Caroline Tice <cmtice@google.com>
1773
1774 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1775 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1776
17772020-07-16 Tom de Vries <tdevries@suse.de>
1778
1779 * lib/dwarf.exp (program): Initialize _line.
1780 (DW_LNE_end_sequence): Reinitialize _line.
1781 (DW_LNS_advance_line): Update _line.
1782 (line): New proc.
1783 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1784 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1785 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1786 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1787 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1788 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1789
17902020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1791
1792 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1793 generic.
1794
17952020-07-15 Tom de Vries <tdevries@suse.de>
1796
1797 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1798 is_amd64_regs_target.
1799
18002020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1801
1802 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1803 * gdb.fortran/ptype-on-functions.f90: Likewise.
1804
18052020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1806
1807 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1808 values in documentation for addr_size to 4 and 8.
1809
18102020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1811
1812 * gdb.arch/amd64-osabi.exp: Update.
1813 * gdb.arch/arm-disassembler-options.exp: Update.
1814 * gdb.arch/powerpc-disassembler-options.exp: Update.
1815 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1816 * gdb.arch/s390-disassembler-options.exp: Update.
1817 * gdb.base/all-architectures.exp.tcl: Update.
1818 * gdb.base/attach-pie-noexec.exp: Update.
1819 * gdb.base/catch-syscall.exp: Update.
1820 * gdb.xml/tdesc-arch.exp: Update.
1821
18222020-07-14 Tom de Vries <tdevries@suse.de>
1823
1824 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1825 (local_gettid): ... this.
1826 (fn): Update.
1827
18282020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1829
1830 * gdb.base/info_sources.exp: Skip directory match tests on
1831 remote hosts.
1832
18332020-07-13 Gary Benson <gbenson@redhat.com>
1834
1835 * gdb.base/savedregs.exp (caller): Use parentheses to
1836 make expected expression evaluation ordering explicit.
1837
18382020-07-13 Gary Benson <gbenson@redhat.com>
1839
1840 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1841
18422020-07-13 Gary Benson <gbenson@redhat.com>
1843
1844 * gdb.base/bigcore.c (main): Use a volatile pointer when
1845 attempting to trigger a SIGSEGV.
1846 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1847 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1848 * gdb.base/savedregs.c (thrower): Likewise.
1849 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1850
18512020-07-13 Gary Benson <gbenson@redhat.com>
1852
1853 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1854 defining and using VLA structure fields into...
1855 * gdb.base/vla-struct-fields.c: New file.
1856 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1857 tests into...
1858 * gdb.base/vla-struct-fields.exp: New file.
1859
18602020-07-13 Tom de Vries <tdevries@suse.de>
1861
1862 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1863 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1864 * gdb.base/gold-gdb-index.exp: Same.
1865 * gdb.base/morestack.exp: Same.
1866
18672020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1868
1869 PR rust/26121
1870 * gdb.rust/modules.rs: Prevent linker from discarding test
1871 symbol.
1872
18732020-07-10 Pedro Alves <pedro@palves.net>
1874
1875 PR gdb/26199
1876 * gdb.multi/multi-target.c (exit_thread): New.
1877 (thread_start): Break loop if EXIT_THREAD.
1878 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1879 (top level) Call test_no_resumed.
1880
18812020-07-08 Tom Tromey <tromey@adacore.com>
1882
1883 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1884 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1885
18862020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1887
1888 PR python/22748
1889 * gdb.opt/inline-frame-tailcall.c: New file.
1890 * gdb.opt/inline-frame-tailcall.exp: New file.
1891 * gdb.python/py-unwind-inline.c: New file.
1892 * gdb.python/py-unwind-inline.exp: New file.
1893 * gdb.python/py-unwind-inline.py: New file.
1894
18952020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1896
1897 * gdb.python/py-arch-reg-groups.exp: New file.
1898
18992020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1900
1901 * gdb.python/py-arch-reg-names.exp: New file.
1902
19032020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1904
1905 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1906 gdb.PendingFrame.architecture method.
1907
19082020-07-06 Tom de Vries <tdevries@suse.de>
1909
1910 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1911
19122020-07-03 Pedro Alves <palves@redhat.com>
1913
1914 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1915 explicitly write negative numbers.
1916 * gdb.base/structs2.exp: Adjust expected output.
1917
19182020-07-03 Pedro Alves <palves@redhat.com>
1919
1920 * gdb.base/charset.c (init_string): Change all char parameters to
1921 unsigned char parameters.
1922
19232020-07-03 Pedro Alves <palves@redhat.com>
1924
1925 * gdb.base/call-sc.exp (start_scalars_test): Use
1926 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1927 * gdb.base/overlays.c: Remove references to PARAMS.
1928 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1929 * gdb.base/reread.exp: Don't set 'prototypes' global.
1930 * gdb.base/structs.exp (start_structs_test): Use
1931 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1932 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1933 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1934 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1935 call.
1936 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1937
19382020-07-03 Pedro Alves <palves@redhat.com>
1939
1940 * gdb.base/m32rovly.c: Delete.
1941 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1942
19432020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1944
1945 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1946 of gdb_py_test_multiple.
1947 * gdb.python/py-cmd.exp: Likewise.
1948 * gdb.python/py-events.exp: Likewise.
1949 * gdb.python/py-function.exp: Likewise.
1950 * gdb.python/py-inferior.exp: Likewise.
1951 * gdb.python/py-infthread.exp: Likewise.
1952 * gdb.python/py-linetable.exp: Likewise.
1953 * gdb.python/py-parameter.exp: Likewise.
1954 * gdb.python/py-value.exp: Likewise.
1955
19562020-06-30 Tom de Vries <tdevries@suse.de>
1957
1958 PR testsuite/26175
1959 * lib/future.exp (gdb_default_target_compile): Detect and handle
1960 early_flags.
1961
19622020-06-29 Simon Marchi <simon.marchi@efficios.com>
1963
1964 * boards/simavr.exp (gdb_load): Catch errors when closing
1965 previous connection. Close connection, wait for process and
1966 unset simavr_spawn_id on failure.
1967
19682020-06-29 Tom de Vries <tdevries@suse.de>
1969
1970 * lib/gdb.exp (unknown): Make test-case unresolved.
1971
19722020-06-29 Tom de Vries <tdevries@suse.de>
1973
1974 PR gdb/25475
1975 * gdb.server/solib-list.exp: Verify that the symbol reload
1976 confirmation question is asked.
1977
19782020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1979
1980 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1981 have a input seq nr in each pass message.
1982 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
1983 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1984 * gdb.python/python.exp: Make test names unique,
1985 use gdb_test_multiline instead of gdb_py_test_multiple,
1986 use $gdb_test_name.
1987 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1988
19892020-06-26 Nick Alcock <nick.alcock@oracle.com>
1990
1991 * configure.ac: Add --enable-libctf.
1992 * aclocal.m4: sinclude ../config/enable.m4.
1993 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1994 * lib/gdb.exp (skip_ctf_tests): Use it.
1995 * gdb.base/ctf-constvars.exp: Error message tweak.
1996 * gdb.base/ctf-ptype.exp: Likewise.
1997 * configure: Regenerate.
1998
19992020-06-26 Gary Benson <gbenson@redhat.com>
2000
2001 * gdb.cp/try_catch.cc: Include string.h.
2002 (main): Replace comparison against string literal with
2003 strcmp, avoiding build failure with -Wstring-compare.
2004 Add "marker test-complete".
2005 * gdb.cp/try_catch.exp: Run the test to the above marker,
2006 then verify that the value of "test" is still true.
2007
20082020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2009
2010 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2011
20122020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2013
2014 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2015
20162020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2017
2018 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2019 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2020 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2021 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2022 * gdb.arch/riscv-tdesc-loading.exp: New file.
2023
20242020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2025
2026 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2027
20282020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2029
2030 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2031 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2032 * gdb.arch/riscv-tdesc-regs.c: New file.
2033 * gdb.arch/riscv-tdesc-regs.exp: New file.
2034
20352020-06-24 Pedro Alves <palves@redhat.com>
2036
2037 * gdb.arch/amd64-entry-value-paramref.exp: Use
2038 prepare_for_testing_full and don't pass "c++" for the .S file
2039 build spec.
2040 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2041 $options, since it's an assembly file. Remove -Wno-deprecated.
2042 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2043 compiling C++ programs.
2044
20452020-06-24 Pedro Alves <palves@redhat.com>
2046
2047 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2048 Clang, add "-Wno-unknown-warning-option" to the options.
2049
20502020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2051
2052 * gdb.xml/tdesc-reload.c: New file.
2053 * gdb.xml/tdesc-reload.exp: New file.
2054 * gdb.xml/maint-xml-dump-01.xml: New file.
2055 * gdb.xml/maint-xml-dump-02.xml: New file.
2056 * gdb.xml/maint-xml-dump.exp: New file.
2057
20582020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2059
2060 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2061 Adjust for omitted commands when TUI is disabled.
2062
20632020-06-23 Gary Benson <gbenson@redhat.com>
2064 Pedro Alves <palves@redhat.com>
2065
2066 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2067 * gdb.cp/nsimport.cc: Likewise.
2068 * gdb.cp/nsnested.cc: Likewise.
2069 * gdb.cp/nsnoimports.cc: Likewise.
2070 * gdb.cp/nsusing.cc: Likewise.
2071 * gdb.cp/smartp.cc: Likewise.
2072 * gdb.python/py-pp-integral.c: Likewise.
2073 * gdb.python/py-pp-re-notag.c: Likewise.
2074
20752020-06-23 Gary Benson <gbenson@redhat.com>
2076
2077 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2078 * gdb.cp/nsimport.cc: Likewise.
2079 * gdb.cp/nsnested.cc: Likewise.
2080 * gdb.cp/nsnoimports.cc: Likewise.
2081 * gdb.cp/nsusing.cc: Likewise.
2082 * gdb.cp/smartp.cc: Likewise.
2083 * gdb.python/py-pp-integral.c: Likewise.
2084 * gdb.python/py-pp-re-notag.c: Likewise.
2085
20862020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2087
2088 * gdb.base/default-args.exp: New test.
2089 * gdb.base/default-args.c: New file.
2090 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2091 * gdb.base/default.exp: Update to new help text.
2092 * gdb.base/help.exp: Likewise.
2093 * gdb.base/page.exp: Likewise.
2094 * gdb.base/style.exp: Likewise.
2095 * gdb.guile/guile.exp: Likewise.
2096 * gdb.python/python.exp: Likewise.
2097
20982020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2099
2100 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2101 remote host. Fix search path syntax on Windows host.
2102
21032020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2104
2105 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2106 over 'exec-file-mismatch'.
2107 * gdb.base/attach.c: Mark should_exit volatile.
2108 * gdb.base/attach2.c: Likewise. Add a comment explaining
2109 why the sleep cannot be big.
2110 * gdb.base/attach3.c: New file.
2111
21122020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2113
2114 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2115 prefix optional.
2116
21172020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2118
2119 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2120 for remote host.
2121
21222020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2123 Hafiz Abid Qadeer <abidh@codesourcery.com>
2124
2125 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2126 file sent to remote host.
2127 (top level): Allow int32_t as type of 32-bit register.
2128
21292020-06-19 Tom de Vries <tdevries@suse.de>
2130
2131 * lib/gdb.exp (gdb_note): New proc.
2132 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2133 (gdb_default_target_compile): ... here. Only call
2134 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2135 (use_gdb_compile): Change to array.
2136 (toplevel): Update sets of use_gdb_compile to specify language.
2137 Warn about default_target_compile override. Store dejagnu's version
2138 of default_target_compile in dejagnu_default_target_compile.
2139
21402020-06-18 Tom de Vries <tdevries@suse.de>
2141
2142 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2143 (default_gdb_init): ... here.
2144
21452020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2146
2147 Fix TUI support checks in gdb.tui tests.
2148
2149 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2150 just say UNSUPPORTED.
2151 * gdb.tui/corefile-run.exp: Likewise.
2152 * gdb.tui/empty.exp: Likewise.
2153 * gdb.tui/list-before.exp: Likewise.
2154 * gdb.tui/list.exp: Likewise.
2155 * gdb.tui/main.exp: Likewise.
2156 * gdb.tui/regs.exp: Likewise.
2157 * gdb.tui/resize.exp: Likewise.
2158 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2159 * gdb.tui/tui-layout-asm.exp: Likewise.
2160 * gdb.tui/tui-missing-src.exp: Likewise.
2161 * gdb.tui/winheight.exp: Likewise.
2162 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2163
21642020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2165
2166 Fix TCL error in gdb.python/py-format-string.exp.
2167
2168 * gdb.python/py-format-string.exp: Move test for python support
2169 earlier, out of function body.
2170
21712020-06-15 Simon Marchi <simon.marchi@efficios.com>
2172
2173 * gdb.base/index-cache-load-twice.c: New.
2174 * gdb.base/index-cache-load-twice.exp: New.
2175
21762020-06-17 Keith Seitz <keiths@redhat.com>
2177
2178 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
2179 when executing "gdb --configuration".
2180
21812020-06-17 Tom de Vries <tdevries@suse.de>
2182
2183 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2184 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2185 conditional on presence of gdb_tcl_unknown.
2186 (gdb_finish): Make override undo conditional on presence of
2187 gdb_tcl_unknown.
2188
21892020-06-16 Tom Tromey <tom@tromey.com>
2190
2191 * gdb.python/tui-window.py (failwin): New function. Register it
2192 as a TUI window type.
2193 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2194
21952020-06-16 Gary Benson <gbenson@redhat.com>
2196
2197 * gdb.python/py-nested-maps.c (create_map): Add missing return
2198 value.
2199 (create_map_map): Likewise.
2200
22012020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2202
2203 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2204 variable.
2205 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2206 and use the already-defined 'options' variable.
2207
22082020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2209 Tom de Vries <tdevries@suse.de>
2210
2211 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2212 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2213 (gdb_setup_known_globals): New proc.
2214 (gdb_cleanup_globals): New proc.
2215 * lib/gdb.exp (load_lib): New override proc.
2216 (gdb_stdin_log_init): Set var in_file as persistent global.
2217 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2218 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2219 fpc_compiler as persistent global.
2220
22212020-06-12 Tom de Vries <tdevries@suse.de>
2222
2223 * lib/tuiterm.exp (spawn): Rename to ...
2224 (tui_spawn): ... this.
2225 (toplevel): Move rename of spawn ...
2226 (gdb_init_tuiterm): ... here. New proc.
2227 (gdb_finish_tuiterm): New proc.
2228 * lib/gdb.exp (gdb_finish_hooks): New global var.
2229 (gdb_finish): Handle gdb_finish_hooks.
2230 (tuiterm_env): New proc.
2231 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2232 tuiterm_env.
2233 * gdb.tui/basic.exp: Same.
2234 * gdb.tui/corefile-run.exp: Same.
2235 * gdb.tui/empty.exp: Same.
2236 * gdb.tui/list-before.exp: Same.
2237 * gdb.tui/list.exp: Same.
2238 * gdb.tui/main.exp: Same.
2239 * gdb.tui/new-layout.exp: Same.
2240 * gdb.tui/regs.exp: Same.
2241 * gdb.tui/resize.exp: Same.
2242 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2243 * gdb.tui/tui-layout-asm.exp: Same.
2244 * gdb.tui/tui-missing-src.exp: Same.
2245 * gdb.tui/winheight.exp: Same.
2246
22472020-06-12 Tom de Vries <tdevries@suse.de>
2248
2249 PR testsuite/26110
2250 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2251 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2252
22532020-06-11 Tom Tromey <tom@tromey.com>
2254
2255 PR gdb/18318:
2256 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2257 floating point tests.
2258
22592020-06-11 Keith Seitz <keiths@redhat.com>
2260
2261 PR gdb/21356
2262 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2263 vla_struct.
2264 Add new struct vla_typedef and union vla_typedef_union and
2265 corresponding instantiation objects.
2266 Initialize new objects.
2267 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2268 and vla_typedef_union_object.
2269 Fixup type for vla_struct_object.
2270
22712020-06-11 Tom de Vries <tdevries@suse.de>
2272
2273 * lib/gdb.exp (with_override): New proc, factored out of ...
2274 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2275
22762020-06-10 Tom de Vries <tdevries@suse.de>
2277
2278 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2279
22802020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2281
2282 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2283 parameter, update callers.
2284
22852020-06-04 Simon Marchi <simon.marchi@efficios.com>
2286
2287 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2288 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2289 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2290
22912020-06-04 Tom de Vries <tdevries@suse.de>
2292
2293 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2294
22952020-06-04 Tom de Vries <tdevries@suse.de>
2296
2297 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2298 exp_continue.
2299
23002020-06-04 Tom de Vries <tdevries@suse.de>
2301
2302 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2303
23042020-06-03 Tom de Vries <tdevries@suse.de>
2305
2306 PR symtab/26046
2307 * gdb.cp/breakpoint-locs-2.cc: New test.
2308 * gdb.cp/breakpoint-locs.cc: New test.
2309 * gdb.cp/breakpoint-locs.exp: New file.
2310 * gdb.cp/breakpoint-locs.h: New test.
2311
23122020-06-03 Tom de Vries <tdevries@suse.de>
2313
2314 PR testsuite/25609
2315 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2316 value of global verbose.
2317 * gdb.base/jit-elf.exp: Same.
2318 * gdb.base/jit-reader.exp: Same.
2319
23202020-06-02 Tom de Vries <tdevries@suse.de>
2321
2322 * gdb.dwarf2/multidictionary.exp: Don't use
2323 gdb_spawn_with_cmdline_opts.
2324
23252020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2326
2327 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2328 use_header case.
2329 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2330 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2331 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2332 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2333 * gdb.dwarf2/dw2-inline-header.c: New file.
2334 * gdb.dwarf2/dw2-inline-header.h: New file.
2335
23362020-05-30 Pedro Alves <palves@redhat.com>
2337
2338 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2339 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2340
23412020-05-29 Gary Benson <gbenson@redhat.com>
2342
2343 * gdb.compile/compile-cplus.exp (additional_flags): Also
2344 set when building with clang.
2345 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2346 when building with clang.
2347
23482020-05-29 Gary Benson <gbenson@redhat.com>
2349
2350 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2351 building with clang.
2352 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2353
23542020-05-29 Gary Benson <gbenson@redhat.com>
2355
2356 * gdb.cp/koenig.exp (prepare_for_testing): Add
2357 additional_flags=-Wno-unused-comparison.
2358 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2359
23602020-05-28 Gary Benson <gbenson@redhat.com>
2361
2362 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2363 statement.
2364
23652020-05-28 Gary Benson <gbenson@redhat.com>
2366
2367 * gdb.cp/classes.exp (prepare_for_testing): Add
2368 additional_flags=-Wno-deprecated-register.
2369 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2370 * gdb.cp/misc.exp: Likewise.
2371
23722020-05-28 Gary Benson <gbenson@redhat.com>
2373
2374 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2375 (test_op_new::operator new): Add return statement.
2376 (test_op_new_array::operator new[]): Likewise.
2377
23782020-05-27 Pedro Alves <palves@redhat.com>
2379
2380 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2381 check. Use test_gdb_complete_unique instead of
2382 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2383 test_gdb_complete_multiple instead of
2384 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2385
23862020-05-27 Luis Machado <luis.machado@linaro.org>
2387
2388 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2389 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2390 * gdb.arch/arm-disassembler-options.exp: Likewise.
2391 * gdb.arch/arm-disp-step.exp: Likewise.
2392 * gdb.arch/thumb-prologue.exp: Likewise.
2393 * gdb.base/async.exp: Likewise.
2394 * gdb.base/auxv.exp: Likewise.
2395 * gdb.base/complex-parts.exp: Likewise.
2396 * gdb.base/ena-dis-br.exp: Likewise.
2397 * gdb.base/foll-exec.exp: Likewise.
2398 * gdb.base/permissions.exp: Likewise.
2399 * gdb.base/relocate.exp: Likewise.
2400 * gdb.base/return2.exp: Likewise.
2401 * gdb.base/sigbpt.exp: Likewise.
2402 * gdb.base/siginfo-obj.exp: Likewise.
2403 * gdb.cp/converts.exp: Likewise.
2404 * gdb.cp/exceptprint.exp: Likewise.
2405 * gdb.cp/inherit.exp: Likewise.
2406 * gdb.cp/nsnoimports.exp: Likewise.
2407 * gdb.cp/virtbase2.exp: Likewise.
2408 * gdb.mi/mi-var-cmd.exp: Likewise.
2409 * gdb.mi/var-cmd.c: Likewise.
2410
24112020-05-26 Tom Tromey <tromey@adacore.com>
2412
2413 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2414
24152020-05-26 Tom Tromey <tromey@adacore.com>
2416
2417 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2418 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2419 type.
2420 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2421 variable.
2422
24232020-05-26 Christian Biesinger <cbiesinger@google.com>
2424
2425 * Makefile.in: Use = instead of == for the test command
2426 for portability.
2427
24282020-05-26 Tom de Vries <tdevries@suse.de>
2429
2430 * gdb.base/gold-gdb-index-2.c: New test.
2431 * gdb.base/gold-gdb-index.c: New test.
2432 * gdb.base/gold-gdb-index.exp: New file.
2433 * gdb.base/gold-gdb-index.h: New test.
2434
24352020-05-25 Tom de Vries <tdevries@suse.de>
2436
2437 * boards/gold-gdb-index.exp: New file.
2438
24392020-05-25 Simon Marchi <simon.marchi@efficios.com>
2440
2441 * boards/simavr.exp: New file.
2442
24432020-05-25 Simon Marchi <simon.marchi@efficios.com>
2444
2445 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2446 * gdb.base/inferior-args.exp: New file.
2447 * gdb.base/inferior-args.c: New file.
2448
24492020-05-25 Simon Marchi <simon.marchi@efficios.com>
2450
2451 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2452 inferior_args. Pass it to gdb_reload.
2453 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2454 inferior_args.
2455 (gdb_reload): Add inferior_args argument.
2456 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2457 pass it to gdbserver_run.
2458 * boards/native-gdbserver.exp: Do not set noargs.
2459 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2460 inferior_args argument.
2461 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2462 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2463 * gdb.base/args.exp: Likewise.
2464
24652020-05-25 Tom de Vries <tdevries@suse.de>
2466
2467 * lib/gdb.exp (exec_is_pie): Add comment.
2468
24692020-05-25 Tom de Vries <tdevries@suse.de>
2470
2471 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2472 instead of $binfile in the untested message.
2473
24742020-05-25 Tom de Vries <tdevries@suse.de>
2475
2476 PR testsuite/26031
2477 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2478
24792020-05-25 Tom de Vries <tdevries@suse.de>
2480
2481 * boards/gold.exp: New file.
2482
24832020-05-23 Tom Tromey <tom@tromey.com>
2484
2485 * gdb.base/style.exp: Remove completion styling test.
2486 * lib/gdb-utils.exp (style): Remove completion styles.
2487
24882020-05-23 Tom Tromey <tom@tromey.com>
2489
2490 * gdb.base/style.exp: Add completion styling test.
2491 * lib/gdb-utils.exp (style): Add completion styles.
2492
24932020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2494
2495 * gdb.base/annota1.exp: Update expected results.
2496 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2497 test name.
2498 * gdb.cp/annota3.exp: Update expected results.
2499
25002020-05-20 Simon Marchi <simon.marchi@efficios.com>
2501
2502 PR gdb/26016
2503 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2504 against MAP_FAILED.
2505 * gdb.base/coremaker.c (mmapdata): Likewise.
2506 * gdb.base/jit-reader-host.c (main): Likewise.
2507 * gdb.base/sym-file-loader.c (load): Likewise.
2508 (load_shlib): Likewise.
2509
25102020-05-20 Tom Tromey <tromey@adacore.com>
2511
2512 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2513
25142020-05-20 Tom de Vries <tdevries@suse.de>
2515
2516 PR symtab/25833
2517 * gdb.base/with-mf-inc.c: New test.
2518 * gdb.base/with-mf-main.c: New test.
2519 * gdb.base/with-mf.exp: New file.
2520
25212020-05-19 Tom Tromey <tromey@adacore.com>
2522
2523 * gdb.rust/simple.exp: Restore missing test result.
2524
25252020-05-19 Tom de Vries <tdevries@suse.de>
2526
2527 * gdb.base/gdb-caching-proc.exp: Fix typo.
2528
25292020-05-19 Tom Tromey <tromey@adacore.com>
2530
2531 * gdb.rust/simple.exp: Add some test descriptions.
2532 (test_one_slice): Use with_test_prefix.
2533
25342020-05-18 Tom de Vries <tdevries@suse.de>
2535
2536 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2537
25382020-05-17 Pedro Alves <palves@redhat.com>
2539
2540 PR gdb/25741
2541 * gdb.base/hw-sw-break-same-address.exp: New file.
2542
25432020-05-16 Pedro Alves <palves@redhat.com>
2544
2545 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2546 LAST_LOADED_FILE accordingly.
2547
25482020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2549
2550 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2551
25522020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2553
2554 * gdb.base/help.exp: Test apropos and help for commands
2555 having aliases. Fixed comments not starting with an
2556 upper-case letter or not finishing with a dot.
2557
25582020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2559
2560 * gdb.base/alias.exp: Update help output check.
2561
25622020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2563
2564 * gdb.base/default.exp: Update output following fixes.
2565
25662020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2567
2568 * gdb.base/alias.exp: Test aliases starting with a prefix of
2569 another alias.
2570
25712020-05-15 Gary Benson <gbenson@redhat.com>
2572
2573 * gdb.base/info-os.c (main): Add return statement.
2574 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2575 * gdb.base/large-frame-2.c (func): Likewise.
2576 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2577 * gdb.base/pr10179-b.c (foo2): Likewise.
2578 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2579 * gdb.base/watch-cond.c (func): Likewise.
2580 * gdb.multi/goodbye.c (verylongfun): Likewise.
2581 * gdb.multi/hello.c (commonfun): Likewise.
2582 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2583 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2584 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2585 Likewise.
2586 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2587 * gdb.threads/interrupt-while-step-over.c (child_function):
2588 Likewise.
2589 * gdb.trace/actions-changed.c (end): Likewise.
2590
25912020-05-15 Gary Benson <gbenson@redhat.com>
2592
2593 * gdb.opencl/callfuncs.exp: Report when test skipped.
2594 * gdb.opencl/convs_casts.exp: Likewise.
2595 * gdb.opencl/datatypes.exp: Likewise.
2596 * gdb.opencl/operators.exp: Likewise.
2597 * gdb.opencl/vec_comps.exp: Likewise.
2598
25992020-05-15 Tom de Vries <tdevries@suse.de>
2600
2601 * gdb.base/align.exp.in: Rename to ...
2602 * gdb.base/align.exp.tcl: ... this.
2603 * gdb.base/align-c++.exp: Update.
2604 * gdb.base/align-c.exp: Update.
2605 * gdb.base/all-architectures.exp.in: Rename to ...
2606 * gdb.base/all-architectures.exp: ... this.
2607 * gdb.base/all-architectures-0.exp: Update.
2608 * gdb.base/all-architectures-1.exp: Update.
2609 * gdb.base/all-architectures-2.exp: Update.
2610 * gdb.base/all-architectures-3.exp: Update.
2611 * gdb.base/all-architectures-4.exp: Update.
2612 * gdb.base/all-architectures-5.exp: Update.
2613 * gdb.base/all-architectures-6.exp: Update.
2614 * gdb.base/all-architectures-7.exp: Update.
2615 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2616 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2617 * gdb.base/infcall-nested-structs-c++.exp: Update.
2618 * gdb.base/infcall-nested-structs-c.exp: Update.
2619 * gdb.base/info-types.exp.in: Rename to ...
2620 * gdb.base/info-types.exp.tcl: ... this.
2621 * gdb.base/info-types-c++.exp: Update.
2622 * gdb.base/info-types-c.exp: Update.
2623 * gdb.base/max-depth.exp.in: Rename to ...
2624 * gdb.base/max-depth.exp.tcl: ... this.
2625 * gdb.base/max-depth-c++.exp: Update.
2626 * gdb.base/max-depth-c.exp: Update.
2627 * gdb.cp/cpexprs.exp.in: Rename to ...
2628 * gdb.cp/cpexprs.exp.tcl: ... this.
2629 * gdb.cp/cpexprs-debug-types.exp: Update.
2630 * gdb.cp/cpexprs.exp: Update.
2631 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2632 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2633 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2634 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2635 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2636 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2637 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2638 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2639 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2640 * gdb.dwarf2/clang-debug-names.exp: Update.
2641
26422020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2643
2644 * lib/check-test-names.exp: Remove code that prevents this file
2645 loading when tests are run in parallel.
2646
26472020-05-15 Pedro Alves <palves@redhat.com>
2648
2649 * gdb.multi/multi-kill.exp (start_inferior): Remove
2650 'testpid' parameter. Refer to namespace variable directly.
2651 (testpid): Declare as namespace variable.
2652
26532020-05-15 Pedro Alves <palves@redhat.com>
2654
2655 * gdb.multi/multi-kill.exp: Wrap in namespace.
2656 (start_inferior): Add TESTPID parameter. Use it instead of the
2657 testpid global.
2658 (top level): Define empty TESTPID array, and pass it down to
2659 start_inferior.
2660
26612020-05-14 Tom de Vries <tdevries@suse.de>
2662
2663 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2664 output.
2665
26662020-05-14 Tom de Vries <tdevries@suse.de>
2667
2668 * gdb.base/align.exp: Split into ...
2669 * gdb.base/align.exp.in: ...
2670 * gdb.base/align-c++.exp: ...
2671 * gdb.base/align-c.exp: ... these.
2672 * gdb.base/infcall-nested-structs.exp: Split into ...
2673 * gdb.base/infcall-nested-structs.exp.in: ...
2674 * gdb.base/infcall-nested-structs-c++.exp: ...
2675 * gdb.base/infcall-nested-structs-c.exp: ... these.
2676 * gdb.base/info-types.exp: Split into ...
2677 * gdb.base/info-types.exp.in: ...
2678 * gdb.base/info-types-c++.exp: ...
2679 * gdb.base/info-types-c.exp: ... these.
2680 * gdb.base/max-depth.exp: Split into ...
2681 * gdb.base/max-depth.exp.in: ...
2682 * gdb.base/max-depth-c++.exp: ...
2683 * gdb.base/max-depth-c.exp: ... these.
2684 * gdb.cp/infcall-nodebug.exp: Split into ...
2685 * gdb.cp/infcall-nodebug.exp.in: ...
2686 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2687 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2688 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2689 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2690
26912020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2692 Pedro Alves <palves@redhat.com>
2693
2694 * gdb.multi/multi-exit.c: New file.
2695 * gdb.multi/multi-exit.exp: New file.
2696 * gdb.multi/multi-kill.c: New file.
2697 * gdb.multi/multi-kill.exp: New file.
2698
26992020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2700
2701 * gdb.base/annota1.exp: Update the expected output.
2702 * gdb.cp/annota2.exp: Ditto.
2703
27042020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2705
2706 * lib/check-test-names.exp: Disable when testing is being run in
2707 parallel.
2708
27092020-05-12 Tom de Vries <tdevries@suse.de>
2710
2711 * gdb.base/jit-elf.exp: Fix string concat.
2712
27132020-05-12 Tom de Vries <tdevries@suse.de>
2714
2715 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2716 messages.
2717
27182020-05-12 Tom de Vries <tdevries@suse.de>
2719
2720 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2721
27222020-05-12 Tom de Vries <tdevries@suse.de>
2723
2724 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2725 * gdb.ada/mi_catch_ex.exp: Same.
2726 * gdb.ada/mi_catch_ex_hand.exp: Same.
2727
27282020-05-12 Tom de Vries <tdevries@suse.de>
2729
2730 * gdb.fortran/complex.exp: Use with_test_prefix.
2731
27322020-05-12 Tom de Vries <tdevries@suse.de>
2733
2734 * gdb.trace/passcount.exp: Fix test-names.
2735
27362020-05-12 Tom de Vries <tdevries@suse.de>
2737
2738 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2739
27402020-05-12 Tom de Vries <tdevries@suse.de>
2741
2742 * gdb.gdb/complaints.exp: Use with_test_prefix.
2743 * gdb.xml/tdesc-regs.exp: Same.
2744 * gdb.opt/inline-locals.exp: Fix test name.
2745
27462020-05-12 Tom de Vries <tdevries@suse.de>
2747
2748 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2749 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2750 * gdb.dwarf2/implref-struct.exp: Same.
2751 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2752 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2753
27542020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2755
2756 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2757
27582020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2759
2760 * lib/check-test-names.exp (all_test_names): New module variable.
2761 (counts): Add 'duplicates' field.
2762 (_check_duplicates): New procedure.
2763 (check): Also check for duplicates.
2764 (do_log_summary): Print duplicates count.
2765 (do_reset_vars): Reset counter for duplicate test names, and
2766 discard all know test names.
2767
27682020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2769
2770 * lib/gdb.exp: Include check-test-names.exp library.
2771 * lib/check-test-names.exp: New file.
2772
27732020-05-11 Tom de Vries <tdevries@suse.de>
2774
2775 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2776
27772020-05-11 Keith Seitz <keiths@redhat.com>
2778
2779 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2780
27812020-05-11 Tom de Vries <tdevries@suse.de>
2782
2783 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2784 * gdb.cp/cpexprs.exp.in: .. here.
2785 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2786 cpexprs.exp.
2787
27882020-05-11 Keith Seitz <keiths@redhat.com>
2789
2790 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2791 test names.
2792 * gdb.ada/arrayptr.exp: Likewise.
2793 * gdb.ada/assign_arr.exp: Likewise.
2794 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2795 * gdb.ada/bp_on_var.exp: Likewise.
2796 * gdb.ada/call_pn.exp: Likewise.
2797 * gdb.ada/complete.exp: Likewise.
2798 * gdb.ada/fun_overload_menu.exp: Likewise.
2799 * gdb.ada/funcall_param.exp: Likewise.
2800 * gdb.ada/funcall_ref.exp: Likewise.
2801 * gdb.ada/packed_array_assign.exp: Likewise.
2802 * gdb.ada/same_component_name.exp: Likewise.
2803 * gdb.ada/type_coercion.exp: Likewise.
2804 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2805 * gdb.ada/variant_record_packed_array.exp: Likewise.
2806
28072020-05-11 Tom de Vries <tdevries@suse.de>
2808
2809 PR symtab/25941
2810 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2811 out of ...
2812 * gdb.dwarf2/clang-debug-names.exp: ... here.
2813 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2814 clang-debug-names.exp.in.
2815 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2816 * gdb.dwarf2/clang-debug-names-2.c: New test.
2817
28182020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2819
2820 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2821 (fortran_runto_main): New Proc, fortran version of runto_main.
2822 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2823 * gdb.fortran/array-bounds.exp: Likewise.
2824 * gdb.fortran/array-slices.exp: Likewise.
2825 * gdb.fortran/block-data.exp: Likewise.
2826 * gdb.fortran/charset.exp: Likewise.
2827 * gdb.fortran/common-block.exp: Likewise.
2828 * gdb.fortran/complex.exp: Likewise.
2829 * gdb.fortran/derived-type-function.exp: Likewise.
2830 * gdb.fortran/derived-type.exp: Likewise.
2831 * gdb.fortran/info-modules.exp: Likewise.
2832 * gdb.fortran/info-types.exp: Likewise.
2833 * gdb.fortran/intrinsics.exp: Likewise.
2834 * gdb.fortran/library-module.exp: Likewise.
2835 * gdb.fortran/logical.exp: Likewise.
2836 * gdb.fortran/max-depth.exp: Likewise.
2837 * gdb.fortran/module.exp: Likewise.
2838 * gdb.fortran/multi-dim.exp: Likewise.
2839 * gdb.fortran/nested-funcs.exp: Likewise.
2840 * gdb.fortran/print-formatted.exp: Likewise.
2841 * gdb.fortran/print_type.exp: Likewise.
2842 * gdb.fortran/printing-types.exp: Likewise.
2843 * gdb.fortran/ptr-indentation.exp: Likewise.
2844 * gdb.fortran/ptype-on-functions.exp: Likewise.
2845 * gdb.fortran/subarray.exp: Likewise.
2846 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2847 * gdb.fortran/vla-datatypes.exp: Likewise.
2848 * gdb.fortran/vla-history.exp: Likewise.
2849 * gdb.fortran/vla-ptr-info.exp: Likewise.
2850 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2851 * gdb.fortran/vla-ptype.exp: Likewise.
2852 * gdb.fortran/vla-sizeof.exp: Likewise.
2853 * gdb.fortran/vla-type.exp: Likewise.
2854 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2855 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2856 * gdb.fortran/vla-value-sub.exp: Likewise.
2857 * gdb.fortran/vla-value.exp: Likewise.
2858 * gdb.fortran/whatis_type.exp: Likewise.
2859 * gdb.mi/mi-var-child-f.exp: Likewise.
2860
28612020-05-09 Tom de Vries <tdevries@suse.de>
2862
2863 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2864
28652020-05-08 Tom de Vries <tdevries@suse.de>
2866
2867 * gdb.dwarf2/clang-debug-names.c: New test.
2868 * gdb.dwarf2/clang-debug-names.exp: New file.
2869
28702020-05-06 Simon Marchi <simon.marchi@efficios.com>
2871
2872 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2873 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2874
28752020-05-06 Tom de Vries <tdevries@suse.de>
2876
2877 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2878 breakpoint is at a "recommended breakpoint location".
2879 * gdb.reverse/consecutive-reverse.exp: Same.
2880
28812020-05-06 Tom de Vries <tdevries@suse.de>
2882
2883 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2884 address.
2885
28862020-05-06 Tom de Vries <tdevries@suse.de>
2887
2888 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2889
28902020-05-06 Tom de Vries <tdevries@suse.de>
2891
2892 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2893 info for r.
2894
28952020-05-06 Tom de Vries <tdevries@suse.de>
2896
2897 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2898 necessary.
2899
29002020-05-06 Tom de Vries <tdevries@suse.de>
2901
2902 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2903 void.
2904
29052020-05-06 Tom de Vries <tdevries@suse.de>
2906
2907 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2908 of ...
2909 * gdb.base/async.exp: ... here.
2910 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2911 "recommended breakpoint location".
2912
29132020-05-06 Tom de Vries <tdevries@suse.de>
2914
2915 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2916
29172020-05-04 Tom de Vries <tdevries@suse.de>
2918
2919 * gdb.base/async.exp: Check whether instruction addresses are a
2920 "recommended breakpoint location".
2921
29222020-05-03 Tom Tromey <tom@tromey.com>
2923
2924 * gdb.base/sepdebug.exp: Remove "catch" test.
2925 * gdb.base/break.exp: Remove "catch" test.
2926 * gdb.base/default.exp: Update expected output.
2927
29282020-05-02 Tom de Vries <tdevries@suse.de>
2929
2930 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2931 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2932 * gdb.arch/i386-mpx-map.exp: Same.
2933 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2934 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2935 * gdb.arch/i386-mpx.exp: Same.
2936
29372020-05-02 Tom de Vries <tdevries@suse.de>
2938
2939 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2940
29412020-05-01 Tom de Vries <tdevries@suse.de>
2942
2943 * gdb.ada/operator_bp.exp: Allow more than required amount of
2944 breakpoint.
2945
29462020-05-01 Tom de Vries <tdevries@suse.de>
2947
2948 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2949
29502020-04-30 Hannes Domani <ssbssa@yahoo.de>
2951
2952 PR gdb/18706
2953 * gdb.cp/stub-array-size.cc: New test.
2954 * gdb.cp/stub-array-size.exp: New file.
2955 * gdb.cp/stub-array-size.h: New test.
2956 * gdb.cp/stub-array-size2.cc: New test.
2957
29582020-04-30 Hannes Domani <ssbssa@yahoo.de>
2959
2960 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2961 output to the new format.
2962
29632020-04-29 Simon Marchi <simon.marchi@efficios.com>
2964
2965 * gdb.base/break.exp: Use with_test_prefix.
2966
29672020-04-29 Tom de Vries <tdevries@suse.de>
2968
2969 * lib/gdb.exp (debug_types): New proc.
2970 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2971 * gdb.python/py-symtab.exp: Same.
2972
29732020-04-29 Hannes Domani <ssbssa@yahoo.de>
2974
2975 PR gdb/17320
2976 * gdb.base/pretty-array.c: New test.
2977 * gdb.base/pretty-array.exp: New file.
2978
29792020-04-29 Tom de Vries <tdevries@suse.de>
2980
2981 PR symtab/25889
2982 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2983 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2984 and include cpexprs.exp.
2985
29862020-04-28 Mark Williams <mark@myosotissp.com>
2987
2988 PR gdb/24480
2989 * dw4-toplevel-types.exp: Test for top level types.
2990 * dw4-toplevel-types.cc: Test for top level types.
2991
29922020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2993
2994 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2995 (theads -> threads).
2996
29972020-04-28 Tom de Vries <tdevries@suse.de>
2998
2999 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3000
30012020-04-28 Tom de Vries <tdevries@suse.de>
3002
3003 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3004
30052020-04-28 Tom de Vries <tdevries@suse.de>
3006
3007 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3008
30092020-04-28 Tom de Vries <tdevries@suse.de>
3010
3011 * gdb.dwarf2/main-foo.c: New test.
3012 * gdb.dwarf2/struct-with-sig.exp: New file.
3013
30142020-04-25 Tom de Vries <tdevries@suse.de>
3015
3016 * boards/debug-types.exp: New file.
3017
30182020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3019
3020 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3021
30222020-04-24 Tom Tromey <tom@tromey.com>
3023
3024 PR symtab/12707:
3025 * gdb.python/py-symbol.exp: Update expected results for
3026 linkage_name test.
3027 * gdb.cp/print-demangle.exp: New file.
3028 * gdb.base/c-linkage-name.exp: Fix test.
3029 * gdb.guile/scm-symbol.exp: Update expected results for
3030 linkage_name test.
3031
30322020-04-24 Tom Tromey <tom@tromey.com>
3033
3034 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3035 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3036 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3037 assembler.
3038
30392020-04-24 Tom de Vries <tdevries@suse.de>
3040
3041 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3042 C++.
3043
30442020-04-24 Tom Tromey <tromey@adacore.com>
3045
3046 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3047 values.
3048 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3049 values. Update test for minimal encodings.
3050 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3051 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3052 values. Update test for minimal encodings.
3053
30542020-04-24 Tom Tromey <tromey@adacore.com>
3055
3056 PR python/23662:
3057 * gdb.ada/variant.exp: Add Python checks.
3058 * gdb.rust/simple.exp: Add dynamic type checks.
3059
30602020-04-24 Tom Tromey <tromey@adacore.com>
3061
3062 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3063 Make array type matching more lax.
3064 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3065 * gdb.ada/mi_variant.exp: New file.
3066 * gdb.ada/mi_variant/pck.ads: New file.
3067 * gdb.ada/mi_variant/pkg.adb: New file.
3068 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3069 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3070
30712020-04-24 Tom Tromey <tromey@adacore.com>
3072
3073 * gdb.ada/variant.exp: Add dynamic field offset tests.
3074 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3075 * gdb.ada/variant/pkg.adb: Add new variables.
3076
30772020-04-24 Tom Tromey <tromey@adacore.com>
3078
3079 * gdb.ada/variant.exp: New file
3080 * gdb.ada/variant/pkg.adb: New file
3081 * gdb.ada/variant/pck.adb: New file
3082
30832020-04-24 Tom de Vries <tdevries@suse.de>
3084
3085 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3086
30872020-04-24 Tom de Vries <tdevries@suse.de>
3088
3089 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3090 flags.
3091
30922020-04-24 Tom de Vries <tdevries@suse.de>
3093
3094 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3095
30962020-04-24 Tom de Vries <tdevries@suse.de>
3097
3098 * lib/gdb.exp (default_gdb_start): Handle eof.
3099 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3100 failure.
3101 * gdb.base/readnever.exp: Handle clean_restart failure.
3102
31032020-04-23 Tom de Vries <tdevries@suse.de>
3104
3105 * gdb.base/decl-before-def.exp: Run to main and print a again.
3106
31072020-04-23 Tom de Vries <tdevries@suse.de>
3108
3109 * gdb.base/decl-before-def-decl.c: New test.
3110 * gdb.base/decl-before-def-def.c: New test.
3111 * gdb.base/decl-before-def.exp: New file.
3112
31132020-04-23 Tom de Vries <tdevries@suse.de>
3114
3115 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3116
31172020-04-22 Tom de Vries <tdevries@suse.de>
3118
3119 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3120 debug_info_offset.
3121 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3122 before $objsfile in the line line.
3123
31242020-04-22 Tom de Vries <tdevries@suse.de>
3125
3126 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3127
31282020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3129
3130 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3131 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3132 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3133 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3134 * gdb.base/jit-protocol.h: Update definitions to match all usage
3135 contexts.
3136
31372020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3138
3139 * gdb.base: Rename all jit related test and source files.
3140
31412020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3142
3143 * gdb.base/jit-reader.exp: Relax register output check.
3144
31452020-04-22 Tom de Vries <tdevries@suse.de>
3146
3147 PR symtab/25764
3148 * gdb.base/psym-external-decl-2.c: New test.
3149 * gdb.base/psym-external-decl.c: New test.
3150 * gdb.base/psym-external-decl.exp: New file.
3151 * gdb.threads/tls.exp: Add PR25807 kfail.
3152
31532020-04-22 Tom de Vries <tdevries@suse.de>
3154
3155 PR symtab/25801
3156 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3157 in "info source" output.
3158
31592020-04-22 Tom de Vries <tdevries@suse.de>
3160
3161 PR symtab/25700
3162 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3163 symtab for imported_unit.c.
3164
31652020-04-21 Gary Benson <gbenson@redhat.com>
3166
3167 * gdb.base/advance.c (func): New argument, to match call site.
3168 (func2, func3): Add return statements.
3169
31702020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3171
3172 * gdb.multi/run-only-second-inf.c: New file.
3173 * gdb.multi/run-only-second-inf.exp: New file.
3174
31752020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3176
3177 * gdb.btrace/multi-inferior.c: New test.
3178 * gdb.btrace/multi-inferior.exp: New file.
3179
31802020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3181
3182 * gdb.btrace/enable-new-thread.c: New test.
3183 * gdb.btrace/enable-new-thread.exp: New file.
3184
31852020-04-21 Tom de Vries <tdevries@suse.de>
3186
3187 PR gdb/25471
3188 * gdb.threads/killed-outside.c: New test.
3189 * gdb.threads/killed-outside.exp: New file.
3190
31912020-04-20 Gary Benson <gbenson@redhat.com>
3192
3193 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3194 * gdb.base/nested-subp2.exp: Likewise.
3195 * gdb.base/nested-subp3.exp: Likewise.
3196
31972020-04-20 Gary Benson <gbenson@redhat.com>
3198
3199 * gdb.base/nested-subp1.exp: Disable test when using clang.
3200 * gdb.base/nested-subp2.exp: Likewise.
3201 * gdb.base/nested-subp3.exp: Likewise.
3202
32032020-04-20 Gary Benson <gbenson@redhat.com>
3204
3205 * gdb.cp/exception.cc: Fix compilation error with clang.
3206
32072020-04-20 Gary Benson <gbenson@redhat.com>
3208
3209 * gdb.trace/tspeed.c: Fix compilation error with clang.
3210
32112020-04-20 Gary Benson <gbenson@redhat.com>
3212
3213 * gdb.base/jit-main.c: Fix compilation error with clang.
3214
32152020-04-17 Kamil Rytarowski <n54@gmx.com>
3216
3217 * gdb.base/attach-twice.c: Include "sys/types.h".
3218 (PTRACE_ATTACH): Add fallback definition.
3219 (main): Pass `0' to the 4th argument of `ptrace'.
3220
32212020-04-17 Kamil Rytarowski <n54@gmx.com>
3222
3223 * gdb.base/fork-running-state.c: Include "signal.h".
3224
32252020-04-17 Tom Tromey <tromey@adacore.com>
3226
3227 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3228 Update tests.
3229 * gdb.btrace/cpu.exp: Update tests.
3230 * gdb.base/maint.exp: Update tests.
3231 * gdb.base/default.exp: Update tests.
3232 * gdb.base/completion.exp: Update tests.
3233
32342020-04-16 Tom de Vries <tdevries@suse.de>
3235
3236 PR symtab/25791
3237 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3238 (ensure_gdb_index): and factor out and move ...
3239 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3240 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3241
32422020-04-16 Tom de Vries <tdevries@suse.de>
3243
3244 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3245 loading exec.
3246
32472020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3248
3249 * gdb.base/many-completions.exp: New file.
3250
32512020-04-14 Tom de Vries <tdevries@suse.de>
3252
3253 PR symtab/25718
3254 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3255
32562020-04-14 Tom de Vries <tdevries@suse.de>
3257
3258 PR symtab/25720
3259 * gdb.base/maint-expand-symbols-header-file.c: New test.
3260 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3261 * gdb.base/maint-expand-symbols-header-file.h: New test.
3262
32632020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3264
3265 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3266 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3267 get_func_info.
3268 (get_func_info): Delete.
3269 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3270 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3271 * lib/dwarf.exp (get_func_info): New function.
3272
32732020-04-13 Tom de Vries <tdevries@suse.de>
3274
3275 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3276 to what find_gnatmake does.
3277
32782020-04-10 Tom de Vries <tdevries@suse.de>
3279
3280 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3281 -readnow.
3282
32832020-04-10 Tom de Vries <tdevries@suse.de>
3284
3285 PR cli/25808
3286 * gdb.base/style.c: Add leading newlines.
3287 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3288 Check listing of main's one-line body.
3289
32902020-04-08 Tom de Vries <tdevries@suse.de>
3291
3292 * lib/gdb.exp (psymtabs_p): New proc.
3293 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3294 importing unit" unsupported if there are no partial symbols.
3295
32962020-04-08 Tom de Vries <tdevries@suse.de>
3297
3298 PR testsuite/25760
3299 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3300
33012020-04-07 Tom de Vries <tdevries@suse.de>
3302
3303 PR symtab/25796
3304 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3305
33062020-04-07 Tom de Vries <tdevries@suse.de>
3307
3308 * gdb.base/check-psymtab.c: New test.
3309 * gdb.base/check-psymtab.exp: New file.
3310
33112020-04-06 Tom Tromey <tromey@adacore.com>
3312
3313 * gdb.ada/variant-record/proc.adb: New file.
3314 * gdb.ada/variant-record/value.adb: New file.
3315 * gdb.ada/variant-record/value.s: New file.
3316 * gdb.ada/variant-record.exp: New file.
3317
33182020-04-03 Hannes Domani <ssbssa@yahoo.de>
3319
3320 PR gdb/25325
3321 * gdb.cp/typed-enum.cc: New test.
3322 * gdb.cp/typed-enum.exp: New file.
3323
33242020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3325
3326 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3327 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3328 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3329 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3330 * gdb.opt/inline-small-func.c: New file.
3331 * gdb.opt/inline-small-func.exp: New file.
3332 * gdb.opt/inline-small-func.h: New file.
3333
33342020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3335
3336 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3337 function.
3338
33392020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3340
3341 * lib/dwarf.exp (function_range): Allow compiler options to be
3342 specified.
3343
33442020-04-02 Tom de Vries <tdevries@suse.de>
3345
3346 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3347 __attribute__((always_inline)).
3348 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3349
33502020-04-02 Tom de Vries <tdevries@suse.de>
3351
3352 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3353 (gdbserver_gdb_exit): ... here. Add timeout warning.
3354 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3355 (connect_target_extended_remote): Append new server_spawn_id to
3356 server_spawn_ids.
3357 (cleanup): New proc.
3358 (setup, <toplevel>): Call cleanup.
3359
33602020-04-02 Tom de Vries <tdevries@suse.de>
3361
3362 * gdb.base/main-psymtab.exp: New file.
3363
33642020-04-02 Tom de Vries <tdevries@suse.de>
3365
3366 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3367
33682020-04-01 Tom Tromey <tom@tromey.com>
3369
3370 * gdb.base/complex-parts.exp: Add type tests.
3371
33722020-04-01 Tom Tromey <tom@tromey.com>
3373
3374 * gdb.base/complex-parts.exp: Add arithmetic tests.
3375
33762020-04-01 Tom Tromey <tom@tromey.com>
3377
3378 * gdb.compile/compile.exp: Update.
3379 * gdb.compile/compile-cplus.exp: Update.
3380 * gdb.base/varargs.exp: Update.
3381 * gdb.base/floatn.exp: Update.
3382 * gdb.base/endianity.exp: Update.
3383 * gdb.base/callfuncs.exp (do_function_calls): Update.
3384 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3385 (complex_float_integral_args): Update.
3386 * gdb.base/complex.exp: Update.
3387 * gdb.base/complex-parts.exp: Update.
3388
33892020-04-01 Tom Tromey <tromey@adacore.com>
3390
3391 * gdb.rust/union.rs: New file.
3392 * gdb.rust/union.exp: New file.
3393 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3394 (main): Update.
3395 * gdb.rust/simple.exp: Move union tests to union.exp.
3396
33972020-04-01 Tom Tromey <tromey@adacore.com>
3398
3399 * gdb.rust/simple.rs (main): Remove "y0".
3400
34012020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3402
3403 * gdb.multi/stop-all-on-exit.c: New test.
3404 * gdb.multi/stop-all-on-exit.exp: New file.
3405
34062020-04-01 Hannes Domani <ssbssa@yahoo.de>
3407
3408 PR gdb/24789
3409 * gdb.cp/misc.cc: Add integer reference variable.
3410 * gdb.cp/misc.exp: Add test.
3411
34122020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3413
3414 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3415 scenario to cover execution until the end and also the case
3416
34172020-03-31 Tom de Vries <tdevries@suse.de>
3418
3419 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3420 c. Use "maint info symtabs" to check symtab expansion.
3421
34222020-03-30 Tom de Vries <tdevries@suse.de>
3423
3424 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3425 unsupported.
3426 (verify_psymtab_expanded): Move ...
3427 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3428 test.
3429 (readnow): New proc.
3430
34312020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3432
3433 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3434 with $hex.
3435
34362020-03-20 Tom Tromey <tromey@adacore.com>
3437
3438 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3439
34402020-03-20 Tom Tromey <tromey@adacore.com>
3441
3442 * gdb.ada/sub_variant/subv.adb: New file.
3443 * gdb.ada/sub_variant.exp: New file.
3444
34452020-03-20 Tom de Vries <tdevries@suse.de>
3446
3447 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3448 first break fails.
3449 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3450
34512020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3452
3453 * gdb.server/exit-multiple-threads.c: New file.
3454 * gdb.server/exit-multiple-threads.exp: New file.
3455
34562020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3457
3458 * gdb.fortran/mixed-lang-stack.c: New file.
3459 * gdb.fortran/mixed-lang-stack.cpp: New file.
3460 * gdb.fortran/mixed-lang-stack.exp: New file.
3461 * gdb.fortran/mixed-lang-stack.f90: New file.
3462
34632020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3464
3465 * gdb.linespec/cp-completion-aliases.cc: New file.
3466 * gdb.linespec/cp-completion-aliases.exp: New file.
3467
34682020-03-19 Tom de Vries <tdevries@suse.de>
3469
3470 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3471 more precise.
3472
34732020-03-18 Tom de Vries <tdevries@suse.de>
3474
3475 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3476 * gdb.dwarf2/break-inline-psymtab.c: New test.
3477 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3478
34792020-03-16 Tom de Vries <tdevries@suse.de>
3480
3481 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3482 cache_verify and cache_verify_proc.
3483
34842020-03-15 Tom de Vries <tdevries@suse.de>
3485
3486 * gdb.server/solib-list.exp: Handle
3487 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3488
34892020-03-15 Tom de Vries <tdevries@suse.de>
3490
3491 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3492 objfiles".
3493
34942020-03-14 Tom Tromey <tom@tromey.com>
3495
3496 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3497
34982020-03-14 Tom de Vries <tdevries@suse.de>
3499
3500 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3501
35022020-03-14 Tom de Vries <tdevries@suse.de>
3503
3504 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3505 result in line-by-line fashion.
3506
35072020-03-14 Tom de Vries <tdevries@suse.de>
3508
3509 * lib/gdb.exp (supports_statement_frontiers): New proc.
3510 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3511
35122020-03-14 Tom de Vries <tdevries@suse.de>
3513
3514 * gdb.base/printcmds.exp: Add missing quoting for "print
3515 teststring2".
3516
35172020-03-13 Tom Tromey <tom@tromey.com>
3518
3519 * gdb.base/printcmds.exp (test_print_strings): Add regression
3520 test.
3521 * gdb.base/printcmds.c (charptr): New typedef.
3522 (teststring2): New global.
3523
35242020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3525
3526 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3527 full path in the test name.
3528 (test_ld): Add some with_test_prefix blocks to make test names
3529 unique.
3530
35312020-03-13 Tom de Vries <tdevries@suse.de>
3532
3533 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3534
35352020-03-13 Tom de Vries <tdevries@suse.de>
3536
3537 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3538
35392020-03-13 Tom de Vries <tdevries@suse.de>
3540
3541 PR symtab/25646
3542 * gdb.dwarf2/imported-unit.exp: Add test.
3543
35442020-03-13 Tom de Vries <tdevries@suse.de>
3545
3546 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3547 (var1, var2): New variable.
3548 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3549 matching symbols.
3550
35512020-03-13 Tom de Vries <tdevries@suse.de>
3552
3553 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3554 (Term::command): Use prompt prefix.
3555 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3556 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3557 command_no_prompt_prefix instead of prefix.
3558 * gdb.tui/tui-layout-asm.exp: Same.
3559
35602020-03-12 Simon Marchi <simon.marchi@efficios.com>
3561
3562 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3563
35642020-03-12 Simon Marchi <simon.marchi@efficios.com>
3565
3566 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3567 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3568 on" while stepping over the test instruction, match printed
3569 message.
3570
35712020-03-12 Tom de Vries <tdevries@suse.de>
3572
3573 * gdb.base/info-types.exp: Use exp_continue during matching of output
3574 of "info types".
3575
35762020-03-12 Tom de Vries <tdevries@suse.de>
3577
3578 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3579
35802020-03-12 Tom de Vries <tdevries@suse.de>
3581
3582 * gdb.fortran/module.exp: Use exp_continue during matching of output
3583 of "info variable -n".
3584
35852020-03-12 Tom de Vries <tdevries@suse.de>
3586
3587 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3588 gdb.dwarf2/dw2-ranges-base.c.
3589
35902020-03-12 Tom de Vries <tdevries@suse.de>
3591
3592 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3593 in presence of GLIBC debuginfo.
3594
35952020-03-12 Tom de Vries <tdevries@suse.de>
3596
3597 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3598 $core.
3599
36002020-03-12 Tom de Vries <tdevries@suse.de>
3601
3602 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3603 more precise.
3604
36052020-03-11 Simon Marchi <simon.marchi@efficios.com>
3606
3607 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3608 from Unix to Windows path.
3609
36102020-03-11 Tom de Vries <tdevries@suse.de>
3611
3612 * gdb.ada/minsyms.exp: Set language to ada.
3613
36142020-03-11 Tom de Vries <tdevries@suse.de>
3615
3616 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3617
36182020-03-11 Tom de Vries <tdevries@suse.de>
3619
3620 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3621
36222020-03-11 Tom Tromey <tromey@adacore.com>
3623
3624 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3625
36262020-03-11 Tom de Vries <tdevries@suse.de>
3627
3628 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3629
36302020-03-11 Tom de Vries <tdevries@suse.de>
3631
3632 * gdb.base/break-interp.exp: Limit verbose scope.
3633
36342020-03-11 Tom de Vries <tdevries@suse.de>
3635
3636 * gdb.fortran/logical.f90: Define variable with character type.
3637 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3638
36392020-03-11 Tom de Vries <tdevries@suse.de>
3640
3641 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3642
36432020-03-11 Tom de Vries <tdevries@suse.de>
3644
3645 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3646 symtabs.
3647
36482020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3649 Bernd Edlinger <bernd.edlinger@hotmail.de>
3650
3651 * gdb.cp/step-and-next-inline.cc: New file.
3652 * gdb.cp/step-and-next-inline.exp: New file.
3653 * gdb.cp/step-and-next-inline.h: New file.
3654 * gdb.dwarf2/dw2-is-stmt.c: New file.
3655 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3656 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3657 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3658 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3659
36602020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3661
3662 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3663 is-stmt flag in the line table.
3664
36652020-03-09 Tom de Vries <tdevries@suse.de>
3666
3667 * lib/gdb.exp (cached_file): Create cache dir.
3668
36692020-03-07 Tom de Vries <tdevries@suse.de>
3670
3671 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3672 * gdb.cp/rvalue-ref-params.exp: Same.
3673
36742020-03-06 Tom de Vries <tdevries@suse.de>
3675
3676 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3677 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3678
36792020-03-06 Tom de Vries <tdevries@suse.de>
3680
3681 * README: Fix "the the".
3682 * gdb.base/dprintf.exp: Same.
3683
36842020-03-05 Tom de Vries <tdevries@suse.de>
3685
3686 * gdb.base/maint.exp: Update "main print statistics" expected output.
3687
36882020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3689
3690 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3691 (fortran_int8): Likewise.
3692 (fortran_real4): Likewise.
3693 (fortran_real8): Likewise.
3694 (fortran_complex4): Likewise.
3695 (fortran_logical4): Likewise.
3696 (fortran_character1): Likewise.
3697
36982020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3699
3700 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3701 printed as true.
3702
37032020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3704
3705 * gdb.base/printcmds.exp: Add test to verify printf of a
3706 variable holding an address.
3707
37082020-03-03 Tom de Vries <tdevries@suse.de>
3709
3710 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3711
37122020-03-03 Tom de Vries <tdevries@suse.de>
3713
3714 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3715 gdb_test_multiple call.
3716
37172020-03-03 Tom de Vries <tdevries@suse.de>
3718
3719 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3720 gdb_test_multiple calls.
3721
37222020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3723
3724 * gdb.base/default.exp: Remove test of 'set history filename'.
3725 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3726 filename to the empty string.
3727 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3728 and GDBHISTSIZE.
3729
37302020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3731
3732 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3733 disabled.
3734
37352020-03-02 Pedro Alves <palves@redhat.com>
3736 Tom de Vries <tdevries@suse.de>
3737
3738 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3739 -prompt prefix, before user_code argument. Add -lbl option likewise.
3740 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3741 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3742 argument.
3743 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3744 have "\r\n" at start-of-line, instead of at end-of-line.
3745
37462020-02-28 Simon Marchi <simon.marchi@efficios.com>
3747
3748 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3749 libinproctrace.so.
3750
37512020-02-28 Luis Machado <luis.machado@linaro.org>
3752
3753 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3754 to "p/x".
3755
37562020-02-28 Luis Machado <luis.machado@linaro.org>
3757
3758 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3759 asm/ptrace.h and error.h.
3760
37612020-02-28 Tom de Vries <tdevries@suse.de>
3762
3763 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3764 (struct wrapper, do_something, mundane/symada__cS): Move ...
3765 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3766 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3767 Update "print symada__cS before partial symtab expansion" regexp.
3768 Update breakpoint location. Flush symbol cache after expansion.
3769
37702020-02-28 Luis Machado <luis.machado@linaro.org>
3771
3772 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3773
37742020-02-27 Tom de Vries <tdevries@suse.de>
3775
3776 * config/sid.exp: Remove unused globals.
3777 * gdb.base/attach.exp: Same.
3778 * gdb.base/catch-load.exp: Same.
3779 * gdb.base/dbx.exp: Same.
3780 * lib/gdb.exp: Same.
3781 * lib/mi-support.exp: Same.
3782 * lib/prompt.exp: Same.
3783
37842020-02-27 Tom de Vries <tdevries@suse.de>
3785
3786 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3787 not set.
3788
37892020-02-26 Aaron Merey <amerey@redhat.com>
3790
3791 * gdb.debuginfod: New directory for debuginfod tests.
3792 * gdb.debuginfod/main.c: New test file.
3793 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3794
37952020-02-26 Tom de Vries <tdevries@suse.de>
3796
3797 PR gdb/25603
3798 * gdb.base/persistent-lang.cc: New test.
3799 * gdb.base/persistent-lang.exp: New file.
3800
38012020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3802
3803 * gdb.fortran/derived-type-striding.exp: Add a new test.
3804 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3805 new test.
3806
38072020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3808
3809 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3810 names.
3811
38122020-02-25 Tom de Vries <tdevries@suse.de>
3813
3814 PR go/18926
3815 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3816
38172020-02-24 Tom de Vries <tdevries@suse.de>
3818
3819 PR gdb/25592
3820 * gdb.base/info-locals-unused-static-var.c: New test.
3821 * gdb.base/info-locals-unused-static-var.exp: New file.
3822
38232020-02-22 Tom Tromey <tom@tromey.com>
3824
3825 * gdb.python/tui-window.exp: New file.
3826 * gdb.python/tui-window.py: New file.
3827
38282020-02-22 Tom Tromey <tom@tromey.com>
3829
3830 PR tui/17850:
3831 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3832 tests.
3833
38342020-02-22 Tom Tromey <tom@tromey.com>
3835
3836 * gdb.tui/new-layout.exp: Add sub-layout tests.
3837
38382020-02-22 Tom Tromey <tom@tromey.com>
3839
3840 * gdb.tui/new-layout.exp: New file.
3841
38422020-02-22 Tom Tromey <tom@tromey.com>
3843
3844 * gdb.rust/rust-style.rs: New file.
3845 * gdb.rust/rust-style.exp: New file.
3846 * gdb.base/style.exp: Test structure printing.
3847 * gdb.base/style.c (struct some_struct): New type.
3848 (enum etype): New type.
3849 (struct_value): New global.
3850
38512020-02-21 Tom de Vries <tdevries@suse.de>
3852
3853 PR go/18926
3854 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3855 Remove blanket xfails. Use message argument for gdb_breakpoint.
3856 Make continuing to breakpoint test conditional on setting breakpoint.
3857 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3858 DW_AT_name attribute. Add xfail for GCC PR93866.
3859
38602020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3861
3862 * gdb.dwarf2/cpp-linkage-name.c: New file.
3863 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3864
38652020-02-21 Shahab Vahedi <shahab@synopsys.com>
3866
3867 * lib/gdb.exp (gdb_wrapper_init): Reset
3868 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3869 not exist.
3870
38712020-02-20 Tom de Vries <tdevries@suse.de>
3872
3873 PR go/17018
3874 * gdb.go/hello.exp: Copy ...
3875 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3876 print of st to print value of global definition. Add xfail for GCC
3877 PR93844.
3878 * gdb.go/hello.exp: Remove printing of st before definition.
3879 * gdb.go/hello.go: Copy ...
3880 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3881 to st.
3882 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3883
38842020-02-20 Tom de Vries <tdevries@suse.de>
3885
3886 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3887 (gdb_simple_compile): Handle compile_flags go by using .go extension
3888 for source file.
3889 * gdb.go/chan.exp: Use support_go_compile.
3890 * gdb.go/handcall.exp: Same.
3891 * gdb.go/hello.exp: Same.
3892 * gdb.go/integers.exp: Same.
3893 * gdb.go/max-depth.exp: Same.
3894 * gdb.go/methods.exp: Same.
3895 * gdb.go/package.exp: Same.
3896 * gdb.go/strings.exp: Same.
3897 * gdb.go/types.exp: Same.
3898 * gdb.go/unsafe.exp: Same.
3899
39002020-02-19 Tom de Vries <tdevries@suse.de>
3901
3902 * gdb.python/lib-types.exp: Make xfail more strict.
3903
39042020-02-19 Tom de Vries <tdevries@suse.de>
3905
3906 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3907
39082020-02-19 Doug Evans <dje@google.com>
3909
3910 PR rust/25535
3911 * gdb.rust/simple.exp: Add test.
3912 * gdb.rust/simple.rs: Add test.
3913
39142020-02-19 Tom de Vries <tdevries@suse.de>
3915
3916 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3917 output line-by-line.
3918
39192020-02-19 Tom de Vries <tdevries@suse.de>
3920
3921 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3922
39232020-02-19 Tom de Vries <tdevries@suse.de>
3924
3925 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3926 prelink.
3927
39282020-02-19 Tom de Vries <tdevries@suse.de>
3929
3930 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3931 (gdb_do_cache): Use gdb_do_cache_wrap.
3932 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3933
39342020-02-19 Tom de Vries <tdevries@suse.de>
3935
3936 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3937 gdb_compile option.
3938
39392020-02-18 Simon Marchi <simon.marchi@efficios.com>
3940
3941 * gdb.base/printcmds.exp (test_print_enums): Update expected
3942 output.
3943
39442020-02-18 Simon Marchi <simon.marchi@efficios.com>
3945
3946 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3947 for "unknown".
3948
39492020-02-18 Simon Marchi <simon.marchi@efficios.com>
3950
3951 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3952 enumerator.
3953
39542020-02-18 Simon Marchi <simon.marchi@efficios.com>
3955
3956 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3957 FE_, add FE_NONE.
3958 (three): Update.
3959 (enum flag_enum_without_zero): New enum.
3960 (flag_enum_without_zero): New variable.
3961 (enum not_flag_enum): New enum.
3962 (three_not_flag): New variable.
3963 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3964 (test_print_enums): Add more tests for printing flag enums.
3965
39662020-02-18 Tom de Vries <tdevries@suse.de>
3967
3968 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3969 (gdb_compile_ada): ... here.
3970 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3971 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3972
39732020-02-14 Tom Tromey <tom@tromey.com>
3974
3975 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3976 build directory.
3977 * boards/gdbserver-base.exp: Update path to gdbserver.
3978
39792020-02-13 Tom de Vries <tdevries@suse.de>
3980
3981 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3982
39832020-02-13 Tom de Vries <tdevries@suse.de>
3984
3985 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3986 are missing.
3987
39882020-02-13 Tom de Vries <tdevries@suse.de>
3989
3990 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3991 call.
3992
39932020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3994
3995 PR tui/25126
3996 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3997 * gdb.base/cached-source-file.c: New file.
3998 * gdb.base/cached-source-file.exp: New file.
3999
40002020-02-11 Tom de Vries <tdevries@suse.de>
4001
4002 PR testsuite/25488
4003 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4004
40052020-02-10 Tom de Vries <tdevries@suse.de>
4006
4007 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4008
40092020-02-10 Maciej W. Rozycki <macro@wdc.com>
4010
4011 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4012 and $after_addr are both integers before making a comparison.
4013
40142020-02-09 Tom de Vries <tdevries@suse.de>
4015
4016 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4017 command output and paste it into gdb.log. If any, paste catch message
4018 to gdb.log.
4019
40202020-02-07 Tom Tromey <tromey@adacore.com>
4021
4022 PR breakpoints/24915:
4023 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4024
40252020-02-06 Shahab Vahedi <shahab@synopsys.com>
4026
4027 * gdb.tui/tui-missing-src.exp: Add the "missing source
4028 file" test for the TUI.
4029
40302020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4031
4032 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4033 including a port number in the output.
4034
40352020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4036
4037 * lib/fortran.exp (fortran_int4): Handle clang.
4038 (fortran_int8): Likewise.
4039 (fortran_real4): Likewise.
4040 (fortran_real8): Likewise.
4041 (fortran_complex4): Likewise.
4042 (fortran_logical4): Likewise.
4043 (fortran_character1): Likewise.
4044
40452020-02-04 Tom de Vries <tdevries@suse.de>
4046
4047 * README (Race detection): Add note.
4048
40492020-02-04 Tom de Vries <tdevries@suse.de>
4050
4051 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4052
40532020-02-04 Tom de Vries <tdevries@suse.de>
4054
4055 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4056
40572020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4058
4059 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4060 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4061 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4062 blttar, bnetarl.
4063 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4064 binary for blttar, bnetarl.
4065 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4066 wait instruction. Delete ldmx test.
4067 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4068
40692020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4070
4071 * gdb.fortran/array-bounds-high.exp: New file.
4072 * gdb.fortran/array-bounds-high.f90: New file.
4073
40742020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4075
4076 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4077 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4078
40792020-02-01 Tom de Vries <tdevries@suse.de>
4080
4081 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4082
40832020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4084
4085 PR tui/9765
4086 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4087 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4088
40892020-01-29 Luis Machado <luis.machado@linaro.org>
4090
4091 * gdb.arch/aarch64-brk-patterns.c: New source file.
4092 * gdb.arch/aarch64-brk-patterns.exp: New test.
4093
40942020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4095
4096 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4097 GCC/Clang version.
4098 * gdb.cp/pass-by-ref.exp: Ditto.
4099
41002020-01-29 Tom de Vries <tdevries@suse.de>
4101
4102 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4103 * gdb.threads/watchpoint-fork-mt.c: Same.
4104 * gdb.threads/watchpoint-fork-parent.c: Same.
4105 * gdb.threads/watchpoint-fork-st.c: Same.
4106 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4107
41082020-01-27 Luis Machado <luis.machado@linaro.org>
4109
4110 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4111 sitting at a syscall instruction when we hit the syscall function's
4112 breakpoint.
4113 Check PC against one obtained with the x command.
4114 Validate syscall number.
4115 (step_over_syscall): Don't continue to the syscall instruction if
4116 we're already there.
4117
41182020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4119
4120 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4121
41222020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4123
4124 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4125 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4126
41272020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4128
4129 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4130 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4131
41322020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * gdb.base/maint.exp: Update line table parsing test.
4135 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4136
41372020-01-24 Pedro Alves <palves@redhat.com>
4138
4139 PR gdb/25410
4140 * gdb.multi/multi-re-run-1.c: New.
4141 * gdb.multi/multi-re-run-2.c: New.
4142 * gdb.multi/multi-re-run.exp: New.
4143
41442020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4145
4146 PR gdb/23718
4147 * gdb.server/server-kill-python.exp: New file.
4148
41492020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4150
4151 * gdb.server/multi-ui-errors.c: New file.
4152 * gdb.server/multi-ui-errors.exp: New file.
4153
41542020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4155
4156 PR tui/9765
4157 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4158
41592020-01-19 Tom Tromey <tom@tromey.com>
4160
4161 * gdb.tui/main.exp: Add check for plain "file".
4162
41632020-01-16 Christian Biesinger <cbiesinger@google.com>
4164
4165 * lib/gdb.exp: Fix spelling error (seperatelly).
4166
41672020-01-14 Tom Tromey <tom@tromey.com>
4168
4169 PR symtab/12535:
4170 * gdb.python/python.exp: Test decode_line with empty string
4171 argument.
4172
41732020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4174
4175 * gdb.base/skip-inline.exp: Extend test.
4176
41772020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4178
4179 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4180 * gdb.dwarf2/dw2-bad-elf.c: New file.
4181 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4182
41832020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4184
4185 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4186 _line_saw_file.
4187
41882020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4189
4190 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4191 border.
4192
41932020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4194
4195 * gdb.multi/multi-target.exp (setup): Factor out "info
4196 connections" and "info inferiors" tests to ...
4197 (test_info_inferiors): ... this new procedure.
4198 (top level): Run new "info-inferiors" tests.
4199
42002020-01-10 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.server/bkpt-other-inferior.exp: New file.
4203
42042020-01-10 Pedro Alves <palves@redhat.com>
4205
4206 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4207 of "add-inferior".
4208 * gdb.base/quit-live.exp: Likewise.
4209 * gdb.base/remote-exec-file.exp: Likewise.
4210 * gdb.guile/scm-progspace.exp: Likewise.
4211 * gdb.linespec/linespec.exp: Likewise.
4212 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4213 * gdb.mi/user-selected-context-sync.exp: Likewise.
4214 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4215 "info inferiors" tests.
4216 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4217 "add-inferior".
4218 * gdb.multi/watchpoint-multi.exp: Likewise.
4219 * gdb.python/py-inferior.exp: Likewise.
4220 * gdb.server/extended-remote-restart.exp: Likewise.
4221 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4222 "info inferiors".
4223 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4224 * gdb.trace/report.exp: Likewise.
4225
42262020-01-10 Pedro Alves <palves@redhat.com>
4227
4228 * gdb.multi/multi-target.c: New file.
4229 * gdb.multi/multi-target.exp: New file.
4230 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4231 mode requested, but remote does not support non-stop".
4232
42332020-01-10 Pedro Alves <palves@redhat.com>
4234
4235 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4236 disconnect before reconnecting.
4237
42382020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4239 Pedro Alves <palves@redhat.com>
4240
4241 * gdb.server/connect-without-multi-process.exp: Also test
4242 continuing to end.
4243
42442020-01-10 Pedro Alves <palves@redhat.com>
4245
4246 * gdb.base/remote-exec-file.exp: New file.
4247
42482020-01-10 Pedro Alves <palves@redhat.com>
4249
4250 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4251 output.
4252 * gdb.threads/async.c: New.
4253 * gdb.threads/async.exp: New.
4254 * gdb.multi/tids-gid-reset.c: New.
4255 * gdb.multi/tids-gid-reset.exp: New.
4256
42572020-01-10 George Barrett <bob@bob131.so>
4258
4259 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4260 to help in finding the image relocation offset.
4261 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4262 options in arguments.
4263 (stap_test_no_debuginfo): Likewise.
4264 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4265 test variants.
4266 (stap_test): Add null semaphore relocation test.
4267
42682020-01-10 George Barrett <bob@bob131.so>
4269
4270 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4271 * gdb.base/stap-probe.exp: Likewise.
4272 (stap_test): Pass argument as an additional flag.
4273 (stap_test_no_debuginfo): Likewise.
4274 (stap_test): Check `info probes stap' output for semaphore
4275 addresses if the test binary is supposed to have them.
4276
42772020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4278
4279 * gdb.tui/basic.exp: Add more scrolling tests.
4280
42812020-01-09 Tom Tromey <tom@tromey.com>
4282
4283 PR tui/18932:
4284 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4285 meangingful value.
4286 (Term::command, Term::resize): Update.
4287 * gdb.tui/basic.exp: Add scrolling test.
4288
42892020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4290
4291 * gdb.tui/tui-layout-asm.exp: New file.
4292
42932020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4294
4295 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4296
42972020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4298
4299 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4300 (Term::enter_tui): Use Term::prepare_for_tui.
4301
43022020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4303
4304 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4305 called.
4306
43072020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4308
4309 * gdb.base/skip.exp: Fix race condition in test.
4310
43112020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4312
4313 * gdb.base/backtrace.c: New file.
4314 * gdb.base/backtrace.exp: New file.
4315
43162020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4317
4318 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4319
43202020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4321
4322 * gdb.base/style.exp: Test that warnings are styled.
4323
43242019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4325
4326 * gdb.base/line65535.exp: New file.
4327 * gdb.base/line65535.c: New file.
4328
43292019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4330
4331 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4332 * lib/gnat_debug_info_test.adb: New file.
4333 * gdb.ada/ptype_tagged_param.exp: Use
4334 gnat_runtime_has_debug_info, expect a different output if
4335 runtime does not have debug info.
4336
43372019-12-20 Simon Marchi <simon.marchi@efficios.com>
4338
4339 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4340 (another) quote in test name.
4341
43422019-12-20 Simon Marchi <simon.marchi@efficios.com>
4343
4344 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4345 Add quote in test name.
4346
43472019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4348
4349 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4350 directory instead.
4351 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4352 * gdb.cp/pass-by-ref-2.cc: New file.
4353 * gdb.cp/pass-by-ref-2.exp: New file.
4354
43552019-12-20 Tom Tromey <tom@tromey.com>
4356
4357 * gdb.tui/list-before.exp: New file.
4358
43592019-12-20 Tom Tromey <tom@tromey.com>
4360
4361 * gdb.tui/list.exp: Check for source on initial listing.
4362
43632019-12-11 Tom Tromey <tromey@adacore.com>
4364
4365 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4366 Add crlf test.
4367
43682019-12-18 Simon Marchi <simon.marchi@efficios.com>
4369
4370 * gdb.base/default.exp: Update value of $_gdb_major.
4371
43722019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4373
4374 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4375
43762019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4377
4378 * gdb.base/skip.exp: Whitespace fix.
4379
43802019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4381
4382 * gdb.base/skip-inline.c: New file.
4383 * gdb.base/skip-inline.exp: New file.
4384
43852019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4386
4387 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4388 jit_function_00 to jit_function_stack_mangle.
4389 * gdb.base/jithost.c (jit_function_t): Rename to...
4390 (jit_function_stack_mangle_t): ... this.
4391 (jit_function_add_t): New typedef.
4392 (jit_function_00_code): Rename to...
4393 (jit_function_stack_mangle_code): ... this, make static.
4394 (jit_function_add_code): New.
4395 (main): Generate "add" function and call it. Adjust to changes
4396 in jithost_abi.
4397 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4398 (struct jithost_abi) <begin, end>: Remove fields.
4399 <object, function_stack_mangle, function_add>: New fields.
4400 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4401 code_end>: Remove fields.
4402 <func_stack_mangle>: New field.
4403 (read_debug_info): Adjust to renaming, create block for "add"
4404 function.
4405 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4406
44072019-12-11 Tom Tromey <tom@tromey.com>
4408
4409 * gdb.tui/resize.exp: Fix regexp.
4410 * gdb.tui/regs.exp: Fix regexps.
4411 * gdb.tui/main.exp: Fix regexp.
4412
44132019-12-11 Tom Tromey <tom@tromey.com>
4414
4415 * gdb.tui/resize.exp: Update.
4416 * gdb.tui/empty.exp (layouts): Update.
4417
44182019-12-11 Tom Tromey <tom@tromey.com>
4419
4420 * gdb.tui/regs.exp: Update.
4421 * gdb.tui/empty.exp (layouts): Update.
4422 * gdb.tui/basic.exp: Update.
4423 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4424
44252019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4426
4427 * gdb.base/options.exp: Add -raw-values in the print completion list.
4428 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4429
44302019-12-10 Kevin Buettner <kevinb@redhat.com>
4431
4432 * gdb.threads/omp-par-scope.c: New file.
4433 * gdb/threads/omp-par-scope.exp: New file.
4434
44352019-12-10 Kevin Buettner <kevinb@redhat.com>
4436
4437 * lib/gdb.exp (support_nested_function_tests): New proc.
4438
44392019-12-10 Kevin Buettner <kevinb@redhat.com>
4440
4441 * lib/gdb.exp (gdb_compile_openmp): New proc.
4442 (build_executable_from_specs): Add an "openmp" option.
4443 (gdb_compile_pthreads): Add non-executable case.
4444
44452019-12-10 Tom Tromey <tromey@adacore.com>
4446
4447 * gdb.ada/unchecked_union.exp: New file.
4448 * gdb.ada/unchecked_union/pck.adb: New file.
4449 * gdb.ada/unchecked_union/pck.ads: New file.
4450 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4451 * gdb-utils.exp (string_to_regexp): Also quote "?".
4452
44532019-12-10 George Barrett <bob@bob131.so>
4454
4455 Test scripted probe breakpoints.
4456 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4457 * gdb.python/py-breakpoint.c (main): Likewise.
4458 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4459 specifier test.
4460 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4461
44622019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4463
4464 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4465 an rvalue parameter.
4466 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4467 parameter.
4468
44692019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4470
4471 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4472 modules.
4473
44742019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4475
4476 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4477 broken version of GCC.
4478
44792019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4480
4481 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4482 sym-info-cmds library.
4483 * gdb.fortran/info-types.exp: Likewise.
4484 * lib/sym-info-cmds.exp: New file.
4485
44862019-12-08 Tom de Vries <tdevries@suse.de>
4487
4488 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4489
44902019-12-07 Keith Seitz <keiths@redhat.com>
4491
4492 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4493 * gdb.base/corefile-buildid-shlib.c: New file.
4494 * gdb.base/corefile-buildid.c: New file.
4495 * gdb.base/corefile-buildid.exp: New file.
4496
44972019-12-06 Tom de Vries <tdevries@suse.de>
4498
4499 * gdb.dwarf2/varval.exp: Add decl before def test.
4500
45012019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4502
4503 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4504
45052019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4506
4507 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4508 CV and reference conversion for overload resolution.
4509 * gdb.cp/rvalue-ref-overload.exp: Test it.
4510
45112019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4512
4513 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4514 * gdb.base/frameapply.exp: Test faas without command.
4515
45162019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4517
4518 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4519 Fortran tests.
4520 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4521 order.
4522
45232019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4524
4525 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4526 casting to type with no kind specified.
4527 (test_basic_parsing_of_type_kinds): Additional tests for types
4528 with no kind specified, and add tests for single/double
4529 precision/complex types.
4530
45312019-12-04 Tom Tromey <tromey@adacore.com>
4532
4533 * gdb.base/endianity.c (struct other) <x>: New field.
4534 (main): Initialize it.
4535 * gdb.base/endianity.exp: Update.
4536
45372019-12-04 Tom Tromey <tromey@adacore.com>
4538
4539 * gdb.ada/scalar_storage/storage.adb: New file.
4540 * gdb.ada/scalar_storage/pck.adb: New file.
4541 * gdb.ada/scalar_storage/pck.ads: New file.
4542 * gdb.ada/scalar_storage.exp: New file.
4543
45442019-12-04 Tom Tromey <tromey@adacore.com>
4545
4546 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4547 (main): Initialize it.
4548 * gdb.base/endianity.exp: Update.
4549
45502019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4551
4552 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4553
45542019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4555
4556 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4557 -symbol-info-module-functions and -symbol-info-module-variables.
4558
45592019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4560
4561 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4562
45632019-12-01 Richard Bunt <richard.bunt@arm.com>
4564 Andrew Burgess <andrew.burgess@embecosm.com>
4565
4566 * gdb.fortran/derived-type-striding.exp: New file.
4567 * gdb.fortran/derived-type-striding.f90: New file.
4568 * gdb.fortran/array-slices.exp: New file.
4569 * gdb.fortran/array-slices.f90: New file.
4570
45712019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4572
4573 * gdb.base/define.exp: Test . in command names.
4574 * gdb.base/setshow.exp: Update test, as . is now part of
4575 command name.
4576
45772019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4578
4579 * gdb.base/define-prefix.exp: New file.
4580
45812019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4582
4583 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4584 compile.
4585 (skip_btrace_pt_tests): Likewise.
4586
45872019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4588
4589 * gdb.fortran/info-modules.exp: Compile source files in correct
4590 order.
4591
45922019-11-27 Kevin Buettner <kevinb@redhat.com>
4593
4594 * gdb.dwarf2/imported-unit.exp: New file.
4595 * gdb.dwarf2/imported-unit.c: New file.
4596
45972019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4598
4599 * gdb.mi/mi-fortran-modules-2.f90: New file.
4600 * gdb.mi/mi-fortran-modules.exp: New file.
4601 * gdb.mi/mi-fortran-modules.f90: New file.
4602
46032019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4604
4605 * gdb.mi/mi-sym-info-1.c: New file.
4606 * gdb.mi/mi-sym-info-2.c: New file.
4607 * gdb.mi/mi-sym-info.exp: New file.
4608
46092019-11-22 Tom Tromey <tromey@adacore.com>
4610
4611 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4612 * gdb.ada/tasks/foo.adb: Add another stopping location.
4613
46142019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4615
4616 * gdb.base/endianity.c: New test.
4617 * gdb.base/endianity.exp: New file.
4618
46192019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4620
4621 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4622
46232019-11-21 Tom de Vries <tdevries@suse.de>
4624
4625 PR gdb/24956
4626 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4627
46282019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4629
4630 * gdb.python/py-progspace.exp: Add missing parentheses on some
4631 'print' commands.
4632
46332019-11-19 Tom Tromey <tom@tromey.com>
4634
4635 * gdb.tui/winheight.exp: New file.
4636
46372019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4638
4639 * gdb.base/ctf-whatis.c: Delete.
4640 * gdb.base/ctf-whatis.exp: Delete.
4641 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4642
46432019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4644
4645 * gdb.base/ctf-cvexpr.exp: Delete.
4646 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4647
46482019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4649
4650 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4651 the compiler. Clean up header comment a little.
4652 * gdb.base/ctf-ptype.exp: Likewise.
4653 * gdb.base/ctf-whatis.exp: Likewise.
4654 * lib/gdb.exp (skip_ctf_tests): New proc.
4655
46562019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4657
4658 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4659 * gdb.tui/corefile-run.exp: New file.
4660
46612019-11-14 Tom Tromey <tromey@adacore.com>
4662
4663 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4664 regression tests.
4665
46662019-11-12 Tom Tromey <tom@tromey.com>
4667
4668 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4669 after any command. Expect prompt after WAIT_FOR is seen.
4670 (enter_tui): Enable resize messages.
4671 (command): Expect command in output.
4672 (get_line): Avoid error when cursor appears to be off-screen.
4673 (dump_screen): Include screen size in title.
4674 (_do_resize): New proc, from "resize".
4675 (resize): Rewrite. Do resize in two steps.
4676 * gdb.tui/empty.exp (layouts): Fix entries.
4677 (check_boxes): Remove xfail.
4678 (check_text): Dump screen on failure.
4679
46802019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4681
4682 * gdb.python/py-symbol.exp: Add test for
4683 gdb.lookup_static_symbols.
4684
46852019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4686
4687 * gdb.python/py-symbol.c: Declare and call function from new
4688 py-symbol-2.c file.
4689 * gdb.python/py-symbol.exp: Compile both source files, and add new
4690 tests for gdb.lookup_static_symbol.
4691 * gdb.python/py-symbol-2.c: New file.
4692
46932019-11-02 Tom de Vries <tdevries@suse.de>
4694
4695 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4696 * gdb.base/anon.exp: Same.
4697 * gdb.base/auto-connect-native-target.exp: Same.
4698 * gdb.base/call-ar-st.exp: Same.
4699 * gdb.base/catch-syscall.exp: Same.
4700 * gdb.base/commands.exp: Same.
4701 * gdb.base/default.exp: Same.
4702 * gdb.base/display.exp: Same.
4703 * gdb.base/float.exp: Same.
4704 * gdb.base/foll-fork.exp: Same.
4705 * gdb.base/help.exp: Same.
4706 * gdb.base/info-macros.exp: Same.
4707 * gdb.base/info-proc.exp: Same.
4708 * gdb.base/info-target.exp: Same.
4709 * gdb.base/long_long.exp: Same.
4710 * gdb.base/macscp.exp: Same.
4711 * gdb.base/memattr.exp: Same.
4712 * gdb.base/nofield.exp: Same.
4713 * gdb.base/pointers.exp: Same.
4714 * gdb.base/printcmds.exp: Same.
4715 * gdb.base/ptype.exp: Same.
4716 * gdb.base/restore.exp: Same.
4717 * gdb.base/return.exp: Same.
4718 * gdb.base/scope.exp: Same.
4719 * gdb.base/set-noassign.exp: Same.
4720 * gdb.base/setshow.exp: Same.
4721 * gdb.base/shlib-call.exp: Same.
4722 * gdb.base/signals.exp: Same.
4723 * gdb.base/sigstep.exp: Same.
4724 * gdb.base/skip.exp: Same.
4725 * gdb.base/solib-symbol.exp: Same.
4726 * gdb.base/stap-probe.exp: Same.
4727 * gdb.base/step-line.exp: Same.
4728 * gdb.base/step-test.exp: Same.
4729 * gdb.base/style.exp: Same.
4730 * gdb.base/varargs.exp: Same.
4731 * gdb.base/vla-datatypes.exp: Same.
4732 * gdb.base/vla-ptr.exp: Same.
4733 * gdb.base/vla-sideeffect.exp: Same.
4734 * gdb.base/volatile.exp: Same.
4735 * gdb.base/watch-cond-infcall.exp: Same.
4736 * gdb.base/watchpoint.exp: Same.
4737
47382019-11-02 Tom de Vries <tdevries@suse.de>
4739
4740 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4741 * gdb.cp/cpexprs.exp: Same.
4742 * gdb.cp/except-multi-location.exp: Same.
4743 * gdb.cp/exceptprint.exp: Same.
4744 * gdb.cp/gdb2384.exp: Same.
4745 * gdb.cp/inherit.exp: Same.
4746 * gdb.cp/m-static.exp: Same.
4747 * gdb.cp/meth-typedefs.exp: Same.
4748 * gdb.cp/misc.exp: Same.
4749 * gdb.cp/namespace.exp: Same.
4750 * gdb.cp/non-trivial-retval.exp: Same.
4751 * gdb.cp/overload.exp: Same.
4752 * gdb.cp/pr17132.exp: Same.
4753 * gdb.cp/re-set-overloaded.exp: Same.
4754 * gdb.cp/rvalue-ref-types.exp: Same.
4755 * gdb.cp/templates.exp: Same.
4756
47572019-11-01 Luis Machado <luis.machado@linaro.org>
4758
4759 PR gdb/25124
4760
4761 * gdb.arch/pr25124.S: New file.
4762 * gdb.arch/pr25124.exp: New file.
4763
47642019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4765
4766 * gdb.fortran/info-modules.exp: Update expected results, and add
4767 additional tests for 'info module functinos', and 'info module
4768 variables'.
4769 * gdb.fortran/info-types.exp: Update expected results.
4770 * gdb.fortran/info-types.f90: Extend testcase with additional
4771 module variables and functions.
4772
47732019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4774
4775 * gdb.fortran/info-modules.exp: New file.
4776 * gdb.fortran/info-types.exp: Build with new file.
4777 * gdb.fortran/info-types.f90: Include and use new module.
4778 * gdb.fortran/info-types-2.f90: New file.
4779
47802019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4781
4782 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4783 * gdb.base/settings.exp: Test all settings types using
4784 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4785 that now verifies that the value of "maint show" is the same as
4786 returned by the settings functions. Test the type of the
4787 maintenance settings.
4788 * gdb.base/default.exp: Update show_conv_list.
4789
47902019-10-31 Tom de Vries <tdevries@suse.de>
4791
4792 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4793 gdb_test.
4794 * gdb.arch/amd64-disp-step.exp: Same.
4795 * gdb.asm/asm-source.exp: Same.
4796 * gdb.btrace/buffer-size.exp: Same.
4797 * gdb.btrace/cpu.exp: Same.
4798 * gdb.btrace/enable.exp: Same.
4799 * gdb.dwarf2/count.exp: Same.
4800 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4801 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4802 * gdb.fortran/vla-datatypes.exp: Same.
4803 * gdb.fortran/vla-history.exp: Same.
4804 * gdb.fortran/vla-ptype.exp: Same.
4805 * gdb.fortran/vla-value.exp: Same.
4806 * gdb.fortran/whatis_type.exp: Same.
4807 * gdb.guile/guile.exp: Same.
4808 * gdb.multi/tids.exp: Same.
4809 * gdb.python/py-finish-breakpoint.exp: Same.
4810 * gdb.python/py-framefilter.exp: Same.
4811 * gdb.python/py-pp-registration.exp: Same.
4812 * gdb.python/py-xmethods.exp: Same.
4813 * gdb.python/python.exp: Same.
4814 * gdb.server/connect-with-no-symbol-file.exp: Same.
4815 * gdb.server/no-thread-db.exp: Same.
4816 * gdb.server/run-without-local-binary.exp: Same.
4817 * gdb.stabs/weird.exp: Same.
4818 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4819 * gdb.threads/thread-find.exp: Same.
4820 * gdb.threads/tls-shared.exp: Same.
4821 * gdb.threads/tls.exp: Same.
4822 * gdb.threads/wp-replication.exp: Same.
4823 * gdb.trace/ax.exp: Same.
4824 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4825
48262019-10-31 Tom de Vries <tdevries@suse.de>
4827
4828 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4829 * gdb.ada/array_subscript_addr.exp: Same.
4830 * gdb.ada/arrayidx.exp: Same.
4831 * gdb.ada/arrayparam.exp: Same.
4832 * gdb.ada/arrayptr.exp: Same.
4833 * gdb.ada/boolean_expr.exp: Same.
4834 * gdb.ada/call_pn.exp: Same.
4835 * gdb.ada/complete.exp: Same.
4836 * gdb.ada/fixed_cmp.exp: Same.
4837 * gdb.ada/fun_addr.exp: Same.
4838 * gdb.ada/funcall_param.exp: Same.
4839 * gdb.ada/interface.exp: Same.
4840 * gdb.ada/mod_from_name.exp: Same.
4841 * gdb.ada/null_array.exp: Same.
4842 * gdb.ada/packed_array.exp: Same.
4843 * gdb.ada/packed_tagged.exp: Same.
4844 * gdb.ada/print_chars.exp: Same.
4845 * gdb.ada/print_pc.exp: Same.
4846 * gdb.ada/ptype_arith_binop.exp: Same.
4847 * gdb.ada/ptype_field.exp: Same.
4848 * gdb.ada/ptype_tagged_param.exp: Same.
4849 * gdb.ada/rec_return.exp: Same.
4850 * gdb.ada/ref_tick_size.exp: Same.
4851 * gdb.ada/str_ref_cmp.exp: Same.
4852 * gdb.ada/taft_type.exp: Same.
4853 * gdb.ada/tagged.exp: Same.
4854 * gdb.ada/type_coercion.exp: Same.
4855 * gdb.ada/uninitialized_vars.exp: Same.
4856
48572019-10-30 Tom de Vries <tdevries@suse.de>
4858
4859 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4860
48612019-10-26 Tom de Vries <tdevries@suse.de>
4862
4863 * gdb.base/bigcore.c: Fix typos in comments.
4864 * gdb.base/ctf-ptype.c: Same.
4865 * gdb.base/long_long.c: Same.
4866 * gdb.dwarf2/dw2-op-out-param.S: Same.
4867 * gdb.python/py-evthreads.c: Same.
4868 * gdb.reverse/i387-stack-reverse.c: Same.
4869 * gdb.trace/tfile.c: Same.
4870 * lib/compiler.c: Same.
4871 * lib/compiler.cc: Same.
4872
48732019-10-25 Tom de Vries <tdevries@suse.de>
4874
4875 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4876 gdb_test_multiple calls.
4877 * gdb.reverse/sigall-reverse.exp: Same.
4878 * gdb.reverse/solib-precsave.exp: Same.
4879 * gdb.reverse/solib-reverse.exp: Same.
4880 * gdb.reverse/until-precsave.exp: Same.
4881 * gdb.reverse/until-reverse.exp: Same.
4882
48832019-10-24 Tom de Vries <tdevries@suse.de>
4884
4885 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4886 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4887 kfail using -wrap pattern flag and convenience variable
4888 gdb_test_name.
4889
48902019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4891
4892 * gdb.python/py-progspace.exp: Add tests for the
4893 Progspace.block_for_pc method.
4894
48952019-10-23 Tom Tromey <tom@tromey.com>
4896
4897 * configure: Rebuild.
4898 * aclocal.m4: Use m4_include, not sinclude.
4899
49002019-10-21 Tom de Vries <tdevries@suse.de>
4901
4902 * gdb.base/infcall-nested-structs.c: Add
4903 __attribute__((noinline,noclone)) to all functions.
4904 (call_all): Add missing variable initialization. Simplify return value.
4905 (breakpt): Increment volatile variable, to prevent call from being
4906 optimized out.
4907 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4908
49092019-10-17 Tom de Vries <tdevries@suse.de>
4910
4911 * gdb.fortran/module.exp: Allow info variables to print info for files
4912 other than module.f90.
4913
49142019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4915
4916 * gdb.fortran/module.exp: Extend with 'info variables' test.
4917
49182019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4919
4920 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4921 F77_FOR_TARGET.
4922
49232019-10-16 Tom de Vries <tdevries@suse.de>
4924
4925 PR tdep/25096
4926 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4927
49282019-10-16 Tom de Vries <tdevries@suse.de>
4929
4930 PR tdep/24104
4931 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4932 Add KFAIL for PR tdep/25096.
4933
49342019-10-16 Tom de Vries <tdevries@suse.de>
4935
4936 PR testsuite/25059
4937 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4938
49392019-10-16 Tom de Vries <tdevries@suse.de>
4940
4941 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4942 as signed.
4943
49442019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4945
4946 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4947 one instead of increasing timeout.
4948
49492019-10-13 Tom de Vries <tdevries@suse.de>
4950
4951 PR record/25038
4952 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4953 * gdb.reverse/sigall-reverse.exp: Same.
4954 * gdb.reverse/solib-precsave.exp: Same.
4955 * gdb.reverse/solib-reverse.exp: Same.
4956 * gdb.reverse/step-precsave.exp: Same.
4957 * gdb.reverse/until-precsave.exp: Same.
4958 * gdb.reverse/until-reverse.exp: Same.
4959 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4960
49612019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4962
4963 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4964 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4965 (cmp_struct_05_01, cmp_struct_static_02_01)
4966 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4967 comparisons.
4968
49692019-10-10 Tom de Vries <tdevries@suse.de>
4970
4971 PR testsuite/24888
4972 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4973 gnatlink.
4974
49752019-10-09 Tom de Vries <tdevries@suse.de>
4976
4977 PR testsuite/25048
4978 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4979
49802019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4981
4982 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4983 exceptions due to missing debug information.
4984
49852019-10-07 Tom de Vries <tdevries@suse.de>
4986
4987 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4988
49892019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4990
4991 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4992 * gdb.base/annota1.exp: Update to use gdb_test_name.
4993
49942019-10-07 Weimin Pan <weimin.pan@oracle.com>
4995
4996 * gdb.base/ctf-whatis.exp: New file.
4997 * gdb.base/ctf-whatis.c: New file.
4998 * gdb.base/ctf-ptype.exp: New file.
4999 * gdb.base/ctf-ptype.c: New file.
5000 * gdb.base/ctf-constvars.exp: New file.
5001 * gdb.base/ctf-constvars.c: New file.
5002 * gdb.base/ctf-cvexpr.exp: New file.
5003
50042019-10-04 Tom de Vries <tdevries@suse.de>
5005
5006 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5007 for loop.
5008
50092019-10-03 Tom Tromey <tom@tromey.com>
5010
5011 PR rust/24976:
5012 * gdb.rust/simple.rs (Union2): New type.
5013 (main): Use Union2.
5014 * gdb.rust/simple.exp: Add test.
5015
50162019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5017
5018 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5019 nested function prefix.
5020
50212019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5022 Richard Bunt <richard.bunt@arm.com>
5023 Andrew Burgess <andrew.burgess@embecosm.com>
5024
5025 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5026 nested functions.
5027 * gdb.fortran/nested-funcs.f90: Update expected results.
5028 * gdb.fortran/nested-funcs-2.exp: New file.
5029 * gdb.fortran/nested-funcs-2.f90: New file.
5030
50312019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5032
5033 * gdb.python/py-parameter.exp: Make test names unique.
5034 * gdb.python/py-template.exp: Likewise.
5035 * gdb.python/py-value.exp: Likewise.
5036
50372019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5038
5039 * gdb.base/break-interp.exp: Reduce test name duplication.
5040 * gdb.base/call-sc.exp: Likewise.
5041 * gdb.base/callfuncs.exp: Likewise.
5042 * gdb.base/charset.exp: Likewise.
5043 * gdb.base/dump.exp: Likewise.
5044 * gdb.base/ena-dis-br.exp: Likewise.
5045 * gdb.base/relational.exp: Likewise.
5046 * gdb.base/step-over-syscall.exp: Likewise.
5047 * gdb.base/structs.exp: Likewise.
5048
50492019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5050
5051 * gdb.linespec/explicit.exp: Make test names unique.
5052 * gdb.linespec/ls-errs.exp: Likewise.
5053
50542019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5055
5056 * gdb.reverse/break-precsave.exp: Make test names unique.
5057 * gdb.reverse/break-reverse.exp: Likewise.
5058 * gdb.reverse/finish-precsave.exp: Likewise.
5059 * gdb.reverse/finish-reverse.exp: Likewise.
5060 * gdb.reverse/machinestate-precsave.exp: Likewise.
5061 * gdb.reverse/machinestate.exp: Likewise.
5062 * gdb.reverse/readv-reverse.exp: Likewise.
5063 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5064 * gdb.reverse/sigall-precsave.exp: Likewise.
5065 * gdb.reverse/sigall-reverse.exp: Likewise.
5066 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5067 * gdb.reverse/watch-precsave.exp: Likewise.
5068 * gdb.reverse/watch-reverse.exp: Likewise.
5069
50702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5071
5072 * gdb.threads/stop-with-handle.c: New file.
5073 * gdb.threads/stop-with-handle.exp: New file.
5074
50752019-10-03 Tom de Vries <tdevries@suse.de>
5076
5077 PR testsuite/25059
5078 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5079 directory" line to be missing.
5080
50812019-10-03 Tom de Vries <tdevries@suse.de>
5082
5083 PR testsuite/25059
5084 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5085 type optional.
5086
50872019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5088
5089 * gdb.python/py-format-string.c (string.h): New include.
5090 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5091 the same value, for endianness-independence.
5092 * gdb.python/py-format-string.exp (default_regexp_dict)
5093 (test_pretty_structs, test_format): Adjust expected output to the
5094 changed initialization.
5095
50962019-10-02 Tom Tromey <tromey@adacore.com>
5097
5098 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5099
51002019-10-02 Pedro Alves <palves@redhat.com>
5101 Andrew Burgess <andrew.burgess@embecosm.com>
5102
5103 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5104 "print-file-var.h".
5105 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5106 (get_version_1): Print this_version_id and its address.
5107 Add extern "C" wrappers around interface functions.
5108 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5109 "print-file-var.h".
5110 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5111 (get_version_2): Print this_version_id and its address.
5112 Add extern "C" wrappers around interface functions.
5113 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5114 <stddef.h> and "print-file-var.h".
5115 Add extern "C" wrappers around interface functions.
5116 [VERSION_ID_MAIN] (this_version_id): Define.
5117 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5118 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5119 up extern "C" blocks.
5120 * gdb.base/print-file-var.exp (test): New, factored out from top
5121 level.
5122 (top level): Test all combinations of attribute hidden or not,
5123 dlopen or not, and this_version_id symbol in main file or not.
5124 Compile tests as both C++ and C, make test names unique.
5125
51262019-10-01 Tom Tromey <tom@tromey.com>
5127
5128 * gdb.base/style.exp: Test "show logging filename".
5129
51302019-10-01 Tom Tromey <tom@tromey.com>
5131
5132 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5133 * gdb.base/style.exp: Add metadata style test.
5134
51352019-10-01 Tom Tromey <tom@tromey.com>
5136
5137 * gdb.base/style.exp: Test "pwd".
5138
51392019-10-01 Tom Tromey <tom@tromey.com>
5140
5141 * gdb.base/style.exp: Update tests.
5142
51432019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5144
5145 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5146 'six' to unsigned.
5147 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5148 'five'. Use an all-ones bit pattern for each.
5149 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5150 to its changed values.
5151
51522019-09-30 Tom Tromey <tromey@adacore.com>
5153
5154 * gdb.rust/traits.rs: Disable all warnings.
5155
51562019-09-29 Tom de Vries <tdevries@suse.de>
5157
5158 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
5159
51602019-09-29 Tom de Vries <tdevries@suse.de>
5161
5162 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5163
51642019-09-27 Tom de Vries <tdevries@suse.de>
5165
5166 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5167
51682019-09-27 Tom de Vries <tdevries@suse.de>
5169
5170 PR record/23188
5171 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5172
51732019-09-26 Tom Tromey <tromey@adacore.com>
5174
5175 * gdb.ada/py_taft.exp: New file.
5176 * gdb.ada/py_taft/main.adb: New file.
5177 * gdb.ada/py_taft/pkg.adb: New file.
5178 * gdb.ada/py_taft/pkg.ads: New file.
5179
51802019-09-24 Tom de Vries <tdevries@suse.de>
5181
5182 PR gdb/24598
5183 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5184
51852019-09-22 Tom de Vries <tdevries@suse.de>
5186
5187 * gdb.base/restore.exp: Allow register variables to be optimized out at
5188 -O0.
5189
51902019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5191
5192 * gdb.arch/spu-info.exp: Remove file.
5193 * gdb.arch/spu-info.c: Remove file.
5194 * gdb.arch/spu-ls.exp: Remove file.
5195 * gdb.arch/spu-ls.c: Remove file.
5196
5197 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5198 * gdb.asm/spu.inc: Remove file.
5199
5200 * gdb.base/dump.exp: Remove support for spu*-*-*.
5201 * gdb.base/stack-checking.exp: Likewise.
5202 * gdb.base/overlays.exp: Likewise.
5203 * gdb.base/ovlymgr.c: Likewise.
5204 * gdb.base/spu.ld: Remove file.
5205
5206 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5207 * gdb.cp/cpexprs.exp: Likewise.
5208 * gdb.cp/exception.exp: Likewise.
5209 * gdb.cp/gdb2495.exp: Likewise.
5210 * gdb.cp/mb-templates.exp: Likewise.
5211 * gdb.cp/pr9167.exp: Likewise.
5212 * gdb.cp/userdef.exp: Likewise.
5213
5214 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5215
5216 * gdb.cell: Remove directory.
5217 * lib/cell.exp: Remove file.
5218
52192019-09-19 Tom de Vries <tdevries@suse.de>
5220
5221 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5222
52232019-09-19 Tom de Vries <tdevries@suse.de>
5224
5225 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5226
52272019-09-19 Tom de Vries <tdevries@suse.de>
5228
5229 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5230 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5231 (gdb_target_cmd): ... here.
5232 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5233 value 2.
5234
52352019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5236
5237 * gdb.base/source-dir.exp: Avoid having directory names in test
5238 names.
5239
52402019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5241
5242 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5243 directory.
5244
52452019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5246
5247 * gdb.base/list-missing-source.exp: New file.
5248
52492019-09-14 Tom de Vries <tdevries@suse.de>
5250
5251 PR teststuite/24599
5252 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5253 * lib/ada.exp (gnatmake_version_at_least): New proc.
5254
52552019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5256
5257 * gdb.base/maint.exp: Use exec_has_index_section.
5258
52592019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5260
5261 * gdb.base/maint.exp: Add test for 'maint info sections'.
5262
52632019-09-12 Tom de Vries <tdevries@suse.de>
5264
5265 * gdb.base/store.exp: Allow register variables to be optimized out at
5266 -O0.
5267
52682019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5269
5270 * gdb.ada/rdv_wait.exp: Update to new task names.
5271 * gdb.base/task_switch_in_core.exp: Likewise.
5272 * gdb.base/info_sources_base.c: Likewise.
5273
52742019-09-10 Tom Tromey <tromey@adacore.com>
5275
5276 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5277
52782019-09-10 Tom Tromey <tromey@adacore.com>
5279
5280 * gdb.ada/dgopt.exp: New file.
5281 * gdb.ada/dgopt/x.adb: New file.
5282
52832019-09-08 Tom Tromey <tom@tromey.com>
5284
5285 * gdb.tui/resize.exp: Remove setup_xfail.
5286 * gdb.tui/regs.exp: Remove setup_xfail.
5287 * gdb.tui/basic.exp: Remove setup_xfail.
5288
52892019-09-06 David Blaikie <dblaikie@gmail.com>
5290
5291 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5292 * gdb.cp/cplabel.exp: Ditto.
5293 * gdb.linespec/ls-errs.exp: Ditto.
5294
52952019-09-05 Tom de Vries <tdevries@suse.de>
5296
5297 * lib/gdb.exp (cmp_file_string): New proc.
5298 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5299 runto_main. Verify save breakpoints output.
5300
53012019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5302
5303 * gdb.base/info-var.exp: Test info variables without running
5304 to main, to avoid expect's buffer overflow.
5305
53062019-09-03 Tom Tromey <tromey@adacore.com>
5307
5308 * gdb.ada/bias.exp: New file.
5309 * gdb.ada/bias/bias.adb: New file.
5310 * gdb.ada/print_chars.exp: Add regression test.
5311 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5312 (MC): New variable.
5313
53142019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5315
5316 * gdb.base/argv0-symlink.exp: Run only on native target
5317 and local host.
5318
53192019-08-29 Tom de Vries <tdevries@suse.de>
5320
5321 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5322 diverse debug info.
5323 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5324
53252019-08-28 Tom de Vries <tdevries@suse.de>
5326
5327 * gdb.base/info-var.exp: Allow info variables to print info for files
5328 other than info-var-f1.c and info-var-f2.c.
5329
53302019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5331
5332 * gdb.fortran/info-types.exp: Add module.
5333 * gdb.fortran/info-types.f90: Update expected results.
5334
53352019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5336
5337 * gdb.fortran/info-types.exp: New file.
5338 * gdb.fortran/info-types.f90: New file.
5339 * lib/fortran.exp (fortran_character1): New proc.
5340
53412019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5342
5343 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5344 functions'. Reindent as needed.
5345 * gdb.base/info-var-f1.c: New file.
5346 * gdb.base/info-var-f2.c: New file.
5347 * gdb.base/info-var.exp: New file.
5348 * gdb.base/info-var.h: New file.
5349
53502019-08-26 Tom de Vries <tdevries@suse.de>
5351
5352 PR c++/24852
5353 * gdb.cp/no-libstdcxx-probe.exp: New test.
5354
53552019-08-26 Tom de Vries <tdevries@suse.de>
5356
5357 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5358 * tests need to be skipped.
5359 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5360 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5361 mi_skip_libstdcxx_probe_tests.
5362
53632019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5364
5365 * gdb.python/py-xmethods.exp: Use raw strings when passing
5366 arguments to SimpleXMethodMatcher.
5367
53682019-08-22 Tom de Vries <tdevries@suse.de>
5369
5370 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5371 more informative.
5372
53732019-08-21 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.base/with.exp: Test "with" with no arguments.
5376
53772019-08-21 Tom de Vries <tdevries@suse.de>
5378
5379 * gdb.base/gdb-caching-proc.exp: Sort files.
5380
53812019-08-20 Tom de Vries <tdevries@suse.de>
5382
5383 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5384 compilation.
5385
53862019-08-16 Tom de Vries <tdevries@suse.de>
5387
5388 * gdb.base/compare-sections.exp ("after run to main"): Allow
5389 mismatched read-only sections for PIE executables.
5390
53912019-08-16 Tom Tromey <tom@tromey.com>
5392
5393 * lib/tuiterm.exp (_csi_Z): New proc.
5394 * gdb.tui/basic.exp: Update window positions.
5395 * gdb.tui/empty.exp: Update window positions.
5396
53972019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5398
5399 * gdb.base/examine-backward.exp: Correct regexp for
5400 "examine 3 bytes backward from ${address_zero}".
5401
54022019-08-15 Tom Tromey <tom@tromey.com>
5403
5404 * gdb.tui/empty.exp: Enable resizing tests.
5405
54062019-08-15 Tom Tromey <tromey@adacore.com>
5407
5408 * gdb.ada/char_enum.exp: Add regression tests.
5409 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5410 and '0'.
5411 (Char, Gchar): Update.
5412 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5413
54142019-08-15 Christian Biesinger <cbiesinger@google.com>
5415
5416 * gdb.python/python.exp: Expect a leading underscore on
5417 GdbOutput{,Error}File.
5418
54192019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5420
5421 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5422 Windows host.
5423
54242019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5425
5426 * gdb.base/batch-preserve-term-settings.exp
5427 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5428
54292019-08-15 Christian Biesinger <cbiesinger@google.com>
5430
5431 * lib/gdb.exp: When running on a mingw target, replace
5432 /x/ with x:/.
5433
54342019-08-14 Alan Hayward <alan.hayward@arm.com>
5435
5436 * gdb.arch/aarch64-prologue.c: New test.
5437 * gdb.arch/aarch64-prologue.exp: New file.
5438
54392019-08-13 Tom de Vries <tdevries@suse.de>
5440
5441 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5442 Thread.
5443
54442019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5445
5446 * gdb.python/py-completion.exp: Download the .py file to the host
5447 and use its host pathname. Conditionalize tests that use
5448 tab completion and manipulate files on the build machine.
5449 * gdb.python/py-events.exp: Download the .py file to the host
5450 and use its host pathname.
5451 * gdb.python/py-evsignal.exp: Likewise.
5452 * gdb.python/py-evthreads.exp: Likewise.
5453 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5454 pathname syntax.
5455 * gdb.python/py-framefilter.exp: Download the .py file to the right
5456 place on the host. Match Windows pathname syntax.
5457 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5458 .py file to the host and use its host pathname.
5459 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5460 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5461 build pathname. Skip symlink test on Windows host. Add missing
5462 newline at end of file.
5463 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5464 and use its host pathname.
5465 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5466 * gdb.python/py-section-script.exp: Use host location of binfile
5467 on safe-path. Use correct path separator on Windows host.
5468 Reorder alternatives in gdb_test_multiple to prevent matching
5469 the wrong alternative on success.
5470 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5471
54722019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5473
5474 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5475 expect the GDB inferior to no longer immediately stop after
5476 being resumed with "signal SIGINT".
5477
54782019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5479
5480 * gdb.linespec/break-ask.exp: Generalize regexps to match
5481 Windows pathnames too.
5482
54832019-08-08 Tom de Vries <tdevries@suse.de>
5484
5485 PR testsuite/24862
5486 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5487
54882019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5489
5490 * gdb.base/style.exp: Update tests for help doc new invariants.
5491 * gdb.base/help.exp: Likewise.
5492
54932019-08-06 Tom Tromey <tom@tromey.com>
5494
5495 * gdb.base/style.exp: Add disassemble test.
5496 * gdb.base/style.c (some_called_function): New function.
5497 (main): Use it.
5498
54992019-08-05 Christian Biesinger <cbiesinger@google.com>
5500
5501 * gdb.python/py-block.exp: Test dictionary access on blocks.
5502
55032019-08-05 Simon Marchi <simon.marchi@efficios.com>
5504
5505 PR gdb/24863
5506 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5507 -list-thread-groups --available test when running under
5508 check-read1.
5509
55102019-08-05 Tom de Vries <tdevries@suse.de>
5511
5512 PR testsuite/24863
5513 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5514 * gdb.base/help.exp: Use with_read1_timeout_factor.
5515 * gdb.base/info-macros.exp: Same.
5516 * gdb.cp/nested-types.exp: Same.
5517
55182019-08-05 Tom de Vries <tdevries@suse.de>
5519
5520 * lib/gdb.exp (version_at_least): Factor out of ...
5521 (tcl_version_at_least): ... here.
5522 (gdb_compile): Fail if pie results in non-PIE executable.
5523 (readelf_version, readelf_prints_pie): New proc.
5524 (exec_is_pie): Return -1 if unknown.
5525
55262019-08-05 Tom de Vries <tdevries@suse.de>
5527
5528 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5529
55302019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5531
5532 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5533
55342019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5535
5536 * lib/completion-support.exp (test_gdb_complete_none): Skip
5537 tab completion tests if no readline support.
5538 (test_gdb_complete_unique_re): Likewise.
5539 (test_gdb_complete_multiple): Likewise.
5540
55412019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5542
5543 * gdb.base/info_sources.exp: New file.
5544 * gdb.base/info_sources.c: New file.
5545 * gdb.base/info_sources_base.c: New file.
5546
55472019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5548
5549 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5550 prefix argument.
5551 (test_exit_status): Add prefix argument.
5552
55532019-08-01 Tom de Vries <tdevries@suse.de>
5554
5555 PR testsuite/24863
5556 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5557 calling exp_continue for new thread and thread exited messages.
5558
55592019-08-01 Tom de Vries <tdevries@suse.de>
5560
5561 PR testsuite/24863
5562 * gdb.base/structs.exp: Fix check-read1 timeout using
5563 gdb_test_sequence.
5564 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5565
55662019-08-01 Tom de Vries <tdevries@suse.de>
5567
5568 PR testsuite/24863
5569 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5570 line.
5571
55722019-08-01 Tom de Vries <tdevries@suse.de>
5573
5574 PR testsuite/24863
5575 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5576
55772019-07-30 Tom Tromey <tromey@adacore.com>
5578
5579 * gdb.ada/display_nested.exp: New file.
5580 * gdb.ada/display_nested/foo.adb: New file.
5581 * gdb.ada/display_nested/pack.adb: New file.
5582 * gdb.ada/display_nested/pack.ads: New file.
5583
55842019-07-30 Christian Biesinger <cbiesinger@google.com>
5585
5586 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5587 namespace.
5588 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5589
55902019-07-30 Tom de Vries <tdevries@suse.de>
5591
5592 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5593 instead.
5594
55952019-07-30 Tom de Vries <tdevries@suse.de>
5596
5597 PR testsuite/24834
5598 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5599 (exec_is_pie): New proc.
5600
56012019-07-29 Christian Biesinger <cbiesinger@google.com>
5602
5603 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5604
56052019-07-29 Christian Biesinger <cbiesinger@google.com>
5606
5607 * gdb.python/py-objfile.c: Add global and static vars.
5608 * gdb.python/py-objfile.exp: Test new functions Objfile.
5609 lookup_global_symbol and lookup_static_symbol.
5610
56112019-07-29 Tom Tromey <tom@tromey.com>
5612
5613 * lib/tuiterm.exp (Term::_csi_@): New proc.
5614 (Term::_csi_X): Don't move cursor.
5615
56162019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5617
5618 * gdb.base/options.exp: Update backtrace - completion to
5619 new option -frame-info.
5620 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5621 Test new 'set print frame-info'. Test backtrace -frame-info
5622 overriding 'set print frame-info'.
5623 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5624 Test new 'set print frame-info'.
5625 Verify consistency of backtrace with and without filters, with and
5626 without -no-filters.
5627 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5628 default.
5629
56302019-07-29 Tom de Vries <tdevries@suse.de>
5631
5632 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5633 no arguments".
5634
56352019-07-29 Tom de Vries <tdevries@suse.de>
5636
5637 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5638 is a substring of the first for "complete non-unique file name".
5639
56402019-07-29 Tom de Vries <tdevries@suse.de>
5641
5642 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5643 with ".*".
5644
56452019-07-29 Tom de Vries <tdevries@suse.de>
5646
5647 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5648 Pass prompt_regexp parameter to gdb_test_multiple calls.
5649
56502019-07-29 Tom de Vries <tdevries@suse.de>
5651
5652 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
5653 print registers" regexps.
5654
56552019-07-29 Tom de Vries <tdevries@suse.de>
5656
5657 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5658
56592019-07-29 Tom de Vries <tdevries@suse.de>
5660
5661 PR gdb/24855
5662 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5663 (skip_python_tests_prompt): Add prompt_regexp argument to
5664 gdb_test_multiple calls.
5665
56662019-07-27 Tom Tromey <tom@tromey.com>
5667
5668 * gdb.tui/main.exp: New file.
5669
56702019-07-27 Tom Tromey <tom@tromey.com>
5671
5672 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5673 optional.
5674 * gdb.tui/empty.exp: New file.
5675
56762019-07-27 Tom Tromey <tom@tromey.com>
5677
5678 * lib/tuiterm.exp (spawn): New proc.
5679 (Term::resize): New proc.
5680 * gdb.tui/resize.exp: New file.
5681
56822019-07-27 Tom Tromey <tom@tromey.com>
5683
5684 * gdb.tui/list.exp: New file.
5685
56862019-07-27 Tom Tromey <tom@tromey.com>
5687
5688 * gdb.tui/regs.exp: New file.
5689
56902019-07-27 Tom Tromey <tom@tromey.com>
5691
5692 * gdb.tui/basic.exp: Add "layout split" test.
5693
56942019-07-27 Tom Tromey <tom@tromey.com>
5695
5696 * gdb.tui/basic.exp: Add "layout asm" test.
5697
56982019-07-27 Tom Tromey <tom@tromey.com>
5699
5700 * lib/tuiterm.exp: New file.
5701 * gdb.tui/basic.exp: New file.
5702
57032019-07-27 Kevin Buettner <kevinb@redhat.com>
5704
5705 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5706 Enable tests associated with this flag. Adjust regex
5707 referencing "foo_low" to now refer to "foo_cold" instead.
5708
57092019-07-27 Kevin Buettner <kevinb@redhat.com>
5710
5711 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5712 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5713 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5714 foo_cold. Revise comments to match.
5715 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5716 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5717 were wrapped into this proc; Call do_test in loop from outermost
5718 level.
5719 (foo_low): Rename all occurrences to "foo_cold".
5720 (backtrace from baz): New test.
5721 (x2/i foo_cold): New test.
5722 (info line *foo_cold): New test.
5723
57242019-07-26 Tom de Vries <tdevries@suse.de>
5725
5726 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5727
57282019-07-25 Tom de Vries <tdevries@suse.de>
5729
5730 PR testsuite/24830
5731 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5732 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5733 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5734 (skip_libstdcxx_probe_tests): ... here.
5735 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5736
57372019-07-24 Tom de Vries <tdevries@suse.de>
5738
5739 PR testsuite/24807
5740 * gdb.objc/basicclass.m: Include stdio.h.
5741 * gdb.objc/nondebug.m: Same.
5742 * gdb.objc/objcdecode.m: Same.
5743
57442019-07-24 Tom de Vries <tdevries@suse.de>
5745
5746 PR testsuite/24612
5747 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5748 additional_flags.
5749
57502019-07-24 Tom de Vries <tdevries@suse.de>
5751
5752 PR testsuite/24831
5753 * gdb.multi/tids.exp: Update error messages for info threads.
5754
57552019-07-24 Tom de Vries <tdevries@suse.de>
5756
5757 * gdb.base/info-types.exp: Allow info types to print info for more than
5758 one file.
5759
57602019-07-23 Tom de Vries <tdevries@suse.de>
5761
5762 PR testsuite/24842
5763 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5764 gdb_spawn_with_cmdline_opts.
5765
57662019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5767
5768 * gdb.arch/arm-cmse-sgstubs.c: New test.
5769 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5770
57712019-07-23 Tom de Vries <tdevries@suse.de>
5772
5773 PR testsuite/24711
5774 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5775 issuing next command.
5776
57772019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5778
5779 * gdb.ada/info_auto_lang.exp: Update expected results.
5780 * gdb.base/info-types.c: Add additional types to check.
5781 * gdb.base/info-types.exp: Update expected results.
5782
57832019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5784
5785 * gdb.base/info-types.c: New file.
5786 * gdb.base/info-types.exp: New file.
5787
57882019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5789
5790 * gdb.arch/riscv-bp-infcall.c: New file.
5791 * gdb.arch/riscv-bp-infcall.exp: New file.
5792
57932019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5794
5795 PR breakpoints/24541
5796 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5797
57982019-07-14 Tom de Vries <tdevries@suse.de>
5799
5800 PR testsuite/24760
5801 * gdb.objc/basicclass.exp: Fix unterminated string.
5802
58032019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5804 Andrew Burgess <andrew.burgess@embecosm.com>
5805
5806 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5807 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5808 negative bounds.
5809 * gdb.fortran/vla-value.exp: Print elements of an array with
5810 negative bounds.
5811 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5812 testing.
5813
58142019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5815
5816 * gdb.base/options.exp (expect_string): Dequote strings in
5817 results.
5818 (test-string): Test strings with different quoting and reindent.
5819
58202019-07-10 Tom Tromey <tromey@adacore.com>
5821
5822 * gdb.ada/mi_ex_cond.exp: Update expected results.
5823 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5824 * gdb.ada/mi_catch_ex.exp: Update expected results.
5825 * gdb.ada/mi_catch_assert.exp: Update expected results.
5826 * gdb.ada/catch_ex.exp (catch_exception_info)
5827 (catch_exception_entry, catch_assert_entry)
5828 (catch_unhandled_entry): Update.
5829 * gdb.ada/catch_assert_if.exp: Update expected results.
5830
58312019-07-10 Richard Bunt <richard.bunt@arm.com>
5832 Stephen Roberts <stephen.roberts@arm.com>
5833
5834 * gdb.base/define.exp: Restore original prompt.
5835
58362019-07-09 Pedro Alves <palves@redhat.com>
5837
5838 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5839 breakpoints" output.
5840 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5841 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5842 throw" creates breakpoint.
5843 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5844 'type="catchpoint"'.
5845
58462019-07-09 Pedro Alves <palves@redhat.com>
5847
5848 PR c++/15468
5849 * gdb.cp/except-multi-location-lib.cc: New.
5850 * gdb.cp/except-multi-location-main.cc: New.
5851 * gdb.cp/except-multi-location.exp: New.
5852
58532019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5854
5855 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5856 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5857 argument and update callers.
5858
58592019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5860
5861 * gdb.arch/amd64-break-on-asm-line.S: New file.
5862 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5863
58642019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5865
5866 * gdb.base/printcmds.exp: Test printing C string and
5867 C wide string convenience vars without transiting via the inferior.
5868 Also make test names unique.
5869
58702019-07-08 Alan Hayward <alan.hayward@arm.com>
5871
5872 PR breakpoints/25011
5873 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5874
58752019-07-04 Pedro Alves <palves@redhat.com>
5876
5877 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5878 body returned ok(0), break(3) or continue(4).
5879 * gdb.testsuite/foreach_with_prefix.exp: New file.
5880
58812019-07-04 Alan Hayward <alan.hayward@arm.com>
5882
5883 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5884
58852019-07-03 Pedro Alves <palves@redhat.com>
5886
5887 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5888 "return -code".
5889
58902019-07-03 Pedro Alves <palves@redhat.com>
5891
5892 PR cli/24732
5893 * gdb.base/shell.exp: Load completion-support.exp.
5894 Adjust expected error output. Add completion tests.
5895
58962019-07-03 Pedro Alves <palves@redhat.com>
5897
5898 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5899 string_to_regexp.
5900
59012019-07-03 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5904 (expect_integer): Adjust to expect "-string".
5905 (expect_string): New.
5906 (all_options): Expect "-string".
5907 (test-flag, test-boolean): Adjust to expect "-string".
5908 (test-string): New proc.
5909 (top level): Call it.
5910
59112019-07-03 Pedro Alves <palves@redhat.com>
5912
5913 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5914 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5915 the expected output in the success.
5916
59172019-07-03 Pedro Alves <palves@redhat.com>
5918
5919 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5920 Split one gdb_test_multiple call in two to avoid a race.
5921
59222019-07-03 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.base/with.c: New file.
5925 * gdb.base/with.exp: New file.
5926
59272019-07-03 Pedro Alves <palves@redhat.com>
5928
5929 * gdb.base/settings.exp: Replace all references to "maint
5930 test-settings set" with references to "maint set test-settings",
5931 and all references to "maint test-settings show" with references
5932 to "maint show test-settings".
5933
59342019-07-03 Pedro Alves <palves@redhat.com>
5935
5936 * gdb.base/settings.exp (test-string): Adjust expected out when
5937 testing "maint test-settings show filename"
5938
59392019-07-02 Pedro Alves <palves@redhat.com>
5940
5941 * gdb.base/options.exp (test-info-threads): New procedure.
5942 (top level): Call it.
5943
59442019-06-28 Tom Tromey <tromey@adacore.com>
5945
5946 * gdb.dwarf2/ada-linkage-name.c: New file.
5947 * gdb.dwarf2/ada-linkage-name.exp: New file.
5948
59492019-06-27 Tom Tromey <tromey@adacore.com>
5950
5951 PR c++/20020:
5952 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5953
59542019-06-26 Tom de Vries <tdevries@suse.de>
5955
5956 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5957
59582019-06-26 Tom de Vries <tdevries@suse.de>
5959
5960 * gdb.base/index-cache.exp: Add back missing debug option.
5961
59622019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5963
5964 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5965
59662019-06-25 Tom de Vries <tdevries@suse.de>
5967
5968 PR testsuite/24727
5969 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5970
59712019-06-24 Tom de Vries <tdevries@suse.de>
5972
5973 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5974
59752019-06-24 Tom de Vries <tdevries@suse.de>
5976
5977 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5978 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5979 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5980
59812019-06-24 Tom de Vries <tdevries@suse.de>
5982
5983 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5984
59852019-06-21 Tom de Vries <tdevries@suse.de>
5986
5987 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5988
59892019-06-21 Tom de Vries <tdevries@suse.de>
5990
5991 PR testsuite/24518
5992 PR ada/24713
5993 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5994 index.
5995
59962019-06-19 Tom Tromey <tromey@adacore.com>
5997
5998 * gdb.ada/length_cond.exp: Add intro comment.
5999
60002019-06-19 Tom Tromey <tromey@adacore.com>
6001
6002 * gdb.ada/length_cond.exp: New file.
6003 * gdb.ada/length_cond/length_cond.adb: New file.
6004 * gdb.ada/length_cond/pck.adb: New file.
6005 * gdb.ada/length_cond/pck.ads: New file.
6006
60072019-06-18 Tom de Vries <tdevries@suse.de>
6008
6009 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6010
60112019-06-18 Tom Tromey <tromey@adacore.com>
6012
6013 * gdb.base/list0.h: Add comment explaining control character.
6014
60152019-06-18 Tom de Vries <tdevries@suse.de>
6016
6017 * boards/fission.exp: Break up long debug_flags line.
6018
60192019-06-16 Tom de Vries <tdevries@suse.de>
6020
6021 PR gdb/24445
6022 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6023 generated index.
6024
60252019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6026
6027 PR gdb/24686
6028 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6029 improve detection of bug gdb/24541.
6030
60312019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6032
6033 PR gdb/24669
6034 * gdb.base/index-cache.exp (uses_readnow,
6035 expecting_index_cache_use): Define global variable.
6036 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6037 expecting_index_cache_use.
6038
60392019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6040 Andrew Burgess <andrew.burgess@embecosm.com>
6041
6042 * gdb.fortran/pointers.f90: New file.
6043 * gdb.fortran/print_type.exp: New file.
6044 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6045 * gdb.fortran/vla-type.exp: Likewise.
6046 * gdb.fortran/vla-value.exp: Likewise.
6047 * gdb.mi/mi-vla-fortran.exp: Likewise.
6048
60492019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6050
6051 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6052 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6053 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6054 as a stop reason.
6055
60562019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6057
6058 * gdb.base/annota1.exp: Update expected results.
6059 * gdb.cp/annota2.exp: Likewise.
6060 * gdb.cp/annota3.exp: Likewise.
6061
60622019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6063
6064 * gdb.base/style-logging.exp: Remove path from test name.
6065
60662019-06-14 Tom Tromey <tromey@adacore.com>
6067
6068 PR gdb/24502:
6069 * gdb.base/style-logging.exp: New file.
6070
60712019-06-14 Tom Tromey <tromey@adacore.com>
6072
6073 * gdb.base/symfile-warn.exp: New file.
6074 * gdb.base/symfile-warn.c: New file.
6075
60762019-06-14 Tom Tromey <tromey@adacore.com>
6077
6078 * gdb.base/annotate-symlink.exp: New file.
6079
60802019-06-14 Tom Tromey <tromey@adacore.com>
6081
6082 * gdb.ada/set_wstr.exp: Add reassignment test.
6083
60842019-06-14 Tom Tromey <tromey@adacore.com>
6085
6086 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6087 'unchecked_access and 'unrestricted_access as well.
6088
60892019-06-14 Tom Tromey <tromey@adacore.com>
6090
6091 PR ada/24539:
6092 * gdb.ada/vla.exp: Update tests.
6093 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6094 pragma.
6095
60962019-06-13 Pedro Alves <palves@redhat.com>
6097
6098 * gdb.base/settings.exp (test-integer): Test junk after
6099 "unlimited".
6100
61012019-06-13 Pedro Alves <palves@redhat.com>
6102
6103 * gdb.base/options.exp (test-thread-apply): New.
6104 (top level): Call it.
6105
61062019-06-13 Pedro Alves <palves@redhat.com>
6107
6108 * gdb.base/options.exp (test-frame-apply): New.
6109 (top level): Test print commands with different "frame apply"
6110 prefixes.
6111
61122019-06-13 Pedro Alves <palves@redhat.com>
6113
6114 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
6115 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6116 'max_completions' parameter and handle it.
6117 (test_gdb_completion_offers_commands): New.
6118
61192019-06-13 Pedro Alves <palves@redhat.com>
6120
6121 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6122
61232019-06-13 Pedro Alves <palves@redhat.com>
6124
6125 * gdb.base/options.exp (test-backtrace): New.
6126 (top level): Call it.
6127
61282019-06-13 Pedro Alves <palves@redhat.com>
6129
6130 * gdb.guile/scm-frame-args.exp: Use "set print
6131 raw-frame-arguments" instead of "set print raw frame-arguments".
6132 * gdb.python/py-frame-args.exp: Likewise.
6133
61342019-06-13 Pedro Alves <palves@redhat.com>
6135
6136 * gdb.compile/compile.exp: Adjust expected output to option
6137 processing changes.
6138
61392019-06-13 Pedro Alves <palves@redhat.com>
6140
6141 * gdb.base/options.exp: Build executable.
6142 (test-print): New procedure.
6143 (top level): Call it, once for "print" and another for "compile
6144 print".
6145
61462019-06-13 Pedro Alves <palves@redhat.com>
6147
6148 * gdb.base/options.c: New file.
6149 * gdb.base/options.exp: New file.
6150
61512019-06-13 Pedro Alves <palves@redhat.com>
6152
6153 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6154 that "o" is ambiguous.
6155
61562019-06-13 Pedro Alves <palves@redhat.com>
6157
6158 * gdb.base/settings.c: New file.
6159 * gdb.base/settings.exp: New file.
6160
61612019-06-13 Pedro Alves <palves@redhat.com>
6162
6163 * gdb.base/completion.exp: Fix comment typo.
6164
61652019-06-13 Pedro Alves <palves@redhat.com>
6166
6167 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6168 foo --1" test.
6169
61702019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6171
6172 * gdb.fortran/block-data.f: New.
6173 * gdb.fortran/block-data.exp: New.
6174
61752019-06-11 Tom de Vries <tdevries@suse.de>
6176
6177 PR testsuite/24521
6178 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6179 message.
6180
61812019-06-11 Tom de Vries <tdevries@suse.de>
6182
6183 PR testsuite/24521
6184 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6185
61862019-06-11 Tom de Vries <tdevries@suse.de>
6187
6188 * boards/readnow.exp: New file.
6189
61902019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6191
6192 * gdb.fortran/vla-sizeof.exp: Update expected results.
6193
61942019-06-06 Amos Bird <amosbird@gmail.com>
6195
6196 * gdb.base/annota1.exp (thread_switch): Add test for
6197 thread-exited annotation.
6198
61992019-06-06 Tom Tromey <tromey@adacore.com>
6200
6201 * gdb.base/maint.exp: Expect command started/finished output.
6202
62032019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6204
6205 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6206 comment.
6207 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6208
62092019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6210
6211 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6212 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6213 * gdb.arch/riscv-unwind-long-insn.c: New file.
6214 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6215
62162019-06-04 Christian Biesinger <cbiesinger@google.com>
6217
6218 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
6219
62202019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6221
6222 * lib/gdb.exp (help_list_trailer): New regexp variable
6223 factorizing the help trailer message.
6224 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6225 arg to allow to better factorize various tests.
6226 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6227 (test_prefix_command_help): Use help_list_trailer.
6228 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6229 * gdb.guile/scm-cmd.exp: Likewise.
6230 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6231 * gdb.base/help.exp: Use test_user_defined_class_help.
6232 * gdb.base/style.exp: Add tests for styling of help and apropos.
6233 * lib/gdb-utils.exp (style): Add title and highlight styles.
6234
62352019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6236
6237 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6238 $_shell_exitsignal.
6239 * gdb.base/default.exp: Update for new convenience variables.
6240
62412019-05-29 Tom Tromey <tromey@adacore.com>
6242
6243 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6244 to "break complete ada" test case's regexp.
6245
62462019-05-29 Tom Tromey <tromey@adacore.com>
6247
6248 PR c++/20020:
6249 * gdb.cp/constexpr-field.exp: New file.
6250 * gdb.cp/constexpr-field.cc: New file.
6251
62522019-05-29 Tom Tromey <tromey@adacore.com>
6253
6254 * gdb.base/finish.exp (finish_no_print): New proc.
6255 (finish_tests): Call it.
6256
62572019-05-24 Tom de Vries <tdevries@suse.de>
6258
6259 * gdb.dwarf2/gdb-add-index.exp: New file.
6260
62612019-05-22 Tom Tromey <tromey@adacore.com>
6262
6263 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6264 * gdb.base/style.exp: Use "style".
6265 * lib/gdb-utils.exp (style): New proc.
6266
62672019-05-22 Tom de Vries <tdevries@suse.de>
6268
6269 * gdb.base/align.exp: Require c++11.
6270
62712019-05-22 Tom de Vries <tdevries@suse.de>
6272
6273 PR testsuite/24586
6274 * gdb.python/py-mi-var-info-path-expression.exp: Call
6275 mi_skip_python_tests to check if python is supported.
6276
62772019-05-22 Alan Hayward <alan.hayward@arm.com>
6278
6279 * gdb.arch/aarch64-pauth.c: New test.
6280 * gdb.arch/aarch64-pauth.exp: New file.
6281
62822019-05-22 Alan Hayward <alan.hayward@arm.com>
6283
6284 * README (Re-running Tests Outside The Testsuite): New section.
6285
62862019-05-21 Tom de Vries <tdevries@suse.de>
6287
6288 * gdb.arch/amd64-eval.exp: Require c++11.
6289 * gdb.base/max-depth.exp: Same.
6290 * gdb.compile/compile-cplus-array-decay.exp: Same.
6291 * gdb.cp/meth-typedefs.exp: Same.
6292 * gdb.cp/subtypes.exp: Same.
6293 * gdb.cp/temargs.exp: Same.
6294
62952019-05-21 Alan Hayward <alan.hayward@arm.com>
6296
6297 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6298
62992019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6300
6301 PR gdb/18644
6302 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6303 * gdb.fortran/printing-types.exp: Add new test.
6304 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6305 testing.
6306 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6307 setup_kfail call.
6308
63092019-05-17 Alan Hayward <alan.hayward@arm.com>
6310
6311 * README (Running the Testsuite): Change example.
6312 (Testsuite Parameters): Remove TRANSCRIPT.
6313 * lib/gdb.exp: Remove TRANSCRIPT check.
6314
63152019-05-17 Alan Hayward <alan.hayward@arm.com>
6316
6317 * README (Testsuite Parameters): Add replay logging to
6318 GDBSERVER_DEBUG.
6319 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6320 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6321 as a comma separated list.
6322 (gdb_debug_init): Override procedure.
6323
63242019-05-17 Alan Hayward <alan.hayward@arm.com>
6325
6326 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6327 (gdb_write_cmd_file): New procedure.
6328 * lib/gdbserver-support.exp (gdbserver_start): Call
6329 gdbserver_write_cmd_file.
6330 (gdbserver_write_cmd_file): New procedure.
6331
63322019-05-17 Alan Hayward <alan.hayward@arm.com>
6333
6334 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6335 (delete_breakpoints): Likewise.
6336 (gdb_run_cmd): Likewise.
6337 (gdb_start_cmd): Likewise.
6338 (gdb_starti_cmd): Likewise.
6339 (gdb_internal_error_resync): Likewise.
6340 (gdb_test_multiple): Likewise.
6341 (gdb_reinitialize_dir): Likewise.
6342 (default_gdb_exit): Likewise.
6343 (gdb_file_cmd): Mark kill as optional.
6344 (default_gdb_start): Call gdb_stdin_log_init.
6345 (send_gdb): Call gdb_stdin_log_write.
6346 (rerun_to_main): Mark Y as an answer.
6347 (gdb_stdin_log_init): New function.
6348 (gdb_stdin_log_write): Likewise.
6349
63502019-05-17 Alan Hayward <alan.hayward@arm.com>
6351
6352 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6353 * gdb.base/debug-expr.exp: Likewise.
6354 * gdb.base/foll-fork.exp: Likewise.
6355 * gdb.base/foll-vfork.exp: Likewise.
6356 * gdb.base/fork-print-inferior-events.exp: Likewise.
6357 * gdb.base/gdb-sigterm.exp: Likewise.
6358 * gdb.base/gdbinit-history.exp: Likewise.
6359 * gdb.base/osabi.exp: Likewise.
6360 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6361 * gdb.base/ui-redirect.exp: Likewise.
6362 * gdb.gdb/unittest.exp: Likewise.
6363 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6364 * gdb.mi/mi-watch.exp: Likewise.
6365 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6366 * gdb.mi/user-selected-context-sync.exp: Likewise.
6367 * gdb.python/python.exp: Disable debug test when debugging.
6368 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6369 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6370 Likewise.
6371 * gdb.threads/stepi-random-signal.exp: Likewise.
6372
63732019-05-17 Alan Hayward <alan.hayward@arm.com>
6374
6375 * Makefile.in: Pass through GDB_DEBUG.
6376 * README (Testsuite Parameters): Add GDB_DEBUG.
6377 (gdb,debug): Add board setting.
6378 * lib/gdb.exp (default_gdb_start): Start debugging.
6379 (gdb_debug_enabled): New procedure.
6380 (gdb_debug_init): Likewise.
6381
63822019-05-17 Alan Hayward <alan.hayward@arm.com>
6383
6384 * Makefile.in: Pass through GDB_DEBUG.
6385 * README (Testsuite Parameters): Add GDB_DEBUG.
6386 (gdb,debug): Add board setting.
6387 * lib/gdb.exp (default_gdb_start): Start debugging.
6388 (gdb_debug_enabled): New procedure.
6389 (gdb_debug_init): Likewise.
6390
63912019-05-17 Alan Hayward <alan.hayward@arm.com>
6392
6393 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6394
63952019-05-17 Alan Hayward <alan.hayward@arm.com>
6396
6397 * gdb.base/ui-redirect.exp: Test redirection.
6398
63992019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6400
6401 * gdb.mi/mi-complete.exp: New file.
6402 * gdb.mi/mi-complete.cc: Likewise.
6403
64042019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6405
6406 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6407 indexed and sliced arrays, and pointers to arrays.
6408
64092019-05-14 Tom Tromey <tromey@adacore.com>
6410
6411 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6412 styling test.
6413
64142019-05-14 Tom de Vries <tdevries@suse.de>
6415
6416 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6417 selection entry encoding.
6418
64192019-05-10 Tom Tromey <tromey@adacore.com>
6420
6421 * gdb.ada/info_exc.exp: Add "complete" test.
6422
64232019-05-09 Tom de Vries <tdevries@suse.de>
6424
6425 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6426 CU-relative.
6427
64282019-05-09 Tom de Vries <tdevries@suse.de>
6429
6430 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6431 CU-relative.
6432
64332019-05-08 Joel Brobecker <brobecker@adacore.com>
6434
6435 * gdb.ada/frame_arg_lang.exp: New testcase.
6436 * gdb.ada/frame_arg_lang/bla.adb: New file.
6437 * gdb.ada/frame_arg_lang/pck.ads: New file.
6438 * gdb.ada/frame_arg_lang/pck.adb: New file.
6439 * gdb.ada/frame_arg_lang/foo.c: New file.
6440
64412019-05-08 Tom Tromey <tromey@adacore.com>
6442
6443 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6444
64452019-05-08 Tom Tromey <tromey@adacore.com>
6446
6447 * gdb.base/ptype-offsets.exp: Update tests.
6448
64492019-05-08 Tom Tromey <tromey@adacore.com>
6450
6451 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6452 cases.
6453 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6454 "short".
6455
64562019-05-08 Tom Tromey <tromey@adacore.com>
6457
6458 * gdb.ada/vla.exp: New file.
6459 * gdb.ada/vla/vla.adb: New file.
6460
64612019-05-07 Tom de Vries <tdevries@suse.de>
6462
6463 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6464
64652019-05-07 Tom de Vries <tdevries@suse.de>
6466
6467 PR testsuite/24522
6468 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6469 section.
6470
64712019-05-07 Tom de Vries <tdevries@suse.de>
6472
6473 PR testsuite/24522
6474 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6475 .debug_aranges section.
6476
64772019-05-07 Tom de Vries <tdevries@suse.de>
6478
6479 PR testsuite/24159
6480 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6481
64822019-05-06 Tom de Vries <tdevries@suse.de>
6483
6484 * lib/gdb.exp (exec_has_index_section): New proc.
6485 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6486 section.
6487
64882019-05-04 Tom de Vries <tdevries@suse.de>
6489
6490 * boards/cc-with-debug-names.exp: New file.
6491
64922019-05-03 Tom Tromey <tromey@adacore.com>
6493
6494 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6495 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6496 * gdb.ada/char_enum.exp: Add test.
6497
64982019-05-03 Tom de Vries <tdevries@suse.de>
6499
6500 * boards/cc-with-gdb-index.exp: New file.
6501
65022019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6503
6504 * gdb.rust/simple.exp: Add new test case.
6505 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6506 (main): Initialise an instance of the new struct.
6507
65082019-05-01 Tom Tromey <tromey@adacore.com>
6509
6510 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6511 record.
6512 (NPR): New variable.
6513 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6514 test.
6515
65162019-05-01 Tom Tromey <tromey@adacore.com>
6517
6518 * gdb.ada/packed_array_assign.exp: Add packed assignment
6519 regression test.
6520
65212019-05-01 Tom de Vries <tdevries@suse.de>
6522
6523 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6524
65252019-05-01 Tom de Vries <tdevries@suse.de>
6526
6527 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6528
65292019-04-30 Ali Tamur <tamur@google.com>
6530
6531 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6532
65332019-04-30 Tom Tromey <tromey@adacore.com>
6534
6535 * lib/ada.exp (find_ada_tool): New proc.
6536 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6537 * gdb.ada/catch_ex_std.exp: New file.
6538 * gdb.ada/catch_ex_std/foo.adb: New file.
6539 * gdb.ada/catch_ex_std/some_package.adb: New file.
6540 * gdb.ada/catch_ex_std/some_package.ads: New file.
6541
65422019-04-30 Tom Tromey <tromey@adacore.com>
6543
6544 PR c++/24470:
6545 * gdb.cp/temargs.cc: Add test code from PR.
6546
65472019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6548
6549 * gdb.fortran/vla-datatypes.exp: Update expected results.
6550 * gdb.fortran/vla-ptype.exp: Likewise.
6551 * gdb.fortran/vla-type.exp: Likewise.
6552 * gdb.fortran/vla-value.exp: Likewise.
6553
65542019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6555
6556 * gdb.fortran/ptr-indentation.exp: Update expected results.
6557 * gdb.fortran/ptype-on-functions.exp: Likewise.
6558 * gdb.fortran/vla-ptr-info.exp: Likewise.
6559 * gdb.fortran/vla-value.exp: Likewise.
6560
65612019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6562
6563 * gdb.fortran/ptype-on-functions.exp: New file.
6564 * gdb.fortran/ptype-on-functions.f90: New file.
6565
65662019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6567
6568 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6569 case void string.
6570
65712019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6572
6573 * gdb.fortran/complex.exp: Expand.
6574 * gdb.fortran/complex.f: Renamed to...
6575 * gdb.fortran/complex.f90: ...this, and extended to add more
6576 complex values.
6577
65782019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6579
6580 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6581 MODULO, CMPLX.
6582
65832019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6584 Richard Bunt <richard.bunt@arm.com>
6585
6586 * gdb.base/max-depth.c: New file.
6587 * gdb.base/max-depth.exp: New file.
6588 * gdb.python/py-nested-maps.c: New file.
6589 * gdb.python/py-nested-maps.exp: New file.
6590 * gdb.python/py-nested-maps.py: New file.
6591 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6592 (test_all_common): Call test_max_depth.
6593 * gdb.fortran/max-depth.exp: New file.
6594 * gdb.fortran/max-depth.f90: New file.
6595 * gdb.go/max-depth.exp: New file.
6596 * gdb.go/max-depth.go: New file.
6597 * gdb.modula2/max-depth.exp: New file.
6598 * gdb.modula2/max-depth.c: New file.
6599 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6600
66012019-04-29 Tom de Vries <tdevries@suse.de>
6602
6603 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6604
66052019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6606
6607 * gdb.base/callexit.exp: Test may-call-functions off.
6608
66092019-04-25 Keith Seitz <keiths@redhat.com>
6610
6611 PR c++/24367
6612 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6613 (another_incomplete_struct, test_incomplete): New definitions.
6614 (main): Use new definitions.
6615 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6616 functions.
6617
66182019-04-25 Ali Tamur <tamur@google.com>
6619
6620 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6621
66222019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6623
6624 PR corefiles/11608
6625 PR corefiles/18187
6626 * gdb.base/coredump-filter-build-id.exp: New file.
6627
66282019-04-25 Alan Hayward <alan.hayward@arm.com>
6629
6630 * Makefile.in: Pass through GDBSERVER_DEBUG.
6631 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6632 (gdbserver,debug): Add board setting.
6633 * gdb.trace/tspeed.exp: Skip when debugging.
6634 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6635 * lib/gdbserver-support.exp: Likewise
6636
66372019-04-24 Tom Tromey <tromey@adacore.com>
6638
6639 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6640 Rust.
6641
66422019-04-24 Tom Tromey <tromey@adacore.com>
6643
6644 * gdb.arch/amd64-eval.exp: Test bitfield return.
6645 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6646 (class Foo) <return_bitfields>: New method.
6647 (main): Call it.
6648
66492019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6650
6651 * gdb.cp/many-args.cc: New file.
6652 * gdb.cp/many-args.exp: New file.
6653
66542019-04-23 Tom de Vries <tdevries@suse.de>
6655
6656 PR gdb/24433
6657 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6658
66592019-04-23 Alan Hayward <alan.hayward@arm.com>
6660
6661 * gdb.trace/backtrace.exp: Use nopie flag.
6662 * gdb.trace/circ.exp: Likewise.
6663 * gdb.trace/collection.exp: Likewise.
6664 * gdb.trace/ftrace.exp: Likewise.
6665 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6666 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6667 * gdb.trace/qtro.exp: Likewise.
6668 * gdb.trace/read-memory.exp: Likewise.
6669 * gdb.trace/report.exp: Likewise.
6670 * gdb.trace/tfile.exp: Likewise.
6671 * gdb.trace/tfind.exp: Likewise.
6672 * gdb.trace/unavailable.exp: Likewise.
6673
66742019-04-22 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.base/solib-probes-nosharedlibrary.c,
6677 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6678
66792019-04-19 Tom Tromey <tromey@adacore.com>
6680
6681 * gdb.ada/ptype_union.c: New file.
6682 * gdb.ada/ptype_union.exp: New file.
6683
66842019-04-19 Tom Tromey <tromey@adacore.com>
6685
6686 PR symtab/24423:
6687 * gdb.base/list0.h (foo): Add a control-l character.
6688
66892019-04-18 Tom de Vries <tdevries@suse.de>
6690
6691 PR gdb/24433
6692 * boards/local-board.exp: Set sysroot to "".
6693
66942019-04-18 Tom de Vries <tdevries@suse.de>
6695 Pedro Alves <palves@redhat.com>
6696
6697 PR gdb/24454
6698 * gdb.threads/vfork-follow-child-exec.c: New file.
6699 * gdb.threads/vfork-follow-child-exec.exp: New file.
6700 * gdb.threads/vfork-follow-child-exit.c: New file.
6701 * gdb.threads/vfork-follow-child-exit.exp: New file.
6702
67032019-04-15 Leszek Swirski <leszeks@google.com>
6704
6705 * gdb.arch/amd64-eval.cc: New file.
6706 * gdb.arch/amd64-eval.exp: New file.
6707
67082019-04-11 Alan Hayward <alan.hayward@arm.com>
6709
6710 * gdb.server/sysroot.c: New test.
6711 * gdb.server/sysroot.exp: New file.
6712 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6713 matching param.
6714
67152019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6716
6717 * gdb.base/align.exp: Extend test to cover structures containing
6718 only static fields.
6719
67202019-04-11 Tom de Vries <tdevries@suse.de>
6721
6722 * boards/cc-with-dwz-m.exp: New file.
6723 * boards/cc-with-dwz.exp: New file.
6724 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6725
67262019-04-09 Simon Marchi <simon.marchi@efficios.com>
6727
6728 * gdb.base/start-cpp.exp: New file.
6729 * gdb.base/start-cpp.cc: New file.
6730
67312019-04-08 Kevin Buettner <kevinb@redhat.com>
6732
6733 * gdb.python/py-thrhandle.exp: Adjust tests to call
6734 thread_from_handle instead of thread_from_thread_handle.
6735
67362019-04-08 Kevin Buettner <kevinb@redhat.com>
6737
6738 * gdb.python/py-thrhandle.exp: Add tests for
6739 gdb.InferiorThread.handle.
6740
67412019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6742
6743 * gdb.python/py-function.exp: Check calling helper function from
6744 all languages.
6745 * lib/gdb.exp (gdb_supported_languages): New proc.
6746
67472019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6748
6749 * gdb.base/complex-parts.c: New file.
6750 * gdb.base/complex-parts.exp: New file.
6751
67522019-04-01 Tom Tromey <tromey@adacore.com>
6753
6754 PR symtab/23331:
6755 * gdb.dwarf2/dw2-ranges-main.c: New file.
6756 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6757 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6758
67592019-03-30 Simon Marchi <simark@simark.ca>
6760
6761 * gdb.base/default.exp: Add values for $_gdb_major and
6762 $_gdb_minor.
6763
67642019-03-29 Tom Tromey <tromey@adacore.com>
6765
6766 * gdb.base/help.exp: Tighten apropos regexp.
6767
67682019-03-29 Keith Seitz <keiths@redhat.com>
6769
6770 * gdb.fortran/array-bounds.exp: New file.
6771 * gdb.fortran/array-bounds.f90: New file.
6772
67732019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6774
6775 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6776
67772019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6778
6779 * gdb.multi/hello.c (main): Increase alarm timer.
6780
67812019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6782
6783 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6784 factor when no hardware watchpoint support.
6785
67862019-03-28 Alan Hayward <alan.hayward@arm.com>
6787 Pedro Alves <palves@redhat.com>
6788
6789 * boards/local-board.exp: set sysroot to /.
6790
67912019-03-27 Alan Hayward <alan.hayward@arm.com>
6792
6793 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6794 in child.
6795
67962019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6797
6798 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6799 field.
6800 (make_container): Initialise new field.
6801 * gdb.python/py-prettyprint.exp: Add new tests.
6802 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6803 <display_hint>: New method.
6804
68052019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6806
6807 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6808 gdb_continue_to_breakpoint more throughout this test.
6809 (run_lang_tests) Supply unique test names, and use
6810 gdb_test_no_output.
6811
68122019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6813
6814 * gdb.base/finish-pretty.exp: Update expected results.
6815 * gdb.base/pretty-print.c: New file.
6816 * gdb.base/pretty-print.exp: New file.
6817
68182019-03-25 Pedro Alves <palves@redhat.com>
6819
6820 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6821 move comments outside list. Append '-i "" eof' section.
6822
68232019-03-22 Alan Hayward <alan.hayward@arm.com>
6824
6825 PR testsuite/25016
6826 * README: Add pie options.
6827 * gdb.base/break-interp.exp: Ensure pie is disabled.
6828 * gdb.base/dump.exp: Likewise.
6829 * lib/gdb.exp (gdb_compile): Add pie option.
6830
68312019-03-19 Tom Tromey <tromey@adacore.com>
6832
6833 * gdb.mi/mi2-cli-display.c: New file.
6834 * gdb.mi/mi2-cli-display.exp: New file.
6835
68362019-03-18 Joel Brobecker <brobecker@adacore.com>
6837 Tom Tromey <tromey@adacore.com>
6838
6839 * gdb.ada/ptype_array/pck.adb: New file.
6840 * gdb.ada/ptype_array/pck.ads: New file.
6841 * gdb.ada/ptype_array/foo.adb: New file.
6842 * gdb.ada/ptype_array.exp: New file.
6843
68442019-03-14 Tom Tromey <tromey@adacore.com>
6845
6846 * gdb.base/style.exp: Add "set style sources" test.
6847
68482019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6849
6850 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6851 * mi-breakpoint-multiple-locations.exp: ... this.
6852 (make_breakpoints_pattern): New proc.
6853 (do_test): Add mi_version parameter, test -break-insert,
6854 -break-info and =breakpoint-created.
6855
68562019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6857
6858 * config/default.exp: Remove 'load_lib gdb.exp'.
6859 * config/monitor.exp: Likewise.
6860 * config/sid.exp: Likewise.
6861 * config/sim.exp: Likewise.
6862 * config/slite.exp: Likewise.
6863 * config/unix.exp: Likewise.
6864 * gdb.base/default.exp: Remove unhelpful comment.
6865
68662019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6867
6868 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6869
68702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6871
6872 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6873
68742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6875
6876 * gdb.fortran/type-kinds.exp: Update expected results.
6877
68782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6879
6880 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6881
68822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6883
6884 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6885 function.
6886 (test_basic_parsing_of_type_kinds): Expand types tested.
6887 (test_parsing_invalid_type_kinds): New function.
6888
68892019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6890
6891 * gdb.fortran/intrinsics.exp: New file.
6892 * gdb.fortran/intrinsics.f90: New file.
6893 * gdb.fortran/type-kinds.exp: New file.
6894
68952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6896
6897 * gdb.fortran/dot-ops.exp: New file.
6898
68992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6900
6901 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6902 Check upper and lower case logical literals.
6903
69042019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6905
6906 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6907 Remove duplicate tests.
6908
69092019-03-06 Alan Hayward <alan.hayward@arm.com>
6910
6911 * lib/gdb.exp (builtin_cd): rename of cd.
6912 (cd): Override builtin.
6913
69142019-03-06 Richard Bunt <richard.bunt@arm.com>
6915
6916 * gdb.fortran/function-calls.exp: New file.
6917 * gdb.fortran/function-calls.f90: New test.
6918
69192019-03-04 Richard Bunt <richard.bunt@arm.com>
6920
6921 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6922 on user program standard output.
6923 * gdb.fortran/short-circuit-argument-list.f90: Record function
6924 calls.
6925
69262019-02-28 Alan Hayward <alan.hayward@arm.com>
6927
6928 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6929 failure.
6930
69312019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6932
6933 PR gdb/8527
6934 * gdb.base/interrupt-daemon-attach.c,
6935 gdb.base/interrupt-daemon-attach.exp: New test.
6936
69372019-02-27 Pedro Alves <palves@redhat.com>
6938
6939 * gdb.base/page.exp: Add tests for "set width/height -1".
6940
69412019-02-27 Pedro Alves <palves@redhat.com>
6942
6943 * gdb.base/page.exp: Add tests for "set/show width/height" with
6944 "infinite" values.
6945
69462019-02-27 Tom Tromey <tromey@adacore.com>
6947
6948 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6949 2.4.
6950 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6951 workaround.
6952
69532019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6954
6955 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6956 tests for structs with static members.
6957
69582019-02-26 Tom Tromey <tromey@adacore.com>
6959
6960 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6961 ValueError, not TypeError.
6962
69632019-02-26 Kevin Buettner <kevinb@redhat.com>
6964
6965 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6966 call from main program.
6967
69682019-02-23 Joel Brobecker <brobecker@adacore.com>
6969
6970 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6971 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6972 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6973 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6974 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6975
69762019-02-22 Keith Seitz <keiths@redhat.com>
6977
6978 PR symtab/23853
6979 * gdb.base/symlink-sourcefile.c: New file.
6980 * gdb.base/symlink-sourcefile.exp: New file.
6981
69822019-02-20 Tom Tromey <tom@tromey.com>
6983
6984 * gdb.base/info_qt.exp: Update.
6985
69862019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6987
6988 * gdb.base/source.exp: Move "error in sourced script" code to
6989 the end.
6990 * gdb.base/source-error.gdb: Move contents to
6991 source-error-1.gdb. Add new code to source source-error-1.gdb.
6992 * gdb.base/source-error-1.gdb: New file, from previous
6993 source-error.gdb.
6994
69952019-02-17 Tom Tromey <tom@tromey.com>
6996
6997 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6998 for macro styling.
6999 * gdb.base/style.c (SOME_MACRO): New macro.
7000
70012019-02-17 Tom Tromey <tom@tromey.com>
7002
7003 * gdb.base/style.exp: Add line-wrapping tests.
7004 * gdb.base/page.exp: Add test for quitting during pagination.
7005
70062019-02-17 Joel Brobecker <brobecker@adacore.com>
7007
7008 * gdb.ada/big_packed_array: New testcase.
7009 * gdb.ada/homonym.exp: Fix incorrect expected output for
7010 "break <homonym__get_value>" test.
7011
70122019-02-13 Weimin Pan <weimin.pan@oracle.com>
7013
7014 PR breakpoints/21870
7015 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7016 and prepare_for_testing. Add comment.
7017 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7018 redundant cleanup call. Clean up comment.
7019
70202019-02-12 Weimin Pan <weimin.pan@oracle.com>
7021
7022 PR breakpoints/21870
7023 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7024 * gdb.arch/aarch64-dbreg-contents.c: New file.
7025
70262019-02-10 Joel Brobecker <brobecker@adacore.com>
7027
7028 * gdb.ada/mi_ref_changeable: New testcase.
7029
70302019-02-07 Alan Hayward <alan.hayward@arm.com>
7031
7032 * gdb.base/attach.exp: Add double attach test.
7033
70342019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7035
7036 * lib/gdb.exp (default_gdb_start): Don't match pagination
7037 prompt.
7038 (gdb_init): Set stty_init.
7039
70402019-01-27 Tom Tromey <tom@tromey.com>
7041
7042 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7043 skip_python_tests.
7044
70452019-01-24 Alan Hayward <alan.hayward@arm.com>
7046
7047 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7048 New structure.
7049 (struct struct_static_02_02): Likewise.
7050 (struct struct_static_02_03): Likewise.
7051 (struct struct_static_02_04): Likewise.
7052 (struct struct_static_04_01): Likewise.
7053 (struct struct_static_04_02): Likewise.
7054 (struct struct_static_04_03): Likewise.
7055 (struct struct_static_04_04): Likewise.
7056 (struct struct_static_06_01): Likewise.
7057 (struct struct_static_06_02): Likewise.
7058 (struct struct_static_06_03): Likewise.
7059 (struct struct_static_06_04): Likewise.
7060 (cmp_struct_static_02_01): Likewise.
7061 (cmp_struct_static_02_02): Likewise.
7062 (cmp_struct_static_02_03): Likewise.
7063 (cmp_struct_static_02_04): Likewise.
7064 (cmp_struct_static_04_01): Likewise.
7065 (cmp_struct_static_04_02): Likewise.
7066 (cmp_struct_static_04_03): Likewise.
7067 (cmp_struct_static_04_04): Likewise.
7068 (cmp_struct_static_06_01): Likewise.
7069 (cmp_struct_static_06_02): Likewise.
7070 (cmp_struct_static_06_03): Likewise.
7071 (cmp_struct_static_06_04): Likewise.
7072 (call_all): Test new structs.
7073 * gdb.base/infcall-nested-structs.exp: Likewise.
7074
70752019-01-21 Alan Hayward <alan.hayward@arm.com>
7076 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7077
70782019-01-21 Alan Hayward <alan.hayward@arm.com>
7079 * gdb.base/stack-protector.c: New test.
7080 * gdb.base/stack-protector.exp: New file.
7081 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7082 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7083 option.
7084 (gdb_compile): Remove stack protector for GCC and prevent
7085 recursion.
7086
70872019-01-16 Keith Seitz <keiths@redhat.com>
7088
7089 PR gdb/23773
7090 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7091
70922019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7093
7094 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7095 aliases.
7096 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7097 tests.
7098 * gdb.arch/powerpc-vector-regs.c: New file.
7099 * gdb.arch/powerpc-vector-regs.exp: New file.
7100
71012019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7102
7103 * gdb.arch/altivec-regs.exp: Fix the list passed to
7104 gdb_expect_list when testing "info vector".
7105
71062019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7107
7108 * gdb.base/style.exp: Don't include path in testname.
7109
71102019-01-10 Keith Seitz <keiths@redhat.com>
7111
7112 PR gdb/23712
7113 PR symtab/23010
7114 * gdb.dwarf2/multidictionary.exp: New file.
7115
71162019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7117
7118 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7119 (test_gnuv3_style_demangling): ... this.
7120 (test_lucid_style_demangling): Remove.
7121 (test_arm_style_demangling): Remove.
7122 (test_hp_style_demangling): Remove.
7123 (do_tests): Remove calls to the above.
7124
71252019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7126
7127 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7128 case.
7129
71302019-01-06 Tom Tromey <tom@tromey.com>
7131
7132 PR gdb/28155:
7133 * gdb.dwarf2/typedef-void-finish.exp: New file.
7134
71352018-12-28 Tom Tromey <tom@tromey.com>
7136 Simon Marchi <simark@simark.ca>
7137
7138 * gdb.base/jit-exec.exp: New file.
7139 * gdb.base/jit-exec.c: New file.
7140 * gdb.base/jit-execd.c: New file.
7141
71422018-12-28 Tom Tromey <tom@tromey.com>
7143
7144 * gdb.base/style.exp: Update test to check for address styling.
7145
71462018-12-28 Tom Tromey <tom@tromey.com>
7147
7148 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7149 message.
7150
71512018-12-28 Tom Tromey <tom@tromey.com>
7152
7153 * gdb.base/style.exp: Add test for version number styling.
7154
71552018-12-28 Tom Tromey <tom@tromey.com>
7156
7157 * gdb.base/style.exp: Add test for print_address_symbolic.
7158
71592018-12-28 Tom Tromey <tom@tromey.com>
7160
7161 * gdb.base/style.exp: Add test for breakpoint setting.
7162
71632018-12-28 Tom Tromey <tom@tromey.com>
7164
7165 * gdb.base/style.exp: Add test for variable names.
7166
71672018-12-28 Tom Tromey <tom@tromey.com>
7168
7169 * gdb.base/style.exp: New file.
7170 * gdb.base/style.c: New file.
7171
71722018-12-28 Tom Tromey <tom@tromey.com>
7173
7174 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7175 "dumb".
7176 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7177 the TERM environment variable.
7178
71792018-12-27 Tom Tromey <tom@tromey.com>
7180
7181 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7182 pagination test.
7183
71842018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7185
7186 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7187 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7188
71892018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7190
7191 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7192 Filename a.adb changed to bp_fun_addr.adb.
7193 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7194
71952018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7196
7197 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7198 non-PIE executables.
7199 * README: Mention the gdb,nopie_flag board setting.
7200 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7201 non-PIE executable.
7202 * gdb.arch/amd64-entry-value.exp: Likewise.
7203 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7204 * gdb.arch/i386-float.exp: Likewise.
7205 * gdb.arch/i386-signal.exp: Likewise.
7206 * gdb.mi/mi-reg-undefined.exp: Likewise.
7207
72082018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7209
7210 PR gdb/23974
7211 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7212
72132018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7214
7215 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7216 Update order of results accordingly.
7217
72182018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7219
7220 * gdb.base/annota1.exp: Update a test regexp.
7221
72222018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7223
7224 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7225
72262018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7227
7228 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7229 (reuse_time): Initialize to REUSE_TIME_CAP.
7230 (check_rc): New function.
7231 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7232 Check pthread_create rc.
7233 (spawner_thread_func): Check pthread_create and pthread_join rc.
7234
72352018-12-08 Pedro Alves <palves@redhat.com>
7236
7237 * gdb.base/list.exp (test_forward_search): Rename to ...
7238 (test_forward_reverse_search): ... this. Also test reverse-search
7239 and the forward-search alias.
7240
72412018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7242
7243 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7244 local timeout variable before return, and remove all local timeout
7245 variable entirely.
7246 (gdb_load): Likewise.
7247
72482018-12-01 Tom de Vries <tdevries@suse.de>
7249
7250 * gdb.base/gdb-caching-proc.exp: New file.
7251
72522018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7253
7254 * Makefile.in (TIMESTAMP): New variable.
7255 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7256 command.
7257 (check-single-racy): Likewise.
7258 (check/%.exp): Likewise.
7259 (check-racy/%.exp): Likewise.
7260 (workers/%.worker): Likewise.
7261 (build-perf): Likewise.
7262 (check-perf): Likewise.
7263 * README: Describe new "TS" and "TS_FORMAT" variables.
7264 * print-ts.py: New file.
7265
72662018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7267
7268 PR python/23714
7269 * gdb.python/python.exp: Test command repetition after
7270 gdb.execute.
7271
72722018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7273
7274 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7275 is correctly aligned.
7276
72772018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7278
7279 * gdb.ada/info_auto_lang.exp: New testcase.
7280 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7281 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7282 * gdb.ada/info_auto_lang/some_c.c: New file.
7283
72842018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7285
7286 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7287 FUNC_lang language syntax.
7288
72892018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7290
7291 * gdb.base/info_minsym.c: New file.
7292 * gdb.base/info_minsym.exp: New file.
7293
72942018-11-19 Tom Tromey <tom@tromey.com>
7295
7296 PR rust/23625:
7297 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7298 * gdb.rust/expr.exp: Update expected output. Change one test.
7299
73002018-11-19 Tom Tromey <tom@tromey.com>
7301
7302 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7303
73042018-11-19 Pedro Alves <palves@redhat.com>
7305
7306 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7307 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7308 see the expected warning.
7309
73102018-11-16 Alan Hayward <alan.hayward@arm.com>
7311
7312 PR gdb/22736:
7313 * gdb.cp/infcall-nodebug-lib.c: New test.
7314 * gdb.cp/infcall-nodebug-main.c: New test.
7315 * gdb.cp/infcall-nodebug.exp: New file.
7316
73172018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7318
7319 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7320 completer tests.
7321
73222018-11-09 Tom de Vries <tdevries@suse.de>
7323
7324 * gdb.base/msym-lang.c: New test.
7325 * gdb.base/msym-lang.exp: New file.
7326 * gdb.base/msym-lang-main.c: New test.
7327
73282018-11-08 Tom Tromey <tom@tromey.com>
7329
7330 PR gdb/23555:
7331 PR gdb/23838:
7332 * gdb.base/warning.exp: New file.
7333
73342018-11-08 Jan Beulich <jbeulich@suse.com>
7335
7336 * testsuite/gdb.arch/i386-avx512.c,
7337 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7338
73392018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7340
7341 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7342 point hardware.
7343
73442018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7345
7346 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7347 * gdb.dwarf2/missing-type-name.exp: New file.
7348
73492018-11-06 Tom de Vries <tdevries@suse.de>
7350
7351 * gdb.base/many-headers.c: New test.
7352 * gdb.base/many-headers.exp: New file.
7353
73542018-11-06 Jim Wilson <jimw@sifive.com>
7355
7356 * gdb.base/code_elim.exp: For riscv, set additional_flags
7357 to include -msmall-data-limit=0.
7358
73592018-11-01 Joel Brobecker <brobecker@adacore.com>
7360
7361 * gdb.ada/watch_minus_l: New testcase.
7362
73632018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7364
7365 * gdb.arch/aix-sighandle.c: New file.
7366 * gdb.arch/aix-sighandle.exp: New file.
7367
73682018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7369
7370 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7371 registers being unions.
7372
73732018-10-31 Tom de Vries <tdevries@suse.de>
7374
7375 * lib/valgrind.exp: New file.
7376 (vgdb_start, vgdb_stop): New procs, factored out of ...
7377 * gdb.base/valgrind-bt.exp: ... here, ...
7378 * gdb.base/valgrind-disp-step.exp: ... here and ...
7379 * gdb.base/valgrind-infcall.exp: ... here.
7380
73812018-10-31 Tom de Vries <tdevries@suse.de>
7382
7383 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7384
73852018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7386
7387 * gdb.dwarf2/void-type.c: New file.
7388 * gdb.dwarf2/void-type.exp: New file.
7389
73902018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7391
7392 * gdb.base/info_qt.c: New file.
7393 * gdb.base/info_qt.exp: New file.
7394
73952018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7396
7397 * gdb.arch/powerpc-htm-regs.c: New file.
7398 * gdb.arch/powerpc-htm-regs.exp: New file.
7399
74002018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7401
7402 * gdb.arch/powerpc-tar.c: New file.
7403 * gdb.arch/powerpc-tar.exp: New file.
7404
74052018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7406
7407 * gdb.arch/powerpc-ppr-dscr.c: New file.
7408 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7409
74102018-10-25 Tom de Vries <tdevries@suse.de>
7411
7412 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7413
74142018-10-24 Tom de Vries <tdevries@suse.de>
7415
7416 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7417 longer exists error.
7418
74192018-10-24 Tom de Vries <tdevries@suse.de>
7420
7421 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7422
74232018-10-24 Tom de Vries <tdevries@suse.de>
7424
7425 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7426 --db-attach in valgrind.
7427
74282018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7429
7430 * gdb.arch/riscv-reg-aliases.c: New file.
7431 * gdb.arch/riscv-reg-aliases.exp: New file.
7432
74332018-10-19 Alan Hayward <alan.hayward@arm.com>
7434
7435 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7436
74372018-10-19 Alan Hayward <alan.hayward@arm.com>
7438
7439 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7440
74412018-10-19 Alan Hayward <alan.hayward@arm.com>
7442
7443 * gdb.cp/ovldbreak.exp: Fix regexps.
7444
74452018-10-19 Alan Hayward <alan.hayward@arm.com>
7446
7447 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7448
74492018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7450
7451 PR cli/23785
7452 * gdb.base/restore.exp: New test to check if "restore" with an
7453 invalid file doesn't segfault.
7454
74552018-10-18 Tom de Vries <tdevries@suse.de>
7456
7457 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7458 * gdb.ada/excep_handle.exp: Same.
7459 * gdb.ada/mi_string_access.exp: Same.
7460 * gdb.ada/mi_var_union.exp: Same.
7461 * gdb.arch/arc-analyze-prologue.exp: Same.
7462 * gdb.arch/arc-decode-insn.exp: Same.
7463 * gdb.base/readnever.exp: Same.
7464 * gdb.fortran/printing-types.exp: Same.
7465 * gdb.guile/scm-lazy-string.exp: Same.
7466
74672018-10-16 Tom de Vries <tdevries@suse.de>
7468
7469 PR gdb/23730
7470 * gdb.base/catch-follow-exec.c: Add copyright notice.
7471 * gdb.base/catch-follow-exec.exp: Rewrite to use
7472 gdb_spawn_with_cmdline_opts. Require gdb-native.
7473
74742018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7475
7476 * gdb.trace/actions-changed.exp: Check for arch support.
7477 * gdb.trace/actions.exp: Likewise.
7478 * gdb.trace/ax.exp: Likewise.
7479 * gdb.trace/backtrace.exp: Likewise.
7480 * gdb.trace/change-loc.exp: Likewise.
7481 * gdb.trace/deltrace.exp: Likewise.
7482 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7483 * gdb.trace/ftrace.exp: Likewise.
7484 * gdb.trace/infotrace.exp: Check for arch support.
7485 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7486 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7487 * gdb.trace/mi-tsv-changed.exp: Likewise.
7488 * gdb.trace/packetlen.exp: Likewise.
7489 * gdb.trace/passc-dyn.exp: Likewise.
7490 * gdb.trace/passcount.exp: Likewise.
7491 * gdb.trace/pending.exp: Likewise.
7492 * gdb.trace/range-stepping.exp: Check for shlib support.
7493 * gdb.trace/report.exp: Check for arch support.
7494 * gdb.trace/save-trace.exp: Likewise.
7495 * gdb.trace/signal.exp: Check for signal support.
7496 * gdb.trace/tfind.exp: Check for arch support.
7497 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7498 * gdb.trace/trace-common.h: Add comment.
7499 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7500 * gdb.trace/trace-enable-disable.exp: Likewise.
7501 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7502 * gdb.trace/tracecmd.exp: Check for arch support.
7503 * gdb.trace/tspeed.exp: Check for shlib and target support.
7504 * gdb.trace/tstatus.exp: Check for arch support.
7505 * gdb.trace/tsv.exp: Likewise.
7506 * gdb.trace/while-dyn.exp: Likewise.
7507 * gdb.trace/while-stepping.exp: Likewise.
7508 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7509
75102018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7511
7512 * gdb.trace/tspeed.exp: Remove nowarnings.
7513 (prepare_for_trace_test): Declare "global ipalib".
7514 * gdb.trace/tspeed.c: Include unistd.h.
7515 (main): Remove superfluous printf argument.
7516
75172018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7518
7519 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7520 directory prefix on the filename.
7521
75222018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7523
7524 * gdb.gdb/unittest.exp: Update expected message informing that
7525 selftests have been disabled.
7526 * gdb.server/unittest.exp: Likewise.
7527
75282018-10-09 Tom de Vries <tdevries@suse.de>
7529
7530 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7531 with runto_main.
7532
75332018-10-08 Weimin Pan <weimin.pan@oracle.com>
7534
7535 PR c++/16841
7536 * gdb.cp/virtbase2.cc: New file.
7537 * gdb.cp/virtbase2.exp: New file.
7538
75392018-10-06 Tom Tromey <tom@tromey.com>
7540
7541 PR python/19399:
7542 * gdb.python/py-inferior.exp: Add architecture test.
7543
75442018-10-06 Tom Tromey <tom@tromey.com>
7545
7546 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7547 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7548
75492018-10-06 Tom Tromey <tom@tromey.com>
7550
7551 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7552 of a "throw" catchpoint.
7553
75542018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7555
7556 * gdb.base/info-proc.exp: Update string expected from "help info
7557 proc".
7558
75592018-10-04 Tom Tromey <tom@tromey.com>
7560
7561 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7562 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7563 (test_initial_complaints, test_empty_complaints): Update.
7564 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7565
75662018-10-04 Tom Tromey <tom@tromey.com>
7567
7568 PR cli/19551:
7569 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7570 * lib/gdb.exp (gdb_file_cmd): Update.
7571 * gdb.stabs/weird.exp (print_weird_var): Update.
7572 * gdb.server/solib-list.exp: Update.
7573 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7574 * gdb.mi/mi-cli.exp: Update.
7575 * gdb.linespec/linespec.exp: Update.
7576 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7577 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7578 * gdb.cp/cp-relocate.exp: Update.
7579 * gdb.base/sym-file.exp: Update.
7580 * gdb.base/relocate.exp: Update.
7581 * gdb.base/readnever.exp: Update.
7582 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7583 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7584 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7585 * gdb.base/code_elim.exp: Update.
7586 * gdb.base/break-unload-file.exp (test_break): Update.
7587 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7588 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7589 Update.
7590 * gdb.base/attach.exp (do_attach_tests): Update.
7591 * gdb.base/sepdebug.exp: Update.
7592 * gdb.python/py-section-script.exp: Update.
7593
75942018-10-04 Tom Tromey <tom@tromey.com>
7595
7596 PR cli/22234:
7597 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7598 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7599 output.
7600
76012018-10-04 Tom Tromey <tom@tromey.com>
7602
7603 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7604 set width and height to 0.
7605 (test_command_line_attach_run): Use -quiet.
7606
76072018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7608
7609 * lib/gdb.exp (skip_ifunc_tests): New.
7610 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7611 other compile failures.
7612 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7613
76142018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7615
7616 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7617 is_amd64_regs_target.
7618
76192018-10-01 Alan Hayward <alan.hayward@arm.com>
7620
7621 * gdb.arch/aarch64-sighandler-regs.c: New test.
7622 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7623 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7624
76252018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7626
7627 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7628 assembly.
7629
76302018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7631
7632 * gdb.base/frame-selection.exp: New file.
7633 * gdb.base/frame-selection.c: New file.
7634
76352018-09-27 Alan Hayward <alan.hayward@arm.com>
7636
7637 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7638 pthread barrier.
7639 (main): Likewise.
7640
76412018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7642
7643 * gdb.base/large-frame-1.c: New file.
7644 * gdb.base/large-frame-2.c: New file.
7645 * gdb.base/large-frame.exp: New file.
7646 * gdb.base/large-frame.h: New file.
7647
76482018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7649
7650 PR gdb/20948
7651 * gdb.base/write_mem.exp: New test.
7652 * gdb.base/write_mem.c: Likewise.
7653
76542018-09-23 Tom Tromey <tom@tromey.com>
7655
7656 PR python/18852:
7657 * gdb.python/py-parameter.exp: Add test for parameter that throws
7658 on "set".
7659
76602018-09-23 Tom Tromey <tom@tromey.com>
7661
7662 PR python/17284:
7663 * gdb.python/py-template.exp (test_template_arg): Add test for
7664 negative template argument number.
7665
76662018-09-23 Tom Tromey <tom@tromey.com>
7667
7668 PR python/14062:
7669 * gdb.python/python.exp: Add test for post_event error.
7670
76712018-09-23 Tom Tromey <tom@tromey.com>
7672
7673 PR python/18170:
7674 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7675 convert pointers to int and long.
7676
76772018-09-23 Tom Tromey <tom@tromey.com>
7678
7679 PR python/20126:
7680 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7681 signed-ness conversion tests.
7682
76832018-09-23 Tom Tromey <tom@tromey.com>
7684
7685 PR python/18352;
7686 * gdb.python/py-value.exp (test_float_conversion): New proc.
7687 Use it.
7688
76892018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7690
7691 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7692
76932018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7694
7695 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7696 no readline.
7697 * gdb.base/utf8-identifiers.exp: Likewise.
7698 * gdb.cp/cpcompletion.exp: Likewise.
7699 * gdb.linespec/cpcompletion.exp: Likewise.
7700 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7701 * gdb.linespec/cpls-ops.exp: Likewise.
7702
77032018-09-19 Richard Bunt <richard.bunt@arm.com>
7704 Chris January <chris.january@arm.com>
7705
7706 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7707 * gdb.fortran/short-circuit-argument-list.exp: New file.
7708 * gdb.fortran/short-circuit-argument-list.f90: New test.
7709
77102018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7711
7712 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7713 "arch=" keyword when executing "-stack-list-frames".
7714
77152018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7716
7717 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7718 "arch=" keyword when executing "-stack-list-frames".
7719
77202018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7721
7722 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7723 break ada".
7724
77252018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7726
7727 PR python/23669
7728 * gdb.python/python.exp: Test gdb.execute("show commands").
7729
77302018-09-16 Tom Tromey <tom@tromey.com>
7731
7732 * gdb.base/new-ui.exp (do_execution_tests): Update.
7733 * gdb.base/dbx.exp (test_breakpoints): Update.
7734
77352018-09-14 Alan Hayward <alan.hayward@arm.com>
7736
7737 * lib/gdb.exp (gdb_simple_compile): Add proc.
7738 (is_elf_target): Use gdb_simple_compile.
7739 (skip_altivec_tests): Likewise.
7740 (skip_vsx_tests): Likewise.
7741 (skip_tsx_tests): Likewise.
7742 (skip_btrace_tests): Likewise.
7743 (skip_btrace_pt_tests): Likewise.
7744 (gdb_can_simple_compile): Likewise.
7745 (gdb_has_argv0): Likewise.
7746 (gdb_target_symbol_prefix): Likewise.
7747 (target_supports_scheduler_locking): Likewise.
7748
77492018-09-13 Tom Tromey <tom@tromey.com>
7750
7751 * Makefile.in (TAGS): Recognize proc_with_prefix and
7752 gdb_caching_proc.
7753
77542018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7755
7756 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7757 method.
7758
77592018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7760
7761 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7762 and a few other Inferior properties when the Inferior is no
7763 longer valid.
7764
77652018-09-13 Tom Tromey <tom@tromey.com>
7766
7767 PR rust/23650:
7768 * gdb.rust/simple.exp: Add test for enum field access error.
7769
77702018-09-13 Tom Tromey <tom@tromey.com>
7771
7772 PR rust/23626:
7773 * gdb.rust/simple.rs (EmptyEnum): New type.
7774 (main): Use it.
7775 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7776
77772018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7778
7779 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7780 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7781 * gdb.python/py-symtab.exp: Update test printing an objfile.
7782
77832018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7784
7785 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7786 object.
7787
77882018-09-12 Alan Hayward <alan.hayward@arm.com>
7789
7790 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7791 (support_complex_tests): Use gdb_can_simple_compile.
7792 (is_ilp32_target): Likewise.
7793 (is_lp64_target): Likewise.
7794 (is_64_target): Likewise.
7795 (is_amd64_regs_target): Likewise.
7796 (is_aarch32_target): Likewise.
7797 (gdb_int128_helper): Likewise.
7798
77992018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7800
7801 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7802
78032018-09-10 Jerome Guitton <guitton@adacore.com>
7804
7805 * gdb.ada/same_component_name: Add test for case of tagged record
7806 with variable-length fields.
7807
78082018-09-10 Xavier Roirand <roirand@adacore.com>
7809
7810 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7811 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7812 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7813 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7814
78152018-09-10 Xavier Roirand <roirand@adacore.com>
7816
7817 * gdb.ada/mi_string_access.exp: New testcase.
7818 * gdb.ada/mi_string_access/bar.adb: New file.
7819 * gdb.ada/mi_string_access/pck.adb: New file.
7820 * gdb.ada/mi_string_access/pck.asd: New file.
7821
78222018-09-10 Xavier Roirand <roirand@adacore.com>
7823
7824 * gdb.ada/mi_var_union.exp: New testcase.
7825 * gdb.ada/mi_var_union/bar.adb: New file.
7826 * gdb.ada/mi_var_union/pck.adb: New file.
7827 * gdb.ada/mi_var_union/pck.asd: New file.
7828
78292018-09-08 Tom Tromey <tom@tromey.com>
7830
7831 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7832
78332018-09-08 Tom Tromey <tom@tromey.com>
7834
7835 PR python/16047:
7836 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7837 (register_pretty_printers): Register new printer.
7838 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7839 test.
7840 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7841 (an_int_type3): New global.
7842
78432018-09-08 Joel Brobecker <brobecker@adacore.com>
7844
7845 * gdb.ada/expr_with_funcall: New testcase.
7846
78472018-09-08 Joel Brobecker <brobecker@adacore.com>
7848
7849 * gdb.ada/packed_array_assign: New testcase.
7850
78512018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7852
7853 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7854 names, and add test prefixes to make test names unique.
7855
78562018-09-05 Tom de Vries <tdevries@suse.de>
7857
7858 * gdb.dwarf2/varval.exp: Add test.
7859
78602018-09-04 Gary Benson <gbenson@redhat.com>
7861
7862 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7863 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7864
78652018-08-31 Tom Tromey <tom@tromey.com>
7866
7867 * gdb.rust/simple.rs: Rename second variable "v".
7868
78692018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7870
7871 * gdb.base/funcargs.c (use_a): New function.
7872 (recurse): Call use_a.
7873
78742018-08-29 Keith Seitz <keiths@redhat.com>
7875
7876 * gdb.compile/compile-cplus-anonymous.cc: New file.
7877 * gdb.compile/compile-cplus-anonymous.exp: New file.
7878 * gdb.compile/compile-cplus-array-decay.cc: New file.
7879 * gdb.compile/compile-cplus-array-decay.exp: New file.
7880 * gdb.compile/compile-cplus-inherit.cc: New file.
7881 * gdb.compile/compile-cplus-inherit.exp: New file.
7882 * gdb.compile/compile-cplus-member.cc: New file.
7883 * gdb.compile/compile-cplus-member.exp: New file.
7884 * gdb.compile/compile-cplus-method.cc: New file.
7885 * gdb.compile/compile-cplus-method.exp: New file.
7886 * gdb.compile/compile-cplus-mod.c: "New" file.
7887 * gdb.compile/compile-cplus-namespace.cc: New file.
7888 * gdb.compile/compile-cplus-namespace.exp: New file.
7889 * gdb.compile/compile-cplus-nested.cc: New file.
7890 * gdb.compile/compile-cplus-nested.exp: New file.
7891 * gdb.compile/compile-cplus-print.c: "New" file.
7892 * gdb.compile/compile-cplus-print.exp: "New" file.
7893 * gdb.compile/compile-cplus-virtual.cc: New file.
7894 * gdb.compile/compile-cplus-virtual.exp: New file.
7895 * gdb.compile/compile-cplus.c: "New" file.
7896 * gdb.compile/compile-cplus.exp: "New" file.
7897 * lib/compile-support.exp: New file.
7898
78992018-08-16 Gary Benson <gbenson@redhat.com>
7900
7901 PR gdb/13000:
7902 * gdb.base/batch-exit-status.exp: New file.
7903 * gdb.base/batch-exit-status.good-commands: Likewise.
7904 * gdb.base/batch-exit-status.bad-commands: Likewise.
7905
79062018-08-29 Alan Hayward <alan.hayward@arm.com>
7907
7908 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7909 (struct struct02): Likewise.
7910 (struct struct03): Likewise.
7911 (struct struct04): Likewise.
7912 (struct struct_01_01): New struct.
7913 (struct struct_01_02): Likewise.
7914 (struct struct_01_03): Likewise.
7915 (struct struct_01_04): Likewise.
7916 (struct struct_02_01): Likewise.
7917 (struct struct_02_02): Likewise.
7918 (struct struct_02_03): Likewise.
7919 (struct struct_02_04): Likewise.
7920 (struct struct_04_01): Likewise.
7921 (struct struct_04_02): Likewise.
7922 (struct struct_04_03): Likewise.
7923 (struct struct_04_04): Likewise.
7924 (struct struct_05_01): Likewise.
7925 (struct struct_05_02): Likewise.
7926 (struct struct_05_03): Likewise.
7927 (struct struct_05_04): Likewise.
7928 (cmp_struct01): Remove function.
7929 (cmp_struct02): Likewise.
7930 (cmp_struct03): Likewise.
7931 (cmp_struct04): Likewise.
7932 (cmp_struct_01_01): Add Function.
7933 (cmp_struct_01_02): Likewise.
7934 (cmp_struct_01_03): Likewise.
7935 (cmp_struct_01_04): Likewise.
7936 (cmp_struct_02_01): Likewise.
7937 (cmp_struct_02_02): Likewise.
7938 (cmp_struct_02_03): Likewise.
7939 (cmp_struct_02_04): Likewise.
7940 (cmp_struct_04_01): Likewise.
7941 (cmp_struct_04_02): Likewise.
7942 (cmp_struct_04_03): Likewise.
7943 (cmp_struct_04_04): Likewise.
7944 (cmp_struct_05_01): Likewise.
7945 (cmp_struct_05_02): Likewise.
7946 (cmp_struct_05_03): Likewise.
7947 (cmp_struct_05_04): Likewise.
7948 (call_all): Add new structs.
7949 * gdb.base/infcall-nested-structs.exp: Likewise.
7950
79512018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7952
7953 * gdb.python/py-framefilter-mi.exp: Update regexp to
7954 check for "arch" field in frame output.
7955
79562018-08-23 Kevin Buettner <kevinb@redhat.com>
7957
7958 * gdb.dwarf2/dw2-ranges-func.c: New file.
7959 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7960
79612018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7962
7963 * gdb.base/term.exp: Compare terminal settings with values from
7964 the inferior.
7965 * gdb.base/term.c: Get and set terminal settings.
7966
79672018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7968
7969 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7970 accommodate new "arch" field in frame output.
7971 * gdb.mi/mi-return.exp: Likewise.
7972 * gdb.mi/mi-stack.exp: Likewise.
7973 * gdb.mi/mi-syn-frame.exp: Likewise.
7974 * gdb.mi/user-selected-context-sync.exp: Likewise.
7975
79762018-08-19 Michael Spang <spang@google.com>
7977
7978 PR gdb/11786
7979 * gdb.base/gcore-tls-pie.c: New file.
7980 * gdb.base/gcore-tls-pie.exp: New file.
7981
79822018-08-18 Kevin Buettner <kevinb@redhat.com>
7983
7984 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7985 * gdb.dwarf2/varval.c: New file.
7986 * gdb.dwarf2/varval.exp: New file.
7987
79882018-08-17 Alan Hayward <alan.hayward@arm.com>
7989
7990 PR gdb/18931
7991 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7992
79932018-08-16 Keith Seitz <keiths@redhat.com>
7994
7995 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7996 tests expected to pass.
7997
79982018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7999
8000 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8001 -data-disassemble -a.
8002 (test_disassembly_bogus_args): Likewise.
8003
80042018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8005
8006 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8007
80082018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8009
8010 * gdb.base/vla-optimized-out.exp: Add new test.
8011
80122018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8013
8014 * gdb.base/vla-optimized-out-o3.exp: Delete.
8015 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8016 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8017 deleted tests.
8018
80192018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8020
8021 PR gdb/18050:
8022 * gdb.server/extended-remote-restart.c: New file.
8023 * gdb.server/extended-remote-restart.exp: New file.
8024
80252018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8026
8027 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8028 "set variable index = 42".
8029
80302018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8031
8032 * boards/index-cache-gdb.exp: New file.
8033 * gdb.dwarf2/index-cache.exp: New file.
8034 * gdb.dwarf2/index-cache.c: New file.
8035 * gdb.base/maint.exp: Check if we are using the index cache.
8036
80372018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8038
8039 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8040 MAKEFLAGS.
8041
80422018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8043
8044 * dg-extract-results.sh: Move to toplevel contrib.
8045 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8046 * Makefile.in (check-parallel-racy): Likewise.
8047
80482018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8049
8050 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8051 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8052 tests if the target supports scheduler locking.
8053
80542018-08-04 Tom de Vries <tdevries@suse.de>
8055
8056 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8057
80582018-08-02 Tom Tromey <tom@tromey.com>
8059
8060 PR symtab/16842.
8061 * gdb.cp/temargs.exp: Test "info address" of a template
8062 parameter.
8063
80642018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8065
8066 * gdb.python/py-mi-var-info-path-expression.c: New file.
8067 * gdb.python/py-mi-var-info-path-expression.py: New file.
8068 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8069
80702018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8071
8072 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8073 error after "cannot resolve name" string.
8074
80752018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8076
8077 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8078 started.
8079 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8080
80812018-07-28 Tom de Vries <tdevries@suse.de>
8082
8083 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8084
80852018-07-26 Tom de Vries <tdevries@suse.de>
8086
8087 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8088
80892018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8090
8091 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8092 is visible.
8093
80942018-07-26 Tom de Vries <tdevries@suse.de>
8095
8096 PR breakpoints/23366
8097 * gdb.base/catch-follow-exec.c: New test.
8098 * gdb.base/catch-follow-exec.exp: New file.
8099
81002018-07-25 Tom de Vries <tdevries@suse.de>
8101
8102 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8103 vla-optimized-out.c.
8104
81052018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8106
8107 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8108 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8109
81102018-07-20 Tom de Vries <tdevries@suse.de>
8111
8112 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8113 NOCLONE macro.
8114 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8115
81162018-07-19 Tom de Vries <tdevries@suse.de>
8117
8118 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8119 regular expression.
8120
81212018-07-18 Tom de Vries <tdevries@suse.de>
8122
8123 * gdb.base/vla-optimized-out.c: New test.
8124 * gdb.base/vla-optimized-out.exp: New file.
8125
81262018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8127
8128 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8129 message "No address associated with hostname" when gdbserver
8130 cannot resolve the hostname.
8131
81322018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8133
8134 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8135 Add some test prefixes to make tests unique.
8136
81372018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8138
8139 * gdb.base/frameapply.c: New file.
8140 * gdb.base/frameapply.exp: New file.
8141
81422018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8143
8144 * gdb.base/skip.exp: Update expected error message.
8145
81462018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8147 Jan Kratochvil <jan.kratochvil@redhat.com>
8148 Paul Fertser <fercerpav@gmail.com>
8149 Tsutomu Seki <sekiriki@gmail.com>
8150
8151 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8152 parameter.
8153 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8154 by default.
8155 * boards/native-gdbserver.exp: Likewise.
8156 * gdb.server/run-without-local-binary.exp: Improve regexp used
8157 for detecting when a remote debugging connection succeeds.
8158 * gdb.server/server-connect.exp: New file.
8159 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8160 Do not prefix the port number with ":".
8161 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8162 support for detecting and using it. Add '$debughost_gdbserver'
8163 to the list of arguments used to start gdbserver. Handle case
8164 when gdbserver cannot resolve a network name.
8165
81662018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8167
8168 PR c++/23373
8169 * gdb.base/ptype-offsets.cc (struct static_member): New
8170 struct.
8171 (main) <stmember>: New variable.
8172 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8173 with a static member in it.
8174
81752018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8176
8177 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8178 watchpoints enabled and disabled.
8179
81802018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8181
8182 * gdb.base/examine-backward.exp: Still run tests around address
8183 0x0, even if address 0x0 is not readable. Update the pattern for
8184 matching address 0x0 in expected output.
8185
81862018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8187
8188 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8189 malloc/free.
8190
81912018-07-04 Tom de Vries <tdevries@suse.de>
8192
8193 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8194
81952018-07-02 Maciej W. Rozycki <macro@mips.com>
8196
8197 PR tdep/8282
8198 * gdb.arch/mips-disassembler-options.exp: New test.
8199 * gdb.arch/mips-disassembler-options.s: New test source.
8200
82012018-06-29 Pedro Alves <palves@redhat.com>
8202
8203 * gdb.threads/names.exp: Adjust expected "info threads" output.
8204
82052018-06-29 Pedro Alves <palves@redhat.com>
8206
8207 * gdb.opt/inline-break.exp (line number, address): Add "info
8208 break" tests.
8209
82102018-06-29 Pedro Alves <palves@redhat.com>
8211
8212 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8213 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8214 number and address and running to them.
8215
82162018-06-29 Richard Bunt <richard.bunt@arm.com>
8217
8218 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8219
82202018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8221
8222 * lib/compiler.c: Remove executable permission flag.
8223
82242018-06-28 Richard Bunt <richard.bunt@arm.com>
8225
8226 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8227 code.
8228 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8229
82302018-06-28 Petr Tesarik <ptesarik@suse.cz>
8231
8232 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8233
82342018-06-28 Petr Tesarik <ptesarik@suse.cz>
8235
8236 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8237 address argument is omitted.
8238
82392018-06-28 Petr Tesarik <ptesarik@suse.cz>
8240
8241 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8242
82432018-06-27 Omair Javaid <omair.javaid@linaro.org>
8244
8245 PR gdb/21695
8246 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8247 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8248
82492018-06-26 Tom Tromey <tom@tromey.com>
8250
8251 PR rust/22574:
8252 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8253 * gdb.rust/simple.rs (struct SimpleLayout): New.
8254
82552018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8256
8257 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8258 "info registers" output.
8259
82602018-06-21 Richard Bunt <richard.bunt@arm.com>
8261
8262 * gdb.base/watchpoint-hw-attach.c: New test.
8263 * gdb.base/watchpoint-hw-attach.exp: New file.
8264
82652018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8266
8267 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8268 through /bin/sh.
8269 * boards/dwarf4-gdb-index.exp: Likewise.
8270 * boards/fission-dwp.exp: Likewise.
8271
82722018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8273
8274 * gdb.base/float128.exp: Add comment and improved fail message
8275 to the failure case of "print large128" test.
8276
82772018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8278
8279 * configure.ac: Remove AC_PREREQ.
8280 * configure: Re-generate.
8281
82822018-06-19 Pedro Alves <palves@redhat.com>
8283
8284 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8285 (func_extern_caller): New.
8286 (main): Call func_extern_caller.
8287 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8288 logic change.
8289
82902018-06-18 Weimin Pan <weimin.pan@oracle.com>
8291
8292 PR gdb/16841
8293 * gdb.cp/typedef-base.cc: New file.
8294 * gdb.cp/typedef-base.exp: New file.
8295
82962018-06-18 Tom de Vries <tdevries@suse.de>
8297
8298 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8299
83002018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8301 Richard Bunt <Richard.Bunt@arm.com>
8302
8303 * gdb.threads/attach-slow-waitpid.c: New file.
8304 * gdb.threads/attach-slow-waitpid.exp: New file.
8305 * gdb.threads/slow-waitpid.c: New file.
8306
83072018-06-14 Pedro Alves <palves@redhat.com>
8308
8309 * gdb.base/fork-running-state.c: Include <errno.h>.
8310 (exit_if_relative_exits): New.
8311 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8312 exits.
8313 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8314 child exits.
8315
83162018-06-14 Tom de Vries <tdevries@suse.de>
8317
8318 PR cli/22573
8319 * gdb.base/finish-pretty.c: New test.
8320 * gdb.base/finish-pretty.exp: New file.
8321
83222018-06-14 Pedro Alves <palves@redhat.com>
8323
8324 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8325 gdb's expected startup output.
8326
83272018-06-14 Pedro Alves <palves@redhat.com>
8328
8329 * lib/selftest-support.exp (selftest_setup): Remove inlined
8330 function handling.
8331
83322018-06-14 Tom de Vries <tdevries@suse.de>
8333
8334 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8335 matching of breakpoint printing.
8336
83372018-06-13 Tom de Vries <tdevries@suse.de>
8338
8339 PR testsuite/23269
8340 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8341 (fork_child): ... here, and ...
8342 (fork_parent): ... here.
8343
83442018-06-12 Tom de Vries <tdevries@suse.de>
8345
8346 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8347
83482018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8349 Stephen Roberts <stephen.roberts@arm.com>
8350
8351 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8352 rewrite test to describe action performed, rather than possible
8353 failure.
8354
83552018-06-08 Gary Benson <gbenson@redhat.com>
8356
8357 * gdb.threads/check-libthread-db.exp: New file.
8358 * gdb.threads/check-libthread-db.c: Likewise.
8359
83602018-06-05 Tom Tromey <tom@tromey.com>
8361
8362 * gdb.base/default.exp: Update expected "show version" output.
8363
83642018-06-05 Tom Tromey <tom@tromey.com>
8365
8366 PR cli/12326:
8367 * gdb.cp/static-print-quit.exp: Update.
8368 * lib/gdb.exp (pagination_prompt): Update.
8369 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8370 * gdb.python/python.exp: Update.
8371
83722018-06-04 Joel Brobecker <brobecker@adacore.com>
8373
8374 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8375
83762018-06-01 Joel Brobecker <brobecker@adacore.com>
8377
8378 * gdb.ada/bp_fun_addr: New testcase.
8379
83802018-06-01 Tom Tromey <tom@tromey.com>
8381
8382 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8383 results.
8384 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8385 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8386 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8387 * gdb.base/maint.exp (maint_pass_if): Update.
8388
83892018-05-31 Maciej W. Rozycki <macro@mips.com>
8390
8391 * gdb.base/endian.exp: New test.
8392 * gdb.base/endian.c: New test source.
8393
83942018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8395
8396 PR gdb/23203
8397 * gdb.base/bt-selected-frame.c: New file.
8398 * gdb.base/bt-selected-frame.exp: New file.
8399 * lib/gdb.exp (get_current_frame_number): New function.
8400
84012018-05-24 Maciej W. Rozycki <macro@mips.com>
8402 Pedro Alves <palves@redhat.com>
8403
8404 * gdb.threads/tls-core.c: Include <stdlib.h>
8405 (thread_proc): Call `abort'.
8406 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8407 (tls_core_test): New procedure, bits factored out from ...
8408 (top level): ... here. Test both native cores and gcore cores.
8409
84102018-05-23 Tom Tromey <tom@tromey.com>
8411
8412 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8413
84142018-05-23 Tom Tromey <tom@tromey.com>
8415
8416 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8417 symfile_complaints.
8418 (test_short_complaints): Likewise.
8419 (test_empty_complaints): Likewise.
8420 (test_initial_complaints): Update.
8421
84222018-05-23 Tom Tromey <tom@tromey.com>
8423
8424 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8425
84262018-05-23 Tom Tromey <tom@tromey.com>
8427
8428 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8429 (test_short_complaints): Update.
8430
84312018-05-22 Pedro Alves <palves@redhat.com>
8432
8433 * gdb.base/remote.exp: Only gdb_start after compiling the
8434 testcase. Issue "disconnect" before testing "set remote" command
8435 defaults. Issue clean_restart before running to main.
8436
84372018-05-22 Pedro Alves <palves@redhat.com>
8438
8439 * gdb.base/remote.exp: Adjust expected output of "show remote
8440 memory-write-packet-size". Add tests for "set remote
8441 memory-write-packet-size 0" and "set remote
8442 memory-write-packet-size fixed/limit".
8443
84442018-05-22 Pedro Alves <palves@redhat.com>
8445
8446 PR gdb/22973
8447 * gdb.base/utf8-identifiers.c: New file.
8448 * gdb.base/utf8-identifiers.exp: New file.
8449
84502018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8451
8452 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8453
84542018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8455
8456 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8457
84582018-05-18 Tom Tromey <tom@tromey.com>
8459
8460 * gdb.base/ptype-offsets.exp: Update.
8461
84622018-05-17 Keith Seitz <keiths@redhat.com>
8463
8464 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8465 in expected breakpoint stop locations.
8466 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8467 move to proper scope to test variable values.
8468 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8469 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8470 New functions.
8471 (main): Call not_inline_func3.
8472 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8473 inline_func1, inline_func2, and inline_func3. Test that when each
8474 breakpoint is hit, GDB properly reports both the stop location
8475 and the backtrace. Repeat tests for temporary breakpoints.
8476
84772018-05-15 Maciej W. Rozycki <macro@mips.com>
8478
8479 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8480 rather then trying to access it in determining whether the PID
8481 of `gdbserver' could have been retrieved.
8482
84832018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8484
8485 * gdb.arch/amd64-init-x87-values.S: New file.
8486 * gdb.arch/amd64-init-x87-values.exp: New file.
8487
84882018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8489
8490 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8491
84922018-05-04 Tom Tromey <tom@tromey.com>
8493
8494 PR python/22730:
8495 * gdb.python/python.exp: Test multi-line execute.
8496
84972018-05-04 Tom Tromey <tom@tromey.com>
8498
8499 PR python/22731:
8500 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8501
85022018-05-04 Tom Tromey <tom@tromey.com>
8503
8504 PR gdb/11750:
8505 * gdb.base/define.exp: Test defining a user command inside a user
8506 command.
8507 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8508
85092018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8510 Pedro Alves <palves@redhat.com>
8511
8512 PR breakpoints/19806 and support for PR external/20207.
8513 * gdb.base/watchpoint-unaligned.c: New file.
8514 * gdb.base/watchpoint-unaligned.exp: New file.
8515
85162018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8517
8518 * gdb.base/maint.exp: Make test names unique, use
8519 test_prefix_command_help to test 'help maint info', and remove
8520 repeated test of 'help maint'.
8521
85222018-05-04 Tom Tromey <tom@tromey.com>
8523
8524 PR gdb/22619:
8525 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8526 behavior.
8527
85282018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8529
8530 * gdb.base/maint.exp: Process output from 'maint print registers'
8531 line at a time.
8532
85332018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8534
8535 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8536 timeout.
8537
85382018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8539
8540 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8541 filter pattern.
8542
85432018-05-02 Pedro Alves <palves@redhat.com>
8544
8545 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8546 to_log_command renames.
8547 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8548
85492018-05-02 Tom Tromey <tom@tromey.com>
8550
8551 * gdb.python/py-parameter.exp: Set test message.
8552
85532018-05-02 Tom Tromey <tom@tromey.com>
8554
8555 PR python/20084:
8556 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8557 PARAM_ZUINTEGER_UNLIMITED tests.
8558
85592018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8560
8561 PR rust/23124
8562 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8563 when casting.
8564
85652018-04-30 Tom Tromey <tom@tromey.com>
8566
8567 * gdb.python/py-type.exp: Check align attribute.
8568 * gdb.python/py-type.c: New "aligncheck" global.
8569
85702018-04-30 Tom Tromey <tom@tromey.com>
8571
8572 PR exp/17095:
8573 * gdb.dwarf2/dw2-align.exp: New file.
8574 * gdb.cp/align.exp: New file.
8575 * gdb.base/align.exp: New file.
8576 * lib/gdb.exp (gdb_int128_helper): New proc.
8577 (has_int128_c, has_int128_cxx): New caching procs.
8578
85792018-04-27 Tom Tromey <tom@tromey.com>
8580
8581 PR rust/22545:
8582 * gdb.rust/simple.exp: Add inclusive range tests.
8583
85842018-04-26 Pedro Alves <palves@redhat.com>
8585
8586 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8587 ifunc breakpoint locations correctly of ifunc breakpoints set
8588 while the program resolves the ifunc.
8589
85902018-04-26 Pedro Alves <palves@redhat.com>
8591
8592 * gdb.base/gnu-ifunc-final.c: New file.
8593 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8594 * gdb.base/gnu-ifunc.exp (executable): Delete.
8595 (staticexecutable): Adjust.
8596 (lib_opts, exec_opts): Delete.
8597 (make_binsuffix, build, set-break): New procedures.
8598 (misc_tests): New, with tests factored out from the top level.
8599 (top level): Test different combinations of ifunc resolver name,
8600 resolver with and with debug info, and ifunc target with and
8601 without debug info. Wrap static tests with with_target_prefix.
8602
86032018-04-26 Pedro Alves <palves@redhat.com>
8604
8605 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8606 return type" warnings.
8607
86082018-04-25 Pedro Alves <palves@redhat.com>
8609
8610 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8611 killed".
8612 * gdb.base/kill-after-signal.exp: Likewise.
8613 * gdb.threads/kill.exp: Likewise.
8614
86152018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8616 Sergio Durigan Junior <sergiodj@redhat.com>
8617 Pedro Alves <palves@redhat.com>
8618
8619 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8620 regexps to expect for '[Inferior ... detached]' as well.
8621 * gdb.base/attach.exp: Likewise.
8622 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8623 "gdb_continue_to_end".
8624 (test_catch_syscall_with_wrong_args): Likewise.
8625 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8626 ']'. Don't set 'verbose' on.
8627 * gdb.base/foll-vfork.exp: Likewise.
8628 * gdb.base/fork-print-inferior-events.c: New file.
8629 * gdb.base/fork-print-inferior-events.exp: New file.
8630 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8631 '[Inferior ... has been killed]' message.
8632 * gdb.base/kill-after-signal.exp: Likewise.
8633 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8634 detach message.
8635 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8636 message.
8637 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8638 regexps to expect for '[Inferior ... detached]' as well.
8639 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8640
86412018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8642
8643 PR gdb/23104
8644 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8645
86462018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8647
8648 PR gdb/23095
8649 * gdb.base/break-probes.exp: Pass shlib_load to
8650 prepare_for_testing. Set normal_bp to r_debug_state if target is
8651 bsd.
8652
86532018-04-19 Richard Bunt <richard.bunt@arm.com>
8654
8655 * gdb.threads/multiple-successive-infcall.c: New test.
8656 * gdb.threads/multiple-successive-infcall.exp: New file.
8657
86582018-04-17 Tom Tromey <tom@tromey.com>
8659
8660 * gdb.rust/simple.rs (Union): New type.
8661 (main): New local "u".
8662 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8663
86642018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8665
8666 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8667 number information in output of "whereis" command.
8668 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8669
86702018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8671
8672 * gdb.ada/info_types.exp: Adjust expected output to the line
8673 numbers now printed by "info var/func/type".
8674 * gdb.base/completion.exp: Likewise.
8675 * gdb.base/included.exp: Likewise.
8676 * gdb.cp/cp-relocate.exp: Likewise.
8677 * gdb.cp/cplusfuncs.exp: Likewise.
8678 * gdb.cp/namespace.exp: Likewise.
8679 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8680
86812018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8682
8683 * gdb.btrace/cpu.exp: New.
8684
86852018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8686
8687 * gdb.base/step-indirect-call-thunk.exp: New.
8688 * gdb.base/step-indirect-call-thunk.c: New.
8689 * gdb.reverse/step-indirect-call-thunk.exp: New.
8690 * gdb.reverse/step-indirect-call-thunk.c: New.
8691
86922018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8693
8694 * gdb.base/pie-fork.c: New file.
8695 * gdb.base/pie-fork.exp: New file.
8696
86972018-04-11 Tom Tromey <tom@tromey.com>
8698
8699 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8700
87012018-04-10 Pedro Alves <palves@redhat.com>
8702
8703 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8704 exits. Instead loop running forever.
8705 (fork_parent): Run forever too.
8706
87072018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8708
8709 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8710 mi_continue_to_line.
8711 * gdb.mi/mi-stack.c (callee4): Add comment.
8712
87132018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8714
8715 * gdb.mi/mi-stack.exp: Fix indentation.
8716
87172018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8718
8719 PR gdb/22979
8720 * gdb.arch/amd64-osabi.exp: New file.
8721
87222018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8723
8724 PR gdb/22980
8725 * gdb.base/osabi.exp: New file.
8726
87272018-04-02 Weimin Pan <weimin.pan@oracle.com>
8728
8729 * gdb.cp/static-typedef-print.exp: New file.
8730 * gdb.cp/static-typedef-print.cc: New file.
8731
87322018-03-27 Joel Brobecker <brobecker@adacore.com>
8733
8734 * gdb.ada/varsize_limit: New testcase.
8735
87362018-03-27 Joel Brobecker <brobecker@adacore.com>
8737
8738 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8739
8740 * gdb.ada/notcplusplus: New testcase.
8741
8742 * gdb.base/c-linkage-name.c: New file.
8743 * gdb.base/c-linkage-name.exp: New testcase.
8744
87452018-03-26 Tom Tromey <tom@tromey.com>
8746
8747 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8748 * gdb.python/py-framefilter.py (name_error): New global.
8749 (ErrorInName.function): Use name_error.
8750
87512018-03-26 Tom Tromey <tom@tromey.com>
8752
8753 PR backtrace/15582:
8754 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8755
87562018-03-23 Keith Seitz <keiths@redhat.com>
8757
8758 PR c++/22968
8759 * gdb.cp/subtypes.exp: New file.
8760 * gdb.cp/subtypes.h: New file.
8761 * gdb.cp/subtypes.cc: New file.
8762 * gdb.cp/subtypes-2.cc: New file.
8763
87642018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8765
8766 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8767 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8768 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8769 -nostartfiles when compiling the test. Confirm that all registers
8770 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8771
87722018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8773
8774 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8775 option, syntax was wrong anyway.
8776 * gdb.arch/arm-disp-step.exp: Likewise.
8777 * gdb.arch/sparc64-regs.exp: Likewise.
8778 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8779 option, syntax was wrong anyway, switch to use
8780 prepare_for_testing.
8781 * gdb.arch/i386-disp-step.exp: Likewise.
8782
87832018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8784
8785 * gdb.ada/exec_changed.exp: Replace "target_info exists
8786 use_gdb_stub" by "use_gdb_stub".
8787 * gdb.ada/start.exp: Likewise.
8788 * gdb.base/async-shell.exp: Likewise.
8789 * gdb.base/attach-pie-misread.exp: Likewise.
8790 * gdb.base/attach-wait-input.exp: Likewise.
8791 * gdb.base/break-entry.exp: Likewise.
8792 * gdb.base/break-interp.exp: Likewise.
8793 * gdb.base/dprintf-detach.exp: Likewise.
8794 * gdb.base/nostdlib.exp: Likewise.
8795 * gdb.base/solib-nodir.exp: Likewise.
8796 * gdb.base/statistics.exp: Likewise.
8797 * gdb.base/testenv.exp: Likewise.
8798 * gdb.mi/mi-exec-run.exp: Likewise.
8799 * gdb.mi/mi-start.exp: Likewise.
8800 * gdb.multi/dummy-frame-restore.exp: Likewise.
8801 * gdb.multi/multi-arch-exec.exp: Likewise.
8802 * gdb.multi/multi-arch.exp: Likewise.
8803 * gdb.multi/tids.exp: Likewise.
8804 * gdb.multi/watchpoint-multi.exp: Likewise.
8805 * gdb.python/py-events.exp: Likewise.
8806 * gdb.threads/attach-into-signal.exp: Likewise.
8807 * gdb.threads/attach-stopped.exp: Likewise.
8808 * gdb.threads/threadapply.exp: Likewise.
8809 * lib/selftest-support.exp: Likewise.
8810
88112018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8812
8813 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8814
88152018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8816
8817 * gdb.perf/template-breakpoints.cc: New file.
8818 * gdb.perf/template-breakpoints.exp: New file.
8819 * gdb.perf/template-breakpoints.py: New file.
8820
88212018-03-19 Tom Tromey <tom@tromey.com>
8822
8823 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8824 y0.
8825 * gdb.rust/simple.exp: Test bare identifier form of struct
8826 initializer.
8827
88282018-03-19 Tom Tromey <tom@tromey.com>
8829
8830 * gdb.gdb/observer.exp: Remove.
8831
88322018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8833
8834 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8835 "qualified" option when setting breakpoints.
8836 * gdb.trace/backtrace.exp: Likewise.
8837 * gdb.trace/circ.exp: Likewise.
8838 * gdb.trace/collection.exp: Likewise.
8839 * gdb.trace/disconnected-tracing.exp: Likewise.
8840 * gdb.trace/ftrace-lock.exp: Likewise.
8841 * gdb.trace/ftrace.exp: Likewise.
8842 * gdb.trace/infotrace.exp: Likewise.
8843 * gdb.trace/packetlen.exp: Likewise.
8844 * gdb.trace/passc-dyn.exp: Likewise.
8845 * gdb.trace/qtro.exp: Likewise.
8846 * gdb.trace/read-memory.exp: Likewise.
8847 * gdb.trace/report.exp: Likewise.
8848 * gdb.trace/signal.exp: Likewise.
8849 * gdb.trace/status-stop.exp: Likewise.
8850 * gdb.trace/strace.exp: Likewise.
8851 * gdb.trace/tfind.exp: Likewise.
8852 * gdb.trace/trace-break.exp: Likewise.
8853 * gdb.trace/trace-condition.exp: Likewise.
8854 * gdb.trace/trace-mt.exp: Likewise.
8855 * gdb.trace/tstatus.exp: Likewise.
8856 * gdb.trace/tsv.exp: Likewise.
8857 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8858 * gdb.trace/unavailable.exp: Likewise.
8859 * gdb.trace/while-dyn.exp: Likewise.
8860
88612018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8862
8863 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8864 that libinproctrace is copied to the target.
8865
88662018-03-14 Tom Tromey <tom@tromey.com>
8867
8868 PR cli/14977:
8869 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8870 a null pointer.
8871 * gdb.base/wchar.exp: Likewise.
8872
88732018-03-14 Tom Tromey <tom@tromey.com>
8874
8875 PR cli/19918:
8876 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8877 flag.
8878
88792018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8880
8881 PR gdb/22841
8882 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8883 "target" to remote_exec.
8884
88852018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8886
8887 PR gdb/22841
8888 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8889 ${board}_upload): Remove.
8890
88912018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8892
8893 * gdb.cp/watch-cp.cc: New test.
8894 * gdb.cp/watch-cp.exp: New file.
8895
88962018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8897
8898 * gdb.base/infcall-nested-structs.exp: New file.
8899 * gdb.base/infcall-nested-structs.c: New file.
8900 * gdb.base/float.exp: Add riscv support.
8901
89022018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8903
8904 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8905 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8906
89072018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8908
8909 * gdb.server/abspath.exp: New file.
8910 * lib/gdb.exp (with_cwd): New procedure.
8911
89122018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8913
8914 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8915 use it.
8916 (gdb_is_target_remote_prompt): New proc.
8917 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8918 (gdb_is_target_native): Pass prompt parameter to
8919 gdb_is_target_1.
8920
89212018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8922
8923 * gdb.base/load-command.c: New file.
8924 * gdb.base/load-command.exp: New file.
8925 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8926 (gdb_is_target_1): ...this, and generalize for other targets
8927 than just remote.
8928 (gdb_is_target_remote): Use gdb_is_target_1.
8929 (gdb_is_target_native): use gdb_is_target_1.
8930
89312018-02-26 Tom Tromey <tom@tromey.com>
8932
8933 PR python/16497:
8934 * gdb.python/py-framefilter.exp: Update test.
8935
89362018-02-26 Tom Tromey <tom@tromey.com>
8937
8938 * gdb.dwarf2/variant.c: New file.
8939 * gdb.dwarf2/variant.exp: New file.
8940
89412018-02-26 Tom Tromey <tom@tromey.com>
8942
8943 * gdb.rust/simple.exp: Accept more possible results in enum test.
8944
89452018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8946
8947 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8948 parentheses.
8949
89502018-02-23 Maciej W. Rozycki <macro@mips.com>
8951
8952 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8953 name of a variable: $actual_linejj -> $actual_line.
8954
89552018-02-21 John Baldwin <jhb@FreeBSD.org>
8956
8957 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8958
89592018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8960
8961 * gdb.btrace/buffer-size.exp: Do not force BTS.
8962
89632018-02-14 Pedro Alves <palves@redhat.com>
8964
8965 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8966 getting a "Quit".
8967
89682018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8969
8970 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8971 Fix test name.
8972
89732018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8974
8975 * gdb.cp/m-static.exp: Check type of optimized out static
8976 member.
8977
89782018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8979
8980 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8981 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8982
89832018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8984 Leszek Swirski <leszeks@google.com>
8985
8986 * gdb.python/py-prettyprint.c
8987 (struct to_string_returns_value_inner,
8988 struct to_string_returns_value_wrapper): New.
8989 (main): Add tsrvw variable.
8990 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8991 ToStringReturnsValueWrapper): New classes.
8992 (register_pretty_printers): Register new pretty-printers.
8993 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8994 recursive pretty printer.
8995 * gdb.python/py-mi.exp: Likewise.
8996
89972018-02-01 Leszek Swirski <leszeks@google.com>
8998
8999 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9000 functions with the same name as an include file are parsed
9001 correctly.
9002
90032018-02-01 Yao Qi <yao.qi@linaro.org>
9004
9005 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9006 "\[^\r\n\]*".
9007
90082018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9009
9010 * gdb.arch/powerpc-prologue-frame.s: New file.
9011 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9012 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9013
90142018-01-31 Joel Brobecker <brobecker@adacore.com>
9015
9016 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9017
90182018-01-30 Pedro Alves <palves@redhat.com>
9019
9020 PR gdb/13211
9021 * gdb.base/interrupt-daemon.c: New.
9022 * gdb.base/interrupt-daemon.exp: New.
9023 * gdb.multi/multi-term-settings.c: New.
9024 * gdb.multi/multi-term-settings.exp: New.
9025
90262018-01-30 Joel Brobecker <brobecker@adacore.com>
9027
9028 * gdb.base/break.exp: Save the location where the breakpoint
9029 on break.c:47 was actually inserted when debugging the version
9030 compiled at -O2 and use it in the expected output of the "info
9031 break" test performed soon after.
9032
90332018-01-22 Pedro Alves <palves@redhat.com>
9034 Sergio Durigan Junior <sergiodj@redhat.com>
9035
9036 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9037 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9038
90392018-01-22 Joel Brobecker <brobecker@adacore.com>
9040
9041 * gdb.base/break-include.c, gdb.base/break-include.inc,
9042 gdb.base/break-include.exp: New files.
9043 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9044 line number now being the actual line number where the breakpoint
9045 was inserted.
9046 * gdb.mi/mi-break.exp: Likewise.
9047 * gdb.mi/mi-reverse.exp: Likewise.
9048 * gdb.mi/mi-simplerun.exp: Ditto.
9049
90502018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9051
9052 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9053 varobj.
9054 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9055
90562018-01-21 Don Breazeal <donb@codesourcery.com>
9057 Andrew Burgess <andrew.burgess@embecosm.com>
9058
9059 * gdb.mi/basics.c: Add new global.
9060 * gdb.mi/mi-frame-regs.exp: New file.
9061 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9062 case.
9063
90642018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9065
9066 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9067 non-parameter, and on an unknown symbol.
9068
90692018-01-19 Tom Tromey <tom@tromey.com>
9070
9071 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9072 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9073
90742018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9075
9076 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9077 setrlimit and chdir to int.
9078
90792018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9080
9081 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9082 function.
9083 (my_tend): Likewise.
9084 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9085 rationale of avoiding FP- and vector instructions.
9086
90872018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9088
9089 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9090 "info reg" with "\[ \t\]*".
9091 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9092 "\[ \t\]+".
9093 * gdb.arch/s390-multiarch.exp: Ditto.
9094 * gdb.base/pc-fp.exp: Ditto.
9095 * gdb.reverse/i386-precsave.exp: Ditto.
9096 * gdb.reverse/i386-reverse.exp: Ditto.
9097 * gdb.reverse/i387-env-reverse.exp: Ditto.
9098 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9099
91002018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9101
9102 * lib/gdb.exp (gdb_compile): Re-enable use of
9103 universal_compile_options for languages other than Rust.
9104
91052018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9106
9107 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9108
91092018-01-17 Mike Gulick <mgulick@mathworks.com>
9110
9111 PR gdb/16577
9112 * gdb.base/solib-vanish.exp: New.
9113 * gdb.base/solib-vanish-main.c: New.
9114 * gdb.base/solib-vanish-lib1.c: New.
9115 * gdb.base/solib-vanish-lib2.c: New.
9116
91172018-01-17 Yao Qi <yao.qi@linaro.org>
9118
9119 * gdb.compile/compile.exp: Match the address printed for
9120 frame in the output of command "bt".
9121
91222018-01-15 Tom Tromey <tom@tromey.com>
9123
9124 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9125 compute sp_reg.
9126
91272018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9128
9129 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9130 to prepare.
9131 (prepare): Return 0 on error, 1 on success.
9132
91332018-01-12 Pedro Alves <palves@redhat.com>
9134
9135 * gdb.base/continue-after-aborted-step-over.c: New.
9136 * gdb.base/continue-after-aborted-step-over.exp: New.
9137
91382018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9139
9140 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9141 options when not creating an executable.
9142
91432018-01-11 Pedro Alves <palves@redhat.com>
9144
9145 PR remote/22597
9146 * gdb.server/stop-reply-no-thread.c: New file.
9147 * gdb.server/stop-reply-no-thread.exp: New file.
9148
91492018-01-10 Pedro Alves <palves@redhat.com>
9150
9151 PR gdb/22670
9152 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9153 functions too. Test setting breakpoints and printing C functions
9154 with no debug info too.
9155 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9156
91572018-01-10 Pedro Alves <palves@redhat.com>
9158
9159 PR gdb/22670
9160 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9161 a fail.
9162
91632018-01-10 Pedro Alves <palves@redhat.com>
9164
9165 PR gdb/22670
9166 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9167
91682018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9169
9170 * gdb.server/unittest.exp: Match the output in non-development
9171 mode.
9172
91732018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9174
9175 * gdb.gdb/unittest.exp: Match output in non-development mode.
9176
91772018-01-08 Joel Brobecker <brobecker@adacore.com>
9178
9179 * gdb.ada/access_tagged_param.exp: Relax expected output
9180 for value of "ObjL" in "continue" to pck.inspect breakpoint
9181 test.
9182
91832018-01-08 Joel Brobecker <brobecker@adacore.com>
9184
9185 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9186 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
9187
91882018-01-05 Pedro Alves <palves@redhat.com>
9189
9190 PR gdb/18653
9191 * gdb.base/libsegfault.exp: New.
9192
91932018-01-05 Joel Brobecker <brobecker@adacore.com>
9194
9195 PR gdb/22670
9196 * gdb.ada/access_tagged_param.exp: New file.
9197 * gdb.ada/access_tagged_param/foo.adb: New file.
9198
91992018-01-05 Pedro Alves <palves@redhat.com>
9200
9201 PR gdb/22670
9202 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9203 exercise lower case too, and to exercise both full matching and
9204 wild matching.
9205
92062018-01-05 Joel Brobecker <brobecker@adacore.com>
9207
9208 * gdb.ada/rename_subscript_param: New testcase.
9209
92102018-01-05 Jerome Guitton <guitton@adacore.com>
9211
9212 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9213
92142018-01-05 Joel Brobecker <brobecker@adacore.com>
9215
9216 * gdb.ada/convvar_comp: New testcase.
9217
92182018-01-05 Xavier Roirand <roirand@adacore.com>
9219
9220 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9221 (My_Table): New global variable.
9222 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9223
92242018-01-04 Joel Brobecker <brobecker@adacore.com>
9225
9226 PR gdb/22670
9227 * gdb.ada/maint_with_ada: New testcase.
9228
92292018-01-04 Joel Brobecker <brobecker@adacore.com>
9230
9231 PR gdb/22670
9232 * gdb.ada/bp_c_mixed_case: New testcase.
9233
92342018-01-04 Joel Brobecker <brobecker@adacore.com>
9235
9236 PR gdb/22670
9237 * gdb.ada/complete.exp: Add "complete break ada" test.
9238
92392018-01-04 Joel Brobecker <brobecker@adacore.com>
9240
9241 PR gdb/22670
9242 * gdb.ada/info_addr_mixed_case: New testcase.
9243
92442018-01-03 Xavier Roirand <roirand@adacore.com>
9245
9246 * gdb.ada/excep_handle.exp: New testcase.
9247 * gdb.ada/excep_handle/foo.adb: New file.
9248 * gdb.ada/excep_handle/pck.ads: New file.
9249
92502018-01-03 Joel Brobecker <brobecker@adacore.com>
9251
9252 * gdb.base/step-line.c: Add extra empty line in copyright header.
9253 * gdb.base/step-line.inp: Likewise.
9254
92552018-01-02 Joel Brobecker <brobecker@adacore.com>
9256
9257 * gdb.ada/dyn_stride.exp: Add slice test.
9258
92592018-01-02 Joel Brobecker <brobecker@adacore.com>
9260
9261 * gdb.ada/dyn_stride: New testcase.
9262
92632017-12-27 Stafford Horne <shorne@gmail.com>
9264
9265 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9266 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9267
92682017-12-27 Stafford Horne <shorne@gmail.com>
9269
9270 * gdb.base/reggroups.c: New file.
9271 * gdb.base/reggroups.exp: New file.
9272
92732017-12-18 Joel Brobecker <brobecker@adacore.com>
9274
9275 * gdb.dwarf2/ada-valprint-error.c: New file.
9276 * gdb.dwarf2/ada-valprint-error.exp: New file.
9277
92782017-12-18 Joel Brobecker <brobecker@adacore.com>
9279
9280 * gdb.ada/assign_arr: New testcase.
9281
92822017-12-18 Xavier Roirand <roirand@adacore.com>
9283
9284 * gdb.ada/funcall_ptr: New testcase.
9285
92862017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9287
9288 PR cli/16224
9289 * gdb.base/ptype-offsets.cc: New file.
9290 * gdb.base/ptype-offsets.exp: New file.
9291
92922017-12-15 Yao Qi <yao.qi@linaro.org>
9293
9294 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9295 if XML is disabled.
9296
92972017-12-15 Xavier Roirand <roirand@adacore.com>
9298
9299 * gdb.ada/same_component_name: New testcase.
9300
93012017-12-14 Joel Brobecker <brobecker@adacore.com>
9302
9303 * gdb.ada/str_binop_equal: New testcase.
9304
93052017-12-14 Joel Brobecker <brobecker@adacore.com>
9306
9307 * gdb.ada/task_switch_in_core: New testcase.
9308
93092017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9310
9311 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9312 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9313 call test_bkpt_qualified.
9314 (test_bkpt_qualified): New proc.
9315
93162017-12-13 Pedro Alves <palves@redhat.com>
9317
9318 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9319 Tighten regexp by matching with an anchor.
9320
93212017-12-13 Pedro Alves <palves@redhat.com>
9322
9323 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9324 ("expression with namespace"): New set of tests.
9325 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9326 (Nested::Test_NS::qux): New.
9327 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9328 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9329
93302017-12-13 Joel Brobecker <brobecker@adacore.com>
9331
9332 * gdb.base/server-del-break.c: New file.
9333 * gdb.base/server-del-break.exp: New file.
9334
93352017-12-12 Stafford Horne <shorne@gmail.com>
9336
9337 * gdb.xml/tdesc-regs.exp: Add or1k support.
9338
93392017-12-12 Stafford Horne <shorne@gmail.com>
9340
9341 * gdb.base/bp-permanent.c: Define nop of or1k.
9342
93432017-12-11 Joel Brobecker <brobecker@adacore.com>
9344
9345 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9346 output with components being reordered.
9347
93482017-12-11 Joel Brobecker <brobecker@adacore.com>
9349
9350 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9351 output with components being reordered.
9352
93532017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9354 Pedro Alves <palves@redhat.com>
9355
9356 * gdb.base/maint.exp (check for .gdb_index): Check also for
9357 .debug_names.
9358 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9359 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9360 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9361 (.gdb_index used after symbol reloading): Support also .debug_names.
9362 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9363
93642017-12-08 Yao Qi <yao.qi@linaro.org>
9365
9366 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9367 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9368
93692017-12-08 Yao Qi <yao.qi@linaro.org>
9370
9371 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9372 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9373
93742017-12-08 Yao Qi <yao.qi@linaro.org>
9375
9376 * gdb.arch/aarch64-tagged-pointer.c: New file.
9377 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9378
93792017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9380
9381 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9382 "int".
9383
93842017-12-07 Keith Seitz <keiths@redhat.com>
9385
9386 PR breakpoints/22569
9387 * gdb.linespec/ls-errs.exp: Change expected result of "break
9388 -source this file has spaces.c -line 3".
9389 Check that an explicit source file followed by whitespace is
9390 identified as an invalid explicit location.
9391
93922017-12-07 Keith Seitz <keiths@redhat.com>
9393
9394 * gdb.cp/nested-types.cc: New file.
9395 * gdb.cp/nested-types.exp: New file.
9396 * lib/cp-support.exp: Load data-structures.exp library.
9397 (debug_cp_test_ptype_class): New global.
9398 (cp_ptype_class_verbose, next_line): New procedures.
9399 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9400 Add and document new return value.
9401 Switch the list of lines to a queue.
9402 Add support for new `type' key for nested type definitions.
9403 Add debugging/troubleshooting messages.
9404 * lib/data-structures.exp: New file.
9405
94062017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9407
9408 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9409 with proc_with_prefix, don't use with_test_prefix.
9410
94112017-12-07 Tom Tromey <tom@tromey.com>
9412
9413 * gdb.base/break.exp: Add test for empty "commands".
9414
94152017-12-07 Yao Qi <yao.qi@linaro.org>
9416
9417 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9418 malloc and catch syscall.
9419
94202017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9421
9422 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
9423 tests for explicit locations.
9424
94252017-12-06 Pedro Alves <palves@redhat.com>
9426
9427 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9428 force-disabling XML descriptions.
9429
94302017-12-04 Pedro Alves <palves@redhat.com>
9431
9432 PR gdb/22499
9433 * gdb.arch/amd64-disp-step-avx.S: New file.
9434 * gdb.arch/amd64-disp-step-avx.exp: New file.
9435
94362017-12-03 Pedro Alves <palves@redhat.com>
9437
9438 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9439 and <string.h>.
9440 (parent_function): Print distinct messages when waitpid fails, or
9441 the child exits with a signal, or the child exits for an unhandled
9442 reason.
9443 * gdb.threads/process-dies-while-detaching.exp
9444 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9445 it. Wait for both inferior output and GDB's prompt. Use an
9446 indirect spawn id list.
9447 (do_detach): New parameter 'child_exit'. Use it to compute
9448 expected inferior output.
9449 (test_detach, test_detach_watch, test_detach_killed_outside):
9450 Adjust to pass down the expected child exit kind.
9451
94522017-12-01 Joel Brobecker <brobecker@adacore.com>
9453 Sergio Durigan Junior <sergiodj@redhat.com>
9454 Pedro Alves <palves@redhat.com>
9455
9456 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9457
94582017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9459
9460 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9461 to 'symbol-file' and 'add-symbol-file' can be
9462 position-independent.
9463
94642017-12-01 Yao Qi <yao.qi@linaro.org>
9465
9466 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9467 the URL in copyright header.
9468 * gdb.arch/aarch64-fp.exp: Likewise.
9469 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9470 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9471 * gdb.base/expand-psymtabs.exp: Likewise.
9472 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9473 * gdb.fortran/common-block.exp: Likewise.
9474 * gdb.fortran/common-block.f90: Likewise.
9475 * gdb.fortran/logical.exp: Likewise.
9476 * gdb.fortran/vla-datatypes.f90: Likewise.
9477 * gdb.fortran/vla-sub.f90: Likewise.
9478
94792017-11-30 Joel Brobecker <brobecker@adacore.com>
9480
9481 * gdb.ada/repeat_dyn: New testcase.
9482
94832017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9484
9485 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9486 Update for changed thread numbering.
9487 * gdb.cell/bt.exp: Update for changed GDB output.
9488
94892017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9490
9491 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9492 setting isremote by hand.
9493 * boards/dwarf4-gdb-index.exp: Likewise.
9494 * boards/fission.exp: Likewise.
9495 * boards/stabs.exp: Likewise.
9496
94972017-11-30 Pedro Alves <palves@redhat.com>
9498
9499 * gdb.linespec/cpls-ops.exp
9500 (check_explicit_skips_function_argument): Extract the underlying
9501 type of size_t instead of hardcoding it.
9502
95032017-11-29 Pedro Alves <palves@redhat.com>
9504
9505 PR c++/19436
9506 * gdb.linespec/cpls-abi-tag.cc: New file.
9507 * gdb.linespec/cpls-abi-tag.exp: New file.
9508
95092017-11-29 Pedro Alves <palves@redhat.com>
9510
9511 * gdb.base/langs.exp: Use -qualified.
9512 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9513 it.
9514 * gdb.cp/namespace.exp: Use -qualified.
9515 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9516 (overload-3, template-overload, template-ret-type, const-overload)
9517 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9518 procedures.
9519 (test_driver): Call them.
9520 * gdb.cp/save-bp-qualified.cc: New.
9521 * gdb.cp/save-bp-qualified.exp: New.
9522 * gdb.linespec/explicit.exp: Test -qualified.
9523 * lib/completion-support.exp (completion::explicit_opts_list): Add
9524 "-qualified".
9525 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9526
95272017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9528
9529 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9530
95312017-11-29 Tom Tromey <tom@tromey.com>
9532
9533 * gdb.base/relocate.exp: Update invalid argument test.
9534 Add new tests for invalid arguments.
9535
95362017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9537
9538 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9539 Return 0 as a long.
9540 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9541
95422017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9543
9544 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9545 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9546 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9547 func ().
9548 * gdb.cp/shadow.cc (B.func): Return 0.
9549
95502017-11-27 Joel Brobecker <brobecker@adacore.com>
9551
9552 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9553 expected output in gdb_expect call to allow the exception
9554 message to be present as well. Fix syntax confusion to avoid
9555 TCL thinking that exception_name is an array.
9556
95572017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9558
9559 * gdb.arch/spu-info.c: Include <unistd.h>.
9560 (do_signal_test): Fix broken calls to write.
9561 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9562 Fix checks for empty mailboxes. Update signal tests for corrected
9563 do_signal_test routine. Allow nonzero event status.
9564 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9565 * gdb.cell/arch.exp: Use standard_output_file.
9566 * gdb.cell/break.exp: Likewise.
9567 * gdb.cell/bt.exp: Likewise.
9568 * gdb.cell/core.exp: Likewise.
9569 * gdb.cell/dwarfaddr.exp: Likewise.
9570 * gdb.cell/ea-cache.exp: Likewise.
9571 * gdb.cell/ea-standalone.exp: Likewise.
9572 * gdb.cell/f-regs.exp: Likewise.
9573 * gdb.cell/fork.exp: Likewise.
9574 * gdb.cell/gcore.exp: Likewise.
9575 * gdb.cell/mem-access.exp: Likewise.
9576 * gdb.cell/ptype.exp: Likewise.
9577 * gdb.cell/registers.exp: Likewise.
9578 * gdb.cell/sizeof.exp: Likewise.
9579 * gdb.cell/solib-symbol.exp: Likewise.
9580 * gdb.cell/solib.exp: Likewise.
9581
95822017-11-25 Pedro Alves <palves@redhat.com>
9583
9584 * gdb.base/complete-empty.exp: New file.
9585 * gdb.base/completion.exp: Adjust.
9586
95872017-11-25 Pedro Alves <palves@redhat.com>
9588
9589 * gdb.linespec/cpls-ops.cc: New file.
9590 * gdb.linespec/cpls-ops.exp: New file.
9591 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9592 factored out from ...
9593 (test_complete_prefix_range): ... this.
9594
95952017-11-24 Pedro Alves <palves@redhat.com>
9596
9597 * gdb.linespec/cpcompletion.exp: New file.
9598 * gdb.linespec/cpls-hyphen.cc: New file.
9599 * gdb.linespec/cpls.cc: New file.
9600 * gdb.linespec/cpls2.cc: New file.
9601 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9602 test to use test_gdb_complete_unique. Add label completion,
9603 keyword completion and explicit location completion tests.
9604 * lib/completion-support.exp: New file.
9605
96062017-11-24 Joel Brobecker <brobecker@adacore.com>
9607
9608 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9609 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9610 when hitting an exception catchpoint.
9611
96122017-11-22 Yao Qi <yao.qi@linaro.org>
9613
9614 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9615
96162017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9617
9618 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9619 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9620 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9621
96222017-11-22 Yao Qi <yao.qi@linaro.org>
9623
9624 * gdb.base/info-os.exp: Pass pthreads.
9625 * gdb.multi/multi-attach.exp: Likewise.
9626
96272017-11-22 Yao Qi <yao.qi@linaro.org>
9628
9629 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9630 compiler.
9631
96322017-11-22 Yao Qi <yao.qi@linaro.org>
9633
9634 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9635 * gdb.base/break-interp.exp: Likewise.
9636 * gdb.base/jit-attach-pie.exp: Likewise.
9637
96382017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9639
9640 * gdb.base/float128.c (large128): New variable.
9641 * gdb.base/float128.exp: Add test to print largest __float128 value.
9642
96432017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9644
9645 * gdb.arch/vsx-regs.exp: Update register content checks.
9646
96472017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9648
9649 * gdb.arch/ppc-longdouble.exp: New file.
9650 * gdb.arch/ppc-longdouble.c: Likewise.
9651
96522017-11-21 Pedro Alves <palves@redhat.com>
9653
9654 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9655
96562017-11-20 Pedro Alves <palves@redhat.com>
9657
9658 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9659 (long_double_typedef): New typedefs.
9660 Use DEF on double and long double.
9661 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9662 cases.
9663 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9664 and 'long_double_ptr_same_size' locals. Use them to decide
9665 whether cast from array/function to float is valid/invalid.
9666
96672017-11-17 Tom Tromey <tom@tromey.com>
9668
9669 * gdb.rust/traits.rs: New file.
9670 * gdb.rust/traits.exp: New file.
9671
96722017-11-17 Joel Brobecker <brobecker@adacore.com>
9673
9674 * gdb.ada/minsyms: New testcase.
9675
96762017-11-16 Pedro Alves <palves@redhat.com>
9677
9678 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9679 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9680
96812017-11-16 Pedro Alves <palves@redhat.com>
9682
9683 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9684 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9685
96862017-11-16 Pedro Alves <palves@redhat.com>
9687
9688 * gdb.server/reconnect-ctrl-c.c: New file.
9689 * gdb.server/reconnect-ctrl-c.exp: New file.
9690
96912017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9692
9693 * gdb.python/py-rbreak.exp: New file.
9694 * gdb.python/py-rbreak.c: New file.
9695 * gdb.python/py-rbreak-func2.c: New file.
9696
96972017-11-16 Pedro Alves <palves@redhat.com>
9698
9699 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9700 pattern.
9701 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9702 GDB.
9703
97042017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9705
9706 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9707 regex.
9708
97092017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9710
9711 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9712 test names.
9713
97142017-11-09 Pedro Alves <palves@redhat.com>
9715
9716 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9717 factored out from ...
9718 (top level): ... here, and adjusted to avoid expecting beyond the
9719 prompt in a single gdb_test_multiple.
9720
97212017-11-09 Pedro Alves <palves@redhat.com>
9722
9723 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9724 output.
9725 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9726 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9727 * gdb.server/ext-run.exp ("kill" test): Likewise.
9728 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9729
97302017-11-09 Pedro Alves <palves@redhat.com>
9731
9732 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9733 match till end of line.
9734
97352017-11-09 Pedro Alves <palves@redhat.com>
9736
9737 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9738
97392017-11-09 Pedro Alves <palves@redhat.com>
9740
9741 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9742 New procedures, factored out from ...
9743 (top level): ... here, and adjusted to avoid expecting beyond the
9744 prompt in one go.
9745
97462017-11-09 Pedro Alves <palves@redhat.com>
9747
9748 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9749 output. Fix '?' match.
9750
97512017-11-08 Joel Brobecker <brobecker@adacore.com>
9752
9753 * gdb.ada/scoped_watch: New testcase.
9754 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9755 which is actually correct.
9756 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9757 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9758
97592017-11-08 Pedro Alves <palves@redhat.com>
9760
9761 * gdb.gdb/complaints.exp (test_initial_complaints)
9762 (test_serial_complaints, test_short_complaints): Call
9763 complaint_internal instead of complaint.
9764
97652017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9766
9767 * gdb.threads/tls-core.c: New file.
9768 * gdb.threads/tls-core.exp: Likewise.
9769
97702017-11-08 Pedro Alves <palves@redhat.com>
9771
9772 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9773 (p Exported_Capitalized): New test.
9774 (p exported_capitalized): New test.
9775
97762017-11-07 Pedro Alves <palves@redhat.com>
9777
9778 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9779
97802017-11-07 Pedro Alves <palves@redhat.com>
9781
9782 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9783 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9784 (disable_invalid, disable_inverted, disable_negative): New
9785 procedures.
9786 ("bad numbers"): New set of tests.
9787
97882017-11-07 Pedro Alves <palves@redhat.com>
9789
9790 * gdb.cp/ena-dis-br-range.exp: Add tests.
9791
97922017-11-07 Pedro Alves <palves@redhat.com>
9793
9794 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9795
97962017-11-07 Xavier Roirand <roirand@adacore.com>
9797 Pedro Alves <palves@redhat.com>
9798
9799 * gdb.base/ena-dis-br.exp: Add reference to
9800 gdb.cp/ena-dis-br-range.exp.
9801 * gdb.cp/ena-dis-br-range.exp: New file.
9802 * gdb.cp/ena-dis-br-range.cc: New file.
9803
98042017-11-06 Pedro Alves <palves@redhat.com>
9805
9806 * gdb.base/attach-non-pgrp-leader.c: New.
9807 * gdb.base/attach-non-pgrp-leader.exp: New.
9808
98092017-11-06 Pedro Alves <palves@redhat.com>
9810
9811 * configure.ac: No longer check for termio.h and sgtty.h.
9812 * configure: Regenerate.
9813 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9814 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9815 Remove termio and sgtty code.
9816
98172017-11-03 Yao Qi <yao.qi@linaro.org>
9818
9819 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9820 in GDB is disabled.
9821
98222017-11-03 Yao Qi <yao.qi@linaro.org>
9823
9824 * gdb.python/py-thrhandle.exp: Skip it if python is not
9825 enabled.
9826
98272017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9828
9829 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9830 as a breakpoint command.
9831
98322017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9833
9834 PR python/21213
9835 * gdb.python/py-infthread.exp: Test calling
9836 InferiorThread.inferior () multiple times in a row.
9837
98382017-10-27 Keith Seitz <keiths@redhat.com>
9839
9840 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9841 Test "info break" for every inlined function breakpoint.
9842
98432017-10-27 Yao Qi <yao.qi@linaro.org>
9844
9845 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9846
98472017-10-26 Patrick Frants <osscontribute@gmail.com>
9848
9849 * gdb.cp/classes.exp (test_static_members): Test printing
9850 Outer::instance.
9851 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9852 (Inner::instance, Outer::instance): New.
9853
98542017-10-24 Pedro Alves <palves@redhat.com>
9855
9856 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9857 extra console" test in two stages.
9858
98592017-10-24 Pedro Alves <palves@redhat.com>
9860
9861 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9862
98632017-10-24 Pedro Alves <palves@redhat.com>
9864
9865 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9866 loop.
9867
98682017-10-24 Pedro Alves <palves@redhat.com>
9869
9870 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9871 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9872
98732017-10-24 Pedro Alves <palves@redhat.com>
9874
9875 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9876 parameter and handle it. Don't output read value in test name.
9877
98782017-10-24 Pedro Alves <palves@redhat.com>
9879
9880 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9881 custom test name.
9882
98832017-10-24 Pedro Alves <palves@redhat.com>
9884
9885 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9886 include the unstable output directory name in the test's name.
9887 (initial_setup_simple) <'set args'>: Use custom test name.
9888
98892017-10-24 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9892 with explicit test name.
9893
98942017-10-20 Pedro Alves <palves@redhat.com>
9895
9896 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9897 'wait -i'. Use gdb_assert and remote_close.
9898
98992017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9900
9901 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9902 number from variable rather than hard-coded.
9903
99042017-10-19 Pedro Alves <palves@redhat.com>
9905
9906 * gdb.base/long-inferior-output.c: New file.
9907 * gdb.base/long-inferior-output.exp: New file.
9908
99092017-11-18 Keith Seitz <keiths@redhat.com>
9910
9911 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9912 method.
9913 (main): Call it.
9914 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9915 Add additional user-defined conversion operator tests.
9916
99172017-10-17 Pedro Alves <palves@redhat.com>
9918
9919 * boards/native-stdio-gdbserver.exp: Load "local-board".
9920
99212017-10-17 Pedro Alves <palves@redhat.com>
9922
9923 * gdb.base/quit-live.c: New file.
9924 * gdb.base/quit-live.exp: New file.
9925
99262017-10-16 Keith Seitz <keiths@redhat.com>
9927
9928 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9929 (class_with_protected_typedef, class_with_private_typedef)
9930 (struct_with_public_typedef, struct_with_protected_typedef)
9931 (struct_with_private_typedef): New classes/structs.
9932 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9933 typedefs and access specifiers.
9934
99352017-10-16 Pedro Alves <palves@redhat.com>
9936 Simon Marchi <simon.marchi@polymtl.ca>
9937
9938 * README (Local vs Remote vs Native): New section.
9939 * boards/local-board.exp: New file, with bits factored out from
9940 ...
9941 * boards/native-extended-gdbserver.exp: ... here. Load
9942 "local-board".
9943 * boards/native-gdbserver.exp: Load "local-board".
9944 (${board}_spawn, ${board}_exec): Delete.
9945 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9946 ...
9947 * boards/stdio-gdbserver-base.exp: ... this new file.
9948 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9949 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9950 procedure.
9951 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9952 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9953 stdio_gdbserver_command.
9954 (${board}_get_remote_address, ${board}_get_comm_port)
9955 (${board}_download, ${board}_upload): Delete.
9956 (get_target_remote_pipe_cmd): New.
9957
99582017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9959
9960 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9961 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9962 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9963 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9964 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9965 remove with_test_prefix.
9966
99672017-10-13 Pedro Alves <palves@redhat.com>
9968
9969 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9970 * gdb.base/annota1.exp: Use it instead of is_remote.
9971 * gdb.base/annota3.exp: Use it instead of is_remote.
9972 * gdb.cp/annota2.exp: Use it instead of is_remote.
9973 * gdb.cp/annota3.exp: Use it instead of is_remote.
9974 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9975
99762017-10-13 Pedro Alves <palves@redhat.com>
9977
9978 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9979 (test_num_test_vars, run_and_count_vars, find_env)
9980 (test_set_unset_env, test_inherit_env_var): New procedures.
9981 (top level): Use them.
9982
99832017-10-13 Pedro Alves <palves@redhat.com>
9984
9985 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9986 also skip on stub-like targets.
9987
99882017-10-13 Pedro Alves <palves@redhat.com>
9989
9990 PR gdb/22293
9991 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9992 (top level): Move some tests to ...
9993 (test_not_found): ... this new procedure.
9994 (top level): Call it.
9995
99962017-10-13 Pedro Alves <palves@redhat.com>
9997
9998 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9999 expect different "info terminal" output if testing with a
10000 non-native target.
10001
100022017-10-13 Pedro Alves <palves@redhat.com>
10003 Simon Marchi <simon.marchi@polymtl.ca>
10004
10005 PR python/12966
10006 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10007
100082017-10-13 Pedro Alves <palves@redhat.com>
10009
10010 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10011 already.
10012
100132017-10-13 Pedro Alves <palves@redhat.com>
10014
10015 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10016 is_remote.
10017
100182017-10-13 Pedro Alves <palves@redhat.com>
10019
10020 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10021 is_remote.
10022
100232017-10-13 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10026 is set.
10027 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10028 instead of is_remote.
10029
100302017-10-13 Pedro Alves <palves@redhat.com>
10031
10032 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10033 (top level): Add comment.
10034
100352017-10-13 Pedro Alves <palves@redhat.com>
10036
10037 * gdb.base/remote.exp (top level): Fix comment typo and add
10038 missing return.
10039
100402017-10-13 Pedro Alves <palves@redhat.com>
10041 Simon Marchi <simon.marchi@polymtl.ca>
10042
10043 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10044 calls and add comments. Skip test if use_gdb_stub is set.
10045 (top level): Use "set cwd" command instead of "cd" command.
10046
100472017-10-13 Pedro Alves <palves@redhat.com>
10048
10049 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10050 is_remote target check.
10051
100522017-10-13 Pedro Alves <palves@redhat.com>
10053
10054 * gdb.base/scope.exp: Use build_executable + clean_restart +
10055 gdb_file_cmd instead of prepare_for_testing and no longer skip
10056 "before run" tests on is_remote target boards. Update comments.
10057 * boards/native-extended-gdbserver.exp
10058 (extended_gdbserver_load_last_file): New, factored out from ...
10059 (gdb_load): ... this. Move further below and add comment.
10060 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10061
100622017-10-12 Pedro Alves <palves@redhat.com>
10063
10064 * gdb.base/attach.exp: Remove references to gdb64.
10065 * gdb.base/dbx.exp: Remove references to gdb64.
10066
100672017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10068 Pedro Alves <palves@redhat.com>
10069
10070 * gdb.base/label.exp: Remove is_remote target check.
10071
100722017-10-12 Pedro Alves <palves@redhat.com>
10073
10074 * gdb.base/auvx.exp (coredir): Update comment.
10075 (top level) <core_works>: Use "set cwd" command instead of "cd"
10076 command.
10077
100782017-10-12 Pedro Alves <palves@redhat.com>
10079 Simon Marchi <simon.marchi@polymtl.ca>
10080
10081 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10082 target boards.
10083
100842017-10-12 Pedro Alves <palves@redhat.com>
10085 Simon Marchi <simon.marchi@polymtl.ca>
10086
10087 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10088 Instead skip if there's any gdb_protocol set.
10089
100902017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10091 Pedro Alves <palves@redhat.com>
10092
10093 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10094
100952017-10-12 Pedro Alves <palves@redhat.com>
10096 Simon Marchi <simon.marchi@polymtl.ca>
10097
10098 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10099 instead of on dejagnu remote boards.
10100
101012017-10-12 Pedro Alves <palves@redhat.com>
10102 Simon Marchi <simon.marchi@polymtl.ca>
10103
10104 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10105 checks. Use build_executable + clean_restart instead of
10106 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10107 of enabling non-stop after starting gdb.
10108
101092017-10-12 Pedro Alves <palves@redhat.com>
10110
10111 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10112 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10113 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10114 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10115
101162017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10117
10118 * gdb.arch/arc-tdesc-cpu.exp: New file.
10119 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10120
101212017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10122
10123 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10124
101252017-10-10 Pedro Alves <palves@redhat.com>
10126
10127 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10128 expect CLI output.
10129
101302017-10-10 Pedro Alves <palves@redhat.com>
10131
10132 * lib/selftest-support.exp (selftest_setup): Update for
10133 captured_command_loop's prototype change.
10134
101352017-10-09 Pedro Alves <palves@redhat.com>
10136
10137 Test both arch1=>arch2 and arch2=>arch1.
10138
10139 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10140 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10141 factored out to...
10142 (append_arch1_options, append_arch2_options, append_arch_options)
10143 (build_executables): New procedures.
10144 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10145 local.
10146 (top level): Add new 'first_arch' testing axis.
10147
101482017-10-09 Pedro Alves <palves@redhat.com>
10149
10150 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10151 (barrier): New.
10152 (thread_start, all_started): New functions.
10153 (main): Spawn new thread and wait until it is scheduled.
10154 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10155 option.
10156 (do_test): Add 'selected_thread' parameter. Run to all_started
10157 instead of main. Explicitly set the breakpoint at main. Switch
10158 to the SELECTED_THREAD thread.
10159 (top level): Test handling the exec event with either the main
10160 thread or the second thread selected.
10161
101622017-10-09 Pedro Alves <palves@redhat.com>
10163
10164 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10165 logic. Move STOP marker after the value checks.
10166 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10167 regexp.
10168
101692017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10170
10171 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10172
101732017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10174
10175 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10176 integer-to-dfp conversion.
10177 * gdb.base/dfp-test.exp: Likewise.
10178
101792017-10-04 Pedro Alves <palves@redhat.com>
10180
10181 * gdb.multi/hangout.c: Include <unistd.h>.
10182 (hangout_loop): New function.
10183 (main): Call alarm. Call hangout_loop in a loop.
10184 * gdb.multi/hello.c: Include <unistd.h>.
10185 (hello_loop): New function.
10186 (main): Call alarm. Call hangout_loop in a loop.
10187 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10188 inferior with the other selected.
10189
101902017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10191
10192 * gdb.mi/list-thread-groups-available.exp: New file.
10193 * gdb.mi/list-thread-groups-available.c: New file.
10194
101952017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10196
10197 * gdb.base/set-cwd.exp: Make it available on
10198 native-extended-gdbserver.
10199
102002017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10201
10202 * gdb.base/set-cwd.c: New file.
10203 * gdb.base/set-cwd.exp: Likewise.
10204
102052017-10-02 Tom Tromey <tom@tromey.com>
10206
10207 PR rust/22236:
10208 * gdb.rust/simple.rs (main): New variable "fslice".
10209 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10210
102112017-10-02 Tom Tromey <tom@tromey.com>
10212
10213 * gdb.rust/simple.exp: Test ptype of a slice.
10214
102152017-10-02 Tom Tromey <tom@tromey.com>
10216
10217 * gdb.rust/simple.exp: Test index of slice.
10218
102192017-09-27 Tom Tromey <tom@tromey.com>
10220
10221 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10222
102232017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10224 Pedro Alves <palves@redhat.com>
10225
10226 * gdb.base/compare-sections.exp (get value of read-only section): Read
10227 as unsigned value.
10228 (corrupt read-only section): Likewise and don't set written if patching
10229 failed.
10230
102312017-09-21 Kevin Buettner <kevinb@redhat.com>
10232
10233 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10234 files.
10235
102362017-09-20 Pedro Alves <palves@redhat.com>
10237
10238 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10239 symbol names in gdb's output.
10240 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10241
102422017-09-20 Pedro Alves <palves@redhat.com>
10243
10244 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10245 Rename to ...
10246 (test_list_ambiguous_symbol): ... this and add a symbol name
10247 parameter. Adjust.
10248 (test_list_ambiguous_function): Reimplement on top of
10249 test_list_ambiguous_symbol and also test listing ambiguous
10250 variables.
10251 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10252 (ambiguous_fun): ... this.
10253 (ambiguous_var): New.
10254 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10255 (ambiguous_fun): ... this.
10256 (ambiguous_var): New.
10257
102582017-09-19 John Baldwin <jhb@FreeBSD.org>
10259
10260 * gdb.base/starti.c: New file.
10261 * gdb.base/starti.exp: New file.
10262 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10263
102642017-09-14 Pedro Alves <palves@redhat.com>
10265
10266 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10267 (top level): Use it instead of runto.
10268
102692017-09-11 Tom Tromey <tom@tromey.com>
10270
10271 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10272
102732017-09-11 Tom Tromey <tom@tromey.com>
10274
10275 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10276 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10277
102782017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10279
10280 * gdb.fortran/printing-types.exp: New file.
10281 * gdb.fortran/printing-types.exp: New file.
10282
102832017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10284
10285 * gdb.fortran/vla-ptype.exp: Fix typos.
10286 * gdb.fortran/vla-value.exp: Same.
10287
102882017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10289
10290 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10291 * gdb.mi/mi-var-child-f.exp: Likewise.
10292 * gdb.mi/mi-vla-fortran.exp: Likewise.
10293
102942017-09-08 Frank Penczek <frank.penczek@intel.com>
10295 Christoph Weinmann <christoph.t.weinmann@intel.com>
10296 Bernhard Heckel <bernhard.heckel@intel.com>
10297
10298 * gdb.fortran/ptr-indentation.f90: New file.
10299 * gdb.fortran/ptr-indentation.exp: New file.
10300
103012017-09-05 Tom Tromey <tom@tromey.com>
10302
10303 PR gdb/22010:
10304 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10305
103062017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10307
10308 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10309
103102017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10311
10312 * gdb.threads/tls-nodebug-pie.c: New file.
10313 * gdb.threads/tls-nodebug-pie.exp: New file.
10314
103152017-09-05 Tom Tromey <tom@tromey.com>
10316
10317 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10318 for rust.
10319
103202017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10321
10322 * gdb.multi/multi-arch-exec.exp: Test with different
10323 "follow-exec-mode" settings.
10324 (do_test): New procedure.
10325
103262017-09-04 Pedro Alves <palves@redhat.com>
10327
10328 * gdb.base/func-static.c (S::method const, S::method volatile)
10329 (S::method volatile const): New methods.
10330 (c_s, v_s, cv_s): New instances.
10331 (main): Call method() on them.
10332 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10333 (cannot_resolve): New procedure.
10334 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10335 print-quote-unquoted columns.
10336 (do_test): Test printing each scope too.
10337
103382017-09-04 Pedro Alves <palves@redhat.com>
10339
10340 * gdb.base/local-static.exp: Also test with
10341 class::method::variable wholly quoted.
10342 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10343
103442017-09-04 Pedro Alves <palves@redhat.com>
10345
10346 * gdb.base/local-static.c: New.
10347 * gdb.base/local-static.cc: New.
10348 * gdb.base/local-static.exp: New.
10349
103502017-09-04 Pedro Alves <palves@redhat.com>
10351
10352 * gdb.asm/asm-source.exp: Add casts to int.
10353 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10354 (dataglobal64_1, dataglobal64_2): New globals.
10355 * gdb.base/nodebug.exp: Test different expressions involving the
10356 new globals, with print, whatis and ptype. Add casts to int.
10357 * gdb.base/solib-display.exp: Add casts to int.
10358 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10359 * gdb.cp/m-static.exp: Add cast to int.
10360 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10361 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10362 tls variable with no debug info without a cast. Test with a cast
10363 to int too.
10364 * gdb.trace/entry-values.exp: Add casts.
10365
103662017-09-04 Pedro Alves <palves@redhat.com>
10367
10368 * gdb.base/nodebug.exp: Test that ptype's error about functions
10369 with unknown return type includes the function name too.
10370
103712017-09-04 Pedro Alves <palves@redhat.com>
10372
10373 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10374 return type of munmap in infcall.
10375 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10376 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10377 type of ftell in infcall.
10378 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10379 type of getpid in infcall.
10380 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10381 infcall.
10382 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10383 Bail on failure to extract the pid.
10384 * gdb.base/nodebug.c: #include <stdint.h>.
10385 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10386 New functions.
10387 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10388 Change expected output of print/whatis/ptype with functions with
10389 no debug info. Test all supported languages. Call
10390 test_call_promotion.
10391 * gdb.compile/compile.exp: Adjust expected output to expect
10392 warning.
10393 * gdb.threads/siginfo-threads.exp: Likewise.
10394
103952017-09-04 Pedro Alves <palves@redhat.com>
10396
10397 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10398 "prototypes". Test calling float functions via prototyped and
10399 unprototyped function pointers.
10400 (perform_all_tests): New parameter "prototypes". Pass it down.
10401 (top level): Pass down "prototypes" parameter to
10402 perform_all_tests.
10403
104042017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10405
10406 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10407 Test with nested loops.
10408
104092017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10410
10411 * gdb.base/commands.exp: Call the new procedures.
10412 (loop_break_test, loop_continue_test): New procedures.
10413
104142017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10415
10416 * gdb.base/commands.exp: Call new procedure.
10417 (define_if_without_arg_test): New procedure.
10418
104192017-09-04 Pedro Alves <palves@redhat.com>
10420
10421 * gdb.base/list-ambiguous.exp: New file.
10422 * gdb.base/list-ambiguous0.c: New file.
10423 * gdb.base/list-ambiguous1.c: New file.
10424 * gdb.base/list.exp (test_list_range): Adjust expected output.
10425
104262017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10427
10428 * gdb.base/share-env-with-gdbserver.c: New file.
10429 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10430
104312017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10432
10433 * gdb.base/commands.exp (gdbvar_simple_if_test,
10434 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10435 progvar_simple_if_test, progvar_simple_while_test,
10436 progvar_complex_if_while_test, user_defined_command_test,
10437 user_defined_command_args_eval,
10438 user_defined_command_args_stack_test,
10439 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10440 temporary_breakpoint_commands,
10441 gdb_test_no_prompt, redefine_hook_test,
10442 redefine_backtrace_test): Remove "global gdb_prompt".
10443
104442017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10445
10446 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10447 New proc, call it from toplevel.
10448
104492017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10450
10451 PR remote/21852
10452 * gdb.server/normal.c: New file, copied from gdb.base.
10453 * gdb.server/run-without-local-binary.exp: New file.
10454
104552017-08-07 Weimin Pan <weimin.pan@oracle.com>
10456
10457 * gdb.arch/sparc64-adi.exp: New file.
10458 * gdb.arch/sparc64-adi.c: New file.
10459
104602017-08-22 Pedro Alves <palves@redhat.com>
10461
10462 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10463 (top level): Add "list all overloads" tests.
10464
104652017-08-22 Tom Tromey <tom@tromey.com>
10466
10467 * gdb.gdb/xfullpath.exp: Remove.
10468
104692017-08-21 Pedro Alves <palves@redhat.com>
10470
10471 PR gdb/19487
10472 * gdb.base/symbol-alias.c: New.
10473 * gdb.base/symbol-alias2.c: New.
10474 * gdb.base/symbol-alias.exp: New.
10475
104762017-08-21 Pedro Alves <palves@redhat.com>
10477
10478 * gdb.base/dfp-test.c
10479 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10480 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10481 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10482 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10483 * gdb.base/whatis-ptype-typedefs.c: New.
10484 * gdb.base/whatis-ptype-typedefs.exp: New.
10485 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10486 (an_int, an_int_type, an_int_type2): New globals.
10487 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10488 involving typedefs and cast expressions.
10489 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10490 (lookup_typedefs_function): New.
10491 (typedefs_pretty_printers_dict): New.
10492 (top level): Register lookup_typedefs_function in
10493 gdb.pretty_printers.
10494
104952017-08-18 Yao Qi <yao.qi@linaro.org>
10496
10497 * gdb.server/unittest.exp: New.
10498
104992017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10500
10501 PR gdb/21954
10502 * gdb.base/environ.exp: Add test to check if 'unset environment'
10503 works.
10504
105052017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10506
10507 * lib/gdb.exp (universal_compile_options): New caching proc.
10508 (gdb_compile): Suppress GCC's coloring of messages.
10509
105102017-08-14 Tom Tromey <tom@tromey.com>
10511
10512 PR gdb/21675:
10513 * gdb.base/printcmds.exp (test_radices): New function.
10514 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10515 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10516 * lib/gdb.exp (get_integer_valueof): Use p/d.
10517
105182017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10519
10520 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10521 characters.
10522
105232017-08-05 Tom Tromey <tom@tromey.com>
10524
10525 * gdb.rust/simple.exp: Allow String to appear in a different
10526 namespace.
10527
105282017-07-26 Yao Qi <yao.qi@linaro.org>
10529
10530 * gdb.gdb/unittest.exp: Invoke command
10531 "maintenance check xml-descriptions".
10532
105332017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10534
10535 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10536 calling context.
10537 (hex128): Drop erroneous calculation of parameters.
10538
105392017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10540
10541 * gdb.python/py-unwind.exp: Disable stack protection when
10542 building test file.
10543
105442017-07-20 Pedro Alves <palves@redhat.com>
10545
10546 * gdb.base/default.exp (set language): Adjust expected output.
10547
105482017-07-20 Pedro Alves <palves@redhat.com>
10549
10550 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10551 (test_minsym): ... this, and make static.
10552 (get_pck__foo__bar__minsym): Rename to ...
10553 (get_test_minsym): ... this.
10554 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10555 symbol names and comments.
10556 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10557 (get_test_minsym): ... this.
10558 (pck__foo__bar__minsym__2): Rename to ...
10559 (test_minsym): ... this.
10560 (main): Adjust.
10561
105622017-07-17 Pedro Alves <palves@redhat.com>
10563
10564 * gdb.base/completion.exp: Adjust expected output.
10565 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10566 the completer works.
10567
105682017-07-17 Pedro Alves <palves@redhat.com>
10569
10570 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10571
105722017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10573
10574 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10575
105762017-07-14 Tom Tromey <tom@tromey.com>
10577
10578 PR rust/21764:
10579 * gdb.rust/simple.exp: Add tests.
10580
105812017-07-14 Tom Tromey <tom@tromey.com>
10582
10583 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10584
105852017-07-14 Pedro Alves <palves@redhat.com>
10586
10587 * gdb.linespec/base/one/thefile.cc (z1): New function.
10588 * gdb.linespec/base/two/thefile.cc (z2): New function.
10589 * gdb.linespec/linespec.exp: Add tests.
10590
105912017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10592
10593 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10594 to mi_create_breakpoint.
10595
105962017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10597
10598 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10599 mi_create_breakpoint.
10600
106012017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10602
10603 * gdb.dlang/demangle.exp: Update for demangling changes.
10604
106052017-07-09 Tom Tromey <tom@tromey.com>
10606
10607 * gdb.dwarf2/shortpiece.exp: New file.
10608
106092017-07-06 David Blaikie <dblaikie@gmail.com>
10610
10611 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10612 built from fissiont-multi-cu{1,2}.c.
10613 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10614 except putting 'main' and 'func' in separate CUs in the same DWO file.
10615 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10616 test.
10617 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10618 test.
10619
106202017-07-06 Pedro Alves <palves@redhat.com>
10621
10622 * gdb.python/py-unwind.exp: Test flushregs.
10623
106242017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10625
10626 PR cli/21688
10627 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10628 tests for alias commands and trailing whitespace.
10629
106302017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10631
10632 PR cli/21688
10633 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10634 procedure. Call it.
10635
106362017-06-29 Pedro Alves <palves@redhat.com>
10637
10638 * gdb.base/printcmds.exp: Add tests.
10639
106402017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10641
10642 PR gdb/21337
10643 * gdb.base/reread-readsym.exp: New file.
10644 * gdb.base/reread-readsym.c: New file.
10645
106462017-06-21 Kevin Buettner <kevinb@redhat.com>
10647
10648 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10649 subpattern.
10650
106512017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10652
10653 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10654 extended mnemonic.
10655 * gdb.arch/powerpc-power9.s: Likewise.
10656
106572017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10658
10659 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10660 on 32-bit x86 targets. Exploit is_*_target macros where
10661 appropriate.
10662
106632017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10664
10665 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10666 register pieces.
10667
106682017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10669
10670 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10671 located in one or more DWARF pieces.
10672
106732017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10674
10675 * lib/gdb.exp (get_endianness): New proc.
10676 * gdb.arch/aarch64-fp.exp: Use it.
10677 * gdb.arch/altivec-regs.exp: Likewise.
10678 * gdb.arch/e500-regs.exp: Likewise.
10679 * gdb.arch/vsx-regs.exp: Likewise.
10680 * gdb.base/dump.exp: Likewise.
10681 * gdb.base/funcargs.exp: Likewise.
10682 * gdb.base/gnu_vector.exp: Likewise.
10683 * gdb.dwarf2/formdata16.exp: Likewise.
10684 * gdb.dwarf2/implptrpiece.exp: Likewise.
10685 * gdb.dwarf2/nonvar-access.exp: Likewise.
10686 * gdb.python/py-inferior.exp: Likewise.
10687 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10688
106892017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10690
10691 PR gdb/21226
10692 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10693 stack value pieces are taken from the LSB end.
10694
106952017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10696
10697 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10698 variable at nonzero offset.
10699
107002017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10701
10702 * gdb.dwarf2/var-access.c: New file.
10703 * gdb.dwarf2/var-access.exp: New test.
10704 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10705
107062017-06-12 Tom Tromey <tom@tromey.com>
10707
10708 * gdb.dwarf2/formdata16.exp: Add tests.
10709
107102017-06-12 Tom Tromey <tom@tromey.com>
10711
10712 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10713
107142017-06-12 Tom Tromey <tom@tromey.com>
10715
10716 PR exp/16225:
10717 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10718 * gdb.arch/vsx-regs.exp: Update tests.
10719 * gdb.arch/s390-vregs.exp (hex128): New proc.
10720 Update test.
10721 * gdb.arch/altivec-regs.exp: Update tests.
10722
107232017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10724
10725 * gdb.base/startup-with-shell.c: New file.
10726 * gdb.base/startup-with-shell.exp: Likewise.
10727
107282017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10729
10730 * gdb.server/non-existing-program.exp: Update regex in order to
10731 reflect the fact that gdbserver is now using fork_inferior (with a
10732 shell) to startup the inferior.
10733
107342017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10735
10736 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10737 support function calls from GDB.
10738
107392017-05-21 Tom Tromey <tom@tromey.com>
10740
10741 PR rust/21466:
10742 * gdb.rust/unsized.exp: New file.
10743 * gdb.rust/unsized.rs: New file.
10744
107452017-05-19 Tom Tromey <tom@tromey.com>
10746
10747 PR rust/21484:
10748 * gdb.rust/watch.exp: New file.
10749 * gdb.rust/watch.rs: New file.
10750
107512017-05-18 Tom Tromey <tom@tromey.com>
10752
10753 * gdb.rust/simple.exp: Allow Box to be qualified.
10754
107552017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10756
10757 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10758
107592017-05-18 Pedro Alves <palves@redhat.com>
10760
10761 * gdb.base/fileio.c (test_write, test_read, test_close)
10762 (test_fstat): Don't print 'ret' in the fail path.
10763
107642017-05-18 Pedro Alves <palves@redhat.com>
10765
10766 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10767 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10768 (test_system, test_rename, test_unlink, test_time): Change
10769 prototypes.
10770 * gdb.base/fileio.exp (stop_msg): Adjust.
10771
107722017-05-18 Pedro Alves <palves@redhat.com>
10773
10774 * gdb.base/fileio.c (null_str): New global.
10775 (test_stat): Use it.
10776 * gdb.base/fileio.exp: Remove nowarnings.
10777
107782017-05-17 Yao Qi <yao.qi@linaro.org>
10779
10780 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10781
107822017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10783
10784 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10785 argument command.
10786 (top-level): Invoke test_set_inferior_tty.
10787
107882017-05-04 Pedro Alves <palves@redhat.com>
10789
10790 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10791 Add parens to print call for Python 3.
10792
107932017-05-03 Keith Seitz <keiths@redhat.com>
10794
10795 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10796 (main): Call it.
10797
107982017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10799
10800 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10801 to prev and next.
10802
108032017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10804
10805 * gdb.python/py-record-btrace.exp: Remove test for
10806 gdb.BtraceInstruction.error.
10807
108082017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10809
10810 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10811
108122017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10813
10814 * gdb.python/py-record-btrace-threads.c: New file.
10815 * gdb.python/py-record-btrace-threads.exp: New file.
10816
108172017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10818
10819 PR testsuite/8595
10820 * gdb.base/environ.exp: Make test available in all architectures.
10821 Move bits related to "info program" testing to
10822 gdb.base/info-program.exp. Rewrite tests to use the two new
10823 procedures mentione below.
10824 (test_set_show_env_var) New procedure.
10825 (test_set_show_env_var_equal): Likewise.
10826 * gdb.base/info-program.exp: New file.
10827
108282017-04-27 Keith Seitz <keiths@redhat.com>
10829
10830 * gdb.cp/oranking.cc (test15): New function.
10831 (main): Call test15 and declare additional variables for testing.
10832 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10833 "p foo101('abc')" tests.
10834 Add tests for cv qualifier overloads.
10835 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10836 "lvalue reference overload" test.
10837 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10838 "print value of f1 on Child&& in f2" test.
10839
108402017-04-19 Pedro Alves <palves@redhat.com>
10841
10842 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10843 procedure.
10844 (top level): Call it.
10845 * lib/gdb.exp (gdb_define_cmd): New procedure.
10846
108472017-04-12 Pedro Alves <palves@redhat.com>
10848
10849 PR gdb/21323
10850 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10851 (wchar): New global.
10852 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10853 (do_test_wide_char, wide_char_types_no_program, top level): Add
10854 wchar_t testing.
10855
108562017-04-12 Pedro Alves <palves@redhat.com>
10857
10858 PR c++/21323
10859 * gdb.cp/wide_char_types.c: New file.
10860 * gdb.cp/wide_char_types.exp: New file.
10861
108622017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10863
10864 PR gdb/21352
10865 * gdb.trace/tsv.exp: Add test for "tsave -r".
10866
108672017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10868
10869 * gdb.dlang/watch-loc.c: New file.
10870 * gdb.dlang/watch-loc.exp: New file.
10871
108722017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10873
10874 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10875
108762017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10877
10878 * gdb.arch/arc-analyze-prologue.S: New file.
10879 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10880
108812017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10882
10883 * gdb.arch/arc-decode-insn.S: New file.
10884 * gdb.arch/arc-decode-insn.exp: Likewise.
10885
108862017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10887
10888 PR tdep/20928
10889 * gdb.arch/sparc64-regs.exp: New file.
10890 * gdb.arch/sparc64-regs.S: Likewise.
10891
108922017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10893
10894 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10895 and memory view on Python 3.
10896
108972017-03-20 Artemiy Volkov <artemiyv@acm.org>
10898 Keith Seitz <keiths@redhat.com>
10899
10900 PR gdb/14441
10901 * gdb.cp/demangle.exp: Add rvalue reference tests.
10902 * gdb.cp/rvalue-ref-casts.cc: New file.
10903 * gdb.cp/rvalue-ref-casts.exp: New file.
10904 * gdb.cp/rvalue-ref-overload.cc: New file.
10905 * gdb.cp/rvalue-ref-overload.exp: New file.
10906 * gdb.cp/rvalue-ref-params.cc: New file.
10907 * gdb.cp/rvalue-ref-params.exp: New file.
10908 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10909 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10910 * gdb.cp/rvalue-ref-types.cc: New file.
10911 * gdb.cp/rvalue-ref-types.exp: New file.
10912 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10913 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10914
109152017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10916
10917 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10918 New procedure.
10919
109202017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10921
10922 * lib/mi-support.exp (mi_gdb_test): Add additional message
10923 for unexpected output.
10924
109252017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10926
10927 * gdb.base/examine-backward.c (Barrier): New character array
10928 constant, to ensure that TestStrings is preceded by a string
10929 terminator.
10930
109312017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10932
10933 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10934 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10935 and implicit pointer into such a location.
10936
109372017-03-16 Doug Evans <dje@google.com>
10938
10939 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10940
109412017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10942
10943 * gdb.cp/m-static.exp: Fix expectation for prototype of
10944 test5.single_constructor and single_constructor::single_constructor.
10945
109462017-03-16 Doug Evans <dje@google.com>
10947
10948 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10949 * gdb.guile/scm-lazy-string.c: New file.
10950 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10951 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10952 for pointer, array, typedef lazy strings.
10953
109542017-03-16 Doug Evans <dje@google.com>
10955
10956 PR python/17728, python/18439, python/18779
10957 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10958 * gdb.python/py-lazy-string.c (pointer): New typedef.
10959 (main): New locals ptr, array, typedef_ptr.
10960 * gdb.python/py-value.exp: Move lazy string tests to ...
10961 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10962 array, typedef lazy strings.
10963
109642017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10965
10966 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10967 Add optional 'test' parameter.
10968
109692017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10970
10971 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10972 Skip for versions of DejaGnu < 1.5.
10973
109742017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10975
10976 * lib/gdb.exp (dejagnu_version): New proc.
10977 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10978 Use dejagnu_version.
10979
109802017-03-10 Keith Seitz <keiths@redhat.com>
10981
10982 PR c++/8128
10983 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10984 type from destructor regexps.
10985 Add a branch which actually passes the test.
10986 Adjust "ptype t5i" test names.
10987
109882017-03-08 Pedro Alves <palves@redhat.com>
10989
10990 * gdb.base/step-over-exit.exp: Add explicit test message.
10991
109922017-03-08 Pedro Alves <palves@redhat.com>
10993
10994 PR gdb/18360
10995 * gdb.threads/interrupt-while-step-over.c: New file.
10996 * gdb.threads/interrupt-while-step-over.exp: New file.
10997
109982017-03-08 Pedro Alves <palves@redhat.com>
10999
11000 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11001 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11002
110032017-03-08 Pedro Alves <palves@redhat.com>
11004
11005 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11006 PKRU as not supported as a PASS.
11007
110082017-03-08 Pedro Alves <palves@redhat.com>
11009
11010 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11011 prefix instead of $binfile1/$binfile2.
11012 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11013 in test message.
11014 * gdb.python/py-completion.exp: Use "load python file" as test
11015 messages instead of unstable path names.
11016
110172017-03-08 Pedro Alves <palves@redhat.com>
11018 Jan Kratochvil <jan.kratochvil@redhat.com>
11019
11020 PR cli/21218
11021 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11022 New proc.
11023 (top level): Call it.
11024
110252017-03-08 Pedro Alves <palves@redhat.com>
11026
11027 PR tui/21216
11028 * gdb.tui/tui-nl-filtered-output.exp: New file.
11029
110302017-03-08 Pedro Alves <palves@redhat.com>
11031
11032 * gdb.base/completion.exp: Move TUI completion tests to ...
11033 * gdb.tui/completion.exp: ... this new file.
11034
110352017-03-08 Pedro Alves <palves@redhat.com>
11036
11037 * gdb.base/tui-disasm-long-lines.c,
11038 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11039 gdb.base/tui-layout.exp: Move to ...
11040 * gdb.tui/: ... this new directory.
11041
110422017-03-07 Pedro Alves <palves@redhat.com>
11043
11044 * gdb.base/tui-layout.c: New file.
11045 * gdb.base/tui-layout.exp: New file.
11046
110472017-03-07 Pedro Alves <palves@redhat.com>
11048
11049 * gdb.base/tui-layout.c: Rename to ...
11050 * gdb.base/tui-disasm-long-lines.c: ... this.
11051 * gdb.base/tui-layout.exp: Rename to ...
11052 * gdb.base/tui-disasm-long-lines.exp: ... this.
11053
110542017-03-07 Pedro Alves <palves@redhat.com>
11055
11056 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11057
110582017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11059
11060 * i386-mpx-call.c: New file.
11061 * i386-mpx-call.exp: New file.
11062
110632017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11064
11065 * gdb.arch/powerpc-power.exp: Delete test.
11066 * gdb.arch/powerpc-power.s: Likewise.
11067 * gdb.disasm/disassembler-options.exp: New test.
11068 * gdb.arch/powerpc-altivec.exp: Likewise.
11069 * gdb.arch/powerpc-altivec.s: Likewise.
11070 * gdb.arch/powerpc-altivec2.exp: Likewise.
11071 * gdb.arch/powerpc-altivec2.s: Likewise.
11072 * gdb.arch/powerpc-altivec3.exp: Likewise.
11073 * gdb.arch/powerpc-altivec3.s: Likewise.
11074 * gdb.arch/powerpc-power7.exp: Likewise.
11075 * gdb.arch/powerpc-power7.s: Likewise.
11076 * gdb.arch/powerpc-power8.exp: Likewise.
11077 * gdb.arch/powerpc-power8.s: Likewise.
11078 * gdb.arch/powerpc-power9.exp: Likewise.
11079 * gdb.arch/powerpc-power9.s: Likewise.
11080 * gdb.arch/powerpc-vsx.exp: Likewise.
11081 * gdb.arch/powerpc-vsx.s: Likewise.
11082 * gdb.arch/powerpc-vsx2.exp: Likewise.
11083 * gdb.arch/powerpc-vsx2.s: Likewise.
11084 * gdb.arch/powerpc-vsx3.exp: Likewise.
11085 * gdb.arch/powerpc-vsx3.s: Likewise.
11086 * gdb.arch/arm-disassembler-options.exp: Likewise.
11087 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11088 * gdb.arch/s390-disassembler-options.exp: Likewise.
11089
110902017-02-23 Luis Machado <lgustavo@codesourcery.com>
11091
11092 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11093 (check_supported_features): ... this. Changed return type to void.
11094 (supports_rdseed): New static global.
11095 (rdseed): Check supports_rdseed.
11096 (initialize): Call check_supported_features.
11097
110982017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11099
11100 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11101 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11102 and lqarx/stqcx.
11103 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11104 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11105
111062017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11107
11108 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11109 uppercase.
11110
111112017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11112
11113 * gdb.dwarf2/formdata16.c: New file.
11114 * gdb.dwarf2/formdata16.exp: New file.
11115 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11116
111172017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11118
11119 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11120 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11121 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11122 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11123 DW_AT_GNU_*.
11124
111252017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11126
11127 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11128
111292017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11130
11131 PR gdb/21164
11132 * gdb.base/maint.exp: Add testcases for when the commands do
11133 not have arguments.
11134
111352017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11136
11137 * gdb.cp/chained-calls.exp: Use p instead of P.
11138
111392017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11140
11141 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11142 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11143
111442017-02-14 Tom Tromey <tom@tromey.com>
11145
11146 PR python/13598:
11147 * gdb.python/py-events.exp: Add before_prompt event tests.
11148
111492017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11150
11151 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11152
111532017-02-13 Luis Machado <lgustavo@codesourcery.com>
11154
11155 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11156 (main): Call my_unique_function_name.
11157 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11158 completion of patterns with a single match.
11159 Add missing -re switches to gdb_test_multiple calls.
11160
111612017-02-13 Luis Machado <lgustavo@codesourcery.com>
11162
11163 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11164 return if core file is not recognized.
11165
111662017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11167
11168 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11169 and extra UIs.
11170
111712017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11172
11173 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11174 proc_with_prefix.
11175
111762017-02-10 Tom Tromey <tom@tromey.com>
11177
11178 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11179
111802017-02-10 Martin Galvan <martingalvan@sourceware.org>
11181
11182 PR gdb/21122
11183 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11184
111852017-02-08 Jerome Guitton <guitton@adacore.com>
11186
11187 * gdb.base/define.exp: Add test for command abbreviations
11188 in define.
11189
111902017-02-06 Luis Machado <lgustavo@codesourcery.com>
11191
11192 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11193 * gdb.reverse/insn-reverse-x86.c: New file.
11194
111952017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11196
11197 PR tdep/20936
11198 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11199
112002017-02-03 Tom Tromey <tom@tromey.com>
11201
11202 PR rust/21097:
11203 * gdb.rust/simple.exp: Add new tests.
11204
112052017-02-02 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11208 tests.
11209
112102017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11211
11212 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11213 taking a 2-byte value out of a 4-byte DWARF implicit value on
11214 big-endian targets.
11215 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11216 logic. Add test cases for DW_OP_implicit.
11217
112182017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11219
11220 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11221
112222017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11223
11224 * gdb.btrace/enable.exp: Call gdb_exit before
11225 skip_gdbserver_tests.
11226
112272017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11228
11229 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11230 GDBFLAGS.
11231
112322017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11233
11234 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11235 the test is skipped.
11236 * gdb.btrace/data.exp: Likewise.
11237 * gdb.btrace/delta.exp: Likewise.
11238 * gdb.btrace/dlopen.exp: Likewise.
11239 * gdb.btrace/enable-running.exp: Likewise.
11240 * gdb.btrace/enable.exp: Likewise.
11241 * gdb.btrace/exception.exp: Likewise.
11242 * gdb.btrace/function_call_history.exp: Likewise.
11243 * gdb.btrace/gcore.exp: Likewise.
11244 * gdb.btrace/instruction_history.exp: Likewise.
11245 * gdb.btrace/multi-thread-step.exp: Likewise.
11246 * gdb.btrace/nohist.exp: Likewise.
11247 * gdb.btrace/non-stop.exp: Likewise.
11248 * gdb.btrace/reconnect.exp: Likewise.
11249 * gdb.btrace/record_goto-step.exp: Likewise.
11250 * gdb.btrace/record_goto.exp: Likewise.
11251 * gdb.btrace/rn-dl-bind.exp: Likewise.
11252 * gdb.btrace/segv.exp: Likewise.
11253 * gdb.btrace/step.exp: Likewise.
11254 * gdb.btrace/stepi.exp: Likewise.
11255 * gdb.btrace/tailcall-only.exp: Likewise.
11256 * gdb.btrace/tailcall.exp: Likewise.
11257 * gdb.btrace/tsx.exp: Likewise.
11258 * gdb.btrace/unknown_functions.exp: Likewise.
11259 * gdb.btrace/vdso.exp: Likewise.
11260
112612017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11262
11263 * gdb.btrace/enable-running.c: New.
11264 * gdb.btrace/enable-running.exp: New.
11265
112662017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11267
11268 * gdb.arch/amd64-gs_base.c: New file.
11269 * gdb.arch/amd64-gs_base.exp: New file.
11270
112712017-01-26 Luis Machado <lgustavo@codesourcery.com>
11272
11273 * lib/memory.exp: Remove spurious empty newlines.
11274
112752017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11276
11277 * gdb.python/py-bad-printers.exp: Load python file using "source".
11278 * gdb.python/py-events.exp: Likewise.
11279 * gdb.python/py-evsignal.exp: Likewise.
11280 * gdb.python/py-evthreads.exp: Likewise.
11281 * gdb.python/py-frame-args.exp: Likewise.
11282 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11283 * gdb.python/py-framefilter-mi.exp: Likewise.
11284 * gdb.python/py-framefilter.exp: Likewise.
11285 * gdb.python/py-mi.exp: Likewise.
11286 * gdb.python/py-pp-maint.exp: Likewise.
11287 * gdb.python/py-pp-registration.exp: Likewise.
11288 * gdb.python/py-prettyprint.exp: Likewise.
11289 (run_lang_tests): Likewise.
11290 * gdb.python/py-typeprint.exp: Likewise.
11291
112922017-01-26 Luis Machado <lgustavo@codesourcery.com>
11293
11294 * lib/memory.exp: New file.
11295 * lib/gdb.exp: Load memory.exp.
11296 * gdb.base/memattr.exp (delete_memory): Move proc to
11297 lib/memory.exp and rename to delete_memory_regions.
11298 Replace delete_memory with delete_memory_regions.
11299 Cleanup memory regions before tests.
11300 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11301 before tests.
11302
113032017-01-26 Luis Machado <lgustavo@codesourcery.com>
11304
11305 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11306 files.
11307 (initialize): New function conditionally defined.
11308 (testcases): Move within conditional block.
11309 (main): Call initialize.
11310 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11311 of gdb.reverse/insn-reverse.c.
11312 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11313 gdb.reverse/insn-reverse.c.
11314
113152017-01-26 Yao Qi <yao.qi@linaro.org>
11316
11317 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11318 disassemble on address 0.
11319
113202017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11321 Yao Qi <yao.qi@linaro.org>
11322
11323 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11324 * gdb.dwarf2/implptr-64bit.S: Remove.
11325 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11326 variables in caller's context. Add DW_OP_implicit_value.
11327
113282017-01-25 Yao Qi <yao.qi@linaro.org>
11329
11330 * lib/dwarf.exp (Dwarf::_location): Handle
11331 DW_OP_GNU_implicit_pointer with proper size.
11332
113332017-01-20 Luis Machado <lgustavo@codesourcery.com>
11334
11335 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11336 and add untested calls.
11337
113382017-01-20 Luis Machado <lgustavo@codesourcery.com>
11339
11340 * gdb.python/python.exp: Check line number against what GDB thinks
11341 the line number is for func1.
11342
113432017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11344
11345 * gdb.dlang/debug-expr.exp: New file.
11346
113472016-12-23 Luis Machado <lgustavo@codesourcery.com>
11348
11349 Fix test names for the following files:
11350
11351 * gdb.ada/exec_changed.exp
11352 * gdb.ada/info_types.exp
11353 * gdb.arch/aarch64-atomic-inst.exp
11354 * gdb.arch/aarch64-fp.exp
11355 * gdb.arch/altivec-abi.exp
11356 * gdb.arch/altivec-regs.exp
11357 * gdb.arch/amd64-byte.exp
11358 * gdb.arch/amd64-disp-step.exp
11359 * gdb.arch/amd64-dword.exp
11360 * gdb.arch/amd64-entry-value-inline.exp
11361 * gdb.arch/amd64-entry-value-param.exp
11362 * gdb.arch/amd64-entry-value-paramref.exp
11363 * gdb.arch/amd64-entry-value.exp
11364 * gdb.arch/amd64-i386-address.exp
11365 * gdb.arch/amd64-invalid-stack-middle.exp
11366 * gdb.arch/amd64-invalid-stack-top.exp
11367 * gdb.arch/amd64-optimout-repeat.exp
11368 * gdb.arch/amd64-prologue-skip.exp
11369 * gdb.arch/amd64-prologue-xmm.exp
11370 * gdb.arch/amd64-stap-special-operands.exp
11371 * gdb.arch/amd64-stap-wrong-subexp.exp
11372 * gdb.arch/amd64-tailcall-cxx.exp
11373 * gdb.arch/amd64-tailcall-noret.exp
11374 * gdb.arch/amd64-tailcall-ret.exp
11375 * gdb.arch/amd64-tailcall-self.exp
11376 * gdb.arch/amd64-word.exp
11377 * gdb.arch/arm-bl-branch-dest.exp
11378 * gdb.arch/arm-disp-step.exp
11379 * gdb.arch/arm-neon.exp
11380 * gdb.arch/arm-single-step-kernel-helper.exp
11381 * gdb.arch/avr-flash-qualifier.exp
11382 * gdb.arch/disp-step-insn-reloc.exp
11383 * gdb.arch/e500-abi.exp
11384 * gdb.arch/e500-regs.exp
11385 * gdb.arch/ftrace-insn-reloc.exp
11386 * gdb.arch/i386-avx512.exp
11387 * gdb.arch/i386-bp_permanent.exp
11388 * gdb.arch/i386-byte.exp
11389 * gdb.arch/i386-cfi-notcurrent.exp
11390 * gdb.arch/i386-disp-step.exp
11391 * gdb.arch/i386-dr3-watch.exp
11392 * gdb.arch/i386-float.exp
11393 * gdb.arch/i386-gnu-cfi.exp
11394 * gdb.arch/i386-mpx-map.exp
11395 * gdb.arch/i386-mpx-sigsegv.exp
11396 * gdb.arch/i386-mpx-simple_segv.exp
11397 * gdb.arch/i386-mpx.exp
11398 * gdb.arch/i386-permbkpt.exp
11399 * gdb.arch/i386-prologue.exp
11400 * gdb.arch/i386-signal.exp
11401 * gdb.arch/i386-size-overlap.exp
11402 * gdb.arch/i386-unwind.exp
11403 * gdb.arch/i386-word.exp
11404 * gdb.arch/mips-fcr.exp
11405 * gdb.arch/powerpc-d128-regs.exp
11406 * gdb.arch/powerpc-stackless.exp
11407 * gdb.arch/ppc64-atomic-inst.exp
11408 * gdb.arch/s390-stackless.exp
11409 * gdb.arch/s390-tdbregs.exp
11410 * gdb.arch/s390-vregs.exp
11411 * gdb.arch/sparc-sysstep.exp
11412 * gdb.arch/thumb-bx-pc.exp
11413 * gdb.arch/thumb-singlestep.exp
11414 * gdb.arch/thumb2-it.exp
11415 * gdb.arch/vsx-regs.exp
11416 * gdb.asm/asm-source.exp
11417 * gdb.base/a2-run.exp
11418 * gdb.base/advance.exp
11419 * gdb.base/all-bin.exp
11420 * gdb.base/anon.exp
11421 * gdb.base/args.exp
11422 * gdb.base/arithmet.exp
11423 * gdb.base/async-shell.exp
11424 * gdb.base/async.exp
11425 * gdb.base/attach-pie-noexec.exp
11426 * gdb.base/attach-twice.exp
11427 * gdb.base/auto-load.exp
11428 * gdb.base/bang.exp
11429 * gdb.base/bitfields.exp
11430 * gdb.base/break-always.exp
11431 * gdb.base/break-caller-line.exp
11432 * gdb.base/break-entry.exp
11433 * gdb.base/break-inline.exp
11434 * gdb.base/break-on-linker-gcd-function.exp
11435 * gdb.base/break-probes.exp
11436 * gdb.base/break.exp
11437 * gdb.base/breakpoint-shadow.exp
11438 * gdb.base/call-ar-st.exp
11439 * gdb.base/call-sc.exp
11440 * gdb.base/call-signal-resume.exp
11441 * gdb.base/call-strs.exp
11442 * gdb.base/callfuncs.exp
11443 * gdb.base/catch-fork-static.exp
11444 * gdb.base/catch-gdb-caused-signals.exp
11445 * gdb.base/catch-load.exp
11446 * gdb.base/catch-signal-fork.exp
11447 * gdb.base/catch-signal.exp
11448 * gdb.base/catch-syscall.exp
11449 * gdb.base/charset.exp
11450 * gdb.base/checkpoint.exp
11451 * gdb.base/chng-syms.exp
11452 * gdb.base/code-expr.exp
11453 * gdb.base/code_elim.exp
11454 * gdb.base/commands.exp
11455 * gdb.base/completion.exp
11456 * gdb.base/complex.exp
11457 * gdb.base/cond-expr.exp
11458 * gdb.base/condbreak.exp
11459 * gdb.base/consecutive.exp
11460 * gdb.base/continue-all-already-running.exp
11461 * gdb.base/coredump-filter.exp
11462 * gdb.base/corefile.exp
11463 * gdb.base/dbx.exp
11464 * gdb.base/debug-expr.exp
11465 * gdb.base/define.exp
11466 * gdb.base/del.exp
11467 * gdb.base/disabled-location.exp
11468 * gdb.base/disasm-end-cu.exp
11469 * gdb.base/disasm-optim.exp
11470 * gdb.base/display.exp
11471 * gdb.base/duplicate-bp.exp
11472 * gdb.base/ena-dis-br.exp
11473 * gdb.base/ending-run.exp
11474 * gdb.base/enumval.exp
11475 * gdb.base/environ.exp
11476 * gdb.base/eu-strip-infcall.exp
11477 * gdb.base/eval-avoid-side-effects.exp
11478 * gdb.base/eval-skip.exp
11479 * gdb.base/exitsignal.exp
11480 * gdb.base/expand-psymtabs.exp
11481 * gdb.base/filesym.exp
11482 * gdb.base/find-unmapped.exp
11483 * gdb.base/finish.exp
11484 * gdb.base/float.exp
11485 * gdb.base/foll-exec-mode.exp
11486 * gdb.base/foll-exec.exp
11487 * gdb.base/foll-fork.exp
11488 * gdb.base/fortran-sym-case.exp
11489 * gdb.base/freebpcmd.exp
11490 * gdb.base/func-ptr.exp
11491 * gdb.base/func-ptrs.exp
11492 * gdb.base/funcargs.exp
11493 * gdb.base/gcore-buffer-overflow.exp
11494 * gdb.base/gcore-relro-pie.exp
11495 * gdb.base/gcore-relro.exp
11496 * gdb.base/gcore.exp
11497 * gdb.base/gdb1090.exp
11498 * gdb.base/gdb11530.exp
11499 * gdb.base/gdb11531.exp
11500 * gdb.base/gdb1821.exp
11501 * gdb.base/gdbindex-stabs.exp
11502 * gdb.base/gdbvars.exp
11503 * gdb.base/hbreak.exp
11504 * gdb.base/hbreak2.exp
11505 * gdb.base/included.exp
11506 * gdb.base/infcall-input.exp
11507 * gdb.base/inferior-died.exp
11508 * gdb.base/infnan.exp
11509 * gdb.base/info-macros.exp
11510 * gdb.base/info-os.exp
11511 * gdb.base/info-proc.exp
11512 * gdb.base/info-shared.exp
11513 * gdb.base/info-target.exp
11514 * gdb.base/infoline.exp
11515 * gdb.base/interp.exp
11516 * gdb.base/interrupt.exp
11517 * gdb.base/jit-reader.exp
11518 * gdb.base/jit-simple.exp
11519 * gdb.base/kill-after-signal.exp
11520 * gdb.base/kill-detach-inferiors-cmd.exp
11521 * gdb.base/label.exp
11522 * gdb.base/langs.exp
11523 * gdb.base/ldbl_e308.exp
11524 * gdb.base/line-symtabs.exp
11525 * gdb.base/linespecs.exp
11526 * gdb.base/list.exp
11527 * gdb.base/long_long.exp
11528 * gdb.base/longest-types.exp
11529 * gdb.base/maint.exp
11530 * gdb.base/max-value-size.exp
11531 * gdb.base/memattr.exp
11532 * gdb.base/mips_pro.exp
11533 * gdb.base/morestack.exp
11534 * gdb.base/moribund-step.exp
11535 * gdb.base/multi-forks.exp
11536 * gdb.base/nested-addr.exp
11537 * gdb.base/nextoverexit.exp
11538 * gdb.base/noreturn-finish.exp
11539 * gdb.base/noreturn-return.exp
11540 * gdb.base/nostdlib.exp
11541 * gdb.base/offsets.exp
11542 * gdb.base/opaque.exp
11543 * gdb.base/pc-fp.exp
11544 * gdb.base/permissions.exp
11545 * gdb.base/print-symbol-loading.exp
11546 * gdb.base/prologue-include.exp
11547 * gdb.base/psymtab.exp
11548 * gdb.base/ptype.exp
11549 * gdb.base/random-signal.exp
11550 * gdb.base/randomize.exp
11551 * gdb.base/range-stepping.exp
11552 * gdb.base/readline-ask.exp
11553 * gdb.base/recpar.exp
11554 * gdb.base/recurse.exp
11555 * gdb.base/relational.exp
11556 * gdb.base/restore.exp
11557 * gdb.base/return-nodebug.exp
11558 * gdb.base/return.exp
11559 * gdb.base/run-after-attach.exp
11560 * gdb.base/save-bp.exp
11561 * gdb.base/scope.exp
11562 * gdb.base/sect-cmd.exp
11563 * gdb.base/set-lang-auto.exp
11564 * gdb.base/set-noassign.exp
11565 * gdb.base/setvar.exp
11566 * gdb.base/sigall.exp
11567 * gdb.base/sigbpt.exp
11568 * gdb.base/siginfo-addr.exp
11569 * gdb.base/siginfo-infcall.exp
11570 * gdb.base/siginfo-obj.exp
11571 * gdb.base/siginfo.exp
11572 * gdb.base/signals-state-child.exp
11573 * gdb.base/signest.exp
11574 * gdb.base/sigstep.exp
11575 * gdb.base/sizeof.exp
11576 * gdb.base/skip.exp
11577 * gdb.base/solib-corrupted.exp
11578 * gdb.base/solib-nodir.exp
11579 * gdb.base/solib-search.exp
11580 * gdb.base/stack-checking.exp
11581 * gdb.base/stale-infcall.exp
11582 * gdb.base/stap-probe.exp
11583 * gdb.base/start.exp
11584 * gdb.base/step-break.exp
11585 * gdb.base/step-bt.exp
11586 * gdb.base/step-line.exp
11587 * gdb.base/step-over-exit.exp
11588 * gdb.base/step-over-syscall.exp
11589 * gdb.base/step-resume-infcall.exp
11590 * gdb.base/step-test.exp
11591 * gdb.base/store.exp
11592 * gdb.base/structs3.exp
11593 * gdb.base/sym-file.exp
11594 * gdb.base/symbol-without-target_section.exp
11595 * gdb.base/term.exp
11596 * gdb.base/testenv.exp
11597 * gdb.base/ui-redirect.exp
11598 * gdb.base/until.exp
11599 * gdb.base/unwindonsignal.exp
11600 * gdb.base/value-double-free.exp
11601 * gdb.base/vla-datatypes.exp
11602 * gdb.base/vla-ptr.exp
11603 * gdb.base/vla-sideeffect.exp
11604 * gdb.base/volatile.exp
11605 * gdb.base/watch-cond-infcall.exp
11606 * gdb.base/watch-cond.exp
11607 * gdb.base/watch-non-mem.exp
11608 * gdb.base/watch-read.exp
11609 * gdb.base/watch-vfork.exp
11610 * gdb.base/watchpoint-cond-gone.exp
11611 * gdb.base/watchpoint-delete.exp
11612 * gdb.base/watchpoint-hw-hit-once.exp
11613 * gdb.base/watchpoint-hw.exp
11614 * gdb.base/watchpoint-stops-at-right-insn.exp
11615 * gdb.base/watchpoints.exp
11616 * gdb.base/wchar.exp
11617 * gdb.base/whatis-exp.exp
11618 * gdb.btrace/buffer-size.exp
11619 * gdb.btrace/data.exp
11620 * gdb.btrace/delta.exp
11621 * gdb.btrace/dlopen.exp
11622 * gdb.btrace/enable.exp
11623 * gdb.btrace/exception.exp
11624 * gdb.btrace/function_call_history.exp
11625 * gdb.btrace/gcore.exp
11626 * gdb.btrace/instruction_history.exp
11627 * gdb.btrace/nohist.exp
11628 * gdb.btrace/reconnect.exp
11629 * gdb.btrace/record_goto-step.exp
11630 * gdb.btrace/record_goto.exp
11631 * gdb.btrace/rn-dl-bind.exp
11632 * gdb.btrace/segv.exp
11633 * gdb.btrace/step.exp
11634 * gdb.btrace/stepi.exp
11635 * gdb.btrace/tailcall-only.exp
11636 * gdb.btrace/tailcall.exp
11637 * gdb.btrace/tsx.exp
11638 * gdb.btrace/unknown_functions.exp
11639 * gdb.btrace/vdso.exp
11640 * gdb.compile/compile-ifunc.exp
11641 * gdb.compile/compile-ops.exp
11642 * gdb.compile/compile-print.exp
11643 * gdb.compile/compile-setjmp.exp
11644 * gdb.cp/abstract-origin.exp
11645 * gdb.cp/ambiguous.exp
11646 * gdb.cp/annota2.exp
11647 * gdb.cp/annota3.exp
11648 * gdb.cp/anon-ns.exp
11649 * gdb.cp/anon-struct.exp
11650 * gdb.cp/anon-union.exp
11651 * gdb.cp/arg-reference.exp
11652 * gdb.cp/baseenum.exp
11653 * gdb.cp/bool.exp
11654 * gdb.cp/breakpoint.exp
11655 * gdb.cp/bs15503.exp
11656 * gdb.cp/call-c.exp
11657 * gdb.cp/casts.exp
11658 * gdb.cp/chained-calls.exp
11659 * gdb.cp/class2.exp
11660 * gdb.cp/classes.exp
11661 * gdb.cp/cmpd-minsyms.exp
11662 * gdb.cp/converts.exp
11663 * gdb.cp/cp-relocate.exp
11664 * gdb.cp/cpcompletion.exp
11665 * gdb.cp/cpexprs.exp
11666 * gdb.cp/cplabel.exp
11667 * gdb.cp/cplusfuncs.exp
11668 * gdb.cp/cpsizeof.exp
11669 * gdb.cp/ctti.exp
11670 * gdb.cp/derivation.exp
11671 * gdb.cp/destrprint.exp
11672 * gdb.cp/dispcxx.exp
11673 * gdb.cp/enum-class.exp
11674 * gdb.cp/exception.exp
11675 * gdb.cp/exceptprint.exp
11676 * gdb.cp/expand-psymtabs-cxx.exp
11677 * gdb.cp/expand-sals.exp
11678 * gdb.cp/extern-c.exp
11679 * gdb.cp/filename.exp
11680 * gdb.cp/formatted-ref.exp
11681 * gdb.cp/fpointer.exp
11682 * gdb.cp/gdb1355.exp
11683 * gdb.cp/gdb2495.exp
11684 * gdb.cp/hang.exp
11685 * gdb.cp/impl-this.exp
11686 * gdb.cp/infcall-dlopen.exp
11687 * gdb.cp/inherit.exp
11688 * gdb.cp/iostream.exp
11689 * gdb.cp/koenig.exp
11690 * gdb.cp/local.exp
11691 * gdb.cp/m-data.exp
11692 * gdb.cp/m-static.exp
11693 * gdb.cp/mb-ctor.exp
11694 * gdb.cp/mb-inline.exp
11695 * gdb.cp/mb-templates.exp
11696 * gdb.cp/member-name.exp
11697 * gdb.cp/member-ptr.exp
11698 * gdb.cp/meth-typedefs.exp
11699 * gdb.cp/method.exp
11700 * gdb.cp/method2.exp
11701 * gdb.cp/minsym-fallback.exp
11702 * gdb.cp/misc.exp
11703 * gdb.cp/namelessclass.exp
11704 * gdb.cp/namespace-enum.exp
11705 * gdb.cp/namespace-nested-import.exp
11706 * gdb.cp/namespace.exp
11707 * gdb.cp/nextoverthrow.exp
11708 * gdb.cp/no-dmgl-verbose.exp
11709 * gdb.cp/non-trivial-retval.exp
11710 * gdb.cp/noparam.exp
11711 * gdb.cp/nsdecl.exp
11712 * gdb.cp/nsimport.exp
11713 * gdb.cp/nsnested.exp
11714 * gdb.cp/nsnoimports.exp
11715 * gdb.cp/nsrecurs.exp
11716 * gdb.cp/nsstress.exp
11717 * gdb.cp/nsusing.exp
11718 * gdb.cp/operator.exp
11719 * gdb.cp/oranking.exp
11720 * gdb.cp/overload-const.exp
11721 * gdb.cp/overload.exp
11722 * gdb.cp/ovldbreak.exp
11723 * gdb.cp/ovsrch.exp
11724 * gdb.cp/paren-type.exp
11725 * gdb.cp/parse-lang.exp
11726 * gdb.cp/pass-by-ref.exp
11727 * gdb.cp/pr-1023.exp
11728 * gdb.cp/pr-1210.exp
11729 * gdb.cp/pr-574.exp
11730 * gdb.cp/pr10687.exp
11731 * gdb.cp/pr12028.exp
11732 * gdb.cp/pr17132.exp
11733 * gdb.cp/pr17494.exp
11734 * gdb.cp/pr9067.exp
11735 * gdb.cp/pr9167.exp
11736 * gdb.cp/pr9631.exp
11737 * gdb.cp/printmethod.exp
11738 * gdb.cp/psmang.exp
11739 * gdb.cp/psymtab-parameter.exp
11740 * gdb.cp/ptype-cv-cp.exp
11741 * gdb.cp/ptype-flags.exp
11742 * gdb.cp/re-set-overloaded.exp
11743 * gdb.cp/ref-types.exp
11744 * gdb.cp/rtti.exp
11745 * gdb.cp/scope-err.exp
11746 * gdb.cp/shadow.exp
11747 * gdb.cp/smartp.exp
11748 * gdb.cp/static-method.exp
11749 * gdb.cp/static-print-quit.exp
11750 * gdb.cp/temargs.exp
11751 * gdb.cp/templates.exp
11752 * gdb.cp/try_catch.exp
11753 * gdb.cp/typedef-operator.exp
11754 * gdb.cp/typeid.exp
11755 * gdb.cp/userdef.exp
11756 * gdb.cp/using-crash.exp
11757 * gdb.cp/var-tag.exp
11758 * gdb.cp/virtbase.exp
11759 * gdb.cp/virtfunc.exp
11760 * gdb.cp/virtfunc2.exp
11761 * gdb.cp/vla-cxx.exp
11762 * gdb.disasm/t01_mov.exp
11763 * gdb.disasm/t02_mova.exp
11764 * gdb.disasm/t03_add.exp
11765 * gdb.disasm/t04_sub.exp
11766 * gdb.disasm/t05_cmp.exp
11767 * gdb.disasm/t06_ari2.exp
11768 * gdb.disasm/t07_ari3.exp
11769 * gdb.disasm/t08_or.exp
11770 * gdb.disasm/t09_xor.exp
11771 * gdb.disasm/t10_and.exp
11772 * gdb.disasm/t11_logs.exp
11773 * gdb.disasm/t12_bit.exp
11774 * gdb.disasm/t13_otr.exp
11775 * gdb.dlang/circular.exp
11776 * gdb.dwarf2/arr-stride.exp
11777 * gdb.dwarf2/arr-subrange.exp
11778 * gdb.dwarf2/atomic-type.exp
11779 * gdb.dwarf2/bad-regnum.exp
11780 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11781 * gdb.dwarf2/callframecfa.exp
11782 * gdb.dwarf2/clztest.exp
11783 * gdb.dwarf2/corrupt.exp
11784 * gdb.dwarf2/data-loc.exp
11785 * gdb.dwarf2/dup-psym.exp
11786 * gdb.dwarf2/dw2-anon-mptr.exp
11787 * gdb.dwarf2/dw2-anonymous-func.exp
11788 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11789 * gdb.dwarf2/dw2-bad-unresolved.exp
11790 * gdb.dwarf2/dw2-basic.exp
11791 * gdb.dwarf2/dw2-canonicalize-type.exp
11792 * gdb.dwarf2/dw2-case-insensitive.exp
11793 * gdb.dwarf2/dw2-common-block.exp
11794 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11795 * gdb.dwarf2/dw2-compressed.exp
11796 * gdb.dwarf2/dw2-const.exp
11797 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11798 * gdb.dwarf2/dw2-cu-size.exp
11799 * gdb.dwarf2/dw2-dup-frame.exp
11800 * gdb.dwarf2/dw2-entry-value.exp
11801 * gdb.dwarf2/dw2-icycle.exp
11802 * gdb.dwarf2/dw2-ifort-parameter.exp
11803 * gdb.dwarf2/dw2-inline-break.exp
11804 * gdb.dwarf2/dw2-inline-param.exp
11805 * gdb.dwarf2/dw2-intercu.exp
11806 * gdb.dwarf2/dw2-intermix.exp
11807 * gdb.dwarf2/dw2-lexical-block-bare.exp
11808 * gdb.dwarf2/dw2-linkage-name-trust.exp
11809 * gdb.dwarf2/dw2-minsym-in-cu.exp
11810 * gdb.dwarf2/dw2-noloc.exp
11811 * gdb.dwarf2/dw2-op-call.exp
11812 * gdb.dwarf2/dw2-op-out-param.exp
11813 * gdb.dwarf2/dw2-opt-structptr.exp
11814 * gdb.dwarf2/dw2-param-error.exp
11815 * gdb.dwarf2/dw2-producer.exp
11816 * gdb.dwarf2/dw2-ranges-base.exp
11817 * gdb.dwarf2/dw2-ref-missing-frame.exp
11818 * gdb.dwarf2/dw2-reg-undefined.exp
11819 * gdb.dwarf2/dw2-regno-invalid.exp
11820 * gdb.dwarf2/dw2-restore.exp
11821 * gdb.dwarf2/dw2-restrict.exp
11822 * gdb.dwarf2/dw2-single-line-discriminators.exp
11823 * gdb.dwarf2/dw2-strp.exp
11824 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11825 * gdb.dwarf2/dw2-unresolved.exp
11826 * gdb.dwarf2/dw2-var-zero-addr.exp
11827 * gdb.dwarf2/dw4-sig-types.exp
11828 * gdb.dwarf2/dwz.exp
11829 * gdb.dwarf2/dynarr-ptr.exp
11830 * gdb.dwarf2/enum-type.exp
11831 * gdb.dwarf2/gdb-index.exp
11832 * gdb.dwarf2/implptr-64bit.exp
11833 * gdb.dwarf2/implptr-optimized-out.exp
11834 * gdb.dwarf2/implptr.exp
11835 * gdb.dwarf2/implref-array.exp
11836 * gdb.dwarf2/implref-const.exp
11837 * gdb.dwarf2/implref-global.exp
11838 * gdb.dwarf2/implref-struct.exp
11839 * gdb.dwarf2/mac-fileno.exp
11840 * gdb.dwarf2/main-subprogram.exp
11841 * gdb.dwarf2/member-ptr-forwardref.exp
11842 * gdb.dwarf2/method-ptr.exp
11843 * gdb.dwarf2/missing-sig-type.exp
11844 * gdb.dwarf2/nonvar-access.exp
11845 * gdb.dwarf2/opaque-type-lookup.exp
11846 * gdb.dwarf2/pieces-optimized-out.exp
11847 * gdb.dwarf2/pieces.exp
11848 * gdb.dwarf2/pr10770.exp
11849 * gdb.dwarf2/pr13961.exp
11850 * gdb.dwarf2/staticvirtual.exp
11851 * gdb.dwarf2/subrange.exp
11852 * gdb.dwarf2/symtab-producer.exp
11853 * gdb.dwarf2/trace-crash.exp
11854 * gdb.dwarf2/typeddwarf.exp
11855 * gdb.dwarf2/valop.exp
11856 * gdb.dwarf2/watch-notconst.exp
11857 * gdb.fortran/array-element.exp
11858 * gdb.fortran/charset.exp
11859 * gdb.fortran/common-block.exp
11860 * gdb.fortran/complex.exp
11861 * gdb.fortran/derived-type-function.exp
11862 * gdb.fortran/derived-type.exp
11863 * gdb.fortran/logical.exp
11864 * gdb.fortran/module.exp
11865 * gdb.fortran/multi-dim.exp
11866 * gdb.fortran/nested-funcs.exp
11867 * gdb.fortran/print-formatted.exp
11868 * gdb.fortran/subarray.exp
11869 * gdb.fortran/vla-alloc-assoc.exp
11870 * gdb.fortran/vla-datatypes.exp
11871 * gdb.fortran/vla-history.exp
11872 * gdb.fortran/vla-ptr-info.exp
11873 * gdb.fortran/vla-ptype-sub.exp
11874 * gdb.fortran/vla-ptype.exp
11875 * gdb.fortran/vla-sizeof.exp
11876 * gdb.fortran/vla-type.exp
11877 * gdb.fortran/vla-value-sub-arbitrary.exp
11878 * gdb.fortran/vla-value-sub-finish.exp
11879 * gdb.fortran/vla-value-sub.exp
11880 * gdb.fortran/vla-value.exp
11881 * gdb.fortran/whatis_type.exp
11882 * gdb.go/chan.exp
11883 * gdb.go/handcall.exp
11884 * gdb.go/hello.exp
11885 * gdb.go/integers.exp
11886 * gdb.go/methods.exp
11887 * gdb.go/package.exp
11888 * gdb.go/strings.exp
11889 * gdb.go/types.exp
11890 * gdb.go/unsafe.exp
11891 * gdb.guile/scm-arch.exp
11892 * gdb.guile/scm-block.exp
11893 * gdb.guile/scm-breakpoint.exp
11894 * gdb.guile/scm-cmd.exp
11895 * gdb.guile/scm-disasm.exp
11896 * gdb.guile/scm-equal.exp
11897 * gdb.guile/scm-frame-args.exp
11898 * gdb.guile/scm-frame-inline.exp
11899 * gdb.guile/scm-frame.exp
11900 * gdb.guile/scm-iterator.exp
11901 * gdb.guile/scm-math.exp
11902 * gdb.guile/scm-objfile.exp
11903 * gdb.guile/scm-ports.exp
11904 * gdb.guile/scm-symbol.exp
11905 * gdb.guile/scm-symtab.exp
11906 * gdb.guile/scm-value-cc.exp
11907 * gdb.guile/types-module.exp
11908 * gdb.linespec/break-ask.exp
11909 * gdb.linespec/cpexplicit.exp
11910 * gdb.linespec/explicit.exp
11911 * gdb.linespec/keywords.exp
11912 * gdb.linespec/linespec.exp
11913 * gdb.linespec/ls-dollar.exp
11914 * gdb.linespec/ls-errs.exp
11915 * gdb.linespec/skip-two.exp
11916 * gdb.linespec/thread.exp
11917 * gdb.mi/mi-async.exp
11918 * gdb.mi/mi-basics.exp
11919 * gdb.mi/mi-break.exp
11920 * gdb.mi/mi-catch-load.exp
11921 * gdb.mi/mi-cli.exp
11922 * gdb.mi/mi-cmd-param-changed.exp
11923 * gdb.mi/mi-console.exp
11924 * gdb.mi/mi-detach.exp
11925 * gdb.mi/mi-disassemble.exp
11926 * gdb.mi/mi-eval.exp
11927 * gdb.mi/mi-file-transfer.exp
11928 * gdb.mi/mi-file.exp
11929 * gdb.mi/mi-fill-memory.exp
11930 * gdb.mi/mi-inheritance-syntax-error.exp
11931 * gdb.mi/mi-linespec-err-cp.exp
11932 * gdb.mi/mi-logging.exp
11933 * gdb.mi/mi-memory-changed.exp
11934 * gdb.mi/mi-read-memory.exp
11935 * gdb.mi/mi-record-changed.exp
11936 * gdb.mi/mi-reg-undefined.exp
11937 * gdb.mi/mi-regs.exp
11938 * gdb.mi/mi-return.exp
11939 * gdb.mi/mi-reverse.exp
11940 * gdb.mi/mi-simplerun.exp
11941 * gdb.mi/mi-solib.exp
11942 * gdb.mi/mi-stack.exp
11943 * gdb.mi/mi-stepi.exp
11944 * gdb.mi/mi-syn-frame.exp
11945 * gdb.mi/mi-until.exp
11946 * gdb.mi/mi-var-block.exp
11947 * gdb.mi/mi-var-child.exp
11948 * gdb.mi/mi-var-cmd.exp
11949 * gdb.mi/mi-var-cp.exp
11950 * gdb.mi/mi-var-display.exp
11951 * gdb.mi/mi-var-invalidate.exp
11952 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11953 * gdb.mi/mi-vla-fortran.exp
11954 * gdb.mi/mi-watch.exp
11955 * gdb.mi/mi2-var-child.exp
11956 * gdb.mi/user-selected-context-sync.exp
11957 * gdb.modula2/unbounded-array.exp
11958 * gdb.multi/dummy-frame-restore.exp
11959 * gdb.multi/multi-arch-exec.exp
11960 * gdb.multi/multi-arch.exp
11961 * gdb.multi/tids.exp
11962 * gdb.multi/watchpoint-multi.exp
11963 * gdb.opencl/callfuncs.exp
11964 * gdb.opencl/convs_casts.exp
11965 * gdb.opencl/datatypes.exp
11966 * gdb.opencl/operators.exp
11967 * gdb.opencl/vec_comps.exp
11968 * gdb.opt/clobbered-registers-O2.exp
11969 * gdb.opt/inline-break.exp
11970 * gdb.opt/inline-bt.exp
11971 * gdb.opt/inline-cmds.exp
11972 * gdb.opt/inline-locals.exp
11973 * gdb.pascal/case-insensitive-symbols.exp
11974 * gdb.pascal/floats.exp
11975 * gdb.pascal/gdb11492.exp
11976 * gdb.python/lib-types.exp
11977 * gdb.python/py-arch.exp
11978 * gdb.python/py-as-string.exp
11979 * gdb.python/py-bad-printers.exp
11980 * gdb.python/py-block.exp
11981 * gdb.python/py-breakpoint-create-fail.exp
11982 * gdb.python/py-breakpoint.exp
11983 * gdb.python/py-caller-is.exp
11984 * gdb.python/py-cmd.exp
11985 * gdb.python/py-explore-cc.exp
11986 * gdb.python/py-explore.exp
11987 * gdb.python/py-finish-breakpoint.exp
11988 * gdb.python/py-finish-breakpoint2.exp
11989 * gdb.python/py-frame-args.exp
11990 * gdb.python/py-frame-inline.exp
11991 * gdb.python/py-frame.exp
11992 * gdb.python/py-framefilter-mi.exp
11993 * gdb.python/py-infthread.exp
11994 * gdb.python/py-lazy-string.exp
11995 * gdb.python/py-linetable.exp
11996 * gdb.python/py-mi-events.exp
11997 * gdb.python/py-mi-objfile.exp
11998 * gdb.python/py-mi.exp
11999 * gdb.python/py-objfile.exp
12000 * gdb.python/py-pp-integral.exp
12001 * gdb.python/py-pp-maint.exp
12002 * gdb.python/py-pp-re-notag.exp
12003 * gdb.python/py-pp-registration.exp
12004 * gdb.python/py-recurse-unwind.exp
12005 * gdb.python/py-strfns.exp
12006 * gdb.python/py-symbol.exp
12007 * gdb.python/py-symtab.exp
12008 * gdb.python/py-sync-interp.exp
12009 * gdb.python/py-typeprint.exp
12010 * gdb.python/py-unwind-maint.exp
12011 * gdb.python/py-unwind.exp
12012 * gdb.python/py-value-cc.exp
12013 * gdb.python/py-xmethods.exp
12014 * gdb.reverse/amd64-tailcall-reverse.exp
12015 * gdb.reverse/break-precsave.exp
12016 * gdb.reverse/break-reverse.exp
12017 * gdb.reverse/consecutive-precsave.exp
12018 * gdb.reverse/consecutive-reverse.exp
12019 * gdb.reverse/finish-precsave.exp
12020 * gdb.reverse/finish-reverse-bkpt.exp
12021 * gdb.reverse/finish-reverse.exp
12022 * gdb.reverse/fstatat-reverse.exp
12023 * gdb.reverse/getresuid-reverse.exp
12024 * gdb.reverse/i386-precsave.exp
12025 * gdb.reverse/i386-reverse.exp
12026 * gdb.reverse/i386-sse-reverse.exp
12027 * gdb.reverse/i387-env-reverse.exp
12028 * gdb.reverse/i387-stack-reverse.exp
12029 * gdb.reverse/insn-reverse.exp
12030 * gdb.reverse/machinestate-precsave.exp
12031 * gdb.reverse/machinestate.exp
12032 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12033 * gdb.reverse/pipe-reverse.exp
12034 * gdb.reverse/readv-reverse.exp
12035 * gdb.reverse/recvmsg-reverse.exp
12036 * gdb.reverse/rerun-prec.exp
12037 * gdb.reverse/s390-mvcle.exp
12038 * gdb.reverse/step-precsave.exp
12039 * gdb.reverse/step-reverse.exp
12040 * gdb.reverse/time-reverse.exp
12041 * gdb.reverse/until-precsave.exp
12042 * gdb.reverse/until-reverse.exp
12043 * gdb.reverse/waitpid-reverse.exp
12044 * gdb.reverse/watch-precsave.exp
12045 * gdb.reverse/watch-reverse.exp
12046 * gdb.rust/generics.exp
12047 * gdb.rust/methods.exp
12048 * gdb.rust/modules.exp
12049 * gdb.rust/simple.exp
12050 * gdb.server/connect-with-no-symbol-file.exp
12051 * gdb.server/ext-attach.exp
12052 * gdb.server/ext-restart.exp
12053 * gdb.server/ext-wrapper.exp
12054 * gdb.server/file-transfer.exp
12055 * gdb.server/server-exec-info.exp
12056 * gdb.server/server-kill.exp
12057 * gdb.server/server-mon.exp
12058 * gdb.server/wrapper.exp
12059 * gdb.stabs/exclfwd.exp
12060 * gdb.stabs/gdb11479.exp
12061 * gdb.threads/clone-new-thread-event.exp
12062 * gdb.threads/corethreads.exp
12063 * gdb.threads/current-lwp-dead.exp
12064 * gdb.threads/dlopen-libpthread.exp
12065 * gdb.threads/gcore-thread.exp
12066 * gdb.threads/sigstep-threads.exp
12067 * gdb.threads/watchpoint-fork.exp
12068 * gdb.trace/actions-changed.exp
12069 * gdb.trace/backtrace.exp
12070 * gdb.trace/change-loc.exp
12071 * gdb.trace/circ.exp
12072 * gdb.trace/collection.exp
12073 * gdb.trace/disconnected-tracing.exp
12074 * gdb.trace/ftrace.exp
12075 * gdb.trace/mi-trace-frame-collected.exp
12076 * gdb.trace/mi-trace-unavailable.exp
12077 * gdb.trace/mi-traceframe-changed.exp
12078 * gdb.trace/mi-tsv-changed.exp
12079 * gdb.trace/no-attach-trace.exp
12080 * gdb.trace/passc-dyn.exp
12081 * gdb.trace/qtro.exp
12082 * gdb.trace/range-stepping.exp
12083 * gdb.trace/read-memory.exp
12084 * gdb.trace/save-trace.exp
12085 * gdb.trace/signal.exp
12086 * gdb.trace/status-stop.exp
12087 * gdb.trace/tfile.exp
12088 * gdb.trace/trace-break.exp
12089 * gdb.trace/trace-buffer-size.exp
12090 * gdb.trace/trace-condition.exp
12091 * gdb.trace/tracefile-pseudo-reg.exp
12092 * gdb.trace/tstatus.exp
12093 * gdb.trace/unavailable.exp
12094 * gdb.trace/while-dyn.exp
12095 * gdb.trace/while-stepping.exp
12096
120972016-12-22 Doug Evans <xdje42@gmail.com>
12098
12099 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12100 and msymbols.
12101
121022016-12-19 Yao Qi <yao.qi@linaro.org>
12103
12104 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12105 (test_with_self): Don't call do_steps_and_nexts, and remove
12106 code about stepping into xmalloc.
12107
121082016-12-09 Yao Qi <yao.qi@linaro.org>
12109
12110 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12111
121122016-12-09 Yao Qi <yao.qi@linaro.org>
12113
12114 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12115
121162016-12-09 Pedro Alves <palves@redhat.com>
12117
12118 * gdb.base/all-architectures-0.exp: New file.
12119 * gdb.base/all-architectures-1.exp: New file.
12120 * gdb.base/all-architectures-2.exp: New file.
12121 * gdb.base/all-architectures-3.exp: New file.
12122 * gdb.base/all-architectures-4.exp: New file.
12123 * gdb.base/all-architectures-5.exp: New file.
12124 * gdb.base/all-architectures-6.exp: New file.
12125 * gdb.base/all-architectures-7.exp: New file.
12126 * gdb.base/all-architectures.exp.in: New file.
12127
121282016-12-09 Yao Qi <yao.qi@linaro.org>
12129
12130 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12131
121322016-12-02 Luis Machado <lgustavo@codesourcery.com>
12133
12134 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12135 possible.
12136 Remove useless pattern-matching code.
12137
121382016-12-02 Pedro Alves <palves@redhat.com>
12139
12140 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12141 procedure.
12142 (top level): Call it.
12143
121442016-12-02 Pedro Alves <palves@redhat.com>
12145
12146 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12147 New procedure.
12148 (top level): Call it.
12149
121502016-12-02 Pedro Alves <palves@redhat.com>
12151
12152 PR cli/20559
12153 * gdb.base/commands.exp (user_defined_command_args_eval): New
12154 procedure.
12155 (top level): Call it.
12156
121572016-12-02 Luis Machado <lgustavo@codesourcery.com>
12158
12159 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12160 timeout handling.
12161
121622016-12-02 Tom Tromey <tom@tromey.com>
12163
12164 * gdb.dwarf2/main-subprogram.c: New file.
12165 * gdb.dwarf2/main-subprogram.exp: New file.
12166
121672016-12-01 Luis Machado <lgustavo@codesourcery.com>
12168
12169 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12170 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12171 gdb_test_no_output for a couple of cases.
12172 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12173
121742016-12-01 Luis Machado <lgustavo@codesourcery.com>
12175
12176 Fix test names and standardize compilation error messages throughout
12177 the following files:
12178
12179 * gdb.ada/start.exp
12180 * gdb.arch/alpha-step.exp
12181 * gdb.arch/e500-prologue.exp
12182 * gdb.arch/ftrace-insn-reloc.exp
12183 * gdb.arch/gdb1291.exp
12184 * gdb.arch/gdb1431.exp
12185 * gdb.arch/gdb1558.exp
12186 * gdb.arch/i386-dr3-watch.exp
12187 * gdb.arch/i386-sse-stack-align.exp
12188 * gdb.arch/ia64-breakpoint-shadow.exp
12189 * gdb.arch/pa-nullify.exp
12190 * gdb.arch/powerpc-aix-prologue.exp
12191 * gdb.arch/thumb-bx-pc.exp
12192 * gdb.base/annota1.exp
12193 * gdb.base/annota3.exp
12194 * gdb.base/arrayidx.exp
12195 * gdb.base/assign.exp
12196 * gdb.base/attach.exp
12197 * gdb.base/auxv.exp
12198 * gdb.base/bang.exp
12199 * gdb.base/bfp-test.exp
12200 * gdb.base/bigcore.exp
12201 * gdb.base/bitfields2.exp
12202 * gdb.base/break-fun-addr.exp
12203 * gdb.base/break-probes.exp
12204 * gdb.base/call-rt-st.exp
12205 * gdb.base/callexit.exp
12206 * gdb.base/catch-fork-kill.exp
12207 * gdb.base/charset.exp
12208 * gdb.base/checkpoint.exp
12209 * gdb.base/comprdebug.exp
12210 * gdb.base/constvars.exp
12211 * gdb.base/coredump-filter.exp
12212 * gdb.base/cursal.exp
12213 * gdb.base/cvexpr.exp
12214 * gdb.base/detach.exp
12215 * gdb.base/display.exp
12216 * gdb.base/dmsym.exp
12217 * gdb.base/dprintf-pending.exp
12218 * gdb.base/dso2dso.exp
12219 * gdb.base/dtrace-probe.exp
12220 * gdb.base/dump.exp
12221 * gdb.base/enum_cond.exp
12222 * gdb.base/exe-lock.exp
12223 * gdb.base/exec-invalid-sysroot.exp
12224 * gdb.base/execl-update-breakpoints.exp
12225 * gdb.base/exprs.exp
12226 * gdb.base/fileio.exp
12227 * gdb.base/find.exp
12228 * gdb.base/finish.exp
12229 * gdb.base/fixsection.exp
12230 * gdb.base/foll-vfork.exp
12231 * gdb.base/frame-args.exp
12232 * gdb.base/gcore.exp
12233 * gdb.base/gdb1250.exp
12234 * gdb.base/global-var-nested-by-dso.exp
12235 * gdb.base/gnu-ifunc.exp
12236 * gdb.base/hashline1.exp
12237 * gdb.base/hashline2.exp
12238 * gdb.base/hashline3.exp
12239 * gdb.base/hbreak-in-shr-unsupported.exp
12240 * gdb.base/huge.exp
12241 * gdb.base/infcall-input.exp
12242 * gdb.base/info-fun.exp
12243 * gdb.base/info-shared.exp
12244 * gdb.base/jit-simple.exp
12245 * gdb.base/jit-so.exp
12246 * gdb.base/jit.exp
12247 * gdb.base/jump.exp
12248 * gdb.base/label.exp
12249 * gdb.base/lineinc.exp
12250 * gdb.base/logical.exp
12251 * gdb.base/longjmp.exp
12252 * gdb.base/macscp.exp
12253 * gdb.base/miscexprs.exp
12254 * gdb.base/new-ui-echo.exp
12255 * gdb.base/new-ui-pending-input.exp
12256 * gdb.base/new-ui.exp
12257 * gdb.base/nodebug.exp
12258 * gdb.base/nofield.exp
12259 * gdb.base/offsets.exp
12260 * gdb.base/overlays.exp
12261 * gdb.base/pending.exp
12262 * gdb.base/pointers.exp
12263 * gdb.base/pr11022.exp
12264 * gdb.base/printcmds.exp
12265 * gdb.base/prologue.exp
12266 * gdb.base/ptr-typedef.exp
12267 * gdb.base/realname-expand.exp
12268 * gdb.base/relativedebug.exp
12269 * gdb.base/relocate.exp
12270 * gdb.base/remote.exp
12271 * gdb.base/reread.exp
12272 * gdb.base/return2.exp
12273 * gdb.base/savedregs.exp
12274 * gdb.base/sep.exp
12275 * gdb.base/sepdebug.exp
12276 * gdb.base/sepsymtab.exp
12277 * gdb.base/set-inferior-tty.exp
12278 * gdb.base/setshow.exp
12279 * gdb.base/shlib-call.exp
12280 * gdb.base/sigaltstack.exp
12281 * gdb.base/siginfo-addr.exp
12282 * gdb.base/signals.exp
12283 * gdb.base/signull.exp
12284 * gdb.base/sigrepeat.exp
12285 * gdb.base/so-impl-ld.exp
12286 * gdb.base/solib-display.exp
12287 * gdb.base/solib-overlap.exp
12288 * gdb.base/solib-search.exp
12289 * gdb.base/solib-symbol.exp
12290 * gdb.base/structs.exp
12291 * gdb.base/structs2.exp
12292 * gdb.base/symtab-search-order.exp
12293 * gdb.base/twice.exp
12294 * gdb.base/unload.exp
12295 * gdb.base/varargs.exp
12296 * gdb.base/watchpoint-solib.exp
12297 * gdb.base/watchpoint.exp
12298 * gdb.base/whatis.exp
12299 * gdb.base/wrong_frame_bt_full.exp
12300 * gdb.btrace/dlopen.exp
12301 * gdb.cell/ea-standalone.exp
12302 * gdb.cell/ea-test.exp
12303 * gdb.cp/dispcxx.exp
12304 * gdb.cp/gdb2384.exp
12305 * gdb.cp/method2.exp
12306 * gdb.cp/nextoverthrow.exp
12307 * gdb.cp/pr10728.exp
12308 * gdb.disasm/am33.exp
12309 * gdb.disasm/h8300s.exp
12310 * gdb.disasm/mn10300.exp
12311 * gdb.disasm/sh3.exp
12312 * gdb.dwarf2/dw2-dir-file-name.exp
12313 * gdb.fortran/complex.exp
12314 * gdb.fortran/library-module.exp
12315 * gdb.guile/scm-pretty-print.exp
12316 * gdb.guile/scm-symbol.exp
12317 * gdb.guile/scm-type.exp
12318 * gdb.guile/scm-value.exp
12319 * gdb.linespec/linespec.exp
12320 * gdb.mi/gdb701.exp
12321 * gdb.mi/gdb792.exp
12322 * gdb.mi/mi-breakpoint-changed.exp
12323 * gdb.mi/mi-dprintf-pending.exp
12324 * gdb.mi/mi-dprintf.exp
12325 * gdb.mi/mi-exit-code.exp
12326 * gdb.mi/mi-pending.exp
12327 * gdb.mi/mi-solib.exp
12328 * gdb.mi/new-ui-mi-sync.exp
12329 * gdb.mi/pr11022.exp
12330 * gdb.mi/user-selected-context-sync.exp
12331 * gdb.opt/solib-intra-step.exp
12332 * gdb.python/py-events.exp
12333 * gdb.python/py-finish-breakpoint.exp
12334 * gdb.python/py-mi.exp
12335 * gdb.python/py-prettyprint.exp
12336 * gdb.python/py-shared.exp
12337 * gdb.python/py-symbol.exp
12338 * gdb.python/py-template.exp
12339 * gdb.python/py-type.exp
12340 * gdb.python/py-value.exp
12341 * gdb.reverse/solib-precsave.exp
12342 * gdb.reverse/solib-reverse.exp
12343 * gdb.server/solib-list.exp
12344 * gdb.stabs/weird.exp
12345 * gdb.threads/reconnect-signal.exp
12346 * gdb.threads/stepi-random-signal.exp
12347 * gdb.trace/actions.exp
12348 * gdb.trace/ax.exp
12349 * gdb.trace/backtrace.exp
12350 * gdb.trace/change-loc.exp
12351 * gdb.trace/deltrace.exp
12352 * gdb.trace/ftrace-lock.exp
12353 * gdb.trace/ftrace.exp
12354 * gdb.trace/infotrace.exp
12355 * gdb.trace/mi-tracepoint-changed.exp
12356 * gdb.trace/packetlen.exp
12357 * gdb.trace/passcount.exp
12358 * gdb.trace/pending.exp
12359 * gdb.trace/range-stepping.exp
12360 * gdb.trace/report.exp
12361 * gdb.trace/stap-trace.exp
12362 * gdb.trace/tfind.exp
12363 * gdb.trace/trace-break.exp
12364 * gdb.trace/trace-condition.exp
12365 * gdb.trace/trace-enable-disable.exp
12366 * gdb.trace/trace-mt.exp
12367 * gdb.trace/tracecmd.exp
12368 * gdb.trace/tspeed.exp
12369 * gdb.trace/tsv.exp
12370 * lib/perftest.exp
12371
123722016-12-01 Luis Machado <lgustavo@codesourcery.com>
12373
12374 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12375 with gdb_test_no_output.
12376 Use command as test name.
12377
123782016-12-01 Luis Machado <lgustavo@codesourcery.com>
12379
12380 Fix test names starting with uppercase throughout the files.
12381
12382 * gdb.ada/assign_1.exp
12383 * gdb.ada/boolean_expr.exp
12384 * gdb.base/arrayidx.exp
12385 * gdb.base/del.exp
12386 * gdb.base/gcore-buffer-overflow.exp
12387 * gdb.base/testenv.exp
12388 * gdb.compile/compile.exp
12389 * gdb.python/py-framefilter-invalidarg.exp
12390 * gdb.python/py-framefilter.exp
12391
123922016-12-01 Luis Machado <lgustavo@codesourcery.com>
12393
12394 Fix test names starting with uppercase throughout the files.
12395
12396 * gdb.ada/array_return.exp
12397 * gdb.ada/expr_delims.exp
12398 * gdb.ada/mi_dyn_arr.exp
12399 * gdb.ada/mi_interface.exp
12400 * gdb.ada/mi_var_array.exp
12401 * gdb.ada/watch_arg.exp
12402 * gdb.arch/alpha-step.exp
12403 * gdb.arch/altivec-regs.exp
12404 * gdb.arch/e500-regs.exp
12405 * gdb.arch/powerpc-d128-regs.exp
12406 * gdb.base/arrayidx.exp
12407 * gdb.base/break.exp
12408 * gdb.base/checkpoint.exp
12409 * gdb.base/debug-expr.exp
12410 * gdb.base/dmsym.exp
12411 * gdb.base/radix.exp
12412 * gdb.base/sepdebug.exp
12413 * gdb.base/testenv.exp
12414 * gdb.base/watch_thread_num.exp
12415 * gdb.base/watchpoint-cond-gone.exp
12416 * gdb.cell/break.exp
12417 * gdb.cell/ea-cache.exp
12418 * gdb.compile/compile.exp
12419 * gdb.cp/gdb2495.exp
12420 * gdb.gdb/selftest.exp
12421 * gdb.gdb/xfullpath.exp
12422 * gdb.go/hello.exp
12423 * gdb.go/integers.exp
12424 * gdb.objc/basicclass.exp
12425 * gdb.pascal/hello.exp
12426 * gdb.pascal/integers.exp
12427 * gdb.python/py-breakpoint.exp
12428 * gdb.python/py-cmd.exp
12429 * gdb.python/py-linetable.exp
12430 * gdb.python/py-xmethods.exp
12431 * gdb.python/python.exp
12432 * gdb.reverse/consecutive-precsave.exp
12433 * gdb.reverse/finish-precsave.exp
12434 * gdb.reverse/i386-precsave.exp
12435 * gdb.reverse/machinestate-precsave.exp
12436 * gdb.reverse/sigall-precsave.exp
12437 * gdb.reverse/solib-precsave.exp
12438 * gdb.reverse/step-precsave.exp
12439 * gdb.reverse/until-precsave.exp
12440 * gdb.reverse/watch-precsave.exp
12441 * gdb.threads/leader-exit.exp
12442 * gdb.threads/pthreads.exp
12443 * gdb.threads/wp-replication.exp
12444 * gdb.trace/actions.exp
12445 * gdb.trace/mi-tsv-changed.exp
12446 * gdb.trace/tsv.exp
12447
124482016-12-01 Luis Machado <lgustavo@codesourcery.com>
12449
12450 Fix test names starting with uppercase throughout the files.
12451
12452 * gdb.arch/i386-bp_permanent.exp
12453 * gdb.arch/i386-gnu-cfi.exp
12454 * gdb.base/disasm-end-cu.exp
12455 * gdb.base/macscp.exp
12456 * gdb.base/pending.exp
12457 * gdb.base/watch_thread_num.exp
12458 * gdb.cp/exception.exp
12459 * gdb.cp/gdb2495.exp
12460 * gdb.cp/local.exp
12461 * gdb.python/py-evsignal.exp
12462 * gdb.python/python.exp
12463 * gdb.trace/tracecmd.exp
12464
124652016-12-01 Luis Machado <lgustavo@codesourcery.com>
12466
12467 Fix test names starting with uppercase throughout the files.
12468
12469 * gdb.base/charset.exp
12470 * gdb.base/eval.exp
12471 * gdb.base/multi-forks.exp
12472 * gdb.guile/scm-progspace.exp
12473 * gdb.opencl/datatypes.exp
12474 * gdb.python/py-block.exp
12475 * gdb.python/py-function.exp
12476 * gdb.python/py-symbol.exp
12477 * gdb.python/py-symtab.exp
12478 * gdb.python/py-xmethods.exp
12479 * gdb.reverse/break-precsave.exp
12480 * gdb.reverse/break-reverse.exp
12481 * gdb.reverse/consecutive-precsave.exp
12482 * gdb.reverse/consecutive-reverse.exp
12483 * gdb.reverse/finish-precsave.exp
12484 * gdb.reverse/finish-reverse-bkpt.exp
12485 * gdb.reverse/finish-reverse.exp
12486 * gdb.reverse/fstatat-reverse.exp
12487 * gdb.reverse/getresuid-reverse.exp
12488 * gdb.reverse/i386-precsave.exp
12489 * gdb.reverse/i386-reverse.exp
12490 * gdb.reverse/i386-sse-reverse.exp
12491 * gdb.reverse/i387-stack-reverse.exp
12492 * gdb.reverse/insn-reverse.exp
12493 * gdb.reverse/machinestate-precsave.exp
12494 * gdb.reverse/machinestate.exp
12495 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12496 * gdb.reverse/pipe-reverse.exp
12497 * gdb.reverse/readv-reverse.exp
12498 * gdb.reverse/recvmsg-reverse.exp
12499 * gdb.reverse/rerun-prec.exp
12500 * gdb.reverse/s390-mvcle.exp
12501 * gdb.reverse/sigall-precsave.exp
12502 * gdb.reverse/sigall-reverse.exp
12503 * gdb.reverse/solib-precsave.exp
12504 * gdb.reverse/solib-reverse.exp
12505 * gdb.reverse/step-precsave.exp
12506 * gdb.reverse/step-reverse.exp
12507 * gdb.reverse/time-reverse.exp
12508 * gdb.reverse/until-precsave.exp
12509 * gdb.reverse/until-reverse.exp
12510 * gdb.reverse/waitpid-reverse.exp
12511 * gdb.reverse/watch-precsave.exp
12512 * gdb.reverse/watch-reverse.exp
12513
125142016-12-01 Luis Machado <lgustavo@codesourcery.com>
12515
12516 Fix test names starting with uppercase throughout the files.
12517
12518 * gdb.arch/i386-mpx-simple_segv.exp
12519 * gdb.arch/i386-mpx.exp
12520 * gdb.arch/i386-permbkpt.exp
12521 * gdb.arch/pa-nullify.exp
12522 * gdb.arch/powerpc-d128-regs.exp
12523 * gdb.arch/vsx-regs.exp
12524 * gdb.base/bfp-test.exp
12525 * gdb.base/break.exp
12526 * gdb.base/breakpoint-shadow.exp
12527 * gdb.base/callfuncs.exp
12528 * gdb.base/charset.exp
12529 * gdb.base/commands.exp
12530 * gdb.base/completion.exp
12531 * gdb.base/dfp-test.exp
12532 * gdb.base/echo.exp
12533 * gdb.base/ending-run.exp
12534 * gdb.base/eval.exp
12535 * gdb.base/expand-psymtabs.exp
12536 * gdb.base/float128.exp
12537 * gdb.base/floatn.exp
12538 * gdb.base/foll-exec-mode.exp
12539 * gdb.base/gdb1056.exp
12540 * gdb.base/gdb11531.exp
12541 * gdb.base/kill-after-signal.exp
12542 * gdb.base/multi-forks.exp
12543 * gdb.base/overlays.exp
12544 * gdb.base/pending.exp
12545 * gdb.base/sepdebug.exp
12546 * gdb.base/testenv.exp
12547 * gdb.base/valgrind-db-attach.exp
12548 * gdb.base/watch_thread_num.exp
12549 * gdb.base/watchpoint-cond-gone.exp
12550 * gdb.base/watchpoint.exp
12551 * gdb.base/watchpoints.exp
12552 * gdb.cp/arg-reference.exp
12553 * gdb.cp/baseenum.exp
12554 * gdb.cp/operator.exp
12555 * gdb.cp/shadow.exp
12556 * gdb.dwarf2/dw2-op-out-param.exp
12557 * gdb.dwarf2/dw2-reg-undefined.exp
12558 * gdb.go/chan.exp
12559 * gdb.go/hello.exp
12560 * gdb.go/integers.exp
12561 * gdb.go/methods.exp
12562 * gdb.go/package.exp
12563 * gdb.guile/scm-parameter.exp
12564 * gdb.guile/scm-progspace.exp
12565 * gdb.guile/scm-value.exp
12566 * gdb.mi/mi-pending.exp
12567 * gdb.mi/user-selected-context-sync.exp
12568 * gdb.multi/multi-attach.exp
12569 * gdb.multi/tids.exp
12570 * gdb.opt/clobbered-registers-O2.exp
12571 * gdb.pascal/floats.exp
12572 * gdb.pascal/integers.exp
12573 * gdb.python/py-block.exp
12574 * gdb.python/py-events.exp
12575 * gdb.python/py-parameter.exp
12576 * gdb.python/py-symbol.exp
12577 * gdb.python/py-symtab.exp
12578 * gdb.python/py-type.exp
12579 * gdb.python/py-value.exp
12580 * gdb.python/py-xmethods.exp
12581 * gdb.python/python.exp
12582 * gdb.reverse/break-precsave.exp
12583 * gdb.reverse/consecutive-precsave.exp
12584 * gdb.reverse/finish-precsave.exp
12585 * gdb.reverse/i386-precsave.exp
12586 * gdb.reverse/machinestate-precsave.exp
12587 * gdb.reverse/sigall-precsave.exp
12588 * gdb.reverse/solib-precsave.exp
12589 * gdb.reverse/step-precsave.exp
12590 * gdb.reverse/until-precsave.exp
12591 * gdb.reverse/watch-precsave.exp
12592 * gdb.server/ext-attach.exp
12593 * gdb.server/ext-restart.exp
12594 * gdb.server/ext-run.exp
12595 * gdb.server/ext-wrapper.exp
12596 * gdb.stabs/gdb11479.exp
12597 * gdb.stabs/weird.exp
12598 * gdb.threads/attach-many-short-lived-threads.exp
12599 * gdb.threads/kill.exp
12600 * gdb.threads/watchpoint-fork.exp
12601
126022016-12-01 Luis Machado <lgustavo@codesourcery.com>
12603
12604 Fix test names starting with uppercase throughout all the files below.
12605
12606 * gdb.ada/array_return.exp
12607 * gdb.ada/catch_ex.exp
12608 * gdb.ada/info_exc.exp
12609 * gdb.ada/mi_catch_ex.exp
12610 * gdb.ada/mi_dyn_arr.exp
12611 * gdb.ada/mi_ex_cond.exp
12612 * gdb.ada/mi_exc_info.exp
12613 * gdb.ada/mi_interface.exp
12614 * gdb.ada/mi_task_arg.exp
12615 * gdb.ada/mi_task_info.exp
12616 * gdb.ada/mi_var_array.exp
12617 * gdb.arch/alpha-step.exp
12618 * gdb.arch/amd64-disp-step.exp
12619 * gdb.arch/arm-disp-step.exp
12620 * gdb.arch/disp-step-insn-reloc.exp
12621 * gdb.arch/e500-prologue.exp
12622 * gdb.arch/ftrace-insn-reloc.exp
12623 * gdb.arch/gdb1558.exp
12624 * gdb.arch/i386-bp_permanent.exp
12625 * gdb.arch/i386-disp-step.exp
12626 * gdb.arch/i386-float.exp
12627 * gdb.arch/i386-gnu-cfi.exp
12628 * gdb.arch/ia64-breakpoint-shadow.exp
12629 * gdb.arch/mips16-thunks.exp
12630 * gdb.arch/pa-nullify.exp
12631 * gdb.arch/powerpc-aix-prologue.exp
12632 * gdb.arch/powerpc-power.exp
12633 * gdb.arch/ppc-dfp.exp
12634 * gdb.arch/s390-tdbregs.exp
12635 * gdb.arch/spu-info.exp
12636 * gdb.arch/spu-ls.exp
12637 * gdb.arch/thumb-bx-pc.exp
12638 * gdb.base/advance.exp
12639 * gdb.base/annota-input-while-running.exp
12640 * gdb.base/arrayidx.exp
12641 * gdb.base/asmlabel.exp
12642 * gdb.base/async.exp
12643 * gdb.base/attach-wait-input.exp
12644 * gdb.base/auto-connect-native-target.exp
12645 * gdb.base/batch-preserve-term-settings.exp
12646 * gdb.base/bfp-test.exp
12647 * gdb.base/bigcore.exp
12648 * gdb.base/bp-permanent.exp
12649 * gdb.base/break-always.exp
12650 * gdb.base/break-fun-addr.exp
12651 * gdb.base/break-idempotent.exp
12652 * gdb.base/break-main-file-remove-fail.exp
12653 * gdb.base/break-probes.exp
12654 * gdb.base/break-unload-file.exp
12655 * gdb.base/break.exp
12656 * gdb.base/call-ar-st.exp
12657 * gdb.base/call-rt-st.exp
12658 * gdb.base/call-sc.exp
12659 * gdb.base/call-signal-resume.exp
12660 * gdb.base/call-strs.exp
12661 * gdb.base/callexit.exp
12662 * gdb.base/callfuncs.exp
12663 * gdb.base/catch-gdb-caused-signals.exp
12664 * gdb.base/catch-signal-siginfo-cond.exp
12665 * gdb.base/catch-syscall.exp
12666 * gdb.base/compare-sections.exp
12667 * gdb.base/cond-eval-mode.exp
12668 * gdb.base/condbreak-call-false.exp
12669 * gdb.base/consecutive-step-over.exp
12670 * gdb.base/cursal.exp
12671 * gdb.base/disabled-location.exp
12672 * gdb.base/disasm-end-cu.exp
12673 * gdb.base/display.exp
12674 * gdb.base/double-prompt-target-event-error.exp
12675 * gdb.base/dprintf-bp-same-addr.exp
12676 * gdb.base/dprintf-detach.exp
12677 * gdb.base/dprintf-next.exp
12678 * gdb.base/dprintf-non-stop.exp
12679 * gdb.base/dprintf-pending.exp
12680 * gdb.base/dso2dso.exp
12681 * gdb.base/ending-run.exp
12682 * gdb.base/enum_cond.exp
12683 * gdb.base/examine-backward.exp
12684 * gdb.base/exe-lock.exp
12685 * gdb.base/exec-invalid-sysroot.exp
12686 * gdb.base/execl-update-breakpoints.exp
12687 * gdb.base/execution-termios.exp
12688 * gdb.base/fileio.exp
12689 * gdb.base/fixsection.exp
12690 * gdb.base/foll-exec-mode.exp
12691 * gdb.base/foll-exec.exp
12692 * gdb.base/fork-running-state.exp
12693 * gdb.base/frame-args.exp
12694 * gdb.base/fullpath-expand.exp
12695 * gdb.base/func-ptr.exp
12696 * gdb.base/gcore-relro-pie.exp
12697 * gdb.base/gdb1090.exp
12698 * gdb.base/gdb1555.exp
12699 * gdb.base/global-var-nested-by-dso.exp
12700 * gdb.base/gnu-ifunc.exp
12701 * gdb.base/hbreak-in-shr-unsupported.exp
12702 * gdb.base/hbreak-unmapped.exp
12703 * gdb.base/hook-stop.exp
12704 * gdb.base/infcall-input.exp
12705 * gdb.base/info-fun.exp
12706 * gdb.base/info-shared.exp
12707 * gdb.base/interrupt-noterm.exp
12708 * gdb.base/jit-so.exp
12709 * gdb.base/jit.exp
12710 * gdb.base/line-symtabs.exp
12711 * gdb.base/list.exp
12712 * gdb.base/longjmp.exp
12713 * gdb.base/macscp.exp
12714 * gdb.base/max-value-size.exp
12715 * gdb.base/nodebug.exp
12716 * gdb.base/nofield.exp
12717 * gdb.base/overlays.exp
12718 * gdb.base/paginate-after-ctrl-c-running.exp
12719 * gdb.base/paginate-bg-execution.exp
12720 * gdb.base/paginate-inferior-exit.exp
12721 * gdb.base/pending.exp
12722 * gdb.base/pr11022.exp
12723 * gdb.base/printcmds.exp
12724 * gdb.base/ptr-typedef.exp
12725 * gdb.base/ptype.exp
12726 * gdb.base/randomize.exp
12727 * gdb.base/range-stepping.exp
12728 * gdb.base/realname-expand.exp
12729 * gdb.base/relativedebug.exp
12730 * gdb.base/remote.exp
12731 * gdb.base/savedregs.exp
12732 * gdb.base/sepdebug.exp
12733 * gdb.base/set-noassign.exp
12734 * gdb.base/shlib-call.exp
12735 * gdb.base/shreloc.exp
12736 * gdb.base/sigaltstack.exp
12737 * gdb.base/sigbpt.exp
12738 * gdb.base/siginfo-addr.exp
12739 * gdb.base/siginfo-obj.exp
12740 * gdb.base/siginfo-thread.exp
12741 * gdb.base/signest.exp
12742 * gdb.base/signull.exp
12743 * gdb.base/sigrepeat.exp
12744 * gdb.base/skip.exp
12745 * gdb.base/so-impl-ld.exp
12746 * gdb.base/solib-corrupted.exp
12747 * gdb.base/solib-disc.exp
12748 * gdb.base/solib-display.exp
12749 * gdb.base/solib-overlap.exp
12750 * gdb.base/solib-search.exp
12751 * gdb.base/solib-symbol.exp
12752 * gdb.base/source-execution.exp
12753 * gdb.base/sss-bp-on-user-bp-2.exp
12754 * gdb.base/sss-bp-on-user-bp.exp
12755 * gdb.base/stack-checking.exp
12756 * gdb.base/stale-infcall.exp
12757 * gdb.base/step-break.exp
12758 * gdb.base/step-line.exp
12759 * gdb.base/step-over-exit.exp
12760 * gdb.base/step-test.exp
12761 * gdb.base/structs.exp
12762 * gdb.base/sym-file.exp
12763 * gdb.base/symtab-search-order.exp
12764 * gdb.base/term.exp
12765 * gdb.base/type-opaque.exp
12766 * gdb.base/unload.exp
12767 * gdb.base/until-nodebug.exp
12768 * gdb.base/until.exp
12769 * gdb.base/unwindonsignal.exp
12770 * gdb.base/watch-cond.exp
12771 * gdb.base/watch-non-mem.exp
12772 * gdb.base/watch_thread_num.exp
12773 * gdb.base/watchpoint-reuse-slot.exp
12774 * gdb.base/watchpoint-solib.exp
12775 * gdb.base/watchpoint.exp
12776 * gdb.btrace/dlopen.exp
12777 * gdb.cell/arch.exp
12778 * gdb.cell/break.exp
12779 * gdb.cell/bt.exp
12780 * gdb.cell/core.exp
12781 * gdb.cell/data.exp
12782 * gdb.cell/dwarfaddr.exp
12783 * gdb.cell/ea-cache.exp
12784 * gdb.cell/ea-standalone.exp
12785 * gdb.cell/ea-test.exp
12786 * gdb.cell/f-regs.exp
12787 * gdb.cell/fork.exp
12788 * gdb.cell/gcore.exp
12789 * gdb.cell/mem-access.exp
12790 * gdb.cell/ptype.exp
12791 * gdb.cell/registers.exp
12792 * gdb.cell/sizeof.exp
12793 * gdb.cell/solib-symbol.exp
12794 * gdb.cell/solib.exp
12795 * gdb.compile/compile-tls.exp
12796 * gdb.cp/exception.exp
12797 * gdb.cp/gdb2495.exp
12798 * gdb.cp/local.exp
12799 * gdb.cp/mb-inline.exp
12800 * gdb.cp/mb-templates.exp
12801 * gdb.cp/pr10687.exp
12802 * gdb.cp/pr9167.exp
12803 * gdb.cp/scope-err.exp
12804 * gdb.cp/templates.exp
12805 * gdb.cp/virtfunc.exp
12806 * gdb.dwarf2/dw2-dir-file-name.exp
12807 * gdb.dwarf2/dw2-single-line-discriminators.exp
12808 * gdb.fortran/complex.exp
12809 * gdb.fortran/library-module.exp
12810 * gdb.guile/guile.exp
12811 * gdb.guile/scm-cmd.exp
12812 * gdb.guile/scm-frame-inline.exp
12813 * gdb.guile/scm-objfile.exp
12814 * gdb.guile/scm-pretty-print.exp
12815 * gdb.guile/scm-symbol.exp
12816 * gdb.guile/scm-type.exp
12817 * gdb.guile/scm-value.exp
12818 * gdb.linespec/keywords.exp
12819 * gdb.linespec/ls-errs.exp
12820 * gdb.linespec/macro-relative.exp
12821 * gdb.linespec/thread.exp
12822 * gdb.mi/mi-breakpoint-changed.exp
12823 * gdb.mi/mi-dprintf-pending.exp
12824 * gdb.mi/mi-fullname-deleted.exp
12825 * gdb.mi/mi-logging.exp
12826 * gdb.mi/mi-pending.exp
12827 * gdb.mi/mi-solib.exp
12828 * gdb.mi/new-ui-mi-sync.exp
12829 * gdb.mi/user-selected-context-sync.exp
12830 * gdb.multi/dummy-frame-restore.exp
12831 * gdb.multi/multi-arch-exec.exp
12832 * gdb.multi/remove-inferiors.exp
12833 * gdb.multi/watchpoint-multi-exit.exp
12834 * gdb.opt/solib-intra-step.exp
12835 * gdb.perf/backtrace.exp
12836 * gdb.perf/single-step.exp
12837 * gdb.perf/skip-command.exp
12838 * gdb.perf/skip-prologue.exp
12839 * gdb.perf/solib.exp
12840 * gdb.python/lib-types.exp
12841 * gdb.python/py-as-string.exp
12842 * gdb.python/py-bad-printers.exp
12843 * gdb.python/py-block.exp
12844 * gdb.python/py-breakpoint.exp
12845 * gdb.python/py-cmd.exp
12846 * gdb.python/py-events.exp
12847 * gdb.python/py-evthreads.exp
12848 * gdb.python/py-finish-breakpoint.exp
12849 * gdb.python/py-finish-breakpoint2.exp
12850 * gdb.python/py-frame-inline.exp
12851 * gdb.python/py-frame.exp
12852 * gdb.python/py-inferior.exp
12853 * gdb.python/py-infthread.exp
12854 * gdb.python/py-mi.exp
12855 * gdb.python/py-objfile.exp
12856 * gdb.python/py-pp-maint.exp
12857 * gdb.python/py-pp-registration.exp
12858 * gdb.python/py-prettyprint.exp
12859 * gdb.python/py-recurse-unwind.exp
12860 * gdb.python/py-shared.exp
12861 * gdb.python/py-symbol.exp
12862 * gdb.python/py-symtab.exp
12863 * gdb.python/py-template.exp
12864 * gdb.python/py-type.exp
12865 * gdb.python/py-unwind-maint.exp
12866 * gdb.python/py-unwind.exp
12867 * gdb.python/py-value.exp
12868 * gdb.python/python.exp
12869 * gdb.reverse/finish-reverse-bkpt.exp
12870 * gdb.reverse/insn-reverse.exp
12871 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12872 * gdb.reverse/solib-precsave.exp
12873 * gdb.reverse/solib-reverse.exp
12874 * gdb.stabs/gdb11479.exp
12875 * gdb.stabs/weird.exp
12876 * gdb.threads/fork-child-threads.exp
12877 * gdb.threads/fork-plus-threads.exp
12878 * gdb.threads/fork-thread-pending.exp
12879 * gdb.threads/forking-threads-plus-breakpoint.exp
12880 * gdb.threads/hand-call-in-threads.exp
12881 * gdb.threads/interrupted-hand-call.exp
12882 * gdb.threads/linux-dp.exp
12883 * gdb.threads/local-watch-wrong-thread.exp
12884 * gdb.threads/next-while-other-thread-longjmps.exp
12885 * gdb.threads/non-ldr-exit.exp
12886 * gdb.threads/pending-step.exp
12887 * gdb.threads/print-threads.exp
12888 * gdb.threads/process-dies-while-detaching.exp
12889 * gdb.threads/process-dies-while-handling-bp.exp
12890 * gdb.threads/pthreads.exp
12891 * gdb.threads/queue-signal.exp
12892 * gdb.threads/reconnect-signal.exp
12893 * gdb.threads/signal-command-handle-nopass.exp
12894 * gdb.threads/signal-command-multiple-signals-pending.exp
12895 * gdb.threads/signal-delivered-right-thread.exp
12896 * gdb.threads/signal-sigtrap.exp
12897 * gdb.threads/sigthread.exp
12898 * gdb.threads/staticthreads.exp
12899 * gdb.threads/stepi-random-signal.exp
12900 * gdb.threads/thread-unwindonsignal.exp
12901 * gdb.threads/thread_check.exp
12902 * gdb.threads/thread_events.exp
12903 * gdb.threads/tid-reuse.exp
12904 * gdb.threads/tls-nodebug.exp
12905 * gdb.threads/tls-shared.exp
12906 * gdb.threads/tls-so_extern.exp
12907 * gdb.threads/tls.exp
12908 * gdb.threads/wp-replication.exp
12909 * gdb.trace/actions-changed.exp
12910 * gdb.trace/actions.exp
12911 * gdb.trace/backtrace.exp
12912 * gdb.trace/change-loc.exp
12913 * gdb.trace/collection.exp
12914 * gdb.trace/deltrace.exp
12915 * gdb.trace/disconnected-tracing.exp
12916 * gdb.trace/entry-values.exp
12917 * gdb.trace/ftrace-lock.exp
12918 * gdb.trace/ftrace.exp
12919 * gdb.trace/infotrace.exp
12920 * gdb.trace/mi-trace-frame-collected.exp
12921 * gdb.trace/mi-trace-unavailable.exp
12922 * gdb.trace/mi-traceframe-changed.exp
12923 * gdb.trace/mi-tracepoint-changed.exp
12924 * gdb.trace/mi-tsv-changed.exp
12925 * gdb.trace/no-attach-trace.exp
12926 * gdb.trace/packetlen.exp
12927 * gdb.trace/passc-dyn.exp
12928 * gdb.trace/passcount.exp
12929 * gdb.trace/pending.exp
12930 * gdb.trace/pr16508.exp
12931 * gdb.trace/qtro.exp
12932 * gdb.trace/range-stepping.exp
12933 * gdb.trace/read-memory.exp
12934 * gdb.trace/report.exp
12935 * gdb.trace/save-trace.exp
12936 * gdb.trace/signal.exp
12937 * gdb.trace/stap-trace.exp
12938 * gdb.trace/status-stop.exp
12939 * gdb.trace/strace.exp
12940 * gdb.trace/tfile.exp
12941 * gdb.trace/tfind.exp
12942 * gdb.trace/trace-break.exp
12943 * gdb.trace/trace-condition.exp
12944 * gdb.trace/trace-enable-disable.exp
12945 * gdb.trace/trace-mt.exp
12946 * gdb.trace/tracecmd.exp
12947 * gdb.trace/tracefile-pseudo-reg.exp
12948 * gdb.trace/tspeed.exp
12949 * gdb.trace/tstatus.exp
12950 * gdb.trace/tsv.exp
12951 * gdb.trace/unavailable.exp
12952 * gdb.trace/while-dyn.exp
12953 * gdb.trace/while-stepping.exp
12954 * lib/gdb-guile.exp
12955 * lib/gdb.exp
12956 * lib/mi-support.exp
12957 * lib/pascal.exp
12958 * lib/perftest.exp
12959 * lib/prelink-support.exp
12960 * lib/selftest-support.exp
12961
129622016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12963
12964 * Makefile.in: Include disable-implicit-rules.mk.
12965
129662016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12967
12968 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12969 non-byte-aligned bit fields.
12970
129712016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12972
12973 PR gdb/12616
12974 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12975 respects the DW_AT_data_bit_offset attribute.
12976
129772016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12978
12979 * gdb.base/default.exp: Fix output of "set language".
12980
129812016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12982
12983 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12984 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12985 make.
12986 * configure.ac: Remove checks for the make program.
12987 * configure: Re-generate.
12988
129892016-11-16 Kevin Buettner <kevinb@redhat.com>
12990
12991 * gdb.python/py-recurse-unwind.c (main): Add loop.
12992 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12993 to read_register() and gdb.parse_and_eval(). Make each code
12994 call a separate case that can be individually tested.
12995 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12996 proc. Call cont_and_backtrace for each of the code paths that
12997 we want to test in the unwinder.
12998
129992016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13000
13001 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13002 the definition of struct S.
13003
130042016-11-11 Catherine Moore <clm@codesourcery.com>
13005
13006 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13007
130082016-11-09 Pedro Alves <palves@redhat.com>
13009
13010 * gdb.base/commands.exp (runto_or_return): New procedure.
13011 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13012 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13013 (progvar_simple_while_test, progvar_complex_if_while_test)
13014 (if_while_breakpoint_command_test)
13015 (infrun_breakpoint_command_test, breakpoint_command_test)
13016 (user_defined_command_test, watchpoint_command_test)
13017 (test_command_prompt_position, redefine_hook_test)
13018 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13019 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13020 multi_line_input and multi_line. Remove gdb_expect and
13021 gdb_stop_suppressing_tests uses.
13022 * lib/gdb.exp (valnum_re): New global.
13023 (multi_line_input): New procedure.
13024
130252016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13026
13027 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13028 Remove.
13029 (test_setup): Define with proc_with_prefix.
13030 (test_cli_inferior): Likewise.
13031 (test_cli_thread): Likewise.
13032 (test_cli_frame): Likewise.
13033 (test_cli_select_frame): Likewise.
13034 (test_cli_up_down): Likewise.
13035 (test_mi_thread_select): Likewise.
13036 (test_mi_stack_select_frame): Likewise.
13037 (test_cli_in_mi_inferior): Likewise.
13038 (test_cli_in_mi_thread): Likewise.
13039 (test_cli_in_mi_frame): Likewise.
13040 (top level): Do not use with_test_prefix_procname.
13041
130422016-11-09 Pedro Alves <palves@redhat.com>
13043
13044 * gdb.base/commands.exp (gdbvar_simple_if_test)
13045 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13046 (progvar_simple_if_test, progvar_simple_while_test)
13047 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13048 (infrun_breakpoint_command_test, breakpoint_command_test)
13049 (user_defined_command_test, watchpoint_command_test)
13050 (test_command_prompt_position, deprecated_command_test)
13051 (bp_deleted_in_command, temporary_breakpoint_commands)
13052 (stray_arg0_test, source_file_with_indented_comment)
13053 (recursive_source_test, if_commands_test)
13054 (error_clears_commands_left, redefine_hook_test)
13055 (redefine_backtrace_test): Use proc_with_prefix.
13056 * lib/gdb.exp (proc_with_prefix): New proc.
13057
130582016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13059
13060 * gdb.base/tui-layout.c: New file.
13061 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13062 disassembly window contains very long lines.
13063
130642016-11-08 Tom Tromey <tom@tromey.com>
13065
13066 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13067 depend on Python 2.
13068
130692016-11-08 Tom Tromey <tom@tromey.com>
13070
13071 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13072 New method.
13073
130742016-10-29 Manish Goregaokar <manish@mozilla.com>
13075
13076 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
13077
130782016-10-27 Manish Goregaokar <manish@mozilla.com>
13079
13080 * gdb.rust/simple.rs: Add test for univariant enums without
13081 discriminants and for encoded struct-like enums.
13082
130832016-10-28 Pedro Alves <palves@redhat.com>
13084
13085 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13086 gdb_test_multiple, tighten regexps and match symtabs and line
13087 tables incrementally.
13088
130892016-10-28 Luis Machado <lgustavo@codesourcery.com>
13090
13091 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13092 general.
13093
130942016-10-25 Luis Machado <lgustavo@codesourcery.com>
13095
13096 * gdb.base/exec-invalid-sysroot.exp: New file.
13097
130982016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13099
13100 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13101
131022016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13103
13104 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13105
131062016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13107
13108 * gdb.base/killed-outside.exp: Remove $options from a call to
13109 `prepare_for_testing'.
13110
131112016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13112
13113 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13114 Change test message.
13115
131162016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13117
13118 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13119 Update comment.
13120
131212016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13122
13123 * gdb.trace/mi-trace-save.exp: New file.
13124
131252016-10-13 Yao Qi <yao.qi@linaro.org>
13126
13127 * gdb.base/code_elim.exp (get_var_address): Remove.
13128 * gdb.base/relocate.exp: Likewise.
13129 * gdb.base/shreloc.exp: Likewise.
13130 * lib/gdb.exp (get_var_address): New.
13131
131322016-10-13 Yao Qi <yao.qi@linaro.org>
13133
13134 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13135 floating point tests if $skip_float_test is false.
13136
131372016-10-12 Luis Machado <lgustavo@codesourcery.com>
13138
13139 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13140 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13141 argc values.
13142 Add 1 to argc so we guarantee distinct initial/modified argc values.
13143
131442016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13145
13146 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13147
131482016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13149
13150 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13151 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13152 * gdb.arch/vsx-regs.exp: Likewise.
13153
131542016-10-07 Yao Qi <yao.qi@linaro.org>
13155
13156 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13157
131582016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13159
13160 * gdb.python/python.exp: Test decode_line("*0").
13161
131622016-10-06 Doug Evans <dje@google.com>
13163
13164 * gdb.python/py-value.exp (test_value_creation): Add test for large
13165 unsigned 64-bit value.
13166
131672016-10-06 Tom Tromey <tom@tromey.com>
13168
13169 * gdb.compile/compile.exp: Change java tests to rust.
13170 * gdb.base/setshow.exp: Change java tests to rust.
13171 * gdb.base/default.exp: Remove java from language list.
13172 * README (Examples): Update language example.
13173 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13174 test.
13175 * lib/gdb.exp (skip_java_tests): Remove.
13176 * lib/java.exp: Remove.
13177 * gdb.java: Remove.
13178
131792016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13180
13181 * gdb.arch/mips-fcr.exp: New test.
13182 * gdb.arch/mips-fcr.c: Source for the new test.
13183
131842016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13185
13186 * gdb.base/solib-disc.exp: Use `standard_output_file'
13187 throughout.
13188
131892016-10-06 Pedro Alves <palves@redhat.com>
13190
13191 * gdb.base/jit-simple-dl.c: New file.
13192 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13193 * gdb.base/jit-simple.c: ... this.
13194 * gdb.base/jit-simple.exp (jit_run): Delete.
13195 (build_jit): New proc.
13196 (jit_test_reread): Recompile either the main program or the shared
13197 library, depending on what is being tested. Skip changing address
13198 if caller wants to. Compare before/after addresses. If testing
13199 standalone, explicitly load the binary. Test "maint info
13200 breakpoints".
13201 (top level): Add "standalone vs shared lib" and "change address"
13202 vs "same address" axes.
13203
132042016-10-06 Pedro Alves <palves@redhat.com>
13205
13206 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13207 call.
13208 (jit_run): Delete.
13209 (jit_test_reread): Use with_test_prefix. Reload the main binary
13210 explicitly. Compare the before/after addresses of the JIT
13211 descriptor.
13212
132132016-08-15 Doug Evans <dje@google.com>
13214
13215 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13216 for single bitfields is bool.
13217 * gdb.xml/tdesc-regs.exp: Ditto.
13218
132192016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13220
13221 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13222
132232016-10-05 Yao Qi <yao.qi@linaro.org>
13224
13225 * lib/gdb.exp (support_complex_tests): Return zero if
13226 gdb_skip_float_test return true.
13227
132282016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
13229 Simon Marchi <simon.marchi@ericsson.com>
13230
13231 PR gdb/20487
13232 * gdb.mi/user-selected-context-sync.exp: New file.
13233 * gdb.mi/user-selected-context-sync.c: New file.
13234
132352016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
13236 Simon Marchi <simon.marchi@ericsson.com>
13237
13238 PR gdb/20487
13239 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13240 =thread-select-event check.
13241
132422016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13243
13244 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13245 the compulsory L operand changes.
13246 * gdb.arch/powerpc-power.s: Likewise.
13247
132482016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13249
13250 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13251 * gdb.base/jit-attach-pie.c: New file.
13252 * gdb.base/jit-attach-pie.exp: New file.
13253
132542016-09-28 Pedro Alves <palves@redhat.com>
13255
13256 * gdb.base/infcall-input.c: New file.
13257 * gdb.base/infcall-input.exp: New file.
13258
132592016-09-22 Yao Qi <yao.qi@linaro.org>
13260
13261 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13262 (gdb_exit): Rename it to ...
13263 (gdbserver_gdb_exit): ... Close GDBserver.
13264 (gdb_exit): New proc, call gdbserver_gdb_exit.
13265 (mi_gdb_exit): Likewise.
13266
132672016-09-22 Yao Qi <yao.qi@linaro.org>
13268
13269 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13270 path.
13271 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13272 Remove duplication.
13273
132742016-09-22 Yao Qi <yao.qi@linaro.org>
13275
13276 * lib/gdbserver-support.exp: Check the existence of
13277 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13278
132792016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13280
13281 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13282
132832016-09-21 Tom Tromey <tom@tromey.com>
13284
13285 PR gdb/20604:
13286 * gdb.base/quit.exp: New file.
13287
132882016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13289
13290 * .gitignore: New file.
13291
132922016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13293
13294 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13295 throughout.
13296
132972016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13298
13299 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13300
133012016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13302
13303 * gdb.cp/casts.cc (decltype): Move it ...
13304 (main): ... with its call to ...
13305 * gdb.cp/casts03.cc: ... a new file.
13306 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13307
133082016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13309
13310 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13311
133122016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13313
13314 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13315 and sync up the test with tests in gas/testsuite/gas/ppc.
13316 * gdb.arch/powerpc-power.exp: Likewise.
13317
133182016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13319
13320 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13321
133222016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13323 Jan Kratochvil <jan.kratochvil@redhat.com>
13324
13325 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13326 make m1's definition to be different from m2's. Use 'dummy' as an
13327 argument for probe 'two'.
13328
133292016-09-10 Jon Beniston <jon@beniston.com>
13330
13331 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13332 for sim target.
13333
133342016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13335
13336 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13337 variable declaration.
13338 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13339 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13340 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13341 received HWCAP as its argument.
13342
133432016-09-06 Pedro Alves <palves@redhat.com>
13344
13345 * gdb.base/new-ui-pending-input.c: New file.
13346 * gdb.base/new-ui-pending-input.exp: New file.
13347 * gdb.exp (clear_gdb_spawn_id): New procedure.
13348 (with_spawn_id): Check whether gdb_spawn_id exists before
13349 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13350 on exit.
13351
133522016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13353
13354 * gdb.base/float128.c: New file.
13355 * gdb.base/float128.exp: Likewise.
13356 * gdb.base/floatn.c: Likewise.
13357 * gdb.base/floatn.exp: Likewise.
13358
133592016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13360
13361 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13362
133632016-09-05 Pedro Alves <palves@redhat.com>
13364
13365 PR backtrace/19927
13366 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13367 unwinders are immediately called as side effect of "source" or
13368 "disable unwinder" commands.
13369 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13370
133712016-09-02 Yao Qi <yao.qi@linaro.org>
13372
13373 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13374 is true and $type is "float" or "double".
13375
133762016-09-02 Yao Qi <yao.qi@linaro.org>
13377
13378 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13379 true.
13380 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13381 * gdb.base/call-rt-st.exp: Likewise.
13382 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13383 return value instead of gdb,skip_float_test.
13384 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13385 (do_function_calls): Use its return value instead of
13386 gdb,skip_float_test.
13387 * gdb.base/finish.exp: Likewise.
13388 * gdb.base/funcargs.exp: Likewise.
13389 * gdb.base/return.exp: Likewise.
13390 * gdb.base/return2.exp: Likewise.
13391 * gdb.base/varargs.exp: Likewise.
13392 * lib/gdb.exp (gdb_skip_float_test): Change it to
13393 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13394
133952016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13396
13397 * gdb.multi/tids.exp: Test "thread apply all".
13398
133992016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13400
13401 * gdb.base/default.exp (tty): Remove.
13402
134032016-08-24 Kevin Buettner <kevinb@redhat.com>
13404
13405 * gdb.python/py-recurse-unwind.c: New file.
13406 * gdb.python/py-recurse-unwind.py: New file.
13407 * gdb.python/py-recurse-unwind.exp: New file.
13408
134092016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13410
13411 * gdb.base/set-inferior-tty.exp: New file.
13412 * gdb.base/set-inferior-tty.c: New file.
13413
134142016-08-23 Pedro Alves <palves@redhat.com>
13415
13416 PR gdb/20494
13417 * gdb.base/new-ui-echo.c: New file.
13418 * gdb.base/new-ui-echo.exp: New file.
13419
134202016-08-23 Yao Qi <yao.qi@linaro.org>
13421
13422 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13423 gdbserver_spawn.
13424 * gdb.server/connect-without-multi-process.exp (do_test):
13425 Likewise.
13426
134272016-08-23 Yao Qi <yao.qi@linaro.org>
13428
13429 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13430 standalone_txt. Delete gdb_txt and standalone_txt on host
13431 and target. Spawn the binary on target. Copy files from
13432 target to host.
13433
134342016-08-22 Pedro Alves <palves@redhat.com>
13435
13436 PR gdb/20505
13437 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13438 with_test_prefix. Factor out bits to ...
13439 (test_no_vdso): ... this new procedure.
13440
134412016-08-19 Carl Love <cel@us.ibm.com>
13442
13443 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13444 maintaining separate logic for constructing the output path.
13445 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13446 * gdb.arch/ppc-dfp.exp: Likewise.
13447 * gdb.arch/ppc-fp.exp: Likewise.
13448 * gdb.arch/vsx-regs.exp: Likewise.
13449 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13450 binprefix for generating the additional binary files.
13451
134522016-08-19 Pedro Alves <palves@redhat.com>
13453
13454 * gdb.trace/mi-trace-frame-collected.exp
13455 (test_trace_frame_collected): On x32, expect two registers.
13456
134572016-08-18 Carl Love <cel@us.ibm.com>
13458
13459 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13460 and sync up the test with tests in gas/testsuite/gas/ppc.
13461 * gdb.arch/powerpc-power.exp: Likewise.
13462
134632016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13464
13465 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13466 expected error message.
13467
134682016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13469
13470 * gdb.multi/remove-inferiors.exp: New file.
13471 * gdb.multi/remove-inferiors.c: New file.
13472
134732016-08-12 Yao Qi <yao.qi@linaro.org>
13474
13475 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13476 argument list.
13477
134782016-08-10 Pedro Alves <palves@redhat.com>
13479
13480 PR gdb/19187
13481 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13482 setup_kfails.
13483
134842016-08-09 Pedro Alves <palves@redhat.com>
13485 Simon Marchi <simon.marchi@ericsson.com>
13486
13487 PR gdb/20418
13488 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13489 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13490
134912016-08-09 Pedro Alves <palves@redhat.com>
13492
13493 PR mi/20431
13494 * gdb.mi/mi-cmd-error.exp: New file.
13495
134962016-08-09 Pedro Alves <palves@redhat.com>
13497
13498 PR gdb/18653
13499 * gdb.base/signals-state-child.c: New file.
13500 * gdb.base/signals-state-child.exp: New file.
13501 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13502
135032016-08-09 Pedro Alves <palves@redhat.com>
13504
13505 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13506
135072016-08-03 Tom Tromey <tom@tromey.com>
13508
13509 PR python/18565:
13510 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13511
135122016-08-01 Yao Qi <yao.qi@linaro.org>
13513
13514 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13515 variable mode to "multi-process" if $multi_process is 1, otherwise
13516 set it to "single-process".
13517
135182016-08-01 Yao Qi <yao.qi@linaro.org>
13519
13520 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13521 * gdb.cp/cpexprs.exp: Likewise.
13522 * gdb.cp/m-static.exp: Likewise.
13523
135242016-07-26 Tom Tromey <tom@tromey.com>
13525
13526 PR python/20190:
13527 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13528 test.
13529
135302016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13531
13532 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13533 selecting assembly source files.
13534 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13535 assembly source files.
13536 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13537 assembly source files.
13538 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13539 selecting assembly source files.
13540
135412016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13542
13543 * gdb.base/new-ui.exp (do_test_invalid_args): New
13544 procedure.
13545
135462016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13547
13548 * gdb.btrace/reconnect.c: New file.
13549 * gdb.btrace/reconnect.exp: New file.
13550
135512016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13552
13553 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13554 to test_catch_syscall_group.
13555 (test_catch_syscall_group): New.
13556
135572016-07-21 Tom Tromey <tom@tromey.com>
13558
13559 * gdb.rust/simple.rs (main): Use empty struct expression.
13560 * gdb.rust/simple.exp: Add tests for empty struct expression.
13561
135622016-07-21 Yao Qi <yao.qi@linaro.org>
13563
13564 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13565 if gdb_skip_xml_test is true on some targets.
13566
135672016-07-21 Yao Qi <yao.qi@linaro.org>
13568
13569 * gdb.server/solib-list.exp: Unset last_loaded_file.
13570
135712016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13572
13573 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13574 "step into captured_main (args)".
13575
135762016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13577
13578 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13579
135802016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13581
13582 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13583
135842016-07-19 Pedro Alves <palves@redhat.com>
13585
13586 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13587 * gdb.opt/inline-bt.exp: Likewise.
13588 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13589 additional_flags=-Winline.
13590 * gdb.opt/inline-locals.exp: Likewise.
13591 * gdb.opt/inline-markers.c (ATTR): Define.
13592 (inlined_fn): Use it.
13593
135942016-07-19 Yao Qi <yao.qi@linaro.org>
13595
13596 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13597 (test_with_self): Remove some code. Remove argument executable.
13598 (top-level): Use do_self_tests.
13599
136002016-07-15 Zachary Welch <zwelch@codesourcery.com>
13601 Don Breazeal <donb@codesourcery.com>
13602
13603 * gdb.base/maint.exp: Escape paths used in regular expressions.
13604 * gdb.stabs/weird.exp: Likewise.
13605
136062016-07-13 Tom Tromey <tom@tromey.com>
13607
13608 PR python/15620, PR python/18620:
13609 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13610 (test_bkpt_events): New procs.
13611
136122016-07-13 Tom Tromey <tom@tromey.com>
13613
13614 PR python/17698:
13615 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13616 test.
13617 (test_watchpoints): Likewise.
13618 (test_bkpt_pending): New proc.
13619
136202016-07-13 Tom Tromey <tom@tromey.com>
13621
13622 PR cli/18053:
13623 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13624 completion test.
13625
136262016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13627
13628 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13629 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13630 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13631 f_label.
13632 (g): Rename g_end_lbl to g_label.
13633 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13634 low_pc and high_pc.
13635 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13636
136372016-07-12 Tom Tromey <tom@tromey.com>
13638
13639 PR python/19293:
13640 * gdb.python/py-unwind-maint.exp: Update tests.
13641
136422016-07-12 Yao Qi <yao.qi@linaro.org>
13643
13644 * lib/selftest-support.exp (selftest_setup): Match the output
13645 when captured_main is inlined.
13646
136472016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13648
13649 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13650 New variables.
13651 (print this%a, print this%b, print this): New tests.
13652 * gdb.fortran/derived-types.f90 (this): New object and
13653 initialization.
13654
136552016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13656
13657 * gdb.ada/arraydim.exp: Remove extra directory level in build
13658 directory.
13659
136602016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13661
13662 * lib/ada.exp: Remove extra directory level in build directory.
13663 * gdb.ada/cond_lang.exp: Likewise.
13664 * gdb.ada/exec_changed.exp: Likewise.
13665 * gdb.ada/lang_switch.exp: Likewise.
13666
136672016-07-06 Manish Goregaokar <manish@mozilla.com>
13668
13669 * simple.rs: Add test for raw pointer subscripting.
13670 * simple.exp: Add test expectations.
13671
136722016-07-05 Yao Qi <yao.qi@linaro.org>
13673
13674 * gdb.mi/mi-reverse.exp: Match =record-started output.
13675
136762016-07-01 Pedro Alves <palves@redhat.com>
13677
13678 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13679 procedure.
13680 (jit_reader_test): Test the jit reader's unwinder.
13681 * gdb.base/jithost.c (jit_function_00_code): New global.
13682 (main): Use memcpy to fill in the mmapped code, instead of poking
13683 bytes manually here.
13684 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13685 value.
13686 (read_debug_info): Save the function's range.
13687 (read_sp): New function.
13688 (unwind_frame): Use it. Also unwind RBP.
13689 (get_frame_id): Use read_sp.
13690 (gdb_init_reader): Use calloc instead of malloc.
13691 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13692 parameter. Use gdb_test_multiple.
13693
136942016-07-01 Pedro Alves <palves@redhat.com>
13695 Antoine Tremblay <antoine.tremblay@ericsson.com>
13696
13697 * gdb.threads/process-dies-while-detaching.c: New file.
13698 * gdb.threads/process-dies-while-detaching.exp: New file.
13699
137002016-07-01 Pedro Alves <palves@redhat.com>
13701
13702 * gdb.multi/watchpoint-multi-exit.c: New file.
13703 * gdb.multi/watchpoint-multi-exit.exp: New file.
13704
137052016-06-30 Pedro Alves <palves@redhat.com>
13706
13707 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13708 unset inferior_spawn_id.
13709
137102016-06-30 Pedro Alves <palves@redhat.com>
13711
13712 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13713 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13714
137152016-06-29 Yao Qi <yao.qi@linaro.org>
13716
13717 * gdb.base/return.c: Add copyright header.
13718
137192016-06-29 Tom Tromey <tom@tromey.com>
13720
13721 PR python/20129:
13722 * gdb.python/py-framefilter.exp: Add tests for setting priority
13723 and disabling of non-existent frame filter.
13724
137252016-06-29 Yao Qi <yao.qi@linaro.org>
13726
13727 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13728 0x0f07ff.
13729
137302016-06-28 Yao Qi <yao.qi@linaro.org>
13731
13732 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13733 triplets. Start gdb, execute catch syscall, and continue. Check
13734 gdb's output to determine catch syscall is supported.
13735
137362016-06-27 Manish Goregaokar <manish@mozilla.com>
13737
13738 * gdb.rust/simple.rs: Add test for returning unit in a function.
13739 * gdb.rust/simple.exp: Add expectation for functions returning
13740 unit.
13741
137422016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13743
13744 * gdb.python/py-breakpoint-create-fail.c,
13745 gdb.python/py-breakpoint-create-fail.exp,
13746 gdb.python/py-breakpoint-create-fail.py: New testcase.
13747
137482016-06-25 Manish Goregaokar <manish@mozilla.com>
13749
13750 PR gdb/20239
13751 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
13752 * gdb.rust/simple.exp: Add test expectations for new NonZero
13753 tests.
13754
137552016-06-24 David Taylor <dtaylor@emc.com>
13756
13757 * gdb.base/offsets.exp: New file.
13758 * gdb.base/offsets.c: New file.
13759
137602016-06-23 Tom Tromey <tom@tromey.com>
13761
13762 PR gdb/16483:
13763 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13764 before any filters are loaded.
13765
137662016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13767
13768 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13769 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13770 structs.
13771 * gdb.fortran/derived-type-function.exp: New file.
13772 * gdb.fortran/derived-type-function.f90: New file.
13773
13774
137752016-06-21 Pedro Alves <palves@redhat.com>
13776
13777 * gdb.base/new-ui.exp: New file.
13778 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13779 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13780 (with_spawn_id): New procedure.
13781
137822016-06-21 Pedro Alves <palves@redhat.com>
13783
13784 * gdb.mi/mi-exec-run.exp: New file.
13785
137862016-06-21 Pedro Alves <palves@redhat.com>
13787
13788 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13789 breakpoint command's output on the main UI.
13790 (test_break): New procedure, factored out from calls in the top
13791 level.
13792 (top level): Use foreach_with_prefix to test MI as main UI and as
13793 separate UI.
13794
137952016-06-21 Pedro Alves <palves@redhat.com>
13796
13797 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13798 (test_awatch_creation_and_listing)
13799 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13800 Remove 'type' parameter.
13801 (test_watchpoint_all): New parameter mi_mode. Remove
13802 with_test_prefix.
13803 (top level): Use foreach_with_prefix, and add main/separate UI MI
13804 testing axis.
13805
138062016-06-21 Pedro Alves <palves@redhat.com>
13807
13808 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13809 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13810 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13811 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13812 (gdb_main_spawn_id, mi_spawn_id): Declare and
13813 comment.
13814 (mi_create_inferior_pty): New procedure,
13815 factored out from default_mi_gdb_start.
13816 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13817 procedures.
13818 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13819 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13820 Use mi_create_inferior_pty.
13821 (mi_gdb_start): Use eval to pass down args list.
13822
138232016-06-21 Pedro Alves <palves@redhat.com>
13824
13825 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13826 * gdb.opt/inline-cmds.exp: Add MI tests.
13827
138282016-06-21 Pedro Alves <palves@redhat.com>
13829
13830 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13831
138322016-06-21 Pedro Alves <palves@redhat.com>
13833
13834 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13835 (top level): Use it instead of mi_execute_to.
13836
138372016-06-21 Pedro Alves <palves@redhat.com>
13838
13839 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13840 (cont_handler_str): New.
13841 (signal_stop_handler): Set stop_handler_str instead of printing to
13842 stdout.
13843 (continue_handler): Set cont_handler_str instead of printing to
13844 stdout.
13845 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13846 mi_send_resuming_command. Print stop_handler_str and
13847 cont_handler_str instead of expecting the python events print
13848 directly.
13849
138502016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13851
13852 * gdb.base/jit-reader.exp: New file.
13853 * gdb.base/jithost.c: New file.
13854 * gdb.base/jithost.h: New file.
13855 * gdb.base/jitreader.c : New file.
13856 * gdb.base/jit-protocol.h: New file.
13857
138582016-06-17 Yao Qi <yao.qi@linaro.org>
13859
13860 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13861 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13862 and detach-on-fork. Adjust tests.
13863 (top level): Invoke break_cond_on_syscall with combinations of
13864 syscall, follow-fork-mode and detach-on-fork.
13865
138662016-06-17 Yao Qi <yao.qi@linaro.org>
13867
13868 * gdb.base/step-over-exit.c: New.
13869 * gdb.base/step-over-exit.exp: New.
13870
138712016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13872
13873 * gdb.base/float.exp: Add target check for nds32*-*-*.
13874 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13875
138762016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13877
13878 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13879 for unsupported target features.
13880 * gdb.base/call-rt-st.exp: Likewise.
13881 * gdb.base/call-sc.exp: Likewise.
13882 * gdb.base/call-signal-resume.exp: Likewise.
13883 * gdb.base/call-strs.exp: Likewise.
13884 * gdb.base/callexit.exp: Likewise.
13885 * gdb.base/callfuncs.exp: Likewise.
13886 * gdb.base/nodebug.exp: Likewise.
13887 * gdb.base/printcmds.exp: Likewise.
13888 * gdb.base/ptype.exp: Likewise.
13889 * gdb.base/structs.exp: Likewise.
13890 * gdb.base/unwindonsignal.exp: Likewise.
13891 * gdb.cp/gdb2495.exp: Likewise.
13892 * gdb.cp/templates.exp: Likewise.
13893 * gdb.cp/virtfunc.exp: Likewise.
13894 * gdb.threads/hand-call-in-threads.exp: Likewise.
13895 * gdb.threads/interrupted-hand-call.exp: Likewise.
13896 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13897
138982016-06-10 Tom Tromey <tom@tromey.com>
13899
13900 PR rust/20110:
13901 * gdb.rust/expr.exp: Add test for integer constant larger than
13902 i32.
13903
139042016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13905
13906 * gdb.fortran/nested-funcs.exp: New.
13907 * gdb.fortran/nested-funcs.f90: New.
13908
139092016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13910
13911 * gdb.base/examine-backward.c: New file.
13912 * gdb.base/examine-backward.exp: New file.
13913
139142016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13915
13916 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13917 matching.
13918
139192016-06-02 Tom Tromey <tom@tromey.com>
13920
13921 PR python/18984:
13922 * gdb.python/py-shared.exp: Add solib_name test.
13923
139242016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13925
13926 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13927
139282016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13929
13930 PR c++/19893
13931 * gdb.dwarf2/implref.exp: Rename to...
13932 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13933 * gdb.dwarf2/implref-array.c: New file.
13934 * gdb.dwarf2/implref-array.exp: Likewise.
13935 * gdb.dwarf2/implref-global.c: Likewise.
13936 * gdb.dwarf2/implref-global.exp: Likewise.
13937 * gdb.dwarf2/implref-struct.c: Likewise.
13938 * gdb.dwarf2/implref-struct.exp: Likewise.
13939
139402016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13941
13942 * gdb.trace/trace-condition.exp: Add 64bit tests.
13943
139442016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13945
13946 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13947 bits types.
13948 (main): Adapt to 8 to 64 bits types.
13949 * gdb.trace/trace-condition.exp: Add new tests.
13950
139512016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13952
13953 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13954
139552016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13956
13957 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13958 Move condition tests...
13959 * gdb.trace/trace-condition.exp: Here.
13960
139612016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13962
13963 * gdb.trace/trace-condition.exp: Add counter-case tests.
13964
139652016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13966
13967 PR c++/15231
13968 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13969 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13970
139712016-05-27 Pedro Alves <palves@redhat.com>
13972
13973 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13974 New procedure.
13975 (top level): Call it, and bail out of DejaGnu is known to be bad.
13976
139772016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13978
13979 * gdb.base/whatis.c: Extend the test case.
13980 * gdb.base/whatis.exp: Add additional tests.
13981
139822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13983
13984* gdb.fortran/type.f90: Add pointer variable.
13985* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13986
139872016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13988
13989 * gdb.fortran/vla-type.exp: Fix testcase name.
13990
139912016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13992
13993 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13994
139952016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13996
13997 * gdb.fortran/type.f90: Add nested structures.
13998 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13999 * gdb.fortran/derived-type.exp: Adapt expected output.
14000 * gdb.fortran/vla-type.exp: Adapt expected output.
14001
140022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14003
14004 * gdb.fortran/whatis_type.exp: Adapt expected output.
14005
140062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14007
14008 * gdb.fortran/print_type.exp: Fix expected output.
14009 * gdb.fortran/whatis_type.exp: Fix expected output.
14010
140112016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14012
14013 * gdb.fortran/whatis_type.exp: Use multi_line.
14014
140152016-05-24 Tom Tromey <tom@tromey.com>
14016
14017 PR python/17386:
14018 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14019 use value as an index.
14020
140212016-05-23 Tom Tromey <tom@tromey.com>
14022
14023 PR python/17981:
14024 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14025 no-breakpoint case.
14026
140272016-05-24 Pedro Alves <palves@redhat.com>
14028
14029 PR gdb/19828
14030 * gdb.threads/clone-attach-detach.c: New file.
14031 * gdb.threads/clone-attach-detach.exp: New file.
14032
140332016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14034
14035 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14036
140372016-05-23 Tom Tromey <tom@tromey.com>
14038
14039 PR python/19438, PR python/18393:
14040 * gdb.python/py-progspace.exp: Add "dir" test.
14041 * gdb.python/py-objfile.exp: Add "dir" test.
14042
140432016-05-23 Yao Qi <yao.qi@linaro.org>
14044
14045 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14046 * gdb.arch/thumb2-it.exp: Likewise.
14047
140482016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14049
14050 * gdb.mi/mi-threads-interrupt.c: New file.
14051 * gdb.mi/mi-threads-interrupt.exp: New file.
14052
140532016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14054
14055 PR gdb/18077
14056 * gdb.mi/mi-async-run.exp: New file.
14057 * gdb.mi/mi-async-run.c: New file.
14058
140592016-05-17 Tom Tromey <tom@tromey.com>
14060 Manish Goregaokar <manishsmail@gmail.com>
14061
14062 * lib/rust-support.exp: New file.
14063 * lib/gdb.exp (skip_rust_tests): New proc.
14064 (build_executable_from_specs): Handle rust.
14065 * lib/future.exp (gdb_find_rustc): New proc.
14066 (gdb_default_target_compile): Handle rust.
14067 * gdb.rust/expr.exp: New file.
14068 * gdb.rust/generics.exp: New file.
14069 * gdb.rust/generics.rs: New file.
14070 * gdb.rust/methods.exp: New file.
14071 * gdb.rust/methods.rs: New file.
14072 * gdb.rust/modules.exp: New file.
14073 * gdb.rust/modules.rs: New file.
14074 * gdb.rust/simple.exp: New file.
14075 * gdb.rust/simple.rs: New file.
14076
140772016-05-17 Tom Tromey <tom@tromey.com>
14078
14079 * gdb.base/default.exp (set language): Add rust.
14080
140812016-05-17 Tom Tromey <tom@tromey.com>
14082
14083 * gdb.gdb/unittest.exp: New file.
14084
140852016-05-16 Yao Qi <yao.qi@linaro.org>
14086
14087 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14088 shell_prompt. Update shell_prompt_re.
14089
140902016-05-12 Doug Evans <dje@google.com>
14091
14092 PR symtab/19999
14093 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14094 $options when building executable.
14095 * gdb.dwarf2/fission-loclists-pie.S: New file.
14096 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14097
140982016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14099
14100 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14101 of [is_remote target],
14102
141032016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14104
14105 * lib/gdb.exp (use_gdb_stub): New procedure.
14106
141072016-05-03 Yunlian Jiang <yunlian@google.com>
14108 Doug Evans <dje@google.com>
14109
14110 PR symtab/19914
14111 * gdb.dwarf2/dwp-sepdebug.c: New file.
14112 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14113
141142016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14115
14116 * gdb.base/detach.exp: Remove is_remote check.
14117
141182016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14119
14120 * gdb.base/annota-input-while-running.exp: Don't check for
14121 [is_remote target]. Enable annotations after running to main.
14122 Remove unused "set test..." line.
14123
141242016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14125
14126 * gdb.trace/trace-enable-disable.exp: New file.
14127 * gdb.trace/trace-enable-disable.c: New file.
14128
141292016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14130
14131 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14132 use it in info sharedlibrary test.
14133 * gdb.trace/ftrace-lock.exp: Likewise.
14134 * gdb.trace/ftrace.exp: Likewise.
14135 * gdb.trace/range-stepping.exp: Likewise.
14136 * gdb.trace/trace-break.exp: Likewise.
14137 * gdb.trace/trace-condition.exp: Likewise.
14138 * gdb.trace/trace-mt.exp: Likewise.
14139
141402016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14141
14142 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14143 (gdb_load_shlib): ... this.
14144 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14145 gdb_load_shlib.
14146 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14147 * gdb.base/ctxobj.exp: Likewise.
14148 * gdb.base/dprintf-pending.exp: Likewise.
14149 * gdb.base/dso2dso.exp: Likewise.
14150 * gdb.base/fixsection.exp: Likewise.
14151 * gdb.base/gcore-relro.exp: Likewise.
14152 * gdb.base/gdb1555.exp: Likewise.
14153 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14154 * gdb.base/gnu-ifunc.exp: Likewise.
14155 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14156 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14157 * gdb.base/pending.exp: Likewise.
14158 * gdb.base/print-file-var.exp: Likewise.
14159 * gdb.base/print-symbol-loading.exp: Likewise.
14160 * gdb.base/shlib-call.exp: Likewise.
14161 * gdb.base/shreloc.exp: Likewise.
14162 * gdb.base/so-impl-ld.exp: Likewise.
14163 * gdb.base/solib-disc.exp: Likewise.
14164 * gdb.base/solib-nodir.exp: Likewise.
14165 * gdb.base/solib-overlap.exp: Likewise.
14166 * gdb.base/solib-symbol.exp: Likewise.
14167 * gdb.base/solib-weak.exp (do_test): Likewise.
14168 * gdb.base/sym-file.exp: Likewise.
14169 * gdb.base/symtab-search-order.exp: Likewise.
14170 * gdb.base/type-opaque.exp: Likewise.
14171 * gdb.base/unload.exp: Likewise.
14172 * gdb.base/watchpoint-solib.exp: Likewise.
14173 * gdb.compile/compile.exp: Likewise.
14174 * gdb.cp/gdb2384.exp: Likewise.
14175 * gdb.cp/infcall-dlopen.exp: Likewise.
14176 * gdb.cp/re-set-overloaded.exp: Likewise.
14177 * gdb.fortran/library-module.exp: Likewise.
14178 * gdb.opt/solib-intra-step.exp: Likewise.
14179 * gdb.python/py-finish-breakpoint.exp: Likewise.
14180 * gdb.python/py-shared.exp: Likewise.
14181 * gdb.reverse/solib-precsave.exp: Likewise.
14182 * gdb.reverse/solib-reverse.exp: Likewise.
14183 * gdb.server/solib-list.exp: Likewise.
14184 * gdb.threads/dlopen-libpthread.exp: Likewise.
14185 * gdb.threads/tls-shared.exp: Likewise.
14186 * gdb.threads/tls-so_extern.exp: Likewise.
14187 * gdb.trace/change-loc.exp: Likewise.
14188 * gdb.trace/ftrace-lock.exp: Likewise.
14189 * gdb.trace/ftrace.exp: Likewise.
14190 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14191 * gdb.trace/pending.exp: Likewise.
14192 * gdb.trace/range-stepping.exp: Likewise.
14193 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14194 (strace_info_marker): Likewise.
14195 (strace_probe_marker): Likewise.
14196 (strace_trace_on_same_addr): Likewise.
14197 (strace_trace_on_diff_addr): Likewise.
14198 * gdb.trace/trace-break.exp: Likewise.
14199 * gdb.trace/trace-condition.exp: Likewise.
14200 * gdb.trace/trace-mt.exp: Likewise.
14201
142022016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14203
14204 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14205 result of gdb_remote_download.
14206 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14207 * gdb.base/dso2dso.exp: Likewise.
14208 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14209 * gdb.base/print-file-var.exp: Likewise.
14210 * gdb.base/shlib-call.exp: Likewise.
14211 * gdb.base/shreloc.exp: Likewise.
14212 * gdb.base/solib-overlap.exp: Likewise.
14213 * gdb.base/solib-weak.exp (do_test): Likewise.
14214 * gdb.base/unload.exp: Likewise.
14215
142162016-04-27 Yao Qi <yao.qi@linaro.org>
14217
14218 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14219 exists.
14220
142212016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14222
14223 * vla-type.exp: Print structure from toplevel.
14224
142252016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14226
14227 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14228 of dynamic types.
14229 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14230 of dynamic types.
14231
142322016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14233
14234 * gdb.fortran/vla-type.f90: New file.
14235 * gdb.fortran/vla-type.exp: New file.
14236
142372016-04-25 Yao Qi <yao.qi@linaro.org>
14238
14239 * gdb.base/branch-to-self.c: New file.
14240 * gdb.base/branch-to-self.exp: New file.
14241
142422016-04-22 Yao Qi <yao.qi@linaro.org>
14243
14244 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14245 more after $hex.
14246
142472016-04-22 Yao Qi <yao.qi@linaro.org>
14248
14249 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14250 * gdb.base/annota3.exp: Likewise.
14251
142522016-04-22 Yao Qi <yao.qi@linaro.org>
14253
14254 * gdb.reverse/step-precsave.exp: Do one step and test program
14255 stops in "callee" and do multiple steps until program goes out
14256 of "callee".
14257 * gdb.reverse/step-reverse.exp: Likewise.
14258
142592016-04-22 Yao Qi <yao.qi@linaro.org>
14260
14261 * gdb.trace/signal.exp: Also pass if
14262 $tracepoint_hits($i) > $iterations.
14263
142642016-04-22 Yao Qi <yao.qi@linaro.org>
14265
14266 * gdb.trace/signal.c: New file.
14267 * gdb.trace/signal.exp: New file.
14268
142692016-04-19 Doug Evans <xdje42@gmail.com>
14270
14271 * gdb.base/bad-file.exp: New file.
14272
142732016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14274
14275 * gdb.dwarf2/implref.exp: New file.
14276
142772016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14278
14279 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14280 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14281 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14282 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14283 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14284 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14285 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14286 * lib/fortran.exp (fortran_int4): New procedure.
14287 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14288 (fortran_logical4): Likewise.
14289
142902016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14291
14292 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14293
142942016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14295
14296 * lib/compiler.c: Add Intel specific preprocessor macros.
14297 * lib/compiler.cc: Likewise.
14298
142992016-04-13 Luis Machado <lgustavo@codesourcery.com>
14300
14301 * gdb.server/connect-with-no-symbol-file.c: New file.
14302 * gdb.server/connect-with-no-symbol-file.exp: New file.
14303
143042016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14305
14306 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14307
143082016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14309
14310 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14311 standard output directory.
14312
143132016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14314
14315 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14316
143172016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14318
14319 * gdb.btrace/instruction_history.c (loop): Add declaration.
14320
143212016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14322
14323 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14324
143252016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14326
14327 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14328 parentheses to print.
14329 (continue_handler): Likewise.
14330
143312016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14332
14333 * gdb.server/solib-list.exp: Remove is_remote check.
14334 Pass shlib= to gdb_compile. Don't link shared library with
14335 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14336 Run binary filename through "readlink -f" on the target.
14337
143382016-04-08 Pedro Alves <palves@redhat.com>
14339
14340 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14341 interpreter filename as argument to gdbserver_spawn.
14342 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14343 Return empty if $last_loaded_file does not exist.
14344
143452016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14346
14347 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14348 * gdb.base/jit-main.c: Use exit after usage.
14349
143502016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14351
14352 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14353 GDBHISTSIZE prior to the tests.
14354 * gdb.base/gdbinit-history.exp: Likewise.
14355
143562016-04-07 Pedro Alves <palves@redhat.com>
14357
14358 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14359 instead of build_executable. Use gdb_load_shlibs.
14360
143612016-04-07 Yao Qi <yao.qi@linaro.org>
14362
14363 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14364 Execute "si" command.
14365
143662016-04-07 Yao Qi <yao.qi@linaro.org>
14367
14368 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14369 number instead of the comments on some line.
14370
143712016-04-06 Don Breazeal <donb@codesourcery.com>
14372
14373 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14374 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14375
143762016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14377
14378 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14379 standard_output_file. Remove unused binfile variable.
14380
143812016-04-05 Catalin Udma <catalin.udma@freescale.com>
14382
14383 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14384 * gdb.python/py-mi-objfile.exp: Match "list main" output
14385 in console format.
14386
143872016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14388
14389 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14390 absolute.
14391
143922016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14393
14394 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14395 absolute.
14396 * gdb.trace/ftrace.exp: Likewise.
14397 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14398 targets as well.
14399 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14400 (gdb_load_shlibs): Copy libraries to test directory when testing
14401 natively. Only set solib-search-path if testing remotely.
14402 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14403
144042016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14405
14406 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14407 gdb_download. Use it even if the target is not remote.
14408 * gdb.base/jit.exp (compile_jit_test): Likewise.
14409 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14410 output directory if the destination board is local, otherwise use
14411 the standard remote_download from DejaGnu.
14412 (gdb_download): Remove.
14413 (gdb_load_shlibs): Use gdb_remote_download instead of
14414 gdb_download.
14415 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14416 Use gdb_remote_download instead of gdb_download. Use it even if
14417 the target is not remote.
14418 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14419 instead of gdb_download.
14420
144212016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14422
14423 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14424 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14425 run.
14426
144272016-04-01 Artemiy Volkov <artemiyv@acm.org>
14428
14429 PR gdb/19820
14430 * gdb.base/printcmds.exp: Add artificial arrays tests.
14431
144322016-03-31 Pedro Alves <palves@redhat.com>
14433
14434 PR gdb/19858
14435 * gdb.base/jit-main.c: Include unistd.h.
14436 (ATTACH): Define to 0 if not already defined.
14437 (wait_for_gdb, mypid): New globals.
14438 (WAIT_FOR_GDB): New macro.
14439 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14440 some breakpoint locations.
14441 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14442 New procedures.
14443 (one_jit_test): Add REATTACH parameter, and handle it. Use
14444 continue_to_test_location.
14445 (top level): Test attach, and adjusts calls to one_jit_test.
14446
144472016-03-31 Pedro Alves <palves@redhat.com>
14448
14449 PR gdb/19858
14450 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14451 BINSUFFIX parameter, and handle it.
14452 (top level): Adjust calls compile_jit_test.
14453
144542016-03-31 Catalin Udma <catalin.udma@freescale.com>
14455
14456 PR python/19743
14457 * gdb.python/py-mi-events-gdb.py: New file.
14458 * gdb.python/py-mi-events.c: New file.
14459 * gdb.python/py-mi-events.exp: New file.
14460
144612016-03-30 Yao Qi <yao.qi@linaro.org>
14462
14463 * gdb.reverse/until-precsave.exp: Match function name only.
14464 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14465 Move malloc to a condition block.
14466 * gdb.reverse/until-reverse.exp: Match function name only.
14467
144682016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14469
14470 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14471 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14472 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14473 variable for GPR 0 instead of assuming it is register 0.
14474 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14475 * lib/trace-support.exp: Add s390 registers.
14476
144772016-03-29 Yao Qi <yao.qi@linaro.org>
14478
14479 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14480
144812016-03-24 Yao Qi <yao.qi@linaro.org>
14482
14483 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14484 test message.
14485
144862016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14487
14488 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14489 maintaining separate logic for constructing the output path.
14490
144912016-03-16 Don Breazeal <donb@codesourcery.com>
14492
14493 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14494 Retry fork and waitpid on interrupted system call errors.
14495 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14496 Use with_timeout_factor to increase timeout by factor of 10.
14497
144982016-03-15 Don Breazeal <donb@codesourcery.com>
14499
14500 * gdb.cp/scope-err.cc: New test program.
14501 * gdb.cp/scope-err.exp: New test script.
14502 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14503 lines and "set breakpoint here" comment.
14504 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14505 Fixed some whitespace and format issues.
14506 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14507 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14508
145092016-03-15 Doug Evans <dje@google.com>
14510
14511 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14512 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14513 All callers updated. Add tests for enums, mixed flags register.
14514
145152016-03-15 Doug Evans <dje@google.com>
14516
14517 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14518 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14519
145202016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14521
14522 * gdb.base/default.exp: Add $_as_string to the list of expected
14523 convenience functions.
14524
145252016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14526
14527 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14528
145292016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14530
14531 * gdb.python/py-as-string.exp: New file.
14532 * gdb.python/py-as-string.c: New file.
14533
145342016-03-09 Pedro Alves <palves@redhat.com>
14535
14536 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14537 signal" -> "Thread NN received signal" output change.
14538 * gdb.threads/ia64-sigill.exp: Likewise.
14539 * gdb.threads/linux-dp.exp: Likewise.
14540 * gdb.threads/manythreads.exp: Likewise.
14541 * gdb.threads/pending-step.exp: Likewise.
14542 * gdb.threads/print-threads.exp: Likewise.
14543 * gdb.threads/sigstep-threads.exp: Likewise.
14544 * gdb.threads/staticthreads.exp: Likewise.
14545 * gdb.threads/tls.exp: Likewise.
14546
145472016-03-09 Pedro Alves <palves@redhat.com>
14548
14549 * gdb.base/command-line-input.exp: New file.
14550
145512016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14552
14553 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14554 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14555 * gdb.trace/pending.exp: Accept leading dot before function name.
14556 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14557 * lib/trace-support.exp: Set registers for ppc.
14558
145592016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14560
14561 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14562 use it for disassembly; accept .main in addition to main in backtrace.
14563
145642016-03-09 Wei-cheng Wang <cole945@gmail.com>
14565 Marcin Kościelnicki <koriakin@0x04.net>
14566
14567 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14568 (gdb_recursion_test_ptr): New global variable.
14569 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14570 gdb_recursion_test.
14571 (gdb_c_test): Ditto.
14572
145732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14574
14575 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14576 ordering.
14577
145782016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14579
14580 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14581 (bar): Add bar_start_lbl label.
14582 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14583 of foo/bar for emitting DWARF and tracing.
14584
145852016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14586
14587 * analyze-racy-logs.py: Set executable bit.
14588
145892016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14590
14591 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14592 (CHECK_TARGET_TMP): Likewise.
14593 (check-single-racy): New rule.
14594 (check-parallel-racy): Likewise.
14595 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14596 (do-check-parallel-racy): New rule.
14597 (check-racy/%.exp): Likewise.
14598 * README (Racy testcases): New section.
14599 * analyze-racy-logs.py: New file.
14600
146012016-03-03 Doug Evans <dje@google.com>
14602
14603 * gdb.base/skip.exp: Use with_test_prefix.
14604
146052016-03-03 Yao Qi <yao.qi@linaro.org>
14606
14607 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14608 Invoke step_over_syscall "clone" and break_cond_on_syscall
14609 "clone".
14610 * gdb.base/step-over-clone.c: New file.
14611
146122016-03-03 Yao Qi <yao.qi@linaro.org>
14613
14614 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14615 code format.
14616
146172016-03-03 Yao Qi <yao.qi@linaro.org>
14618
14619 * gdb.base/disp-step-fork.c: Rename to ...
14620 * gdb.base/step-over-fork.c: ... it. New file.
14621 * gdb.base/disp-step-vfork.c: Rename to ...
14622 * gdb.base/step-over-vfork.c: ... it. New file.
14623 * gdb.base/disp-step-syscall.exp: Rename to ...
14624 * gdb.base/step-over-syscall.exp: ... it. New file.
14625 (disp_step_cross_syscall): Rename to ...
14626 (step_over_syscall): ... it.
14627
146282016-03-03 Yao Qi <yao.qi@linaro.org>
14629
14630 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14631 If target supports condition evaluation on target, invoke
14632 break_cond_on_syscall for fork and vfork.
14633
146342016-03-03 Yao Qi <yao.qi@linaro.org>
14635
14636 * gdb.base/disp-step-syscall.exp: Don't invoke
14637 support_displaced_stepping.
14638 (disp_step_cross_syscall): Test with displaced stepping off and
14639 on if supported.
14640
146412016-03-03 Yao Qi <yao.qi@linaro.org>
14642
14643 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14644 proc.
14645 (setup): New proc.
14646 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14647 and setup.
14648
146492016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14650
14651 * gdb.fortran/vla-history.exp: Remove breakpoint.
14652
146532016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14654
14655 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14656 exceeds timeout.
14657
146582016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14659
14660 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14661 breakpoint.
14662
146632016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14664
14665 * gdb.mi/vla.f90: Nullify pointer after declaration.
14666
146672016-03-01 Pedro Alves <palves@redhat.com>
14668
14669 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14670
146712016-03-01 Pedro Alves <palves@redhat.com>
14672
14673 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14674 before anything else.
14675 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14676 _GNU_SOURCE here.
14677 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14678 before anything else.
14679 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14680
146812016-03-01 Pedro Alves <palves@redhat.com>
14682
14683 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14684
146852016-03-01 Yao Qi <yao.qi@linaro.org>
14686
14687 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14688 prepare_for_testing.
14689
146902016-03-01 Yao Qi <yao.qi@linaro.org>
14691
14692 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14693
146942016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14695
14696 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14697 manually constructing the output path.
14698
146992016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14700
14701 * gdb.arch/s390-stackless.S: New.
14702 * gdb.arch/s390-stackless.exp: New.
14703
147042016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14705
14706 * gdb.dlang/circular.c: New file.
14707 * gdb.dlang/circular.exp: New file.
14708
147092016-02-26 Yao Qi <yao.qi@linaro.org>
14710
14711 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14712 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14713 (testcases): Update.
14714
147152016-02-26 Yao Qi <yao.qi@linaro.org>
14716
14717 * gdb.reverse/aarch64.c: Rename to ...
14718 * gdb.reverse/insn-reverse.c: ... it.
14719 * gdb.reverse/aarch64.exp: Rename to ...
14720 * gdb.reverse/insn-reverse.exp: ... it.
14721
147222016-02-26 Yao Qi <yao.qi@linaro.org>
14723
14724 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14725 (testcase_ftype): New.
14726 (testcases): New array.
14727 (n_testcases): New.
14728 (main): Call each element in testcases.
14729 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14730 (read_testcase): New.
14731 Do the tests in a loop.
14732
147332016-02-25 Yao Qi <yao.qi@linaro.org>
14734
14735 * gdb.base/branches.c: Remove.
14736
147372016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14738
14739 PR gdb/13808
14740 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14741
147422016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14743
14744 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14745
147462016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14747
14748 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14749 change x86_64 call_insn to 'callq'.
14750
147512016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14752
14753 * gdb.trace/tfile-avx.c: Move to...
14754 * gdb.trace/tracefile-pseudo-reg.c: Here.
14755 * gdb.trace/tfile-avx.exp: Move to...
14756 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14757
147582016-02-24 Gary Benson <gbenson@redhat.com>
14759
14760 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14761 message on attach.
14762
147632016-02-23 Doug Evans <dje@google.com>
14764
14765 * gdb.base/skip.c (test_skip): New function.
14766 (end_test_skip_file_and_function): New function.
14767 (test_skip_file_and_function): New function.
14768 * gdb.base/skip1.c (test_skip): New function.
14769 (skip1_test_skip_file_and_function): New function.
14770 * gdb.base/skip.exp: Add tests for new skip options.
14771 * gdb.base/skip-solib.exp: Update expected output.
14772 * gdb.perf/skip-command.cc: New file.
14773 * gdb.perf/skip-command.exp: New file.
14774 * gdb.perf/skip-command.py: New file.
14775
147762016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14777
14778 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14779 info registers pattern.
14780
147812016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14782
14783 * lib/future.exp: Add D support.
14784 (gdb_find_gdc): New proc.
14785 (gdb_default_target_compile): Add D support.
14786
147872016-02-18 Wei-cheng Wang <cole945@gmail.com>
14788
14789 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14790 user+system time.
14791 (trace_speed_test): Determine the iteration count for a time
14792 between 15..30 seconds.
14793
147942016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14795
14796 * gdb.arch/i386-mpx-sigsegv.c: New file.
14797 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14798 * gdb.arch/i386-mpx-simple_segv.c: New file.
14799 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14800
148012016-02-18 Yao Qi <yao.qi@linaro.org>
14802
14803 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14804 Don't call setup_kfail.
14805
148062016-02-18 Yao Qi <yao.qi@linaro.org>
14807
14808 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14809 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14810
148112016-02-16 Doug Evans <dje@google.com>
14812
14813 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14814 * gdb.base/skip1.c: Ditto.
14815 * gdb.base/skip.exp: Whitespace cleanup.
14816
148172016-02-16 Don Breazeal <donb@codesourcery.com>
14818
14819 PR remote/19496
14820 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14821 Remove kfail for PR remote/19496.
14822
148232016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14824
14825 * lib/gdb.exp (standard_temp_file): Return a path specific to
14826 the runtest invocation.
14827
148282016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14829
14830 * gdb.trace/save-trace.exp: Change relative path to be in the
14831 standard output directory.
14832
148332016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14834
14835 * gdb.arch/i386-prologue.c: Add missing prototypes.
14836
148372016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14838
14839 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14840 * gdb.arch/i386-prologue.exp: Likewise.
14841 * gdb.arch/i386-size.exp: Likewise.
14842
148432016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14844
14845 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14846 define object file path.
14847 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14848 file path.
14849 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14850 standard_output_file to define binfile.
14851
148522016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14853
14854 Fix compatibility with recent gfortran-5.3.1.
14855 * gdb.fortran/vla-history.exp (print vla1 allocated)
14856 (print vla2 allocated, print $2, print $3): Remove
14857 (print $4): Rename to ...
14858 (print $2): ... here.
14859 (print $9): Rename to ...
14860 (print $5): ... here.
14861 (print $10): Rename to ...
14862 (print $6): ... here.
14863 * gdb.fortran/vla.f90: Add pvla initialization.
14864
148652016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14866
14867 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14868 New test.
14869 * gdb.fortran/vla-value-sub.exp: Likewise.
14870
148712016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14872
14873 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14874
148752016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14876
14877 * i386-biarch-core.exp: Define corefile using
14878 standard_output_file.
14879
148802016-02-12 Yao Qi <yao.qi@linaro.org>
14881
14882 * gdb.arch/arm-single-step-kernel-helper.c: New.
14883 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14884
148852016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14886
14887 * gdb.btrace/tailcall-only.exp: New.
14888 * gdb.btrace/tailcall-only.c: New.
14889 * gdb.btrace/x86_64-tailcall-only.S: New.
14890 * gdb.btrace/i686-tailcall-only.S: New.
14891
148922016-02-11 Pedro Alves <palves@redhat.com>
14893
14894 * README (Parallel testing): Add missing double quotes.
14895
148962016-02-11 Pedro Alves <palves@redhat.com>
14897
14898 * README (Parallel testing): New section.
14899 (GDB_PARALLEL): Rewrite.
14900 (FORCE_PARALLEL): Document.
14901
149022016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14903
14904 * gdb.trace/tfile-avx.c: New test.
14905 * gdb.trace/tfile-avx.exp: New test.
14906
149072016-02-09 Keith Seitz <keiths@redhat.com>
14908
14909 PR breakpoints/19546
14910 * gdb.base/infcall-exec.c: New file.
14911 * gdb.base/infcall-exec2.c: New file.
14912 * gdb.base/infcall-exec.exp: New file.
14913
149142016-02-09 Keith Seitz <keiths@redhat.com>
14915
14916 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14917 (toplevel): Call test_bkpt_address.
14918
149192016-02-09 Keith Seitz <keiths@redhat.com>
14920
14921 PR python/19506
14922 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14923 (toplevel): Call test_bkpt_address.
14924
149252016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14926
14927 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14928 to AC_OUTPUT.
14929 * configure: Regenerate.
14930
149312016-02-09 Pedro Alves <palves@redhat.com>
14932
14933 PR breakpoints/19548
14934 * gdb.base/execl-update-breakpoints.c (some_function): New
14935 function.
14936 (main): Call it.
14937 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14938 Tighten expected GDB output.
14939
149402016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14941
14942 * Makefile.in (ALL_SUBDIRS): Remove.
14943 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14944 (distclean maintainer-clean realclean): Likewise.
14945 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14946 * configure: Regenerate.
14947 * gdb.ada/Makefile.in: Delete.
14948 * gdb.arch/Makefile.in: Likewise.
14949 * gdb.asm/Makefile.in: Likewise.
14950 * gdb.base/Makefile.in: Likewise.
14951 * gdb.btrace/Makefile.in: Likewise.
14952 * gdb.cell/Makefile.in: Likewise.
14953 * gdb.compile/Makefile.in: Likewise.
14954 * gdb.cp/Makefile.in: Likewise.
14955 * gdb.disasm/Makefile.in: Likewise.
14956 * gdb.dlang/Makefile.in: Likewise.
14957 * gdb.dwarf2/Makefile.in: Likewise.
14958 * gdb.fortran/Makefile.in: Likewise.
14959 * gdb.gdb/Makefile.in: Likewise.
14960 * gdb.go/Makefile.in: Likewise.
14961 * gdb.guile/Makefile.in: Likewise.
14962 * gdb.java/Makefile.in: Likewise.
14963 * gdb.linespec/Makefile.in: Likewise.
14964 * gdb.mi/Makefile.in: Likewise.
14965 * gdb.modula2/Makefile.in: Likewise.
14966 * gdb.multi/Makefile.in: Likewise.
14967 * gdb.objc/Makefile.in: Likewise.
14968 * gdb.opencl/Makefile.in: Likewise.
14969 * gdb.opt/Makefile.in: Likewise.
14970 * gdb.pascal/Makefile.in: Likewise.
14971 * gdb.perf/Makefile.in: Likewise.
14972 * gdb.python/Makefile.in: Likewise.
14973 * gdb.reverse/Makefile.in: Likewise.
14974 * gdb.server/Makefile.in: Likewise.
14975 * gdb.stabs/Makefile.in: Likewise.
14976 * gdb.threads/Makefile.in: Likewise.
14977 * gdb.trace/Makefile.in: Likewise.
14978 * gdb.xml/Makefile.in: Likewise.
14979 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14980 GDB_PARALLEL.
14981 (standard_output_file): Remove check for GDB_PARALLEL, always
14982 return path in outputs/$subdir/$testname.
14983
149842016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14985
14986 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14987 (site.exp): Assign abs_srcdir to tcl's srcdir.
14988
149892016-02-04 Yao Qi <yao.qi@linaro.org>
14990
14991 * gdb.base/foll-exec-mode.c: Include limits.h.
14992 (main): Add parameters argc and argv. Get directory from
14993 argv[0].
14994 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14995 compilation.
14996 * gdb.base/foll-exec.c: Include limits.h.
14997 (main): Add parameters argc and argv.
14998 Get directory from argv[0].
14999 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15000 Adjust tests on the number of lines as source code changed.
15001 * gdb.base/foll-vfork-exit.c: Include limits.h.
15002 (main): Add one line of statement before vfork.
15003 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15004 (main): Add parameters argc and argv. Get directory from
15005 argv[0].
15006 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15007 (setup_gdb): Set tbreak to skip some source lines.
15008 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15009 (main): Add parameters argc and argv. Get directory from
15010 argv[0].
15011 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15012 compilation.
15013 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15014 (main): Add parameters argc and argv. Get directory from
15015 argv[0].
15016 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15017 compilation.
15018
150192016-02-01 Doug Evans <dje@google.com>
15020
15021 * gdb.base/skip.exp: Clean up multiple references to same test name.
15022
150232016-02-01 Pedro Alves <palves@redhat.com>
15024
15025 PR remote/19496
15026 * gdb.threads/forking-threads-plus-breakpoint.exp
15027 (displaced_stepping_supported): New global.
15028 (probe_displaced_stepping_support): New procedure.
15029 (do_test): Add 'displaced' parameter, and use it.
15030 (top level): Check for displaced stepping support. Add displaced
15031 stepping on/off testing axis.
15032
150332016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15034
15035 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15036 pointer. Don't perform further tests on the unassociated pointer
15037 if the first test fails.
15038
150392016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15040
15041 * gdb.base/max-value-size.c: New file.
15042 * gdb.base/max-value-size.exp: New file.
15043 * gdb.base/huge.exp: Disable max-value-size for this test.
15044
150452016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15046
15047 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15048
150492016-01-28 Yao Qi <yao.qi@linaro.org>
15050
15051 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15052
150532016-01-25 Pedro Alves <palves@redhat.com>
15054
15055 PR threads/19461
15056 * gdb.base/fork-running-state.c: New file.
15057 * gdb.base/fork-running-state.exp: New file.
15058
150592016-01-25 Pedro Alves <palves@redhat.com>
15060
15061 PR gdb/19494
15062 * gdb.base/catch-fork-kill.c: New file.
15063 * gdb.base/catch-fork-kill.exp: New file.
15064
150652016-01-25 Pedro Alves <palves@redhat.com>
15066
15067 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15068 Delete, moved to lib/gdb.exp.
15069 * gdb.threads/forking-threads-plus-breakpoint.exp
15070 (foreach_with_prefix): Likewise.
15071 * gdb.threads/process-dies-while-handling-bp.exp
15072 (foreach_with_prefix): Likewise.
15073 * lib/gdb.exp (foreach_with_prefix): New procedure.
15074
150752016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15076
15077 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15078 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15079
150802016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15081
15082 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15083 endian targets.
15084
150852016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15086 Pedro Alves <palves@redhat.com>
15087
15088 Fix testsuite compatibility with Guile.
15089 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15090 number.
15091
150922016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15093
15094 Fix testsuite compatibility with Guile.
15095 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15096 (thread 1): New test for backtrace through signal handler.
15097
150982016-01-22 Yao Qi <yao.qi@linaro.org>
15099
15100 PR testsuite/19491
15101 * gdb.base/multi-forks.c: Include
15102 ../lib/unbuffer_output.c
15103 (main): Call gdb_unbuffer_output.
15104
151052016-01-21 Doug Evans <dje@google.com>
15106
15107 * lib/ada.exp (gdb_compile_ada): Fix typo.
15108
151092016-01-21 Joel Brobecker <brobecker@adacore.com>
15110
15111 * gdb.base/break-fun-addr.exp: New file.
15112 * gdb.base/break-fun-addr1.c: New file.
15113 * gdb.base/break-fun-addr2.c: New file.
15114
151152016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15116
15117 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15118 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15119 enum flag values.
15120
151212016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15122
15123 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15124 when GDB can not set the vector return value. Add more comments
15125 for clarification.
15126
151272016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15128
15129 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15130 command.
15131
151322016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15133
15134 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15135
151362016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15137
15138 * Makefile.in (check-single): Pass --status to runtest.
15139 (check/%.exp): Likewise.
15140
151412016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15142
15143 * Makefile.in (check-parallel): Propagate return code from make
15144 do-check-parallel.
15145
151462016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15147
15148 * gdb.trace/ftrace.exp: Fix expected message on continue.
15149 * gdb.trace/pending.exp: Fix expected message on continue.
15150 * gdb.trace/trace-break.exp: Fix expected message on continue.
15151
151522016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15153
15154 * lib/gdb.exp (gdb_test): Remove unused global references.
15155
151562016-01-18 Pedro Alves <palves@redhat.com>
15157
15158 * gdb.base/async-shell.exp: Adjust expected output.
15159 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15160 * gdb.base/siginfo-thread.exp: Adjust expected output.
15161 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15162 * gdb.java/jnpe.exp: Adjust expected output.
15163 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15164 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15165 * gdb.threads/leader-exit.exp: Adjust expected output.
15166 * gdb.threads/manythreads.exp: Adjust expected output.
15167 * gdb.threads/pthreads.exp: Adjust expected output.
15168 * gdb.threads/schedlock.exp: Adjust expected output.
15169 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15170 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15171 expected output.
15172 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15173 output.
15174 * gdb.threads/sigthread.exp: Adjust expected output.
15175 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15176
151772016-01-18 Yao Qi <yao.qi@linaro.org>
15178
15179 * gdb.guile/scm-section-script.c: Replace @progbits with
15180 %progbits.
15181 * gdb.python/py-section-script.c: Likewise.
15182
151832016-01-15 Pedro Alves <palves@redhat.com>
15184
15185 * gdb.multi/tids.exp: Test star wildcard ranges.
15186
151872016-01-15 Pedro Alves <palves@redhat.com>
15188
15189 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15190 command from "thread apply" invocation.
15191 (thr_apply_info_thr_invalid): Default the expected output to the
15192 input tid list.
15193 (top level): Add tests that use convenience variables. Add tests
15194 for "thread apply" with a valid TID list, but missing the command.
15195
151962016-01-13 Pedro Alves <palves@redhat.com>
15197
15198 * gdb.base/default.exp: Expect $_gthread as well.
15199 * gdb.multi/tids.exp: Test $_gthread.
15200 * gdb.threads/thread-specific.exp: Test $_gthread.
15201
152022016-01-13 Pedro Alves <palves@redhat.com>
15203
15204 * gdb.multi/tids.exp: Test "info threads -gid".
15205
152062016-01-13 Pedro Alves <palves@redhat.com>
15207
15208 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15209 Breakpoint.thread.
15210 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15211
152122016-01-07 Pedro Alves <palves@redhat.com>
15213
15214 * gdb.base/break.exp: Adjust to output changes.
15215 * gdb.base/hbreak2.exp: Likewise.
15216 * gdb.base/sepdebug.exp: Likewise.
15217 * gdb.base/watch_thread_num.exp: Likewise.
15218 * gdb.linespec/keywords.exp: Likewise.
15219 * gdb.multi/info-threads.exp: Likewise.
15220 * gdb.threads/thread-find.exp: Likewise.
15221 * gdb.multi/tids.c: New file.
15222 * gdb.multi/tids.exp: New file.
15223
152242016-01-13 Pedro Alves <palves@redhat.com>
15225
15226 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15227
152282016-01-13 Pedro Alves <palves@redhat.com>
15229
15230 * gdb.base/default.exp: Expect $_inferior as well.
15231 * gdb.multi/base.exp: Test $_inferior.
15232
152332016-01-13 Pedro Alves <palves@redhat.com>
15234
15235 PR breakpoints/19388
15236 * gdb.base/catch-signal-siginfo-cond.c: New file.
15237 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15238
152392016-01-12 Josh Stone <jistone@redhat.com>
15240 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15241
15242 * gdb.base/catch-syscall.c (do_execve): New variable.
15243 (main): Conditionally trigger an execve.
15244 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15245 (test_catch_syscall_execve): New, check entry/return across execve.
15246 (do_syscall_tests): Call test_catch_syscall_execve.
15247
152482016-01-12 Pedro Alves <palves@redhat.com>
15249
15250 * gdb.base/random-signal.exp (do_test): New procedure, with body
15251 of testcase moved in.
15252
152532016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15254 Pedro Alves <palves@redhat.com>
15255
15256 * gdb.base/funcargs.exp (finish from indirectly called function):
15257 Reintroduce the case for 'First'.
15258
152592016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15260 Pedro Alves <palves@redhat.com>
15261
15262 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15263 (tcatch_vfork_then_child_follow_exec)
15264 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15265 identification.
15266
152672016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15268
15269 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15270 and repeats to unlimited.
15271 * gdb.python/py-value.exp: Likewise.
15272 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15273 and repeats to unlimited.
15274
152752016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15276
15277 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15278 and reordering the functions.
15279 * gdb.multi/hangout.c: Likewise.
15280 * gdb.multi/hello.c: Likewise.
15281
152822016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15283
15284 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15285 absolute.
15286 (SingleStatisticTestResult.report): Use dict.keys instead of
15287 dict.iterkeys.
15288
152892016-01-06 Pedro Alves <palves@redhat.com>
15290
15291 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15292
152932016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15294
15295 * gdb.btrace/dlopen.exp: New.
15296 * gdb.btrace/dlopen.c: New.
15297 * gdb.btrace/dlopen-dso.c: New.
15298
152992015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15300
15301 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15302 PATTERN argument is optional.
15303
153042015-12-24 Joel Brobecker <brobecker@adacore.com>
15305
15306 * lib/ada.exp (target_compile_ada_from_dir): New function.
15307 (gdb_compile_ada): Reimplement avoiding the use of project files.
15308 * gdb.ada/gnat_ada.gpr: Delete.
15309 * gdb.ada/cond_lang.exp: Adjust test to make path before
15310 filename optional.
15311 * gdb.ada/small_reg_param.exp: Likewise.
15312
153132015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15314
15315 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15316
153172015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15318
15319 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15320 case.
15321
153222015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15323
15324 * gdb.base/break.exp: Remove dead code.
15325 * gdb.base/sepdebug.exp: Likewise.
15326
153272015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15328
15329 * gdb.asm/asm-source.exp: Remove HP-UX references.
15330 * gdb.base/annota1.exp: Likewise.
15331 * gdb.base/annota3.exp: Likewise.
15332 * gdb.base/attach.exp: Likewise.
15333 * gdb.base/bigcore.exp: Likewise.
15334 * gdb.base/break.exp: Likewise.
15335 * gdb.base/call-ar-st.exp: Likewise.
15336 * gdb.base/callfuncs.exp: Likewise.
15337 * gdb.base/catch-fork-static.exp: Likewise.
15338 * gdb.base/display.exp: Likewise.
15339 * gdb.base/foll-exec-mode.exp: Likewise.
15340 * gdb.base/foll-exec.exp: Likewise.
15341 * gdb.base/foll-fork.exp: Likewise.
15342 * gdb.base/foll-vfork.exp: Likewise.
15343 * gdb.base/funcargs.exp: Likewise.
15344 * gdb.base/hbreak2.exp: Likewise.
15345 * gdb.base/inferior-died.exp: Likewise.
15346 * gdb.base/interrupt.exp: Likewise.
15347 * gdb.base/multi-forks.exp: Likewise.
15348 * gdb.base/nodebug.exp: Likewise.
15349 * gdb.base/sepdebug.exp: Likewise.
15350 * gdb.base/solib1.c: Likewise.
15351 * gdb.base/step-test.exp: Likewise.
15352 * gdb.mi/non-stop.c: Likewise.
15353 * gdb.mi/pthreads.c: Likewise.
15354 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15355 * gdb.threads/pthreads.c: Likewise.
15356 * gdb.threads/staticthreads.exp: Likewise.
15357 * lib/future.exp: Likewise.
15358 * lib/gdb.exp: Likewise.
15359 * gdb.base/so-indr-cl.c: Remove.
15360 * gdb.base/so-indr-cl.exp: Likewise.
15361 * gdb.base/solib.c: Likewise.
15362 * gdb.base/solib.exp: Likewise.
15363 * gdb.base/solib2.c: Likewise.
15364
153652015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15366
15367 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15368 * gdb.base/call-ar-st.exp: Likewise.
15369 * gdb.base/callfuncs.exp: Likewise.
15370 * gdb.base/condbreak.exp: Likewise.
15371 * gdb.base/constvars.exp: Likewise.
15372 * gdb.base/hbreak2.exp: Likewise.
15373 * gdb.base/langs.exp: Likewise.
15374 * gdb.base/list.exp: Likewise.
15375 * gdb.base/long_long.exp: Likewise.
15376 * gdb.base/ptype.exp: Likewise.
15377 * gdb.base/scope.exp: Likewise.
15378 * gdb.base/signals.exp: Likewise.
15379 * gdb.base/so-impl-ld.exp: Likewise.
15380 * gdb.base/varargs.exp: Likewise.
15381 * gdb.base/volatile.exp: Likewise.
15382 * gdb.base/whatis.exp: Likewise.
15383 * gdb.cp/cplusfuncs.exp: Likewise.
15384 * gdb.cp/inherit.exp: Likewise.
15385 * gdb.cp/local.exp: Likewise.
15386 * gdb.cp/member-ptr.exp: Likewise.
15387 * gdb.cp/method.exp: Likewise.
15388 * gdb.cp/overload.exp: Likewise.
15389 * gdb.cp/templates.exp: Likewise.
15390 * gdb.stabs/weird.exp: Likewise.
15391 * lib/compiler.c: Likewise.
15392 * lib/compiler.cc: Likewise.
15393 * lib/cp-support.exp: Likewise.
15394 * lib/gdb.exp: Likewise.
15395
153962015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15397
15398 * configure.ac: Remove HP-UX case.
15399 * configure: Regenerate.
15400
154012015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15402
15403 * lib/gdb.exp (gdb_compile): Add function doc.
15404
154052015-12-17 Pedro Alves <palves@redhat.com>
15406
15407 PR threads/19354
15408 * gdb.multi/info-threads.exp: New file.
15409
154102015-12-15 Yao Qi <yao.qi@linaro.org>
15411
15412 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15413 is aarch64*-*-*.
15414
154152015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15416
15417 * gdb.base/history-duplicates.exp: Skip if no readline support.
15418
154192015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15420
15421 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15422
154232015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15424
15425 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15426
154272015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15428
15429 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15430 ctrl-C if nointerrupts target property is set.
15431 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15432 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15433 * gdb.base/paginate-bg-execution.exp: Likewise.
15434 * gdb.base/paginate-execution-startup.exp: Likewise.
15435 * gdb.base/random-signal.exp: Likewise.
15436 * gdb.base/range-stepping.exp: Likewise.
15437 * gdb.cp/annota2.exp: Likewise.
15438 * gdb.cp/annota3.exp: Likewise.
15439 * gdb.gdb/selftest.exp: Likewise.
15440 * gdb.threads/continue-pending-status.exp: Likewise.
15441 * gdb.threads/leader-exit.exp: Likewise.
15442 * gdb.threads/manythreads.exp: Likewise.
15443 * gdb.threads/pthreads.exp: Likewise.
15444 * gdb.threads/schedlock.exp: Likewise.
15445 * gdb.threads/sigthread.exp: Likewise.
15446
154472015-12-11 Don Breazeal <donb@codesourcery.com>
15448
15449 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15450 remote.
15451 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15452 * gdb.base/foll-exec.exp (main): Enable for target remote.
15453 * gdb.base/foll-fork.exp (main): Likewise.
15454 * gdb.base/foll-vfork.exp (main): Likewise.
15455 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15456 (proc continue_to_exit_bp_loc): Use clean_restart.
15457 * gdb.base/pie-execl.exp (main): Disable for target remote.
15458 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15459 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15460 * gdb.threads/execl.exp (main): Likewise.
15461 * gdb.threads/fork-child-threads.exp (main): Likewise.
15462 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15463 remote.
15464 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15465 remote.
15466 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15467 pid.tid style ptids, instead of just tid.
15468 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15469 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15470 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15471 ptids, instead of just tid.
15472
154732015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15474
15475 * gdb.base/list.exp (test_list_forward): Add end of file error
15476 test.
15477 (test_repeat_list_command): Add end of file error test.
15478 (test_list_backwards): Add beginning of file error test.
15479
154802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15481
15482 * gdb.base/list.exp (test_list_invalid_args): New function,
15483 defined, and called.
15484
154852015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15486
15487 * gdb.base/list.exp (test_list): Make test names unique.
15488
154892015-12-11 Yao Qi <yao.qi@linaro.org>
15490
15491 * gdb.base/coremaker2.c: Remove.
15492
154932015-12-10 Pedro Alves <palves@redhat.com>
15494
15495 * gdb.multi/base.exp: Remove stale "spaces" references.
15496
154972015-12-10 Pedro Alves <palves@redhat.com>
15498
15499 * gdb.multi/base.exp: Don't use nowarnings.
15500 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15501 * gdb.multi/hangout.c: Include stdio.h.
15502 * gdb.multi/hello.c: Include stdlib.h.
15503 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15504 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15505 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15506
155072015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15508
15509 * gdb.dwarf2/dw2-ranges-base.c: New file.
15510 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15511 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15512 support additional line table, and debug ranges generation.
15513 (Dwarf::ranges): New function, generate .debug_ranges.
15514 (Dwarf::lines): Support generating simple line table programs.
15515 (Dwarf::assemble): Initialise new namespace variables.
15516
155172015-12-09 Kevin Buettner <kevinb@redhat.com>
15518
15519 * gdb.base/async.exp (proc test_background): Add case for
15520 asynchronous execution not supported.
15521
155222015-12-09 Luis Machado <lgustavo@codesourcery.com>
15523
15524 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15525 format and change test names to make them unique.
15526
155272015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15528 Pedro Alves <pedro@redhat.com>
15529
15530 PR gdb/18702
15531 Add checking of floatformats setup on x86_64 hosts.
15532 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15533 (smallval, bigval): New labels/constants.
15534 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15535 float" after loading bigval and smallval.
15536
155372015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15538
15539 * gdb.ada/fun_overload_menu.exp: New testcase.
15540 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15541
155422015-12-04 Josh Stone <jistone@redhat.com>
15543
15544 * gdb.base/catch-fork-static.exp: New.
15545
155462015-12-03 Yao Qi <yao.qi@linaro.org>
15547
15548 * gdb.base/sizeof.c: Don't include stdio.h and
15549 ../lib/unbuffer_output.c.
15550 (main): New variable 'size' and 'value'. Remove printf and
15551 gdb_unbuffer_output. Assign return value to size and value.
15552 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15553 at the beginning.
15554 (check_sizeof): Check the result by printing variable 'size'.
15555 (check_valueof): Check the result by printing variable 'value'.
15556
155572015-12-01 Yao Qi <yao.qi@linaro.org>
15558
15559 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15560 for aarch64*-*-linux* target.
15561
155622015-11-30 Pedro Alves <palves@redhat.com>
15563
15564 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15565
155662015-11-30 Pedro Alves <palves@redhat.com>
15567
15568 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15569 Handle non-stop mode vCont replies.
15570
155712015-11-30 Pedro Alves <palves@redhat.com>
15572
15573 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15574 prepare_for_testing. Start gdb with "set non-stop on" appended to
15575 GDBFLAGS. Lax expected stop output.
15576
155772015-11-27 Yao Qi <yao.qi@linaro.org>
15578
15579 * gdb.arch/arm-neon.exp: New.
15580 * gdb.arch/arm-neon.c: New.
15581
155822015-11-27 Yao Qi <yao.qi@linaro.org>
15583
15584 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15585
155862015-11-27 Yao Qi <yao.qi@linaro.org>
15587
15588 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15589 frames-invalid annotation.
15590
155912015-11-27 Yao Qi <yao.qi@linaro.org>
15592
15593 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15594
155952015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15596
15597 * gdb.threads/names.exp: New file.
15598 * gdb.threads/names.c: New file.
15599 * README: Mention gdb,no_thread_names.
15600
156012015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15602
15603 PR 19297
15604 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15605 support" error.
15606
156072015-11-24 Pedro Alves <palves@redhat.com>
15608
15609 PR 17539
15610 * gdb.base/display.exp: Expect displays to be sorted in ascending
15611 order. Use multi_line.
15612 * gdb.base/solib-display.exp: Likewise.
15613
156142015-11-24 Pedro Alves <palves@redhat.com>
15615
15616 PR 17539
15617 * gdb.base/display.exp: Expect displays to be sorted in ascending
15618 order. Use multi_line.
15619 * gdb.base/solib-display.exp: Likewise.
15620
156212015-11-24 Pedro Alves <palves@redhat.com>
15622
15623 PR 17539
15624 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15625 threads in ascending order.
15626 * gdb.base/foll-fork.exp: Likewise.
15627 * gdb.base/foll-vfork.exp: Likewise.
15628 * gdb.base/multi-forks.exp: Likewise.
15629 * gdb.mi/mi-nonstop.exp: Likewise.
15630 * gdb.mi/mi-nsintrall.exp: Likewise.
15631 * gdb.multi/base.exp: Likewise.
15632 * gdb.multi/multi-arch.exp: Likewise.
15633 * gdb.python/py-inferior.exp: Likewise.
15634 * gdb.threads/break-while-running.exp: Likewise.
15635 * gdb.threads/execl.exp: Likewise.
15636 * gdb.threads/gcore-thread.exp: Likewise.
15637 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15638 * gdb.threads/kill.exp: Likewise.
15639 * gdb.threads/linux-dp.exp: Likewise.
15640 * gdb.threads/multiple-step-overs.exp: Likewise.
15641 * gdb.threads/next-bp-other-thread.exp: Likewise.
15642 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15643 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15644 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15645 * gdb.threads/thread-find.exp: Likewise.
15646 * gdb.threads/tls.exp: Likewise.
15647 * lib/mi-support.exp (mi_reverse_list): Delete.
15648 (mi_check_thread_states): No longer reverse list.
15649
156502015-11-24 Pedro Alves <palves@redhat.com>
15651
15652 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15653 use lowercase.
15654
156552015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15656
15657 * gdb.trace/actions.c: Include trace-common.h.
15658 (main): Add a location for a fast tracepoint.
15659 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15660 the normal tracepoints.
15661 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15662
156632015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15664
15665 * save-trace.exp: Factor out code to these...
15666 (gdb_save_tracepoints): New.
15667 (gdb_load_tracepoints): New.
15668 (do_save_load_test): New.
15669
156702015-11-23 Kevin Buettner <kevinb@redhat.com>
15671
15672 * gdb.base/asmlabel.exp: New test.
15673 * gdb.base/asmlabel.c: New test case.
15674
156752015-11-23 Joel Brobecker <brobecker@adacore.com>
15676
15677 * gdb.base/wrong_frame_bt_full-main.c: New file.
15678 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15679 * gdb.base/wrong_frame_bt_full.exp: New file.
15680
156812015-11-23 Joel Brobecker <brobecker@adacore.com>
15682
15683 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15684
156852015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15686
15687 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
15688 pstate register when comparing registers values in
15689 sparc64-*-linux-gnu targets to avoid spurious differences.
15690
156912015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15692
15693 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
15694
156952015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15696
15697 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15698 as type argument to gdb_compile.
15699 * gdb.base/nested-subp2.exp: Likewise.
15700 * gdb.base/nested-subp3.exp: Likewise.
15701
157022015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15703
15704 * lib/dwarf.exp (_note): Fix left shift of negative value.
15705 * gdb.trace/trace-condition.exp: Likewise.
15706
157072015-11-13 Yao Qi <yao.qi@linaro.org>
15708
15709 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15710 comments about d10v.
15711 (test_scalar_returns): Likewise.
15712 * gdb.base/d10v.ld: Remove.
15713 * gdb.base/overlays.exp: Remove the target triplet checking for
15714 d10v-*-*.
15715 * gdb.base/structs.exp (test_struct_returns): Remove the
15716 comments about d10v.
15717 (test_struct_calls): Likewise.
15718
157192015-11-13 Yao Qi <yao.qi@linaro.org>
15720
15721 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15722 * gdb.base/gnu_vector.c: Don't include stdio.h.
15723 (main): Don't print res and call add_some_intvecs.
15724
157252015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15726
15727 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15728 macro.
15729 (func5): Removed.
15730 (func4): Use FAST_TRACEPOINT_LABEL.
15731 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15732 macro.
15733 (func): Removed.
15734 (thread_function): Use FAST_TRACEPOINT_LABEL.
15735 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15736 (func): Remove.
15737 (marker): Use FAST_TRACEPOINT_LABEL.
15738 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15739 (pendfunc1): Remove.
15740 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15741 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15742 (foo): Remove.
15743 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15744 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15745 macro.
15746 (func): Remove.
15747 (marker): Use FAST_TRACEPOINT_LABEL.
15748 * gdb.trace/trace-common.h: New header.
15749 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15750 macro.
15751 (func): Remove.
15752 (marker): Use FAST_TRACEPOINT_LABEL.
15753 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15754 (func): Remove.
15755 (thread_function): Use FAST_TRACEPOINT_LABEL.
15756
157572015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15758
15759 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15760 in front.
15761 * gdb.trace/change-loc.exp: Use global pcreg definition.
15762 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15763 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15764 in front.
15765 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15766 * gdb.trace/pending.exp: Likewise.
15767 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15768 * gdb.trace/trace-break.exp: Likewise.
15769 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15770 in front.
15771 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15772 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15773 in front.
15774 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15775
157762015-11-09 Joel Brobecker <brobecker@adacore.com>
15777
15778 * gdb.ada/fin_fun_out: New testcase.
15779
157802015-11-07 Kevin Buettner <kevinb@redhat.com>
15781
15782 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15783 value associated with DW_AT_byte_size.
15784 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15785 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15786 DW_AT_upper_bound.
15787
157882015-11-07 Kevin Buettner <kevinb@redhat.com>
15789
15790 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15791 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15792 version.
15793 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15794 gdb.dwarf2/dw2-canonicalize-type.exp,
15795 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15796 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15797 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15798 provided by gdb_target_symbol_prefix_flags_asm.
15799 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15800 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15801 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15802 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15803 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15804 macros where needed). Use this macro for symbols which require
15805 the prefix provided by SYMBOL_PREFIX.
15806
158072015-11-05 Kevin Buettner <kevinb@redhat.com>
15808
15809 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15810 New procs.
15811 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15812 representing expressions, of more than one list element.
15813 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15814 to prepend linker symbol prefix to f.
15815 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15816 table_1 and table_2.
15817 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15818 Likewise, for f and g.
15819 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15820 for ptr.
15821 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15822 for main.
15823 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15824 table_1_ptr and table_2_ptr.
15825
158262015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15827 Joel Brobecker <brobecker@adacore.com>
15828
15829 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15830
158312015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15832
15833 * gdb.reverse/s390-mvcle.c: New test.
15834 * gdb.reverse/s390-mvcle.exp: New file.
15835 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15836
158372015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15838
15839 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15840
158412015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15842
15843 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15844 reaching marker2.
15845 * gdb.reverse/getresuid-reverse.exp: Likewise.
15846 * gdb.reverse/pipe-reverse.exp: Likewise.
15847 * gdb.reverse/readv-reverse.exp: Likewise.
15848 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15849 * gdb.reverse/time-reverse.exp: Likewise.
15850 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15851
158522015-10-30 Yao Qi <yao.qi@linaro.org>
15853
15854 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15855 (empty_cycle): Remove.
15856 (main): Don't call empty_cycle. Don't use watch_count_done.
15857 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15858 empty_cycle. Rewrite the code counting HW watchpoints.
15859
158602015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15861
15862 * gdb.reverse/fstatat-reverse.c: New test.
15863 * gdb.reverse/fstatat-reverse.exp: New file.
15864 * gdb.reverse/getresuid-reverse.c: New test.
15865 * gdb.reverse/getresuid-reverse.exp: New file.
15866 * gdb.reverse/pipe-reverse.c: New test.
15867 * gdb.reverse/pipe-reverse.exp: New file.
15868 * gdb.reverse/readv-reverse.c: New test.
15869 * gdb.reverse/readv-reverse.exp: New file.
15870 * gdb.reverse/recvmsg-reverse.c: New test.
15871 * gdb.reverse/recvmsg-reverse.exp: New file.
15872 * gdb.reverse/time-reverse.c: New test.
15873 * gdb.reverse/time-reverse.exp: New file.
15874 * gdb.reverse/waitpid-reverse.c: New test.
15875 * gdb.reverse/waitpid-reverse.exp: New file.
15876
158772015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15878
15879 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15880
158812015-10-26 Doug Evans <dje@google.com>
15882
15883 PR symtab/17391
15884 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15885 * gdb.dwarf2/bad-regnum.c: New file.
15886 * gdb.dwarf2/bad-regnum.exp: New file.
15887
158882015-10-26 Doug Evans <dje@google.com>
15889
15890 PR python/18938
15891 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15892 file.
15893
158942015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15895
15896 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15897 for a change by "Mention language in compile error message".
15898
158992015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15900
15901 PR python/18073
15902 * gdb.python/py-type.c (C::a_method): New.
15903 (C::a_const_method): New.
15904 (C::a_static_method): New.
15905 (a_function): New.
15906 * gdb.python/py-type.exp (test_fields): Test getting fields
15907 from function and method.
15908
159092015-10-21 Keven Boell <keven.boell@intel.com>
15910
15911 * gdb.fortran/vla-alloc-assoc.exp: New file.
15912 * gdb.fortran/vla-datatypes.exp: New file.
15913 * gdb.fortran/vla-datatypes.f90: New file.
15914 * gdb.fortran/vla-history.exp: New file.
15915 * gdb.fortran/vla-ptype-sub.exp: New file.
15916 * gdb.fortran/vla-ptype.exp: New file.
15917 * gdb.fortran/vla-sizeof.exp: New file.
15918 * gdb.fortran/vla-sub.f90: New file.
15919 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15920 * gdb.fortran/vla-value-sub-finish.exp: New file.
15921 * gdb.fortran/vla-value-sub.exp: New file.
15922 * gdb.fortran/vla-value.exp: New file.
15923 * gdb.fortran/vla-ptr-info.exp: New file.
15924 * gdb.mi/mi-vla-fortran.exp: New file.
15925 * gdb.mi/vla.f90: New file.
15926
159272015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15928
15929 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15930 of hardwired timeout value.
15931
159322015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15933 Pedro Alves <palves@redhat.com>
15934
15935 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15936 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15937
159382015-10-19 Josh Stone <jistone@redhat.com>
15939
15940 * gdb.base/catch-syscall.c: Include <sched.h>.
15941 (unknown_syscall): New variable.
15942 (main): Trigger a vfork and an unknown syscall.
15943 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15944 (unknown_syscall_number): Likewise.
15945 (check_call_to_syscall): Accept an optional syscall pattern.
15946 (check_return_from_syscall): Likewise.
15947 (check_continue): Likewise.
15948 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15949 (test_catch_syscall_skipping_return): New test toggling off 'catch
15950 syscall' to step over the syscall return, then toggling back on.
15951 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15952 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15953 (do_syscall_tests): Call test_catch_syscall_without_args and
15954 test_catch_syscall_mid_vfork.
15955 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15956 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15957
159582015-10-19 Andrew Stubbs <ams@codesourcery.com>
15959
15960 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15961 print g_vE): Add new pass patterns.
15962 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15963 print various symbol names for vptr fields.
15964
159652015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15966
15967 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15968 results.
15969
159702015-10-12 Yao Qi <yao.qi@linaro.org>
15971
15972 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15973
159742015-10-12 Yao Qi <yao.qi@linaro.org>
15975
15976 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15977 is aarch64*-*-linux*.
15978
159792015-10-12 Yao Qi <yao.qi@linaro.org>
15980
15981 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15982 (can_relocate_bcond_true): ... it.
15983 (can_relocate_bcond_false): New function.
15984 (foo): Likewise.
15985 (can_relocate_bl): Likewise.
15986 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15987 can_relocate_bl.
15988
159892015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15990
15991 * gdb.base/nested-addr.c: New file.
15992 * gdb.base/nested-addr.exp: New testcase.
15993
159942015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15995
15996 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15997 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15998 its output. Ignore the output of "record goto begin" and instead
15999 check that GDB is replaying.
16000
160012015-10-09 Pedro Alves <palves@redhat.com>
16002
16003 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16004 (top level): Use it in the run with no args test.
16005
160062015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16007
16008 * gdb.dlang/properties.exp: New file.
16009
160102015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16011
16012 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16013 whether or not address 0x1000 is mapped on the target.
16014
160152015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16016
16017 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16018 build.
16019
160202015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16021
16022 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16023 instruction-history test.
16024
160252015-09-28 Doug Evans <dje@google.com>
16026
16027 * gdb.base/gcore.c (array_func): Add reference to static_array.
16028
160292015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16030
16031 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16032 source line.
16033
160342015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16035
16036 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16037 short or char as base type.
16038
160392015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16040
16041 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16042 to allow any size enum.
16043
160442015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16045
16046 * gdb.ada/array_ptr_renaming.exp: New testcase.
16047 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16048 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16049
160502015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16051
16052 * gdb.trace/ftrace-lock.c: New file.
16053 * gdb.trace/ftrace-lock.exp: New file.
16054
160552015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16056
16057 * gdb.arch/insn-reloc.c: New file.
16058 * gdb.arch/ftrace-insn-reloc.exp: New file.
16059
160602015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16061
16062 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16063 instruction.
16064 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16065 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16066 * gdb.trace/range-stepping.c: Likewise.
16067 * gdb.trace/trace-break.c: Likewise.
16068 * gdb.trace/trace-mt.c (thread_function): Likewise.
16069 * gdb.trace/ftrace.c (marker): Likewise.
16070 * gdb.trace/trace-condition.c (marker): Likewise.
16071 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16072 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16073 is_aarch64_target.
16074
160752015-09-18 Doug Evans <xdje42@gmail.com>
16076
16077 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16078 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16079
160802015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16081
16082 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16083 the breakpoint.
16084
160852015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16086
16087 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16088 the pending breakpoint. Remove timeout override for "Run till
16089 MI pending breakpoint on pendfunc3 on thread 2" test.
16090
160912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16092
16093 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16094 filename pattern.
16095
160962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16097
16098 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16099 in breakpoint filename pattern.
16100
161012015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16102
16103 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16104
161052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16106
16107 * gdb.linespec/explicit.exp: Check for readline support for
16108 tab-completion tests. Fix obvious typo.
16109
161102015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16111
16112 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16113 and replay.
16114
161152015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16116
16117 * gdb.btrace/non-stop.c: New.
16118 * gdb.btrace/non-stop.exp: New.
16119
161202015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16121 Yao Qi <yao.qi@linaro.org>
16122
16123 * gdb.trace/trace-condition.c: New file.
16124 * gdb.trace/trace-condition.exp: New file.
16125
161262015-09-16 Wei-cheng Wang <cole945@gmail.com>
16127
16128 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16129 for testing bytecode compilation.
16130
161312015-09-16 Pedro Alves <palves@redhat.com>
16132 Sandra Loosemore <sandra@codesourcery.com>
16133
16134 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16135 (SECONDS): Redefine.
16136 (main): Call pthread_kill and alarm early.
16137 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16138 support.
16139 (test): If the target can't hardware step and doesn't support
16140 displaced stepping, increase the timeout.
16141
161422015-09-16 Pedro Alves <palves@redhat.com>
16143
16144 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16145 (enable_debug): New procedures.
16146 (test): Use them. Bail out if waiting for threads fails.
16147 (top level): Bail out if a test fails.
16148
161492015-09-16 Yao Qi <yao.qi@linaro.org>
16150
16151 * gdb.asm/asm-source.exp: Set asm-arch for
16152 aarch64*-*-* target.
16153 * gdb.asm/aarch64.inc: New file.
16154
161552015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16156
16157 * gdb.ada/array_of_variable_length.exp: New testcase.
16158 * gdb.ada/array_of_variable_length/foo.adb: New file.
16159 * gdb.ada/array_of_variable_length/pck.adb: New file.
16160 * gdb.ada/array_of_variable_length/pck.ads: New file.
16161
161622015-09-15 Doug Evans <dje@google.com>
16163
16164 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16165 of function static local variable.
16166
161672015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16168
16169 * gdb.threads/tls-so_extern.exp: New test file.
16170 * gdb.threads/tls-so_extern.c: New test file.
16171 * gdb.threads/tls-so_extern_main.c: New test file.
16172
161732015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16174
16175 * gdb.opt/solib-intra-step-lib.c: New file.
16176 * gdb.opt/solib-intra-step-main.c: New file.
16177 * gdb.opt/solib-intra-step.exp: New file.
16178
161792015-09-15 Pedro Alves <palves@redhat.com>
16180
16181 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16182 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16183
161842015-09-14 Pedro Alves <palves@redhat.com>
16185
16186 * gdb.base/hook-stop-continue.c: Delete.
16187 * gdb.base/hook-stop-continue.exp: Delete.
16188 * gdb.base/hook-stop-frame.c: Delete.
16189 * gdb.base/hook-stop-frame.exp: Delete.
16190 * gdb.base/hook-stop.c: New file.
16191 * gdb.base/hook-stop.exp: New file.
16192
161932015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16194
16195 * gdb.ada/access_to_packed_array.exp: New testcase.
16196 * gdb.ada/access_to_packed_array/foo.adb: New file.
16197 * gdb.ada/access_to_packed_array/pack.adb: New file.
16198 * gdb.ada/access_to_packed_array/pack.ads: New file.
16199
162002015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16201
16202 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16203 buffer size test.
16204
162052015-09-11 Don Breazeal <donb@codesourcery.com>
16206
16207 * gdb.base/foll-exec.c: Add copyright header. Fix
16208 formatting issues.
16209 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16210 (do_exec_tests): Use clean_restart in place of zap_session,
16211 and for test initialization. Fix formatting issues. Use
16212 fail in place of perror.
16213 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16214 an expect statement to match an expression with output from
16215 the program under debug.
16216 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16217 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16218 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16219 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16220 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16221
162222015-09-09 Doug Evans <dje@google.com>
16223
16224 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16225
162262015-09-09 Doug Evans <dje@google.com>
16227
16228 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16229
162302015-09-09 Doug Evans <dje@google.com>
16231
16232 * gdb.base/savedregs.exp: Fix typo.
16233
162342015-09-09 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16237
162382015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16239
16240 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16241 command actually switches threads. Give up on remaining
16242 tests if target fails to stop at breakpoint.
16243
162442015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16245
16246 * gdb.ada/funcall_char.exp: New testcase.
16247 * gdb.ada/funcall_char/foo.adb: New file.
16248
162492015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16250
16251 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16252 expected outputs. Add two testcases for completing ambiguous
16253 functions.
16254 * gdb.ada/complete/aux_pck.adb: New file.
16255 * gdb.ada/complete/aux_pck.ads: New file.
16256 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16257 Ambiguous_Func functions.
16258 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16259 * gdb.ada/complete/pck.adb: Likewise.
16260
162612015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16262
16263 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16264 failures to run the test program under GDB.
16265
162662015-08-26 Luis Machado <lgustavo@codesourcery.com>
16267
16268 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16269 to C.
16270
162712015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16272
16273 * gdb.base/run-after-attach.exp: New test file.
16274 * gdb.base/run-after-attach.c: New test file.
16275
162762015-08-26 Don Breazeal <donb@codesourcery.com>
16277
16278 * gdb.base/foll-exec-2.c: New test program.
16279 * gdb.base/foll-exec-2.exp: New test.
16280
162812015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16282
16283 * gdb.base/nested-subp1.exp: New file.
16284 * gdb.base/nested-subp1.c: New file.
16285 * gdb.base/nested-subp2.exp: New file.
16286 * gdb.base/nested-subp2.c: New file.
16287 * gdb.base/nested-subp3.exp: New file.
16288 * gdb.base/nested-subp3.c: New file.
16289
162902015-08-24 Pedro Alves <palves@redhat.com>
16291
16292 * gdb.server/connect-without-multi-process.c: New file.
16293 * gdb.server/connect-without-multi-process.exp: New file.
16294
162952015-08-24 Luis Machado <lgustavo@codesourcery.com>
16296
16297 * gdb.opt/inline-markers.c: Make z int.
16298
162992015-08-24 Luis Machado <lgustavo@codesourcery.com>
16300
16301 * gdb.opt/inline-markers.c: Make z volatile.
16302
163032015-08-24 Luis Machado <lgustavo@codesourcery.com>
16304
16305 * gdb.opt/inline-bt.c: New volatile global z.
16306 * gdb.opt/inline-cmds.c: Likewise.
16307 * gdb.opt/inline-locals.c: Likewise.
16308 * gdb.opt/inline-markers.c: New extern global z.
16309 (marker): Use z.
16310 (inline_fn): Likewise.
16311
163122015-08-24 Pedro Alves <palves@redhat.com>
16313
16314 * config/m32r-stub.exp: Remove file.
16315 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16316 * gdb.base/call-rt-st.exp: Likewise.
16317 * gdb.base/call-strs.exp: Likewise.
16318 * gdb.base/default.exp: Remove references to h8300-*-hms and
16319 *-*-udi*.
16320 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16321
163222015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16323
16324 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16325 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16326 and "return" use KFAIL when GDB can not read/write the vector
16327 return value.
16328
163292015-08-21 Gary Benson <gbenson@redhat.com>
16330
16331 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16332
163332015-08-20 Pedro Alves <palves@redhat.com>
16334
16335 * gdb.server/solib-list.exp: No longer expect an interior stop in
16336 non-stop mode.
16337
163382015-08-20 Pedro Alves <palves@redhat.com>
16339
16340 * gdb.server/connect-stopped-target.c: New file.
16341 * gdb.server/connect-stopped-target.exp: New file.
16342
163432015-08-20 Pedro Alves <palves@redhat.com>
16344
16345 * gdb.dwarf2/comp-unit-lang.exp: New file.
16346 * gdb.dwarf2/comp-unit-lang.c: New file.
16347
163482015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16349
16350 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16351 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16352
163532015-08-19 Kevin Buettner <kevinb@redhat.com>
16354
16355 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16356 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16357
163582015-08-18 Doug Evans <dje@google.com>
16359 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16360
16361 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16362 skip_python_tests. New arg prompt_regexp.
16363 (skip_python_tests): New function.
16364 * lib/mi-support.exp (mi_skip_python_tests): New function.
16365 * gdb.python/py-mi-objfile-gdb.py: New file.
16366 * gdb.python/py-mi-objfile.c: New file.
16367 * gdb.python/py-mi-objfile.exp: New file.
16368
163692015-08-17 Keith Seitz <keiths@redhat.com>
16370
16371 * gdb.linespec/explicit.exp: Move strace test from here ...
16372 * gdb.trace/strace.exp: ... to here.
16373
163742015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16375
16376 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16377 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16378
163792015-08-14 Doug Evans <xdje42@gmail.com>
16380
16381 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16382 inferior before selecting a new file.
16383
163842015-08-14 Doug Evans <xdje42@gmail.com>
16385
16386 * gdb.mi/mi-disassemble.exp: Update.
16387 * gdb.base/disasm-optim.S: New file.
16388 * gdb.base/disasm-optim.c: New file.
16389 * gdb.base/disasm-optim.h: New file.
16390 * gdb.base/disasm-optim.exp: New file.
16391
163922015-08-14 Keith Seitz <keiths@redhat.com>
16393
16394 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16395 "evaluated-by".
16396
163972015-08-13 Joel Brobecker <brobecker@adacore.com>
16398
16399 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16400
164012015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16402
16403 * gdb.ada/fun_renaming.exp: New testcase.
16404 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16405 * gdb.ada/fun_renaming/pack.adb: New file.
16406 * gdb.ada/fun_renaming/pack.ads: New file.
16407
164082015-08-12 Keith Seitz <keiths@redhat.com>
16409
16410 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16411 gdb_get_line_number.
16412
164132015-08-12 Joel Brobecker <brobecker@adacore.com>
16414
16415 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16416 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16417 gdb.base/dso2dso.exp: New files.
16418
164192015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16420 Pedro Alves <palves@redhat.com>
16421 Keith Seitz <keiths@redhat.com>
16422
16423 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16424 GDBFLAGS.
16425
164262015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16427
16428 * gdb.base/gdbhistsize-history.exp
16429 (test_histsize_history_setting): Use save_vars.
16430 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16431 Use save_vars.
16432 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16433 * gdb.base/readline.exp: Use save_vars.
16434
164352015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16436
16437 * lib/gdb.exp (save_vars): New proc.
16438
164392015-08-11 Keith Seitz <keiths@redhat.com>
16440
16441 * gdb.base/help.exp: Update help_breakpoint_text.
16442
164432015-08-11 Keith Seitz <keiths@redhat.com>
16444
16445 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16446 (at toplevel): Call test_explicit_breakpoints.
16447 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16448 breakpoints.
16449 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16450 breakpoint conditions, "-cond".
16451
164522015-08-11 Keith Seitz <keiths@redhat.com>
16453
16454 * gdb.linespec/3explicit.c: New file.
16455 * gdb.linespec/cpexplicit.cc: New file.
16456 * gdb.linespec/cpexplicit.exp: New file.
16457 * gdb.linespec/explicit.c: New file.
16458 * gdb.linespec/explicit.exp: New file.
16459 * gdb.linespec/explicit2.c: New file.
16460 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16461 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16462 before using in the matching pattern.
16463 Clarify that `prefix' is a regular expression.
16464
164652015-08-11 Keith Seitz <keiths@redhat.com>
16466
16467 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16468 test.
16469 Add tests for missing ",FMT" and ",".
16470
164712015-08-10 Doug Evans <dje@google.com>
16472 Keith Seitz <keiths@redhat.com>
16473
16474 PR gdb/17960
16475 * gdb.base/completion.exp: Add location completer tests.
16476
164772015-08-07 Pedro Alves <palves@redhat.com>
16478
16479 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16480 tests here.
16481 (top level): Run do_test with and without displaced stepping.
16482
164832015-08-07 Pedro Alves <palves@redhat.com>
16484
16485 * gdb.base/valgrind-disp-step.c: New file.
16486 * gdb.base/valgrind-disp-step.exp: New file.
16487
164882015-08-07 Pedro Alves <palves@redhat.com>
16489
16490 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16491 Delete function.
16492 (main): Add alarm. Run an infinite loop instead of calling
16493 wait_threads.
16494 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16495 comment.
16496 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16497 Delete function.
16498 (main): Add alarm. Run an infinite loop instead of calling
16499 wait_threads.
16500 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16501 comment.
16502
165032015-08-07 Pedro Alves <palves@redhat.com>
16504
16505 * gdb.base/checkpoint-ns.exp: New file.
16506 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16507 standard_testfile.
16508
165092015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16510
16511 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16512 * gdb.btrace/instruction_history.exp: Update.
16513 * gdb.btrace/tsx.exp: New.
16514 * gdb.btrace/tsx.c: New.
16515
165162015-08-06 Pedro Alves <palves@redhat.com>
16517
16518 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16519 increase timeout.
16520 * gdb.reverse/until-precsave.exp: Bump timeouts.
16521
165222015-08-06 Pedro Alves <palves@redhat.com>
16523
16524 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16525
165262015-08-06 Pedro Alves <palves@redhat.com>
16527
16528 PR gdb/18749
16529 * gdb.threads/process-dies-while-handling-bp.c: New file.
16530 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16531
165322015-08-06 Pedro Alves <palves@redhat.com>
16533
16534 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16535 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16536
165372015-08-05 Pedro Alves <palves@redhat.com>
16538
16539 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16540 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16541
165422015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16543
16544 * gdb.base/bp-permanent.exp: Report test as unsupported if
16545 the target cannot stop at the permanent breakpoint.
16546
165472015-08-03 Doug Evans <dje@google.com>
16548
16549 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16550 10000.
16551
165522015-08-03 Doug Evans <dje@google.com>
16553
16554 * Makefile.in (workers/%.worker, build-perf): New rule.
16555 (GDB_PERFTEST_MODE): New variable.
16556 (check-perf): Use it.
16557 (clean): Clean up gdb.perf parallel build subdirs.
16558 * lib/build-piece.exp: New file.
16559 * lib/gdb.exp (make_gdb_parallel_path): New function
16560 (standard_output_file, standard_temp_file): Call it.
16561 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16562 of $GDB_PARALLEL.
16563 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16564
165652015-08-03 Doug Evans <dje@google.com>
16566
16567 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
16568 (LOG_FILE_NAME): New global.
16569 (TextReporter.__init__): Initialize self.txt_sum.
16570 (TextReporter.report): Add support for multiple data-points.
16571 Move report to perftest.sum, put raw data in perftest.log.
16572 (TextReporter.start): Open sum and log files.
16573 (TextReporter.end): Close sum and log files.
16574 * gdb.perf/lib/perftest/testresult.py
16575 (SingleStatisticTestResult.record): Handle multiple data-points.
16576
165772015-07-31 Pedro Alves <palves@redhat.com>
16578
16579 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16580 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16581 kill_wait_spawned_process instead of explicit "kill -9".
16582 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16583 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16584 kill_wait_spawned_process.
16585 * gdb.base/attach-twice.exp: Likewise.
16586 * gdb.base/attach.exp: Likewise.
16587 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16588 gdb_test_multiple.
16589 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16590 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16591 kill_wait_spawned_process.
16592 * gdb.base/valgrind-infcall.exp: Likewise.
16593 * gdb.multi/multi-attach.exp: Likewise.
16594 * gdb.python/py-prompt.exp: Likewise.
16595 * gdb.python/py-sync-interp.exp: Likewise.
16596 * gdb.server/ext-attach.exp: Likewise.
16597 * gdb.threads/attach-into-signal.exp (corefunc): Use
16598 spawn_wait_for_attach, spawn_id_get_pid and
16599 kill_wait_spawned_process.
16600 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16601 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16602 spawn_id_get_pid and kill_wait_spawned_process.
16603 * gdb.threads/attach-stopped.exp (corefunc): Use
16604 spawn_wait_for_attach, spawn_id_get_pid and
16605 kill_wait_spawned_process.
16606 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16607 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16608 kill_wait_spawned_process instead of explicit "kill -9".
16609 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16610 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16611 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16612 processes. Don't map cygwin/windows pids here. Now returns a
16613 spawn id list.
16614
166152015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16616
16617 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16618 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16619 correct patch.
16620
166212015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16622
16623 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16624
166252015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16626
16627 Reapply:
16628 2014-05-21 Mark Wielaard <mjw@redhat.com>
16629
16630 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16631
166322015-07-30 Pedro Alves <palves@redhat.com>
16633
16634 * linux-low.c (handle_extended_wait): Set the child's last
16635 reported status to TARGET_WAITKIND_STOPPED.
16636
166372015-07-30 Pedro Alves <palves@redhat.com>
16638
16639 PR threads/18600
16640 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16641 only shows inferior 1.
16642
166432015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16644 Pedro Alves <palves@redhat.com>
16645
16646 PR threads/18600
16647 * gdb.threads/fork-plus-threads.c: New file.
16648 * gdb.threads/fork-plus-threads.exp: New file.
16649
166502015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16651
16652 * gdb.base/batch-preserve-term-settings.exp
16653 (test_terminal_settings_preserved_after_cli_exit): Use
16654 send_quit_command.
16655
166562015-07-29 Pedro Alves <palves@redhat.com>
16657 Don Breazeal <donb@codesourcery.com>
16658
16659 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16660 output from both inferior_spawn_id and gdb_spawn_id.
16661
166622015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16663
16664 * gdb.threads/attach-into-signal.exp (corefunc): Use
16665 with_test_prefix on nested loops, uniquefying the test messages.
16666
166672015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16668
16669 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16670 commit.
16671
166722015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16673
16674 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16675 New proc.
16676 (test_terminal_settings_preserved_after_sigterm): New test.
16677
166782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16679
16680 * gdb.base/batch-preserve-term-settings.exp
16681 (test_terminal_settings_preserved_after_cli_exit): New test.
16682
166832015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16684
16685 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16686 manipulation of saved_gdbflags.
16687 (test_terminal_settings_preserved): Remove global declaration of
16688 the unused variable pagination_prompt. Remove manipulation of
16689 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16690 GDBFLAGS.
16691
166922015-07-29 Pedro Alves <palves@redhat.com>
16693
16694 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16695
166962015-07-29 Pedro Alves <palves@redhat.com>
16697
16698 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16699 at the top.
16700
167012015-07-29 Pedro Alves <palves@redhat.com>
16702
16703 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16704 (main): Call gdb_unbuffer_output.
16705 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16706 (main): Call gdb_unbuffer_output.
16707 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16708 (main): Call gdb_unbuffer_output.
16709 * gdb.base/call-strs.exp: Adjust to step over the
16710 gdb_unbuffer_output call.
16711 * gdb.base/catch-gdb-caused-signals.c: Include
16712 "../lib/unbuffer_output.c".
16713 (main): Call gdb_unbuffer_output.
16714 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16715 (main): Call gdb_unbuffer_output.
16716 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16717 (main): Call gdb_unbuffer_output.
16718 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16719 (main): Call gdb_unbuffer_output.
16720 * gdb.base/shlib-call.exp: Adjust to step over the
16721 gdb_unbuffer_output call.
16722 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16723 (main): Call gdb_unbuffer_output.
16724 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16725 (main): Call gdb_unbuffer_output.
16726 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16727 (main): Rename to ...
16728 (test): ... this.
16729 (main): Reimplement.
16730 * gdb.base/varargs.exp: Run to test instead of to main.
16731 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16732 (main): Call gdb_unbuffer_output.
16733
167342015-07-29 Pedro Alves <palves@redhat.com>
16735
16736 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16737 factore out from mi_continue_dprintf. For call-style dprintfs,
16738 expect dprintf output out of $inferior_spawn_id.
16739 (mi_continue_dprintf): Use mi_expect_dprintf.
16740 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16741 (main): Call gdb_unbuffer_output.
16742
167432015-07-29 Pedro Alves <palves@redhat.com>
16744
16745 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16746 (default_mi_gdb_start): Set inferior_spawn_id instead of
16747 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16748 gdb_spawn_id.
16749 (mi_gdb_test): Always expect inferior output from both
16750 $inferior_spawn_id and $gdb_spawn_id.
16751
167522015-07-29 Pedro Alves <palves@redhat.com>
16753
16754 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16755 send_inferior and $inferior_spawn_id.
16756
167572015-07-29 Pedro Alves <palves@redhat.com>
16758
16759 * gdb.gdb/complaints.exp (test_initial_complaints)
16760 (test_serial_complaints, test_short_complaints): Use
16761 gdb_test_stdio.
16762 (test_empty_complaint): Handle $inferior_spawn_id !=
16763 $gdb_spawn_id.
16764
167652015-07-29 Pedro Alves <palves@redhat.com>
16766
16767 * gdb.base/varargs.exp: Use gdb_test_stdio.
16768
167692015-07-29 Pedro Alves <palves@redhat.com>
16770
16771 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16772
167732015-07-29 Pedro Alves <palves@redhat.com>
16774
16775 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16776
167772015-07-29 Pedro Alves <palves@redhat.com>
16778
16779 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16780 parameter into two new parameters, "inf_result" and "gdb_result".
16781 Expect inferior output and gdb output from $inferior_spawn_id and
16782 $gdb_spawn_id, respectively. Adjust all callers.
16783
167842015-07-29 Pedro Alves <palves@redhat.com>
16785
16786 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16787 of gdb_test_sequence.
16788
167892015-07-29 Pedro Alves <palves@redhat.com>
16790
16791 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16792 (saw_spurious_output): Expect inferior output from
16793 $inferior_spawn_id. Use gdb_test_stdio.
16794
167952015-07-29 Pedro Alves <palves@redhat.com>
16796
16797 * gdb.base/dprintf.exp: Use standard_testfile. Change
16798 prepare_for_testing call.
16799 (srcfile): Don't set.
16800 (restart): New procedure.
16801 (test_dprintf): New procecure, use to continue over dprintfs.
16802 (test_call, test_agent): New procedures, tests moved here.
16803 Restart gdb and recreate dprintfs. Adjust expected output.
16804
168052015-07-29 Pedro Alves <palves@redhat.com>
16806
16807 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16808
168092015-07-29 Pedro Alves <palves@redhat.com>
16810
16811 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16812
168132015-07-29 Pedro Alves <palves@redhat.com>
16814
16815 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16816 gdb_test_stdio.
16817
168182015-07-29 Pedro Alves <palves@redhat.com>
16819
16820 * lib/gdb.exp (gdb_test_stdio): New procedure.
16821
168222015-07-29 Pedro Alves <palves@redhat.com>
16823
16824 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16825
168262015-07-29 Pedro Alves <palves@redhat.com>
16827
16828 * gdb.base/call-signal-resume.exp: Remove check for
16829 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16830 * gdb.base/unwindonsignal.exp: Likewise.
16831 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16832 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16833
168342015-07-29 Pedro Alves <palves@redhat.com>
16835
16836 * gdb.base/siginfo-addr.c (pass): New function.
16837 (handler): Call it iff si_addr is correct.
16838 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16839 Set a breakpoint at "pass" and continue to it.
16840
168412015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16842
16843 * gdb.python/py-objfile.exp: Make some tests have unique names.
16844 * gdb.python/py-pp-registration.exp: Likewise.
16845
168462015-07-28 Pedro Alves <palves@redhat.com>
16847
16848 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16849
168502015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16851
16852 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16853
168542015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16855
16856 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16857
168582015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16859
16860 * gdb.base/gdb-sigterm-2.exp: New test.
16861
168622015-07-25 Doug Evans <xdje42@gmail.com>
16863
16864 Revert:
16865 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16866 (workers/%.worker, build-perf): New rule.
16867 (GDB_PERFTEST_MODE): New variable.
16868 (check-perf): Use it.
16869 (clean): Clean up gdb.perf parallel build subdirs.
16870 * lib/build-piece.exp: New file.
16871 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16872 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16873 name.
16874 (standard_temp_file): Ditto.
16875 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16876 of $GDB_PARALLEL.
16877
168782015-07-24 Doug Evans <dje@google.com>
16879
16880 * gdb.perf/lib/perftest/utils.py: New file.
16881 * gdb.perf/gm-hello.cc: New file.
16882 * gdb.perf/gm-pervasive-typedef.cc: New file.
16883 * gdb.perf/gm-pervasive-typedef.h: New file.
16884 * gdb.perf/gm-std.cc: New file.
16885 * gdb.perf/gm-std.h: New file.
16886 * gdb.perf/gm-use-cerr.cc: New file.
16887 * gdb.perf/gm-utils.h: New file.
16888 * gdb.perf/gmonster-null-lookup.py: New file.
16889 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16890 * gdb.perf/gmonster-print-cerr.py: New file.
16891 * gdb.perf/gmonster-ptype-string.py: New file.
16892 * gdb.perf/gmonster-runto-main.py: New file.
16893 * gdb.perf/gmonster-select-file.py: New file.
16894 * gdb.perf/gmonster1-null-lookup.exp: New file.
16895 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16896 * gdb.perf/gmonster1-print-cerr.exp: New file.
16897 * gdb.perf/gmonster1-ptype-string.exp: New file.
16898 * gdb.perf/gmonster1-runto-main.exp: New file.
16899 * gdb.perf/gmonster1-select-file.exp: New file.
16900 * gdb.perf/gmonster1.cc: New file.
16901 * gdb.perf/gmonster1.exp: New file.
16902 * gdb.perf/gmonster2-null-lookup.exp: New file.
16903 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16904 * gdb.perf/gmonster2-print-cerr.exp: New file.
16905 * gdb.perf/gmonster2-ptype-string.exp: New file.
16906 * gdb.perf/gmonster2-runto-main.exp: New file.
16907 * gdb.perf/gmonster2-select-file.exp: New file.
16908 * gdb.perf/gmonster2.cc: New file.
16909 * gdb.perf/gmonster2.exp: New file.
16910
169112015-07-24 Doug Evans <dje@google.com>
16912
16913 * gdb.perf/README: New file.
16914 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16915 * lib/gen-perf-test.exp: New file.
16916
169172015-07-24 Doug Evans <dje@google.com>
16918
16919 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16920 (PerfTest::startup): New function.
16921 (PerfTest::run): Return result of calling body.
16922 (PerfTest::assemble): Rewrite.
16923 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16924 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16925 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16926 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16927 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16928
169292015-07-24 Doug Evans <dje@google.com>
16930
16931 * lib/gdb.exp (clean_restart): Make executable optional.
16932
169332015-07-24 Doug Evans <dje@google.com>
16934
16935 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16936 compiler_info references.
16937 * gdb.cp/temargs.exp: Ditto.
16938 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16939 (get_compiler_info): Early exit if already computed. Set compiler_info
16940 to "unknown" if there was a problem.
16941 (test_compiler_info): Add function comment. Call get_compiler_info.
16942
169432015-07-24 Doug Evans <dje@google.com>
16944
16945 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16946 (workers/%.worker, build-perf): New rule.
16947 (GDB_PERFTEST_MODE): New variable.
16948 (check-perf): Use it.
16949 (clean): Clean up gdb.perf parallel build subdirs.
16950 * lib/build-piece.exp: New file.
16951 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16952 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16953 name.
16954 (standard_temp_file): Ditto.
16955 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16956 of $GDB_PARALLEL.
16957
169582015-07-24 Doug Evans <dje@google.com>
16959
16960 * lib/future.exp (gdb_default_target_compile): New option
16961 "early_flags".
16962 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16963 --as-needed.
16964
169652015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16966
16967 * gdb.base/catch-syscall.exp: Call gdb_exit before
16968 gdb_skip_xml_test.
16969
169702015-07-24 Pedro Alves <palves@redhat.com>
16971
16972 * gdb.python/py-events.exp: Accept output between the stop event
16973 and the prompt.
16974 * gdb.python/py-evsignal.exp: Likewise.
16975 * gdb.python/py-evthreads.exp: Likewise.
16976
169772015-07-24 Pedro Alves <palves@redhat.com>
16978
16979 PR gdb/18717
16980 * gdb.threads/non-ldr-exit.c: New file.
16981 * gdb.threads/non-ldr-exit.exp: New file.
16982
169832015-07-24 Yao Qi <yao.qi@linaro.org>
16984
16985 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16986 restarting process.
16987
169882015-07-24 Yao Qi <yao.qi@linaro.org>
16989
16990 * gdb.server/ext-restart.exp: New file.
16991
169922015-07-24 Yao Qi <yao.qi@linaro.org>
16993
16994 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16995 argument options.
16996 * gdb.server/ext-wrapper.exp: New file.
16997
169982015-07-23 Doug Evans <dje@google.com>
16999
17000 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17001 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17002
170032015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17004
17005 * gdb.ada/var_arr_typedef.exp: New testcase.
17006 * gdb.ada/var_arr_typedef/pack.adb: New file.
17007 * gdb.ada/var_arr_typedef/pack.ads: New file.
17008 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17009
170102015-07-20 Joel Brobecker <brobecker@adacore.com>
17011
17012 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17013
170142015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17015
17016 * gdb.arch/i386-biarch-core.exp: Replace istarget
17017 by "complete set gnutarget". Remove expectation for the "core-file"
17018 command.
17019
170202015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17021
17022 Revert the previous commit:
17023 Tests for validate symbol file using build-id.
17024
170252015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17026
17027 Tests for validate symbol file using build-id.
17028 * gdb.base/solib-mismatch-lib.c: New file.
17029 * gdb.base/solib-mismatch-libmod.c: New file.
17030 * gdb.base/solib-mismatch.c: New file.
17031 * gdb.base/solib-mismatch.exp: New file.
17032
170332015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17034
17035 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17036 nios2-*-linux*.
17037 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17038 * gdb.base/siginfo.exp: Likewise.
17039 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17040
170412015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17042
17043 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17044 Move it to ...
17045 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17046 ... here.
17047 * gdb.trace/range-stepping.exp: Check that the target supports
17048 range stepping.
17049
170502015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17051
17052 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17053
170542015-07-14 Pedro Alves <palves@redhat.com>
17055
17056 * gdb.base/killed-outside.exp: New file.
17057 * gdb.base/killed-outside.c: New file.
17058
170592015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17060
17061 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17062 (n at main): New.
17063 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17064
170652015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17066
17067 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17068 infcall tests instead of setting up for KFAIL.
17069
170702015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17071
17072 * gdb.btrace/record_goto-step.exp: New.
17073
170742015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17075
17076 PR compile/18484
17077 * gdb.compile/compile.c (struct struct_type): Add volatile to
17078 selffield's type.
17079 * gdb.compile/compile.exp
17080 (compile code struct_object.selffield = &struct_object): Skip further
17081 struct_object tests if this one xfails.
17082
170832015-07-08 Robert O'Callahan <robert@ocallahan.org>
17084
17085 PR exp/18617
17086 * gdb.trace/ax.exp: Add test.
17087
170882015-07-07 Yao Qi <yao.qi@linaro.org>
17089
17090 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17091 instead of istarget "aarch64*-*-*".
17092 * gdb.arch/aarch64-fp.exp: Likewise.
17093 * gdb.base/float.exp: Likewise.
17094 * gdb.reverse/aarch64.exp: Likewise.
17095 * lib/gdb.exp (is_aarch64_target): New proc.
17096
170972015-07-07 Yao Qi <yao.qi@linaro.org>
17098
17099 * lib/gdb.exp (is_aarch32_target): New proc.
17100 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17101 instead of "istarget "arm*-*-*"".
17102 * gdb.arch/arm-disp-step.exp: Likewise.
17103 * gdb.arch/thumb-bx-pc.exp: Likewise.
17104 * gdb.arch/thumb-prologue.exp: Likewise.
17105 * gdb.arch/thumb-singlestep.exp: Likewise.
17106 * gdb.base/disp-step-syscall.exp: Likewise.
17107 * gdb.base/float.exp: Likewise.
17108
171092015-07-07 Yao Qi <yao.qi@linaro.org>
17110
17111 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17112 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17113
171142015-07-07 Yao Qi <yao.qi@linaro.org>
17115
17116 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17117 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17118 if it exists.
17119 * gdb.multi/multi-arch.exp: Likewise.
17120
171212015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17122
17123 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17124 print.
17125
171262015-07-07 Yao Qi <yao.qi@linaro.org>
17127
17128 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17129
171302015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17131
17132 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17133 '[' and ']' characters.
17134
171352015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17136
17137 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17138
171392015-06-29 Pedro Alves <palves@redhat.com>
17140
17141 PR threads/18127
17142 * gdb.threads/hand-call-new-thread.c: New file.
17143 * gdb.threads/hand-call-new-thread.c: New file.
17144
171452015-06-26 Keith Seitz <keiths@redhat.com>
17146 Doug Evans <dje@google.com>
17147
17148 PR 16253
17149 * gdb.cp/var-tag-2.cc: New file.
17150 * gdb.cp/var-tag-3.cc: New file.
17151 * gdb.cp/var-tag-4.cc: New file.
17152 * gdb.cp/var-tag.cc: New file.
17153 * gdb.cp/var-tag.exp: New file.
17154
171552015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17156
17157 * gdb.base/history-duplicates.exp: New test.
17158
171592015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17160
17161 * gdb.base/completion.exp: Test the completion of the "focus"
17162 command.
17163
171642015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17165
17166 * gdb.arch/amd64-prologue-skip.S: New file.
17167 * gdb.arch/amd64-prologue-skip.exp: New file.
17168
171692015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17170
17171 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17172 is_address_zero_readable check.
17173
171742015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17175
17176 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17177 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17178
171792015-06-24 Yao Qi <yao.qi@linaro.org>
17180
17181 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17182 linux targets.
17183
171842015-06-24 Yao Qi <yao.qi@linaro.org>
17185
17186 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17187 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17188 * gdb.base/siginfo-thread.exp: Likewise.
17189
171902015-06-22 Yao Qi <yao.qi@linaro.org>
17191
17192 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17193
171942015-06-22 Yao Qi <yao.qi@linaro.org>
17195
17196 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17197 aarch64*-*-*.
17198 (skip_hw_watchpoint_tests): Likewise.
17199
172002015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17201
17202 * gdb.base/gdbinit-history.exp: Test the interaction between
17203 setting GDBHISTSIZE and setting the history size via .gdbinit.
17204
172052015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17206
17207 PR gdb/16999
17208 * gdb.base/gdbhistsize-history.exp: New test.
17209
172102015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17211
17212 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17213 with GDBHISTSIZE.
17214 * gdb.base/readline.exp: Likewise.
17215
172162015-06-17 Yao Qi <yao.qi@linaro.org>
17217
17218 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17219 line.
17220
172212015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17222
17223 * gdb.base/gdbinit-history.exp: Add test case to check that
17224 an unlimited history file does not get truncated on exit.
17225
172262015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17227
17228 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17229 (VECTOR): New macro. Use it...
17230 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17231 ...for these typedefs.
17232 (int8, char1, int1, double1): New typedefs.
17233 (struct just_int2, struct two_int2): New structures.
17234 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17235 (add_structvecs, add_singlevecs): New functions.
17236 (main): Call add_some_intvecs twice.
17237 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17238 the compile and exit upon failure. Try compiling for the "native"
17239 architecture. Test inferior function calls with vector arguments
17240 and vector return value handling with "finish" and "return".
17241
172422015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17243
17244 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17245 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17246 PE file.
17247 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17248
172492015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17250
17251 PR breakpoints/16465
17252 * gdb.mi/mi-dprintf-pending.c: New file.
17253 * gdb.mi/mi-dprintf-pending.exp: New test.
17254 * gdb.mi/mi-dprintf-pendshr.c: New file.
17255
172562015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17257 Mircea Gherzan <mircea.gherzan@intel.com>
17258
17259 * gdb.arch/i386-mpx-map.c: New file.
17260 * gdb.arch/i386-mpx-map.exp: New File.
17261
172622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17263
17264 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17265 * gdb.arch/i386-mpx.exp: Indentation fixed.
17266
172672015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17268
17269 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17270 function and improved indentation.
17271 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17272 gdb_test_multiple. Added additional tests to skip the test.
17273
172742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17275
17276 * gdb.arch/i386-avx512.c: Change path in include file.
17277 * gdb.arch/i386-avx512.exp: Change include dir path
17278 compilation flag.
17279 * gdb.arch/i386-mpx.c: Change path in include file.
17280 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17281 flag.
17282
172832015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17284
17285 * gdb.compile/compile-print.exp (compile print *vararray@3)
17286 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17287
172882015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17289
17290 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17291 (do not keep jit in memory): ... this.
17292 (expect 5): Change it to ...
17293 (expect no 5): ... this.
17294
172952015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17296
17297 PR gdb/15564
17298 * gdb.mi/mi-detach.exp: New file.
17299
173002015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17301
17302 PR symtab/18392
17303 * gdb.arch/amd64-tailcall-self.S: New file.
17304 * gdb.arch/amd64-tailcall-self.c: New file.
17305 * gdb.arch/amd64-tailcall-self.exp: New file.
17306
173072015-05-28 Don Breazeal <donb@codesourcery.com>
17308
17309 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17310 tests for remote targets by checking is_target_gdbserver.
17311
173122015-05-27 Doug Evans <dje@google.com>
17313
17314 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17315 * gdb.dwarf2/opaque-type-lookup.c: New file.
17316 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17317
173182015-05-26 Doug Evans <dje@google.com>
17319
17320 * gdb.cp/iostream.cc: New file.
17321 * gdb.cp/iostream.exp: New file.
17322
173232015-05-26 Doug Evans <dje@google.com>
17324
17325 * gdb.dwarf2/dw2-op-call.exp: Update.
17326 * gdb.dwarf2/dw4-sig-types.exp: Update.
17327 * gdb.dwarf2/implptr.exp: Update.
17328 * gdb.mi/mi-cmd-param-changed.exp: Update.
17329
173302015-05-26 Doug Evans <dje@google.com>
17331
17332 * gdb.python/py-lazy-string.c: New file.
17333 * gdb.python/py-lazy-string.exp: New file.
17334 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17335 (main): Update. Add estring3.
17336 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17337 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17338
173392015-05-26 Omair Javaid <omair.javaid@linaro.org>
17340 Yao Qi <yao.qi@linaro.org>
17341
17342 * gdb.reverse/aarch64.c: New.
17343 * gdb.reverse/aarch64.exp: New.
17344
173452015-05-26 Omair Javaid <omair.javaid@linaro.org>
17346
17347 * lib/gdb.exp (supports_process_record): Return true for
17348 aarch64*-linux*.
17349 (supports_reverse): Likewise.
17350
173512015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17352
17353 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17354 Use with_test_prefix.
17355
173562015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17357
17358 * gdb.base/completion.exp: Add test for completion of layout
17359 names.
17360
173612015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17362
17363 * lib/gdb.exp (skip_tui_tests): New proc.
17364 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17365
173662015-05-19 Pedro Alves <palves@redhat.com>
17367
17368 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17369 Save the whole env array instead of just HOME. Unset HISTSIZE in
17370 the environment while testing. Restore whole environment
17371 afterwards.
17372
173732015-05-16 Doug Evans <xdje42@gmail.com>
17374
17375 * gdb.guile/scm-ports.c: New file.
17376 * gdb.guile/scm-ports.exp: Add memory port tests.
17377
173782015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17379
17380 * gdb.compile/compile-print.c: New file.
17381 * gdb.compile/compile-print.exp: New file.
17382
173832015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17384
17385 * gdb.compile/compile-ops.exp: Cast param to void.
17386 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17387 (compile code struct_object.selffield = &struct_object): Add xfail.
17388
173892015-05-15 Joel Brobecker <brobecker@adacore.com>
17390
17391 * gdb.ada/arr_enum_with_gap: New testcase.
17392
173932015-05-15 Joel Brobecker <brobecker@adacore.com>
17394
17395 * gdb.ada/byte_packed_arr: New testcase.
17396
173972015-05-15 Joel Brobecker <brobecker@adacore.com>
17398
17399 * gdb.ada/pckd_neg: New testcase.
17400
174012015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17402
17403 PR gdb/17820
17404 * gdb.base/gdbinit-history.exp: New test.
17405 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17406 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17407
174082015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17409
17410 * gdb.python/py-xmethods.cc: Enhance test case.
17411 * gdb.python/py-xmethods.exp: New tests.
17412 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17413 function.
17414 (B_indexoper): Likewise.
17415 (global_dm_list) : Add new xmethod worker functions.
17416
174172015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17418
17419 * gdb.base/coredump-filter.exp: Correctly unset
17420 "coredump_var_addr" array.
17421
174222015-05-08 Pedro Alves <palves@redhat.com>
17423
17424 * gdb.server/non-existing-program.exp: Unset spawn_id.
17425
174262015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17427
17428 PR python/18291
17429 * gdb.python/py-xmethods.exp: Add tests.
17430
174312015-05-08 Yao Qi <yao.qi@linaro.org>
17432
17433 PR gdb/18208
17434 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17435 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17436 function set_coredump_filter, and remove remote_exec call.
17437 Remove argument ipid. Callers update.
17438 (top level): Don't get inferior's PID.
17439
174402015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17441
17442 * gdb.base/watch_thread_num.exp: Skip test on targets without
17443 access watchpoints.
17444
174452015-05-06 Pedro Alves <palves@redhat.com>
17446
17447 PR server/18081
17448 * gdb.server/non-existing-program.exp: New file.
17449
174502015-05-05 Joel Brobecker <brobecker@adacore.com>
17451
17452 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17453
174542015-05-05 Joel Brobecker <brobecker@adacore.com>
17455
17456 * gdb.ada/out_of_line_in_inlined: New testcase.
17457
174582015-05-05 Joel Brobecker <brobecker@adacore.com>
17459
17460 * gdb.ada/var_rec_arr: New testcase.
17461
174622015-04-30 Yao Qi <yao.qi@linaro.org>
17463
17464 * gdb.base/break-idempotent.exp: If
17465 skip_hw_watchpoint_multi_tests returns true, skip the tests
17466 on "rwatch" and "awatch".
17467
174682015-04-30 Yao Qi <yao.qi@linaro.org>
17469
17470 * gdb.base/relativedebug.exp: Invoke gdb command
17471 "info sharedlibrary", and if libc.so doesn't have debug info,
17472 skip the test.
17473
174742015-04-29 Doug Evans <dje@google.com>
17475
17476 * gdb.python/py-xmethods.exp: Add ptype tests.
17477 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17478 get_result_type method.
17479
174802015-04-29 Luis Machado <lgustavo@codesourcery.com>
17481
17482 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17483 the target does not support hardware watchpoints.
17484
174852015-04-29 Luis Machado <lgustavo@codesourcery.com>
17486
17487 * gdb.base/break-always.exp: Abort testing if writing to memory
17488 causes an error.
17489
174902015-04-28 Doug Evans <dje@google.com>
17491
17492 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17493 * gdb.python/py-pp-registration.exp: ... here. New file.
17494 * gdb.python/py-pp-registration.c: New file.
17495 * gdb.python/py-pp-registration.py: New file.
17496
174972015-04-28 Doug Evans <dje@google.com>
17498
17499 * gdb.python/py-bad-printers.c: New file.
17500 * gdb.python/py-bad-printers.py: New file.
17501 * gdb.python/py-bad-printers.exp: New file.
17502
175032015-04-28 Sasha Smundak <asmundak@google.com>
17504
17505 * gdb.python/py-type.exp: New test.
17506
175072015-04-28 Andy Wingo <wingo@igalia.com>
17508
17509 * gdb.python/py-parameter.exp:
17510 * gdb.guile/scm-parameter.exp: Escape the path that we are
17511 matching against, as it might contain characters that are special
17512 to regular expressions.
17513
175142015-04-27 Joel Brobecker <brobecker@adacore.com>
17515
17516 * gdb.ada/rec_comp: New testcase.
17517
175182015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17519
17520 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17521 before using it.
17522
175232015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17524
17525 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17526 new tests for verilog output.
17527
175282015-04-24 Yao Qi <yao.qi@linaro.org>
17529
17530 * boards/remote-gdbserver-on-localhost.exp: New file.
17531
175322015-04-23 Pedro Alves <palves@redhat.com>
17533
17534 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17535 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17536 "end of file", remove $inferior_spawn_id from the indirect list.
17537
175382015-04-23 Pedro Alves <palves@redhat.com>
17539
17540 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17541
175422015-04-23 Pedro Alves <palves@redhat.com>
17543
17544 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17545 on $any_spawn_id instead of only on $gdb_spawn_id.
17546
175472015-04-21 Pierre Muller <muller@sourceware.org>
17548
17549 PR pascal/17815
17550 * lib/pascal.exp (gpc_compile): Add new option "class".
17551 (fpc_compile): Likewise.
17552 * gdb.pascal/case-insensitive-symbols.pas: New file.
17553 * gdb.pascal/case-insensitive-symbols.exp: New file.
17554
175552015-04-20 Gary Benson <gbenson@redhat.com>
17556
17557 * gdb.base/attach.exp: Fix three extended remote failures.
17558
175592015-04-17 Gary Benson <gbenson@redhat.com>
17560
17561 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17562 the main executable over the remote protocol.
17563
175642015-04-16 Pedro Alves <palves@redhat.com>
17565
17566 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17567 a new gdbserver if gdbserver_reconnect_p is set.
17568
175692015-04-16 Pedro Alves <palves@redhat.com>
17570
17571 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17572 is set, don't exit gdbserver.
17573
175742015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17575
17576 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17577 appropriate .insn, such that an older assembler can be used.
17578 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17579 the z/Architecture instruction set on 31-bit targets as well.
17580
175812015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17582
17583 * gdb.go/handcall.exp: Remove all logic related to the first
17584 breakpoint and rely on go_runto_main instead.
17585 * gdb.go/strings.exp: Likewise.
17586 * gdb.go/unsafe.exp: Likewise.
17587 * gdb.go/hello.exp: Likewise. Also rename the remaining
17588 breakpoint marker to "breakpoint 1".
17589 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17590 * gdb.go/strings.go: Likewise.
17591 * gdb.go/unsafe.go: Likewise.
17592 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17593 "set breakpoint 2 here" and rename the remaining breakpoint marker
17594 to "breakpoint 1".
17595
175962015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17597
17598 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17599 if itertools.imap is not present.
17600 * gdb.python/py-objfile.exp: Add parentheses.
17601 * gdb.python/py-type.exp: Same.
17602 * gdb.python/py-unwind-maint.py: Same.
17603
176042015-04-15 Yao Qi <yao.qi@linaro.org>
17605
17606 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17607 of ":$ptr_size" and set its form explicitly.
17608
176092015-04-15 Pedro Alves <palves@redhat.com>
17610 Yao Qi <yao.qi@linaro.org>
17611
17612 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17613 timeout by factor of 4.
17614 (test_regular_watch): Likewise.
17615 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17616 * gdb.reverse/sigall-reverse.exp: Likewise.
17617 * gdb.reverse/until-precsave.exp: Likewise.
17618 * lib/gdb.exp (with_timeout_factor): New proc.
17619 (gdb_expect): Move some code to ...
17620 (get_largest_timeout): ... here. New procedure.
17621
176222015-04-14 Luis Machado <lgustavo@codesourcery.com>
17623
17624 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17625
176262015-04-13 Luis Machado <lgustavo@codesourcery.com>
17627
17628 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17629 to write to the .text section.
17630
176312015-04-13 Luis Machado <lgustavo@codesourcery.com>
17632
17633 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17634 Handle the case of targets that do not provide PID information.
17635
176362015-04-13 Yao Qi <yao.qi@linaro.org>
17637
17638 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17639 and use expect instead of gdb_expect.
17640
176412015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17642
17643 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17644 "coredump_var_addr" to avoid naming conflict with other testcases.
17645
176462015-04-10 Pedro Alves <palves@redhat.com>
17647
17648 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17649 gdb_test_sequence and gdb_assert.
17650
176512015-04-10 Pedro Alves <palves@redhat.com>
17652
17653 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17654 test messages that don't include the breakpoint address.
17655
176562015-04-10 Yao Qi <yao.qi@linaro.org>
17657
17658 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17659 false for some offset and width combinations which aren't
17660 supported by linux kernel.
17661
176622015-04-10 Pedro Alves <palves@redhat.com>
17663
17664 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17665 procedure, factored out from ...
17666 (top level): ... here. Add "set displaced-stepping" testing axis.
17667 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17668 parameter "displaced". Use it.
17669 (top level): Use foreach and add "set displaced-stepping" testing
17670 axis.
17671
176722015-04-10 Pedro Alves <palves@redhat.com>
17673
17674 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17675 Remove comment.
17676 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17677 both the address of the instruction that triggers the watchpoint
17678 and the address of the instruction immediately after, and use
17679 those addresses for the test. Fix comment.
17680
176812015-04-10 Pedro Alves <palves@redhat.com>
17682
17683 * gdb.base/sigstep.exp (breakpoint_to_handler)
17684 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17685 Test "backtrace" in handler.
17686 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17687 (top level): Add new "displaced" test axis to
17688 breakpoint_to_handler, breakpoint_to_handler_entry and
17689 breakpoint_over_handler.
17690
176912015-04-10 Pedro Alves <palves@redhat.com>
17692
17693 PR gdb/18216
17694 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17695
176962015-04-10 Yao Qi <yao.qi@linaro.org>
17697
17698 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17699 (test_add_rn_pc): New function.
17700 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17701 (top level): Invoke test_add_rn_pc.
17702
177032015-04-10 Pedro Alves <palves@redhat.com>
17704
17705 PR gdb/13858
17706 * gdb.base/step-over-no-symbols.exp: New file.
17707
177082015-04-09 Andy Wingo <wingo@igalia.com>
17709
17710 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17711 after the Python tests.
17712
177132015-04-08 Keith Seitz <keiths@redhat.com>
17714
17715 PR python/16699
17716 * gdb.python/py-completion.exp: New tests for completion.
17717 * gdb.python/py-completion.py (CompleteLimit1): New class.
17718 (CompleteLimit2): Likewise.
17719 (CompleteLimit3): Likewise.
17720 (CompleteLimit4): Likewise.
17721 (CompleteLimit5): Likewise.
17722 (CompleteLimit6): Likewise.
17723 (CompleteLimit7): Likewise.
17724
177252015-04-08 Pedro Alves <palves@redhat.com>
17726
17727 PR gdb/18214
17728 PR gdb/18216
17729 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17730 function.
17731 (main): Install it as SIGUSR1 handler.
17732 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17733 parameter. Always use "setup" as prefix. Toggle "set
17734 displaced-stepping" off/on depending on global. Don't switch to
17735 thread 1 here.
17736 (top level): Add displaced stepping "off/on" test axis. Update
17737 "setup" calls. Wrap each subtest with with_test_prefix. Test
17738 continuing with a queued signal in each thread.
17739
177402015-04-08 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17743 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17744 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17745 Return early if running to main fails.
17746 * gdb.trace/while-stepping.exp: Likewise.
17747
177482015-04-07 Pedro Alves <palves@redhat.com>
17749
17750 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17751 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17752 interact with inferior program.
17753
177542015-04-07 Pedro Alves <palves@redhat.com>
17755
17756 * lib/gdb.exp (inferior_spawn_id): New global.
17757 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17758 spawn id after processing the user code.
17759 (default_gdb_start): Set inferior_spawn_id.
17760 (send_inferior): New procedure.
17761 * lib/gdbserver-support.exp (gdbserver_start): Set
17762 inferior_spawn_id.
17763 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17764
177652015-04-07 Pedro Alves <palves@redhat.com>
17766
17767 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17768 * lib/gdbserver-support.exp (gdbserver_start): Make
17769 $server_spawn_id global.
17770 (gdbserver_start): Don't wait for gdbserver's spawn id with
17771 expect_background.
17772 (close_gdbserver): New procedure.
17773 (gdb_exit): Rename the default version and reimplement.
17774
177752015-04-07 Pedro Alves <palves@redhat.com>
17776
17777 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
17778 append the substituted item, not the original item.
17779
177802015-04-07 Pedro Alves <palves@redhat.com>
17781
17782 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17783 gdb_expect.
17784
177852015-04-07 Pedro Alves <palves@redhat.com>
17786
17787 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17788 output appearing once only.
17789
177902015-04-07 Pedro Alves <palves@redhat.com>
17791
17792 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17793 that doesn't expect anything. Return early if running to main
17794 fails.
17795
177962015-04-07 Yao Qi <yao.qi@linaro.org>
17797
17798 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17799 (child_function): Call alarm.
17800 (main): Move call to alarm into the loop.
17801 * gdb.threads/non-stop-fair-events.exp: Build program with
17802 -DTIMEOUT=$timeout.
17803
178042015-04-06 Doug Evans <xdje42@gmail.com>
17805
17806 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17807 Fix dest parameter to board_info.
17808 (fpc_compile): Ditto.
17809 (gdb_compile_pascal): Rename dest arg to destfile.
17810
178112015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17812
17813 * gdb.ada/funcall_ref.exp: New file.
17814 * gdb.ada/funcall_ref/foo.adb: New file.
17815
178162015-04-02 Yao Qi <yao.qi@linaro.org>
17817
17818 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17819 is remote.
17820
178212015-04-02 Gary Benson <gbenson@redhat.com>
17822
17823 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17824
178252015-04-01 Sasha Smundak <asmundak@google.com>
17826
17827 * gdb.python/py-unwind-maint.c: New file.
17828 * gdb.python/py-unwind-maint.exp: New test.
17829 * gdb.python/py-unwind-maint.py: New file.
17830 * gdb.python/py-unwind.c: New file.
17831 * gdb.python/py-unwind.exp: New test.
17832 * gdb.python/py-unwind.py: New test.
17833
178342015-04-01 Pedro Alves <palves@redhat.com>
17835
17836 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17837 to fail instead of non-existent $test.
17838
178392015-04-01 Pedro Alves <palves@redhat.com>
17840
17841 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17842 GDBFLAGS if not empty.
17843
178442015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17845
17846 * gdb.ada/complete.exp: Remove "multi_line".
17847 * gdb.ada/info_exc.exp: Remove "multi_line".
17848 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17849 * gdb.ada/ptype_field.exp: Remove "multi_line".
17850 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17851 * gdb.ada/tagged.exp: Remove "multi_line".
17852 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17853 [multi_line ...]
17854 * gdb.btrace/delta.exp: Likewise.
17855 * gdb.btrace/exception.exp: Likewise.
17856 * gdb.btrace/function_call_history.exp: Likewise.
17857 * gdb.btrace/instruction_history.exp: Likewise.
17858 * gdb.btrace/nohist.exp: Likewise.
17859 * gdb.btrace/record_goto.exp: Likewise.
17860 * gdb.btrace/segv.exp: Likewise.
17861 * gdb.btrace/stepi.exp: Likewise.
17862 * gdb.btrace/tailcall.exp: Likewise.
17863 * gdb.btrace/unknown_functions.exp: Likewise.
17864 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17865 * lib/gdb.exp: Add the "multi_line" helper.
17866
178672015-04-01 Pedro Alves <palves@redhat.com>
17868
17869 * gdb.threads/tid-reuse.c: New file.
17870 * gdb.threads/tid-reuse.exp: New file.
17871
178722015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17873
17874 PR corefiles/16092
17875 * gdb.base/coredump-filter.c: New file.
17876 * gdb.base/coredump-filter.exp: Likewise.
17877
178782015-03-27 Petr Machata <pmachata@redhat.com>
17879
17880 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17881 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17882 (Dwarf::assemble): Initialize them.
17883 (Dwarf::lines): New function.
17884
178852015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17886
17887 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17888 SYMBOL_PREFIX for x86_64-*-cygwin.
17889
178902015-03-26 Andy Wingo <wingo@igalia.com>
17891
17892 PR symtab/18148
17893 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17894 const_value but not a location.
17895 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17896 location defined in non-main CUs are visible.
17897
178982015-03-26 Yao Qi <yao.qi@linaro.org>
17899
17900 PR testsuite/18139
17901 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17902 Add a line number entry for the same line.
17903 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17904 Add a line number entry for the same line.
17905
179062015-03-26 Yao Qi <yao.qi@linaro.org>
17907
17908 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17909 .int 0.
17910 (func): Likewise. Add .Lfunc_1 label.
17911 Use .Lfunc_1 label.
17912 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17913 .int 0.
17914 (func): Likewise.
17915 Use .Lfunc_1 label.
17916
179172015-03-26 Yao Qi <yao.qi@linaro.org>
17918
17919 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17920 Call gdb_compile instead to compile each .s files without debug
17921 information.
17922
179232015-03-26 Yao Qi <yao.qi@linaro.org>
17924
17925 * gdb.base/savedregs.exp (process_saved_regs): Make
17926 "Saved registers:" optional in the pattern.
17927
179282015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17929
17930 * gdb.btrace/next.exp: Merged into step.exp.
17931 * gdb.btrace/finish.exp: Merged into step.exp.
17932 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17933 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17934 "record goto" and checking the exact replay position.
17935 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17936 check for "Recording format" in "info record" output.
17937 * gdb.btrace/record_goto.exp: Choose test file based on target.
17938 * gdb.btrace/x86-record_goto.S: Renamed into ...
17939 * gdb.btrace/x86_64-record_goto.S: ... this.
17940 * gdb.btrace/i686-record_goto.S: New.
17941 * gdb.btrace/x86-tailcall.S: Renamed into ...
17942 * gdb.btrace/x86_64-tailcall.S: ... this.
17943 * gdb.btrace/i686-tailcall.S: New.
17944 * gdb.btrace/x86-tailcall.c: Renamed into ...
17945 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17946 separate statements. Update test.
17947 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17948 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17949 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17950 * gdb.btrace/tailcall.exp: Choose test file based on target.
17951 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17952
179532015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17954
17955 * gdb.btrace/exception.exp: Increase BTS buffer size.
17956
179572015-03-24 Pedro Alves <palves@redhat.com>
17958
17959 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17960
179612015-03-24 Pedro Alves <palves@redhat.com>
17962
17963 * gdb.threads/schedlock.exp (test_step): No longer expect that
17964 "set scheduler-locking step" with "next" over a function call runs
17965 threads unlocked.
17966
179672015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17968
17969 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17970
179712015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17972
17973 PR breakpoints/16466
17974 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17975 * gdb.mi/mi-pending.c (thread_func): New function.
17976 (int main): Add threading support required.
17977 * gdb.mi/mi-pending.exp: Add tests for this issue.
17978 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17979 (pendfunc2): Remove stdio dependency.
17980 * gdb.mi/mi-pendshr2.c: New file.
17981
179822015-03-23 Keith Seitz <keiths@redhat.com>
17983
17984 * gdb.linespec/keywords.c: New file.
17985 * gdb.linespec/keywords.exp: New file.
17986
179872015-03-23 Keith Seitz <keiths@redhat.com>
17988
17989 PR gdb/18021
17990 * gdb.dwarf2/staticvirtual.exp: New test.
17991
179922015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17993
17994 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17995 * README: Remove HP-UX and gdb.hp.
17996 (configuration):
17997 * configure: Regenerate.
17998 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17999 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18000 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18001 gdb.hp/gdb.defects/Makefile.
18002 * gdb.hp/Makefile.in: File deleted.
18003 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18004 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18005 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18006 * gdb.hp/gdb.aCC/run.c: File deleted.
18007 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18008 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18009 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18010 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18011 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18012 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18013 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18014 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18015 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18016 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18017 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18018 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18019 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18020 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18021 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18022 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18023 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18024 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18025 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18026 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18027 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18028 * gdb.hp/gdb.compat/average.c: File deleted.
18029 * gdb.hp/gdb.compat/sum.c: File deleted.
18030 * gdb.hp/gdb.compat/xdb.c: File deleted.
18031 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18032 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18033 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18034 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18035 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18036 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18037 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18038 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18039 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18040 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18041 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18042 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18043 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18044 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18045 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18046 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18047 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18048 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18049 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18050 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18051 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18052 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18053 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18054 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18055 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18056 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18057 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18058 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18059 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18060 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18061 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18062 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18063 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18064 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18065 * gdb.hp/tools/odump: File deleted.
18066
180672015-03-19 Pedro Alves <palves@redhat.com>
18068
18069 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18070 (saw_thread_3): New globals.
18071 (top level): Increment them when an event for the corresponding
18072 thread is seen.
18073 (no thread starvation): New test.
18074
180752015-03-19 Pedro Alves <palves@redhat.com>
18076
18077 * gdb.threads/continue-pending-status.c: New file.
18078 * gdb.threads/continue-pending-status.exp: New file.
18079
180802015-03-18 Pedro Alves <palves@redhat.com>
18081
18082 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18083 Use gdb_is_target_remote instead of is_remote. Use
18084 gdb_test_multiple instead of gdb_expect. Exit early if
18085 gdb_test_multiple hits its internal matches. Tighten stepi tests
18086 expected output. Fail on exit with any signal, instead of just
18087 SIGILL.
18088
180892015-03-18 Yao Qi <yao.qi@linaro.org>
18090
18091 PR tdep/18107
18092 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18093 variable.
18094 * gdb.base/catch-syscall.exp: Don't skip it on
18095 aarch64*-*-linux* target. Remove elements in all_syscalls.
18096 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18097 target.
18098 (setup_all_syscalls): New proc.
18099
181002015-03-16 Yao Qi <yao.qi@linaro.org>
18101
18102 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18103 (top level): Skip tests if valid_addr_p returns false for
18104 $cmd1 or $cmd2.
18105
181062015-03-11 Andy Wingo <wingo@igalia.com>
18107
18108 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18109
181102015-03-11 Yao Qi <yao.qi@linaro.org>
18111
18112 * gdb.base/catch-syscall.exp: Fix typo in comments.
18113
181142015-03-11 Yao Qi <yao.qi@linaro.org>
18115
18116 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18117
181182015-03-09 Pedro Alves <palves@redhat.com>
18119
18120 * dg-extract-results.py: Delete.
18121
181222015-03-09 Pedro Alves <palves@redhat.com>
18123
18124 Merge dg-extract-results.sh from GCC upstream (r218843).
18125
18126 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18127 * dg-extract-results.sh: Use --text with grep to avoid issues with
18128 binary files. Fall back to cat -v, if that doesn't work.
18129
181302015-03-05 Pedro Alves <palves@redhat.com>
18131
18132 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18133
181342015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18135
18136 * lib/mi-support.exp (mi_expect_interrupt): Accept
18137 alternative event for when in all-stop mode.
18138
181392015-03-04 Pedro Alves <palves@redhat.com>
18140
18141 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18142
181432015-03-04 Mark Kettenis <kettenis@gnu.org>
18144
18145 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18146
181472015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18148
18149 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18150 regexps for GDB's current line display, accept a hex address
18151 preceding the line number.
18152
181532015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18154
18155 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18156 the 'arch1' variable for "s390*-linux*" targets.
18157
181582015-03-04 Pedro Alves <palves@redhat.com>
18159
18160 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18161 (main): Pass missing retval argument to pthread_join call.
18162
181632015-03-02 Pedro Alves <palves@redhat.com>
18164
18165 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18166 (top level): Call do_test with non-stop as well.
18167
181682015-03-02 Pedro Alves <palves@redhat.com>
18169
18170 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18171 -1.
18172
181732015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18174
18175 * gdb.arch/s390-vregs.exp: New test.
18176 * gdb.arch/s390-vregs.S: New file.
18177
181782015-02-27 Pedro Alves <palves@redhat.com>
18179
18180 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18181 call to catch_command_errors.
18182 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18183 catch_command_errors.
18184
181852015-02-27 Pedro Alves <palves@redhat.com>
18186
18187 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18188 "true" for boolean result.
18189 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18190 prototype of main.
18191
181922015-02-27 Pedro Alves <palves@redhat.com>
18193
18194 * lib/unbuffer_output.c: New file.
18195 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18196 (main): Call gdb_unbuffer_output.
18197
181982015-02-27 Yao Qi <yao.qi@linaro.org>
18199
18200 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18201 target.
18202
182032015-02-26 Doug Evans <dje@google.com>
18204
18205 * gdb.cp/class2.cc (Dbase, D): New classes.
18206 (main): New local delta.
18207 * gdb.cp/class2.exp: Test printing delta.
18208 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18209 (dynbar): New global.
18210 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18211
182122015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18213
18214 * gdb.compile/compile-ifunc.c: New file.
18215 * gdb.compile/compile-ifunc.exp: New file.
18216
182172015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18218
18219 * gdb.base/structs.exp: Check for correct struct on finish.
18220
182212015-02-26 Yao Qi <yao.qi@linaro.org>
18222
18223 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18224 is zero.
18225
182262015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18227
18228 * gdb.arch/cordic.ko.bz2: New file.
18229 * gdb.arch/cordic.ko.debug.bz2: New file.
18230 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18231
182322015-02-25 Yao Qi <yao.qi@linaro.org>
18233
18234 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18235 aarch64*-*-* target.
18236
182372015-02-23 Pedro Alves <palves@redhat.com>
18238
18239 * lib/gdb.exp (delete_breakpoints): Rewrite using
18240 gdb_test_multiple.
18241
182422015-02-23 Pedro Alves <palves@redhat.com>
18243
18244 * gdb.base/info-os.c: Include stdlib.h.
18245
182462015-02-22 Doug Evans <xdje42@gmail.com>
18247
18248 PR symtab/17855
18249 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18250 is read after symbols have been re-read.
18251 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18252 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18253
182542015-02-21 Doug Evans <dje@google.com>
18255
18256 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18257
182582015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18259
18260 PR corefiles/17808
18261 * gdb.arch/i386-biarch-core.core.bz2: New file.
18262 * gdb.arch/i386-biarch-core.exp: New file.
18263
182642015-02-21 Pedro Alves <palves@redhat.com>
18265
18266 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18267 runto_main fails.
18268
182692015-02-20 Pedro Alves <palves@redhat.com>
18270
18271 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18272 info probes.
18273
182742015-02-20 Pedro Alves <palves@redhat.com>
18275
18276 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18277
182782015-02-20 Pedro Alves <palves@redhat.com>
18279
18280 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18281 clean_restart before gdb_target_supports_trace.
18282
182832015-02-20 Pedro Alves <palves@redhat.com>
18284
18285 PR threads/18006
18286 * gdb.threads/clone-thread_db.c: New file.
18287 * gdb.threads/clone-thread_db.exp: New file.
18288
182892015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18290
18291 PR breakpoints/16812
18292 * gdb.base/catch-gdb-caused-signals.c: New file.
18293 * gdb.base/catch-gdb-caused-signals.exp: New file.
18294
182952015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18296
18297 * configure: Regenerated.
18298 * configure.ac: Use GDB_AC_TRANSFORM.
18299 * aclocal.m4: sinclude ../transform.m4.
18300
183012015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18302
18303 * lib/dtrace.exp: New file.
18304 * gdb.base/dtrace-probe.exp: Likewise.
18305 * gdb.base/dtrace-probe.d: Likewise.
18306 * gdb.base/dtrace-probe.c: Likewise.
18307 * lib/pdtrace.in: Likewise.
18308 * configure.ac: Output variables with the transformed names of
18309 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18310 * configure: Regenerated.
18311
183122015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18313
18314 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18315 expected message when trying to access $_probe_* convenience
18316 variables while not on a probe.
18317
183182015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18319
18320 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18321
183222015-02-11 Pedro Alves <pedro@codesourcery.com>
18323
18324 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18325 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18326
183272015-02-10 Doug Evans <xdje42@gmail.com>
18328
18329 * lib/gdb.exp (gdb_load): Always return a result.
18330
183312015-02-10 Pedro Alves <palves@redhat.com>
18332
18333 * gdb.threads/signal-sigtrap.c: New file.
18334 * gdb.threads/signal-sigtrap.exp: New file.
18335
183362015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18337
18338 * gdb.trace/no-attach-trace.c: New file.
18339 * gdb.trace/no-attach-trace.exp: New file.
18340
183412015-02-09 Mark Wielaard <mjw@redhat.com>
18342
18343 * gdb.dwarf2/atomic.c: New file.
18344 * gdb.dwarf2/atomic-type.exp: Likewise.
18345
183462015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18347
18348 * gdb.btrace/buffer-size.exp: Update "info record" output.
18349 * gdb.btrace/delta.exp: Update "info record" output.
18350 * gdb.btrace/enable.exp: Update "info record" output.
18351 * gdb.btrace/finish.exp: Update "info record" output.
18352 * gdb.btrace/instruction_history.exp: Update "info record" output.
18353 * gdb.btrace/next.exp: Update "info record" output.
18354 * gdb.btrace/nexti.exp: Update "info record" output.
18355 * gdb.btrace/step.exp: Update "info record" output.
18356 * gdb.btrace/stepi.exp: Update "info record" output.
18357 * gdb.btrace/nohist.exp: Update "info record" output.
18358
183592015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18360
18361 * gdb.btrace/buffer-size: New.
18362
183632015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18364
18365 * gdb.btrace/delta.exp: Update "info record" output.
18366 * gdb.btrace/enable.exp: Update "info record" output.
18367 * gdb.btrace/finish.exp: Update "info record" output.
18368 * gdb.btrace/instruction_history.exp: Update "info record" output.
18369 * gdb.btrace/next.exp: Update "info record" output.
18370 * gdb.btrace/nexti.exp: Update "info record" output.
18371 * gdb.btrace/step.exp: Update "info record" output.
18372 * gdb.btrace/stepi.exp: Update "info record" output.
18373 * gdb.btrace/nohist.exp: Update "info record" output.
18374
183752015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18376
18377 PR gdb/15678
18378 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18379
183802015-02-06 Pedro Alves <palves@redhat.com>
18381
18382 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18383 macro.
18384 (seconds_left, again): New globals.
18385 (main): Wait seconds_left in a 1-second sleep loop instead of
18386 sleeping 180 seconds. If 'again' is set, reset the seconds
18387 counter.
18388 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18389 'again' in the inferior before detaching. Print the seconds left.
18390 (options): New global.
18391 (top level): Build program with -DTIMEOUT=$timeout.
18392
183932015-02-06 Pedro Alves <palves@redhat.com>
18394
18395 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18396 determine how many seconds to pass to 'alarm'.
18397 * gdb.base/gdb-sigterm.exp (top level): Build program with
18398 -DTIMEOUT=$timeout.
18399 (do_test): Return success/failure indication. Add more verbose
18400 logging. Don't fail if 200 single steps are seen. Instead, fail
18401 when the test times out.
18402 (passes): New global.
18403 (top level): Break the testing loop if testing fails on any
18404 iteration. Use gdb_assert.
18405
184062015-02-04 Don Breazeal <donb@codesourcery.com>
18407
18408 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18409 and initialize them.
18410 (ipc_cleanup): New function.
18411 (main): Don't declare shmid, semid, and msqid. Add a call to
18412 atexit so that we call ipc_cleanup on exit.
18413
184142015-02-04 Pedro Alves <palves@redhat.com>
18415
18416 * boards/native-extended-gdbserver.exp: Remove any target variant
18417 specifications from the board name before clearing the isremote
18418 flag from board_info.
18419
184202015-01-31 Doug Evans <xdje42@gmail.com>
18421
18422 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18423
184242015-01-31 Gary Benson <gbenson@redhat.com>
18425
18426 * gdb.base/completion.exp: Disable completion limiting for
18427 existing tests. Add new tests to check completion limiting.
18428 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18429
184302015-01-31 Doug Evans <xdje42@gmail.com>
18431
18432 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18433
184342015-01-31 Doug Evans <xdje42@gmail.com>
18435
18436 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18437 entries. Duplicate file section script entries.
18438 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18439 inlined entries. Add test for safe-path rejection.
18440 * gdb.python/py-section-script.c: Add duplicate inlined section script
18441 entries. Duplicate file section script entries.
18442 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18443 inlined entries. Add test for safe-path rejection.
18444
184452015-01-29 Joel Brobecker <brobecker@adacore.com>
18446
18447 * gdb.ada/disc_arr_bound: New testcase.
18448
184492015-01-29 Joel Brobecker <brobecker@adacore.com>
18450
18451 * gdb.ada/mi_var_array: New testcase.
18452
184532015-01-27 Doug Evans <dje@google.com>
18454
18455 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18456 Add test for objfile.filename, objfile.username after objfile
18457 has been unloaded.
18458
184592015-01-26 Joel Brobecker <brobecker@adacore.com>
18460
18461 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18462 the second test to print the name attribute of value
18463 returned by the call to gdb.lookup_type, and adjust
18464 the expected output accordingly.
18465
184662015-01-25 Mark Wielaard <mjw@redhat.com>
18467
18468 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18469 * gdb.base/disp-step-fork.c: Include unistd.h.
18470 * gdb.base/siginfo-obj.c: Include stdio.h.
18471 * gdb.base/siginfo-thread.c: Likewise.
18472 * gdb.mi/non-stop.c: Include unistd.h.
18473 * gdb.mi/nsthrexec.c: Include stdio.h.
18474 * gdb.mi/pthreads.c: Include unistd.h.
18475 * gdb.modula2/unbounded1.c (main): Declare returns int.
18476 * gdb.reverse/consecutive-reverse.c: Likewise.
18477 * gdb.threads/create-fail.c: Include unistd.h.
18478 * gdb.threads/killed.c: Likewise.
18479 * gdb.threads/linux-dp.c: Likewise.
18480 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18481 * gdb.threads/non-ldr-exc-2.c: Likewise.
18482 * gdb.threads/non-ldr-exc-3.c: Likewise.
18483 * gdb.threads/non-ldr-exc-4.c: Likewise.
18484 * gdb.threads/pthreads.c: Include unistd.h.
18485 (main): Declare returns int.
18486 * gdb.threads/tls-main.c (foo): New declaration.
18487 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18488
184892015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18490
18491 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18492 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18493
184942015-01-15 Mark Wielaard <mjw@redhat.com>
18495
18496 * gdb.base/noreturn-return.c: New file.
18497 * gdb.base/noreturn-return.exp: New file.
18498 * gdb.base/noreturn-finish.c: New file.
18499 * gdb.base/noreturn-finish.exp: New file.
18500
185012015-01-23 Pedro Alves <palves@redhat.com>
18502
18503 * gdb.threads/continue-pending-after-query.c: New file.
18504 * gdb.threads/continue-pending-after-query.exp: New file.
18505
185062015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18507 Simon Marchi <simon.marchi@ericsson.com>
18508
18509 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18510 * gdb.base/valgrind-db-attach.exp: Same.
18511 * gdb.base/valgrind-infcall.exp: Same.
18512 * lib/mi-support.exp (default_mi_gdb_start): Same.
18513 * lib/prompt.exp (default_prompt_gdb_start): Same.
18514 * lib/gdb.exp (default_gdb_spawn): Same.
18515 (gdb_interact): New.
18516
18517
185182015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18519
18520 * gdb.compile/compile.exp (pointer to jit function): New test.
18521
185222015-01-17 Wei-cheng Wang <cole945@gmail.com>
18523
18524 * lib/gdb.exp (supports_process_record): Return true for
18525 powerpc*-*-linux*.
18526 (supports_reverse): Likewise.
18527
185282015-01-15 Don Breazeal <donb@codesourcery.com>
18529
18530 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18531 instead of checking whether the target board is remote and
18532 use spawn_wait_for_attach instead of exec/sleep.
18533 * gdb.base/attach-twice.exp: Likewise.
18534
185352015-01-15 Joel Brobecker <brobecker@adacore.com>
18536
18537 * gdb.ada/var_arr_attrs: New testcase.
18538
185392015-01-14 Pedro Alves <palves@redhat.com>
18540 Joel Brobecker <brobecker@adacore.com>
18541
18542 PR gdb/17525
18543 * gdb.base/bp-cmds-execution-x-script.c: New file.
18544 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18545 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18546
185472015-01-14 Pedro Alves <palves@redhat.com>
18548
18549 PR cli/17828
18550 * gdb.base/batch-preserve-term-settings.c: New file.
18551 * gdb.base/batch-preserve-term-settings.exp: New file.
18552
185532015-01-13 Doug Evans <dje@google.com>
18554
18555 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18556 binary.
18557
185582015-01-13 Joel Brobecker <brobecker@adacore.com>
18559
18560 * Makefile.in (clean mostlyclean): Do not delete *.py.
18561
185622015-01-13 Joel Brobecker <brobecker@adacore.com>
18563
18564 * gdb.python/py-lookup-type.exp: New file.
18565
185662015-01-12 Pedro Alves <palves@redhat.com>
18567
18568 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18569 restore GDBFLAGS before returning.
18570
185712015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18572
18573 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18574 is_amd64_regs_target and is_x86_like_target.
18575
185762015-01-11 Doug Evans <xdje42@gmail.com>
18577
18578 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18579 is given without an explicit form.
18580 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18581 attributes.
18582 * gdb.dwarf/corrupt.exp: Ditto.
18583 * gdb.dwarf2/enum-type.exp: Ditto.
18584 * gdb.trace/entry-values.exp: Ditto.
18585 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18586
185872015-01-11 Doug Evans <xdje42@gmail.com>
18588
18589 PR gdb/15830
18590 * gdb.base/maint.exp: Remove references to "maint demangle".
18591 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18592 Add tests for explicitly specifying language to demangle.
18593 * gdb.dlang/demangle.exp: Ditto.
18594
185952015-01-09 Pedro Alves <palves@redhat.com>
18596
18597 * gdb.threads/non-stop-fair-events.c: New file.
18598 * gdb.threads/non-stop-fair-events.exp: New file.
18599
186002015-01-09 Pedro Alves <palves@redhat.com>
18601
18602 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18603 the global scope. Set a breakpoint after all threads are started
18604 rather than stepping over two source lines. Expect the prompt.
18605 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18606 global.
18607 (NUM): Now 15.
18608 (main): Use threads_started_barrier to wait for all threads to
18609 start. Main thread no longer calls thread_function. Exit after
18610 180 seconds.
18611 (loop): New function.
18612 (thread_function): Wait on threads_started_barrier barrier. Call
18613 'loop' at each iteration.
18614 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18615 threads have started, instead of hardcoding number of "next"
18616 steps. Use an access watchpoint instead of a write watchpoint.
18617
186182015-01-09 Pedro Alves <palves@redhat.com>
18619
18620 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18621 (thread_func): Wait on barrier.
18622 (main): Wait for all threads to start before stopping GDB.
18623 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18624 global.
18625 (thread1_func, thread2_func): Wait on barrier.
18626 (main): Wait for all threads to start before stopping GDB.
18627 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18628 New global.
18629 (thread1_func, thread2_func): Wait on barrier.
18630 (main): Wait for all threads to start before stopping GDB.
18631
186322015-01-09 Pedro Alves <palves@redhat.com>
18633
18634 * gdb.threads/attach-many-short-lived-threads.c: New file.
18635 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18636
186372014-01-09 Pedro Alves <palves@redhat.com>
18638
18639 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18640 instead of to thread 2.
18641 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18642 Add barrier around each pthread_create call instead of around all
18643 calls.
18644 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18645 Set a break on thread_function and have the child threads hit it
18646 one at at a time.
18647
186482015-01-09 Pedro Alves <palves@redhat.com>
18649
18650 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18651 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18652 false.
18653 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18654 checking whether the target board is remote.
18655 * gdb.multi/multi-attach.exp: Likewise.
18656 * gdb.python/py-sync-interp.exp: Likewise.
18657 * gdb.server/ext-attach.exp: Likewise.
18658 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18659 tests that need to attach, instead of checking whether the target
18660 board is remote at the top of the file.
18661
186622015-01-08 Yao Qi <yao@codesourcery.com>
18663
18664 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18665
186662015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18667
18668 Fix testcase compilation.
18669 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18670
186712015-01-06 Joel Brobecker <brobecker@adacore.com>
18672
18673 * gdb.python/py-type.exp: Add a couple test about empty
18674 array creation, and negative-length array creation.
18675
186762015-01-02 Doug Evans <xdje42@gmail.com>
18677
18678 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18679
186802015-01-02 Doug Evans <dje@google.com>
18681
18682 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18683
186842014-12-29 Yao Qi <yao@codesourcery.com>
18685
18686 * gdb.trace/entry-values.exp: Update comments. Rename variable
18687 bar_call_foo to returned_from_foo.
18688
186892014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18690
18691 PR gdb/17394
18692 * gdb.linespec/break-asm-file.c: New file.
18693 * gdb.linespec/break-asm-file.exp: New file.
18694 * gdb.linespec/break-asm-file0.s: New file.
18695 * gdb.linespec/break-asm-file1.s: New file.
18696
186972014-12-18 Nigel Stephens <nigel@mips.com>
18698 Maciej W. Rozycki <macro@codesourcery.com>
18699
18700 * gdb.base/float.exp: Handle the new output from "info float" on
18701 MIPS targets.
18702
187032014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18704
18705 Fix MinGW compilation.
18706 * gdb.compile/compile-ops.exp: Update untested message if
18707 !skip_compile_feature_tests.
18708 * gdb.compile/compile-setjmp.exp: Likewise.
18709 * gdb.compile/compile-tls.exp: Likewise.
18710 * gdb.compile/compile.exp: Likewise.
18711 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18712 supported on this host".
18713
187142014-12-16 Doug Evans <xdje42@gmail.com>
18715
18716 * boards/stabs.exp: New file.
18717
187182014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18719
18720 * gdb.base/completion.exp: Adjust to format changes of "maint
18721 print user-registers".
18722
187232014-12-16 Catalin Udma <catalin.udma@freescale.com>
18724
18725 PR server/17457
18726 * gdb.arch/aarch64-fp.c: New file.
18727 * gdb.arch/aarch64-fp.exp: New file.
18728
187292014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18730
18731 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18732 r210637, r210913, r211666, r215400, r215817).
18733
18734 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18735 * dg-extract-results.py: New file.
18736 * dg-extract-results.sh: Use it if the environment seems
18737 suitable.
18738
18739 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18740
18741 * dg-extract-results.py (parse_run): Handle warnings that
18742 are printed before a test harness is run.
18743
18744 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18745
18746 * dg-extract-results.py (Named): Remove __cmp__ method.
18747 (output_variation): Use a key to sort variation.harnesses.
18748
18749 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18750
18751 * dg-extract-results.py: For Python 3, force sys.stdout to
18752 handle surrogate escape sequences.
18753 (safe_open): New function.
18754 (output_segment, main): Use it.
18755
18756 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18757
18758 * dg-extract-results.py (Prog.result_re): Include options
18759 in test name.
18760
18761 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18762
18763 * dg-extract-results.py (output_variation): Always sort if
18764 do_sum.
18765
187662014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18767
18768 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18769 as long as we get pagination notifications.
18770
187712014-12-15 Jason Merrill <jason@redhat.com>
18772
18773 * Makefile.in (check-gdb.%): Restore.
18774 * README: Mention it.
18775
187762014-12-13 Joel Brobecker <brobecker@adacore.com>
18777
18778 * gdb.ada/str_uninit: New testcase.
18779
187802014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18781
18782 PR symtab/17642
18783 * gdb.base/vla-stub-define.c: New file.
18784 * gdb.base/vla-stub.c: New file.
18785 * gdb.base/vla-stub.exp: New file.
18786
187872014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18788 Jan Kratochvil <jan.kratochvil@redhat.com>
18789 Tom Tromey <tromey@redhat.com>
18790
18791 * configure.ac: Add gdb.compile/.
18792 * configure: Regenerate.
18793 * gdb.compile/Makefile.in: New file.
18794 * gdb.compile/compile-ops.exp: New file.
18795 * gdb.compile/compile-ops.c: New file.
18796 * gdb.compile/compile-tls.c: New file.
18797 * gdb.compile/compile-tls.exp: New file.
18798 * gdb.compile/compile-constvar.S: New file.
18799 * gdb.compile/compile-constvar.c: New file.
18800 * gdb.compile/compile-mod.c: New file.
18801 * gdb.compile/compile-nodebug.c: New file.
18802 * gdb.compile/compile-setjmp-mod.c: New file.
18803 * gdb.compile/compile-setjmp.c: New file.
18804 * gdb.compile/compile-setjmp.exp: New file.
18805 * gdb.compile/compile-shlib.c: New file.
18806 * gdb.compile/compile.c: New file.
18807 * gdb.compile/compile.exp: New file.
18808 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18809
188102014-12-12 Tom Tromey <tromey@redhat.com>
18811
18812 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18813 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18814
188152014-12-12 Doug Evans <dje@google.com>
18816
18817 * lib/gdb-python.exp (get_python_valueof): New function.
18818 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18819
188202014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18821
18822 * gdb.base/completion.exp: Add test for completion of "info
18823 registers ".
18824
188252014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18826
18827 * gdb.base/func-ptrs.c: New file.
18828 * gdb.base/func-ptrs.exp: New file.
18829
188302014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18831
18832 PR breakpoints/17012
18833 * gdb.base/dprintf-detach.c: New file.
18834 * gdb.base/dprintf-detach.exp: New file.
18835
188362014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18837
18838 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18839 * lib/gdb.exp (target_is_gdbserver): New procedure.
18840
188412014-12-08 Doug Evans <dje@google.com>
18842
18843 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18844
188452014-12-05 Yao Qi <yao@codesourcery.com>
18846
18847 * gdb.guile/scm-error.exp: Remove the third argument to
18848 gdb_remote_download.
18849 * gdb.guile/scm-frame-args.exp: Likewise.
18850 * gdb.guile/scm-section-script.exp: Likewise.
18851
188522014-12-05 Yao Qi <yao@codesourcery.com>
18853
18854 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18855
188562014-12-04 Doug Evans <dje@google.com>
18857
18858 * gdb.python/py-objfile.exp: Add tests for
18859 objfile.add_separate_debug_file.
18860
188612014-12-04 Doug Evans <dje@google.com>
18862
18863 * lib/gdb.exp (get_build_id): New function.
18864 (build_id_debug_filename_get): Rewrite to use it.
18865 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18866
188672014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18868
18869 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18870 `method(long)', not just 0x0.
18871 * gdb.cp/nsalias.exp: Align code labels to 4.
18872 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18873 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18874 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18875 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18876 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18877 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18878
188792014-12-02 Doug Evans <dje@google.com>
18880
18881 PR symtab/17602
18882 * gdb.cp/anon-ns.cc: Move guts of this file to ...
18883 * gdb.cp/anon-ns2.cc: ... here. New file.
18884 * gdb.cp/anon-ns.exp: Update.
18885
188862014-12-02 Nick Bull <nicholaspbull@gmail.com>
18887
18888 * gdb.python/py-events.py (inferior_call_handler): New.
18889 (register_changed_handler, memory_changed_handler): New.
18890 (test_events.invoke): Register new handlers.
18891 * gdb.python/py-events.exp: Add tests for inferior call,
18892 memory_changed and register_changed events.
18893
188942014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18895
18896 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18897 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18898 if the linker doesn't understand this.
18899
189002014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18901
18902 * gdb.python/python.exp: Change expected reply to help().
18903
189042014-12-01 Yao Qi <yao@codesourcery.com>
18905
18906 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18907 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18908 * configure: Re-generated.
18909
189102014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18911
18912 * gdb.cp/chained-calls.cc: New file.
18913 * gdb.cp/chained-calls.exp: New file.
18914 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18915
189162014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18917
18918 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18919 * gdb.dwarf2/symtab-producer.exp: Same.
18920 * gdb.gdb/python-interrupts.exp: Same.
18921 * gdb.gdb/python-selftest.exp: Same.
18922 * gdb.python/py-linetable.exp: Same.
18923 * gdb.python/py-type.exp: Same.
18924 * gdb.python/py-value-cc.exp: Same.
18925 * gdb.python/py-value.exp: Same.
18926
189272014-11-28 Yao Qi <yao@codesourcery.com>
18928
18929 * gdb.base/break-probes.exp: Match library name prefixed with
18930 sysroot.
18931
189322014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18933
18934 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18935 test expected output. Add parentheses for the call to print.
18936 Remove L suffix from integers.
18937
189382014-11-26 Doug Evans <dje@google.com>
18939
18940 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18941
189422014-11-22 Yao Qi <yao@codesourcery.com>
18943
18944 * gdb.trace/entry-values.c: Remove asms.
18945 (foo): Add foo_label.
18946 (bar): Add bar_label.
18947 * gdb.trace/entry-values.exp: Remove code computing foo's
18948 length and bar's length.
18949 (Dwarf::assemble): Invoke function_range for bar and use
18950 MACRO_AT_func for foo.
18951
189522014-11-22 Yao Qi <yao@codesourcery.com>
18953
18954 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18955 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18956 Use .Lgcc43_procstart instead of gcc43.
18957
189582014-11-21 Joel Brobecker <brobecker@adacore.com>
18959
18960 * gdb.ada/n_arr_bound: New testcase.
18961
189622014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18963
18964 PR breakpoints/10737
18965 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18966 test_catch_syscall_multi_arch.
18967 (test_catch_syscall_multi_arch): New function.
18968
189692014-11-20 Doug Evans <xdje42@gmail.com>
18970
18971 * gdb.base/maint.exp: Update expected output.
18972
189732014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18974
18975 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18976 4-byte instruction on S390.
18977
189782014-11-19 Joel Brobecker <brobecker@adacore.com>
18979
18980 * gdb.ada/arr_arr: New testcase.
18981
189822014-11-19 Joel Brobecker <brobecker@adacore.com>
18983
18984 * gdb.ada/pkd_arr_elem: New Testcase.
18985
189862014-11-18 Luis Machado <lgustavo@codesourcery.com>
18987
18988 * gdb.reverse/break-precsave: Expect completion message for
18989 core file reads.
18990 * gdb.reverse/consecutive-precsave.exp: Likewise.
18991 * gdb.reverse/finish-precsave.exp: Likewise.
18992 * gdb.reverse/i386-precsave.exp: Likewise.
18993 * gdb.reverse/machinestate-precsave.exp: Likewise.
18994 * gdb.reverse/sigall-precsave.exp: Likewise.
18995 * gdb.reverse/solib-precsave.exp: Likewise.
18996 * gdb.reverse/step-precsave.exp: Likewise.
18997 * gdb.reverse/until-precsave.exp: Likewise.
18998 * gdb.reverse/watch-precsave.exp: Likewise.
18999
190002014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19001
19002 * gdb.base/bp-permanent.c: Include unistd.h.
19003 * gdb.python/py-framefilter-mi.c (main): Add return type.
19004 * gdb.python/py-framefilter.c (main): Likewise.
19005 * gdb.trace/actions-changed.c (main): Likewise.
19006
190072014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19008
19009 * gdb.mi/until.c: Add eye-catchers.
19010 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19011 line numbers.
19012
190132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19014
19015 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19016 function header variants in break1.c.
19017 * gdb.base/ena-dis-br.exp: Likewise.
19018 * gdb.base/hbreak2.exp: Likewise.
19019 * gdb.reverse/until-precsave.exp: Drop references to removed
19020 non-prototype function header variants in ur1.c.
19021 * gdb.reverse/until-reverse.exp: Likewise.
19022
190232014-11-17 Petr Machata <pmachata@redhat.com>
19024
19025 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19026 ${_cu_offset_size} bytes abbrev offset.
19027
190282014-11-15 Doug Evans <xdje42@gmail.com>
19029
19030 PR symtab/17559
19031 * gdb.base/line-symtabs.exp: New file.
19032 * gdb.base/line-symtabs.c: New file.
19033 * gdb.base/line-symtabs.h: New file.
19034
190352014-11-14 Yao Qi <yao@codesourcery.com>
19036
19037 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19038 (func): Add label func_label.
19039 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19040 Replace low_pc and high_pc with MACRO_AT_range.
19041 Replace name, low_pc and high_pc with MACRO_AT_func.
19042
190432014-11-14 Yao Qi <yao@codesourcery.com>
19044
19045 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19046 Replace name, low_pc and high_pc with MACRO_AT_func.
19047
190482014-11-14 Yao Qi <yao@codesourcery.com>
19049
19050 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19051 produce debug information.
19052 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19053
190542014-11-14 Yao Qi <yao@codesourcery.com>
19055
19056 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19057 object and get function length.
19058 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19059 with MACRO_AT_func.
19060 (top-level): Replace gdb_compile and clean_restart with
19061 prepare_for_testing.
19062 * gdb.dwarf2/main.c (main): Add label main_label.
19063
190642014-11-14 Yao Qi <yao@codesourcery.com>
19065
19066 * lib/dwarf.exp (function_range): New procedure.
19067 (Dwarf::_handle_macro_at_func): New procedure.
19068 (Dwarf::_handle_macro_at_range): New procedure.
19069 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19070
190712014-11-14 Yao Qi <yao@codesourcery.com>
19072
19073 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19074 (_handle_attribute): New procedure.
19075
190762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19077
19078 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19079 * gdb.base/call-sc.c (zed): Likewise.
19080 * gdb.base/checkpoint.c (main): Likewise.
19081 * gdb.base/dump.c (main): Likewise.
19082 * gdb.base/gcore.c (main): Likewise.
19083 * gdb.base/huge.c (main): Likewise.
19084 * gdb.base/multi-forks.c (main): Likewise.
19085 * gdb.base/pr10179-a.c (main): Likewise.
19086 * gdb.base/savedregs.c (main): Likewise.
19087 * gdb.base/sigaltstack.c (main): Likewise.
19088 * gdb.base/siginfo.c (main): Likewise.
19089 * gdb.base/structs.c (zed): Likewise.
19090 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19091 * gdb.mi/mi-syn-frame.c (main): Likewise.
19092 * gdb.mi/until.c (foo, main): Likewise.
19093 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19094 * gdb.base/solib-weak.c (foo): Declare.
19095 * gdb.base/attach-twice.c: Include stdio.h.
19096 * gdb.base/weaklib1.c: Likewise.
19097 * gdb.base/weaklib2.c: Likewise.
19098 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19099 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19100 unistd.h.
19101 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19102 * gdb.mi/mi-exit-code.c: Likewise.
19103 * gdb.base/break-interp-lib.c: Include string.h.
19104 * gdb.base/coremaker.c: Likewise.
19105 * gdb.base/testenv.c: Likewise.
19106 * gdb.python/py-finish-breakpoint.c: Likewise.
19107 * gdb.base/inferior-died.c: Include sys/wait.h.
19108 * gdb.base/fileio.c: Include time.h.
19109 * gdb.base/async-shell.c: Include unistd.h.
19110 * gdb.base/dprintf-non-stop.c: Likewise.
19111 * gdb.base/info-os.c: Likewise.
19112 * gdb.mi/mi-console.c: Likewise.
19113 * gdb.mi/watch-nonstop.c: Likewise.
19114 * gdb.python/py-events.c: Likewise.
19115 * gdb.base/async.c (baz): Move up before its invocation.
19116 * gdb.base/code_elim2.c (my_global_func): Likewise.
19117 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19118 * gdb.base/advance.c (func2): Likewise.
19119
191202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19121
19122 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19123 variant.
19124 * gdb.base/annota3.c: Likewise.
19125 * gdb.base/async.c: Likewise.
19126 * gdb.base/average.c: Likewise.
19127 * gdb.base/call-ar-st.c: Likewise.
19128 * gdb.base/call-rt-st.c: Likewise.
19129 * gdb.base/call-sc.c: Likewise.
19130 * gdb.base/call-strs.c: Likewise.
19131 * gdb.base/ending-run.c: Likewise.
19132 * gdb.base/execd-prog.c: Likewise.
19133 * gdb.base/exprs.c: Likewise.
19134 * gdb.base/foll-exec.c: Likewise.
19135 * gdb.base/foll-fork.c: Likewise.
19136 * gdb.base/foll-vfork.c: Likewise.
19137 * gdb.base/funcargs.c: Likewise.
19138 * gdb.base/gcore.c: Likewise.
19139 * gdb.base/jump.c: Likewise.
19140 * gdb.base/langs0.c: Likewise.
19141 * gdb.base/langs1.c: Likewise.
19142 * gdb.base/langs2.c: Likewise.
19143 * gdb.base/mips_pro.c: Likewise.
19144 * gdb.base/nodebug.c: Likewise.
19145 * gdb.base/opaque0.c: Likewise.
19146 * gdb.base/opaque1.c: Likewise.
19147 * gdb.base/recurse.c: Likewise.
19148 * gdb.base/run.c: Likewise.
19149 * gdb.base/scope0.c: Likewise.
19150 * gdb.base/scope1.c: Likewise.
19151 * gdb.base/setshow.c: Likewise.
19152 * gdb.base/setvar.c: Likewise.
19153 * gdb.base/shmain.c: Likewise.
19154 * gdb.base/shr1.c: Likewise.
19155 * gdb.base/shr2.c: Likewise.
19156 * gdb.base/sigall.c: Likewise.
19157 * gdb.base/signals.c: Likewise.
19158 * gdb.base/so-indr-cl.c: Likewise.
19159 * gdb.base/solib2.c: Likewise.
19160 * gdb.base/structs.c: Likewise.
19161 * gdb.base/sum.c: Likewise.
19162 * gdb.base/vforked-prog.c: Likewise.
19163 * gdb.base/watchpoint.c: Likewise.
19164 * gdb.reverse/shr2.c: Likewise.
19165 * gdb.reverse/until-reverse.c: Likewise.
19166 * gdb.reverse/ur1.c: Likewise.
19167 * gdb.reverse/watch-reverse.c: Likewise.
19168
191692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19170
19171 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19172 variant.
19173 * gdb.base/sepdebug.exp: Drop references to removed code.
19174
191752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19176
19177 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19178 variant. Preserve original line numbering.
19179 * gdb.base/list1.c: Likewise.
19180
191812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19182
19183 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19184 variant.
19185 * gdb.base/break1.c: Likewise.
19186 * gdb.base/break.exp: Drop references to removed code.
19187
191882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19189
19190 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19191 variant.
19192
191932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19194
19195 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19196
191972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19198
19199 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19200 logic into perform_all_tests() and invoke it with and without
19201 function header prototypes.
19202 (do_function_calls): Remove conditional XFAIL for PR 5318.
19203 (rerun_and_prepare): Remove duplicate code.
19204 (perform_all_tests): New. Main logic moved here.
19205
192062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19207
19208 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19209 code guarded by #ifdef NO_PROTOTYPES.
19210 (t_double_many_args): Likewise.
19211 (DEF_FUNC_MANY_ARGS_1): Likewise.
19212 (DEF_FUNC_VALUES_1): Likewise.
19213 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19214 guarded by #ifdef PROTOTYPES.
19215
192162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19217
19218 * gdb.mi/mi-console.c: Add eye-catcher.
19219 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19220 instead of literal line number.
19221
192222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19223
19224 * gdb.base/shr2.c: Add eye-catcher.
19225 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19226 line number.
19227
192282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19229
19230 * gdb.base/jump.c: Add eye-catchers.
19231 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19232 numbers.
19233
192342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19235
19236 * gdb.base/execd-prog.c: Add eye-catchers.
19237 * gdb.base/foll-exec.c: Likewise.
19238 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19239 line numbers.
19240
192412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19242
19243 * gdb.base/ending-run.c: Add eye-catchers.
19244 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19245 literal line numbers.
19246
192472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19248
19249 * gdb.base/call-rt-st.c: Add eye-catchers.
19250 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19251 literal line numbers.
19252
192532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19254
19255 * gdb.base/call-ar-st.c: Add eye-catchers.
19256 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19257 literal line numbers.
19258
192592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19260
19261 * gdb.base/average.c: Add eye-catchers.
19262 * gdb.base/sum.c: Likewise.
19263 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19264 regexps dynamically.
19265
192662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19267
19268 * gdb.base/solib1.c: Add eye-catchers.
19269 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19270 literal line numbers.
19271
192722014-11-12 Pedro Alves <palves@redhat.com>
19273
19274 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19275 leader has exited.
19276
192772014-11-12 Pedro Alves <palves@redhat.com>
19278
19279 * gdb.arch/i386-bp_permanent.c: New file.
19280 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19281 (srcfile): Set to i386-bp_permanent.c.
19282 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19283 that stepi does not execute the 'leave' instruction, instead of
19284 testing it does execute.
19285 * gdb.base/bp-permanent.c: New file.
19286 * gdb.base/bp-permanent.exp: New file.
19287
192882014-11-10 Doug Evans <xdje42@gmail.com>
19289
19290 PR symtab/17564
19291 * gdb.base/symtab-search-order.exp: New file.
19292 * gdb.base/symtab-search-order.c: New file.
19293 * gdb.base/symtab-search-order-1.c: New file.
19294 * gdb.base/symtab-search-order-shlib-1.c: New file.
19295
192962014-11-07 Pedro Alves <palves@redhat.com>
19297
19298 PR gdb/17511
19299 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19300 i?86-*-linux*.
19301
193022014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19303
19304 PR c++/17494
19305 * gdb.cp/pr17494.cc: New file.
19306 * gdb.cp/pr17494.exp: New file.
19307
193082014-11-02 Yao Qi <yao@codesourcery.com>
19309
19310 * gdb.python/python.exp: Get working directory and match the
19311 output of "set extended-prompt \\w " with it.
19312
193132014-10-30 Doug Evans <dje@google.com>
19314
19315 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19316 in objfiles.
19317 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19318 in progspaces.
19319
193202014-10-30 Janis Johnson <janisjo@codesourcery.com>
19321
19322 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19323 * gdb.base/realname-expand.exp: Likewise.
19324 * gdb.linespec/macro-relative.exp: Likewise.
19325
193262014-10-29 Pedro Alves <palves@redhat.com>
19327
19328 PR gdb/17408
19329 * gdb.threads/schedlock.c (some_function): New function.
19330 (call_function): New global.
19331 (MAYBE_CALL_SOME_FUNCTION): New macro.
19332 (thread_function): Call it.
19333 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19334 and use it instead of a global counter. Adjust all callers.
19335 (get_current_thread): Use "find current thread" for test message
19336 here rather than having all callers pass down the same string.
19337 (goto_loop): New procedure, factored out from ...
19338 (my_continue): ... this.
19339 (step_ten_loops): Change parameter from test message to command to
19340 use. Adjust.
19341 (list_count): Delete global.
19342 (check_result): New procedure, factored out from duplicate top
19343 level code.
19344 (continue tests): Wrap in with_test_prefix.
19345 (test_step): New procedure, factored out from duplicate top level
19346 code.
19347 (top level): Test "step" in combination with all scheduler-locking
19348 modes. Test "next" in combination with all scheduler-locking
19349 modes, and in combination with stepping over a function call or
19350 not.
19351 * gdb.threads/next-bp-other-thread.c: New file.
19352 * gdb.threads/next-bp-other-thread.exp: New file.
19353
193542014-10-29 Pedro Alves <palves@redhat.com>
19355
19356 PR python/17372
19357 * gdb.python/python.exp: Test a multi-line command that spawns
19358 interactive Python.
19359 * gdb.base/multi-line-starts-subshell.exp: New file.
19360
193612014-10-29 Yao Qi <yao@codesourcery.com>
19362
19363 * gdb.base/fileio.exp: Make directories on host.
19364
193652014-10-29 Yao Qi <yao@codesourcery.com>
19366
19367 * gdb.base/fileio.c (test_write): Close the file.
19368
193692014-10-28 Pedro Alves <palves@redhat.com>
19370
19371 PR gdb/12623
19372 * gdb.base/sigstep.c (no_handler): New global.
19373 (main): If 'no_handler is true, set the signal handlers to
19374 SIG_IGN.
19375 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19376 with_sw_watch and no_handler parameters. Handle them.
19377 (top level) <stepping over handler when stopped at a breakpoint
19378 test>: Add a test axis for testing with a software watchpoint, and
19379 another for testing with the signal handler set to SIG_IGN.
19380 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19381 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19382
193832014-10-28 Pedro Alves <palves@redhat.com>
19384
19385 PR gdb/17511
19386 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19387 * gdb.base/sigstep.exp (other_handler_location): New global.
19388 (advance): Support stepping into the signal handler, and running
19389 commands while in the handler.
19390 (in_handler_map): New global.
19391 (top level): In the advance test, add combinations for getting
19392 into the handler with stepping commands, and for running commands
19393 in the handler. Add comment descripting the advancei tests.
19394
193952014-10-28 Pedro Alves <palves@redhat.com>
19396
19397 * gdb.base/sigstep.exp: Use build_executable instead of
19398 prepare_for_testing.
19399 (top level): Move code that starts GDB, runs to main and creates a
19400 display to ...
19401 (restart): ... this new procedure.
19402 (top level): Move backtrace from signal handler test to ...
19403 (validate_backtrace): ... this new procedure.
19404 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19405 with_test_prefix. Always restart GDB.
19406 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19407 with_test_prefix. Always restart GDB. No need to delete
19408 breakpoints after the test.
19409 (test_skip_handler): Remove prefix parameter.
19410 (skip_over_handler, breakpoint_to_handler)
19411 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19412 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19413 restart GDB. No need to delete breakpoints after the test.
19414 (top level): Use foreach to call the test procedures with
19415 different commands.
19416
194172014-10-28 Pedro Alves <palves@redhat.com>
19418
19419 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19420 instead of GNATS numbers.
19421 * gdb.base/sigbpt.exp: Likewise.
19422 * gdb.base/siginfo.exp: Likewise.
19423 * gdb.base/sigstep.exp: Likewise.
19424
194252014-10-27 Pedro Alves <palves@redhat.com>
19426
19427 * gdb.base/sigstep.c (dummy): New global.
19428 (main): Issue a couple writes to the new global.
19429 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19430 procedures.
19431 (skip_over_handler): Use test_skip_handler.
19432 (top level): Call skip_over_handler for stepi and nexti too.
19433 (breakpoint_over_handler): Use test_skip_handler.
19434 (top level): Call breakpoint_over_handler for stepi and nexti too.
19435
194362014-10-27 Yao Qi <yao@codesourcery.com>
19437
19438 * gdb.trace/tfile.c (adjust_function_address)
19439 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19440 function descriptor.
19441
194422014-10-24 Don Breazeal <donb@codesourcery.com>
19443
19444 * gdb.base/foll-fork.exp (test_follow_fork,
19445 catch_fork_child_follow): Check for updated fork messages emitted
19446 from infrun.c.
19447 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19448 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19449 vfork_and_exec_child_follow_through_step): Check for updated vfork
19450 messages emitted from infrun.c.
19451
194522014-10-24 Pedro Alves <palves@redhat.com>
19453
19454 * gdb.base/corefile.exp: Remove references to ultrix.
19455 * gdb.base/interrupt.exp: Likewise.
19456 * gdb.base/whatis.exp: Likewise.
19457 * gdb.gdb/selftest.exp: Likewise.
19458 * gdb.threads/manythreads.exp: Likewise.
19459 * gdb.threads/print-threads.exp: Likewise.
19460 * gdb.threads/pthreads.exp:: Likewise.
19461 * gdb.threads/schedlock.exp: Likewise.
19462
194632014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19464
19465 * gdb.cp/non-trivial-retval.cc: Add a test case.
19466 * gdb.cp/non-trivial-retval.exp: Add a test.
19467
194682014-10-20 Yao Qi <yao@codesourcery.com>
19469
19470 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19471 * gdb.python/py-objfile-script-gdb.py: New file.
19472 * gdb.python/py-objfile-script.exp: Update reference to
19473 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19474 of remote_download. Remove the dest file.
19475
194762014-10-20 Yao Qi <yao@codesourcery.com>
19477
19478 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19479 * gdb.base/step-line.exp: Likewise.
19480 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19481 * gdb.dwarf2/dw2-basic.exp: Likewise.
19482 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19483 * gdb.dwarf2/dw2-filename.exp: Likewise.
19484 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19485 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19486 * gdb.dwarf2/dw2-producer.exp: Likewise.
19487 * gdb.dwarf2/mac-fileno.exp: Likewise.
19488 * gdb.python/py-frame-args.exp: Likewise.
19489 * gdb.python/py-framefilter.exp: Likewise.
19490 * gdb.python/py-mi.exp: Likewise.
19491 * gdb.python/py-objfile-script.exp: Likewise
19492 * gdb.python/py-pp-integral.exp: Likewise.
19493 * gdb.python/py-pp-re-notag.exp: Likewise.
19494 * gdb.python/py-prettyprint.exp: Likewise.
19495 * gdb.python/py-section-script.exp: Likewise.
19496 * gdb.python/py-typeprint.exp: Likewise.
19497 * gdb.python/py-xmethods.exp: Likewise.
19498 * gdb.stabs/weird.exp: Likewise.
19499 * gdb.xml/tdesc-regs.exp: Likewise.
19500
195012014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19502
19503 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19504 (out_cu): Use addr_len for the size of addresses.
19505 (out_line): Likewise. Size DW_LNE_set_address instruction
19506 according to addr_len.
19507 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19508 (FUNC): Add START_INSNS to definition.
19509
195102014-10-18 Yao Qi <yao@codesourcery.com>
19511
19512 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19513 gdb_has_argv0 return true.
19514 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19515 check [target_info exists noargs], check [gdb_has_argv0]
19516 instead.
19517 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19518 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19519 procedures.
19520
195212014-10-17 Doug Evans <dje@google.com>
19522
19523 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19524 event.
19525 * gdb.python/py-events.py: Add clear_objfiles event.
19526
195272014-10-17 Doug Evans <dje@google.com>
19528
19529 * gdb.python/py-objfile.exp: Test progspace attribute.
19530
195312014-10-17 Luis Machado <lgustavo@codesourcery.com>
19532
19533 * gdb.guile/scm-breakpoint.exp: Do not assume any
19534 directory separators when matching source file paths.
19535 * gdb.python/py-breakpoint.exp: Likewise.
19536 * gdb.reverse/break-precsave.exp: Likewise.
19537 * gdb.reverse/break-reverse.exp: Likewise.
19538 * gdb.reverse/consecutive-precsave.exp: Likewise.
19539 * gdb.reverse/finish-precsave.exp: Likewise.
19540 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19541 * gdb.reverse/finish-reverse.exp: Likewise.
19542 * gdb.reverse/i386-precsave.exp: Likewise.
19543 * gdb.reverse/i387-env-reverse.exp: Likewise.
19544 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19545 * gdb.reverse/machinestate-precsave.exp: Likewise.
19546 * gdb.reverse/machinestate.exp: Likewise.
19547 * gdb.reverse/sigall-precsave.exp: Likewise.
19548 * gdb.reverse/solib-precsave.exp: Likewise.
19549 * gdb.reverse/step-precsave.exp: Likewise.
19550 * gdb.reverse/until-precsave.exp: Likewise.
19551 * gdb.reverse/watch-precsave.exp: Likewise.
19552 * gdb.reverse/watch-reverse.exp: Likewise.
19553
195542014-10-17 Yao Qi <yao@codesourcery.com>
19555
19556 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19557 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19558
195592014-10-17 Pedro Alves <palves@redhat.com>
19560
19561 PR gdb/17471
19562 * gdb.base/bg-execution-repeat.c: New file.
19563 * gdb.base/bg-execution-repeat.exp: New file.
19564
195652014-10-17 Pedro Alves <palves@redhat.com>
19566
19567 PR gdb/17300
19568 * gdb.base/continue-all-already-running.c: New file.
19569 * gdb.base/continue-all-already-running.exp: New file.
19570
195712014-10-17 Pedro Alves <palves@redhat.com>
19572
19573 PR gdb/17472
19574 * gdb.base/annota-input-while-running.c: New file.
19575 * gdb.base/annota-input-while-running.exp: New file.
19576
195772014-10-17 Pedro Alves <palves@redhat.com>
19578
19579 * gdb.base/callfuncs.exp: emove references to osf.
19580 * gdb.base/sigall.exp: Likewise.
19581 * gdb.gdb/selftest.exp: Likewise.
19582 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19583 * gdb.mi/non-stop.c: Likewise.
19584 * gdb.mi/pthreads.c: Likewise.
19585 * gdb.reverse/sigall-precsave.exp: Likewise.
19586 * gdb.reverse/sigall-reverse.exp: Likewise.
19587 * gdb.threads/pthreads.c: Likewise.
19588 * gdb.threads/pthreads.exp: Likewise.
19589
195902014-10-17 Yao Qi <yao@codesourcery.com>
19591
19592 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19593 check 'target_info exists noargs'.
19594 (test_command_prompt_position): Likewise.
19595 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19596 Remove "set args".
19597 (progvar_simple_while_test): Likewise.
19598 (progvar_complex_if_while_test): Likewise.
19599 (if_while_breakpoint_command_test): Likewise.
19600 (infrun_breakpoint_command_test): Likewise.
19601 (breakpoint_command_test): Likewise.
19602 (watchpoint_command_test): Likewise.
19603 (bp_deleted_in_command_test): Likewise.
19604 (temporary_breakpoint_commands): Likewise.
19605
196062014-10-16 Yao Qi <yao@codesourcery.com>
19607
19608 * gdb.base/remotetimeout.exp: Remove noargs checking.
19609
196102014-10-15 Pedro Alves <palves@redhat.com>
19611
19612 PR breakpoints/9649
19613 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19614 * gdb.base/breakpoint-in-ro-region.exp
19615 (probe_target_hardware_step): New procedure.
19616 (top level): Probe hardware stepping and hardware breakpoint
19617 support. Test stepping through a read-only region, with both
19618 "breakpoint auto-hw" on and off and both "always-inserted" on and
19619 off.
19620
196212014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19622
19623 * gdb.dlang/demangle.exp: Update for demangling changes.
19624
196252014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19626
19627 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19628 * gdb.cp/non-trivial-retval.exp: Add new tests.
19629
196302014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19631
19632 PR c++/13403
19633 PR c++/15154
19634 * gdb.cp/non-trivial-retval.cc: New file.
19635 * gdb.cp/non-trivial-retval.exp: New file.
19636
196372014-10-15 Yao Qi <yao@codesourcery.com>
19638
19639 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19640 remote host.
19641
196422014-10-15 Yao Qi <yao@codesourcery.com>
19643
19644 * gdb.python/py-symbol.exp: Match file base name if host is
19645 remote, otherwise match file name with dir name.
19646 * gdb.python/py-symtab.exp: Likewise.
19647 * gdb.python/python.exp: Likewise.
19648
196492014-10-15 Yao Qi <yao@codesourcery.com>
19650
19651 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19652 pattern.
19653 * gdb.python/py-symtab.exp: Likewise.
19654 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19655 locationn.
19656
196572014-10-14 Joel Brobecker <brobecker@adacore.com>
19658
19659 * gdb.ada/addr_arith: New testcase.
19660
196612014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19662
19663 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19664 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19665 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19666 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19667
196682014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19669
19670 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19671 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19672 * gdb.arch/stap-eval-lang-ada.exp: New file.
19673
196742014-10-14 Yao Qi <yao@codesourcery.com>
19675
19676 * gdb.mi/mi-var-child.c (nothing1): New function.
19677 (nothing2): New function.
19678 (do_children_tests): Set function pointers by nothing1 and
19679 nothing2.
19680 * gdb.mi/mi-var-child.exp: Step over new added statements.
19681 Update test to match the new output.
19682 * gdb.mi/var-cmd.c (nothing1): New function.
19683 (nothing2): New function.
19684 (do_children_tests): Set function pointers by nothing1 and
19685 nothing2.
19686 * gdb.mi/mi-var-display.exp: Update test to match output.
19687 Step to the line specified by $line_dct_nothing.
19688 Increase the number of lines to step.
19689
196902014-10-14 Yao Qi <yao@codesourcery.com>
19691
19692 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19693 tests.
19694 * gdb.mi/mi2-var-child.exp: Likewise.
19695
196962014-10-13 Doug Evans <dje@google.com>
19697
19698 * gdb.python/py-objfile.exp: Change name of file name test.
19699
197002014-10-13 Doug Evans <dje@google.com>
19701
19702 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19703 from the start of the CU.
19704
197052014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19706 Yao Qi <yao@codesourcery.com>
19707
19708 Fix "save breakpoints" for "catch" command.
19709 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19710 Remove -nonewline. Match also the added "main" line.
19711
197122014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19713
19714 Fix "save breakpoints" for "disable $bpnum" command.
19715 * gdb.base/save-bp.c (main): Add label.
19716 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19717
197182014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19719
19720 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19721
197222014-10-11 Yao Qi <yao@codesourcery.com>
19723
19724 * gdb.server/server-kill.exp: Execute command
19725 "set remote trace-status-packet on" before "tstatus".
19726
197272014-10-11 Yao Qi <yao@codesourcery.com>
19728
19729 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19730 (main): Call getppid.
19731 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19732 and continue to it. Read variable "server_pid".
19733
197342014-10-11 Yao Qi <yao@codesourcery.com>
19735
19736 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19737
197382014-10-11 Yao Qi <yao@codesourcery.com>
19739
19740 * gdb.threads/thread-find.exp: Don't execute command
19741 "info threads".
19742 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19743 * gdb.threads/linux-dp.exp: Don't check the condition
19744 $threads_created equals to zero.
19745
197462014-10-10 Pedro Alves <palves@redhat.com>
19747
19748 * gdb.base/bigcore.exp: Remove references to IRIX.
19749 * gdb.base/funcargs.exp: Likewise.
19750 * gdb.base/interrupt.exp: Likewise.
19751 * gdb.base/mips_pro.exp: Likewise.
19752 * gdb.base/nodebug.exp: Likewise.
19753 * gdb.base/setvar.exp: Likewise.
19754 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19755
197562014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19757 Pedro Alves <palves@redhat.com>
19758
19759 PR symtab/14466
19760 * gdb.base/vdso-warning.c: New file.
19761 * gdb.base/vdso-warning.exp: New file.
19762
197632014-10-02 Doug Evans <dje@google.com>
19764
19765 * gdb.base/structs.c (main): Don't run forever.
19766
197672014-10-02 Pedro Alves <palves@redhat.com>
19768
19769 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19770 (top level) <stop threads 1, stop threads 2>: Use it.
19771
197722014-10-02 Pedro Alves <palves@redhat.com>
19773
19774 * gdb.threads/break-while-running.exp (test): Add new
19775 'update_thread_list' argument. Skip "info threads" if false.
19776 (top level): Add new 'update_thread_list' axis.
19777
197782014-10-02 Pedro Alves <palves@redhat.com>
19779
19780 PR breakpoints/17431
19781 * gdb.base/execl-update-breakpoints.c: New file.
19782 * gdb.base/execl-update-breakpoints.exp: New file.
19783
197842014-10-01 Pedro Alves <palves@redhat.com>
19785
19786 * gdb.base/breakpoint-in-ro-region.c: New file.
19787 * gdb.base/breakpoint-in-ro-region.exp: New file.
19788
197892014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19790
19791 * gdb.mi/mi-exit-code.exp: New file.
19792 * gdb.mi/mi-exit-code.c: New file.
19793
197942014-09-30 Yao Qi <yao@codesourcery.com>
19795
19796 * lib/prelink-support.exp (build_executable_own_libs): Error if
19797 the target isn't native.
19798
197992014-09-30 Yao Qi <yao@codesourcery.com>
19800
19801 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19802 false.
19803
198042014-09-22 Pedro Alves <palves@redhat.com>
19805
19806 * gdb.threads/break-while-running.exp: New file.
19807 * gdb.threads/break-while-running.c: New file.
19808
198092014-09-19 Yao Qi <yao@codesourcery.com>
19810
19811 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19812 Invoke test. Restart GDB with --readnow and invoke test again.
19813
198142014-09-19 Yao Qi <yao@codesourcery.com>
19815
19816 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19817 proc set_breakpoint_on_gcd_function. Invoke
19818 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19819 invoke set_breakpoint_on_gcd_function again.
19820
198212014-09-18 Doug Evans <dje@google.com>
19822
19823 * gdb.dwarf2/symtab-producer.exp: New file.
19824
198252014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19826
19827 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19828 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19829 * gdb.base/global-var-nested-by-dso.c: Likewise.
19830 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19831
198322014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19833 Pedro Alves <palves@redhat.com>
19834
19835 * gdb.base/watch-bitfields.exp: Pass string other than test file
19836 name to prepare_for_testing.
19837 (watch): New procedure.
19838 (expect_watchpoint): Use with_test_prefix.
19839 (top level): Factor out tests to ...
19840 (test_watch_location, test_regular_watch): ... these new
19841 procedures, and use with_test_prefix and gdb_continue_to_end.
19842
198432014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19844
19845 PR breakpoints/12526
19846 * gdb.base/watch-bitfields.exp: New file.
19847 * gdb.base/watch-bitfields.c: New file.
19848
198492014-09-16 Pedro Alves <palves@redhat.com>
19850
19851 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19852 software and hardware addresses, not software address against
19853 itself.
19854
198552014-09-16 Pedro Alves <palves@redhat.com>
19856
19857 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19858 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19859
198602014-09-16 Pedro Alves <palves@redhat.com>
19861
19862 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19863 files.
19864 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19865 "*-*-vxworks*" throughout.
19866 * gdb.base/break.exp: Likewise.
19867 * gdb.base/default.exp: Likewise.
19868 * gdb.base/scope.exp: Likewise.
19869 * gdb.base/sepdebug.exp: Likewise.
19870 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19871 throughout.
19872 * gdb.base/run.c: Likewise.
19873 * gdb.base/sepdebug.c: Likewise.
19874 * gdb.hp/gdb.aCC/run.c: Likewise.
19875 * gdb.reverse/until-reverse.c: Likewise.
19876 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19877
198782014-09-16 Yao Qi <yao@codesourcery.com>
19879
19880 * boards/local-remote-host-native.exp: New file.
19881
198822014-09-14 Doug Evans <xdje42@gmail.com>
19883
19884 * gdb.threads/queue-signal.c (thread_count): New variable.
19885 (thread_count_mutex, thread_count_condvar): New variables.
19886 (incr_thread_count, wait_all_threads_running): New functions.
19887 (main): Wait for all threads to be in their thread functions.
19888
198892014-09-13 Doug Evans <xdje42@gmail.com>
19890
19891 * gdb.threads/queue-signal.c: New file.
19892 * gdb.threads/queue-signal.exp: New file.
19893
198942014-09-13 Doug Evans <xdje42@gmail.com>
19895
19896 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19897 be consistent with what default_gdb_init uses.
19898 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19899 the plain text of the prompt. Add some logging printfs.
19900 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19901
199022014-09-12 Pedro Alves <palves@redhat.com>
19903
19904 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19905 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19906 * gdb.arch/i386-size-overlap.exp: Likewise.
19907 * gdb.arch/i386-size.exp: Likewise.
19908 * gdb.arch/i386-unwind.exp: Likewise.
19909 * gdb.base/a2-run.exp: Likewise.
19910 * gdb.base/break.exp: Likewise.
19911 * gdb.base/charset.exp: Likewise.
19912 * gdb.base/chng-syms.exp: Likewise.
19913 * gdb.base/commands.exp: Likewise.
19914 * gdb.base/dbx.exp: Likewise.
19915 * gdb.base/find.exp: Likewise.
19916 * gdb.base/funcargs.exp: Likewise.
19917 * gdb.base/jit-simple.exp: Likewise.
19918 * gdb.base/reread.exp: Likewise.
19919 * gdb.base/sepdebug.exp: Likewise.
19920 * gdb.base/step-bt.exp: Likewise.
19921 * gdb.cp/mb-inline.exp: Likewise.
19922 * gdb.cp/mb-templates.exp: Likewise.
19923 * gdb.objc/basicclass.exp: Likewise.
19924 * gdb.threads/killed.exp: Likewise.
19925
199262014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19927
19928 PR tdep/17379
19929 * gdb.arch/powerpc-stackless.S: New file.
19930 * gdb.arch/powerpc-stackless.exp: New file.
19931
199322014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19933
19934 * gdb.base/attach.c: Include unistd.h.
19935 (main): Call alarm. Add label postloop.
19936 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19937 gdb_breakpoint, gdb_continue_to_breakpoint.
19938 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19939
199402014-09-11 Pedro Alves <palves@redhat.com>
19941
19942 PR gdb/17347
19943 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19944 * gdb.base/attach.exp (test_command_line_attach_run): New
19945 procedure.
19946 (top level): Call it.
19947
199482014-09-11 Pedro Alves <palves@redhat.com>
19949
19950 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19951 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19952 (do_command_attach_tests): Use spawn_wait_for_attach.
19953 * gdb.base/solib-overlap.exp: Likewise.
19954 * gdb.multi/multi-attach.exp: Likewise.
19955 * gdb.python/py-prompt.exp: Likewise.
19956 * gdb.python/py-sync-interp.exp: Likewise.
19957 * gdb.server/ext-attach.exp: Likewise.
19958
199592014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19960
19961 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19962 command in testcase. Simplify testcase.
19963
199642014-09-10 Joel Brobecker <brobecker@adacore.com>
19965
19966 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19967
199682014-09-10 Joel Brobecker <brobecker@adacore.com>
19969
19970 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19971
199722014-09-10 Joel Brobecker <brobecker@adacore.com>
19973
19974 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19975
199762014-09-10 Joel Brobecker <brobecker@adacore.com>
19977
19978 * gdb.dwarf2/dynarr-ptr.c: New file.
19979 * gdb.dwarf2/dynarr-ptr.exp: New file.
19980
199812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19982
19983 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19984 of 30 rather than hardcoding 120 for a slow test case. Take the
19985 `gdb,timeout' target setting into account for this calculation.
19986 Don't extend the timeout for the test cases that don't need it.
19987
199882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19989
19990 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19991 a factor of 2 for a slow test case. Take the `gdb,timeout'
19992 target setting into account for this calculation.
19993 * gdb.reverse/until-precsave.exp: Increase the timeout by
19994 a factor of 15 and 3 respectively rather than adding 120
19995 for a pair of slow test cases. Take the `gdb,timeout'
19996 target setting into account for this calculation.
19997
199982014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19999
20000 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20001 timeout, don't pass one down to gdb_expect.
20002 (gdb_expect): Rework timeout selection.
20003
200042014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20005
20006 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20007 exception on timeout.
20008 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20009 (gdbserver_start_extended): Catch any `gdbserver_start' error
20010 exceptions.
20011 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20012 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20013 `gdbserver_gdb_load' error exceptions.
20014
200152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20016
20017 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20018 120 on waiting for the TCP socket to open.
20019
200202014-09-09 Doug Evans <xdje42@gmail.com>
20021
20022 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20023 _caller_matches, _any_caller_is, _any_caller_matches.
20024
200252014-09-09 Doug Evans <xdje42@gmail.com>
20026
20027 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20028
200292014-09-09 Yao Qi <yao@codesourcery.com>
20030
20031 * gdb.mi/mi-var-display.exp: Set print symbol off.
20032
200332014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20034
20035 PR gdb/17035
20036 * gdb.base/commands.exp: Add tests to verify user-defined
20037 commands with empty bodies.
20038 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20039 python commands in `show user command`.
20040 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20041 scheme commands in `show user command`.
20042
200432014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20044
20045 PR python/17355
20046 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20047 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20048 * gdb.python/py-framefilter-invalidarg.exp: New file.
20049 * gdb.python/py-framefilter-invalidarg.py: New file.
20050
200512014-09-06 Doug Evans <xdje42@gmail.com>
20052
20053 PR 15276
20054 * gdb.python/py-caller-is.c: New file.
20055 * gdb.python/py-caller-is.exp: New file.
20056
200572014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20058
20059 PR gdb/17235
20060 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20061 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20062
200632014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20064
20065 PR fortran/17237
20066 * gdb.fortran/print-formatted.exp: New file.
20067 * gdb.fortran/print-formatted.f90: Likewise.
20068
200692014-09-03 Sasha Smundak <asmundak@google.com>
20070
20071 * gdb.python/py-frame.exp: Test Frame.read_register.
20072
200732014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20074
20075 PR python/16699
20076 * gdb.python/py-completion.exp: New file.
20077 * gdb.python/py-completion.py: Likewise.
20078
200792014-08-28 Doug Evans <dje@google.com>
20080
20081 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20082 eax,etc. are live with values set by gdb and thus the compiler can't
20083 use them.
20084 * gdb.arch/i386-pseudo.c (main): Ditto.
20085
200862014-08-27 Doug Evans <dje@google.com>
20087
20088 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20089
200902014-08-25 Doug Evans <dje@google.com>
20091
20092 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20093 (main): Ditto.
20094
200952014-08-25 Doug Evans <dje@google.com>
20096
20097 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20098
200992014-08-24 Yao Qi <yao@codesourcery.com>
20100
20101 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20102 symbol off.
20103 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20104
201052014-08-22 Doug Evans <dje@google.com>
20106
20107 PR 17276
20108 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20109 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20110 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20111
201122014-08-22 Yao Qi <yao@codesourcery.com>
20113
20114 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20115 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20116 * gdb.python/python.exp: Likewise. Use .py file on the host
20117 instead of the build.
20118
201192014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20120
20121 * gdb.threads/gcore-stale-thread.c: New file.
20122 * gdb.threads/gcore-stale-thread.exp: New file.
20123
201242014-08-21 Pedro Alves <palves@redhat.com>
20125
20126 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20127 * gdb.base/gcore-relro-pie.exp: Likewise.
20128 * gdb.base/gcore-relro.exp: Likewise.
20129 * gdb.base/gcore.exp: Likewise.
20130 * gdb.base/print-symbol-loading.exp: Likewise.
20131 * gdb.threads/gcore-thread.exp: Likewise.
20132 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20133
201342014-08-20 Pedro Alves <palves@redhat.com>
20135 Jan Kratochvil <jan.kratochvil@redhat.com>
20136
20137 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20138 configure.
20139 (EXPECT): Handle READ1 being set.
20140 (all): Depend on EXTRA_RULES.
20141 (check-read1, expect-read1, read1.so, read1): New rules.
20142 * README (Testsuite Parameters): Document the READ1 make variable.
20143 (Race detection): New section.
20144 * configure: Regenerate.
20145 * configure.ac: If build==host==target, and running under a
20146 GNU/glibc system, add read1 to the extra Makefile rules.
20147 (EXTRA_RULES): AC_SUBST it.
20148 * lib/read1.c: New file.
20149
201502014-08-20 Joel Brobecker <brobecker@adacore.com>
20151
20152 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20153 the handling of variables declared as a typedef to an array
20154 which a DW_AT_data_location attribute.
20155
201562014-08-19 Andrew Burgess <aburgess@broadcom.com>
20157 Pedro Alves <palves@redhat.com>
20158
20159 PR symtab/14604
20160 PR symtab/14605
20161 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20162 gdb_test.
20163
201642014-08-19 Pedro Alves <palves@redhat.com>
20165
20166 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20167
201682014-08-19 Yao Qi <yao@codesourcery.com>
20169
20170 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20171 right line.
20172
201732014-08-18 David Blaikie <dblaikie@gmail.com>
20174
20175 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20176
201772014-08-18 Joel Brobecker <brobecker@adacore.com>
20178
20179 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20180 attribute in array range.
20181
201822014-08-18 Joel Brobecker <brobecker@adacore.com>
20183
20184 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20185
201862014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20187
20188 PR c++/17132
20189 * gdb.cp/pr17132.cc: New file.
20190 * gdb.cp/pr17132.exp: New file.
20191
201922014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20193
20194 * gdb.python/py-xmethods.py (A_getarrayind)
20195 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20196 Use 'print' with function call syntax.
20197 (E_method_matcher.match): Fix tab vs space indentation mixup.
20198
201992014-08-15 Yao Qi <yao@codesourcery.com>
20200
20201 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20202 false.
20203
202042014-08-15 Yao Qi <yao@codesourcery.com>
20205
20206 * gdb.cp/casts.exp: Set print symbol off.
20207 * gdb.cp/class2.exp: Likewise.
20208 * gdb.cp/overload.exp: Likewise.
20209 * gdb.cp/templates.exp: Likewise.
20210
202112014-08-11 Doug Evans <dje@google.com>
20212
20213 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20214 (test_load_shlib): Update.
20215
202162014-08-09 Yao Qi <yao@codesourcery.com>
20217
20218 * gdb.base/display.exp: Invoke is_address_zero_readable.
20219 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20220 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20221 * gdb.base/hbreak-unmapped.exp: Return if
20222 is_address_zero_readable returns true.
20223 * gdb.base/signest.exp: Likewise.
20224 * gdb.base/signull.exp: Likewise.
20225 * gdb.base/sigbpt.exp: Likewise.
20226 * gdb.guile/scm-disasm.exp: Do the test if
20227 is_address_zero_readable returns false.
20228 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20229 * gdb.python/py-arch.exp: Likewise.
20230 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20231 * lib/gdb.exp (is_address_zero_readable): New proc.
20232
202332014-08-09 Yao Qi <yao@codesourcery.com>
20234
20235 PR testsuite/13443
20236 * gdb.mi/mi-var-display.exp: Make test messages unique.
20237
202382014-08-04 Tom Tromey <tromey@redhat.com>
20239
20240 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20241 target 0".
20242
202432014-08-04 Tom Tromey <tromey@redhat.com>
20244
20245 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20246 "target_resume".
20247
202482014-08-01 Joel Brobecker <brobecker@adacore.com>
20249
20250 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20251 inner_vla_struct_object_size.
20252 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20253 as xfail.
20254
202552014-07-30 Pedro Alves <palves@redhat.com>
20256
20257 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20258 comment.
20259
202602014-07-29 Yao Qi <yao@codesourcery.com>
20261
20262 PR gdb/17206
20263 * gdb.base/until-nodebug.exp: New.
20264
202652014-07-28 Doug Evans <xdje42@gmail.com>
20266
20267 PR guile/17203
20268 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20269 previously existing parameter, and previously ambiguously spelled
20270 parameter.
20271
202722014-07-28 Will Newton <will.newton@linaro.org>
20273
20274 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20275
202762014-07-26 Ludovic Courtès <ludo@gnu.org>
20277 Doug Evans <xdje42@gmail.com>
20278
20279 PR guile/17146
20280 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20281
202822014-07-25 Pedro Alves <palves@redhat.com>
20283
20284 * gdb.threads/signal-command-handle-nopass.c: New file.
20285 * gdb.threads/signal-command-handle-nopass.exp: New file.
20286 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20287 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20288 * gdb.threads/signal-delivered-right-thread.c: New file.
20289 * gdb.threads/signal-delivered-right-thread.exp: New file.
20290
202912014-07-25 Pedro Alves <palves@redhat.com>
20292
20293 * gdb.base/double-prompt-target-event-error.exp
20294 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20295 match.
20296 (cancel_pagination_in_target_event): Rework double prompt
20297 detection.
20298 * gdb.base/paginate-after-ctrl-c-running.exp
20299 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20300 <return>' match.
20301 * gdb.base/paginate-bg-execution.exp
20302 (test_bg_execution_pagination_return)
20303 (test_bg_execution_pagination_cancel): Remove '-notransfer
20304 <return>' matches.
20305 * gdb.base/paginate-execution-startup.exp
20306 (test_fg_execution_pagination_return)
20307 (test_fg_execution_pagination_cancel): Remove '-notransfer
20308 <return>' matches.
20309 * gdb.base/paginate-inferior-exit.exp
20310 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20311 match.
20312 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20313 * lib/gdb.exp (pagination_prompt): Run text through
20314 string_to_regexp.
20315 (gdb_test_multiple): Match $pagination_prompt instead of
20316 "<return>".
20317 (string_to_regexp): Move to lib/gdb-utils.exp.
20318
203192014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20320
20321 * gdb.arch/amd64-entry-value-paramref.S: New file.
20322 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20323 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20324 * gdb.arch/amd64-optimout-repeat.S: New file.
20325 * gdb.arch/amd64-optimout-repeat.c: New file.
20326 * gdb.arch/amd64-optimout-repeat.exp: New file.
20327
203282014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20329
20330 PR gdb/17170
20331 * gdb.base/statistics.exp: New file.
20332
203332014-07-17 Doug Evans <dje@google.com>
20334
20335 PR gdb/17170
20336 * gdb.base/maint.exp: Update testing of per-command stats.
20337
203382014-07-16 Pedro Alves <palves@redhat.com>
20339
20340 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20341 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20342 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20343 (tfile_write_buf): New functions.
20344 (add_memory_block): Rewrite using the above.
20345 (adjust_function_address): New function.
20346 (FUNCTION_ADDRESS): New macro.
20347 (write_basic_trace_file): Remove short_x local, and use
20348 tfile_write_16. Change type of func_addr local to unsigned long
20349 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20350 here. Cast argument of add_memory_block to char pointer.
20351 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20352 (main): Remove parameters.
20353 * gdb.trace/tfile.exp: Remove nowarnings.
20354
203552014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20356
20357 * gdb.base/debug-expr.exp: Test string evaluation with
20358 "debug expression" on.
20359
203602014-07-15 Pedro Alves <palves@redhat.com>
20361
20362 * gdb.base/reread.exp: Use clean_restart.
20363
203642014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20365
20366 * gdb.arch/avr-flash-qualifer.c: New.
20367 * gdb.arch/avr-flash-qualifer.exp: New.
20368
203692014-07-14 Pedro Alves <palves@redhat.com>
20370
20371 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20372 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20373
203742014-07-14 Pedro Alves <palves@redhat.com>
20375
20376 * gdb.base/double-prompt-target-event-error.c: New file.
20377 * gdb.base/double-prompt-target-event-error.exp: New file.
20378
203792014-07-14 Pedro Alves <palves@redhat.com>
20380
20381 PR gdb/17072
20382 * gdb.base/paginate-inferior-exit.c: New file.
20383 * gdb.base/paginate-inferior-exit.exp: New file.
20384
203852014-07-14 Pedro Alves <palves@redhat.com>
20386
20387 PR gdb/17072
20388 * gdb.base/paginate-bg-execution.c: New file.
20389 * gdb.base/paginate-bg-execution.exp: New file.
20390
203912014-07-14 Pedro Alves <palves@redhat.com>
20392
20393 PR gdb/17072
20394 * gdb.base/paginate-execution-startup.c: New file.
20395 * gdb.base/paginate-execution-startup.exp: New file.
20396 * lib/gdb.exp (pagination_prompt): New global.
20397 (default_gdb_spawn): New procedure, factored out from
20398 default_gdb_spawn.
20399 (default_gdb_start): Adjust to call default_gdb_spawn.
20400 (gdb_spawn): New procedure.
20401
204022014-07-14 Pedro Alves <palves@redhat.com>
20403
20404 * lib/gdb.exp (gdb_assert): New procedure.
20405 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20406
204072014-07-14 Pedro Alves <palves@redhat.com>
20408
20409 * gdb.base/execution-termios.c: New file.
20410 * gdb.base/execution-termios.exp: New file.
20411
204122014-07-14 Tom Tromey <tromey@redhat.com>
20413
20414 * gdb.cp/vla-cxx.cc: New file.
20415 * gdb.cp/vla-cxx.exp: New file.
20416
204172014-07-14 Tom Tromey <tromey@redhat.com>
20418
20419 * gdb.reverse/rerun-prec.c: New file.
20420 * gdb.reverse/rerun-prec.exp: New file.
20421
204222014-07-12 Maciej W. Rozycki <macro@mips.com>
20423 Maciej W. Rozycki <macro@codesourcery.com>
20424
20425 * lib/gdb-utils.exp: New file.
20426 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20427 inline `gdb_init_command' processing.
20428 (gdb_start_cmd): Likewise.
20429 * lib/mi-support.exp (mi_run_cmd): Likewise.
20430 * README: Document `gdb_init_command' and `gdb_init_commands'.
20431
204322014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20433
20434 Fix false FAIL running under a very long directory name.
20435 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20436 and "set print elements 10000". Twice.
20437
204382014-07-11 Yao Qi <yao@codesourcery.com>
20439
20440 * gdb.base/exprs.exp: "set print symbol off".
20441
204422014-07-11 Pedro Alves <palves@redhat.com>
20443
20444 * gdb.threads/kill.c: New file.
20445 * gdb.threads/kill.exp: New file.
20446
204472014-07-10 Yao Qi <yao@codesourcery.com>
20448
20449 * gdb.trace/tfile.c (write_basic_trace_file)
20450 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20451 address written to trace file.
20452
204532014-07-09 Pedro Alves <palves@redhat.com>
20454
20455 * gdb.base/attach-wait-input.exp: New file.
20456 * gdb.base/attach-wait-input.c: New file.
20457
204582014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20459
20460 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20461 setting up test structures.
20462 (main): Call new test function.
20463 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20464 test function, continue into test function and walk test
20465 structures.
20466
204672014-07-02 Yao Qi <yao@codesourcery.com>
20468
20469 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20470 'bar_start' at the beginning of functions 'foo' and 'bar'
20471 respectively.
20472 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20473 instead of 'foo' and 'bar'.
20474
204752014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20476
20477 * gdb.btrace/segv.exp: New.
20478 * gdb.btrace/segv.c: New.
20479
204802014-07-02 Luis Machado <lgustavo@codesourcery.com>
20481
20482 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20483 instruction.
20484
204852014-06-30 Mark Wielaard <mjw@redhat.com>
20486
20487 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20488 vulture, vilify, villar): New volatile array constants.
20489 (vindictive, vegetation): New const volatile array constants.
20490 * gdb.base/volatile.exp: Test volatile and const volatile array
20491 types.
20492
204932014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20494
20495 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20496 target lacks support for awatch, rwatch, or hbreak.
20497
204982014-06-27 Yao Qi <yao@codesourcery.com>
20499
20500 * gdb.multi/dummy-frame-restore.exp: New.
20501 * gdb.multi/dummy-frame-restore.c: New.
20502
205032014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20504
20505 * gdb.btrace/gcore.exp: New.
20506
205072014-06-23 Pedro Alves <palves@redhat.com>
20508
20509 * gdb.base/watchpoint-reuse-slot.c: New file.
20510 * gdb.base/watchpoint-reuse-slot.exp: New file.
20511
205122014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20513
20514 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20515 progspace's filename in 'info', 'enable' and 'disable' command
20516 tests.
20517
205182014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20519
20520 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20521 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20522 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20523
205242014-06-20 Gary Benson <gbenson@redhat.com>
20525
20526 * gdb.arch/i386-avx.exp: Fix include file location.
20527 * gdb.arch/i386-sse.exp: Likewise.
20528
205292014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20530
20531 * gdb.dlang/expression.exp: New file.
20532
205332014-06-19 Pedro Alves <palves@redhat.com>
20534
20535 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20536 out from ...
20537 (top level): ... here. Iterate running tests under different
20538 scheduler-locking settings.
20539
205402014-06-18 Luis Machado <lgustavo@codesourcery.com>
20541
20542 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20543 to DW_FORM_addr and use non-zero addresses.
20544
205452014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20546
20547 PR gdb/17017
20548 * gdb.python/py-xmethods.cc: Add global function call counters and
20549 increment them in their respective functions. Remove "cout"
20550 statements.
20551 * gdb.python/py-xmethods.exp: Make tests check the global function
20552 call counters instead of depending on inferior IO.
20553
205542014-06-18 Don Breazeal <donb@codesourcery.com>
20555
20556 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20557 Deleted procedure.
20558 (explicit_fork_parent_follow): Deleted procedure.
20559 (explicit_fork_child_follow): Deleted procedure.
20560 (test_follow_fork): New procedure.
20561 (do_fork_tests): Replace calls to deleted procedures with
20562 calls to test_follow_fork and reset GDB for subsequent
20563 procedure calls.
20564
205652014-06-17 Yao Qi <yao@codesourcery.com>
20566
20567 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20568 CP1252.
20569
205702014-06-17 Luis Machado <lgustavo@codesourcery.com>
20571
20572 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20573 Initialize ptr and S explicitly.
20574 (skip_type_update_when_not_use_rtti_test): Likewise.
20575
205762014-06-16 Keith Seitz <keiths@redhat.com>
20577
20578 PR mi/15863
20579 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20580 the inferior is started.
20581
205822014-06-16 Pedro Alves <palves@redhat.com>
20583
20584 * gdb.base/break-main-file-remove-fail.c: New file.
20585 * gdb.base/break-main-file-remove-fail.exp: New file.
20586 * gdb.base/break-unload-file.exp: Use build_executable instead of
20587 prepare_for_testing.
20588 (test_break): New parameter "initial_load". Handle it.
20589 (top level): Add initial_load cmdline/file axis.
20590
205912014-06-12 Tom Tromey <tromey@redhat.com>
20592
20593 * gdb.base/completion.exp: Don't use directory name in test.
20594
205952014-06-09 Gary Benson <gbenson@redhat.com>
20596
20597 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20598 separate the always-available ANSI-standard signals from the
20599 signals that require checking.
20600 (main): Likewise.
20601 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20602 Likewise.
20603 (main): Likewise.
20604
206052014-06-07 Keith Seitz <keiths@redhat.com>
20606
20607 Revert:
20608 PR c++/16253
20609 * gdb.cp/var-tag.cc: New file.
20610 * gdb.cp/var-tag.exp: New file.
20611 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20612 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20613 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20614 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20615
206162014-06-06 Doug Evans <xdje42@gmail.com>
20617
20618 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20619
206202014-06-06 Pedro Alves <palves@redhat.com>
20621
20622 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20623 in target debug output instead of looking at RSP packets,
20624 disabling the test on any target that uses hardware stepping.
20625 Update comments.
20626
206272014-06-06 Pedro Alves <palves@redhat.com>
20628
20629 * gdb.base/break-unload-file.exp: Fix typo.
20630
206312014-06-06 Yao Qi <yao@codesourcery.com>
20632
20633 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20634 from "jit_function" to "^jit_function".
20635
206362014-06-06 Yao Qi <yao@codesourcery.com>
20637
20638 * gdb.base/async.c (foo): Add one statement.
20639 * gdb.base/async.exp: Get the next instruction address and
20640 match the output of "nexti" by instruction address. Match
20641 the hex address in the output of "finish".
20642
206432014-06-06 Gary Benson <gbenson@redhat.com>
20644
20645 * gdb.base/call-signals.c: Remove preprocessor conditionals
20646 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20647 SIGSEGV and SIGTERM.
20648 * gdb.base/sigall.c: Likewise.
20649 * gdb.base/unwindonsignal.c: Likewise.
20650 * gdb.reverse/sigall-reverse.c: Likewise.
20651
206522014-06-06 Yao Qi <yao@codesourcery.com>
20653
20654 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20655 readable, skip the test.
20656
206572014-06-06 Yao Qi <yao@codesourcery.com>
20658
20659 * gdb.threads/staticthreads.c (thread_function): Move the line
20660 setting breakpoint on forward.
20661 * gdb.threads/staticthreads.exp: Update comments.
20662
206632014-06-05 Ludovic Courtès <ludo@gnu.org>
20664
20665 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20666 "history-append! type error".
20667
206682014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20669
20670 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20671 erroneous dprintf expected input.
20672
206732014-06-04 Doug Evans <xdje42@gmail.com>
20674
20675 * gdb.guile/scm-generics.exp: Delete.
20676
206772014-06-04 Doug Evans <xdje42@gmail.com>
20678
20679 * gdb.guile/scm-breakpoint.exp: Update.
20680 Add tests for breakpoint registration.
20681
206822014-06-04 Tom Tromey <tromey@redhat.com>
20683
20684 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20685 VLA-in-union.
20686 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20687 inner_vla_struct, vla_union types. Initialize objects of those
20688 types and compute their sizes.
20689
206902014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20691 Hui Zhu <hui@codesourcery.com>
20692
20693 * gdb.base/fileio.exp: Add test for shell not available as well as
20694 available.
20695 * gdb.base/fileio.c (test_system): Check for shell twice.
20696
206972014-06-04 Yao Qi <yao@codesourcery.com>
20698
20699 * gdb.base/auto-connect-native-target.exp: Remove redundant
20700 space from the regexp pattern.
20701
207022014-06-04 Yao Qi <yao@codesourcery.com>
20703
20704 * gdb.base/default.exp: Replace "child" with "native" in
20705 regexp pattern.
20706
207072014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20708
20709 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20710 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20711 * gdb.python/py-xmethods.py: Python script supporting the
20712 new testcase and tests.
20713
207142014-06-03 Joel Brobecker <brobecker@adacore.com>
20715 Pedro Alves <palves@redhat.com>
20716
20717 PR breakpoints/17000
20718 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20719 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20720
207212014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20722
20723 * gdb.base/subst.exp: Add tests to verify partial path matching
20724 output.
20725
207262014-06-03 Pedro Alves <palves@redhat.com>
20727
20728 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20729 target that doesn't use software single-stepping.
20730
207312014-06-03 Pedro Alves <palves@redhat.com>
20732
20733 PR breakpoints/17000
20734 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20735 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20736
207372014-06-02 Doug Evans <xdje42@gmail.com>
20738
20739 * gdb.guile/scm-parameter.exp: New file.
20740
207412014-06-02 Doug Evans <xdje42@gmail.com>
20742
20743 * gdb.guile/scm-cmd.c: New file.
20744 * gdb.guile/scm-cmd.exp: New file.
20745
207462014-06-02 Doug Evans <xdje42@gmail.com>
20747
20748 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20749 pretty-printer lookup.
20750 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20751 (make-pp_s-printer): Call it.
20752 (make-pretty-printer-from-dict): New function.
20753 (lookup-pretty-printer-maker-from-dict): New function.
20754 (*pretty-printer*): Simplify.
20755 (make-objfile-pp_s-printer): New function.
20756 (install-objfile-pretty-printers!): New function.
20757 (make-progspace-pp_s-printer): New function.
20758 (install-progspace-pretty-printers!): New function.
20759 * gdb.guile/scm-progspace.c: New file.
20760 * gdb.guile/scm-progspace.exp: New file.
20761
207622014-06-02 Pedro Alves <palves@redhat.com>
20763
20764 * gdb.base/dprintf-bp-same-addr.c: New file.
20765 * gdb.base/dprintf-bp-same-addr.exp: New file.
20766
207672014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20768
20769 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20770 * gdb.arch/powerpc-power.s: Likewise.
20771
207722014-06-02 Joel Brobecker <brobecker@adacore.com>
20773
20774 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20775
207762014-06-01 Yao Qi <yao@codesourcery.com>
20777
20778 * gdb.base/watchpoint.exp (test_watch_location): Check null
20779 pointer can be dereferenced. If not, do the test, otherwise
20780 skip it.
20781
207822014-05-30 Andrew Burgess <aburgess@broadcom.com>
20783
20784 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20785 results.
20786 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20787
207882014-05-30 Andrew Burgess <aburgess@broadcom.com>
20789
20790 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20791 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20792 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20793 * gdb.arch/amd64-invalid-stack-top.c: New file.
20794 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20795
207962014-05-30 Pedro Alves <palves@redhat.com>
20797
20798 PR breakpoints/17000
20799 * gdb.base/sss-bp-on-user-bp.c: New file.
20800 * gdb.base/sss-bp-on-user-bp.exp: New file.
20801
208022014-05-30 David Blaikie <dblaikie@gmail.com>
20803
20804 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20805 gnu_inline semantics via attribute.
20806 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20807 source explicitly specifies the required semantics.
20808
208092014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20810
20811 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20812
208132014-05-29 Pedro Alves <palves@redhat.com>
20814 Tom Tromey <tromey@redhat.com>
20815
20816 * gdb.base/async-shell.exp: Don't enable target-async.
20817 * gdb.base/async.exp
20818 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20819 parameter. Adjust.
20820 (top level): Don't test with "target-async".
20821 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20822 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20823 * gdb.base/inferior-died.exp: Don't enable target-async.
20824 * gdb.base/interrupt-noterm.exp: Likewise.
20825 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20826 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20827 * gdb.mi/mi-nonstop.exp: Likewise.
20828 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20829 * gdb.mi/mi-nsintrall.exp: Likewise.
20830 * gdb.mi/mi-nsmoribund.exp: Likewise.
20831 * gdb.mi/mi-nsthrexec.exp: Likewise.
20832 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20833 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20834 * gdb.python/py-evsignal.exp: Don't enable target-async.
20835 * gdb.python/py-evthreads.exp: Likewise.
20836 * gdb.python/py-prompt.exp: Likewise.
20837 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20838 * gdb.server/solib-list.exp: Don't enable target-async.
20839 * gdb.threads/thread-specific-bp.exp: Likewise.
20840 * lib/mi-support.exp: Adjust to use mi-async.
20841
208422014-05-29 Pedro Alves <palves@redhat.com>
20843
20844 PR gdb/13860
20845 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20846 reason, even in sync mode.
20847
208482014-05-29 Pedro Alves <palves@redhat.com>
20849 Hui Zhu <hui@codesourcery.com>
20850
20851 PR PR15693
20852 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20853 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20854 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20855 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20856
208572014-05-28 Joel Brobecker <brobecker@adacore.com>
20858
20859 * config/monitor.exp (gdb_target_monitor): Replace use of
20860 "set remotebaud" by "set serial baud".
20861
208622014-05-26 Andy Wingo <wingo@igalia.com>
20863
20864 * gdb.guile/scm-breakpoint.exp:
20865 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20866 properties instead of gdb-object-properties.
20867
208682014-05-26 Yao Qi <yao@codesourcery.com>
20869
20870 * gdb.server/no-thread-db.exp: Specify source file name
20871 explicitly when setting a breakpoint.
20872
208732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20874
20875 * gdb.btrace/vdso.c: New.
20876 * gdb.btrace/vdso.exp: New.
20877
208782014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20879
20880 * gdb.base/gcore.exp (capture_command_output): Move ...
20881 * lib/gdb.exp (capture_command_output): ... here.
20882
208832014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20884
20885 * gdb.btrace/data.exp: Test memory access during btrace replay.
20886
208872014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20888
20889 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20890
208912014-05-21 Pedro Alves <palves@redhat.com>
20892
20893 PR gdb/13860
20894 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20895 (top level): Test that output related to execution commands is
20896 sent to the console with CLI commands, but not with MI commands.
20897 Test that breakpoint events are always mirrored to the console.
20898 Also expect the new source line to be output after a "next" in
20899 async mode too. Make it a pass/fail test.
20900 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20901 output.
20902 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20903
209042014-05-21 Pedro Alves <palves@redhat.com>
20905
20906 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20907 Use them to test variations of "list" after reaching a breakpoint.
20908 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20909 Test "list" with listsize 10 after reaching a breakpoint.
20910 * gdb.python/python.exp (decode_line current location line
20911 number): Adjust expected line number.
20912
209132014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20914
20915 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20916 behavior for $args, pass it directly to "run".
20917
209182014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20919
20920 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20921 30000 to 65536.
20922
209232014-05-21 Pedro Alves <palves@redhat.com>
20924
20925 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20926 auto-connect-native-target off".
20927 * gdb.base/auto-connect-native-target.c: New file.
20928 * gdb.base/auto-connect-native-target.exp: New file.
20929
209302014-05-21 Pedro Alves <palves@redhat.com>
20931
20932 * gdb.base/default.exp: Test "target native" instead of "target
20933 child".
20934
209352014-05-21 Mark Wielaard <mjw@redhat.com>
20936
20937 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20938
209392014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20940
20941 Fix TLS access for -static -pthread.
20942 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20943 <HAVE_TLS> (thread_function, main): Initialize it.
20944 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20945 Add clean_restart.
20946 <$have_tls != "">: Check TLSVAR.
20947
209482014-05-21 Pedro Alves <palves@redhat.com>
20949
20950 * gdb.base/dcache-line-read-error.c: New.
20951 * gdb.base/dcache-line-read-error.exp: New.
20952
209532014-05-20 Pedro Alves <palves@redhat.com>
20954
20955 * gdb.base/compare-sections.c: New file.
20956 * gdb.base/compare-sections.exp: New file.
20957
209582014-05-20 Pedro Alves <palves@redhat.com>
20959
20960 * gdb.base/break-idempotent.c: New file.
20961 * gdb.base/break-idempotent.exp: New file.
20962
209632014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20964
20965 * gdb.btrace/nohist.exp: New.
20966
209672014-05-20 Yao Qi <yao@codesourcery.com>
20968
20969 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20970 gdb.reverse directory and gdb_reverse_timeout exists in board
20971 setting.
20972 * README: Document gdb_reverse_timeout.
20973
209742014-05-20 Yao Qi <yao@codesourcery.com>
20975
20976 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20977 'test_file_name'. Treat args as a string instead of a list.
20978 (gdb_init): Rename argument 'args' by 'test_file_name'.
20979
209802014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20981
20982 * gdb.arch/powerpc-power.exp: New file.
20983 * gdb.arch/powerpc-power.s: New file.
20984
209852014-05-16 Doug Evans <dje@google.com>
20986
20987 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
20988 * gdb.base/completion.exp: Check that all expected files exist
20989 before doing file completion.
20990
209912014-05-16 Doug Evans <dje@google.com>
20992
20993 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20994 Update.
20995 (do_syscall_tests_without_xml): Update.
20996
209972014-05-16 Pedro Alves <palves@redhat.com>
20998
20999 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21000 instead of "unknown output after running".
21001
210022014-05-16 Yao Qi <yao@codesourcery.com>
21003
21004 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21005 file1.txt from host at the end.
21006 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21007
210082014-05-15 Doug Evans <dje@google.com>
21009
21010 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21011 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21012 loading file. Add test for TU lookup.
21013
210142014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21015
21016 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21017 calling "-exec-arguments" or "set args" before running the
21018 inferior.
21019
210202014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21021
21022 * lib/mi-support.exp (mi_expect_stop): Expect message for
21023 inferiors that exit with non-zero exit code.
21024
210252014-05-14 Yao Qi <yao@codesourcery.com>
21026
21027 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21028 match absolute path on remote host.
21029 (test_file_list_exec_source_files): Remove "/" from the
21030 pattern.
21031
210322014-05-14 Yao Qi <yao@codesourcery.com>
21033
21034 * boards/local-remote-host-notty.exp (${board}_file): New
21035 proc.
21036
210372014-05-07 Kyle McMartin <kyle@redhat.com>
21038
21039 Pushed by Joel Brobecker <brobecker@adacore.com>.
21040 * gdb.arch/aarch64-atomic-inst.c: New file.
21041 * gdb.arch/aarch64-atomic-inst.exp: New file.
21042
210432014-05-07 Yao Qi <yao@codesourcery.com>
21044
21045 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21046 in current context" too.
21047
210482014-05-05 Keith Seitz <keiths@redhat.com>
21049
21050 * gdb.linespec/ls-dollar.exp: Add test for linespec
21051 file:convenience_variable.
21052
210532014-05-05 Yao Qi <yao@codesourcery.com>
21054
21055 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21056 traceframes into tfile and ctf trace files. Read data from
21057 trace file and test collected data.
21058 (gdb_collect_locals_test): Likewise.
21059 (gdb_unavailable_registers_test): Likewise.
21060 (gdb_unavailable_floats): Likewise.
21061 (gdb_collect_globals_test): Likewise.
21062 (top-level): Append "ctf" to trace_file_targets if GDB
21063 supports.
21064
210652014-05-05 Yao Qi <yao@codesourcery.com>
21066
21067 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21068 code to ...
21069 (gdb_collect_args_test_1): ... it. New proc.
21070 (gdb_collect_locals_test): Move some code to ...
21071 (gdb_collect_locals_test_1): ... it. New proc.
21072 (gdb_unavailable_registers_test): Move some code to ...
21073 (gdb_unavailable_registers_test_1): ... it. New proc.
21074 (gdb_unavailable_floats): Move some code to ...
21075 (gdb_unavailable_floats_1): ... it. New proc.
21076
210772014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21078
21079 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21080 probes to test for bitness recognition.
21081 * gdb.arch/amd64-stap-optional-prefix.exp
21082 (test_probe_value_without_reg): New procedure.
21083 Add code to test for different kinds of bitness.
21084
210852014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21086
21087 PR breakpoints/16889
21088 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21089 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21090
210912014-05-01 Pedro Alves <palves@redhat.com>
21092
21093 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21094 gdb_file_cmd if no file is specified.
21095 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21096 last_loaded_file to set the remote exec-file.
21097
210982014-05-01 Pedro Alves <palves@redhat.com>
21099
21100 * boards/local-remote-host.exp: New file.
21101
211022014-05-01 Pedro Alves <palves@redhat.com>
21103
21104 * boards/local-remote-host.exp: Rename to ...
21105 * boards/local-remote-host-notty.exp: ... this.
21106
211072014-04-28 Joel Brobecker <brobecker@adacore.com>
21108
21109 * gdb.ada/dyn_arrayidx: New testcase.
21110
211112014-04-26 Yao Qi <yao@codesourcery.com>
21112
21113 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21114 and compute the length of function main. Save it in
21115 $main_length.
21116 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21117 (top-level): Use gdb_compile to compile objects into
21118 executable and restart GDB. Remove invocation to
21119 prepare_for_testing.
21120
211212014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21122 Pedro Alves <palves@redhat.com>
21123
21124 PR server/16255
21125 * gdb.multi/multi-attach.c: New file.
21126 * gdb.multi/multi-attach.exp: New file.
21127
211282014-04-25 Pedro Alves <palves@redhat.com>
21129
21130 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21131 user.
21132 (top level): Test that "set remote conditional-breakpoints-packet
21133 off" works as intended.
21134 * gdb.base/dprintf.exp: Test that "set remote
21135 breakpoint-commands-packet off" works as intended.
21136 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21137 New function.
21138 (top level): Call it.
21139 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21140 remote fast-tracepoints-packet off" works as intended.
21141 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21142 * lib/gdb.exp (gdb_is_target_remote): ... here.
21143
211442014-04-24 David Blaikie <dblaikie@gmail.com>
21145
21146 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21147 ensure clang would not discard them.
21148 * gdb.base/gdbvars.c: Ditto.
21149 * gdb.base/memattr.c: Ditto.
21150 * gdb.base/whatis.c: Ditto.
21151 * gdb.python/py-prettyprint.c: Ditto.
21152 * gdb.trace/actions.c: Ditto.
21153 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21154 ensure clang would not discard it.
21155
211562014-04-24 David Blaikie <dblaikie@gmail.com>
21157
21158 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21159 clang to emit the full definition of type required by the test
21160 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21161
211622014-04-24 David Blaikie <dblaikie@gmail.com>
21163
21164 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21165 coax Clang into emitting the definition of the type.
21166 * gdb.cp/pr10728-x.h (y): Ditto.
21167 * gdb.cp/pr10728-y.cc (y): Ditto.
21168
211692014-04-24 David Blaikie <dblaikie@gmail.com>
21170
21171 * gdb.base/label.exp: XFAIL label related tests under Clang.
21172 * gdb.cp/cplabel.exp: Ditto.
21173 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21174 under Clang those using labels.
21175
211762014-04-25 Yao Qi <yao@codesourcery.com>
21177
21178 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21179 double_label.
21180 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21181 partial_label and double_label.
21182
211832014-04-24 David Blaikie <dblaikie@gmail.com>
21184
21185 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21186
211872014-04-24 David Blaikie <dblaikie@gmail.com>
21188
21189 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21190 of the function to work across GCC and Clang.
21191 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21192 pointer types (const void ** const V void **).
21193
211942014-04-24 Michael Sturm <michael.sturm@mintel.com>
21195 Walfred Tedeschi <walfred.tedeschi@intel.com>
21196
21197 * Makefile.in (EXECUTABLES): Added i386-avx512.
21198 * gdb.arch/i386-avx512.c: New file.
21199 * gdb.arch/i386-avx512.exp: Likewise.
21200
212012014-04-23 Keith Seitz <keiths@redhat.com>
21202
21203 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21204 (mi_make_breakpoint_table): New procedure.
21205 (mi_create_breakpoint): Use mi_make_breakpoint
21206 and return the result.
21207 (mi_make_breakpoint): New procedure.
21208 (mi_build_kv_pairs): New procedure.
21209
21210 * gdb.mi/mi-break.exp: Remove unused globals,
21211 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21212 All callers updated.
21213 * gdb.mi/mi-dprintf.exp: Use variable to track command
21214 number.
21215 Update all callers of mi_create_breakpoint and use
21216 mi_make_breakpoint_table.
21217 Remove any unused global variables.
21218 * gdb.mi/mi-nonstop.exp: Likewise.
21219 * gdb.mi/mi-nsintrall.exp: Likewise.
21220 * gdb.mi/mi-nsmoribund.exp: Likewise.
21221 * gdb.mi/mi-nsthrexec.exp: Likewise.
21222 * gdb.mi/mi-reverse.exp: Likewise.
21223 * gdb.mi/mi-simplerun.exp: Likewise.
21224 * gdb.mi/mi-stepn.exp: Likewise.
21225 * gdb.mi/mi-syn-frame.exp: Likewise.
21226 * gdb.mi/mi-until.exp: Likewise.
21227 * gdb.mi/mi-var-cp.exp: Likewise.
21228 * gdb.mi/mi-var-display.exp: Likewise.
21229 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21230 * gdb.mi/mi2-var-child.exp: Likewise.
21231 * gdb.mi/mi-vla-c99.exp: Likewise.
21232 * lib/mi-support.exp: Likewise.
21233
21234 From Ian Lance Taylor <iant@cygnus.com>:
21235 * lib/gdb.exp (parse_args): New procedure.
21236
212372014-04-23 Pedro Alves <palves@redhat.com>
21238
21239 * gdb.base/break-unload-file.c: New file.
21240 * gdb.base/break-unload-file.exp: New file.
21241 * gdb.base/sym-file-lib.c (baz): New function.
21242 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21243 field.
21244 (load): Store the segment's mapped size.
21245 (unload): New function.
21246 (unload_shlib): New function.
21247 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21248 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21249 set a breakpoint at baz, and call it.
21250 * gdb.base/sym-file.exp: New tests for stale breakpoint
21251 instructions.
21252
212532014-04-23 Pedro Alves <palves@redhat.com>
21254
21255 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21256 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21257 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21258 * gdb.base/hbreak-unmapped.c: New file.
21259 * gdb.base/hbreak-unmapped.exp: New file.
21260 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21261 * lib/gdb.exp (gdb_is_target_remote): ... here.
21262
212632014-04-22 Pedro Alves <palves@redhat.com>
21264
21265 * gdb.base/consecutive-step-over.c: New file.
21266 * gdb.base/consecutive-step-over.exp: New file.
21267
212682014-04-22 Pedro Alves <palves@redhat.com>
21269
21270 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21271 instead of send_gdb/gdb_expect.
21272
212732014-04-22 Yao Qi <yao@codesourcery.com>
21274
21275 * lib/trace-support.exp (generate_tracefile): New procedure.
21276 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21277 return 0.
21278 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21279 if generate_tracefile returns 1.
21280
212812014-04-18 Tom Tromey <palves@redhat.com>
21282 Pedro alves <tromey@redhat.com>
21283
21284 PR backtrace/15558
21285 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21286 with a backtrace limit.
21287 * gdb.python/py-frame-inline.exp: Test running to an inline
21288 function with a backtrace limit, and printing the newest frame.
21289 * gdb.python/py-frame-inline.c (main): Call f.
21290
212912014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21292
21293 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21294
212952014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21296
21297 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21298 Drop prefix from unsupported source file path.
21299
213002014-04-17 Yao Qi <yao@codesourcery.com>
21301
21302 * lib/gdb.exp (with_target_charset): New proc.
21303 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21304 with_target_charset.
21305 (test_print_strings): Likewise.
21306 (test_repeat_bytes): Likewise.
21307 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21308 for some tests.
21309
213102014-04-16 Keith Seitz <keiths@redhat.com>
21311
21312 PR gdb/15827
21313 * gdb.dwarf2/corrupt.c: New file.
21314 * gdb.dwarf2/corrupt.exp: New file.
21315
213162014-04-16 Keith Seitz <keiths@redhat.com>
21317
21318 PR c++/16597
21319 * gdb.cp/namelessclass.cc: New file.
21320 * gdb.cp/namelessclass.exp: New file.
21321 * gdb.cp/namelessclass.S: New file.
21322
213232014-04-16 Doug Evans <dje@google.com>
21324
21325 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21326 Add comment.
21327 (gdbserver_default_get_comm_port): New function.
21328 (gdbserver_start): Check if board file provided
21329 "gdbserver,get_comm_port" and use it if so.
21330 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21331 (gdb,socketport): Set to "stdio".
21332 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21333 (stdio_gdbserver_template): Delete.
21334 (${board}_get_remote_address): Update.
21335 (${board}_build_remote_cmd): Delete.
21336 (${board}_get_comm_port): New function.
21337 (${board}_spawn): Update.
21338 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21339 Delete.
21340 (${board}_get_remote_address): Update.
21341 (${board}_get_comm_port): New function.
21342
213432014-04-16 Andrew Burgess <aburgess@broadcom.com>
21344
21345 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21346 appearing in any order.
21347
213482014-04-15 Doug Evans <dje@google.com>
21349
21350 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21351 uninitialized value of "description".
21352
213532014-04-15 Keith Seitz <keiths@redhat.com>
21354
21355 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21356 Remove unused globals.
21357 (test_running_the_program): Likewise.
21358 (test_controlled_execution): Likewise.
21359 (test_controlling_breakpoints): Likewise.
21360 (test_program_termination): Likewise.
21361
213622014-04-15 Keith Seitz <keiths@redhat.com>
21363
21364 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21365 unused globals.
21366 (test_rbreak_creation_and_listing): Likewise.
21367 (test_ignore_count): Likewise.
21368 (test_error): Likewise.
21369
213702014-04-15 Pedro Alves <palves@redhat.com>
21371
21372 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21373 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21374 sym-file-loader.c.
21375 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21376 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21377 to sym-file-loader.c.
21378 (struct library): Forward declare.
21379 (load_shlib, lookup_function): Change prototypes.
21380 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21381 (translate_offset): Remove declarations.
21382 (get_text_addr): New declaration.
21383 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21384 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21385 sym-file-loader.h.
21386 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21387 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21388 here from sym-file-loader.h.
21389 (struct library): New structure.
21390 (load_shlib, lookup_function): Change prototypes and adjust to
21391 work with a struct library.
21392 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21393 (translate_offset): Make static.
21394 (get_text_addr): New function.
21395 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21396
213972014-04-15 Pedro Alves <palves@redhat.com>
21398
21399 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21400
214012014-04-15 Pedro Alves <palves@redhat.com>
21402
21403 * gdb.base/sym-file-loader.c: Include <limits.h>.
21404 (SELF_LINK): New define.
21405 (get_origin): New function.
21406 (load_shlib): Use it.
21407 * gdb.base/sym-file.exp: Don't early return if the target is
21408 remote. Use runto_main, and issue fail is that fails. Use
21409 gdb_load_shlibs.
21410 (shlib_name): Delete.
21411 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21412
214132014-04-15 Pedro Alves <palves@redhat.com>
21414
21415 * gdb.base/sym-file.exp: Remove regex characters from test
21416 message. Don't refer to breakpoint numbers in test messages.
21417
214182014-04-14 Keith Seitz <keiths@redhat.com>
21419
21420 PR c++/16253
21421 * gdb.cp/var-tag.cc: New file.
21422 * gdb.cp/var-tag.exp: New file.
21423 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21424 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21425 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21426 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21427
214282014-04-14 Tom Tromey <tromey@redhat.com>
21429
21430 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21431 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21432 type.
21433 * gdb.cp/enum-class.exp: New file.
21434 * gdb.cp/enum-class.cc: New file.
21435
214362014-04-14 Tom Tromey <tromey@redhat.com>
21437
21438 * gdb.dwarf2/enum-type.exp: New file.
21439
214402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21441
21442 * gdb.mi/mi-vla-c99.exp: New file.
21443 * gdb.mi/vla.c: New file.
21444
214452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21446
21447 * gdb.base/vla-datatypes.c: New file.
21448 * gdb.base/vla-datatypes.exp: New file.
21449
214502014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21451
21452 * gdb.base/vla-ptr.c: New file.
21453 * gdb.base/vla-ptr.exp: New file.
21454
214552014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21456
21457 * gdb.dwarf2/count.exp: New file.
21458
214592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21460
21461 * gdb.base/vla-sideeffect.c: New file.
21462 * gdb.base/vla-sideeffect.exp: New file.
21463
214642014-04-14 David Blaikie <dblaikie@gmail.com>
21465
21466 * gdb.mi/non-stop.c: Add return value for non-void function return
21467 statement.
21468 * gdb.threads/staticthreads.c: Ditto.
21469
214702014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21471 Doug Evans <xdje42@gmail.com>
21472
21473 * gdb.guile/scm-value.c: Improve test case.
21474 * gdb.guile/scm-value.exp: Add new test.
21475
214762014-04-11 David Blaikie <dblaikie@gmail.com>
21477
21478 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21479 override Clang's default.
21480
214812014-04-11 Joel Brobecker <brobecker@adacore.com>
21482
21483 Revert the following changes (regressions):
21484
21485 * gdb.base/vla-sideeffect.c: New file.
21486 * gdb.base/vla-sideeffect.exp: New file.
21487
21488 * gdb.dwarf2/count.exp: New file.
21489
21490 * gdb.base/vla-multi.c: New file.
21491 * gdb.base/vla-multi.exp: New file.
21492
21493 * gdb.base/vla-ptr.c: New file.
21494 * gdb.base/vla-ptr.exp: New file.
21495
21496 * gdb.base/vla-datatypes.c: New file.
21497 * gdb.base/vla-datatypes.exp: New file.
21498
21499 * gdb.mi/mi-vla-c99.exp: New file.
21500 * gdb.mi/vla.c: New file.
21501
215022014-04-11 Keith Seitz <keiths@redhat.com>
21503
21504 PR c++/16675
21505 * gdb.cp/cpsizeof.exp: New file.
21506 * gdb.cp/cpsizeof.cc: New file.
21507
215082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21509
21510 * gdb.mi/mi-vla-c99.exp: New file.
21511 * gdb.mi/vla.c: New file.
21512
215132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21514
21515 * gdb.base/vla-datatypes.c: New file.
21516 * gdb.base/vla-datatypes.exp: New file.
21517
215182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21519
21520 * gdb.base/vla-ptr.c: New file.
21521 * gdb.base/vla-ptr.exp: New file.
21522
215232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21524
21525 * gdb.base/vla-multi.c: New file.
21526 * gdb.base/vla-multi.exp: New file.
21527
215282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21529
21530 * gdb.dwarf2/count.exp: New file.
21531
215322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21533
21534 * gdb.base/vla-sideeffect.c: New file.
21535 * gdb.base/vla-sideeffect.exp: New file.
21536
215372014-04-11 Yao Qi <yao@codesourcery.com>
21538
21539 * gdb.base/completion.exp: Check file exists before running tests
21540 on file completion.
21541
215422014-04-10 Pedro Alves <palves@redhat.com>
21543
21544 * gdb.base/cond-eval-mode.c: New file.
21545 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21546 prepare_for_testing to build the new file. Check result of
21547 runto_main.
21548 (test_break, test_watch): New procedures.
21549 (top level): Use them.
21550
215512014-04-08 Pierre Muller <muller@sourceware.org>
21552
21553 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21554 Ctrl-V use for mingw hosts.
21555
215562014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21557
21558 * gdb.python/py-value.c: Improve test case.
21559 * gdb.python/py-value.exp: Add new test.
21560
215612014-04-07 David Blaikie <dblaikie@gmail.com>
21562
21563 * lib/compiler.c: Identify the clang compiler.
21564 * lib/compiler.cc: Ditto.
21565
215662014-04-03 Yao Qi <yao@codesourcery.com>
21567
21568 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21569
215702014-04-01 Anton Blanchard <anton@samba.org>
21571
21572 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21573 messages unique.
21574
215752014-04-01 Anton Blanchard <anton@samba.org>
21576
21577 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21578 prepare_for_testing.
21579
215802014-04-01 Anton Blanchard <anton@samba.org>
21581
21582 * gdb.arch/ppc64-atomic-inst.c: Remove.
21583 * gdb.arch/ppc64-atomic-inst.S: New file.
21584 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21585
215862014-03-31 Doug Evans <dje@google.com>
21587
21588 * gdb.base/print-symbol-loading-lib.c: New file.
21589 * gdb.base/print-symbol-loading-main.c: New file.
21590 * gdb.base/print-symbol-loading.exp: New file.
21591
215922014-03-31 Yao Qi <yao@codesourcery.com>
21593
21594 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21595
215962014-03-28 Joel Brobecker <brobecker@adacore.com>
21597
21598 * gdb.ada/mi_dyn_arr: New testcase.
21599
216002014-03-27 Doug Evans <dje@google.com>
21601
21602 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21603
216042014-03-27 Yao Qi <yao@codesourcery.com>
21605
21606 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21607 if target is nios2-*-*.
21608
216092014-03-26 Yao Qi <yao@codesourcery.com>
21610
21611 * lib/gdb.exp (readline_is_used): New proc.
21612 * gdb.base/completion.exp: Move tests on command complete up.
21613 Skip the rest of tests if readline is not used.
21614 * gdb.ada/complete.exp: Skp the test if readline is not
21615 used.
21616 * gdb.base/filesym.exp: Likewise.
21617 * gdb.base/macscp.exp: Likewise.
21618 * gdb.base/readline-ask.exp: Likewise.
21619 * gdb.base/readline.exp: Likewise.
21620 * gdb.python/py-cmd.exp: Likewise.
21621 * gdb.trace/tfile.exp: Likewise.
21622
216232014-03-26 Yao Qi <yao@codesourcery.com>
21624
21625 * gdb.base/macscp.exp: Fix code format issues.
21626
216272014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21628
21629 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21630 * gdb.asm/powerpc64le.inc: New file.
21631
216322014-03-25 Pedro Alves <palves@redhat.com>
21633 Doug Evans <dje@google.com>
21634
21635 * gdb.base/source-execution.c: New file.
21636 * gdb.base/source-execution.exp: New file.
21637 * gdb.base/source-execution.gdb: New file.
21638
216392014-03-24 Doug Evans <dje@google.com>
21640
21641 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21642 using fission.
21643
216442014-03-24 Hui Zhu <hui@codesourcery.com>
21645 Pedro Alves <palves@redhat.com>
21646
21647 PR breakpoints/16101
21648 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21649 test pass/fail messages. Detect missing support for dprintf when
21650 breakpoints are actually inserted.
21651 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21652 breakpoints are actually inserted.
21653 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21654 fails.
21655
216562014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21657
21658 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21659
216602014-03-22 Doug Evans <xdje42@gmail.com>
21661
21662 * gdb.python/python.exp (python not supported): Verify multi-line
21663 python command issues an error.
21664 * gdb.guile/guile.exp (guile not supported): Verify multi-line
21665 guile command issues an error.
21666
216672014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21668
21669 * gdb.threads/thread-specific.exp: Handle the lack of usable
21670 $this_breakpoint and $this_thread.
21671
216722014-03-21 Hui Zhu <hui@codesourcery.com>
21673
21674 * gdb.base/attach.exp (do_command_attach_tests): New.
21675
216762014-03-20 Tom Tromey <tromey@redhat.com>
21677 Pedro Alves <palves@redhat.com>
21678
21679 PR cli/15718
21680 * gdb.base/condbreak-call-false.c: New file.
21681 * gdb.base/condbreak-call-false.exp: New file.
21682
216832014-03-20 Pedro Alves <palves@redhat.com>
21684
21685 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21686 Delete.
21687 (block_signals, unblock_signals): Delete.
21688 (child_function_2, main): Remove references to deleted variable
21689 and functions.
21690
216912014-03-20 Pedro Alves <palves@redhat.com>
21692
21693 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21694 Use pthread_kill to signal thread 2.
21695 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21696 Adjust to make the test send itself a signal rather than using the
21697 host's "kill" command.
21698
216992014-03-20 Pedro Alves <palves@redhat.com>
21700
21701 * gdb.threads/multiple-step-overs.c: New file.
21702 * gdb.threads/multiple-step-overs.exp: New file.
21703 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21704 Adjust expected infrun debug output.
21705
217062014-03-20 Pedro Alves <palves@redhat.com>
21707
21708 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21709 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21710
217112014-03-20 Pedro Alves <palves@redhat.com>
21712
21713 PR breakpoints/7143
21714 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21715 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21716 of gdb_test_multiple.
21717 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21718 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21719
217202014-03-20 Pedro Alves <palves@redhat.com>
21721
21722 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21723 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21724
217252014-03-19 Pedro Alves <palves@redhat.com>
21726
21727 * gdb.base/async.exp: Remove early return.
21728
217292014-03-19 Pedro Alves <palves@redhat.com>
21730
21731 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21732
217332014-03-19 Pedro Alves <palves@redhat.com>
21734
21735 * gdb.base/async.exp (test_background): Expect \r\n after
21736 "completed." in the fail pattern.
21737
217382014-03-19 Pedro Alves <palves@redhat.com>
21739
21740 * gdb.base/async.exp (test_background): New procedure.
21741 Use it for all background execution command tests.
21742
217432014-03-19 Pedro Alves <palves@redhat.com>
21744
21745 * gdb.base/async.exp: Use prepare_for_testing.
21746
217472014-03-19 Pedro Alves <palves@redhat.com>
21748
21749 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21750 the same line.
21751
217522014-03-19 Pedro Alves <palves@redhat.com>
21753
21754 * gdb.base/async.c (main): Add "jump here" and "until here" line
21755 marker comments.
21756 * gdb.base/async.exp (jump_here): New global.
21757 (jump& test): Use it.
21758 (until_here): New global.
21759 (until& test): Use it.
21760
217612014-03-19 Pedro Alves <palves@redhat.com>
21762
21763 * gdb.base/async.exp: Don't frob gdb_protocol.
21764
217652014-03-18 Doug Evans <xdje42@gmail.com>
21766
21767 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21768 Fix spelling of exec-done-display.
21769
217702014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21771
21772 PR gdb/15358
21773 * gdb.base/gdb-sigterm.c: New file.
21774 * gdb.base/gdb-sigterm.exp: New file.
21775
217762014-03-18 Pedro Alves <palves@redhat.com>
21777
21778 PR gdb/13860
21779 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21780 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21781 solib-event.
21782
217832014-03-17 Joel Brobecker <brobecker@adacore.com>
21784
21785 * gdb.ada/pckd_arr_ren: New testcase.
21786
217872014-03-13 Doug Evans <xdje42@gmail.com>
21788
21789 PR guile/16612
21790 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21791 collect after discarding symbols.
21792
217932014-03-13 Ludovic Courtès <ludo@gnu.org>
21794 Doug Evans <xdje42@gmail.com>
21795
21796 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21797 to history survives a gc.
21798
217992014-03-13 Pedro Alves <palves@redhat.com>
21800
21801 * gdb.base/default.exp: Don't test "target procfs".
21802
218032014-03-13 Pedro Alves <palves@redhat.com>
21804
21805 * gdb.base/default.exp: Update "target child" and "target procfs"
21806 tests to not expect "Unix".
21807
218082014-03-12 Tom Tromey <tromey@redhat.com>
21809
21810 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21811 New procs. Add target-async tests.
21812 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21813 Add target-async tests.
21814
218152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21816
21817 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21818 'func_start' and 'func_end' for the beginning and end of the
21819 function code, respectively.
21820 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21821 'func_end' instead of 'func' and 'main'.
21822
218232014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21824
21825 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21826 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21827 generate the debug info assembler source.
21828
218292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21830
21831 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21832 * gdb.dwarf2/arr-subrange.exp: Likewise.
21833 * gdb.dwarf2/dwz.exp: Likewise.
21834 * gdb.dwarf2/method-ptr.exp: Likewise.
21835 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21836 * gdb.dwarf2/subrange.exp: Likewise.
21837 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21838 * gdb.dwarf2/implptrpiece.exp: Likewise.
21839 * gdb.dwarf2/nostaticblock.exp: Likewise.
21840
218412014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21842
21843 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21844 directory to absolute path name arguments.
21845
218462014-03-10 Joel Brobecker <brobecker@adacore.com>
21847
21848 * gdb.ada/tagged_access: New testcase.
21849
218502014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21851
21852 * gdb.btrace/data.exp: Update expected output.
21853
218542014-03-06 Yao Qi <yao@codesourcery.com>
21855
21856 * gdb.trace/pr16508.exp: New file.
21857
218582014-03-05 Pedro Alves <palves@redhat.com>
21859
21860 PR gdb/16575
21861 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21862 procedure.
21863 (top level): Adjust to use it. Add tests that exercise breakpoint
21864 interaction with the code-cache.
21865
218662014-02-26 Ludovic Courtès <ludo@gnu.org>
21867
21868 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21869 test for 'history-append!'.
21870
218712014-02-26 Joel Brobecker <brobecker@adacore.com>
21872
21873 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21874 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21875 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21876 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21877 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21878 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21879
218802014-02-26 Joel Brobecker <brobecker@adacore.com>
21881
21882 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21883 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21884 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21885
218862014-02-26 Joel Brobecker <brobecker@adacore.com>
21887
21888 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21889
218902014-02-26 Joel Brobecker <brobecker@adacore.com>
21891
21892 * gdb.dwarf2/arr-stride.c: New file.
21893 * gdb.dwarf2/arr-stride.exp: New file.
21894
218952014-02-26 Pedro Alves <palves@redhat.com>
21896
21897 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21898 that won't ever trigger. Make sure that GDB reports the correct
21899 breakpoint that caused the stop.
21900
219012014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21902
21903 PR gdb/16626
21904 * gdb.base/auto-load-script: New file.
21905 * gdb.base/auto-load.c: New file.
21906 * gdb.base/auto-load.exp: New file.
21907
21908 PR gdb/16626
21909 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21910
219112014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21912
21913 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21914 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21915
219162014-02-24 Doug Evans <dje@google.com>
21917
21918 * lib/gdb.exp (run_on_host): Log error output if program fails.
21919
219202014-02-21 Pedro Alves <palves@redhat.com>
21921
21922 * gdb.threads/step-after-sr-lock.c: Rename to ...
21923 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21924 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21925 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21926 ... this.
21927
219282014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21929
21930 PR tdep/16397
21931 * gdb.arch/amd64-stap-special-operands.exp: New file.
21932 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21933 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21934 * gdb.arch/amd64-stap-triplet.S: Likewise.
21935 * gdb.arch/amd64-stap-triplet.c: Likewise.
21936
219372014-02-20 Joel Brobecker <brobecker@adacore.com>
21938
21939 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21940 in .section pseudo-op.
21941
219422014-02-20 lin zuojian <manjian2006@gmail.com>
21943 Joel Brobecker <brobecker@adacore.com>
21944 Doug Evans <xdje42@gmail.com>
21945
21946 PR symtab/16581
21947 * gdb.dwarf2/dw2-icycle.S: New file.
21948 * gdb.dwarf2/dw2-icycle.c: New file.
21949 * gdb.dwarf2/dw2-icycle.exp: New file.
21950
219512014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21952
21953 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21954 operations on gdb.Value objects.
21955 * gdb.python/py-value-cc.exp: Add new test to test operations on
21956 gdb.Value objects.
21957
219582014-02-18 Doug Evans <dje@google.com>
21959
21960 * Makefile.in (TESTS): New variable.
21961 (expanded_tests, expanded_tests_or_none): New variables
21962 (check-single): Pass $(expanded_tests_or_none) to runtest.
21963 (check-parallel): Only run tests in $(TESTS) if non-empty.
21964 (check/no-matching-tests-found): New rule.
21965 * README: Document TESTS makefile variable.
21966
219672014-02-18 Doug Evans <dje@google.com>
21968
21969 * Makefile.in (check-parallel): rm -rf outputs temp.
21970
219712014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21972
21973 Fix "ERROR: no fileid for" in the testsuite.
21974 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21975
219762014-02-12 Doug Evans <dje@google.com>
21977
21978 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21979 (MISCELLANEOUS): New variable.
21980 (clean): rm -rf $(MISCELLANEOUS).
21981 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21982 dwp live in the same directory as symlinks, with each symlink pointed
21983 to a differently named file in a different directory.
21984
219852014-02-11 Doug Evans <dje@google.com>
21986
21987 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21988 of Tcl file commands.
21989
219902014-02-10 Mark Kettenis <kettenis@gnu.org>
21991
21992 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21993 "kill -SIGUSR1 -1".
21994
219952014-02-10 Joel Brobecker <brobecker@adacore.com>
21996
21997 * gdb.ada/tick_length_array_enum_idx: New testcase.
21998
219992014-02-10 Doug Evans <xdje42@gmail.com>
22000
22001 * configure.ac (AC_OUTPUT): Add gdb.guile.
22002 * configure: Regenerate.
22003 * lib/gdb-guile.exp: New file.
22004 * lib/gdb.exp (get_target_charset): New function.
22005 * gdb.base/help.exp: Update expected output from "apropos apropos".
22006 * gdb.guile/Makefile.in: New file.
22007 * gdb.guile/guile.exp: New file.
22008 * gdb.guile/scm-arch.c: New file.
22009 * gdb.guile/scm-arch.exp: New file.
22010 * gdb.guile/scm-block.c: New file.
22011 * gdb.guile/scm-block.exp: New file.
22012 * gdb.guile/scm-breakpoint.c: New file.
22013 * gdb.guile/scm-breakpoint.exp: New file.
22014 * gdb.guile/scm-disasm.c: New file.
22015 * gdb.guile/scm-disasm.exp: New file.
22016 * gdb.guile/scm-equal.c: New file.
22017 * gdb.guile/scm-equal.exp: New file.
22018 * gdb.guile/scm-error.exp: New file.
22019 * gdb.guile/scm-error.scm: New file.
22020 * gdb.guile/scm-frame-args.c: New file.
22021 * gdb.guile/scm-frame-args.exp: New file.
22022 * gdb.guile/scm-frame-args.scm: New file.
22023 * gdb.guile/scm-frame-inline.c: New file.
22024 * gdb.guile/scm-frame-inline.exp: New file.
22025 * gdb.guile/scm-frame.c: New file.
22026 * gdb.guile/scm-frame.exp: New file.
22027 * gdb.guile/scm-generics.exp: New file.
22028 * gdb.guile/scm-gsmob.exp: New file.
22029 * gdb.guile/scm-iterator.c: New file.
22030 * gdb.guile/scm-iterator.exp: New file.
22031 * gdb.guile/scm-math.c: New file.
22032 * gdb.guile/scm-math.exp: New file.
22033 * gdb.guile/scm-objfile-script-gdb.in: New file.
22034 * gdb.guile/scm-objfile-script.c: New file.
22035 * gdb.guile/scm-objfile-script.exp: New file.
22036 * gdb.guile/scm-objfile.c: New file.
22037 * gdb.guile/scm-objfile.exp: New file.
22038 * gdb.guile/scm-ports.exp: New file.
22039 * gdb.guile/scm-pretty-print.c: New file.
22040 * gdb.guile/scm-pretty-print.exp: New file.
22041 * gdb.guile/scm-pretty-print.scm: New file.
22042 * gdb.guile/scm-section-script.c: New file.
22043 * gdb.guile/scm-section-script.exp: New file.
22044 * gdb.guile/scm-section-script.scm: New file.
22045 * gdb.guile/scm-symbol.c: New file.
22046 * gdb.guile/scm-symbol.exp: New file.
22047 * gdb.guile/scm-symtab-2.c: New file.
22048 * gdb.guile/scm-symtab.c: New file.
22049 * gdb.guile/scm-symtab.exp: New file.
22050 * gdb.guile/scm-type.c: New file.
22051 * gdb.guile/scm-type.exp: New file.
22052 * gdb.guile/scm-value-cc.cc: New file.
22053 * gdb.guile/scm-value-cc.exp: New file.
22054 * gdb.guile/scm-value.c: New file.
22055 * gdb.guile/scm-value.exp: New file.
22056 * gdb.guile/source2.scm: New file.
22057 * gdb.guile/types-module.cc: New file.
22058 * gdb.guile/types-module.exp: New file.
22059
220602014-02-10 Yao Qi <yao@codesourcery.com>
22061
22062 PR testsuite/16543
22063 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22064 * configure: Regenerated.
22065 * Makefile.in: New file.
22066
220672014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22068
22069 * gdb.python/py-framefilter.exp: Fix typo.
22070
220712014-02-08 Yao Qi <yao@codesourcery.com>
22072
22073 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22074 that no =breakpoint-modified is emitted when breakpoints are
22075 modified through MI commands.
22076
220772014-02-07 Pedro Alves <pedro@codesourcery.com>
22078 Pedro Alves <palves@redhat.com>
22079
22080 * gdb.threads/step-after-sr-lock.c: New file.
22081 * gdb.threads/step-after-sr-lock.exp: New file.
22082
220832014-02-07 Pedro Alves <palves@redhat.com>
22084
22085 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22086
220872014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22088
22089 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22090 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22091
220922014-02-06 Doug Evans <xdje42@gmail.com>
22093
22094 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22095 output.
22096
22097 * gdb.gdb/python-interrupts.exp: New file.
22098
220992014-02-05 Yao Qi <yao@codesourcery.com>
22100
22101 * gdb.trace/report.exp (use_collected_data): Test the output
22102 of "info threads" and "info inferiors".
22103
221042014-02-05 Yao Qi <yao@codesourcery.com>
22105
22106 Revert this patch:
22107
22108 2013-05-24 Yao Qi <yao@codesourcery.com>
22109
22110 * gdb.trace/tfile.exp: Test inferior and thread.
22111
221122014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22113
22114 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22115 on a function.
22116 * gdb.base/step-bt.c: Call hello via function pointer to make
22117 sure its first instruction is executed on powerpc64le-linux.
22118
221192014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22120
22121 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22122
221232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22124
22125 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22126 of the test patterns for use on little-endian systems.
22127
221282014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22129
22130 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22131 (decimal_vector): Fix for little-endian.
22132
221332014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22134
22135 * gdb.arch/sparc-sysstep.exp: New file.
22136 * gdb.arch/sparc-sysstep.c: Likewise.
22137
22138 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22139
221402014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22141
22142 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22143
221442014-01-23 Tom Tromey <tromey@redhat.com>
22145
22146 * gdb.ada/array_char_idx: New testcase.
22147
221482014-01-23 Tom Tromey <tromey@redhat.com>
22149
22150 PR python/16487:
22151 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22152 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22153 classes.
22154
221552014-01-23 Tom Tromey <tromey@redhat.com>
22156
22157 PR python/16491:
22158 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22159 string from an inferior frame.
22160 * gdb.python/py-framefilter-mi.exp: Update.
22161
221622014-01-22 Doug Evans <dje@google.com>
22163
22164 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22165
221662014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22167
22168 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22169
221702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22171
22172 * gdb.trace/entry-values.exp: Remove excess space character from
22173 regex patterns. Handle s390 call instruction.
22174
221752014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22176
22177 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22178 define "*_start" label. Make "name" static.
22179 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22180 ${name} by references to ${name}_start.
22181
221822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22183
22184 * gdb.base/info-macros.exp: Remove "debug" from the compile
22185 options.
22186
221872014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22188
22189 * gdb.dlang/demangle.exp: New file.
22190
221912014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22192
22193 * gdb.dlang/primitive-types.exp: New file.
22194
221952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22196
22197 * configure.ac: Create gdb.dlang/Makefile.
22198 * configure: Regenerate.
22199 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22200 * gdb.dlang/Makefile.in: New file.
22201 * lib/d-support.exp: New file.
22202 * lib/gdb.exp (skip_d_tests): New proc.
22203
222042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22205
22206 * gdb.btrace/delta.exp: Check reverse stepi.
22207 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22208 * gdb.btrace/finish.exp: New.
22209 * gdb.btrace/next.exp: New.
22210 * gdb.btrace/nexti.exp: New.
22211 * gdb.btrace/record_goto.c: Add comments.
22212 * gdb.btrace/step.exp: New.
22213 * gdb.btrace/stepi.exp: New.
22214 * gdb.btrace/multi-thread-step.c: New.
22215 * gdb.btrace/multi-thread-step.exp: New.
22216 * gdb.btrace/rn-dl-bind.c: New.
22217 * gdb.btrace/rn-dl-bind.exp: New.
22218 * gdb.btrace/data.c: New.
22219 * gdb.btrace/data.exp: New.
22220 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22221
222222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22223
22224 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22225 * gdb.btrace/exception.exp: Update.
22226 * gdb.btrace/instruction_history.exp: Update.
22227 * gdb.btrace/record_goto.exp: Update.
22228 * gdb.btrace/tailcall.exp: Update.
22229 * gdb.btrace/unknown_functions.exp: Update.
22230 * gdb.btrace/delta.exp: New.
22231
222322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22233
22234 * gdb.btrace/record_goto.exp: Add backtrace test.
22235 * gdb.btrace/tailcall.exp: Add backtrace test.
22236
222372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22238
22239 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22240 * gdb.btrace/record_goto.c: New.
22241 * gdb.btrace/record_goto.exp: New.
22242 * gdb.btrace/x86-record_goto.S: New.
22243
222442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22245
22246 * gdb.btrace/function_call_history.exp: Update tests.
22247 * gdb.btrace/instruction_history.exp: Update tests.
22248
222492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22250
22251 * gdb.btrace/function_call_history.exp: Fix expected field
22252 order for "record function-call-history".
22253 Add new tests for "record function-call-history /c".
22254 * gdb.btrace/exception.cc: New.
22255 * gdb.btrace/exception.exp: New.
22256 * gdb.btrace/tailcall.exp: New.
22257 * gdb.btrace/x86-tailcall.S: New.
22258 * gdb.btrace/x86-tailcall.c: New.
22259 * gdb.btrace/unknown_functions.c: New.
22260 * gdb.btrace/unknown_functions.exp: New.
22261 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22262
222632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22264
22265 * gdb.btrace/instruction_history.exp: Update.
22266 * gdb.btrace/function_call_history.exp: Update.
22267
222682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22269
22270 * gdb.btrace/function_call_history.exp: Fix expected function
22271 trace.
22272 * gdb.btrace/instruction_history.exp: Initialize traced.
22273 Remove traced_functions.
22274
222752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22276
22277 * gdb.btrace/function_call_history.exp: Update
22278 * gdb.btrace/instruction_history.exp: Update.
22279
222802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22281
22282 * gdb.btrace/enable.exp: Update expected text.
22283
222842014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22285
22286 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22287 bytes.
22288
222892014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22290
22291 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22292
222932014-01-15 Omair Javaid <omair.javaid@linaro.org>
22294
22295 * lib/gdb.exp (supports_process_record): Return true for
22296 arm*-linux*. (supports_reverse): Likewise.
22297
222982014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22299
22300 PR python/15464
22301 PR python/16113
22302 * gdb.python/py-type.c: Enhance test case.
22303 * gdb.python/py-value-cc.cc: Likewise
22304 * gdb.python/py-type.exp: Add new tests.
22305 * gdb.python/py-value-cc.exp: Likewise
22306
223072014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22308 Pedro Alves <palves@redhat.com>
22309
22310 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22311 Make "name" extern.
22312 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22313 references to ${name}_start by references to ${name}.
22314
223152014-01-10 Joel Brobecker <brobecker@adacore.com>
22316
22317 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22318
223192014-01-10 Joel Brobecker <brobecker@adacore.com>
22320
22321 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22322
223232014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22324 Pedro Alves <palves@redhat.com>
22325
22326 * gdb.mi/mi-info-os.exp: Connect to the target with
22327 mi_gdb_target_load.
22328
223292014-01-08 Pedro Alves <palves@redhat.com>
22330
22331 * gdb.threads/reconnect-signal.c: New file.
22332 * gdb.threads/reconnect-signal.exp: New file.
22333
223342014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22335
22336 * gdb.base/source-dir.exp: New file.
22337
223382014-01-07 Joel Brobecker <brobecker@adacore.com>
22339
22340 * gdb.ada/mi_interface: New testcase.
22341
223422014-01-07 Joel Brobecker <brobecker@adacore.com>
22343
22344 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22345 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22346 gdb.ada/pp-rec-component/pck.ads: New files.
22347
223482014-01-07 Joel Brobecker <brobecker@adacore.com>
22349
22350 * gdb.python/py-pp-integral.c: New file.
22351 * gdb.python/py-pp-integral.py: New file.
22352 * gdb.python/py-pp-integral.exp: New file.
22353
22354For older changes see ChangeLog-1993-2013.
22355\f
22356;; Local Variables:
22357;; mode: change-log
22358;; left-margin: 8
22359;; fill-column: 74
22360;; version-control: never
22361;; End:
22362
22363 Copyright 2014-2020 Free Software Foundation, Inc.
22364 Copying and distribution of this file, with or without modification,
22365 are permitted provided the copyright notice and this notice are preserved.