]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix gdb.reverse/insn-reverse-x86.c for -m32
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
a1499830
TV
12020-12-04 Tom de Vries <tdevries@suse.de>
2
3 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
4 __x86_64__.
5
9c027c2f
TV
62020-12-04 Tom de Vries <tdevries@suse.de>
7
8 * gdb.reverse/insn-reverse.c (test_nr): New var.
9 (usage, parse_args): New function.
10 (main): Call parse_args. Only run test for test_nr.
11 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
12 and bail out. Run subtests individually, using an inferior arg
13 specifying the subtest.
14
533b2ae0
AB
152020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
16
17 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
18
e4502042
AB
192020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
20
21 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
22 update test to use this.
23
f55a9a37
SM
242020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
25
26 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
27
0a6155a0
SM
282020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
29
30 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
31 (do_test): Don't use with_test_prefix.
32 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
33 (do_test): Don't use with_test_prefix.
34 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
35 (do_test): Don't use with_test_prefix.
36 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
37 (do_test): Don't use with_test_prefix.
38
4d56d64a
SM
392020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
40
41 * gdb.threads/non-ldr-exit.exp: Fix comment.
42
54e75f29
AB
432020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
44
45 * gdb.xml/maint-xml-dump-03.xml: New file.
46
7ce05d21
TV
472020-11-30 Tom de Vries <tdevries@suse.de>
48
49 PR symtab/26905
50 * gdb.dwarf2/count.exp: Remove kfails.
51
50757f95
TBA
522020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
53
54 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
55 indices.
56
4afa9fd9
JB
572020-11-24 Joel Brobecker <brobecker@adacore.com>
58
59 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
60 the "ptype pck__fp1_range_var" test for the module-2 and pascal
61 languages. Remove the associated setup_xfail.
62
15a491af
SM
632020-11-23 Simon Marchi <simon.marchi@efficios.com>
64
65 * lib/gdb.exp (gdb_assert): Show error message on error.
66
891615f0
TV
672020-11-23 Tom de Vries <tdevries@suse.de>
68
69 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
70 * gdb.ada/mod_from_name.exp: Same.
71 * gdb.ada/pckd_arr_ren.exp: Same.
72
19922582
SM
732020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
74
75 * gdb.base/template.exp: New.
76 * gdb.base/template.c: New.
77
117c628d
GB
782020-11-22 Gary Benson <gbenson@redhat.com>
79
80 PR gdb/26905
81 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
82 is defined using a DW_AT_count which references another DIE.
83
da39d3ba
TV
842020-11-21 Tom de Vries <tdevries@suse.de>
85
86 * gdb.base/vla-ptr.exp: Add XFAIL.
87
a5c641b5
AB
882020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
89
90 * gdb.fortran/array-slices-bad.exp: New file.
91 * gdb.fortran/array-slices-bad.f90: New file.
92 * gdb.fortran/array-slices-sub-slices.exp: New file.
93 * gdb.fortran/array-slices-sub-slices.f90: New file.
94 * gdb.fortran/array-slices.exp: Rewrite tests.
95 * gdb.fortran/array-slices.f90: Rewrite tests.
96 * gdb.fortran/vla-sizeof.exp: Correct expected results.
97
a15a5258
AB
982020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
99
100 * gdb.base/completion.exp: Add new completion tests.
101
7cb2893d
SM
1022020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
103
104 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
105 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
106 * gdb.mi/mi-nsintrall.exp: Likewise.
107 * gdb.mi/mi-nsmoribund.exp: Likewise.
108 * gdb.mi/mi-nsthrexec.exp: Likewise.
109 * gdb.mi/mi-watch-nonstop.exp: Likewise.
110
cf144ec8
SM
1112020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
112
113 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
114 of perror.
115
6b6a3e05
JM
1162020-11-18 Joseph Myers <joseph@codesourcery.com>
117
118 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
119 $arg.exe exists but $arg does not.
120
811bdca0
GB
1212020-11-17 Gary Benson <gbenson@redhat.com>
122
123 * gdb.trace/trace-common.h (x86_trace_dummy): Add
124 __attribute__ ((used)).
125
c72e3136
AB
1262020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
129
037d7135
AB
1302020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * gdb.base/completion.exp: Add new tests.
133
119e99bb
TT
1342020-11-16 Tom Tromey <tromey@adacore.com>
135
136 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
137 tests.
138
b74dbc20
JB
1392020-11-15 Joel Brobecker <brobecker@adacore.com>
140
141 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
142 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
143 (main): Add reference to pck__fp1_var2.
144 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
145
0a12719e
JB
1462020-11-15 Joel Brobecker <brobecker@adacore.com>
147
148 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
149
0c9150e4
JB
1502020-11-15 Joel Brobecker <brobecker@adacore.com>
151
152 * gdb.ada/fixed_points.exp: Add ptype tests.
153 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
154
b26daff9
JB
1552020-11-15 Joel Brobecker <brobecker@adacore.com>
156
157 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
158
09584414
JB
1592020-11-15 Joel Brobecker <brobecker@adacore.com>
160
161 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
162 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
163 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
164 New files.
165 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
166
167 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
168 New files.
169
9dd02fc0
AB
1702020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
171
172 PR cli/26879
173 * gdb.fortran/completion.exp: New file.
174 * gdb.fortran/completion.f90: New file.
175
5643c500
JM
1762020-11-12 Joseph Myers <joseph@codesourcery.com>
177
178 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
179 but $arg does not.
180
7bea47f0
AB
1812020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
182
183 * gdb.fortran/types.exp: Add more tests.
184
1f2624a3
TT
1852020-11-12 Tom Tromey <tom@tromey.com>
186
187 PR rust/26799:
188 * gdb.rust/traits.exp: Remove kfails.
189
9e74f0ae
GB
1902020-11-12 Gary Benson <gbenson@redhat.com>
191
192 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
193 statement.
194
acb994fa
SM
1952020-11-11 Simon Marchi <simon.marchi@efficios.com>
196
197 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
198 always-inserted" axis.
199 (do_test): Add breakpoint_always_inserted parameter.
200
95016fd2
TT
2012020-11-10 Tom Tromey <tromey@adacore.com>
202
203 * gdb.ada/bias.exp: Update.
204 * gdb.ada/bias/bias.adb (X): Change value.
205
83100a74
GB
2062020-11-10 Gary Benson <gbenson@redhat.com>
207
208 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
209 regexp fragment in parentheses to prevent false matching.
210
6ff174a7
GB
2112020-11-10 Gary Benson <gbenson@redhat.com>
212
213 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
214
eb24648c
GB
2152020-11-10 Gary Benson <gbenson@redhat.com>
216
217 * gdb.cp/step-and-next-inline.exp: Only require
218 -gstatement-frontiers when building with GCC.
219 Only setup KFAIL's for GCC issues when using
220 a GCC-built executable.
221
86775fab
AB
2222020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
223
224 * gdb.base/debug-expr.c: Add extra function to allow for an
225 additional test.
226 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
227 to this proc with gdb_test_debug_expr. Add an extra test.
228 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
229 to this proc with gdb_test_debug_expr, give the tests names
230 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
231 calls to this proc with gdb_test_debug_expr, give the tests names
232 * gdb.fortran/debug-expr.exp: New file.
233 * gdb.fortran/debug-expr.f90: New file.
234 * lib/gdb.exp (gdb_test_debug_expr): New proc.
235
a1945bd4
SM
2362020-11-06 Simon Marchi <simon.marchi@efficios.com>
237
238 * lib/dwarf.exp (ranges): Handle "base" and "range" as
239 proceduresu.
240 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
241 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
242 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
243 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
244 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
245 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
246 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
247 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
248
9c91c725
TT
2492020-11-04 Tom Tromey <tromey@adacore.com>
250
251 * gdb.ada/funcall_ref.exp: Update.
252 * gdb.ada/var_rec_arr.exp: Update.
253
8d9fd3a1
TT
2542020-11-04 Tom Tromey <tromey@adacore.com>
255
256 * gdb.ada/rec_ptype.exp: New file.
257 * gdb.ada/rec_ptype/main.adb: New file.
258 * gdb.ada/rec_ptype/p.ads: New file.
259
d8f62e84
TT
2602020-11-04 Tom Tromey <tromey@adacore.com>
261
262 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
263 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
264 (PT_Full): New variable.
265 * gdb.ada/tick_length_array_enum_idx/pck.adb
266 (Full_PT): New type.
267
7ff5b937
TT
2682020-11-04 Tom Tromey <tromey@adacore.com>
269
270 * gdb.ada/array_of_variant.exp: New file.
271 * gdb.ada/array_of_variant/p.adb: New file.
272 * gdb.ada/array_of_variant/pck.ads: New file.
273 * gdb.ada/array_of_variant/pck.adb: New file.
274
10f6a3ad
TT
2752020-11-04 Tom Tromey <tromey@adacore.com>
276
277 * gdb.ada/enum_idx_packed.exp: Add test.
278 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
279 New variable.
280 * gdb.ada/enum_idx_packed/pck.ads (Short)
281 (Multi_Dimension, Multi_Dimension_Access): New types.
282
b72795a8
TT
2832020-11-04 Tom Tromey <tromey@adacore.com>
284
285 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
286
24aa1b02
TT
2872020-11-04 Tom Tromey <tromey@adacore.com>
288
289 * gdb.ada/set_pckd_arr_elt.exp: Also test
290 -fgnat-encodings=minimal. Add tests.
291 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
292 Call Update_Small a second time.
293 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
294 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
295 (Variant_Access): New types.
296 (New_Variant): Declare.
297
c9a28cbe
TT
2982020-11-04 Tom Tromey <tromey@adacore.com>
299
300 * gdb.ada/mod_from_name.exp: Test printing slice.
301
57567375
TT
3022020-11-04 Tom Tromey <tromey@adacore.com>
303
304 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
305 values.
306 * gdb.ada/access_to_unbounded_array.exp: Test different
307 -fgnat-encodings values.
308 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
309 values.
310 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
311 values.
312 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
313 values.
314 * gdb.ada/array_of_variable_length.exp: Test different
315 -fgnat-encodings values.
316 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
317 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
318 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
319 change.
320 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
321 values.
322 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
323 * gdb.ada/out_of_line_in_inlined.exp: Test different
324 -fgnat-encodings values.
325 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
326 values.
327 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
328 values.
329 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
330 -fgnat-encodings values.
331 * gdb.ada/variant_record_packed_array.exp: Test different
332 -fgnat-encodings values.
333
a7400e44
TT
3342020-11-04 Tom Tromey <tromey@adacore.com>
335
336 * gdb.ada/enum_idx_packed.exp: Add tests.
337 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
338 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
339 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
340 declarations.
341
c40907bf
TV
3422020-11-03 Tom de Vries <tdevries@suse.de>
343
344 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
345 terminator comments.
346 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
347 terminator.
348
f468977a
SM
3492020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
350
351 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
352 integer format test with regexp.
353
1c2bec19
GB
3542020-11-02 Gary Benson <gbenson@redhat.com>
355
356 * gdb.base/print-file-var.exp (test): Separate compiler and
357 linker options, and build using build_executable_from_specs
358 to accommodate this.
359
6539a36d
GB
3602020-11-02 Gary Benson <gbenson@redhat.com>
361
362 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
363 for .c files compiled as C++ with Clang if any shared
364 libraries are specified.
365
7ea44a51
GB
3662020-11-02 Gary Benson <gbenson@redhat.com>
367
368 * lib/attributes.h: New header.
369 * gdb.base/backtrace.c: Include the above. Replace
370 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
371 * gdb.base/infcall-nested-structs.c: Likewise.
372 * gdb.base/vla-optimized-out.c: Likewise.
373
ab8f783d
TV
3742020-11-02 Tom de Vries <tdevries@suse.de>
375
376 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
377
d77c9224
JB
3782020-11-01 Joel Brobecker <brobecker@adacore.com>
379
380 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
381 System.Min_Int and System.Max_Int with smaller hardcoded
382 constants.
383
0e5b0dd0
SM
3842020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
385
386 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
387 * configure: Re-generate.
388
136821d9
SM
3892020-10-30 Simon Marchi <simon.marchi@efficios.com>
390
391 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
392 expected output.
393
b78b3a29
TBA
3942020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
395
396 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
397 behavior.
398 * gdb.base/paginate-bg-execution.exp: Ditto.
399 * gdb.base/paginate-inferior-exit.exp: Ditto.
400 * gdb.base/double-prompt-target-event-error.c: Remove.
401 * gdb.base/double-prompt-target-event-error.exp: Remove.
402
cfaa8f76
TBA
4032020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
404
405 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
406 inferiors' and 'detach inferiors' do not change the current
407 inferior.
408
0ad0e70c
TV
4092020-10-29 Tom de Vries <tdevries@suse.de>
410
411 * gdb.threads/tls.exp: Fix DUPLICATEs.
412
99cc6b2a
TV
4132020-10-28 Tom de Vries <tdevries@suse.de>
414
415 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
416
efe9b873
TV
4172020-10-28 Tom de Vries <tdevries@suse.de>
418
419 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
420 * gdb.base/reread.exp: Same.
421
6b68fd45
TV
4222020-10-28 Tom de Vries <tdevries@suse.de>
423
424 * lib/gdb.exp (readnow): Handle arg.
425 * gdb.rust/traits.exp: Add KFAILs for -readnow.
426
32a5f98a
TV
4272020-10-28 Tom de Vries <tdevries@suse.de>
428
429 * gdb.base/relocate.exp: Update regexp for -readnow.
430
f93b8760
TV
4312020-10-28 Tom de Vries <tdevries@suse.de>
432
433 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
434 -readnow.
435
1b00ef06
TV
4362020-10-28 Tom de Vries <tdevries@suse.de>
437
438 PR symtab/26772
439 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
440 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
441
364bb903
TV
4422020-10-28 Tom de Vries <tdevries@suse.de>
443
444 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
445 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
446 complaint during file command for -readnow.
447
445a033f
TV
4482020-10-28 Tom de Vries <tdevries@suse.de>
449
450 * gdb.cp/nsalias.exp: Fix typo in test name.
451
fdd67a42
TV
4522020-10-28 Tom de Vries <tdevries@suse.de>
453
454 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
455
706baf4c
TV
4562020-10-28 Tom de Vries <tdevries@suse.de>
457
458 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
459 -readnow.
460
b448cca5
TV
4612020-10-27 Tom de Vries <tdevries@suse.de>
462
463 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
464
5868da03
TV
4652020-10-27 Tom de Vries <tdevries@suse.de>
466
467 * gdb.base/maint.exp: Update for -readnow.
468
06db6ec3
TV
4692020-10-27 Tom de Vries <tdevries@suse.de>
470
471 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
472 -readnow.
473
934a1764
GB
4742020-10-14 Gary Benson <gbenson@redhat.com>
475
476 * gdb.python/py-format-string.exp (test_deref_refs): Treat
477 "_vptr$Base" as correct, in addition to "_vptr.Base".
478 (test_mixed): Likewise.
479
0bf21fbd
GB
4802020-10-27 Gary Benson <gbenson@redhat.com>
481
482 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
483 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
484
b1d4d8d1
TBA
4852020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
486
487 * gdb.base/condbreak.exp: Update the completion tests to
488 consider the '-force' flag.
489
bd24c5d6
TV
4902020-10-27 Tom de Vries <tdevries@suse.de>
491
492 * gdb.base/list-ambiguous-readnow.exp: New file.
493
733d554a
TBA
4942020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
495
496 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
497 the condition.
498 * gdb.linespec/cpcompletion.exp: Update to consider the
499 '-force-condition' keyword.
500 * gdb.linespec/explicit.exp: Ditto.
501 * lib/completion-support.exp: Ditto.
502
b5fa468f
TBA
5032020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
504
505 * gdb.base/condbreak-multi-context.cc: New file.
506 * gdb.base/condbreak-multi-context.exp: New file.
507
b3247276
TT
5082020-10-26 Tom Tromey <tom@tromey.com>
509
510 * lib/mi-support.exp (default_mi_gdb_start): Call
511 gdb_stdin_log_init.
512 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
513 subtract one from gdb_instances.
514 (gdb_stdin_log_write): Flush in_file.
515
1c47ec3e
TV
5162020-10-26 Tom de Vries <tdevries@suse.de>
517
518 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
519
6390859c
TT
5202020-10-26 Tom Tromey <tromey@adacore.com>
521
522 * gdb.ada/unsigned_range/foo.adb: New file.
523 * gdb.ada/unsigned_range/pack.adb: New file.
524 * gdb.ada/unsigned_range/pack.ads: New file.
525 * gdb.ada/unsigned_range.exp: New file.
526
55c3ad88
TV
5272020-10-26 Tom de Vries <tdevries@suse.de>
528
529 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
530
1612c4bb
TV
5312020-10-26 Tom de Vries <tdevries@suse.de>
532
533 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
534 for CU.
535 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
536
7d72802b
TV
5372020-10-23 Tom de Vries <tdevries@suse.de>
538
539 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
540 DW_FORM_string.
541 (Dwarf::_default_form): New proc.
542 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
543 guessed.
544
9476b583
TV
5452020-10-23 Tom de Vries <tdevries@suse.de>
546
547 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
548 * gdb.dwarf2/atomic-type.exp: Same.
549 * gdb.dwarf2/bad-regnum.exp: Same.
550 * gdb.dwarf2/cpp-linkage-name.exp: Same.
551 * gdb.dwarf2/dw2-align.exp: Same.
552 * gdb.dwarf2/dw2-bad-elf.exp: Same.
553 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
554 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
555 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
556 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
557 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
558 * gdb.dwarf2/enum-type.exp: Same.
559 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
560 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
561 * gdb.dwarf2/main-subprogram.exp: Same.
562 * gdb.dwarf2/missing-type-name.exp: Same.
563 * gdb.dwarf2/nonvar-access.exp: Same.
564 * gdb.dwarf2/typedef-void-finish.exp: Same.
565 * gdb.dwarf2/var-access.exp: Same.
566 * gdb.dwarf2/void-type.exp: Same.
567
4a636814
SM
5682020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
569
570 PR gdb/26693
571 * gdb.dwarf2/template-specification-full-name.exp: New test.
572
557fc257
LM
5732020-10-22 Luis Machado <luis.machado@linaro.org>
574
575 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
576 expected an offset from the function.
577 * gdb.base/msym-bp.exp (test): Likewise.
578
6b4c676c
AB
5792020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
580
581 * gdb.fortran/array-slices.exp: Add a new test.
582
98cec4f6
GB
5832020-10-21 Gary Benson <gbenson@redhat.com>
584
585 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
586 fullname test with Clang. Also expand comments generally.
587
ae86f581
TV
5882020-10-20 Tom de Vries <tdevries@suse.de>
589
590 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
591
8c161360
TV
5922020-10-20 Tom de Vries <tdevries@suse.de>
593
594 * gdb.dwarf2/arr-stride.c: Remove.
595 * gdb.dwarf2/arr-stride.exp: Use main.c.
596 * gdb.dwarf2/arr-subrange.c: Remove.
597 * gdb.dwarf2/arr-subrange.exp: Use main.c.
598 * gdb.dwarf2/bad-regnum.c: Remove.
599 * gdb.dwarf2/bad-regnum.exp: Use main.c.
600 * gdb.dwarf2/corrupt.c: Remove.
601 * gdb.dwarf2/corrupt.exp: Use main.c.
602 * gdb.dwarf2/dw2-bad-elf.c: Remove.
603 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
604 * gdb.dwarf2/dw2-icycle.c: Remove.
605 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
606 * gdb.dwarf2/formdata16.c: Remove.
607 * gdb.dwarf2/formdata16.exp: Use main.c.
608 * gdb.dwarf2/implptrconst.c: Remove.
609 * gdb.dwarf2/implptrconst.exp: Use main.c.
610 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
611 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
612 * gdb.dwarf2/opaque-type-lookup.c: Remove.
613 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
614
9c2412ec
TV
6152020-10-20 Tom de Vries <tdevries@suse.de>
616
617 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
618 file.
619 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
620
0cd2ad78
TV
6212020-10-20 Tom de Vries <tdevries@suse.de>
622
623 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
624 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
625 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
626 * gdb.dwarf2/dw2-ranges-base.exp: Same.
627 * gdb.dwarf2/dw2-ranges.exp: Same.
628 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
629 * gdb.dwarf2/var-access.exp: Same.
630
22cc388e
TT
6312020-10-19 Tom Tromey <tromey@adacore.com>
632
633 PR tui/26719
634 * gdb.tui/list.exp: Check source window contents after focus
635 change.
636
520596f2
TV
6372020-10-17 Tom de Vries <tdevries@suse.de>
638
639 PR symtab/26317
640 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
641
d1c8a76d
TV
6422020-10-17 Tom de Vries <tdevries@suse.de>
643
644 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
645 as suffix.
646 * gdb.dwarf2/atomic.c: Rename to ...
647 * gdb.dwarf2/atomic-type.c: ... this.
648 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
649 * gdb.dwarf2/dw2-ranges-2.c: ... this.
650 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
651 * gdb.dwarf2/dw2-ranges-3.c: ... this.
652 * gdb.dwarf2/fission-mix2.c: Rename to ...
653 * gdb.dwarf2/fission-mix-2.c: ... this.
654 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
655 standard_testfile.
656 * gdb.dwarf2/ada-valprint-error.exp: Same.
657 * gdb.dwarf2/arr-stride.exp: Same.
658 * gdb.dwarf2/arr-subrange.exp: Same.
659 * gdb.dwarf2/atomic-type.exp: Same.
660 * gdb.dwarf2/bad-regnum.exp: Same.
661 * gdb.dwarf2/break-inline-psymtab.exp: Same.
662 * gdb.dwarf2/clang-debug-names-2.exp: Same.
663 * gdb.dwarf2/clang-debug-names.exp: Same.
664 * gdb.dwarf2/comp-unit-lang.exp: Same.
665 * gdb.dwarf2/corrupt.exp: Same.
666 * gdb.dwarf2/count.exp: Same.
667 * gdb.dwarf2/cpp-linkage-name.exp: Same.
668 * gdb.dwarf2/data-loc.exp: Same.
669 * gdb.dwarf2/dw2-align.exp: Same.
670 * gdb.dwarf2/dw2-bad-elf.exp: Same.
671 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
672 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
673 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
674 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
675 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
676 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
677 * gdb.dwarf2/dw2-inline-param.exp: Same.
678 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
679 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
680 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
681 * gdb.dwarf2/dw2-is-stmt.exp: Same.
682 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
683 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
684 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
685 * gdb.dwarf2/dw2-param-error.exp: Same.
686 * gdb.dwarf2/dw2-ranges-base.exp: Same.
687 * gdb.dwarf2/dw2-ranges.exp: Same.
688 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
689 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
690 * gdb.dwarf2/dw4-sig-types.exp: Same.
691 * gdb.dwarf2/dynarr-ptr.exp: Same.
692 * gdb.dwarf2/enum-type.exp: Same.
693 * gdb.dwarf2/fission-mix.exp: Same.
694 * gdb.dwarf2/formdata16.exp: Same.
695 * gdb.dwarf2/implptrconst.exp: Same.
696 * gdb.dwarf2/implptrpiece.exp: Same.
697 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
698 * gdb.dwarf2/main-subprogram.exp: Same.
699 * gdb.dwarf2/method-ptr.exp: Same.
700 * gdb.dwarf2/missing-sig-type.exp: Same.
701 * gdb.dwarf2/nonvar-access.exp: Same.
702 * gdb.dwarf2/opaque-type-lookup.exp: Same.
703 * gdb.dwarf2/shortpiece.exp: Same.
704 * gdb.dwarf2/staticvirtual.exp: Same.
705 * gdb.dwarf2/subrange.exp: Same.
706 * gdb.dwarf2/symtab-producer.exp: Same.
707 * gdb.dwarf2/typedef-void-finish.exp: Same.
708 * gdb.dwarf2/var-access.exp: Same.
709 * gdb.dwarf2/variant.exp: Same.
710 * gdb.dwarf2/void-type.exp: Same.
711 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
712 dw2-ranges-main.c.
713 * gdb.dwarf2/dw2-ranges-main.c: Remove.
714
472d09c1
TV
7152020-10-16 Tom de Vries <tdevries@suse.de>
716
717 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
718
afe75f6d
TV
7192020-10-16 Tom de Vries <tdevries@suse.de>
720
721 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
722
8c8bd0ba
TV
7232020-10-14 Tom de Vries <tdevries@suse.de>
724
725 PR testsuite/26732
726 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
727 scenario 2.
728 * gdb.ada/mi_catch_ex_hand.exp: Same.
729
b75d55d4
PA
7302020-10-13 Pedro Alves <pedro@palves.net>
731
732 * lib/mi-support.exp (mi_clean_restart): New.
733 (mi_run_to_main): Delete.
734 All callers adjust to use mi_clean_restart / mi_runto_main.
735
e777225b
PA
7362020-10-13 Pedro Alves <pedro@palves.net>
737
738 * config/monitor.exp: Use "list -q".
739 * gdb.arch/gdb1558.exp: Use "break -q".
740 * gdb.arch/i386-permbkpt.exp: Use "break -q".
741 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
742 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
743 * gdb.base/commands.exp: Use "break -q".
744 * gdb.base/condbreak.exp: Use "break -q".
745 * gdb.base/ctf-ptype.exp: Use "list -q".
746 * gdb.base/define.exp: Use "break -q".
747 * gdb.base/del.exp: Use "break -q".
748 * gdb.base/fullname.exp: Use "break -q".
749 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
750 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
751 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
752 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
753 "hbreak -q".
754 * gdb.base/included.exp: Use "list -q".
755 * gdb.base/label.exp: Use "break -q".
756 * gdb.base/lineinc.exp: Use "break -q".
757 * gdb.base/list.exp: Use "list -q".
758 * gdb.base/macscp.exp: Use "list -q".
759 * gdb.base/pending.exp: Use "break -q".
760 * gdb.base/prologue-include.exp: Use "break -q".
761 * gdb.base/ptype.exp: Use "list -q".
762 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
763 * gdb.base/server-del-break.exp: Use "break -q".
764 * gdb.base/style.exp: Use "break -q".
765 * gdb.base/symbol-without-target_section.exp: Use "list -q".
766 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
767 * gdb.cp/exception.exp: Use "tbreak -q".
768 * gdb.dwarf2/dw2-error.exp: Use "break -q".
769 * gdb.dwarf2/fission-mix.exp: Use "break -q".
770 * gdb.dwarf2/fission-reread.exp: Use "break -q".
771 * gdb.dwarf2/pr13961.exp: Use "break -q".
772 * gdb.linespec/explicit.exp: Use "list -q".
773 * gdb.linespec/linespec.exp: Use "break -q".
774 * gdb.mi/mi-simplerun.exp: Use "--qualified".
775 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
776 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
777 * gdb.server/connect-without-multi-process.exp: Use "break -q".
778 * gdb.trace/change-loc.exp: Use "break -q".
779 * gdb.trace/pending.exp: Use "break -q".
780 * gdb.tui/basic.exp: Use "list -q".
781 * gdb.tui/list-before.exp: Use "list -q".
782 * gdb.tui/list.exp: Use "list -q".
783 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
784
8abd8ee8
PA
7852020-10-13 Pedro Alves <pedro@palves.net>
786
787 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
788 saved breakpoints file.
789 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
790 inspecting breakpoint list.
791 * lib/gdb.exp (runto_main): Add "qualified" to options.
792 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
793 and handle it.
794 (mi_runto_main): Pass 1 as qualified argument.
795
f71e6719
PA
7962020-10-13 Pedro Alves <pedro@palves.net>
797
798 * lib/mi-support.exp (mi_runto_main): New proc.
799 (mi_run_to_main): Use it.
800 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
801 * gdb.mi/mi-var-cmd.exp: Likewise.
802 * gdb.mi/mi-var-invalidate.exp: Likewise.
803 * mi-var-list-children-invalid-grandchild.exp: Likewise.
804 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
805 * gdb.mi/new-ui-mi-sync.exp: Likewise.
806 * gdb.mi/user-selected-context-sync.exp: Likewise.
807 * gdb.opt/inline-cmds.exp: Likewise.
808 * gdb.python/py-framefilter-mi.exp: Likewise.
809 * gdb.python/py-mi.exp: Likewise.
810
50441f0f
PA
8112020-10-13 Pedro Alves <pedro@palves.net>
812
813 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
814 "runto main".
815 * gdb.ada/small_reg_param.exp: Likewise.
816 * gdb.arch/powerpc-d128-regs.exp: Likewise.
817 * gdb.base/annota1.exp: Likewise.
818 * gdb.base/anon.exp: Likewise.
819 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
820 * gdb.base/dprintf-non-stop.exp: Likewise.
821 * gdb.base/dprintf.exp: Likewise.
822 * gdb.base/gdb11530.exp: Likewise.
823 * gdb.base/gdb11531.exp: Likewise.
824 * gdb.base/gnu_vector.exp: Likewise.
825 * gdb.base/interrupt-noterm.exp: Likewise.
826 * gdb.base/memattr.exp: Likewise.
827 * gdb.base/step-over-syscall.exp: Likewise.
828 * gdb.base/watch-cond-infcall.exp: Likewise.
829 * gdb.base/watch-read.exp: Likewise.
830 * gdb.base/watch-vfork.exp: Likewise.
831 * gdb.base/watch_thread_num.exp: Likewise.
832 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
833 * gdb.guile/scm-frame-inline.exp: Likewise.
834 * gdb.linespec/explicit.exp: Likewise.
835 * gdb.opt/inline-break.exp: Likewise.
836 * gdb.python/py-frame-inline.exp: Likewise.
837 * gdb.reverse/break-precsave.exp: Likewise.
838 * gdb.reverse/break-reverse.exp: Likewise.
839 * gdb.reverse/consecutive-precsave.exp: Likewise.
840 * gdb.reverse/consecutive-reverse.exp: Likewise.
841 * gdb.reverse/finish-precsave.exp: Likewise.
842 * gdb.reverse/finish-reverse.exp: Likewise.
843 * gdb.reverse/fstatat-reverse.exp: Likewise.
844 * gdb.reverse/getresuid-reverse.exp: Likewise.
845 * gdb.reverse/i386-precsave.exp: Likewise.
846 * gdb.reverse/i386-reverse.exp: Likewise.
847 * gdb.reverse/i386-sse-reverse.exp: Likewise.
848 * gdb.reverse/i387-env-reverse.exp: Likewise.
849 * gdb.reverse/i387-stack-reverse.exp: Likewise.
850 * gdb.reverse/insn-reverse.exp: Likewise.
851 * gdb.reverse/machinestate-precsave.exp: Likewise.
852 * gdb.reverse/machinestate.exp: Likewise.
853 * gdb.reverse/pipe-reverse.exp: Likewise.
854 * gdb.reverse/readv-reverse.exp: Likewise.
855 * gdb.reverse/recvmsg-reverse.exp: Likewise.
856 * gdb.reverse/rerun-prec.exp: Likewise.
857 * gdb.reverse/s390-mvcle.exp: Likewise.
858 * gdb.reverse/solib-precsave.exp: Likewise.
859 * gdb.reverse/solib-reverse.exp: Likewise.
860 * gdb.reverse/step-precsave.exp: Likewise.
861 * gdb.reverse/step-reverse.exp: Likewise.
862 * gdb.reverse/time-reverse.exp: Likewise.
863 * gdb.reverse/until-precsave.exp: Likewise.
864 * gdb.reverse/until-reverse.exp: Likewise.
865 * gdb.reverse/waitpid-reverse.exp: Likewise.
866 * gdb.reverse/watch-precsave.exp: Likewise.
867 * gdb.reverse/watch-reverse.exp: Likewise.
868 * gdb.threads/kill.exp: Likewise.
869 * gdb.threads/tid-reuse.exp: Likewise.
870
d3a07122
SM
8712020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
872
873 PR gdb/26642
874 * gdb.base/maint-target-async-off.c: New test.
875 * gdb.base/maint-target-async-off.exp: New test.
876
c65c6c42
AM
8772020-10-13 Alan Modra <amodra@gmail.com>
878
879 * gdb.arch/powerpc-altivec.s,
880 * gdb.arch/powerpc-power7.s,
881 * gdb.arch/powerpc-power8.s,
882 * gdb.arch/powerpc-power9.s,
883 * gdb.arch/powerpc-vsx.s,
884 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
885 * gdb.arch/powerpc-altivec.exp,
886 * gdb.arch/powerpc-power7.exp,
887 * gdb.arch/powerpc-power8.exp,
888 * gdb.arch/powerpc-power9.exp,
889 * gdb.arch/powerpc-vsx.exp,
890 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
891 disassembly of mfvsrd/mtvsrd.
892
f4a0f710
AM
8932020-10-13 Alan Modra <amodra@gmail.com>
894
895 * gdb.arch/arm-disassembler-options.exp: Adjust expected
896 "target architecture" output.
897 * gdb.arch/powerpc-d128-regs.exp: Likewise.
898 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
899 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
900 * gdb.arch/s390-disassembler-options.exp: Likewise.
901
87a37e5e
PA
9022020-10-12 Pedro Alves <pedro@palves.net>
903
904 PR exp/26602
905 PR c++/26550
906 * gdb.cp/ambiguous.cc (marker1): Delete.
907 (main): Initialize all the fields of the locals. Replace marker1
908 call with a "set breakpoint here" marker.
909 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
910 instead of running to marker1. Add tests printing all the
911 variables and all the fields of the variables.
912 (test_ambiguous): New proc, expecting the new GDB output when a
913 field access is ambiguous. Change all "warning: X ambiguous"
914 tests to use it.
915
71e1b6b0
GB
9162020-10-12 Gary Benson <gbenson@redhat.com>
917
918 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
919 * gdb.base/msym-bp-2.c (foo): Likewise.
920 * gdb.base/msym-lang.c (foo): Likewise.
921 * gdb.base/msym-lang-main.c (foo): Likewise.
922 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
923 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
924 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
925 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
926 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
927 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
928 * gdb.python/py-objfile.c (static_var): Likewise.
929 * gdb.python/py-symbol.c (rr): Likewise.
930 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
931 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
932
9370fd51
AB
9332020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
934
935 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
936 output of backtrace.
937
7c184d33
TT
9382020-10-09 Tom Tromey <tromey@adacore.com>
939
940 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
941 (Rec): Add field. Fix range.
942 * gdb.ada/scalar_storage.exp: Update.
943
3d87245c
HD
9442020-10-09 Hannes Domani <ssbssa@yahoo.de>
945
946 PR exp/26714
947 * gdb.base/printcmds.exp: Add tests for void results.
948
f5c4b229
JV
9492020-10-09 Jan Vrany <jan.vrany@labware.com>
950
951 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
952 is emmited for both 'set directories' and 'directory' commands.
953
b2701685
TT
9542020-10-08 Tom Tromey <tom@tromey.com>
955
956 * gdb.base/style.exp: Check that "main"'s name is styled.
957
e86efb33
TT
9582020-10-07 Tom Tromey <tromey@adacore.com>
959
960 * gdb.base/find.exp: Rename some tests.
961
30897591
GB
9622020-10-06 Gary Benson <gbenson@redhat.com>
963
964 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
965 * gdb.base/list1.c (unused): Likewise.
966
ced4a4c1
GB
9672020-10-06 Gary Benson <gbenson@redhat.com>
968
969 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
970 __attribute__ ((used)).
971 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
972
ed3bdac4
AB
9732020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
974
975 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
976 make use of regions throughout.
977 * gdb.base/overlays.exp: Enclose string with variableds in "..",
978 not {...}.
979 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
980
cd096ec8
HD
9812020-10-05 Hannes Domani <ssbssa@yahoo.de>
982
983 * gdb.base/call-sc.c: Fix return struct on stack test case.
984 * gdb.base/call-sc.exp: Likewise.
985
3ee6f75d
GB
9862020-10-02 Gary Benson <gbenson@redhat.com>
987
988 * README: Fix "paralell".
989
f65825ec
GB
9902020-09-30 Gary Benson <gbenson@redhat.com>
991
992 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
993 Convert directive to lowercase.
994 (.Labbrev1_begin): Add missing label.
995 (abbrev code 0x1): Remove DW_AT_stmt_list.
996 (.Ldie_b): Likewise.
997
5f278258
TT
9982020-09-27 Tom Tromey <tom@tromey.com>
999
1000 * gdb.tui/new-layout.exp: Use with_test_prefix.
1001
8f9929bb
GR
10022020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1003
1004 PR python/26586
1005 * gdb.python/python.exp: add test cases for the from_tty
1006 argument to gdb.execute.
1007
c20c017b
GB
10082020-09-25 Gary Benson <gbenson@redhat.com>
1009
1010 * gdb.base/infcall-nested-structs.exp.tcl: Add
1011 additional_flags=-Wno-tautological-compare for C++
1012 tests when compiling using Clang.
1013
68d654af
GB
10142020-09-25 Gary Benson <gbenson@redhat.com>
1015
1016 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1017 for .c files.
1018
b551a89f
TT
10192020-09-24 Tom Tromey <tromey@adacore.com>
1020
1021 PR tui/26638:
1022 * gdb.tui/list.exp: Check output of "focus next".
1023
20a5fcbd
TT
10242020-09-23 Tom Tromey <tom@tromey.com>
1025
1026 * gdb.dwarf2/intbits.exp: New file.
1027 * gdb.dwarf2/intbits.c: New file.
1028
b167e53f
PA
10292020-09-20 Pedro Alves <pedro@palves.net>
1030
1031 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1032 spawn_id before calling remote_close. Close secondary MI channel.
1033
dbc49e9f
PA
10342020-09-20 Pedro Alves <pedro@palves.net>
1035
1036 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1037 fails.
1038
c8d5abea
AB
10392020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1040
1041 * gdb.fortran/array-slices.exp: Update expected results.
1042 * gdb.fortran/class-allocatable-array.exp: Likewise.
1043 * gdb.fortran/multi-dim.exp: Likewise.
1044 * gdb.fortran/vla-type.exp: Likewise.
1045 * gdb.mi/mi-vla-fortran.exp: Likewise.
1046
14f9473c
VC
10472020-09-18 Victor Collod <vcollod@nvidia.com>
1048
1049 PR gdb/26635
1050 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1051 compatible with i386, and move it to...
1052 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1053 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1054 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1055
e8ef12b9
PA
10562020-09-18 Pedro Alves <pedro@palves.net>
1057
1058 PR gdb/26631
1059 * gdb.multi/multi-target-thread-find.exp: New file.
1060
e11daf7a
PA
10612020-09-18 Pedro Alves <pedro@palves.net>
1062
1063 * gdb.multi/multi-target-continue.exp: New file, factored out from
1064 multi-target.exp.
1065 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1066 multi-target.exp.
1067 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1068 multi-target.exp.
1069 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1070 multi-target.exp.
1071 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1072 multi-target.exp.
1073 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1074 multi-target.exp.
1075 * gdb.multi/multi-target.exp: Delete.
1076
d0edc2b8
AB
10772020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1078
1079 * gdb.fortran/array-slices.exp: Add missing message data.
1080
7474326c
PA
10812020-09-17 Pedro Alves <pedro@palves.net>
1082
1083 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1084
dd23068d
PA
10852020-09-17 Pedro Alves <pedro@palves.net>
1086
1087 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1088 full prototype.
1089
0640a543
PA
10902020-09-17 Pedro Alves <pedro@palves.net>
1091
1092 * gdb.python/py-as-string.c: Add cast.
1093
ef0cdbc1
PA
10942020-09-17 Pedro Alves <pedro@palves.net>
1095
1096 * gdb.base/sizeof.c (fill): Add cast.
1097
3a5eeb8b
PA
10982020-09-17 Pedro Alves <pedro@palves.net>
1099
1100 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1101
a8129512
PA
11022020-09-17 Pedro Alves <pedro@palves.net>
1103
1104 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1105 linkage name.
1106 * gdb.base/prologue.exp: Use print /d.
1107 * gdb.base/symbol-alias.exp: Handle C++ output.
1108 * gdb.base/symbol-alias2.c: Handle C++ output.
1109 [__cplusplus] (func): Explicitly specify linkage name.
1110
a83cdcb6
PA
11112020-09-17 Pedro Alves <pedro@palves.net>
1112
1113 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1114 (struct my_key_t): ... this. Adjust all references.
1115 (struct value_t): Rename to ...
1116 (struct my_value_t): ... this. Adjust all references.
1117 (create_map, add_map_element, create_map_map)
1118 (add_map_map_element): Add casts.
1119
d4bcee5c
PA
11202020-09-17 Pedro Alves <pedro@palves.net>
1121
1122 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1123 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1124
81f90489
PA
11252020-09-17 Pedro Alves <pedro@palves.net>
1126
1127 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1128
0a229804
PA
11292020-09-17 Pedro Alves <pedro@palves.net>
1130
1131 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1132 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1133 (charfoo, intfoo): Define full prototype.
1134 * gdb.base/ptype1.c (charfoo): Define full prototype.
1135 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1136 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1137
c3e5138d
PA
11382020-09-17 Pedro Alves <pedro@palves.net>
1139
1140 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1141 Don't define.
1142 (utf_32_string): Compile for both C and C++.
1143 * gdb.base/charset.exp: Use "print /d".
1144
151fdbad
PA
11452020-09-17 Pedro Alves <pedro@palves.net>
1146
1147 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1148 (nullptr): Rename to ...
1149 (null_ptr): ... this.
1150 * gdb.base/watchpoint.exp: Adjust to rename.
1151
18a25b64
PA
11522020-09-17 Pedro Alves <pedro@palves.net>
1153
1154 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1155 (three_not_flag): Add casts.
1156
11fac337
PA
11572020-09-17 Pedro Alves <pedro@palves.net>
1158
1159 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1160 char array.
1161 (main): Add references to Barrier, TestStrings, TestStringsH and
1162 TestStringsW.
1163 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1164 and expect a full prototype in C++.
1165
52626c58
PA
11662020-09-17 Pedro Alves <pedro@palves.net>
1167
1168 * gdb.base/nested-addr.c (main): Add cast.
1169 * gdb.base/nested-addr.exp: Use "print /d".
1170
52bb0902
PA
11712020-09-17 Pedro Alves <pedro@palves.net>
1172
1173 * gdb.base/break.exp (func): New. Use it throughout when
1174 expecting a function name.
1175
73e18ac9
PA
11762020-09-17 Pedro Alves <pedro@palves.net>
1177
1178 * gdb.base/display.exp: Issue "set print asm-demangle on".
1179
c8b18808
PA
11802020-09-17 Pedro Alves <pedro@palves.net>
1181
1182 * gdb.base/find.c: Include <string.h>.
1183 (init_bufs): Add cast.
1184 * gdb.base/find.exp: Issue "set print asm-demangle on".
1185
fe830662
TT
11862020-09-16 Tom Tromey <tromey@adacore.com>
1187
1188 PR gdb/26598:
1189 * gdb.base/skipcxx.exp: New file.
1190 * gdb.base/skipcxx.cc: New file.
1191
945ff6e2
TV
11922020-09-16 Tom de Vries <tdevries@suse.de>
1193
1194 PR testsuite/26617
1195 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1196 WITH_DEBUG_SECTIONS is defined.
1197 (xstr, str): New macro.
1198 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1199 to get start and size of _Dmain.
1200 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1201 using additional_flags.
1202
da1df1db
TBA
12032020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1204
1205 * gdb.base/bp-cmds-sourced-script.c: New file.
1206 * gdb.base/bp-cmds-sourced-script.exp: New test.
1207 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1208
337882d4
TV
12092020-09-16 Tom de Vries <tdevries@suse.de>
1210
1211 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1212 get the gdb prompt after issuing "monitor exit".
1213
7361f908
TV
12142020-09-16 Tom de Vries <tdevries@suse.de>
1215
1216 PR testsuite/26624
1217 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1218
4d91ddd3
TV
12192020-09-16 Tom de Vries <tdevries@suse.de>
1220
1221 PR testsuite/26618
1222 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1223
08cc37dd
TT
12242020-09-15 Tom Tromey <tromey@adacore.com>
1225
1226 PR rust/26197:
1227 * lib/rust-support.exp (rust_llvm_version): New proc.
1228 * gdb.rust/simple.exp: Check rust_llvm_version.
1229
ee6372f2
TV
12302020-09-14 Tom de Vries <tdevries@suse.de>
1231
1232 * gdb.rust/traits.exp: Fix PATH warning.
1233
dc3a371e
PA
12342020-09-13 Pedro Alves <pedro@palves.net>
1235
1236 * gdb.base/catch-follow-exec.c (main): Add explicit return
1237 statement.
1238 * gdb.base/catch-signal.c (main): Likewise.
1239 * gdb.base/condbreak-call-false.c (main): Likewise.
1240 * gdb.base/consecutive.c (main): Add explicit return
1241 statement and return type.
1242 * gdb.base/cursal.c (main): Add explicit return statement.
1243 * gdb.base/cvexpr.c (main): Likewise.
1244 * gdb.base/display.c (main): Add explicit return statement and
1245 return type.
1246 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
1247 * gdb.base/endianity.c (main): Likewise.
1248 * gdb.base/execd-prog.c (main): Likewise.
1249 * gdb.base/gdb1090.c (main): Likewise.
1250 * gdb.base/info_qt.c (main): Likewise.
1251 * gdb.base/lineinc.c (main): Likewise.
1252 * gdb.base/load-command.c (main): Likewise.
1253 * gdb.base/macscp1.c (main): Likewise.
1254 * gdb.base/pr10179-a.c (main): Likewise.
1255 * gdb.base/quit-live.c (main): Likewise.
1256 * gdb.base/scope0.c (main): Likewise.
1257 * gdb.base/settings.c (main): Likewise.
1258 * gdb.base/stack-checking.c (main): Return int.
1259 * gdb.base/varargs.c (main): Add explicit return statement.
1260 * gdb.cp/ambiguous.cc (main): Likewise.
1261 * gdb.cp/anon-struct.cc (main): Likewise.
1262 * gdb.cp/anon-union.cc (main): Likewise.
1263 * gdb.cp/bool.cc (main): Likewise.
1264 * gdb.cp/bs15503.cc (main): Likewise.
1265 * gdb.cp/cplusfuncs.cc (main): Likewise.
1266 * gdb.cp/cttiadd.cc (main): Likewise.
1267 * gdb.cp/extern-c.cc (main): Likewise.
1268 * gdb.cp/filename.cc (main): Likewise.
1269 * gdb.cp/formatted-ref.cc (main): Likewise.
1270 * gdb.cp/mb-ctor.cc (main): Likewise.
1271 * gdb.cp/member-ptr.cc (main): Likewise.
1272 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1273 * gdb.cp/overload-const.cc (main): Likewise.
1274 * gdb.cp/paren-type.cc (main): Likewise.
1275 * gdb.cp/parse-lang.cc (main): Likewise.
1276 * gdb.cp/pr-1023.cc (main): Likewise.
1277 * gdb.cp/psmang1.cc (main): Likewise.
1278 * gdb.cp/readnow-language.cc (main): Likewise.
1279 * gdb.cp/ref-params.cc (main): Likewise.
1280 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1281 * gdb.cp/virtbase2.cc (main): Likewise.
1282 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1283 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1284 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1285 * gdb.mi/mi-console.c (main): Likewise.
1286 * gdb.mi/mi-read-memory.c (main): Likewise.
1287 * gdb.modula2/multidim.c (main): Likewise.
1288 * gdb.opt/inline-small-func.c (main): Likewise.
1289 * gdb.python/py-rbreak.c (main): Likewise.
1290 * gdb.stabs/exclfwd1.c (main): Likewise.
1291 * gdb.trace/qtro.c (main): Likewise.
1292
af26601c
PA
12932020-09-13 Pedro Alves <pedro@palves.net>
1294
1295 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1296 instead of getenv.
1297
2f4b83cd
PA
12982020-09-13 Pedro Alves <pedro@palves.net>
1299
1300 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1301 instead of spawning GDB with remote_spawn.
1302 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1303 gdb_spawn instead of spawning GDB with remote_spawn.
1304
c49da0e4
PA
13052020-09-13 Pedro Alves <pedro@palves.net>
1306
1307 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1308 file and add calls to first and second.
1309 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1310 add call to f.
1311
6791b117
PA
13122020-09-13 Pedro Alves <pedro@palves.net>
1313
1314 * gdb.mi/mi-break-qualified.cc: New file.
1315 * gdb.mi/mi-break-qualified.exp: New file.
1316 * lib/mi-support.exp (mi_create_breakpoint_multi)
1317 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1318 procedures.
1319 (mi_create_breakpoint_1): New, factored out from
1320 mi_create_breakpoint.
1321
3b8d4c5c
PA
13222020-09-13 Pedro Alves <pedro@palves.net>
1323
1324 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1325 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1326 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1327 (register_class): Delete.
1328 (main): Don't call register_class.
1329
d5f96005
PA
13302020-09-13 Pedro Alves <pedro@palves.net>
1331
1332 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1333 (do_tests): Remove "calling method for small class" test.
1334 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1335 (register_class): Delete.
1336 (main): Don't call register_class.
1337 * gdb.cp/call-method-register.exp: New file, based on bits removed
1338 from classes.exp.
1339 * gdb.cp/call-method-register.cc: New file, based on bits removed
1340 from classes.cc.
1341
77f2120b
PA
13422020-09-13 Pedro Alves <pedro@palves.net>
1343
1344 * gdb.base/msym-bp-2.c: New.
1345 * gdb.base/msym-bp-shl-lib.c: New file.
1346 * gdb.base/msym-bp-shl-main-2.c: New file.
1347 * gdb.base/msym-bp-shl-main.c: New file.
1348 * gdb.base/msym-bp-shl.exp: New file.
1349 * gdb.base/msym-bp.c: New file.
1350 * gdb.base/msym-bp.exp: New file.
1351
32aea73e
JB
13522020-09-13 Joel Brobecker <brobecker@adacore.com>
1353
1354 * gdb.base/default.exp: Change $_gdb_major to 11.
1355
2a67f09d
FW
13562020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1357 Felix Willgerodt <Felix.Willgerodt@intel.com>
1358
1359 * x86-avx512bf16.c: New file.
1360 * x86-avx512bf16.exp: Likewise.
1361 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1362
ad570dd7
TV
13632020-09-11 Tom de Vries <tdevries@suse.de>
1364
1365 PR exp/26602
1366 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1367
a56f7391
TBA
13682020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1369
1370 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1371
918619e5
AM
13722020-09-10 Alan Modra <amodra@gmail.com>
1373
1374 PR 26597
1375 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1376
cac1e71d
TV
13772020-09-08 Tom de Vries <tdevries@suse.de>
1378
1379 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1380 after gdb_starti_cmd.
1381
c5cd900e
AKS
13822020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1383
1384 * lib/fortran.exp (fortran_complex8): New proc.
1385 (fortran_complex16): New proc.
1386 * gdb.fortran/complex.exp: Use routines from fortran.exp
1387 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1388 * gdb.fortran/vla-ptr-info.exp: Likewise.
1389
8f5c6526
TV
13902020-09-03 Tom de Vries <tdevries@suse.de>
1391
1392 PR breakpoint/26546
1393 * gdb.base/label-without-address.exp: Runto main first.
1394
02c6f3f1
TT
13952020-09-02 Tom Tromey <tromey@adacore.com>
1396
1397 * gdb.ada/mi_var_access.exp: Test children of access variable.
1398 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1399 * gdb.ada/mi_var_array.exp: Update.
1400
efe24f05
KB
14012020-08-31 Kevin Buettner <kevinb@redhat.com>
1402
1403 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1404 on docker w/ AUFS storage driver.
1405
973695d6
KB
14062020-08-31 Kevin Buettner <kevinb@redhat.com>
1407
1408 * gdb.base/corefile2.exp (renamed binfile): New tests.
1409
f3bd50f1
SM
14102020-08-31 Simon Marchi <simon.marchi@efficios.com>
1411
1412 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1413
22b9b4b0
SL
14142020-08-31 Simon Marchi <simon.marchi@efficios.com>
1415
1416 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1417 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1418
8efaf6b3
SM
14192020-08-31 Simon Marchi <simon.marchi@efficios.com>
1420
1421 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1422 output, printing a "not saved" value from history and printing a
1423 convenience variable created from a "not saved" value.
1424
e840f2e3
TV
14252020-08-31 Tom de Vries <tdevries@suse.de>
1426
1427 * gdb.base/eh_return.exp: Use nopie.
1428
8f57f343
PA
14292020-08-28 Pedro Alves <pedro@palves.net>
1430
1431 * gdb.base/advance-until-multiple-locations.exp
1432 (advance_overload, until_overload): Adjust to match the
1433 frame/function header instead of the source line text.
1434
626d2320
TV
14352020-08-28 Tom de Vries <tdevries@suse.de>
1436
1437 * gdb.base/label-without-address.c: New test.
1438 * gdb.base/label-without-address.exp: New file.
1439
df631783
PA
14402020-08-27 Pedro Alves <pedro@palves.net>
1441
1442 PR gdb/26523
1443 PR gdb/26524
1444 * gdb.base/advance-until-multiple-locations.cc: New.
1445 * gdb.base/advance-until-multiple-locations.exp: New.
1446
48b076bb
SM
14472020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1448
1449 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1450
c2015ce4
AB
14512020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1452
1453 * gdb.arch/amd64-byte.exp: Make test names unique, use
1454 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1455 * gdb.arch/amd64-dword.exp: Likewise.
1456 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1457 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1458 unique.
1459 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1460 * gdb.arch/amd64-word.exp: Make test names unique, use
1461 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1462 * gdb.arch/i386-byte.exp: Make test names unique, use
1463 gdb_breakpoint.
1464 * gdb.arch/i386-word.exp: Likewise.
1465
995d3a19
SV
14662020-08-25 Shahab Vahedi <shahab@synopsys.com>
1467
1468 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1469
8cac2b31
SM
14702020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1471
1472 PR gdb/26532
1473 * gdb.threads/stepi-random-signal.exp: Update pattern.
1474
2bc19622
SM
14752020-08-25 Simon Marchi <simon.marchi@efficios.com>
1476
1477 PR gdb/26532
1478 * gdb.base/ui-redirect.exp: Update pattern.
1479
b04aa1fc
GB
14802020-08-25 Gary Benson <gbenson@redhat.com>
1481
1482 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1483 when compiling with clang.
8571e9c8 1484 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1485
9f68b453
GB
14862020-08-25 Gary Benson <gbenson@redhat.com>
1487
1488 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1489 Add additional_flags=-Wno-inaccessible-base when compiling
1490 with GCC >= 10.1 or clang. Add additional_flags=-w when
1491 compiling with GCC < 10.
1492
3945d2d7
GM
14932020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1494
1495 PR m2/26372
fc5d6901
SM
1496 * gdb.modula2/multidim.c: New file.
1497 * gdb.modula2/multidim.exp: New file.
3945d2d7 1498
60122dbe
SM
14992020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1500
1501 * lib/gdb.exp (runto): Always emit fail on internal error.
1502
1eb8556f
SM
15032020-08-24 Simon Marchi <simon.marchi@efficios.com>
1504
1505 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1506 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1507 Likewise.
1508 * gdb.threads/stepi-random-signal.exp: Likewise.
1509
33bf4c5c
TBA
15102020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1511
1512 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1513 * gdb.trace/strace.exp: Ditto.
1514
c2fd7fae
AKS
15152020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1516
1517 * gdb.fortran/vla-type.exp: Skip commands not required for
1518 the Flang compiled binaries after prologue fix.
1519
326afb72
TT
15202020-08-17 Tom de Vries <tdevries@suse.de>
1521 Tom Tromey <tromey@adacore.com>
1522
1523 PR rust/26197:
1524 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1525
3ae7ab99
TT
15262020-08-17 Tom Tromey <tromey@adacore.com>
1527
1528 * gdb.ada/mi_var_access.exp: New file.
1529 * gdb.ada/mi_var_access/mi_access.adb: New file.
1530 * gdb.ada/mi_var_access/pck.adb: New file.
1531 * gdb.ada/mi_var_access/pck.ads: New file.
1532
f569c1c5
TV
15332020-08-16 Tom de Vries <tdevries@suse.de>
1534
1535 PR gdb/25350
1536 * gdb.base/eh_return.c: New test.
1537 * gdb.base/eh_return.exp: New file.
1538
3d11c30a
TV
15392020-08-15 Tom de Vries <tdevries@suse.de>
1540
1541 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1542 (mixed_func_1d_): Use fortran_charlen_t in decl.
1543
547ce8f0
TV
15442020-08-15 Tom de Vries <tdevries@suse.de>
1545
1546 PR backtrace/26390
1547 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1548 Update expected pattern.
1549
a54a7f13
PA
15502020-08-13 Pedro Alves <pedro@palves.net>
1551
1552 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1553 * gdb.fortran/library-module.exp: Likewise.
1554 * gdb.fortran/logical.exp: Likewise.
1555 * gdb.fortran/module.exp: Likewise.
1556 * gdb.fortran/print_type.exp: Likewise.
1557 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1558 * gdb.fortran/vla-datatypes.exp: Likewise.
1559 * gdb.fortran/vla-history.exp: Likewise.
1560 * gdb.fortran/vla-ptr-info.exp: Likewise.
1561 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1562 * gdb.fortran/vla-ptype.exp: Likewise.
1563 * gdb.fortran/vla-sizeof.exp: Likewise.
1564 * gdb.fortran/vla-type.exp: Likewise.
1565 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1566 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1567 * gdb.fortran/vla-value-sub.exp: Likewise.
1568 * gdb.fortran/vla-value.exp: Likewise.
1569
7a82e903
PA
15702020-08-13 Pedro Alves <pedro@palves.net>
1571
1572 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1573 * gdb.ada/access_to_packed_array.exp: Likewise.
1574 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1575 * gdb.ada/addr_arith.exp: Likewise.
1576 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1577 * gdb.ada/arr_arr.exp: Likewise.
1578 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1579 * gdb.ada/array_bounds.exp: Likewise.
1580 * gdb.ada/array_of_variable_length.exp: Likewise.
1581 * gdb.ada/array_ptr_renaming.exp: Likewise.
1582 * gdb.ada/array_subscript_addr.exp: Likewise.
1583 * gdb.ada/arraydim.exp: Likewise.
1584 * gdb.ada/arrayparam.exp: Likewise.
1585 * gdb.ada/arrayptr.exp: Likewise.
1586 * gdb.ada/assign_1.exp: Likewise.
1587 * gdb.ada/assign_arr.exp: Likewise.
1588 * gdb.ada/atomic_enum.exp: Likewise.
1589 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1590 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1591 * gdb.ada/bias.exp: Likewise.
1592 * gdb.ada/boolean_expr.exp: Likewise.
1593 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1594 * gdb.ada/bp_enum_homonym.exp: Likewise.
1595 * gdb.ada/bp_inlined_func.exp: Likewise.
1596 * gdb.ada/bp_on_var.exp: Likewise.
1597 * gdb.ada/bp_range_type.exp: Likewise.
1598 * gdb.ada/bp_reset.exp: Likewise.
1599 * gdb.ada/call_pn.exp: Likewise.
1600 * gdb.ada/catch_assert_if.exp: Likewise.
1601 * gdb.ada/catch_ex.exp: Likewise.
1602 * gdb.ada/catch_ex_std.exp: Likewise.
1603 * gdb.ada/char_enum.exp: Likewise.
1604 * gdb.ada/char_param.exp: Likewise.
1605 * gdb.ada/complete.exp: Likewise.
1606 * gdb.ada/cond_lang.exp: Likewise.
1607 * gdb.ada/convvar_comp.exp: Likewise.
1608 * gdb.ada/dgopt.exp: Likewise.
1609 * gdb.ada/disc_arr_bound.exp: Likewise.
1610 * gdb.ada/display_nested.exp: Likewise.
1611 * gdb.ada/dot_all.exp: Likewise.
1612 * gdb.ada/dyn_loc.exp: Likewise.
1613 * gdb.ada/dyn_stride.exp: Likewise.
1614 * gdb.ada/excep_handle.exp: Likewise.
1615 * gdb.ada/expr_delims.exp: Likewise.
1616 * gdb.ada/expr_with_funcall.exp: Likewise.
1617 * gdb.ada/exprs.exp: Likewise.
1618 * gdb.ada/fin_fun_out.exp: Likewise.
1619 * gdb.ada/fixed_cmp.exp: Likewise.
1620 * gdb.ada/formatted_ref.exp: Likewise.
1621 * gdb.ada/frame_arg_lang.exp: Likewise.
1622 * gdb.ada/frame_args.exp: Likewise.
1623 * gdb.ada/fullname_bp.exp: Likewise.
1624 * gdb.ada/fun_addr.exp: Likewise.
1625 * gdb.ada/fun_in_declare.exp: Likewise.
1626 * gdb.ada/fun_overload_menu.exp: Likewise.
1627 * gdb.ada/fun_renaming.exp: Likewise.
1628 * gdb.ada/funcall_char.exp: Likewise.
1629 * gdb.ada/funcall_param.exp: Likewise.
1630 * gdb.ada/funcall_ptr.exp: Likewise.
1631 * gdb.ada/funcall_ref.exp: Likewise.
1632 * gdb.ada/homonym.exp: Likewise.
1633 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1634 * gdb.ada/info_auto_lang.exp: Likewise.
1635 * gdb.ada/info_exc.exp: Likewise.
1636 * gdb.ada/info_types.exp: Likewise.
1637 * gdb.ada/int_deref.exp: Likewise.
1638 * gdb.ada/interface.exp: Likewise.
1639 * gdb.ada/iwide.exp: Likewise.
1640 * gdb.ada/lang_switch.exp: Likewise.
1641 * gdb.ada/length_cond.exp: Likewise.
1642 * gdb.ada/maint_with_ada.exp: Likewise.
1643 * gdb.ada/mi_catch_assert.exp: Likewise.
1644 * gdb.ada/mi_catch_ex.exp: Likewise.
1645 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1646 * gdb.ada/mi_dyn_arr.exp: Likewise.
1647 * gdb.ada/mi_ex_cond.exp: Likewise.
1648 * gdb.ada/mi_exc_info.exp: Likewise.
1649 * gdb.ada/mi_interface.exp: Likewise.
1650 * gdb.ada/mi_prot.exp: Likewise.
1651 * gdb.ada/mi_ref_changeable.exp: Likewise.
1652 * gdb.ada/mi_string_access.exp: Likewise.
1653 * gdb.ada/mi_task_arg.exp: Likewise.
1654 * gdb.ada/mi_task_info.exp: Likewise.
1655 * gdb.ada/mi_var_array.exp: Likewise.
1656 * gdb.ada/mi_var_union.exp: Likewise.
1657 * gdb.ada/mi_variant.exp: Likewise.
1658 * gdb.ada/minsyms.exp: Likewise.
1659 * gdb.ada/mod_from_name.exp: Likewise.
1660 * gdb.ada/nested.exp: Likewise.
1661 * gdb.ada/null_array.exp: Likewise.
1662 * gdb.ada/optim_drec.exp: Likewise.
1663 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1664 * gdb.ada/packed_array_assign.exp: Likewise.
1665 * gdb.ada/packed_tagged.exp: Likewise.
1666 * gdb.ada/pp-rec-component.exp: Likewise.
1667 * gdb.ada/print_chars.exp: Likewise.
1668 * gdb.ada/print_pc.exp: Likewise.
1669 * gdb.ada/ptr_typedef.exp: Likewise.
1670 * gdb.ada/ptype_arith_binop.exp: Likewise.
1671 * gdb.ada/ptype_array.exp: Likewise.
1672 * gdb.ada/ptype_field.exp: Likewise.
1673 * gdb.ada/ptype_tagged_param.exp: Likewise.
1674 * gdb.ada/ptype_union.exp: Likewise.
1675 * gdb.ada/py_range.exp: Likewise.
1676 * gdb.ada/py_taft.exp: Likewise.
1677 * gdb.ada/rdv_wait.exp: Likewise.
1678 * gdb.ada/rec_comp.exp: Likewise.
1679 * gdb.ada/rec_return.exp: Likewise.
1680 * gdb.ada/ref_param.exp: Likewise.
1681 * gdb.ada/ref_tick_size.exp: Likewise.
1682 * gdb.ada/rename_subscript_param.exp: Likewise.
1683 * gdb.ada/repeat_dyn.exp: Likewise.
1684 * gdb.ada/same_component_name.exp: Likewise.
1685 * gdb.ada/same_enum.exp: Likewise.
1686 * gdb.ada/scalar_storage.exp: Likewise.
1687 * gdb.ada/set_wstr.exp: Likewise.
1688 * gdb.ada/small_reg_param.exp: Likewise.
1689 * gdb.ada/str_binop_equal.exp: Likewise.
1690 * gdb.ada/str_ref_cmp.exp: Likewise.
1691 * gdb.ada/str_uninit.exp: Likewise.
1692 * gdb.ada/sub_variant.exp: Likewise.
1693 * gdb.ada/sym_print_name.exp: Likewise.
1694 * gdb.ada/taft_type.exp: Likewise.
1695 * gdb.ada/tagged.exp: Likewise.
1696 * gdb.ada/tagged_access.exp: Likewise.
1697 * gdb.ada/task_bp.exp: Likewise.
1698 * gdb.ada/task_switch_in_core.exp: Likewise.
1699 * gdb.ada/tasks.exp: Likewise.
1700 * gdb.ada/tick_last_segv.exp: Likewise.
1701 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1702 * gdb.ada/type_coercion.exp: Likewise.
1703 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1704 * gdb.ada/unchecked_union.exp: Likewise.
1705 * gdb.ada/uninitialized_vars.exp: Likewise.
1706 * gdb.ada/var_arr_attrs.exp: Likewise.
1707 * gdb.ada/var_arr_typedef.exp: Likewise.
1708 * gdb.ada/var_rec_arr.exp: Likewise.
1709 * gdb.ada/variant-record.exp: Likewise.
1710 * gdb.ada/variant.exp: Likewise.
1711 * gdb.ada/variant_record_packed_array.exp: Likewise.
1712 * gdb.ada/varsize_limit.exp: Likewise.
1713 * gdb.ada/whatis_array_val.exp: Likewise.
1714 * gdb.ada/widewide.exp: Likewise.
1715 * gdb.ada/win_fu_syms.exp: Likewise.
1716
17172020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
1718
1719 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1720
10c381b5
AB
17212020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1722
1723 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1724 unset the array variable.
1725
8f34b746
TV
17262020-08-03 Tom de Vries <tdevries@suse.de>
1727
1728 PR symtab/26333
1729 * lib/dwarf.exp (DW_LNE_user): New proc.
1730 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1731 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1732
0245e136
KB
17332020-07-31 Kevin Buettner <kevinb@redhat.com>
1734
1735 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1736 to 'uintptr_t'
1737 (inttypes.h): Include.
1738
9ef1ec5d
KB
17392020-07-31 Kevin Buettner <kevinb@redhat.com>
1740
1741 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1742 (C5_24k): Delete.
1743 (C5_8k, C5_64k, C5_256k): New macros.
1744 (buf_ro): Allocate 256 KiB of initialized data.
1745
4c55e970
TBA
17462020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1747
1748 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1749 that attempt to overwrite an existing condition with a condition
1750 that fails parsing and also with a condition that parses fine
1751 but contains junk at the end.
1752
1e620590
TBA
17532020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1754
1755 * gdb.base/condbreak-bad.c: New test.
1756 * gdb.base/condbreak-bad.exp: New file.
1757
e12dcc50
TV
17582020-07-30 Tom de Vries <tdevries@suse.de>
1759
1760 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1761 out of ...
1762 (GDBInfoModuleSymbols::check_entry): ... here.
1763 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1764 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1765 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1766
6cc64caa
TV
17672020-07-30 Tom de Vries <tdevries@suse.de>
1768
1769 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1770 "__class_some_module_Number_t" optional.
1771
90fd07fc
TV
17722020-07-29 Tom de Vries <tdevries@suse.de>
1773
1774 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1775 multiple locations.
1776
f5c79e97
TV
17772020-07-29 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1780 rather than function name.
1781
f75a0693
AB
17822020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1783
1784 PR symtab/26270:
1785 * gdb.cp/disasm-func-name.cc: New file.
1786 * gdb.cp/disasm-func-name.exp: New file.
1787
4888741a
TT
17882020-07-28 Tom Tromey <tromey@adacore.com>
1789
1790 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1791 'varval' location.
1792
43d5901d
AB
17932020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1794
1795 * gdb.python/py-unwind.py: Update to make use of a register
1796 descriptor.
1797
14fa8fb3
AB
17982020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1799
1800 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1801
e79eb02f
AB
18022020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1803
1804 PR fortran/23051
1805 PR fortran/26139
1806 * gdb.fortran/class-allocatable-array.exp: New file.
1807 * gdb.fortran/class-allocatable-array.f90: New file.
1808 * gdb.fortran/pointer-to-pointer.exp: New file.
1809 * gdb.fortran/pointer-to-pointer.f90: New file.
1810
876518dd
TV
18112020-07-25 Tom de Vries <tdevries@suse.de>
1812
1813 PR symtab/26243
1814 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1815 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1816
6dcfb80a
TV
18172020-07-24 Tom de Vries <tdevries@suse.de>
1818
1819 PR testsuite/26293
1820 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1821
e7bc9db8
PA
18222020-07-23 Pedro Alves <pedro@palves.net>
1823
1824 * gdb.server/server-kill.exp (prepare): New, factored out from the
1825 top level.
1826 (kill_server): New.
1827 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1828 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1829
78344df7
AB
18302020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1831
1832 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1833
25dfed24
SL
18342020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1835
1836 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1837 Initialize to empty string at top level.
1838 (gdb_wrapper_init): Revert check for file existence on build.
1839 Build the wrapper in its default place, not a build-specific
1840 location. When host == build, make the pathname absolute.
1841 (gdb_compile): Delete leftover declaration of
1842 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1843 string instead of uninitialized.
1844
7da515fd
KB
18452020-07-22 Kevin Buettner <kevinb@redhat.com>
1846
1847 * gdb.base/corefile2.exp: New file.
1848 * gdb.base/coremaker2.exp: New file.
1849
9c5ec5c2
KB
18502020-07-22 Kevin Buettner <kevinb@redhat.com>
1851
1852 * gdb.base/coredump-filter.exp: Add second
1853 non-Private-Shared-Anon-File test.
1854 (test_disasm): Rename binfile for test which is expected
1855 to fail.
1856
f9e233c9
KB
18572020-07-22 Kevin Buettner <kevinb@redhat.com>
1858
1859 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1860 data in core file".
1861 * gdb.base/coremaker.c (buf2ro): New global.
1862 (mmapdata): Add a read-only mmap mapping.
1863
94c265d7
KB
18642020-07-22 Kevin Buettner <kevinb@redhat.com>
1865
1866 PR corefiles/25631
1867 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1868 New test.
1869 * gdb.base/coremaker.c (buf3): New global.
1870 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1871 flags.
1872
18732020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
1874
1875 * gdb.base/coremaker.c (filler_ro): New global constant.
1876
32fa152e
TT
18772020-07-22 Tom Tromey <tromey@adacore.com>
1878
1879 * gdb.ada/mi_prot.exp: New file.
1880 * gdb.ada/mi_prot/pkg.adb: New file.
1881 * gdb.ada/mi_prot/pkg.ads: New file.
1882 * gdb.ada/mi_prot/prot.adb: New file.
1883
c8474dc3
TBA
18842020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1885
1886 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1887 loads two JITers.
1888
baf8791e
AB
18892020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1890
1891 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1892
f7306dac
AB
18932020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1894
1895 * gdb.python/py-arch-reg-names.exp: Additional tests.
1896
6d3d6e4b
TV
18972020-07-21 Tom de Vries <tdevries@suse.de>
1898
1899 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1900 breakpoint locations".
1901 * gdb.reverse/solib-reverse.exp: Same.
1902
803d0592
TV
19032020-07-21 Tom de Vries <tdevries@suse.de>
1904
1905 * gdb.reverse/step-reverse.c (callee): Merge statements.
1906
e9bdc510
TV
19072020-07-21 Tom de Vries <tdevries@suse.de>
1908
1909 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1910 line numbers for some variables.
1911
f0f9e75a
TV
19122020-07-21 Tom de Vries <tdevries@suse.de>
1913
1914 * gdb.opt/inline-locals.c (init_array): New func.
1915 (func1): Use init_array.
1916 * gdb.opt/inline-locals.exp: Update pattern.
1917
bd460ecb
TV
19182020-07-21 Tom de Vries <tdevries@suse.de>
1919
1920 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1921 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1922
ae5369e7
LC
19232020-07-20 Ludovic Courtès <ludo@gnu.org>
1924
1925 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1926 * gdb.guile/types-module.exp: Remove "ERROR:" from
1927 regexps since Guile 3.0 no longer prints that.
1928
68cf161c
LC
19292020-07-20 Ludovic Courtès <ludo@gnu.org>
1930
1931 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1932 error regexp to match on Guile 2.2.
1933
c14b4913
GB
19342020-07-20 Gary Benson <gbenson@redhat.com>
1935
1936 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1937 with clang.
1938
b243ba58
TV
19392020-07-20 Tom de Vries <tdevries@suse.de>
1940
1941 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1942 (omp_set_lock_in_order): New function.
1943 (single_scope, multi_scope, nested_func, nested_parallel): Use
1944 omp_set_lock_in_order and omp_unset_lock.
1945 (main): Init and destroy lock and lock2.
1946
c06ad8b5
TV
19472020-07-20 Tom de Vries <tdevries@suse.de>
1948
1949 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1950
6e22f117
TV
19512020-07-20 Tom de Vries <tdevries@suse.de>
1952
1953 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1954
33176ea7
TV
19552020-07-17 Tom de Vries <tdevries@suse.de>
1956
1957 * gdb.base/valgrind-infcall-2.c: New test.
1958 * gdb.base/valgrind-infcall-2.exp: New file.
1959 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1960
90c3ec2d
TV
19612020-07-17 Tom de Vries <tdevries@suse.de>
1962
1963 * gdb.dlang/circular.c (found): Use found_label as label name.
1964 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1965 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1966 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1967 * gdb.dwarf2/ada-linkage-name.exp: Same.
1968 * gdb.dwarf2/arr-subrange.exp: Same.
1969 * gdb.dwarf2/atomic-type.exp: Same.
1970 * gdb.dwarf2/comp-unit-lang.exp: Same.
1971 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1972 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1973 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1974 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1975 * gdb.dwarf2/implptr-64bit.exp: Same.
1976 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1977 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1978 * gdb.dwarf2/imported-unit.exp: Same.
1979 * gdb.dwarf2/main-subprogram.exp: Same.
1980 * gdb.dwarf2/missing-type-name.exp: Same.
1981 * gdb.dwarf2/nonvar-access.exp: Same.
1982 * gdb.dwarf2/struct-with-sig.exp: Same.
1983 * gdb.dwarf2/typedef-void-finish.exp: Same.
1984 * gdb.dwarf2/void-type.exp: Same.
1985
10da644d
TV
19862020-07-17 Tom de Vries <tdevries@suse.de>
1987
1988 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1989 src parameter.
1990 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1991 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1992 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1993 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1994 * gdb.dwarf2/dwz.exp: Same.
1995 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1996 * gdb.dwarf2/implref-array.exp: Same.
1997 * gdb.dwarf2/implref-const.exp: Same.
1998 * gdb.dwarf2/implref-global.exp: Same.
1999 * gdb.dwarf2/implref-struct.exp: Same.
2000 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2001 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2002 * gdb.dwarf2/var-access.exp: Same.
2003 * gdb.dwarf2/varval.exp: Same.
2004 * gdb.trace/entry-values.exp: Same.
2005
315e6afc
TV
20062020-07-17 Tom de Vries <tdevries@suse.de>
2007
2008 * lib/dwarf.exp (Dwarf::extern): Remove.
2009 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2010 * gdb.dlang/circular.exp: Same.
2011 * gdb.dwarf2/comp-unit-lang.exp: Same.
2012 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2013 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2014 * gdb.dwarf2/dwz.exp: Same.
2015 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2016 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2017 * gdb.dwarf2/imported-unit.exp: Same.
2018 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2019
5597c940
SL
20202020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2021
2022 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2023 Use double quotes instead of single quotes.
2024
d0ce17d8
CT
20252020-07-16 Caroline Tice <cmtice@google.com>
2026
2027 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2028 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2029
853772cc
TV
20302020-07-16 Tom de Vries <tdevries@suse.de>
2031
2032 * lib/dwarf.exp (program): Initialize _line.
2033 (DW_LNE_end_sequence): Reinitialize _line.
2034 (DW_LNS_advance_line): Update _line.
2035 (line): New proc.
2036 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2037 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2038 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2039 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2040 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2041 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2042
fe07b572
AB
20432020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2044
2045 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2046 generic.
2047
52781cce
TV
20482020-07-15 Tom de Vries <tdevries@suse.de>
2049
2050 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2051 is_amd64_regs_target.
2052
3dcc261c
AB
20532020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2054
2055 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2056 * gdb.fortran/ptype-on-functions.f90: Likewise.
2057
054a0959
SM
20582020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2059
2060 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2061 values in documentation for addr_size to 4 and 8.
2062
ccb9eba6
AB
20632020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2064
2065 * gdb.arch/amd64-osabi.exp: Update.
2066 * gdb.arch/arm-disassembler-options.exp: Update.
2067 * gdb.arch/powerpc-disassembler-options.exp: Update.
2068 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2069 * gdb.arch/s390-disassembler-options.exp: Update.
2070 * gdb.base/all-architectures.exp.tcl: Update.
2071 * gdb.base/attach-pie-noexec.exp: Update.
2072 * gdb.base/catch-syscall.exp: Update.
2073 * gdb.xml/tdesc-arch.exp: Update.
2074
025a39a7
TV
20752020-07-14 Tom de Vries <tdevries@suse.de>
2076
2077 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2078 (local_gettid): ... this.
2079 (fn): Update.
2080
74e4b667
SL
20812020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2082
2083 * gdb.base/info_sources.exp: Skip directory match tests on
2084 remote hosts.
2085
f413dd74
GB
20862020-07-13 Gary Benson <gbenson@redhat.com>
2087
2088 * gdb.base/savedregs.exp (caller): Use parentheses to
2089 make expected expression evaluation ordering explicit.
2090
915771bb
GB
20912020-07-13 Gary Benson <gbenson@redhat.com>
2092
2093 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2094
2a122642
GB
20952020-07-13 Gary Benson <gbenson@redhat.com>
2096
2097 * gdb.base/bigcore.c (main): Use a volatile pointer when
2098 attempting to trigger a SIGSEGV.
2099 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2100 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2101 * gdb.base/savedregs.c (thrower): Likewise.
2102 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2103
3f00c730
GB
21042020-07-13 Gary Benson <gbenson@redhat.com>
2105
2106 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2107 defining and using VLA structure fields into...
2108 * gdb.base/vla-struct-fields.c: New file.
2109 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2110 tests into...
2111 * gdb.base/vla-struct-fields.exp: New file.
2112
963eeee4
TV
21132020-07-13 Tom de Vries <tdevries@suse.de>
2114
2115 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2116 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2117 * gdb.base/gold-gdb-index.exp: Same.
2118 * gdb.base/morestack.exp: Same.
2119
0ed35c9a
DX
21202020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2121
2122 PR rust/26121
2123 * gdb.rust/modules.rs: Prevent linker from discarding test
2124 symbol.
2125
4fdba23d
PA
21262020-07-10 Pedro Alves <pedro@palves.net>
2127
2128 PR gdb/26199
2129 * gdb.multi/multi-target.c (exit_thread): New.
2130 (thread_start): Break loop if EXIT_THREAD.
2131 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2132 (top level) Call test_no_resumed.
2133
15f3b077
TT
21342020-07-08 Tom Tromey <tromey@adacore.com>
2135
2136 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2137 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2138
9fc501fd
AB
21392020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2140
2141 PR python/22748
2142 * gdb.opt/inline-frame-tailcall.c: New file.
2143 * gdb.opt/inline-frame-tailcall.exp: New file.
2144 * gdb.python/py-unwind-inline.c: New file.
2145 * gdb.python/py-unwind-inline.exp: New file.
2146 * gdb.python/py-unwind-inline.py: New file.
2147
64cb3757
AB
21482020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2149
2150 * gdb.python/py-arch-reg-groups.exp: New file.
2151
0f767f94
AB
21522020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2153
2154 * gdb.python/py-arch-reg-names.exp: New file.
2155
87dbc774
AB
21562020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2157
2158 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2159 gdb.PendingFrame.architecture method.
2160
d8cc8af6
TV
21612020-07-06 Tom de Vries <tdevries@suse.de>
2162
2163 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2164
3c8ea5be
PA
21652020-07-03 Pedro Alves <palves@redhat.com>
2166
2167 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2168 explicitly write negative numbers.
2169 * gdb.base/structs2.exp: Adjust expected output.
2170
bf90c83a
PA
21712020-07-03 Pedro Alves <palves@redhat.com>
2172
2173 * gdb.base/charset.c (init_string): Change all char parameters to
2174 unsigned char parameters.
2175
2eb82157
PA
21762020-07-03 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.base/call-sc.exp (start_scalars_test): Use
2179 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2180 * gdb.base/overlays.c: Remove references to PARAMS.
2181 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2182 * gdb.base/reread.exp: Don't set 'prototypes' global.
2183 * gdb.base/structs.exp (start_structs_test): Use
2184 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2185 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2186 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2187 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2188 call.
2189 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2190
9adda7af
PA
21912020-07-03 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/m32rovly.c: Delete.
2194 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2195
2a17c803
PW
21962020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2197
2198 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2199 of gdb_py_test_multiple.
2200 * gdb.python/py-cmd.exp: Likewise.
2201 * gdb.python/py-events.exp: Likewise.
2202 * gdb.python/py-function.exp: Likewise.
2203 * gdb.python/py-inferior.exp: Likewise.
2204 * gdb.python/py-infthread.exp: Likewise.
2205 * gdb.python/py-linetable.exp: Likewise.
2206 * gdb.python/py-parameter.exp: Likewise.
2207 * gdb.python/py-value.exp: Likewise.
2208
b011fe1a
TV
22092020-06-30 Tom de Vries <tdevries@suse.de>
2210
2211 PR testsuite/26175
2212 * lib/future.exp (gdb_default_target_compile): Detect and handle
2213 early_flags.
2214
df5b8876
SM
22152020-06-29 Simon Marchi <simon.marchi@efficios.com>
2216
2217 * boards/simavr.exp (gdb_load): Catch errors when closing
2218 previous connection. Close connection, wait for process and
2219 unset simavr_spawn_id on failure.
2220
a3ca48cd
TV
22212020-06-29 Tom de Vries <tdevries@suse.de>
2222
2223 * lib/gdb.exp (unknown): Make test-case unresolved.
2224
b0237c0e
TV
22252020-06-29 Tom de Vries <tdevries@suse.de>
2226
2227 PR gdb/25475
2228 * gdb.server/solib-list.exp: Verify that the symbol reload
2229 confirmation question is asked.
2230
c0b3b3bd
PW
22312020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2232
2233 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2234 have a input seq nr in each pass message.
fe4c3d43 2235 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
2236 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2237 * gdb.python/python.exp: Make test names unique,
2238 use gdb_test_multiline instead of gdb_py_test_multiple,
2239 use $gdb_test_name.
2240 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2241
1776e3e5
NA
22422020-06-26 Nick Alcock <nick.alcock@oracle.com>
2243
2244 * configure.ac: Add --enable-libctf.
2245 * aclocal.m4: sinclude ../config/enable.m4.
2246 * Makefile.in (site.exp): Add enable_libctf to site.exp.
2247 * lib/gdb.exp (skip_ctf_tests): Use it.
2248 * gdb.base/ctf-constvars.exp: Error message tweak.
2249 * gdb.base/ctf-ptype.exp: Likewise.
2250 * configure: Regenerate.
2251
f53b3eeb
GB
22522020-06-26 Gary Benson <gbenson@redhat.com>
2253
2254 * gdb.cp/try_catch.cc: Include string.h.
2255 (main): Replace comparison against string literal with
2256 strcmp, avoiding build failure with -Wstring-compare.
2257 Add "marker test-complete".
2258 * gdb.cp/try_catch.exp: Run the test to the above marker,
2259 then verify that the value of "test" is still true.
2260
6d74da72
AB
22612020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2262
2263 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2264
2e52d038
AB
22652020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2266
2267 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2268
3b9fce96
AB
22692020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2270
2271 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2272 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2273 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2274 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2275 * gdb.arch/riscv-tdesc-loading.exp: New file.
2276
ed69cbc8
AB
22772020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2278
2279 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2280
767a879e
AB
22812020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2282
2283 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2284 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2285 * gdb.arch/riscv-tdesc-regs.c: New file.
2286 * gdb.arch/riscv-tdesc-regs.exp: New file.
2287
221db974
PA
22882020-06-24 Pedro Alves <palves@redhat.com>
2289
2290 * gdb.arch/amd64-entry-value-paramref.exp: Use
2291 prepare_for_testing_full and don't pass "c++" for the .S file
2292 build spec.
2293 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2294 $options, since it's an assembly file. Remove -Wno-deprecated.
2295 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2296 compiling C++ programs.
2297
331733cd
PA
22982020-06-24 Pedro Alves <palves@redhat.com>
2299
2300 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2301 Clang, add "-Wno-unknown-warning-option" to the options.
2302
caa7fd04
AB
23032020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2304
2305 * gdb.xml/tdesc-reload.c: New file.
2306 * gdb.xml/tdesc-reload.exp: New file.
2307 * gdb.xml/maint-xml-dump-01.xml: New file.
2308 * gdb.xml/maint-xml-dump-02.xml: New file.
2309 * gdb.xml/maint-xml-dump.exp: New file.
2310
bb8d1260
SL
23112020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2312
2313 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2314 Adjust for omitted commands when TUI is disabled.
2315
7e4b9c4c
GB
23162020-06-23 Gary Benson <gbenson@redhat.com>
2317 Pedro Alves <palves@redhat.com>
2318
2319 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2320 * gdb.cp/nsimport.cc: Likewise.
2321 * gdb.cp/nsnested.cc: Likewise.
2322 * gdb.cp/nsnoimports.cc: Likewise.
2323 * gdb.cp/nsusing.cc: Likewise.
2324 * gdb.cp/smartp.cc: Likewise.
2325 * gdb.python/py-pp-integral.c: Likewise.
2326 * gdb.python/py-pp-re-notag.c: Likewise.
2327
2e573c0a
GB
23282020-06-23 Gary Benson <gbenson@redhat.com>
2329
2330 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2331 * gdb.cp/nsimport.cc: Likewise.
2332 * gdb.cp/nsnested.cc: Likewise.
2333 * gdb.cp/nsnoimports.cc: Likewise.
2334 * gdb.cp/nsusing.cc: Likewise.
2335 * gdb.cp/smartp.cc: Likewise.
2336 * gdb.python/py-pp-integral.c: Likewise.
2337 * gdb.python/py-pp-re-notag.c: Likewise.
2338
746ebfe8
PW
23392020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2340
2341 * gdb.base/default-args.exp: New test.
2342 * gdb.base/default-args.c: New file.
2343 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2344 * gdb.base/default.exp: Update to new help text.
2345 * gdb.base/help.exp: Likewise.
2346 * gdb.base/page.exp: Likewise.
2347 * gdb.base/style.exp: Likewise.
2348 * gdb.guile/guile.exp: Likewise.
2349 * gdb.python/python.exp: Likewise.
2350
e822f2cd
SL
23512020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2352
2353 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2354 remote host. Fix search path syntax on Windows host.
2355
48e9cc84
PW
23562020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2357
2358 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2359 over 'exec-file-mismatch'.
2360 * gdb.base/attach.c: Mark should_exit volatile.
2361 * gdb.base/attach2.c: Likewise. Add a comment explaining
2362 why the sleep cannot be big.
2363 * gdb.base/attach3.c: New file.
2364
160f8a8f
SL
23652020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2366
2367 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2368 prefix optional.
2369
4d91c2a4
SL
23702020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2371
2372 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2373 for remote host.
2374
87f83f20
SL
23752020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2376 Hafiz Abid Qadeer <abidh@codesourcery.com>
2377
2378 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2379 file sent to remote host.
2380 (top level): Allow int32_t as type of 32-bit register.
2381
37ab8655
TV
23822020-06-19 Tom de Vries <tdevries@suse.de>
2383
2384 * lib/gdb.exp (gdb_note): New proc.
2385 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2386 (gdb_default_target_compile): ... here. Only call
2387 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2388 (use_gdb_compile): Change to array.
2389 (toplevel): Update sets of use_gdb_compile to specify language.
2390 Warn about default_target_compile override. Store dejagnu's version
2391 of default_target_compile in dejagnu_default_target_compile.
2392
a8a56685
TV
23932020-06-18 Tom de Vries <tdevries@suse.de>
2394
2395 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2396 (default_gdb_init): ... here.
2397
581bea2c
SL
23982020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2399
2400 Fix TUI support checks in gdb.tui tests.
2401
2402 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2403 just say UNSUPPORTED.
2404 * gdb.tui/corefile-run.exp: Likewise.
2405 * gdb.tui/empty.exp: Likewise.
2406 * gdb.tui/list-before.exp: Likewise.
2407 * gdb.tui/list.exp: Likewise.
2408 * gdb.tui/main.exp: Likewise.
2409 * gdb.tui/regs.exp: Likewise.
2410 * gdb.tui/resize.exp: Likewise.
2411 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2412 * gdb.tui/tui-layout-asm.exp: Likewise.
2413 * gdb.tui/tui-missing-src.exp: Likewise.
2414 * gdb.tui/winheight.exp: Likewise.
2415 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2416
05e682e3
SL
24172020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2418
2419 Fix TCL error in gdb.python/py-format-string.exp.
2420
2421 * gdb.python/py-format-string.exp: Move test for python support
2422 earlier, out of function body.
2423
efb763a5
SM
24242020-06-15 Simon Marchi <simon.marchi@efficios.com>
2425
2426 * gdb.base/index-cache-load-twice.c: New.
2427 * gdb.base/index-cache-load-twice.exp: New.
2428
43327b20
KS
24292020-06-17 Keith Seitz <keiths@redhat.com>
2430
99cf27cf 2431 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2432 when executing "gdb --configuration".
2433
081e778c
TV
24342020-06-17 Tom de Vries <tdevries@suse.de>
2435
2436 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2437 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2438 conditional on presence of gdb_tcl_unknown.
2439 (gdb_finish): Make override undo conditional on presence of
2440 gdb_tcl_unknown.
2441
d2d1ea20
TT
24422020-06-16 Tom Tromey <tom@tromey.com>
2443
2444 * gdb.python/tui-window.py (failwin): New function. Register it
2445 as a TUI window type.
2446 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2447
c802e8a7
GB
24482020-06-16 Gary Benson <gbenson@redhat.com>
2449
2450 * gdb.python/py-nested-maps.c (create_map): Add missing return
2451 value.
2452 (create_map_map): Likewise.
2453
ff08abb8
TBA
24542020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2455
2456 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2457 variable.
2458 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2459 and use the already-defined 'options' variable.
2460
a29d5112
AB
24612020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2462 Tom de Vries <tdevries@suse.de>
2463
2464 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2465 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2466 (gdb_setup_known_globals): New proc.
2467 (gdb_cleanup_globals): New proc.
2468 * lib/gdb.exp (load_lib): New override proc.
2469 (gdb_stdin_log_init): Set var in_file as persistent global.
2470 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2471 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2472 fpc_compiler as persistent global.
2473
8c74a764
TV
24742020-06-12 Tom de Vries <tdevries@suse.de>
2475
2476 * lib/tuiterm.exp (spawn): Rename to ...
2477 (tui_spawn): ... this.
2478 (toplevel): Move rename of spawn ...
2479 (gdb_init_tuiterm): ... here. New proc.
2480 (gdb_finish_tuiterm): New proc.
2481 * lib/gdb.exp (gdb_finish_hooks): New global var.
2482 (gdb_finish): Handle gdb_finish_hooks.
2483 (tuiterm_env): New proc.
2484 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2485 tuiterm_env.
2486 * gdb.tui/basic.exp: Same.
2487 * gdb.tui/corefile-run.exp: Same.
2488 * gdb.tui/empty.exp: Same.
2489 * gdb.tui/list-before.exp: Same.
2490 * gdb.tui/list.exp: Same.
2491 * gdb.tui/main.exp: Same.
2492 * gdb.tui/new-layout.exp: Same.
2493 * gdb.tui/regs.exp: Same.
2494 * gdb.tui/resize.exp: Same.
2495 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2496 * gdb.tui/tui-layout-asm.exp: Same.
2497 * gdb.tui/tui-missing-src.exp: Same.
2498 * gdb.tui/winheight.exp: Same.
2499
26783bce
TV
25002020-06-12 Tom de Vries <tdevries@suse.de>
2501
2502 PR testsuite/26110
2503 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2504 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2505
2b4e6a3f
TT
25062020-06-11 Tom Tromey <tom@tromey.com>
2507
2508 PR gdb/18318:
2509 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2510 floating point tests.
2511
2f33032a
KS
25122020-06-11 Keith Seitz <keiths@redhat.com>
2513
2514 PR gdb/21356
2515 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2516 vla_struct.
2517 Add new struct vla_typedef and union vla_typedef_union and
2518 corresponding instantiation objects.
2519 Initialize new objects.
2520 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2521 and vla_typedef_union_object.
2522 Fixup type for vla_struct_object.
2523
a8baf0a3
TV
25242020-06-11 Tom de Vries <tdevries@suse.de>
2525
2526 * lib/gdb.exp (with_override): New proc, factored out of ...
2527 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2528
7ab96794
TV
25292020-06-10 Tom de Vries <tdevries@suse.de>
2530
2531 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2532
cab5c3b7
SM
25332020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2534
2535 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2536 parameter, update callers.
2537
f8c41851
SM
25382020-06-04 Simon Marchi <simon.marchi@efficios.com>
2539
2540 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2541 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2542 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2543
1c07a73f
TV
25442020-06-04 Tom de Vries <tdevries@suse.de>
2545
2546 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2547
95146b5d
TV
25482020-06-04 Tom de Vries <tdevries@suse.de>
2549
2550 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2551 exp_continue.
2552
0cfcd4f0
TV
25532020-06-04 Tom de Vries <tdevries@suse.de>
2554
2555 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2556
f9b5d5ea
TV
25572020-06-03 Tom de Vries <tdevries@suse.de>
2558
2559 PR symtab/26046
2560 * gdb.cp/breakpoint-locs-2.cc: New test.
2561 * gdb.cp/breakpoint-locs.cc: New test.
2562 * gdb.cp/breakpoint-locs.exp: New file.
2563 * gdb.cp/breakpoint-locs.h: New test.
2564
5144dfba
TV
25652020-06-03 Tom de Vries <tdevries@suse.de>
2566
2567 PR testsuite/25609
2568 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2569 value of global verbose.
2570 * gdb.base/jit-elf.exp: Same.
2571 * gdb.base/jit-reader.exp: Same.
2572
621eacdf
TV
25732020-06-02 Tom de Vries <tdevries@suse.de>
2574
2575 * gdb.dwarf2/multidictionary.exp: Don't use
2576 gdb_spawn_with_cmdline_opts.
2577
1313c56e
AB
25782020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2579
2580 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2581 use_header case.
2582 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2583 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2584 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2585 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2586 * gdb.dwarf2/dw2-inline-header.c: New file.
2587 * gdb.dwarf2/dw2-inline-header.h: New file.
2588
f68f85b5
PA
25892020-05-30 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2592 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2593
678048e8
GB
25942020-05-29 Gary Benson <gbenson@redhat.com>
2595
2596 * gdb.compile/compile-cplus.exp (additional_flags): Also
2597 set when building with clang.
2598 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2599 when building with clang.
2600
9fcafd23
GB
26012020-05-29 Gary Benson <gbenson@redhat.com>
2602
2603 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2604 building with clang.
2605 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2606
735d5a07
GB
26072020-05-29 Gary Benson <gbenson@redhat.com>
2608
2609 * gdb.cp/koenig.exp (prepare_for_testing): Add
2610 additional_flags=-Wno-unused-comparison.
2611 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2612
4ad2c6a0
GB
26132020-05-28 Gary Benson <gbenson@redhat.com>
2614
2615 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2616 statement.
2617
09fe663e
GB
26182020-05-28 Gary Benson <gbenson@redhat.com>
2619
2620 * gdb.cp/classes.exp (prepare_for_testing): Add
2621 additional_flags=-Wno-deprecated-register.
2622 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2623 * gdb.cp/misc.exp: Likewise.
2624
cee00f17
GB
26252020-05-28 Gary Benson <gbenson@redhat.com>
2626
2627 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2628 (test_op_new::operator new): Add return statement.
2629 (test_op_new_array::operator new[]): Likewise.
2630
636edd00
PA
26312020-05-27 Pedro Alves <palves@redhat.com>
2632
2633 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2634 check. Use test_gdb_complete_unique instead of
2635 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2636 test_gdb_complete_multiple instead of
2637 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2638
c2b75043
LM
26392020-05-27 Luis Machado <luis.machado@linaro.org>
2640
2641 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2642 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2643 * gdb.arch/arm-disassembler-options.exp: Likewise.
2644 * gdb.arch/arm-disp-step.exp: Likewise.
2645 * gdb.arch/thumb-prologue.exp: Likewise.
2646 * gdb.base/async.exp: Likewise.
2647 * gdb.base/auxv.exp: Likewise.
2648 * gdb.base/complex-parts.exp: Likewise.
2649 * gdb.base/ena-dis-br.exp: Likewise.
2650 * gdb.base/foll-exec.exp: Likewise.
2651 * gdb.base/permissions.exp: Likewise.
2652 * gdb.base/relocate.exp: Likewise.
2653 * gdb.base/return2.exp: Likewise.
2654 * gdb.base/sigbpt.exp: Likewise.
2655 * gdb.base/siginfo-obj.exp: Likewise.
2656 * gdb.cp/converts.exp: Likewise.
2657 * gdb.cp/exceptprint.exp: Likewise.
2658 * gdb.cp/inherit.exp: Likewise.
2659 * gdb.cp/nsnoimports.exp: Likewise.
2660 * gdb.cp/virtbase2.exp: Likewise.
2661 * gdb.mi/mi-var-cmd.exp: Likewise.
2662 * gdb.mi/var-cmd.c: Likewise.
2663
53a47a3e
TT
26642020-05-26 Tom Tromey <tromey@adacore.com>
2665
2666 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2667
0bc2354b
TT
26682020-05-26 Tom Tromey <tromey@adacore.com>
2669
2670 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2671 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2672 type.
2673 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2674 variable.
2675
0db49895
CBG
26762020-05-26 Christian Biesinger <cbiesinger@google.com>
2677
2678 * Makefile.in: Use = instead of == for the test command
2679 for portability.
2680
40d22035
TV
26812020-05-26 Tom de Vries <tdevries@suse.de>
2682
2683 * gdb.base/gold-gdb-index-2.c: New test.
2684 * gdb.base/gold-gdb-index.c: New test.
2685 * gdb.base/gold-gdb-index.exp: New file.
2686 * gdb.base/gold-gdb-index.h: New test.
2687
043e2e02
TV
26882020-05-25 Tom de Vries <tdevries@suse.de>
2689
2690 * boards/gold-gdb-index.exp: New file.
2691
462f72c5
SM
26922020-05-25 Simon Marchi <simon.marchi@efficios.com>
2693
2694 * boards/simavr.exp: New file.
2695
6cf66e76
SM
26962020-05-25 Simon Marchi <simon.marchi@efficios.com>
2697
2698 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2699 * gdb.base/inferior-args.exp: New file.
2700 * gdb.base/inferior-args.c: New file.
2701
75d04512
SM
27022020-05-25 Simon Marchi <simon.marchi@efficios.com>
2703
2704 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2705 inferior_args. Pass it to gdb_reload.
2706 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2707 inferior_args.
2708 (gdb_reload): Add inferior_args argument.
2709 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2710 pass it to gdbserver_run.
2711 * boards/native-gdbserver.exp: Do not set noargs.
2712 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2713 inferior_args argument.
2714 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2715 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2716 * gdb.base/args.exp: Likewise.
2717
42cf1844
TV
27182020-05-25 Tom de Vries <tdevries@suse.de>
2719
2720 * lib/gdb.exp (exec_is_pie): Add comment.
2721
8f7d38ef
TV
27222020-05-25 Tom de Vries <tdevries@suse.de>
2723
2724 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2725 instead of $binfile in the untested message.
2726
465e1b0f
TV
27272020-05-25 Tom de Vries <tdevries@suse.de>
2728
2729 PR testsuite/26031
2730 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2731
3c5a0e02
TV
27322020-05-25 Tom de Vries <tdevries@suse.de>
2733
2734 * boards/gold.exp: New file.
2735
0a4f5f8c
TT
27362020-05-23 Tom Tromey <tom@tromey.com>
2737
2738 * gdb.base/style.exp: Remove completion styling test.
2739 * lib/gdb-utils.exp (style): Remove completion styles.
2740
eca1f90c
TT
27412020-05-23 Tom Tromey <tom@tromey.com>
2742
2743 * gdb.base/style.exp: Add completion styling test.
2744 * lib/gdb-utils.exp (style): Add completion styles.
2745
7c13f4e8
AB
27462020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2747
2748 * gdb.base/annota1.exp: Update expected results.
2749 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2750 test name.
2751 * gdb.cp/annota3.exp: Update expected results.
2752
41977d16
SM
27532020-05-20 Simon Marchi <simon.marchi@efficios.com>
2754
2755 PR gdb/26016
2756 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2757 against MAP_FAILED.
2758 * gdb.base/coremaker.c (mmapdata): Likewise.
2759 * gdb.base/jit-reader-host.c (main): Likewise.
2760 * gdb.base/sym-file-loader.c (load): Likewise.
2761 (load_shlib): Likewise.
2762
b4757f2e
TT
27632020-05-20 Tom Tromey <tromey@adacore.com>
2764
2765 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2766
9a0bacfb
TV
27672020-05-20 Tom de Vries <tdevries@suse.de>
2768
2769 PR symtab/25833
2770 * gdb.base/with-mf-inc.c: New test.
2771 * gdb.base/with-mf-main.c: New test.
2772 * gdb.base/with-mf.exp: New file.
2773
76571211
TT
27742020-05-19 Tom Tromey <tromey@adacore.com>
2775
2776 * gdb.rust/simple.exp: Restore missing test result.
2777
4cd9f3d5
TV
27782020-05-19 Tom de Vries <tdevries@suse.de>
2779
2780 * gdb.base/gdb-caching-proc.exp: Fix typo.
2781
7d874253
TT
27822020-05-19 Tom Tromey <tromey@adacore.com>
2783
2784 * gdb.rust/simple.exp: Add some test descriptions.
2785 (test_one_slice): Use with_test_prefix.
2786
1d727695
TV
27872020-05-18 Tom de Vries <tdevries@suse.de>
2788
2789 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2790
7f32a4d5
PA
27912020-05-17 Pedro Alves <palves@redhat.com>
2792
2793 PR gdb/25741
2794 * gdb.base/hw-sw-break-same-address.exp: New file.
2795
7cfd74cf
PA
27962020-05-16 Pedro Alves <palves@redhat.com>
2797
2798 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2799 LAST_LOADED_FILE accordingly.
2800
57b4f16e
PW
28012020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2802
2803 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2804
7c05caf7
PW
28052020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2806
2807 * gdb.base/help.exp: Test apropos and help for commands
2808 having aliases. Fixed comments not starting with an
2809 upper-case letter or not finishing with a dot.
2810
7aa1b46f
PW
28112020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2812
3b3aaacb
PW
2813 * gdb.base/alias.exp: Update help output check.
2814
57b4f16e 28152020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2816
7aa1b46f
PW
2817 * gdb.base/default.exp: Update output following fixes.
2818
0605465f
PW
28192020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2820
2821 * gdb.base/alias.exp: Test aliases starting with a prefix of
2822 another alias.
2823
86e4e63d
GB
28242020-05-15 Gary Benson <gbenson@redhat.com>
2825
2826 * gdb.base/info-os.c (main): Add return statement.
2827 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2828 * gdb.base/large-frame-2.c (func): Likewise.
2829 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2830 * gdb.base/pr10179-b.c (foo2): Likewise.
2831 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2832 * gdb.base/watch-cond.c (func): Likewise.
2833 * gdb.multi/goodbye.c (verylongfun): Likewise.
2834 * gdb.multi/hello.c (commonfun): Likewise.
2835 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2836 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2837 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2838 Likewise.
2839 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2840 * gdb.threads/interrupt-while-step-over.c (child_function):
2841 Likewise.
2842 * gdb.trace/actions-changed.c (end): Likewise.
2843
163df4df
GB
28442020-05-15 Gary Benson <gbenson@redhat.com>
2845
2846 * gdb.opencl/callfuncs.exp: Report when test skipped.
2847 * gdb.opencl/convs_casts.exp: Likewise.
2848 * gdb.opencl/datatypes.exp: Likewise.
2849 * gdb.opencl/operators.exp: Likewise.
2850 * gdb.opencl/vec_comps.exp: Likewise.
2851
6dbc505a
TV
28522020-05-15 Tom de Vries <tdevries@suse.de>
2853
2854 * gdb.base/align.exp.in: Rename to ...
2855 * gdb.base/align.exp.tcl: ... this.
2856 * gdb.base/align-c++.exp: Update.
2857 * gdb.base/align-c.exp: Update.
2858 * gdb.base/all-architectures.exp.in: Rename to ...
2859 * gdb.base/all-architectures.exp: ... this.
2860 * gdb.base/all-architectures-0.exp: Update.
2861 * gdb.base/all-architectures-1.exp: Update.
2862 * gdb.base/all-architectures-2.exp: Update.
2863 * gdb.base/all-architectures-3.exp: Update.
2864 * gdb.base/all-architectures-4.exp: Update.
2865 * gdb.base/all-architectures-5.exp: Update.
2866 * gdb.base/all-architectures-6.exp: Update.
2867 * gdb.base/all-architectures-7.exp: Update.
2868 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2869 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2870 * gdb.base/infcall-nested-structs-c++.exp: Update.
2871 * gdb.base/infcall-nested-structs-c.exp: Update.
2872 * gdb.base/info-types.exp.in: Rename to ...
2873 * gdb.base/info-types.exp.tcl: ... this.
2874 * gdb.base/info-types-c++.exp: Update.
2875 * gdb.base/info-types-c.exp: Update.
2876 * gdb.base/max-depth.exp.in: Rename to ...
2877 * gdb.base/max-depth.exp.tcl: ... this.
2878 * gdb.base/max-depth-c++.exp: Update.
2879 * gdb.base/max-depth-c.exp: Update.
2880 * gdb.cp/cpexprs.exp.in: Rename to ...
2881 * gdb.cp/cpexprs.exp.tcl: ... this.
2882 * gdb.cp/cpexprs-debug-types.exp: Update.
2883 * gdb.cp/cpexprs.exp: Update.
2884 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2885 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2886 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2887 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2888 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2889 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2890 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2891 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2892 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2893 * gdb.dwarf2/clang-debug-names.exp: Update.
2894
d1034d78
AB
28952020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2896
2897 * lib/check-test-names.exp: Remove code that prevents this file
2898 loading when tests are run in parallel.
2899
3c5c3649
PA
29002020-05-15 Pedro Alves <palves@redhat.com>
2901
2902 * gdb.multi/multi-kill.exp (start_inferior): Remove
2903 'testpid' parameter. Refer to namespace variable directly.
2904 (testpid): Declare as namespace variable.
2905
272c36b8
PA
29062020-05-15 Pedro Alves <palves@redhat.com>
2907
2908 * gdb.multi/multi-kill.exp: Wrap in namespace.
2909 (start_inferior): Add TESTPID parameter. Use it instead of the
2910 testpid global.
2911 (top level): Define empty TESTPID array, and pass it down to
2912 start_inferior.
2913
02eba61a
TV
29142020-05-14 Tom de Vries <tdevries@suse.de>
2915
2916 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2917 output.
2918
971a3747
TV
29192020-05-14 Tom de Vries <tdevries@suse.de>
2920
2921 * gdb.base/align.exp: Split into ...
2922 * gdb.base/align.exp.in: ...
2923 * gdb.base/align-c++.exp: ...
2924 * gdb.base/align-c.exp: ... these.
2925 * gdb.base/infcall-nested-structs.exp: Split into ...
2926 * gdb.base/infcall-nested-structs.exp.in: ...
2927 * gdb.base/infcall-nested-structs-c++.exp: ...
2928 * gdb.base/infcall-nested-structs-c.exp: ... these.
2929 * gdb.base/info-types.exp: Split into ...
2930 * gdb.base/info-types.exp.in: ...
2931 * gdb.base/info-types-c++.exp: ...
2932 * gdb.base/info-types-c.exp: ... these.
2933 * gdb.base/max-depth.exp: Split into ...
2934 * gdb.base/max-depth.exp.in: ...
2935 * gdb.base/max-depth-c++.exp: ...
2936 * gdb.base/max-depth-c.exp: ... these.
2937 * gdb.cp/infcall-nodebug.exp: Split into ...
2938 * gdb.cp/infcall-nodebug.exp.in: ...
2939 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2940 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2941 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2942 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2943
a05575d3
TBA
29442020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2945 Pedro Alves <palves@redhat.com>
2946
2947 * gdb.multi/multi-exit.c: New file.
2948 * gdb.multi/multi-exit.exp: New file.
2949 * gdb.multi/multi-kill.c: New file.
2950 * gdb.multi/multi-kill.exp: New file.
2951
6ad82919
TBA
29522020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2953
2954 * gdb.base/annota1.exp: Update the expected output.
2955 * gdb.cp/annota2.exp: Ditto.
2956
843f4d93
AB
29572020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2958
2959 * lib/check-test-names.exp: Disable when testing is being run in
2960 parallel.
2961
c7c66341
TV
29622020-05-12 Tom de Vries <tdevries@suse.de>
2963
2964 * gdb.base/jit-elf.exp: Fix string concat.
2965
1b59ca1c
TV
29662020-05-12 Tom de Vries <tdevries@suse.de>
2967
2968 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2969 messages.
2970
b4991d29
TV
29712020-05-12 Tom de Vries <tdevries@suse.de>
2972
2973 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2974
dbb0ab10
TV
29752020-05-12 Tom de Vries <tdevries@suse.de>
2976
2977 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2978 * gdb.ada/mi_catch_ex.exp: Same.
2979 * gdb.ada/mi_catch_ex_hand.exp: Same.
2980
7549fed8
TV
29812020-05-12 Tom de Vries <tdevries@suse.de>
2982
2983 * gdb.fortran/complex.exp: Use with_test_prefix.
2984
af2d5cd8
TV
29852020-05-12 Tom de Vries <tdevries@suse.de>
2986
2987 * gdb.trace/passcount.exp: Fix test-names.
2988
7c121311
TV
29892020-05-12 Tom de Vries <tdevries@suse.de>
2990
2991 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2992
c9f3b40e
TV
29932020-05-12 Tom de Vries <tdevries@suse.de>
2994
2995 * gdb.gdb/complaints.exp: Use with_test_prefix.
2996 * gdb.xml/tdesc-regs.exp: Same.
2997 * gdb.opt/inline-locals.exp: Fix test name.
2998
111b33f0
TV
29992020-05-12 Tom de Vries <tdevries@suse.de>
3000
3001 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3002 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3003 * gdb.dwarf2/implref-struct.exp: Same.
3004 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3005 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3006
ebf47080
SM
30072020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3008
3009 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3010
d30dcd12
AB
30112020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3012
3013 * lib/check-test-names.exp (all_test_names): New module variable.
3014 (counts): Add 'duplicates' field.
3015 (_check_duplicates): New procedure.
3016 (check): Also check for duplicates.
3017 (do_log_summary): Print duplicates count.
3018 (do_reset_vars): Reset counter for duplicate test names, and
3019 discard all know test names.
3020
34584c09
AB
30212020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3022
3023 * lib/gdb.exp: Include check-test-names.exp library.
3024 * lib/check-test-names.exp: New file.
3025
e0002117
TV
30262020-05-11 Tom de Vries <tdevries@suse.de>
3027
3028 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3029
53f539a3
KS
30302020-05-11 Keith Seitz <keiths@redhat.com>
3031
3032 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3033
113ee09a
TV
30342020-05-11 Tom de Vries <tdevries@suse.de>
3035
3036 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3037 * gdb.cp/cpexprs.exp.in: .. here.
3038 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3039 cpexprs.exp.
3040
ba3e70b0
KS
30412020-05-11 Keith Seitz <keiths@redhat.com>
3042
3043 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3044 test names.
3045 * gdb.ada/arrayptr.exp: Likewise.
3046 * gdb.ada/assign_arr.exp: Likewise.
3047 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3048 * gdb.ada/bp_on_var.exp: Likewise.
3049 * gdb.ada/call_pn.exp: Likewise.
3050 * gdb.ada/complete.exp: Likewise.
3051 * gdb.ada/fun_overload_menu.exp: Likewise.
3052 * gdb.ada/funcall_param.exp: Likewise.
3053 * gdb.ada/funcall_ref.exp: Likewise.
3054 * gdb.ada/packed_array_assign.exp: Likewise.
3055 * gdb.ada/same_component_name.exp: Likewise.
3056 * gdb.ada/type_coercion.exp: Likewise.
3057 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3058 * gdb.ada/variant_record_packed_array.exp: Likewise.
3059
3ee6bb11
TV
30602020-05-11 Tom de Vries <tdevries@suse.de>
3061
3062 PR symtab/25941
3063 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3064 out of ...
3065 * gdb.dwarf2/clang-debug-names.exp: ... here.
3066 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3067 clang-debug-names.exp.in.
3068 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3069 * gdb.dwarf2/clang-debug-names-2.c: New test.
3070
86cd6bc8
AKS
30712020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3072
3073 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3074 (fortran_runto_main): New Proc, fortran version of runto_main.
3075 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3076 * gdb.fortran/array-bounds.exp: Likewise.
3077 * gdb.fortran/array-slices.exp: Likewise.
3078 * gdb.fortran/block-data.exp: Likewise.
3079 * gdb.fortran/charset.exp: Likewise.
3080 * gdb.fortran/common-block.exp: Likewise.
3081 * gdb.fortran/complex.exp: Likewise.
3082 * gdb.fortran/derived-type-function.exp: Likewise.
3083 * gdb.fortran/derived-type.exp: Likewise.
3084 * gdb.fortran/info-modules.exp: Likewise.
3085 * gdb.fortran/info-types.exp: Likewise.
3086 * gdb.fortran/intrinsics.exp: Likewise.
3087 * gdb.fortran/library-module.exp: Likewise.
3088 * gdb.fortran/logical.exp: Likewise.
3089 * gdb.fortran/max-depth.exp: Likewise.
3090 * gdb.fortran/module.exp: Likewise.
3091 * gdb.fortran/multi-dim.exp: Likewise.
3092 * gdb.fortran/nested-funcs.exp: Likewise.
3093 * gdb.fortran/print-formatted.exp: Likewise.
3094 * gdb.fortran/print_type.exp: Likewise.
3095 * gdb.fortran/printing-types.exp: Likewise.
3096 * gdb.fortran/ptr-indentation.exp: Likewise.
3097 * gdb.fortran/ptype-on-functions.exp: Likewise.
3098 * gdb.fortran/subarray.exp: Likewise.
3099 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3100 * gdb.fortran/vla-datatypes.exp: Likewise.
3101 * gdb.fortran/vla-history.exp: Likewise.
3102 * gdb.fortran/vla-ptr-info.exp: Likewise.
3103 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3104 * gdb.fortran/vla-ptype.exp: Likewise.
3105 * gdb.fortran/vla-sizeof.exp: Likewise.
3106 * gdb.fortran/vla-type.exp: Likewise.
3107 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3108 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3109 * gdb.fortran/vla-value-sub.exp: Likewise.
3110 * gdb.fortran/vla-value.exp: Likewise.
3111 * gdb.fortran/whatis_type.exp: Likewise.
3112 * gdb.mi/mi-var-child-f.exp: Likewise.
3113
6dc55ce9 31142020-05-09 Tom de Vries <tdevries@suse.de>
3115
3116 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3117
283cb58c
TV
31182020-05-08 Tom de Vries <tdevries@suse.de>
3119
3120 * gdb.dwarf2/clang-debug-names.c: New test.
3121 * gdb.dwarf2/clang-debug-names.exp: New file.
3122
ac4a4f1c
SM
31232020-05-06 Simon Marchi <simon.marchi@efficios.com>
3124
3125 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3126 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3127
24fe640b
TV
31282020-05-06 Tom de Vries <tdevries@suse.de>
3129
3130 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3131 breakpoint is at a "recommended breakpoint location".
3132 * gdb.reverse/consecutive-reverse.exp: Same.
3133
0d8683a3
TV
31342020-05-06 Tom de Vries <tdevries@suse.de>
3135
3136 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3137 address.
3138
b8983c46
TV
31392020-05-06 Tom de Vries <tdevries@suse.de>
3140
3141 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3142
abf6d805
TV
31432020-05-06 Tom de Vries <tdevries@suse.de>
3144
3145 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3146 info for r.
3147
0fc2a808
TV
31482020-05-06 Tom de Vries <tdevries@suse.de>
3149
3150 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3151 necessary.
3152
873dd427
TV
31532020-05-06 Tom de Vries <tdevries@suse.de>
3154
3155 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3156 void.
3157
7c99e7e2
TV
31582020-05-06 Tom de Vries <tdevries@suse.de>
3159
3160 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3161 of ...
3162 * gdb.base/async.exp: ... here.
3163 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3164 "recommended breakpoint location".
3165
6173d6a6
TV
31662020-05-06 Tom de Vries <tdevries@suse.de>
3167
3168 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3169
6015a067
TV
31702020-05-04 Tom de Vries <tdevries@suse.de>
3171
3172 * gdb.base/async.exp: Check whether instruction addresses are a
3173 "recommended breakpoint location".
3174
3b6acaee
TT
31752020-05-03 Tom Tromey <tom@tromey.com>
3176
3177 * gdb.base/sepdebug.exp: Remove "catch" test.
3178 * gdb.base/break.exp: Remove "catch" test.
3179 * gdb.base/default.exp: Update expected output.
3180
5beb4d17
TV
31812020-05-02 Tom de Vries <tdevries@suse.de>
3182
3183 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3184 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3185 * gdb.arch/i386-mpx-map.exp: Same.
3186 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3187 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3188 * gdb.arch/i386-mpx.exp: Same.
3189
8caf140d
TV
31902020-05-02 Tom de Vries <tdevries@suse.de>
3191
3192 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3193
693196cb
TV
31942020-05-01 Tom de Vries <tdevries@suse.de>
3195
3196 * gdb.ada/operator_bp.exp: Allow more than required amount of
3197 breakpoint.
3198
53ae0aa9
TV
31992020-05-01 Tom de Vries <tdevries@suse.de>
3200
3201 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3202
ee9d1e5f
HD
32032020-04-30 Hannes Domani <ssbssa@yahoo.de>
3204
3205 PR gdb/18706
3206 * gdb.cp/stub-array-size.cc: New test.
3207 * gdb.cp/stub-array-size.exp: New file.
3208 * gdb.cp/stub-array-size.h: New test.
3209 * gdb.cp/stub-array-size2.cc: New test.
3210
d5cf82c0
HD
32112020-04-30 Hannes Domani <ssbssa@yahoo.de>
3212
3213 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3214 output to the new format.
3215
42e165c3
SM
32162020-04-29 Simon Marchi <simon.marchi@efficios.com>
3217
3218 * gdb.base/break.exp: Use with_test_prefix.
3219
6e4e3fe1
TV
32202020-04-29 Tom de Vries <tdevries@suse.de>
3221
3222 * lib/gdb.exp (debug_types): New proc.
3223 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3224 * gdb.python/py-symtab.exp: Same.
3225
d642b692
HD
32262020-04-29 Hannes Domani <ssbssa@yahoo.de>
3227
3228 PR gdb/17320
3229 * gdb.base/pretty-array.c: New test.
3230 * gdb.base/pretty-array.exp: New file.
3231
ea90f227
TV
32322020-04-29 Tom de Vries <tdevries@suse.de>
3233
3234 PR symtab/25889
3235 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3236 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3237 and include cpexprs.exp.
3238
a65189c9
TV
32392020-04-28 Mark Williams <mark@myosotissp.com>
3240
3241 PR gdb/24480
3242 * dw4-toplevel-types.exp: Test for top level types.
3243 * dw4-toplevel-types.cc: Test for top level types.
3244
32d1f47a
TBA
32452020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3246
3247 * gdb.threads/stop-with-handle.exp: Fix typo in comment
3248 (theads -> threads).
3249
56a4f5a1
TV
32502020-04-28 Tom de Vries <tdevries@suse.de>
3251
3252 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3253
0b2f8a3b
TV
32542020-04-28 Tom de Vries <tdevries@suse.de>
3255
3256 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3257
5390c717
TV
32582020-04-28 Tom de Vries <tdevries@suse.de>
3259
3260 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3261
15cd93d0
TV
32622020-04-28 Tom de Vries <tdevries@suse.de>
3263
3264 * gdb.dwarf2/main-foo.c: New test.
3265 * gdb.dwarf2/struct-with-sig.exp: New file.
3266
d472f0fb
TV
32672020-04-25 Tom de Vries <tdevries@suse.de>
3268
3269 * boards/debug-types.exp: New file.
3270
8d840e05
AB
32712020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3272
3273 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3274
bcfe6157
TT
32752020-04-24 Tom Tromey <tom@tromey.com>
3276
3277 PR symtab/12707:
3278 * gdb.python/py-symbol.exp: Update expected results for
3279 linkage_name test.
3280 * gdb.cp/print-demangle.exp: New file.
3281 * gdb.base/c-linkage-name.exp: Fix test.
3282 * gdb.guile/scm-symbol.exp: Update expected results for
3283 linkage_name test.
3284
f049a313
TT
32852020-04-24 Tom Tromey <tom@tromey.com>
3286
3287 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3288 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3289 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3290 assembler.
3291
7cf28874
TV
32922020-04-24 Tom de Vries <tdevries@suse.de>
3293
3294 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3295 C++.
3296
dac2fef7
TT
32972020-04-24 Tom Tromey <tromey@adacore.com>
3298
3299 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3300 values.
3301 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3302 values. Update test for minimal encodings.
3303 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3304 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3305 values. Update test for minimal encodings.
3306
1acda803
TT
33072020-04-24 Tom Tromey <tromey@adacore.com>
3308
3309 PR python/23662:
3310 * gdb.ada/variant.exp: Add Python checks.
3311 * gdb.rust/simple.exp: Add dynamic type checks.
3312
adfb9815
TT
33132020-04-24 Tom Tromey <tromey@adacore.com>
3314
3315 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3316 Make array type matching more lax.
3317 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3318 * gdb.ada/mi_variant.exp: New file.
3319 * gdb.ada/mi_variant/pck.ads: New file.
3320 * gdb.ada/mi_variant/pkg.adb: New file.
3321 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3322 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3323
7d79de9a
TT
33242020-04-24 Tom Tromey <tromey@adacore.com>
3325
3326 * gdb.ada/variant.exp: Add dynamic field offset tests.
3327 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3328 * gdb.ada/variant/pkg.adb: Add new variables.
3329
f8e89861
TT
33302020-04-24 Tom Tromey <tromey@adacore.com>
3331
3332 * gdb.ada/variant.exp: New file
3333 * gdb.ada/variant/pkg.adb: New file
3334 * gdb.ada/variant/pck.adb: New file
3335
86e887ae
TV
33362020-04-24 Tom de Vries <tdevries@suse.de>
3337
3338 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3339
88428775
TV
33402020-04-24 Tom de Vries <tdevries@suse.de>
3341
3342 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3343 flags.
3344
4e86f6e7
TV
33452020-04-24 Tom de Vries <tdevries@suse.de>
3346
3347 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3348
2016d3e6
TV
33492020-04-24 Tom de Vries <tdevries@suse.de>
3350
3351 * lib/gdb.exp (default_gdb_start): Handle eof.
3352 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3353 failure.
3354 * gdb.base/readnever.exp: Handle clean_restart failure.
3355
70bc38f5
TV
33562020-04-23 Tom de Vries <tdevries@suse.de>
3357
3358 * gdb.base/decl-before-def.exp: Run to main and print a again.
3359
de82891c
TV
33602020-04-23 Tom de Vries <tdevries@suse.de>
3361
3362 * gdb.base/decl-before-def-decl.c: New test.
3363 * gdb.base/decl-before-def-def.c: New test.
3364 * gdb.base/decl-before-def.exp: New file.
3365
96038148
TV
33662020-04-23 Tom de Vries <tdevries@suse.de>
3367
3368 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3369
54ac3df1
TV
33702020-04-22 Tom de Vries <tdevries@suse.de>
3371
3372 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3373 debug_info_offset.
3374 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3375 before $objsfile in the line line.
3376
714534e1
TV
33772020-04-22 Tom de Vries <tdevries@suse.de>
3378
3379 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3380
16a7dbf4
MS
33812020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3382
3383 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3384 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3385 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3386 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3387 * gdb.base/jit-protocol.h: Update definitions to match all usage
3388 contexts.
3389
33902020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3391
3392 * gdb.base: Rename all jit related test and source files.
3393
33942020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3395
3396 * gdb.base/jit-reader.exp: Relax register output check.
3397
317d2668
TV
33982020-04-22 Tom de Vries <tdevries@suse.de>
3399
3400 PR symtab/25764
3401 * gdb.base/psym-external-decl-2.c: New test.
3402 * gdb.base/psym-external-decl.c: New test.
3403 * gdb.base/psym-external-decl.exp: New file.
3404 * gdb.threads/tls.exp: Add PR25807 kfail.
3405
eea9e357
TV
34062020-04-22 Tom de Vries <tdevries@suse.de>
3407
3408 PR symtab/25801
3409 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3410 in "info source" output.
3411
3d5afab3
TV
34122020-04-22 Tom de Vries <tdevries@suse.de>
3413
3414 PR symtab/25700
3415 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3416 symtab for imported_unit.c.
3417
b32102f6
GB
34182020-04-21 Gary Benson <gbenson@redhat.com>
3419
3420 * gdb.base/advance.c (func): New argument, to match call site.
3421 (func2, func3): Add return statements.
3422
d43b7a2d
TBA
34232020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3424
3425 * gdb.multi/run-only-second-inf.c: New file.
3426 * gdb.multi/run-only-second-inf.exp: New file.
3427
d89edf9b
MM
34282020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3429
3430 * gdb.btrace/multi-inferior.c: New test.
3431 * gdb.btrace/multi-inferior.exp: New file.
3432
1a476b6d
MM
34332020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3434
3435 * gdb.btrace/enable-new-thread.c: New test.
3436 * gdb.btrace/enable-new-thread.exp: New file.
3437
4778a5f8
TV
34382020-04-21 Tom de Vries <tdevries@suse.de>
3439
3440 PR gdb/25471
3441 * gdb.threads/killed-outside.c: New test.
3442 * gdb.threads/killed-outside.exp: New file.
3443
9b2c992c
GB
34442020-04-20 Gary Benson <gbenson@redhat.com>
3445
3446 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3447 * gdb.base/nested-subp2.exp: Likewise.
3448 * gdb.base/nested-subp3.exp: Likewise.
3449
b5d1d6f7
GB
34502020-04-20 Gary Benson <gbenson@redhat.com>
3451
3452 * gdb.base/nested-subp1.exp: Disable test when using clang.
3453 * gdb.base/nested-subp2.exp: Likewise.
3454 * gdb.base/nested-subp3.exp: Likewise.
3455
25230285
GB
34562020-04-20 Gary Benson <gbenson@redhat.com>
3457
3458 * gdb.cp/exception.cc: Fix compilation error with clang.
3459
fa93cc8f
GB
34602020-04-20 Gary Benson <gbenson@redhat.com>
3461
809730f3 3462 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3463
e0c45f30
GB
34642020-04-20 Gary Benson <gbenson@redhat.com>
3465
3466 * gdb.base/jit-main.c: Fix compilation error with clang.
3467
4ddfec93
KR
34682020-04-17 Kamil Rytarowski <n54@gmx.com>
3469
3470 * gdb.base/attach-twice.c: Include "sys/types.h".
3471 (PTRACE_ATTACH): Add fallback definition.
3472 (main): Pass `0' to the 4th argument of `ptrace'.
3473
2bed205e
KR
34742020-04-17 Kamil Rytarowski <n54@gmx.com>
3475
3476 * gdb.base/fork-running-state.c: Include "signal.h".
3477
0743fc83
TT
34782020-04-17 Tom Tromey <tromey@adacore.com>
3479
3480 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3481 Update tests.
3482 * gdb.btrace/cpu.exp: Update tests.
3483 * gdb.base/maint.exp: Update tests.
3484 * gdb.base/default.exp: Update tests.
3485 * gdb.base/completion.exp: Update tests.
3486
efba5c23
TV
34872020-04-16 Tom de Vries <tdevries@suse.de>
3488
3489 PR symtab/25791
3490 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3491 (ensure_gdb_index): and factor out and move ...
3492 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3493 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3494
d191d716
TV
34952020-04-16 Tom de Vries <tdevries@suse.de>
3496
3497 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3498 loading exec.
3499
99f1bc6a
AB
35002020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3501
3502 * gdb.base/many-completions.exp: New file.
3503
194d088f
TV
35042020-04-14 Tom de Vries <tdevries@suse.de>
3505
3506 PR symtab/25718
3507 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3508
c1a66c06
TV
35092020-04-14 Tom de Vries <tdevries@suse.de>
3510
3511 PR symtab/25720
3512 * gdb.base/maint-expand-symbols-header-file.c: New test.
3513 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3514 * gdb.base/maint-expand-symbols-header-file.h: New test.
3515
21b0982c
AB
35162020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3517
3518 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3519 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3520 get_func_info.
3521 (get_func_info): Delete.
3522 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3523 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3524 * lib/dwarf.exp (get_func_info): New function.
3525
dd1cab06
TV
35262020-04-13 Tom de Vries <tdevries@suse.de>
3527
3528 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3529 to what find_gnatmake does.
3530
71ea2b6b
TV
35312020-04-10 Tom de Vries <tdevries@suse.de>
3532
3533 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3534 -readnow.
3535
bdfc1e8a
TV
35362020-04-10 Tom de Vries <tdevries@suse.de>
3537
3538 PR cli/25808
3539 * gdb.base/style.c: Add leading newlines.
3540 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3541 Check listing of main's one-line body.
3542
14ca8ecf
TV
35432020-04-08 Tom de Vries <tdevries@suse.de>
3544
3545 * lib/gdb.exp (psymtabs_p): New proc.
3546 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3547 importing unit" unsupported if there are no partial symbols.
3548
e21d048f
TV
35492020-04-08 Tom de Vries <tdevries@suse.de>
3550
3551 PR testsuite/25760
3552 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3553
25c11aca
TV
35542020-04-07 Tom de Vries <tdevries@suse.de>
3555
3556 PR symtab/25796
3557 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3558
5707e24b
TV
35592020-04-07 Tom de Vries <tdevries@suse.de>
3560
3561 * gdb.base/check-psymtab.c: New test.
3562 * gdb.base/check-psymtab.exp: New file.
3563
6ee448cc
TT
35642020-04-06 Tom Tromey <tromey@adacore.com>
3565
3566 * gdb.ada/variant-record/proc.adb: New file.
3567 * gdb.ada/variant-record/value.adb: New file.
3568 * gdb.ada/variant-record/value.s: New file.
3569 * gdb.ada/variant-record.exp: New file.
3570
9e7c9a03
HD
35712020-04-03 Hannes Domani <ssbssa@yahoo.de>
3572
3573 PR gdb/25325
3574 * gdb.cp/typed-enum.cc: New test.
3575 * gdb.cp/typed-enum.exp: New file.
3576
c90d28ac
AB
35772020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3578
3579 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3580 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3581 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3582 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3583 * gdb.opt/inline-small-func.c: New file.
3584 * gdb.opt/inline-small-func.exp: New file.
3585 * gdb.opt/inline-small-func.h: New file.
3586
34e9a9fa
AB
35872020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3588
3589 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3590 function.
3591
6a354911
AB
35922020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3593
3594 * lib/dwarf.exp (function_range): Allow compiler options to be
3595 specified.
3596
880d9777
TV
35972020-04-02 Tom de Vries <tdevries@suse.de>
3598
3599 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3600 __attribute__((always_inline)).
3601 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3602
f32682ea
TV
36032020-04-02 Tom de Vries <tdevries@suse.de>
3604
3605 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3606 (gdbserver_gdb_exit): ... here. Add timeout warning.
3607 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3608 (connect_target_extended_remote): Append new server_spawn_id to
3609 server_spawn_ids.
3610 (cleanup): New proc.
3611 (setup, <toplevel>): Call cleanup.
3612
d3214198
TV
36132020-04-02 Tom de Vries <tdevries@suse.de>
3614
3615 * gdb.base/main-psymtab.exp: New file.
3616
cc77ed24
TV
36172020-04-02 Tom de Vries <tdevries@suse.de>
3618
3619 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3620
3638a098
TT
36212020-04-01 Tom Tromey <tom@tromey.com>
3622
3623 * gdb.base/complex-parts.exp: Add type tests.
3624
c34e8714
TT
36252020-04-01 Tom Tromey <tom@tromey.com>
3626
3627 * gdb.base/complex-parts.exp: Add arithmetic tests.
3628
981c08ce
TT
36292020-04-01 Tom Tromey <tom@tromey.com>
3630
3631 * gdb.compile/compile.exp: Update.
3632 * gdb.compile/compile-cplus.exp: Update.
3633 * gdb.base/varargs.exp: Update.
3634 * gdb.base/floatn.exp: Update.
3635 * gdb.base/endianity.exp: Update.
3636 * gdb.base/callfuncs.exp (do_function_calls): Update.
3637 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3638 (complex_float_integral_args): Update.
3639 * gdb.base/complex.exp: Update.
3640 * gdb.base/complex-parts.exp: Update.
3641
3d1cfd43
TT
36422020-04-01 Tom Tromey <tromey@adacore.com>
3643
3644 * gdb.rust/union.rs: New file.
3645 * gdb.rust/union.exp: New file.
3646 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3647 (main): Update.
3648 * gdb.rust/simple.exp: Move union tests to union.exp.
3649
e033dfa9
TT
36502020-04-01 Tom Tromey <tromey@adacore.com>
3651
3652 * gdb.rust/simple.rs (main): Remove "y0".
3653
53cccef1
TBA
36542020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3655
3656 * gdb.multi/stop-all-on-exit.c: New test.
3657 * gdb.multi/stop-all-on-exit.exp: New file.
3658
60e22c1e
HD
36592020-04-01 Hannes Domani <ssbssa@yahoo.de>
3660
3661 PR gdb/24789
3662 * gdb.cp/misc.cc: Add integer reference variable.
3663 * gdb.cp/misc.exp: Add test.
3664
e139a727
TBA
36652020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3666
3667 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3668 scenario to cover execution until the end and also the case
3669
16b0db75
TV
36702020-03-31 Tom de Vries <tdevries@suse.de>
3671
3672 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3673 c. Use "maint info symtabs" to check symtab expansion.
3674
c0502da6
TV
36752020-03-30 Tom de Vries <tdevries@suse.de>
3676
3677 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3678 unsupported.
3679 (verify_psymtab_expanded): Move ...
3680 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3681 test.
3682 (readnow): New proc.
3683
5935fd15
AB
36842020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3685
3686 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3687 with $hex.
3688
1773be9e
TT
36892020-03-20 Tom Tromey <tromey@adacore.com>
3690
3691 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3692
70304be9
TT
36932020-03-20 Tom Tromey <tromey@adacore.com>
3694
3695 * gdb.ada/sub_variant/subv.adb: New file.
3696 * gdb.ada/sub_variant.exp: New file.
3697
0dd7b8f7
TV
36982020-03-20 Tom de Vries <tdevries@suse.de>
3699
3700 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3701 first break fails.
3702 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3703
cada5fc9
AB
37042020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3705
3706 * gdb.server/exit-multiple-threads.c: New file.
3707 * gdb.server/exit-multiple-threads.exp: New file.
3708
6b8c53f2
AB
37092020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3710
3711 * gdb.fortran/mixed-lang-stack.c: New file.
3712 * gdb.fortran/mixed-lang-stack.cpp: New file.
3713 * gdb.fortran/mixed-lang-stack.exp: New file.
3714 * gdb.fortran/mixed-lang-stack.f90: New file.
3715
19a2740f
AB
37162020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3717
3718 * gdb.linespec/cp-completion-aliases.cc: New file.
3719 * gdb.linespec/cp-completion-aliases.exp: New file.
3720
d8c8b848
TV
37212020-03-19 Tom de Vries <tdevries@suse.de>
3722
3723 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3724 more precise.
3725
a9933ccf
TV
37262020-03-18 Tom de Vries <tdevries@suse.de>
3727
3728 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3729 * gdb.dwarf2/break-inline-psymtab.c: New test.
3730 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3731
2f89101f
TV
37322020-03-16 Tom de Vries <tdevries@suse.de>
3733
3734 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3735 cache_verify and cache_verify_proc.
3736
6b9374f1
TV
37372020-03-15 Tom de Vries <tdevries@suse.de>
3738
3739 * gdb.server/solib-list.exp: Handle
3740 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3741
eaeaf44c
TV
37422020-03-15 Tom de Vries <tdevries@suse.de>
3743
3744 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3745 objfiles".
3746
3293bbaf
TT
37472020-03-14 Tom Tromey <tom@tromey.com>
3748
3749 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3750
ab44624c
TV
37512020-03-14 Tom de Vries <tdevries@suse.de>
3752
3753 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3754
54c43825
TV
37552020-03-14 Tom de Vries <tdevries@suse.de>
3756
3757 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3758 result in line-by-line fashion.
3759
2ac70237
TV
37602020-03-14 Tom de Vries <tdevries@suse.de>
3761
3762 * lib/gdb.exp (supports_statement_frontiers): New proc.
3763 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3764
09546b56
TV
37652020-03-14 Tom de Vries <tdevries@suse.de>
3766
3767 * gdb.base/printcmds.exp: Add missing quoting for "print
3768 teststring2".
3769
a1f6a07c
TT
37702020-03-13 Tom Tromey <tom@tromey.com>
3771
3772 * gdb.base/printcmds.exp (test_print_strings): Add regression
3773 test.
3774 * gdb.base/printcmds.c (charptr): New typedef.
3775 (teststring2): New global.
3776
1b83d09c
AB
37772020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3778
3779 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3780 full path in the test name.
3781 (test_ld): Add some with_test_prefix blocks to make test names
3782 unique.
3783
2d61316c
TV
37842020-03-13 Tom de Vries <tdevries@suse.de>
3785
3786 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3787
2e9145ac
TV
37882020-03-13 Tom de Vries <tdevries@suse.de>
3789
3790 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3791
96c7f873
TV
37922020-03-13 Tom de Vries <tdevries@suse.de>
3793
3794 PR symtab/25646
3795 * gdb.dwarf2/imported-unit.exp: Add test.
3796
49ba92c0
TV
37972020-03-13 Tom de Vries <tdevries@suse.de>
3798
3799 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3800 (var1, var2): New variable.
3801 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3802 matching symbols.
3803
301b21e0
TV
38042020-03-13 Tom de Vries <tdevries@suse.de>
3805
3806 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3807 (Term::command): Use prompt prefix.
3808 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3809 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3810 command_no_prompt_prefix instead of prefix.
3811 * gdb.tui/tui-layout-asm.exp: Same.
3812
3f512721
SM
38132020-03-12 Simon Marchi <simon.marchi@efficios.com>
3814
3815 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3816
40310f30
SM
38172020-03-12 Simon Marchi <simon.marchi@efficios.com>
3818
3819 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3820 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3821 on" while stepping over the test instruction, match printed
3822 message.
3823
09252140
TV
38242020-03-12 Tom de Vries <tdevries@suse.de>
3825
3826 * gdb.base/info-types.exp: Use exp_continue during matching of output
3827 of "info types".
3828
14e9c72c
TV
38292020-03-12 Tom de Vries <tdevries@suse.de>
3830
3831 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3832
e515d67e
TV
38332020-03-12 Tom de Vries <tdevries@suse.de>
3834
3835 * gdb.fortran/module.exp: Use exp_continue during matching of output
3836 of "info variable -n".
3837
307eafd8
TV
38382020-03-12 Tom de Vries <tdevries@suse.de>
3839
3840 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3841 gdb.dwarf2/dw2-ranges-base.c.
3842
9a2de3fc
TV
38432020-03-12 Tom de Vries <tdevries@suse.de>
3844
3845 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3846 in presence of GLIBC debuginfo.
3847
3217502e
TV
38482020-03-12 Tom de Vries <tdevries@suse.de>
3849
3850 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3851 $core.
3852
1281424c
TV
38532020-03-12 Tom de Vries <tdevries@suse.de>
3854
3855 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3856 more precise.
3857
038b97fc
SM
38582020-03-11 Simon Marchi <simon.marchi@efficios.com>
3859
3860 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3861 from Unix to Windows path.
3862
5308d1e7
TV
38632020-03-11 Tom de Vries <tdevries@suse.de>
3864
3865 * gdb.ada/minsyms.exp: Set language to ada.
3866
f870f78f
TV
38672020-03-11 Tom de Vries <tdevries@suse.de>
3868
3869 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3870
5a13315d
TV
38712020-03-11 Tom de Vries <tdevries@suse.de>
3872
3873 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3874
976862ed
TT
38752020-03-11 Tom Tromey <tromey@adacore.com>
3876
3877 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3878
7462c383
TV
38792020-03-11 Tom de Vries <tdevries@suse.de>
3880
3881 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3882
1c6c46a0
TV
38832020-03-11 Tom de Vries <tdevries@suse.de>
3884
3885 * gdb.base/break-interp.exp: Limit verbose scope.
3886
44f41bb7
TV
38872020-03-11 Tom de Vries <tdevries@suse.de>
3888
3889 * gdb.fortran/logical.f90: Define variable with character type.
3890 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3891
b76f3a42
TV
38922020-03-11 Tom de Vries <tdevries@suse.de>
3893
3894 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3895
1c33af77
TV
38962020-03-11 Tom de Vries <tdevries@suse.de>
3897
3898 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3899 symtabs.
3900
8c95582d
AB
39012020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3902 Bernd Edlinger <bernd.edlinger@hotmail.de>
3903
3904 * gdb.cp/step-and-next-inline.cc: New file.
3905 * gdb.cp/step-and-next-inline.exp: New file.
3906 * gdb.cp/step-and-next-inline.h: New file.
3907 * gdb.dwarf2/dw2-is-stmt.c: New file.
3908 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3909 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3910 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3911 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3912
cecf8547
AB
39132020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3914
3915 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3916 is-stmt flag in the line table.
3917
0ba678c9
TV
39182020-03-09 Tom de Vries <tdevries@suse.de>
3919
3920 * lib/gdb.exp (cached_file): Create cache dir.
3921
72fbdf83
TV
39222020-03-07 Tom de Vries <tdevries@suse.de>
3923
3924 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3925 * gdb.cp/rvalue-ref-params.exp: Same.
3926
436b5e99
TV
39272020-03-06 Tom de Vries <tdevries@suse.de>
3928
3929 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3930 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3931
09f2921c
TV
39322020-03-06 Tom de Vries <tdevries@suse.de>
3933
3934 * README: Fix "the the".
3935 * gdb.base/dprintf.exp: Same.
3936
50a3cc5d
TV
39372020-03-05 Tom de Vries <tdevries@suse.de>
3938
3939 * gdb.base/maint.exp: Update "main print statistics" expected output.
3940
0a709cba
AKS
39412020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3942
3943 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3944 (fortran_int8): Likewise.
3945 (fortran_real4): Likewise.
3946 (fortran_real8): Likewise.
3947 (fortran_complex4): Likewise.
3948 (fortran_logical4): Likewise.
3949 (fortran_character1): Likewise.
3950
5e5d66b6
AB
39512020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3952
3953 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3954 printed as true.
3955
7b973adc
SDJ
39562020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3957
3958 * gdb.base/printcmds.exp: Add test to verify printf of a
3959 variable holding an address.
3960
478e490a
TV
39612020-03-03 Tom de Vries <tdevries@suse.de>
3962
3963 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3964
1ef44e86
TV
39652020-03-03 Tom de Vries <tdevries@suse.de>
3966
3967 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3968 gdb_test_multiple call.
3969
b98cc2cf
TV
39702020-03-03 Tom de Vries <tdevries@suse.de>
3971
3972 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3973 gdb_test_multiple calls.
3974
63e163f2
AB
39752020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3976
3977 * gdb.base/default.exp: Remove test of 'set history filename'.
3978 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3979 filename to the empty string.
3980 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3981 and GDBHISTSIZE.
3982
24ed6739
AB
39832020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3984
3985 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3986 disabled.
3987
590003dc 39882020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 3989 Tom de Vries <tdevries@suse.de>
590003dc
TV
3990
3991 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3992 -prompt prefix, before user_code argument. Add -lbl option likewise.
3993 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3994 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3995 argument.
3996 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3997 have "\r\n" at start-of-line, instead of at end-of-line.
3998
f5e46084
SM
39992020-02-28 Simon Marchi <simon.marchi@efficios.com>
4000
4001 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4002 libinproctrace.so.
4003
f7a7000d
LM
40042020-02-28 Luis Machado <luis.machado@linaro.org>
4005
4006 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4007 to "p/x".
4008
718e0816
LM
40092020-02-28 Luis Machado <luis.machado@linaro.org>
4010
4011 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4012 asm/ptrace.h and error.h.
4013
13c3a74a
TV
40142020-02-28 Tom de Vries <tdevries@suse.de>
4015
4016 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4017 (struct wrapper, do_something, mundane/symada__cS): Move ...
4018 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4019 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4020 Update "print symada__cS before partial symtab expansion" regexp.
4021 Update breakpoint location. Flush symbol cache after expansion.
4022
85d2d5bb
LM
40232020-02-28 Luis Machado <luis.machado@linaro.org>
4024
4025 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4026
3608f86c
TV
40272020-02-27 Tom de Vries <tdevries@suse.de>
4028
4029 * config/sid.exp: Remove unused globals.
4030 * gdb.base/attach.exp: Same.
4031 * gdb.base/catch-load.exp: Same.
4032 * gdb.base/dbx.exp: Same.
4033 * lib/gdb.exp: Same.
4034 * lib/mi-support.exp: Same.
4035 * lib/prompt.exp: Same.
4036
c8d4f6df
TV
40372020-02-27 Tom de Vries <tdevries@suse.de>
4038
4039 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4040 not set.
4041
0d79cdc4
AM
40422020-02-26 Aaron Merey <amerey@redhat.com>
4043
4044 * gdb.debuginfod: New directory for debuginfod tests.
4045 * gdb.debuginfod/main.c: New test file.
4046 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4047
0dce4280
TV
40482020-02-26 Tom de Vries <tdevries@suse.de>
4049
4050 PR gdb/25603
4051 * gdb.base/persistent-lang.cc: New test.
4052 * gdb.base/persistent-lang.exp: New file.
4053
9e80cfa1
AB
40542020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4055
4056 * gdb.fortran/derived-type-striding.exp: Add a new test.
4057 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4058 new test.
4059
2078dbb2
AB
40602020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4061
4062 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4063 names.
4064
70d49700
TV
40652020-02-25 Tom de Vries <tdevries@suse.de>
4066
4067 PR go/18926
4068 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4069
a88ef40d
TV
40702020-02-24 Tom de Vries <tdevries@suse.de>
4071
4072 PR gdb/25592
4073 * gdb.base/info-locals-unused-static-var.c: New test.
4074 * gdb.base/info-locals-unused-static-var.exp: New file.
4075
01b1af32
TT
40762020-02-22 Tom Tromey <tom@tromey.com>
4077
4078 * gdb.python/tui-window.exp: New file.
4079 * gdb.python/tui-window.py: New file.
4080
7c043ba6
TT
40812020-02-22 Tom Tromey <tom@tromey.com>
4082
4083 PR tui/17850:
4084 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4085 tests.
4086
c22fef7e
TT
40872020-02-22 Tom Tromey <tom@tromey.com>
4088
4089 * gdb.tui/new-layout.exp: Add sub-layout tests.
4090
ee325b61
TT
40912020-02-22 Tom Tromey <tom@tromey.com>
4092
4093 * gdb.tui/new-layout.exp: New file.
4094
3f0cbb04
TT
40952020-02-22 Tom Tromey <tom@tromey.com>
4096
4097 * gdb.rust/rust-style.rs: New file.
4098 * gdb.rust/rust-style.exp: New file.
4099 * gdb.base/style.exp: Test structure printing.
4100 * gdb.base/style.c (struct some_struct): New type.
4101 (enum etype): New type.
4102 (struct_value): New global.
4103
75525152
TV
41042020-02-21 Tom de Vries <tdevries@suse.de>
4105
4106 PR go/18926
4107 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4108 Remove blanket xfails. Use message argument for gdb_breakpoint.
4109 Make continuing to breakpoint test conditional on setting breakpoint.
4110 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4111 DW_AT_name attribute. Add xfail for GCC PR93866.
4112
bd360d30
AB
41132020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4114
4115 * gdb.dwarf2/cpp-linkage-name.c: New file.
4116 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4117
c7adb09f 41182020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4119
4120 * lib/gdb.exp (gdb_wrapper_init): Reset
4121 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4122 not exist.
4123
a9c79803
TV
41242020-02-20 Tom de Vries <tdevries@suse.de>
4125
4126 PR go/17018
4127 * gdb.go/hello.exp: Copy ...
4128 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4129 print of st to print value of global definition. Add xfail for GCC
4130 PR93844.
4131 * gdb.go/hello.exp: Remove printing of st before definition.
4132 * gdb.go/hello.go: Copy ...
4133 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4134 to st.
4135 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4136
d7445728
TV
41372020-02-20 Tom de Vries <tdevries@suse.de>
4138
4139 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4140 (gdb_simple_compile): Handle compile_flags go by using .go extension
4141 for source file.
4142 * gdb.go/chan.exp: Use support_go_compile.
4143 * gdb.go/handcall.exp: Same.
4144 * gdb.go/hello.exp: Same.
4145 * gdb.go/integers.exp: Same.
4146 * gdb.go/max-depth.exp: Same.
4147 * gdb.go/methods.exp: Same.
4148 * gdb.go/package.exp: Same.
4149 * gdb.go/strings.exp: Same.
4150 * gdb.go/types.exp: Same.
4151 * gdb.go/unsafe.exp: Same.
4152
c9c41e6d
TV
41532020-02-19 Tom de Vries <tdevries@suse.de>
4154
4155 * gdb.python/lib-types.exp: Make xfail more strict.
4156
f20ff837
TV
41572020-02-19 Tom de Vries <tdevries@suse.de>
4158
4159 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4160
08410482
DE
41612020-02-19 Doug Evans <dje@google.com>
4162
4163 PR rust/25535
4164 * gdb.rust/simple.exp: Add test.
4165 * gdb.rust/simple.rs: Add test.
4166
623563f7
TV
41672020-02-19 Tom de Vries <tdevries@suse.de>
4168
4169 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4170 output line-by-line.
4171
d3308cfd
TV
41722020-02-19 Tom de Vries <tdevries@suse.de>
4173
4174 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4175
86cbc5dc
TV
41762020-02-19 Tom de Vries <tdevries@suse.de>
4177
4178 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4179 prelink.
4180
9db2b96b
TV
41812020-02-19 Tom de Vries <tdevries@suse.de>
4182
4183 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4184 (gdb_do_cache): Use gdb_do_cache_wrap.
4185 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4186
89e2fdc5
TV
41872020-02-19 Tom de Vries <tdevries@suse.de>
4188
4189 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4190 gdb_compile option.
4191
373d7ac0
SM
41922020-02-18 Simon Marchi <simon.marchi@efficios.com>
4193
4194 * gdb.base/printcmds.exp (test_print_enums): Update expected
4195 output.
4196
b29a2df0
SM
41972020-02-18 Simon Marchi <simon.marchi@efficios.com>
4198
4199 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4200 for "unknown".
4201
6740f0cc
SM
42022020-02-18 Simon Marchi <simon.marchi@efficios.com>
4203
4204 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4205 enumerator.
4206
edd45eb0
SM
42072020-02-18 Simon Marchi <simon.marchi@efficios.com>
4208
4209 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4210 FE_, add FE_NONE.
4211 (three): Update.
4212 (enum flag_enum_without_zero): New enum.
4213 (flag_enum_without_zero): New variable.
4214 (enum not_flag_enum): New enum.
4215 (three_not_flag): New variable.
4216 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4217 (test_print_enums): Add more tests for printing flag enums.
4218
d4295de4
TV
42192020-02-18 Tom de Vries <tdevries@suse.de>
4220
4221 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4222 (gdb_compile_ada): ... here.
4223 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4224 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4225
f251f505
TT
42262020-02-14 Tom Tromey <tom@tromey.com>
4227
4228 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4229 build directory.
4230 * boards/gdbserver-base.exp: Update path to gdbserver.
4231
8f432634
TV
42322020-02-13 Tom de Vries <tdevries@suse.de>
4233
4234 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4235
92b6eaf7
TV
42362020-02-13 Tom de Vries <tdevries@suse.de>
4237
4238 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4239 are missing.
4240
f3b0f7fe
TV
42412020-02-13 Tom de Vries <tdevries@suse.de>
4242
4243 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4244 call.
4245
f6be8713
SDJ
42462020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4247
4248 PR tui/25126
4249 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
4250 * gdb.base/cached-source-file.c: New file.
4251 * gdb.base/cached-source-file.exp: New file.
4252
b2770d5e
TV
42532020-02-11 Tom de Vries <tdevries@suse.de>
4254
4255 PR testsuite/25488
4256 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4257
44f6938e
TV
42582020-02-10 Tom de Vries <tdevries@suse.de>
4259
4260 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4261
5f0e2eb7
MR
42622020-02-10 Maciej W. Rozycki <macro@wdc.com>
4263
4264 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4265 and $after_addr are both integers before making a comparison.
4266
46ce2b6f
TV
42672020-02-09 Tom de Vries <tdevries@suse.de>
4268
4269 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4270 command output and paste it into gdb.log. If any, paste catch message
4271 to gdb.log.
4272
5abbbe1d
TT
42732020-02-07 Tom Tromey <tromey@adacore.com>
4274
4275 PR breakpoints/24915:
4276 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4277
1d5d29e7
SV
42782020-02-06 Shahab Vahedi <shahab@synopsys.com>
4279
4280 * gdb.tui/tui-missing-src.exp: Add the "missing source
4281 file" test for the TUI.
4282
b0999b9b
AB
42832020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4284
4285 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4286 including a port number in the output.
4287
c3b149eb
AKS
42882020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4289
4290 * lib/fortran.exp (fortran_int4): Handle clang.
4291 (fortran_int8): Likewise.
4292 (fortran_real4): Likewise.
4293 (fortran_real8): Likewise.
4294 (fortran_complex4): Likewise.
4295 (fortran_logical4): Likewise.
4296 (fortran_character1): Likewise.
4297
f8dcc90b
TV
42982020-02-04 Tom de Vries <tdevries@suse.de>
4299
4300 * README (Race detection): Add note.
4301
f90ac7c2
TV
43022020-02-04 Tom de Vries <tdevries@suse.de>
4303
4304 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4305
780636ae
TV
43062020-02-04 Tom de Vries <tdevries@suse.de>
4307
4308 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4309
5d2e1193
RA
43102020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4311
4312 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4313 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4314 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4315 blttar, bnetarl.
4316 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4317 binary for blttar, bnetarl.
4318 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4319 wait instruction. Delete ldmx test.
4320 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4321
e409c542
AKS
43222020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4323
4324 * gdb.fortran/array-bounds-high.exp: New file.
4325 * gdb.fortran/array-bounds-high.f90: New file.
4326
b0029748
LD
43272020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4328
4329 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4330 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4331
195a8287
TV
43322020-02-01 Tom de Vries <tdevries@suse.de>
4333
4334 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4335
42330a68
AB
43362020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4337
4338 PR tui/9765
4339 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4340 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4341
b62a8028
LM
43422020-01-29 Luis Machado <luis.machado@linaro.org>
4343
4344 * gdb.arch/aarch64-brk-patterns.c: New source file.
4345 * gdb.arch/aarch64-brk-patterns.exp: New test.
4346
5f440116
TBA
43472020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4348
4349 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4350 GCC/Clang version.
4351 * gdb.cp/pass-by-ref.exp: Ditto.
4352
ee2a6fc6
TV
43532020-01-29 Tom de Vries <tdevries@suse.de>
4354
4355 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4356 * gdb.threads/watchpoint-fork-mt.c: Same.
4357 * gdb.threads/watchpoint-fork-parent.c: Same.
4358 * gdb.threads/watchpoint-fork-st.c: Same.
4359 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4360
16b10d6e
LM
43612020-01-27 Luis Machado <luis.machado@linaro.org>
4362
4363 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4364 sitting at a syscall instruction when we hit the syscall function's
4365 breakpoint.
4366 Check PC against one obtained with the x command.
4367 Validate syscall number.
4368 (step_over_syscall): Don't continue to the syscall instruction if
4369 we're already there.
4370
b1468492
PW
43712020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4372
4373 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4374
7ffa82e1
AB
43752020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4376
4377 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4378 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4379
3d92a3e3
AB
43802020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4381
4382 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4383 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4384
94a72be7
AB
43852020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4386
4387 * gdb.base/maint.exp: Update line table parsing test.
4388 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4389
53af73bf
PA
43902020-01-24 Pedro Alves <palves@redhat.com>
4391
4392 PR gdb/25410
4393 * gdb.multi/multi-re-run-1.c: New.
4394 * gdb.multi/multi-re-run-2.c: New.
4395 * gdb.multi/multi-re-run.exp: New.
4396
1ba1ac88
AB
43972020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4398
4399 PR gdb/23718
4400 * gdb.server/server-kill-python.exp: New file.
4401
f3364a6d
AB
44022020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4403
4404 * gdb.server/multi-ui-errors.c: New file.
4405 * gdb.server/multi-ui-errors.exp: New file.
4406
733d0a67
AB
44072020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4408
4409 PR tui/9765
4410 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4411
4f13c1c0
TT
44122020-01-19 Tom Tromey <tom@tromey.com>
4413
4414 * gdb.tui/main.exp: Add check for plain "file".
4415
40c94099
CB
44162020-01-16 Christian Biesinger <cbiesinger@google.com>
4417
4418 * lib/gdb.exp: Fix spelling error (seperatelly).
4419
ff47f4f0
TT
44202020-01-14 Tom Tromey <tom@tromey.com>
4421
4422 PR symtab/12535:
4423 * gdb.python/python.exp: Test decode_line with empty string
4424 argument.
4425
717c684d
BE
44262020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4427
4428 * gdb.base/skip-inline.exp: Extend test.
4429
44e4c775
AB
44302020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4431
4432 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4433 * gdb.dwarf2/dw2-bad-elf.c: New file.
4434 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4435
d93c6db7
AB
44362020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4437
4438 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4439 _line_saw_file.
4440
9a6d629c
AB
44412020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4442
4443 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4444 border.
4445
d9ebdab7
TBA
44462020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4447
4448 * gdb.multi/multi-target.exp (setup): Factor out "info
4449 connections" and "info inferiors" tests to ...
4450 (test_info_inferiors): ... this new procedure.
4451 (top level): Run new "info-inferiors" tests.
4452
f3c469b9
PA
44532020-01-10 Pedro Alves <palves@redhat.com>
4454
4455 * gdb.server/bkpt-other-inferior.exp: New file.
4456
121b3efd
PA
44572020-01-10 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4460 of "add-inferior".
4461 * gdb.base/quit-live.exp: Likewise.
4462 * gdb.base/remote-exec-file.exp: Likewise.
4463 * gdb.guile/scm-progspace.exp: Likewise.
4464 * gdb.linespec/linespec.exp: Likewise.
4465 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4466 * gdb.mi/user-selected-context-sync.exp: Likewise.
4467 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4468 "info inferiors" tests.
4469 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4470 "add-inferior".
4471 * gdb.multi/watchpoint-multi.exp: Likewise.
4472 * gdb.python/py-inferior.exp: Likewise.
4473 * gdb.server/extended-remote-restart.exp: Likewise.
4474 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4475 "info inferiors".
4476 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4477 * gdb.trace/report.exp: Likewise.
4478
1dadb1dd
PA
44792020-01-10 Pedro Alves <palves@redhat.com>
4480
4481 * gdb.multi/multi-target.c: New file.
4482 * gdb.multi/multi-target.exp: New file.
4483 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4484 mode requested, but remote does not support non-stop".
4485
78f2c40a
PA
44862020-01-10 Pedro Alves <palves@redhat.com>
4487
4488 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4489 disconnect before reconnecting.
4490
e7af6c70
TBA
44912020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4492 Pedro Alves <palves@redhat.com>
4493
4494 * gdb.server/connect-without-multi-process.exp: Also test
4495 continuing to end.
4496
acdf84a6
PA
44972020-01-10 Pedro Alves <palves@redhat.com>
4498
4499 * gdb.base/remote-exec-file.exp: New file.
4500
873657b9
PA
45012020-01-10 Pedro Alves <palves@redhat.com>
4502
4503 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4504 output.
4505 * gdb.threads/async.c: New.
4506 * gdb.threads/async.exp: New.
4507 * gdb.multi/tids-gid-reset.c: New.
4508 * gdb.multi/tids-gid-reset.exp: New.
4509
7f0ae84c
GB
45102020-01-10 George Barrett <bob@bob131.so>
4511
4512 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4513 to help in finding the image relocation offset.
4514 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4515 options in arguments.
4516 (stap_test_no_debuginfo): Likewise.
4517 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4518 test variants.
4519 (stap_test): Add null semaphore relocation test.
4520
47e9d49d
GB
45212020-01-10 George Barrett <bob@bob131.so>
4522
4523 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4524 * gdb.base/stap-probe.exp: Likewise.
4525 (stap_test): Pass argument as an additional flag.
4526 (stap_test_no_debuginfo): Likewise.
4527 (stap_test): Check `info probes stap' output for semaphore
4528 addresses if the test binary is supposed to have them.
4529
f5a7c406
AB
45302020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4531
4532 * gdb.tui/basic.exp: Add more scrolling tests.
4533
9ae6bf64
TT
45342020-01-09 Tom Tromey <tom@tromey.com>
4535
4536 PR tui/18932:
4537 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4538 meangingful value.
4539 (Term::command, Term::resize): Update.
4540 * gdb.tui/basic.exp: Add scrolling test.
4541
b2efe70c
AB
45422020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4543
4544 * gdb.tui/tui-layout-asm.exp: New file.
4545
3804da7e
AB
45462020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4547
4548 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4549
b40aa28f
AB
45502020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4551
4552 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4553 (Term::enter_tui): Use Term::prepare_for_tui.
4554
63ffd7c9
AB
45552020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4556
4557 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4558 called.
4559
3be966f6
AB
45602020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4561
4562 * gdb.base/skip.exp: Fix race condition in test.
4563
153d79c4
AB
45642020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4565
4566 * gdb.base/backtrace.c: New file.
4567 * gdb.base/backtrace.exp: New file.
4568
f2302a34
AB
45692020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4570
4571 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4572
6ec1d75e
PW
45732020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4574
4575 * gdb.base/style.exp: Test that warnings are styled.
4576
c296cbe6
BE
45772019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4578
4579 * gdb.base/line65535.exp: New file.
4580 * gdb.base/line65535.c: New file.
4581
b28a729d
SM
45822019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4583
4584 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4585 * lib/gnat_debug_info_test.adb: New file.
4586 * gdb.ada/ptype_tagged_param.exp: Use
4587 gnat_runtime_has_debug_info, expect a different output if
4588 runtime does not have debug info.
4589
7f2d7a0d
SM
45902019-12-20 Simon Marchi <simon.marchi@efficios.com>
4591
4592 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4593 (another) quote in test name.
4594
f3bce483
SM
45952019-12-20 Simon Marchi <simon.marchi@efficios.com>
4596
4597 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4598 Add quote in test name.
4599
c855a912
TBA
46002019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4601
4602 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4603 directory instead.
4604 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4605 * gdb.cp/pass-by-ref-2.cc: New file.
4606 * gdb.cp/pass-by-ref-2.exp: New file.
4607
fc9d2d72
TT
46082019-12-20 Tom Tromey <tom@tromey.com>
4609
4610 * gdb.tui/list-before.exp: New file.
4611
77b97e00
TT
46122019-12-20 Tom Tromey <tom@tromey.com>
4613
4614 * gdb.tui/list.exp: Check for source on initial listing.
4615
f69656d0
TT
46162019-12-11 Tom Tromey <tromey@adacore.com>
4617
4618 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4619 Add crlf test.
4620
99a55965
SM
46212019-12-18 Simon Marchi <simon.marchi@efficios.com>
4622
4623 * gdb.base/default.exp: Update value of $_gdb_major.
4624
5024637f
BE
46252019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4626
4627 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4628
b63634be
BE
46292019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4630
4631 * gdb.base/skip.exp: Whitespace fix.
4632
45d73523
BE
46332019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4634
4635 * gdb.base/skip-inline.c: New file.
4636 * gdb.base/skip-inline.exp: New file.
4637
d043f8c8
SM
46382019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4639
4640 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4641 jit_function_00 to jit_function_stack_mangle.
4642 * gdb.base/jithost.c (jit_function_t): Rename to...
4643 (jit_function_stack_mangle_t): ... this.
4644 (jit_function_add_t): New typedef.
4645 (jit_function_00_code): Rename to...
4646 (jit_function_stack_mangle_code): ... this, make static.
4647 (jit_function_add_code): New.
4648 (main): Generate "add" function and call it. Adjust to changes
4649 in jithost_abi.
4650 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4651 (struct jithost_abi) <begin, end>: Remove fields.
4652 <object, function_stack_mangle, function_add>: New fields.
4653 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4654 code_end>: Remove fields.
4655 <func_stack_mangle>: New field.
4656 (read_debug_info): Adjust to renaming, create block for "add"
4657 function.
4658 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4659
873de05c
TT
46602019-12-11 Tom Tromey <tom@tromey.com>
4661
4662 * gdb.tui/resize.exp: Fix regexp.
4663 * gdb.tui/regs.exp: Fix regexps.
4664 * gdb.tui/main.exp: Fix regexp.
4665
3d979945
TT
46662019-12-11 Tom Tromey <tom@tromey.com>
4667
4668 * gdb.tui/resize.exp: Update.
4669 * gdb.tui/empty.exp (layouts): Update.
4670
2192a9d3
TT
46712019-12-11 Tom Tromey <tom@tromey.com>
4672
4673 * gdb.tui/regs.exp: Update.
4674 * gdb.tui/empty.exp (layouts): Update.
4675 * gdb.tui/basic.exp: Update.
4676 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4677
d8edc8b7
PW
46782019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4679
4680 * gdb.base/options.exp: Add -raw-values in the print completion list.
4681 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4682
4c12d936
KB
46832019-12-10 Kevin Buettner <kevinb@redhat.com>
4684
4685 * gdb.threads/omp-par-scope.c: New file.
4686 * gdb/threads/omp-par-scope.exp: New file.
4687
26b911fb
KB
46882019-12-10 Kevin Buettner <kevinb@redhat.com>
4689
bb47f919
KB
4690 * lib/gdb.exp (support_nested_function_tests): New proc.
4691
46922019-12-10 Kevin Buettner <kevinb@redhat.com>
4693
4694 * lib/gdb.exp (gdb_compile_openmp): New proc.
4695 (build_executable_from_specs): Add an "openmp" option.
4696 (gdb_compile_pthreads): Add non-executable case.
26b911fb 4697
6c71eb7d
TT
46982019-12-10 Tom Tromey <tromey@adacore.com>
4699
4700 * gdb.ada/unchecked_union.exp: New file.
4701 * gdb.ada/unchecked_union/pck.adb: New file.
4702 * gdb.ada/unchecked_union/pck.ads: New file.
4703 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4704 * gdb-utils.exp (string_to_regexp): Also quote "?".
4705
bac7c5cf
GB
47062019-12-10 George Barrett <bob@bob131.so>
4707
4708 Test scripted probe breakpoints.
4709 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4710 * gdb.python/py-breakpoint.c (main): Likewise.
4711 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4712 specifier test.
4713 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4714
330f1d38
TBA
47152019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4716
4717 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4718 an rvalue parameter.
4719 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4720 parameter.
4721
b43315e2
AB
47222019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4723
4724 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4725 modules.
4726
54f73dad
AB
47272019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4728
4729 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4730 broken version of GCC.
4731
d57cbee9
AB
47322019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4733
4734 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4735 sym-info-cmds library.
4736 * gdb.fortran/info-types.exp: Likewise.
4737 * lib/sym-info-cmds.exp: New file.
4738
c14aab8c
TV
47392019-12-08 Tom de Vries <tdevries@suse.de>
4740
4741 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4742
aa2d5a42
KS
47432019-12-07 Keith Seitz <keiths@redhat.com>
4744
4745 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4746 * gdb.base/corefile-buildid-shlib.c: New file.
4747 * gdb.base/corefile-buildid.c: New file.
4748 * gdb.base/corefile-buildid.exp: New file.
4749
93e55f0a
TV
47502019-12-06 Tom de Vries <tdevries@suse.de>
4751
4752 * gdb.dwarf2/varval.exp: Add decl before def test.
4753
c7d12402
TBA
47542019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4755
4756 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4757
06acc08f
TBA
47582019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4759
4760 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4761 CV and reference conversion for overload resolution.
4762 * gdb.cp/rvalue-ref-overload.exp: Test it.
4763
e0fad1ea
PW
47642019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4765
4766 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4767 * gdb.base/frameapply.exp: Test faas without command.
4768
8d70a9f0
AB
47692019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4770
4771 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4772 Fortran tests.
4773 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4774 order.
4775
36c8fb93
AB
47762019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4777
4778 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4779 casting to type with no kind specified.
4780 (test_basic_parsing_of_type_kinds): Additional tests for types
4781 with no kind specified, and add tests for single/double
4782 precision/complex types.
4783
4139ff00
TT
47842019-12-04 Tom Tromey <tromey@adacore.com>
4785
4786 * gdb.base/endianity.c (struct other) <x>: New field.
4787 (main): Initialize it.
4788 * gdb.base/endianity.exp: Update.
4789
a05cf17a
TT
47902019-12-04 Tom Tromey <tromey@adacore.com>
4791
4792 * gdb.ada/scalar_storage/storage.adb: New file.
4793 * gdb.ada/scalar_storage/pck.adb: New file.
4794 * gdb.ada/scalar_storage/pck.ads: New file.
4795 * gdb.ada/scalar_storage.exp: New file.
4796
103a685e
TT
47972019-12-04 Tom Tromey <tromey@adacore.com>
4798
4799 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4800 (main): Initialize it.
4801 * gdb.base/endianity.exp: Update.
4802
c2512106
AB
48032019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4804
4805 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4806
293b38d6
AB
48072019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4808
4809 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4810 -symbol-info-module-functions and -symbol-info-module-variables.
4811
216a7e6b
AB
48122019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4813
4814 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4815
5bbd8269
AB
48162019-12-01 Richard Bunt <richard.bunt@arm.com>
4817 Andrew Burgess <andrew.burgess@embecosm.com>
4818
4819 * gdb.fortran/derived-type-striding.exp: New file.
4820 * gdb.fortran/derived-type-striding.f90: New file.
4821 * gdb.fortran/array-slices.exp: New file.
4822 * gdb.fortran/array-slices.f90: New file.
4823
be09caf1
PW
48242019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4825
4826 * gdb.base/define.exp: Test . in command names.
4827 * gdb.base/setshow.exp: Update test, as . is now part of
4828 command name.
4829
643c0cbe
PW
48302019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4831
4832 * gdb.base/define-prefix.exp: New file.
4833
dcdec678
AB
48342019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4835
4836 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4837 compile.
4838 (skip_btrace_pt_tests): Likewise.
4839
640ab947
AB
48402019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4841
4842 * gdb.fortran/info-modules.exp: Compile source files in correct
4843 order.
4844
d22670f0
KB
48452019-11-27 Kevin Buettner <kevinb@redhat.com>
4846
4847 * gdb.dwarf2/imported-unit.exp: New file.
4848 * gdb.dwarf2/imported-unit.c: New file.
4849
db5960b4
AB
48502019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4851
4852 * gdb.mi/mi-fortran-modules-2.f90: New file.
4853 * gdb.mi/mi-fortran-modules.exp: New file.
4854 * gdb.mi/mi-fortran-modules.f90: New file.
4855
7dc42066
AB
48562019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4857
4858 * gdb.mi/mi-sym-info-1.c: New file.
4859 * gdb.mi/mi-sym-info-2.c: New file.
4860 * gdb.mi/mi-sym-info.exp: New file.
4861
0dfeecca
TT
48622019-11-22 Tom Tromey <tromey@adacore.com>
4863
4864 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4865 * gdb.ada/tasks/foo.adb: Add another stopping location.
4866
34877895
PJ
48672019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4868
4869 * gdb.base/endianity.c: New test.
4870 * gdb.base/endianity.exp: New file.
4871
2e84f897
LD
48722019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4873
4874 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4875
65d1cd5f
TV
48762019-11-21 Tom de Vries <tdevries@suse.de>
4877
4878 PR gdb/24956
4879 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4880
4f22c3f4
SDJ
48812019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4882
4883 * gdb.python/py-progspace.exp: Add missing parentheses on some
4884 'print' commands.
4885
9f6ad286
TT
48862019-11-19 Tom Tromey <tom@tromey.com>
4887
4888 * gdb.tui/winheight.exp: New file.
4889
0b8dbf3f
AB
48902019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4891
4892 * gdb.base/ctf-whatis.c: Delete.
4893 * gdb.base/ctf-whatis.exp: Delete.
4894 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4895
f833b7a7
AB
48962019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4897
4898 * gdb.base/ctf-cvexpr.exp: Delete.
4899 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4900
30d0a636
AB
49012019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4902
4903 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4904 the compiler. Clean up header comment a little.
4905 * gdb.base/ctf-ptype.exp: Likewise.
4906 * gdb.base/ctf-whatis.exp: Likewise.
4907 * lib/gdb.exp (skip_ctf_tests): New proc.
4908
494409bb
SDJ
49092019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4910
4911 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4912 * gdb.tui/corefile-run.exp: New file.
4913
55708e99
TT
49142019-11-14 Tom Tromey <tromey@adacore.com>
4915
4916 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4917 regression tests.
4918
45e42163
TT
49192019-11-12 Tom Tromey <tom@tromey.com>
4920
4921 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4922 after any command. Expect prompt after WAIT_FOR is seen.
4923 (enter_tui): Enable resize messages.
4924 (command): Expect command in output.
4925 (get_line): Avoid error when cursor appears to be off-screen.
4926 (dump_screen): Include screen size in title.
4927 (_do_resize): New proc, from "resize".
4928 (resize): Rewrite. Do resize in two steps.
4929 * gdb.tui/empty.exp (layouts): Fix entries.
4930 (check_boxes): Remove xfail.
4931 (check_text): Dump screen on failure.
4932
086baaf1
AB
49332019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4934
4935 * gdb.python/py-symbol.exp: Add test for
4936 gdb.lookup_static_symbols.
4937
09ff83af
AB
49382019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4939
4940 * gdb.python/py-symbol.c: Declare and call function from new
4941 py-symbol-2.c file.
4942 * gdb.python/py-symbol.exp: Compile both source files, and add new
4943 tests for gdb.lookup_static_symbol.
4944 * gdb.python/py-symbol-2.c: New file.
4945
11af934b
TV
49462019-11-02 Tom de Vries <tdevries@suse.de>
4947
4948 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4949 * gdb.base/anon.exp: Same.
4950 * gdb.base/auto-connect-native-target.exp: Same.
4951 * gdb.base/call-ar-st.exp: Same.
4952 * gdb.base/catch-syscall.exp: Same.
4953 * gdb.base/commands.exp: Same.
4954 * gdb.base/default.exp: Same.
4955 * gdb.base/display.exp: Same.
4956 * gdb.base/float.exp: Same.
4957 * gdb.base/foll-fork.exp: Same.
4958 * gdb.base/help.exp: Same.
4959 * gdb.base/info-macros.exp: Same.
4960 * gdb.base/info-proc.exp: Same.
4961 * gdb.base/info-target.exp: Same.
4962 * gdb.base/long_long.exp: Same.
4963 * gdb.base/macscp.exp: Same.
4964 * gdb.base/memattr.exp: Same.
4965 * gdb.base/nofield.exp: Same.
4966 * gdb.base/pointers.exp: Same.
4967 * gdb.base/printcmds.exp: Same.
4968 * gdb.base/ptype.exp: Same.
4969 * gdb.base/restore.exp: Same.
4970 * gdb.base/return.exp: Same.
4971 * gdb.base/scope.exp: Same.
4972 * gdb.base/set-noassign.exp: Same.
4973 * gdb.base/setshow.exp: Same.
4974 * gdb.base/shlib-call.exp: Same.
4975 * gdb.base/signals.exp: Same.
4976 * gdb.base/sigstep.exp: Same.
4977 * gdb.base/skip.exp: Same.
4978 * gdb.base/solib-symbol.exp: Same.
4979 * gdb.base/stap-probe.exp: Same.
4980 * gdb.base/step-line.exp: Same.
4981 * gdb.base/step-test.exp: Same.
4982 * gdb.base/style.exp: Same.
4983 * gdb.base/varargs.exp: Same.
4984 * gdb.base/vla-datatypes.exp: Same.
4985 * gdb.base/vla-ptr.exp: Same.
4986 * gdb.base/vla-sideeffect.exp: Same.
4987 * gdb.base/volatile.exp: Same.
4988 * gdb.base/watch-cond-infcall.exp: Same.
4989 * gdb.base/watchpoint.exp: Same.
4990
e96ec2ba
TV
49912019-11-02 Tom de Vries <tdevries@suse.de>
4992
4993 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4994 * gdb.cp/cpexprs.exp: Same.
4995 * gdb.cp/except-multi-location.exp: Same.
4996 * gdb.cp/exceptprint.exp: Same.
4997 * gdb.cp/gdb2384.exp: Same.
4998 * gdb.cp/inherit.exp: Same.
4999 * gdb.cp/m-static.exp: Same.
5000 * gdb.cp/meth-typedefs.exp: Same.
5001 * gdb.cp/misc.exp: Same.
5002 * gdb.cp/namespace.exp: Same.
5003 * gdb.cp/non-trivial-retval.exp: Same.
5004 * gdb.cp/overload.exp: Same.
5005 * gdb.cp/pr17132.exp: Same.
5006 * gdb.cp/re-set-overloaded.exp: Same.
5007 * gdb.cp/rvalue-ref-types.exp: Same.
5008 * gdb.cp/templates.exp: Same.
5009
bd5766ec
LM
50102019-11-01 Luis Machado <luis.machado@linaro.org>
5011
5012 PR gdb/25124
5013
5014 * gdb.arch/pr25124.S: New file.
5015 * gdb.arch/pr25124.exp: New file.
5016
165f8965
AB
50172019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5018
5019 * gdb.fortran/info-modules.exp: Update expected results, and add
5020 additional tests for 'info module functinos', and 'info module
5021 variables'.
5022 * gdb.fortran/info-types.exp: Update expected results.
5023 * gdb.fortran/info-types.f90: Extend testcase with additional
5024 module variables and functions.
5025
59c35742
AB
50262019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5027
5028 * gdb.fortran/info-modules.exp: New file.
5029 * gdb.fortran/info-types.exp: Build with new file.
5030 * gdb.fortran/info-types.f90: Include and use new module.
5031 * gdb.fortran/info-types-2.f90: New file.
5032
f3fb2519
PW
50332019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5034
5035 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5036 * gdb.base/settings.exp: Test all settings types using
5037 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5038 that now verifies that the value of "maint show" is the same as
5039 returned by the settings functions. Test the type of the
5040 maintenance settings.
5041 * gdb.base/default.exp: Update show_conv_list.
5042
d1e36019
TV
50432019-10-31 Tom de Vries <tdevries@suse.de>
5044
5045 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5046 gdb_test.
5047 * gdb.arch/amd64-disp-step.exp: Same.
5048 * gdb.asm/asm-source.exp: Same.
5049 * gdb.btrace/buffer-size.exp: Same.
5050 * gdb.btrace/cpu.exp: Same.
5051 * gdb.btrace/enable.exp: Same.
5052 * gdb.dwarf2/count.exp: Same.
5053 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5054 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5055 * gdb.fortran/vla-datatypes.exp: Same.
5056 * gdb.fortran/vla-history.exp: Same.
5057 * gdb.fortran/vla-ptype.exp: Same.
5058 * gdb.fortran/vla-value.exp: Same.
5059 * gdb.fortran/whatis_type.exp: Same.
5060 * gdb.guile/guile.exp: Same.
5061 * gdb.multi/tids.exp: Same.
5062 * gdb.python/py-finish-breakpoint.exp: Same.
5063 * gdb.python/py-framefilter.exp: Same.
5064 * gdb.python/py-pp-registration.exp: Same.
5065 * gdb.python/py-xmethods.exp: Same.
5066 * gdb.python/python.exp: Same.
5067 * gdb.server/connect-with-no-symbol-file.exp: Same.
5068 * gdb.server/no-thread-db.exp: Same.
5069 * gdb.server/run-without-local-binary.exp: Same.
5070 * gdb.stabs/weird.exp: Same.
5071 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5072 * gdb.threads/thread-find.exp: Same.
5073 * gdb.threads/tls-shared.exp: Same.
5074 * gdb.threads/tls.exp: Same.
5075 * gdb.threads/wp-replication.exp: Same.
5076 * gdb.trace/ax.exp: Same.
5077 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5078
3d11e68e
TV
50792019-10-31 Tom de Vries <tdevries@suse.de>
5080
5081 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5082 * gdb.ada/array_subscript_addr.exp: Same.
5083 * gdb.ada/arrayidx.exp: Same.
5084 * gdb.ada/arrayparam.exp: Same.
5085 * gdb.ada/arrayptr.exp: Same.
5086 * gdb.ada/boolean_expr.exp: Same.
5087 * gdb.ada/call_pn.exp: Same.
5088 * gdb.ada/complete.exp: Same.
5089 * gdb.ada/fixed_cmp.exp: Same.
5090 * gdb.ada/fun_addr.exp: Same.
5091 * gdb.ada/funcall_param.exp: Same.
5092 * gdb.ada/interface.exp: Same.
5093 * gdb.ada/mod_from_name.exp: Same.
5094 * gdb.ada/null_array.exp: Same.
5095 * gdb.ada/packed_array.exp: Same.
5096 * gdb.ada/packed_tagged.exp: Same.
5097 * gdb.ada/print_chars.exp: Same.
5098 * gdb.ada/print_pc.exp: Same.
5099 * gdb.ada/ptype_arith_binop.exp: Same.
5100 * gdb.ada/ptype_field.exp: Same.
5101 * gdb.ada/ptype_tagged_param.exp: Same.
5102 * gdb.ada/rec_return.exp: Same.
5103 * gdb.ada/ref_tick_size.exp: Same.
5104 * gdb.ada/str_ref_cmp.exp: Same.
5105 * gdb.ada/taft_type.exp: Same.
5106 * gdb.ada/tagged.exp: Same.
5107 * gdb.ada/type_coercion.exp: Same.
5108 * gdb.ada/uninitialized_vars.exp: Same.
5109
60b6ede8
TV
51102019-10-30 Tom de Vries <tdevries@suse.de>
5111
5112 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5113
30baf67b
TV
51142019-10-26 Tom de Vries <tdevries@suse.de>
5115
5116 * gdb.base/bigcore.c: Fix typos in comments.
5117 * gdb.base/ctf-ptype.c: Same.
5118 * gdb.base/long_long.c: Same.
5119 * gdb.dwarf2/dw2-op-out-param.S: Same.
5120 * gdb.python/py-evthreads.c: Same.
5121 * gdb.reverse/i387-stack-reverse.c: Same.
5122 * gdb.trace/tfile.c: Same.
5123 * lib/compiler.c: Same.
5124 * lib/compiler.cc: Same.
5125
158da0d1
TV
51262019-10-25 Tom de Vries <tdevries@suse.de>
5127
5128 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5129 gdb_test_multiple calls.
5130 * gdb.reverse/sigall-reverse.exp: Same.
5131 * gdb.reverse/solib-precsave.exp: Same.
5132 * gdb.reverse/solib-reverse.exp: Same.
5133 * gdb.reverse/until-precsave.exp: Same.
5134 * gdb.reverse/until-reverse.exp: Same.
5135
4ccdfbec
TV
51362019-10-24 Tom de Vries <tdevries@suse.de>
5137
5138 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5139 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5140 kfail using -wrap pattern flag and convenience variable
5141 gdb_test_name.
5142
33d569b7
AB
51432019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5144
5145 * gdb.python/py-progspace.exp: Add tests for the
5146 Progspace.block_for_pc method.
5147
4d0b984b
TT
51482019-10-23 Tom Tromey <tom@tromey.com>
5149
5150 * configure: Rebuild.
5151 * aclocal.m4: Use m4_include, not sinclude.
5152
94cb3754
TV
51532019-10-21 Tom de Vries <tdevries@suse.de>
5154
5155 * gdb.base/infcall-nested-structs.c: Add
5156 __attribute__((noinline,noclone)) to all functions.
5157 (call_all): Add missing variable initialization. Simplify return value.
5158 (breakpt): Increment volatile variable, to prevent call from being
5159 optimized out.
5160 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5161
062f1fc1
TV
51622019-10-17 Tom de Vries <tdevries@suse.de>
5163
5164 * gdb.fortran/module.exp: Allow info variables to print info for files
5165 other than module.f90.
5166
0b54364d
AB
51672019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5168
5169 * gdb.fortran/module.exp: Extend with 'info variables' test.
5170
7ff5fae7
AB
51712019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5172
5173 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5174 F77_FOR_TARGET.
5175
d10eccaa
TV
51762019-10-16 Tom de Vries <tdevries@suse.de>
5177
5178 PR tdep/25096
5179 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5180
745ff14e
TV
51812019-10-16 Tom de Vries <tdevries@suse.de>
5182
5183 PR tdep/24104
5184 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5185 Add KFAIL for PR tdep/25096.
5186
03e1ab94
TV
51872019-10-16 Tom de Vries <tdevries@suse.de>
5188
5189 PR testsuite/25059
5190 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5191
b17fcc10
TV
51922019-10-16 Tom de Vries <tdevries@suse.de>
5193
5194 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5195 as signed.
5196
9223170f
SM
51972019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5198
5199 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5200 one instead of increasing timeout.
5201
d6e76313
TV
52022019-10-13 Tom de Vries <tdevries@suse.de>
5203
5204 PR record/25038
5205 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5206 * gdb.reverse/sigall-reverse.exp: Same.
5207 * gdb.reverse/solib-precsave.exp: Same.
5208 * gdb.reverse/solib-reverse.exp: Same.
5209 * gdb.reverse/step-precsave.exp: Same.
5210 * gdb.reverse/until-precsave.exp: Same.
5211 * gdb.reverse/until-reverse.exp: Same.
5212 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5213
6dfc0041
AA
52142019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5215
5216 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5217 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5218 (cmp_struct_05_01, cmp_struct_static_02_01)
5219 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5220 comparisons.
5221
abcf2cc8
TV
52222019-10-10 Tom de Vries <tdevries@suse.de>
5223
5224 PR testsuite/24888
5225 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5226 gnatlink.
5227
a50faaf6
TV
52282019-10-09 Tom de Vries <tdevries@suse.de>
5229
5230 PR testsuite/25048
5231 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5232
60ff3cd7
AB
52332019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5234
5235 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5236 exceptions due to missing debug information.
5237
dfee8566
TV
52382019-10-07 Tom de Vries <tdevries@suse.de>
5239
5240 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5241
3d63690a
AB
52422019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5243
5244 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5245 * gdb.base/annota1.exp: Update to use gdb_test_name.
5246
30d1f018
WP
52472019-10-07 Weimin Pan <weimin.pan@oracle.com>
5248
5249 * gdb.base/ctf-whatis.exp: New file.
5250 * gdb.base/ctf-whatis.c: New file.
5251 * gdb.base/ctf-ptype.exp: New file.
5252 * gdb.base/ctf-ptype.c: New file.
5253 * gdb.base/ctf-constvars.exp: New file.
5254 * gdb.base/ctf-constvars.c: New file.
5255 * gdb.base/ctf-cvexpr.exp: New file.
5256
4dbbb47c
TV
52572019-10-04 Tom de Vries <tdevries@suse.de>
5258
5259 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5260 for loop.
5261
77c2dba3
TT
52622019-10-03 Tom Tromey <tom@tromey.com>
5263
5264 PR rust/24976:
5265 * gdb.rust/simple.rs (Union2): New type.
5266 (main): Use Union2.
5267 * gdb.rust/simple.exp: Add test.
5268
179aed7f
AB
52692019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5270
5271 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5272 nested function prefix.
5273
0a4b0913
AB
52742019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5275 Richard Bunt <richard.bunt@arm.com>
5276 Andrew Burgess <andrew.burgess@embecosm.com>
5277
5278 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5279 nested functions.
5280 * gdb.fortran/nested-funcs.f90: Update expected results.
5281 * gdb.fortran/nested-funcs-2.exp: New file.
5282 * gdb.fortran/nested-funcs-2.f90: New file.
5283
082cce05
AB
52842019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5285
5286 * gdb.python/py-parameter.exp: Make test names unique.
5287 * gdb.python/py-template.exp: Likewise.
5288 * gdb.python/py-value.exp: Likewise.
5289
2b74ba5a
AB
52902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5291
5292 * gdb.base/break-interp.exp: Reduce test name duplication.
5293 * gdb.base/call-sc.exp: Likewise.
5294 * gdb.base/callfuncs.exp: Likewise.
5295 * gdb.base/charset.exp: Likewise.
5296 * gdb.base/dump.exp: Likewise.
5297 * gdb.base/ena-dis-br.exp: Likewise.
5298 * gdb.base/relational.exp: Likewise.
5299 * gdb.base/step-over-syscall.exp: Likewise.
5300 * gdb.base/structs.exp: Likewise.
5301
58eb20d5
AB
53022019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5303
5304 * gdb.linespec/explicit.exp: Make test names unique.
5305 * gdb.linespec/ls-errs.exp: Likewise.
5306
4d421147
AB
53072019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5308
5309 * gdb.reverse/break-precsave.exp: Make test names unique.
5310 * gdb.reverse/break-reverse.exp: Likewise.
5311 * gdb.reverse/finish-precsave.exp: Likewise.
5312 * gdb.reverse/finish-reverse.exp: Likewise.
5313 * gdb.reverse/machinestate-precsave.exp: Likewise.
5314 * gdb.reverse/machinestate.exp: Likewise.
5315 * gdb.reverse/readv-reverse.exp: Likewise.
5316 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5317 * gdb.reverse/sigall-precsave.exp: Likewise.
5318 * gdb.reverse/sigall-reverse.exp: Likewise.
5319 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5320 * gdb.reverse/watch-precsave.exp: Likewise.
5321 * gdb.reverse/watch-reverse.exp: Likewise.
5322
d8c06f22
AB
53232019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5324
5325 * gdb.threads/stop-with-handle.c: New file.
5326 * gdb.threads/stop-with-handle.exp: New file.
5327
3a56ed86
TV
53282019-10-03 Tom de Vries <tdevries@suse.de>
5329
5330 PR testsuite/25059
5331 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5332 directory" line to be missing.
5333
42275044
TV
53342019-10-03 Tom de Vries <tdevries@suse.de>
5335
5336 PR testsuite/25059
5337 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5338 type optional.
5339
9ef62df0
AA
53402019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5341
5342 * gdb.python/py-format-string.c (string.h): New include.
5343 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5344 the same value, for endianness-independence.
5345 * gdb.python/py-format-string.exp (default_regexp_dict)
5346 (test_pretty_structs, test_format): Adjust expected output to the
5347 changed initialization.
5348
37f6a7f4
TT
53492019-10-02 Tom Tromey <tromey@adacore.com>
5350
5351 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5352
1d58d6a2
PA
53532019-10-02 Pedro Alves <palves@redhat.com>
5354 Andrew Burgess <andrew.burgess@embecosm.com>
5355
5356 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5357 "print-file-var.h".
5358 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5359 (get_version_1): Print this_version_id and its address.
5360 Add extern "C" wrappers around interface functions.
5361 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5362 "print-file-var.h".
5363 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5364 (get_version_2): Print this_version_id and its address.
5365 Add extern "C" wrappers around interface functions.
5366 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5367 <stddef.h> and "print-file-var.h".
5368 Add extern "C" wrappers around interface functions.
5369 [VERSION_ID_MAIN] (this_version_id): Define.
5370 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5371 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5372 up extern "C" blocks.
5373 * gdb.base/print-file-var.exp (test): New, factored out from top
5374 level.
5375 (top level): Test all combinations of attribute hidden or not,
5376 dlopen or not, and this_version_id symbol in main file or not.
5377 Compile tests as both C++ and C, make test names unique.
5378
d770d56f
TT
53792019-10-01 Tom Tromey <tom@tromey.com>
5380
5381 * gdb.base/style.exp: Test "show logging filename".
5382
7f6aba03
TT
53832019-10-01 Tom Tromey <tom@tromey.com>
5384
5385 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5386 * gdb.base/style.exp: Add metadata style test.
5387
14309bb6
TT
53882019-10-01 Tom Tromey <tom@tromey.com>
5389
5390 * gdb.base/style.exp: Test "pwd".
5391
2a3c1174
PA
53922019-10-01 Tom Tromey <tom@tromey.com>
5393
5394 * gdb.base/style.exp: Update tests.
5395
53d666ec
AA
53962019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5397
5398 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5399 'six' to unsigned.
5400 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5401 'five'. Use an all-ones bit pattern for each.
5402 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5403 to its changed values.
5404
4a56a520
TT
54052019-09-30 Tom Tromey <tromey@adacore.com>
5406
5407 * gdb.rust/traits.rs: Disable all warnings.
5408
0df0352a
TV
54092019-09-29 Tom de Vries <tdevries@suse.de>
5410
aac66a4c 5411 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 5412
73d9a918
TV
54132019-09-29 Tom de Vries <tdevries@suse.de>
5414
5415 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5416
060b3ab4
TV
54172019-09-27 Tom de Vries <tdevries@suse.de>
5418
5419 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5420
68f7d34d
TV
54212019-09-27 Tom de Vries <tdevries@suse.de>
5422
5423 PR record/23188
5424 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5425
5d63b30a
TT
54262019-09-26 Tom Tromey <tromey@adacore.com>
5427
5428 * gdb.ada/py_taft.exp: New file.
5429 * gdb.ada/py_taft/main.adb: New file.
5430 * gdb.ada/py_taft/pkg.adb: New file.
5431 * gdb.ada/py_taft/pkg.ads: New file.
5432
3d435220
TV
54332019-09-24 Tom de Vries <tdevries@suse.de>
5434
5435 PR gdb/24598
5436 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5437
77d03678
TV
54382019-09-22 Tom de Vries <tdevries@suse.de>
5439
5440 * gdb.base/restore.exp: Allow register variables to be optimized out at
5441 -O0.
5442
abf516c6
UW
54432019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5444
5445 * gdb.arch/spu-info.exp: Remove file.
5446 * gdb.arch/spu-info.c: Remove file.
5447 * gdb.arch/spu-ls.exp: Remove file.
5448 * gdb.arch/spu-ls.c: Remove file.
5449
5450 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5451 * gdb.asm/spu.inc: Remove file.
5452
5453 * gdb.base/dump.exp: Remove support for spu*-*-*.
5454 * gdb.base/stack-checking.exp: Likewise.
5455 * gdb.base/overlays.exp: Likewise.
5456 * gdb.base/ovlymgr.c: Likewise.
5457 * gdb.base/spu.ld: Remove file.
5458
5459 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5460 * gdb.cp/cpexprs.exp: Likewise.
5461 * gdb.cp/exception.exp: Likewise.
5462 * gdb.cp/gdb2495.exp: Likewise.
5463 * gdb.cp/mb-templates.exp: Likewise.
5464 * gdb.cp/pr9167.exp: Likewise.
5465 * gdb.cp/userdef.exp: Likewise.
5466
5467 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5468
5469 * gdb.cell: Remove directory.
5470 * lib/cell.exp: Remove file.
5471
e452e88f
TV
54722019-09-19 Tom de Vries <tdevries@suse.de>
5473
5474 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5475
8a625130
TV
54762019-09-19 Tom de Vries <tdevries@suse.de>
5477
5478 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5479
81dc3ab5
TV
54802019-09-19 Tom de Vries <tdevries@suse.de>
5481
5482 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5483 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5484 (gdb_target_cmd): ... here.
5485 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5486 value 2.
5487
b078f3ac
AB
54882019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5489
5490 * gdb.base/source-dir.exp: Avoid having directory names in test
5491 names.
5492
f1b620e9
MG
54932019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5494
5495 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5496 directory.
5497
67f3ed6a
AB
54982019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5499
5500 * gdb.base/list-missing-source.exp: New file.
5501
d1b70248
TV
55022019-09-14 Tom de Vries <tdevries@suse.de>
5503
5504 PR teststuite/24599
5505 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5506 * lib/ada.exp (gnatmake_version_at_least): New proc.
5507
5fabdcd6
AB
55082019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5509
5510 * gdb.base/maint.exp: Use exec_has_index_section.
5511
aa17805f
AB
55122019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5513
5514 * gdb.base/maint.exp: Add test for 'maint info sections'.
5515
25e5c209
TV
55162019-09-12 Tom de Vries <tdevries@suse.de>
5517
5518 * gdb.base/store.exp: Allow register variables to be optimized out at
5519 -O0.
5520
4993045d
PW
55212019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5522
5523 * gdb.ada/rdv_wait.exp: Update to new task names.
5524 * gdb.base/task_switch_in_core.exp: Likewise.
5525 * gdb.base/info_sources_base.c: Likewise.
5526
8a516164
TT
55272019-09-10 Tom Tromey <tromey@adacore.com>
5528
5529 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5530
aa391654
TT
55312019-09-10 Tom Tromey <tromey@adacore.com>
5532
5533 * gdb.ada/dgopt.exp: New file.
5534 * gdb.ada/dgopt/x.adb: New file.
5535
8634b462
TT
55362019-09-08 Tom Tromey <tom@tromey.com>
5537
5538 * gdb.tui/resize.exp: Remove setup_xfail.
5539 * gdb.tui/regs.exp: Remove setup_xfail.
5540 * gdb.tui/basic.exp: Remove setup_xfail.
5541
736b0f76
DB
55422019-09-06 David Blaikie <dblaikie@gmail.com>
5543
5544 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5545 * gdb.cp/cplabel.exp: Ditto.
5546 * gdb.linespec/ls-errs.exp: Ditto.
5547
30331a6c
TV
55482019-09-05 Tom de Vries <tdevries@suse.de>
5549
5550 * lib/gdb.exp (cmp_file_string): New proc.
5551 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5552 runto_main. Verify save breakpoints output.
5553
98b0ebab
PW
55542019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5555
5556 * gdb.base/info-var.exp: Test info variables without running
5557 to main, to avoid expect's buffer overflow.
5558
4e962e74
TT
55592019-09-03 Tom Tromey <tromey@adacore.com>
5560
5561 * gdb.ada/bias.exp: New file.
5562 * gdb.ada/bias/bias.adb: New file.
5563 * gdb.ada/print_chars.exp: Add regression test.
5564 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5565 (MC): New variable.
5566
2ea1a07a
SL
55672019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5568
5569 * gdb.base/argv0-symlink.exp: Run only on native target
5570 and local host.
5571
8077c50d
TV
55722019-08-29 Tom de Vries <tdevries@suse.de>
5573
5574 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5575 diverse debug info.
5576 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5577
48352473
TV
55782019-08-28 Tom de Vries <tdevries@suse.de>
5579
5580 * gdb.base/info-var.exp: Allow info variables to print info for files
5581 other than info-var-f1.c and info-var-f2.c.
5582
d8f27c60
AB
55832019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5584
5585 * gdb.fortran/info-types.exp: Add module.
5586 * gdb.fortran/info-types.f90: Update expected results.
5587
1f20c35e
AB
55882019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5589
5590 * gdb.fortran/info-types.exp: New file.
5591 * gdb.fortran/info-types.f90: New file.
5592 * lib/fortran.exp (fortran_character1): New proc.
5593
4acfdd20
AB
55942019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5595
5596 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5597 functions'. Reindent as needed.
5598 * gdb.base/info-var-f1.c: New file.
5599 * gdb.base/info-var-f2.c: New file.
5600 * gdb.base/info-var.exp: New file.
5601 * gdb.base/info-var.h: New file.
5602
5c31b358
TV
56032019-08-26 Tom de Vries <tdevries@suse.de>
5604
5605 PR c++/24852
5606 * gdb.cp/no-libstdcxx-probe.exp: New test.
5607
b694989f
TV
56082019-08-26 Tom de Vries <tdevries@suse.de>
5609
5610 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5611 * tests need to be skipped.
5612 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5613 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5614 mi_skip_libstdcxx_probe_tests.
5615
d9c4ba53
SDJ
56162019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5617
5618 * gdb.python/py-xmethods.exp: Use raw strings when passing
5619 arguments to SimpleXMethodMatcher.
5620
395fad09
TV
56212019-08-22 Tom de Vries <tdevries@suse.de>
5622
5623 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5624 more informative.
5625
26c957f1
PA
56262019-08-21 Pedro Alves <palves@redhat.com>
5627
5628 * gdb.base/with.exp: Test "with" with no arguments.
5629
61f80d5d
TV
56302019-08-21 Tom de Vries <tdevries@suse.de>
5631
5632 * gdb.base/gdb-caching-proc.exp: Sort files.
5633
d7a11d13
TV
56342019-08-20 Tom de Vries <tdevries@suse.de>
5635
5636 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5637 compilation.
5638
34dafe9f
TV
56392019-08-16 Tom de Vries <tdevries@suse.de>
5640
5641 * gdb.base/compare-sections.exp ("after run to main"): Allow
5642 mismatched read-only sections for PIE executables.
5643
398fdd60
TT
56442019-08-16 Tom Tromey <tom@tromey.com>
5645
5646 * lib/tuiterm.exp (_csi_Z): New proc.
5647 * gdb.tui/basic.exp: Update window positions.
5648 * gdb.tui/empty.exp: Update window positions.
5649
d8f9e51c
SL
56502019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5651
5652 * gdb.base/examine-backward.exp: Correct regexp for
5653 "examine 3 bytes backward from ${address_zero}".
5654
3df505f6
TT
56552019-08-15 Tom Tromey <tom@tromey.com>
5656
5657 * gdb.tui/empty.exp: Enable resizing tests.
5658
272560b5
TT
56592019-08-15 Tom Tromey <tromey@adacore.com>
5660
5661 * gdb.ada/char_enum.exp: Add regression tests.
5662 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5663 and '0'.
5664 (Char, Gchar): Update.
5665 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5666
08235187
CB
56672019-08-15 Christian Biesinger <cbiesinger@google.com>
5668
5669 * gdb.python/python.exp: Expect a leading underscore on
5670 GdbOutput{,Error}File.
5671
22a2ab04
SL
56722019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5673
5674 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5675 Windows host.
5676
835b995b
SL
56772019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5678
5679 * gdb.base/batch-preserve-term-settings.exp
5680 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5681
97dd8e07
CB
56822019-08-15 Christian Biesinger <cbiesinger@google.com>
5683
5684 * lib/gdb.exp: When running on a mingw target, replace
5685 /x/ with x:/.
5686
75faf5c4
AH
56872019-08-14 Alan Hayward <alan.hayward@arm.com>
5688
5689 * gdb.arch/aarch64-prologue.c: New test.
5690 * gdb.arch/aarch64-prologue.exp: New file.
5691
abc6c00f
TV
56922019-08-13 Tom de Vries <tdevries@suse.de>
5693
5694 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5695 Thread.
5696
74c2c1f4
SL
56972019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5698
5699 * gdb.python/py-completion.exp: Download the .py file to the host
5700 and use its host pathname. Conditionalize tests that use
5701 tab completion and manipulate files on the build machine.
5702 * gdb.python/py-events.exp: Download the .py file to the host
5703 and use its host pathname.
5704 * gdb.python/py-evsignal.exp: Likewise.
5705 * gdb.python/py-evthreads.exp: Likewise.
5706 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5707 pathname syntax.
5708 * gdb.python/py-framefilter.exp: Download the .py file to the right
5709 place on the host. Match Windows pathname syntax.
5710 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5711 .py file to the host and use its host pathname.
5712 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5713 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5714 build pathname. Skip symlink test on Windows host. Add missing
5715 newline at end of file.
5716 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5717 and use its host pathname.
5718 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5719 * gdb.python/py-section-script.exp: Use host location of binfile
5720 on safe-path. Use correct path separator on Windows host.
5721 Reorder alternatives in gdb_test_multiple to prevent matching
5722 the wrong alternative on success.
5723 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5724
ca2589f3
PP
57252019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5726
5727 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5728 expect the GDB inferior to no longer immediately stop after
5729 being resumed with "signal SIGINT".
5730
020a839d
SL
57312019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5732
5733 * gdb.linespec/break-ask.exp: Generalize regexps to match
5734 Windows pathnames too.
5735
128d6509
TV
57362019-08-08 Tom de Vries <tdevries@suse.de>
5737
5738 PR testsuite/24862
5739 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5740
590042fc
PW
57412019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5742
5743 * gdb.base/style.exp: Update tests for help doc new invariants.
5744 * gdb.base/help.exp: Likewise.
5745
046bebe1
TT
57462019-08-06 Tom Tromey <tom@tromey.com>
5747
5748 * gdb.base/style.exp: Add disassemble test.
5749 * gdb.base/style.c (some_called_function): New function.
5750 (main): Use it.
5751
0b27c27d
CB
57522019-08-05 Christian Biesinger <cbiesinger@google.com>
5753
5754 * gdb.python/py-block.exp: Test dictionary access on blocks.
5755
580f1034
SM
57562019-08-05 Simon Marchi <simon.marchi@efficios.com>
5757
5758 PR gdb/24863
5759 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5760 -list-thread-groups --available test when running under
5761 check-read1.
5762
d86bd7cb
TV
57632019-08-05 Tom de Vries <tdevries@suse.de>
5764
5765 PR testsuite/24863
5766 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5767 * gdb.base/help.exp: Use with_read1_timeout_factor.
5768 * gdb.base/info-macros.exp: Same.
5769 * gdb.cp/nested-types.exp: Same.
5770
a80cf5d8
TV
57712019-08-05 Tom de Vries <tdevries@suse.de>
5772
5773 * lib/gdb.exp (version_at_least): Factor out of ...
5774 (tcl_version_at_least): ... here.
5775 (gdb_compile): Fail if pie results in non-PIE executable.
5776 (readelf_version, readelf_prints_pie): New proc.
5777 (exec_is_pie): Return -1 if unknown.
5778
d0962838
TV
57792019-08-05 Tom de Vries <tdevries@suse.de>
5780
5781 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5782
2252ff3d
SL
57832019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5784
5785 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5786
26655f53
SL
57872019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5788
5789 * lib/completion-support.exp (test_gdb_complete_none): Skip
5790 tab completion tests if no readline support.
5791 (test_gdb_complete_unique_re): Likewise.
5792 (test_gdb_complete_multiple): Likewise.
5793
db4dc13e
PW
57942019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5795
5796 * gdb.base/info_sources.exp: New file.
5797 * gdb.base/info_sources.c: New file.
5798 * gdb.base/info_sources_base.c: New file.
5799
0eba165a
PFC
58002019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5801
5802 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5803 prefix argument.
5804 (test_exit_status): Add prefix argument.
5805
59bd512b
TV
58062019-08-01 Tom de Vries <tdevries@suse.de>
5807
5808 PR testsuite/24863
5809 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5810 calling exp_continue for new thread and thread exited messages.
5811
2a3ad588
TV
58122019-08-01 Tom de Vries <tdevries@suse.de>
5813
5814 PR testsuite/24863
5815 * gdb.base/structs.exp: Fix check-read1 timeout using
5816 gdb_test_sequence.
5817 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5818
117eb594
TV
58192019-08-01 Tom de Vries <tdevries@suse.de>
5820
5821 PR testsuite/24863
5822 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5823 line.
5824
ed591340
TV
58252019-08-01 Tom de Vries <tdevries@suse.de>
5826
5827 PR testsuite/24863
5828 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5829
aa3b6533
TT
58302019-07-30 Tom Tromey <tromey@adacore.com>
5831
5832 * gdb.ada/display_nested.exp: New file.
5833 * gdb.ada/display_nested/foo.adb: New file.
5834 * gdb.ada/display_nested/pack.adb: New file.
5835 * gdb.ada/display_nested/pack.ads: New file.
5836
2906593f
CB
58372019-07-30 Christian Biesinger <cbiesinger@google.com>
5838
5839 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5840 namespace.
5841 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5842
0f575925
TV
58432019-07-30 Tom de Vries <tdevries@suse.de>
5844
5845 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5846 instead.
5847
b13057d9
TV
58482019-07-30 Tom de Vries <tdevries@suse.de>
5849
5850 PR testsuite/24834
5851 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5852 (exec_is_pie): New proc.
5853
5c4dde85
CB
58542019-07-29 Christian Biesinger <cbiesinger@google.com>
5855
5856 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5857
c620ed88
CB
58582019-07-29 Christian Biesinger <cbiesinger@google.com>
5859
5860 * gdb.python/py-objfile.c: Add global and static vars.
5861 * gdb.python/py-objfile.exp: Test new functions Objfile.
5862 lookup_global_symbol and lookup_static_symbol.
5863
3d235706
TT
58642019-07-29 Tom Tromey <tom@tromey.com>
5865
5866 * lib/tuiterm.exp (Term::_csi_@): New proc.
5867 (Term::_csi_X): Don't move cursor.
5868
c7e4c0a6
PW
58692019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5870
5871 * gdb.base/options.exp: Update backtrace - completion to
5872 new option -frame-info.
5873 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5874 Test new 'set print frame-info'. Test backtrace -frame-info
5875 overriding 'set print frame-info'.
5876 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5877 Test new 'set print frame-info'.
5878 Verify consistency of backtrace with and without filters, with and
5879 without -no-filters.
5880 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5881 default.
5882
de28a3b7
TV
58832019-07-29 Tom de Vries <tdevries@suse.de>
5884
5885 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5886 no arguments".
5887
507dd60e
TV
58882019-07-29 Tom de Vries <tdevries@suse.de>
5889
5890 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5891 is a substring of the first for "complete non-unique file name".
5892
5beafce9
TV
58932019-07-29 Tom de Vries <tdevries@suse.de>
5894
5895 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5896 with ".*".
5897
2d274232
TV
58982019-07-29 Tom de Vries <tdevries@suse.de>
5899
5900 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5901 Pass prompt_regexp parameter to gdb_test_multiple calls.
5902
9197cd8b
TV
59032019-07-29 Tom de Vries <tdevries@suse.de>
5904
5905 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 5906 print registers" regexps.
9197cd8b 5907
b528dae0
TV
59082019-07-29 Tom de Vries <tdevries@suse.de>
5909
5910 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5911
d17725d7
TV
59122019-07-29 Tom de Vries <tdevries@suse.de>
5913
5914 PR gdb/24855
5915 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5916 (skip_python_tests_prompt): Add prompt_regexp argument to
5917 gdb_test_multiple calls.
5918
52b75bf1
TT
59192019-07-27 Tom Tromey <tom@tromey.com>
5920
5921 * gdb.tui/main.exp: New file.
5922
2b1d00c2
TT
59232019-07-27 Tom Tromey <tom@tromey.com>
5924
5925 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5926 optional.
5927 * gdb.tui/empty.exp: New file.
5928
ded631d5
TT
59292019-07-27 Tom Tromey <tom@tromey.com>
5930
5931 * lib/tuiterm.exp (spawn): New proc.
5932 (Term::resize): New proc.
5933 * gdb.tui/resize.exp: New file.
5934
58ac439d
TT
59352019-07-27 Tom Tromey <tom@tromey.com>
5936
5937 * gdb.tui/list.exp: New file.
5938
fe1f56ee
TT
59392019-07-27 Tom Tromey <tom@tromey.com>
5940
5941 * gdb.tui/regs.exp: New file.
5942
f790b310
TT
59432019-07-27 Tom Tromey <tom@tromey.com>
5944
5945 * gdb.tui/basic.exp: Add "layout split" test.
5946
d95fc6ee
TT
59472019-07-27 Tom Tromey <tom@tromey.com>
5948
5949 * gdb.tui/basic.exp: Add "layout asm" test.
5950
c3786b3a
TT
59512019-07-27 Tom Tromey <tom@tromey.com>
5952
5953 * lib/tuiterm.exp: New file.
5954 * gdb.tui/basic.exp: New file.
5955
98a617f8
KB
59562019-07-27 Kevin Buettner <kevinb@redhat.com>
5957
5958 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5959 Enable tests associated with this flag. Adjust regex
5960 referencing "foo_low" to now refer to "foo_cold" instead.
5961
5c076da4
KB
59622019-07-27 Kevin Buettner <kevinb@redhat.com>
5963
5964 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5965 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5966 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5967 foo_cold. Revise comments to match.
5968 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5969 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5970 were wrapped into this proc; Call do_test in loop from outermost
5971 level.
5972 (foo_low): Rename all occurrences to "foo_cold".
5973 (backtrace from baz): New test.
5974 (x2/i foo_cold): New test.
5975 (info line *foo_cold): New test.
5976
1512d3b7
TV
59772019-07-26 Tom de Vries <tdevries@suse.de>
5978
5979 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5980
297989a1
TV
59812019-07-25 Tom de Vries <tdevries@suse.de>
5982
5983 PR testsuite/24830
5984 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5985 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5986 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5987 (skip_libstdcxx_probe_tests): ... here.
5988 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5989
b3b965fb
TV
59902019-07-24 Tom de Vries <tdevries@suse.de>
5991
5992 PR testsuite/24807
5993 * gdb.objc/basicclass.m: Include stdio.h.
5994 * gdb.objc/nondebug.m: Same.
5995 * gdb.objc/objcdecode.m: Same.
5996
4625b4d0
TV
59972019-07-24 Tom de Vries <tdevries@suse.de>
5998
5999 PR testsuite/24612
6000 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6001 additional_flags.
6002
024a5840
TV
60032019-07-24 Tom de Vries <tdevries@suse.de>
6004
6005 PR testsuite/24831
6006 * gdb.multi/tids.exp: Update error messages for info threads.
6007
c76ddaa3
TV
60082019-07-24 Tom de Vries <tdevries@suse.de>
6009
6010 * gdb.base/info-types.exp: Allow info types to print info for more than
6011 one file.
6012
9a618ef6
TV
60132019-07-23 Tom de Vries <tdevries@suse.de>
6014
6015 PR testsuite/24842
6016 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6017 gdb_spawn_with_cmdline_opts.
6018
40eadf04
SP
60192019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6020
6021 * gdb.arch/arm-cmse-sgstubs.c: New test.
6022 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6023
5ba29434
TV
60242019-07-23 Tom de Vries <tdevries@suse.de>
6025
6026 PR testsuite/24711
6027 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6028 issuing next command.
6029
a8e9d247
AB
60302019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6031
6032 * gdb.ada/info_auto_lang.exp: Update expected results.
6033 * gdb.base/info-types.c: Add additional types to check.
6034 * gdb.base/info-types.exp: Update expected results.
6035
eb86c5e2
AB
60362019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6037
6038 * gdb.base/info-types.c: New file.
6039 * gdb.base/info-types.exp: New file.
6040
01e175fe
AB
60412019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6042
6043 * gdb.arch/riscv-bp-infcall.c: New file.
6044 * gdb.arch/riscv-bp-infcall.exp: New file.
6045
6b78c3f8
AB
60462019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6047
6048 PR breakpoints/24541
6049 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6050
da738167
TV
60512019-07-14 Tom de Vries <tdevries@suse.de>
6052
6053 PR testsuite/24760
6054 * gdb.objc/basicclass.exp: Fix unterminated string.
6055
0d4e84ed
AB
60562019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6057 Andrew Burgess <andrew.burgess@embecosm.com>
6058
6059 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6060 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6061 negative bounds.
6062 * gdb.fortran/vla-value.exp: Print elements of an array with
6063 negative bounds.
6064 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6065 testing.
6066
021d8588
AB
60672019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6068
6069 * gdb.base/options.exp (expect_string): Dequote strings in
6070 results.
6071 (test-string): Test strings with different quoting and reindent.
6072
f06f1252
TT
60732019-07-10 Tom Tromey <tromey@adacore.com>
6074
6075 * gdb.ada/mi_ex_cond.exp: Update expected results.
6076 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6077 * gdb.ada/mi_catch_ex.exp: Update expected results.
6078 * gdb.ada/mi_catch_assert.exp: Update expected results.
6079 * gdb.ada/catch_ex.exp (catch_exception_info)
6080 (catch_exception_entry, catch_assert_entry)
6081 (catch_unhandled_entry): Update.
6082 * gdb.ada/catch_assert_if.exp: Update expected results.
6083
b863685d
RB
60842019-07-10 Richard Bunt <richard.bunt@arm.com>
6085 Stephen Roberts <stephen.roberts@arm.com>
6086
6087 * gdb.base/define.exp: Restore original prompt.
6088
cb1e4e32
PA
60892019-07-09 Pedro Alves <palves@redhat.com>
6090
6091 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6092 breakpoints" output.
6093 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6094 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6095 throw" creates breakpoint.
6096 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6097 'type="catchpoint"'.
6098
b58a68fe
PA
60992019-07-09 Pedro Alves <palves@redhat.com>
6100
6101 PR c++/15468
6102 * gdb.cp/except-multi-location-lib.cc: New.
6103 * gdb.cp/except-multi-location-main.cc: New.
6104 * gdb.cp/except-multi-location.exp: New.
6105
0826779b
PW
61062019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6107
6108 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6109 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6110 argument and update callers.
6111
5b0e2db4
AB
61122019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6113
6114 * gdb.arch/amd64-break-on-asm-line.S: New file.
6115 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6116
1f6f6e21
PW
61172019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6118
6119 * gdb.base/printcmds.exp: Test printing C string and
6120 C wide string convenience vars without transiting via the inferior.
6121 Also make test names unique.
6122
ea142fbf
AH
61232019-07-08 Alan Hayward <alan.hayward@arm.com>
6124
5862c886 6125 PR breakpoints/25011
ea142fbf
AH
6126 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6127
213fd9fa
PA
61282019-07-04 Pedro Alves <palves@redhat.com>
6129
6130 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6131 body returned ok(0), break(3) or continue(4).
6132 * gdb.testsuite/foreach_with_prefix.exp: New file.
6133
2b40fda7
AH
61342019-07-04 Alan Hayward <alan.hayward@arm.com>
6135
6136 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6137
a26c8de0
PA
61382019-07-03 Pedro Alves <palves@redhat.com>
6139
6140 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6141 "return -code".
6142
5f4ba3e7
PA
61432019-07-03 Pedro Alves <palves@redhat.com>
6144
6145 PR cli/24732
6146 * gdb.base/shell.exp: Load completion-support.exp.
6147 Adjust expected error output. Add completion tests.
6148
a994424f
PA
61492019-07-03 Pedro Alves <palves@redhat.com>
6150
6151 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6152 string_to_regexp.
6153
3d9be6f5
PA
61542019-07-03 Pedro Alves <palves@redhat.com>
6155
6156 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6157 (expect_integer): Adjust to expect "-string".
6158 (expect_string): New.
6159 (all_options): Expect "-string".
6160 (test-flag, test-boolean): Adjust to expect "-string".
6161 (test-string): New proc.
6162 (top level): Call it.
6163
41fc454c
PA
61642019-07-03 Pedro Alves <palves@redhat.com>
6165
6166 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6167 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6168 the expected output in the success.
6169
b2b2a215
PA
61702019-07-03 Pedro Alves <palves@redhat.com>
6171
6172 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6173 Split one gdb_test_multiple call in two to avoid a race.
6174
fdbc9870
PA
61752019-07-03 Pedro Alves <palves@redhat.com>
6176
6177 * gdb.base/with.c: New file.
6178 * gdb.base/with.exp: New file.
6179
c6ac8931
PA
61802019-07-03 Pedro Alves <palves@redhat.com>
6181
6182 * gdb.base/settings.exp: Replace all references to "maint
6183 test-settings set" with references to "maint set test-settings",
6184 and all references to "maint test-settings show" with references
6185 to "maint show test-settings".
6186
970f9d09
PA
61872019-07-03 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.base/settings.exp (test-string): Adjust expected out when
6190 testing "maint test-settings show filename"
6191
54d66006
PA
61922019-07-02 Pedro Alves <palves@redhat.com>
6193
6194 * gdb.base/options.exp (test-info-threads): New procedure.
6195 (top level): Call it.
6196
10d06d82
TT
61972019-06-28 Tom Tromey <tromey@adacore.com>
6198
6199 * gdb.dwarf2/ada-linkage-name.c: New file.
6200 * gdb.dwarf2/ada-linkage-name.exp: New file.
6201
3d507ff2
TT
62022019-06-27 Tom Tromey <tromey@adacore.com>
6203
d039f014 6204 PR c++/20020:
3d507ff2
TT
6205 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6206
8af58ffe
TV
62072019-06-26 Tom de Vries <tdevries@suse.de>
6208
6209 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6210
22e21752
TV
62112019-06-26 Tom de Vries <tdevries@suse.de>
6212
6213 * gdb.base/index-cache.exp: Add back missing debug option.
6214
b65b566c
PW
62152019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6216
6217 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6218
5c2c8c69
TV
62192019-06-25 Tom de Vries <tdevries@suse.de>
6220
6221 PR testsuite/24727
6222 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6223
164e3873
TV
62242019-06-24 Tom de Vries <tdevries@suse.de>
6225
6226 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6227
824eacee
TV
62282019-06-24 Tom de Vries <tdevries@suse.de>
6229
6230 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6231 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6232 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6233
385b97d3
TV
62342019-06-24 Tom de Vries <tdevries@suse.de>
6235
6236 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6237
c596f180
TV
62382019-06-21 Tom de Vries <tdevries@suse.de>
6239
6240 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6241
b13a7d03
TV
62422019-06-21 Tom de Vries <tdevries@suse.de>
6243
6244 PR testsuite/24518
6245 PR ada/24713
6246 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
6247 index.
6248
899277ae
TT
62492019-06-19 Tom Tromey <tromey@adacore.com>
6250
6251 * gdb.ada/length_cond.exp: Add intro comment.
6252
680e1bee
TT
62532019-06-19 Tom Tromey <tromey@adacore.com>
6254
6255 * gdb.ada/length_cond.exp: New file.
6256 * gdb.ada/length_cond/length_cond.adb: New file.
6257 * gdb.ada/length_cond/pck.adb: New file.
6258 * gdb.ada/length_cond/pck.ads: New file.
6259
0ed4690a
TV
62602019-06-18 Tom de Vries <tdevries@suse.de>
6261
6262 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6263
d20ed5fd
TT
62642019-06-18 Tom Tromey <tromey@adacore.com>
6265
6266 * gdb.base/list0.h: Add comment explaining control character.
6267
86e04673
TV
62682019-06-18 Tom de Vries <tdevries@suse.de>
6269
6270 * boards/fission.exp: Break up long debug_flags line.
6271
c4973306
SM
62722019-06-16 Tom de Vries <tdevries@suse.de>
6273
6274 PR gdb/24445
6275 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6276 generated index.
6277
93cb9841
AB
62782019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6279
6280 PR gdb/24686
6281 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6282 improve detection of bug gdb/24541.
6283
399aaebd
SM
62842019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6285
6286 PR gdb/24669
6287 * gdb.base/index-cache.exp (uses_readnow,
6288 expecting_index_cache_use): Define global variable.
6289 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6290 expecting_index_cache_use.
6291
584a927c
AB
62922019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6293 Andrew Burgess <andrew.burgess@embecosm.com>
6294
6295 * gdb.fortran/pointers.f90: New file.
6296 * gdb.fortran/print_type.exp: New file.
6297 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6298 * gdb.fortran/vla-type.exp: Likewise.
6299 * gdb.fortran/vla-value.exp: Likewise.
6300 * gdb.mi/mi-vla-fortran.exp: Likewise.
6301
30056ea0
AB
63022019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6303
6304 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6305 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6306 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6307 as a stop reason.
6308
ec8e2b6d
AB
63092019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6310
6311 * gdb.base/annota1.exp: Update expected results.
6312 * gdb.cp/annota2.exp: Likewise.
6313 * gdb.cp/annota3.exp: Likewise.
6314
09e4c4e1
AB
63152019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6316
6317 * gdb.base/style-logging.exp: Remove path from test name.
6318
0735b091
TT
63192019-06-14 Tom Tromey <tromey@adacore.com>
6320
6321 PR gdb/24502:
6322 * gdb.base/style-logging.exp: New file.
6323
f5686554
TT
63242019-06-14 Tom Tromey <tromey@adacore.com>
6325
6326 * gdb.base/symfile-warn.exp: New file.
6327 * gdb.base/symfile-warn.c: New file.
6328
a0c1ffed
TT
63292019-06-14 Tom Tromey <tromey@adacore.com>
6330
6331 * gdb.base/annotate-symlink.exp: New file.
6332
f411722c
TT
63332019-06-14 Tom Tromey <tromey@adacore.com>
6334
6335 * gdb.ada/set_wstr.exp: Add reassignment test.
6336
4268ec18
TT
63372019-06-14 Tom Tromey <tromey@adacore.com>
6338
6339 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6340 'unchecked_access and 'unrestricted_access as well.
6341
9a9e394b
TT
63422019-06-14 Tom Tromey <tromey@adacore.com>
6343
6344 PR ada/24539:
6345 * gdb.ada/vla.exp: Update tests.
6346 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6347 pragma.
6348
4c048731
PA
63492019-06-13 Pedro Alves <palves@redhat.com>
6350
6351 * gdb.base/settings.exp (test-integer): Test junk after
6352 "unlimited".
6353
6665660a
PA
63542019-06-13 Pedro Alves <palves@redhat.com>
6355
6356 * gdb.base/options.exp (test-thread-apply): New.
6357 (top level): Call it.
6358
5d707134
PA
63592019-06-13 Pedro Alves <palves@redhat.com>
6360
6361 * gdb.base/options.exp (test-frame-apply): New.
6362 (top level): Test print commands with different "frame apply"
6363 prefixes.
6364
e2a689da
PA
63652019-06-13 Pedro Alves <palves@redhat.com>
6366
e79be6e5 6367 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
6368 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6369 'max_completions' parameter and handle it.
6370 (test_gdb_completion_offers_commands): New.
6371
90a1ef87
PA
63722019-06-13 Pedro Alves <palves@redhat.com>
6373
6374 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6375
d4c16835
PA
63762019-06-13 Pedro Alves <palves@redhat.com>
6377
6378 * gdb.base/options.exp (test-backtrace): New.
6379 (top level): Call it.
6380
2daf894e
PA
63812019-06-13 Pedro Alves <palves@redhat.com>
6382
6383 * gdb.guile/scm-frame-args.exp: Use "set print
6384 raw-frame-arguments" instead of "set print raw frame-arguments".
6385 * gdb.python/py-frame-args.exp: Likewise.
6386
e6ed716c
PA
63872019-06-13 Pedro Alves <palves@redhat.com>
6388
6389 * gdb.compile/compile.exp: Adjust expected output to option
6390 processing changes.
6391
7d8062de
PA
63922019-06-13 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.base/options.exp: Build executable.
6395 (test-print): New procedure.
6396 (top level): Call it, once for "print" and another for "compile
6397 print".
6398
9d0faba9
PA
63992019-06-13 Pedro Alves <palves@redhat.com>
6400
6401 * gdb.base/options.c: New file.
6402 * gdb.base/options.exp: New file.
6403
dee7b4c8
PA
64042019-06-13 Pedro Alves <palves@redhat.com>
6405
6406 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6407 that "o" is ambiguous.
6408
dca0f6c0
PA
64092019-06-13 Pedro Alves <palves@redhat.com>
6410
6411 * gdb.base/settings.c: New file.
6412 * gdb.base/settings.exp: New file.
6413
ccf46844
PA
64142019-06-13 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.base/completion.exp: Fix comment typo.
6417
b9a3f842
PA
64182019-06-13 Pedro Alves <palves@redhat.com>
6419
6420 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6421 foo --1" test.
6422
d106773e
PA
64232019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6424
6425 * gdb.fortran/block-data.f: New.
6426 * gdb.fortran/block-data.exp: New.
6427
fea82da0
TV
64282019-06-11 Tom de Vries <tdevries@suse.de>
6429
6430 PR testsuite/24521
6431 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6432 message.
6433
8c2e74f1
TV
64342019-06-11 Tom de Vries <tdevries@suse.de>
6435
6436 PR testsuite/24521
6437 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6438
b49851c8
TV
64392019-06-11 Tom de Vries <tdevries@suse.de>
6440
6441 * boards/readnow.exp: New file.
6442
a7067863
AB
64432019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6444
6445 * gdb.fortran/vla-sizeof.exp: Update expected results.
6446
1a3da2cd
AB
64472019-06-06 Amos Bird <amosbird@gmail.com>
6448
6449 * gdb.base/annota1.exp (thread_switch): Add test for
6450 thread-exited annotation.
6451
3847a7bf
TT
64522019-06-06 Tom Tromey <tromey@adacore.com>
6453
6454 * gdb.base/maint.exp: Expect command started/finished output.
6455
0088ba59
AB
64562019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6457
6458 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6459 comment.
6460 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6461
312617a3
AB
64622019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6463
6464 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6465 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6466 * gdb.arch/riscv-unwind-long-insn.c: New file.
6467 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6468
e1f2e1a2
CB
64692019-06-04 Christian Biesinger <cbiesinger@google.com>
6470
d3238f7d 6471 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6472
206584bd
PW
64732019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6474
6475 * lib/gdb.exp (help_list_trailer): New regexp variable
6476 factorizing the help trailer message.
6477 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6478 arg to allow to better factorize various tests.
6479 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6480 (test_prefix_command_help): Use help_list_trailer.
6481 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6482 * gdb.guile/scm-cmd.exp: Likewise.
6483 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6484 * gdb.base/help.exp: Use test_user_defined_class_help.
6485 * gdb.base/style.exp: Add tests for styling of help and apropos.
6486 * lib/gdb-utils.exp (style): Add title and highlight styles.
6487
708dc93e
PW
64882019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6489
6490 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6491 $_shell_exitsignal.
6492 * gdb.base/default.exp: Update for new convenience variables.
6493
f49055a5
TT
64942019-05-29 Tom Tromey <tromey@adacore.com>
6495
6496 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6497 to "break complete ada" test case's regexp.
6498
4330d61d
TT
64992019-05-29 Tom Tromey <tromey@adacore.com>
6500
6501 PR c++/20020:
6502 * gdb.cp/constexpr-field.exp: New file.
6503 * gdb.cp/constexpr-field.cc: New file.
6504
000439d5
TT
65052019-05-29 Tom Tromey <tromey@adacore.com>
6506
6507 * gdb.base/finish.exp (finish_no_print): New proc.
6508 (finish_tests): Call it.
6509
5a01c34c
TV
65102019-05-24 Tom de Vries <tdevries@suse.de>
6511
6512 * gdb.dwarf2/gdb-add-index.exp: New file.
6513
18125b16
TT
65142019-05-22 Tom Tromey <tromey@adacore.com>
6515
6516 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6517 * gdb.base/style.exp: Use "style".
6518 * lib/gdb-utils.exp (style): New proc.
6519
af1a8d03
TV
65202019-05-22 Tom de Vries <tdevries@suse.de>
6521
6522 * gdb.base/align.exp: Require c++11.
6523
e7fe496b
TV
65242019-05-22 Tom de Vries <tdevries@suse.de>
6525
6526 PR testsuite/24586
6527 * gdb.python/py-mi-var-info-path-expression.exp: Call
6528 mi_skip_python_tests to check if python is supported.
6529
8fca4da0
AH
65302019-05-22 Alan Hayward <alan.hayward@arm.com>
6531
6532 * gdb.arch/aarch64-pauth.c: New test.
6533 * gdb.arch/aarch64-pauth.exp: New file.
6534
b7060614
AH
65352019-05-22 Alan Hayward <alan.hayward@arm.com>
6536
6537 * README (Re-running Tests Outside The Testsuite): New section.
6538
669d0468
TV
65392019-05-21 Tom de Vries <tdevries@suse.de>
6540
6541 * gdb.arch/amd64-eval.exp: Require c++11.
6542 * gdb.base/max-depth.exp: Same.
6543 * gdb.compile/compile-cplus-array-decay.exp: Same.
6544 * gdb.cp/meth-typedefs.exp: Same.
6545 * gdb.cp/subtypes.exp: Same.
6546 * gdb.cp/temargs.exp: Same.
6547
ce3ebcaa
AH
65482019-05-21 Alan Hayward <alan.hayward@arm.com>
6549
6550 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6551
34d11c68
AB
65522019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6553
6554 PR gdb/18644
6555 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6556 * gdb.fortran/printing-types.exp: Add new test.
6557 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6558 testing.
6559 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6560 setup_kfail call.
6561
87781e84
AH
65622019-05-17 Alan Hayward <alan.hayward@arm.com>
6563
6564 * README (Running the Testsuite): Change example.
6565 (Testsuite Parameters): Remove TRANSCRIPT.
6566 * lib/gdb.exp: Remove TRANSCRIPT check.
6567
b420b89e
AH
65682019-05-17 Alan Hayward <alan.hayward@arm.com>
6569
6570 * README (Testsuite Parameters): Add replay logging to
6571 GDBSERVER_DEBUG.
6572 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6573 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6574 as a comma separated list.
6575 (gdb_debug_init): Override procedure.
6576
408e9b8b
AH
65772019-05-17 Alan Hayward <alan.hayward@arm.com>
6578
6579 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6580 (gdb_write_cmd_file): New procedure.
6581 * lib/gdbserver-support.exp (gdbserver_start): Call
6582 gdbserver_write_cmd_file.
6583 (gdbserver_write_cmd_file): New procedure.
6584
f9e2e39d
AH
65852019-05-17 Alan Hayward <alan.hayward@arm.com>
6586
6587 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6588 (delete_breakpoints): Likewise.
6589 (gdb_run_cmd): Likewise.
6590 (gdb_start_cmd): Likewise.
6591 (gdb_starti_cmd): Likewise.
6592 (gdb_internal_error_resync): Likewise.
6593 (gdb_test_multiple): Likewise.
6594 (gdb_reinitialize_dir): Likewise.
6595 (default_gdb_exit): Likewise.
6596 (gdb_file_cmd): Mark kill as optional.
6597 (default_gdb_start): Call gdb_stdin_log_init.
6598 (send_gdb): Call gdb_stdin_log_write.
6599 (rerun_to_main): Mark Y as an answer.
6600 (gdb_stdin_log_init): New function.
6601 (gdb_stdin_log_write): Likewise.
6602
81f47ac2
AH
66032019-05-17 Alan Hayward <alan.hayward@arm.com>
6604
6605 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6606 * gdb.base/debug-expr.exp: Likewise.
6607 * gdb.base/foll-fork.exp: Likewise.
6608 * gdb.base/foll-vfork.exp: Likewise.
6609 * gdb.base/fork-print-inferior-events.exp: Likewise.
6610 * gdb.base/gdb-sigterm.exp: Likewise.
6611 * gdb.base/gdbinit-history.exp: Likewise.
6612 * gdb.base/osabi.exp: Likewise.
6613 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6614 * gdb.base/ui-redirect.exp: Likewise.
6615 * gdb.gdb/unittest.exp: Likewise.
6616 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6617 * gdb.mi/mi-watch.exp: Likewise.
6618 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6619 * gdb.mi/user-selected-context-sync.exp: Likewise.
6620 * gdb.python/python.exp: Disable debug test when debugging.
6621 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6622 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6623 Likewise.
6624 * gdb.threads/stepi-random-signal.exp: Likewise.
6625
29b52314
AH
66262019-05-17 Alan Hayward <alan.hayward@arm.com>
6627
6628 * Makefile.in: Pass through GDB_DEBUG.
6629 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6630 (gdb,debug): Add board setting.
6631 * lib/gdb.exp (default_gdb_start): Start debugging.
6632 (gdb_debug_enabled): New procedure.
6633 (gdb_debug_init): Likewise.
29b52314
AH
6634
66352019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 6636
29b52314
AH
6637 * Makefile.in: Pass through GDB_DEBUG.
6638 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6639 (gdb,debug): Add board setting.
6640 * lib/gdb.exp (default_gdb_start): Start debugging.
6641 (gdb_debug_enabled): New procedure.
6642 (gdb_debug_init): Likewise.
29b52314 6643
ca1285d1
AH
66442019-05-17 Alan Hayward <alan.hayward@arm.com>
6645
6646 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6647
f3a09c80
AH
66482019-05-17 Alan Hayward <alan.hayward@arm.com>
6649
6650 * gdb.base/ui-redirect.exp: Test redirection.
6651
26648588
JV
66522019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6653
6654 * gdb.mi/mi-complete.exp: New file.
6655 * gdb.mi/mi-complete.cc: Likewise.
6656
14237686
AB
66572019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6658
6659 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6660 indexed and sliced arrays, and pointers to arrays.
6661
e7bd7fba
TT
66622019-05-14 Tom Tromey <tromey@adacore.com>
6663
6664 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6665 styling test.
6666
2764128d
TV
66672019-05-14 Tom de Vries <tdevries@suse.de>
6668
6669 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6670 selection entry encoding.
6671
71bed2db
TT
66722019-05-10 Tom Tromey <tromey@adacore.com>
6673
6674 * gdb.ada/info_exc.exp: Add "complete" test.
6675
63b667ad
TV
66762019-05-09 Tom de Vries <tdevries@suse.de>
6677
6678 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6679 CU-relative.
6680
9cfd2b89
TV
66812019-05-09 Tom de Vries <tdevries@suse.de>
6682
6683 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6684 CU-relative.
6685
2228ef77
XR
66862019-05-08 Joel Brobecker <brobecker@adacore.com>
6687
6688 * gdb.ada/frame_arg_lang.exp: New testcase.
6689 * gdb.ada/frame_arg_lang/bla.adb: New file.
6690 * gdb.ada/frame_arg_lang/pck.ads: New file.
6691 * gdb.ada/frame_arg_lang/pck.adb: New file.
6692 * gdb.ada/frame_arg_lang/foo.c: New file.
6693
80e55b13
TT
66942019-05-08 Tom Tromey <tromey@adacore.com>
6695
6696 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6697
9d3421af
TT
66982019-05-08 Tom Tromey <tromey@adacore.com>
6699
6700 * gdb.base/ptype-offsets.exp: Update tests.
6701
844333e2
TT
67022019-05-08 Tom Tromey <tromey@adacore.com>
6703
6704 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6705 cases.
6706 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6707 "short".
6708
988915ee
TT
67092019-05-08 Tom Tromey <tromey@adacore.com>
6710
6711 * gdb.ada/vla.exp: New file.
6712 * gdb.ada/vla/vla.adb: New file.
6713
7bd55dac
TV
67142019-05-07 Tom de Vries <tdevries@suse.de>
6715
6716 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6717
75f06e9d
TV
67182019-05-07 Tom de Vries <tdevries@suse.de>
6719
6720 PR testsuite/24522
6721 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6722 section.
6723
77e7aaa4
TV
67242019-05-07 Tom de Vries <tdevries@suse.de>
6725
6726 PR testsuite/24522
6727 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6728 .debug_aranges section.
6729
456ba0fa
TV
67302019-05-07 Tom de Vries <tdevries@suse.de>
6731
6732 PR testsuite/24159
6733 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6734
5a56d6a6
TV
67352019-05-06 Tom de Vries <tdevries@suse.de>
6736
6737 * lib/gdb.exp (exec_has_index_section): New proc.
6738 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6739 section.
6740
9d6d4be8
TV
67412019-05-04 Tom de Vries <tdevries@suse.de>
6742
6743 * boards/cc-with-debug-names.exp: New file.
6744
222a8d25
TT
67452019-05-03 Tom Tromey <tromey@adacore.com>
6746
6747 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6748 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6749 * gdb.ada/char_enum.exp: Add test.
6750
0fdfd794
TV
67512019-05-03 Tom de Vries <tdevries@suse.de>
6752
6753 * boards/cc-with-gdb-index.exp: New file.
6754
80062eb9
AB
67552019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6756
6757 * gdb.rust/simple.exp: Add new test case.
6758 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6759 (main): Initialise an instance of the new struct.
6760
4504bbde
TT
67612019-05-01 Tom Tromey <tromey@adacore.com>
6762
6763 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6764 record.
6765 (NPR): New variable.
6766 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6767 test.
6768
d48e62f4
TT
67692019-05-01 Tom Tromey <tromey@adacore.com>
6770
6771 * gdb.ada/packed_array_assign.exp: Add packed assignment
6772 regression test.
6773
f59f30f5
TV
67742019-05-01 Tom de Vries <tdevries@suse.de>
6775
6776 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6777
b70bfc54
TV
67782019-05-01 Tom de Vries <tdevries@suse.de>
6779
6780 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6781
15f18d14
AT
67822019-04-30 Ali Tamur <tamur@google.com>
6783
6784 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6785
2ff0a947
TT
67862019-04-30 Tom Tromey <tromey@adacore.com>
6787
6788 * lib/ada.exp (find_ada_tool): New proc.
6789 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6790 * gdb.ada/catch_ex_std.exp: New file.
6791 * gdb.ada/catch_ex_std/foo.adb: New file.
6792 * gdb.ada/catch_ex_std/some_package.adb: New file.
6793 * gdb.ada/catch_ex_std/some_package.ads: New file.
6794
a776957c
TT
67952019-04-30 Tom Tromey <tromey@adacore.com>
6796
6797 PR c++/24470:
6798 * gdb.cp/temargs.cc: Add test code from PR.
6799
bc68014d
AB
68002019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6801
6802 * gdb.fortran/vla-datatypes.exp: Update expected results.
6803 * gdb.fortran/vla-ptype.exp: Likewise.
6804 * gdb.fortran/vla-type.exp: Likewise.
6805 * gdb.fortran/vla-value.exp: Likewise.
6806
f1fdc960
AB
68072019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6808
6809 * gdb.fortran/ptr-indentation.exp: Update expected results.
6810 * gdb.fortran/ptype-on-functions.exp: Likewise.
6811 * gdb.fortran/vla-ptr-info.exp: Likewise.
6812 * gdb.fortran/vla-value.exp: Likewise.
6813
bf7a4de1
AB
68142019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6815
6816 * gdb.fortran/ptype-on-functions.exp: New file.
6817 * gdb.fortran/ptype-on-functions.f90: New file.
6818
bbe75b9d
AB
68192019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6820
6821 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6822 case void string.
6823
1db455a7
AB
68242019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6825
6826 * gdb.fortran/complex.exp: Expand.
6827 * gdb.fortran/complex.f: Renamed to...
6828 * gdb.fortran/complex.f90: ...this, and extended to add more
6829 complex values.
6830
b6d03bb2
AB
68312019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6832
6833 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6834 MODULO, CMPLX.
6835
2e62ab40
AB
68362019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6837 Richard Bunt <richard.bunt@arm.com>
6838
6839 * gdb.base/max-depth.c: New file.
6840 * gdb.base/max-depth.exp: New file.
6841 * gdb.python/py-nested-maps.c: New file.
6842 * gdb.python/py-nested-maps.exp: New file.
6843 * gdb.python/py-nested-maps.py: New file.
6844 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6845 (test_all_common): Call test_max_depth.
6846 * gdb.fortran/max-depth.exp: New file.
6847 * gdb.fortran/max-depth.f90: New file.
6848 * gdb.go/max-depth.exp: New file.
6849 * gdb.go/max-depth.go: New file.
6850 * gdb.modula2/max-depth.exp: New file.
6851 * gdb.modula2/max-depth.c: New file.
6852 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6853
d2b584a5
TV
68542019-04-29 Tom de Vries <tdevries@suse.de>
6855
6856 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6857
136afab8
PW
68582019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6859
6860 * gdb.base/callexit.exp: Test may-call-functions off.
6861
725cbb63
KS
68622019-04-25 Keith Seitz <keiths@redhat.com>
6863
6864 PR c++/24367
6865 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6866 (another_incomplete_struct, test_incomplete): New definitions.
6867 (main): Use new definitions.
6868 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6869 functions.
6870
701adfb0
PA
68712019-04-25 Ali Tamur <tamur@google.com>
6872
6873 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6874
82433e3e
SDJ
68752019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6876
6877 PR corefiles/11608
6878 PR corefiles/18187
6879 * gdb.base/coredump-filter-build-id.exp: New file.
6880
dd06d4d6
AH
68812019-04-25 Alan Hayward <alan.hayward@arm.com>
6882
e79be6e5
SM
6883 * Makefile.in: Pass through GDBSERVER_DEBUG.
6884 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6885 (gdbserver,debug): Add board setting.
6886 * gdb.trace/tspeed.exp: Skip when debugging.
6887 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6888 * lib/gdbserver-support.exp: Likewise
dd06d4d6 6889
1670072e
TT
68902019-04-24 Tom Tromey <tromey@adacore.com>
6891
6892 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6893 Rust.
6894
a59240a4
TT
68952019-04-24 Tom Tromey <tromey@adacore.com>
6896
6897 * gdb.arch/amd64-eval.exp: Test bitfield return.
6898 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6899 (class Foo) <return_bitfields>: New method.
6900 (main): Call it.
6901
b907456c
AB
69022019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6903
6904 * gdb.cp/many-args.cc: New file.
6905 * gdb.cp/many-args.exp: New file.
6906
5c565afd
TV
69072019-04-23 Tom de Vries <tdevries@suse.de>
6908
6909 PR gdb/24433
6910 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6911
ba22ff86
AH
69122019-04-23 Alan Hayward <alan.hayward@arm.com>
6913
6914 * gdb.trace/backtrace.exp: Use nopie flag.
6915 * gdb.trace/circ.exp: Likewise.
6916 * gdb.trace/collection.exp: Likewise.
6917 * gdb.trace/ftrace.exp: Likewise.
6918 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6919 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6920 * gdb.trace/qtro.exp: Likewise.
6921 * gdb.trace/read-memory.exp: Likewise.
6922 * gdb.trace/report.exp: Likewise.
6923 * gdb.trace/tfile.exp: Likewise.
6924 * gdb.trace/tfind.exp: Likewise.
6925 * gdb.trace/unavailable.exp: Likewise.
6926
7905fc35
PA
69272019-04-22 Pedro Alves <palves@redhat.com>
6928
6929 * gdb.base/solib-probes-nosharedlibrary.c,
6930 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6931
8ecb59f8
TT
69322019-04-19 Tom Tromey <tromey@adacore.com>
6933
6934 * gdb.ada/ptype_union.c: New file.
6935 * gdb.ada/ptype_union.exp: New file.
6936
62160ec9
TT
69372019-04-19 Tom Tromey <tromey@adacore.com>
6938
6939 PR symtab/24423:
6940 * gdb.base/list0.h (foo): Add a control-l character.
6941
36cd4ba5
TV
69422019-04-18 Tom de Vries <tdevries@suse.de>
6943
6944 PR gdb/24433
6945 * boards/local-board.exp: Set sysroot to "".
6946
b73715df
TV
69472019-04-18 Tom de Vries <tdevries@suse.de>
6948 Pedro Alves <palves@redhat.com>
6949
6950 PR gdb/24454
6951 * gdb.threads/vfork-follow-child-exec.c: New file.
6952 * gdb.threads/vfork-follow-child-exec.exp: New file.
6953 * gdb.threads/vfork-follow-child-exit.c: New file.
6954 * gdb.threads/vfork-follow-child-exit.exp: New file.
6955
4aa866af
LS
69562019-04-15 Leszek Swirski <leszeks@google.com>
6957
6958 * gdb.arch/amd64-eval.cc: New file.
6959 * gdb.arch/amd64-eval.exp: New file.
6960
e5a1a79a
AH
69612019-04-11 Alan Hayward <alan.hayward@arm.com>
6962
6963 * gdb.server/sysroot.c: New test.
6964 * gdb.server/sysroot.exp: New file.
6965 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6966 matching param.
6967
41077b66
AB
69682019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6969
6970 * gdb.base/align.exp: Extend test to cover structures containing
6971 only static fields.
6972
c30391f8
TV
69732019-04-11 Tom de Vries <tdevries@suse.de>
6974
6975 * boards/cc-with-dwz-m.exp: New file.
6976 * boards/cc-with-dwz.exp: New file.
6977 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6978
e242fd12
SM
69792019-04-09 Simon Marchi <simon.marchi@efficios.com>
6980
6981 * gdb.base/start-cpp.exp: New file.
6982 * gdb.base/start-cpp.cc: New file.
6983
2b0c8b01
KB
69842019-04-08 Kevin Buettner <kevinb@redhat.com>
6985
6986 * gdb.python/py-thrhandle.exp: Adjust tests to call
6987 thread_from_handle instead of thread_from_thread_handle.
6988
947210e5
KB
69892019-04-08 Kevin Buettner <kevinb@redhat.com>
6990
6991 * gdb.python/py-thrhandle.exp: Add tests for
6992 gdb.InferiorThread.handle.
6993
d7df6549
AB
69942019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6995
6996 * gdb.python/py-function.exp: Check calling helper function from
6997 all languages.
6998 * lib/gdb.exp (gdb_supported_languages): New proc.
6999
8bdc1658
AB
70002019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7001
7002 * gdb.base/complex-parts.c: New file.
7003 * gdb.base/complex-parts.exp: New file.
7004
05caa1d2
TT
70052019-04-01 Tom Tromey <tromey@adacore.com>
7006
7007 PR symtab/23331:
7008 * gdb.dwarf2/dw2-ranges-main.c: New file.
7009 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7010 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7011
7734102d
EZ
70122019-03-30 Simon Marchi <simark@simark.ca>
7013
7014 * gdb.base/default.exp: Add values for $_gdb_major and
7015 $_gdb_minor.
7016
188e1fa9
TT
70172019-03-29 Tom Tromey <tromey@adacore.com>
7018
7019 * gdb.base/help.exp: Tighten apropos regexp.
7020
2880242d
KS
70212019-03-29 Keith Seitz <keiths@redhat.com>
7022
7023 * gdb.fortran/array-bounds.exp: New file.
7024 * gdb.fortran/array-bounds.f90: New file.
7025
077cad8e
PW
70262019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7027
7028 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7029
80047cfc
PW
70302019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7031
7032 * gdb.multi/hello.c (main): Increase alarm timer.
7033
f489207e
SL
70342019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7035
7036 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7037 factor when no hardware watchpoint support.
7038
c92df149
AH
70392019-03-28 Alan Hayward <alan.hayward@arm.com>
7040 Pedro Alves <palves@redhat.com>
7041
7042 * boards/local-board.exp: set sysroot to /.
7043
933aebfa
AH
70442019-03-27 Alan Hayward <alan.hayward@arm.com>
7045
7046 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7047 in child.
7048
9f9aa852
AB
70492019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7050
7051 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7052 field.
7053 (make_container): Initialise new field.
7054 * gdb.python/py-prettyprint.exp: Add new tests.
7055 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7056 <display_hint>: New method.
7057
3714a195
AB
70582019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7059
7060 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7061 gdb_continue_to_breakpoint more throughout this test.
7062 (run_lang_tests) Supply unique test names, and use
7063 gdb_test_no_output.
7064
18c77628
AB
70652019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7066
7067 * gdb.base/finish-pretty.exp: Update expected results.
7068 * gdb.base/pretty-print.c: New file.
7069 * gdb.base/pretty-print.exp: New file.
7070
9a93502f
PA
70712019-03-25 Pedro Alves <palves@redhat.com>
7072
7073 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7074 move comments outside list. Append '-i "" eof' section.
7075
968aa7ae
AH
70762019-03-22 Alan Hayward <alan.hayward@arm.com>
7077
34a7f2a4 7078 PR testsuite/25016
968aa7ae
AH
7079 * README: Add pie options.
7080 * gdb.base/break-interp.exp: Ensure pie is disabled.
7081 * gdb.base/dump.exp: Likewise.
7082 * lib/gdb.exp (gdb_compile): Add pie option.
7083
4c7d57e7
TT
70842019-03-19 Tom Tromey <tromey@adacore.com>
7085
7086 * gdb.mi/mi2-cli-display.c: New file.
7087 * gdb.mi/mi2-cli-display.exp: New file.
7088
bff8c71f
TT
70892019-03-18 Joel Brobecker <brobecker@adacore.com>
7090 Tom Tromey <tromey@adacore.com>
7091
7092 * gdb.ada/ptype_array/pck.adb: New file.
7093 * gdb.ada/ptype_array/pck.ads: New file.
7094 * gdb.ada/ptype_array/foo.adb: New file.
7095 * gdb.ada/ptype_array.exp: New file.
7096
d085f989
TT
70972019-03-14 Tom Tromey <tromey@adacore.com>
7098
7099 * gdb.base/style.exp: Add "set style sources" test.
7100
b4be1b06
SM
71012019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7102
7103 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7104 * mi-breakpoint-multiple-locations.exp: ... this.
7105 (make_breakpoints_pattern): New proc.
7106 (do_test): Add mi_version parameter, test -break-insert,
7107 -break-info and =breakpoint-created.
7108
7cde5fc2
AB
71092019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7110
7111 * config/default.exp: Remove 'load_lib gdb.exp'.
7112 * config/monitor.exp: Likewise.
7113 * config/sid.exp: Likewise.
7114 * config/sim.exp: Likewise.
7115 * config/slite.exp: Likewise.
7116 * config/unix.exp: Likewise.
7117 * gdb.base/default.exp: Remove unhelpful comment.
7118
efbecbc1
AB
71192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7120
7121 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7122
0841c79a
AB
71232019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7124
7125 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7126
4a270568
AB
71272019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7128
7129 * gdb.fortran/type-kinds.exp: Update expected results.
7130
067630bd
AB
71312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7132
7133 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7134
3be47f7a
AB
71352019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7136
7137 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7138 function.
7139 (test_basic_parsing_of_type_kinds): Expand types tested.
7140 (test_parsing_invalid_type_kinds): New function.
7141
4d00f5d8
AB
71422019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7143
7144 * gdb.fortran/intrinsics.exp: New file.
7145 * gdb.fortran/intrinsics.f90: New file.
7146 * gdb.fortran/type-kinds.exp: New file.
7147
c8f91604
AB
71482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7149
7150 * gdb.fortran/dot-ops.exp: New file.
7151
dd9f2c76
AB
71522019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7153
7154 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7155 Check upper and lower case logical literals.
7156
84ec9724
AB
71572019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7158
7159 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7160 Remove duplicate tests.
7161
c3734e09
AH
71622019-03-06 Alan Hayward <alan.hayward@arm.com>
7163
7164 * lib/gdb.exp (builtin_cd): rename of cd.
7165 (cd): Override builtin.
7166
aa3cfbda
RB
71672019-03-06 Richard Bunt <richard.bunt@arm.com>
7168
7169 * gdb.fortran/function-calls.exp: New file.
7170 * gdb.fortran/function-calls.f90: New test.
7171
7b63ad86
RB
71722019-03-04 Richard Bunt <richard.bunt@arm.com>
7173
7174 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7175 on user program standard output.
7176 * gdb.fortran/short-circuit-argument-list.f90: Record function
7177 calls.
7178
01abb042
AH
71792019-02-28 Alan Hayward <alan.hayward@arm.com>
7180
c3734e09
AH
7181 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7182 failure.
01abb042 7183
92137da0
RO
71842019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7185
7186 PR gdb/8527
7187 * gdb.base/interrupt-daemon-attach.c,
7188 gdb.base/interrupt-daemon-attach.exp: New test.
7189
5862844d
PA
71902019-02-27 Pedro Alves <palves@redhat.com>
7191
7192 * gdb.base/page.exp: Add tests for "set width/height -1".
7193
8ed25214
PA
71942019-02-27 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.base/page.exp: Add tests for "set/show width/height" with
7197 "infinite" values.
7198
6c28e44a
TT
71992019-02-27 Tom Tromey <tromey@adacore.com>
7200
7201 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7202 2.4.
7203 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7204 workaround.
7205
bf9a735e
AB
72062019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7207
7208 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7209 tests for structs with static members.
7210
8791793c
TT
72112019-02-26 Tom Tromey <tromey@adacore.com>
7212
7213 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7214 ValueError, not TypeError.
7215
bc2a507e
KB
72162019-02-26 Kevin Buettner <kevinb@redhat.com>
7217
7218 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7219 call from main program.
7220
e0e7d3bd
JB
72212019-02-23 Joel Brobecker <brobecker@adacore.com>
7222
7223 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7224 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7225 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7226 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7227 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7228
9600246d
KS
72292019-02-22 Keith Seitz <keiths@redhat.com>
7230
7231 PR symtab/23853
7232 * gdb.base/symlink-sourcefile.c: New file.
7233 * gdb.base/symlink-sourcefile.exp: New file.
7234
0c95f9ed
TT
72352019-02-20 Tom Tromey <tom@tromey.com>
7236
7237 * gdb.base/info_qt.exp: Update.
7238
6caa91b6
SM
72392019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7240
7241 * gdb.base/source.exp: Move "error in sourced script" code to
7242 the end.
7243 * gdb.base/source-error.gdb: Move contents to
7244 source-error-1.gdb. Add new code to source source-error-1.gdb.
7245 * gdb.base/source-error-1.gdb: New file, from previous
7246 source-error.gdb.
7247
6506371f
TT
72482019-02-17 Tom Tromey <tom@tromey.com>
7249
7250 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
7251 for macro styling.
7252 * gdb.base/style.c (SOME_MACRO): New macro.
7253
a0087920
TT
72542019-02-17 Tom Tromey <tom@tromey.com>
7255
7256 * gdb.base/style.exp: Add line-wrapping tests.
7257 * gdb.base/page.exp: Add test for quitting during pagination.
7258
a2cd4f14
JB
72592019-02-17 Joel Brobecker <brobecker@adacore.com>
7260
7261 * gdb.ada/big_packed_array: New testcase.
7262 * gdb.ada/homonym.exp: Fix incorrect expected output for
7263 "break <homonym__get_value>" test.
7264
9d70ffbc
WP
72652019-02-13 Weimin Pan <weimin.pan@oracle.com>
7266
7267 PR breakpoints/21870
7268 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7269 and prepare_for_testing. Add comment.
7270 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7271 redundant cleanup call. Clean up comment.
7272
01c7ae81
WP
72732019-02-12 Weimin Pan <weimin.pan@oracle.com>
7274
7275 PR breakpoints/21870
7276 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7277 * gdb.arch/aarch64-dbreg-contents.c: New file.
7278
aff29d1c
JB
72792019-02-10 Joel Brobecker <brobecker@adacore.com>
7280
7281 * gdb.ada/mi_ref_changeable: New testcase.
7282
df0da8a2
AH
72832019-02-07 Alan Hayward <alan.hayward@arm.com>
7284
7285 * gdb.base/attach.exp: Add double attach test.
7286
bd447abb
SM
72872019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7288
7289 * lib/gdb.exp (default_gdb_start): Don't match pagination
7290 prompt.
7291 (gdb_init): Set stty_init.
7292
1dbc40b9
TT
72932019-01-27 Tom Tromey <tom@tromey.com>
7294
7295 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7296 skip_python_tests.
7297
353229bf
AH
72982019-01-24 Alan Hayward <alan.hayward@arm.com>
7299
7300 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7301 New structure.
7302 (struct struct_static_02_02): Likewise.
7303 (struct struct_static_02_03): Likewise.
7304 (struct struct_static_02_04): Likewise.
7305 (struct struct_static_04_01): Likewise.
7306 (struct struct_static_04_02): Likewise.
7307 (struct struct_static_04_03): Likewise.
7308 (struct struct_static_04_04): Likewise.
7309 (struct struct_static_06_01): Likewise.
7310 (struct struct_static_06_02): Likewise.
7311 (struct struct_static_06_03): Likewise.
7312 (struct struct_static_06_04): Likewise.
7313 (cmp_struct_static_02_01): Likewise.
7314 (cmp_struct_static_02_02): Likewise.
7315 (cmp_struct_static_02_03): Likewise.
7316 (cmp_struct_static_02_04): Likewise.
7317 (cmp_struct_static_04_01): Likewise.
7318 (cmp_struct_static_04_02): Likewise.
7319 (cmp_struct_static_04_03): Likewise.
7320 (cmp_struct_static_04_04): Likewise.
7321 (cmp_struct_static_06_01): Likewise.
7322 (cmp_struct_static_06_02): Likewise.
7323 (cmp_struct_static_06_03): Likewise.
7324 (cmp_struct_static_06_04): Likewise.
7325 (call_all): Test new structs.
7326 * gdb.base/infcall-nested-structs.exp: Likewise.
7327
73021deb
AH
73282019-01-21 Alan Hayward <alan.hayward@arm.com>
7329 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7330
fc65c7db
AH
73312019-01-21 Alan Hayward <alan.hayward@arm.com>
7332 * gdb.base/stack-protector.c: New test.
7333 * gdb.base/stack-protector.exp: New file.
7334 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7335 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7336 option.
7337 (gdb_compile): Remove stack protector for GCC and prevent
7338 recursion.
7339
c24bdb02
KS
73402019-01-16 Keith Seitz <keiths@redhat.com>
7341
7342 PR gdb/23773
7343 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7344
6f072a10
PFC
73452019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7346
7347 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7348 aliases.
7349 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7350 tests.
7351 * gdb.arch/powerpc-vector-regs.c: New file.
7352 * gdb.arch/powerpc-vector-regs.exp: New file.
7353
a7b8d682
PFC
73542019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7355
7356 * gdb.arch/altivec-regs.exp: Fix the list passed to
7357 gdb_expect_list when testing "info vector".
7358
6eb6fb67
AB
73592019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7360
7361 * gdb.base/style.exp: Don't include path in testname.
7362
b56f80d8
KS
73632019-01-10 Keith Seitz <keiths@redhat.com>
7364
7365 PR gdb/23712
7366 PR symtab/23010
7367 * gdb.dwarf2/multidictionary.exp: New file.
7368
041be526
SM
73692019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7370
7371 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7372 (test_gnuv3_style_demangling): ... this.
7373 (test_lucid_style_demangling): Remove.
7374 (test_arm_style_demangling): Remove.
7375 (test_hp_style_demangling): Remove.
7376 (do_tests): Remove calls to the above.
7377
d820d0c3
AB
73782019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7379
7380 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7381 case.
7382
f097f5ad
TT
73832019-01-06 Tom Tromey <tom@tromey.com>
7384
7385 PR gdb/28155:
7386 * gdb.dwarf2/typedef-void-finish.exp: New file.
7387
2cd8cc0b
TT
73882018-12-28 Tom Tromey <tom@tromey.com>
7389 Simon Marchi <simark@simark.ca>
7390
7391 * gdb.base/jit-exec.exp: New file.
7392 * gdb.base/jit-exec.c: New file.
7393 * gdb.base/jit-execd.c: New file.
7394
35fb8261
TT
73952018-12-28 Tom Tromey <tom@tromey.com>
7396
7397 * gdb.base/style.exp: Update test to check for address styling.
7398
47fd17cd
TT
73992018-12-28 Tom Tromey <tom@tromey.com>
7400
7401 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7402 message.
7403
d47032b7
TT
74042018-12-28 Tom Tromey <tom@tromey.com>
7405
7406 * gdb.base/style.exp: Add test for version number styling.
7407
af79b68d
TT
74082018-12-28 Tom Tromey <tom@tromey.com>
7409
7410 * gdb.base/style.exp: Add test for print_address_symbolic.
7411
0bb296cb
TT
74122018-12-28 Tom Tromey <tom@tromey.com>
7413
7414 * gdb.base/style.exp: Add test for breakpoint setting.
7415
80ae2043
TT
74162018-12-28 Tom Tromey <tom@tromey.com>
7417
7418 * gdb.base/style.exp: Add test for variable names.
7419
cbe56571
TT
74202018-12-28 Tom Tromey <tom@tromey.com>
7421
7422 * gdb.base/style.exp: New file.
7423 * gdb.base/style.c: New file.
7424
9162a27c
TT
74252018-12-28 Tom Tromey <tom@tromey.com>
7426
7427 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7428 "dumb".
7429 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7430 the TERM environment variable.
7431
bc543c90
TT
74322018-12-27 Tom Tromey <tom@tromey.com>
7433
7434 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7435 pagination test.
7436
6f0ffe50
AB
74372018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7438
7439 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7440 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7441
b5a1e557
PW
74422018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7443
7444 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7445 Filename a.adb changed to bp_fun_addr.adb.
7446 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7447
6e8b1ab2
JV
74482018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7449
7450 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7451 non-PIE executables.
7452 * README: Mention the gdb,nopie_flag board setting.
7453 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7454 non-PIE executable.
7455 * gdb.arch/amd64-entry-value.exp: Likewise.
7456 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7457 * gdb.arch/i386-float.exp: Likewise.
7458 * gdb.arch/i386-signal.exp: Likewise.
7459 * gdb.mi/mi-reg-undefined.exp: Likewise.
7460
d00a27c5
PM
74612018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7462
7463 PR gdb/23974
7464 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7465
161d081c
PW
74662018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7467
7468 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7469 Update order of results accordingly.
7470
b001de23
AB
74712018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7472
7473 * gdb.base/annota1.exp: Update a test regexp.
7474
99e1a184
AB
74752018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7476
7477 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7478
7a81c1e2
PW
74792018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7480
7481 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7482 (reuse_time): Initialize to REUSE_TIME_CAP.
7483 (check_rc): New function.
7484 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7485 Check pthread_create rc.
7486 (spawner_thread_func): Check pthread_create and pthread_join rc.
7487
73e8dc90
PA
74882018-12-08 Pedro Alves <palves@redhat.com>
7489
7490 * gdb.base/list.exp (test_forward_search): Rename to ...
7491 (test_forward_reverse_search): ... this. Also test reverse-search
7492 and the forward-search alias.
7493
13f2ed32
AB
74942018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7495
7496 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7497 local timeout variable before return, and remove all local timeout
7498 variable entirely.
7499 (gdb_load): Likewise.
7500
64d27cfc
TV
75012018-12-01 Tom de Vries <tdevries@suse.de>
7502
7503 * gdb.base/gdb-caching-proc.exp: New file.
7504
f63c03b4
SDJ
75052018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7506
7507 * Makefile.in (TIMESTAMP): New variable.
7508 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7509 command.
7510 (check-single-racy): Likewise.
7511 (check/%.exp): Likewise.
7512 (check-racy/%.exp): Likewise.
7513 (workers/%.worker): Likewise.
7514 (build-perf): Likewise.
7515 (check-perf): Likewise.
7516 * README: Describe new "TS" and "TS_FORMAT" variables.
7517 * print-ts.py: New file.
7518
1c97054b
BF
75192018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7520
7521 PR python/23714
7522 * gdb.python/python.exp: Test command repetition after
7523 gdb.execute.
7524
1871a62d
AB
75252018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7526
7527 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7528 is correctly aligned.
7529
fb5e1ed9
PW
75302018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7531
7532 * gdb.ada/info_auto_lang.exp: New testcase.
7533 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7534 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7535 * gdb.ada/info_auto_lang/some_c.c: New file.
7536
43d397ca
PW
75372018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7538
7539 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7540 FUNC_lang language syntax.
7541
beddd671
PW
75422018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7543
7544 * gdb.base/info_minsym.c: New file.
7545 * gdb.base/info_minsym.exp: New file.
7546
73fc52c4
TT
75472018-11-19 Tom Tromey <tom@tromey.com>
7548
7549 PR rust/23625:
7550 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7551 * gdb.rust/expr.exp: Update expected output. Change one test.
7552
994b876a
TT
75532018-11-19 Tom Tromey <tom@tromey.com>
7554
7555 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7556
6769f276
PA
75572018-11-19 Pedro Alves <palves@redhat.com>
7558
7559 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7560 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7561 see the expected warning.
7562
38a72da0
AH
75632018-11-16 Alan Hayward <alan.hayward@arm.com>
7564
7565 PR gdb/22736:
7566 * gdb.cp/infcall-nodebug-lib.c: New test.
7567 * gdb.cp/infcall-nodebug-main.c: New test.
7568 * gdb.cp/infcall-nodebug.exp: New file.
7569
53a89d6e
SM
75702018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7571
7572 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7573 completer tests.
7574
9325300d
TV
75752018-11-09 Tom de Vries <tdevries@suse.de>
7576
7577 * gdb.base/msym-lang.c: New test.
7578 * gdb.base/msym-lang.exp: New file.
7579 * gdb.base/msym-lang-main.c: New test.
7580
20f0d60d
TT
75812018-11-08 Tom Tromey <tom@tromey.com>
7582
7583 PR gdb/23555:
7584 PR gdb/23838:
7585 * gdb.base/warning.exp: New file.
7586
b5420128
JB
75872018-11-08 Jan Beulich <jbeulich@suse.com>
7588
7589 * testsuite/gdb.arch/i386-avx512.c,
7590 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7591
cd115d61
AB
75922018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7593
7594 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7595 point hardware.
7596
35ee2dc2
AB
75972018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7598
7599 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7600 * gdb.dwarf2/missing-type-name.exp: New file.
7601
31aceee8
TV
76022018-11-06 Tom de Vries <tdevries@suse.de>
7603
7604 * gdb.base/many-headers.c: New test.
7605 * gdb.base/many-headers.exp: New file.
7606
109be305
JW
76072018-11-06 Jim Wilson <jimw@sifive.com>
7608
7609 * gdb.base/code_elim.exp: For riscv, set additional_flags
7610 to include -msmall-data-limit=0.
7611
e2b7af72
JB
76122018-11-01 Joel Brobecker <brobecker@adacore.com>
7613
7614 * gdb.ada/watch_minus_l: New testcase.
7615
cdcda965
SM
76162018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7617
7618 * gdb.arch/aix-sighandle.c: New file.
7619 * gdb.arch/aix-sighandle.exp: New file.
7620
92dcebf3
AB
76212018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7622
7623 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7624 registers being unions.
7625
68b9ac18
TV
76262018-10-31 Tom de Vries <tdevries@suse.de>
7627
7628 * lib/valgrind.exp: New file.
7629 (vgdb_start, vgdb_stop): New procs, factored out of ...
7630 * gdb.base/valgrind-bt.exp: ... here, ...
7631 * gdb.base/valgrind-disp-step.exp: ... here and ...
7632 * gdb.base/valgrind-infcall.exp: ... here.
7633
1443936e
TV
76342018-10-31 Tom de Vries <tdevries@suse.de>
7635
7636 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7637
eb77c9df
AB
76382018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7639
7640 * gdb.dwarf2/void-type.c: New file.
7641 * gdb.dwarf2/void-type.exp: New file.
7642
82b5e646
PW
76432018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7644
7645 * gdb.base/info_qt.c: New file.
7646 * gdb.base/info_qt.exp: New file.
7647
8d619c01
EBM
76482018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7649
7650 * gdb.arch/powerpc-htm-regs.c: New file.
7651 * gdb.arch/powerpc-htm-regs.exp: New file.
7652
f2cf6173
EBM
76532018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7654
7655 * gdb.arch/powerpc-tar.c: New file.
7656 * gdb.arch/powerpc-tar.exp: New file.
7657
7ca18ed6
EBM
76582018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7659
7660 * gdb.arch/powerpc-ppr-dscr.c: New file.
7661 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7662
bfcc0eba
TV
76632018-10-25 Tom de Vries <tdevries@suse.de>
7664
7665 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7666
fe1a5cad
TV
76672018-10-24 Tom de Vries <tdevries@suse.de>
7668
7669 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7670 longer exists error.
7671
a76dc3b7
TV
76722018-10-24 Tom de Vries <tdevries@suse.de>
7673
7674 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7675
4df46df7
TV
76762018-10-24 Tom de Vries <tdevries@suse.de>
7677
7678 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7679 --db-attach in valgrind.
7680
0dbfcfff
AB
76812018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7682
7683 * gdb.arch/riscv-reg-aliases.c: New file.
7684 * gdb.arch/riscv-reg-aliases.exp: New file.
7685
b04480b1
AH
76862018-10-19 Alan Hayward <alan.hayward@arm.com>
7687
7688 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7689
2c6ac8d7
AH
76902018-10-19 Alan Hayward <alan.hayward@arm.com>
7691
7692 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7693
2bc69f25
AH
76942018-10-19 Alan Hayward <alan.hayward@arm.com>
7695
7696 * gdb.cp/ovldbreak.exp: Fix regexps.
7697
1f1ae3a3
AH
76982018-10-19 Alan Hayward <alan.hayward@arm.com>
7699
7700 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7701
94c18618
SDJ
77022018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7703
7704 PR cli/23785
7705 * gdb.base/restore.exp: New test to check if "restore" with an
7706 invalid file doesn't segfault.
7707
812cd6eb
TV
77082018-10-18 Tom de Vries <tdevries@suse.de>
7709
7710 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7711 * gdb.ada/excep_handle.exp: Same.
7712 * gdb.ada/mi_string_access.exp: Same.
7713 * gdb.ada/mi_var_union.exp: Same.
7714 * gdb.arch/arc-analyze-prologue.exp: Same.
7715 * gdb.arch/arc-decode-insn.exp: Same.
7716 * gdb.base/readnever.exp: Same.
7717 * gdb.fortran/printing-types.exp: Same.
7718 * gdb.guile/scm-lazy-string.exp: Same.
7719
c4b90788
TV
77202018-10-16 Tom de Vries <tdevries@suse.de>
7721
7722 PR gdb/23730
7723 * gdb.base/catch-follow-exec.c: Add copyright notice.
7724 * gdb.base/catch-follow-exec.exp: Rewrite to use
7725 gdb_spawn_with_cmdline_opts. Require gdb-native.
7726
8bca2978
SL
77272018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7728
7729 * gdb.trace/actions-changed.exp: Check for arch support.
7730 * gdb.trace/actions.exp: Likewise.
7731 * gdb.trace/ax.exp: Likewise.
7732 * gdb.trace/backtrace.exp: Likewise.
7733 * gdb.trace/change-loc.exp: Likewise.
7734 * gdb.trace/deltrace.exp: Likewise.
7735 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7736 * gdb.trace/ftrace.exp: Likewise.
7737 * gdb.trace/infotrace.exp: Check for arch support.
7738 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7739 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7740 * gdb.trace/mi-tsv-changed.exp: Likewise.
7741 * gdb.trace/packetlen.exp: Likewise.
7742 * gdb.trace/passc-dyn.exp: Likewise.
7743 * gdb.trace/passcount.exp: Likewise.
7744 * gdb.trace/pending.exp: Likewise.
7745 * gdb.trace/range-stepping.exp: Check for shlib support.
7746 * gdb.trace/report.exp: Check for arch support.
7747 * gdb.trace/save-trace.exp: Likewise.
7748 * gdb.trace/signal.exp: Check for signal support.
7749 * gdb.trace/tfind.exp: Check for arch support.
7750 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7751 * gdb.trace/trace-common.h: Add comment.
7752 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7753 * gdb.trace/trace-enable-disable.exp: Likewise.
7754 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7755 * gdb.trace/tracecmd.exp: Check for arch support.
7756 * gdb.trace/tspeed.exp: Check for shlib and target support.
7757 * gdb.trace/tstatus.exp: Check for arch support.
7758 * gdb.trace/tsv.exp: Likewise.
7759 * gdb.trace/while-dyn.exp: Likewise.
7760 * gdb.trace/while-stepping.exp: Likewise.
7761 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7762
f9c49bff
SM
77632018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7764
7765 * gdb.trace/tspeed.exp: Remove nowarnings.
7766 (prepare_for_trace_test): Declare "global ipalib".
7767 * gdb.trace/tspeed.c: Include unistd.h.
7768 (main): Remove superfluous printf argument.
7769
d4330bde
SL
77702018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7771
7772 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7773 directory prefix on the filename.
7774
8ecfd7bd
SDJ
77752018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7776
7777 * gdb.gdb/unittest.exp: Update expected message informing that
7778 selftests have been disabled.
7779 * gdb.server/unittest.exp: Likewise.
7780
58bbcd02
TV
77812018-10-09 Tom de Vries <tdevries@suse.de>
7782
7783 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7784 with runto_main.
7785
9f6b697b
WP
77862018-10-08 Weimin Pan <weimin.pan@oracle.com>
7787
7788 PR c++/16841
7789 * gdb.cp/virtbase2.cc: New file.
7790 * gdb.cp/virtbase2.exp: New file.
7791
add5ded5
TT
77922018-10-06 Tom Tromey <tom@tromey.com>
7793
7794 PR python/19399:
7795 * gdb.python/py-inferior.exp: Add architecture test.
7796
f9e48344
TT
77972018-10-06 Tom Tromey <tom@tromey.com>
7798
7799 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7800 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7801
2a8be203
TT
78022018-10-06 Tom Tromey <tom@tromey.com>
7803
7804 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7805 of a "throw" catchpoint.
7806
e04caa70
SDJ
78072018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7808
7809 * gdb.base/info-proc.exp: Update string expected from "help info
7810 proc".
7811
5ca8c39f
TT
78122018-10-04 Tom Tromey <tom@tromey.com>
7813
7814 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7815 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7816 (test_initial_complaints, test_empty_complaints): Update.
7817 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7818
3453e7e4
TT
78192018-10-04 Tom Tromey <tom@tromey.com>
7820
7821 PR cli/19551:
7822 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7823 * lib/gdb.exp (gdb_file_cmd): Update.
7824 * gdb.stabs/weird.exp (print_weird_var): Update.
7825 * gdb.server/solib-list.exp: Update.
7826 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7827 * gdb.mi/mi-cli.exp: Update.
7828 * gdb.linespec/linespec.exp: Update.
7829 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7830 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7831 * gdb.cp/cp-relocate.exp: Update.
7832 * gdb.base/sym-file.exp: Update.
7833 * gdb.base/relocate.exp: Update.
7834 * gdb.base/readnever.exp: Update.
7835 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7836 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7837 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7838 * gdb.base/code_elim.exp: Update.
7839 * gdb.base/break-unload-file.exp (test_break): Update.
7840 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7841 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7842 Update.
7843 * gdb.base/attach.exp (do_attach_tests): Update.
7844 * gdb.base/sepdebug.exp: Update.
7845 * gdb.python/py-section-script.exp: Update.
7846
6afcf761
TT
78472018-10-04 Tom Tromey <tom@tromey.com>
7848
7849 PR cli/22234:
7850 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7851 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7852 output.
7853
fef1b293
TT
78542018-10-04 Tom Tromey <tom@tromey.com>
7855
7856 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7857 set width and height to 0.
7858 (test_command_line_attach_run): Use -quiet.
7859
ca98345e
SL
78602018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7861
7862 * lib/gdb.exp (skip_ifunc_tests): New.
7863 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7864 other compile failures.
7865 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7866
ff34e6ae
SM
78672018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7868
7869 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7870 is_amd64_regs_target.
7871
6bb8890e
AH
78722018-10-01 Alan Hayward <alan.hayward@arm.com>
7873
7874 * gdb.arch/aarch64-sighandler-regs.c: New test.
7875 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7876 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7877
224d30d3
MM
78782018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7879
7880 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7881 assembly.
7882
f67ffa6a
AB
78832018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7884
7885 * gdb.base/frame-selection.exp: New file.
7886 * gdb.base/frame-selection.c: New file.
7887
9fc3183f
AH
78882018-09-27 Alan Hayward <alan.hayward@arm.com>
7889
7890 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7891 pthread barrier.
7892 (main): Likewise.
7893
d354055e
AB
78942018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7895
7896 * gdb.base/large-frame-1.c: New file.
7897 * gdb.base/large-frame-2.c: New file.
7898 * gdb.base/large-frame.exp: New file.
7899 * gdb.base/large-frame.h: New file.
7900
db727370
JL
79012018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7902
7903 PR gdb/20948
7904 * gdb.base/write_mem.exp: New test.
7905 * gdb.base/write_mem.c: Likewise.
7906
ae778caf
TT
79072018-09-23 Tom Tromey <tom@tromey.com>
7908
7909 PR python/18852:
7910 * gdb.python/py-parameter.exp: Add test for parameter that throws
7911 on "set".
7912
fd3ba736
TT
79132018-09-23 Tom Tromey <tom@tromey.com>
7914
7915 PR python/17284:
7916 * gdb.python/py-template.exp (test_template_arg): Add test for
7917 negative template argument number.
7918
39a24317
TT
79192018-09-23 Tom Tromey <tom@tromey.com>
7920
7921 PR python/14062:
7922 * gdb.python/python.exp: Add test for post_event error.
7923
f5769a2c
TT
79242018-09-23 Tom Tromey <tom@tromey.com>
7925
7926 PR python/18170:
7927 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7928 convert pointers to int and long.
7929
1c1e54f6
TT
79302018-09-23 Tom Tromey <tom@tromey.com>
7931
7932 PR python/20126:
7933 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7934 signed-ness conversion tests.
7935
fb4fa946
TT
79362018-09-23 Tom Tromey <tom@tromey.com>
7937
7938 PR python/18352;
7939 * gdb.python/py-value.exp (test_float_conversion): New proc.
7940 Use it.
7941
a466edac
HAQ
79422018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7943
7944 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7945
4ee9b0c5
SL
79462018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7947
7948 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7949 no readline.
7950 * gdb.base/utf8-identifiers.exp: Likewise.
7951 * gdb.cp/cpcompletion.exp: Likewise.
7952 * gdb.linespec/cpcompletion.exp: Likewise.
7953 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7954 * gdb.linespec/cpls-ops.exp: Likewise.
7955
23be8da7
RB
79562018-09-19 Richard Bunt <richard.bunt@arm.com>
7957 Chris January <chris.january@arm.com>
7958
7959 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7960 * gdb.fortran/short-circuit-argument-list.exp: New file.
7961 * gdb.fortran/short-circuit-argument-list.f90: New test.
7962
5031d0ae
SDJ
79632018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7964
7965 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7966 "arch=" keyword when executing "-stack-list-frames".
7967
b4c0d1a4
SDJ
79682018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7969
7970 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7971 "arch=" keyword when executing "-stack-list-frames".
7972
7a6d2b45
SDJ
79732018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7974
7975 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7976 break ada".
7977
8588b356
SM
79782018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7979
7980 PR python/23669
7981 * gdb.python/python.exp: Test gdb.execute("show commands").
7982
65e65158
TT
79832018-09-16 Tom Tromey <tom@tromey.com>
7984
7985 * gdb.base/new-ui.exp (do_execution_tests): Update.
7986 * gdb.base/dbx.exp (test_breakpoints): Update.
7987
bf326452
AH
79882018-09-14 Alan Hayward <alan.hayward@arm.com>
7989
7990 * lib/gdb.exp (gdb_simple_compile): Add proc.
7991 (is_elf_target): Use gdb_simple_compile.
7992 (skip_altivec_tests): Likewise.
7993 (skip_vsx_tests): Likewise.
7994 (skip_tsx_tests): Likewise.
7995 (skip_btrace_tests): Likewise.
7996 (skip_btrace_pt_tests): Likewise.
7997 (gdb_can_simple_compile): Likewise.
7998 (gdb_has_argv0): Likewise.
7999 (gdb_target_symbol_prefix): Likewise.
8000 (target_supports_scheduler_locking): Likewise.
8001
2361b0fb
TT
80022018-09-13 Tom Tromey <tom@tromey.com>
8003
8004 * Makefile.in (TAGS): Recognize proc_with_prefix and
8005 gdb_caching_proc.
8006
0ae1a321
SM
80072018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8008
8009 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8010 method.
8011
a40bf0c2
SM
80122018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8013
8014 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8015 and a few other Inferior properties when the Inferior is no
8016 longer valid.
8017
4a3fe98f
TT
80182018-09-13 Tom Tromey <tom@tromey.com>
8019
8020 PR rust/23650:
8021 * gdb.rust/simple.exp: Add test for enum field access error.
8022
098b2108
TT
80232018-09-13 Tom Tromey <tom@tromey.com>
8024
8025 PR rust/23626:
8026 * gdb.rust/simple.rs (EmptyEnum): New type.
8027 (main): Use it.
8028 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8029
1256af7d
SM
80302018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8031
8032 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8033 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8034 * gdb.python/py-symtab.exp: Update test printing an objfile.
8035
4aa8e6c2
SM
80362018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8037
8038 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8039 object.
8040
c221b2f7
AH
80412018-09-12 Alan Hayward <alan.hayward@arm.com>
8042
8043 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8044 (support_complex_tests): Use gdb_can_simple_compile.
8045 (is_ilp32_target): Likewise.
8046 (is_lp64_target): Likewise.
8047 (is_64_target): Likewise.
8048 (is_amd64_regs_target): Likewise.
8049 (is_aarch32_target): Likewise.
8050 (gdb_int128_helper): Likewise.
8051
6f1107b5
JK
80522018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8053
8054 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8055
1f5d1570
JG
80562018-09-10 Jerome Guitton <guitton@adacore.com>
8057
8058 * gdb.ada/same_component_name: Add test for case of tagged record
8059 with variable-length fields.
8060
cc330e39
XR
80612018-09-10 Xavier Roirand <roirand@adacore.com>
8062
8063 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8064 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8065 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8066 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8067
b9c50e9a
XR
80682018-09-10 Xavier Roirand <roirand@adacore.com>
8069
8070 * gdb.ada/mi_string_access.exp: New testcase.
8071 * gdb.ada/mi_string_access/bar.adb: New file.
8072 * gdb.ada/mi_string_access/pck.adb: New file.
8073 * gdb.ada/mi_string_access/pck.asd: New file.
8074
2963898f
XR
80752018-09-10 Xavier Roirand <roirand@adacore.com>
8076
8077 * gdb.ada/mi_var_union.exp: New testcase.
8078 * gdb.ada/mi_var_union/bar.adb: New file.
8079 * gdb.ada/mi_var_union/pck.adb: New file.
8080 * gdb.ada/mi_var_union/pck.asd: New file.
8081
1aac008f
TT
80822018-09-08 Tom Tromey <tom@tromey.com>
8083
8084 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8085
332cf4c9
TT
80862018-09-08 Tom Tromey <tom@tromey.com>
8087
8088 PR python/16047:
8089 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8090 (register_pretty_printers): Register new printer.
8091 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8092 test.
8093 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8094 (an_int_type3): New global.
8095
424da6cf
JB
80962018-09-08 Joel Brobecker <brobecker@adacore.com>
8097
8098 * gdb.ada/expr_with_funcall: New testcase.
8099
2a62dfa9
JB
81002018-09-08 Joel Brobecker <brobecker@adacore.com>
8101
8102 * gdb.ada/packed_array_assign: New testcase.
8103
96b6697f
AB
81042018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8105
8106 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8107 names, and add test prefixes to make test names unique.
8108
e4a62c65
TV
81092018-09-05 Tom de Vries <tdevries@suse.de>
8110
8111 * gdb.dwarf2/varval.exp: Add test.
8112
dd083ee2
GB
81132018-09-04 Gary Benson <gbenson@redhat.com>
8114
8115 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8116 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8117
aef9346c
TT
81182018-08-31 Tom Tromey <tom@tromey.com>
8119
8120 * gdb.rust/simple.rs: Rename second variable "v".
8121
c67f2e15
AB
81222018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8123
8124 * gdb.base/funcargs.c (use_a): New function.
8125 (recurse): Call use_a.
8126
078a0207
KS
81272018-08-29 Keith Seitz <keiths@redhat.com>
8128
8129 * gdb.compile/compile-cplus-anonymous.cc: New file.
8130 * gdb.compile/compile-cplus-anonymous.exp: New file.
8131 * gdb.compile/compile-cplus-array-decay.cc: New file.
8132 * gdb.compile/compile-cplus-array-decay.exp: New file.
8133 * gdb.compile/compile-cplus-inherit.cc: New file.
8134 * gdb.compile/compile-cplus-inherit.exp: New file.
8135 * gdb.compile/compile-cplus-member.cc: New file.
8136 * gdb.compile/compile-cplus-member.exp: New file.
8137 * gdb.compile/compile-cplus-method.cc: New file.
8138 * gdb.compile/compile-cplus-method.exp: New file.
8139 * gdb.compile/compile-cplus-mod.c: "New" file.
8140 * gdb.compile/compile-cplus-namespace.cc: New file.
8141 * gdb.compile/compile-cplus-namespace.exp: New file.
8142 * gdb.compile/compile-cplus-nested.cc: New file.
8143 * gdb.compile/compile-cplus-nested.exp: New file.
8144 * gdb.compile/compile-cplus-print.c: "New" file.
8145 * gdb.compile/compile-cplus-print.exp: "New" file.
8146 * gdb.compile/compile-cplus-virtual.cc: New file.
8147 * gdb.compile/compile-cplus-virtual.exp: New file.
8148 * gdb.compile/compile-cplus.c: "New" file.
8149 * gdb.compile/compile-cplus.exp: "New" file.
8150 * lib/compile-support.exp: New file.
8151
b0f492b9
GB
81522018-08-16 Gary Benson <gbenson@redhat.com>
8153
8154 PR gdb/13000:
8155 * gdb.base/batch-exit-status.exp: New file.
8156 * gdb.base/batch-exit-status.good-commands: Likewise.
8157 * gdb.base/batch-exit-status.bad-commands: Likewise.
8158
36eb4c5f
AH
81592018-08-29 Alan Hayward <alan.hayward@arm.com>
8160
8161 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8162 (struct struct02): Likewise.
8163 (struct struct03): Likewise.
8164 (struct struct04): Likewise.
8165 (struct struct_01_01): New struct.
8166 (struct struct_01_02): Likewise.
8167 (struct struct_01_03): Likewise.
8168 (struct struct_01_04): Likewise.
8169 (struct struct_02_01): Likewise.
8170 (struct struct_02_02): Likewise.
8171 (struct struct_02_03): Likewise.
8172 (struct struct_02_04): Likewise.
8173 (struct struct_04_01): Likewise.
8174 (struct struct_04_02): Likewise.
8175 (struct struct_04_03): Likewise.
8176 (struct struct_04_04): Likewise.
8177 (struct struct_05_01): Likewise.
8178 (struct struct_05_02): Likewise.
8179 (struct struct_05_03): Likewise.
8180 (struct struct_05_04): Likewise.
8181 (cmp_struct01): Remove function.
8182 (cmp_struct02): Likewise.
8183 (cmp_struct03): Likewise.
8184 (cmp_struct04): Likewise.
8185 (cmp_struct_01_01): Add Function.
8186 (cmp_struct_01_02): Likewise.
8187 (cmp_struct_01_03): Likewise.
8188 (cmp_struct_01_04): Likewise.
8189 (cmp_struct_02_01): Likewise.
8190 (cmp_struct_02_02): Likewise.
8191 (cmp_struct_02_03): Likewise.
8192 (cmp_struct_02_04): Likewise.
8193 (cmp_struct_04_01): Likewise.
8194 (cmp_struct_04_02): Likewise.
8195 (cmp_struct_04_03): Likewise.
8196 (cmp_struct_04_04): Likewise.
8197 (cmp_struct_05_01): Likewise.
8198 (cmp_struct_05_02): Likewise.
8199 (cmp_struct_05_03): Likewise.
8200 (cmp_struct_05_04): Likewise.
8201 (call_all): Add new structs.
8202 * gdb.base/infcall-nested-structs.exp: Likewise.
8203
3bf9c013
JV
82042018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8205
8206 * gdb.python/py-framefilter-mi.exp: Update regexp to
8207 check for "arch" field in frame output.
8208
450d1e88
KB
82092018-08-23 Kevin Buettner <kevinb@redhat.com>
8210
8211 * gdb.dwarf2/dw2-ranges-func.c: New file.
8212 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8213
ae739fe7
SM
82142018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8215
8216 * gdb.base/term.exp: Compare terminal settings with values from
8217 the inferior.
8218 * gdb.base/term.c: Get and set terminal settings.
8219
6d52907e
JV
82202018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8221
8222 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8223 accommodate new "arch" field in frame output.
8224 * gdb.mi/mi-return.exp: Likewise.
8225 * gdb.mi/mi-stack.exp: Likewise.
8226 * gdb.mi/mi-syn-frame.exp: Likewise.
8227 * gdb.mi/user-selected-context-sync.exp: Likewise.
8228
be2d111a
MS
82292018-08-19 Michael Spang <spang@google.com>
8230
8231 PR gdb/11786
8232 * gdb.base/gcore-tls-pie.c: New file.
8233 * gdb.base/gcore-tls-pie.exp: New file.
8234
ae3a7c47
KB
82352018-08-18 Kevin Buettner <kevinb@redhat.com>
8236
8237 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
8238 * gdb.dwarf2/varval.c: New file.
8239 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 8240
2ecae92e
AH
82412018-08-17 Alan Hayward <alan.hayward@arm.com>
8242
8243 PR gdb/18931
8244 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8245
c1854f1d
KS
82462018-08-16 Keith Seitz <keiths@redhat.com>
8247
8248 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
8249 tests expected to pass.
8250
26fb3983
JV
82512018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
8252
8253 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8254 -data-disassemble -a.
8255 (test_disassembly_bogus_args): Likewise.
8256
67943c00
AB
82572018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8258
8259 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8260
5ff2bbae
AB
82612018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8262
8263 * gdb.base/vla-optimized-out.exp: Add new test.
8264
e5bbcd0f
AB
82652018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8266
8267 * gdb.base/vla-optimized-out-o3.exp: Delete.
8268 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8269 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8270 deleted tests.
8271
9d4a934c
AB
82722018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8273
8274 PR gdb/18050:
8275 * gdb.server/extended-remote-restart.c: New file.
8276 * gdb.server/extended-remote-restart.exp: New file.
8277
045cf012
SM
82782018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8279
8280 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8281 "set variable index = 42".
8282
87d6a7aa
SM
82832018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8284
8285 * boards/index-cache-gdb.exp: New file.
8286 * gdb.dwarf2/index-cache.exp: New file.
8287 * gdb.dwarf2/index-cache.c: New file.
8288 * gdb.base/maint.exp: Check if we are using the index cache.
8289
96d68bd4
RO
82902018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8291
8292 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8293 MAKEFLAGS.
8294
5a699617
RO
82952018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8296
8297 * dg-extract-results.sh: Move to toplevel contrib.
8298 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8299 * Makefile.in (check-parallel-racy): Likewise.
8300
5bd18990
AB
83012018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8302
8303 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8304 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8305 tests if the target supports scheduler locking.
8306
3fbbcf47
TV
83072018-08-04 Tom de Vries <tdevries@suse.de>
8308
8309 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8310
3e1d3d8c
TT
83112018-08-02 Tom Tromey <tom@tromey.com>
8312
8313 PR symtab/16842.
8314 * gdb.cp/temargs.exp: Test "info address" of a template
8315 parameter.
8316
5abe0f0c
JV
83172018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8318
8319 * gdb.python/py-mi-var-info-path-expression.c: New file.
8320 * gdb.python/py-mi-var-info-path-expression.py: New file.
8321 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8322
fb66cde8
SDJ
83232018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8324
8325 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8326 error after "cannot resolve name" string.
8327
c708f4d2
AB
83282018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8329
8330 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8331 started.
8332 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8333
37cc0cae
TV
83342018-07-28 Tom de Vries <tdevries@suse.de>
8335
8336 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8337
63b4ecf7
TV
83382018-07-26 Tom de Vries <tdevries@suse.de>
8339
8340 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8341
3c3bb058
AB
83422018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8343
8344 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8345 is visible.
8346
9e7f3bbb
TV
83472018-07-26 Tom de Vries <tdevries@suse.de>
8348
8349 PR breakpoints/23366
8350 * gdb.base/catch-follow-exec.c: New test.
8351 * gdb.base/catch-follow-exec.exp: New file.
8352
16f808ec
TV
83532018-07-25 Tom de Vries <tdevries@suse.de>
8354
8355 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8356 vla-optimized-out.c.
8357
d7154a8d
JV
83582018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8359
8360 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8361 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8362
232a0032
TV
83632018-07-20 Tom de Vries <tdevries@suse.de>
8364
8365 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8366 NOCLONE macro.
8367 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8368
fbb1d502
TV
83692018-07-19 Tom de Vries <tdevries@suse.de>
8370
8371 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8372 regular expression.
8373
42dc7699
TV
83742018-07-18 Tom de Vries <tdevries@suse.de>
8375
8376 * gdb.base/vla-optimized-out.c: New test.
8377 * gdb.base/vla-optimized-out.exp: New file.
8378
7f1f7e23
SDJ
83792018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8380
8381 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8382 message "No address associated with hostname" when gdbserver
8383 cannot resolve the hostname.
8384
5759ebb3
PW
83852018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8386
8387 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8388 Add some test prefixes to make tests unique.
8389
3606ccab
PW
83902018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8391
8392 * gdb.base/frameapply.c: New file.
8393 * gdb.base/frameapply.exp: New file.
8394
529c08b2
PW
83952018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8396
8397 * gdb.base/skip.exp: Update expected error message.
8398
c7ab0aef
SDJ
83992018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8400 Jan Kratochvil <jan.kratochvil@redhat.com>
8401 Paul Fertser <fercerpav@gmail.com>
8402 Tsutomu Seki <sekiriki@gmail.com>
8403
8404 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8405 parameter.
8406 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8407 by default.
8408 * boards/native-gdbserver.exp: Likewise.
8409 * gdb.server/run-without-local-binary.exp: Improve regexp used
8410 for detecting when a remote debugging connection succeeds.
8411 * gdb.server/server-connect.exp: New file.
8412 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8413 Do not prefix the port number with ":".
8414 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8415 support for detecting and using it. Add '$debughost_gdbserver'
8416 to the list of arguments used to start gdbserver. Handle case
8417 when gdbserver cannot resolve a network name.
8418
16ff70dd
SDJ
84192018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8420
8421 PR c++/23373
8422 * gdb.base/ptype-offsets.cc (struct static_member): New
8423 struct.
8424 (main) <stmember>: New variable.
8425 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8426 with a static member in it.
8427
3541979f
AB
84282018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8429
8430 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8431 watchpoints enabled and disabled.
8432
c8ad9b9a
AB
84332018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8434
8435 * gdb.base/examine-backward.exp: Still run tests around address
8436 0x0, even if address 0x0 is not readable. Update the pattern for
8437 matching address 0x0 in expected output.
8438
e0e5e971
AB
84392018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8440
8441 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8442 malloc/free.
8443
1ea5da02
TV
84442018-07-04 Tom de Vries <tdevries@suse.de>
8445
8446 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8447
471b9d15
MR
84482018-07-02 Maciej W. Rozycki <macro@mips.com>
8449
8450 PR tdep/8282
8451 * gdb.arch/mips-disassembler-options.exp: New test.
8452 * gdb.arch/mips-disassembler-options.s: New test source.
8453
75acb486
PA
84542018-06-29 Pedro Alves <palves@redhat.com>
8455
8456 * gdb.threads/names.exp: Adjust expected "info threads" output.
8457
cd2bb709
PA
84582018-06-29 Pedro Alves <palves@redhat.com>
8459
8460 * gdb.opt/inline-break.exp (line number, address): Add "info
8461 break" tests.
8462
991ff292
PA
84632018-06-29 Pedro Alves <palves@redhat.com>
8464
8465 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8466 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8467 number and address and running to them.
8468
356819b6 84692018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8470
8471 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8472
2512d7ef
JK
84732018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8474
8475 * lib/compiler.c: Remove executable permission flag.
8476
be1b6474
RB
84772018-06-28 Richard Bunt <richard.bunt@arm.com>
8478
8479 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8480 code.
8481 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8482
291f9a96
PT
84832018-06-28 Petr Tesarik <ptesarik@suse.cz>
8484
8485 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8486
ed6dfe51
PT
84872018-06-28 Petr Tesarik <ptesarik@suse.cz>
8488
8489 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8490 address argument is omitted.
8491
d4d429d5
PT
84922018-06-28 Petr Tesarik <ptesarik@suse.cz>
8493
8494 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8495
7ab6656f
OJ
84962018-06-27 Omair Javaid <omair.javaid@linaro.org>
8497
8498 PR gdb/21695
8499 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8500 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8501
a33ccfc7
TT
85022018-06-26 Tom Tromey <tom@tromey.com>
8503
8504 PR rust/22574:
8505 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8506 * gdb.rust/simple.rs (struct SimpleLayout): New.
8507
6d72d289
SM
85082018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8509
8510 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8511 "info registers" output.
8512
8363f9d5
RB
85132018-06-21 Richard Bunt <richard.bunt@arm.com>
8514
8515 * gdb.base/watchpoint-hw-attach.c: New test.
8516 * gdb.base/watchpoint-hw-attach.exp: New file.
8517
f00674fe
SM
85182018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8519
8520 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8521 through /bin/sh.
8522 * boards/dwarf4-gdb-index.exp: Likewise.
8523 * boards/fission-dwp.exp: Likewise.
8524
1d554008
UW
85252018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8526
8527 * gdb.base/float128.exp: Add comment and improved fail message
8528 to the failure case of "print large128" test.
8529
d0ac1c44
SM
85302018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8531
8532 * configure.ac: Remove AC_PREREQ.
8533 * configure: Re-generate.
8534
61b04dd0
PA
85352018-06-19 Pedro Alves <palves@redhat.com>
8536
8537 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8538 (func_extern_caller): New.
8539 (main): Call func_extern_caller.
8540 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8541 logic change.
8542
f63b508a
SM
85432018-06-18 Weimin Pan <weimin.pan@oracle.com>
8544
8545 PR gdb/16841
8546 * gdb.cp/typedef-base.cc: New file.
8547 * gdb.cp/typedef-base.exp: New file.
8548
0fe3a558
TV
85492018-06-18 Tom de Vries <tdevries@suse.de>
8550
8551 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8552
7010835a
AB
85532018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8554 Richard Bunt <Richard.Bunt@arm.com>
8555
8556 * gdb.threads/attach-slow-waitpid.c: New file.
8557 * gdb.threads/attach-slow-waitpid.exp: New file.
8558 * gdb.threads/slow-waitpid.c: New file.
8559
14897d65
PA
85602018-06-14 Pedro Alves <palves@redhat.com>
8561
8562 * gdb.base/fork-running-state.c: Include <errno.h>.
8563 (exit_if_relative_exits): New.
8564 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8565 exits.
8566 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8567 child exits.
8568
5d9a0608
TV
85692018-06-14 Tom de Vries <tdevries@suse.de>
8570
8571 PR cli/22573
8572 * gdb.base/finish-pretty.c: New test.
8573 * gdb.base/finish-pretty.exp: New file.
8574
11ae5818
PA
85752018-06-14 Pedro Alves <palves@redhat.com>
8576
8577 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8578 gdb's expected startup output.
8579
1d39de44
PA
85802018-06-14 Pedro Alves <palves@redhat.com>
8581
8582 * lib/selftest-support.exp (selftest_setup): Remove inlined
8583 function handling.
8584
70ee0000
TV
85852018-06-14 Tom de Vries <tdevries@suse.de>
8586
8587 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8588 matching of breakpoint printing.
8589
11f4b608
TV
85902018-06-13 Tom de Vries <tdevries@suse.de>
8591
8592 PR testsuite/23269
8593 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8594 (fork_child): ... here, and ...
8595 (fork_parent): ... here.
8596
85972018-06-12 Tom de Vries <tdevries@suse.de>
8598
8599 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8600
9516f85a
AB
86012018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8602 Stephen Roberts <stephen.roberts@arm.com>
8603
8604 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8605 rewrite test to describe action performed, rather than possible
8606 failure.
8607
5045b3d7
GB
86082018-06-08 Gary Benson <gbenson@redhat.com>
8609
8610 * gdb.threads/check-libthread-db.exp: New file.
8611 * gdb.threads/check-libthread-db.c: Likewise.
8612
c61b06a1
TT
86132018-06-05 Tom Tromey <tom@tromey.com>
8614
8615 * gdb.base/default.exp: Update expected "show version" output.
8616
eb6af809
TT
86172018-06-05 Tom Tromey <tom@tromey.com>
8618
8619 PR cli/12326:
8620 * gdb.cp/static-print-quit.exp: Update.
8621 * lib/gdb.exp (pagination_prompt): Update.
8622 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8623 * gdb.python/python.exp: Update.
8624
178d6a63
JB
86252018-06-04 Joel Brobecker <brobecker@adacore.com>
8626
8627 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8628
8e817061
JB
86292018-06-01 Joel Brobecker <brobecker@adacore.com>
8630
8631 * gdb.ada/bp_fun_addr: New testcase.
8632
e86ca25f
TT
86332018-06-01 Tom Tromey <tom@tromey.com>
8634
8635 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8636 results.
8637 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8638 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8639 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8640 * gdb.base/maint.exp (maint_pass_if): Update.
8641
4b2dfa9d
MR
86422018-05-31 Maciej W. Rozycki <macro@mips.com>
8643
8644 * gdb.base/endian.exp: New test.
8645 * gdb.base/endian.c: New test source.
8646
45f25d6c
AB
86472018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8648
8649 PR gdb/23203
8650 * gdb.base/bt-selected-frame.c: New file.
8651 * gdb.base/bt-selected-frame.exp: New file.
8652 * lib/gdb.exp (get_current_frame_number): New function.
8653
d9f6d7f8
MR
86542018-05-24 Maciej W. Rozycki <macro@mips.com>
8655 Pedro Alves <palves@redhat.com>
8656
8657 * gdb.threads/tls-core.c: Include <stdlib.h>
8658 (thread_proc): Call `abort'.
8659 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8660 (tls_core_test): New procedure, bits factored out from ...
8661 (top level): ... here. Test both native cores and gcore cores.
8662
ff1cf532
TT
86632018-05-23 Tom Tromey <tom@tromey.com>
8664
8665 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8666
b98664d3
TT
86672018-05-23 Tom Tromey <tom@tromey.com>
8668
8669 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8670 symfile_complaints.
8671 (test_short_complaints): Likewise.
8672 (test_empty_complaints): Likewise.
8673 (test_initial_complaints): Update.
8674
4e9668d0
TT
86752018-05-23 Tom Tromey <tom@tromey.com>
8676
8677 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8678
43ba33c7
TT
86792018-05-23 Tom Tromey <tom@tromey.com>
8680
8681 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8682 (test_short_complaints): Update.
8683
035522c0
PA
86842018-05-22 Pedro Alves <palves@redhat.com>
8685
8686 * gdb.base/remote.exp: Only gdb_start after compiling the
8687 testcase. Issue "disconnect" before testing "set remote" command
8688 defaults. Issue clean_restart before running to main.
8689
cc0be08f
PA
86902018-05-22 Pedro Alves <palves@redhat.com>
8691
8692 * gdb.base/remote.exp: Adjust expected output of "show remote
8693 memory-write-packet-size". Add tests for "set remote
8694 memory-write-packet-size 0" and "set remote
8695 memory-write-packet-size fixed/limit".
8696
b1b60145
PA
86972018-05-22 Pedro Alves <palves@redhat.com>
8698
8699 PR gdb/22973
8700 * gdb.base/utf8-identifiers.c: New file.
8701 * gdb.base/utf8-identifiers.exp: New file.
8702
0ec848ad
PFC
87032018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8704
8705 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8706
2c3305f6
PFC
87072018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8708
8709 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8710
ce1e8424
TT
87112018-05-18 Tom Tromey <tom@tromey.com>
8712
8713 * gdb.base/ptype-offsets.exp: Update.
8714
ddfe970e
KS
87152018-05-17 Keith Seitz <keiths@redhat.com>
8716
8717 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8718 in expected breakpoint stop locations.
8719 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8720 move to proper scope to test variable values.
8721 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8722 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8723 New functions.
8724 (main): Call not_inline_func3.
8725 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8726 inline_func1, inline_func2, and inline_func3. Test that when each
8727 breakpoint is hit, GDB properly reports both the stop location
8728 and the backtrace. Repeat tests for temporary breakpoints.
8729
0726fcc6
MR
87302018-05-15 Maciej W. Rozycki <macro@mips.com>
8731
8732 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8733 rather then trying to access it in determining whether the PID
8734 of `gdbserver' could have been retrieved.
8735
8ee22052
AB
87362018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8737
8738 * gdb.arch/amd64-init-x87-values.S: New file.
8739 * gdb.arch/amd64-init-x87-values.exp: New file.
8740
7785df48
JK
87412018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8742
8743 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8744
56bcdbea
TT
87452018-05-04 Tom Tromey <tom@tromey.com>
8746
8747 PR python/22730:
8748 * gdb.python/python.exp: Test multi-line execute.
8749
a913fffb
TT
87502018-05-04 Tom Tromey <tom@tromey.com>
8751
8752 PR python/22731:
8753 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8754
7a2c85f2
TT
87552018-05-04 Tom Tromey <tom@tromey.com>
8756
8757 PR gdb/11750:
8758 * gdb.base/define.exp: Test defining a user command inside a user
8759 command.
8760 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8761
a3b60e45
JK
87622018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8763 Pedro Alves <palves@redhat.com>
8764
8765 PR breakpoints/19806 and support for PR external/20207.
8766 * gdb.base/watchpoint-unaligned.c: New file.
8767 * gdb.base/watchpoint-unaligned.exp: New file.
8768
45fe4a03
AB
87692018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8770
8771 * gdb.base/maint.exp: Make test names unique, use
8772 test_prefix_command_help to test 'help maint info', and remove
8773 repeated test of 'help maint'.
8774
9be2ae8f
TT
87752018-05-04 Tom Tromey <tom@tromey.com>
8776
8777 PR gdb/22619:
8778 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8779 behavior.
8780
11859c31
AB
87812018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8782
8783 * gdb.base/maint.exp: Process output from 'maint print registers'
8784 line at a time.
8785
089a9490
AB
87862018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8787
8788 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8789 timeout.
8790
9b0797e2
AB
87912018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8792
8793 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8794 filter pattern.
8795
f6ac5f3d
PA
87962018-05-02 Pedro Alves <palves@redhat.com>
8797
8798 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8799 to_log_command renames.
8800 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8801
77d3c63b
TT
88022018-05-02 Tom Tromey <tom@tromey.com>
8803
8804 * gdb.python/py-parameter.exp: Set test message.
8805
0489430a
TT
88062018-05-02 Tom Tromey <tom@tromey.com>
8807
8808 PR python/20084:
8809 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8810 PARAM_ZUINTEGER_UNLIMITED tests.
8811
1632f8ba
DR
88122018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8813
8814 PR rust/23124
8815 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8816 when casting.
8817
6d7bb824
TT
88182018-04-30 Tom Tromey <tom@tromey.com>
8819
8820 * gdb.python/py-type.exp: Check align attribute.
8821 * gdb.python/py-type.c: New "aligncheck" global.
8822
007e1530
TT
88232018-04-30 Tom Tromey <tom@tromey.com>
8824
8825 PR exp/17095:
8826 * gdb.dwarf2/dw2-align.exp: New file.
8827 * gdb.cp/align.exp: New file.
8828 * gdb.base/align.exp: New file.
8829 * lib/gdb.exp (gdb_int128_helper): New proc.
8830 (has_int128_c, has_int128_cxx): New caching procs.
8831
6873858b
TT
88322018-04-27 Tom Tromey <tom@tromey.com>
8833
8834 PR rust/22545:
8835 * gdb.rust/simple.exp: Add inclusive range tests.
8836
79188d8d
PA
88372018-04-26 Pedro Alves <palves@redhat.com>
8838
8839 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8840 ifunc breakpoint locations correctly of ifunc breakpoints set
8841 while the program resolves the ifunc.
8842
c7075ad5
PA
88432018-04-26 Pedro Alves <palves@redhat.com>
8844
8845 * gdb.base/gnu-ifunc-final.c: New file.
8846 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8847 * gdb.base/gnu-ifunc.exp (executable): Delete.
8848 (staticexecutable): Adjust.
8849 (lib_opts, exec_opts): Delete.
8850 (make_binsuffix, build, set-break): New procedures.
8851 (misc_tests): New, with tests factored out from the top level.
8852 (top level): Test different combinations of ifunc resolver name,
8853 resolver with and with debug info, and ifunc target with and
8854 without debug info. Wrap static tests with with_target_prefix.
8855
8388016d
PA
88562018-04-26 Pedro Alves <palves@redhat.com>
8857
8858 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8859 return type" warnings.
8860
249b5733
PA
88612018-04-25 Pedro Alves <palves@redhat.com>
8862
8863 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8864 killed".
8865 * gdb.base/kill-after-signal.exp: Likewise.
8866 * gdb.threads/kill.exp: Likewise.
8867
f67c0c91
SDJ
88682018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8869 Sergio Durigan Junior <sergiodj@redhat.com>
8870 Pedro Alves <palves@redhat.com>
8871
8872 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8873 regexps to expect for '[Inferior ... detached]' as well.
8874 * gdb.base/attach.exp: Likewise.
8875 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8876 "gdb_continue_to_end".
8877 (test_catch_syscall_with_wrong_args): Likewise.
8878 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8879 ']'. Don't set 'verbose' on.
8880 * gdb.base/foll-vfork.exp: Likewise.
8881 * gdb.base/fork-print-inferior-events.c: New file.
8882 * gdb.base/fork-print-inferior-events.exp: New file.
8883 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8884 '[Inferior ... has been killed]' message.
8885 * gdb.base/kill-after-signal.exp: Likewise.
8886 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8887 detach message.
8888 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8889 message.
8890 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8891 regexps to expect for '[Inferior ... detached]' as well.
8892 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8893
0a8ddac4
SM
88942018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8895
8896 PR gdb/23104
8897 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8898
701adfb0
PA
88992018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8900
8901 PR gdb/23095
8902 * gdb.base/break-probes.exp: Pass shlib_load to
8903 prepare_for_testing. Set normal_bp to r_debug_state if target is
8904 bsd.
8905
d27d16bf
RB
89062018-04-19 Richard Bunt <richard.bunt@arm.com>
8907
8908 * gdb.threads/multiple-successive-infcall.c: New test.
8909 * gdb.threads/multiple-successive-infcall.exp: New file.
8910
a037790e
TT
89112018-04-17 Tom Tromey <tom@tromey.com>
8912
8913 * gdb.rust/simple.rs (Union): New type.
8914 (main): New local "u".
8915 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8916
e3a91079
AA
89172018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8918
8919 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8920 number information in output of "whereis" command.
8921 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8922
b744723f
AA
89232018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8924
8925 * gdb.ada/info_types.exp: Adjust expected output to the line
8926 numbers now printed by "info var/func/type".
8927 * gdb.base/completion.exp: Likewise.
8928 * gdb.base/included.exp: Likewise.
8929 * gdb.cp/cp-relocate.exp: Likewise.
8930 * gdb.cp/cplusfuncs.exp: Likewise.
8931 * gdb.cp/namespace.exp: Likewise.
8932 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8933
4a4495d6
MM
89342018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8935
8936 * gdb.btrace/cpu.exp: New.
8937
1d509aa6
MM
89382018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8939
8940 * gdb.base/step-indirect-call-thunk.exp: New.
8941 * gdb.base/step-indirect-call-thunk.c: New.
8942 * gdb.reverse/step-indirect-call-thunk.exp: New.
8943 * gdb.reverse/step-indirect-call-thunk.c: New.
8944
6295b6da
SM
89452018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8946
8947 * gdb.base/pie-fork.c: New file.
8948 * gdb.base/pie-fork.exp: New file.
8949
50146e70
TT
89502018-04-11 Tom Tromey <tom@tromey.com>
8951
8952 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8953
f50d8a2e
PA
89542018-04-10 Pedro Alves <palves@redhat.com>
8955
8956 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8957 exits. Instead loop running forever.
8958 (fork_parent): Run forever too.
8959
a0be7a36
SM
89602018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8961
8962 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8963 mi_continue_to_line.
8964 * gdb.mi/mi-stack.c (callee4): Add comment.
8965
9b73db36
SM
89662018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8967
8968 * gdb.mi/mi-stack.exp: Fix indentation.
8969
c912f608
SM
89702018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8971
8972 PR gdb/22979
8973 * gdb.arch/amd64-osabi.exp: New file.
8974
26540402
SM
89752018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8976
8977 PR gdb/22980
8978 * gdb.base/osabi.exp: New file.
8979
121ad66c 89802018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
8981
8982 * gdb.cp/static-typedef-print.exp: New file.
8983 * gdb.cp/static-typedef-print.cc: New file.
8984
3fcded8f
JB
89852018-03-27 Joel Brobecker <brobecker@adacore.com>
8986
8987 * gdb.ada/varsize_limit: New testcase.
8988
59cc4834
JB
89892018-03-27 Joel Brobecker <brobecker@adacore.com>
8990
8991 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8992
8993 * gdb.ada/notcplusplus: New testcase.
8994
8995 * gdb.base/c-linkage-name.c: New file.
8996 * gdb.base/c-linkage-name.exp: New testcase.
8997
4ca59a9f
TT
89982018-03-26 Tom Tromey <tom@tromey.com>
8999
9000 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9001 * gdb.python/py-framefilter.py (name_error): New global.
9002 (ErrorInName.function): Use name_error.
9003
978d6c75
TT
90042018-03-26 Tom Tromey <tom@tromey.com>
9005
9006 PR backtrace/15582:
9007 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9008
b7fee5a3
KS
90092018-03-23 Keith Seitz <keiths@redhat.com>
9010
9011 PR c++/22968
9012 * gdb.cp/subtypes.exp: New file.
9013 * gdb.cp/subtypes.h: New file.
9014 * gdb.cp/subtypes.cc: New file.
9015 * gdb.cp/subtypes-2.cc: New file.
9016
376be529
AB
90172018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9018
9019 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9020 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9021 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9022 -nostartfiles when compiling the test. Confirm that all registers
9023 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9024
066cfa98
AB
90252018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9026
9027 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9028 option, syntax was wrong anyway.
9029 * gdb.arch/arm-disp-step.exp: Likewise.
9030 * gdb.arch/sparc64-regs.exp: Likewise.
9031 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9032 option, syntax was wrong anyway, switch to use
9033 prepare_for_testing.
9034 * gdb.arch/i386-disp-step.exp: Likewise.
9035
079670b9
AA
90362018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9037
9038 * gdb.ada/exec_changed.exp: Replace "target_info exists
9039 use_gdb_stub" by "use_gdb_stub".
9040 * gdb.ada/start.exp: Likewise.
9041 * gdb.base/async-shell.exp: Likewise.
9042 * gdb.base/attach-pie-misread.exp: Likewise.
9043 * gdb.base/attach-wait-input.exp: Likewise.
9044 * gdb.base/break-entry.exp: Likewise.
9045 * gdb.base/break-interp.exp: Likewise.
9046 * gdb.base/dprintf-detach.exp: Likewise.
9047 * gdb.base/nostdlib.exp: Likewise.
9048 * gdb.base/solib-nodir.exp: Likewise.
9049 * gdb.base/statistics.exp: Likewise.
9050 * gdb.base/testenv.exp: Likewise.
9051 * gdb.mi/mi-exec-run.exp: Likewise.
9052 * gdb.mi/mi-start.exp: Likewise.
9053 * gdb.multi/dummy-frame-restore.exp: Likewise.
9054 * gdb.multi/multi-arch-exec.exp: Likewise.
9055 * gdb.multi/multi-arch.exp: Likewise.
9056 * gdb.multi/tids.exp: Likewise.
9057 * gdb.multi/watchpoint-multi.exp: Likewise.
9058 * gdb.python/py-events.exp: Likewise.
9059 * gdb.threads/attach-into-signal.exp: Likewise.
9060 * gdb.threads/attach-stopped.exp: Likewise.
9061 * gdb.threads/threadapply.exp: Likewise.
9062 * lib/selftest-support.exp: Likewise.
9063
26d6cec4
AA
90642018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9065
9066 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9067
4ee89e90
SR
90682018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9069
9070 * gdb.perf/template-breakpoints.cc: New file.
9071 * gdb.perf/template-breakpoints.exp: New file.
9072 * gdb.perf/template-breakpoints.py: New file.
9073
92630041
TT
90742018-03-19 Tom Tromey <tom@tromey.com>
9075
9076 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9077 y0.
9078 * gdb.rust/simple.exp: Test bare identifier form of struct
9079 initializer.
9080
76727919
TT
90812018-03-19 Tom Tromey <tom@tromey.com>
9082
9083 * gdb.gdb/observer.exp: Remove.
9084
194ed413
AA
90852018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9086
9087 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9088 "qualified" option when setting breakpoints.
9089 * gdb.trace/backtrace.exp: Likewise.
9090 * gdb.trace/circ.exp: Likewise.
9091 * gdb.trace/collection.exp: Likewise.
9092 * gdb.trace/disconnected-tracing.exp: Likewise.
9093 * gdb.trace/ftrace-lock.exp: Likewise.
9094 * gdb.trace/ftrace.exp: Likewise.
9095 * gdb.trace/infotrace.exp: Likewise.
9096 * gdb.trace/packetlen.exp: Likewise.
9097 * gdb.trace/passc-dyn.exp: Likewise.
9098 * gdb.trace/qtro.exp: Likewise.
9099 * gdb.trace/read-memory.exp: Likewise.
9100 * gdb.trace/report.exp: Likewise.
9101 * gdb.trace/signal.exp: Likewise.
9102 * gdb.trace/status-stop.exp: Likewise.
9103 * gdb.trace/strace.exp: Likewise.
9104 * gdb.trace/tfind.exp: Likewise.
9105 * gdb.trace/trace-break.exp: Likewise.
9106 * gdb.trace/trace-condition.exp: Likewise.
9107 * gdb.trace/trace-mt.exp: Likewise.
9108 * gdb.trace/tstatus.exp: Likewise.
9109 * gdb.trace/tsv.exp: Likewise.
9110 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9111 * gdb.trace/unavailable.exp: Likewise.
9112 * gdb.trace/while-dyn.exp: Likewise.
9113
8b067d2c
AA
91142018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9115
9116 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9117 that libinproctrace is copied to the target.
9118
3ae9ce5d
TT
91192018-03-14 Tom Tromey <tom@tromey.com>
9120
9121 PR cli/14977:
9122 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9123 a null pointer.
9124 * gdb.base/wchar.exp: Likewise.
9125
b8c2339b
TT
91262018-03-14 Tom Tromey <tom@tromey.com>
9127
9128 PR cli/19918:
9129 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9130 flag.
9131
4872dc46
SM
91322018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9133
9134 PR gdb/22841
9135 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9136 "target" to remote_exec.
9137
e4fe3756
SM
91382018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9139
9140 PR gdb/22841
9141 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9142 ${board}_upload): Remove.
9143
e95a97d4
AA
91442018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9145
9146 * gdb.cp/watch-cp.cc: New test.
9147 * gdb.cp/watch-cp.exp: New file.
9148
dbbb1059
AB
91492018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9150
9151 * gdb.base/infcall-nested-structs.exp: New file.
9152 * gdb.base/infcall-nested-structs.c: New file.
9153 * gdb.base/float.exp: Add riscv support.
9154
ecc054c0
TP
91552018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9156
9157 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9158 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9159
25e3c82c
SDJ
91602018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9161
9162 * gdb.server/abspath.exp: New file.
9163 * lib/gdb.exp (with_cwd): New procedure.
9164
3083294d
SM
91652018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9166
9167 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9168 use it.
9169 (gdb_is_target_remote_prompt): New proc.
9170 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9171 (gdb_is_target_native): Pass prompt parameter to
9172 gdb_is_target_1.
9173
3275ef47
SM
91742018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9175
9176 * gdb.base/load-command.c: New file.
9177 * gdb.base/load-command.exp: New file.
9178 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9179 (gdb_is_target_1): ...this, and generalize for other targets
9180 than just remote.
9181 (gdb_is_target_remote): Use gdb_is_target_1.
9182 (gdb_is_target_native): use gdb_is_target_1.
9183
6893c19a
TT
91842018-02-26 Tom Tromey <tom@tromey.com>
9185
9186 PR python/16497:
9187 * gdb.python/py-framefilter.exp: Update test.
9188
2ddeaf8a
TT
91892018-02-26 Tom Tromey <tom@tromey.com>
9190
9191 * gdb.dwarf2/variant.c: New file.
9192 * gdb.dwarf2/variant.exp: New file.
9193
c9317f21
TT
91942018-02-26 Tom Tromey <tom@tromey.com>
9195
9196 * gdb.rust/simple.exp: Accept more possible results in enum test.
9197
6f6d0c26
SM
91982018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9199
9200 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9201 parentheses.
9202
11b03145
MR
92032018-02-23 Maciej W. Rozycki <macro@mips.com>
9204
9205 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9206 name of a variable: $actual_linejj -> $actual_line.
9207
54a27fe5
JB
92082018-02-21 John Baldwin <jhb@FreeBSD.org>
9209
9210 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9211
de65820c
MM
92122018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9213
9214 * gdb.btrace/buffer-size.exp: Do not force BTS.
9215
980548fd
PA
92162018-02-14 Pedro Alves <palves@redhat.com>
9217
9218 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9219 getting a "Quit".
9220
c4e12631
MM
92212018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9222
9223 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9224 Fix test name.
9225
c2e0e465
SM
92262018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9227
9228 * gdb.cp/m-static.exp: Check type of optimized out static
9229 member.
9230
f7216783
AB
92312018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9232
9233 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9234 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9235
0625771b
LS
92362018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9237 Leszek Swirski <leszeks@google.com>
9238
9239 * gdb.python/py-prettyprint.c
9240 (struct to_string_returns_value_inner,
9241 struct to_string_returns_value_wrapper): New.
9242 (main): Add tsrvw variable.
9243 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9244 ToStringReturnsValueWrapper): New classes.
9245 (register_pretty_printers): Register new pretty-printers.
9246 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
9247 recursive pretty printer.
9248 * gdb.python/py-mi.exp: Likewise.
9249
59498c30
LS
92502018-02-01 Leszek Swirski <leszeks@google.com>
9251
9252 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9253 functions with the same name as an include file are parsed
9254 correctly.
9255
d4d38844
YQ
92562018-02-01 Yao Qi <yao.qi@linaro.org>
9257
9258 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9259 "\[^\r\n\]*".
9260
07e5f5cf
NP
92612018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9262
9263 * gdb.arch/powerpc-prologue-frame.s: New file.
9264 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9265 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9266
929b5ad4
JB
92672018-01-31 Joel Brobecker <brobecker@adacore.com>
9268
9269 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9270
e671cd59
PA
92712018-01-30 Pedro Alves <palves@redhat.com>
9272
9273 PR gdb/13211
9274 * gdb.base/interrupt-daemon.c: New.
9275 * gdb.base/interrupt-daemon.exp: New.
9276 * gdb.multi/multi-term-settings.c: New.
9277 * gdb.multi/multi-term-settings.exp: New.
9278
fc413dc4
JB
92792018-01-30 Joel Brobecker <brobecker@adacore.com>
9280
9281 * gdb.base/break.exp: Save the location where the breakpoint
9282 on break.c:47 was actually inserted when debugging the version
9283 compiled at -O2 and use it in the expected output of the "info
9284 break" test performed soon after.
9285
5c319bb2
PA
92862018-01-22 Pedro Alves <palves@redhat.com>
9287 Sergio Durigan Junior <sergiodj@redhat.com>
9288
9289 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9290 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9291
a9e40818
JB
92922018-01-22 Joel Brobecker <brobecker@adacore.com>
9293
9294 * gdb.base/break-include.c, gdb.base/break-include.inc,
9295 gdb.base/break-include.exp: New files.
9296 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9297 line number now being the actual line number where the breakpoint
9298 was inserted.
9299 * gdb.mi/mi-break.exp: Likewise.
9300 * gdb.mi/mi-reverse.exp: Likewise.
9301 * gdb.mi/mi-simplerun.exp: Ditto.
9302
e707fc44
AB
93032018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9304
9305 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9306 varobj.
9307 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9308
ae451627
AB
93092018-01-21 Don Breazeal <donb@codesourcery.com>
9310 Andrew Burgess <andrew.burgess@embecosm.com>
9311
9312 * gdb.mi/basics.c: Add new global.
9313 * gdb.mi/mi-frame-regs.exp: New file.
9314 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9315 case.
9316
b1b189e0
AB
93172018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9318
9319 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9320 non-parameter, and on an unknown symbol.
9321
fcfcc376
TT
93222018-01-19 Tom Tromey <tom@tromey.com>
9323
9324 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9325 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9326
634c1c31
AA
93272018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9328
9329 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9330 setrlimit and chdir to int.
9331
d6ad07fd
AA
93322018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9333
9334 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9335 function.
9336 (my_tend): Likewise.
9337 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9338 rationale of avoiding FP- and vector instructions.
9339
adf8243b
RK
93402018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9341
9342 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9343 "info reg" with "\[ \t\]*".
9344 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9345 "\[ \t\]+".
9346 * gdb.arch/s390-multiarch.exp: Ditto.
9347 * gdb.base/pc-fp.exp: Ditto.
9348 * gdb.reverse/i386-precsave.exp: Ditto.
9349 * gdb.reverse/i386-reverse.exp: Ditto.
9350 * gdb.reverse/i387-env-reverse.exp: Ditto.
9351 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9352
dcc06925
AA
93532018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9354
9355 * lib/gdb.exp (gdb_compile): Re-enable use of
9356 universal_compile_options for languages other than Rust.
9357
25d4fd80
AA
93582018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9359
9360 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9361
ee7f689e 93622018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
9363
9364 PR gdb/16577
9365 * gdb.base/solib-vanish.exp: New.
9366 * gdb.base/solib-vanish-main.c: New.
9367 * gdb.base/solib-vanish-lib1.c: New.
9368 * gdb.base/solib-vanish-lib2.c: New.
9369
d8447b6b
YQ
93702018-01-17 Yao Qi <yao.qi@linaro.org>
9371
9372 * gdb.compile/compile.exp: Match the address printed for
9373 frame in the output of command "bt".
9374
86d6a90c
TT
93752018-01-15 Tom Tromey <tom@tromey.com>
9376
9377 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9378 compute sp_reg.
9379
cbcdb1aa
AB
93802018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9381
9382 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9383 to prepare.
9384 (prepare): Return 0 on error, 1 on success.
9385
eea61984
PA
93862018-01-12 Pedro Alves <palves@redhat.com>
9387
9388 * gdb.base/continue-after-aborted-step-over.c: New.
9389 * gdb.base/continue-after-aborted-step-over.exp: New.
9390
6181e9c2
SM
93912018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9392
9393 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9394 options when not creating an executable.
9395
3cada740
PA
93962018-01-11 Pedro Alves <palves@redhat.com>
9397
9398 PR remote/22597
9399 * gdb.server/stop-reply-no-thread.c: New file.
9400 * gdb.server/stop-reply-no-thread.exp: New file.
9401
c63d3e8d
PA
94022018-01-10 Pedro Alves <palves@redhat.com>
9403
9404 PR gdb/22670
9405 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9406 functions too. Test setting breakpoints and printing C functions
9407 with no debug info too.
9408 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9409
d4c2a405
PA
94102018-01-10 Pedro Alves <palves@redhat.com>
9411
9412 PR gdb/22670
9413 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9414 a fail.
9415
8825213e
PA
94162018-01-10 Pedro Alves <palves@redhat.com>
9417
9418 PR gdb/22670
9419 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9420
605fd3c6
YQ
94212018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9422
9423 * gdb.server/unittest.exp: Match the output in non-development
9424 mode.
9425
1e5ded6c
YQ
94262018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9427
9428 * gdb.gdb/unittest.exp: Match output in non-development mode.
9429
30066b0b
JB
94302018-01-08 Joel Brobecker <brobecker@adacore.com>
9431
9432 * gdb.ada/access_tagged_param.exp: Relax expected output
9433 for value of "ObjL" in "continue" to pck.inspect breakpoint
9434 test.
9435
04bafb1e
XR
94362018-01-08 Joel Brobecker <brobecker@adacore.com>
9437
9f86398b
JB
9438 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9439 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9440
e379cee6
PA
94412018-01-05 Pedro Alves <palves@redhat.com>
9442
9443 PR gdb/18653
9444 * gdb.base/libsegfault.exp: New.
9445
de63c46b
PA
94462018-01-05 Joel Brobecker <brobecker@adacore.com>
9447
9448 PR gdb/22670
9449 * gdb.ada/access_tagged_param.exp: New file.
9450 * gdb.ada/access_tagged_param/foo.adb: New file.
9451
f98fc17b
PA
94522018-01-05 Pedro Alves <palves@redhat.com>
9453
9454 PR gdb/22670
9455 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9456 exercise lower case too, and to exercise both full matching and
9457 wild matching.
9458
342f8240
JB
94592018-01-05 Joel Brobecker <brobecker@adacore.com>
9460
9461 * gdb.ada/rename_subscript_param: New testcase.
9462
7150d33c
JG
94632018-01-05 Jerome Guitton <guitton@adacore.com>
9464
9465 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9466
cc0e770c
JB
94672018-01-05 Joel Brobecker <brobecker@adacore.com>
9468
9469 * gdb.ada/convvar_comp: New testcase.
9470
672a41aa 94712018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9472
9473 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9474 (My_Table): New global variable.
9475 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9476
7365ec2f
JB
94772018-01-04 Joel Brobecker <brobecker@adacore.com>
9478
9479 PR gdb/22670
9480 * gdb.ada/maint_with_ada: New testcase.
9481
289483b6
JB
94822018-01-04 Joel Brobecker <brobecker@adacore.com>
9483
9484 PR gdb/22670
9485 * gdb.ada/bp_c_mixed_case: New testcase.
9486
344420da
JB
94872018-01-04 Joel Brobecker <brobecker@adacore.com>
9488
9489 PR gdb/22670
9490 * gdb.ada/complete.exp: Add "complete break ada" test.
9491
66fc87a0
JB
94922018-01-04 Joel Brobecker <brobecker@adacore.com>
9493
9494 PR gdb/22670
9495 * gdb.ada/info_addr_mixed_case: New testcase.
9496
9f757bf7
XR
94972018-01-03 Xavier Roirand <roirand@adacore.com>
9498
9499 * gdb.ada/excep_handle.exp: New testcase.
9500 * gdb.ada/excep_handle/foo.adb: New file.
9501 * gdb.ada/excep_handle/pck.ads: New file.
9502
bd570f80
JB
95032018-01-03 Joel Brobecker <brobecker@adacore.com>
9504
9505 * gdb.base/step-line.c: Add extra empty line in copyright header.
9506 * gdb.base/step-line.inp: Likewise.
9507
9fe561ab
JB
95082018-01-02 Joel Brobecker <brobecker@adacore.com>
9509
9510 * gdb.ada/dyn_stride.exp: Add slice test.
9511
a405673c
JB
95122018-01-02 Joel Brobecker <brobecker@adacore.com>
9513
9514 * gdb.ada/dyn_stride: New testcase.
9515
cef0f868
SH
95162017-12-27 Stafford Horne <shorne@gmail.com>
9517
9518 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9519 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9520
b67d92b0
SH
95212017-12-27 Stafford Horne <shorne@gmail.com>
9522
9523 * gdb.base/reggroups.c: New file.
9524 * gdb.base/reggroups.exp: New file.
9525
eccab96d
JB
95262017-12-18 Joel Brobecker <brobecker@adacore.com>
9527
9528 * gdb.dwarf2/ada-valprint-error.c: New file.
9529 * gdb.dwarf2/ada-valprint-error.exp: New file.
9530
0e2da9f0
JB
95312017-12-18 Joel Brobecker <brobecker@adacore.com>
9532
9533 * gdb.ada/assign_arr: New testcase.
9534
cb923fcc
XR
95352017-12-18 Xavier Roirand <roirand@adacore.com>
9536
9537 * gdb.ada/funcall_ptr: New testcase.
9538
7c161838
SDJ
95392017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9540
9541 PR cli/16224
9542 * gdb.base/ptype-offsets.cc: New file.
9543 * gdb.base/ptype-offsets.exp: New file.
9544
1af17fd9
YQ
95452017-12-15 Yao Qi <yao.qi@linaro.org>
9546
9547 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9548 if XML is disabled.
9549
828d5846
XR
95502017-12-15 Xavier Roirand <roirand@adacore.com>
9551
9552 * gdb.ada/same_component_name: New testcase.
9553
79e8fcaa
JB
95542017-12-14 Joel Brobecker <brobecker@adacore.com>
9555
9556 * gdb.ada/str_binop_equal: New testcase.
9557
e05fa6f9
JB
95582017-12-14 Joel Brobecker <brobecker@adacore.com>
9559
9560 * gdb.ada/task_switch_in_core: New testcase.
9561
b89641ba
SM
95622017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9563
9564 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9565 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9566 call test_bkpt_qualified.
9567 (test_bkpt_qualified): New proc.
9568
6892d2e4
PA
95692017-12-13 Pedro Alves <palves@redhat.com>
9570
9571 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9572 Tighten regexp by matching with an anchor.
9573
a22ecf70
PA
95742017-12-13 Pedro Alves <palves@redhat.com>
9575
9576 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9577 ("expression with namespace"): New set of tests.
9578 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9579 (Nested::Test_NS::qux): New.
9580 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9581 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9582
9937536c
JB
95832017-12-13 Joel Brobecker <brobecker@adacore.com>
9584
9585 * gdb.base/server-del-break.c: New file.
9586 * gdb.base/server-del-break.exp: New file.
9587
fe49c6f5
SH
95882017-12-12 Stafford Horne <shorne@gmail.com>
9589
9590 * gdb.xml/tdesc-regs.exp: Add or1k support.
9591
c3d18620
SH
95922017-12-12 Stafford Horne <shorne@gmail.com>
9593
9594 * gdb.base/bp-permanent.c: Define nop of or1k.
9595
c5f9cfc8
JB
95962017-12-11 Joel Brobecker <brobecker@adacore.com>
9597
9598 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9599 output with components being reordered.
9600
a9c135fc
JB
96012017-12-11 Joel Brobecker <brobecker@adacore.com>
9602
9603 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9604 output with components being reordered.
9605
927aa2e7
JK
96062017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9607 Pedro Alves <palves@redhat.com>
9608
9609 * gdb.base/maint.exp (check for .gdb_index): Check also for
9610 .debug_names.
9611 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9612 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9613 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9614 (.gdb_index used after symbol reloading): Support also .debug_names.
9615 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9616
f17d9474
YQ
96172017-12-08 Yao Qi <yao.qi@linaro.org>
9618
9619 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9620 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9621
a0de8c21
YQ
96222017-12-08 Yao Qi <yao.qi@linaro.org>
9623
9624 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9625 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9626
a738ea1d
YQ
96272017-12-08 Yao Qi <yao.qi@linaro.org>
9628
9629 * gdb.arch/aarch64-tagged-pointer.c: New file.
9630 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9631
1cd9a73b
SDJ
96322017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9633
9634 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9635 "int".
9636
fa6eb693
KS
96372017-12-07 Keith Seitz <keiths@redhat.com>
9638
9639 PR breakpoints/22569
9640 * gdb.linespec/ls-errs.exp: Change expected result of "break
9641 -source this file has spaces.c -line 3".
9642 Check that an explicit source file followed by whitespace is
9643 identified as an invalid explicit location.
9644
883fd55a
KS
96452017-12-07 Keith Seitz <keiths@redhat.com>
9646
9647 * gdb.cp/nested-types.cc: New file.
9648 * gdb.cp/nested-types.exp: New file.
9649 * lib/cp-support.exp: Load data-structures.exp library.
9650 (debug_cp_test_ptype_class): New global.
9651 (cp_ptype_class_verbose, next_line): New procedures.
9652 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9653 Add and document new return value.
9654 Switch the list of lines to a queue.
9655 Add support for new `type' key for nested type definitions.
9656 Add debugging/troubleshooting messages.
9657 * lib/data-structures.exp: New file.
9658
ec72db3e
SM
96592017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9660
9661 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9662 with proc_with_prefix, don't use with_test_prefix.
9663
99598d71
TT
96642017-12-07 Tom Tromey <tom@tromey.com>
9665
9666 * gdb.base/break.exp: Add test for empty "commands".
9667
a8806230
YQ
96682017-12-07 Yao Qi <yao.qi@linaro.org>
9669
9670 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9671 malloc and catch syscall.
9672
824cc835
PM
96732017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9674
e79be6e5 9675 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
9676 tests for explicit locations.
9677
7cc244de
PA
96782017-12-06 Pedro Alves <palves@redhat.com>
9679
9680 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9681 force-disabling XML descriptions.
9682
50a1fdd5
PA
96832017-12-04 Pedro Alves <palves@redhat.com>
9684
9685 PR gdb/22499
9686 * gdb.arch/amd64-disp-step-avx.S: New file.
9687 * gdb.arch/amd64-disp-step-avx.exp: New file.
9688
f0fb2488
PA
96892017-12-03 Pedro Alves <palves@redhat.com>
9690
9691 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9692 and <string.h>.
9693 (parent_function): Print distinct messages when waitpid fails, or
9694 the child exits with a signal, or the child exits for an unhandled
9695 reason.
9696 * gdb.threads/process-dies-while-detaching.exp
9697 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9698 it. Wait for both inferior output and GDB's prompt. Use an
9699 indirect spawn id list.
9700 (do_detach): New parameter 'child_exit'. Use it to compute
9701 expected inferior output.
9702 (test_detach, test_detach_watch, test_detach_killed_outside):
9703 Adjust to pass down the expected child exit kind.
9704
97cbe998
SDJ
97052017-12-01 Joel Brobecker <brobecker@adacore.com>
9706 Sergio Durigan Junior <sergiodj@redhat.com>
9707 Pedro Alves <palves@redhat.com>
9708
9709 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9710
40fc416f
SDJ
97112017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9712
9713 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9714 to 'symbol-file' and 'add-symbol-file' can be
9715 position-independent.
9716
1cc75e92
YQ
97172017-12-01 Yao Qi <yao.qi@linaro.org>
9718
9719 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9720 the URL in copyright header.
9721 * gdb.arch/aarch64-fp.exp: Likewise.
9722 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9723 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9724 * gdb.base/expand-psymtabs.exp: Likewise.
9725 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9726 * gdb.fortran/common-block.exp: Likewise.
9727 * gdb.fortran/common-block.f90: Likewise.
9728 * gdb.fortran/logical.exp: Likewise.
9729 * gdb.fortran/vla-datatypes.f90: Likewise.
9730 * gdb.fortran/vla-sub.f90: Likewise.
9731
875fb7a7
JB
97322017-11-30 Joel Brobecker <brobecker@adacore.com>
9733
9734 * gdb.ada/repeat_dyn: New testcase.
9735
6f14765f
UW
97362017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9737
9738 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9739 Update for changed thread numbering.
9740 * gdb.cell/bt.exp: Update for changed GDB output.
9741
f1af7b94
SM
97422017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9743
9744 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9745 setting isremote by hand.
9746 * boards/dwarf4-gdb-index.exp: Likewise.
9747 * boards/fission.exp: Likewise.
9748 * boards/stabs.exp: Likewise.
9749
e3919f3e
PA
97502017-11-30 Pedro Alves <palves@redhat.com>
9751
9752 * gdb.linespec/cpls-ops.exp
9753 (check_explicit_skips_function_argument): Extract the underlying
9754 type of size_t instead of hardcoding it.
9755
bd69330d
PA
97562017-11-29 Pedro Alves <palves@redhat.com>
9757
9758 PR c++/19436
9759 * gdb.linespec/cpls-abi-tag.cc: New file.
9760 * gdb.linespec/cpls-abi-tag.exp: New file.
9761
a20714ff
PA
97622017-11-29 Pedro Alves <palves@redhat.com>
9763
9764 * gdb.base/langs.exp: Use -qualified.
9765 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9766 it.
9767 * gdb.cp/namespace.exp: Use -qualified.
9768 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9769 (overload-3, template-overload, template-ret-type, const-overload)
9770 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9771 procedures.
9772 (test_driver): Call them.
9773 * gdb.cp/save-bp-qualified.cc: New.
9774 * gdb.cp/save-bp-qualified.exp: New.
9775 * gdb.linespec/explicit.exp: Test -qualified.
9776 * lib/completion-support.exp (completion::explicit_opts_list): Add
9777 "-qualified".
9778 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9779
f6f1d339
PM
97802017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9781
9782 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9783
02ca603a
TT
97842017-11-29 Tom Tromey <tom@tromey.com>
9785
9786 * gdb.base/relocate.exp: Update invalid argument test.
9787 Add new tests for invalid arguments.
9788
ed6c0bfb
TP
97892017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9790
9791 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9792 Return 0 as a long.
9793 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9794
f106e10e
TP
97952017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9796
9797 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9798 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9799 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9800 func ().
9801 * gdb.cp/shadow.cc (B.func): Return 0.
9802
10329bb2
JB
98032017-11-27 Joel Brobecker <brobecker@adacore.com>
9804
9805 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9806 expected output in gdb_expect call to allow the exception
9807 message to be present as well. Fix syntax confusion to avoid
9808 TCL thinking that exception_name is an array.
9809
617cd4bc
UW
98102017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9811
9812 * gdb.arch/spu-info.c: Include <unistd.h>.
9813 (do_signal_test): Fix broken calls to write.
9814 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9815 Fix checks for empty mailboxes. Update signal tests for corrected
9816 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9817 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9818 * gdb.cell/arch.exp: Use standard_output_file.
9819 * gdb.cell/break.exp: Likewise.
9820 * gdb.cell/bt.exp: Likewise.
9821 * gdb.cell/core.exp: Likewise.
9822 * gdb.cell/dwarfaddr.exp: Likewise.
9823 * gdb.cell/ea-cache.exp: Likewise.
9824 * gdb.cell/ea-standalone.exp: Likewise.
9825 * gdb.cell/f-regs.exp: Likewise.
9826 * gdb.cell/fork.exp: Likewise.
9827 * gdb.cell/gcore.exp: Likewise.
9828 * gdb.cell/mem-access.exp: Likewise.
9829 * gdb.cell/ptype.exp: Likewise.
9830 * gdb.cell/registers.exp: Likewise.
9831 * gdb.cell/sizeof.exp: Likewise.
9832 * gdb.cell/solib-symbol.exp: Likewise.
9833 * gdb.cell/solib.exp: Likewise.
617cd4bc 9834
a81aaca0
PA
98352017-11-25 Pedro Alves <palves@redhat.com>
9836
9837 * gdb.base/complete-empty.exp: New file.
9838 * gdb.base/completion.exp: Adjust.
9839
6a3c6ee4
PA
98402017-11-25 Pedro Alves <palves@redhat.com>
9841
9842 * gdb.linespec/cpls-ops.cc: New file.
9843 * gdb.linespec/cpls-ops.exp: New file.
9844 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9845 factored out from ...
9846 (test_complete_prefix_range): ... this.
9847
8955eb2d
PA
98482017-11-24 Pedro Alves <palves@redhat.com>
9849
9850 * gdb.linespec/cpcompletion.exp: New file.
9851 * gdb.linespec/cpls-hyphen.cc: New file.
9852 * gdb.linespec/cpls.cc: New file.
9853 * gdb.linespec/cpls2.cc: New file.
9854 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9855 test to use test_gdb_complete_unique. Add label completion,
9856 keyword completion and explicit location completion tests.
9857 * lib/completion-support.exp: New file.
9858
e547c119
JB
98592017-11-24 Joel Brobecker <brobecker@adacore.com>
9860
9861 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9862 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9863 when hitting an exception catchpoint.
9864
7c3c1aa8
YQ
98652017-11-22 Yao Qi <yao.qi@linaro.org>
9866
9867 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9868
41bd68f5
SM
98692017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9870
9871 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9872 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9873 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9874
1daad298
YQ
98752017-11-22 Yao Qi <yao.qi@linaro.org>
9876
9877 * gdb.base/info-os.exp: Pass pthreads.
9878 * gdb.multi/multi-attach.exp: Likewise.
9879
88465e87
YQ
98802017-11-22 Yao Qi <yao.qi@linaro.org>
9881
9882 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9883 compiler.
9884
dc196b23
YQ
98852017-11-22 Yao Qi <yao.qi@linaro.org>
9886
9887 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9888 * gdb.base/break-interp.exp: Likewise.
9889 * gdb.base/jit-attach-pie.exp: Likewise.
9890
2400729e
UW
98912017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9892
9893 * gdb.base/float128.c (large128): New variable.
9894 * gdb.base/float128.exp: Add test to print largest __float128 value.
9895
7a26362d
UW
98962017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9897
9898 * gdb.arch/vsx-regs.exp: Update register content checks.
9899
ed0f4273
UW
99002017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9901
9902 * gdb.arch/ppc-longdouble.exp: New file.
9903 * gdb.arch/ppc-longdouble.c: Likewise.
9904
a25d69c6
PA
99052017-11-21 Pedro Alves <palves@redhat.com>
9906
9907 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9908
73fcf641
PA
99092017-11-20 Pedro Alves <palves@redhat.com>
9910
9911 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9912 (long_double_typedef): New typedefs.
9913 Use DEF on double and long double.
9914 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9915 cases.
9916 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9917 and 'long_double_ptr_same_size' locals. Use them to decide
9918 whether cast from array/function to float is valid/invalid.
9919
71a3c369
TT
99202017-11-17 Tom Tromey <tom@tromey.com>
9921
9922 * gdb.rust/traits.rs: New file.
9923 * gdb.rust/traits.exp: New file.
9924
ced9779b
JB
99252017-11-17 Joel Brobecker <brobecker@adacore.com>
9926
9927 * gdb.ada/minsyms: New testcase.
9928
a0922d80
PA
99292017-11-16 Pedro Alves <palves@redhat.com>
9930
9931 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9932 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9933
ea04e54c
PA
99342017-11-16 Pedro Alves <palves@redhat.com>
9935
9936 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9937 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9938
e849ea89
PA
99392017-11-16 Pedro Alves <palves@redhat.com>
9940
9941 * gdb.server/reconnect-ctrl-c.c: New file.
9942 * gdb.server/reconnect-ctrl-c.exp: New file.
9943
d8ae99a7
PM
99442017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9945
9946 * gdb.python/py-rbreak.exp: New file.
9947 * gdb.python/py-rbreak.c: New file.
9948 * gdb.python/py-rbreak-func2.c: New file.
9949
968a13f8
PA
99502017-11-16 Pedro Alves <palves@redhat.com>
9951
9952 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9953 pattern.
9954 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9955 GDB.
9956
71774bc9
SM
99572017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9958
9959 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9960 regex.
9961
ddbb44cf
SM
99622017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9963
9964 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9965 test names.
9966
584a564f
PA
99672017-11-09 Pedro Alves <palves@redhat.com>
9968
9969 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9970 factored out from ...
9971 (top level): ... here, and adjusted to avoid expecting beyond the
9972 prompt in a single gdb_test_multiple.
9973
5ed7a928
PA
99742017-11-09 Pedro Alves <palves@redhat.com>
9975
9976 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9977 output.
9978 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9979 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9980 * gdb.server/ext-run.exp ("kill" test): Likewise.
9981 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9982
a60e0738
PA
99832017-11-09 Pedro Alves <palves@redhat.com>
9984
9985 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9986 match till end of line.
9987
2c88253f
PA
99882017-11-09 Pedro Alves <palves@redhat.com>
9989
9990 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9991
c7a38517
PA
99922017-11-09 Pedro Alves <palves@redhat.com>
9993
9994 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9995 New procedures, factored out from ...
9996 (top level): ... here, and adjusted to avoid expecting beyond the
9997 prompt in one go.
9998
f29f4b6b
PA
99992017-11-09 Pedro Alves <palves@redhat.com>
10000
10001 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10002 output. Fix '?' match.
10003
286acbb5
JB
100042017-11-08 Joel Brobecker <brobecker@adacore.com>
10005
10006 * gdb.ada/scoped_watch: New testcase.
10007 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10008 which is actually correct.
10009 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10010 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10011
62d7ae92
PA
100122017-11-08 Pedro Alves <palves@redhat.com>
10013
10014 * gdb.gdb/complaints.exp (test_initial_complaints)
10015 (test_serial_complaints, test_short_complaints): Call
10016 complaint_internal instead of complaint.
10017
280ca31f
DT
100182017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10019
10020 * gdb.threads/tls-core.c: New file.
10021 * gdb.threads/tls-core.exp: Likewise.
10022
b5ec771e
PA
100232017-11-08 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10026 (p Exported_Capitalized): New test.
10027 (p exported_capitalized): New test.
10028
a02b41a7
PA
100292017-11-07 Pedro Alves <palves@redhat.com>
10030
10031 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10032
95e95a6d
PA
100332017-11-07 Pedro Alves <palves@redhat.com>
10034
10035 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10036 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10037 (disable_invalid, disable_inverted, disable_negative): New
10038 procedures.
10039 ("bad numbers"): New set of tests.
10040
cee62dbd
PA
100412017-11-07 Pedro Alves <palves@redhat.com>
10042
10043 * gdb.cp/ena-dis-br-range.exp: Add tests.
10044
cc638e86
PA
100452017-11-07 Pedro Alves <palves@redhat.com>
10046
10047 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10048
d0fe4701
XR
100492017-11-07 Xavier Roirand <roirand@adacore.com>
10050 Pedro Alves <palves@redhat.com>
10051
10052 * gdb.base/ena-dis-br.exp: Add reference to
10053 gdb.cp/ena-dis-br-range.exp.
10054 * gdb.cp/ena-dis-br-range.exp: New file.
10055 * gdb.cp/ena-dis-br-range.cc: New file.
10056
46f67f80
PA
100572017-11-06 Pedro Alves <palves@redhat.com>
10058
10059 * gdb.base/attach-non-pgrp-leader.c: New.
10060 * gdb.base/attach-non-pgrp-leader.exp: New.
10061
726e1356
PA
100622017-11-06 Pedro Alves <palves@redhat.com>
10063
10064 * configure.ac: No longer check for termio.h and sgtty.h.
10065 * configure: Regenerate.
10066 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10067 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10068 Remove termio and sgtty code.
10069
50ab6ace
YQ
100702017-11-03 Yao Qi <yao.qi@linaro.org>
10071
10072 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10073 in GDB is disabled.
10074
8e68731c
YQ
100752017-11-03 Yao Qi <yao.qi@linaro.org>
10076
10077 * gdb.python/py-thrhandle.exp: Skip it if python is not
10078 enabled.
10079
3a87ae65
SM
100802017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10081
10082 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10083 as a breakpoint command.
10084
484d8d36
MD
100852017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10086
10087 PR python/21213
10088 * gdb.python/py-infthread.exp: Test calling
10089 InferiorThread.inferior () multiple times in a row.
10090
4a27f119
KS
100912017-10-27 Keith Seitz <keiths@redhat.com>
10092
10093 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10094 Test "info break" for every inlined function breakpoint.
10095
bb11dd58
YQ
100962017-10-27 Yao Qi <yao.qi@linaro.org>
10097
10098 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10099
a43f3893
PF
101002017-10-26 Patrick Frants <osscontribute@gmail.com>
10101
10102 * gdb.cp/classes.exp (test_static_members): Test printing
10103 Outer::instance.
10104 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10105 (Inner::instance, Outer::instance): New.
10106
792ccf00
PA
101072017-10-24 Pedro Alves <palves@redhat.com>
10108
10109 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10110 extra console" test in two stages.
10111
eb2bfbad
PA
101122017-10-24 Pedro Alves <palves@redhat.com>
10113
10114 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10115
1f75a651
PA
101162017-10-24 Pedro Alves <palves@redhat.com>
10117
10118 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10119 loop.
10120
779990d9
PA
101212017-10-24 Pedro Alves <palves@redhat.com>
10122
10123 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10124 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10125
ad9b8f5d
PA
101262017-10-24 Pedro Alves <palves@redhat.com>
10127
10128 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10129 parameter and handle it. Don't output read value in test name.
10130
fee6da6e
PA
101312017-10-24 Pedro Alves <palves@redhat.com>
10132
10133 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10134 custom test name.
10135
10389c2c
PA
101362017-10-24 Pedro Alves <palves@redhat.com>
10137
10138 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10139 include the unstable output directory name in the test's name.
10140 (initial_setup_simple) <'set args'>: Use custom test name.
10141
a80e65a9
PA
101422017-10-24 Pedro Alves <palves@redhat.com>
10143
10144 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10145 with explicit test name.
10146
15763a09
PA
101472017-10-20 Pedro Alves <palves@redhat.com>
10148
10149 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10150 'wait -i'. Use gdb_assert and remote_close.
10151
49a4ce2e
AB
101522017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10153
10154 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10155 number from variable rather than hard-coded.
10156
a75868f5
PA
101572017-10-19 Pedro Alves <palves@redhat.com>
10158
10159 * gdb.base/long-inferior-output.c: New file.
10160 * gdb.base/long-inferior-output.exp: New file.
10161
c8ba13ad
KS
101622017-11-18 Keith Seitz <keiths@redhat.com>
10163
10164 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10165 method.
10166 (main): Call it.
10167 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10168 Add additional user-defined conversion operator tests.
10169
b27de576
PA
101702017-10-17 Pedro Alves <palves@redhat.com>
10171
10172 * boards/native-stdio-gdbserver.exp: Load "local-board".
10173
8484c955
PA
101742017-10-17 Pedro Alves <palves@redhat.com>
10175
10176 * gdb.base/quit-live.c: New file.
10177 * gdb.base/quit-live.exp: New file.
10178
83d5a34d
KS
101792017-10-16 Keith Seitz <keiths@redhat.com>
10180
10181 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10182 (class_with_protected_typedef, class_with_private_typedef)
10183 (struct_with_public_typedef, struct_with_protected_typedef)
10184 (struct_with_private_typedef): New classes/structs.
10185 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10186 typedefs and access specifiers.
10187
739b3f1d
PA
101882017-10-16 Pedro Alves <palves@redhat.com>
10189 Simon Marchi <simon.marchi@polymtl.ca>
10190
10191 * README (Local vs Remote vs Native): New section.
10192 * boards/local-board.exp: New file, with bits factored out from
10193 ...
10194 * boards/native-extended-gdbserver.exp: ... here. Load
10195 "local-board".
10196 * boards/native-gdbserver.exp: Load "local-board".
10197 (${board}_spawn, ${board}_exec): Delete.
10198 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10199 ...
10200 * boards/stdio-gdbserver-base.exp: ... this new file.
10201 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10202 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10203 procedure.
10204 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10205 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10206 stdio_gdbserver_command.
10207 (${board}_get_remote_address, ${board}_get_comm_port)
10208 (${board}_download, ${board}_upload): Delete.
10209 (get_target_remote_pipe_cmd): New.
10210
fe68b953
SM
102112017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10212
10213 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10214 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10215 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10216 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10217 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10218 remove with_test_prefix.
10219
300b6685
PA
102202017-10-13 Pedro Alves <palves@redhat.com>
10221
10222 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10223 * gdb.base/annota1.exp: Use it instead of is_remote.
10224 * gdb.base/annota3.exp: Use it instead of is_remote.
10225 * gdb.cp/annota2.exp: Use it instead of is_remote.
10226 * gdb.cp/annota3.exp: Use it instead of is_remote.
10227 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10228
50500caf
PA
102292017-10-13 Pedro Alves <palves@redhat.com>
10230
10231 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10232 (test_num_test_vars, run_and_count_vars, find_env)
10233 (test_set_unset_env, test_inherit_env_var): New procedures.
10234 (top level): Use them.
10235
dad0c6d2
PA
102362017-10-13 Pedro Alves <palves@redhat.com>
10237
10238 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10239 also skip on stub-like targets.
10240
8b0553c1
PA
102412017-10-13 Pedro Alves <palves@redhat.com>
10242
10243 PR gdb/22293
10244 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10245 (top level): Move some tests to ...
10246 (test_not_found): ... this new procedure.
10247 (top level): Call it.
10248
7594f623
PA
102492017-10-13 Pedro Alves <palves@redhat.com>
10250
10251 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
10252 expect different "info terminal" output if testing with a
10253 non-native target.
10254
ebe3b402
PA
102552017-10-13 Pedro Alves <palves@redhat.com>
10256 Simon Marchi <simon.marchi@polymtl.ca>
10257
10258 PR python/12966
10259 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10260
42f1b161
PA
102612017-10-13 Pedro Alves <palves@redhat.com>
10262
10263 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10264 already.
10265
8d6ef72b
PA
102662017-10-13 Pedro Alves <palves@redhat.com>
10267
10268 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10269 is_remote.
10270
d7bcd5b8
PA
102712017-10-13 Pedro Alves <palves@redhat.com>
10272
10273 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10274 is_remote.
10275
df479dc6
PA
102762017-10-13 Pedro Alves <palves@redhat.com>
10277
10278 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10279 is set.
10280 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10281 instead of is_remote.
10282
23fb630a
PA
102832017-10-13 Pedro Alves <palves@redhat.com>
10284
10285 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10286 (top level): Add comment.
10287
cc77b1dc
PA
102882017-10-13 Pedro Alves <palves@redhat.com>
10289
10290 * gdb.base/remote.exp (top level): Fix comment typo and add
10291 missing return.
10292
27c9e813
PA
102932017-10-13 Pedro Alves <palves@redhat.com>
10294 Simon Marchi <simon.marchi@polymtl.ca>
10295
10296 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10297 calls and add comments. Skip test if use_gdb_stub is set.
10298 (top level): Use "set cwd" command instead of "cd" command.
10299
5e830d98
PA
103002017-10-13 Pedro Alves <palves@redhat.com>
10301
10302 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10303 is_remote target check.
10304
f5ca0032
PA
103052017-10-13 Pedro Alves <palves@redhat.com>
10306
10307 * gdb.base/scope.exp: Use build_executable + clean_restart +
10308 gdb_file_cmd instead of prepare_for_testing and no longer skip
10309 "before run" tests on is_remote target boards. Update comments.
10310 * boards/native-extended-gdbserver.exp
10311 (extended_gdbserver_load_last_file): New, factored out from ...
10312 (gdb_load): ... this. Move further below and add comment.
10313 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10314
8aed1c0d
PA
103152017-10-12 Pedro Alves <palves@redhat.com>
10316
10317 * gdb.base/attach.exp: Remove references to gdb64.
10318 * gdb.base/dbx.exp: Remove references to gdb64.
10319
cfa34c87
SM
103202017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10321 Pedro Alves <palves@redhat.com>
10322
10323 * gdb.base/label.exp: Remove is_remote target check.
10324
9192b7de
PA
103252017-10-12 Pedro Alves <palves@redhat.com>
10326
10327 * gdb.base/auvx.exp (coredir): Update comment.
10328 (top level) <core_works>: Use "set cwd" command instead of "cd"
10329 command.
10330
6bf0052d
PA
103312017-10-12 Pedro Alves <palves@redhat.com>
10332 Simon Marchi <simon.marchi@polymtl.ca>
10333
10334 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10335 target boards.
10336
e48ef82d
PA
103372017-10-12 Pedro Alves <palves@redhat.com>
10338 Simon Marchi <simon.marchi@polymtl.ca>
10339
10340 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10341 Instead skip if there's any gdb_protocol set.
10342
8d7aea57
SM
103432017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10344 Pedro Alves <palves@redhat.com>
10345
10346 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10347
30440677
PA
103482017-10-12 Pedro Alves <palves@redhat.com>
10349 Simon Marchi <simon.marchi@polymtl.ca>
10350
10351 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10352 instead of on dejagnu remote boards.
10353
4e04f045 103542017-10-12 Pedro Alves <palves@redhat.com>
175654b9 10355 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
10356
10357 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10358 checks. Use build_executable + clean_restart instead of
10359 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10360 of enabling non-stop after starting gdb.
10361
871a186e
PA
103622017-10-12 Pedro Alves <palves@redhat.com>
10363
10364 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10365 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10366 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10367 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10368
56d704da
AK
103692017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10370
10371 * gdb.arch/arc-tdesc-cpu.exp: New file.
10372 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10373
2f20e312
SM
103742017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10375
10376 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10377
65630365
PA
103782017-10-10 Pedro Alves <palves@redhat.com>
10379
10380 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10381 expect CLI output.
10382
bf469271
PA
103832017-10-10 Pedro Alves <palves@redhat.com>
10384
10385 * lib/selftest-support.exp (selftest_setup): Update for
10386 captured_command_loop's prototype change.
10387
777a42f1
PA
103882017-10-09 Pedro Alves <palves@redhat.com>
10389
10390 Test both arch1=>arch2 and arch2=>arch1.
10391
10392 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10393 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10394 factored out to...
10395 (append_arch1_options, append_arch2_options, append_arch_options)
10396 (build_executables): New procedures.
10397 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10398 local.
10399 (top level): Add new 'first_arch' testing axis.
10400
cbd2b4e3
PA
104012017-10-09 Pedro Alves <palves@redhat.com>
10402
10403 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10404 (barrier): New.
10405 (thread_start, all_started): New functions.
10406 (main): Spawn new thread and wait until it is scheduled.
10407 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10408 option.
10409 (do_test): Add 'selected_thread' parameter. Run to all_started
10410 instead of main. Explicitly set the breakpoint at main. Switch
10411 to the SELECTED_THREAD thread.
10412 (top level): Test handling the exec event with either the main
10413 thread or the second thread selected.
10414
5c9e4427
PA
104152017-10-09 Pedro Alves <palves@redhat.com>
10416
10417 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10418 logic. Move STOP marker after the value checks.
10419 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10420 regexp.
10421
b3b7c423
SL
104222017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10423
10424 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10425
3b4b2f16
UW
104262017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10427
10428 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10429 integer-to-dfp conversion.
10430 * gdb.base/dfp-test.exp: Likewise.
10431
5cd63fda
PA
104322017-10-04 Pedro Alves <palves@redhat.com>
10433
10434 * gdb.multi/hangout.c: Include <unistd.h>.
10435 (hangout_loop): New function.
10436 (main): Call alarm. Call hangout_loop in a loop.
10437 * gdb.multi/hello.c: Include <unistd.h>.
10438 (hello_loop): New function.
10439 (main): Call alarm. Call hangout_loop in a loop.
10440 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10441 inferior with the other selected.
10442
4c71c105
SM
104432017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10444
10445 * gdb.mi/list-thread-groups-available.exp: New file.
10446 * gdb.mi/list-thread-groups-available.c: New file.
10447
bc3b087d
SDJ
104482017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10449
10450 * gdb.base/set-cwd.exp: Make it available on
10451 native-extended-gdbserver.
10452
d092c5a2
SDJ
104532017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10454
10455 * gdb.base/set-cwd.c: New file.
10456 * gdb.base/set-cwd.exp: Likewise.
10457
45320ffa
TT
104582017-10-02 Tom Tromey <tom@tromey.com>
10459
10460 PR rust/22236:
10461 * gdb.rust/simple.rs (main): New variable "fslice".
10462 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10463
b3e3859b
TT
104642017-10-02 Tom Tromey <tom@tromey.com>
10465
10466 * gdb.rust/simple.exp: Test ptype of a slice.
10467
01af5e0d
TT
104682017-10-02 Tom Tromey <tom@tromey.com>
10469
10470 * gdb.rust/simple.exp: Test index of slice.
10471
a9bbfbd8
TT
104722017-09-27 Tom Tromey <tom@tromey.com>
10473
10474 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10475
df8899e5
TP
104762017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10477 Pedro Alves <palves@redhat.com>
10478
10479 * gdb.base/compare-sections.exp (get value of read-only section): Read
10480 as unsigned value.
10481 (corrupt read-only section): Likewise and don't set written if patching
10482 failed.
10483
757bf54b
KB
104842017-09-21 Kevin Buettner <kevinb@redhat.com>
10485
10486 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10487 files.
10488
06871ae8
PA
104892017-09-20 Pedro Alves <palves@redhat.com>
10490
10491 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10492 symbol names in gdb's output.
10493 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10494
e5f25bc5
PA
104952017-09-20 Pedro Alves <palves@redhat.com>
10496
10497 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10498 Rename to ...
10499 (test_list_ambiguous_symbol): ... this and add a symbol name
10500 parameter. Adjust.
10501 (test_list_ambiguous_function): Reimplement on top of
10502 test_list_ambiguous_symbol and also test listing ambiguous
10503 variables.
10504 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10505 (ambiguous_fun): ... this.
10506 (ambiguous_var): New.
10507 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10508 (ambiguous_fun): ... this.
10509 (ambiguous_var): New.
10510
4e5a4f58
JB
105112017-09-19 John Baldwin <jhb@FreeBSD.org>
10512
10513 * gdb.base/starti.c: New file.
10514 * gdb.base/starti.exp: New file.
10515 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10516
26e53f3e
PA
105172017-09-14 Pedro Alves <palves@redhat.com>
10518
10519 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10520 (top level): Use it instead of runto.
10521
cb791d59
TT
105222017-09-11 Tom Tromey <tom@tromey.com>
10523
10524 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10525
7c96f8c1
TT
105262017-09-11 Tom Tromey <tom@tromey.com>
10527
10528 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10529 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10530
469412dd
CW
105312017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10532
10533 * gdb.fortran/printing-types.exp: New file.
10534 * gdb.fortran/printing-types.exp: New file.
10535
e0f86435
BH
105362017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10537
10538 * gdb.fortran/vla-ptype.exp: Fix typos.
10539 * gdb.fortran/vla-value.exp: Same.
10540
9e9af4be
BH
105412017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10542
10543 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10544 * gdb.mi/mi-var-child-f.exp: Likewise.
10545 * gdb.mi/mi-vla-fortran.exp: Likewise.
10546
a5ad232b 105472017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10548 Christoph Weinmann <christoph.t.weinmann@intel.com>
10549 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10550
10551 * gdb.fortran/ptr-indentation.f90: New file.
10552 * gdb.fortran/ptr-indentation.exp: New file.
10553
5aec60eb
TT
105542017-09-05 Tom Tromey <tom@tromey.com>
10555
10556 PR gdb/22010:
10557 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10558
8f8f8152
TP
105592017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10560
10561 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10562
fbd1b771
JK
105632017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10564
10565 * gdb.threads/tls-nodebug-pie.c: New file.
10566 * gdb.threads/tls-nodebug-pie.exp: New file.
10567
5eb5f850
TT
105682017-09-05 Tom Tromey <tom@tromey.com>
10569
10570 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10571 for rust.
10572
ae780a21
SM
105732017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10574
10575 * gdb.multi/multi-arch-exec.exp: Test with different
10576 "follow-exec-mode" settings.
10577 (do_test): New procedure.
10578
3693fdb3
PA
105792017-09-04 Pedro Alves <palves@redhat.com>
10580
10581 * gdb.base/func-static.c (S::method const, S::method volatile)
10582 (S::method volatile const): New methods.
10583 (c_s, v_s, cv_s): New instances.
10584 (main): Call method() on them.
10585 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10586 (cannot_resolve): New procedure.
10587 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10588 print-quote-unquoted columns.
10589 (do_test): Test printing each scope too.
10590
e68cb8e0
PA
105912017-09-04 Pedro Alves <palves@redhat.com>
10592
10593 * gdb.base/local-static.exp: Also test with
10594 class::method::variable wholly quoted.
10595 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10596
858be34c
PA
105972017-09-04 Pedro Alves <palves@redhat.com>
10598
10599 * gdb.base/local-static.c: New.
10600 * gdb.base/local-static.cc: New.
10601 * gdb.base/local-static.exp: New.
10602
46a4882b
PA
106032017-09-04 Pedro Alves <palves@redhat.com>
10604
10605 * gdb.asm/asm-source.exp: Add casts to int.
10606 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10607 (dataglobal64_1, dataglobal64_2): New globals.
10608 * gdb.base/nodebug.exp: Test different expressions involving the
10609 new globals, with print, whatis and ptype. Add casts to int.
10610 * gdb.base/solib-display.exp: Add casts to int.
10611 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10612 * gdb.cp/m-static.exp: Add cast to int.
10613 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10614 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10615 tls variable with no debug info without a cast. Test with a cast
10616 to int too.
10617 * gdb.trace/entry-values.exp: Add casts.
10618
2c5a2be1
PA
106192017-09-04 Pedro Alves <palves@redhat.com>
10620
10621 * gdb.base/nodebug.exp: Test that ptype's error about functions
10622 with unknown return type includes the function name too.
10623
7022349d
PA
106242017-09-04 Pedro Alves <palves@redhat.com>
10625
10626 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10627 return type of munmap in infcall.
10628 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10629 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10630 type of ftell in infcall.
10631 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10632 type of getpid in infcall.
10633 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10634 infcall.
10635 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10636 Bail on failure to extract the pid.
10637 * gdb.base/nodebug.c: #include <stdint.h>.
10638 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10639 New functions.
10640 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10641 Change expected output of print/whatis/ptype with functions with
10642 no debug info. Test all supported languages. Call
10643 test_call_promotion.
10644 * gdb.compile/compile.exp: Adjust expected output to expect
10645 warning.
10646 * gdb.threads/siginfo-threads.exp: Likewise.
10647
54990598
PA
106482017-09-04 Pedro Alves <palves@redhat.com>
10649
10650 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10651 "prototypes". Test calling float functions via prototyped and
10652 unprototyped function pointers.
10653 (perform_all_tests): New parameter "prototypes". Pass it down.
10654 (top level): Pass down "prototypes" parameter to
10655 perform_all_tests.
10656
34d16ea2
SM
106572017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10658
10659 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10660 Test with nested loops.
10661
9521ecda
SM
106622017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10663
10664 * gdb.base/commands.exp: Call the new procedures.
10665 (loop_break_test, loop_continue_test): New procedures.
10666
80a65e9b
SM
106672017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10668
10669 * gdb.base/commands.exp: Call new procedure.
10670 (define_if_without_arg_test): New procedure.
10671
e439fa14
PA
106722017-09-04 Pedro Alves <palves@redhat.com>
10673
10674 * gdb.base/list-ambiguous.exp: New file.
10675 * gdb.base/list-ambiguous0.c: New file.
10676 * gdb.base/list-ambiguous1.c: New file.
10677 * gdb.base/list.exp (test_list_range): Adjust expected output.
10678
0a2dde4a
SDJ
106792017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10680
10681 * gdb.base/share-env-with-gdbserver.c: New file.
10682 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10683
5e89eb3a
SM
106842017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10685
10686 * gdb.base/commands.exp (gdbvar_simple_if_test,
10687 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10688 progvar_simple_if_test, progvar_simple_while_test,
10689 progvar_complex_if_while_test, user_defined_command_test,
10690 user_defined_command_args_eval,
10691 user_defined_command_args_stack_test,
10692 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10693 temporary_breakpoint_commands,
10694 gdb_test_no_prompt, redefine_hook_test,
10695 redefine_backtrace_test): Remove "global gdb_prompt".
10696
fd437cbc
SM
106972017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10698
10699 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10700 New proc, call it from toplevel.
10701
87215ad1
SDJ
107022017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10703
10704 PR remote/21852
10705 * gdb.server/normal.c: New file, copied from gdb.base.
10706 * gdb.server/run-without-local-binary.exp: New file.
10707
58afddc6
WP
107082017-08-07 Weimin Pan <weimin.pan@oracle.com>
10709
10710 * gdb.arch/sparc64-adi.exp: New file.
10711 * gdb.arch/sparc64-adi.c: New file.
10712
5277199a
PA
107132017-08-22 Pedro Alves <palves@redhat.com>
10714
10715 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10716 (top level): Add "list all overloads" tests.
10717
14278e1f
TT
107182017-08-22 Tom Tromey <tom@tromey.com>
10719
10720 * gdb.gdb/xfullpath.exp: Remove.
10721
bf223d3e
PA
107222017-08-21 Pedro Alves <palves@redhat.com>
10723
10724 PR gdb/19487
10725 * gdb.base/symbol-alias.c: New.
10726 * gdb.base/symbol-alias2.c: New.
10727 * gdb.base/symbol-alias.exp: New.
10728
c973d0aa
PA
107292017-08-21 Pedro Alves <palves@redhat.com>
10730
10731 * gdb.base/dfp-test.c
10732 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10733 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10734 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10735 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10736 * gdb.base/whatis-ptype-typedefs.c: New.
10737 * gdb.base/whatis-ptype-typedefs.exp: New.
10738 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10739 (an_int, an_int_type, an_int_type2): New globals.
10740 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10741 involving typedefs and cast expressions.
10742 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10743 (lookup_typedefs_function): New.
10744 (typedefs_pretty_printers_dict): New.
10745 (top level): Register lookup_typedefs_function in
10746 gdb.pretty_printers.
10747
6d580b63
YQ
107482017-08-18 Yao Qi <yao.qi@linaro.org>
10749
10750 * gdb.server/unittest.exp: New.
10751
206726fb
SDJ
107522017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10753
10754 PR gdb/21954
10755 * gdb.base/environ.exp: Add test to check if 'unset environment'
10756 works.
10757
bf0ec4c2
AA
107582017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10759
10760 * lib/gdb.exp (universal_compile_options): New caching proc.
10761 (gdb_compile): Suppress GCC's coloring of messages.
10762
d6382fff
TT
107632017-08-14 Tom Tromey <tom@tromey.com>
10764
10765 PR gdb/21675:
10766 * gdb.base/printcmds.exp (test_radices): New function.
10767 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10768 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10769 * lib/gdb.exp (get_integer_valueof): Use p/d.
10770
c2c2dd9f
SM
107712017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10772
10773 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10774 characters.
10775
fdffd6f4
TT
107762017-08-05 Tom Tromey <tom@tromey.com>
10777
10778 * gdb.rust/simple.exp: Allow String to appear in a different
10779 namespace.
10780
27d41eac
YQ
107812017-07-26 Yao Qi <yao.qi@linaro.org>
10782
10783 * gdb.gdb/unittest.exp: Invoke command
10784 "maintenance check xml-descriptions".
10785
031ed05d
AA
107862017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10787
10788 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10789 calling context.
10790 (hex128): Drop erroneous calculation of parameters.
10791
dcd27ddf
SM
107922017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10793
10794 * gdb.python/py-unwind.exp: Disable stack protection when
10795 building test file.
10796
47e77640
PA
107972017-07-20 Pedro Alves <palves@redhat.com>
10798
10799 * gdb.base/default.exp (set language): Adjust expected output.
10800
62d2a18a
PA
108012017-07-20 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10804 (test_minsym): ... this, and make static.
10805 (get_pck__foo__bar__minsym): Rename to ...
10806 (get_test_minsym): ... this.
10807 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10808 symbol names and comments.
10809 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10810 (get_test_minsym): ... this.
10811 (pck__foo__bar__minsym__2): Rename to ...
10812 (test_minsym): ... this.
10813 (main): Adjust.
10814
c45ec17c
PA
108152017-07-17 Pedro Alves <palves@redhat.com>
10816
10817 * gdb.base/completion.exp: Adjust expected output.
10818 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10819 the completer works.
10820
c6756f62
PA
108212017-07-17 Pedro Alves <palves@redhat.com>
10822
10823 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10824
5bd68487
AB
108252017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10826
10827 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10828
8880f2a9
TT
108292017-07-14 Tom Tromey <tom@tromey.com>
10830
10831 PR rust/21764:
10832 * gdb.rust/simple.exp: Add tests.
10833
65547233
TT
108342017-07-14 Tom Tromey <tom@tromey.com>
10835
10836 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10837
8f14146e
PA
108382017-07-14 Pedro Alves <palves@redhat.com>
10839
10840 * gdb.linespec/base/one/thefile.cc (z1): New function.
10841 * gdb.linespec/base/two/thefile.cc (z2): New function.
10842 * gdb.linespec/linespec.exp: Add tests.
10843
b4365d02
AB
108442017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10845
10846 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10847 to mi_create_breakpoint.
10848
5d2cbaa5
AB
108492017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10850
10851 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10852 mi_create_breakpoint.
10853
11cb5716
IB
108542017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10855
10856 * gdb.dlang/demangle.exp: Update for demangling changes.
10857
03278692
TT
108582017-07-09 Tom Tromey <tom@tromey.com>
10859
10860 * gdb.dwarf2/shortpiece.exp: New file.
10861
33c5cd75
DB
108622017-07-06 David Blaikie <dblaikie@gmail.com>
10863
10864 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10865 built from fissiont-multi-cu{1,2}.c.
10866 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10867 except putting 'main' and 'func' in separate CUs in the same DWO file.
10868 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10869 test.
10870 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10871 test.
10872
8455d262
PA
108732017-07-06 Pedro Alves <palves@redhat.com>
10874
10875 * gdb.python/py-unwind.exp: Test flushregs.
10876
dc4bde35
SDJ
108772017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10878
10879 PR cli/21688
10880 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10881 tests for alias commands and trailing whitespace.
10882
51ed89aa
SDJ
108832017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10884
10885 PR cli/21688
10886 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10887 procedure. Call it.
10888
eb17d413
PA
108892017-06-29 Pedro Alves <palves@redhat.com>
10890
10891 * gdb.base/printcmds.exp: Add tests.
10892
41664b45
DG
108932017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10894
10895 PR gdb/21337
10896 * gdb.base/reread-readsym.exp: New file.
10897 * gdb.base/reread-readsym.c: New file.
10898
75312ae3
KB
108992017-06-21 Kevin Buettner <kevinb@redhat.com>
10900
10901 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10902 subpattern.
10903
66953522
PB
109042017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10905
10906 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10907 extended mnemonic.
10908 * gdb.arch/powerpc-power9.s: Likewise.
10909
5524b525
AA
109102017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10911
10912 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10913 on 32-bit x86 targets. Exploit is_*_target macros where
10914 appropriate.
10915
03c8af18
AA
109162017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10917
10918 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10919 register pieces.
10920
3bf31011
AA
109212017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10922
10923 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10924 located in one or more DWARF pieces.
10925
805acca0
AA
109262017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10927
10928 * lib/gdb.exp (get_endianness): New proc.
10929 * gdb.arch/aarch64-fp.exp: Use it.
10930 * gdb.arch/altivec-regs.exp: Likewise.
10931 * gdb.arch/e500-regs.exp: Likewise.
10932 * gdb.arch/vsx-regs.exp: Likewise.
10933 * gdb.base/dump.exp: Likewise.
10934 * gdb.base/funcargs.exp: Likewise.
10935 * gdb.base/gnu_vector.exp: Likewise.
10936 * gdb.dwarf2/formdata16.exp: Likewise.
10937 * gdb.dwarf2/implptrpiece.exp: Likewise.
10938 * gdb.dwarf2/nonvar-access.exp: Likewise.
10939 * gdb.python/py-inferior.exp: Likewise.
10940 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10941
e9352324
AA
109422017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10943
10944 PR gdb/21226
10945 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10946 stack value pieces are taken from the LSB end.
10947
d5d1163e
AA
109482017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10949
10950 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10951 variable at nonzero offset.
10952
0567c986
AA
109532017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10954
10955 * gdb.dwarf2/var-access.c: New file.
10956 * gdb.dwarf2/var-access.exp: New test.
10957 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10958
973e9aab
TT
109592017-06-12 Tom Tromey <tom@tromey.com>
10960
10961 * gdb.dwarf2/formdata16.exp: Add tests.
10962
d9109c80
TT
109632017-06-12 Tom Tromey <tom@tromey.com>
10964
10965 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10966
30a25466
TT
109672017-06-12 Tom Tromey <tom@tromey.com>
10968
10969 PR exp/16225:
10970 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10971 * gdb.arch/vsx-regs.exp: Update tests.
10972 * gdb.arch/s390-vregs.exp (hex128): New proc.
10973 Update test.
10974 * gdb.arch/altivec-regs.exp: Update tests.
10975
aefd8b33
SDJ
109762017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10977
10978 * gdb.base/startup-with-shell.c: New file.
10979 * gdb.base/startup-with-shell.exp: Likewise.
10980
2090129c
SDJ
109812017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10982
10983 * gdb.server/non-existing-program.exp: Update regex in order to
10984 reflect the fact that gdbserver is now using fork_inferior (with a
10985 shell) to startup the inferior.
10986
8e86a419
SM
109872017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10988
10989 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10990 support function calls from GDB.
10991
e6cf65f2
TT
109922017-05-21 Tom Tromey <tom@tromey.com>
10993
10994 PR rust/21466:
10995 * gdb.rust/unsized.exp: New file.
10996 * gdb.rust/unsized.rs: New file.
10997
43cc5389
TT
109982017-05-19 Tom Tromey <tom@tromey.com>
10999
11000 PR rust/21484:
11001 * gdb.rust/watch.exp: New file.
11002 * gdb.rust/watch.rs: New file.
11003
ec8df234
TT
110042017-05-18 Tom Tromey <tom@tromey.com>
11005
11006 * gdb.rust/simple.exp: Allow Box to be qualified.
11007
3e3e7fae
TP
110082017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11009
11010 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11011
59cc050d
PA
110122017-05-18 Pedro Alves <palves@redhat.com>
11013
11014 * gdb.base/fileio.c (test_write, test_read, test_close)
11015 (test_fstat): Don't print 'ret' in the fail path.
11016
c8f6abd1
PA
110172017-05-18 Pedro Alves <palves@redhat.com>
11018
11019 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11020 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11021 (test_system, test_rename, test_unlink, test_time): Change
11022 prototypes.
11023 * gdb.base/fileio.exp (stop_msg): Adjust.
11024
d2a03b77
PA
110252017-05-18 Pedro Alves <palves@redhat.com>
11026
11027 * gdb.base/fileio.c (null_str): New global.
11028 (test_stat): Use it.
11029 * gdb.base/fileio.exp: Remove nowarnings.
11030
0d5c6999
YQ
110312017-05-17 Yao Qi <yao.qi@linaro.org>
11032
11033 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11034
21873064
YQ
110352017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11036
11037 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11038 argument command.
11039 (top-level): Invoke test_set_inferior_tty.
11040
d512d31c
PA
110412017-05-04 Pedro Alves <palves@redhat.com>
11042
11043 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11044 Add parens to print call for Python 3.
11045
90cef2ed
KS
110462017-05-03 Keith Seitz <keiths@redhat.com>
11047
11048 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11049 (main): Call it.
11050
14f819c8
TW
110512017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11052
11053 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11054 to prev and next.
11055
913aeadd
TW
110562017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11057
11058 * gdb.python/py-record-btrace.exp: Remove test for
11059 gdb.BtraceInstruction.error.
11060
a3be24ad
TW
110612017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11062
11063 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11064
ae20e79a
TW
110652017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11066
11067 * gdb.python/py-record-btrace-threads.c: New file.
11068 * gdb.python/py-record-btrace-threads.exp: New file.
11069
45ce1b47
SDJ
110702017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11071
11072 PR testsuite/8595
11073 * gdb.base/environ.exp: Make test available in all architectures.
11074 Move bits related to "info program" testing to
11075 gdb.base/info-program.exp. Rewrite tests to use the two new
11076 procedures mentione below.
11077 (test_set_show_env_var) New procedure.
11078 (test_set_show_env_var_equal): Likewise.
11079 * gdb.base/info-program.exp: New file.
11080
e15c3eb4
KS
110812017-04-27 Keith Seitz <keiths@redhat.com>
11082
11083 * gdb.cp/oranking.cc (test15): New function.
11084 (main): Call test15 and declare additional variables for testing.
11085 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11086 "p foo101('abc')" tests.
11087 Add tests for cv qualifier overloads.
11088 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11089 "lvalue reference overload" test.
11090 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11091 "print value of f1 on Child&& in f2" test.
11092
3a3fd0fd
PA
110932017-04-19 Pedro Alves <palves@redhat.com>
11094
11095 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11096 procedure.
11097 (top level): Call it.
11098 * lib/gdb.exp (gdb_define_cmd): New procedure.
11099
53375380
PA
111002017-04-12 Pedro Alves <palves@redhat.com>
11101
11102 PR gdb/21323
11103 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11104 (wchar): New global.
11105 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11106 (do_test_wide_char, wide_char_types_no_program, top level): Add
11107 wchar_t testing.
11108
53e710ac
PA
111092017-04-12 Pedro Alves <palves@redhat.com>
11110
11111 PR c++/21323
11112 * gdb.cp/wide_char_types.c: New file.
11113 * gdb.cp/wide_char_types.exp: New file.
11114
0ad9d8c7
SDJ
111152017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11116
11117 PR gdb/21352
11118 * gdb.trace/tsv.exp: Add test for "tsave -r".
11119
b1b45502
IB
111202017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11121
11122 * gdb.dlang/watch-loc.c: New file.
11123 * gdb.dlang/watch-loc.exp: New file.
11124
ec13808e
JK
111252017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11126
11127 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11128
fe5f7374
AK
111292017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11130
11131 * gdb.arch/arc-analyze-prologue.S: New file.
11132 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11133
eea78757
AK
111342017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11135
11136 * gdb.arch/arc-decode-insn.S: New file.
11137 * gdb.arch/arc-decode-insn.exp: Likewise.
11138
5badf10a
IR
111392017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11140
11141 PR tdep/20928
11142 * gdb.arch/sparc64-regs.exp: New file.
11143 * gdb.arch/sparc64-regs.S: Likewise.
11144
cee59b3f
TW
111452017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11146
11147 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11148 and memory view on Python 3.
11149
c0f55cc6
AV
111502017-03-20 Artemiy Volkov <artemiyv@acm.org>
11151 Keith Seitz <keiths@redhat.com>
11152
11153 PR gdb/14441
11154 * gdb.cp/demangle.exp: Add rvalue reference tests.
11155 * gdb.cp/rvalue-ref-casts.cc: New file.
11156 * gdb.cp/rvalue-ref-casts.exp: New file.
11157 * gdb.cp/rvalue-ref-overload.cc: New file.
11158 * gdb.cp/rvalue-ref-overload.exp: New file.
11159 * gdb.cp/rvalue-ref-params.cc: New file.
11160 * gdb.cp/rvalue-ref-params.exp: New file.
11161 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11162 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11163 * gdb.cp/rvalue-ref-types.cc: New file.
11164 * gdb.cp/rvalue-ref-types.exp: New file.
11165 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11166 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11167
51457a05
MAL
111682017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11169
11170 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11171 New procedure.
11172
5b291c04
MAL
111732017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11174
11175 * lib/mi-support.exp (mi_gdb_test): Add additional message
11176 for unexpected output.
11177
59a56148
AA
111782017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11179
11180 * gdb.base/examine-backward.c (Barrier): New character array
11181 constant, to ensure that TestStrings is preceded by a string
11182 terminator.
11183
7942e96e
AA
111842017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11185
11186 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11187 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11188 and implicit pointer into such a location.
11189
6ebac3fb
DE
111902017-03-16 Doug Evans <dje@google.com>
11191
11192 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11193
ec3b243d
TP
111942017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11195
11196 * gdb.cp/m-static.exp: Fix expectation for prototype of
11197 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11198
111992017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11200
11201 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11202 * gdb.guile/scm-lazy-string.c: New file.
11203 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11204 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11205 for pointer, array, typedef lazy strings.
11206
2cc36e25 112072017-03-16 Doug Evans <dje@google.com>
34b43320
DE
11208
11209 PR python/17728, python/18439, python/18779
11210 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11211 * gdb.python/py-lazy-string.c (pointer): New typedef.
11212 (main): New locals ptr, array, typedef_ptr.
11213 * gdb.python/py-value.exp: Move lazy string tests to ...
11214 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11215 array, typedef lazy strings.
ec3b243d 11216
0efcde63
AK
112172017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11218
11219 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11220 Add optional 'test' parameter.
11221
7978d7c3
SM
112222017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11223
11224 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11225 Skip for versions of DejaGnu < 1.5.
11226
896c0c1e
SM
112272017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11228
11229 * lib/gdb.exp (dejagnu_version): New proc.
11230 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11231 Use dejagnu_version.
11232
5f4d1085
KS
112332017-03-10 Keith Seitz <keiths@redhat.com>
11234
11235 PR c++/8128
11236 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11237 type from destructor regexps.
11238 Add a branch which actually passes the test.
11239 Adjust "ptype t5i" test names.
11240
1de05205
PA
112412017-03-08 Pedro Alves <palves@redhat.com>
11242
11243 * gdb.base/step-over-exit.exp: Add explicit test message.
11244
c65d6b55
PA
112452017-03-08 Pedro Alves <palves@redhat.com>
11246
11247 PR gdb/18360
11248 * gdb.threads/interrupt-while-step-over.c: New file.
11249 * gdb.threads/interrupt-while-step-over.exp: New file.
11250
2e86a283
PA
112512017-03-08 Pedro Alves <palves@redhat.com>
11252
11253 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11254 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11255
25dcbff6
PA
112562017-03-08 Pedro Alves <palves@redhat.com>
11257
11258 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11259 PKRU as not supported as a PASS.
11260
dc9366eb
PA
112612017-03-08 Pedro Alves <palves@redhat.com>
11262
11263 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11264 prefix instead of $binfile1/$binfile2.
11265 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11266 in test message.
11267 * gdb.python/py-completion.exp: Use "load python file" as test
11268 messages instead of unstable path names.
11269
6e5d74e7
PA
112702017-03-08 Pedro Alves <palves@redhat.com>
11271 Jan Kratochvil <jan.kratochvil@redhat.com>
11272
11273 PR cli/21218
11274 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11275 New proc.
11276 (top level): Call it.
11277
9753a2f6
PA
112782017-03-08 Pedro Alves <palves@redhat.com>
11279
11280 PR tui/21216
11281 * gdb.tui/tui-nl-filtered-output.exp: New file.
11282
1a4dd9dd
PA
112832017-03-08 Pedro Alves <palves@redhat.com>
11284
11285 * gdb.base/completion.exp: Move TUI completion tests to ...
11286 * gdb.tui/completion.exp: ... this new file.
11287
7cbbff33
PA
112882017-03-08 Pedro Alves <palves@redhat.com>
11289
11290 * gdb.base/tui-disasm-long-lines.c,
11291 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11292 gdb.base/tui-layout.exp: Move to ...
11293 * gdb.tui/: ... this new directory.
11294
5f6fd321
PA
112952017-03-07 Pedro Alves <palves@redhat.com>
11296
11297 * gdb.base/tui-layout.c: New file.
11298 * gdb.base/tui-layout.exp: New file.
11299
44959fa8
PA
113002017-03-07 Pedro Alves <palves@redhat.com>
11301
11302 * gdb.base/tui-layout.c: Rename to ...
11303 * gdb.base/tui-disasm-long-lines.c: ... this.
11304 * gdb.base/tui-layout.exp: Rename to ...
11305 * gdb.base/tui-disasm-long-lines.exp: ... this.
11306
f8c4e718
PA
113072017-03-07 Pedro Alves <palves@redhat.com>
11308
11309 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11310
6dbb839a 113112017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
11312
11313 * i386-mpx-call.c: New file.
11314 * i386-mpx-call.exp: New file.
11315
65b48a81
PB
113162017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11317
11318 * gdb.arch/powerpc-power.exp: Delete test.
11319 * gdb.arch/powerpc-power.s: Likewise.
11320 * gdb.disasm/disassembler-options.exp: New test.
11321 * gdb.arch/powerpc-altivec.exp: Likewise.
11322 * gdb.arch/powerpc-altivec.s: Likewise.
11323 * gdb.arch/powerpc-altivec2.exp: Likewise.
11324 * gdb.arch/powerpc-altivec2.s: Likewise.
11325 * gdb.arch/powerpc-altivec3.exp: Likewise.
11326 * gdb.arch/powerpc-altivec3.s: Likewise.
11327 * gdb.arch/powerpc-power7.exp: Likewise.
11328 * gdb.arch/powerpc-power7.s: Likewise.
11329 * gdb.arch/powerpc-power8.exp: Likewise.
11330 * gdb.arch/powerpc-power8.s: Likewise.
11331 * gdb.arch/powerpc-power9.exp: Likewise.
11332 * gdb.arch/powerpc-power9.s: Likewise.
11333 * gdb.arch/powerpc-vsx.exp: Likewise.
11334 * gdb.arch/powerpc-vsx.s: Likewise.
11335 * gdb.arch/powerpc-vsx2.exp: Likewise.
11336 * gdb.arch/powerpc-vsx2.s: Likewise.
11337 * gdb.arch/powerpc-vsx3.exp: Likewise.
11338 * gdb.arch/powerpc-vsx3.s: Likewise.
11339 * gdb.arch/arm-disassembler-options.exp: Likewise.
11340 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11341 * gdb.arch/s390-disassembler-options.exp: Likewise.
11342
17cd4947
LM
113432017-02-23 Luis Machado <lgustavo@codesourcery.com>
11344
11345 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11346 (check_supported_features): ... this. Changed return type to void.
11347 (supports_rdseed): New static global.
11348 (rdseed): Check supports_rdseed.
11349 (initialize): Call check_supported_features.
11350
2039d74e
EBM
113512017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11352
11353 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11354 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11355 and lqarx/stqcx.
11356 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11357 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11358
a51d7ecf
EBM
113592017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11360
11361 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11362 uppercase.
11363
0224619f
JK
113642017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11365
11366 * gdb.dwarf2/formdata16.c: New file.
11367 * gdb.dwarf2/formdata16.exp: New file.
11368 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11369
216f72a1
JK
113702017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11371
11372 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11373 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11374 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11375 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11376 DW_AT_GNU_*.
11377
43988095
JK
113782017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11379
11380 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11381
99e8a4f9
SDJ
113822017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11383
11384 PR gdb/21164
11385 * gdb.base/maint.exp: Add testcases for when the commands do
11386 not have arguments.
11387
b58a8c0c
TP
113882017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11389
11390 * gdb.cp/chained-calls.exp: Use p instead of P.
11391
4e746bb6
TW
113922017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11393
11394 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11395 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11396
3f77c769
TT
113972017-02-14 Tom Tromey <tom@tromey.com>
11398
11399 PR python/13598:
11400 * gdb.python/py-events.exp: Add before_prompt event tests.
11401
075beec0
AA
114022017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11403
11404 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11405
bf5f525c
LM
114062017-02-13 Luis Machado <lgustavo@codesourcery.com>
11407
11408 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11409 (main): Call my_unique_function_name.
11410 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11411 completion of patterns with a single match.
11412 Add missing -re switches to gdb_test_multiple calls.
11413
13a66184
LM
114142017-02-13 Luis Machado <lgustavo@codesourcery.com>
11415
11416 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11417 return if core file is not recognized.
11418
26a06916
SM
114192017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11420
11421 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11422 and extra UIs.
11423
b761ca9e
SM
114242017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11425
11426 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11427 proc_with_prefix.
11428
b964bee0
TT
114292017-02-10 Tom Tromey <tom@tromey.com>
11430
11431 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11432
18da0c51
MG
114332017-02-10 Martin Galvan <martingalvan@sourceware.org>
11434
11435 PR gdb/21122
11436 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11437
604c4576
JG
114382017-02-08 Jerome Guitton <guitton@adacore.com>
11439
11440 * gdb.base/define.exp: Add test for command abbreviations
11441 in define.
11442
20b477a7
LM
114432017-02-06 Luis Machado <lgustavo@codesourcery.com>
11444
11445 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11446 * gdb.reverse/insn-reverse-x86.c: New file.
11447
3f7b46f2
IR
114482017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11449
11450 PR tdep/20936
11451 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11452
f0fd41c1
TT
114532017-02-03 Tom Tromey <tom@tromey.com>
11454
11455 PR rust/21097:
11456 * gdb.rust/simple.exp: Add new tests.
11457
5be5dbf0
PA
114582017-02-02 Pedro Alves <palves@redhat.com>
11459
11460 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11461 tests.
11462
7346ef59
AA
114632017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11464
11465 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11466 taking a 2-byte value out of a 4-byte DWARF implicit value on
11467 big-endian targets.
11468 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11469 logic. Add test cases for DW_OP_implicit.
11470
787f0025
MM
114712017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11472
11473 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11474
68777c29
MM
114752017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11476
11477 * gdb.btrace/enable.exp: Call gdb_exit before
11478 skip_gdbserver_tests.
11479
0a1c7e28
MM
114802017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11481
11482 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11483 GDBFLAGS.
11484
b5ac99b0
MM
114852017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11486
11487 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11488 the test is skipped.
11489 * gdb.btrace/data.exp: Likewise.
11490 * gdb.btrace/delta.exp: Likewise.
11491 * gdb.btrace/dlopen.exp: Likewise.
11492 * gdb.btrace/enable-running.exp: Likewise.
11493 * gdb.btrace/enable.exp: Likewise.
11494 * gdb.btrace/exception.exp: Likewise.
11495 * gdb.btrace/function_call_history.exp: Likewise.
11496 * gdb.btrace/gcore.exp: Likewise.
11497 * gdb.btrace/instruction_history.exp: Likewise.
11498 * gdb.btrace/multi-thread-step.exp: Likewise.
11499 * gdb.btrace/nohist.exp: Likewise.
11500 * gdb.btrace/non-stop.exp: Likewise.
11501 * gdb.btrace/reconnect.exp: Likewise.
11502 * gdb.btrace/record_goto-step.exp: Likewise.
11503 * gdb.btrace/record_goto.exp: Likewise.
11504 * gdb.btrace/rn-dl-bind.exp: Likewise.
11505 * gdb.btrace/segv.exp: Likewise.
11506 * gdb.btrace/step.exp: Likewise.
11507 * gdb.btrace/stepi.exp: Likewise.
11508 * gdb.btrace/tailcall-only.exp: Likewise.
11509 * gdb.btrace/tailcall.exp: Likewise.
11510 * gdb.btrace/tsx.exp: Likewise.
11511 * gdb.btrace/unknown_functions.exp: Likewise.
11512 * gdb.btrace/vdso.exp: Likewise.
11513
cd4007e4
MM
115142017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11515
11516 * gdb.btrace/enable-running.c: New.
11517 * gdb.btrace/enable-running.exp: New.
11518
2735833d
WT
115192017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11520
11521 * gdb.arch/amd64-gs_base.c: New file.
11522 * gdb.arch/amd64-gs_base.exp: New file.
11523
b51e1e94
LM
115242017-01-26 Luis Machado <lgustavo@codesourcery.com>
11525
11526 * lib/memory.exp: Remove spurious empty newlines.
11527
72ca0410
SM
115282017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11529
11530 * gdb.python/py-bad-printers.exp: Load python file using "source".
11531 * gdb.python/py-events.exp: Likewise.
11532 * gdb.python/py-evsignal.exp: Likewise.
11533 * gdb.python/py-evthreads.exp: Likewise.
11534 * gdb.python/py-frame-args.exp: Likewise.
11535 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11536 * gdb.python/py-framefilter-mi.exp: Likewise.
11537 * gdb.python/py-framefilter.exp: Likewise.
11538 * gdb.python/py-mi.exp: Likewise.
11539 * gdb.python/py-pp-maint.exp: Likewise.
11540 * gdb.python/py-pp-registration.exp: Likewise.
11541 * gdb.python/py-prettyprint.exp: Likewise.
11542 (run_lang_tests): Likewise.
11543 * gdb.python/py-typeprint.exp: Likewise.
11544
e309aa65
LM
115452017-01-26 Luis Machado <lgustavo@codesourcery.com>
11546
11547 * lib/memory.exp: New file.
11548 * lib/gdb.exp: Load memory.exp.
11549 * gdb.base/memattr.exp (delete_memory): Move proc to
11550 lib/memory.exp and rename to delete_memory_regions.
11551 Replace delete_memory with delete_memory_regions.
11552 Cleanup memory regions before tests.
11553 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11554 before tests.
11555
515aff23
LM
115562017-01-26 Luis Machado <lgustavo@codesourcery.com>
11557
11558 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11559 files.
11560 (initialize): New function conditionally defined.
11561 (testcases): Move within conditional block.
11562 (main): Call initialize.
11563 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11564 of gdb.reverse/insn-reverse.c.
11565 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11566 gdb.reverse/insn-reverse.c.
11567
d8b49cf0
YQ
115682017-01-26 Yao Qi <yao.qi@linaro.org>
11569
11570 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11571 disassemble on address 0.
11572
f13a9a0c
YQ
115732017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11574 Yao Qi <yao.qi@linaro.org>
11575
11576 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11577 * gdb.dwarf2/implptr-64bit.S: Remove.
11578 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11579 variables in caller's context. Add DW_OP_implicit_value.
11580
5ac95241
YQ
115812017-01-25 Yao Qi <yao.qi@linaro.org>
11582
11583 * lib/dwarf.exp (Dwarf::_location): Handle
11584 DW_OP_GNU_implicit_pointer with proper size.
11585
23e82930
LM
115862017-01-20 Luis Machado <lgustavo@codesourcery.com>
11587
11588 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11589 and add untested calls.
11590
d334ae25
LM
115912017-01-20 Luis Machado <lgustavo@codesourcery.com>
11592
11593 * gdb.python/python.exp: Check line number against what GDB thinks
11594 the line number is for func1.
11595
f5e6296e
IB
115962017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11597
11598 * gdb.dlang/debug-expr.exp: New file.
11599
5b362f04
LM
116002016-12-23 Luis Machado <lgustavo@codesourcery.com>
11601
11602 Fix test names for the following files:
11603
11604 * gdb.ada/exec_changed.exp
11605 * gdb.ada/info_types.exp
11606 * gdb.arch/aarch64-atomic-inst.exp
11607 * gdb.arch/aarch64-fp.exp
11608 * gdb.arch/altivec-abi.exp
11609 * gdb.arch/altivec-regs.exp
11610 * gdb.arch/amd64-byte.exp
11611 * gdb.arch/amd64-disp-step.exp
11612 * gdb.arch/amd64-dword.exp
11613 * gdb.arch/amd64-entry-value-inline.exp
11614 * gdb.arch/amd64-entry-value-param.exp
11615 * gdb.arch/amd64-entry-value-paramref.exp
11616 * gdb.arch/amd64-entry-value.exp
11617 * gdb.arch/amd64-i386-address.exp
11618 * gdb.arch/amd64-invalid-stack-middle.exp
11619 * gdb.arch/amd64-invalid-stack-top.exp
11620 * gdb.arch/amd64-optimout-repeat.exp
11621 * gdb.arch/amd64-prologue-skip.exp
11622 * gdb.arch/amd64-prologue-xmm.exp
11623 * gdb.arch/amd64-stap-special-operands.exp
11624 * gdb.arch/amd64-stap-wrong-subexp.exp
11625 * gdb.arch/amd64-tailcall-cxx.exp
11626 * gdb.arch/amd64-tailcall-noret.exp
11627 * gdb.arch/amd64-tailcall-ret.exp
11628 * gdb.arch/amd64-tailcall-self.exp
11629 * gdb.arch/amd64-word.exp
11630 * gdb.arch/arm-bl-branch-dest.exp
11631 * gdb.arch/arm-disp-step.exp
11632 * gdb.arch/arm-neon.exp
11633 * gdb.arch/arm-single-step-kernel-helper.exp
11634 * gdb.arch/avr-flash-qualifier.exp
11635 * gdb.arch/disp-step-insn-reloc.exp
11636 * gdb.arch/e500-abi.exp
11637 * gdb.arch/e500-regs.exp
11638 * gdb.arch/ftrace-insn-reloc.exp
11639 * gdb.arch/i386-avx512.exp
11640 * gdb.arch/i386-bp_permanent.exp
11641 * gdb.arch/i386-byte.exp
11642 * gdb.arch/i386-cfi-notcurrent.exp
11643 * gdb.arch/i386-disp-step.exp
11644 * gdb.arch/i386-dr3-watch.exp
11645 * gdb.arch/i386-float.exp
11646 * gdb.arch/i386-gnu-cfi.exp
11647 * gdb.arch/i386-mpx-map.exp
11648 * gdb.arch/i386-mpx-sigsegv.exp
11649 * gdb.arch/i386-mpx-simple_segv.exp
11650 * gdb.arch/i386-mpx.exp
11651 * gdb.arch/i386-permbkpt.exp
11652 * gdb.arch/i386-prologue.exp
11653 * gdb.arch/i386-signal.exp
11654 * gdb.arch/i386-size-overlap.exp
11655 * gdb.arch/i386-unwind.exp
11656 * gdb.arch/i386-word.exp
11657 * gdb.arch/mips-fcr.exp
11658 * gdb.arch/powerpc-d128-regs.exp
11659 * gdb.arch/powerpc-stackless.exp
11660 * gdb.arch/ppc64-atomic-inst.exp
11661 * gdb.arch/s390-stackless.exp
11662 * gdb.arch/s390-tdbregs.exp
11663 * gdb.arch/s390-vregs.exp
11664 * gdb.arch/sparc-sysstep.exp
11665 * gdb.arch/thumb-bx-pc.exp
11666 * gdb.arch/thumb-singlestep.exp
11667 * gdb.arch/thumb2-it.exp
11668 * gdb.arch/vsx-regs.exp
11669 * gdb.asm/asm-source.exp
11670 * gdb.base/a2-run.exp
11671 * gdb.base/advance.exp
11672 * gdb.base/all-bin.exp
11673 * gdb.base/anon.exp
11674 * gdb.base/args.exp
11675 * gdb.base/arithmet.exp
11676 * gdb.base/async-shell.exp
11677 * gdb.base/async.exp
11678 * gdb.base/attach-pie-noexec.exp
11679 * gdb.base/attach-twice.exp
11680 * gdb.base/auto-load.exp
11681 * gdb.base/bang.exp
11682 * gdb.base/bitfields.exp
11683 * gdb.base/break-always.exp
11684 * gdb.base/break-caller-line.exp
11685 * gdb.base/break-entry.exp
11686 * gdb.base/break-inline.exp
11687 * gdb.base/break-on-linker-gcd-function.exp
11688 * gdb.base/break-probes.exp
11689 * gdb.base/break.exp
11690 * gdb.base/breakpoint-shadow.exp
11691 * gdb.base/call-ar-st.exp
11692 * gdb.base/call-sc.exp
11693 * gdb.base/call-signal-resume.exp
11694 * gdb.base/call-strs.exp
11695 * gdb.base/callfuncs.exp
11696 * gdb.base/catch-fork-static.exp
11697 * gdb.base/catch-gdb-caused-signals.exp
11698 * gdb.base/catch-load.exp
11699 * gdb.base/catch-signal-fork.exp
11700 * gdb.base/catch-signal.exp
11701 * gdb.base/catch-syscall.exp
11702 * gdb.base/charset.exp
11703 * gdb.base/checkpoint.exp
11704 * gdb.base/chng-syms.exp
11705 * gdb.base/code-expr.exp
11706 * gdb.base/code_elim.exp
11707 * gdb.base/commands.exp
11708 * gdb.base/completion.exp
11709 * gdb.base/complex.exp
11710 * gdb.base/cond-expr.exp
11711 * gdb.base/condbreak.exp
11712 * gdb.base/consecutive.exp
11713 * gdb.base/continue-all-already-running.exp
11714 * gdb.base/coredump-filter.exp
11715 * gdb.base/corefile.exp
11716 * gdb.base/dbx.exp
11717 * gdb.base/debug-expr.exp
11718 * gdb.base/define.exp
11719 * gdb.base/del.exp
11720 * gdb.base/disabled-location.exp
11721 * gdb.base/disasm-end-cu.exp
11722 * gdb.base/disasm-optim.exp
11723 * gdb.base/display.exp
11724 * gdb.base/duplicate-bp.exp
11725 * gdb.base/ena-dis-br.exp
11726 * gdb.base/ending-run.exp
11727 * gdb.base/enumval.exp
11728 * gdb.base/environ.exp
11729 * gdb.base/eu-strip-infcall.exp
11730 * gdb.base/eval-avoid-side-effects.exp
11731 * gdb.base/eval-skip.exp
11732 * gdb.base/exitsignal.exp
11733 * gdb.base/expand-psymtabs.exp
11734 * gdb.base/filesym.exp
11735 * gdb.base/find-unmapped.exp
11736 * gdb.base/finish.exp
11737 * gdb.base/float.exp
11738 * gdb.base/foll-exec-mode.exp
11739 * gdb.base/foll-exec.exp
11740 * gdb.base/foll-fork.exp
11741 * gdb.base/fortran-sym-case.exp
11742 * gdb.base/freebpcmd.exp
11743 * gdb.base/func-ptr.exp
11744 * gdb.base/func-ptrs.exp
11745 * gdb.base/funcargs.exp
11746 * gdb.base/gcore-buffer-overflow.exp
11747 * gdb.base/gcore-relro-pie.exp
11748 * gdb.base/gcore-relro.exp
11749 * gdb.base/gcore.exp
11750 * gdb.base/gdb1090.exp
11751 * gdb.base/gdb11530.exp
11752 * gdb.base/gdb11531.exp
11753 * gdb.base/gdb1821.exp
11754 * gdb.base/gdbindex-stabs.exp
11755 * gdb.base/gdbvars.exp
11756 * gdb.base/hbreak.exp
11757 * gdb.base/hbreak2.exp
11758 * gdb.base/included.exp
11759 * gdb.base/infcall-input.exp
11760 * gdb.base/inferior-died.exp
11761 * gdb.base/infnan.exp
11762 * gdb.base/info-macros.exp
11763 * gdb.base/info-os.exp
11764 * gdb.base/info-proc.exp
11765 * gdb.base/info-shared.exp
11766 * gdb.base/info-target.exp
11767 * gdb.base/infoline.exp
11768 * gdb.base/interp.exp
11769 * gdb.base/interrupt.exp
11770 * gdb.base/jit-reader.exp
11771 * gdb.base/jit-simple.exp
11772 * gdb.base/kill-after-signal.exp
11773 * gdb.base/kill-detach-inferiors-cmd.exp
11774 * gdb.base/label.exp
11775 * gdb.base/langs.exp
11776 * gdb.base/ldbl_e308.exp
11777 * gdb.base/line-symtabs.exp
11778 * gdb.base/linespecs.exp
11779 * gdb.base/list.exp
11780 * gdb.base/long_long.exp
11781 * gdb.base/longest-types.exp
11782 * gdb.base/maint.exp
11783 * gdb.base/max-value-size.exp
11784 * gdb.base/memattr.exp
11785 * gdb.base/mips_pro.exp
11786 * gdb.base/morestack.exp
11787 * gdb.base/moribund-step.exp
11788 * gdb.base/multi-forks.exp
11789 * gdb.base/nested-addr.exp
11790 * gdb.base/nextoverexit.exp
11791 * gdb.base/noreturn-finish.exp
11792 * gdb.base/noreturn-return.exp
11793 * gdb.base/nostdlib.exp
11794 * gdb.base/offsets.exp
11795 * gdb.base/opaque.exp
11796 * gdb.base/pc-fp.exp
11797 * gdb.base/permissions.exp
11798 * gdb.base/print-symbol-loading.exp
11799 * gdb.base/prologue-include.exp
11800 * gdb.base/psymtab.exp
11801 * gdb.base/ptype.exp
11802 * gdb.base/random-signal.exp
11803 * gdb.base/randomize.exp
11804 * gdb.base/range-stepping.exp
11805 * gdb.base/readline-ask.exp
11806 * gdb.base/recpar.exp
11807 * gdb.base/recurse.exp
11808 * gdb.base/relational.exp
11809 * gdb.base/restore.exp
11810 * gdb.base/return-nodebug.exp
11811 * gdb.base/return.exp
11812 * gdb.base/run-after-attach.exp
11813 * gdb.base/save-bp.exp
11814 * gdb.base/scope.exp
11815 * gdb.base/sect-cmd.exp
11816 * gdb.base/set-lang-auto.exp
11817 * gdb.base/set-noassign.exp
11818 * gdb.base/setvar.exp
11819 * gdb.base/sigall.exp
11820 * gdb.base/sigbpt.exp
11821 * gdb.base/siginfo-addr.exp
11822 * gdb.base/siginfo-infcall.exp
11823 * gdb.base/siginfo-obj.exp
11824 * gdb.base/siginfo.exp
11825 * gdb.base/signals-state-child.exp
11826 * gdb.base/signest.exp
11827 * gdb.base/sigstep.exp
11828 * gdb.base/sizeof.exp
11829 * gdb.base/skip.exp
11830 * gdb.base/solib-corrupted.exp
11831 * gdb.base/solib-nodir.exp
11832 * gdb.base/solib-search.exp
11833 * gdb.base/stack-checking.exp
11834 * gdb.base/stale-infcall.exp
11835 * gdb.base/stap-probe.exp
11836 * gdb.base/start.exp
11837 * gdb.base/step-break.exp
11838 * gdb.base/step-bt.exp
11839 * gdb.base/step-line.exp
11840 * gdb.base/step-over-exit.exp
11841 * gdb.base/step-over-syscall.exp
11842 * gdb.base/step-resume-infcall.exp
11843 * gdb.base/step-test.exp
11844 * gdb.base/store.exp
11845 * gdb.base/structs3.exp
11846 * gdb.base/sym-file.exp
11847 * gdb.base/symbol-without-target_section.exp
11848 * gdb.base/term.exp
11849 * gdb.base/testenv.exp
11850 * gdb.base/ui-redirect.exp
11851 * gdb.base/until.exp
11852 * gdb.base/unwindonsignal.exp
11853 * gdb.base/value-double-free.exp
11854 * gdb.base/vla-datatypes.exp
11855 * gdb.base/vla-ptr.exp
11856 * gdb.base/vla-sideeffect.exp
11857 * gdb.base/volatile.exp
11858 * gdb.base/watch-cond-infcall.exp
11859 * gdb.base/watch-cond.exp
11860 * gdb.base/watch-non-mem.exp
11861 * gdb.base/watch-read.exp
11862 * gdb.base/watch-vfork.exp
11863 * gdb.base/watchpoint-cond-gone.exp
11864 * gdb.base/watchpoint-delete.exp
11865 * gdb.base/watchpoint-hw-hit-once.exp
11866 * gdb.base/watchpoint-hw.exp
11867 * gdb.base/watchpoint-stops-at-right-insn.exp
11868 * gdb.base/watchpoints.exp
11869 * gdb.base/wchar.exp
11870 * gdb.base/whatis-exp.exp
11871 * gdb.btrace/buffer-size.exp
11872 * gdb.btrace/data.exp
11873 * gdb.btrace/delta.exp
11874 * gdb.btrace/dlopen.exp
11875 * gdb.btrace/enable.exp
11876 * gdb.btrace/exception.exp
11877 * gdb.btrace/function_call_history.exp
11878 * gdb.btrace/gcore.exp
11879 * gdb.btrace/instruction_history.exp
11880 * gdb.btrace/nohist.exp
11881 * gdb.btrace/reconnect.exp
11882 * gdb.btrace/record_goto-step.exp
11883 * gdb.btrace/record_goto.exp
11884 * gdb.btrace/rn-dl-bind.exp
11885 * gdb.btrace/segv.exp
11886 * gdb.btrace/step.exp
11887 * gdb.btrace/stepi.exp
11888 * gdb.btrace/tailcall-only.exp
11889 * gdb.btrace/tailcall.exp
11890 * gdb.btrace/tsx.exp
11891 * gdb.btrace/unknown_functions.exp
11892 * gdb.btrace/vdso.exp
11893 * gdb.compile/compile-ifunc.exp
11894 * gdb.compile/compile-ops.exp
11895 * gdb.compile/compile-print.exp
11896 * gdb.compile/compile-setjmp.exp
11897 * gdb.cp/abstract-origin.exp
11898 * gdb.cp/ambiguous.exp
11899 * gdb.cp/annota2.exp
11900 * gdb.cp/annota3.exp
11901 * gdb.cp/anon-ns.exp
11902 * gdb.cp/anon-struct.exp
11903 * gdb.cp/anon-union.exp
11904 * gdb.cp/arg-reference.exp
11905 * gdb.cp/baseenum.exp
11906 * gdb.cp/bool.exp
11907 * gdb.cp/breakpoint.exp
11908 * gdb.cp/bs15503.exp
11909 * gdb.cp/call-c.exp
11910 * gdb.cp/casts.exp
11911 * gdb.cp/chained-calls.exp
11912 * gdb.cp/class2.exp
11913 * gdb.cp/classes.exp
11914 * gdb.cp/cmpd-minsyms.exp
11915 * gdb.cp/converts.exp
11916 * gdb.cp/cp-relocate.exp
11917 * gdb.cp/cpcompletion.exp
11918 * gdb.cp/cpexprs.exp
11919 * gdb.cp/cplabel.exp
11920 * gdb.cp/cplusfuncs.exp
11921 * gdb.cp/cpsizeof.exp
11922 * gdb.cp/ctti.exp
11923 * gdb.cp/derivation.exp
11924 * gdb.cp/destrprint.exp
11925 * gdb.cp/dispcxx.exp
11926 * gdb.cp/enum-class.exp
11927 * gdb.cp/exception.exp
11928 * gdb.cp/exceptprint.exp
11929 * gdb.cp/expand-psymtabs-cxx.exp
11930 * gdb.cp/expand-sals.exp
11931 * gdb.cp/extern-c.exp
11932 * gdb.cp/filename.exp
11933 * gdb.cp/formatted-ref.exp
11934 * gdb.cp/fpointer.exp
11935 * gdb.cp/gdb1355.exp
11936 * gdb.cp/gdb2495.exp
11937 * gdb.cp/hang.exp
11938 * gdb.cp/impl-this.exp
11939 * gdb.cp/infcall-dlopen.exp
11940 * gdb.cp/inherit.exp
11941 * gdb.cp/iostream.exp
11942 * gdb.cp/koenig.exp
11943 * gdb.cp/local.exp
11944 * gdb.cp/m-data.exp
11945 * gdb.cp/m-static.exp
11946 * gdb.cp/mb-ctor.exp
11947 * gdb.cp/mb-inline.exp
11948 * gdb.cp/mb-templates.exp
11949 * gdb.cp/member-name.exp
11950 * gdb.cp/member-ptr.exp
11951 * gdb.cp/meth-typedefs.exp
11952 * gdb.cp/method.exp
11953 * gdb.cp/method2.exp
11954 * gdb.cp/minsym-fallback.exp
11955 * gdb.cp/misc.exp
11956 * gdb.cp/namelessclass.exp
11957 * gdb.cp/namespace-enum.exp
11958 * gdb.cp/namespace-nested-import.exp
11959 * gdb.cp/namespace.exp
11960 * gdb.cp/nextoverthrow.exp
11961 * gdb.cp/no-dmgl-verbose.exp
11962 * gdb.cp/non-trivial-retval.exp
11963 * gdb.cp/noparam.exp
11964 * gdb.cp/nsdecl.exp
11965 * gdb.cp/nsimport.exp
11966 * gdb.cp/nsnested.exp
11967 * gdb.cp/nsnoimports.exp
11968 * gdb.cp/nsrecurs.exp
11969 * gdb.cp/nsstress.exp
11970 * gdb.cp/nsusing.exp
11971 * gdb.cp/operator.exp
11972 * gdb.cp/oranking.exp
11973 * gdb.cp/overload-const.exp
11974 * gdb.cp/overload.exp
11975 * gdb.cp/ovldbreak.exp
11976 * gdb.cp/ovsrch.exp
11977 * gdb.cp/paren-type.exp
11978 * gdb.cp/parse-lang.exp
11979 * gdb.cp/pass-by-ref.exp
11980 * gdb.cp/pr-1023.exp
11981 * gdb.cp/pr-1210.exp
11982 * gdb.cp/pr-574.exp
11983 * gdb.cp/pr10687.exp
11984 * gdb.cp/pr12028.exp
11985 * gdb.cp/pr17132.exp
11986 * gdb.cp/pr17494.exp
11987 * gdb.cp/pr9067.exp
11988 * gdb.cp/pr9167.exp
11989 * gdb.cp/pr9631.exp
11990 * gdb.cp/printmethod.exp
11991 * gdb.cp/psmang.exp
11992 * gdb.cp/psymtab-parameter.exp
11993 * gdb.cp/ptype-cv-cp.exp
11994 * gdb.cp/ptype-flags.exp
11995 * gdb.cp/re-set-overloaded.exp
11996 * gdb.cp/ref-types.exp
11997 * gdb.cp/rtti.exp
11998 * gdb.cp/scope-err.exp
11999 * gdb.cp/shadow.exp
12000 * gdb.cp/smartp.exp
12001 * gdb.cp/static-method.exp
12002 * gdb.cp/static-print-quit.exp
12003 * gdb.cp/temargs.exp
12004 * gdb.cp/templates.exp
12005 * gdb.cp/try_catch.exp
12006 * gdb.cp/typedef-operator.exp
12007 * gdb.cp/typeid.exp
12008 * gdb.cp/userdef.exp
12009 * gdb.cp/using-crash.exp
12010 * gdb.cp/var-tag.exp
12011 * gdb.cp/virtbase.exp
12012 * gdb.cp/virtfunc.exp
12013 * gdb.cp/virtfunc2.exp
12014 * gdb.cp/vla-cxx.exp
12015 * gdb.disasm/t01_mov.exp
12016 * gdb.disasm/t02_mova.exp
12017 * gdb.disasm/t03_add.exp
12018 * gdb.disasm/t04_sub.exp
12019 * gdb.disasm/t05_cmp.exp
12020 * gdb.disasm/t06_ari2.exp
12021 * gdb.disasm/t07_ari3.exp
12022 * gdb.disasm/t08_or.exp
12023 * gdb.disasm/t09_xor.exp
12024 * gdb.disasm/t10_and.exp
12025 * gdb.disasm/t11_logs.exp
12026 * gdb.disasm/t12_bit.exp
12027 * gdb.disasm/t13_otr.exp
12028 * gdb.dlang/circular.exp
12029 * gdb.dwarf2/arr-stride.exp
12030 * gdb.dwarf2/arr-subrange.exp
12031 * gdb.dwarf2/atomic-type.exp
12032 * gdb.dwarf2/bad-regnum.exp
12033 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12034 * gdb.dwarf2/callframecfa.exp
12035 * gdb.dwarf2/clztest.exp
12036 * gdb.dwarf2/corrupt.exp
12037 * gdb.dwarf2/data-loc.exp
12038 * gdb.dwarf2/dup-psym.exp
12039 * gdb.dwarf2/dw2-anon-mptr.exp
12040 * gdb.dwarf2/dw2-anonymous-func.exp
12041 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12042 * gdb.dwarf2/dw2-bad-unresolved.exp
12043 * gdb.dwarf2/dw2-basic.exp
12044 * gdb.dwarf2/dw2-canonicalize-type.exp
12045 * gdb.dwarf2/dw2-case-insensitive.exp
12046 * gdb.dwarf2/dw2-common-block.exp
12047 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12048 * gdb.dwarf2/dw2-compressed.exp
12049 * gdb.dwarf2/dw2-const.exp
12050 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12051 * gdb.dwarf2/dw2-cu-size.exp
12052 * gdb.dwarf2/dw2-dup-frame.exp
12053 * gdb.dwarf2/dw2-entry-value.exp
12054 * gdb.dwarf2/dw2-icycle.exp
12055 * gdb.dwarf2/dw2-ifort-parameter.exp
12056 * gdb.dwarf2/dw2-inline-break.exp
12057 * gdb.dwarf2/dw2-inline-param.exp
12058 * gdb.dwarf2/dw2-intercu.exp
12059 * gdb.dwarf2/dw2-intermix.exp
12060 * gdb.dwarf2/dw2-lexical-block-bare.exp
12061 * gdb.dwarf2/dw2-linkage-name-trust.exp
12062 * gdb.dwarf2/dw2-minsym-in-cu.exp
12063 * gdb.dwarf2/dw2-noloc.exp
12064 * gdb.dwarf2/dw2-op-call.exp
12065 * gdb.dwarf2/dw2-op-out-param.exp
12066 * gdb.dwarf2/dw2-opt-structptr.exp
12067 * gdb.dwarf2/dw2-param-error.exp
12068 * gdb.dwarf2/dw2-producer.exp
12069 * gdb.dwarf2/dw2-ranges-base.exp
12070 * gdb.dwarf2/dw2-ref-missing-frame.exp
12071 * gdb.dwarf2/dw2-reg-undefined.exp
12072 * gdb.dwarf2/dw2-regno-invalid.exp
12073 * gdb.dwarf2/dw2-restore.exp
12074 * gdb.dwarf2/dw2-restrict.exp
12075 * gdb.dwarf2/dw2-single-line-discriminators.exp
12076 * gdb.dwarf2/dw2-strp.exp
12077 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12078 * gdb.dwarf2/dw2-unresolved.exp
12079 * gdb.dwarf2/dw2-var-zero-addr.exp
12080 * gdb.dwarf2/dw4-sig-types.exp
12081 * gdb.dwarf2/dwz.exp
12082 * gdb.dwarf2/dynarr-ptr.exp
12083 * gdb.dwarf2/enum-type.exp
12084 * gdb.dwarf2/gdb-index.exp
12085 * gdb.dwarf2/implptr-64bit.exp
12086 * gdb.dwarf2/implptr-optimized-out.exp
12087 * gdb.dwarf2/implptr.exp
12088 * gdb.dwarf2/implref-array.exp
12089 * gdb.dwarf2/implref-const.exp
12090 * gdb.dwarf2/implref-global.exp
12091 * gdb.dwarf2/implref-struct.exp
12092 * gdb.dwarf2/mac-fileno.exp
12093 * gdb.dwarf2/main-subprogram.exp
12094 * gdb.dwarf2/member-ptr-forwardref.exp
12095 * gdb.dwarf2/method-ptr.exp
12096 * gdb.dwarf2/missing-sig-type.exp
12097 * gdb.dwarf2/nonvar-access.exp
12098 * gdb.dwarf2/opaque-type-lookup.exp
12099 * gdb.dwarf2/pieces-optimized-out.exp
12100 * gdb.dwarf2/pieces.exp
12101 * gdb.dwarf2/pr10770.exp
12102 * gdb.dwarf2/pr13961.exp
12103 * gdb.dwarf2/staticvirtual.exp
12104 * gdb.dwarf2/subrange.exp
12105 * gdb.dwarf2/symtab-producer.exp
12106 * gdb.dwarf2/trace-crash.exp
12107 * gdb.dwarf2/typeddwarf.exp
12108 * gdb.dwarf2/valop.exp
12109 * gdb.dwarf2/watch-notconst.exp
12110 * gdb.fortran/array-element.exp
12111 * gdb.fortran/charset.exp
12112 * gdb.fortran/common-block.exp
12113 * gdb.fortran/complex.exp
12114 * gdb.fortran/derived-type-function.exp
12115 * gdb.fortran/derived-type.exp
12116 * gdb.fortran/logical.exp
12117 * gdb.fortran/module.exp
12118 * gdb.fortran/multi-dim.exp
12119 * gdb.fortran/nested-funcs.exp
12120 * gdb.fortran/print-formatted.exp
12121 * gdb.fortran/subarray.exp
12122 * gdb.fortran/vla-alloc-assoc.exp
12123 * gdb.fortran/vla-datatypes.exp
12124 * gdb.fortran/vla-history.exp
12125 * gdb.fortran/vla-ptr-info.exp
12126 * gdb.fortran/vla-ptype-sub.exp
12127 * gdb.fortran/vla-ptype.exp
12128 * gdb.fortran/vla-sizeof.exp
12129 * gdb.fortran/vla-type.exp
12130 * gdb.fortran/vla-value-sub-arbitrary.exp
12131 * gdb.fortran/vla-value-sub-finish.exp
12132 * gdb.fortran/vla-value-sub.exp
12133 * gdb.fortran/vla-value.exp
12134 * gdb.fortran/whatis_type.exp
12135 * gdb.go/chan.exp
12136 * gdb.go/handcall.exp
12137 * gdb.go/hello.exp
12138 * gdb.go/integers.exp
12139 * gdb.go/methods.exp
12140 * gdb.go/package.exp
12141 * gdb.go/strings.exp
12142 * gdb.go/types.exp
12143 * gdb.go/unsafe.exp
12144 * gdb.guile/scm-arch.exp
12145 * gdb.guile/scm-block.exp
12146 * gdb.guile/scm-breakpoint.exp
12147 * gdb.guile/scm-cmd.exp
12148 * gdb.guile/scm-disasm.exp
12149 * gdb.guile/scm-equal.exp
12150 * gdb.guile/scm-frame-args.exp
12151 * gdb.guile/scm-frame-inline.exp
12152 * gdb.guile/scm-frame.exp
12153 * gdb.guile/scm-iterator.exp
12154 * gdb.guile/scm-math.exp
12155 * gdb.guile/scm-objfile.exp
12156 * gdb.guile/scm-ports.exp
12157 * gdb.guile/scm-symbol.exp
12158 * gdb.guile/scm-symtab.exp
12159 * gdb.guile/scm-value-cc.exp
12160 * gdb.guile/types-module.exp
12161 * gdb.linespec/break-ask.exp
12162 * gdb.linespec/cpexplicit.exp
12163 * gdb.linespec/explicit.exp
12164 * gdb.linespec/keywords.exp
12165 * gdb.linespec/linespec.exp
12166 * gdb.linespec/ls-dollar.exp
12167 * gdb.linespec/ls-errs.exp
12168 * gdb.linespec/skip-two.exp
12169 * gdb.linespec/thread.exp
12170 * gdb.mi/mi-async.exp
12171 * gdb.mi/mi-basics.exp
12172 * gdb.mi/mi-break.exp
12173 * gdb.mi/mi-catch-load.exp
12174 * gdb.mi/mi-cli.exp
12175 * gdb.mi/mi-cmd-param-changed.exp
12176 * gdb.mi/mi-console.exp
12177 * gdb.mi/mi-detach.exp
12178 * gdb.mi/mi-disassemble.exp
12179 * gdb.mi/mi-eval.exp
12180 * gdb.mi/mi-file-transfer.exp
12181 * gdb.mi/mi-file.exp
12182 * gdb.mi/mi-fill-memory.exp
12183 * gdb.mi/mi-inheritance-syntax-error.exp
12184 * gdb.mi/mi-linespec-err-cp.exp
12185 * gdb.mi/mi-logging.exp
12186 * gdb.mi/mi-memory-changed.exp
12187 * gdb.mi/mi-read-memory.exp
12188 * gdb.mi/mi-record-changed.exp
12189 * gdb.mi/mi-reg-undefined.exp
12190 * gdb.mi/mi-regs.exp
12191 * gdb.mi/mi-return.exp
12192 * gdb.mi/mi-reverse.exp
12193 * gdb.mi/mi-simplerun.exp
12194 * gdb.mi/mi-solib.exp
12195 * gdb.mi/mi-stack.exp
12196 * gdb.mi/mi-stepi.exp
12197 * gdb.mi/mi-syn-frame.exp
12198 * gdb.mi/mi-until.exp
12199 * gdb.mi/mi-var-block.exp
12200 * gdb.mi/mi-var-child.exp
12201 * gdb.mi/mi-var-cmd.exp
12202 * gdb.mi/mi-var-cp.exp
12203 * gdb.mi/mi-var-display.exp
12204 * gdb.mi/mi-var-invalidate.exp
12205 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12206 * gdb.mi/mi-vla-fortran.exp
12207 * gdb.mi/mi-watch.exp
12208 * gdb.mi/mi2-var-child.exp
12209 * gdb.mi/user-selected-context-sync.exp
12210 * gdb.modula2/unbounded-array.exp
12211 * gdb.multi/dummy-frame-restore.exp
12212 * gdb.multi/multi-arch-exec.exp
12213 * gdb.multi/multi-arch.exp
12214 * gdb.multi/tids.exp
12215 * gdb.multi/watchpoint-multi.exp
12216 * gdb.opencl/callfuncs.exp
12217 * gdb.opencl/convs_casts.exp
12218 * gdb.opencl/datatypes.exp
12219 * gdb.opencl/operators.exp
12220 * gdb.opencl/vec_comps.exp
12221 * gdb.opt/clobbered-registers-O2.exp
12222 * gdb.opt/inline-break.exp
12223 * gdb.opt/inline-bt.exp
12224 * gdb.opt/inline-cmds.exp
12225 * gdb.opt/inline-locals.exp
12226 * gdb.pascal/case-insensitive-symbols.exp
12227 * gdb.pascal/floats.exp
12228 * gdb.pascal/gdb11492.exp
12229 * gdb.python/lib-types.exp
12230 * gdb.python/py-arch.exp
12231 * gdb.python/py-as-string.exp
12232 * gdb.python/py-bad-printers.exp
12233 * gdb.python/py-block.exp
12234 * gdb.python/py-breakpoint-create-fail.exp
12235 * gdb.python/py-breakpoint.exp
12236 * gdb.python/py-caller-is.exp
12237 * gdb.python/py-cmd.exp
12238 * gdb.python/py-explore-cc.exp
12239 * gdb.python/py-explore.exp
12240 * gdb.python/py-finish-breakpoint.exp
12241 * gdb.python/py-finish-breakpoint2.exp
12242 * gdb.python/py-frame-args.exp
12243 * gdb.python/py-frame-inline.exp
12244 * gdb.python/py-frame.exp
12245 * gdb.python/py-framefilter-mi.exp
12246 * gdb.python/py-infthread.exp
12247 * gdb.python/py-lazy-string.exp
12248 * gdb.python/py-linetable.exp
12249 * gdb.python/py-mi-events.exp
12250 * gdb.python/py-mi-objfile.exp
12251 * gdb.python/py-mi.exp
12252 * gdb.python/py-objfile.exp
12253 * gdb.python/py-pp-integral.exp
12254 * gdb.python/py-pp-maint.exp
12255 * gdb.python/py-pp-re-notag.exp
12256 * gdb.python/py-pp-registration.exp
12257 * gdb.python/py-recurse-unwind.exp
12258 * gdb.python/py-strfns.exp
12259 * gdb.python/py-symbol.exp
12260 * gdb.python/py-symtab.exp
12261 * gdb.python/py-sync-interp.exp
12262 * gdb.python/py-typeprint.exp
12263 * gdb.python/py-unwind-maint.exp
12264 * gdb.python/py-unwind.exp
12265 * gdb.python/py-value-cc.exp
12266 * gdb.python/py-xmethods.exp
12267 * gdb.reverse/amd64-tailcall-reverse.exp
12268 * gdb.reverse/break-precsave.exp
12269 * gdb.reverse/break-reverse.exp
12270 * gdb.reverse/consecutive-precsave.exp
12271 * gdb.reverse/consecutive-reverse.exp
12272 * gdb.reverse/finish-precsave.exp
12273 * gdb.reverse/finish-reverse-bkpt.exp
12274 * gdb.reverse/finish-reverse.exp
12275 * gdb.reverse/fstatat-reverse.exp
12276 * gdb.reverse/getresuid-reverse.exp
12277 * gdb.reverse/i386-precsave.exp
12278 * gdb.reverse/i386-reverse.exp
12279 * gdb.reverse/i386-sse-reverse.exp
12280 * gdb.reverse/i387-env-reverse.exp
12281 * gdb.reverse/i387-stack-reverse.exp
12282 * gdb.reverse/insn-reverse.exp
12283 * gdb.reverse/machinestate-precsave.exp
12284 * gdb.reverse/machinestate.exp
12285 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12286 * gdb.reverse/pipe-reverse.exp
12287 * gdb.reverse/readv-reverse.exp
12288 * gdb.reverse/recvmsg-reverse.exp
12289 * gdb.reverse/rerun-prec.exp
12290 * gdb.reverse/s390-mvcle.exp
12291 * gdb.reverse/step-precsave.exp
12292 * gdb.reverse/step-reverse.exp
12293 * gdb.reverse/time-reverse.exp
12294 * gdb.reverse/until-precsave.exp
12295 * gdb.reverse/until-reverse.exp
12296 * gdb.reverse/waitpid-reverse.exp
12297 * gdb.reverse/watch-precsave.exp
12298 * gdb.reverse/watch-reverse.exp
12299 * gdb.rust/generics.exp
12300 * gdb.rust/methods.exp
12301 * gdb.rust/modules.exp
12302 * gdb.rust/simple.exp
12303 * gdb.server/connect-with-no-symbol-file.exp
12304 * gdb.server/ext-attach.exp
12305 * gdb.server/ext-restart.exp
12306 * gdb.server/ext-wrapper.exp
12307 * gdb.server/file-transfer.exp
12308 * gdb.server/server-exec-info.exp
12309 * gdb.server/server-kill.exp
12310 * gdb.server/server-mon.exp
12311 * gdb.server/wrapper.exp
12312 * gdb.stabs/exclfwd.exp
12313 * gdb.stabs/gdb11479.exp
12314 * gdb.threads/clone-new-thread-event.exp
12315 * gdb.threads/corethreads.exp
12316 * gdb.threads/current-lwp-dead.exp
12317 * gdb.threads/dlopen-libpthread.exp
12318 * gdb.threads/gcore-thread.exp
12319 * gdb.threads/sigstep-threads.exp
12320 * gdb.threads/watchpoint-fork.exp
12321 * gdb.trace/actions-changed.exp
12322 * gdb.trace/backtrace.exp
12323 * gdb.trace/change-loc.exp
12324 * gdb.trace/circ.exp
12325 * gdb.trace/collection.exp
12326 * gdb.trace/disconnected-tracing.exp
12327 * gdb.trace/ftrace.exp
12328 * gdb.trace/mi-trace-frame-collected.exp
12329 * gdb.trace/mi-trace-unavailable.exp
12330 * gdb.trace/mi-traceframe-changed.exp
12331 * gdb.trace/mi-tsv-changed.exp
12332 * gdb.trace/no-attach-trace.exp
12333 * gdb.trace/passc-dyn.exp
12334 * gdb.trace/qtro.exp
12335 * gdb.trace/range-stepping.exp
12336 * gdb.trace/read-memory.exp
12337 * gdb.trace/save-trace.exp
12338 * gdb.trace/signal.exp
12339 * gdb.trace/status-stop.exp
12340 * gdb.trace/tfile.exp
12341 * gdb.trace/trace-break.exp
12342 * gdb.trace/trace-buffer-size.exp
12343 * gdb.trace/trace-condition.exp
12344 * gdb.trace/tracefile-pseudo-reg.exp
12345 * gdb.trace/tstatus.exp
12346 * gdb.trace/unavailable.exp
12347 * gdb.trace/while-dyn.exp
12348 * gdb.trace/while-stepping.exp
12349
34c41c68
DE
123502016-12-22 Doug Evans <xdje42@gmail.com>
12351
12352 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12353 and msymbols.
12354
16e69324
YQ
123552016-12-19 Yao Qi <yao.qi@linaro.org>
12356
12357 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12358 (test_with_self): Don't call do_steps_and_nexts, and remove
12359 code about stepping into xmalloc.
12360
f94f411b
YQ
123612016-12-09 Yao Qi <yao.qi@linaro.org>
12362
12363 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12364
123652016-12-09 Yao Qi <yao.qi@linaro.org>
12366
12367 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12368
f1b5deee
PA
123692016-12-09 Pedro Alves <palves@redhat.com>
12370
12371 * gdb.base/all-architectures-0.exp: New file.
12372 * gdb.base/all-architectures-1.exp: New file.
12373 * gdb.base/all-architectures-2.exp: New file.
12374 * gdb.base/all-architectures-3.exp: New file.
12375 * gdb.base/all-architectures-4.exp: New file.
12376 * gdb.base/all-architectures-5.exp: New file.
12377 * gdb.base/all-architectures-6.exp: New file.
12378 * gdb.base/all-architectures-7.exp: New file.
12379 * gdb.base/all-architectures.exp.in: New file.
12380
364ca42e
YQ
123812016-12-09 Yao Qi <yao.qi@linaro.org>
12382
12383 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12384
107c2d62
LM
123852016-12-02 Luis Machado <lgustavo@codesourcery.com>
12386
12387 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12388 possible.
12389 Remove useless pattern-matching code.
12390
df3ee9ca
PA
123912016-12-02 Pedro Alves <palves@redhat.com>
12392
12393 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12394 procedure.
12395 (top level): Call it.
12396
ec835369
PA
123972016-12-02 Pedro Alves <palves@redhat.com>
12398
12399 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12400 New procedure.
12401 (top level): Call it.
12402
01770bbd
PA
124032016-12-02 Pedro Alves <palves@redhat.com>
12404
12405 PR cli/20559
12406 * gdb.base/commands.exp (user_defined_command_args_eval): New
12407 procedure.
12408 (top level): Call it.
12409
008459ea
LM
124102016-12-02 Luis Machado <lgustavo@codesourcery.com>
12411
12412 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12413 timeout handling.
12414
0c1b455e
TT
124152016-12-02 Tom Tromey <tom@tromey.com>
12416
12417 * gdb.dwarf2/main-subprogram.c: New file.
12418 * gdb.dwarf2/main-subprogram.exp: New file.
12419
018572b8
LM
124202016-12-01 Luis Machado <lgustavo@codesourcery.com>
12421
12422 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12423 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12424 gdb_test_no_output for a couple of cases.
12425 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12426
84c93cd5
LM
124272016-12-01 Luis Machado <lgustavo@codesourcery.com>
12428
12429 Fix test names and standardize compilation error messages throughout
12430 the following files:
12431
12432 * gdb.ada/start.exp
12433 * gdb.arch/alpha-step.exp
12434 * gdb.arch/e500-prologue.exp
12435 * gdb.arch/ftrace-insn-reloc.exp
12436 * gdb.arch/gdb1291.exp
12437 * gdb.arch/gdb1431.exp
12438 * gdb.arch/gdb1558.exp
12439 * gdb.arch/i386-dr3-watch.exp
12440 * gdb.arch/i386-sse-stack-align.exp
12441 * gdb.arch/ia64-breakpoint-shadow.exp
12442 * gdb.arch/pa-nullify.exp
12443 * gdb.arch/powerpc-aix-prologue.exp
12444 * gdb.arch/thumb-bx-pc.exp
12445 * gdb.base/annota1.exp
12446 * gdb.base/annota3.exp
12447 * gdb.base/arrayidx.exp
12448 * gdb.base/assign.exp
12449 * gdb.base/attach.exp
12450 * gdb.base/auxv.exp
12451 * gdb.base/bang.exp
12452 * gdb.base/bfp-test.exp
12453 * gdb.base/bigcore.exp
12454 * gdb.base/bitfields2.exp
12455 * gdb.base/break-fun-addr.exp
12456 * gdb.base/break-probes.exp
12457 * gdb.base/call-rt-st.exp
12458 * gdb.base/callexit.exp
12459 * gdb.base/catch-fork-kill.exp
12460 * gdb.base/charset.exp
12461 * gdb.base/checkpoint.exp
12462 * gdb.base/comprdebug.exp
12463 * gdb.base/constvars.exp
12464 * gdb.base/coredump-filter.exp
12465 * gdb.base/cursal.exp
12466 * gdb.base/cvexpr.exp
12467 * gdb.base/detach.exp
12468 * gdb.base/display.exp
12469 * gdb.base/dmsym.exp
12470 * gdb.base/dprintf-pending.exp
12471 * gdb.base/dso2dso.exp
12472 * gdb.base/dtrace-probe.exp
12473 * gdb.base/dump.exp
12474 * gdb.base/enum_cond.exp
12475 * gdb.base/exe-lock.exp
12476 * gdb.base/exec-invalid-sysroot.exp
12477 * gdb.base/execl-update-breakpoints.exp
12478 * gdb.base/exprs.exp
12479 * gdb.base/fileio.exp
12480 * gdb.base/find.exp
12481 * gdb.base/finish.exp
12482 * gdb.base/fixsection.exp
12483 * gdb.base/foll-vfork.exp
12484 * gdb.base/frame-args.exp
12485 * gdb.base/gcore.exp
12486 * gdb.base/gdb1250.exp
12487 * gdb.base/global-var-nested-by-dso.exp
12488 * gdb.base/gnu-ifunc.exp
12489 * gdb.base/hashline1.exp
12490 * gdb.base/hashline2.exp
12491 * gdb.base/hashline3.exp
12492 * gdb.base/hbreak-in-shr-unsupported.exp
12493 * gdb.base/huge.exp
12494 * gdb.base/infcall-input.exp
12495 * gdb.base/info-fun.exp
12496 * gdb.base/info-shared.exp
12497 * gdb.base/jit-simple.exp
12498 * gdb.base/jit-so.exp
12499 * gdb.base/jit.exp
12500 * gdb.base/jump.exp
12501 * gdb.base/label.exp
12502 * gdb.base/lineinc.exp
12503 * gdb.base/logical.exp
12504 * gdb.base/longjmp.exp
12505 * gdb.base/macscp.exp
12506 * gdb.base/miscexprs.exp
12507 * gdb.base/new-ui-echo.exp
12508 * gdb.base/new-ui-pending-input.exp
12509 * gdb.base/new-ui.exp
12510 * gdb.base/nodebug.exp
12511 * gdb.base/nofield.exp
12512 * gdb.base/offsets.exp
12513 * gdb.base/overlays.exp
12514 * gdb.base/pending.exp
12515 * gdb.base/pointers.exp
12516 * gdb.base/pr11022.exp
12517 * gdb.base/printcmds.exp
12518 * gdb.base/prologue.exp
12519 * gdb.base/ptr-typedef.exp
12520 * gdb.base/realname-expand.exp
12521 * gdb.base/relativedebug.exp
12522 * gdb.base/relocate.exp
12523 * gdb.base/remote.exp
12524 * gdb.base/reread.exp
12525 * gdb.base/return2.exp
12526 * gdb.base/savedregs.exp
12527 * gdb.base/sep.exp
12528 * gdb.base/sepdebug.exp
12529 * gdb.base/sepsymtab.exp
12530 * gdb.base/set-inferior-tty.exp
12531 * gdb.base/setshow.exp
12532 * gdb.base/shlib-call.exp
12533 * gdb.base/sigaltstack.exp
12534 * gdb.base/siginfo-addr.exp
12535 * gdb.base/signals.exp
12536 * gdb.base/signull.exp
12537 * gdb.base/sigrepeat.exp
12538 * gdb.base/so-impl-ld.exp
12539 * gdb.base/solib-display.exp
12540 * gdb.base/solib-overlap.exp
12541 * gdb.base/solib-search.exp
12542 * gdb.base/solib-symbol.exp
12543 * gdb.base/structs.exp
12544 * gdb.base/structs2.exp
12545 * gdb.base/symtab-search-order.exp
12546 * gdb.base/twice.exp
12547 * gdb.base/unload.exp
12548 * gdb.base/varargs.exp
12549 * gdb.base/watchpoint-solib.exp
12550 * gdb.base/watchpoint.exp
12551 * gdb.base/whatis.exp
12552 * gdb.base/wrong_frame_bt_full.exp
12553 * gdb.btrace/dlopen.exp
12554 * gdb.cell/ea-standalone.exp
12555 * gdb.cell/ea-test.exp
12556 * gdb.cp/dispcxx.exp
12557 * gdb.cp/gdb2384.exp
12558 * gdb.cp/method2.exp
12559 * gdb.cp/nextoverthrow.exp
12560 * gdb.cp/pr10728.exp
12561 * gdb.disasm/am33.exp
12562 * gdb.disasm/h8300s.exp
12563 * gdb.disasm/mn10300.exp
12564 * gdb.disasm/sh3.exp
12565 * gdb.dwarf2/dw2-dir-file-name.exp
12566 * gdb.fortran/complex.exp
12567 * gdb.fortran/library-module.exp
12568 * gdb.guile/scm-pretty-print.exp
12569 * gdb.guile/scm-symbol.exp
12570 * gdb.guile/scm-type.exp
12571 * gdb.guile/scm-value.exp
12572 * gdb.linespec/linespec.exp
12573 * gdb.mi/gdb701.exp
12574 * gdb.mi/gdb792.exp
12575 * gdb.mi/mi-breakpoint-changed.exp
12576 * gdb.mi/mi-dprintf-pending.exp
12577 * gdb.mi/mi-dprintf.exp
12578 * gdb.mi/mi-exit-code.exp
12579 * gdb.mi/mi-pending.exp
12580 * gdb.mi/mi-solib.exp
12581 * gdb.mi/new-ui-mi-sync.exp
12582 * gdb.mi/pr11022.exp
12583 * gdb.mi/user-selected-context-sync.exp
12584 * gdb.opt/solib-intra-step.exp
12585 * gdb.python/py-events.exp
12586 * gdb.python/py-finish-breakpoint.exp
12587 * gdb.python/py-mi.exp
12588 * gdb.python/py-prettyprint.exp
12589 * gdb.python/py-shared.exp
12590 * gdb.python/py-symbol.exp
12591 * gdb.python/py-template.exp
12592 * gdb.python/py-type.exp
12593 * gdb.python/py-value.exp
12594 * gdb.reverse/solib-precsave.exp
12595 * gdb.reverse/solib-reverse.exp
12596 * gdb.server/solib-list.exp
12597 * gdb.stabs/weird.exp
12598 * gdb.threads/reconnect-signal.exp
12599 * gdb.threads/stepi-random-signal.exp
12600 * gdb.trace/actions.exp
12601 * gdb.trace/ax.exp
12602 * gdb.trace/backtrace.exp
12603 * gdb.trace/change-loc.exp
12604 * gdb.trace/deltrace.exp
12605 * gdb.trace/ftrace-lock.exp
12606 * gdb.trace/ftrace.exp
12607 * gdb.trace/infotrace.exp
12608 * gdb.trace/mi-tracepoint-changed.exp
12609 * gdb.trace/packetlen.exp
12610 * gdb.trace/passcount.exp
12611 * gdb.trace/pending.exp
12612 * gdb.trace/range-stepping.exp
12613 * gdb.trace/report.exp
12614 * gdb.trace/stap-trace.exp
12615 * gdb.trace/tfind.exp
12616 * gdb.trace/trace-break.exp
12617 * gdb.trace/trace-condition.exp
12618 * gdb.trace/trace-enable-disable.exp
12619 * gdb.trace/trace-mt.exp
12620 * gdb.trace/tracecmd.exp
12621 * gdb.trace/tspeed.exp
12622 * gdb.trace/tsv.exp
12623 * lib/perftest.exp
12624
fb9feb35
LM
126252016-12-01 Luis Machado <lgustavo@codesourcery.com>
12626
12627 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12628 with gdb_test_no_output.
12629 Use command as test name.
12630
cd2ddb6c
LM
126312016-12-01 Luis Machado <lgustavo@codesourcery.com>
12632
12633 Fix test names starting with uppercase throughout the files.
12634
12635 * gdb.ada/assign_1.exp
12636 * gdb.ada/boolean_expr.exp
12637 * gdb.base/arrayidx.exp
12638 * gdb.base/del.exp
12639 * gdb.base/gcore-buffer-overflow.exp
12640 * gdb.base/testenv.exp
12641 * gdb.compile/compile.exp
12642 * gdb.python/py-framefilter-invalidarg.exp
12643 * gdb.python/py-framefilter.exp
12644
bb95117e
LM
126452016-12-01 Luis Machado <lgustavo@codesourcery.com>
12646
12647 Fix test names starting with uppercase throughout the files.
12648
12649 * gdb.ada/array_return.exp
12650 * gdb.ada/expr_delims.exp
12651 * gdb.ada/mi_dyn_arr.exp
12652 * gdb.ada/mi_interface.exp
12653 * gdb.ada/mi_var_array.exp
12654 * gdb.ada/watch_arg.exp
12655 * gdb.arch/alpha-step.exp
12656 * gdb.arch/altivec-regs.exp
12657 * gdb.arch/e500-regs.exp
12658 * gdb.arch/powerpc-d128-regs.exp
12659 * gdb.base/arrayidx.exp
12660 * gdb.base/break.exp
12661 * gdb.base/checkpoint.exp
12662 * gdb.base/debug-expr.exp
12663 * gdb.base/dmsym.exp
12664 * gdb.base/radix.exp
12665 * gdb.base/sepdebug.exp
12666 * gdb.base/testenv.exp
12667 * gdb.base/watch_thread_num.exp
12668 * gdb.base/watchpoint-cond-gone.exp
12669 * gdb.cell/break.exp
12670 * gdb.cell/ea-cache.exp
12671 * gdb.compile/compile.exp
12672 * gdb.cp/gdb2495.exp
12673 * gdb.gdb/selftest.exp
12674 * gdb.gdb/xfullpath.exp
12675 * gdb.go/hello.exp
12676 * gdb.go/integers.exp
12677 * gdb.objc/basicclass.exp
12678 * gdb.pascal/hello.exp
12679 * gdb.pascal/integers.exp
12680 * gdb.python/py-breakpoint.exp
12681 * gdb.python/py-cmd.exp
12682 * gdb.python/py-linetable.exp
12683 * gdb.python/py-xmethods.exp
12684 * gdb.python/python.exp
12685 * gdb.reverse/consecutive-precsave.exp
12686 * gdb.reverse/finish-precsave.exp
12687 * gdb.reverse/i386-precsave.exp
12688 * gdb.reverse/machinestate-precsave.exp
12689 * gdb.reverse/sigall-precsave.exp
12690 * gdb.reverse/solib-precsave.exp
12691 * gdb.reverse/step-precsave.exp
12692 * gdb.reverse/until-precsave.exp
12693 * gdb.reverse/watch-precsave.exp
12694 * gdb.threads/leader-exit.exp
12695 * gdb.threads/pthreads.exp
12696 * gdb.threads/wp-replication.exp
12697 * gdb.trace/actions.exp
12698 * gdb.trace/mi-tsv-changed.exp
12699 * gdb.trace/tsv.exp
12700
de97fdd4
LM
127012016-12-01 Luis Machado <lgustavo@codesourcery.com>
12702
12703 Fix test names starting with uppercase throughout the files.
12704
12705 * gdb.arch/i386-bp_permanent.exp
12706 * gdb.arch/i386-gnu-cfi.exp
12707 * gdb.base/disasm-end-cu.exp
12708 * gdb.base/macscp.exp
12709 * gdb.base/pending.exp
12710 * gdb.base/watch_thread_num.exp
12711 * gdb.cp/exception.exp
12712 * gdb.cp/gdb2495.exp
12713 * gdb.cp/local.exp
12714 * gdb.python/py-evsignal.exp
12715 * gdb.python/python.exp
12716 * gdb.trace/tracecmd.exp
12717
9f058c10
LM
127182016-12-01 Luis Machado <lgustavo@codesourcery.com>
12719
12720 Fix test names starting with uppercase throughout the files.
12721
12722 * gdb.base/charset.exp
12723 * gdb.base/eval.exp
12724 * gdb.base/multi-forks.exp
12725 * gdb.guile/scm-progspace.exp
12726 * gdb.opencl/datatypes.exp
12727 * gdb.python/py-block.exp
12728 * gdb.python/py-function.exp
12729 * gdb.python/py-symbol.exp
12730 * gdb.python/py-symtab.exp
12731 * gdb.python/py-xmethods.exp
12732 * gdb.reverse/break-precsave.exp
12733 * gdb.reverse/break-reverse.exp
12734 * gdb.reverse/consecutive-precsave.exp
12735 * gdb.reverse/consecutive-reverse.exp
12736 * gdb.reverse/finish-precsave.exp
12737 * gdb.reverse/finish-reverse-bkpt.exp
12738 * gdb.reverse/finish-reverse.exp
12739 * gdb.reverse/fstatat-reverse.exp
12740 * gdb.reverse/getresuid-reverse.exp
12741 * gdb.reverse/i386-precsave.exp
12742 * gdb.reverse/i386-reverse.exp
12743 * gdb.reverse/i386-sse-reverse.exp
12744 * gdb.reverse/i387-stack-reverse.exp
12745 * gdb.reverse/insn-reverse.exp
12746 * gdb.reverse/machinestate-precsave.exp
12747 * gdb.reverse/machinestate.exp
12748 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12749 * gdb.reverse/pipe-reverse.exp
12750 * gdb.reverse/readv-reverse.exp
12751 * gdb.reverse/recvmsg-reverse.exp
12752 * gdb.reverse/rerun-prec.exp
12753 * gdb.reverse/s390-mvcle.exp
12754 * gdb.reverse/sigall-precsave.exp
12755 * gdb.reverse/sigall-reverse.exp
12756 * gdb.reverse/solib-precsave.exp
12757 * gdb.reverse/solib-reverse.exp
12758 * gdb.reverse/step-precsave.exp
12759 * gdb.reverse/step-reverse.exp
12760 * gdb.reverse/time-reverse.exp
12761 * gdb.reverse/until-precsave.exp
12762 * gdb.reverse/until-reverse.exp
12763 * gdb.reverse/waitpid-reverse.exp
12764 * gdb.reverse/watch-precsave.exp
12765 * gdb.reverse/watch-reverse.exp
12766
cdc7edd7
LM
127672016-12-01 Luis Machado <lgustavo@codesourcery.com>
12768
12769 Fix test names starting with uppercase throughout the files.
12770
12771 * gdb.arch/i386-mpx-simple_segv.exp
12772 * gdb.arch/i386-mpx.exp
12773 * gdb.arch/i386-permbkpt.exp
12774 * gdb.arch/pa-nullify.exp
12775 * gdb.arch/powerpc-d128-regs.exp
12776 * gdb.arch/vsx-regs.exp
12777 * gdb.base/bfp-test.exp
12778 * gdb.base/break.exp
12779 * gdb.base/breakpoint-shadow.exp
12780 * gdb.base/callfuncs.exp
12781 * gdb.base/charset.exp
12782 * gdb.base/commands.exp
12783 * gdb.base/completion.exp
12784 * gdb.base/dfp-test.exp
12785 * gdb.base/echo.exp
12786 * gdb.base/ending-run.exp
12787 * gdb.base/eval.exp
12788 * gdb.base/expand-psymtabs.exp
12789 * gdb.base/float128.exp
12790 * gdb.base/floatn.exp
12791 * gdb.base/foll-exec-mode.exp
12792 * gdb.base/gdb1056.exp
12793 * gdb.base/gdb11531.exp
12794 * gdb.base/kill-after-signal.exp
12795 * gdb.base/multi-forks.exp
12796 * gdb.base/overlays.exp
12797 * gdb.base/pending.exp
12798 * gdb.base/sepdebug.exp
12799 * gdb.base/testenv.exp
12800 * gdb.base/valgrind-db-attach.exp
12801 * gdb.base/watch_thread_num.exp
12802 * gdb.base/watchpoint-cond-gone.exp
12803 * gdb.base/watchpoint.exp
12804 * gdb.base/watchpoints.exp
12805 * gdb.cp/arg-reference.exp
12806 * gdb.cp/baseenum.exp
12807 * gdb.cp/operator.exp
12808 * gdb.cp/shadow.exp
12809 * gdb.dwarf2/dw2-op-out-param.exp
12810 * gdb.dwarf2/dw2-reg-undefined.exp
12811 * gdb.go/chan.exp
12812 * gdb.go/hello.exp
12813 * gdb.go/integers.exp
12814 * gdb.go/methods.exp
12815 * gdb.go/package.exp
12816 * gdb.guile/scm-parameter.exp
12817 * gdb.guile/scm-progspace.exp
12818 * gdb.guile/scm-value.exp
12819 * gdb.mi/mi-pending.exp
12820 * gdb.mi/user-selected-context-sync.exp
12821 * gdb.multi/multi-attach.exp
12822 * gdb.multi/tids.exp
12823 * gdb.opt/clobbered-registers-O2.exp
12824 * gdb.pascal/floats.exp
12825 * gdb.pascal/integers.exp
12826 * gdb.python/py-block.exp
12827 * gdb.python/py-events.exp
12828 * gdb.python/py-parameter.exp
12829 * gdb.python/py-symbol.exp
12830 * gdb.python/py-symtab.exp
12831 * gdb.python/py-type.exp
12832 * gdb.python/py-value.exp
12833 * gdb.python/py-xmethods.exp
12834 * gdb.python/python.exp
12835 * gdb.reverse/break-precsave.exp
12836 * gdb.reverse/consecutive-precsave.exp
12837 * gdb.reverse/finish-precsave.exp
12838 * gdb.reverse/i386-precsave.exp
12839 * gdb.reverse/machinestate-precsave.exp
12840 * gdb.reverse/sigall-precsave.exp
12841 * gdb.reverse/solib-precsave.exp
12842 * gdb.reverse/step-precsave.exp
12843 * gdb.reverse/until-precsave.exp
12844 * gdb.reverse/watch-precsave.exp
12845 * gdb.server/ext-attach.exp
12846 * gdb.server/ext-restart.exp
12847 * gdb.server/ext-run.exp
12848 * gdb.server/ext-wrapper.exp
12849 * gdb.stabs/gdb11479.exp
12850 * gdb.stabs/weird.exp
12851 * gdb.threads/attach-many-short-lived-threads.exp
12852 * gdb.threads/kill.exp
12853 * gdb.threads/watchpoint-fork.exp
12854
bc6c7af4
LM
128552016-12-01 Luis Machado <lgustavo@codesourcery.com>
12856
12857 Fix test names starting with uppercase throughout all the files below.
12858
12859 * gdb.ada/array_return.exp
12860 * gdb.ada/catch_ex.exp
12861 * gdb.ada/info_exc.exp
12862 * gdb.ada/mi_catch_ex.exp
12863 * gdb.ada/mi_dyn_arr.exp
12864 * gdb.ada/mi_ex_cond.exp
12865 * gdb.ada/mi_exc_info.exp
12866 * gdb.ada/mi_interface.exp
12867 * gdb.ada/mi_task_arg.exp
12868 * gdb.ada/mi_task_info.exp
12869 * gdb.ada/mi_var_array.exp
12870 * gdb.arch/alpha-step.exp
12871 * gdb.arch/amd64-disp-step.exp
12872 * gdb.arch/arm-disp-step.exp
12873 * gdb.arch/disp-step-insn-reloc.exp
12874 * gdb.arch/e500-prologue.exp
12875 * gdb.arch/ftrace-insn-reloc.exp
12876 * gdb.arch/gdb1558.exp
12877 * gdb.arch/i386-bp_permanent.exp
12878 * gdb.arch/i386-disp-step.exp
12879 * gdb.arch/i386-float.exp
12880 * gdb.arch/i386-gnu-cfi.exp
12881 * gdb.arch/ia64-breakpoint-shadow.exp
12882 * gdb.arch/mips16-thunks.exp
12883 * gdb.arch/pa-nullify.exp
12884 * gdb.arch/powerpc-aix-prologue.exp
12885 * gdb.arch/powerpc-power.exp
12886 * gdb.arch/ppc-dfp.exp
12887 * gdb.arch/s390-tdbregs.exp
12888 * gdb.arch/spu-info.exp
12889 * gdb.arch/spu-ls.exp
12890 * gdb.arch/thumb-bx-pc.exp
12891 * gdb.base/advance.exp
12892 * gdb.base/annota-input-while-running.exp
12893 * gdb.base/arrayidx.exp
12894 * gdb.base/asmlabel.exp
12895 * gdb.base/async.exp
12896 * gdb.base/attach-wait-input.exp
12897 * gdb.base/auto-connect-native-target.exp
12898 * gdb.base/batch-preserve-term-settings.exp
12899 * gdb.base/bfp-test.exp
12900 * gdb.base/bigcore.exp
12901 * gdb.base/bp-permanent.exp
12902 * gdb.base/break-always.exp
12903 * gdb.base/break-fun-addr.exp
12904 * gdb.base/break-idempotent.exp
12905 * gdb.base/break-main-file-remove-fail.exp
12906 * gdb.base/break-probes.exp
12907 * gdb.base/break-unload-file.exp
12908 * gdb.base/break.exp
12909 * gdb.base/call-ar-st.exp
12910 * gdb.base/call-rt-st.exp
12911 * gdb.base/call-sc.exp
12912 * gdb.base/call-signal-resume.exp
12913 * gdb.base/call-strs.exp
12914 * gdb.base/callexit.exp
12915 * gdb.base/callfuncs.exp
12916 * gdb.base/catch-gdb-caused-signals.exp
12917 * gdb.base/catch-signal-siginfo-cond.exp
12918 * gdb.base/catch-syscall.exp
12919 * gdb.base/compare-sections.exp
12920 * gdb.base/cond-eval-mode.exp
12921 * gdb.base/condbreak-call-false.exp
12922 * gdb.base/consecutive-step-over.exp
12923 * gdb.base/cursal.exp
12924 * gdb.base/disabled-location.exp
12925 * gdb.base/disasm-end-cu.exp
12926 * gdb.base/display.exp
12927 * gdb.base/double-prompt-target-event-error.exp
12928 * gdb.base/dprintf-bp-same-addr.exp
12929 * gdb.base/dprintf-detach.exp
12930 * gdb.base/dprintf-next.exp
12931 * gdb.base/dprintf-non-stop.exp
12932 * gdb.base/dprintf-pending.exp
12933 * gdb.base/dso2dso.exp
12934 * gdb.base/ending-run.exp
12935 * gdb.base/enum_cond.exp
12936 * gdb.base/examine-backward.exp
12937 * gdb.base/exe-lock.exp
12938 * gdb.base/exec-invalid-sysroot.exp
12939 * gdb.base/execl-update-breakpoints.exp
12940 * gdb.base/execution-termios.exp
12941 * gdb.base/fileio.exp
12942 * gdb.base/fixsection.exp
12943 * gdb.base/foll-exec-mode.exp
12944 * gdb.base/foll-exec.exp
12945 * gdb.base/fork-running-state.exp
12946 * gdb.base/frame-args.exp
12947 * gdb.base/fullpath-expand.exp
12948 * gdb.base/func-ptr.exp
12949 * gdb.base/gcore-relro-pie.exp
12950 * gdb.base/gdb1090.exp
12951 * gdb.base/gdb1555.exp
12952 * gdb.base/global-var-nested-by-dso.exp
12953 * gdb.base/gnu-ifunc.exp
12954 * gdb.base/hbreak-in-shr-unsupported.exp
12955 * gdb.base/hbreak-unmapped.exp
12956 * gdb.base/hook-stop.exp
12957 * gdb.base/infcall-input.exp
12958 * gdb.base/info-fun.exp
12959 * gdb.base/info-shared.exp
12960 * gdb.base/interrupt-noterm.exp
12961 * gdb.base/jit-so.exp
12962 * gdb.base/jit.exp
12963 * gdb.base/line-symtabs.exp
12964 * gdb.base/list.exp
12965 * gdb.base/longjmp.exp
12966 * gdb.base/macscp.exp
12967 * gdb.base/max-value-size.exp
12968 * gdb.base/nodebug.exp
12969 * gdb.base/nofield.exp
12970 * gdb.base/overlays.exp
12971 * gdb.base/paginate-after-ctrl-c-running.exp
12972 * gdb.base/paginate-bg-execution.exp
12973 * gdb.base/paginate-inferior-exit.exp
12974 * gdb.base/pending.exp
12975 * gdb.base/pr11022.exp
12976 * gdb.base/printcmds.exp
12977 * gdb.base/ptr-typedef.exp
12978 * gdb.base/ptype.exp
12979 * gdb.base/randomize.exp
12980 * gdb.base/range-stepping.exp
12981 * gdb.base/realname-expand.exp
12982 * gdb.base/relativedebug.exp
12983 * gdb.base/remote.exp
12984 * gdb.base/savedregs.exp
12985 * gdb.base/sepdebug.exp
12986 * gdb.base/set-noassign.exp
12987 * gdb.base/shlib-call.exp
12988 * gdb.base/shreloc.exp
12989 * gdb.base/sigaltstack.exp
12990 * gdb.base/sigbpt.exp
12991 * gdb.base/siginfo-addr.exp
12992 * gdb.base/siginfo-obj.exp
12993 * gdb.base/siginfo-thread.exp
12994 * gdb.base/signest.exp
12995 * gdb.base/signull.exp
12996 * gdb.base/sigrepeat.exp
12997 * gdb.base/skip.exp
12998 * gdb.base/so-impl-ld.exp
12999 * gdb.base/solib-corrupted.exp
13000 * gdb.base/solib-disc.exp
13001 * gdb.base/solib-display.exp
13002 * gdb.base/solib-overlap.exp
13003 * gdb.base/solib-search.exp
13004 * gdb.base/solib-symbol.exp
13005 * gdb.base/source-execution.exp
13006 * gdb.base/sss-bp-on-user-bp-2.exp
13007 * gdb.base/sss-bp-on-user-bp.exp
13008 * gdb.base/stack-checking.exp
13009 * gdb.base/stale-infcall.exp
13010 * gdb.base/step-break.exp
13011 * gdb.base/step-line.exp
13012 * gdb.base/step-over-exit.exp
13013 * gdb.base/step-test.exp
13014 * gdb.base/structs.exp
13015 * gdb.base/sym-file.exp
13016 * gdb.base/symtab-search-order.exp
13017 * gdb.base/term.exp
13018 * gdb.base/type-opaque.exp
13019 * gdb.base/unload.exp
13020 * gdb.base/until-nodebug.exp
13021 * gdb.base/until.exp
13022 * gdb.base/unwindonsignal.exp
13023 * gdb.base/watch-cond.exp
13024 * gdb.base/watch-non-mem.exp
13025 * gdb.base/watch_thread_num.exp
13026 * gdb.base/watchpoint-reuse-slot.exp
13027 * gdb.base/watchpoint-solib.exp
13028 * gdb.base/watchpoint.exp
13029 * gdb.btrace/dlopen.exp
13030 * gdb.cell/arch.exp
13031 * gdb.cell/break.exp
13032 * gdb.cell/bt.exp
13033 * gdb.cell/core.exp
13034 * gdb.cell/data.exp
13035 * gdb.cell/dwarfaddr.exp
13036 * gdb.cell/ea-cache.exp
13037 * gdb.cell/ea-standalone.exp
13038 * gdb.cell/ea-test.exp
13039 * gdb.cell/f-regs.exp
13040 * gdb.cell/fork.exp
13041 * gdb.cell/gcore.exp
13042 * gdb.cell/mem-access.exp
13043 * gdb.cell/ptype.exp
13044 * gdb.cell/registers.exp
13045 * gdb.cell/sizeof.exp
13046 * gdb.cell/solib-symbol.exp
13047 * gdb.cell/solib.exp
13048 * gdb.compile/compile-tls.exp
13049 * gdb.cp/exception.exp
13050 * gdb.cp/gdb2495.exp
13051 * gdb.cp/local.exp
13052 * gdb.cp/mb-inline.exp
13053 * gdb.cp/mb-templates.exp
13054 * gdb.cp/pr10687.exp
13055 * gdb.cp/pr9167.exp
13056 * gdb.cp/scope-err.exp
13057 * gdb.cp/templates.exp
13058 * gdb.cp/virtfunc.exp
13059 * gdb.dwarf2/dw2-dir-file-name.exp
13060 * gdb.dwarf2/dw2-single-line-discriminators.exp
13061 * gdb.fortran/complex.exp
13062 * gdb.fortran/library-module.exp
13063 * gdb.guile/guile.exp
13064 * gdb.guile/scm-cmd.exp
13065 * gdb.guile/scm-frame-inline.exp
13066 * gdb.guile/scm-objfile.exp
13067 * gdb.guile/scm-pretty-print.exp
13068 * gdb.guile/scm-symbol.exp
13069 * gdb.guile/scm-type.exp
13070 * gdb.guile/scm-value.exp
13071 * gdb.linespec/keywords.exp
13072 * gdb.linespec/ls-errs.exp
13073 * gdb.linespec/macro-relative.exp
13074 * gdb.linespec/thread.exp
13075 * gdb.mi/mi-breakpoint-changed.exp
13076 * gdb.mi/mi-dprintf-pending.exp
13077 * gdb.mi/mi-fullname-deleted.exp
13078 * gdb.mi/mi-logging.exp
13079 * gdb.mi/mi-pending.exp
13080 * gdb.mi/mi-solib.exp
13081 * gdb.mi/new-ui-mi-sync.exp
13082 * gdb.mi/user-selected-context-sync.exp
13083 * gdb.multi/dummy-frame-restore.exp
13084 * gdb.multi/multi-arch-exec.exp
13085 * gdb.multi/remove-inferiors.exp
13086 * gdb.multi/watchpoint-multi-exit.exp
13087 * gdb.opt/solib-intra-step.exp
13088 * gdb.perf/backtrace.exp
13089 * gdb.perf/single-step.exp
13090 * gdb.perf/skip-command.exp
13091 * gdb.perf/skip-prologue.exp
13092 * gdb.perf/solib.exp
13093 * gdb.python/lib-types.exp
13094 * gdb.python/py-as-string.exp
13095 * gdb.python/py-bad-printers.exp
13096 * gdb.python/py-block.exp
13097 * gdb.python/py-breakpoint.exp
13098 * gdb.python/py-cmd.exp
13099 * gdb.python/py-events.exp
13100 * gdb.python/py-evthreads.exp
13101 * gdb.python/py-finish-breakpoint.exp
13102 * gdb.python/py-finish-breakpoint2.exp
13103 * gdb.python/py-frame-inline.exp
13104 * gdb.python/py-frame.exp
13105 * gdb.python/py-inferior.exp
13106 * gdb.python/py-infthread.exp
13107 * gdb.python/py-mi.exp
13108 * gdb.python/py-objfile.exp
13109 * gdb.python/py-pp-maint.exp
13110 * gdb.python/py-pp-registration.exp
13111 * gdb.python/py-prettyprint.exp
13112 * gdb.python/py-recurse-unwind.exp
13113 * gdb.python/py-shared.exp
13114 * gdb.python/py-symbol.exp
13115 * gdb.python/py-symtab.exp
13116 * gdb.python/py-template.exp
13117 * gdb.python/py-type.exp
13118 * gdb.python/py-unwind-maint.exp
13119 * gdb.python/py-unwind.exp
13120 * gdb.python/py-value.exp
13121 * gdb.python/python.exp
13122 * gdb.reverse/finish-reverse-bkpt.exp
13123 * gdb.reverse/insn-reverse.exp
13124 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13125 * gdb.reverse/solib-precsave.exp
13126 * gdb.reverse/solib-reverse.exp
13127 * gdb.stabs/gdb11479.exp
13128 * gdb.stabs/weird.exp
13129 * gdb.threads/fork-child-threads.exp
13130 * gdb.threads/fork-plus-threads.exp
13131 * gdb.threads/fork-thread-pending.exp
13132 * gdb.threads/forking-threads-plus-breakpoint.exp
13133 * gdb.threads/hand-call-in-threads.exp
13134 * gdb.threads/interrupted-hand-call.exp
13135 * gdb.threads/linux-dp.exp
13136 * gdb.threads/local-watch-wrong-thread.exp
13137 * gdb.threads/next-while-other-thread-longjmps.exp
13138 * gdb.threads/non-ldr-exit.exp
13139 * gdb.threads/pending-step.exp
13140 * gdb.threads/print-threads.exp
13141 * gdb.threads/process-dies-while-detaching.exp
13142 * gdb.threads/process-dies-while-handling-bp.exp
13143 * gdb.threads/pthreads.exp
13144 * gdb.threads/queue-signal.exp
13145 * gdb.threads/reconnect-signal.exp
13146 * gdb.threads/signal-command-handle-nopass.exp
13147 * gdb.threads/signal-command-multiple-signals-pending.exp
13148 * gdb.threads/signal-delivered-right-thread.exp
13149 * gdb.threads/signal-sigtrap.exp
13150 * gdb.threads/sigthread.exp
13151 * gdb.threads/staticthreads.exp
13152 * gdb.threads/stepi-random-signal.exp
13153 * gdb.threads/thread-unwindonsignal.exp
13154 * gdb.threads/thread_check.exp
13155 * gdb.threads/thread_events.exp
13156 * gdb.threads/tid-reuse.exp
13157 * gdb.threads/tls-nodebug.exp
13158 * gdb.threads/tls-shared.exp
13159 * gdb.threads/tls-so_extern.exp
13160 * gdb.threads/tls.exp
13161 * gdb.threads/wp-replication.exp
13162 * gdb.trace/actions-changed.exp
13163 * gdb.trace/actions.exp
13164 * gdb.trace/backtrace.exp
13165 * gdb.trace/change-loc.exp
13166 * gdb.trace/collection.exp
13167 * gdb.trace/deltrace.exp
13168 * gdb.trace/disconnected-tracing.exp
13169 * gdb.trace/entry-values.exp
13170 * gdb.trace/ftrace-lock.exp
13171 * gdb.trace/ftrace.exp
13172 * gdb.trace/infotrace.exp
13173 * gdb.trace/mi-trace-frame-collected.exp
13174 * gdb.trace/mi-trace-unavailable.exp
13175 * gdb.trace/mi-traceframe-changed.exp
13176 * gdb.trace/mi-tracepoint-changed.exp
13177 * gdb.trace/mi-tsv-changed.exp
13178 * gdb.trace/no-attach-trace.exp
13179 * gdb.trace/packetlen.exp
13180 * gdb.trace/passc-dyn.exp
13181 * gdb.trace/passcount.exp
13182 * gdb.trace/pending.exp
13183 * gdb.trace/pr16508.exp
13184 * gdb.trace/qtro.exp
13185 * gdb.trace/range-stepping.exp
13186 * gdb.trace/read-memory.exp
13187 * gdb.trace/report.exp
13188 * gdb.trace/save-trace.exp
13189 * gdb.trace/signal.exp
13190 * gdb.trace/stap-trace.exp
13191 * gdb.trace/status-stop.exp
13192 * gdb.trace/strace.exp
13193 * gdb.trace/tfile.exp
13194 * gdb.trace/tfind.exp
13195 * gdb.trace/trace-break.exp
13196 * gdb.trace/trace-condition.exp
13197 * gdb.trace/trace-enable-disable.exp
13198 * gdb.trace/trace-mt.exp
13199 * gdb.trace/tracecmd.exp
13200 * gdb.trace/tracefile-pseudo-reg.exp
13201 * gdb.trace/tspeed.exp
13202 * gdb.trace/tstatus.exp
13203 * gdb.trace/tsv.exp
13204 * gdb.trace/unavailable.exp
13205 * gdb.trace/while-dyn.exp
13206 * gdb.trace/while-stepping.exp
13207 * lib/gdb-guile.exp
13208 * lib/gdb.exp
13209 * lib/mi-support.exp
13210 * lib/pascal.exp
13211 * lib/perftest.exp
13212 * lib/prelink-support.exp
13213 * lib/selftest-support.exp
13214
ad02e4fe
SM
132152016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13216
13217 * Makefile.in: Include disable-implicit-rules.mk.
13218
22347e55
AA
132192016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13220
13221 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13222 non-byte-aligned bit fields.
13223
da5b30da
AA
132242016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13225
13226 PR gdb/12616
13227 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13228 respects the DW_AT_data_bit_offset attribute.
13229
b593ecca
SM
132302016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13231
13232 * gdb.base/default.exp: Fix output of "set language".
13233
3b165252
SM
132342016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13235
13236 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13237 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13238 make.
13239 * configure.ac: Remove checks for the make program.
13240 * configure: Re-generate.
13241
1a2f3d7f
KB
132422016-11-16 Kevin Buettner <kevinb@redhat.com>
13243
13244 * gdb.python/py-recurse-unwind.c (main): Add loop.
13245 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13246 to read_register() and gdb.parse_and_eval(). Make each code
13247 call a separate case that can be individually tested.
13248 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
13249 proc. Call cont_and_backtrace for each of the code paths that
13250 we want to test in the unwinder.
13251
b7f38fda
AA
132522016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13253
13254 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13255 the definition of struct S.
13256
1f8db343
CM
132572016-11-11 Catherine Moore <clm@codesourcery.com>
13258
13259 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13260
fad0c9fb
PA
132612016-11-09 Pedro Alves <palves@redhat.com>
13262
13263 * gdb.base/commands.exp (runto_or_return): New procedure.
13264 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13265 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13266 (progvar_simple_while_test, progvar_complex_if_while_test)
13267 (if_while_breakpoint_command_test)
13268 (infrun_breakpoint_command_test, breakpoint_command_test)
13269 (user_defined_command_test, watchpoint_command_test)
13270 (test_command_prompt_position, redefine_hook_test)
13271 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13272 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13273 multi_line_input and multi_line. Remove gdb_expect and
13274 gdb_stop_suppressing_tests uses.
13275 * lib/gdb.exp (valnum_re): New global.
13276 (multi_line_input): New procedure.
13277
8354c62c
SM
132782016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13279
13280 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13281 Remove.
13282 (test_setup): Define with proc_with_prefix.
13283 (test_cli_inferior): Likewise.
13284 (test_cli_thread): Likewise.
13285 (test_cli_frame): Likewise.
13286 (test_cli_select_frame): Likewise.
13287 (test_cli_up_down): Likewise.
13288 (test_mi_thread_select): Likewise.
13289 (test_mi_stack_select_frame): Likewise.
13290 (test_cli_in_mi_inferior): Likewise.
13291 (test_cli_in_mi_thread): Likewise.
13292 (test_cli_in_mi_frame): Likewise.
13293 (top level): Do not use with_test_prefix_procname.
13294
64f367a2
PA
132952016-11-09 Pedro Alves <palves@redhat.com>
13296
13297 * gdb.base/commands.exp (gdbvar_simple_if_test)
13298 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13299 (progvar_simple_if_test, progvar_simple_while_test)
13300 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13301 (infrun_breakpoint_command_test, breakpoint_command_test)
13302 (user_defined_command_test, watchpoint_command_test)
13303 (test_command_prompt_position, deprecated_command_test)
13304 (bp_deleted_in_command, temporary_breakpoint_commands)
13305 (stray_arg0_test, source_file_with_indented_comment)
13306 (recursive_source_test, if_commands_test)
13307 (error_clears_commands_left, redefine_hook_test)
13308 (redefine_backtrace_test): Use proc_with_prefix.
13309 * lib/gdb.exp (proc_with_prefix): New proc.
13310
0bb65f1e
AA
133112016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13312
13313 * gdb.base/tui-layout.c: New file.
13314 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13315 disassembly window contains very long lines.
13316
7353f247
TT
133172016-11-08 Tom Tromey <tom@tromey.com>
13318
13319 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13320 depend on Python 2.
13321
30a7bb83
TT
133222016-11-08 Tom Tromey <tom@tromey.com>
13323
13324 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13325 New method.
13326
cdf5a07c
MG
133272016-10-29 Manish Goregaokar <manish@mozilla.com>
13328
2806dc7e 13329 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 13330
51a789c3
MG
133312016-10-27 Manish Goregaokar <manish@mozilla.com>
13332
2806dc7e
PA
13333 * gdb.rust/simple.rs: Add test for univariant enums without
13334 discriminants and for encoded struct-like enums.
51a789c3 13335
f610ab6d
PA
133362016-10-28 Pedro Alves <palves@redhat.com>
13337
13338 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13339 gdb_test_multiple, tighten regexps and match symtabs and line
13340 tables incrementally.
13341
b129b0ca
LM
133422016-10-28 Luis Machado <lgustavo@codesourcery.com>
13343
13344 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13345 general.
13346
ecf45d2c
SL
133472016-10-25 Luis Machado <lgustavo@codesourcery.com>
13348
13349 * gdb.base/exec-invalid-sysroot.exp: New file.
13350
b8d38ee4
JK
133512016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13352
13353 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13354
f90fd8c2
JK
133552016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13356
13357 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13358
2d2476aa
MR
133592016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13360
2806dc7e
PA
13361 * gdb.base/killed-outside.exp: Remove $options from a call to
13362 `prepare_for_testing'.
2d2476aa 13363
e42b25a0
SM
133642016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13365
13366 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13367 Change test message.
13368
3ccdb432
SM
133692016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13370
13371 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13372 Update comment.
13373
5bad3170
SM
133742016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13375
13376 * gdb.trace/mi-trace-save.exp: New file.
13377
5ad9dba7
YQ
133782016-10-13 Yao Qi <yao.qi@linaro.org>
13379
13380 * gdb.base/code_elim.exp (get_var_address): Remove.
13381 * gdb.base/relocate.exp: Likewise.
13382 * gdb.base/shreloc.exp: Likewise.
13383 * lib/gdb.exp (get_var_address): New.
13384
62df7e21
YQ
133852016-10-13 Yao Qi <yao.qi@linaro.org>
13386
13387 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13388 floating point tests if $skip_float_test is false.
13389
4dac951e
LM
133902016-10-12 Luis Machado <lgustavo@codesourcery.com>
13391
13392 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13393 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13394 argc values.
13395 Add 1 to argc so we guarantee distinct initial/modified argc values.
13396
8f1a8fc4
JK
133972016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13398
13399 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13400
16c85b5d
JK
134012016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13402
13403 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13404 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13405 * gdb.arch/vsx-regs.exp: Likewise.
13406
1d0e042a
YQ
134072016-10-07 Yao Qi <yao.qi@linaro.org>
13408
13409 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13410
68dadef5
MM
134112016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13412
13413 * gdb.python/python.exp: Test decode_line("*0").
13414
33fa2c6e
DE
134152016-10-06 Doug Evans <dje@google.com>
13416
13417 * gdb.python/py-value.exp (test_value_creation): Add test for large
13418 unsigned 64-bit value.
13419
9c37b5ae
TT
134202016-10-06 Tom Tromey <tom@tromey.com>
13421
13422 * gdb.compile/compile.exp: Change java tests to rust.
13423 * gdb.base/setshow.exp: Change java tests to rust.
13424 * gdb.base/default.exp: Remove java from language list.
13425 * README (Examples): Update language example.
13426 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13427 test.
13428 * lib/gdb.exp (skip_java_tests): Remove.
13429 * lib/java.exp: Remove.
13430 * gdb.java: Remove.
13431
78b86327
MR
134322016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13433
13434 * gdb.arch/mips-fcr.exp: New test.
13435 * gdb.arch/mips-fcr.c: Source for the new test.
13436
7470adbb
MR
134372016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13438
13439 * gdb.base/solib-disc.exp: Use `standard_output_file'
13440 throughout.
13441
4a556533
PA
134422016-10-06 Pedro Alves <palves@redhat.com>
13443
13444 * gdb.base/jit-simple-dl.c: New file.
13445 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13446 * gdb.base/jit-simple.c: ... this.
13447 * gdb.base/jit-simple.exp (jit_run): Delete.
13448 (build_jit): New proc.
13449 (jit_test_reread): Recompile either the main program or the shared
13450 library, depending on what is being tested. Skip changing address
13451 if caller wants to. Compare before/after addresses. If testing
13452 standalone, explicitly load the binary. Test "maint info
13453 breakpoints".
13454 (top level): Add "standalone vs shared lib" and "change address"
13455 vs "same address" axes.
13456
5a122fbc
PA
134572016-10-06 Pedro Alves <palves@redhat.com>
13458
13459 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13460 call.
13461 (jit_run): Delete.
13462 (jit_test_reread): Use with_test_prefix. Reload the main binary
13463 explicitly. Compare the before/after addresses of the JIT
13464 descriptor.
13465
ee8da4b8
DE
134662016-08-15 Doug Evans <dje@google.com>
13467
13468 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13469 for single bitfields is bool.
13470 * gdb.xml/tdesc-regs.exp: Ditto.
13471
f389f6fe
JK
134722016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13473
13474 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13475
fdebf1a4
YQ
134762016-10-05 Yao Qi <yao.qi@linaro.org>
13477
13478 * lib/gdb.exp (support_complex_tests): Return zero if
13479 gdb_skip_float_test return true.
13480
9c36d954 134812016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13482 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13483
13484 PR gdb/20487
13485 * gdb.mi/user-selected-context-sync.exp: New file.
13486 * gdb.mi/user-selected-context-sync.c: New file.
13487
4034d0ff 134882016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13489 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13490
13491 PR gdb/20487
13492 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13493 =thread-select-event check.
13494
a4297203
PB
134952016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13496
13497 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13498 the compulsory L operand changes.
13499 * gdb.arch/powerpc-power.s: Likewise.
13500
bb805577
JK
135012016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13502
13503 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13504 * gdb.base/jit-attach-pie.c: New file.
13505 * gdb.base/jit-attach-pie.exp: New file.
13506
6d61dee5
PA
135072016-09-28 Pedro Alves <palves@redhat.com>
13508
13509 * gdb.base/infcall-input.c: New file.
13510 * gdb.base/infcall-input.exp: New file.
13511
f73842fc
YQ
135122016-09-22 Yao Qi <yao.qi@linaro.org>
13513
13514 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13515 (gdb_exit): Rename it to ...
13516 (gdbserver_gdb_exit): ... Close GDBserver.
13517 (gdb_exit): New proc, call gdbserver_gdb_exit.
13518 (mi_gdb_exit): Likewise.
13519
90681dab
YQ
135202016-09-22 Yao Qi <yao.qi@linaro.org>
13521
13522 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13523 path.
13524 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13525 Remove duplication.
13526
9c211fd8
YQ
135272016-09-22 Yao Qi <yao.qi@linaro.org>
13528
13529 * lib/gdbserver-support.exp: Check the existence of
13530 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13531
ad0a504f
AK
135322016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13533
13534 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13535
36cf1806
TT
135362016-09-21 Tom Tromey <tom@tromey.com>
13537
13538 PR gdb/20604:
13539 * gdb.base/quit.exp: New file.
13540
74172ecf
SM
135412016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13542
13543 * .gitignore: New file.
13544
3d0ec882
MR
135452016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13546
13547 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13548 throughout.
13549
8193adea
AA
135502016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13551
13552 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13553
d41a5c09
JK
135542016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13555
13556 * gdb.cp/casts.cc (decltype): Move it ...
13557 (main): ... with its call to ...
13558 * gdb.cp/casts03.cc: ... a new file.
13559 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13560
d2dfe700
JK
135612016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13562
13563 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13564
e2a92b16
PB
135652016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13566
13567 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13568 and sync up the test with tests in gas/testsuite/gas/ppc.
13569 * gdb.arch/powerpc-power.exp: Likewise.
13570
49b4de64
JK
135712016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13572
13573 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13574
2c29df25
SDJ
135752016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13576 Jan Kratochvil <jan.kratochvil@redhat.com>
13577
13578 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13579 make m1's definition to be different from m2's. Use 'dummy' as an
13580 argument for probe 'two'.
13581
cc3c2846
JB
135822016-09-10 Jon Beniston <jon@beniston.com>
13583
13584 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13585 for sim target.
13586
e1b2624a
AA
135872016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13588
13589 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13590 variable declaration.
13591 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13592 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13593 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13594 received HWCAP as its argument.
13595
4295e285
PA
135962016-09-06 Pedro Alves <palves@redhat.com>
13597
13598 * gdb.base/new-ui-pending-input.c: New file.
13599 * gdb.base/new-ui-pending-input.exp: New file.
13600 * gdb.exp (clear_gdb_spawn_id): New procedure.
13601 (with_spawn_id): Check whether gdb_spawn_id exists before
13602 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13603 on exit.
13604
00d5215e
UW
136052016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13606
13607 * gdb.base/float128.c: New file.
13608 * gdb.base/float128.exp: Likewise.
13609 * gdb.base/floatn.c: Likewise.
13610 * gdb.base/floatn.exp: Likewise.
13611
a9ff5f12
UW
136122016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13613
13614 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13615
f245535c
PA
136162016-09-05 Pedro Alves <palves@redhat.com>
13617
13618 PR backtrace/19927
13619 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13620 unwinders are immediately called as side effect of "source" or
13621 "disable unwinder" commands.
13622 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13623
ae9cf263
YQ
136242016-09-02 Yao Qi <yao.qi@linaro.org>
13625
13626 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13627 is true and $type is "float" or "double".
13628
27aba047
YQ
136292016-09-02 Yao Qi <yao.qi@linaro.org>
13630
13631 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13632 true.
13633 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13634 * gdb.base/call-rt-st.exp: Likewise.
13635 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13636 return value instead of gdb,skip_float_test.
13637 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13638 (do_function_calls): Use its return value instead of
13639 gdb,skip_float_test.
13640 * gdb.base/finish.exp: Likewise.
13641 * gdb.base/funcargs.exp: Likewise.
13642 * gdb.base/return.exp: Likewise.
13643 * gdb.base/return2.exp: Likewise.
13644 * gdb.base/varargs.exp: Likewise.
13645 * lib/gdb.exp (gdb_skip_float_test): Change it to
13646 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13647
5af962df
AA
136482016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13649
13650 * gdb.multi/tids.exp: Test "thread apply all".
13651
7fac6910
JK
136522016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13653
13654 * gdb.base/default.exp (tty): Remove.
13655
bb1fe4ac
KB
136562016-08-24 Kevin Buettner <kevinb@redhat.com>
13657
2806dc7e
PA
13658 * gdb.python/py-recurse-unwind.c: New file.
13659 * gdb.python/py-recurse-unwind.py: New file.
13660 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 13661
0a1ddfa6
SM
136622016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13663
13664 * gdb.base/set-inferior-tty.exp: New file.
13665 * gdb.base/set-inferior-tty.c: New file.
13666
d9de1fe3
PA
136672016-08-23 Pedro Alves <palves@redhat.com>
13668
13669 PR gdb/20494
13670 * gdb.base/new-ui-echo.c: New file.
13671 * gdb.base/new-ui-echo.exp: New file.
13672
e9d9abd7
YQ
136732016-08-23 Yao Qi <yao.qi@linaro.org>
13674
13675 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13676 gdbserver_spawn.
13677 * gdb.server/connect-without-multi-process.exp (do_test):
13678 Likewise.
13679
3589529e
YQ
136802016-08-23 Yao Qi <yao.qi@linaro.org>
13681
13682 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13683 standalone_txt. Delete gdb_txt and standalone_txt on host
13684 and target. Spawn the binary on target. Copy files from
13685 target to host.
13686
6bb90213
PA
136872016-08-22 Pedro Alves <palves@redhat.com>
13688
13689 PR gdb/20505
13690 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13691 with_test_prefix. Factor out bits to ...
13692 (test_no_vdso): ... this new procedure.
13693
20c2c024
CL
136942016-08-19 Carl Love <cel@us.ibm.com>
13695
13696 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13697 maintaining separate logic for constructing the output path.
13698 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13699 * gdb.arch/ppc-dfp.exp: Likewise.
13700 * gdb.arch/ppc-fp.exp: Likewise.
13701 * gdb.arch/vsx-regs.exp: Likewise.
13702 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13703 binprefix for generating the additional binary files.
13704
0646e07d
PA
137052016-08-19 Pedro Alves <palves@redhat.com>
13706
13707 * gdb.trace/mi-trace-frame-collected.exp
13708 (test_trace_frame_collected): On x32, expect two registers.
13709
46da9242
CL
137102016-08-18 Carl Love <cel@us.ibm.com>
13711
13712 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13713 and sync up the test with tests in gas/testsuite/gas/ppc.
13714 * gdb.arch/powerpc-power.exp: Likewise.
13715
eb2332d7
SM
137162016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13717
13718 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13719 expected error message.
13720
63c61e04
SM
137212016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13722
13723 * gdb.multi/remove-inferiors.exp: New file.
13724 * gdb.multi/remove-inferiors.c: New file.
13725
7b17065f
YQ
137262016-08-12 Yao Qi <yao.qi@linaro.org>
13727
13728 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13729 argument list.
13730
01d3dedf
PA
137312016-08-10 Pedro Alves <palves@redhat.com>
13732
13733 PR gdb/19187
13734 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13735 setup_kfails.
13736
3eb7562a
PA
137372016-08-09 Pedro Alves <palves@redhat.com>
13738 Simon Marchi <simon.marchi@ericsson.com>
13739
13740 PR gdb/20418
13741 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13742 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13743
80614914
PA
137442016-08-09 Pedro Alves <palves@redhat.com>
13745
13746 PR mi/20431
13747 * gdb.mi/mi-cmd-error.exp: New file.
13748
f348d89a
PA
137492016-08-09 Pedro Alves <palves@redhat.com>
13750
13751 PR gdb/18653
13752 * gdb.base/signals-state-child.c: New file.
13753 * gdb.base/signals-state-child.exp: New file.
13754 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13755
e5ca03b4
PA
137562016-08-09 Pedro Alves <palves@redhat.com>
13757
13758 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13759
282a0691
TT
137602016-08-03 Tom Tromey <tom@tromey.com>
13761
13762 PR python/18565:
13763 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13764
41bfcd63
YQ
137652016-08-01 Yao Qi <yao.qi@linaro.org>
13766
13767 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13768 variable mode to "multi-process" if $multi_process is 1, otherwise
13769 set it to "single-process".
13770
e3465b24
YQ
137712016-08-01 Yao Qi <yao.qi@linaro.org>
13772
13773 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13774 * gdb.cp/cpexprs.exp: Likewise.
13775 * gdb.cp/m-static.exp: Likewise.
13776
0b31a4bc
TT
137772016-07-26 Tom Tromey <tom@tromey.com>
13778
13779 PR python/20190:
13780 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13781 test.
13782
e0461dbb
MM
137832016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13784
13785 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13786 selecting assembly source files.
13787 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13788 assembly source files.
13789 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13790 assembly source files.
13791 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13792 selecting assembly source files.
13793
8194e927
SM
137942016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13795
13796 * gdb.base/new-ui.exp (do_test_invalid_args): New
13797 procedure.
13798
c0272db5
TW
137992016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13800
13801 * gdb.btrace/reconnect.c: New file.
13802 * gdb.btrace/reconnect.exp: New file.
13803
e3487908
GKB
138042016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13805
13806 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13807 to test_catch_syscall_group.
13808 (test_catch_syscall_group): New.
13809
12df5c00
TT
138102016-07-21 Tom Tromey <tom@tromey.com>
13811
13812 * gdb.rust/simple.rs (main): Use empty struct expression.
13813 * gdb.rust/simple.exp: Add tests for empty struct expression.
13814
bae62ee2
YQ
138152016-07-21 Yao Qi <yao.qi@linaro.org>
13816
13817 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13818 if gdb_skip_xml_test is true on some targets.
13819
b1b53fb3
YQ
138202016-07-21 Yao Qi <yao.qi@linaro.org>
13821
13822 * gdb.server/solib-list.exp: Unset last_loaded_file.
13823
027d97f8
JK
138242016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13825
13826 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13827 "step into captured_main (args)".
13828
7674d381
JK
138292016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13830
13831 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13832
72b5d099
JK
138332016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13834
13835 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13836
1f960ced
PA
138372016-07-19 Pedro Alves <palves@redhat.com>
13838
13839 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13840 * gdb.opt/inline-bt.exp: Likewise.
13841 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13842 additional_flags=-Winline.
13843 * gdb.opt/inline-locals.exp: Likewise.
13844 * gdb.opt/inline-markers.c (ATTR): Define.
13845 (inlined_fn): Use it.
13846
f25827c1
YQ
138472016-07-19 Yao Qi <yao.qi@linaro.org>
13848
13849 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13850 (test_with_self): Remove some code. Remove argument executable.
13851 (top-level): Use do_self_tests.
13852
37539ebe
DB
138532016-07-15 Zachary Welch <zwelch@codesourcery.com>
13854 Don Breazeal <donb@codesourcery.com>
13855
13856 * gdb.base/maint.exp: Escape paths used in regular expressions.
13857 * gdb.stabs/weird.exp: Likewise.
13858
dac790e1
TT
138592016-07-13 Tom Tromey <tom@tromey.com>
13860
13861 PR python/15620, PR python/18620:
13862 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13863 (test_bkpt_events): New procs.
13864
93daf339
TT
138652016-07-13 Tom Tromey <tom@tromey.com>
13866
13867 PR python/17698:
13868 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13869 test.
13870 (test_watchpoints): Likewise.
13871 (test_bkpt_pending): New proc.
13872
6571a381
TT
138732016-07-13 Tom Tromey <tom@tromey.com>
13874
13875 PR cli/18053:
13876 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13877 completion test.
13878
e8732474
JK
138792016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13880
13881 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13882 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13883 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13884 f_label.
13885 (g): Rename g_end_lbl to g_label.
13886 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13887 low_pc and high_pc.
13888 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13889
e0f3fd7c
TT
138902016-07-12 Tom Tromey <tom@tromey.com>
13891
13892 PR python/19293:
13893 * gdb.python/py-unwind-maint.exp: Update tests.
13894
3cfe46b6
YQ
138952016-07-12 Yao Qi <yao.qi@linaro.org>
13896
13897 * lib/selftest-support.exp (selftest_setup): Match the output
13898 when captured_main is inlined.
13899
4f19a0e6
WT
139002016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13901
13902 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13903 New variables.
13904 (print this%a, print this%b, print this): New tests.
13905 * gdb.fortran/derived-types.f90 (this): New object and
13906 initialization.
13907
986cf455
SM
139082016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13909
13910 * gdb.ada/arraydim.exp: Remove extra directory level in build
13911 directory.
13912
f0464b23
SM
139132016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13914
13915 * lib/ada.exp: Remove extra directory level in build directory.
13916 * gdb.ada/cond_lang.exp: Likewise.
13917 * gdb.ada/exec_changed.exp: Likewise.
13918 * gdb.ada/lang_switch.exp: Likewise.
13919
42d94011
MG
139202016-07-06 Manish Goregaokar <manish@mozilla.com>
13921
2806dc7e
PA
13922 * simple.rs: Add test for raw pointer subscripting.
13923 * simple.exp: Add test expectations.
42d94011 13924
647c264c
YQ
139252016-07-05 Yao Qi <yao.qi@linaro.org>
13926
13927 * gdb.mi/mi-reverse.exp: Match =record-started output.
13928
20aa2c60
PA
139292016-07-01 Pedro Alves <palves@redhat.com>
13930
13931 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13932 procedure.
13933 (jit_reader_test): Test the jit reader's unwinder.
13934 * gdb.base/jithost.c (jit_function_00_code): New global.
13935 (main): Use memcpy to fill in the mmapped code, instead of poking
13936 bytes manually here.
13937 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13938 value.
13939 (read_debug_info): Save the function's range.
13940 (read_sp): New function.
13941 (unwind_frame): Use it. Also unwind RBP.
13942 (get_frame_id): Use read_sp.
13943 (gdb_init_reader): Use calloc instead of malloc.
13944 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13945 parameter. Use gdb_test_multiple.
13946
ced2dffb
PA
139472016-07-01 Pedro Alves <palves@redhat.com>
13948 Antoine Tremblay <antoine.tremblay@ericsson.com>
13949
13950 * gdb.threads/process-dies-while-detaching.c: New file.
13951 * gdb.threads/process-dies-while-detaching.exp: New file.
13952
63000888
PA
139532016-07-01 Pedro Alves <palves@redhat.com>
13954
13955 * gdb.multi/watchpoint-multi-exit.c: New file.
13956 * gdb.multi/watchpoint-multi-exit.exp: New file.
13957
038d4868
PA
139582016-06-30 Pedro Alves <palves@redhat.com>
13959
13960 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13961 unset inferior_spawn_id.
13962
994e9c83
PA
139632016-06-30 Pedro Alves <palves@redhat.com>
13964
13965 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13966 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13967
e5653468
YQ
139682016-06-29 Yao Qi <yao.qi@linaro.org>
13969
13970 * gdb.base/return.c: Add copyright header.
13971
803b47e5
TT
139722016-06-29 Tom Tromey <tom@tromey.com>
13973
13974 PR python/20129:
13975 * gdb.python/py-framefilter.exp: Add tests for setting priority
13976 and disabling of non-existent frame filter.
13977
28244707
YQ
139782016-06-29 Yao Qi <yao.qi@linaro.org>
13979
13980 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13981 0x0f07ff.
13982
a31d2f06
YQ
139832016-06-28 Yao Qi <yao.qi@linaro.org>
13984
13985 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13986 triplets. Start gdb, execute catch syscall, and continue. Check
13987 gdb's output to determine catch syscall is supported.
13988
921d8f54
MG
139892016-06-27 Manish Goregaokar <manish@mozilla.com>
13990
25d49b86
PA
13991 * gdb.rust/simple.rs: Add test for returning unit in a function.
13992 * gdb.rust/simple.exp: Add expectation for functions returning
13993 unit.
921d8f54 13994
f4952523
PMR
139952016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13996
13997 * gdb.python/py-breakpoint-create-fail.c,
13998 gdb.python/py-breakpoint-create-fail.exp,
13999 gdb.python/py-breakpoint-create-fail.py: New testcase.
14000
fccb08f8
MG
140012016-06-25 Manish Goregaokar <manish@mozilla.com>
14002
14003 PR gdb/20239
14004 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14005 * gdb.rust/simple.exp: Add test expectations for new NonZero
14006 tests.
fccb08f8 14007
6b850546
DT
140082016-06-24 David Taylor <dtaylor@emc.com>
14009
14010 * gdb.base/offsets.exp: New file.
14011 * gdb.base/offsets.c: New file.
14012
17621150
TT
140132016-06-23 Tom Tromey <tom@tromey.com>
14014
14015 PR gdb/16483:
14016 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14017 before any filters are loaded.
14018
04d59df6
WT
140192016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14020
14021 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14022 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14023 structs.
14024 * gdb.fortran/derived-type-function.exp: New file.
14025 * gdb.fortran/derived-type-function.f90: New file.
14026
14027
ac69f786
PA
140282016-06-21 Pedro Alves <palves@redhat.com>
14029
14030 * gdb.base/new-ui.exp: New file.
14031 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14032 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14033 (with_spawn_id): New procedure.
14034
49940788
PA
140352016-06-21 Pedro Alves <palves@redhat.com>
14036
14037 * gdb.mi/mi-exec-run.exp: New file.
14038
ef274d26
PA
140392016-06-21 Pedro Alves <palves@redhat.com>
14040
14041 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14042 breakpoint command's output on the main UI.
14043 (test_break): New procedure, factored out from calls in the top
14044 level.
14045 (top level): Use foreach_with_prefix to test MI as main UI and as
14046 separate UI.
14047
468afe6c
PA
140482016-06-21 Pedro Alves <palves@redhat.com>
14049
14050 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14051 (test_awatch_creation_and_listing)
14052 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14053 Remove 'type' parameter.
14054 (test_watchpoint_all): New parameter mi_mode. Remove
14055 with_test_prefix.
14056 (top level): Use foreach_with_prefix, and add main/separate UI MI
14057 testing axis.
14058
51f77c37
PA
140592016-06-21 Pedro Alves <palves@redhat.com>
14060
14061 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14062 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14063 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14064 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14065 (gdb_main_spawn_id, mi_spawn_id): Declare and
14066 comment.
14067 (mi_create_inferior_pty): New procedure,
14068 factored out from default_mi_gdb_start.
14069 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14070 procedures.
14071 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14072 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14073 Use mi_create_inferior_pty.
14074 (mi_gdb_start): Use eval to pass down args list.
14075
8980e177
PA
140762016-06-21 Pedro Alves <palves@redhat.com>
14077
14078 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14079 * gdb.opt/inline-cmds.exp: Add MI tests.
14080
f38d3ad1
PA
140812016-06-21 Pedro Alves <palves@redhat.com>
14082
14083 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14084
45db7c09
PA
140852016-06-21 Pedro Alves <palves@redhat.com>
14086
14087 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14088 (top level): Use it instead of mi_execute_to.
14089
5a069ab3
PA
140902016-06-21 Pedro Alves <palves@redhat.com>
14091
14092 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14093 (cont_handler_str): New.
14094 (signal_stop_handler): Set stop_handler_str instead of printing to
14095 stdout.
14096 (continue_handler): Set cont_handler_str instead of printing to
14097 stdout.
14098 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14099 mi_send_resuming_command. Print stop_handler_str and
14100 cont_handler_str instead of expecting the python events print
14101 directly.
14102
2838cc1d
SD
141032016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14104
14105 * gdb.base/jit-reader.exp: New file.
14106 * gdb.base/jithost.c: New file.
14107 * gdb.base/jithost.h: New file.
14108 * gdb.base/jitreader.c : New file.
14109 * gdb.base/jit-protocol.h: New file.
14110
21a77091
YQ
141112016-06-17 Yao Qi <yao.qi@linaro.org>
14112
14113 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14114 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14115 and detach-on-fork. Adjust tests.
14116 (top level): Invoke break_cond_on_syscall with combinations of
14117 syscall, follow-fork-mode and detach-on-fork.
14118
f50bf8e5
YQ
141192016-06-17 Yao Qi <yao.qi@linaro.org>
14120
14121 * gdb.base/step-over-exit.c: New.
14122 * gdb.base/step-over-exit.exp: New.
14123
a28d8e50
YTL
141242016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14125
14126 * gdb.base/float.exp: Add target check for nds32*-*-*.
14127 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14128
cad8e26d
AB
141292016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14130
14131 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14132 for unsupported target features.
14133 * gdb.base/call-rt-st.exp: Likewise.
14134 * gdb.base/call-sc.exp: Likewise.
14135 * gdb.base/call-signal-resume.exp: Likewise.
14136 * gdb.base/call-strs.exp: Likewise.
14137 * gdb.base/callexit.exp: Likewise.
14138 * gdb.base/callfuncs.exp: Likewise.
14139 * gdb.base/nodebug.exp: Likewise.
14140 * gdb.base/printcmds.exp: Likewise.
14141 * gdb.base/ptype.exp: Likewise.
14142 * gdb.base/structs.exp: Likewise.
14143 * gdb.base/unwindonsignal.exp: Likewise.
14144 * gdb.cp/gdb2495.exp: Likewise.
14145 * gdb.cp/templates.exp: Likewise.
14146 * gdb.cp/virtfunc.exp: Likewise.
14147 * gdb.threads/hand-call-in-threads.exp: Likewise.
14148 * gdb.threads/interrupted-hand-call.exp: Likewise.
14149 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14150
347dc102
TT
141512016-06-10 Tom Tromey <tom@tromey.com>
14152
14153 PR rust/20110:
14154 * gdb.rust/expr.exp: Add test for integer constant larger than
14155 i32.
14156
5e13cf25
BH
141572016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14158
14159 * gdb.fortran/nested-funcs.exp: New.
14160 * gdb.fortran/nested-funcs.f90: New.
14161
bb556f1f
TK
141622016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14163
14164 * gdb.base/examine-backward.c: New file.
14165 * gdb.base/examine-backward.exp: New file.
14166
38b022b4
SM
141672016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14168
14169 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14170 matching.
14171
1b40ec05
TT
141722016-06-02 Tom Tromey <tom@tromey.com>
14173
14174 PR python/18984:
14175 * gdb.python/py-shared.exp: Add solib_name test.
14176
193bd378
SM
141772016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14178
14179 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14180
3326303b
MG
141812016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14182
14183 PR c++/19893
14184 * gdb.dwarf2/implref.exp: Rename to...
14185 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14186 * gdb.dwarf2/implref-array.c: New file.
14187 * gdb.dwarf2/implref-array.exp: Likewise.
14188 * gdb.dwarf2/implref-global.c: Likewise.
14189 * gdb.dwarf2/implref-global.exp: Likewise.
14190 * gdb.dwarf2/implref-struct.c: Likewise.
14191 * gdb.dwarf2/implref-struct.exp: Likewise.
14192
825c8ef2
AT
141932016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14194
14195 * gdb.trace/trace-condition.exp: Add 64bit tests.
14196
2320162a
AT
141972016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14198
14199 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14200 bits types.
14201 (main): Adapt to 8 to 64 bits types.
14202 * gdb.trace/trace-condition.exp: Add new tests.
14203
a7818233
AT
142042016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14205
14206 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14207
0d336466
AT
142082016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14209
14210 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14211 Move condition tests...
14212 * gdb.trace/trace-condition.exp: Here.
14213
7faeb45a
AT
142142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14215
14216 * gdb.trace/trace-condition.exp: Add counter-case tests.
14217
e385593e
JK
142182016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14219
14220 PR c++/15231
14221 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14222 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14223
744608cc
PA
142242016-05-27 Pedro Alves <palves@redhat.com>
14225
14226 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14227 New procedure.
14228 (top level): Call it, and bail out of DejaGnu is known to be bad.
14229
ac775bf4
AB
142302016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14231
14232 * gdb.base/whatis.c: Extend the test case.
14233 * gdb.base/whatis.exp: Add additional tests.
14234
2bbad2ea
BH
142352016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14236
14237* gdb.fortran/type.f90: Add pointer variable.
14238* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14239
8b70175d
BH
142402016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14241
14242 * gdb.fortran/vla-type.exp: Fix testcase name.
14243
86d8a848
BH
142442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14245
14246 * gdb.fortran/vla-type.exp: Access elements in nested structs.
14247
e188eb36
BH
142482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14249
14250 * gdb.fortran/type.f90: Add nested structures.
14251 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
14252 * gdb.fortran/derived-type.exp: Adapt expected output.
14253 * gdb.fortran/vla-type.exp: Adapt expected output.
14254
9b2db1fd
BH
142552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14256
14257 * gdb.fortran/whatis_type.exp: Adapt expected output.
14258
72b17055
BH
142592016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14260
14261 * gdb.fortran/print_type.exp: Fix expected output.
14262 * gdb.fortran/whatis_type.exp: Fix expected output.
14263
3cd81d8d
BH
142642016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14265
14266 * gdb.fortran/whatis_type.exp: Use multi_line.
14267
ddae9462
TT
142682016-05-24 Tom Tromey <tom@tromey.com>
14269
14270 PR python/17386:
14271 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14272 use value as an index.
14273
1957f6b8
TT
142742016-05-23 Tom Tromey <tom@tromey.com>
14275
14276 PR python/17981:
14277 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14278 no-breakpoint case.
14279
026a9174
PA
142802016-05-24 Pedro Alves <palves@redhat.com>
14281
14282 PR gdb/19828
14283 * gdb.threads/clone-attach-detach.c: New file.
14284 * gdb.threads/clone-attach-detach.exp: New file.
14285
e70a7231
FR
142862016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14287
14288 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14289
0f6ed0e0
TT
142902016-05-23 Tom Tromey <tom@tromey.com>
14291
14292 PR python/19438, PR python/18393:
14293 * gdb.python/py-progspace.exp: Add "dir" test.
14294 * gdb.python/py-objfile.exp: Add "dir" test.
14295
ffd19d61
YQ
142962016-05-23 Yao Qi <yao.qi@linaro.org>
14297
14298 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14299 * gdb.arch/thumb2-it.exp: Likewise.
14300
9e8f9b05
SM
143012016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14302
14303 * gdb.mi/mi-threads-interrupt.c: New file.
14304 * gdb.mi/mi-threads-interrupt.exp: New file.
14305
61c6156d
SM
143062016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14307
14308 PR gdb/18077
14309 * gdb.mi/mi-async-run.exp: New file.
14310 * gdb.mi/mi-async-run.c: New file.
14311
67218854
TT
143122016-05-17 Tom Tromey <tom@tromey.com>
14313 Manish Goregaokar <manishsmail@gmail.com>
14314
14315 * lib/rust-support.exp: New file.
14316 * lib/gdb.exp (skip_rust_tests): New proc.
14317 (build_executable_from_specs): Handle rust.
14318 * lib/future.exp (gdb_find_rustc): New proc.
14319 (gdb_default_target_compile): Handle rust.
14320 * gdb.rust/expr.exp: New file.
14321 * gdb.rust/generics.exp: New file.
14322 * gdb.rust/generics.rs: New file.
14323 * gdb.rust/methods.exp: New file.
14324 * gdb.rust/methods.rs: New file.
14325 * gdb.rust/modules.exp: New file.
14326 * gdb.rust/modules.rs: New file.
14327 * gdb.rust/simple.exp: New file.
14328 * gdb.rust/simple.rs: New file.
14329
c44af4eb
TT
143302016-05-17 Tom Tromey <tom@tromey.com>
14331
14332 * gdb.base/default.exp (set language): Add rust.
14333
dcd1f979
TT
143342016-05-17 Tom Tromey <tom@tromey.com>
14335
14336 * gdb.gdb/unittest.exp: New file.
14337
155b7f57
YQ
143382016-05-16 Yao Qi <yao.qi@linaro.org>
14339
14340 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14341 shell_prompt. Update shell_prompt_re.
14342
8ddd5a6c
DE
143432016-05-12 Doug Evans <dje@google.com>
14344
14345 PR symtab/19999
14346 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14347 $options when building executable.
14348 * gdb.dwarf2/fission-loclists-pie.S: New file.
14349 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14350
02e370d9
SM
143512016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14352
14353 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14354 of [is_remote target],
14355
8929ad8b
SM
143562016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14357
14358 * lib/gdb.exp (use_gdb_stub): New procedure.
14359
6c447423
DE
143602016-05-03 Yunlian Jiang <yunlian@google.com>
14361 Doug Evans <dje@google.com>
14362
14363 PR symtab/19914
14364 * gdb.dwarf2/dwp-sepdebug.c: New file.
14365 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14366
444e826c
SM
143672016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14368
14369 * gdb.base/detach.exp: Remove is_remote check.
14370
740feeaa
SM
143712016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14372
14373 * gdb.base/annota-input-while-running.exp: Don't check for
14374 [is_remote target]. Enable annotations after running to main.
14375 Remove unused "set test..." line.
14376
9080ac9d
SM
143772016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14378
14379 * gdb.trace/trace-enable-disable.exp: New file.
14380 * gdb.trace/trace-enable-disable.c: New file.
14381
952ebca5
SM
143822016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14383
14384 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14385 use it in info sharedlibrary test.
14386 * gdb.trace/ftrace-lock.exp: Likewise.
14387 * gdb.trace/ftrace.exp: Likewise.
14388 * gdb.trace/range-stepping.exp: Likewise.
14389 * gdb.trace/trace-break.exp: Likewise.
14390 * gdb.trace/trace-condition.exp: Likewise.
14391 * gdb.trace/trace-mt.exp: Likewise.
14392
d9019901
SM
143932016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14394
14395 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14396 (gdb_load_shlib): ... this.
14397 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14398 gdb_load_shlib.
14399 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14400 * gdb.base/ctxobj.exp: Likewise.
14401 * gdb.base/dprintf-pending.exp: Likewise.
14402 * gdb.base/dso2dso.exp: Likewise.
14403 * gdb.base/fixsection.exp: Likewise.
14404 * gdb.base/gcore-relro.exp: Likewise.
14405 * gdb.base/gdb1555.exp: Likewise.
14406 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14407 * gdb.base/gnu-ifunc.exp: Likewise.
14408 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14409 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14410 * gdb.base/pending.exp: Likewise.
14411 * gdb.base/print-file-var.exp: Likewise.
14412 * gdb.base/print-symbol-loading.exp: Likewise.
14413 * gdb.base/shlib-call.exp: Likewise.
14414 * gdb.base/shreloc.exp: Likewise.
14415 * gdb.base/so-impl-ld.exp: Likewise.
14416 * gdb.base/solib-disc.exp: Likewise.
14417 * gdb.base/solib-nodir.exp: Likewise.
14418 * gdb.base/solib-overlap.exp: Likewise.
14419 * gdb.base/solib-symbol.exp: Likewise.
14420 * gdb.base/solib-weak.exp (do_test): Likewise.
14421 * gdb.base/sym-file.exp: Likewise.
14422 * gdb.base/symtab-search-order.exp: Likewise.
14423 * gdb.base/type-opaque.exp: Likewise.
14424 * gdb.base/unload.exp: Likewise.
14425 * gdb.base/watchpoint-solib.exp: Likewise.
14426 * gdb.compile/compile.exp: Likewise.
14427 * gdb.cp/gdb2384.exp: Likewise.
14428 * gdb.cp/infcall-dlopen.exp: Likewise.
14429 * gdb.cp/re-set-overloaded.exp: Likewise.
14430 * gdb.fortran/library-module.exp: Likewise.
14431 * gdb.opt/solib-intra-step.exp: Likewise.
14432 * gdb.python/py-finish-breakpoint.exp: Likewise.
14433 * gdb.python/py-shared.exp: Likewise.
14434 * gdb.reverse/solib-precsave.exp: Likewise.
14435 * gdb.reverse/solib-reverse.exp: Likewise.
14436 * gdb.server/solib-list.exp: Likewise.
14437 * gdb.threads/dlopen-libpthread.exp: Likewise.
14438 * gdb.threads/tls-shared.exp: Likewise.
14439 * gdb.threads/tls-so_extern.exp: Likewise.
14440 * gdb.trace/change-loc.exp: Likewise.
14441 * gdb.trace/ftrace-lock.exp: Likewise.
14442 * gdb.trace/ftrace.exp: Likewise.
14443 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14444 * gdb.trace/pending.exp: Likewise.
14445 * gdb.trace/range-stepping.exp: Likewise.
14446 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14447 (strace_info_marker): Likewise.
14448 (strace_probe_marker): Likewise.
14449 (strace_trace_on_same_addr): Likewise.
14450 (strace_trace_on_diff_addr): Likewise.
14451 * gdb.trace/trace-break.exp: Likewise.
14452 * gdb.trace/trace-condition.exp: Likewise.
14453 * gdb.trace/trace-mt.exp: Likewise.
14454
fca4cfd9
SM
144552016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14456
14457 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14458 result of gdb_remote_download.
14459 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14460 * gdb.base/dso2dso.exp: Likewise.
14461 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14462 * gdb.base/print-file-var.exp: Likewise.
14463 * gdb.base/shlib-call.exp: Likewise.
14464 * gdb.base/shreloc.exp: Likewise.
14465 * gdb.base/solib-overlap.exp: Likewise.
14466 * gdb.base/solib-weak.exp (do_test): Likewise.
14467 * gdb.base/unload.exp: Likewise.
14468
11cf4ffb
YQ
144692016-04-27 Yao Qi <yao.qi@linaro.org>
14470
14471 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14472 exists.
14473
3e2e34f8
KB
144742016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14475
14476 * vla-type.exp: Print structure from toplevel.
14477
8f07e298
BH
144782016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14479
14480 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14481 of dynamic types.
14482 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14483 of dynamic types.
14484
9920b434
BH
144852016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14486
14487 * gdb.fortran/vla-type.f90: New file.
14488 * gdb.fortran/vla-type.exp: New file.
14489
f3abeff5
YQ
144902016-04-25 Yao Qi <yao.qi@linaro.org>
14491
14492 * gdb.base/branch-to-self.c: New file.
14493 * gdb.base/branch-to-self.exp: New file.
14494
0a5d52f0
YQ
144952016-04-22 Yao Qi <yao.qi@linaro.org>
14496
14497 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14498 more after $hex.
14499
495346f6
YQ
145002016-04-22 Yao Qi <yao.qi@linaro.org>
14501
14502 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14503 * gdb.base/annota3.exp: Likewise.
14504
4a7e075c
YQ
145052016-04-22 Yao Qi <yao.qi@linaro.org>
14506
14507 * gdb.reverse/step-precsave.exp: Do one step and test program
14508 stops in "callee" and do multiple steps until program goes out
14509 of "callee".
14510 * gdb.reverse/step-reverse.exp: Likewise.
14511
5b061e98
YQ
145122016-04-22 Yao Qi <yao.qi@linaro.org>
14513
14514 * gdb.trace/signal.exp: Also pass if
14515 $tracepoint_hits($i) > $iterations.
14516
5c5dc57f
YQ
145172016-04-22 Yao Qi <yao.qi@linaro.org>
14518
14519 * gdb.trace/signal.c: New file.
14520 * gdb.trace/signal.exp: New file.
14521
a55411b9
DE
145222016-04-19 Doug Evans <xdje42@gmail.com>
14523
14524 * gdb.base/bad-file.exp: New file.
14525
a22df60a
MG
145262016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14527
14528 * gdb.dwarf2/implref.exp: New file.
14529
0c13f7e5
BH
145302016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14531
14532 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14533 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14534 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14535 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14536 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14537 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14538 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14539 * lib/fortran.exp (fortran_int4): New procedure.
14540 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14541 (fortran_logical4): Likewise.
14542
9b9b09e9
BH
145432016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14544
14545 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14546
a14d1f4d
BH
145472016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14548
14549 * lib/compiler.c: Add Intel specific preprocessor macros.
14550 * lib/compiler.cc: Likewise.
25d49b86 14551
7d49b1d0
LM
145522016-04-13 Luis Machado <lgustavo@codesourcery.com>
14553
14554 * gdb.server/connect-with-no-symbol-file.c: New file.
14555 * gdb.server/connect-with-no-symbol-file.exp: New file.
14556
8392fa22
SM
145572016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14558
14559 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14560
8c4c4aeb
SM
145612016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14562
14563 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14564 standard output directory.
14565
45e3745e
AT
145662016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14567
14568 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14569
e26b7e41
MM
145702016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14571
14572 * gdb.btrace/instruction_history.c (loop): Add declaration.
14573
8ce09462
AT
145742016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14575
14576 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14577
2e88a1ea
SM
145782016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14579
14580 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14581 parentheses to print.
14582 (continue_handler): Likewise.
14583
f48e22e3
SM
145842016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14585
14586 * gdb.server/solib-list.exp: Remove is_remote check.
14587 Pass shlib= to gdb_compile. Don't link shared library with
14588 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14589 Run binary filename through "readlink -f" on the target.
14590
096be756
PA
145912016-04-08 Pedro Alves <palves@redhat.com>
14592
14593 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14594 interpreter filename as argument to gdbserver_spawn.
14595 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14596 Return empty if $last_loaded_file does not exist.
14597
06500533
JK
145982016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14599
14600 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14601 * gdb.base/jit-main.c: Use exit after usage.
14602
2d35e871
JK
146032016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14604
14605 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14606 GDBHISTSIZE prior to the tests.
14607 * gdb.base/gdbinit-history.exp: Likewise.
14608
146092016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
14610
14611 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14612 instead of build_executable. Use gdb_load_shlibs.
14613
c8064e7e
YQ
146142016-04-07 Yao Qi <yao.qi@linaro.org>
14615
14616 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14617 Execute "si" command.
14618
bde47561
YQ
146192016-04-07 Yao Qi <yao.qi@linaro.org>
14620
14621 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14622 number instead of the comments on some line.
14623
b16f8a3b
DB
146242016-04-06 Don Breazeal <donb@codesourcery.com>
14625
14626 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14627 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14628
c2f901df
SM
146292016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14630
14631 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14632 standard_output_file. Remove unused binfile variable.
14633
ac17fda0
CU
146342016-04-05 Catalin Udma <catalin.udma@freescale.com>
14635
14636 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14637 * gdb.python/py-mi-objfile.exp: Match "list main" output
14638 in console format.
14639
03a8c4df
SM
146402016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14641
14642 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14643 absolute.
14644
6e774b13
SM
146452016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14646
14647 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14648 absolute.
14649 * gdb.trace/ftrace.exp: Likewise.
14650 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14651 targets as well.
14652 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14653 (gdb_load_shlibs): Copy libraries to test directory when testing
14654 natively. Only set solib-search-path if testing remotely.
14655 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14656
7817ea46
SM
146572016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14658
14659 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14660 gdb_download. Use it even if the target is not remote.
14661 * gdb.base/jit.exp (compile_jit_test): Likewise.
14662 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14663 output directory if the destination board is local, otherwise use
14664 the standard remote_download from DejaGnu.
14665 (gdb_download): Remove.
14666 (gdb_load_shlibs): Use gdb_remote_download instead of
14667 gdb_download.
14668 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14669 Use gdb_remote_download instead of gdb_download. Use it even if
14670 the target is not remote.
14671 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14672 instead of gdb_download.
14673
7beb7f68
SM
146742016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14675
14676 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14677 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14678 run.
14679
cc63428a
AV
146802016-04-01 Artemiy Volkov <artemiyv@acm.org>
14681
14682 PR gdb/19820
14683 * gdb.base/printcmds.exp: Add artificial arrays tests.
14684
64cdf930
PA
146852016-03-31 Pedro Alves <palves@redhat.com>
14686
14687 PR gdb/19858
14688 * gdb.base/jit-main.c: Include unistd.h.
14689 (ATTACH): Define to 0 if not already defined.
14690 (wait_for_gdb, mypid): New globals.
14691 (WAIT_FOR_GDB): New macro.
14692 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14693 some breakpoint locations.
14694 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14695 New procedures.
14696 (one_jit_test): Add REATTACH parameter, and handle it. Use
14697 continue_to_test_location.
14698 (top level): Test attach, and adjusts calls to one_jit_test.
14699
40dea8cb
PA
147002016-03-31 Pedro Alves <palves@redhat.com>
14701
14702 PR gdb/19858
14703 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14704 BINSUFFIX parameter, and handle it.
14705 (top level): Adjust calls compile_jit_test.
14706
e7ea3ec7
CU
147072016-03-31 Catalin Udma <catalin.udma@freescale.com>
14708
14709 PR python/19743
14710 * gdb.python/py-mi-events-gdb.py: New file.
14711 * gdb.python/py-mi-events.c: New file.
14712 * gdb.python/py-mi-events.exp: New file.
14713
e6359af3
YQ
147142016-03-30 Yao Qi <yao.qi@linaro.org>
14715
14716 * gdb.reverse/until-precsave.exp: Match function name only.
14717 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14718 Move malloc to a condition block.
14719 * gdb.reverse/until-reverse.exp: Match function name only.
14720
a4105d04
MK
147212016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14722
14723 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14724 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14725 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14726 variable for GPR 0 instead of assuming it is register 0.
14727 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14728 * lib/trace-support.exp: Add s390 registers.
14729
bfa6adb9
YQ
147302016-03-29 Yao Qi <yao.qi@linaro.org>
14731
14732 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14733
1e6697ea
YQ
147342016-03-24 Yao Qi <yao.qi@linaro.org>
14735
14736 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14737 test message.
14738
64bcd522
AA
147392016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14740
14741 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14742 maintaining separate logic for constructing the output path.
14743
7868401b
DB
147442016-03-16 Don Breazeal <donb@codesourcery.com>
14745
14746 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14747 Retry fork and waitpid on interrupted system call errors.
14748 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14749 Use with_timeout_factor to increase timeout by factor of 10.
14750
1cafadb4
DB
147512016-03-15 Don Breazeal <donb@codesourcery.com>
14752
14753 * gdb.cp/scope-err.cc: New test program.
14754 * gdb.cp/scope-err.exp: New test script.
14755 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14756 lines and "set breakpoint here" comment.
14757 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14758 Fixed some whitespace and format issues.
14759 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14760 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14761
81516450
DE
147622016-03-15 Doug Evans <dje@google.com>
14763
14764 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14765 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14766 All callers updated. Add tests for enums, mixed flags register.
14767
aa52b601
DE
147682016-03-15 Doug Evans <dje@google.com>
14769
14770 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14771 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14772
fa4ff313
SM
147732016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14774
14775 * gdb.base/default.exp: Add $_as_string to the list of expected
14776 convenience functions.
14777
f2403c39
AB
147782016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14779
14780 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14781
f2f3ccb9
SM
147822016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14783
14784 * gdb.python/py-as-string.exp: New file.
14785 * gdb.python/py-as-string.c: New file.
14786
00dbd492
PA
147872016-03-09 Pedro Alves <palves@redhat.com>
14788
14789 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14790 signal" -> "Thread NN received signal" output change.
14791 * gdb.threads/ia64-sigill.exp: Likewise.
14792 * gdb.threads/linux-dp.exp: Likewise.
14793 * gdb.threads/manythreads.exp: Likewise.
14794 * gdb.threads/pending-step.exp: Likewise.
14795 * gdb.threads/print-threads.exp: Likewise.
14796 * gdb.threads/sigstep-threads.exp: Likewise.
14797 * gdb.threads/staticthreads.exp: Likewise.
14798 * gdb.threads/tls.exp: Likewise.
14799
1e6697ea
YQ
148002016-03-09 Pedro Alves <palves@redhat.com>
14801
14802 * gdb.base/command-line-input.exp: New file.
14803
b04fd3be
MK
148042016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14805
14806 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14807 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14808 * gdb.trace/pending.exp: Accept leading dot before function name.
14809 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14810 * lib/trace-support.exp: Set registers for ppc.
14811
98fa59e9
MK
148122016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14813
14814 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14815 use it for disassembly; accept .main in addition to main in backtrace.
14816
f77198c8
MK
148172016-03-09 Wei-cheng Wang <cole945@gmail.com>
14818 Marcin Kościelnicki <koriakin@0x04.net>
14819
14820 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14821 (gdb_recursion_test_ptr): New global variable.
14822 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14823 gdb_recursion_test.
14824 (gdb_c_test): Ditto.
14825
ba84e0da
MK
148262016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14827
14828 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14829 ordering.
14830
4366d36e
MK
148312016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14832
14833 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14834 (bar): Add bar_start_lbl label.
14835 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14836 of foo/bar for emitting DWARF and tracing.
14837
5eb264df
SDJ
148382016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14839
14840 * analyze-racy-logs.py: Set executable bit.
14841
fb6a751f
SDJ
148422016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14843
14844 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14845 (CHECK_TARGET_TMP): Likewise.
14846 (check-single-racy): New rule.
14847 (check-parallel-racy): Likewise.
14848 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14849 (do-check-parallel-racy): New rule.
14850 (check-racy/%.exp): Likewise.
14851 * README (Racy testcases): New section.
14852 * analyze-racy-logs.py: New file.
14853
bdf7e230
DE
148542016-03-03 Doug Evans <dje@google.com>
14855
14856 * gdb.base/skip.exp: Use with_test_prefix.
14857
4719d415
YQ
148582016-03-03 Yao Qi <yao.qi@linaro.org>
14859
14860 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14861 Invoke step_over_syscall "clone" and break_cond_on_syscall
14862 "clone".
14863 * gdb.base/step-over-clone.c: New file.
14864
ea507862
YQ
148652016-03-03 Yao Qi <yao.qi@linaro.org>
14866
14867 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14868 code format.
14869
8fc8cbda
YQ
148702016-03-03 Yao Qi <yao.qi@linaro.org>
14871
14872 * gdb.base/disp-step-fork.c: Rename to ...
14873 * gdb.base/step-over-fork.c: ... it. New file.
14874 * gdb.base/disp-step-vfork.c: Rename to ...
14875 * gdb.base/step-over-vfork.c: ... it. New file.
14876 * gdb.base/disp-step-syscall.exp: Rename to ...
14877 * gdb.base/step-over-syscall.exp: ... it. New file.
14878 (disp_step_cross_syscall): Rename to ...
14879 (step_over_syscall): ... it.
14880
92fa70b0
YQ
148812016-03-03 Yao Qi <yao.qi@linaro.org>
14882
14883 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14884 If target supports condition evaluation on target, invoke
14885 break_cond_on_syscall for fork and vfork.
14886
e197ad3c
YQ
148872016-03-03 Yao Qi <yao.qi@linaro.org>
14888
14889 * gdb.base/disp-step-syscall.exp: Don't invoke
14890 support_displaced_stepping.
14891 (disp_step_cross_syscall): Test with displaced stepping off and
14892 on if supported.
14893
0b47da9f
YQ
148942016-03-03 Yao Qi <yao.qi@linaro.org>
14895
14896 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14897 proc.
14898 (setup): New proc.
14899 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14900 and setup.
14901
065ab6dc
BH
149022016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14903
14904 * gdb.fortran/vla-history.exp: Remove breakpoint.
14905
07e448ad 149062016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14907
25d49b86
PA
14908 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14909 exceeds timeout.
07e448ad 14910
9ac2d526 149112016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14912
25d49b86
PA
14913 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14914 breakpoint.
9ac2d526 14915
17807369
BH
149162016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14917
14918 * gdb.mi/vla.f90: Nullify pointer after declaration.
14919
86e501af
PA
149202016-03-01 Pedro Alves <palves@redhat.com>
14921
14922 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14923
1e903e32
PA
149242016-03-01 Pedro Alves <palves@redhat.com>
14925
14926 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14927 before anything else.
14928 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14929 _GNU_SOURCE here.
14930 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14931 before anything else.
14932 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14933
6ccb54e2
PA
149342016-03-01 Pedro Alves <palves@redhat.com>
14935
14936 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14937
30ca9da1
YQ
149382016-03-01 Yao Qi <yao.qi@linaro.org>
14939
14940 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14941 prepare_for_testing.
14942
dc856b38
YQ
149432016-03-01 Yao Qi <yao.qi@linaro.org>
14944
14945 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14946
4a932159
AA
149472016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14948
14949 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14950 manually constructing the output path.
14951
f2489477
AA
149522016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14953
14954 * gdb.arch/s390-stackless.S: New.
14955 * gdb.arch/s390-stackless.exp: New.
14956
38899f16
IB
149572016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14958
14959 * gdb.dlang/circular.c: New file.
14960 * gdb.dlang/circular.exp: New file.
14961
9fde51ed
YQ
149622016-02-26 Yao Qi <yao.qi@linaro.org>
14963
14964 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14965 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14966 (testcases): Update.
14967
ce90fefe
YQ
149682016-02-26 Yao Qi <yao.qi@linaro.org>
14969
14970 * gdb.reverse/aarch64.c: Rename to ...
14971 * gdb.reverse/insn-reverse.c: ... it.
14972 * gdb.reverse/aarch64.exp: Rename to ...
14973 * gdb.reverse/insn-reverse.exp: ... it.
14974
3263bceb
YQ
149752016-02-26 Yao Qi <yao.qi@linaro.org>
14976
14977 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14978 (testcase_ftype): New.
14979 (testcases): New array.
14980 (n_testcases): New.
14981 (main): Call each element in testcases.
14982 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14983 (read_testcase): New.
14984 Do the tests in a loop.
14985
6cb59ff1
YQ
149862016-02-25 Yao Qi <yao.qi@linaro.org>
14987
14988 * gdb.base/branches.c: Remove.
14989
ae91f625
MK
149902016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14991
14992 PR gdb/13808
14993 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14994
678b48b7
MK
149952016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14996
14997 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14998
7337a6f2
MK
149992016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15000
15001 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15002 change x86_64 call_insn to 'callq'.
15003
861ca91f
AT
150042016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15005
15006 * gdb.trace/tfile-avx.c: Move to...
15007 * gdb.trace/tracefile-pseudo-reg.c: Here.
15008 * gdb.trace/tfile-avx.exp: Move to...
15009 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15010
bf74e428
GB
150112016-02-24 Gary Benson <gbenson@redhat.com>
15012
15013 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15014 message on attach.
15015
cce0e923
DE
150162016-02-23 Doug Evans <dje@google.com>
15017
15018 * gdb.base/skip.c (test_skip): New function.
15019 (end_test_skip_file_and_function): New function.
15020 (test_skip_file_and_function): New function.
15021 * gdb.base/skip1.c (test_skip): New function.
15022 (skip1_test_skip_file_and_function): New function.
15023 * gdb.base/skip.exp: Add tests for new skip options.
15024 * gdb.base/skip-solib.exp: Update expected output.
15025 * gdb.perf/skip-command.cc: New file.
15026 * gdb.perf/skip-command.exp: New file.
15027 * gdb.perf/skip-command.py: New file.
15028
4000e47e
MK
150292016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15030
15031 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15032 info registers pattern.
15033
24f75ead
IB
150342016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15035
15036 * lib/future.exp: Add D support.
15037 (gdb_find_gdc): New proc.
15038 (gdb_default_target_compile): Add D support.
15039
fbb7bcbe
WW
150402016-02-18 Wei-cheng Wang <cole945@gmail.com>
15041
15042 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15043 user+system time.
15044 (trace_speed_test): Determine the iteration count for a time
15045 between 15..30 seconds.
15046
012b3a21
WT
150472016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15048
15049 * gdb.arch/i386-mpx-sigsegv.c: New file.
15050 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15051 * gdb.arch/i386-mpx-simple_segv.c: New file.
15052 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15053
2d5189bd
YQ
150542016-02-18 Yao Qi <yao.qi@linaro.org>
15055
15056 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15057 Don't call setup_kfail.
15058
40fb20d0
YQ
150592016-02-18 Yao Qi <yao.qi@linaro.org>
15060
15061 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15062 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15063
21b1f8d2
DE
150642016-02-16 Doug Evans <dje@google.com>
15065
15066 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15067 * gdb.base/skip1.c: Ditto.
15068 * gdb.base/skip.exp: Whitespace cleanup.
15069
4041ed77
DB
150702016-02-16 Don Breazeal <donb@codesourcery.com>
15071
15072 PR remote/19496
15073 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15074 Remove kfail for PR remote/19496.
15075
c4ef31bf
SM
150762016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15077
15078 * lib/gdb.exp (standard_temp_file): Return a path specific to
15079 the runtest invocation.
15080
266b65b3
SM
150812016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15082
15083 * gdb.trace/save-trace.exp: Change relative path to be in the
15084 standard output directory.
15085
a7a0a6a9
JK
150862016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15087
15088 * gdb.arch/i386-prologue.c: Add missing prototypes.
15089
c99dbb42
JK
150902016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15091
15092 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15093 * gdb.arch/i386-prologue.exp: Likewise.
15094 * gdb.arch/i386-size.exp: Likewise.
15095
aa480355
SM
150962016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15097
15098 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15099 define object file path.
15100 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15101 file path.
15102 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15103 standard_output_file to define binfile.
15104
ba881f50
JK
151052016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15106
15107 Fix compatibility with recent gfortran-5.3.1.
15108 * gdb.fortran/vla-history.exp (print vla1 allocated)
15109 (print vla2 allocated, print $2, print $3): Remove
15110 (print $4): Rename to ...
15111 (print $2): ... here.
15112 (print $9): Rename to ...
15113 (print $5): ... here.
15114 (print $10): Rename to ...
15115 (print $6): ... here.
15116 * gdb.fortran/vla.f90: Add pvla initialization.
15117
e9fb005c
JK
151182016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15119
15120 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15121 New test.
15122 * gdb.fortran/vla-value-sub.exp: Likewise.
15123
e44e00ff
MK
151242016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15125
15126 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15127
97e94151
SM
151282016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15129
15130 * i386-biarch-core.exp: Define corefile using
15131 standard_output_file.
15132
01113bc1
YQ
151332016-02-12 Yao Qi <yao.qi@linaro.org>
15134
15135 * gdb.arch/arm-single-step-kernel-helper.c: New.
15136 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15137
33b4777c
MM
151382016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15139
15140 * gdb.btrace/tailcall-only.exp: New.
15141 * gdb.btrace/tailcall-only.c: New.
15142 * gdb.btrace/x86_64-tailcall-only.S: New.
15143 * gdb.btrace/i686-tailcall-only.S: New.
15144
acc23c11
PA
151452016-02-11 Pedro Alves <palves@redhat.com>
15146
15147 * README (Parallel testing): Add missing double quotes.
15148
e352bf0a
PA
151492016-02-11 Pedro Alves <palves@redhat.com>
15150
15151 * README (Parallel testing): New section.
15152 (GDB_PARALLEL): Rewrite.
15153 (FORCE_PARALLEL): Document.
15154
9f5fed78
MK
151552016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15156
15157 * gdb.trace/tfile-avx.c: New test.
15158 * gdb.trace/tfile-avx.exp: New test.
15159
9ef9e6a6
KS
151602016-02-09 Keith Seitz <keiths@redhat.com>
15161
15162 PR breakpoints/19546
15163 * gdb.base/infcall-exec.c: New file.
15164 * gdb.base/infcall-exec2.c: New file.
15165 * gdb.base/infcall-exec.exp: New file.
15166
a96e36da
KS
151672016-02-09 Keith Seitz <keiths@redhat.com>
15168
15169 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15170 (toplevel): Call test_bkpt_address.
15171
9f61929f
KS
151722016-02-09 Keith Seitz <keiths@redhat.com>
15173
15174 PR python/19506
15175 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15176 (toplevel): Call test_bkpt_address.
15177
1e94266c
SM
151782016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15179
15180 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15181 to AC_OUTPUT.
15182 * configure: Regenerate.
15183
2a7f3dff
PA
151842016-02-09 Pedro Alves <palves@redhat.com>
15185
15186 PR breakpoints/19548
15187 * gdb.base/execl-update-breakpoints.c (some_function): New
15188 function.
15189 (main): Call it.
15190 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15191 Tighten expected GDB output.
15192
2151ccc5
SM
151932016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15194
15195 * Makefile.in (ALL_SUBDIRS): Remove.
15196 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15197 (distclean maintainer-clean realclean): Likewise.
15198 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15199 * configure: Regenerate.
15200 * gdb.ada/Makefile.in: Delete.
15201 * gdb.arch/Makefile.in: Likewise.
15202 * gdb.asm/Makefile.in: Likewise.
15203 * gdb.base/Makefile.in: Likewise.
15204 * gdb.btrace/Makefile.in: Likewise.
15205 * gdb.cell/Makefile.in: Likewise.
15206 * gdb.compile/Makefile.in: Likewise.
15207 * gdb.cp/Makefile.in: Likewise.
15208 * gdb.disasm/Makefile.in: Likewise.
15209 * gdb.dlang/Makefile.in: Likewise.
15210 * gdb.dwarf2/Makefile.in: Likewise.
15211 * gdb.fortran/Makefile.in: Likewise.
15212 * gdb.gdb/Makefile.in: Likewise.
15213 * gdb.go/Makefile.in: Likewise.
15214 * gdb.guile/Makefile.in: Likewise.
15215 * gdb.java/Makefile.in: Likewise.
15216 * gdb.linespec/Makefile.in: Likewise.
15217 * gdb.mi/Makefile.in: Likewise.
15218 * gdb.modula2/Makefile.in: Likewise.
15219 * gdb.multi/Makefile.in: Likewise.
15220 * gdb.objc/Makefile.in: Likewise.
15221 * gdb.opencl/Makefile.in: Likewise.
15222 * gdb.opt/Makefile.in: Likewise.
15223 * gdb.pascal/Makefile.in: Likewise.
15224 * gdb.perf/Makefile.in: Likewise.
15225 * gdb.python/Makefile.in: Likewise.
15226 * gdb.reverse/Makefile.in: Likewise.
15227 * gdb.server/Makefile.in: Likewise.
15228 * gdb.stabs/Makefile.in: Likewise.
15229 * gdb.threads/Makefile.in: Likewise.
15230 * gdb.trace/Makefile.in: Likewise.
15231 * gdb.xml/Makefile.in: Likewise.
15232 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15233 GDB_PARALLEL.
15234 (standard_output_file): Remove check for GDB_PARALLEL, always
15235 return path in outputs/$subdir/$testname.
15236
437277d4
SM
152372016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15238
15239 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15240 (site.exp): Assign abs_srcdir to tcl's srcdir.
15241
31d913c7
YQ
152422016-02-04 Yao Qi <yao.qi@linaro.org>
15243
15244 * gdb.base/foll-exec-mode.c: Include limits.h.
15245 (main): Add parameters argc and argv. Get directory from
15246 argv[0].
15247 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
15248 compilation.
15249 * gdb.base/foll-exec.c: Include limits.h.
15250 (main): Add parameters argc and argv.
15251 Get directory from argv[0].
15252 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15253 Adjust tests on the number of lines as source code changed.
15254 * gdb.base/foll-vfork-exit.c: Include limits.h.
15255 (main): Add one line of statement before vfork.
15256 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15257 (main): Add parameters argc and argv. Get directory from
15258 argv[0].
15259 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15260 (setup_gdb): Set tbreak to skip some source lines.
15261 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15262 (main): Add parameters argc and argv. Get directory from
15263 argv[0].
15264 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15265 compilation.
15266 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15267 (main): Add parameters argc and argv. Get directory from
15268 argv[0].
15269 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15270 compilation.
15271
9482b9fb
DE
152722016-02-01 Doug Evans <dje@google.com>
15273
15274 * gdb.base/skip.exp: Clean up multiple references to same test name.
15275
6b2e4f10
PA
152762016-02-01 Pedro Alves <palves@redhat.com>
15277
ccb6afd6 15278 PR remote/19496
6b2e4f10
PA
15279 * gdb.threads/forking-threads-plus-breakpoint.exp
15280 (displaced_stepping_supported): New global.
15281 (probe_displaced_stepping_support): New procedure.
15282 (do_test): Add 'displaced' parameter, and use it.
15283 (top level): Check for displaced stepping support. Add displaced
15284 stepping on/off testing axis.
15285
37a8db1a
AB
152862016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15287
15288 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15289 pointer. Don't perform further tests on the unassociated pointer
15290 if the first test fails.
15291
5fdf6324
AB
152922016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15293
15294 * gdb.base/max-value-size.c: New file.
15295 * gdb.base/max-value-size.exp: New file.
15296 * gdb.base/huge.exp: Disable max-value-size for this test.
15297
935c6144
IB
152982016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15299
15300 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15301
7fe8399d
YQ
153022016-01-28 Yao Qi <yao.qi@linaro.org>
15303
15304 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15305
a2077e25
PA
153062016-01-25 Pedro Alves <palves@redhat.com>
15307
15308 PR threads/19461
15309 * gdb.base/fork-running-state.c: New file.
15310 * gdb.base/fork-running-state.exp: New file.
15311
1d2736d4
PA
153122016-01-25 Pedro Alves <palves@redhat.com>
15313
15314 PR gdb/19494
15315 * gdb.base/catch-fork-kill.c: New file.
15316 * gdb.base/catch-fork-kill.exp: New file.
15317
f1da4b11
PA
153182016-01-25 Pedro Alves <palves@redhat.com>
15319
15320 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15321 Delete, moved to lib/gdb.exp.
15322 * gdb.threads/forking-threads-plus-breakpoint.exp
15323 (foreach_with_prefix): Likewise.
15324 * gdb.threads/process-dies-while-handling-bp.exp
15325 (foreach_with_prefix): Likewise.
15326 * lib/gdb.exp (foreach_with_prefix): New procedure.
15327
45f38546
MK
153282016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15329
15330 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15331 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15332
dc29a1ce
MK
153332016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15334
15335 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15336 endian targets.
15337
092127d7
JK
153382016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15339 Pedro Alves <palves@redhat.com>
15340
15341 Fix testsuite compatibility with Guile.
15342 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15343 number.
15344
31d765d3
JK
153452016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15346
15347 Fix testsuite compatibility with Guile.
15348 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15349 (thread 1): New test for backtrace through signal handler.
15350
1ac78c04
YQ
153512016-01-22 Yao Qi <yao.qi@linaro.org>
15352
15353 PR testsuite/19491
15354 * gdb.base/multi-forks.c: Include
15355 ../lib/unbuffer_output.c
15356 (main): Call gdb_unbuffer_output.
15357
4f5946a8
DE
153582016-01-21 Doug Evans <dje@google.com>
15359
15360 * lib/ada.exp (gdb_compile_ada): Fix typo.
15361
305e13e6
JB
153622016-01-21 Joel Brobecker <brobecker@adacore.com>
15363
15364 * gdb.base/break-fun-addr.exp: New file.
15365 * gdb.base/break-fun-addr1.c: New file.
15366 * gdb.base/break-fun-addr2.c: New file.
15367
5f5dfff6
SM
153682016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15369
15370 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15371 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15372 enum flag values.
15373
fd356fa2
AA
153742016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15375
15376 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15377 when GDB can not set the vector return value. Add more comments
15378 for clarification.
15379
9df22175
AT
153802016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15381
15382 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15383 command.
15384
41d1845e
SM
153852016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15386
15387 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15388
01ac6840
SM
153892016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15390
15391 * Makefile.in (check-single): Pass --status to runtest.
15392 (check/%.exp): Likewise.
15393
153942016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15395
15396 * Makefile.in (check-parallel): Propagate return code from make
15397 do-check-parallel.
15398
bd0a71fa
MK
153992016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15400
15401 * gdb.trace/ftrace.exp: Fix expected message on continue.
15402 * gdb.trace/pending.exp: Fix expected message on continue.
15403 * gdb.trace/trace-break.exp: Fix expected message on continue.
15404
8bcbad33
SM
154052016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15406
15407 * lib/gdb.exp (gdb_test): Remove unused global references.
15408
f303dbd6
PA
154092016-01-18 Pedro Alves <palves@redhat.com>
15410
15411 * gdb.base/async-shell.exp: Adjust expected output.
15412 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15413 * gdb.base/siginfo-thread.exp: Adjust expected output.
15414 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15415 * gdb.java/jnpe.exp: Adjust expected output.
15416 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15417 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15418 * gdb.threads/leader-exit.exp: Adjust expected output.
15419 * gdb.threads/manythreads.exp: Adjust expected output.
15420 * gdb.threads/pthreads.exp: Adjust expected output.
15421 * gdb.threads/schedlock.exp: Adjust expected output.
15422 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15423 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15424 expected output.
15425 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15426 output.
15427 * gdb.threads/sigthread.exp: Adjust expected output.
15428 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15429
b2789696
YQ
154302016-01-18 Yao Qi <yao.qi@linaro.org>
15431
15432 * gdb.guile/scm-section-script.c: Replace @progbits with
15433 %progbits.
15434 * gdb.python/py-section-script.c: Likewise.
15435
71ef29a8
PA
154362016-01-15 Pedro Alves <palves@redhat.com>
15437
15438 * gdb.multi/tids.exp: Test star wildcard ranges.
15439
3f5b7598
PA
154402016-01-15 Pedro Alves <palves@redhat.com>
15441
15442 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15443 command from "thread apply" invocation.
15444 (thr_apply_info_thr_invalid): Default the expected output to the
15445 input tid list.
15446 (top level): Add tests that use convenience variables. Add tests
15447 for "thread apply" with a valid TID list, but missing the command.
15448
663f6d42
PA
154492016-01-13 Pedro Alves <palves@redhat.com>
15450
15451 * gdb.base/default.exp: Expect $_gthread as well.
15452 * gdb.multi/tids.exp: Test $_gthread.
15453 * gdb.threads/thread-specific.exp: Test $_gthread.
15454
c84f6bbf
PA
154552016-01-13 Pedro Alves <palves@redhat.com>
15456
15457 * gdb.multi/tids.exp: Test "info threads -gid".
15458
22a02324
PA
154592016-01-13 Pedro Alves <palves@redhat.com>
15460
15461 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15462 Breakpoint.thread.
15463 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15464
5d5658a1
PA
154652016-01-07 Pedro Alves <palves@redhat.com>
15466
15467 * gdb.base/break.exp: Adjust to output changes.
15468 * gdb.base/hbreak2.exp: Likewise.
15469 * gdb.base/sepdebug.exp: Likewise.
15470 * gdb.base/watch_thread_num.exp: Likewise.
15471 * gdb.linespec/keywords.exp: Likewise.
15472 * gdb.multi/info-threads.exp: Likewise.
15473 * gdb.threads/thread-find.exp: Likewise.
15474 * gdb.multi/tids.c: New file.
15475 * gdb.multi/tids.exp: New file.
15476
84654457
PA
154772016-01-13 Pedro Alves <palves@redhat.com>
15478
15479 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15480
e3940304
PA
154812016-01-13 Pedro Alves <palves@redhat.com>
15482
15483 * gdb.base/default.exp: Expect $_inferior as well.
15484 * gdb.multi/base.exp: Test $_inferior.
15485
a911d87a
PA
154862016-01-13 Pedro Alves <palves@redhat.com>
15487
15488 PR breakpoints/19388
15489 * gdb.base/catch-signal-siginfo-cond.c: New file.
15490 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15491
82075af2
JS
154922016-01-12 Josh Stone <jistone@redhat.com>
15493 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15494
15495 * gdb.base/catch-syscall.c (do_execve): New variable.
15496 (main): Conditionally trigger an execve.
15497 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15498 (test_catch_syscall_execve): New, check entry/return across execve.
15499 (do_syscall_tests): Call test_catch_syscall_execve.
15500
e46eeedd
PA
155012016-01-12 Pedro Alves <palves@redhat.com>
15502
15503 * gdb.base/random-signal.exp (do_test): New procedure, with body
15504 of testcase moved in.
15505
01d8c27e
JK
155062016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15507 Pedro Alves <palves@redhat.com>
15508
15509 * gdb.base/funcargs.exp (finish from indirectly called function):
15510 Reintroduce the case for 'First'.
15511
9a706302
JK
155122016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15513 Pedro Alves <palves@redhat.com>
15514
15515 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15516 (tcatch_vfork_then_child_follow_exec)
15517 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15518 identification.
15519
c0ecb95f
JK
155202016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15521
15522 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15523 and repeats to unlimited.
15524 * gdb.python/py-value.exp: Likewise.
15525 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15526 and repeats to unlimited.
15527
6cfc1fcb
JK
155282016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15529
15530 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15531 and reordering the functions.
15532 * gdb.multi/hangout.c: Likewise.
15533 * gdb.multi/hello.c: Likewise.
15534
582a1b00
SM
155352016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15536
15537 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15538 absolute.
15539 (SingleStatisticTestResult.report): Use dict.keys instead of
15540 dict.iterkeys.
15541
79bc59cb
PA
155422016-01-06 Pedro Alves <palves@redhat.com>
15543
15544 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15545
43368e1d
MM
155462016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15547
15548 * gdb.btrace/dlopen.exp: New.
15549 * gdb.btrace/dlopen.c: New.
15550 * gdb.btrace/dlopen-dso.c: New.
15551
79fad5b8
SL
155522015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15553
15554 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15555 PATTERN argument is optional.
15556
ab8314b3
JB
155572015-12-24 Joel Brobecker <brobecker@adacore.com>
15558
15559 * lib/ada.exp (target_compile_ada_from_dir): New function.
15560 (gdb_compile_ada): Reimplement avoiding the use of project files.
15561 * gdb.ada/gnat_ada.gpr: Delete.
15562 * gdb.ada/cond_lang.exp: Adjust test to make path before
15563 filename optional.
15564 * gdb.ada/small_reg_param.exp: Likewise.
15565
fe33faff
SM
155662015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15567
15568 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15569
6d265cb4
TP
155702015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15571
15572 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15573 case.
15574
10125099
SM
155752015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15576
15577 * gdb.base/break.exp: Remove dead code.
15578 * gdb.base/sepdebug.exp: Likewise.
15579
3ca22649
SM
155802015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15581
15582 * gdb.asm/asm-source.exp: Remove HP-UX references.
15583 * gdb.base/annota1.exp: Likewise.
15584 * gdb.base/annota3.exp: Likewise.
15585 * gdb.base/attach.exp: Likewise.
15586 * gdb.base/bigcore.exp: Likewise.
15587 * gdb.base/break.exp: Likewise.
15588 * gdb.base/call-ar-st.exp: Likewise.
15589 * gdb.base/callfuncs.exp: Likewise.
15590 * gdb.base/catch-fork-static.exp: Likewise.
15591 * gdb.base/display.exp: Likewise.
15592 * gdb.base/foll-exec-mode.exp: Likewise.
15593 * gdb.base/foll-exec.exp: Likewise.
15594 * gdb.base/foll-fork.exp: Likewise.
15595 * gdb.base/foll-vfork.exp: Likewise.
15596 * gdb.base/funcargs.exp: Likewise.
15597 * gdb.base/hbreak2.exp: Likewise.
15598 * gdb.base/inferior-died.exp: Likewise.
15599 * gdb.base/interrupt.exp: Likewise.
15600 * gdb.base/multi-forks.exp: Likewise.
15601 * gdb.base/nodebug.exp: Likewise.
15602 * gdb.base/sepdebug.exp: Likewise.
15603 * gdb.base/solib1.c: Likewise.
15604 * gdb.base/step-test.exp: Likewise.
15605 * gdb.mi/non-stop.c: Likewise.
15606 * gdb.mi/pthreads.c: Likewise.
15607 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15608 * gdb.threads/pthreads.c: Likewise.
15609 * gdb.threads/staticthreads.exp: Likewise.
15610 * lib/future.exp: Likewise.
15611 * lib/gdb.exp: Likewise.
15612 * gdb.base/so-indr-cl.c: Remove.
15613 * gdb.base/so-indr-cl.exp: Likewise.
15614 * gdb.base/solib.c: Likewise.
15615 * gdb.base/solib.exp: Likewise.
15616 * gdb.base/solib2.c: Likewise.
15617
b6304613
SM
156182015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15619
15620 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15621 * gdb.base/call-ar-st.exp: Likewise.
15622 * gdb.base/callfuncs.exp: Likewise.
15623 * gdb.base/condbreak.exp: Likewise.
15624 * gdb.base/constvars.exp: Likewise.
15625 * gdb.base/hbreak2.exp: Likewise.
15626 * gdb.base/langs.exp: Likewise.
15627 * gdb.base/list.exp: Likewise.
15628 * gdb.base/long_long.exp: Likewise.
15629 * gdb.base/ptype.exp: Likewise.
15630 * gdb.base/scope.exp: Likewise.
15631 * gdb.base/signals.exp: Likewise.
15632 * gdb.base/so-impl-ld.exp: Likewise.
15633 * gdb.base/varargs.exp: Likewise.
15634 * gdb.base/volatile.exp: Likewise.
15635 * gdb.base/whatis.exp: Likewise.
15636 * gdb.cp/cplusfuncs.exp: Likewise.
15637 * gdb.cp/inherit.exp: Likewise.
15638 * gdb.cp/local.exp: Likewise.
15639 * gdb.cp/member-ptr.exp: Likewise.
15640 * gdb.cp/method.exp: Likewise.
15641 * gdb.cp/overload.exp: Likewise.
15642 * gdb.cp/templates.exp: Likewise.
15643 * gdb.stabs/weird.exp: Likewise.
15644 * lib/compiler.c: Likewise.
15645 * lib/compiler.cc: Likewise.
15646 * lib/cp-support.exp: Likewise.
15647 * lib/gdb.exp: Likewise.
15648
bf401b07
SM
156492015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15650
15651 * configure.ac: Remove HP-UX case.
15652 * configure: Regenerate.
15653
aff9c0f8
SM
156542015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15655
15656 * lib/gdb.exp (gdb_compile): Add function doc.
15657
a6904d5a
PA
156582015-12-17 Pedro Alves <palves@redhat.com>
15659
15660 PR threads/19354
15661 * gdb.multi/info-threads.exp: New file.
15662
a22279dd
YQ
156632015-12-15 Yao Qi <yao.qi@linaro.org>
15664
15665 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15666 is aarch64*-*-*.
15667
0588c796
SL
156682015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15669
15670 * gdb.base/history-duplicates.exp: Skip if no readline support.
15671
5d978e17
SL
156722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15673
15674 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15675
7e763b86
SL
156762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15677
15678 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15679
87a3a92c
SL
156802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15681
15682 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15683 ctrl-C if nointerrupts target property is set.
15684 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15685 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15686 * gdb.base/paginate-bg-execution.exp: Likewise.
15687 * gdb.base/paginate-execution-startup.exp: Likewise.
15688 * gdb.base/random-signal.exp: Likewise.
15689 * gdb.base/range-stepping.exp: Likewise.
15690 * gdb.cp/annota2.exp: Likewise.
15691 * gdb.cp/annota3.exp: Likewise.
15692 * gdb.gdb/selftest.exp: Likewise.
15693 * gdb.threads/continue-pending-status.exp: Likewise.
15694 * gdb.threads/leader-exit.exp: Likewise.
15695 * gdb.threads/manythreads.exp: Likewise.
15696 * gdb.threads/pthreads.exp: Likewise.
15697 * gdb.threads/schedlock.exp: Likewise.
15698 * gdb.threads/sigthread.exp: Likewise.
15699
a8f077dc
DB
157002015-12-11 Don Breazeal <donb@codesourcery.com>
15701
15702 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15703 remote.
15704 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15705 * gdb.base/foll-exec.exp (main): Enable for target remote.
15706 * gdb.base/foll-fork.exp (main): Likewise.
15707 * gdb.base/foll-vfork.exp (main): Likewise.
15708 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15709 (proc continue_to_exit_bp_loc): Use clean_restart.
15710 * gdb.base/pie-execl.exp (main): Disable for target remote.
15711 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15712 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15713 * gdb.threads/execl.exp (main): Likewise.
15714 * gdb.threads/fork-child-threads.exp (main): Likewise.
15715 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15716 remote.
15717 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15718 remote.
15719 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15720 pid.tid style ptids, instead of just tid.
15721 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15722 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15723 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15724 ptids, instead of just tid.
15725
3b2464a8
AB
157262015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15727
15728 * gdb.base/list.exp (test_list_forward): Add end of file error
15729 test.
15730 (test_repeat_list_command): Add end of file error test.
15731 (test_list_backwards): Add beginning of file error test.
15732
a0def019
AB
157332015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15734
15735 * gdb.base/list.exp (test_list_invalid_args): New function,
15736 defined, and called.
15737
5c000dff
AB
157382015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15739
15740 * gdb.base/list.exp (test_list): Make test names unique.
15741
f1637ebe
YQ
157422015-12-11 Yao Qi <yao.qi@linaro.org>
15743
15744 * gdb.base/coremaker2.c: Remove.
15745
36d6fc0a
PA
157462015-12-10 Pedro Alves <palves@redhat.com>
15747
15748 * gdb.multi/base.exp: Remove stale "spaces" references.
15749
762f7747
PA
157502015-12-10 Pedro Alves <palves@redhat.com>
15751
15752 * gdb.multi/base.exp: Don't use nowarnings.
15753 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15754 * gdb.multi/hangout.c: Include stdio.h.
15755 * gdb.multi/hello.c: Include stdlib.h.
15756 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15757 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15758 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15759
28d2bfb9
AB
157602015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15761
15762 * gdb.dwarf2/dw2-ranges-base.c: New file.
15763 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15764 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15765 support additional line table, and debug ranges generation.
15766 (Dwarf::ranges): New function, generate .debug_ranges.
15767 (Dwarf::lines): Support generating simple line table programs.
15768 (Dwarf::assemble): Initialise new namespace variables.
15769
5fc2beac
KB
157702015-12-09 Kevin Buettner <kevinb@redhat.com>
15771
15772 * gdb.base/async.exp (proc test_background): Add case for
15773 asynchronous execution not supported.
15774
1c35a88f
LM
157752015-12-09 Luis Machado <lgustavo@codesourcery.com>
15776
15777 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15778 format and change test names to make them unique.
15779
b593e3d9
RK
157802015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15781 Pedro Alves <pedro@redhat.com>
15782
15783 PR gdb/18702
15784 Add checking of floatformats setup on x86_64 hosts.
15785 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15786 (smallval, bigval): New labels/constants.
15787 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15788 float" after loading bigval and smallval.
15789
d72413e6
PMR
157902015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15791
15792 * gdb.ada/fun_overload_menu.exp: New testcase.
15793 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15794
ece66d65
JS
157952015-12-04 Josh Stone <jistone@redhat.com>
15796
15797 * gdb.base/catch-fork-static.exp: New.
15798
41d0efca
YQ
157992015-12-03 Yao Qi <yao.qi@linaro.org>
15800
15801 * gdb.base/sizeof.c: Don't include stdio.h and
15802 ../lib/unbuffer_output.c.
15803 (main): New variable 'size' and 'value'. Remove printf and
15804 gdb_unbuffer_output. Assign return value to size and value.
15805 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15806 at the beginning.
15807 (check_sizeof): Check the result by printing variable 'size'.
15808 (check_valueof): Check the result by printing variable 'value'.
15809
99fd02d9
YQ
158102015-12-01 Yao Qi <yao.qi@linaro.org>
15811
15812 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15813 for aarch64*-*-linux* target.
15814
f2faf941
PA
158152015-11-30 Pedro Alves <palves@redhat.com>
15816
15817 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15818
04bf20c5
PA
158192015-11-30 Pedro Alves <palves@redhat.com>
15820
15821 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15822 Handle non-stop mode vCont replies.
15823
09df4675
PA
158242015-11-30 Pedro Alves <palves@redhat.com>
15825
15826 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15827 prepare_for_testing. Start gdb with "set non-stop on" appended to
15828 GDBFLAGS. Lax expected stop output.
15829
58b584af
YQ
158302015-11-27 Yao Qi <yao.qi@linaro.org>
15831
15832 * gdb.arch/arm-neon.exp: New.
15833 * gdb.arch/arm-neon.c: New.
15834
dfcb77a8
YQ
158352015-11-27 Yao Qi <yao.qi@linaro.org>
15836
15837 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15838
88e8ec1b
YQ
158392015-11-27 Yao Qi <yao.qi@linaro.org>
15840
15841 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15842 frames-invalid annotation.
15843
bfde72c2
YQ
158442015-11-27 Yao Qi <yao.qi@linaro.org>
15845
15846 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15847
f6512a69
SM
158482015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15849
15850 * gdb.threads/names.exp: New file.
15851 * gdb.threads/names.c: New file.
15852 * README: Mention gdb,no_thread_names.
15853
46a3515b
MM
158542015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15855
15856 PR 19297
15857 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15858 support" error.
15859
62147a22
PA
158602015-11-24 Pedro Alves <palves@redhat.com>
15861
15862 PR 17539
15863 * gdb.base/display.exp: Expect displays to be sorted in ascending
15864 order. Use multi_line.
15865 * gdb.base/solib-display.exp: Likewise.
15866
2f341b6e
PA
158672015-11-24 Pedro Alves <palves@redhat.com>
15868
15869 PR 17539
25d49b86
PA
15870 * gdb.base/display.exp: Expect displays to be sorted in ascending
15871 order. Use multi_line.
15872 * gdb.base/solib-display.exp: Likewise.
2f341b6e 15873
7e0aa6aa
PA
158742015-11-24 Pedro Alves <palves@redhat.com>
15875
15876 PR 17539
15877 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15878 threads in ascending order.
15879 * gdb.base/foll-fork.exp: Likewise.
15880 * gdb.base/foll-vfork.exp: Likewise.
15881 * gdb.base/multi-forks.exp: Likewise.
15882 * gdb.mi/mi-nonstop.exp: Likewise.
15883 * gdb.mi/mi-nsintrall.exp: Likewise.
15884 * gdb.multi/base.exp: Likewise.
15885 * gdb.multi/multi-arch.exp: Likewise.
15886 * gdb.python/py-inferior.exp: Likewise.
15887 * gdb.threads/break-while-running.exp: Likewise.
15888 * gdb.threads/execl.exp: Likewise.
15889 * gdb.threads/gcore-thread.exp: Likewise.
15890 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15891 * gdb.threads/kill.exp: Likewise.
15892 * gdb.threads/linux-dp.exp: Likewise.
15893 * gdb.threads/multiple-step-overs.exp: Likewise.
15894 * gdb.threads/next-bp-other-thread.exp: Likewise.
15895 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15896 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15897 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15898 * gdb.threads/thread-find.exp: Likewise.
15899 * gdb.threads/tls.exp: Likewise.
15900 * lib/mi-support.exp (mi_reverse_list): Delete.
15901 (mi_check_thread_states): No longer reverse list.
15902
2cc57ad8
PA
159032015-11-24 Pedro Alves <palves@redhat.com>
15904
15905 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15906 use lowercase.
15907
c93e8391
SM
159082015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15909
15910 * gdb.trace/actions.c: Include trace-common.h.
15911 (main): Add a location for a fast tracepoint.
15912 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15913 the normal tracepoints.
15914 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15915
045ccf91
SM
159162015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15917
15918 * save-trace.exp: Factor out code to these...
15919 (gdb_save_tracepoints): New.
15920 (gdb_load_tracepoints): New.
15921 (do_save_load_test): New.
15922
5506f9f6
KB
159232015-11-23 Kevin Buettner <kevinb@redhat.com>
15924
15925 * gdb.base/asmlabel.exp: New test.
15926 * gdb.base/asmlabel.c: New test case.
15927
16c3b12f
JB
159282015-11-23 Joel Brobecker <brobecker@adacore.com>
15929
15930 * gdb.base/wrong_frame_bt_full-main.c: New file.
15931 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15932 * gdb.base/wrong_frame_bt_full.exp: New file.
15933
155bfbd3
JB
159342015-11-23 Joel Brobecker <brobecker@adacore.com>
15935
15936 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15937
bb097445
JM
159382015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15939
206853a0 15940 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
15941 pstate register when comparing registers values in
15942 sparc64-*-linux-gnu targets to avoid spurious differences.
15943
9c88ed8f
JM
159442015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15945
206853a0 15946 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 15947
96161e25
SL
159482015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15949
15950 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15951 as type argument to gdb_compile.
15952 * gdb.base/nested-subp2.exp: Likewise.
15953 * gdb.base/nested-subp3.exp: Likewise.
15954
340c2830
DV
159552015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15956
15957 * lib/dwarf.exp (_note): Fix left shift of negative value.
15958 * gdb.trace/trace-condition.exp: Likewise.
15959
c1862d0f
YQ
159602015-11-13 Yao Qi <yao.qi@linaro.org>
15961
15962 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15963 comments about d10v.
15964 (test_scalar_returns): Likewise.
15965 * gdb.base/d10v.ld: Remove.
15966 * gdb.base/overlays.exp: Remove the target triplet checking for
15967 d10v-*-*.
15968 * gdb.base/structs.exp (test_struct_returns): Remove the
15969 comments about d10v.
15970 (test_struct_calls): Likewise.
15971
77ae9c19
YQ
159722015-11-13 Yao Qi <yao.qi@linaro.org>
15973
15974 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15975 * gdb.base/gnu_vector.c: Don't include stdio.h.
15976 (main): Don't print res and call add_some_intvecs.
15977
430e004e
MK
159782015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15979
15980 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15981 macro.
15982 (func5): Removed.
15983 (func4): Use FAST_TRACEPOINT_LABEL.
15984 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15985 macro.
15986 (func): Removed.
15987 (thread_function): Use FAST_TRACEPOINT_LABEL.
15988 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15989 (func): Remove.
15990 (marker): Use FAST_TRACEPOINT_LABEL.
15991 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15992 (pendfunc1): Remove.
15993 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15994 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15995 (foo): Remove.
15996 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15997 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15998 macro.
15999 (func): Remove.
16000 (marker): Use FAST_TRACEPOINT_LABEL.
16001 * gdb.trace/trace-common.h: New header.
16002 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16003 macro.
16004 (func): Remove.
16005 (marker): Use FAST_TRACEPOINT_LABEL.
16006 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16007 (func): Remove.
16008 (thread_function): Use FAST_TRACEPOINT_LABEL.
16009
6e7675a7
MK
160102015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16011
16012 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16013 in front.
16014 * gdb.trace/change-loc.exp: Use global pcreg definition.
16015 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16016 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16017 in front.
16018 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16019 * gdb.trace/pending.exp: Likewise.
16020 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16021 * gdb.trace/trace-break.exp: Likewise.
16022 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16023 in front.
16024 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16025 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16026 in front.
16027 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16028
dddc0e16
JB
160292015-11-09 Joel Brobecker <brobecker@adacore.com>
16030
16031 * gdb.ada/fin_fun_out: New testcase.
16032
c6f0b406
KB
160332015-11-07 Kevin Buettner <kevinb@redhat.com>
16034
16035 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16036 value associated with DW_AT_byte_size.
16037 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16038 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16039 DW_AT_upper_bound.
16040
f01dcfd9
KB
160412015-11-07 Kevin Buettner <kevinb@redhat.com>
16042
16043 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16044 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16045 version.
16046 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16047 gdb.dwarf2/dw2-canonicalize-type.exp,
16048 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16049 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16050 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16051 provided by gdb_target_symbol_prefix_flags_asm.
16052 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16053 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16054 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16055 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16056 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16057 macros where needed). Use this macro for symbols which require
16058 the prefix provided by SYMBOL_PREFIX.
16059
2223449a
KB
160602015-11-05 Kevin Buettner <kevinb@redhat.com>
16061
16062 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16063 New procs.
16064 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16065 representing expressions, of more than one list element.
16066 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16067 to prepend linker symbol prefix to f.
16068 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16069 table_1 and table_2.
16070 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16071 Likewise, for f and g.
16072 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16073 for ptr.
16074 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16075 for main.
16076 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16077 table_1_ptr and table_2_ptr.
16078
6f2f1a3a
JK
160792015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16080 Joel Brobecker <brobecker@adacore.com>
16081
16082 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16083
566c56c9
MK
160842015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16085
16086 * gdb.reverse/s390-mvcle.c: New test.
16087 * gdb.reverse/s390-mvcle.exp: New file.
16088 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16089
d5f0636b
MK
160902015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16091
16092 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16093
7ad8b86c
MK
160942015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16095
16096 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16097 reaching marker2.
16098 * gdb.reverse/getresuid-reverse.exp: Likewise.
16099 * gdb.reverse/pipe-reverse.exp: Likewise.
16100 * gdb.reverse/readv-reverse.exp: Likewise.
16101 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16102 * gdb.reverse/time-reverse.exp: Likewise.
16103 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16104
4081c0f1
YQ
161052015-10-30 Yao Qi <yao.qi@linaro.org>
16106
16107 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16108 (empty_cycle): Remove.
16109 (main): Don't call empty_cycle. Don't use watch_count_done.
16110 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16111 empty_cycle. Rewrite the code counting HW watchpoints.
16112
452b4ba5
MK
161132015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16114
16115 * gdb.reverse/fstatat-reverse.c: New test.
16116 * gdb.reverse/fstatat-reverse.exp: New file.
16117 * gdb.reverse/getresuid-reverse.c: New test.
16118 * gdb.reverse/getresuid-reverse.exp: New file.
16119 * gdb.reverse/pipe-reverse.c: New test.
16120 * gdb.reverse/pipe-reverse.exp: New file.
16121 * gdb.reverse/readv-reverse.c: New test.
16122 * gdb.reverse/readv-reverse.exp: New file.
16123 * gdb.reverse/recvmsg-reverse.c: New test.
16124 * gdb.reverse/recvmsg-reverse.exp: New file.
16125 * gdb.reverse/time-reverse.c: New test.
16126 * gdb.reverse/time-reverse.exp: New file.
16127 * gdb.reverse/waitpid-reverse.c: New test.
16128 * gdb.reverse/waitpid-reverse.exp: New file.
16129
5e2e7507
JK
161302015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16131
16132 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16133
0fde2c53
DE
161342015-10-26 Doug Evans <dje@google.com>
16135
16136 PR symtab/17391
16137 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16138 * gdb.dwarf2/bad-regnum.c: New file.
16139 * gdb.dwarf2/bad-regnum.exp: New file.
16140
1a70ae97
DE
161412015-10-26 Doug Evans <dje@google.com>
16142
16143 PR python/18938
16144 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16145 file.
16146
27dc26ab
JK
161472015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16148
16149 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16150 for a change by "Mention language in compile error message".
16151
bed91f4d
SM
161522015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16153
16154 PR python/18073
16155 * gdb.python/py-type.c (C::a_method): New.
16156 (C::a_const_method): New.
16157 (C::a_static_method): New.
16158 (a_function): New.
16159 * gdb.python/py-type.exp (test_fields): Test getting fields
16160 from function and method.
16161
3f2f83dd
KB
161622015-10-21 Keven Boell <keven.boell@intel.com>
16163
16164 * gdb.fortran/vla-alloc-assoc.exp: New file.
16165 * gdb.fortran/vla-datatypes.exp: New file.
16166 * gdb.fortran/vla-datatypes.f90: New file.
16167 * gdb.fortran/vla-history.exp: New file.
16168 * gdb.fortran/vla-ptype-sub.exp: New file.
16169 * gdb.fortran/vla-ptype.exp: New file.
16170 * gdb.fortran/vla-sizeof.exp: New file.
16171 * gdb.fortran/vla-sub.f90: New file.
16172 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16173 * gdb.fortran/vla-value-sub-finish.exp: New file.
16174 * gdb.fortran/vla-value-sub.exp: New file.
16175 * gdb.fortran/vla-value.exp: New file.
16176 * gdb.fortran/vla-ptr-info.exp: New file.
16177 * gdb.mi/mi-vla-fortran.exp: New file.
16178 * gdb.mi/vla.f90: New file.
16179
27145d50
SL
161802015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16181
16182 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16183 of hardwired timeout value.
16184
5f3ff4f8
JK
161852015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16186 Pedro Alves <palves@redhat.com>
16187
16188 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16189 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16190
bfd09d20
JS
161912015-10-19 Josh Stone <jistone@redhat.com>
16192
16193 * gdb.base/catch-syscall.c: Include <sched.h>.
16194 (unknown_syscall): New variable.
16195 (main): Trigger a vfork and an unknown syscall.
16196 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16197 (unknown_syscall_number): Likewise.
16198 (check_call_to_syscall): Accept an optional syscall pattern.
16199 (check_return_from_syscall): Likewise.
16200 (check_continue): Likewise.
16201 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16202 (test_catch_syscall_skipping_return): New test toggling off 'catch
16203 syscall' to step over the syscall return, then toggling back on.
16204 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16205 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16206 (do_syscall_tests): Call test_catch_syscall_without_args and
16207 test_catch_syscall_mid_vfork.
16208 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16209 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16210
b32b93c6
AS
162112015-10-19 Andrew Stubbs <ams@codesourcery.com>
16212
16213 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16214 print g_vE): Add new pass patterns.
16215 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16216 print various symbol names for vptr fields.
16217
9d622bda
AB
162182015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16219
16220 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16221 results.
16222
0fd8ac1c
YQ
162232015-10-12 Yao Qi <yao.qi@linaro.org>
16224
16225 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16226
34240514
YQ
162272015-10-12 Yao Qi <yao.qi@linaro.org>
16228
16229 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16230 is aarch64*-*-linux*.
16231
8240f442
YQ
162322015-10-12 Yao Qi <yao.qi@linaro.org>
16233
16234 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16235 (can_relocate_bcond_true): ... it.
16236 (can_relocate_bcond_false): New function.
16237 (foo): Likewise.
16238 (can_relocate_bl): Likewise.
16239 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16240 can_relocate_bl.
16241
2520f728
PMR
162422015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16243
16244 * gdb.base/nested-addr.c: New file.
16245 * gdb.base/nested-addr.exp: New testcase.
16246
abcef95a
MM
162472015-10-09 Markus Metzger <markus.t.metzger@intel.com>
16248
16249 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
16250 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
16251 its output. Ignore the output of "record goto begin" and instead
16252 check that GDB is replaying.
16253
145e3ddb
PA
162542015-10-09 Pedro Alves <palves@redhat.com>
16255
16256 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16257 (top level): Use it in the run with no args test.
16258
d5d8c4e1
IB
162592015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16260
16261 * gdb.dlang/properties.exp: New file.
16262
06e635ef
SL
162632015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16264
16265 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16266 whether or not address 0x1000 is mapped on the target.
16267
e019fd1d
SM
162682015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16269
16270 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16271 build.
16272
77ba2a67
MM
162732015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16274
16275 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16276 instruction-history test.
16277
c60eb31f
DE
162782015-09-28 Doug Evans <dje@google.com>
16279
16280 * gdb.base/gcore.c (array_func): Add reference to static_array.
16281
9a3c8263
SM
162822015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16283
16284 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16285 source line.
16286
9720e656
SL
162872015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16288
16289 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16290 short or char as base type.
16291
938d3bf2
SL
162922015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16293
16294 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16295 to allow any size enum.
16296
e6c2c623
PMR
162972015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16298
16299 * gdb.ada/array_ptr_renaming.exp: New testcase.
16300 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16301 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16302
06da0f77
PL
163032015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16304
16305 * gdb.trace/ftrace-lock.c: New file.
16306 * gdb.trace/ftrace-lock.exp: New file.
16307
4f51c22a
PL
163082015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16309
16310 * gdb.arch/insn-reloc.c: New file.
16311 * gdb.arch/ftrace-insn-reloc.exp: New file.
16312
7041adf4
PL
163132015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16314
16315 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16316 instruction.
16317 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16318 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16319 * gdb.trace/range-stepping.c: Likewise.
16320 * gdb.trace/trace-break.c: Likewise.
16321 * gdb.trace/trace-mt.c (thread_function): Likewise.
16322 * gdb.trace/ftrace.c (marker): Likewise.
16323 * gdb.trace/trace-condition.c (marker): Likewise.
16324 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16325 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16326 is_aarch64_target.
16327
015d2e7e
DE
163282015-09-18 Doug Evans <xdje42@gmail.com>
16329
16330 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16331 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16332
26b188a2
SL
163332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16334
16335 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16336 the breakpoint.
16337
79dc332b
SL
163382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16339
16340 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16341 the pending breakpoint. Remove timeout override for "Run till
16342 MI pending breakpoint on pendfunc3 on thread 2" test.
16343
f57929f2
SL
163442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16345
16346 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16347 filename pattern.
16348
3f469b17
SL
163492015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16350
16351 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16352 in breakpoint filename pattern.
16353
515b89b3
SL
163542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16355
7800dbe4
SL
16356 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16357
163582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16359
515b89b3
SL
16360 * gdb.linespec/explicit.exp: Check for readline support for
16361 tab-completion tests. Fix obvious typo.
16362
d2939ba2
MM
163632015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16364
16365 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16366 and replay.
16367
cbb55fa7
MM
163682015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16369
16370 * gdb.btrace/non-stop.c: New.
16371 * gdb.btrace/non-stop.exp: New.
16372
43691ca1
PL
163732015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16374 Yao Qi <yao.qi@linaro.org>
16375
16376 * gdb.trace/trace-condition.c: New file.
16377 * gdb.trace/trace-condition.exp: New file.
16378
d78908cf
WW
163792015-09-16 Wei-cheng Wang <cole945@gmail.com>
16380
16381 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16382 for testing bytecode compilation.
16383
1ed415e2
PA
163842015-09-16 Pedro Alves <palves@redhat.com>
16385 Sandra Loosemore <sandra@codesourcery.com>
16386
16387 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16388 (SECONDS): Redefine.
16389 (main): Call pthread_kill and alarm early.
16390 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16391 support.
16392 (test): If the target can't hardware step and doesn't support
16393 displaced stepping, increase the timeout.
16394
d136eff5
PA
163952015-09-16 Pedro Alves <palves@redhat.com>
16396
16397 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16398 (enable_debug): New procedures.
16399 (test): Use them. Bail out if waiting for threads fails.
16400 (top level): Bail out if a test fails.
16401
991f019c
YQ
164022015-09-16 Yao Qi <yao.qi@linaro.org>
16403
16404 * gdb.asm/asm-source.exp: Set asm-arch for
16405 aarch64*-*-* target.
16406 * gdb.asm/aarch64.inc: New file.
16407
bfca584f
PMR
164082015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16409
16410 * gdb.ada/array_of_variable_length.exp: New testcase.
16411 * gdb.ada/array_of_variable_length/foo.adb: New file.
16412 * gdb.ada/array_of_variable_length/pck.adb: New file.
16413 * gdb.ada/array_of_variable_length/pck.ads: New file.
16414
b326e587
DE
164152015-09-15 Doug Evans <dje@google.com>
16416
16417 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16418 of function static local variable.
16419
5382cfab
PW
164202015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16421
16422 * gdb.threads/tls-so_extern.exp: New test file.
16423 * gdb.threads/tls-so_extern.c: New test file.
16424 * gdb.threads/tls-so_extern_main.c: New test file.
16425
141c5cc4
JK
164262015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16427
16428 * gdb.opt/solib-intra-step-lib.c: New file.
16429 * gdb.opt/solib-intra-step-main.c: New file.
16430 * gdb.opt/solib-intra-step.exp: New file.
16431
d15dcecd
PA
164322015-09-15 Pedro Alves <palves@redhat.com>
16433
16434 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16435 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16436
4c2f2a79
PA
164372015-09-14 Pedro Alves <palves@redhat.com>
16438
16439 * gdb.base/hook-stop-continue.c: Delete.
16440 * gdb.base/hook-stop-continue.exp: Delete.
16441 * gdb.base/hook-stop-frame.c: Delete.
16442 * gdb.base/hook-stop-frame.exp: Delete.
16443 * gdb.base/hook-stop.c: New file.
16444 * gdb.base/hook-stop.exp: New file.
16445
919e6dbe
PMR
164462015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16447
16448 * gdb.ada/access_to_packed_array.exp: New testcase.
16449 * gdb.ada/access_to_packed_array/foo.adb: New file.
16450 * gdb.ada/access_to_packed_array/pack.adb: New file.
16451 * gdb.ada/access_to_packed_array/pack.ads: New file.
16452
157280a4
MM
164532015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16454
16455 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16456 buffer size test.
16457
2fd33e94
DB
164582015-09-11 Don Breazeal <donb@codesourcery.com>
16459
16460 * gdb.base/foll-exec.c: Add copyright header. Fix
16461 formatting issues.
16462 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16463 (do_exec_tests): Use clean_restart in place of zap_session,
16464 and for test initialization. Fix formatting issues. Use
16465 fail in place of perror.
16466 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16467 an expect statement to match an expression with output from
16468 the program under debug.
16469 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16470 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16471 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16472 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16473 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16474
e70b6e8e
DE
164752015-09-09 Doug Evans <dje@google.com>
16476
16477 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16478
7a551a51
DE
164792015-09-09 Doug Evans <dje@google.com>
16480
16481 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16482
4c666f84
DE
164832015-09-09 Doug Evans <dje@google.com>
16484
16485 * gdb.base/savedregs.exp: Fix typo.
16486
243a9253
PA
164872015-09-09 Pedro Alves <palves@redhat.com>
16488
16489 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16490
c0fa8fbd
SL
164912015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16492
16493 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16494 command actually switches threads. Give up on remaining
16495 tests if target fails to stop at breakpoint.
16496
cd7c1778
PMR
164972015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16498
16499 * gdb.ada/funcall_char.exp: New testcase.
16500 * gdb.ada/funcall_char/foo.adb: New file.
16501
dc5c8746
PMR
165022015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16503
16504 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16505 expected outputs. Add two testcases for completing ambiguous
16506 functions.
16507 * gdb.ada/complete/aux_pck.adb: New file.
16508 * gdb.ada/complete/aux_pck.ads: New file.
16509 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16510 Ambiguous_Func functions.
16511 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16512 * gdb.ada/complete/pck.adb: Likewise.
16513
4e83a1e7
UW
165142015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16515
16516 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16517 failures to run the test program under GDB.
16518
8ce74153
LM
165192015-08-26 Luis Machado <lgustavo@codesourcery.com>
16520
16521 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16522 to C.
16523
e9756d52
PP
165242015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16525
16526 * gdb.base/run-after-attach.exp: New test file.
16527 * gdb.base/run-after-attach.c: New test file.
16528
8d37573b
DB
165292015-08-26 Don Breazeal <donb@codesourcery.com>
16530
16531 * gdb.base/foll-exec-2.c: New test program.
16532 * gdb.base/foll-exec-2.exp: New test.
16533
63e43d3a
PMR
165342015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16535
16536 * gdb.base/nested-subp1.exp: New file.
16537 * gdb.base/nested-subp1.c: New file.
16538 * gdb.base/nested-subp2.exp: New file.
16539 * gdb.base/nested-subp2.c: New file.
16540 * gdb.base/nested-subp3.exp: New file.
16541 * gdb.base/nested-subp3.c: New file.
16542
3d40fbb5
PA
165432015-08-24 Pedro Alves <palves@redhat.com>
16544
16545 * gdb.server/connect-without-multi-process.c: New file.
16546 * gdb.server/connect-without-multi-process.exp: New file.
16547
4422ac93
LM
165482015-08-24 Luis Machado <lgustavo@codesourcery.com>
16549
16550 * gdb.opt/inline-markers.c: Make z int.
16551
91dddb86
LM
165522015-08-24 Luis Machado <lgustavo@codesourcery.com>
16553
16554 * gdb.opt/inline-markers.c: Make z volatile.
16555
a48847ee
LM
165562015-08-24 Luis Machado <lgustavo@codesourcery.com>
16557
16558 * gdb.opt/inline-bt.c: New volatile global z.
16559 * gdb.opt/inline-cmds.c: Likewise.
16560 * gdb.opt/inline-locals.c: Likewise.
16561 * gdb.opt/inline-markers.c: New extern global z.
16562 (marker): Use z.
16563 (inline_fn): Likewise.
16564
0ebbc52b
PA
165652015-08-24 Pedro Alves <palves@redhat.com>
16566
16567 * config/m32r-stub.exp: Remove file.
16568 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16569 * gdb.base/call-rt-st.exp: Likewise.
16570 * gdb.base/call-strs.exp: Likewise.
16571 * gdb.base/default.exp: Remove references to h8300-*-hms and
16572 *-*-udi*.
16573 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16574
77c365df
AA
165752015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16576
16577 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16578 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16579 and "return" use KFAIL when GDB can not read/write the vector
16580 return value.
16581
4313b8c0
GB
165822015-08-21 Gary Benson <gbenson@redhat.com>
16583
16584 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16585
0e433b32
PA
165862015-08-20 Pedro Alves <palves@redhat.com>
16587
16588 * gdb.server/solib-list.exp: No longer expect an interior stop in
16589 non-stop mode.
16590
221e1a37
PA
165912015-08-20 Pedro Alves <palves@redhat.com>
16592
16593 * gdb.server/connect-stopped-target.c: New file.
16594 * gdb.server/connect-stopped-target.exp: New file.
16595
40e3ad0e
PA
165962015-08-20 Pedro Alves <palves@redhat.com>
16597
16598 * gdb.dwarf2/comp-unit-lang.exp: New file.
16599 * gdb.dwarf2/comp-unit-lang.c: New file.
16600
af39b327
PMR
166012015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16602
16603 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16604 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16605
7d45c7c3 166062015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 16607
7d45c7c3
KB
16608 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16609 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16610
4d6cceb4
DE
166112015-08-18 Doug Evans <dje@google.com>
16612 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16613
16614 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16615 skip_python_tests. New arg prompt_regexp.
16616 (skip_python_tests): New function.
16617 * lib/mi-support.exp (mi_skip_python_tests): New function.
16618 * gdb.python/py-mi-objfile-gdb.py: New file.
16619 * gdb.python/py-mi-objfile.c: New file.
16620 * gdb.python/py-mi-objfile.exp: New file.
16621
ad89c2aa
KS
166222015-08-17 Keith Seitz <keiths@redhat.com>
16623
16624 * gdb.linespec/explicit.exp: Move strace test from here ...
16625 * gdb.trace/strace.exp: ... to here.
16626
e3ae3c43
PP
166272015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16628
16629 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16630 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16631
604b2636
DE
166322015-08-14 Doug Evans <xdje42@gmail.com>
16633
16634 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16635 inferior before selecting a new file.
16636
6ff0ba5f
DE
166372015-08-14 Doug Evans <xdje42@gmail.com>
16638
16639 * gdb.mi/mi-disassemble.exp: Update.
16640 * gdb.base/disasm-optim.S: New file.
16641 * gdb.base/disasm-optim.c: New file.
16642 * gdb.base/disasm-optim.h: New file.
16643 * gdb.base/disasm-optim.exp: New file.
16644
9ca98f92
KS
166452015-08-14 Keith Seitz <keiths@redhat.com>
16646
16647 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16648 "evaluated-by".
16649
52bbc560
JB
166502015-08-13 Joel Brobecker <brobecker@adacore.com>
16651
16652 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16653
5d8c3ed3
PMR
166542015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16655
16656 * gdb.ada/fun_renaming.exp: New testcase.
16657 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16658 * gdb.ada/fun_renaming/pack.adb: New file.
16659 * gdb.ada/fun_renaming/pack.ads: New file.
16660
ea8812bc
KS
166612015-08-12 Keith Seitz <keiths@redhat.com>
16662
16663 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16664 gdb_get_line_number.
16665
4dafcdeb
JB
166662015-08-12 Joel Brobecker <brobecker@adacore.com>
16667
16668 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16669 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16670 gdb.base/dso2dso.exp: New files.
16671
5ba32597
SDJ
166722015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16673 Pedro Alves <palves@redhat.com>
16674 Keith Seitz <keiths@redhat.com>
16675
16676 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16677 GDBFLAGS.
16678
b6dafabf
PP
166792015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16680
16681 * gdb.base/gdbhistsize-history.exp
16682 (test_histsize_history_setting): Use save_vars.
16683 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16684 Use save_vars.
16685 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16686 * gdb.base/readline.exp: Use save_vars.
16687
abe8e607
PP
166882015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16689
16690 * lib/gdb.exp (save_vars): New proc.
16691
629500fa
KS
166922015-08-11 Keith Seitz <keiths@redhat.com>
16693
16694 * gdb.base/help.exp: Update help_breakpoint_text.
16695
eb8c4e2e
KS
166962015-08-11 Keith Seitz <keiths@redhat.com>
16697
16698 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16699 (at toplevel): Call test_explicit_breakpoints.
16700 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16701 breakpoints.
16702 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16703 breakpoint conditions, "-cond".
16704
87f0e720
KS
167052015-08-11 Keith Seitz <keiths@redhat.com>
16706
16707 * gdb.linespec/3explicit.c: New file.
16708 * gdb.linespec/cpexplicit.cc: New file.
16709 * gdb.linespec/cpexplicit.exp: New file.
16710 * gdb.linespec/explicit.c: New file.
16711 * gdb.linespec/explicit.exp: New file.
16712 * gdb.linespec/explicit2.c: New file.
16713 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16714 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16715 before using in the matching pattern.
16716 Clarify that `prefix' is a regular expression.
16717
f00aae0f
KS
167182015-08-11 Keith Seitz <keiths@redhat.com>
16719
16720 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16721 test.
16722 Add tests for missing ",FMT" and ",".
16723
e27852be
DE
167242015-08-10 Doug Evans <dje@google.com>
16725 Keith Seitz <keiths@redhat.com>
16726
16727 PR gdb/17960
16728 * gdb.base/completion.exp: Add location completer tests.
16729
7f03bd92
PA
167302015-08-07 Pedro Alves <palves@redhat.com>
16731
16732 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16733 tests here.
16734 (top level): Run do_test with and without displaced stepping.
16735
3fc8eb30
PA
167362015-08-07 Pedro Alves <palves@redhat.com>
16737
16738 * gdb.base/valgrind-disp-step.c: New file.
16739 * gdb.base/valgrind-disp-step.exp: New file.
16740
d4569d7b
PA
167412015-08-07 Pedro Alves <palves@redhat.com>
16742
16743 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16744 Delete function.
16745 (main): Add alarm. Run an infinite loop instead of calling
16746 wait_threads.
16747 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16748 comment.
16749 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16750 Delete function.
16751 (main): Add alarm. Run an infinite loop instead of calling
16752 wait_threads.
16753 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16754 comment.
16755
e1316e60
PA
167562015-08-07 Pedro Alves <palves@redhat.com>
16757
16758 * gdb.base/checkpoint-ns.exp: New file.
16759 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16760 standard_testfile.
16761
da8c46d2
MM
167622015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16763
16764 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16765 * gdb.btrace/instruction_history.exp: Update.
16766 * gdb.btrace/tsx.exp: New.
16767 * gdb.btrace/tsx.c: New.
16768
de1c2c52
PA
167692015-08-06 Pedro Alves <palves@redhat.com>
16770
16771 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16772 increase timeout.
16773 * gdb.reverse/until-precsave.exp: Bump timeouts.
16774
782e0bf4
PA
167752015-08-06 Pedro Alves <palves@redhat.com>
16776
16777 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16778
83e97ed0
PA
167792015-08-06 Pedro Alves <palves@redhat.com>
16780
16781 PR gdb/18749
16782 * gdb.threads/process-dies-while-handling-bp.c: New file.
16783 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16784
863d01bd
PA
167852015-08-06 Pedro Alves <palves@redhat.com>
16786
16787 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16788 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16789
0a39bb32
PA
167902015-08-05 Pedro Alves <palves@redhat.com>
16791
16792 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16793 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16794
ee2d2b10
SL
167952015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16796
16797 * gdb.base/bp-permanent.exp: Report test as unsupported if
16798 the target cannot stop at the permanent breakpoint.
16799
4e1bdb00
DE
168002015-08-03 Doug Evans <dje@google.com>
16801
16802 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16803 10000.
16804
3d338901
DE
168052015-08-03 Doug Evans <dje@google.com>
16806
16807 * Makefile.in (workers/%.worker, build-perf): New rule.
16808 (GDB_PERFTEST_MODE): New variable.
16809 (check-perf): Use it.
16810 (clean): Clean up gdb.perf parallel build subdirs.
16811 * lib/build-piece.exp: New file.
16812 * lib/gdb.exp (make_gdb_parallel_path): New function
16813 (standard_output_file, standard_temp_file): Call it.
16814 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16815 of $GDB_PARALLEL.
16816 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16817
af061d3e
DE
168182015-08-03 Doug Evans <dje@google.com>
16819
8e1afc81 16820 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16821 (LOG_FILE_NAME): New global.
16822 (TextReporter.__init__): Initialize self.txt_sum.
16823 (TextReporter.report): Add support for multiple data-points.
16824 Move report to perftest.sum, put raw data in perftest.log.
16825 (TextReporter.start): Open sum and log files.
16826 (TextReporter.end): Close sum and log files.
8e1afc81
DE
16827 * gdb.perf/lib/perftest/testresult.py
16828 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 16829
2c8c5d37
PA
168302015-07-31 Pedro Alves <palves@redhat.com>
16831
16832 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16833 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16834 kill_wait_spawned_process instead of explicit "kill -9".
16835 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16836 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16837 kill_wait_spawned_process.
16838 * gdb.base/attach-twice.exp: Likewise.
16839 * gdb.base/attach.exp: Likewise.
16840 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16841 gdb_test_multiple.
16842 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16843 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16844 kill_wait_spawned_process.
16845 * gdb.base/valgrind-infcall.exp: Likewise.
16846 * gdb.multi/multi-attach.exp: Likewise.
16847 * gdb.python/py-prompt.exp: Likewise.
16848 * gdb.python/py-sync-interp.exp: Likewise.
16849 * gdb.server/ext-attach.exp: Likewise.
16850 * gdb.threads/attach-into-signal.exp (corefunc): Use
16851 spawn_wait_for_attach, spawn_id_get_pid and
16852 kill_wait_spawned_process.
16853 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16854 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16855 spawn_id_get_pid and kill_wait_spawned_process.
16856 * gdb.threads/attach-stopped.exp (corefunc): Use
16857 spawn_wait_for_attach, spawn_id_get_pid and
16858 kill_wait_spawned_process.
16859 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16860 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16861 kill_wait_spawned_process instead of explicit "kill -9".
16862 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16863 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16864 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16865 processes. Don't map cygwin/windows pids here. Now returns a
16866 spawn id list.
16867
032a0fca
SL
168682015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16869
16870 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16871 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16872 correct patch.
16873
61a934ca
SL
168742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16875
16876 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16877
4bc4d428
SL
168782015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16879
16880 Reapply:
16881 2014-05-21 Mark Wielaard <mjw@redhat.com>
16882
16883 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16884
998d452a
PA
168852015-07-30 Pedro Alves <palves@redhat.com>
16886
16887 * linux-low.c (handle_extended_wait): Set the child's last
16888 reported status to TARGET_WAITKIND_STOPPED.
16889
69dde7dc
PA
168902015-07-30 Pedro Alves <palves@redhat.com>
16891
16892 PR threads/18600
16893 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16894 only shows inferior 1.
16895
4dd63d48
PA
168962015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16897 Pedro Alves <palves@redhat.com>
16898
16899 PR threads/18600
16900 * gdb.threads/fork-plus-threads.c: New file.
16901 * gdb.threads/fork-plus-threads.exp: New file.
16902
d618e4c5
PP
169032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16904
16905 * gdb.base/batch-preserve-term-settings.exp
16906 (test_terminal_settings_preserved_after_cli_exit): Use
16907 send_quit_command.
16908
1eef6428
PA
169092015-07-29 Pedro Alves <palves@redhat.com>
16910 Don Breazeal <donb@codesourcery.com>
16911
16912 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16913 output from both inferior_spawn_id and gdb_spawn_id.
16914
7da5b897
SDJ
169152015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16916
16917 * gdb.threads/attach-into-signal.exp (corefunc): Use
16918 with_test_prefix on nested loops, uniquefying the test messages.
16919
dac804df
SDJ
169202015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16921
16922 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16923 commit.
16924
06265e53
PP
169252015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16926
16927 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16928 New proc.
16929 (test_terminal_settings_preserved_after_sigterm): New test.
16930
18206ca3
PP
169312015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16932
16933 * gdb.base/batch-preserve-term-settings.exp
16934 (test_terminal_settings_preserved_after_cli_exit): New test.
16935
90074d11
PP
169362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16937
16938 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16939 manipulation of saved_gdbflags.
16940 (test_terminal_settings_preserved): Remove global declaration of
16941 the unused variable pagination_prompt. Remove manipulation of
16942 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16943 GDBFLAGS.
16944
eb1a7902
PA
169452015-07-29 Pedro Alves <palves@redhat.com>
16946
16947 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16948
8b75dd3b
PA
169492015-07-29 Pedro Alves <palves@redhat.com>
16950
16951 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16952 at the top.
16953
dedad4e3
PA
169542015-07-29 Pedro Alves <palves@redhat.com>
16955
16956 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16957 (main): Call gdb_unbuffer_output.
16958 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16959 (main): Call gdb_unbuffer_output.
16960 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16961 (main): Call gdb_unbuffer_output.
16962 * gdb.base/call-strs.exp: Adjust to step over the
16963 gdb_unbuffer_output call.
16964 * gdb.base/catch-gdb-caused-signals.c: Include
16965 "../lib/unbuffer_output.c".
16966 (main): Call gdb_unbuffer_output.
16967 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16968 (main): Call gdb_unbuffer_output.
16969 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16970 (main): Call gdb_unbuffer_output.
16971 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16972 (main): Call gdb_unbuffer_output.
16973 * gdb.base/shlib-call.exp: Adjust to step over the
16974 gdb_unbuffer_output call.
16975 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16976 (main): Call gdb_unbuffer_output.
16977 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16978 (main): Call gdb_unbuffer_output.
16979 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16980 (main): Rename to ...
16981 (test): ... this.
16982 (main): Reimplement.
16983 * gdb.base/varargs.exp: Run to test instead of to main.
16984 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16985 (main): Call gdb_unbuffer_output.
16986
58789a91
PA
169872015-07-29 Pedro Alves <palves@redhat.com>
16988
16989 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16990 factore out from mi_continue_dprintf. For call-style dprintfs,
16991 expect dprintf output out of $inferior_spawn_id.
16992 (mi_continue_dprintf): Use mi_expect_dprintf.
16993 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16994 (main): Call gdb_unbuffer_output.
16995
e8376742
PA
169962015-07-29 Pedro Alves <palves@redhat.com>
16997
16998 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16999 (default_mi_gdb_start): Set inferior_spawn_id instead of
17000 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17001 gdb_spawn_id.
17002 (mi_gdb_test): Always expect inferior output from both
17003 $inferior_spawn_id and $gdb_spawn_id.
17004
08280010
PA
170052015-07-29 Pedro Alves <palves@redhat.com>
17006
17007 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17008 send_inferior and $inferior_spawn_id.
17009
4d30e432
PA
170102015-07-29 Pedro Alves <palves@redhat.com>
17011
17012 * gdb.gdb/complaints.exp (test_initial_complaints)
17013 (test_serial_complaints, test_short_complaints): Use
17014 gdb_test_stdio.
17015 (test_empty_complaint): Handle $inferior_spawn_id !=
17016 $gdb_spawn_id.
17017
0d30a335
PA
170182015-07-29 Pedro Alves <palves@redhat.com>
17019
17020 * gdb.base/varargs.exp: Use gdb_test_stdio.
17021
39413b29
PA
170222015-07-29 Pedro Alves <palves@redhat.com>
17023
17024 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17025
7cb000a9
PA
170262015-07-29 Pedro Alves <palves@redhat.com>
17027
17028 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17029
d7b8ac82
PA
170302015-07-29 Pedro Alves <palves@redhat.com>
17031
17032 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17033 parameter into two new parameters, "inf_result" and "gdb_result".
17034 Expect inferior output and gdb output from $inferior_spawn_id and
17035 $gdb_spawn_id, respectively. Adjust all callers.
17036
789c3a0c
PA
170372015-07-29 Pedro Alves <palves@redhat.com>
17038
17039 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17040 of gdb_test_sequence.
17041
77e760c3
PA
170422015-07-29 Pedro Alves <palves@redhat.com>
17043
17044 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17045 (saw_spurious_output): Expect inferior output from
17046 $inferior_spawn_id. Use gdb_test_stdio.
17047
8396d2cd
PA
170482015-07-29 Pedro Alves <palves@redhat.com>
17049
17050 * gdb.base/dprintf.exp: Use standard_testfile. Change
17051 prepare_for_testing call.
17052 (srcfile): Don't set.
17053 (restart): New procedure.
17054 (test_dprintf): New procecure, use to continue over dprintfs.
17055 (test_call, test_agent): New procedures, tests moved here.
17056 Restart gdb and recreate dprintfs. Adjust expected output.
17057
2051d61f
PA
170582015-07-29 Pedro Alves <palves@redhat.com>
17059
17060 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17061
452397af
PA
170622015-07-29 Pedro Alves <palves@redhat.com>
17063
17064 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17065
8aed9555
PA
170662015-07-29 Pedro Alves <palves@redhat.com>
17067
17068 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17069 gdb_test_stdio.
17070
188a61b4
PA
170712015-07-29 Pedro Alves <palves@redhat.com>
17072
17073 * lib/gdb.exp (gdb_test_stdio): New procedure.
17074
12264a45
PA
170752015-07-29 Pedro Alves <palves@redhat.com>
17076
17077 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17078
23ffc893
PA
170792015-07-29 Pedro Alves <palves@redhat.com>
17080
17081 * gdb.base/call-signal-resume.exp: Remove check for
17082 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17083 * gdb.base/unwindonsignal.exp: Likewise.
17084 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17085 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17086
65566918
PA
170872015-07-29 Pedro Alves <palves@redhat.com>
17088
17089 * gdb.base/siginfo-addr.c (pass): New function.
17090 (handler): Call it iff si_addr is correct.
17091 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17092 Set a breakpoint at "pass" and continue to it.
17093
d60a9221
SDJ
170942015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17095
17096 * gdb.python/py-objfile.exp: Make some tests have unique names.
17097 * gdb.python/py-pp-registration.exp: Likewise.
17098
bde40b8f
PA
170992015-07-28 Pedro Alves <palves@redhat.com>
17100
17101 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17102
13e1dec8
SM
171032015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17104
17105 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17106
da33c9a7
SM
171072015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17108
17109 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17110
077836f7
PP
171112015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17112
17113 * gdb.base/gdb-sigterm-2.exp: New test.
17114
b8cc7b2e
DE
171152015-07-25 Doug Evans <xdje42@gmail.com>
17116
17117 Revert:
17118 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17119 (workers/%.worker, build-perf): New rule.
17120 (GDB_PERFTEST_MODE): New variable.
17121 (check-perf): Use it.
17122 (clean): Clean up gdb.perf parallel build subdirs.
17123 * lib/build-piece.exp: New file.
17124 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17125 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17126 name.
17127 (standard_temp_file): Ditto.
17128 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17129 of $GDB_PARALLEL.
17130
c8bd4544
DE
171312015-07-24 Doug Evans <dje@google.com>
17132
17133 * gdb.perf/lib/perftest/utils.py: New file.
17134 * gdb.perf/gm-hello.cc: New file.
17135 * gdb.perf/gm-pervasive-typedef.cc: New file.
17136 * gdb.perf/gm-pervasive-typedef.h: New file.
17137 * gdb.perf/gm-std.cc: New file.
17138 * gdb.perf/gm-std.h: New file.
17139 * gdb.perf/gm-use-cerr.cc: New file.
17140 * gdb.perf/gm-utils.h: New file.
17141 * gdb.perf/gmonster-null-lookup.py: New file.
17142 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17143 * gdb.perf/gmonster-print-cerr.py: New file.
17144 * gdb.perf/gmonster-ptype-string.py: New file.
17145 * gdb.perf/gmonster-runto-main.py: New file.
17146 * gdb.perf/gmonster-select-file.py: New file.
17147 * gdb.perf/gmonster1-null-lookup.exp: New file.
17148 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17149 * gdb.perf/gmonster1-print-cerr.exp: New file.
17150 * gdb.perf/gmonster1-ptype-string.exp: New file.
17151 * gdb.perf/gmonster1-runto-main.exp: New file.
17152 * gdb.perf/gmonster1-select-file.exp: New file.
17153 * gdb.perf/gmonster1.cc: New file.
17154 * gdb.perf/gmonster1.exp: New file.
17155 * gdb.perf/gmonster2-null-lookup.exp: New file.
17156 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17157 * gdb.perf/gmonster2-print-cerr.exp: New file.
17158 * gdb.perf/gmonster2-ptype-string.exp: New file.
17159 * gdb.perf/gmonster2-runto-main.exp: New file.
17160 * gdb.perf/gmonster2-select-file.exp: New file.
17161 * gdb.perf/gmonster2.cc: New file.
17162 * gdb.perf/gmonster2.exp: New file.
17163
6eab34f3
DE
171642015-07-24 Doug Evans <dje@google.com>
17165
17166 * gdb.perf/README: New file.
17167 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17168 * lib/gen-perf-test.exp: New file.
17169
63738bfd
DE
171702015-07-24 Doug Evans <dje@google.com>
17171
17172 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17173 (PerfTest::startup): New function.
17174 (PerfTest::run): Return result of calling body.
17175 (PerfTest::assemble): Rewrite.
17176 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17177 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17178 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17179 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17180 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17181
7b606f95
DE
171822015-07-24 Doug Evans <dje@google.com>
17183
17184 * lib/gdb.exp (clean_restart): Make executable optional.
17185
a97b16b8
DE
171862015-07-24 Doug Evans <dje@google.com>
17187
17188 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17189 compiler_info references.
17190 * gdb.cp/temargs.exp: Ditto.
17191 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17192 (get_compiler_info): Early exit if already computed. Set compiler_info
17193 to "unknown" if there was a problem.
17194 (test_compiler_info): Add function comment. Call get_compiler_info.
17195
35baa57f
DE
171962015-07-24 Doug Evans <dje@google.com>
17197
17198 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17199 (workers/%.worker, build-perf): New rule.
17200 (GDB_PERFTEST_MODE): New variable.
17201 (check-perf): Use it.
17202 (clean): Clean up gdb.perf parallel build subdirs.
17203 * lib/build-piece.exp: New file.
17204 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17205 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17206 name.
17207 (standard_temp_file): Ditto.
17208 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17209 of $GDB_PARALLEL.
17210
6ebea266
DE
172112015-07-24 Doug Evans <dje@google.com>
17212
17213 * lib/future.exp (gdb_default_target_compile): New option
17214 "early_flags".
17215 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17216 --as-needed.
17217
1e76a7e9
SDJ
172182015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17219
17220 * gdb.base/catch-syscall.exp: Call gdb_exit before
17221 gdb_skip_xml_test.
17222
5068630a
PA
172232015-07-24 Pedro Alves <palves@redhat.com>
17224
17225 * gdb.python/py-events.exp: Accept output between the stop event
17226 and the prompt.
17227 * gdb.python/py-evsignal.exp: Likewise.
17228 * gdb.python/py-evthreads.exp: Likewise.
17229
77598427
PA
172302015-07-24 Pedro Alves <palves@redhat.com>
17231
17232 PR gdb/18717
17233 * gdb.threads/non-ldr-exit.c: New file.
17234 * gdb.threads/non-ldr-exit.exp: New file.
17235
11e6c98f
YQ
172362015-07-24 Yao Qi <yao.qi@linaro.org>
17237
17238 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17239 restarting process.
17240
51aee833
YQ
172412015-07-24 Yao Qi <yao.qi@linaro.org>
17242
17243 * gdb.server/ext-restart.exp: New file.
17244
8cfe207c
YQ
172452015-07-24 Yao Qi <yao.qi@linaro.org>
17246
17247 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
17248 argument options.
17249 * gdb.server/ext-wrapper.exp: New file.
17250
cc12ce38
DE
172512015-07-23 Doug Evans <dje@google.com>
17252
17253 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17254 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17255
d0d84780
PMR
172562015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17257
17258 * gdb.ada/var_arr_typedef.exp: New testcase.
17259 * gdb.ada/var_arr_typedef/pack.adb: New file.
17260 * gdb.ada/var_arr_typedef/pack.ads: New file.
17261 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17262
8b558f79
JB
172632015-07-20 Joel Brobecker <brobecker@adacore.com>
17264
17265 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17266
775a3298
JK
172672015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17268
17269 * gdb.arch/i386-biarch-core.exp: Replace istarget
17270 by "complete set gnutarget". Remove expectation for the "core-file"
17271 command.
17272
db1ff28b
JK
172732015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17274
17275 Revert the previous commit:
17276 Tests for validate symbol file using build-id.
17277
0a94970d
JK
172782015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17279
17280 Tests for validate symbol file using build-id.
17281 * gdb.base/solib-mismatch-lib.c: New file.
17282 * gdb.base/solib-mismatch-libmod.c: New file.
17283 * gdb.base/solib-mismatch.c: New file.
17284 * gdb.base/solib-mismatch.exp: New file.
17285
03346981
SL
172862015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17287
17288 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17289 nios2-*-linux*.
17290 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17291 * gdb.base/siginfo.exp: Likewise.
17292 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17293
42422cc7
PL
172942015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17295
17296 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17297 Move it to ...
17298 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17299 ... here.
17300 * gdb.trace/range-stepping.exp: Check that the target supports
17301 range stepping.
17302
cfa68bae
JK
173032015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17304
17305 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17306
8ffdba26
PA
173072015-07-14 Pedro Alves <palves@redhat.com>
17308
17309 * gdb.base/killed-outside.exp: New file.
17310 * gdb.base/killed-outside.c: New file.
17311
218a5a11
JK
173122015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17313
17314 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17315 (n at main): New.
17316 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17317
e03ed3c6
AA
173182015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17319
17320 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17321 infcall tests instead of setting up for KFAIL.
17322
485668e5
MM
173232015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17324
17325 * gdb.btrace/record_goto-step.exp: New.
17326
08464196
JK
173272015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17328
17329 PR compile/18484
17330 * gdb.compile/compile.c (struct struct_type): Add volatile to
17331 selffield's type.
17332 * gdb.compile/compile.exp
17333 (compile code struct_object.selffield = &struct_object): Skip further
17334 struct_object tests if this one xfails.
17335
bcf5c1d9
RC
173362015-07-08 Robert O'Callahan <robert@ocallahan.org>
17337
17338 PR exp/18617
17339 * gdb.trace/ax.exp: Add test.
17340
4931af25
YQ
173412015-07-07 Yao Qi <yao.qi@linaro.org>
17342
17343 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17344 instead of istarget "aarch64*-*-*".
17345 * gdb.arch/aarch64-fp.exp: Likewise.
17346 * gdb.base/float.exp: Likewise.
17347 * gdb.reverse/aarch64.exp: Likewise.
17348 * lib/gdb.exp (is_aarch64_target): New proc.
17349
9fcf688e
YQ
173502015-07-07 Yao Qi <yao.qi@linaro.org>
17351
17352 * lib/gdb.exp (is_aarch32_target): New proc.
17353 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17354 instead of "istarget "arm*-*-*"".
17355 * gdb.arch/arm-disp-step.exp: Likewise.
17356 * gdb.arch/thumb-bx-pc.exp: Likewise.
17357 * gdb.arch/thumb-prologue.exp: Likewise.
17358 * gdb.arch/thumb-singlestep.exp: Likewise.
17359 * gdb.base/disp-step-syscall.exp: Likewise.
17360 * gdb.base/float.exp: Likewise.
17361
fbd8d50d
YQ
173622015-07-07 Yao Qi <yao.qi@linaro.org>
17363
17364 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17365 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17366
71be1fdc
YQ
173672015-07-07 Yao Qi <yao.qi@linaro.org>
17368
17369 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17370 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17371 if it exists.
17372 * gdb.multi/multi-arch.exp: Likewise.
17373
3e221d36
SM
173742015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17375
17376 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17377 print.
17378
d441430b
YQ
173792015-07-07 Yao Qi <yao.qi@linaro.org>
17380
17381 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17382
06f810bd
MG
173832015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17384
17385 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17386 '[' and ']' characters.
17387
5e61e7c0
IB
173882015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17389
17390 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17391
28bf096c
PA
173922015-06-29 Pedro Alves <palves@redhat.com>
17393
17394 PR threads/18127
17395 * gdb.threads/hand-call-new-thread.c: New file.
17396 * gdb.threads/hand-call-new-thread.c: New file.
17397
ee93cd5e
KS
173982015-06-26 Keith Seitz <keiths@redhat.com>
17399 Doug Evans <dje@google.com>
17400
17401 PR 16253
17402 * gdb.cp/var-tag-2.cc: New file.
17403 * gdb.cp/var-tag-3.cc: New file.
17404 * gdb.cp/var-tag-4.cc: New file.
17405 * gdb.cp/var-tag.cc: New file.
17406 * gdb.cp/var-tag.exp: New file.
17407
fc637f04
PP
174082015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17409
17410 * gdb.base/history-duplicates.exp: New test.
17411
2e52ae68
PP
174122015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17413
17414 * gdb.base/completion.exp: Test the completion of the "focus"
17415 command.
17416
6e22494e
JK
174172015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17418
17419 * gdb.arch/amd64-prologue-skip.S: New file.
17420 * gdb.arch/amd64-prologue-skip.exp: New file.
17421
bf7b9cd9
SM
174222015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17423
17424 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17425 is_address_zero_readable check.
17426
201e8dfd
PB
174272015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17428
17429 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17430 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17431
5cd867b4
YQ
174322015-06-24 Yao Qi <yao.qi@linaro.org>
17433
17434 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17435 linux targets.
17436
4d7be007
YQ
174372015-06-24 Yao Qi <yao.qi@linaro.org>
17438
17439 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17440 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17441 * gdb.base/siginfo-thread.exp: Likewise.
17442
07fcd301
YQ
174432015-06-22 Yao Qi <yao.qi@linaro.org>
17444
17445 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17446
52042a00
YQ
174472015-06-22 Yao Qi <yao.qi@linaro.org>
17448
17449 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17450 aarch64*-*-*.
17451 (skip_hw_watchpoint_tests): Likewise.
17452
74bd41ce
PP
174532015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17454
17455 * gdb.base/gdbinit-history.exp: Test the interaction between
17456 setting GDBHISTSIZE and setting the history size via .gdbinit.
17457
bc460514
PP
174582015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17459
17460 PR gdb/16999
17461 * gdb.base/gdbhistsize-history.exp: New test.
17462
b58c513b
PP
174632015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17464
17465 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17466 with GDBHISTSIZE.
17467 * gdb.base/readline.exp: Likewise.
17468
92046791
YQ
174692015-06-17 Yao Qi <yao.qi@linaro.org>
17470
17471 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17472 line.
17473
2093d2d3
PP
174742015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17475
17476 * gdb.base/gdbinit-history.exp: Add test case to check that
17477 an unlimited history file does not get truncated on exit.
17478
e6c693af
AA
174792015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17480
17481 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17482 (VECTOR): New macro. Use it...
17483 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17484 ...for these typedefs.
17485 (int8, char1, int1, double1): New typedefs.
17486 (struct just_int2, struct two_int2): New structures.
17487 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17488 (add_structvecs, add_singlevecs): New functions.
17489 (main): Call add_some_intvecs twice.
17490 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17491 the compile and exit upon failure. Try compiling for the "native"
17492 architecture. Test inferior function calls with vector arguments
17493 and vector return value handling with "finish" and "return".
17494
c74f7d1c
JT
174952015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17496
17497 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17498 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17499 PE file.
17500 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17501
98aa42ee
AT
175022015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17503
17504 PR breakpoints/16465
17505 * gdb.mi/mi-dprintf-pending.c: New file.
17506 * gdb.mi/mi-dprintf-pending.exp: New test.
17507 * gdb.mi/mi-dprintf-pendshr.c: New file.
17508
7d73c23c 175092015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17510 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17511
17512 * gdb.arch/i386-mpx-map.c: New file.
17513 * gdb.arch/i386-mpx-map.exp: New File.
17514
175152015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17516
17517 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17518 * gdb.arch/i386-mpx.exp: Indentation fixed.
17519
175202015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17521
17522 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17523 function and improved indentation.
17524 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17525 gdb_test_multiple. Added additional tests to skip the test.
17526
175272015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17528
17529 * gdb.arch/i386-avx512.c: Change path in include file.
17530 * gdb.arch/i386-avx512.exp: Change include dir path
17531 compilation flag.
17532 * gdb.arch/i386-mpx.c: Change path in include file.
17533 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17534 flag.
17535
d5eba19a
JK
175362015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17537
17538 * gdb.compile/compile-print.exp (compile print *vararray@3)
17539 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17540
7f361056
JK
175412015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17542
17543 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17544 (do not keep jit in memory): ... this.
17545 (expect 5): Change it to ...
17546 (expect no 5): ... this.
17547
3b462ec2
SM
175482015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17549
17550 PR gdb/15564
17551 * gdb.mi/mi-detach.exp: New file.
17552
e0619de6
JK
175532015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17554
17555 PR symtab/18392
17556 * gdb.arch/amd64-tailcall-self.S: New file.
17557 * gdb.arch/amd64-tailcall-self.c: New file.
17558 * gdb.arch/amd64-tailcall-self.exp: New file.
17559
e970cb34
DB
175602015-05-28 Don Breazeal <donb@codesourcery.com>
17561
17562 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17563 tests for remote targets by checking is_target_gdbserver.
17564
b2e2f908
DE
175652015-05-27 Doug Evans <dje@google.com>
17566
17567 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17568 * gdb.dwarf2/opaque-type-lookup.c: New file.
17569 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17570
82c7be31
DE
175712015-05-26 Doug Evans <dje@google.com>
17572
17573 * gdb.cp/iostream.cc: New file.
17574 * gdb.cp/iostream.exp: New file.
17575
b4f54984
DE
175762015-05-26 Doug Evans <dje@google.com>
17577
17578 * gdb.dwarf2/dw2-op-call.exp: Update.
17579 * gdb.dwarf2/dw4-sig-types.exp: Update.
17580 * gdb.dwarf2/implptr.exp: Update.
17581 * gdb.mi/mi-cmd-param-changed.exp: Update.
17582
4ea6efe9
DE
175832015-05-26 Doug Evans <dje@google.com>
17584
17585 * gdb.python/py-lazy-string.c: New file.
17586 * gdb.python/py-lazy-string.exp: New file.
17587 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17588 (main): Update. Add estring3.
17589 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17590 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17591
f6bb7db3
YQ
175922015-05-26 Omair Javaid <omair.javaid@linaro.org>
17593 Yao Qi <yao.qi@linaro.org>
17594
17595 * gdb.reverse/aarch64.c: New.
17596 * gdb.reverse/aarch64.exp: New.
17597
a81bfbd0
OJ
175982015-05-26 Omair Javaid <omair.javaid@linaro.org>
17599
25d49b86
PA
17600 * lib/gdb.exp (supports_process_record): Return true for
17601 aarch64*-linux*.
a81bfbd0
OJ
17602 (supports_reverse): Likewise.
17603
158bf1b4
PP
176042015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17605
17606 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17607 Use with_test_prefix.
17608
a0145030
AB
176092015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17610
17611 * gdb.base/completion.exp: Add test for completion of layout
17612 names.
17613
ebe3b578
AB
176142015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17615
17616 * lib/gdb.exp (skip_tui_tests): New proc.
17617 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17618
84204ed7
PA
176192015-05-19 Pedro Alves <palves@redhat.com>
17620
17621 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17622 Save the whole env array instead of just HOME. Unset HISTSIZE in
17623 the environment while testing. Restore whole environment
17624 afterwards.
17625
37442ce1
DE
176262015-05-16 Doug Evans <xdje42@gmail.com>
17627
17628 * gdb.guile/scm-ports.c: New file.
17629 * gdb.guile/scm-ports.exp: Add memory port tests.
17630
36de76f9
JK
176312015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17632
17633 * gdb.compile/compile-print.c: New file.
17634 * gdb.compile/compile-print.exp: New file.
17635
3a9558c4
JK
176362015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17637
17638 * gdb.compile/compile-ops.exp: Cast param to void.
17639 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17640 (compile code struct_object.selffield = &struct_object): Add xfail.
17641
aa715135
JG
176422015-05-15 Joel Brobecker <brobecker@adacore.com>
17643
17644 * gdb.ada/arr_enum_with_gap: New testcase.
17645
931e5bc3
JG
176462015-05-15 Joel Brobecker <brobecker@adacore.com>
17647
17648 * gdb.ada/byte_packed_arr: New testcase.
17649
9cd4d857
JB
176502015-05-15 Joel Brobecker <brobecker@adacore.com>
17651
17652 * gdb.ada/pckd_neg: New testcase.
17653
ebfd00d2
PP
176542015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17655
17656 PR gdb/17820
17657 * gdb.base/gdbinit-history.exp: New test.
17658 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17659 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17660
4c082a81
SC
176612015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17662
17663 * gdb.python/py-xmethods.cc: Enhance test case.
17664 * gdb.python/py-xmethods.exp: New tests.
17665 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17666 function.
17667 (B_indexoper): Likewise.
17668 (global_dm_list) : Add new xmethod worker functions.
17669
f7797074
SDJ
176702015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17671
17672 * gdb.base/coredump-filter.exp: Correctly unset
17673 "coredump_var_addr" array.
17674
a4674e4e
PA
176752015-05-08 Pedro Alves <palves@redhat.com>
17676
17677 * gdb.server/non-existing-program.exp: Unset spawn_id.
17678
df2eb078
SC
176792015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17680
17681 PR python/18291
17682 * gdb.python/py-xmethods.exp: Add tests.
17683
422349a3
YQ
176842015-05-08 Yao Qi <yao.qi@linaro.org>
17685
17686 PR gdb/18208
17687 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17688 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17689 function set_coredump_filter, and remove remote_exec call.
17690 Remove argument ipid. Callers update.
17691 (top level): Don't get inferior's PID.
17692
63fc80ce
AA
176932015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17694
17695 * gdb.base/watch_thread_num.exp: Skip test on targets without
17696 access watchpoints.
17697
80ad801e
PA
176982015-05-06 Pedro Alves <palves@redhat.com>
17699
17700 PR server/18081
17701 * gdb.server/non-existing-program.exp: New file.
17702
0fa7fe50
JB
177032015-05-05 Joel Brobecker <brobecker@adacore.com>
17704
17705 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17706
3ea89b92
PMR
177072015-05-05 Joel Brobecker <brobecker@adacore.com>
17708
17709 * gdb.ada/out_of_line_in_inlined: New testcase.
17710
87b8eff0
JB
177112015-05-05 Joel Brobecker <brobecker@adacore.com>
17712
17713 * gdb.ada/var_rec_arr: New testcase.
17714
5fccc635
YQ
177152015-04-30 Yao Qi <yao.qi@linaro.org>
17716
17717 * gdb.base/break-idempotent.exp: If
17718 skip_hw_watchpoint_multi_tests returns true, skip the tests
17719 on "rwatch" and "awatch".
17720
42d38f42
YQ
177212015-04-30 Yao Qi <yao.qi@linaro.org>
17722
17723 * gdb.base/relativedebug.exp: Invoke gdb command
17724 "info sharedlibrary", and if libc.so doesn't have debug info,
17725 skip the test.
17726
2ce1cdbf
DE
177272015-04-29 Doug Evans <dje@google.com>
17728
17729 * gdb.python/py-xmethods.exp: Add ptype tests.
17730 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17731 get_result_type method.
17732
f24a38c5
LM
177332015-04-29 Luis Machado <lgustavo@codesourcery.com>
17734
17735 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17736 the target does not support hardware watchpoints.
17737
ecbf2b3c
LM
177382015-04-29 Luis Machado <lgustavo@codesourcery.com>
17739
17740 * gdb.base/break-always.exp: Abort testing if writing to memory
17741 causes an error.
17742
34f5f757
DE
177432015-04-28 Doug Evans <dje@google.com>
17744
17745 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17746 * gdb.python/py-pp-registration.exp: ... here. New file.
17747 * gdb.python/py-pp-registration.c: New file.
17748 * gdb.python/py-pp-registration.py: New file.
17749
69b4374a
DE
177502015-04-28 Doug Evans <dje@google.com>
17751
17752 * gdb.python/py-bad-printers.c: New file.
17753 * gdb.python/py-bad-printers.py: New file.
17754 * gdb.python/py-bad-printers.exp: New file.
17755
59fb7612
SS
177562015-04-28 Sasha Smundak <asmundak@google.com>
17757
17758 * gdb.python/py-type.exp: New test.
17759
2631b16a
AW
177602015-04-28 Andy Wingo <wingo@igalia.com>
17761
17762 * gdb.python/py-parameter.exp:
17763 * gdb.guile/scm-parameter.exp: Escape the path that we are
17764 matching against, as it might contain characters that are special
17765 to regular expressions.
17766
460efde1
JB
177672015-04-27 Joel Brobecker <brobecker@adacore.com>
17768
17769 * gdb.ada/rec_comp: New testcase.
17770
2d369d8e
SDJ
177712015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17772
17773 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17774 before using it.
17775
cf75d6c3
AB
177762015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17777
17778 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17779 new tests for verilog output.
17780
8dbe7ca5
YQ
177812015-04-24 Yao Qi <yao.qi@linaro.org>
17782
17783 * boards/remote-gdbserver-on-localhost.exp: New file.
17784
4ef9fb2f
PA
177852015-04-23 Pedro Alves <palves@redhat.com>
17786
17787 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17788 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17789 "end of file", remove $inferior_spawn_id from the indirect list.
17790
0a803169
PA
177912015-04-23 Pedro Alves <palves@redhat.com>
17792
17793 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17794
749ef8f8
PA
177952015-04-23 Pedro Alves <palves@redhat.com>
17796
17797 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17798 on $any_spawn_id instead of only on $gdb_spawn_id.
17799
8aae4344
PM
178002015-04-21 Pierre Muller <muller@sourceware.org>
17801
17802 PR pascal/17815
17803 * lib/pascal.exp (gpc_compile): Add new option "class".
17804 (fpc_compile): Likewise.
17805 * gdb.pascal/case-insensitive-symbols.pas: New file.
17806 * gdb.pascal/case-insensitive-symbols.exp: New file.
17807
1586c8fb
GB
178082015-04-20 Gary Benson <gbenson@redhat.com>
17809
17810 * gdb.base/attach.exp: Fix three extended remote failures.
17811
1b6e6f5c
GB
178122015-04-17 Gary Benson <gbenson@redhat.com>
17813
17814 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17815 the main executable over the remote protocol.
17816
e797481d
PA
178172015-04-16 Pedro Alves <palves@redhat.com>
17818
17819 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17820 a new gdbserver if gdbserver_reconnect_p is set.
17821
1ca99c42
PA
178222015-04-16 Pedro Alves <palves@redhat.com>
17823
17824 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17825 is set, don't exit gdbserver.
17826
af9fd6f8
AA
178272015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17828
17829 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17830 appropriate .insn, such that an older assembler can be used.
17831 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17832 the z/Architecture instruction set on 31-bit targets as well.
17833
04ff1e61
AA
178342015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17835
17836 * gdb.go/handcall.exp: Remove all logic related to the first
17837 breakpoint and rely on go_runto_main instead.
17838 * gdb.go/strings.exp: Likewise.
17839 * gdb.go/unsafe.exp: Likewise.
17840 * gdb.go/hello.exp: Likewise. Also rename the remaining
17841 breakpoint marker to "breakpoint 1".
17842 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17843 * gdb.go/strings.go: Likewise.
17844 * gdb.go/unsafe.go: Likewise.
17845 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17846 "set breakpoint 2 here" and rename the remaining breakpoint marker
17847 to "breakpoint 1".
17848
40d2f8d6
SM
178492015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17850
17851 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17852 if itertools.imap is not present.
17853 * gdb.python/py-objfile.exp: Add parentheses.
17854 * gdb.python/py-type.exp: Same.
17855 * gdb.python/py-unwind-maint.py: Same.
17856
8cbc97c6
YQ
178572015-04-15 Yao Qi <yao.qi@linaro.org>
17858
17859 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17860 of ":$ptr_size" and set its form explicitly.
17861
45fd756c
YQ
178622015-04-15 Pedro Alves <palves@redhat.com>
17863 Yao Qi <yao.qi@linaro.org>
17864
17865 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17866 timeout by factor of 4.
17867 (test_regular_watch): Likewise.
17868 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17869 * gdb.reverse/sigall-reverse.exp: Likewise.
17870 * gdb.reverse/until-precsave.exp: Likewise.
17871 * lib/gdb.exp (with_timeout_factor): New proc.
17872 (gdb_expect): Move some code to ...
17873 (get_largest_timeout): ... here. New procedure.
17874
9e811bc3
LM
178752015-04-14 Luis Machado <lgustavo@codesourcery.com>
17876
17877 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17878
0ff6fcb2
LM
178792015-04-13 Luis Machado <lgustavo@codesourcery.com>
17880
17881 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17882 to write to the .text section.
17883
7578d5f7
LM
178842015-04-13 Luis Machado <lgustavo@codesourcery.com>
17885
17886 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17887 Handle the case of targets that do not provide PID information.
17888
2efe15c4
YQ
178892015-04-13 Yao Qi <yao.qi@linaro.org>
17890
17891 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17892 and use expect instead of gdb_expect.
17893
8cd8f2f8
SDJ
178942015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17895
17896 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17897 "coredump_var_addr" to avoid naming conflict with other testcases.
17898
9ee41772
PA
178992015-04-10 Pedro Alves <palves@redhat.com>
17900
17901 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17902 gdb_test_sequence and gdb_assert.
17903
07473109
PA
179042015-04-10 Pedro Alves <palves@redhat.com>
17905
17906 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17907 test messages that don't include the breakpoint address.
17908
de3db44c
YQ
179092015-04-10 Yao Qi <yao.qi@linaro.org>
17910
17911 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17912 false for some offset and width combinations which aren't
17913 supported by linux kernel.
17914
c79d856c
PA
179152015-04-10 Pedro Alves <palves@redhat.com>
17916
17917 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17918 procedure, factored out from ...
17919 (top level): ... here. Add "set displaced-stepping" testing axis.
17920 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17921 parameter "displaced". Use it.
17922 (top level): Use foreach and add "set displaced-stepping" testing
17923 axis.
17924
ebc90b50
PA
179252015-04-10 Pedro Alves <palves@redhat.com>
17926
17927 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17928 Remove comment.
17929 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17930 both the address of the instruction that triggers the watchpoint
17931 and the address of the instruction immediately after, and use
17932 those addresses for the test. Fix comment.
17933
8f572e5c
PA
179342015-04-10 Pedro Alves <palves@redhat.com>
17935
17936 * gdb.base/sigstep.exp (breakpoint_to_handler)
17937 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17938 Test "backtrace" in handler.
17939 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17940 (top level): Add new "displaced" test axis to
17941 breakpoint_to_handler, breakpoint_to_handler_entry and
17942 breakpoint_over_handler.
17943
8d707a12
PA
179442015-04-10 Pedro Alves <palves@redhat.com>
17945
17946 PR gdb/18216
17947 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17948
ef713951
YQ
179492015-04-10 Yao Qi <yao.qi@linaro.org>
17950
17951 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17952 (test_add_rn_pc): New function.
17953 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17954 (top level): Invoke test_add_rn_pc.
17955
906d60cf
PA
179562015-04-10 Pedro Alves <palves@redhat.com>
17957
17958 PR gdb/13858
17959 * gdb.base/step-over-no-symbols.exp: New file.
17960
f2983cc3
AW
179612015-04-09 Andy Wingo <wingo@igalia.com>
17962
17963 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17964 after the Python tests.
17965
6d62641c
SDJ
179662015-04-08 Keith Seitz <keiths@redhat.com>
17967
17968 PR python/16699
17969 * gdb.python/py-completion.exp: New tests for completion.
17970 * gdb.python/py-completion.py (CompleteLimit1): New class.
17971 (CompleteLimit2): Likewise.
17972 (CompleteLimit3): Likewise.
17973 (CompleteLimit4): Likewise.
17974 (CompleteLimit5): Likewise.
17975 (CompleteLimit6): Likewise.
17976 (CompleteLimit7): Likewise.
17977
f3770638
PA
179782015-04-08 Pedro Alves <palves@redhat.com>
17979
17980 PR gdb/18214
17981 PR gdb/18216
17982 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17983 function.
17984 (main): Install it as SIGUSR1 handler.
17985 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17986 parameter. Always use "setup" as prefix. Toggle "set
17987 displaced-stepping" off/on depending on global. Don't switch to
17988 thread 1 here.
17989 (top level): Add displaced stepping "off/on" test axis. Update
17990 "setup" calls. Wrap each subtest with with_test_prefix. Test
17991 continuing with a queued signal in each thread.
17992
4496bed7
PA
179932015-04-08 Pedro Alves <palves@redhat.com>
17994
17995 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17996 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17997 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17998 Return early if running to main fails.
17999 * gdb.trace/while-stepping.exp: Likewise.
18000
b97fde92
PA
180012015-04-07 Pedro Alves <palves@redhat.com>
18002
18003 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18004 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18005 interact with inferior program.
18006
f71c18e7
PA
180072015-04-07 Pedro Alves <palves@redhat.com>
18008
18009 * lib/gdb.exp (inferior_spawn_id): New global.
18010 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18011 spawn id after processing the user code.
18012 (default_gdb_start): Set inferior_spawn_id.
18013 (send_inferior): New procedure.
18014 * lib/gdbserver-support.exp (gdbserver_start): Set
18015 inferior_spawn_id.
18016 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18017
6423214f
PA
180182015-04-07 Pedro Alves <palves@redhat.com>
18019
18020 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18021 * lib/gdbserver-support.exp (gdbserver_start): Make
18022 $server_spawn_id global.
18023 (gdbserver_start): Don't wait for gdbserver's spawn id with
18024 expect_background.
18025 (close_gdbserver): New procedure.
18026 (gdb_exit): Rename the default version and reimplement.
18027
71c0ee8c
PA
180282015-04-07 Pedro Alves <palves@redhat.com>
18029
72f4393d 18030 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18031 append the substituted item, not the original item.
18032
203bc29b
PA
180332015-04-07 Pedro Alves <palves@redhat.com>
18034
18035 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18036 gdb_expect.
18037
508a3ddf
PA
180382015-04-07 Pedro Alves <palves@redhat.com>
18039
18040 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18041 output appearing once only.
18042
9f6dbe2b
PA
180432015-04-07 Pedro Alves <palves@redhat.com>
18044
18045 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18046 that doesn't expect anything. Return early if running to main
18047 fails.
18048
337532fa
YQ
180492015-04-07 Yao Qi <yao.qi@linaro.org>
18050
18051 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18052 (child_function): Call alarm.
18053 (main): Move call to alarm into the loop.
18054 * gdb.threads/non-stop-fair-events.exp: Build program with
18055 -DTIMEOUT=$timeout.
18056
01b622d4
DE
180572015-04-06 Doug Evans <xdje42@gmail.com>
18058
18059 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18060 Fix dest parameter to board_info.
18061 (fpc_compile): Ditto.
18062 (gdb_compile_pascal): Rename dest arg to destfile.
18063
961f4160
PMR
180642015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18065
18066 * gdb.ada/funcall_ref.exp: New file.
18067 * gdb.ada/funcall_ref/foo.adb: New file.
18068
cafda597
YQ
180692015-04-02 Yao Qi <yao.qi@linaro.org>
18070
18071 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18072 is remote.
18073
fed040c6
GB
180742015-04-02 Gary Benson <gbenson@redhat.com>
18075
18076 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18077
d11916aa
SS
180782015-04-01 Sasha Smundak <asmundak@google.com>
18079
18080 * gdb.python/py-unwind-maint.c: New file.
18081 * gdb.python/py-unwind-maint.exp: New test.
18082 * gdb.python/py-unwind-maint.py: New file.
18083 * gdb.python/py-unwind.c: New file.
18084 * gdb.python/py-unwind.exp: New test.
18085 * gdb.python/py-unwind.py: New test.
18086
a1471180
PA
180872015-04-01 Pedro Alves <palves@redhat.com>
18088
18089 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18090 to fail instead of non-existent $test.
18091
0bbeccb1
PA
180922015-04-01 Pedro Alves <palves@redhat.com>
18093
18094 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18095 GDBFLAGS if not empty.
18096
3c724c8c
PMR
180972015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18098
18099 * gdb.ada/complete.exp: Remove "multi_line".
18100 * gdb.ada/info_exc.exp: Remove "multi_line".
18101 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18102 * gdb.ada/ptype_field.exp: Remove "multi_line".
18103 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18104 * gdb.ada/tagged.exp: Remove "multi_line".
18105 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18106 [multi_line ...]
18107 * gdb.btrace/delta.exp: Likewise.
18108 * gdb.btrace/exception.exp: Likewise.
18109 * gdb.btrace/function_call_history.exp: Likewise.
18110 * gdb.btrace/instruction_history.exp: Likewise.
18111 * gdb.btrace/nohist.exp: Likewise.
18112 * gdb.btrace/record_goto.exp: Likewise.
18113 * gdb.btrace/segv.exp: Likewise.
18114 * gdb.btrace/stepi.exp: Likewise.
18115 * gdb.btrace/tailcall.exp: Likewise.
18116 * gdb.btrace/unknown_functions.exp: Likewise.
18117 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18118 * lib/gdb.exp: Add the "multi_line" helper.
18119
4eec2deb
PA
181202015-04-01 Pedro Alves <palves@redhat.com>
18121
18122 * gdb.threads/tid-reuse.c: New file.
18123 * gdb.threads/tid-reuse.exp: New file.
18124
df8411da
SDJ
181252015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18126
18127 PR corefiles/16092
18128 * gdb.base/coredump-filter.c: New file.
18129 * gdb.base/coredump-filter.exp: Likewise.
18130
6ef37366
PM
181312015-03-27 Petr Machata <pmachata@redhat.com>
18132
18133 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18134 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18135 (Dwarf::assemble): Initialize them.
18136 (Dwarf::lines): New function.
18137
7ec911b0
JT
181382015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18139
18140 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18141 SYMBOL_PREFIX for x86_64-*-cygwin.
18142
ff908ebf
AW
181432015-03-26 Andy Wingo <wingo@igalia.com>
18144
18145 PR symtab/18148
18146 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18147 const_value but not a location.
18148 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18149 location defined in non-main CUs are visible.
18150
6d5f0679
YQ
181512015-03-26 Yao Qi <yao.qi@linaro.org>
18152
18153 PR testsuite/18139
18154 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18155 Add a line number entry for the same line.
18156 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18157 Add a line number entry for the same line.
18158
2898689b
YQ
181592015-03-26 Yao Qi <yao.qi@linaro.org>
18160
18161 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18162 .int 0.
18163 (func): Likewise. Add .Lfunc_1 label.
18164 Use .Lfunc_1 label.
18165 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18166 .int 0.
18167 (func): Likewise.
18168 Use .Lfunc_1 label.
18169
85180498
YQ
181702015-03-26 Yao Qi <yao.qi@linaro.org>
18171
18172 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18173 Call gdb_compile instead to compile each .s files without debug
18174 information.
18175
8aa08a8d
YQ
181762015-03-26 Yao Qi <yao.qi@linaro.org>
18177
18178 * gdb.base/savedregs.exp (process_saved_regs): Make
18179 "Saved registers:" optional in the pattern.
18180
66849923
MM
181812015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18182
18183 * gdb.btrace/next.exp: Merged into step.exp.
18184 * gdb.btrace/finish.exp: Merged into step.exp.
18185 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18186 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18187 "record goto" and checking the exact replay position.
18188 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18189 check for "Recording format" in "info record" output.
18190 * gdb.btrace/record_goto.exp: Choose test file based on target.
18191 * gdb.btrace/x86-record_goto.S: Renamed into ...
18192 * gdb.btrace/x86_64-record_goto.S: ... this.
18193 * gdb.btrace/i686-record_goto.S: New.
18194 * gdb.btrace/x86-tailcall.S: Renamed into ...
18195 * gdb.btrace/x86_64-tailcall.S: ... this.
18196 * gdb.btrace/i686-tailcall.S: New.
18197 * gdb.btrace/x86-tailcall.c: Renamed into ...
18198 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18199 separate statements. Update test.
18200 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18201 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18202 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18203 * gdb.btrace/tailcall.exp: Choose test file based on target.
18204 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18205
11cc1b74
MM
182062015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18207
18208 * gdb.btrace/exception.exp: Increase BTS buffer size.
18209
a25d8bf9
PA
182102015-03-24 Pedro Alves <palves@redhat.com>
18211
18212 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18213
856e7dd6
PA
182142015-03-24 Pedro Alves <palves@redhat.com>
18215
18216 * gdb.threads/schedlock.exp (test_step): No longer expect that
18217 "set scheduler-locking step" with "next" over a function call runs
18218 threads unlocked.
18219
ad235a41
AT
182202015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18221
18222 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18223
15630549
AT
182242015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18225
18226 PR breakpoints/16466
18227 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18228 * gdb.mi/mi-pending.c (thread_func): New function.
18229 (int main): Add threading support required.
18230 * gdb.mi/mi-pending.exp: Add tests for this issue.
18231 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18232 (pendfunc2): Remove stdio dependency.
18233 * gdb.mi/mi-pendshr2.c: New file.
18234
693dca06
KS
182352015-03-23 Keith Seitz <keiths@redhat.com>
18236
18237 * gdb.linespec/keywords.c: New file.
18238 * gdb.linespec/keywords.exp: New file.
18239
7e993ebf
KS
182402015-03-23 Keith Seitz <keiths@redhat.com>
18241
18242 PR gdb/18021
18243 * gdb.dwarf2/staticvirtual.exp: New test.
18244
bc23328c
JK
182452015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18246
18247 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
18248 * README: Remove HP-UX and gdb.hp.
18249 (configuration):
18250 * configure: Regenerate.
18251 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
18252 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18253 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18254 gdb.hp/gdb.defects/Makefile.
18255 * gdb.hp/Makefile.in: File deleted.
18256 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18257 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18258 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18259 * gdb.hp/gdb.aCC/run.c: File deleted.
18260 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18261 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18262 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18263 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18264 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18265 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18266 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18267 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18268 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18269 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18270 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18271 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18272 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18273 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18274 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18275 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18276 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18277 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18278 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18279 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18280 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18281 * gdb.hp/gdb.compat/average.c: File deleted.
18282 * gdb.hp/gdb.compat/sum.c: File deleted.
18283 * gdb.hp/gdb.compat/xdb.c: File deleted.
18284 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18285 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18286 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18287 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18288 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18289 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18290 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18291 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18292 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18293 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18294 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18295 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18296 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18297 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18298 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18299 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18300 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18301 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18302 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18303 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18304 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18305 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18306 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18307 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18308 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18309 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18310 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18311 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18312 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18313 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18314 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18315 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18316 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18317 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18318 * gdb.hp/tools/odump: File deleted.
18319
8bf3b159
PA
183202015-03-19 Pedro Alves <palves@redhat.com>
18321
18322 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18323 (saw_thread_3): New globals.
18324 (top level): Increment them when an event for the corresponding
18325 thread is seen.
18326 (no thread starvation): New test.
18327
eb54c8bf
PA
183282015-03-19 Pedro Alves <palves@redhat.com>
18329
18330 * gdb.threads/continue-pending-status.c: New file.
18331 * gdb.threads/continue-pending-status.exp: New file.
18332
32d2e5d6
PA
183332015-03-18 Pedro Alves <palves@redhat.com>
18334
18335 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18336 Use gdb_is_target_remote instead of is_remote. Use
18337 gdb_test_multiple instead of gdb_expect. Exit early if
18338 gdb_test_multiple hits its internal matches. Tighten stepi tests
18339 expected output. Fail on exit with any signal, instead of just
18340 SIGILL.
18341
f68f11b7
YQ
183422015-03-18 Yao Qi <yao.qi@linaro.org>
18343
18344 PR tdep/18107
18345 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18346 variable.
18347 * gdb.base/catch-syscall.exp: Don't skip it on
18348 aarch64*-*-linux* target. Remove elements in all_syscalls.
18349 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18350 target.
18351 (setup_all_syscalls): New proc.
18352
ca5fd19b
YQ
183532015-03-16 Yao Qi <yao.qi@linaro.org>
18354
18355 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18356 (top level): Skip tests if valid_addr_p returns false for
18357 $cmd1 or $cmd2.
18358
85642ba0
AW
183592015-03-11 Andy Wingo <wingo@igalia.com>
18360
18361 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18362
e03f9645
YQ
183632015-03-11 Yao Qi <yao.qi@linaro.org>
18364
18365 * gdb.base/catch-syscall.exp: Fix typo in comments.
18366
5d0962b2
YQ
183672015-03-11 Yao Qi <yao.qi@linaro.org>
18368
18369 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18370
b2df3cef
PA
183712015-03-09 Pedro Alves <palves@redhat.com>
18372
18373 * dg-extract-results.py: Delete.
18374
ef878e53
PA
183752015-03-09 Pedro Alves <palves@redhat.com>
18376
18377 Merge dg-extract-results.sh from GCC upstream (r218843).
18378
18379 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18380 * dg-extract-results.sh: Use --text with grep to avoid issues with
18381 binary files. Fall back to cat -v, if that doesn't work.
18382
9494d219
PA
183832015-03-05 Pedro Alves <palves@redhat.com>
18384
18385 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18386
a8d9763a
SM
183872015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18388
18389 * lib/mi-support.exp (mi_expect_interrupt): Accept
18390 alternative event for when in all-stop mode.
18391
be9957b8
PA
183922015-03-04 Pedro Alves <palves@redhat.com>
18393
18394 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18395
d57be0f4 183962015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
18397
18398 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18399
c214c7cf
AA
184002015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18401
18402 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18403 regexps for GDB's current line display, accept a hex address
18404 preceding the line number.
18405
6d74a497
AA
184062015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18407
18408 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18409 the 'arch1' variable for "s390*-linux*" targets.
18410
511aee7c
PA
184112015-03-04 Pedro Alves <palves@redhat.com>
18412
18413 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18414 (main): Pass missing retval argument to pthread_join call.
18415
95e50b27
PA
184162015-03-02 Pedro Alves <palves@redhat.com>
18417
18418 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18419 (top level): Call do_test with non-stop as well.
18420
28054d69
PA
184212015-03-02 Pedro Alves <palves@redhat.com>
18422
18423 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18424 -1.
18425
4fa5d7b4
AA
184262015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18427
18428 * gdb.arch/s390-vregs.exp: New test.
18429 * gdb.arch/s390-vregs.S: New file.
18430
97c18565
PA
184312015-02-27 Pedro Alves <palves@redhat.com>
18432
18433 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18434 call to catch_command_errors.
18435 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18436 catch_command_errors.
18437
a37bfa30
PA
184382015-02-27 Pedro Alves <palves@redhat.com>
18439
18440 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18441 "true" for boolean result.
18442 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18443 prototype of main.
18444
6f98576f
PA
184452015-02-27 Pedro Alves <palves@redhat.com>
18446
18447 * lib/unbuffer_output.c: New file.
18448 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18449 (main): Call gdb_unbuffer_output.
18450
eba5ab56
YQ
184512015-02-27 Yao Qi <yao.qi@linaro.org>
18452
18453 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18454 target.
18455
0def5aaa
DE
184562015-02-26 Doug Evans <dje@google.com>
18457
18458 * gdb.cp/class2.cc (Dbase, D): New classes.
18459 (main): New local delta.
18460 * gdb.cp/class2.exp: Test printing delta.
18461 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18462 (dynbar): New global.
18463 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18464
081a1c2c
JK
184652015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18466
18467 * gdb.compile/compile-ifunc.c: New file.
18468 * gdb.compile/compile-ifunc.exp: New file.
18469
2f41223f
AT
184702015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18471
18472 * gdb.base/structs.exp: Check for correct struct on finish.
18473
03eddd80
YQ
184742015-02-26 Yao Qi <yao.qi@linaro.org>
18475
18476 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18477 is zero.
18478
80c57053
JK
184792015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18480
18481 * gdb.arch/cordic.ko.bz2: New file.
18482 * gdb.arch/cordic.ko.debug.bz2: New file.
18483 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18484
21613c12
YQ
184852015-02-25 Yao Qi <yao.qi@linaro.org>
18486
18487 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18488 aarch64*-*-* target.
18489
d8b901ed
PA
184902015-02-23 Pedro Alves <palves@redhat.com>
18491
18492 * lib/gdb.exp (delete_breakpoints): Rewrite using
18493 gdb_test_multiple.
18494
e5b85ead
PA
184952015-02-23 Pedro Alves <palves@redhat.com>
18496
18497 * gdb.base/info-os.c: Include stdlib.h.
18498
85c3a371
DE
184992015-02-22 Doug Evans <xdje42@gmail.com>
18500
18501 PR symtab/17855
18502 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18503 is read after symbols have been re-read.
18504 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18505 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18506
96553a0c
DE
185072015-02-21 Doug Evans <dje@google.com>
18508
18509 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18510
97a0c697
JK
185112015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18512
18513 PR corefiles/17808
18514 * gdb.arch/i386-biarch-core.core.bz2: New file.
18515 * gdb.arch/i386-biarch-core.exp: New file.
18516
a47cd6e9
PA
185172015-02-21 Pedro Alves <palves@redhat.com>
18518
18519 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18520 runto_main fails.
18521
c5facdc4
PA
185222015-02-20 Pedro Alves <palves@redhat.com>
18523
18524 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18525 info probes.
18526
2db9a427
PA
185272015-02-20 Pedro Alves <palves@redhat.com>
18528
18529 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18530
60fb7e9e
PA
185312015-02-20 Pedro Alves <palves@redhat.com>
18532
18533 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18534 clean_restart before gdb_target_supports_trace.
18535
5c5019c2
PA
185362015-02-20 Pedro Alves <palves@redhat.com>
18537
18538 PR threads/18006
18539 * gdb.threads/clone-thread_db.c: New file.
18540 * gdb.threads/clone-thread_db.exp: New file.
18541
c9587f88
AT
185422015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18543
18544 PR breakpoints/16812
18545 * gdb.base/catch-gdb-caused-signals.c: New file.
18546 * gdb.base/catch-gdb-caused-signals.exp: New file.
18547
f6a88844
JM
185482015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18549
18550 * configure: Regenerated.
18551 * configure.ac: Use GDB_AC_TRANSFORM.
18552 * aclocal.m4: sinclude ../transform.m4.
18553
497c491b
JM
185542015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18555
18556 * lib/dtrace.exp: New file.
18557 * gdb.base/dtrace-probe.exp: Likewise.
18558 * gdb.base/dtrace-probe.d: Likewise.
18559 * gdb.base/dtrace-probe.c: Likewise.
18560 * lib/pdtrace.in: Likewise.
18561 * configure.ac: Output variables with the transformed names of
18562 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18563 * configure: Regenerated.
18564
03e98035
JM
185652015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18566
18567 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18568 expected message when trying to access $_probe_* convenience
18569 variables while not on a probe.
18570
63cc30e9
JK
185712015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18572
18573 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18574
0703599a
PA
185752015-02-11 Pedro Alves <pedro@codesourcery.com>
18576
18577 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18578 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18579
7e60a48e
DE
185802015-02-10 Doug Evans <xdje42@gmail.com>
18581
18582 * lib/gdb.exp (gdb_load): Always return a result.
18583
01b088bc
PA
185842015-02-10 Pedro Alves <palves@redhat.com>
18585
18586 * gdb.threads/signal-sigtrap.c: New file.
18587 * gdb.threads/signal-sigtrap.exp: New file.
18588
b05ec7a5
AT
185892015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18590
18591 * gdb.trace/no-attach-trace.c: New file.
18592 * gdb.trace/no-attach-trace.exp: New file.
18593
a2c2acaf
MW
185942015-02-09 Mark Wielaard <mjw@redhat.com>
18595
18596 * gdb.dwarf2/atomic.c: New file.
18597 * gdb.dwarf2/atomic-type.exp: Likewise.
18598
31fd9caa
MM
185992015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18600
18601 * gdb.btrace/buffer-size.exp: Update "info record" output.
18602 * gdb.btrace/delta.exp: Update "info record" output.
18603 * gdb.btrace/enable.exp: Update "info record" output.
18604 * gdb.btrace/finish.exp: Update "info record" output.
18605 * gdb.btrace/instruction_history.exp: Update "info record" output.
18606 * gdb.btrace/next.exp: Update "info record" output.
18607 * gdb.btrace/nexti.exp: Update "info record" output.
18608 * gdb.btrace/step.exp: Update "info record" output.
18609 * gdb.btrace/stepi.exp: Update "info record" output.
18610 * gdb.btrace/nohist.exp: Update "info record" output.
18611
d33501a5
MM
186122015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18613
18614 * gdb.btrace/buffer-size: New.
18615
f4abbc16
MM
186162015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18617
18618 * gdb.btrace/delta.exp: Update "info record" output.
18619 * gdb.btrace/enable.exp: Update "info record" output.
18620 * gdb.btrace/finish.exp: Update "info record" output.
18621 * gdb.btrace/instruction_history.exp: Update "info record" output.
18622 * gdb.btrace/next.exp: Update "info record" output.
18623 * gdb.btrace/nexti.exp: Update "info record" output.
18624 * gdb.btrace/step.exp: Update "info record" output.
18625 * gdb.btrace/stepi.exp: Update "info record" output.
18626 * gdb.btrace/nohist.exp: Update "info record" output.
18627
b9d61307
SM
186282015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18629
18630 PR gdb/15678
18631 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18632
e584fdbc
PA
186332015-02-06 Pedro Alves <palves@redhat.com>
18634
18635 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18636 macro.
18637 (seconds_left, again): New globals.
18638 (main): Wait seconds_left in a 1-second sleep loop instead of
18639 sleeping 180 seconds. If 'again' is set, reset the seconds
18640 counter.
18641 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18642 'again' in the inferior before detaching. Print the seconds left.
18643 (options): New global.
18644 (top level): Build program with -DTIMEOUT=$timeout.
18645
77f41761
PA
186462015-02-06 Pedro Alves <palves@redhat.com>
18647
18648 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18649 determine how many seconds to pass to 'alarm'.
18650 * gdb.base/gdb-sigterm.exp (top level): Build program with
18651 -DTIMEOUT=$timeout.
18652 (do_test): Return success/failure indication. Add more verbose
18653 logging. Don't fail if 200 single steps are seen. Instead, fail
18654 when the test times out.
18655 (passes): New global.
18656 (top level): Break the testing loop if testing fails on any
18657 iteration. Use gdb_assert.
18658
b9394193
DB
186592015-02-04 Don Breazeal <donb@codesourcery.com>
18660
18661 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18662 and initialize them.
18663 (ipc_cleanup): New function.
18664 (main): Don't declare shmid, semid, and msqid. Add a call to
18665 atexit so that we call ipc_cleanup on exit.
18666
42d9e528
PA
186672015-02-04 Pedro Alves <palves@redhat.com>
18668
18669 * boards/native-extended-gdbserver.exp: Remove any target variant
18670 specifications from the board name before clearing the isremote
18671 flag from board_info.
18672
ae6ae975
DE
186732015-01-31 Doug Evans <xdje42@gmail.com>
18674
18675 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18676
cfb069a8
GB
186772015-01-31 Gary Benson <gbenson@redhat.com>
18678
18679 * gdb.base/completion.exp: Disable completion limiting for
18680 existing tests. Add new tests to check completion limiting.
18681 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18682
5dd31d79
DE
186832015-01-31 Doug Evans <xdje42@gmail.com>
18684
18685 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18686
9f050062
DE
186872015-01-31 Doug Evans <xdje42@gmail.com>
18688
18689 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18690 entries. Duplicate file section script entries.
18691 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18692 inlined entries. Add test for safe-path rejection.
18693 * gdb.python/py-section-script.c: Add duplicate inlined section script
18694 entries. Duplicate file section script entries.
18695 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18696 inlined entries. Add test for safe-path rejection.
18697
df25ebbd
JB
186982015-01-29 Joel Brobecker <brobecker@adacore.com>
18699
18700 * gdb.ada/disc_arr_bound: New testcase.
18701
4a0ca9ec
JB
187022015-01-29 Joel Brobecker <brobecker@adacore.com>
18703
18704 * gdb.ada/mi_var_array: New testcase.
18705
3a8b707a
DE
187062015-01-27 Doug Evans <dje@google.com>
18707
18708 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18709 Add test for objfile.filename, objfile.username after objfile
18710 has been unloaded.
18711
f8313f6e
JB
187122015-01-26 Joel Brobecker <brobecker@adacore.com>
18713
18714 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18715 the second test to print the name attribute of value
18716 returned by the call to gdb.lookup_type, and adjust
18717 the expected output accordingly.
18718
37bc665e
MW
187192015-01-25 Mark Wielaard <mjw@redhat.com>
18720
18721 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18722 * gdb.base/disp-step-fork.c: Include unistd.h.
18723 * gdb.base/siginfo-obj.c: Include stdio.h.
18724 * gdb.base/siginfo-thread.c: Likewise.
18725 * gdb.mi/non-stop.c: Include unistd.h.
18726 * gdb.mi/nsthrexec.c: Include stdio.h.
18727 * gdb.mi/pthreads.c: Include unistd.h.
18728 * gdb.modula2/unbounded1.c (main): Declare returns int.
18729 * gdb.reverse/consecutive-reverse.c: Likewise.
18730 * gdb.threads/create-fail.c: Include unistd.h.
18731 * gdb.threads/killed.c: Likewise.
18732 * gdb.threads/linux-dp.c: Likewise.
18733 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18734 * gdb.threads/non-ldr-exc-2.c: Likewise.
18735 * gdb.threads/non-ldr-exc-3.c: Likewise.
18736 * gdb.threads/non-ldr-exc-4.c: Likewise.
18737 * gdb.threads/pthreads.c: Include unistd.h.
18738 (main): Declare returns int.
18739 * gdb.threads/tls-main.c (foo): New declaration.
18740 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18741
f7e5394d
SM
187422015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18743
18744 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18745 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18746
743649fd
MW
187472015-01-15 Mark Wielaard <mjw@redhat.com>
18748
18749 * gdb.base/noreturn-return.c: New file.
18750 * gdb.base/noreturn-return.exp: New file.
18751 * gdb.base/noreturn-finish.c: New file.
18752 * gdb.base/noreturn-finish.exp: New file.
18753
198297aa
PA
187542015-01-23 Pedro Alves <palves@redhat.com>
18755
18756 * gdb.threads/continue-pending-after-query.c: New file.
18757 * gdb.threads/continue-pending-after-query.exp: New file.
18758
717cf30c
AG
187592015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18760 Simon Marchi <simon.marchi@ericsson.com>
18761
18762 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18763 * gdb.base/valgrind-db-attach.exp: Same.
18764 * gdb.base/valgrind-infcall.exp: Same.
18765 * lib/mi-support.exp (default_mi_gdb_start): Same.
18766 * lib/prompt.exp (default_prompt_gdb_start): Same.
18767 * lib/gdb.exp (default_gdb_spawn): Same.
18768 (gdb_interact): New.
18769
18770
4b62a76e
JK
187712015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18772
18773 * gdb.compile/compile.exp (pointer to jit function): New test.
18774
b4cdae6f
WW
187752015-01-17 Wei-cheng Wang <cole945@gmail.com>
18776
18777 * lib/gdb.exp (supports_process_record): Return true for
18778 powerpc*-*-linux*.
18779 (supports_reverse): Likewise.
18780
d221e7ef
DB
187812015-01-15 Don Breazeal <donb@codesourcery.com>
18782
18783 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18784 instead of checking whether the target board is remote and
18785 use spawn_wait_for_attach instead of exec/sleep.
18786 * gdb.base/attach-twice.exp: Likewise.
18787
bafffb51
JB
187882015-01-15 Joel Brobecker <brobecker@adacore.com>
18789
18790 * gdb.ada/var_arr_attrs: New testcase.
18791
5589af0e
PA
187922015-01-14 Pedro Alves <palves@redhat.com>
18793 Joel Brobecker <brobecker@adacore.com>
18794
18795 PR gdb/17525
18796 * gdb.base/bp-cmds-execution-x-script.c: New file.
18797 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18798 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18799
6c400b59
PA
188002015-01-14 Pedro Alves <palves@redhat.com>
18801
18802 PR cli/17828
18803 * gdb.base/batch-preserve-term-settings.c: New file.
18804 * gdb.base/batch-preserve-term-settings.exp: New file.
18805
e02c96a7
DE
188062015-01-13 Doug Evans <dje@google.com>
18807
18808 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18809 binary.
18810
576fd14c
JB
188112015-01-13 Joel Brobecker <brobecker@adacore.com>
18812
18813 * Makefile.in (clean mostlyclean): Do not delete *.py.
18814
04dccad0
JB
188152015-01-13 Joel Brobecker <brobecker@adacore.com>
18816
18817 * gdb.python/py-lookup-type.exp: New file.
18818
3d230f71
PA
188192015-01-12 Pedro Alves <palves@redhat.com>
18820
18821 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18822 restore GDBFLAGS before returning.
18823
7e67715d
JK
188242015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18825
18826 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18827 is_amd64_regs_target and is_x86_like_target.
18828
f2e0d4b4
DE
188292015-01-11 Doug Evans <xdje42@gmail.com>
18830
18831 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18832 is given without an explicit form.
18833 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18834 attributes.
18835 * gdb.dwarf/corrupt.exp: Ditto.
18836 * gdb.dwarf2/enum-type.exp: Ditto.
18837 * gdb.trace/entry-values.exp: Ditto.
18838 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18839
439250fb
DE
188402015-01-11 Doug Evans <xdje42@gmail.com>
18841
18842 PR gdb/15830
18843 * gdb.base/maint.exp: Remove references to "maint demangle".
18844 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18845 Add tests for explicitly specifying language to demangle.
18846 * gdb.dlang/demangle.exp: Ditto.
18847
ede9f622
PA
188482015-01-09 Pedro Alves <palves@redhat.com>
18849
18850 * gdb.threads/non-stop-fair-events.c: New file.
18851 * gdb.threads/non-stop-fair-events.exp: New file.
18852
a7b796db
PA
188532015-01-09 Pedro Alves <palves@redhat.com>
18854
18855 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18856 the global scope. Set a breakpoint after all threads are started
18857 rather than stepping over two source lines. Expect the prompt.
18858 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18859 global.
18860 (NUM): Now 15.
18861 (main): Use threads_started_barrier to wait for all threads to
18862 start. Main thread no longer calls thread_function. Exit after
18863 180 seconds.
18864 (loop): New function.
18865 (thread_function): Wait on threads_started_barrier barrier. Call
18866 'loop' at each iteration.
18867 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18868 threads have started, instead of hardcoding number of "next"
18869 steps. Use an access watchpoint instead of a write watchpoint.
18870
9665ffdd
PA
188712015-01-09 Pedro Alves <palves@redhat.com>
18872
18873 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18874 (thread_func): Wait on barrier.
18875 (main): Wait for all threads to start before stopping GDB.
18876 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18877 global.
18878 (thread1_func, thread2_func): Wait on barrier.
18879 (main): Wait for all threads to start before stopping GDB.
18880 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18881 New global.
18882 (thread1_func, thread2_func): Wait on barrier.
18883 (main): Wait for all threads to start before stopping GDB.
18884
c945a99f
PA
188852015-01-09 Pedro Alves <palves@redhat.com>
18886
18887 * gdb.threads/attach-many-short-lived-threads.c: New file.
18888 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18889
c1a747c1
PA
188902014-01-09 Pedro Alves <palves@redhat.com>
18891
18892 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18893 instead of to thread 2.
18894 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18895 Add barrier around each pthread_create call instead of around all
18896 calls.
18897 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18898 Set a break on thread_function and have the child threads hit it
18899 one at at a time.
18900
60b3033e
PA
189012015-01-09 Pedro Alves <palves@redhat.com>
18902
18903 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18904 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18905 false.
18906 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18907 checking whether the target board is remote.
18908 * gdb.multi/multi-attach.exp: Likewise.
18909 * gdb.python/py-sync-interp.exp: Likewise.
18910 * gdb.server/ext-attach.exp: Likewise.
18911 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18912 tests that need to attach, instead of checking whether the target
18913 board is remote at the top of the file.
18914
acc018ac
YQ
189152015-01-08 Yao Qi <yao@codesourcery.com>
18916
18917 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18918
50a18af8
JK
189192015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18920
18921 Fix testcase compilation.
18922 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18923
8503d6e1
JB
189242015-01-06 Joel Brobecker <brobecker@adacore.com>
18925
18926 * gdb.python/py-type.exp: Add a couple test about empty
18927 array creation, and negative-length array creation.
18928
cc73dbcc
DE
189292015-01-02 Doug Evans <xdje42@gmail.com>
18930
18931 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18932
0300bbc7
DE
189332015-01-02 Doug Evans <dje@google.com>
18934
18935 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18936
9d85a0ec
YQ
189372014-12-29 Yao Qi <yao@codesourcery.com>
18938
18939 * gdb.trace/entry-values.exp: Update comments. Rename variable
18940 bar_call_foo to returned_from_foo.
18941
87186c6a
MMN
189422014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18943
18944 PR gdb/17394
18945 * gdb.linespec/break-asm-file.c: New file.
18946 * gdb.linespec/break-asm-file.exp: New file.
18947 * gdb.linespec/break-asm-file0.s: New file.
18948 * gdb.linespec/break-asm-file1.s: New file.
18949
1bab7383
YQ
189502014-12-18 Nigel Stephens <nigel@mips.com>
18951 Maciej W. Rozycki <macro@codesourcery.com>
18952
18953 * gdb.base/float.exp: Handle the new output from "info float" on
18954 MIPS targets.
18955
1bc1068a
JK
189562014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18957
18958 Fix MinGW compilation.
18959 * gdb.compile/compile-ops.exp: Update untested message if
18960 !skip_compile_feature_tests.
18961 * gdb.compile/compile-setjmp.exp: Likewise.
18962 * gdb.compile/compile-tls.exp: Likewise.
18963 * gdb.compile/compile.exp: Likewise.
18964 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18965 supported on this host".
18966
b6615d10
DE
189672014-12-16 Doug Evans <xdje42@gmail.com>
18968
18969 * boards/stabs.exp: New file.
18970
25dda427
AA
189712014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18972
18973 * gdb.base/completion.exp: Adjust to format changes of "maint
18974 print user-registers".
18975
bf330350
CU
189762014-12-16 Catalin Udma <catalin.udma@freescale.com>
18977
18978 PR server/17457
18979 * gdb.arch/aarch64-fp.c: New file.
18980 * gdb.arch/aarch64-fp.exp: New file.
18981
395cf596
SDJ
189822014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18983
18984 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18985 r210637, r210913, r211666, r215400, r215817).
18986
18987 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18988 * dg-extract-results.py: New file.
18989 * dg-extract-results.sh: Use it if the environment seems
18990 suitable.
18991
18992 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18993
18994 * dg-extract-results.py (parse_run): Handle warnings that
18995 are printed before a test harness is run.
18996
18997 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18998
18999 * dg-extract-results.py (Named): Remove __cmp__ method.
19000 (output_variation): Use a key to sort variation.harnesses.
19001
19002 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19003
19004 * dg-extract-results.py: For Python 3, force sys.stdout to
19005 handle surrogate escape sequences.
19006 (safe_open): New function.
19007 (output_segment, main): Use it.
19008
19009 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19010
19011 * dg-extract-results.py (Prog.result_re): Include options
19012 in test name.
19013
19014 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19015
19016 * dg-extract-results.py (output_variation): Always sort if
19017 do_sum.
19018
e882ef3c
SM
190192014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19020
19021 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19022 as long as we get pagination notifications.
19023
4992aa20
JM
190242014-12-15 Jason Merrill <jason@redhat.com>
19025
19026 * Makefile.in (check-gdb.%): Restore.
19027 * README: Mention it.
19028
c1b5a1a6
JB
190292014-12-13 Joel Brobecker <brobecker@adacore.com>
19030
19031 * gdb.ada/str_uninit: New testcase.
19032
5537b577
JK
190332014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19034
19035 PR symtab/17642
19036 * gdb.base/vla-stub-define.c: New file.
19037 * gdb.base/vla-stub.c: New file.
19038 * gdb.base/vla-stub.exp: New file.
19039
bb2ec1b3
TT
190402014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19041 Jan Kratochvil <jan.kratochvil@redhat.com>
19042 Tom Tromey <tromey@redhat.com>
19043
19044 * configure.ac: Add gdb.compile/.
19045 * configure: Regenerate.
19046 * gdb.compile/Makefile.in: New file.
19047 * gdb.compile/compile-ops.exp: New file.
19048 * gdb.compile/compile-ops.c: New file.
19049 * gdb.compile/compile-tls.c: New file.
19050 * gdb.compile/compile-tls.exp: New file.
19051 * gdb.compile/compile-constvar.S: New file.
19052 * gdb.compile/compile-constvar.c: New file.
19053 * gdb.compile/compile-mod.c: New file.
19054 * gdb.compile/compile-nodebug.c: New file.
19055 * gdb.compile/compile-setjmp-mod.c: New file.
19056 * gdb.compile/compile-setjmp.c: New file.
19057 * gdb.compile/compile-setjmp.exp: New file.
19058 * gdb.compile/compile-shlib.c: New file.
19059 * gdb.compile/compile.c: New file.
19060 * gdb.compile/compile.exp: New file.
19061 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19062
4ff709eb
TT
190632014-12-12 Tom Tromey <tromey@redhat.com>
19064
19065 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19066 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19067
6dddd6a5
DE
190682014-12-12 Doug Evans <dje@google.com>
19069
19070 * lib/gdb-python.exp (get_python_valueof): New function.
19071 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19072
71c24708
AA
190732014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19074
19075 * gdb.base/completion.exp: Add test for completion of "info
19076 registers ".
19077
3e29f34a
MR
190782014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19079
19080 * gdb.base/func-ptrs.c: New file.
19081 * gdb.base/func-ptrs.exp: New file.
19082
fc126975
SM
190832014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19084
19085 PR breakpoints/17012
19086 * gdb.base/dprintf-detach.c: New file.
19087 * gdb.base/dprintf-detach.exp: New file.
19088
0a46d518
SM
190892014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19090
19091 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19092 * lib/gdb.exp (target_is_gdbserver): New procedure.
19093
a0be3e44
DE
190942014-12-08 Doug Evans <dje@google.com>
19095
19096 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19097
df1b803a
YQ
190982014-12-05 Yao Qi <yao@codesourcery.com>
19099
19100 * gdb.guile/scm-error.exp: Remove the third argument to
19101 gdb_remote_download.
19102 * gdb.guile/scm-frame-args.exp: Likewise.
19103 * gdb.guile/scm-section-script.exp: Likewise.
19104
ddb9f679
YQ
191052014-12-05 Yao Qi <yao@codesourcery.com>
19106
19107 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19108
86e4ed39
DE
191092014-12-04 Doug Evans <dje@google.com>
19110
19111 * gdb.python/py-objfile.exp: Add tests for
19112 objfile.add_separate_debug_file.
19113
7c50a931
DE
191142014-12-04 Doug Evans <dje@google.com>
19115
19116 * lib/gdb.exp (get_build_id): New function.
19117 (build_id_debug_filename_get): Rewrite to use it.
19118 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19119
621661e3
MR
191202014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19121
19122 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19123 `method(long)', not just 0x0.
19124 * gdb.cp/nsalias.exp: Align code labels to 4.
19125 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19126 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19127 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19128 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19129 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19130 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19131
29f0c3b7
DE
191322014-12-02 Doug Evans <dje@google.com>
19133
e1e061e7 19134 PR symtab/17602
29f0c3b7 19135 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19136 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19137 * gdb.cp/anon-ns.exp: Update.
19138
162078c8
NB
191392014-12-02 Nick Bull <nicholaspbull@gmail.com>
19140
19141 * gdb.python/py-events.py (inferior_call_handler): New.
19142 (register_changed_handler, memory_changed_handler): New.
19143 (test_events.invoke): Register new handlers.
19144 * gdb.python/py-events.exp: Add tests for inferior call,
19145 memory_changed and register_changed events.
19146
fdb09caf
AA
191472014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19148
19149 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19150 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19151 if the linker doesn't understand this.
19152
55cfb2c4
SM
191532014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19154
19155 * gdb.python/python.exp: Change expected reply to help().
19156
9e8cd6df
YQ
191572014-12-01 Yao Qi <yao@codesourcery.com>
19158
19159 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19160 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19161 * configure: Re-generated.
19162
6c659fc2
SC
191632014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19164
19165 * gdb.cp/chained-calls.cc: New file.
19166 * gdb.cp/chained-calls.exp: New file.
19167 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19168
d7fc3181
SM
191692014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19170
19171 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19172 * gdb.dwarf2/symtab-producer.exp: Same.
19173 * gdb.gdb/python-interrupts.exp: Same.
19174 * gdb.gdb/python-selftest.exp: Same.
19175 * gdb.python/py-linetable.exp: Same.
19176 * gdb.python/py-type.exp: Same.
19177 * gdb.python/py-value-cc.exp: Same.
19178 * gdb.python/py-value.exp: Same.
19179
10e79639
YQ
191802014-11-28 Yao Qi <yao@codesourcery.com>
19181
19182 * gdb.base/break-probes.exp: Match library name prefixed with
19183 sysroot.
19184
f28a0564
SM
191852014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19186
19187 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19188 test expected output. Add parentheses for the call to print.
19189 Remove L suffix from integers.
19190
3fe1ce1d
DE
191912014-11-26 Doug Evans <dje@google.com>
19192
19193 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19194
84429e27
YQ
191952014-11-22 Yao Qi <yao@codesourcery.com>
19196
19197 * gdb.trace/entry-values.c: Remove asms.
19198 (foo): Add foo_label.
19199 (bar): Add bar_label.
19200 * gdb.trace/entry-values.exp: Remove code computing foo's
19201 length and bar's length.
19202 (Dwarf::assemble): Invoke function_range for bar and use
19203 MACRO_AT_func for foo.
19204
26741859
YQ
192052014-11-22 Yao Qi <yao@codesourcery.com>
19206
19207 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19208 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19209 Use .Lgcc43_procstart instead of gcc43.
19210
45e44d27
JB
192112014-11-21 Joel Brobecker <brobecker@adacore.com>
19212
19213 * gdb.ada/n_arr_bound: New testcase.
19214
458c8db8
SDJ
192152014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19216
19217 PR breakpoints/10737
19218 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19219 test_catch_syscall_multi_arch.
19220 (test_catch_syscall_multi_arch): New function.
19221
43f3e411
DE
192222014-11-20 Doug Evans <xdje42@gmail.com>
19223
19224 * gdb.base/maint.exp: Update expected output.
19225
0d7b2549
AA
192262014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19227
19228 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19229 4-byte instruction on S390.
19230
8908fca5
JB
192312014-11-19 Joel Brobecker <brobecker@adacore.com>
19232
19233 * gdb.ada/arr_arr: New testcase.
19234
4a46959e
JB
192352014-11-19 Joel Brobecker <brobecker@adacore.com>
19236
19237 * gdb.ada/pkd_arr_elem: New Testcase.
19238
470e2f4e
LM
192392014-11-18 Luis Machado <lgustavo@codesourcery.com>
19240
19241 * gdb.reverse/break-precsave: Expect completion message for
19242 core file reads.
19243 * gdb.reverse/consecutive-precsave.exp: Likewise.
19244 * gdb.reverse/finish-precsave.exp: Likewise.
19245 * gdb.reverse/i386-precsave.exp: Likewise.
19246 * gdb.reverse/machinestate-precsave.exp: Likewise.
19247 * gdb.reverse/sigall-precsave.exp: Likewise.
19248 * gdb.reverse/solib-precsave.exp: Likewise.
19249 * gdb.reverse/step-precsave.exp: Likewise.
19250 * gdb.reverse/until-precsave.exp: Likewise.
19251 * gdb.reverse/watch-precsave.exp: Likewise.
19252
a267f3ad
AA
192532014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19254
19255 * gdb.base/bp-permanent.c: Include unistd.h.
19256 * gdb.python/py-framefilter-mi.c (main): Add return type.
19257 * gdb.python/py-framefilter.c (main): Likewise.
19258 * gdb.trace/actions-changed.c (main): Likewise.
19259
12084a9a
AA
192602014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19261
19262 * gdb.mi/until.c: Add eye-catchers.
19263 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19264 line numbers.
19265
dc7e1a77
AA
192662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19267
19268 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19269 function header variants in break1.c.
19270 * gdb.base/ena-dis-br.exp: Likewise.
19271 * gdb.base/hbreak2.exp: Likewise.
19272 * gdb.reverse/until-precsave.exp: Drop references to removed
19273 non-prototype function header variants in ur1.c.
19274 * gdb.reverse/until-reverse.exp: Likewise.
19275
41c77605
PM
192762014-11-17 Petr Machata <pmachata@redhat.com>
19277
19278 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19279 ${_cu_offset_size} bytes abbrev offset.
19280
34248c3a
DE
192812014-11-15 Doug Evans <xdje42@gmail.com>
19282
19283 PR symtab/17559
19284 * gdb.base/line-symtabs.exp: New file.
19285 * gdb.base/line-symtabs.c: New file.
19286 * gdb.base/line-symtabs.h: New file.
19287
646da059
YQ
192882014-11-14 Yao Qi <yao@codesourcery.com>
19289
19290 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19291 (func): Add label func_label.
19292 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19293 Replace low_pc and high_pc with MACRO_AT_range.
19294 Replace name, low_pc and high_pc with MACRO_AT_func.
19295
9301ebe6
YQ
192962014-11-14 Yao Qi <yao@codesourcery.com>
19297
19298 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19299 Replace name, low_pc and high_pc with MACRO_AT_func.
19300
f166b542
YQ
193012014-11-14 Yao Qi <yao@codesourcery.com>
19302
19303 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19304 produce debug information.
19305 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19306
0f6e71e3
YQ
193072014-11-14 Yao Qi <yao@codesourcery.com>
19308
19309 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19310 object and get function length.
19311 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19312 with MACRO_AT_func.
19313 (top-level): Replace gdb_compile and clean_restart with
19314 prepare_for_testing.
19315 * gdb.dwarf2/main.c (main): Add label main_label.
19316
876c4df9
YQ
193172014-11-14 Yao Qi <yao@codesourcery.com>
19318
19319 * lib/dwarf.exp (function_range): New procedure.
19320 (Dwarf::_handle_macro_at_func): New procedure.
19321 (Dwarf::_handle_macro_at_range): New procedure.
19322 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19323
02ad9cf1
YQ
193242014-11-14 Yao Qi <yao@codesourcery.com>
19325
19326 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19327 (_handle_attribute): New procedure.
19328
a59add0c
AA
193292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19330
19331 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19332 * gdb.base/call-sc.c (zed): Likewise.
19333 * gdb.base/checkpoint.c (main): Likewise.
19334 * gdb.base/dump.c (main): Likewise.
19335 * gdb.base/gcore.c (main): Likewise.
19336 * gdb.base/huge.c (main): Likewise.
19337 * gdb.base/multi-forks.c (main): Likewise.
19338 * gdb.base/pr10179-a.c (main): Likewise.
19339 * gdb.base/savedregs.c (main): Likewise.
19340 * gdb.base/sigaltstack.c (main): Likewise.
19341 * gdb.base/siginfo.c (main): Likewise.
19342 * gdb.base/structs.c (zed): Likewise.
19343 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19344 * gdb.mi/mi-syn-frame.c (main): Likewise.
19345 * gdb.mi/until.c (foo, main): Likewise.
19346 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19347 * gdb.base/solib-weak.c (foo): Declare.
19348 * gdb.base/attach-twice.c: Include stdio.h.
19349 * gdb.base/weaklib1.c: Likewise.
19350 * gdb.base/weaklib2.c: Likewise.
19351 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19352 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19353 unistd.h.
19354 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19355 * gdb.mi/mi-exit-code.c: Likewise.
19356 * gdb.base/break-interp-lib.c: Include string.h.
19357 * gdb.base/coremaker.c: Likewise.
19358 * gdb.base/testenv.c: Likewise.
19359 * gdb.python/py-finish-breakpoint.c: Likewise.
19360 * gdb.base/inferior-died.c: Include sys/wait.h.
19361 * gdb.base/fileio.c: Include time.h.
19362 * gdb.base/async-shell.c: Include unistd.h.
19363 * gdb.base/dprintf-non-stop.c: Likewise.
19364 * gdb.base/info-os.c: Likewise.
19365 * gdb.mi/mi-console.c: Likewise.
19366 * gdb.mi/watch-nonstop.c: Likewise.
19367 * gdb.python/py-events.c: Likewise.
19368 * gdb.base/async.c (baz): Move up before its invocation.
19369 * gdb.base/code_elim2.c (my_global_func): Likewise.
19370 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19371 * gdb.base/advance.c (func2): Likewise.
19372
3b5d5997
AA
193732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19374
19375 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19376 variant.
19377 * gdb.base/annota3.c: Likewise.
19378 * gdb.base/async.c: Likewise.
19379 * gdb.base/average.c: Likewise.
19380 * gdb.base/call-ar-st.c: Likewise.
19381 * gdb.base/call-rt-st.c: Likewise.
19382 * gdb.base/call-sc.c: Likewise.
19383 * gdb.base/call-strs.c: Likewise.
19384 * gdb.base/ending-run.c: Likewise.
19385 * gdb.base/execd-prog.c: Likewise.
19386 * gdb.base/exprs.c: Likewise.
19387 * gdb.base/foll-exec.c: Likewise.
19388 * gdb.base/foll-fork.c: Likewise.
19389 * gdb.base/foll-vfork.c: Likewise.
19390 * gdb.base/funcargs.c: Likewise.
19391 * gdb.base/gcore.c: Likewise.
19392 * gdb.base/jump.c: Likewise.
19393 * gdb.base/langs0.c: Likewise.
19394 * gdb.base/langs1.c: Likewise.
19395 * gdb.base/langs2.c: Likewise.
19396 * gdb.base/mips_pro.c: Likewise.
19397 * gdb.base/nodebug.c: Likewise.
19398 * gdb.base/opaque0.c: Likewise.
19399 * gdb.base/opaque1.c: Likewise.
19400 * gdb.base/recurse.c: Likewise.
19401 * gdb.base/run.c: Likewise.
19402 * gdb.base/scope0.c: Likewise.
19403 * gdb.base/scope1.c: Likewise.
19404 * gdb.base/setshow.c: Likewise.
19405 * gdb.base/setvar.c: Likewise.
19406 * gdb.base/shmain.c: Likewise.
19407 * gdb.base/shr1.c: Likewise.
19408 * gdb.base/shr2.c: Likewise.
19409 * gdb.base/sigall.c: Likewise.
19410 * gdb.base/signals.c: Likewise.
19411 * gdb.base/so-indr-cl.c: Likewise.
19412 * gdb.base/solib2.c: Likewise.
19413 * gdb.base/structs.c: Likewise.
19414 * gdb.base/sum.c: Likewise.
19415 * gdb.base/vforked-prog.c: Likewise.
19416 * gdb.base/watchpoint.c: Likewise.
19417 * gdb.reverse/shr2.c: Likewise.
19418 * gdb.reverse/until-reverse.c: Likewise.
19419 * gdb.reverse/ur1.c: Likewise.
19420 * gdb.reverse/watch-reverse.c: Likewise.
19421
066a77c5
AA
194222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19423
19424 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19425 variant.
19426 * gdb.base/sepdebug.exp: Drop references to removed code.
19427
4f204ea5
AA
194282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19429
19430 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19431 variant. Preserve original line numbering.
19432 * gdb.base/list1.c: Likewise.
19433
3b377a3a
AA
194342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19435
19436 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19437 variant.
19438 * gdb.base/break1.c: Likewise.
19439 * gdb.base/break.exp: Drop references to removed code.
19440
e444df73
AA
194412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19442
19443 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19444 variant.
19445
8008f2a7
AA
194462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19447
19448 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19449
a5a06887
AA
194502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19451
19452 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19453 logic into perform_all_tests() and invoke it with and without
19454 function header prototypes.
19455 (do_function_calls): Remove conditional XFAIL for PR 5318.
19456 (rerun_and_prepare): Remove duplicate code.
19457 (perform_all_tests): New. Main logic moved here.
19458
44dba9b9
AA
194592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19460
19461 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19462 code guarded by #ifdef NO_PROTOTYPES.
19463 (t_double_many_args): Likewise.
19464 (DEF_FUNC_MANY_ARGS_1): Likewise.
19465 (DEF_FUNC_VALUES_1): Likewise.
19466 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19467 guarded by #ifdef PROTOTYPES.
19468
d1fbcd56
AA
194692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19470
19471 * gdb.mi/mi-console.c: Add eye-catcher.
19472 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19473 instead of literal line number.
19474
b0e59b8f
AA
194752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19476
19477 * gdb.base/shr2.c: Add eye-catcher.
19478 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19479 line number.
19480
78f98cca
AA
194812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19482
19483 * gdb.base/jump.c: Add eye-catchers.
19484 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19485 numbers.
19486
58fa2af0
AA
194872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19488
19489 * gdb.base/execd-prog.c: Add eye-catchers.
19490 * gdb.base/foll-exec.c: Likewise.
19491 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19492 line numbers.
19493
04e5059b
AA
194942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19495
19496 * gdb.base/ending-run.c: Add eye-catchers.
19497 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19498 literal line numbers.
19499
dbfdb174
AA
195002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19501
19502 * gdb.base/call-rt-st.c: Add eye-catchers.
19503 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19504 literal line numbers.
19505
888a2ade
AA
195062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19507
19508 * gdb.base/call-ar-st.c: Add eye-catchers.
19509 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19510 literal line numbers.
19511
6acc2dde
AA
195122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19513
19514 * gdb.base/average.c: Add eye-catchers.
19515 * gdb.base/sum.c: Likewise.
19516 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19517 regexps dynamically.
19518
9ecfcd1d
AA
195192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19520
19521 * gdb.base/solib1.c: Add eye-catchers.
19522 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19523 literal line numbers.
19524
78708b7c
PA
195252014-11-12 Pedro Alves <palves@redhat.com>
19526
19527 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19528 leader has exited.
19529
af48d08f
PA
195302014-11-12 Pedro Alves <palves@redhat.com>
19531
19532 * gdb.arch/i386-bp_permanent.c: New file.
19533 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19534 (srcfile): Set to i386-bp_permanent.c.
19535 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19536 that stepi does not execute the 'leave' instruction, instead of
19537 testing it does execute.
19538 * gdb.base/bp-permanent.c: New file.
19539 * gdb.base/bp-permanent.exp: New file.
19540
af3768e9
DE
195412014-11-10 Doug Evans <xdje42@gmail.com>
19542
19543 PR symtab/17564
19544 * gdb.base/symtab-search-order.exp: New file.
19545 * gdb.base/symtab-search-order.c: New file.
19546 * gdb.base/symtab-search-order-1.c: New file.
19547 * gdb.base/symtab-search-order-shlib-1.c: New file.
19548
9de00a4a
PA
195492014-11-07 Pedro Alves <palves@redhat.com>
19550
19551 PR gdb/17511
19552 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19553 i?86-*-linux*.
19554
e0f52461
SC
195552014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19556
19557 PR c++/17494
19558 * gdb.cp/pr17494.cc: New file.
19559 * gdb.cp/pr17494.exp: New file.
19560
6ce8c980
YQ
195612014-11-02 Yao Qi <yao@codesourcery.com>
19562
19563 * gdb.python/python.exp: Get working directory and match the
19564 output of "set extended-prompt \\w " with it.
19565
02be9a71
DE
195662014-10-30 Doug Evans <dje@google.com>
19567
19568 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19569 in objfiles.
19570 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19571 in progspaces.
19572
3bdff46b
LM
195732014-10-30 Janis Johnson <janisjo@codesourcery.com>
19574
19575 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19576 * gdb.base/realname-expand.exp: Likewise.
19577 * gdb.linespec/macro-relative.exp: Likewise.
19578
ab917dfb
PA
195792014-10-29 Pedro Alves <palves@redhat.com>
19580
19581 PR gdb/17408
19582 * gdb.threads/schedlock.c (some_function): New function.
19583 (call_function): New global.
19584 (MAYBE_CALL_SOME_FUNCTION): New macro.
19585 (thread_function): Call it.
19586 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19587 and use it instead of a global counter. Adjust all callers.
19588 (get_current_thread): Use "find current thread" for test message
19589 here rather than having all callers pass down the same string.
19590 (goto_loop): New procedure, factored out from ...
19591 (my_continue): ... this.
19592 (step_ten_loops): Change parameter from test message to command to
19593 use. Adjust.
19594 (list_count): Delete global.
19595 (check_result): New procedure, factored out from duplicate top
19596 level code.
19597 (continue tests): Wrap in with_test_prefix.
19598 (test_step): New procedure, factored out from duplicate top level
19599 code.
19600 (top level): Test "step" in combination with all scheduler-locking
19601 modes. Test "next" in combination with all scheduler-locking
19602 modes, and in combination with stepping over a function call or
19603 not.
19604 * gdb.threads/next-bp-other-thread.c: New file.
19605 * gdb.threads/next-bp-other-thread.exp: New file.
19606
d3d4baed
PA
196072014-10-29 Pedro Alves <palves@redhat.com>
19608
19609 PR python/17372
19610 * gdb.python/python.exp: Test a multi-line command that spawns
19611 interactive Python.
19612 * gdb.base/multi-line-starts-subshell.exp: New file.
19613
563e8d85
YQ
196142014-10-29 Yao Qi <yao@codesourcery.com>
19615
19616 * gdb.base/fileio.exp: Make directories on host.
19617
0ea4d52e
YQ
196182014-10-29 Yao Qi <yao@codesourcery.com>
19619
19620 * gdb.base/fileio.c (test_write): Close the file.
19621
7f5ef605
PA
196222014-10-28 Pedro Alves <palves@redhat.com>
19623
19624 PR gdb/12623
19625 * gdb.base/sigstep.c (no_handler): New global.
19626 (main): If 'no_handler is true, set the signal handlers to
19627 SIG_IGN.
19628 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19629 with_sw_watch and no_handler parameters. Handle them.
19630 (top level) <stepping over handler when stopped at a breakpoint
19631 test>: Add a test axis for testing with a software watchpoint, and
19632 another for testing with the signal handler set to SIG_IGN.
19633 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19634 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19635
abbdbd03
PA
196362014-10-28 Pedro Alves <palves@redhat.com>
19637
19638 PR gdb/17511
19639 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19640 * gdb.base/sigstep.exp (other_handler_location): New global.
19641 (advance): Support stepping into the signal handler, and running
19642 commands while in the handler.
19643 (in_handler_map): New global.
19644 (top level): In the advance test, add combinations for getting
19645 into the handler with stepping commands, and for running commands
19646 in the handler. Add comment descripting the advancei tests.
19647
1df4399f
PA
196482014-10-28 Pedro Alves <palves@redhat.com>
19649
19650 * gdb.base/sigstep.exp: Use build_executable instead of
19651 prepare_for_testing.
19652 (top level): Move code that starts GDB, runs to main and creates a
19653 display to ...
19654 (restart): ... this new procedure.
19655 (top level): Move backtrace from signal handler test to ...
19656 (validate_backtrace): ... this new procedure.
19657 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19658 with_test_prefix. Always restart GDB.
19659 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19660 with_test_prefix. Always restart GDB. No need to delete
19661 breakpoints after the test.
19662 (test_skip_handler): Remove prefix parameter.
19663 (skip_over_handler, breakpoint_to_handler)
19664 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19665 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19666 restart GDB. No need to delete breakpoints after the test.
19667 (top level): Use foreach to call the test procedures with
19668 different commands.
19669
a5b6e449
PA
196702014-10-28 Pedro Alves <palves@redhat.com>
19671
19672 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19673 instead of GNATS numbers.
19674 * gdb.base/sigbpt.exp: Likewise.
19675 * gdb.base/siginfo.exp: Likewise.
19676 * gdb.base/sigstep.exp: Likewise.
19677
e5f8a7cc
PA
196782014-10-27 Pedro Alves <palves@redhat.com>
19679
19680 * gdb.base/sigstep.c (dummy): New global.
19681 (main): Issue a couple writes to the new global.
19682 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19683 procedures.
19684 (skip_over_handler): Use test_skip_handler.
19685 (top level): Call skip_over_handler for stepi and nexti too.
19686 (breakpoint_over_handler): Use test_skip_handler.
19687 (top level): Call breakpoint_over_handler for stepi and nexti too.
19688
763905a3
YQ
196892014-10-27 Yao Qi <yao@codesourcery.com>
19690
19691 * gdb.trace/tfile.c (adjust_function_address)
19692 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19693 function descriptor.
19694
6f259a23
DB
196952014-10-24 Don Breazeal <donb@codesourcery.com>
19696
19697 * gdb.base/foll-fork.exp (test_follow_fork,
19698 catch_fork_child_follow): Check for updated fork messages emitted
19699 from infrun.c.
19700 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19701 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19702 vfork_and_exec_child_follow_through_step): Check for updated vfork
19703 messages emitted from infrun.c.
19704
09dd9a69
PA
197052014-10-24 Pedro Alves <palves@redhat.com>
19706
19707 * gdb.base/corefile.exp: Remove references to ultrix.
19708 * gdb.base/interrupt.exp: Likewise.
19709 * gdb.base/whatis.exp: Likewise.
19710 * gdb.gdb/selftest.exp: Likewise.
19711 * gdb.threads/manythreads.exp: Likewise.
19712 * gdb.threads/print-threads.exp: Likewise.
19713 * gdb.threads/pthreads.exp:: Likewise.
19714 * gdb.threads/schedlock.exp: Likewise.
19715
3433cfa5
SC
197162014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19717
19718 * gdb.cp/non-trivial-retval.cc: Add a test case.
19719 * gdb.cp/non-trivial-retval.exp: Add a test.
19720
092f880b
YQ
197212014-10-20 Yao Qi <yao@codesourcery.com>
19722
19723 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19724 * gdb.python/py-objfile-script-gdb.py: New file.
19725 * gdb.python/py-objfile-script.exp: Update reference to
19726 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19727 of remote_download. Remove the dest file.
19728
acbdb7f3
YQ
197292014-10-20 Yao Qi <yao@codesourcery.com>
19730
19731 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19732 * gdb.base/step-line.exp: Likewise.
19733 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19734 * gdb.dwarf2/dw2-basic.exp: Likewise.
19735 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19736 * gdb.dwarf2/dw2-filename.exp: Likewise.
19737 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19738 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19739 * gdb.dwarf2/dw2-producer.exp: Likewise.
19740 * gdb.dwarf2/mac-fileno.exp: Likewise.
19741 * gdb.python/py-frame-args.exp: Likewise.
19742 * gdb.python/py-framefilter.exp: Likewise.
19743 * gdb.python/py-mi.exp: Likewise.
19744 * gdb.python/py-objfile-script.exp: Likewise
19745 * gdb.python/py-pp-integral.exp: Likewise.
19746 * gdb.python/py-pp-re-notag.exp: Likewise.
19747 * gdb.python/py-prettyprint.exp: Likewise.
19748 * gdb.python/py-section-script.exp: Likewise.
19749 * gdb.python/py-typeprint.exp: Likewise.
19750 * gdb.python/py-xmethods.exp: Likewise.
19751 * gdb.stabs/weird.exp: Likewise.
19752 * gdb.xml/tdesc-regs.exp: Likewise.
19753
bd286a29
KCY
197542014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19755
19756 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19757 (out_cu): Use addr_len for the size of addresses.
19758 (out_line): Likewise. Size DW_LNE_set_address instruction
19759 according to addr_len.
19760 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19761 (FUNC): Add START_INSNS to definition.
19762
673dc4a0
YQ
197632014-10-18 Yao Qi <yao@codesourcery.com>
19764
19765 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19766 gdb_has_argv0 return true.
19767 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19768 check [target_info exists noargs], check [gdb_has_argv0]
19769 instead.
19770 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19771 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19772 procedures.
19773
4ffbba72
DE
197742014-10-17 Doug Evans <dje@google.com>
19775
19776 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19777 event.
19778 * gdb.python/py-events.py: Add clear_objfiles event.
19779
d096d8c1
DE
197802014-10-17 Doug Evans <dje@google.com>
19781
19782 * gdb.python/py-objfile.exp: Test progspace attribute.
19783
a80db015
LM
197842014-10-17 Luis Machado <lgustavo@codesourcery.com>
19785
19786 * gdb.guile/scm-breakpoint.exp: Do not assume any
19787 directory separators when matching source file paths.
19788 * gdb.python/py-breakpoint.exp: Likewise.
19789 * gdb.reverse/break-precsave.exp: Likewise.
19790 * gdb.reverse/break-reverse.exp: Likewise.
19791 * gdb.reverse/consecutive-precsave.exp: Likewise.
19792 * gdb.reverse/finish-precsave.exp: Likewise.
19793 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19794 * gdb.reverse/finish-reverse.exp: Likewise.
19795 * gdb.reverse/i386-precsave.exp: Likewise.
19796 * gdb.reverse/i387-env-reverse.exp: Likewise.
19797 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19798 * gdb.reverse/machinestate-precsave.exp: Likewise.
19799 * gdb.reverse/machinestate.exp: Likewise.
19800 * gdb.reverse/sigall-precsave.exp: Likewise.
19801 * gdb.reverse/solib-precsave.exp: Likewise.
19802 * gdb.reverse/step-precsave.exp: Likewise.
19803 * gdb.reverse/until-precsave.exp: Likewise.
19804 * gdb.reverse/watch-precsave.exp: Likewise.
19805 * gdb.reverse/watch-reverse.exp: Likewise.
19806
b22089ab
YQ
198072014-10-17 Yao Qi <yao@codesourcery.com>
19808
19809 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19810 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19811
6c4486e6
PA
198122014-10-17 Pedro Alves <palves@redhat.com>
19813
19814 PR gdb/17471
19815 * gdb.base/bg-execution-repeat.c: New file.
19816 * gdb.base/bg-execution-repeat.exp: New file.
19817
0ff33695
PA
198182014-10-17 Pedro Alves <palves@redhat.com>
19819
19820 PR gdb/17300
19821 * gdb.base/continue-all-already-running.c: New file.
19822 * gdb.base/continue-all-already-running.exp: New file.
19823
6fdebc3d
PA
198242014-10-17 Pedro Alves <palves@redhat.com>
19825
19826 PR gdb/17472
19827 * gdb.base/annota-input-while-running.c: New file.
19828 * gdb.base/annota-input-while-running.exp: New file.
19829
32a8097b
PA
198302014-10-17 Pedro Alves <palves@redhat.com>
19831
19832 * gdb.base/callfuncs.exp: emove references to osf.
19833 * gdb.base/sigall.exp: Likewise.
19834 * gdb.gdb/selftest.exp: Likewise.
19835 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19836 * gdb.mi/non-stop.c: Likewise.
19837 * gdb.mi/pthreads.c: Likewise.
19838 * gdb.reverse/sigall-precsave.exp: Likewise.
19839 * gdb.reverse/sigall-reverse.exp: Likewise.
19840 * gdb.threads/pthreads.c: Likewise.
19841 * gdb.threads/pthreads.exp: Likewise.
19842
7a3517ff
YQ
198432014-10-17 Yao Qi <yao@codesourcery.com>
19844
19845 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19846 check 'target_info exists noargs'.
19847 (test_command_prompt_position): Likewise.
19848 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19849 Remove "set args".
19850 (progvar_simple_while_test): Likewise.
19851 (progvar_complex_if_while_test): Likewise.
19852 (if_while_breakpoint_command_test): Likewise.
19853 (infrun_breakpoint_command_test): Likewise.
19854 (breakpoint_command_test): Likewise.
19855 (watchpoint_command_test): Likewise.
19856 (bp_deleted_in_command_test): Likewise.
19857 (temporary_breakpoint_commands): Likewise.
19858
bb99c472
YQ
198592014-10-16 Yao Qi <yao@codesourcery.com>
19860
19861 * gdb.base/remotetimeout.exp: Remove noargs checking.
19862
7c16b83e
PA
198632014-10-15 Pedro Alves <palves@redhat.com>
19864
19865 PR breakpoints/9649
19866 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19867 * gdb.base/breakpoint-in-ro-region.exp
19868 (probe_target_hardware_step): New procedure.
19869 (top level): Probe hardware stepping and hardware breakpoint
19870 support. Test stepping through a read-only region, with both
19871 "breakpoint auto-hw" on and off and both "always-inserted" on and
19872 off.
19873
35a49624
IB
198742014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19875
19876 * gdb.dlang/demangle.exp: Update for demangling changes.
19877
2d1c107c
SC
198782014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19879
19880 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19881 * gdb.cp/non-trivial-retval.exp: Add new tests.
19882
778811d5
SC
198832014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19884
19885 PR c++/13403
19886 PR c++/15154
19887 * gdb.cp/non-trivial-retval.cc: New file.
19888 * gdb.cp/non-trivial-retval.exp: New file.
19889
10c5f0a8
YQ
198902014-10-15 Yao Qi <yao@codesourcery.com>
19891
19892 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19893 remote host.
19894
65d7b369
YQ
198952014-10-15 Yao Qi <yao@codesourcery.com>
19896
19897 * gdb.python/py-symbol.exp: Match file base name if host is
19898 remote, otherwise match file name with dir name.
19899 * gdb.python/py-symtab.exp: Likewise.
19900 * gdb.python/python.exp: Likewise.
19901
46dc1394
YQ
199022014-10-15 Yao Qi <yao@codesourcery.com>
19903
19904 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19905 pattern.
19906 * gdb.python/py-symtab.exp: Likewise.
19907 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19908 locationn.
19909
c40cc657
JB
199102014-10-14 Joel Brobecker <brobecker@adacore.com>
19911
19912 * gdb.ada/addr_arith: New testcase.
19913
2abf49e1
MR
199142014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19915
19916 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19917 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19918 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19919 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19920
f7088df3
SDJ
199212014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19922
19923 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19924 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19925 * gdb.arch/stap-eval-lang-ada.exp: New file.
19926
4dc06805
YQ
199272014-10-14 Yao Qi <yao@codesourcery.com>
19928
19929 * gdb.mi/mi-var-child.c (nothing1): New function.
19930 (nothing2): New function.
19931 (do_children_tests): Set function pointers by nothing1 and
19932 nothing2.
19933 * gdb.mi/mi-var-child.exp: Step over new added statements.
19934 Update test to match the new output.
19935 * gdb.mi/var-cmd.c (nothing1): New function.
19936 (nothing2): New function.
19937 (do_children_tests): Set function pointers by nothing1 and
19938 nothing2.
19939 * gdb.mi/mi-var-display.exp: Update test to match output.
19940 Step to the line specified by $line_dct_nothing.
19941 Increase the number of lines to step.
19942
46a93de2
YQ
199432014-10-14 Yao Qi <yao@codesourcery.com>
19944
19945 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19946 tests.
19947 * gdb.mi/mi2-var-child.exp: Likewise.
19948
14ea52ee
DE
199492014-10-13 Doug Evans <dje@google.com>
19950
19951 * gdb.python/py-objfile.exp: Change name of file name test.
19952
e5c6e92b
DE
199532014-10-13 Doug Evans <dje@google.com>
19954
19955 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19956 from the start of the CU.
19957
c780cc2f
JK
199582014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19959 Yao Qi <yao@codesourcery.com>
19960
19961 Fix "save breakpoints" for "catch" command.
19962 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19963 Remove -nonewline. Match also the added "main" line.
19964
99894e11
JK
199652014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19966
19967 Fix "save breakpoints" for "disable $bpnum" command.
19968 * gdb.base/save-bp.c (main): Add label.
19969 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19970
6e1ac5a3
JK
199712014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19972
19973 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19974
754dd2b0
YQ
199752014-10-11 Yao Qi <yao@codesourcery.com>
19976
19977 * gdb.server/server-kill.exp: Execute command
19978 "set remote trace-status-packet on" before "tstatus".
19979
f90183d7
YQ
199802014-10-11 Yao Qi <yao@codesourcery.com>
19981
19982 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19983 (main): Call getppid.
19984 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19985 and continue to it. Read variable "server_pid".
19986
bf40a607
YQ
199872014-10-11 Yao Qi <yao@codesourcery.com>
19988
19989 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19990
052ca370
YQ
199912014-10-11 Yao Qi <yao@codesourcery.com>
19992
19993 * gdb.threads/thread-find.exp: Don't execute command
19994 "info threads".
19995 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19996 * gdb.threads/linux-dp.exp: Don't check the condition
19997 $threads_created equals to zero.
19998
3831839c
PA
199992014-10-10 Pedro Alves <palves@redhat.com>
20000
20001 * gdb.base/bigcore.exp: Remove references to IRIX.
20002 * gdb.base/funcargs.exp: Likewise.
20003 * gdb.base/interrupt.exp: Likewise.
20004 * gdb.base/mips_pro.exp: Likewise.
20005 * gdb.base/nodebug.exp: Likewise.
20006 * gdb.base/setvar.exp: Likewise.
20007 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20008
8b9a549d
PA
200092014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20010 Pedro Alves <palves@redhat.com>
20011
20012 PR symtab/14466
20013 * gdb.base/vdso-warning.c: New file.
20014 * gdb.base/vdso-warning.exp: New file.
20015
d48ba5e8
DE
200162014-10-02 Doug Evans <dje@google.com>
20017
20018 * gdb.base/structs.c (main): Don't run forever.
20019
2278c276
PA
200202014-10-02 Pedro Alves <palves@redhat.com>
20021
20022 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20023 (top level) <stop threads 1, stop threads 2>: Use it.
20024
b57bacec
PA
200252014-10-02 Pedro Alves <palves@redhat.com>
20026
20027 * gdb.threads/break-while-running.exp (test): Add new
20028 'update_thread_list' argument. Skip "info threads" if false.
20029 (top level): Add new 'update_thread_list' axis.
20030
13fd3ff3
PA
200312014-10-02 Pedro Alves <palves@redhat.com>
20032
20033 PR breakpoints/17431
20034 * gdb.base/execl-update-breakpoints.c: New file.
20035 * gdb.base/execl-update-breakpoints.exp: New file.
20036
0fec99e8
PA
200372014-10-01 Pedro Alves <palves@redhat.com>
20038
20039 * gdb.base/breakpoint-in-ro-region.c: New file.
20040 * gdb.base/breakpoint-in-ro-region.exp: New file.
20041
2ddf4301
SM
200422014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20043
20044 * gdb.mi/mi-exit-code.exp: New file.
20045 * gdb.mi/mi-exit-code.c: New file.
20046
6a5f3f43
YQ
200472014-09-30 Yao Qi <yao@codesourcery.com>
20048
20049 * lib/prelink-support.exp (build_executable_own_libs): Error if
20050 the target isn't native.
20051
345bcc73
YQ
200522014-09-30 Yao Qi <yao@codesourcery.com>
20053
20054 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20055 false.
20056
a25a5a45
PA
200572014-09-22 Pedro Alves <palves@redhat.com>
20058
20059 * gdb.threads/break-while-running.exp: New file.
20060 * gdb.threads/break-while-running.c: New file.
20061
00ba3162
YQ
200622014-09-19 Yao Qi <yao@codesourcery.com>
20063
20064 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20065 Invoke test. Restart GDB with --readnow and invoke test again.
20066
c3b7b696
YQ
200672014-09-19 Yao Qi <yao@codesourcery.com>
20068
20069 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20070 proc set_breakpoint_on_gcd_function. Invoke
20071 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20072 invoke set_breakpoint_on_gcd_function again.
20073
2b4fd423
DE
200742014-09-18 Doug Evans <dje@google.com>
20075
20076 * gdb.dwarf2/symtab-producer.exp: New file.
20077
a5947601
SDJ
200782014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20079
20080 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20081 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20082 * gdb.base/global-var-nested-by-dso.c: Likewise.
20083 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20084
91c19059
SDJ
200852014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20086 Pedro Alves <palves@redhat.com>
20087
20088 * gdb.base/watch-bitfields.exp: Pass string other than test file
20089 name to prepare_for_testing.
20090 (watch): New procedure.
20091 (expect_watchpoint): Use with_test_prefix.
20092 (top level): Factor out tests to ...
20093 (test_watch_location, test_regular_watch): ... these new
20094 procedures, and use with_test_prefix and gdb_continue_to_end.
20095
bb9d5f81
PP
200962014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20097
20098 PR breakpoints/12526
20099 * gdb.base/watch-bitfields.exp: New file.
20100 * gdb.base/watch-bitfields.c: New file.
20101
635856f5
PA
201022014-09-16 Pedro Alves <palves@redhat.com>
20103
20104 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20105 software and hardware addresses, not software address against
20106 itself.
20107
7280ceea
PA
201082014-09-16 Pedro Alves <palves@redhat.com>
20109
20110 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20111 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20112
428b16bd
PA
201132014-09-16 Pedro Alves <palves@redhat.com>
20114
20115 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20116 files.
20117 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20118 "*-*-vxworks*" throughout.
20119 * gdb.base/break.exp: Likewise.
20120 * gdb.base/default.exp: Likewise.
20121 * gdb.base/scope.exp: Likewise.
20122 * gdb.base/sepdebug.exp: Likewise.
20123 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20124 throughout.
20125 * gdb.base/run.c: Likewise.
20126 * gdb.base/sepdebug.c: Likewise.
20127 * gdb.hp/gdb.aCC/run.c: Likewise.
20128 * gdb.reverse/until-reverse.c: Likewise.
20129 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20130
666d413c
YQ
201312014-09-16 Yao Qi <yao@codesourcery.com>
20132
20133 * boards/local-remote-host-native.exp: New file.
20134
57cbd724
DE
201352014-09-14 Doug Evans <xdje42@gmail.com>
20136
20137 * gdb.threads/queue-signal.c (thread_count): New variable.
20138 (thread_count_mutex, thread_count_condvar): New variables.
20139 (incr_thread_count, wait_all_threads_running): New functions.
20140 (main): Wait for all threads to be in their thread functions.
20141
81219e53
DE
201422014-09-13 Doug Evans <xdje42@gmail.com>
20143
20144 * gdb.threads/queue-signal.c: New file.
20145 * gdb.threads/queue-signal.exp: New file.
20146
3714cea7
DE
201472014-09-13 Doug Evans <xdje42@gmail.com>
20148
20149 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20150 be consistent with what default_gdb_init uses.
20151 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20152 the plain text of the prompt. Add some logging printfs.
20153 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20154
fa43b1d7
PA
201552014-09-12 Pedro Alves <palves@redhat.com>
20156
20157 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20158 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20159 * gdb.arch/i386-size-overlap.exp: Likewise.
20160 * gdb.arch/i386-size.exp: Likewise.
20161 * gdb.arch/i386-unwind.exp: Likewise.
20162 * gdb.base/a2-run.exp: Likewise.
20163 * gdb.base/break.exp: Likewise.
20164 * gdb.base/charset.exp: Likewise.
20165 * gdb.base/chng-syms.exp: Likewise.
20166 * gdb.base/commands.exp: Likewise.
20167 * gdb.base/dbx.exp: Likewise.
20168 * gdb.base/find.exp: Likewise.
20169 * gdb.base/funcargs.exp: Likewise.
20170 * gdb.base/jit-simple.exp: Likewise.
20171 * gdb.base/reread.exp: Likewise.
20172 * gdb.base/sepdebug.exp: Likewise.
20173 * gdb.base/step-bt.exp: Likewise.
20174 * gdb.cp/mb-inline.exp: Likewise.
20175 * gdb.cp/mb-templates.exp: Likewise.
20176 * gdb.objc/basicclass.exp: Likewise.
20177 * gdb.threads/killed.exp: Likewise.
20178
9d9bf2df
EBM
201792014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20180
20181 PR tdep/17379
20182 * gdb.arch/powerpc-stackless.S: New file.
20183 * gdb.arch/powerpc-stackless.exp: New file.
20184
1cf2f1b0
JK
201852014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20186
20187 * gdb.base/attach.c: Include unistd.h.
20188 (main): Call alarm. Add label postloop.
20189 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20190 gdb_breakpoint, gdb_continue_to_breakpoint.
20191 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20192
98880d46
PA
201932014-09-11 Pedro Alves <palves@redhat.com>
20194
20195 PR gdb/17347
20196 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20197 * gdb.base/attach.exp (test_command_line_attach_run): New
20198 procedure.
20199 (top level): Call it.
20200
4c92ff2c
PA
202012014-09-11 Pedro Alves <palves@redhat.com>
20202
20203 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20204 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20205 (do_command_attach_tests): Use spawn_wait_for_attach.
20206 * gdb.base/solib-overlap.exp: Likewise.
20207 * gdb.multi/multi-attach.exp: Likewise.
20208 * gdb.python/py-prompt.exp: Likewise.
20209 * gdb.python/py-sync-interp.exp: Likewise.
20210 * gdb.server/ext-attach.exp: Likewise.
20211
3adc1a7d
GKB
202122014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20213
20214 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20215 command in testcase. Simplify testcase.
20216
96334934
JB
202172014-09-10 Joel Brobecker <brobecker@adacore.com>
20218
20219 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20220
eb479039
JB
202212014-09-10 Joel Brobecker <brobecker@adacore.com>
20222
20223 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20224
deede10c
JB
202252014-09-10 Joel Brobecker <brobecker@adacore.com>
20226
20227 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20228
7828a5f5
JB
202292014-09-10 Joel Brobecker <brobecker@adacore.com>
20230
20231 * gdb.dwarf2/dynarr-ptr.c: New file.
20232 * gdb.dwarf2/dynarr-ptr.exp: New file.
20233
33aeebcf
MR
202342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20235
20236 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20237 of 30 rather than hardcoding 120 for a slow test case. Take the
20238 `gdb,timeout' target setting into account for this calculation.
20239 Don't extend the timeout for the test cases that don't need it.
20240
7b415901
MR
202412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20242
20243 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20244 a factor of 2 for a slow test case. Take the `gdb,timeout'
20245 target setting into account for this calculation.
20246 * gdb.reverse/until-precsave.exp: Increase the timeout by
20247 a factor of 15 and 3 respectively rather than adding 120
20248 for a pair of slow test cases. Take the `gdb,timeout'
20249 target setting into account for this calculation.
20250
4a40f85a
MR
202512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20252
20253 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20254 timeout, don't pass one down to gdb_expect.
20255 (gdb_expect): Rework timeout selection.
20256
09635af7
MR
202572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20258
20259 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20260 exception on timeout.
20261 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20262 (gdbserver_start_extended): Catch any `gdbserver_start' error
20263 exceptions.
20264 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20265 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20266 `gdbserver_gdb_load' error exceptions.
20267
2bdd10b7
MR
202682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20269
20270 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20271 120 on waiting for the TCP socket to open.
20272
316935f0
DE
202732014-09-09 Doug Evans <xdje42@gmail.com>
20274
20275 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20276 _caller_matches, _any_caller_is, _any_caller_matches.
20277
83740597
DE
202782014-09-09 Doug Evans <xdje42@gmail.com>
20279
20280 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20281
4c122fc3
YQ
202822014-09-09 Yao Qi <yao@codesourcery.com>
20283
20284 * gdb.mi/mi-var-display.exp: Set print symbol off.
20285
a9f116cb
GKB
202862014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20287
20288 PR gdb/17035
20289 * gdb.base/commands.exp: Add tests to verify user-defined
20290 commands with empty bodies.
20291 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20292 python commands in `show user command`.
20293 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20294 scheme commands in `show user command`.
20295
c75bd3a2
JK
202962014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20297
20298 PR python/17355
20299 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20300 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20301 * gdb.python/py-framefilter-invalidarg.exp: New file.
20302 * gdb.python/py-framefilter-invalidarg.py: New file.
20303
faa42425
DE
203042014-09-06 Doug Evans <xdje42@gmail.com>
20305
20306 PR 15276
20307 * gdb.python/py-caller-is.c: New file.
20308 * gdb.python/py-caller-is.exp: New file.
20309
474ca4f6
SDJ
203102014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20311
20312 PR gdb/17235
20313 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20314 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20315
eb0b0463
SDJ
203162014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20317
20318 PR fortran/17237
20319 * gdb.fortran/print-formatted.exp: New file.
20320 * gdb.fortran/print-formatted.f90: Likewise.
20321
5f3b99cf
SS
203222014-09-03 Sasha Smundak <asmundak@google.com>
20323
20324 * gdb.python/py-frame.exp: Test Frame.read_register.
20325
7d793aa9
SDJ
203262014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20327
20328 PR python/16699
20329 * gdb.python/py-completion.exp: New file.
20330 * gdb.python/py-completion.py: Likewise.
20331
fb0576e9
DE
203322014-08-28 Doug Evans <dje@google.com>
20333
20334 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20335 eax,etc. are live with values set by gdb and thus the compiler can't
20336 use them.
20337 * gdb.arch/i386-pseudo.c (main): Ditto.
20338
ee92b0dd
DE
203392014-08-27 Doug Evans <dje@google.com>
20340
20341 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20342
6649db35
DE
203432014-08-25 Doug Evans <dje@google.com>
20344
20345 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20346 (main): Ditto.
20347
564b7600
DE
203482014-08-25 Doug Evans <dje@google.com>
20349
20350 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20351
3881fb67
YQ
203522014-08-24 Yao Qi <yao@codesourcery.com>
20353
20354 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20355 symbol off.
20356 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20357
a05a36a5
DE
203582014-08-22 Doug Evans <dje@google.com>
20359
20360 PR 17276
20361 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20362 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20363 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20364
7c343b48
YQ
203652014-08-22 Yao Qi <yao@codesourcery.com>
20366
20367 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20368 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20369 * gdb.python/python.exp: Likewise. Use .py file on the host
20370 instead of the build.
20371
22fd09ae
JK
203722014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20373
20374 * gdb.threads/gcore-stale-thread.c: New file.
20375 * gdb.threads/gcore-stale-thread.exp: New file.
20376
a8454a7c
PA
203772014-08-21 Pedro Alves <palves@redhat.com>
20378
20379 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20380 * gdb.base/gcore-relro-pie.exp: Likewise.
20381 * gdb.base/gcore-relro.exp: Likewise.
20382 * gdb.base/gcore.exp: Likewise.
20383 * gdb.base/print-symbol-loading.exp: Likewise.
20384 * gdb.threads/gcore-thread.exp: Likewise.
20385 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20386
2a31c623
PA
203872014-08-20 Pedro Alves <palves@redhat.com>
20388 Jan Kratochvil <jan.kratochvil@redhat.com>
20389
20390 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20391 configure.
20392 (EXPECT): Handle READ1 being set.
20393 (all): Depend on EXTRA_RULES.
20394 (check-read1, expect-read1, read1.so, read1): New rules.
20395 * README (Testsuite Parameters): Document the READ1 make variable.
20396 (Race detection): New section.
20397 * configure: Regenerate.
20398 * configure.ac: If build==host==target, and running under a
20399 GNU/glibc system, add read1 to the extra Makefile rules.
20400 (EXTRA_RULES): AC_SUBST it.
20401 * lib/read1.c: New file.
20402
d36430db
JB
204032014-08-20 Joel Brobecker <brobecker@adacore.com>
20404
20405 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20406 the handling of variables declared as a typedef to an array
20407 which a DW_AT_data_location attribute.
20408
9a0dc9e3
PA
204092014-08-19 Andrew Burgess <aburgess@broadcom.com>
20410 Pedro Alves <palves@redhat.com>
20411
20412 PR symtab/14604
20413 PR symtab/14605
20414 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20415 gdb_test.
20416
0718a8da
PA
204172014-08-19 Pedro Alves <palves@redhat.com>
20418
20419 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20420
13b448cd
YQ
204212014-08-19 Yao Qi <yao@codesourcery.com>
20422
20423 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20424 right line.
20425
1cbf5077
DB
204262014-08-18 David Blaikie <dblaikie@gmail.com>
20427
20428 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20429
bf0fae19
JB
204302014-08-18 Joel Brobecker <brobecker@adacore.com>
20431
20432 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20433 attribute in array range.
20434
3c8c5dcc
JB
204352014-08-18 Joel Brobecker <brobecker@adacore.com>
20436
20437 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20438
e66d4446
SC
204392014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20440
20441 PR c++/17132
20442 * gdb.cp/pr17132.cc: New file.
20443 * gdb.cp/pr17132.exp: New file.
20444
940df408
SC
204452014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20446
20447 * gdb.python/py-xmethods.py (A_getarrayind)
20448 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20449 Use 'print' with function call syntax.
20450 (E_method_matcher.match): Fix tab vs space indentation mixup.
20451
ebcc6c3a
YQ
204522014-08-15 Yao Qi <yao@codesourcery.com>
20453
20454 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20455 false.
20456
775e0f04
YQ
204572014-08-15 Yao Qi <yao@codesourcery.com>
20458
20459 * gdb.cp/casts.exp: Set print symbol off.
20460 * gdb.cp/class2.exp: Likewise.
20461 * gdb.cp/overload.exp: Likewise.
20462 * gdb.cp/templates.exp: Likewise.
20463
d769e349
DE
204642014-08-11 Doug Evans <dje@google.com>
20465
20466 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20467 (test_load_shlib): Update.
20468
20c6f1e1
YQ
204692014-08-09 Yao Qi <yao@codesourcery.com>
20470
20471 * gdb.base/display.exp: Invoke is_address_zero_readable.
20472 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20473 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20474 * gdb.base/hbreak-unmapped.exp: Return if
20475 is_address_zero_readable returns true.
20476 * gdb.base/signest.exp: Likewise.
20477 * gdb.base/signull.exp: Likewise.
20478 * gdb.base/sigbpt.exp: Likewise.
20479 * gdb.guile/scm-disasm.exp: Do the test if
20480 is_address_zero_readable returns false.
20481 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20482 * gdb.python/py-arch.exp: Likewise.
20483 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20484 * lib/gdb.exp (is_address_zero_readable): New proc.
20485
5792e8e3
YQ
204862014-08-09 Yao Qi <yao@codesourcery.com>
20487
20488 PR testsuite/13443
20489 * gdb.mi/mi-var-display.exp: Make test messages unique.
20490
3cecbbbe
TT
204912014-08-04 Tom Tromey <tromey@redhat.com>
20492
20493 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20494 target 0".
20495
00b51ff5
TT
204962014-08-04 Tom Tromey <tromey@redhat.com>
20497
20498 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20499 "target_resume".
20500
6908c509
JB
205012014-08-01 Joel Brobecker <brobecker@adacore.com>
20502
20503 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20504 inner_vla_struct_object_size.
20505 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20506 as xfail.
20507
cc6563d2
PA
205082014-07-30 Pedro Alves <palves@redhat.com>
20509
20510 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20511 comment.
20512
7e09a223
YQ
205132014-07-29 Yao Qi <yao@codesourcery.com>
20514
20515 PR gdb/17206
20516 * gdb.base/until-nodebug.exp: New.
20517
7ebdbe92
DE
205182014-07-28 Doug Evans <xdje42@gmail.com>
20519
20520 PR guile/17203
20521 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20522 previously existing parameter, and previously ambiguously spelled
20523 parameter.
20524
fdb1adc6
WN
205252014-07-28 Will Newton <will.newton@linaro.org>
20526
20527 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20528
186fcde0
DE
205292014-07-26 Ludovic Courtès <ludo@gnu.org>
20530 Doug Evans <xdje42@gmail.com>
20531
20532 PR guile/17146
20533 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20534
70509625
PA
205352014-07-25 Pedro Alves <palves@redhat.com>
20536
20537 * gdb.threads/signal-command-handle-nopass.c: New file.
20538 * gdb.threads/signal-command-handle-nopass.exp: New file.
20539 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20540 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20541 * gdb.threads/signal-delivered-right-thread.c: New file.
20542 * gdb.threads/signal-delivered-right-thread.exp: New file.
20543
c3f814a1
PA
205442014-07-25 Pedro Alves <palves@redhat.com>
20545
20546 * gdb.base/double-prompt-target-event-error.exp
20547 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20548 match.
20549 (cancel_pagination_in_target_event): Rework double prompt
20550 detection.
20551 * gdb.base/paginate-after-ctrl-c-running.exp
20552 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20553 <return>' match.
20554 * gdb.base/paginate-bg-execution.exp
20555 (test_bg_execution_pagination_return)
20556 (test_bg_execution_pagination_cancel): Remove '-notransfer
20557 <return>' matches.
20558 * gdb.base/paginate-execution-startup.exp
20559 (test_fg_execution_pagination_return)
20560 (test_fg_execution_pagination_cancel): Remove '-notransfer
20561 <return>' matches.
20562 * gdb.base/paginate-inferior-exit.exp
20563 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20564 match.
20565 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20566 * lib/gdb.exp (pagination_prompt): Run text through
20567 string_to_regexp.
20568 (gdb_test_multiple): Match $pagination_prompt instead of
20569 "<return>".
20570 (string_to_regexp): Move to lib/gdb-utils.exp.
20571
e214cf6c
JK
205722014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20573
20574 * gdb.arch/amd64-entry-value-paramref.S: New file.
20575 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20576 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20577 * gdb.arch/amd64-optimout-repeat.S: New file.
20578 * gdb.arch/amd64-optimout-repeat.c: New file.
20579 * gdb.arch/amd64-optimout-repeat.exp: New file.
20580
17d0c5c8
JK
205812014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20582
20583 PR gdb/17170
20584 * gdb.base/statistics.exp: New file.
20585
b8b8facf
DE
205862014-07-17 Doug Evans <dje@google.com>
20587
74b49205 20588 PR gdb/17170
b8b8facf
DE
20589 * gdb.base/maint.exp: Update testing of per-command stats.
20590
1b5d0ab3
PA
205912014-07-16 Pedro Alves <palves@redhat.com>
20592
20593 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20594 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20595 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20596 (tfile_write_buf): New functions.
20597 (add_memory_block): Rewrite using the above.
20598 (adjust_function_address): New function.
20599 (FUNCTION_ADDRESS): New macro.
20600 (write_basic_trace_file): Remove short_x local, and use
20601 tfile_write_16. Change type of func_addr local to unsigned long
20602 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20603 here. Cast argument of add_memory_block to char pointer.
20604 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20605 (main): Remove parameters.
20606 * gdb.trace/tfile.exp: Remove nowarnings.
20607
4d974e88
SM
206082014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20609
20610 * gdb.base/debug-expr.exp: Test string evaluation with
20611 "debug expression" on.
20612
41e99568
PA
206132014-07-15 Pedro Alves <palves@redhat.com>
20614
20615 * gdb.base/reread.exp: Use clean_restart.
20616
487d9753
PL
206172014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20618
20619 * gdb.arch/avr-flash-qualifer.c: New.
20620 * gdb.arch/avr-flash-qualifer.exp: New.
20621
cc1c52ad
PA
206222014-07-14 Pedro Alves <palves@redhat.com>
20623
20624 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20625 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20626
1e973570
PA
206272014-07-14 Pedro Alves <palves@redhat.com>
20628
20629 * gdb.base/double-prompt-target-event-error.c: New file.
20630 * gdb.base/double-prompt-target-event-error.exp: New file.
20631
93d6eb10
PA
206322014-07-14 Pedro Alves <palves@redhat.com>
20633
20634 PR gdb/17072
20635 * gdb.base/paginate-inferior-exit.c: New file.
20636 * gdb.base/paginate-inferior-exit.exp: New file.
20637
0017922d
PA
206382014-07-14 Pedro Alves <palves@redhat.com>
20639
20640 PR gdb/17072
20641 * gdb.base/paginate-bg-execution.c: New file.
20642 * gdb.base/paginate-bg-execution.exp: New file.
20643
94696ad3
PA
206442014-07-14 Pedro Alves <palves@redhat.com>
20645
20646 PR gdb/17072
20647 * gdb.base/paginate-execution-startup.c: New file.
20648 * gdb.base/paginate-execution-startup.exp: New file.
20649 * lib/gdb.exp (pagination_prompt): New global.
20650 (default_gdb_spawn): New procedure, factored out from
20651 default_gdb_spawn.
20652 (default_gdb_start): Adjust to call default_gdb_spawn.
20653 (gdb_spawn): New procedure.
20654
bd293940
PA
206552014-07-14 Pedro Alves <palves@redhat.com>
20656
20657 * lib/gdb.exp (gdb_assert): New procedure.
20658 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20659
c933f875
PA
206602014-07-14 Pedro Alves <palves@redhat.com>
20661
20662 * gdb.base/execution-termios.c: New file.
20663 * gdb.base/execution-termios.exp: New file.
20664
d98b7a16
TT
206652014-07-14 Tom Tromey <tromey@redhat.com>
20666
20667 * gdb.cp/vla-cxx.cc: New file.
20668 * gdb.cp/vla-cxx.exp: New file.
20669
548740d6
TT
206702014-07-14 Tom Tromey <tromey@redhat.com>
20671
20672 * gdb.reverse/rerun-prec.c: New file.
20673 * gdb.reverse/rerun-prec.exp: New file.
20674
a25eb028
MR
206752014-07-12 Maciej W. Rozycki <macro@mips.com>
20676 Maciej W. Rozycki <macro@codesourcery.com>
20677
20678 * lib/gdb-utils.exp: New file.
20679 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20680 inline `gdb_init_command' processing.
20681 (gdb_start_cmd): Likewise.
20682 * lib/mi-support.exp (mi_run_cmd): Likewise.
20683 * README: Document `gdb_init_command' and `gdb_init_commands'.
20684
218c2655
JK
206852014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20686
20687 Fix false FAIL running under a very long directory name.
20688 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20689 and "set print elements 10000". Twice.
20690
5401fde3
YQ
206912014-07-11 Yao Qi <yao@codesourcery.com>
20692
20693 * gdb.base/exprs.exp: "set print symbol off".
20694
e76126e8
PA
206952014-07-11 Pedro Alves <palves@redhat.com>
20696
20697 * gdb.threads/kill.c: New file.
20698 * gdb.threads/kill.exp: New file.
20699
2d6f0de6
YQ
207002014-07-10 Yao Qi <yao@codesourcery.com>
20701
20702 * gdb.trace/tfile.c (write_basic_trace_file)
20703 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20704 address written to trace file.
20705
7180e04a
PA
207062014-07-09 Pedro Alves <palves@redhat.com>
20707
20708 * gdb.base/attach-wait-input.exp: New file.
20709 * gdb.base/attach-wait-input.c: New file.
20710
9a9a7608
AB
207112014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20712
20713 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20714 setting up test structures.
20715 (main): Call new test function.
20716 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20717 test function, continue into test function and walk test
20718 structures.
20719
161ac41e
YQ
207202014-07-02 Yao Qi <yao@codesourcery.com>
20721
20722 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20723 'bar_start' at the beginning of functions 'foo' and 'bar'
20724 respectively.
20725 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20726 instead of 'foo' and 'bar'.
20727
1f267ae3
MM
207282014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20729
20730 * gdb.btrace/segv.exp: New.
20731 * gdb.btrace/segv.c: New.
20732
2b239efb
LM
207332014-07-02 Luis Machado <lgustavo@codesourcery.com>
20734
20735 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20736 instruction.
20737
cf363f18
MW
207382014-06-30 Mark Wielaard <mjw@redhat.com>
20739
20740 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20741 vulture, vilify, villar): New volatile array constants.
20742 (vindictive, vegetation): New const volatile array constants.
20743 * gdb.base/volatile.exp: Test volatile and const volatile array
20744 types.
20745
aebf9d24
AA
207462014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20747
20748 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20749 target lacks support for awatch, rwatch, or hbreak.
20750
b67a2c6f
YQ
207512014-06-27 Yao Qi <yao@codesourcery.com>
20752
20753 * gdb.multi/dummy-frame-restore.exp: New.
20754 * gdb.multi/dummy-frame-restore.c: New.
20755
aef92902
MM
207562014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20757
20758 * gdb.btrace/gcore.exp: New.
20759
8e9db26e
PA
207602014-06-23 Pedro Alves <palves@redhat.com>
20761
20762 * gdb.base/watchpoint-reuse-slot.c: New file.
20763 * gdb.base/watchpoint-reuse-slot.exp: New file.
20764
70afc5b7
SC
207652014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20766
20767 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20768 progspace's filename in 'info', 'enable' and 'disable' command
20769 tests.
20770
b972bd9c
JK
207712014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20772
20773 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20774 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20775 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20776
125f8a3d
GB
207772014-06-20 Gary Benson <gbenson@redhat.com>
20778
20779 * gdb.arch/i386-avx.exp: Fix include file location.
20780 * gdb.arch/i386-sse.exp: Likewise.
20781
3ed9baed
IB
207822014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20783
20784 * gdb.dlang/expression.exp: New file.
20785
034f788c
PA
207862014-06-19 Pedro Alves <palves@redhat.com>
20787
20788 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20789 out from ...
20790 (top level): ... here. Iterate running tests under different
20791 scheduler-locking settings.
20792
45371d0c
LM
207932014-06-18 Luis Machado <lgustavo@codesourcery.com>
20794
20795 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20796 to DW_FORM_addr and use non-zero addresses.
20797
5d376983
SC
207982014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20799
20800 PR gdb/17017
20801 * gdb.python/py-xmethods.cc: Add global function call counters and
20802 increment them in their respective functions. Remove "cout"
20803 statements.
20804 * gdb.python/py-xmethods.exp: Make tests check the global function
20805 call counters instead of depending on inferior IO.
20806
a1aa2221
LM
208072014-06-18 Don Breazeal <donb@codesourcery.com>
20808
20809 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20810 Deleted procedure.
20811 (explicit_fork_parent_follow): Deleted procedure.
20812 (explicit_fork_child_follow): Deleted procedure.
20813 (test_follow_fork): New procedure.
20814 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20815 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20816 procedure calls.
20817
0fc05997
YQ
208182014-06-17 Yao Qi <yao@codesourcery.com>
20819
20820 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20821 CP1252.
20822
70795c52
LM
208232014-06-17 Luis Machado <lgustavo@codesourcery.com>
20824
20825 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20826 Initialize ptr and S explicitly.
20827 (skip_type_update_when_not_use_rtti_test): Likewise.
20828
6be47f0c
KS
208292014-06-16 Keith Seitz <keiths@redhat.com>
20830
20831 PR mi/15863
20832 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20833 the inferior is started.
20834
d03de421
PA
208352014-06-16 Pedro Alves <palves@redhat.com>
20836
20837 * gdb.base/break-main-file-remove-fail.c: New file.
20838 * gdb.base/break-main-file-remove-fail.exp: New file.
20839 * gdb.base/break-unload-file.exp: Use build_executable instead of
20840 prepare_for_testing.
20841 (test_break): New parameter "initial_load". Handle it.
20842 (top level): Add initial_load cmdline/file axis.
20843
f9579b99
TT
208442014-06-12 Tom Tromey <tromey@redhat.com>
20845
20846 * gdb.base/completion.exp: Don't use directory name in test.
20847
3657956b
GB
208482014-06-09 Gary Benson <gbenson@redhat.com>
20849
20850 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20851 separate the always-available ANSI-standard signals from the
20852 signals that require checking.
20853 (main): Likewise.
20854 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20855 Likewise.
20856 (main): Likewise.
20857
4186eb54
KS
208582014-06-07 Keith Seitz <keiths@redhat.com>
20859
20860 Revert:
20861 PR c++/16253
20862 * gdb.cp/var-tag.cc: New file.
20863 * gdb.cp/var-tag.exp: New file.
20864 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20865 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20866 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20867 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20868
25326a28 208692014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
20870
20871 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20872
829155c9
PA
208732014-06-06 Pedro Alves <palves@redhat.com>
20874
20875 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20876 in target debug output instead of looking at RSP packets,
20877 disabling the test on any target that uses hardware stepping.
20878 Update comments.
20879
61c8d22e
PA
208802014-06-06 Pedro Alves <palves@redhat.com>
20881
20882 * gdb.base/break-unload-file.exp: Fix typo.
20883
d9a47287
YQ
208842014-06-06 Yao Qi <yao@codesourcery.com>
20885
20886 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20887 from "jit_function" to "^jit_function".
20888
e5e01dbf
YQ
208892014-06-06 Yao Qi <yao@codesourcery.com>
20890
20891 * gdb.base/async.c (foo): Add one statement.
20892 * gdb.base/async.exp: Get the next instruction address and
20893 match the output of "nexti" by instruction address. Match
20894 the hex address in the output of "finish".
20895
73ba372c
GB
208962014-06-06 Gary Benson <gbenson@redhat.com>
20897
20898 * gdb.base/call-signals.c: Remove preprocessor conditionals
20899 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20900 SIGSEGV and SIGTERM.
20901 * gdb.base/sigall.c: Likewise.
20902 * gdb.base/unwindonsignal.c: Likewise.
20903 * gdb.reverse/sigall-reverse.c: Likewise.
20904
831517df
YQ
209052014-06-06 Yao Qi <yao@codesourcery.com>
20906
20907 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20908 readable, skip the test.
20909
b8b91e98
YQ
209102014-06-06 Yao Qi <yao@codesourcery.com>
20911
20912 * gdb.threads/staticthreads.c (thread_function): Move the line
20913 setting breakpoint on forward.
20914 * gdb.threads/staticthreads.exp: Update comments.
20915
fb934770
LC
209162014-06-05 Ludovic Courtès <ludo@gnu.org>
20917
20918 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20919 "history-append! type error".
20920
6ef284bd
SM
209212014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20922
20923 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20924 erroneous dprintf expected input.
20925
a872e241
DE
209262014-06-04 Doug Evans <xdje42@gmail.com>
20927
20928 * gdb.guile/scm-generics.exp: Delete.
20929
16f691fb
DE
209302014-06-04 Doug Evans <xdje42@gmail.com>
20931
20932 * gdb.guile/scm-breakpoint.exp: Update.
20933 Add tests for breakpoint registration.
20934
012370f6
TT
209352014-06-04 Tom Tromey <tromey@redhat.com>
20936
20937 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20938 VLA-in-union.
20939 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20940 inner_vla_struct, vla_union types. Initialize objects of those
20941 types and compute their sizes.
20942
9f5a4cef
HZ
209432014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20944 Hui Zhu <hui@codesourcery.com>
20945
20946 * gdb.base/fileio.exp: Add test for shell not available as well as
20947 available.
20948 * gdb.base/fileio.c (test_system): Check for shell twice.
20949
90a45c4d
YQ
209502014-06-04 Yao Qi <yao@codesourcery.com>
20951
20952 * gdb.base/auto-connect-native-target.exp: Remove redundant
20953 space from the regexp pattern.
20954
70017e41
YQ
209552014-06-04 Yao Qi <yao@codesourcery.com>
20956
20957 * gdb.base/default.exp: Replace "child" with "native" in
20958 regexp pattern.
20959
883964a7
SC
209602014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20961
20962 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20963 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20964 * gdb.python/py-xmethods.py: Python script supporting the
20965 new testcase and tests.
20966
ef370185
JB
209672014-06-03 Joel Brobecker <brobecker@adacore.com>
20968 Pedro Alves <palves@redhat.com>
20969
20970 PR breakpoints/17000
20971 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20972 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20973
1e2ccb61
BM
209742014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20975
20976 * gdb.base/subst.exp: Add tests to verify partial path matching
20977 output.
20978
c6ec5ab2
PA
209792014-06-03 Pedro Alves <palves@redhat.com>
20980
20981 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20982 target that doesn't use software single-stepping.
20983
835c559f
PA
209842014-06-03 Pedro Alves <palves@redhat.com>
20985
20986 PR breakpoints/17000
20987 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20988 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20989
06eb1586
DE
209902014-06-02 Doug Evans <xdje42@gmail.com>
20991
20992 * gdb.guile/scm-parameter.exp: New file.
20993
e698b8c4
DE
209942014-06-02 Doug Evans <xdje42@gmail.com>
20995
20996 * gdb.guile/scm-cmd.c: New file.
20997 * gdb.guile/scm-cmd.exp: New file.
20998
ded03782
DE
209992014-06-02 Doug Evans <xdje42@gmail.com>
21000
21001 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21002 pretty-printer lookup.
21003 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21004 (make-pp_s-printer): Call it.
21005 (make-pretty-printer-from-dict): New function.
21006 (lookup-pretty-printer-maker-from-dict): New function.
21007 (*pretty-printer*): Simplify.
21008 (make-objfile-pp_s-printer): New function.
21009 (install-objfile-pretty-printers!): New function.
21010 (make-progspace-pp_s-printer): New function.
21011 (install-progspace-pretty-printers!): New function.
21012 * gdb.guile/scm-progspace.c: New file.
21013 * gdb.guile/scm-progspace.exp: New file.
21014
41fac0cf
PA
210152014-06-02 Pedro Alves <palves@redhat.com>
21016
21017 * gdb.base/dprintf-bp-same-addr.c: New file.
21018 * gdb.base/dprintf-bp-same-addr.exp: New file.
21019
96ae5695
EBM
210202014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21021
21022 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21023 * gdb.arch/powerpc-power.s: Likewise.
21024
da02b3a8
JB
210252014-06-02 Joel Brobecker <brobecker@adacore.com>
21026
21027 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21028
c72b2e7b
YQ
210292014-06-01 Yao Qi <yao@codesourcery.com>
21030
21031 * gdb.base/watchpoint.exp (test_watch_location): Check null
21032 pointer can be dereferenced. If not, do the test, otherwise
21033 skip it.
21034
53e8a631
AB
210352014-05-30 Andrew Burgess <aburgess@broadcom.com>
21036
21037 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21038 results.
21039 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21040
938f0e2f
AB
210412014-05-30 Andrew Burgess <aburgess@broadcom.com>
21042
21043 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21044 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21045 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21046 * gdb.arch/amd64-invalid-stack-top.c: New file.
21047 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21048
9ba6657a
PA
210492014-05-30 Pedro Alves <palves@redhat.com>
21050
21051 PR breakpoints/17000
21052 * gdb.base/sss-bp-on-user-bp.c: New file.
21053 * gdb.base/sss-bp-on-user-bp.exp: New file.
21054
522c09bf
DB
210552014-05-30 David Blaikie <dblaikie@gmail.com>
21056
21057 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21058 gnu_inline semantics via attribute.
21059 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21060 source explicitly specifies the required semantics.
21061
bf4ef81e
MR
210622014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21063
21064 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21065
329ea579
PA
210662014-05-29 Pedro Alves <palves@redhat.com>
21067 Tom Tromey <tromey@redhat.com>
21068
21069 * gdb.base/async-shell.exp: Don't enable target-async.
21070 * gdb.base/async.exp
21071 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21072 parameter. Adjust.
21073 (top level): Don't test with "target-async".
21074 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21075 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21076 * gdb.base/inferior-died.exp: Don't enable target-async.
21077 * gdb.base/interrupt-noterm.exp: Likewise.
21078 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21079 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21080 * gdb.mi/mi-nonstop.exp: Likewise.
21081 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21082 * gdb.mi/mi-nsintrall.exp: Likewise.
21083 * gdb.mi/mi-nsmoribund.exp: Likewise.
21084 * gdb.mi/mi-nsthrexec.exp: Likewise.
21085 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21086 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21087 * gdb.python/py-evsignal.exp: Don't enable target-async.
21088 * gdb.python/py-evthreads.exp: Likewise.
21089 * gdb.python/py-prompt.exp: Likewise.
21090 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21091 * gdb.server/solib-list.exp: Don't enable target-async.
21092 * gdb.threads/thread-specific-bp.exp: Likewise.
21093 * lib/mi-support.exp: Adjust to use mi-async.
21094
fd664c91
PA
210952014-05-29 Pedro Alves <palves@redhat.com>
21096
21097 PR gdb/13860
21098 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21099 reason, even in sync mode.
21100
251bde03
PA
211012014-05-29 Pedro Alves <palves@redhat.com>
21102 Hui Zhu <hui@codesourcery.com>
21103
21104 PR PR15693
21105 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21106 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21107 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21108 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21109
7f3c0343
JB
211102014-05-28 Joel Brobecker <brobecker@adacore.com>
21111
21112 * config/monitor.exp (gdb_target_monitor): Replace use of
21113 "set remotebaud" by "set serial baud".
21114
b2715b27
AW
211152014-05-26 Andy Wingo <wingo@igalia.com>
21116
21117 * gdb.guile/scm-breakpoint.exp:
21118 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21119 properties instead of gdb-object-properties.
21120
498a4489
YQ
211212014-05-26 Yao Qi <yao@codesourcery.com>
21122
21123 * gdb.server/no-thread-db.exp: Specify source file name
21124 explicitly when setting a breakpoint.
21125
589fdceb
MM
211262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21127
21128 * gdb.btrace/vdso.c: New.
21129 * gdb.btrace/vdso.exp: New.
21130
e9089e05
MM
211312014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21132
21133 * gdb.base/gcore.exp (capture_command_output): Move ...
21134 * lib/gdb.exp (capture_command_output): ... here.
21135
67b5c0c1
MM
211362014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21137
21138 * gdb.btrace/data.exp: Test memory access during btrace replay.
21139
a2199296
SM
211402014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21141
21142 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21143
17b2616c
PA
211442014-05-21 Pedro Alves <palves@redhat.com>
21145
21146 PR gdb/13860
21147 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21148 (top level): Test that output related to execution commands is
21149 sent to the console with CLI commands, but not with MI commands.
21150 Test that breakpoint events are always mirrored to the console.
21151 Also expect the new source line to be output after a "next" in
21152 async mode too. Make it a pass/fail test.
21153 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21154 output.
21155 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21156
5166082f
PA
211572014-05-21 Pedro Alves <palves@redhat.com>
21158
21159 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21160 Use them to test variations of "list" after reaching a breakpoint.
21161 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21162 Test "list" with listsize 10 after reaching a breakpoint.
21163 * gdb.python/python.exp (decode_line current location line
21164 number): Adjust expected line number.
21165
2f25d70f
SM
211662014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21167
21168 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21169 behavior for $args, pass it directly to "run".
21170
ff604a67
MR
211712014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21172
21173 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21174 30000 to 65536.
21175
6a3cb8e8
PA
211762014-05-21 Pedro Alves <palves@redhat.com>
21177
21178 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21179 auto-connect-native-target off".
21180 * gdb.base/auto-connect-native-target.c: New file.
21181 * gdb.base/auto-connect-native-target.exp: New file.
21182
4ebfc96e
PA
211832014-05-21 Pedro Alves <palves@redhat.com>
21184
21185 * gdb.base/default.exp: Test "target native" instead of "target
21186 child".
21187
36d46afb
MW
211882014-05-21 Mark Wielaard <mjw@redhat.com>
21189
21190 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21191
5876f503
JK
211922014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21193
21194 Fix TLS access for -static -pthread.
21195 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21196 <HAVE_TLS> (thread_function, main): Initialize it.
21197 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21198 Add clean_restart.
21199 <$have_tls != "">: Check TLSVAR.
21200
0256a6ac
PA
212012014-05-21 Pedro Alves <palves@redhat.com>
21202
21203 * gdb.base/dcache-line-read-error.c: New.
21204 * gdb.base/dcache-line-read-error.exp: New.
21205
936d2992
PA
212062014-05-20 Pedro Alves <palves@redhat.com>
21207
21208 * gdb.base/compare-sections.c: New file.
21209 * gdb.base/compare-sections.exp: New file.
21210
802e8e6d
PA
212112014-05-20 Pedro Alves <palves@redhat.com>
21212
21213 * gdb.base/break-idempotent.c: New file.
21214 * gdb.base/break-idempotent.exp: New file.
21215
e59fa00f
MM
212162014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21217
21218 * gdb.btrace/nohist.exp: New.
21219
8b696e31
YQ
212202014-05-20 Yao Qi <yao@codesourcery.com>
21221
21222 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21223 gdb.reverse directory and gdb_reverse_timeout exists in board
21224 setting.
21225 * README: Document gdb_reverse_timeout.
21226
73c9764f
YQ
212272014-05-20 Yao Qi <yao@codesourcery.com>
21228
21229 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21230 'test_file_name'. Treat args as a string instead of a list.
21231 (gdb_init): Rename argument 'args' by 'test_file_name'.
21232
f1f4348a
JK
212332014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21234
21235 * gdb.arch/powerpc-power.exp: New file.
21236 * gdb.arch/powerpc-power.s: New file.
21237
0dbe70ce
DE
212382014-05-16 Doug Evans <dje@google.com>
21239
21240 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
21241 * gdb.base/completion.exp: Check that all expected files exist
21242 before doing file completion.
0dbe70ce 21243
8d551b02
DE
212442014-05-16 Doug Evans <dje@google.com>
21245
21246 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
21247 Update.
21248 (do_syscall_tests_without_xml): Update.
21249
73eb7709
PA
212502014-05-16 Pedro Alves <palves@redhat.com>
21251
21252 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21253 instead of "unknown output after running".
21254
3fae92fc
YQ
212552014-05-16 Yao Qi <yao@codesourcery.com>
21256
21257 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21258 file1.txt from host at the end.
21259 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21260
c2b2ccc5
DE
212612014-05-15 Doug Evans <dje@google.com>
21262
21263 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21264 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21265 loading file. Add test for TU lookup.
21266
8c217a4b
SM
212672014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21268
21269 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21270 calling "-exec-arguments" or "set args" before running the
21271 inferior.
21272
3deb39c6
SM
212732014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21274
21275 * lib/mi-support.exp (mi_expect_stop): Expect message for
21276 inferiors that exit with non-zero exit code.
21277
71a79f8c
YQ
212782014-05-14 Yao Qi <yao@codesourcery.com>
21279
21280 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21281 match absolute path on remote host.
21282 (test_file_list_exec_source_files): Remove "/" from the
21283 pattern.
21284
f23fcd46
YQ
212852014-05-14 Yao Qi <yao@codesourcery.com>
21286
21287 * boards/local-remote-host-notty.exp (${board}_file): New
21288 proc.
21289
9404b58f
KM
212902014-05-07 Kyle McMartin <kyle@redhat.com>
21291
21292 Pushed by Joel Brobecker <brobecker@adacore.com>.
21293 * gdb.arch/aarch64-atomic-inst.c: New file.
21294 * gdb.arch/aarch64-atomic-inst.exp: New file.
21295
5e45f04c
YQ
212962014-05-07 Yao Qi <yao@codesourcery.com>
21297
21298 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21299 in current context" too.
21300
c888a17d
KS
213012014-05-05 Keith Seitz <keiths@redhat.com>
21302
21303 * gdb.linespec/ls-dollar.exp: Add test for linespec
21304 file:convenience_variable.
21305
290a839c
YQ
213062014-05-05 Yao Qi <yao@codesourcery.com>
21307
21308 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21309 traceframes into tfile and ctf trace files. Read data from
21310 trace file and test collected data.
21311 (gdb_collect_locals_test): Likewise.
21312 (gdb_unavailable_registers_test): Likewise.
21313 (gdb_unavailable_floats): Likewise.
21314 (gdb_collect_globals_test): Likewise.
21315 (top-level): Append "ctf" to trace_file_targets if GDB
21316 supports.
21317
b5262cd0
YQ
213182014-05-05 Yao Qi <yao@codesourcery.com>
21319
21320 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21321 code to ...
21322 (gdb_collect_args_test_1): ... it. New proc.
21323 (gdb_collect_locals_test): Move some code to ...
21324 (gdb_collect_locals_test_1): ... it. New proc.
21325 (gdb_unavailable_registers_test): Move some code to ...
21326 (gdb_unavailable_registers_test_1): ... it. New proc.
21327 (gdb_unavailable_floats): Move some code to ...
21328 (gdb_unavailable_floats_1): ... it. New proc.
21329
30a1e6cc
SDJ
213302014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21331
21332 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21333 probes to test for bitness recognition.
21334 * gdb.arch/amd64-stap-optional-prefix.exp
21335 (test_probe_value_without_reg): New procedure.
21336 Add code to test for different kinds of bitness.
21337
f33da99a
SDJ
213382014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21339
21340 PR breakpoints/16889
21341 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21342 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21343
5b80f00d
PA
213442014-05-01 Pedro Alves <palves@redhat.com>
21345
21346 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21347 gdb_file_cmd if no file is specified.
21348 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21349 last_loaded_file to set the remote exec-file.
21350
f8c2a73c
PA
213512014-05-01 Pedro Alves <palves@redhat.com>
21352
21353 * boards/local-remote-host.exp: New file.
21354
be6e8ac7
PA
213552014-05-01 Pedro Alves <palves@redhat.com>
21356
21357 * boards/local-remote-host.exp: Rename to ...
21358 * boards/local-remote-host-notty.exp: ... this.
21359
cac0dc8f
JB
213602014-04-28 Joel Brobecker <brobecker@adacore.com>
21361
21362 * gdb.ada/dyn_arrayidx: New testcase.
21363
9730e6cc
YQ
213642014-04-26 Yao Qi <yao@codesourcery.com>
21365
21366 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21367 and compute the length of function main. Save it in
21368 $main_length.
21369 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21370 (top-level): Use gdb_compile to compile objects into
21371 executable and restart GDB. Remove invocation to
21372 prepare_for_testing.
21373
7ae1a6a6
PA
213742014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21375 Pedro Alves <palves@redhat.com>
21376
21377 PR server/16255
21378 * gdb.multi/multi-attach.c: New file.
21379 * gdb.multi/multi-attach.exp: New file.
21380
4082afcc
PA
213812014-04-25 Pedro Alves <palves@redhat.com>
21382
21383 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21384 user.
21385 (top level): Test that "set remote conditional-breakpoints-packet
21386 off" works as intended.
21387 * gdb.base/dprintf.exp: Test that "set remote
21388 breakpoint-commands-packet off" works as intended.
21389 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21390 New function.
21391 (top level): Call it.
21392 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21393 remote fast-tracepoints-packet off" works as intended.
21394 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21395 * lib/gdb.exp (gdb_is_target_remote): ... here.
21396
2abc3f8d
DB
213972014-04-24 David Blaikie <dblaikie@gmail.com>
21398
21399 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21400 ensure clang would not discard them.
21401 * gdb.base/gdbvars.c: Ditto.
21402 * gdb.base/memattr.c: Ditto.
21403 * gdb.base/whatis.c: Ditto.
21404 * gdb.python/py-prettyprint.c: Ditto.
21405 * gdb.trace/actions.c: Ditto.
21406 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21407 ensure clang would not discard it.
21408
bfd39632
DB
214092014-04-24 David Blaikie <dblaikie@gmail.com>
21410
21411 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21412 clang to emit the full definition of type required by the test
21413 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21414
22842ff6
DB
214152014-04-24 David Blaikie <dblaikie@gmail.com>
21416
21417 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21418 coax Clang into emitting the definition of the type.
21419 * gdb.cp/pr10728-x.h (y): Ditto.
21420 * gdb.cp/pr10728-y.cc (y): Ditto.
21421
c2e827ad
DB
214222014-04-24 David Blaikie <dblaikie@gmail.com>
21423
21424 * gdb.base/label.exp: XFAIL label related tests under Clang.
21425 * gdb.cp/cplabel.exp: Ditto.
21426 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21427 under Clang those using labels.
21428
4c2d33e7
YQ
214292014-04-25 Yao Qi <yao@codesourcery.com>
21430
21431 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21432 double_label.
21433 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21434 partial_label and double_label.
21435
56083b99
DB
214362014-04-24 David Blaikie <dblaikie@gmail.com>
21437
21438 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21439
25d4e99d
DB
214402014-04-24 David Blaikie <dblaikie@gmail.com>
21441
21442 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21443 of the function to work across GCC and Clang.
21444 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21445 pointer types (const void ** const V void **).
21446
01f9f808
MS
214472014-04-24 Michael Sturm <michael.sturm@mintel.com>
21448 Walfred Tedeschi <walfred.tedeschi@intel.com>
21449
21450 * Makefile.in (EXECUTABLES): Added i386-avx512.
21451 * gdb.arch/i386-avx512.c: New file.
21452 * gdb.arch/i386-avx512.exp: Likewise.
21453
4b48d439
KS
214542014-04-23 Keith Seitz <keiths@redhat.com>
21455
21456 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21457 (mi_make_breakpoint_table): New procedure.
21458 (mi_create_breakpoint): Use mi_make_breakpoint
21459 and return the result.
21460 (mi_make_breakpoint): New procedure.
21461 (mi_build_kv_pairs): New procedure.
21462
21463 * gdb.mi/mi-break.exp: Remove unused globals,
21464 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21465 All callers updated.
21466 * gdb.mi/mi-dprintf.exp: Use variable to track command
21467 number.
21468 Update all callers of mi_create_breakpoint and use
21469 mi_make_breakpoint_table.
21470 Remove any unused global variables.
21471 * gdb.mi/mi-nonstop.exp: Likewise.
21472 * gdb.mi/mi-nsintrall.exp: Likewise.
21473 * gdb.mi/mi-nsmoribund.exp: Likewise.
21474 * gdb.mi/mi-nsthrexec.exp: Likewise.
21475 * gdb.mi/mi-reverse.exp: Likewise.
21476 * gdb.mi/mi-simplerun.exp: Likewise.
21477 * gdb.mi/mi-stepn.exp: Likewise.
21478 * gdb.mi/mi-syn-frame.exp: Likewise.
21479 * gdb.mi/mi-until.exp: Likewise.
21480 * gdb.mi/mi-var-cp.exp: Likewise.
21481 * gdb.mi/mi-var-display.exp: Likewise.
21482 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21483 * gdb.mi/mi2-var-child.exp: Likewise.
21484 * gdb.mi/mi-vla-c99.exp: Likewise.
21485 * lib/mi-support.exp: Likewise.
21486
21487 From Ian Lance Taylor <iant@cygnus.com>:
21488 * lib/gdb.exp (parse_args): New procedure.
21489
08351840
PA
214902014-04-23 Pedro Alves <palves@redhat.com>
21491
21492 * gdb.base/break-unload-file.c: New file.
21493 * gdb.base/break-unload-file.exp: New file.
21494 * gdb.base/sym-file-lib.c (baz): New function.
21495 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21496 field.
21497 (load): Store the segment's mapped size.
21498 (unload): New function.
21499 (unload_shlib): New function.
21500 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21501 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21502 set a breakpoint at baz, and call it.
21503 * gdb.base/sym-file.exp: New tests for stale breakpoint
21504 instructions.
21505
076855f9
PA
215062014-04-23 Pedro Alves <palves@redhat.com>
21507
21508 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21509 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21510 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21511 * gdb.base/hbreak-unmapped.c: New file.
21512 * gdb.base/hbreak-unmapped.exp: New file.
21513 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21514 * lib/gdb.exp (gdb_is_target_remote): ... here.
21515
483805cf
PA
215162014-04-22 Pedro Alves <palves@redhat.com>
21517
21518 * gdb.base/consecutive-step-over.c: New file.
21519 * gdb.base/consecutive-step-over.exp: New file.
21520
06d97543
PA
215212014-04-22 Pedro Alves <palves@redhat.com>
21522
21523 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21524 instead of send_gdb/gdb_expect.
21525
b4429ea2
YQ
215262014-04-22 Yao Qi <yao@codesourcery.com>
21527
21528 * lib/trace-support.exp (generate_tracefile): New procedure.
21529 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21530 return 0.
21531 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21532 if generate_tracefile returns 1.
21533
51d48146
PA
215342014-04-18 Tom Tromey <palves@redhat.com>
21535 Pedro alves <tromey@redhat.com>
21536
21537 PR backtrace/15558
21538 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21539 with a backtrace limit.
21540 * gdb.python/py-frame-inline.exp: Test running to an inline
21541 function with a backtrace limit, and printing the newest frame.
21542 * gdb.python/py-frame-inline.c (main): Call f.
21543
bd1dce5f
MS
215442014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21545
21546 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21547
40d1a503
MS
215482014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21549
21550 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21551 Drop prefix from unsupported source file path.
21552
389b98f7
YQ
215532014-04-17 Yao Qi <yao@codesourcery.com>
21554
21555 * lib/gdb.exp (with_target_charset): New proc.
21556 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21557 with_target_charset.
21558 (test_print_strings): Likewise.
21559 (test_repeat_bytes): Likewise.
21560 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21561 for some tests.
21562
22869d73
KS
215632014-04-16 Keith Seitz <keiths@redhat.com>
21564
21565 PR gdb/15827
21566 * gdb.dwarf2/corrupt.c: New file.
21567 * gdb.dwarf2/corrupt.exp: New file.
21568
c4f87ca6
KS
215692014-04-16 Keith Seitz <keiths@redhat.com>
21570
21571 PR c++/16597
21572 * gdb.cp/namelessclass.cc: New file.
21573 * gdb.cp/namelessclass.exp: New file.
21574 * gdb.cp/namelessclass.S: New file.
21575
ab19de87
DE
215762014-04-16 Doug Evans <dje@google.com>
21577
21578 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21579 Add comment.
21580 (gdbserver_default_get_comm_port): New function.
21581 (gdbserver_start): Check if board file provided
21582 "gdbserver,get_comm_port" and use it if so.
21583 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21584 (gdb,socketport): Set to "stdio".
21585 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21586 (stdio_gdbserver_template): Delete.
21587 (${board}_get_remote_address): Update.
21588 (${board}_build_remote_cmd): Delete.
21589 (${board}_get_comm_port): New function.
21590 (${board}_spawn): Update.
21591 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21592 Delete.
21593 (${board}_get_remote_address): Update.
21594 (${board}_get_comm_port): New function.
21595
fc98a809
AB
215962014-04-16 Andrew Burgess <aburgess@broadcom.com>
21597
21598 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21599 appearing in any order.
21600
87fd9e6e
DE
216012014-04-15 Doug Evans <dje@google.com>
21602
21603 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21604 uninitialized value of "description".
21605
099fc3ea
KS
216062014-04-15 Keith Seitz <keiths@redhat.com>
21607
21608 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21609 Remove unused globals.
21610 (test_running_the_program): Likewise.
21611 (test_controlled_execution): Likewise.
21612 (test_controlling_breakpoints): Likewise.
21613 (test_program_termination): Likewise.
21614
5da151d4
KS
216152014-04-15 Keith Seitz <keiths@redhat.com>
21616
21617 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21618 unused globals.
21619 (test_rbreak_creation_and_listing): Likewise.
21620 (test_ignore_count): Likewise.
21621 (test_error): Likewise.
21622
35e5d2f0
PA
216232014-04-15 Pedro Alves <palves@redhat.com>
21624
21625 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21626 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21627 sym-file-loader.c.
21628 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21629 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21630 to sym-file-loader.c.
21631 (struct library): Forward declare.
21632 (load_shlib, lookup_function): Change prototypes.
21633 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21634 (translate_offset): Remove declarations.
21635 (get_text_addr): New declaration.
21636 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21637 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21638 sym-file-loader.h.
21639 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21640 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21641 here from sym-file-loader.h.
21642 (struct library): New structure.
21643 (load_shlib, lookup_function): Change prototypes and adjust to
21644 work with a struct library.
21645 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21646 (translate_offset): Make static.
21647 (get_text_addr): New function.
21648 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21649
eb4c1710
PA
216502014-04-15 Pedro Alves <palves@redhat.com>
21651
21652 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21653
2d1baf52
PA
216542014-04-15 Pedro Alves <palves@redhat.com>
21655
21656 * gdb.base/sym-file-loader.c: Include <limits.h>.
21657 (SELF_LINK): New define.
21658 (get_origin): New function.
21659 (load_shlib): Use it.
21660 * gdb.base/sym-file.exp: Don't early return if the target is
21661 remote. Use runto_main, and issue fail is that fails. Use
21662 gdb_load_shlibs.
21663 (shlib_name): Delete.
21664 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21665
7dd6df01
PA
216662014-04-15 Pedro Alves <palves@redhat.com>
21667
21668 * gdb.base/sym-file.exp: Remove regex characters from test
21669 message. Don't refer to breakpoint numbers in test messages.
21670
b50c8614
KS
216712014-04-14 Keith Seitz <keiths@redhat.com>
21672
21673 PR c++/16253
21674 * gdb.cp/var-tag.cc: New file.
21675 * gdb.cp/var-tag.exp: New file.
21676 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21677 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21678 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21679 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21680
3d567982
TT
216812014-04-14 Tom Tromey <tromey@redhat.com>
21682
21683 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21684 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21685 type.
21686 * gdb.cp/enum-class.exp: New file.
21687 * gdb.cp/enum-class.cc: New file.
21688
0626fc76
TT
216892014-04-14 Tom Tromey <tromey@redhat.com>
21690
21691 * gdb.dwarf2/enum-type.exp: New file.
21692
dca325b3
SA
216932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21694
21695 * gdb.mi/mi-vla-c99.exp: New file.
21696 * gdb.mi/vla.c: New file.
21697
5854b38a
SA
216982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21699
21700 * gdb.base/vla-datatypes.c: New file.
21701 * gdb.base/vla-datatypes.exp: New file.
21702
463bb957
SA
217032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21704
21705 * gdb.base/vla-ptr.c: New file.
21706 * gdb.base/vla-ptr.exp: New file.
21707
3dd170be
SA
217082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21709
21710 * gdb.dwarf2/count.exp: New file.
21711
5ecaaa66
SA
217122014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21713
21714 * gdb.base/vla-sideeffect.c: New file.
21715 * gdb.base/vla-sideeffect.exp: New file.
21716
41f1ada5
DB
217172014-04-14 David Blaikie <dblaikie@gmail.com>
21718
21719 * gdb.mi/non-stop.c: Add return value for non-void function return
21720 statement.
21721 * gdb.threads/staticthreads.c: Ditto.
21722
0be03e84
DE
217232014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21724 Doug Evans <xdje42@gmail.com>
21725
21726 * gdb.guile/scm-value.c: Improve test case.
21727 * gdb.guile/scm-value.exp: Add new test.
21728
f180a1fb
DB
217292014-04-11 David Blaikie <dblaikie@gmail.com>
21730
21731 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21732 override Clang's default.
21733
6b662e19
JB
217342014-04-11 Joel Brobecker <brobecker@adacore.com>
21735
21736 Revert the following changes (regressions):
21737
21738 * gdb.base/vla-sideeffect.c: New file.
21739 * gdb.base/vla-sideeffect.exp: New file.
21740
21741 * gdb.dwarf2/count.exp: New file.
21742
21743 * gdb.base/vla-multi.c: New file.
21744 * gdb.base/vla-multi.exp: New file.
21745
21746 * gdb.base/vla-ptr.c: New file.
21747 * gdb.base/vla-ptr.exp: New file.
21748
21749 * gdb.base/vla-datatypes.c: New file.
21750 * gdb.base/vla-datatypes.exp: New file.
21751
21752 * gdb.mi/mi-vla-c99.exp: New file.
21753 * gdb.mi/vla.c: New file.
21754
245a5f0b
KS
217552014-04-11 Keith Seitz <keiths@redhat.com>
21756
21757 PR c++/16675
21758 * gdb.cp/cpsizeof.exp: New file.
21759 * gdb.cp/cpsizeof.cc: New file.
21760
58a84dcf
SA
217612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21762
191a8a90
JB
21763 * gdb.mi/mi-vla-c99.exp: New file.
21764 * gdb.mi/vla.c: New file.
58a84dcf 21765
c8655f75
SA
217662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21767
21768 * gdb.base/vla-datatypes.c: New file.
21769 * gdb.base/vla-datatypes.exp: New file.
21770
024e13b4
SA
217712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21772
21773 * gdb.base/vla-ptr.c: New file.
21774 * gdb.base/vla-ptr.exp: New file.
21775
1a237e0e
SA
217762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21777
21778 * gdb.base/vla-multi.c: New file.
21779 * gdb.base/vla-multi.exp: New file.
21780
504f3432
SA
217812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21782
21783 * gdb.dwarf2/count.exp: New file.
21784
3bce8237
SA
217852014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21786
191a8a90
JB
21787 * gdb.base/vla-sideeffect.c: New file.
21788 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 21789
322f9c21
YQ
217902014-04-11 Yao Qi <yao@codesourcery.com>
21791
21792 * gdb.base/completion.exp: Check file exists before running tests
21793 on file completion.
21794
d708bcd1
PA
217952014-04-10 Pedro Alves <palves@redhat.com>
21796
21797 * gdb.base/cond-eval-mode.c: New file.
21798 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21799 prepare_for_testing to build the new file. Check result of
21800 runto_main.
21801 (test_break, test_watch): New procedures.
21802 (top level): Use them.
21803
ae1d2761
PM
218042014-04-08 Pierre Muller <muller@sourceware.org>
21805
21806 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21807 Ctrl-V use for mingw hosts.
21808
7af389b8
SC
218092014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21810
21811 * gdb.python/py-value.c: Improve test case.
21812 * gdb.python/py-value.exp: Add new test.
21813
5e703181
DE
218142014-04-07 David Blaikie <dblaikie@gmail.com>
21815
21816 * lib/compiler.c: Identify the clang compiler.
21817 * lib/compiler.cc: Ditto.
21818
9810b410
YQ
218192014-04-03 Yao Qi <yao@codesourcery.com>
21820
21821 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21822
98d1b8dc
AB
218232014-04-01 Anton Blanchard <anton@samba.org>
21824
21825 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21826 messages unique.
21827
3114cea1
AB
218282014-04-01 Anton Blanchard <anton@samba.org>
21829
21830 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21831 prepare_for_testing.
21832
62f7182c
AB
218332014-04-01 Anton Blanchard <anton@samba.org>
21834
21835 * gdb.arch/ppc64-atomic-inst.c: Remove.
21836 * gdb.arch/ppc64-atomic-inst.S: New file.
21837 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21838
770e7fc7
DE
218392014-03-31 Doug Evans <dje@google.com>
21840
21841 * gdb.base/print-symbol-loading-lib.c: New file.
21842 * gdb.base/print-symbol-loading-main.c: New file.
21843 * gdb.base/print-symbol-loading.exp: New file.
21844
46e2bafa
YQ
218452014-03-31 Yao Qi <yao@codesourcery.com>
21846
21847 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21848
8776cfe9
JB
218492014-03-28 Joel Brobecker <brobecker@adacore.com>
21850
21851 * gdb.ada/mi_dyn_arr: New testcase.
21852
5d1ef361
DE
218532014-03-27 Doug Evans <dje@google.com>
21854
21855 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21856
b5bee914
YQ
218572014-03-27 Yao Qi <yao@codesourcery.com>
21858
21859 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21860 if target is nios2-*-*.
21861
0d4d0e77
YQ
218622014-03-26 Yao Qi <yao@codesourcery.com>
21863
21864 * lib/gdb.exp (readline_is_used): New proc.
21865 * gdb.base/completion.exp: Move tests on command complete up.
21866 Skip the rest of tests if readline is not used.
21867 * gdb.ada/complete.exp: Skp the test if readline is not
21868 used.
21869 * gdb.base/filesym.exp: Likewise.
21870 * gdb.base/macscp.exp: Likewise.
21871 * gdb.base/readline-ask.exp: Likewise.
21872 * gdb.base/readline.exp: Likewise.
21873 * gdb.python/py-cmd.exp: Likewise.
21874 * gdb.trace/tfile.exp: Likewise.
21875
29361eee
YQ
218762014-03-26 Yao Qi <yao@codesourcery.com>
21877
21878 * gdb.base/macscp.exp: Fix code format issues.
21879
bc9a5525
UW
218802014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21881
21882 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21883 * gdb.asm/powerpc64le.inc: New file.
21884
d3839ede
PA
218852014-03-25 Pedro Alves <palves@redhat.com>
21886 Doug Evans <dje@google.com>
21887
21888 * gdb.base/source-execution.c: New file.
21889 * gdb.base/source-execution.exp: New file.
21890 * gdb.base/source-execution.gdb: New file.
21891
01672a57
DE
218922014-03-24 Doug Evans <dje@google.com>
21893
21894 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21895 using fission.
21896
88bbeca9
HZ
218972014-03-24 Hui Zhu <hui@codesourcery.com>
21898 Pedro Alves <palves@redhat.com>
21899
21900 PR breakpoints/16101
21901 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21902 test pass/fail messages. Detect missing support for dprintf when
21903 breakpoints are actually inserted.
21904 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21905 breakpoints are actually inserted.
21906 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21907 fails.
21908
d2348791
JK
219092014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21910
21911 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21912
feef67ab
DE
219132014-03-22 Doug Evans <xdje42@gmail.com>
21914
21915 * gdb.python/python.exp (python not supported): Verify multi-line
21916 python command issues an error.
25d743f9 21917 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 21918 guile command issues an error.
feef67ab 21919
ecebef6a
MR
219202014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21921
21922 * gdb.threads/thread-specific.exp: Handle the lack of usable
21923 $this_breakpoint and $this_thread.
21924
ccdd1909
HZ
219252014-03-21 Hui Zhu <hui@codesourcery.com>
21926
21927 * gdb.base/attach.exp (do_command_attach_tests): New.
21928
beb460e8
PA
219292014-03-20 Tom Tromey <tromey@redhat.com>
21930 Pedro Alves <palves@redhat.com>
21931
21932 PR cli/15718
21933 * gdb.base/condbreak-call-false.c: New file.
21934 * gdb.base/condbreak-call-false.exp: New file.
21935
40acf43a
PA
219362014-03-20 Pedro Alves <palves@redhat.com>
21937
21938 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21939 Delete.
21940 (block_signals, unblock_signals): Delete.
21941 (child_function_2, main): Remove references to deleted variable
21942 and functions.
21943
9f5e1e02
PA
219442014-03-20 Pedro Alves <palves@redhat.com>
21945
21946 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21947 Use pthread_kill to signal thread 2.
21948 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21949 Adjust to make the test send itself a signal rather than using the
21950 host's "kill" command.
21951
99619bea
PA
219522014-03-20 Pedro Alves <palves@redhat.com>
21953
21954 * gdb.threads/multiple-step-overs.c: New file.
21955 * gdb.threads/multiple-step-overs.exp: New file.
21956 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21957 Adjust expected infrun debug output.
21958
2adfaa28
PA
219592014-03-20 Pedro Alves <palves@redhat.com>
21960
21961 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21962 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21963
31e77af2
PA
219642014-03-20 Pedro Alves <palves@redhat.com>
21965
21966 PR breakpoints/7143
21967 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21968 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21969 of gdb_test_multiple.
21970 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21971 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21972
b9f437de
PA
219732014-03-20 Pedro Alves <palves@redhat.com>
21974
21975 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21976 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21977
05adc73e
PA
219782014-03-19 Pedro Alves <palves@redhat.com>
21979
21980 * gdb.base/async.exp: Remove early return.
21981
6048b950
PA
219822014-03-19 Pedro Alves <palves@redhat.com>
21983
21984 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21985
8bcfb00a
PA
219862014-03-19 Pedro Alves <palves@redhat.com>
21987
21988 * gdb.base/async.exp (test_background): Expect \r\n after
21989 "completed." in the fail pattern.
21990
884e37dc
PA
219912014-03-19 Pedro Alves <palves@redhat.com>
21992
21993 * gdb.base/async.exp (test_background): New procedure.
21994 Use it for all background execution command tests.
21995
148e57e2
PA
219962014-03-19 Pedro Alves <palves@redhat.com>
21997
21998 * gdb.base/async.exp: Use prepare_for_testing.
21999
f48088c7
PA
220002014-03-19 Pedro Alves <palves@redhat.com>
22001
22002 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22003 the same line.
22004
e2f6c966
PA
220052014-03-19 Pedro Alves <palves@redhat.com>
22006
22007 * gdb.base/async.c (main): Add "jump here" and "until here" line
22008 marker comments.
22009 * gdb.base/async.exp (jump_here): New global.
22010 (jump& test): Use it.
22011 (until_here): New global.
22012 (until& test): Use it.
22013
c30568d4
PA
220142014-03-19 Pedro Alves <palves@redhat.com>
22015
22016 * gdb.base/async.exp: Don't frob gdb_protocol.
22017
0172b6a7
DE
220182014-03-18 Doug Evans <xdje42@gmail.com>
22019
22020 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22021 Fix spelling of exec-done-display.
22022
06c868a8
JK
220232014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22024
22025 PR gdb/15358
22026 * gdb.base/gdb-sigterm.c: New file.
22027 * gdb.base/gdb-sigterm.exp: New file.
22028
0c7e1a46
PA
220292014-03-18 Pedro Alves <palves@redhat.com>
22030
22031 PR gdb/13860
22032 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22033 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22034 solib-event.
22035
f7c77d93
JB
220362014-03-17 Joel Brobecker <brobecker@adacore.com>
22037
22038 * gdb.ada/pckd_arr_ren: New testcase.
22039
5a1e8c7a
DE
220402014-03-13 Doug Evans <xdje42@gmail.com>
22041
22042 PR guile/16612
22043 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22044 collect after discarding symbols.
22045
350e1a76
DE
220462014-03-13 Ludovic Courtès <ludo@gnu.org>
22047 Doug Evans <xdje42@gmail.com>
22048
22049 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22050 to history survives a gc.
22051
a69900ae
PA
220522014-03-13 Pedro Alves <palves@redhat.com>
22053
22054 * gdb.base/default.exp: Don't test "target procfs".
22055
5db9f0bd
PA
220562014-03-13 Pedro Alves <palves@redhat.com>
22057
22058 * gdb.base/default.exp: Update "target child" and "target procfs"
22059 tests to not expect "Unix".
22060
b3ccfe11
TT
220612014-03-12 Tom Tromey <tromey@redhat.com>
22062
22063 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22064 New procs. Add target-async tests.
22065 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22066 Add target-async tests.
22067
646f4417
AA
220682014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22069
22070 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22071 'func_start' and 'func_end' for the beginning and end of the
22072 function code, respectively.
22073 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22074 'func_end' instead of 'func' and 'main'.
22075
288c211f
AA
220762014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22077
22078 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22079 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22080 generate the debug info assembler source.
22081
e0c0f156
AA
220822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22083
22084 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22085 * gdb.dwarf2/arr-subrange.exp: Likewise.
22086 * gdb.dwarf2/dwz.exp: Likewise.
22087 * gdb.dwarf2/method-ptr.exp: Likewise.
22088 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22089 * gdb.dwarf2/subrange.exp: Likewise.
22090 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22091 * gdb.dwarf2/implptrpiece.exp: Likewise.
22092 * gdb.dwarf2/nostaticblock.exp: Likewise.
22093
0e5c4555
AA
220942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22095
22096 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22097 directory to absolute path name arguments.
22098
5ec18f2b
JG
220992014-03-10 Joel Brobecker <brobecker@adacore.com>
22100
22101 * gdb.ada/tagged_access: New testcase.
22102
847fc4f2
MM
221032014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22104
22105 * gdb.btrace/data.exp: Update expected output.
22106
cc3da688
YQ
221072014-03-06 Yao Qi <yao@codesourcery.com>
22108
22109 * gdb.trace/pr16508.exp: New file.
22110
0f26cec1
PA
221112014-03-05 Pedro Alves <palves@redhat.com>
22112
22113 PR gdb/16575
22114 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22115 procedure.
22116 (top level): Adjust to use it. Add tests that exercise breakpoint
22117 interaction with the code-cache.
22118
7a5a839f
LC
221192014-02-26 Ludovic Courtès <ludo@gnu.org>
22120
22121 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22122 test for 'history-append!'.
22123
31aa7e4e
JB
221242014-02-26 Joel Brobecker <brobecker@adacore.com>
22125
22126 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22127 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22128 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22129 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22130 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22131 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22132
1b588015
JB
221332014-02-26 Joel Brobecker <brobecker@adacore.com>
22134
22135 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22136 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22137 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22138
55426c9d
JB
221392014-02-26 Joel Brobecker <brobecker@adacore.com>
22140
22141 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22142
dc53a7ad
JB
221432014-02-26 Joel Brobecker <brobecker@adacore.com>
22144
22145 * gdb.dwarf2/arr-stride.c: New file.
22146 * gdb.dwarf2/arr-stride.exp: New file.
22147
12ab52e9
PA
221482014-02-26 Pedro Alves <palves@redhat.com>
22149
22150 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22151 that won't ever trigger. Make sure that GDB reports the correct
22152 breakpoint that caused the stop.
22153
849c862e
JK
221542014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22155
22156 PR gdb/16626
22157 * gdb.base/auto-load-script: New file.
22158 * gdb.base/auto-load.c: New file.
22159 * gdb.base/auto-load.exp: New file.
22160
71b7d793
JK
22161 PR gdb/16626
22162 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22163
e2f0d509
JK
221642014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22165
22166 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22167 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22168
50cc37c8
DE
221692014-02-24 Doug Evans <dje@google.com>
22170
22171 * lib/gdb.exp (run_on_host): Log error output if program fails.
22172
ea4758f2
PA
221732014-02-21 Pedro Alves <palves@redhat.com>
22174
22175 * gdb.threads/step-after-sr-lock.c: Rename to ...
22176 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22177 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22178 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22179 ... this.
22180
d7b30f67
SDJ
221812014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22182
22183 PR tdep/16397
22184 * gdb.arch/amd64-stap-special-operands.exp: New file.
22185 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22186 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22187 * gdb.arch/amd64-stap-triplet.S: Likewise.
22188 * gdb.arch/amd64-stap-triplet.c: Likewise.
22189
83deb43f
JB
221902014-02-20 Joel Brobecker <brobecker@adacore.com>
22191
22192 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22193 in .section pseudo-op.
22194
adde2bff
DE
221952014-02-20 lin zuojian <manjian2006@gmail.com>
22196 Joel Brobecker <brobecker@adacore.com>
22197 Doug Evans <xdje42@gmail.com>
22198
22199 PR symtab/16581
22200 * gdb.dwarf2/dw2-icycle.S: New file.
22201 * gdb.dwarf2/dw2-icycle.c: New file.
22202 * gdb.dwarf2/dw2-icycle.exp: New file.
22203
f7bd0f78
SC
222042014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22205
22206 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22207 operations on gdb.Value objects.
22208 * gdb.python/py-value-cc.exp: Add new test to test operations on
22209 gdb.Value objects.
22210
c17ef0d5
DE
222112014-02-18 Doug Evans <dje@google.com>
22212
22213 * Makefile.in (TESTS): New variable.
22214 (expanded_tests, expanded_tests_or_none): New variables
22215 (check-single): Pass $(expanded_tests_or_none) to runtest.
22216 (check-parallel): Only run tests in $(TESTS) if non-empty.
22217 (check/no-matching-tests-found): New rule.
22218 * README: Document TESTS makefile variable.
22219
5dd3176f
DE
222202014-02-18 Doug Evans <dje@google.com>
22221
22222 * Makefile.in (check-parallel): rm -rf outputs temp.
22223
0b10be4f
JK
222242014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22225
22226 Fix "ERROR: no fileid for" in the testsuite.
22227 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22228
85f224e7
DE
222292014-02-12 Doug Evans <dje@google.com>
22230
22231 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22232 (MISCELLANEOUS): New variable.
22233 (clean): rm -rf $(MISCELLANEOUS).
22234 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22235 dwp live in the same directory as symlinks, with each symlink pointed
22236 to a differently named file in a different directory.
22237
149b30ff
DE
222382014-02-11 Doug Evans <dje@google.com>
22239
22240 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22241 of Tcl file commands.
22242
1dfdac32
MK
222432014-02-10 Mark Kettenis <kettenis@gnu.org>
22244
22245 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22246 "kill -SIGUSR1 -1".
22247
aa4fb036
JB
222482014-02-10 Joel Brobecker <brobecker@adacore.com>
22249
22250 * gdb.ada/tick_length_array_enum_idx: New testcase.
22251
ed3ef339
DE
222522014-02-10 Doug Evans <xdje42@gmail.com>
22253
22254 * configure.ac (AC_OUTPUT): Add gdb.guile.
22255 * configure: Regenerate.
22256 * lib/gdb-guile.exp: New file.
22257 * lib/gdb.exp (get_target_charset): New function.
22258 * gdb.base/help.exp: Update expected output from "apropos apropos".
22259 * gdb.guile/Makefile.in: New file.
22260 * gdb.guile/guile.exp: New file.
22261 * gdb.guile/scm-arch.c: New file.
22262 * gdb.guile/scm-arch.exp: New file.
22263 * gdb.guile/scm-block.c: New file.
22264 * gdb.guile/scm-block.exp: New file.
22265 * gdb.guile/scm-breakpoint.c: New file.
22266 * gdb.guile/scm-breakpoint.exp: New file.
22267 * gdb.guile/scm-disasm.c: New file.
22268 * gdb.guile/scm-disasm.exp: New file.
22269 * gdb.guile/scm-equal.c: New file.
22270 * gdb.guile/scm-equal.exp: New file.
22271 * gdb.guile/scm-error.exp: New file.
22272 * gdb.guile/scm-error.scm: New file.
22273 * gdb.guile/scm-frame-args.c: New file.
22274 * gdb.guile/scm-frame-args.exp: New file.
22275 * gdb.guile/scm-frame-args.scm: New file.
22276 * gdb.guile/scm-frame-inline.c: New file.
22277 * gdb.guile/scm-frame-inline.exp: New file.
22278 * gdb.guile/scm-frame.c: New file.
22279 * gdb.guile/scm-frame.exp: New file.
22280 * gdb.guile/scm-generics.exp: New file.
22281 * gdb.guile/scm-gsmob.exp: New file.
22282 * gdb.guile/scm-iterator.c: New file.
22283 * gdb.guile/scm-iterator.exp: New file.
22284 * gdb.guile/scm-math.c: New file.
22285 * gdb.guile/scm-math.exp: New file.
22286 * gdb.guile/scm-objfile-script-gdb.in: New file.
22287 * gdb.guile/scm-objfile-script.c: New file.
22288 * gdb.guile/scm-objfile-script.exp: New file.
22289 * gdb.guile/scm-objfile.c: New file.
22290 * gdb.guile/scm-objfile.exp: New file.
22291 * gdb.guile/scm-ports.exp: New file.
22292 * gdb.guile/scm-pretty-print.c: New file.
22293 * gdb.guile/scm-pretty-print.exp: New file.
22294 * gdb.guile/scm-pretty-print.scm: New file.
22295 * gdb.guile/scm-section-script.c: New file.
22296 * gdb.guile/scm-section-script.exp: New file.
22297 * gdb.guile/scm-section-script.scm: New file.
22298 * gdb.guile/scm-symbol.c: New file.
22299 * gdb.guile/scm-symbol.exp: New file.
22300 * gdb.guile/scm-symtab-2.c: New file.
22301 * gdb.guile/scm-symtab.c: New file.
22302 * gdb.guile/scm-symtab.exp: New file.
22303 * gdb.guile/scm-type.c: New file.
22304 * gdb.guile/scm-type.exp: New file.
22305 * gdb.guile/scm-value-cc.cc: New file.
22306 * gdb.guile/scm-value-cc.exp: New file.
22307 * gdb.guile/scm-value.c: New file.
22308 * gdb.guile/scm-value.exp: New file.
22309 * gdb.guile/source2.scm: New file.
22310 * gdb.guile/types-module.cc: New file.
22311 * gdb.guile/types-module.exp: New file.
22312
7026a7c1
YQ
223132014-02-10 Yao Qi <yao@codesourcery.com>
22314
22315 PR testsuite/16543
22316 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22317 * configure: Regenerated.
22318 * Makefile.in: New file.
22319
6c466447
AS
223202014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22321
22322 * gdb.python/py-framefilter.exp: Fix typo.
22323
6e854735
YQ
223242014-02-08 Yao Qi <yao@codesourcery.com>
22325
22326 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22327 that no =breakpoint-modified is emitted when breakpoints are
22328 modified through MI commands.
22329
d137e6dc
PA
223302014-02-07 Pedro Alves <pedro@codesourcery.com>
22331 Pedro Alves <palves@redhat.com>
22332
22333 * gdb.threads/step-after-sr-lock.c: New file.
22334 * gdb.threads/step-after-sr-lock.exp: New file.
22335
b5ee5a50
PA
223362014-02-07 Pedro Alves <palves@redhat.com>
22337
22338 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22339
3c77faf3
JK
223402014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22341
22342 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22343 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22344
6dddc817
DE
223452014-02-06 Doug Evans <xdje42@gmail.com>
22346
22347 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22348 output.
22349
22350 * gdb.gdb/python-interrupts.exp: New file.
22351
de7b2893
YQ
223522014-02-05 Yao Qi <yao@codesourcery.com>
22353
22354 * gdb.trace/report.exp (use_collected_data): Test the output
22355 of "info threads" and "info inferiors".
22356
66d032ac
YQ
223572014-02-05 Yao Qi <yao@codesourcery.com>
22358
22359 Revert this patch:
22360
22361 2013-05-24 Yao Qi <yao@codesourcery.com>
22362
22363 * gdb.trace/tfile.exp: Test inferior and thread.
22364
591a12a1
UW
223652014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22366
22367 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22368 on a function.
22369 * gdb.base/step-bt.c: Call hello via function pointer to make
22370 sure its first instruction is executed on powerpc64le-linux.
22371
0ff3e01f
UW
223722014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22373
22374 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22375
084ee545
UW
223762014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22377
22378 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22379 of the test patterns for use on little-endian systems.
22380
6ed14ff3
UW
223812014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22382
22383 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22384 (decimal_vector): Fix for little-endian.
22385
401e27fd
JM
223862014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22387
22388 * gdb.arch/sparc-sysstep.exp: New file.
22389 * gdb.arch/sparc-sysstep.c: Likewise.
22390
22391 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22392
8b924729
EBM
223932014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22394
22395 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22396
fb151210
JB
223972014-01-23 Tom Tromey <tromey@redhat.com>
22398
22399 * gdb.ada/array_char_idx: New testcase.
22400
0740f8d8
TT
224012014-01-23 Tom Tromey <tromey@redhat.com>
22402
22403 PR python/16487:
22404 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22405 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22406 classes.
22407
21909fa1
TT
224082014-01-23 Tom Tromey <tromey@redhat.com>
22409
22410 PR python/16491:
22411 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22412 string from an inferior frame.
22413 * gdb.python/py-framefilter-mi.exp: Update.
22414
87ce2a04
DE
224152014-01-22 Doug Evans <dje@google.com>
22416
22417 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22418
237b092b
AA
224192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22420
22421 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22422
d674a709
AA
224232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22424
22425 * gdb.trace/entry-values.exp: Remove excess space character from
22426 regex patterns. Handle s390 call instruction.
22427
20fa3390
AA
224282014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22429
22430 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22431 define "*_start" label. Make "name" static.
22432 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22433 ${name} by references to ${name}_start.
22434
78466714
AA
224352014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22436
22437 * gdb.base/info-macros.exp: Remove "debug" from the compile
22438 options.
22439
ec9f644a
IB
224402014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22441
22442 * gdb.dlang/demangle.exp: New file.
22443
94b1b47e
IB
224442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22445
22446 * gdb.dlang/primitive-types.exp: New file.
22447
7f420862
IB
224482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22449
22450 * configure.ac: Create gdb.dlang/Makefile.
22451 * configure: Regenerate.
22452 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22453 * gdb.dlang/Makefile.in: New file.
22454 * lib/d-support.exp: New file.
22455 * lib/gdb.exp (skip_d_tests): New proc.
22456
52834460
MM
224572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22458
22459 * gdb.btrace/delta.exp: Check reverse stepi.
22460 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22461 * gdb.btrace/finish.exp: New.
22462 * gdb.btrace/next.exp: New.
22463 * gdb.btrace/nexti.exp: New.
22464 * gdb.btrace/record_goto.c: Add comments.
22465 * gdb.btrace/step.exp: New.
22466 * gdb.btrace/stepi.exp: New.
22467 * gdb.btrace/multi-thread-step.c: New.
22468 * gdb.btrace/multi-thread-step.exp: New.
22469 * gdb.btrace/rn-dl-bind.c: New.
22470 * gdb.btrace/rn-dl-bind.exp: New.
22471 * gdb.btrace/data.c: New.
22472 * gdb.btrace/data.exp: New.
22473 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22474
6e07b1d2
MM
224752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22476
22477 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22478 * gdb.btrace/exception.exp: Update.
22479 * gdb.btrace/instruction_history.exp: Update.
22480 * gdb.btrace/record_goto.exp: Update.
22481 * gdb.btrace/tailcall.exp: Update.
22482 * gdb.btrace/unknown_functions.exp: Update.
22483 * gdb.btrace/delta.exp: New.
22484
0b722aec
MM
224852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22486
22487 * gdb.btrace/record_goto.exp: Add backtrace test.
22488 * gdb.btrace/tailcall.exp: Add backtrace test.
22489
066ce621
MM
224902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22491
22492 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22493 * gdb.btrace/record_goto.c: New.
22494 * gdb.btrace/record_goto.exp: New.
22495 * gdb.btrace/x86-record_goto.S: New.
22496
0688d04e
MM
224972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22498
22499 * gdb.btrace/function_call_history.exp: Update tests.
22500 * gdb.btrace/instruction_history.exp: Update tests.
22501
8710b709
MM
225022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22503
22504 * gdb.btrace/function_call_history.exp: Fix expected field
22505 order for "record function-call-history".
22506 Add new tests for "record function-call-history /c".
22507 * gdb.btrace/exception.cc: New.
22508 * gdb.btrace/exception.exp: New.
22509 * gdb.btrace/tailcall.exp: New.
22510 * gdb.btrace/x86-tailcall.S: New.
22511 * gdb.btrace/x86-tailcall.c: New.
22512 * gdb.btrace/unknown_functions.c: New.
22513 * gdb.btrace/unknown_functions.exp: New.
22514 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22515
5de9129b
MM
225162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22517
22518 * gdb.btrace/instruction_history.exp: Update.
22519 * gdb.btrace/function_call_history.exp: Update.
22520
23a7fe75
MM
225212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22522
22523 * gdb.btrace/function_call_history.exp: Fix expected function
22524 trace.
22525 * gdb.btrace/instruction_history.exp: Initialize traced.
22526 Remove traced_functions.
22527
724c7dd8
MM
225282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22529
22530 * gdb.btrace/function_call_history.exp: Update
22531 * gdb.btrace/instruction_history.exp: Update.
22532
6d78d93b
MM
225332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22534
22535 * gdb.btrace/enable.exp: Update expected text.
22536
93a360cc
OJ
225372014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22538
22539 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22540 bytes.
22541
3772b53f
MR
225422014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22543
22544 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22545
596662fa
OJ
225462014-01-15 Omair Javaid <omair.javaid@linaro.org>
22547
22548 * lib/gdb.exp (supports_process_record): Return true for
22549 arm*-linux*. (supports_reverse): Likewise.
22550
b5b08fb4
SC
225512014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22552
22553 PR python/15464
22554 PR python/16113
22555 * gdb.python/py-type.c: Enhance test case.
22556 * gdb.python/py-value-cc.cc: Likewise
22557 * gdb.python/py-type.exp: Add new tests.
22558 * gdb.python/py-value-cc.exp: Likewise
22559
52d7fb13
AA
225602014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22561 Pedro Alves <palves@redhat.com>
22562
22563 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22564 Make "name" extern.
22565 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22566 references to ${name}_start by references to ${name}.
22567
a2cd8cfe
JB
225682014-01-10 Joel Brobecker <brobecker@adacore.com>
22569
22570 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22571
4e23fced
JB
225722014-01-10 Joel Brobecker <brobecker@adacore.com>
22573
22574 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22575
c6a9e42c
PA
225762014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22577 Pedro Alves <palves@redhat.com>
22578
22579 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 22580 mi_gdb_target_load.
c6a9e42c 22581
b7ea362b
PA
225822014-01-08 Pedro Alves <palves@redhat.com>
22583
22584 * gdb.threads/reconnect-signal.c: New file.
22585 * gdb.threads/reconnect-signal.exp: New file.
22586
5e3f4fab
EBM
225872014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22588
22589 * gdb.base/source-dir.exp: New file.
22590
79301218
JB
225912014-01-07 Joel Brobecker <brobecker@adacore.com>
22592
22593 * gdb.ada/mi_interface: New testcase.
22594
8e355c5d
JB
225952014-01-07 Joel Brobecker <brobecker@adacore.com>
22596
22597 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22598 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22599 gdb.ada/pp-rec-component/pck.ads: New files.
22600
c0d48811
JB
226012014-01-07 Joel Brobecker <brobecker@adacore.com>
22602
22603 * gdb.python/py-pp-integral.c: New file.
22604 * gdb.python/py-pp-integral.py: New file.
22605 * gdb.python/py-pp-integral.exp: New file.
22606
17b609c3 22607For older changes see ChangeLog-1993-2013.
c906108c 22608\f
8d8cb839
EZ
22609;; Local Variables:
22610;; mode: change-log
22611;; left-margin: 8
22612;; fill-column: 74
22613;; version-control: never
22614;; End:
902f2ccb 22615
b811d2c2 22616 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
22617 Copying and distribution of this file, with or without modification,
22618 are permitted provided the copyright notice and this notice are preserved.