]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Do not manually dissect OP_TYPE operations
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
18f1cb1f
TV
12020-12-14 Tom de Vries <tdevries@suse.de>
2
3 PR testsuite/26963
4 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
5
519155c9
TV
62020-12-14 Tom de Vries <tdevries@suse.de>
7
8 PR testsuite/26962
9 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
10 cast it to its declared type".
11
153f6e6c
TV
122020-12-14 Tom de Vries <tdevries@suse.de>
13
14 PR testsuite/26951
15 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
16 shell prompt.
17
86b44259
TT
182020-12-14 Tom Tromey <tromey@adacore.com>
19
20 * gdb.ada/nested.exp: Add new tests.
21 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
22
e26624c6
TT
232020-12-14 Tom Tromey <tromey@adacore.com>
24
25 * gdb.dwarf2/ada-thick-pointer.exp: New file.
26
a3bdae4e
TT
272020-12-14 Tom Tromey <tromey@adacore.com>
28
29 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
30
862fcbd8
TV
312020-12-13 Tom de Vries <tdevries@suse.de>
32
33 PR testsuite/26953
34 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
35 attribute support if compiler doesn't support it.
36
a406a98e
TV
372020-12-13 Tom de Vries <tdevries@suse.de>
38
39 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
40 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
41 source to shared lib. Add ada to options.
42
5d7e6ed0
TV
432020-12-13 Tom de Vries <tdevries@suse.de>
44
45 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
46 calling gnatbind and gnatlink.
47
ee9812a0
AB
482020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
49
50 * gdb.base/dcache-flush.c: New file.
51 * gdb.base/dcache-flush.exp: New file.
52
50a5f187
AB
532020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
54
55 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
56 commands.
57 * gdb.base/killed-outside.exp: Likewise.
58 * gdb.opt/inline-bt.exp: Likewise.
59 * gdb.perf/gmonster-null-lookup.py: Likewise.
60 * gdb.perf/gmonster-print-cerr.py: Likewise.
61 * gdb.perf/gmonster-ptype-string.py: Likewise.
62 * gdb.python/py-unwind.exp: Likewise.
63
19c659f1
AB
642020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
65
66 * gdb.base/commands.exp: Update expected results.
67
9ef6d4a1
AB
682020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
69
70 PR cli/15104
71 * gdb.base/commands.exp: Add additional tests.
72 * gdb.base/completion.exp: Add additional tests.
73
1536146f
AB
742020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
75
76 * gdb.base/completion.exp: Add additional tests.
77
346e7e19
TV
782020-12-11 Tom de Vries <tdevries@suse.de>
79
80 PR testsuite/26991
81 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
82 violations by setting bounds registers if the bounds are passed in the
83 Bounds Table.
84
9cd7a95a
TV
852020-12-11 Tom de Vries <tdevries@suse.de>
86
87 PR testsuite/26954
88 * gdb.base/float128.exp: Detect and handle no mpfr support.
89
4483a8e7
SM
902020-12-10 Simon Marchi <simon.marchi@efficios.com>
91
92 PR gdb/24694
93 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
94 calls.
95
10067028
TV
962020-12-10 Tom de Vries <tdevries@suse.de>
97
98 PR testsuite/26947
99 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
100 braces for tcl 8.5 and earlier.
101
5b56203a
SM
1022020-12-09 Simon Marchi <simon.marchi@efficios.com>
103
104 PR 26875, PR 26901
105 * gdb.base/flexible-array-member.c: New test.
106 * gdb.base/flexible-array-member.exp: New test.
107
b46551b2
TV
1082020-12-08 Tom de Vries <tdevries@suse.de>
109
110 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
111 using is_amd64_regs_target.
112
8439f446
TV
1132020-12-08 Tom de Vries <tdevries@suse.de>
114
115 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
116 self_id.
117
bc545da7
PA
1182020-12-07 Pedro Alves <pedro@palves.net>
119
120 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
121 'additional_flags' variable.
122
1f58f6c2
TBA
1232020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
124
125 * gdb.linespec/explicit.exp: Extend with a test to check completing
126 '-' after seemingly complete options.
127
5759831a
TBA
1282020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
129
130 * gdb.linespec/keywords.exp: Add tests to check positional
131 flexibility of "-force-condition".
132
21e051b3
TBA
1332020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
134
135 * gdb.base/bp-cmds-run-with-ex.c: New file.
136 * gdb.base/bp-cmds-run-with-ex.exp: New file.
137 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
138 * gdb.gdb/python-interrupts.exp: Update the call to
139 'catch_command_errors' with the new argument.
140 * gdb.gdb/python-selftest.exp: Ditto.
141
187b041e
SM
1422020-12-04 Simon Marchi <simon.marchi@efficios.com>
143
144 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
145 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
146 * gdb.threads/non-stop-fair-events.exp: Likewise.
147
3b7a962d
SM
1482020-12-04 Simon Marchi <simon.marchi@efficios.com>
149
150 * gdb.threads/step-over-exec.exp: New.
151 * gdb.threads/step-over-exec.c: New.
152 * gdb.threads/step-over-exec-execd.c: New.
153 * lib/my-syscalls.S: New.
154 * lib/my-syscalls.h: New.
155
e633b117
SM
1562020-12-04 Simon Marchi <simon.marchi@efficios.com>
157
158 * lib/dwarf.exp (declare_labels): Use name as text if text is
159 not provided.
160
67748e0f
TV
1612020-12-04 Tom de Vries <tdevries@suse.de>
162
163 PR testsuite/26990
164 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
165 are unsupported.
166
a8d13675
TV
1672020-12-04 Tom de Vries <tdevries@suse.de>
168
169 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
170 clause.
171
f17727b3
TV
1722020-12-04 Tom de Vries <tdevries@suse.de>
173
174 * gdb.reverse/insn-reverse.exp: Fix count handling.
175
a1499830
TV
1762020-12-04 Tom de Vries <tdevries@suse.de>
177
178 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
179 __x86_64__.
180
9c027c2f
TV
1812020-12-04 Tom de Vries <tdevries@suse.de>
182
183 * gdb.reverse/insn-reverse.c (test_nr): New var.
184 (usage, parse_args): New function.
185 (main): Call parse_args. Only run test for test_nr.
186 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
187 and bail out. Run subtests individually, using an inferior arg
188 specifying the subtest.
189
533b2ae0
AB
1902020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
191
192 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
193
e4502042
AB
1942020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
195
196 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
197 update test to use this.
198
f55a9a37
SM
1992020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
200
201 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
202
0a6155a0
SM
2032020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
204
205 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
206 (do_test): Don't use with_test_prefix.
207 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
208 (do_test): Don't use with_test_prefix.
209 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
210 (do_test): Don't use with_test_prefix.
211 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
212 (do_test): Don't use with_test_prefix.
213
4d56d64a
SM
2142020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
215
216 * gdb.threads/non-ldr-exit.exp: Fix comment.
217
54e75f29
AB
2182020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * gdb.xml/maint-xml-dump-03.xml: New file.
221
7ce05d21
TV
2222020-11-30 Tom de Vries <tdevries@suse.de>
223
224 PR symtab/26905
225 * gdb.dwarf2/count.exp: Remove kfails.
226
50757f95
TBA
2272020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
228
229 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
230 indices.
231
4afa9fd9
JB
2322020-11-24 Joel Brobecker <brobecker@adacore.com>
233
234 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
235 the "ptype pck__fp1_range_var" test for the module-2 and pascal
236 languages. Remove the associated setup_xfail.
237
15a491af
SM
2382020-11-23 Simon Marchi <simon.marchi@efficios.com>
239
240 * lib/gdb.exp (gdb_assert): Show error message on error.
241
891615f0
TV
2422020-11-23 Tom de Vries <tdevries@suse.de>
243
244 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
245 * gdb.ada/mod_from_name.exp: Same.
246 * gdb.ada/pckd_arr_ren.exp: Same.
247
19922582
SM
2482020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
249
250 * gdb.base/template.exp: New.
251 * gdb.base/template.c: New.
252
117c628d
GB
2532020-11-22 Gary Benson <gbenson@redhat.com>
254
255 PR gdb/26905
256 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
257 is defined using a DW_AT_count which references another DIE.
258
da39d3ba
TV
2592020-11-21 Tom de Vries <tdevries@suse.de>
260
261 * gdb.base/vla-ptr.exp: Add XFAIL.
262
a5c641b5
AB
2632020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
264
265 * gdb.fortran/array-slices-bad.exp: New file.
266 * gdb.fortran/array-slices-bad.f90: New file.
267 * gdb.fortran/array-slices-sub-slices.exp: New file.
268 * gdb.fortran/array-slices-sub-slices.f90: New file.
269 * gdb.fortran/array-slices.exp: Rewrite tests.
270 * gdb.fortran/array-slices.f90: Rewrite tests.
271 * gdb.fortran/vla-sizeof.exp: Correct expected results.
272
a15a5258
AB
2732020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
274
275 * gdb.base/completion.exp: Add new completion tests.
276
7cb2893d
SM
2772020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
278
279 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
280 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
281 * gdb.mi/mi-nsintrall.exp: Likewise.
282 * gdb.mi/mi-nsmoribund.exp: Likewise.
283 * gdb.mi/mi-nsthrexec.exp: Likewise.
284 * gdb.mi/mi-watch-nonstop.exp: Likewise.
285
cf144ec8
SM
2862020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
287
288 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
289 of perror.
290
6b6a3e05
JM
2912020-11-18 Joseph Myers <joseph@codesourcery.com>
292
293 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
294 $arg.exe exists but $arg does not.
295
811bdca0
GB
2962020-11-17 Gary Benson <gbenson@redhat.com>
297
298 * gdb.trace/trace-common.h (x86_trace_dummy): Add
299 __attribute__ ((used)).
300
c72e3136
AB
3012020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
302
303 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
304
037d7135
AB
3052020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
306
307 * gdb.base/completion.exp: Add new tests.
308
119e99bb
TT
3092020-11-16 Tom Tromey <tromey@adacore.com>
310
311 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
312 tests.
313
b74dbc20
JB
3142020-11-15 Joel Brobecker <brobecker@adacore.com>
315
316 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
317 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
318 (main): Add reference to pck__fp1_var2.
319 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
320
0a12719e
JB
3212020-11-15 Joel Brobecker <brobecker@adacore.com>
322
323 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
324
0c9150e4
JB
3252020-11-15 Joel Brobecker <brobecker@adacore.com>
326
327 * gdb.ada/fixed_points.exp: Add ptype tests.
328 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
329
b26daff9
JB
3302020-11-15 Joel Brobecker <brobecker@adacore.com>
331
332 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
333
09584414
JB
3342020-11-15 Joel Brobecker <brobecker@adacore.com>
335
336 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
337 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
338 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
339 New files.
340 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
341
342 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
343 New files.
344
9dd02fc0
AB
3452020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 PR cli/26879
348 * gdb.fortran/completion.exp: New file.
349 * gdb.fortran/completion.f90: New file.
350
5643c500
JM
3512020-11-12 Joseph Myers <joseph@codesourcery.com>
352
353 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
354 but $arg does not.
355
7bea47f0
AB
3562020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
357
358 * gdb.fortran/types.exp: Add more tests.
359
1f2624a3
TT
3602020-11-12 Tom Tromey <tom@tromey.com>
361
362 PR rust/26799:
363 * gdb.rust/traits.exp: Remove kfails.
364
9e74f0ae
GB
3652020-11-12 Gary Benson <gbenson@redhat.com>
366
367 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
368 statement.
369
acb994fa
SM
3702020-11-11 Simon Marchi <simon.marchi@efficios.com>
371
372 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
373 always-inserted" axis.
374 (do_test): Add breakpoint_always_inserted parameter.
375
95016fd2
TT
3762020-11-10 Tom Tromey <tromey@adacore.com>
377
378 * gdb.ada/bias.exp: Update.
379 * gdb.ada/bias/bias.adb (X): Change value.
380
83100a74
GB
3812020-11-10 Gary Benson <gbenson@redhat.com>
382
383 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
384 regexp fragment in parentheses to prevent false matching.
385
6ff174a7
GB
3862020-11-10 Gary Benson <gbenson@redhat.com>
387
388 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
389
eb24648c
GB
3902020-11-10 Gary Benson <gbenson@redhat.com>
391
392 * gdb.cp/step-and-next-inline.exp: Only require
393 -gstatement-frontiers when building with GCC.
394 Only setup KFAIL's for GCC issues when using
395 a GCC-built executable.
396
86775fab
AB
3972020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
398
399 * gdb.base/debug-expr.c: Add extra function to allow for an
400 additional test.
401 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
402 to this proc with gdb_test_debug_expr. Add an extra test.
403 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
404 to this proc with gdb_test_debug_expr, give the tests names
405 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
406 calls to this proc with gdb_test_debug_expr, give the tests names
407 * gdb.fortran/debug-expr.exp: New file.
408 * gdb.fortran/debug-expr.f90: New file.
409 * lib/gdb.exp (gdb_test_debug_expr): New proc.
410
a1945bd4
SM
4112020-11-06 Simon Marchi <simon.marchi@efficios.com>
412
413 * lib/dwarf.exp (ranges): Handle "base" and "range" as
414 proceduresu.
415 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
416 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
417 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
418 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
419 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
420 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
421 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
422 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
423
9c91c725
TT
4242020-11-04 Tom Tromey <tromey@adacore.com>
425
426 * gdb.ada/funcall_ref.exp: Update.
427 * gdb.ada/var_rec_arr.exp: Update.
428
8d9fd3a1
TT
4292020-11-04 Tom Tromey <tromey@adacore.com>
430
431 * gdb.ada/rec_ptype.exp: New file.
432 * gdb.ada/rec_ptype/main.adb: New file.
433 * gdb.ada/rec_ptype/p.ads: New file.
434
d8f62e84
TT
4352020-11-04 Tom Tromey <tromey@adacore.com>
436
437 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
438 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
439 (PT_Full): New variable.
440 * gdb.ada/tick_length_array_enum_idx/pck.adb
441 (Full_PT): New type.
442
7ff5b937
TT
4432020-11-04 Tom Tromey <tromey@adacore.com>
444
445 * gdb.ada/array_of_variant.exp: New file.
446 * gdb.ada/array_of_variant/p.adb: New file.
447 * gdb.ada/array_of_variant/pck.ads: New file.
448 * gdb.ada/array_of_variant/pck.adb: New file.
449
10f6a3ad
TT
4502020-11-04 Tom Tromey <tromey@adacore.com>
451
452 * gdb.ada/enum_idx_packed.exp: Add test.
453 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
454 New variable.
455 * gdb.ada/enum_idx_packed/pck.ads (Short)
456 (Multi_Dimension, Multi_Dimension_Access): New types.
457
b72795a8
TT
4582020-11-04 Tom Tromey <tromey@adacore.com>
459
460 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
461
24aa1b02
TT
4622020-11-04 Tom Tromey <tromey@adacore.com>
463
464 * gdb.ada/set_pckd_arr_elt.exp: Also test
465 -fgnat-encodings=minimal. Add tests.
466 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
467 Call Update_Small a second time.
468 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
469 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
470 (Variant_Access): New types.
471 (New_Variant): Declare.
472
c9a28cbe
TT
4732020-11-04 Tom Tromey <tromey@adacore.com>
474
475 * gdb.ada/mod_from_name.exp: Test printing slice.
476
57567375
TT
4772020-11-04 Tom Tromey <tromey@adacore.com>
478
479 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
480 values.
481 * gdb.ada/access_to_unbounded_array.exp: Test different
482 -fgnat-encodings values.
483 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
484 values.
485 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
486 values.
487 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
488 values.
489 * gdb.ada/array_of_variable_length.exp: Test different
490 -fgnat-encodings values.
491 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
492 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
493 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
494 change.
495 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
496 values.
497 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
498 * gdb.ada/out_of_line_in_inlined.exp: Test different
499 -fgnat-encodings values.
500 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
501 values.
502 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
503 values.
504 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
505 -fgnat-encodings values.
506 * gdb.ada/variant_record_packed_array.exp: Test different
507 -fgnat-encodings values.
508
a7400e44
TT
5092020-11-04 Tom Tromey <tromey@adacore.com>
510
511 * gdb.ada/enum_idx_packed.exp: Add tests.
512 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
513 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
514 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
515 declarations.
516
c40907bf
TV
5172020-11-03 Tom de Vries <tdevries@suse.de>
518
519 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
520 terminator comments.
521 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
522 terminator.
523
f468977a
SM
5242020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
525
526 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
527 integer format test with regexp.
528
1c2bec19
GB
5292020-11-02 Gary Benson <gbenson@redhat.com>
530
531 * gdb.base/print-file-var.exp (test): Separate compiler and
532 linker options, and build using build_executable_from_specs
533 to accommodate this.
534
6539a36d
GB
5352020-11-02 Gary Benson <gbenson@redhat.com>
536
537 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
538 for .c files compiled as C++ with Clang if any shared
539 libraries are specified.
540
7ea44a51
GB
5412020-11-02 Gary Benson <gbenson@redhat.com>
542
543 * lib/attributes.h: New header.
544 * gdb.base/backtrace.c: Include the above. Replace
545 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
546 * gdb.base/infcall-nested-structs.c: Likewise.
547 * gdb.base/vla-optimized-out.c: Likewise.
548
ab8f783d
TV
5492020-11-02 Tom de Vries <tdevries@suse.de>
550
551 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
552
d77c9224
JB
5532020-11-01 Joel Brobecker <brobecker@adacore.com>
554
555 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
556 System.Min_Int and System.Max_Int with smaller hardcoded
557 constants.
558
0e5b0dd0
SM
5592020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
560
561 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
562 * configure: Re-generate.
563
136821d9
SM
5642020-10-30 Simon Marchi <simon.marchi@efficios.com>
565
566 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
567 expected output.
568
b78b3a29
TBA
5692020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
570
571 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
572 behavior.
573 * gdb.base/paginate-bg-execution.exp: Ditto.
574 * gdb.base/paginate-inferior-exit.exp: Ditto.
575 * gdb.base/double-prompt-target-event-error.c: Remove.
576 * gdb.base/double-prompt-target-event-error.exp: Remove.
577
cfaa8f76
TBA
5782020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
579
580 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
581 inferiors' and 'detach inferiors' do not change the current
582 inferior.
583
0ad0e70c
TV
5842020-10-29 Tom de Vries <tdevries@suse.de>
585
586 * gdb.threads/tls.exp: Fix DUPLICATEs.
587
99cc6b2a
TV
5882020-10-28 Tom de Vries <tdevries@suse.de>
589
590 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
591
efe9b873
TV
5922020-10-28 Tom de Vries <tdevries@suse.de>
593
594 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
595 * gdb.base/reread.exp: Same.
596
6b68fd45
TV
5972020-10-28 Tom de Vries <tdevries@suse.de>
598
599 * lib/gdb.exp (readnow): Handle arg.
600 * gdb.rust/traits.exp: Add KFAILs for -readnow.
601
32a5f98a
TV
6022020-10-28 Tom de Vries <tdevries@suse.de>
603
604 * gdb.base/relocate.exp: Update regexp for -readnow.
605
f93b8760
TV
6062020-10-28 Tom de Vries <tdevries@suse.de>
607
608 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
609 -readnow.
610
1b00ef06
TV
6112020-10-28 Tom de Vries <tdevries@suse.de>
612
613 PR symtab/26772
614 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
615 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
616
364bb903
TV
6172020-10-28 Tom de Vries <tdevries@suse.de>
618
619 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
620 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
621 complaint during file command for -readnow.
622
445a033f
TV
6232020-10-28 Tom de Vries <tdevries@suse.de>
624
625 * gdb.cp/nsalias.exp: Fix typo in test name.
626
fdd67a42
TV
6272020-10-28 Tom de Vries <tdevries@suse.de>
628
629 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
630
706baf4c
TV
6312020-10-28 Tom de Vries <tdevries@suse.de>
632
633 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
634 -readnow.
635
b448cca5
TV
6362020-10-27 Tom de Vries <tdevries@suse.de>
637
638 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
639
5868da03
TV
6402020-10-27 Tom de Vries <tdevries@suse.de>
641
642 * gdb.base/maint.exp: Update for -readnow.
643
06db6ec3
TV
6442020-10-27 Tom de Vries <tdevries@suse.de>
645
646 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
647 -readnow.
648
934a1764
GB
6492020-10-14 Gary Benson <gbenson@redhat.com>
650
651 * gdb.python/py-format-string.exp (test_deref_refs): Treat
652 "_vptr$Base" as correct, in addition to "_vptr.Base".
653 (test_mixed): Likewise.
654
0bf21fbd
GB
6552020-10-27 Gary Benson <gbenson@redhat.com>
656
657 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
658 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
659
b1d4d8d1
TBA
6602020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
661
662 * gdb.base/condbreak.exp: Update the completion tests to
663 consider the '-force' flag.
664
bd24c5d6
TV
6652020-10-27 Tom de Vries <tdevries@suse.de>
666
667 * gdb.base/list-ambiguous-readnow.exp: New file.
668
733d554a
TBA
6692020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
670
671 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
672 the condition.
673 * gdb.linespec/cpcompletion.exp: Update to consider the
674 '-force-condition' keyword.
675 * gdb.linespec/explicit.exp: Ditto.
676 * lib/completion-support.exp: Ditto.
677
b5fa468f
TBA
6782020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
679
680 * gdb.base/condbreak-multi-context.cc: New file.
681 * gdb.base/condbreak-multi-context.exp: New file.
682
b3247276
TT
6832020-10-26 Tom Tromey <tom@tromey.com>
684
685 * lib/mi-support.exp (default_mi_gdb_start): Call
686 gdb_stdin_log_init.
687 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
688 subtract one from gdb_instances.
689 (gdb_stdin_log_write): Flush in_file.
690
1c47ec3e
TV
6912020-10-26 Tom de Vries <tdevries@suse.de>
692
693 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
694
6390859c
TT
6952020-10-26 Tom Tromey <tromey@adacore.com>
696
697 * gdb.ada/unsigned_range/foo.adb: New file.
698 * gdb.ada/unsigned_range/pack.adb: New file.
699 * gdb.ada/unsigned_range/pack.ads: New file.
700 * gdb.ada/unsigned_range.exp: New file.
701
55c3ad88
TV
7022020-10-26 Tom de Vries <tdevries@suse.de>
703
704 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
705
1612c4bb
TV
7062020-10-26 Tom de Vries <tdevries@suse.de>
707
708 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
709 for CU.
710 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
711
7d72802b
TV
7122020-10-23 Tom de Vries <tdevries@suse.de>
713
714 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
715 DW_FORM_string.
716 (Dwarf::_default_form): New proc.
717 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
718 guessed.
719
9476b583
TV
7202020-10-23 Tom de Vries <tdevries@suse.de>
721
722 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
723 * gdb.dwarf2/atomic-type.exp: Same.
724 * gdb.dwarf2/bad-regnum.exp: Same.
725 * gdb.dwarf2/cpp-linkage-name.exp: Same.
726 * gdb.dwarf2/dw2-align.exp: Same.
727 * gdb.dwarf2/dw2-bad-elf.exp: Same.
728 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
729 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
730 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
731 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
732 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
733 * gdb.dwarf2/enum-type.exp: Same.
734 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
735 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
736 * gdb.dwarf2/main-subprogram.exp: Same.
737 * gdb.dwarf2/missing-type-name.exp: Same.
738 * gdb.dwarf2/nonvar-access.exp: Same.
739 * gdb.dwarf2/typedef-void-finish.exp: Same.
740 * gdb.dwarf2/var-access.exp: Same.
741 * gdb.dwarf2/void-type.exp: Same.
742
4a636814
SM
7432020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
744
745 PR gdb/26693
746 * gdb.dwarf2/template-specification-full-name.exp: New test.
747
557fc257
LM
7482020-10-22 Luis Machado <luis.machado@linaro.org>
749
750 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
751 expected an offset from the function.
752 * gdb.base/msym-bp.exp (test): Likewise.
753
6b4c676c
AB
7542020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
755
756 * gdb.fortran/array-slices.exp: Add a new test.
757
98cec4f6
GB
7582020-10-21 Gary Benson <gbenson@redhat.com>
759
760 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
761 fullname test with Clang. Also expand comments generally.
762
ae86f581
TV
7632020-10-20 Tom de Vries <tdevries@suse.de>
764
765 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
766
8c161360
TV
7672020-10-20 Tom de Vries <tdevries@suse.de>
768
769 * gdb.dwarf2/arr-stride.c: Remove.
770 * gdb.dwarf2/arr-stride.exp: Use main.c.
771 * gdb.dwarf2/arr-subrange.c: Remove.
772 * gdb.dwarf2/arr-subrange.exp: Use main.c.
773 * gdb.dwarf2/bad-regnum.c: Remove.
774 * gdb.dwarf2/bad-regnum.exp: Use main.c.
775 * gdb.dwarf2/corrupt.c: Remove.
776 * gdb.dwarf2/corrupt.exp: Use main.c.
777 * gdb.dwarf2/dw2-bad-elf.c: Remove.
778 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
779 * gdb.dwarf2/dw2-icycle.c: Remove.
780 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
781 * gdb.dwarf2/formdata16.c: Remove.
782 * gdb.dwarf2/formdata16.exp: Use main.c.
783 * gdb.dwarf2/implptrconst.c: Remove.
784 * gdb.dwarf2/implptrconst.exp: Use main.c.
785 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
786 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
787 * gdb.dwarf2/opaque-type-lookup.c: Remove.
788 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
789
9c2412ec
TV
7902020-10-20 Tom de Vries <tdevries@suse.de>
791
792 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
793 file.
794 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
795
0cd2ad78
TV
7962020-10-20 Tom de Vries <tdevries@suse.de>
797
798 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
799 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
800 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
801 * gdb.dwarf2/dw2-ranges-base.exp: Same.
802 * gdb.dwarf2/dw2-ranges.exp: Same.
803 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
804 * gdb.dwarf2/var-access.exp: Same.
805
22cc388e
TT
8062020-10-19 Tom Tromey <tromey@adacore.com>
807
808 PR tui/26719
809 * gdb.tui/list.exp: Check source window contents after focus
810 change.
811
520596f2
TV
8122020-10-17 Tom de Vries <tdevries@suse.de>
813
814 PR symtab/26317
815 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
816
d1c8a76d
TV
8172020-10-17 Tom de Vries <tdevries@suse.de>
818
819 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
820 as suffix.
821 * gdb.dwarf2/atomic.c: Rename to ...
822 * gdb.dwarf2/atomic-type.c: ... this.
823 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
824 * gdb.dwarf2/dw2-ranges-2.c: ... this.
825 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
826 * gdb.dwarf2/dw2-ranges-3.c: ... this.
827 * gdb.dwarf2/fission-mix2.c: Rename to ...
828 * gdb.dwarf2/fission-mix-2.c: ... this.
829 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
830 standard_testfile.
831 * gdb.dwarf2/ada-valprint-error.exp: Same.
832 * gdb.dwarf2/arr-stride.exp: Same.
833 * gdb.dwarf2/arr-subrange.exp: Same.
834 * gdb.dwarf2/atomic-type.exp: Same.
835 * gdb.dwarf2/bad-regnum.exp: Same.
836 * gdb.dwarf2/break-inline-psymtab.exp: Same.
837 * gdb.dwarf2/clang-debug-names-2.exp: Same.
838 * gdb.dwarf2/clang-debug-names.exp: Same.
839 * gdb.dwarf2/comp-unit-lang.exp: Same.
840 * gdb.dwarf2/corrupt.exp: Same.
841 * gdb.dwarf2/count.exp: Same.
842 * gdb.dwarf2/cpp-linkage-name.exp: Same.
843 * gdb.dwarf2/data-loc.exp: Same.
844 * gdb.dwarf2/dw2-align.exp: Same.
845 * gdb.dwarf2/dw2-bad-elf.exp: Same.
846 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
847 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
848 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
849 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
850 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
851 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
852 * gdb.dwarf2/dw2-inline-param.exp: Same.
853 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
854 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
855 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
856 * gdb.dwarf2/dw2-is-stmt.exp: Same.
857 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
858 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
859 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
860 * gdb.dwarf2/dw2-param-error.exp: Same.
861 * gdb.dwarf2/dw2-ranges-base.exp: Same.
862 * gdb.dwarf2/dw2-ranges.exp: Same.
863 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
864 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
865 * gdb.dwarf2/dw4-sig-types.exp: Same.
866 * gdb.dwarf2/dynarr-ptr.exp: Same.
867 * gdb.dwarf2/enum-type.exp: Same.
868 * gdb.dwarf2/fission-mix.exp: Same.
869 * gdb.dwarf2/formdata16.exp: Same.
870 * gdb.dwarf2/implptrconst.exp: Same.
871 * gdb.dwarf2/implptrpiece.exp: Same.
872 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
873 * gdb.dwarf2/main-subprogram.exp: Same.
874 * gdb.dwarf2/method-ptr.exp: Same.
875 * gdb.dwarf2/missing-sig-type.exp: Same.
876 * gdb.dwarf2/nonvar-access.exp: Same.
877 * gdb.dwarf2/opaque-type-lookup.exp: Same.
878 * gdb.dwarf2/shortpiece.exp: Same.
879 * gdb.dwarf2/staticvirtual.exp: Same.
880 * gdb.dwarf2/subrange.exp: Same.
881 * gdb.dwarf2/symtab-producer.exp: Same.
882 * gdb.dwarf2/typedef-void-finish.exp: Same.
883 * gdb.dwarf2/var-access.exp: Same.
884 * gdb.dwarf2/variant.exp: Same.
885 * gdb.dwarf2/void-type.exp: Same.
886 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
887 dw2-ranges-main.c.
888 * gdb.dwarf2/dw2-ranges-main.c: Remove.
889
472d09c1
TV
8902020-10-16 Tom de Vries <tdevries@suse.de>
891
892 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
893
afe75f6d
TV
8942020-10-16 Tom de Vries <tdevries@suse.de>
895
896 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
897
8c8bd0ba
TV
8982020-10-14 Tom de Vries <tdevries@suse.de>
899
900 PR testsuite/26732
901 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
902 scenario 2.
903 * gdb.ada/mi_catch_ex_hand.exp: Same.
904
b75d55d4
PA
9052020-10-13 Pedro Alves <pedro@palves.net>
906
907 * lib/mi-support.exp (mi_clean_restart): New.
908 (mi_run_to_main): Delete.
909 All callers adjust to use mi_clean_restart / mi_runto_main.
910
e777225b
PA
9112020-10-13 Pedro Alves <pedro@palves.net>
912
913 * config/monitor.exp: Use "list -q".
914 * gdb.arch/gdb1558.exp: Use "break -q".
915 * gdb.arch/i386-permbkpt.exp: Use "break -q".
916 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
917 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
918 * gdb.base/commands.exp: Use "break -q".
919 * gdb.base/condbreak.exp: Use "break -q".
920 * gdb.base/ctf-ptype.exp: Use "list -q".
921 * gdb.base/define.exp: Use "break -q".
922 * gdb.base/del.exp: Use "break -q".
923 * gdb.base/fullname.exp: Use "break -q".
924 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
925 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
926 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
927 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
928 "hbreak -q".
929 * gdb.base/included.exp: Use "list -q".
930 * gdb.base/label.exp: Use "break -q".
931 * gdb.base/lineinc.exp: Use "break -q".
932 * gdb.base/list.exp: Use "list -q".
933 * gdb.base/macscp.exp: Use "list -q".
934 * gdb.base/pending.exp: Use "break -q".
935 * gdb.base/prologue-include.exp: Use "break -q".
936 * gdb.base/ptype.exp: Use "list -q".
937 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
938 * gdb.base/server-del-break.exp: Use "break -q".
939 * gdb.base/style.exp: Use "break -q".
940 * gdb.base/symbol-without-target_section.exp: Use "list -q".
941 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
942 * gdb.cp/exception.exp: Use "tbreak -q".
943 * gdb.dwarf2/dw2-error.exp: Use "break -q".
944 * gdb.dwarf2/fission-mix.exp: Use "break -q".
945 * gdb.dwarf2/fission-reread.exp: Use "break -q".
946 * gdb.dwarf2/pr13961.exp: Use "break -q".
947 * gdb.linespec/explicit.exp: Use "list -q".
948 * gdb.linespec/linespec.exp: Use "break -q".
949 * gdb.mi/mi-simplerun.exp: Use "--qualified".
950 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
951 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
952 * gdb.server/connect-without-multi-process.exp: Use "break -q".
953 * gdb.trace/change-loc.exp: Use "break -q".
954 * gdb.trace/pending.exp: Use "break -q".
955 * gdb.tui/basic.exp: Use "list -q".
956 * gdb.tui/list-before.exp: Use "list -q".
957 * gdb.tui/list.exp: Use "list -q".
958 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
959
8abd8ee8
PA
9602020-10-13 Pedro Alves <pedro@palves.net>
961
962 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
963 saved breakpoints file.
964 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
965 inspecting breakpoint list.
966 * lib/gdb.exp (runto_main): Add "qualified" to options.
967 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
968 and handle it.
969 (mi_runto_main): Pass 1 as qualified argument.
970
f71e6719
PA
9712020-10-13 Pedro Alves <pedro@palves.net>
972
973 * lib/mi-support.exp (mi_runto_main): New proc.
974 (mi_run_to_main): Use it.
975 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
976 * gdb.mi/mi-var-cmd.exp: Likewise.
977 * gdb.mi/mi-var-invalidate.exp: Likewise.
978 * mi-var-list-children-invalid-grandchild.exp: Likewise.
979 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
980 * gdb.mi/new-ui-mi-sync.exp: Likewise.
981 * gdb.mi/user-selected-context-sync.exp: Likewise.
982 * gdb.opt/inline-cmds.exp: Likewise.
983 * gdb.python/py-framefilter-mi.exp: Likewise.
984 * gdb.python/py-mi.exp: Likewise.
985
50441f0f
PA
9862020-10-13 Pedro Alves <pedro@palves.net>
987
988 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
989 "runto main".
990 * gdb.ada/small_reg_param.exp: Likewise.
991 * gdb.arch/powerpc-d128-regs.exp: Likewise.
992 * gdb.base/annota1.exp: Likewise.
993 * gdb.base/anon.exp: Likewise.
994 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
995 * gdb.base/dprintf-non-stop.exp: Likewise.
996 * gdb.base/dprintf.exp: Likewise.
997 * gdb.base/gdb11530.exp: Likewise.
998 * gdb.base/gdb11531.exp: Likewise.
999 * gdb.base/gnu_vector.exp: Likewise.
1000 * gdb.base/interrupt-noterm.exp: Likewise.
1001 * gdb.base/memattr.exp: Likewise.
1002 * gdb.base/step-over-syscall.exp: Likewise.
1003 * gdb.base/watch-cond-infcall.exp: Likewise.
1004 * gdb.base/watch-read.exp: Likewise.
1005 * gdb.base/watch-vfork.exp: Likewise.
1006 * gdb.base/watch_thread_num.exp: Likewise.
1007 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1008 * gdb.guile/scm-frame-inline.exp: Likewise.
1009 * gdb.linespec/explicit.exp: Likewise.
1010 * gdb.opt/inline-break.exp: Likewise.
1011 * gdb.python/py-frame-inline.exp: Likewise.
1012 * gdb.reverse/break-precsave.exp: Likewise.
1013 * gdb.reverse/break-reverse.exp: Likewise.
1014 * gdb.reverse/consecutive-precsave.exp: Likewise.
1015 * gdb.reverse/consecutive-reverse.exp: Likewise.
1016 * gdb.reverse/finish-precsave.exp: Likewise.
1017 * gdb.reverse/finish-reverse.exp: Likewise.
1018 * gdb.reverse/fstatat-reverse.exp: Likewise.
1019 * gdb.reverse/getresuid-reverse.exp: Likewise.
1020 * gdb.reverse/i386-precsave.exp: Likewise.
1021 * gdb.reverse/i386-reverse.exp: Likewise.
1022 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1023 * gdb.reverse/i387-env-reverse.exp: Likewise.
1024 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1025 * gdb.reverse/insn-reverse.exp: Likewise.
1026 * gdb.reverse/machinestate-precsave.exp: Likewise.
1027 * gdb.reverse/machinestate.exp: Likewise.
1028 * gdb.reverse/pipe-reverse.exp: Likewise.
1029 * gdb.reverse/readv-reverse.exp: Likewise.
1030 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1031 * gdb.reverse/rerun-prec.exp: Likewise.
1032 * gdb.reverse/s390-mvcle.exp: Likewise.
1033 * gdb.reverse/solib-precsave.exp: Likewise.
1034 * gdb.reverse/solib-reverse.exp: Likewise.
1035 * gdb.reverse/step-precsave.exp: Likewise.
1036 * gdb.reverse/step-reverse.exp: Likewise.
1037 * gdb.reverse/time-reverse.exp: Likewise.
1038 * gdb.reverse/until-precsave.exp: Likewise.
1039 * gdb.reverse/until-reverse.exp: Likewise.
1040 * gdb.reverse/waitpid-reverse.exp: Likewise.
1041 * gdb.reverse/watch-precsave.exp: Likewise.
1042 * gdb.reverse/watch-reverse.exp: Likewise.
1043 * gdb.threads/kill.exp: Likewise.
1044 * gdb.threads/tid-reuse.exp: Likewise.
1045
d3a07122
SM
10462020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1047
1048 PR gdb/26642
1049 * gdb.base/maint-target-async-off.c: New test.
1050 * gdb.base/maint-target-async-off.exp: New test.
1051
c65c6c42
AM
10522020-10-13 Alan Modra <amodra@gmail.com>
1053
1054 * gdb.arch/powerpc-altivec.s,
1055 * gdb.arch/powerpc-power7.s,
1056 * gdb.arch/powerpc-power8.s,
1057 * gdb.arch/powerpc-power9.s,
1058 * gdb.arch/powerpc-vsx.s,
1059 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1060 * gdb.arch/powerpc-altivec.exp,
1061 * gdb.arch/powerpc-power7.exp,
1062 * gdb.arch/powerpc-power8.exp,
1063 * gdb.arch/powerpc-power9.exp,
1064 * gdb.arch/powerpc-vsx.exp,
1065 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1066 disassembly of mfvsrd/mtvsrd.
1067
f4a0f710
AM
10682020-10-13 Alan Modra <amodra@gmail.com>
1069
1070 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1071 "target architecture" output.
1072 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1073 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1074 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1075 * gdb.arch/s390-disassembler-options.exp: Likewise.
1076
87a37e5e
PA
10772020-10-12 Pedro Alves <pedro@palves.net>
1078
1079 PR exp/26602
1080 PR c++/26550
1081 * gdb.cp/ambiguous.cc (marker1): Delete.
1082 (main): Initialize all the fields of the locals. Replace marker1
1083 call with a "set breakpoint here" marker.
1084 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1085 instead of running to marker1. Add tests printing all the
1086 variables and all the fields of the variables.
1087 (test_ambiguous): New proc, expecting the new GDB output when a
1088 field access is ambiguous. Change all "warning: X ambiguous"
1089 tests to use it.
1090
71e1b6b0
GB
10912020-10-12 Gary Benson <gbenson@redhat.com>
1092
1093 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1094 * gdb.base/msym-bp-2.c (foo): Likewise.
1095 * gdb.base/msym-lang.c (foo): Likewise.
1096 * gdb.base/msym-lang-main.c (foo): Likewise.
1097 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1098 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1099 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1100 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1101 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1102 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1103 * gdb.python/py-objfile.c (static_var): Likewise.
1104 * gdb.python/py-symbol.c (rr): Likewise.
1105 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1106 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1107
9370fd51
AB
11082020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1109
1110 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1111 output of backtrace.
1112
7c184d33
TT
11132020-10-09 Tom Tromey <tromey@adacore.com>
1114
1115 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1116 (Rec): Add field. Fix range.
1117 * gdb.ada/scalar_storage.exp: Update.
1118
3d87245c
HD
11192020-10-09 Hannes Domani <ssbssa@yahoo.de>
1120
1121 PR exp/26714
1122 * gdb.base/printcmds.exp: Add tests for void results.
1123
f5c4b229
JV
11242020-10-09 Jan Vrany <jan.vrany@labware.com>
1125
1126 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1127 is emmited for both 'set directories' and 'directory' commands.
1128
b2701685
TT
11292020-10-08 Tom Tromey <tom@tromey.com>
1130
1131 * gdb.base/style.exp: Check that "main"'s name is styled.
1132
e86efb33
TT
11332020-10-07 Tom Tromey <tromey@adacore.com>
1134
1135 * gdb.base/find.exp: Rename some tests.
1136
30897591
GB
11372020-10-06 Gary Benson <gbenson@redhat.com>
1138
1139 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1140 * gdb.base/list1.c (unused): Likewise.
1141
ced4a4c1
GB
11422020-10-06 Gary Benson <gbenson@redhat.com>
1143
1144 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1145 __attribute__ ((used)).
1146 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1147
ed3bdac4
AB
11482020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1149
1150 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1151 make use of regions throughout.
1152 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1153 not {...}.
1154 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1155
cd096ec8
HD
11562020-10-05 Hannes Domani <ssbssa@yahoo.de>
1157
1158 * gdb.base/call-sc.c: Fix return struct on stack test case.
1159 * gdb.base/call-sc.exp: Likewise.
1160
3ee6f75d
GB
11612020-10-02 Gary Benson <gbenson@redhat.com>
1162
1163 * README: Fix "paralell".
1164
f65825ec
GB
11652020-09-30 Gary Benson <gbenson@redhat.com>
1166
1167 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1168 Convert directive to lowercase.
1169 (.Labbrev1_begin): Add missing label.
1170 (abbrev code 0x1): Remove DW_AT_stmt_list.
1171 (.Ldie_b): Likewise.
1172
5f278258
TT
11732020-09-27 Tom Tromey <tom@tromey.com>
1174
1175 * gdb.tui/new-layout.exp: Use with_test_prefix.
1176
8f9929bb
GR
11772020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1178
1179 PR python/26586
1180 * gdb.python/python.exp: add test cases for the from_tty
1181 argument to gdb.execute.
1182
c20c017b
GB
11832020-09-25 Gary Benson <gbenson@redhat.com>
1184
1185 * gdb.base/infcall-nested-structs.exp.tcl: Add
1186 additional_flags=-Wno-tautological-compare for C++
1187 tests when compiling using Clang.
1188
68d654af
GB
11892020-09-25 Gary Benson <gbenson@redhat.com>
1190
1191 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1192 for .c files.
1193
b551a89f
TT
11942020-09-24 Tom Tromey <tromey@adacore.com>
1195
1196 PR tui/26638:
1197 * gdb.tui/list.exp: Check output of "focus next".
1198
20a5fcbd
TT
11992020-09-23 Tom Tromey <tom@tromey.com>
1200
1201 * gdb.dwarf2/intbits.exp: New file.
1202 * gdb.dwarf2/intbits.c: New file.
1203
b167e53f
PA
12042020-09-20 Pedro Alves <pedro@palves.net>
1205
1206 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1207 spawn_id before calling remote_close. Close secondary MI channel.
1208
dbc49e9f
PA
12092020-09-20 Pedro Alves <pedro@palves.net>
1210
1211 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1212 fails.
1213
c8d5abea
AB
12142020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1215
1216 * gdb.fortran/array-slices.exp: Update expected results.
1217 * gdb.fortran/class-allocatable-array.exp: Likewise.
1218 * gdb.fortran/multi-dim.exp: Likewise.
1219 * gdb.fortran/vla-type.exp: Likewise.
1220 * gdb.mi/mi-vla-fortran.exp: Likewise.
1221
14f9473c
VC
12222020-09-18 Victor Collod <vcollod@nvidia.com>
1223
1224 PR gdb/26635
1225 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1226 compatible with i386, and move it to...
1227 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1228 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1229 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1230
e8ef12b9
PA
12312020-09-18 Pedro Alves <pedro@palves.net>
1232
1233 PR gdb/26631
1234 * gdb.multi/multi-target-thread-find.exp: New file.
1235
e11daf7a
PA
12362020-09-18 Pedro Alves <pedro@palves.net>
1237
1238 * gdb.multi/multi-target-continue.exp: New file, factored out from
1239 multi-target.exp.
1240 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1241 multi-target.exp.
1242 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1243 multi-target.exp.
1244 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1245 multi-target.exp.
1246 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1247 multi-target.exp.
1248 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1249 multi-target.exp.
1250 * gdb.multi/multi-target.exp: Delete.
1251
d0edc2b8
AB
12522020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1253
1254 * gdb.fortran/array-slices.exp: Add missing message data.
1255
7474326c
PA
12562020-09-17 Pedro Alves <pedro@palves.net>
1257
1258 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1259
dd23068d
PA
12602020-09-17 Pedro Alves <pedro@palves.net>
1261
1262 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1263 full prototype.
1264
0640a543
PA
12652020-09-17 Pedro Alves <pedro@palves.net>
1266
1267 * gdb.python/py-as-string.c: Add cast.
1268
ef0cdbc1
PA
12692020-09-17 Pedro Alves <pedro@palves.net>
1270
1271 * gdb.base/sizeof.c (fill): Add cast.
1272
3a5eeb8b
PA
12732020-09-17 Pedro Alves <pedro@palves.net>
1274
1275 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1276
a8129512
PA
12772020-09-17 Pedro Alves <pedro@palves.net>
1278
1279 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1280 linkage name.
1281 * gdb.base/prologue.exp: Use print /d.
1282 * gdb.base/symbol-alias.exp: Handle C++ output.
1283 * gdb.base/symbol-alias2.c: Handle C++ output.
1284 [__cplusplus] (func): Explicitly specify linkage name.
1285
a83cdcb6
PA
12862020-09-17 Pedro Alves <pedro@palves.net>
1287
1288 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1289 (struct my_key_t): ... this. Adjust all references.
1290 (struct value_t): Rename to ...
1291 (struct my_value_t): ... this. Adjust all references.
1292 (create_map, add_map_element, create_map_map)
1293 (add_map_map_element): Add casts.
1294
d4bcee5c
PA
12952020-09-17 Pedro Alves <pedro@palves.net>
1296
1297 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1298 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1299
81f90489
PA
13002020-09-17 Pedro Alves <pedro@palves.net>
1301
1302 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1303
0a229804
PA
13042020-09-17 Pedro Alves <pedro@palves.net>
1305
1306 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1307 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1308 (charfoo, intfoo): Define full prototype.
1309 * gdb.base/ptype1.c (charfoo): Define full prototype.
1310 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1311 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1312
c3e5138d
PA
13132020-09-17 Pedro Alves <pedro@palves.net>
1314
1315 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1316 Don't define.
1317 (utf_32_string): Compile for both C and C++.
1318 * gdb.base/charset.exp: Use "print /d".
1319
151fdbad
PA
13202020-09-17 Pedro Alves <pedro@palves.net>
1321
1322 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1323 (nullptr): Rename to ...
1324 (null_ptr): ... this.
1325 * gdb.base/watchpoint.exp: Adjust to rename.
1326
18a25b64
PA
13272020-09-17 Pedro Alves <pedro@palves.net>
1328
1329 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1330 (three_not_flag): Add casts.
1331
11fac337
PA
13322020-09-17 Pedro Alves <pedro@palves.net>
1333
1334 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1335 char array.
1336 (main): Add references to Barrier, TestStrings, TestStringsH and
1337 TestStringsW.
1338 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1339 and expect a full prototype in C++.
1340
52626c58
PA
13412020-09-17 Pedro Alves <pedro@palves.net>
1342
1343 * gdb.base/nested-addr.c (main): Add cast.
1344 * gdb.base/nested-addr.exp: Use "print /d".
1345
52bb0902
PA
13462020-09-17 Pedro Alves <pedro@palves.net>
1347
1348 * gdb.base/break.exp (func): New. Use it throughout when
1349 expecting a function name.
1350
73e18ac9
PA
13512020-09-17 Pedro Alves <pedro@palves.net>
1352
1353 * gdb.base/display.exp: Issue "set print asm-demangle on".
1354
c8b18808
PA
13552020-09-17 Pedro Alves <pedro@palves.net>
1356
1357 * gdb.base/find.c: Include <string.h>.
1358 (init_bufs): Add cast.
1359 * gdb.base/find.exp: Issue "set print asm-demangle on".
1360
fe830662
TT
13612020-09-16 Tom Tromey <tromey@adacore.com>
1362
1363 PR gdb/26598:
1364 * gdb.base/skipcxx.exp: New file.
1365 * gdb.base/skipcxx.cc: New file.
1366
945ff6e2
TV
13672020-09-16 Tom de Vries <tdevries@suse.de>
1368
1369 PR testsuite/26617
1370 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1371 WITH_DEBUG_SECTIONS is defined.
1372 (xstr, str): New macro.
1373 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1374 to get start and size of _Dmain.
1375 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1376 using additional_flags.
1377
da1df1db
TBA
13782020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1379
1380 * gdb.base/bp-cmds-sourced-script.c: New file.
1381 * gdb.base/bp-cmds-sourced-script.exp: New test.
1382 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1383
337882d4
TV
13842020-09-16 Tom de Vries <tdevries@suse.de>
1385
1386 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1387 get the gdb prompt after issuing "monitor exit".
1388
7361f908
TV
13892020-09-16 Tom de Vries <tdevries@suse.de>
1390
1391 PR testsuite/26624
1392 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1393
4d91ddd3
TV
13942020-09-16 Tom de Vries <tdevries@suse.de>
1395
1396 PR testsuite/26618
1397 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1398
08cc37dd
TT
13992020-09-15 Tom Tromey <tromey@adacore.com>
1400
1401 PR rust/26197:
1402 * lib/rust-support.exp (rust_llvm_version): New proc.
1403 * gdb.rust/simple.exp: Check rust_llvm_version.
1404
ee6372f2
TV
14052020-09-14 Tom de Vries <tdevries@suse.de>
1406
1407 * gdb.rust/traits.exp: Fix PATH warning.
1408
dc3a371e
PA
14092020-09-13 Pedro Alves <pedro@palves.net>
1410
1411 * gdb.base/catch-follow-exec.c (main): Add explicit return
1412 statement.
1413 * gdb.base/catch-signal.c (main): Likewise.
1414 * gdb.base/condbreak-call-false.c (main): Likewise.
1415 * gdb.base/consecutive.c (main): Add explicit return
1416 statement and return type.
1417 * gdb.base/cursal.c (main): Add explicit return statement.
1418 * gdb.base/cvexpr.c (main): Likewise.
1419 * gdb.base/display.c (main): Add explicit return statement and
1420 return type.
1421 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
1422 * gdb.base/endianity.c (main): Likewise.
1423 * gdb.base/execd-prog.c (main): Likewise.
1424 * gdb.base/gdb1090.c (main): Likewise.
1425 * gdb.base/info_qt.c (main): Likewise.
1426 * gdb.base/lineinc.c (main): Likewise.
1427 * gdb.base/load-command.c (main): Likewise.
1428 * gdb.base/macscp1.c (main): Likewise.
1429 * gdb.base/pr10179-a.c (main): Likewise.
1430 * gdb.base/quit-live.c (main): Likewise.
1431 * gdb.base/scope0.c (main): Likewise.
1432 * gdb.base/settings.c (main): Likewise.
1433 * gdb.base/stack-checking.c (main): Return int.
1434 * gdb.base/varargs.c (main): Add explicit return statement.
1435 * gdb.cp/ambiguous.cc (main): Likewise.
1436 * gdb.cp/anon-struct.cc (main): Likewise.
1437 * gdb.cp/anon-union.cc (main): Likewise.
1438 * gdb.cp/bool.cc (main): Likewise.
1439 * gdb.cp/bs15503.cc (main): Likewise.
1440 * gdb.cp/cplusfuncs.cc (main): Likewise.
1441 * gdb.cp/cttiadd.cc (main): Likewise.
1442 * gdb.cp/extern-c.cc (main): Likewise.
1443 * gdb.cp/filename.cc (main): Likewise.
1444 * gdb.cp/formatted-ref.cc (main): Likewise.
1445 * gdb.cp/mb-ctor.cc (main): Likewise.
1446 * gdb.cp/member-ptr.cc (main): Likewise.
1447 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1448 * gdb.cp/overload-const.cc (main): Likewise.
1449 * gdb.cp/paren-type.cc (main): Likewise.
1450 * gdb.cp/parse-lang.cc (main): Likewise.
1451 * gdb.cp/pr-1023.cc (main): Likewise.
1452 * gdb.cp/psmang1.cc (main): Likewise.
1453 * gdb.cp/readnow-language.cc (main): Likewise.
1454 * gdb.cp/ref-params.cc (main): Likewise.
1455 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1456 * gdb.cp/virtbase2.cc (main): Likewise.
1457 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1458 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1459 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1460 * gdb.mi/mi-console.c (main): Likewise.
1461 * gdb.mi/mi-read-memory.c (main): Likewise.
1462 * gdb.modula2/multidim.c (main): Likewise.
1463 * gdb.opt/inline-small-func.c (main): Likewise.
1464 * gdb.python/py-rbreak.c (main): Likewise.
1465 * gdb.stabs/exclfwd1.c (main): Likewise.
1466 * gdb.trace/qtro.c (main): Likewise.
1467
af26601c
PA
14682020-09-13 Pedro Alves <pedro@palves.net>
1469
1470 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1471 instead of getenv.
1472
2f4b83cd
PA
14732020-09-13 Pedro Alves <pedro@palves.net>
1474
1475 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1476 instead of spawning GDB with remote_spawn.
1477 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1478 gdb_spawn instead of spawning GDB with remote_spawn.
1479
c49da0e4
PA
14802020-09-13 Pedro Alves <pedro@palves.net>
1481
1482 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1483 file and add calls to first and second.
1484 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1485 add call to f.
1486
6791b117
PA
14872020-09-13 Pedro Alves <pedro@palves.net>
1488
1489 * gdb.mi/mi-break-qualified.cc: New file.
1490 * gdb.mi/mi-break-qualified.exp: New file.
1491 * lib/mi-support.exp (mi_create_breakpoint_multi)
1492 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1493 procedures.
1494 (mi_create_breakpoint_1): New, factored out from
1495 mi_create_breakpoint.
1496
3b8d4c5c
PA
14972020-09-13 Pedro Alves <pedro@palves.net>
1498
1499 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1500 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1501 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1502 (register_class): Delete.
1503 (main): Don't call register_class.
1504
d5f96005
PA
15052020-09-13 Pedro Alves <pedro@palves.net>
1506
1507 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1508 (do_tests): Remove "calling method for small class" test.
1509 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1510 (register_class): Delete.
1511 (main): Don't call register_class.
1512 * gdb.cp/call-method-register.exp: New file, based on bits removed
1513 from classes.exp.
1514 * gdb.cp/call-method-register.cc: New file, based on bits removed
1515 from classes.cc.
1516
77f2120b
PA
15172020-09-13 Pedro Alves <pedro@palves.net>
1518
1519 * gdb.base/msym-bp-2.c: New.
1520 * gdb.base/msym-bp-shl-lib.c: New file.
1521 * gdb.base/msym-bp-shl-main-2.c: New file.
1522 * gdb.base/msym-bp-shl-main.c: New file.
1523 * gdb.base/msym-bp-shl.exp: New file.
1524 * gdb.base/msym-bp.c: New file.
1525 * gdb.base/msym-bp.exp: New file.
1526
32aea73e
JB
15272020-09-13 Joel Brobecker <brobecker@adacore.com>
1528
1529 * gdb.base/default.exp: Change $_gdb_major to 11.
1530
2a67f09d
FW
15312020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1532 Felix Willgerodt <Felix.Willgerodt@intel.com>
1533
1534 * x86-avx512bf16.c: New file.
1535 * x86-avx512bf16.exp: Likewise.
1536 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1537
ad570dd7
TV
15382020-09-11 Tom de Vries <tdevries@suse.de>
1539
1540 PR exp/26602
1541 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1542
a56f7391
TBA
15432020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1544
1545 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1546
918619e5
AM
15472020-09-10 Alan Modra <amodra@gmail.com>
1548
1549 PR 26597
1550 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1551
cac1e71d
TV
15522020-09-08 Tom de Vries <tdevries@suse.de>
1553
1554 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1555 after gdb_starti_cmd.
1556
c5cd900e
AKS
15572020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1558
1559 * lib/fortran.exp (fortran_complex8): New proc.
1560 (fortran_complex16): New proc.
1561 * gdb.fortran/complex.exp: Use routines from fortran.exp
1562 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1563 * gdb.fortran/vla-ptr-info.exp: Likewise.
1564
8f5c6526
TV
15652020-09-03 Tom de Vries <tdevries@suse.de>
1566
1567 PR breakpoint/26546
1568 * gdb.base/label-without-address.exp: Runto main first.
1569
02c6f3f1
TT
15702020-09-02 Tom Tromey <tromey@adacore.com>
1571
1572 * gdb.ada/mi_var_access.exp: Test children of access variable.
1573 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1574 * gdb.ada/mi_var_array.exp: Update.
1575
efe24f05
KB
15762020-08-31 Kevin Buettner <kevinb@redhat.com>
1577
1578 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1579 on docker w/ AUFS storage driver.
1580
973695d6
KB
15812020-08-31 Kevin Buettner <kevinb@redhat.com>
1582
1583 * gdb.base/corefile2.exp (renamed binfile): New tests.
1584
f3bd50f1
SM
15852020-08-31 Simon Marchi <simon.marchi@efficios.com>
1586
1587 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1588
22b9b4b0
SL
15892020-08-31 Simon Marchi <simon.marchi@efficios.com>
1590
1591 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1592 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1593
8efaf6b3
SM
15942020-08-31 Simon Marchi <simon.marchi@efficios.com>
1595
1596 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1597 output, printing a "not saved" value from history and printing a
1598 convenience variable created from a "not saved" value.
1599
e840f2e3
TV
16002020-08-31 Tom de Vries <tdevries@suse.de>
1601
1602 * gdb.base/eh_return.exp: Use nopie.
1603
8f57f343
PA
16042020-08-28 Pedro Alves <pedro@palves.net>
1605
1606 * gdb.base/advance-until-multiple-locations.exp
1607 (advance_overload, until_overload): Adjust to match the
1608 frame/function header instead of the source line text.
1609
626d2320
TV
16102020-08-28 Tom de Vries <tdevries@suse.de>
1611
1612 * gdb.base/label-without-address.c: New test.
1613 * gdb.base/label-without-address.exp: New file.
1614
df631783
PA
16152020-08-27 Pedro Alves <pedro@palves.net>
1616
1617 PR gdb/26523
1618 PR gdb/26524
1619 * gdb.base/advance-until-multiple-locations.cc: New.
1620 * gdb.base/advance-until-multiple-locations.exp: New.
1621
48b076bb
SM
16222020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1623
1624 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1625
c2015ce4
AB
16262020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1627
1628 * gdb.arch/amd64-byte.exp: Make test names unique, use
1629 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1630 * gdb.arch/amd64-dword.exp: Likewise.
1631 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1632 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1633 unique.
1634 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1635 * gdb.arch/amd64-word.exp: Make test names unique, use
1636 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1637 * gdb.arch/i386-byte.exp: Make test names unique, use
1638 gdb_breakpoint.
1639 * gdb.arch/i386-word.exp: Likewise.
1640
995d3a19
SV
16412020-08-25 Shahab Vahedi <shahab@synopsys.com>
1642
1643 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1644
8cac2b31
SM
16452020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1646
1647 PR gdb/26532
1648 * gdb.threads/stepi-random-signal.exp: Update pattern.
1649
2bc19622
SM
16502020-08-25 Simon Marchi <simon.marchi@efficios.com>
1651
1652 PR gdb/26532
1653 * gdb.base/ui-redirect.exp: Update pattern.
1654
b04aa1fc
GB
16552020-08-25 Gary Benson <gbenson@redhat.com>
1656
1657 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1658 when compiling with clang.
8571e9c8 1659 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1660
9f68b453
GB
16612020-08-25 Gary Benson <gbenson@redhat.com>
1662
1663 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1664 Add additional_flags=-Wno-inaccessible-base when compiling
1665 with GCC >= 10.1 or clang. Add additional_flags=-w when
1666 compiling with GCC < 10.
1667
3945d2d7
GM
16682020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1669
1670 PR m2/26372
fc5d6901
SM
1671 * gdb.modula2/multidim.c: New file.
1672 * gdb.modula2/multidim.exp: New file.
3945d2d7 1673
60122dbe
SM
16742020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1675
1676 * lib/gdb.exp (runto): Always emit fail on internal error.
1677
1eb8556f
SM
16782020-08-24 Simon Marchi <simon.marchi@efficios.com>
1679
1680 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1681 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1682 Likewise.
1683 * gdb.threads/stepi-random-signal.exp: Likewise.
1684
33bf4c5c
TBA
16852020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1686
1687 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1688 * gdb.trace/strace.exp: Ditto.
1689
c2fd7fae
AKS
16902020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1691
1692 * gdb.fortran/vla-type.exp: Skip commands not required for
1693 the Flang compiled binaries after prologue fix.
1694
326afb72
TT
16952020-08-17 Tom de Vries <tdevries@suse.de>
1696 Tom Tromey <tromey@adacore.com>
1697
1698 PR rust/26197:
1699 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1700
3ae7ab99
TT
17012020-08-17 Tom Tromey <tromey@adacore.com>
1702
1703 * gdb.ada/mi_var_access.exp: New file.
1704 * gdb.ada/mi_var_access/mi_access.adb: New file.
1705 * gdb.ada/mi_var_access/pck.adb: New file.
1706 * gdb.ada/mi_var_access/pck.ads: New file.
1707
f569c1c5
TV
17082020-08-16 Tom de Vries <tdevries@suse.de>
1709
1710 PR gdb/25350
1711 * gdb.base/eh_return.c: New test.
1712 * gdb.base/eh_return.exp: New file.
1713
3d11c30a
TV
17142020-08-15 Tom de Vries <tdevries@suse.de>
1715
1716 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1717 (mixed_func_1d_): Use fortran_charlen_t in decl.
1718
547ce8f0
TV
17192020-08-15 Tom de Vries <tdevries@suse.de>
1720
1721 PR backtrace/26390
1722 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1723 Update expected pattern.
1724
a54a7f13
PA
17252020-08-13 Pedro Alves <pedro@palves.net>
1726
1727 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1728 * gdb.fortran/library-module.exp: Likewise.
1729 * gdb.fortran/logical.exp: Likewise.
1730 * gdb.fortran/module.exp: Likewise.
1731 * gdb.fortran/print_type.exp: Likewise.
1732 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1733 * gdb.fortran/vla-datatypes.exp: Likewise.
1734 * gdb.fortran/vla-history.exp: Likewise.
1735 * gdb.fortran/vla-ptr-info.exp: Likewise.
1736 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1737 * gdb.fortran/vla-ptype.exp: Likewise.
1738 * gdb.fortran/vla-sizeof.exp: Likewise.
1739 * gdb.fortran/vla-type.exp: Likewise.
1740 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1741 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1742 * gdb.fortran/vla-value-sub.exp: Likewise.
1743 * gdb.fortran/vla-value.exp: Likewise.
1744
7a82e903
PA
17452020-08-13 Pedro Alves <pedro@palves.net>
1746
1747 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1748 * gdb.ada/access_to_packed_array.exp: Likewise.
1749 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1750 * gdb.ada/addr_arith.exp: Likewise.
1751 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1752 * gdb.ada/arr_arr.exp: Likewise.
1753 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1754 * gdb.ada/array_bounds.exp: Likewise.
1755 * gdb.ada/array_of_variable_length.exp: Likewise.
1756 * gdb.ada/array_ptr_renaming.exp: Likewise.
1757 * gdb.ada/array_subscript_addr.exp: Likewise.
1758 * gdb.ada/arraydim.exp: Likewise.
1759 * gdb.ada/arrayparam.exp: Likewise.
1760 * gdb.ada/arrayptr.exp: Likewise.
1761 * gdb.ada/assign_1.exp: Likewise.
1762 * gdb.ada/assign_arr.exp: Likewise.
1763 * gdb.ada/atomic_enum.exp: Likewise.
1764 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1765 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1766 * gdb.ada/bias.exp: Likewise.
1767 * gdb.ada/boolean_expr.exp: Likewise.
1768 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1769 * gdb.ada/bp_enum_homonym.exp: Likewise.
1770 * gdb.ada/bp_inlined_func.exp: Likewise.
1771 * gdb.ada/bp_on_var.exp: Likewise.
1772 * gdb.ada/bp_range_type.exp: Likewise.
1773 * gdb.ada/bp_reset.exp: Likewise.
1774 * gdb.ada/call_pn.exp: Likewise.
1775 * gdb.ada/catch_assert_if.exp: Likewise.
1776 * gdb.ada/catch_ex.exp: Likewise.
1777 * gdb.ada/catch_ex_std.exp: Likewise.
1778 * gdb.ada/char_enum.exp: Likewise.
1779 * gdb.ada/char_param.exp: Likewise.
1780 * gdb.ada/complete.exp: Likewise.
1781 * gdb.ada/cond_lang.exp: Likewise.
1782 * gdb.ada/convvar_comp.exp: Likewise.
1783 * gdb.ada/dgopt.exp: Likewise.
1784 * gdb.ada/disc_arr_bound.exp: Likewise.
1785 * gdb.ada/display_nested.exp: Likewise.
1786 * gdb.ada/dot_all.exp: Likewise.
1787 * gdb.ada/dyn_loc.exp: Likewise.
1788 * gdb.ada/dyn_stride.exp: Likewise.
1789 * gdb.ada/excep_handle.exp: Likewise.
1790 * gdb.ada/expr_delims.exp: Likewise.
1791 * gdb.ada/expr_with_funcall.exp: Likewise.
1792 * gdb.ada/exprs.exp: Likewise.
1793 * gdb.ada/fin_fun_out.exp: Likewise.
1794 * gdb.ada/fixed_cmp.exp: Likewise.
1795 * gdb.ada/formatted_ref.exp: Likewise.
1796 * gdb.ada/frame_arg_lang.exp: Likewise.
1797 * gdb.ada/frame_args.exp: Likewise.
1798 * gdb.ada/fullname_bp.exp: Likewise.
1799 * gdb.ada/fun_addr.exp: Likewise.
1800 * gdb.ada/fun_in_declare.exp: Likewise.
1801 * gdb.ada/fun_overload_menu.exp: Likewise.
1802 * gdb.ada/fun_renaming.exp: Likewise.
1803 * gdb.ada/funcall_char.exp: Likewise.
1804 * gdb.ada/funcall_param.exp: Likewise.
1805 * gdb.ada/funcall_ptr.exp: Likewise.
1806 * gdb.ada/funcall_ref.exp: Likewise.
1807 * gdb.ada/homonym.exp: Likewise.
1808 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1809 * gdb.ada/info_auto_lang.exp: Likewise.
1810 * gdb.ada/info_exc.exp: Likewise.
1811 * gdb.ada/info_types.exp: Likewise.
1812 * gdb.ada/int_deref.exp: Likewise.
1813 * gdb.ada/interface.exp: Likewise.
1814 * gdb.ada/iwide.exp: Likewise.
1815 * gdb.ada/lang_switch.exp: Likewise.
1816 * gdb.ada/length_cond.exp: Likewise.
1817 * gdb.ada/maint_with_ada.exp: Likewise.
1818 * gdb.ada/mi_catch_assert.exp: Likewise.
1819 * gdb.ada/mi_catch_ex.exp: Likewise.
1820 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1821 * gdb.ada/mi_dyn_arr.exp: Likewise.
1822 * gdb.ada/mi_ex_cond.exp: Likewise.
1823 * gdb.ada/mi_exc_info.exp: Likewise.
1824 * gdb.ada/mi_interface.exp: Likewise.
1825 * gdb.ada/mi_prot.exp: Likewise.
1826 * gdb.ada/mi_ref_changeable.exp: Likewise.
1827 * gdb.ada/mi_string_access.exp: Likewise.
1828 * gdb.ada/mi_task_arg.exp: Likewise.
1829 * gdb.ada/mi_task_info.exp: Likewise.
1830 * gdb.ada/mi_var_array.exp: Likewise.
1831 * gdb.ada/mi_var_union.exp: Likewise.
1832 * gdb.ada/mi_variant.exp: Likewise.
1833 * gdb.ada/minsyms.exp: Likewise.
1834 * gdb.ada/mod_from_name.exp: Likewise.
1835 * gdb.ada/nested.exp: Likewise.
1836 * gdb.ada/null_array.exp: Likewise.
1837 * gdb.ada/optim_drec.exp: Likewise.
1838 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1839 * gdb.ada/packed_array_assign.exp: Likewise.
1840 * gdb.ada/packed_tagged.exp: Likewise.
1841 * gdb.ada/pp-rec-component.exp: Likewise.
1842 * gdb.ada/print_chars.exp: Likewise.
1843 * gdb.ada/print_pc.exp: Likewise.
1844 * gdb.ada/ptr_typedef.exp: Likewise.
1845 * gdb.ada/ptype_arith_binop.exp: Likewise.
1846 * gdb.ada/ptype_array.exp: Likewise.
1847 * gdb.ada/ptype_field.exp: Likewise.
1848 * gdb.ada/ptype_tagged_param.exp: Likewise.
1849 * gdb.ada/ptype_union.exp: Likewise.
1850 * gdb.ada/py_range.exp: Likewise.
1851 * gdb.ada/py_taft.exp: Likewise.
1852 * gdb.ada/rdv_wait.exp: Likewise.
1853 * gdb.ada/rec_comp.exp: Likewise.
1854 * gdb.ada/rec_return.exp: Likewise.
1855 * gdb.ada/ref_param.exp: Likewise.
1856 * gdb.ada/ref_tick_size.exp: Likewise.
1857 * gdb.ada/rename_subscript_param.exp: Likewise.
1858 * gdb.ada/repeat_dyn.exp: Likewise.
1859 * gdb.ada/same_component_name.exp: Likewise.
1860 * gdb.ada/same_enum.exp: Likewise.
1861 * gdb.ada/scalar_storage.exp: Likewise.
1862 * gdb.ada/set_wstr.exp: Likewise.
1863 * gdb.ada/small_reg_param.exp: Likewise.
1864 * gdb.ada/str_binop_equal.exp: Likewise.
1865 * gdb.ada/str_ref_cmp.exp: Likewise.
1866 * gdb.ada/str_uninit.exp: Likewise.
1867 * gdb.ada/sub_variant.exp: Likewise.
1868 * gdb.ada/sym_print_name.exp: Likewise.
1869 * gdb.ada/taft_type.exp: Likewise.
1870 * gdb.ada/tagged.exp: Likewise.
1871 * gdb.ada/tagged_access.exp: Likewise.
1872 * gdb.ada/task_bp.exp: Likewise.
1873 * gdb.ada/task_switch_in_core.exp: Likewise.
1874 * gdb.ada/tasks.exp: Likewise.
1875 * gdb.ada/tick_last_segv.exp: Likewise.
1876 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1877 * gdb.ada/type_coercion.exp: Likewise.
1878 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1879 * gdb.ada/unchecked_union.exp: Likewise.
1880 * gdb.ada/uninitialized_vars.exp: Likewise.
1881 * gdb.ada/var_arr_attrs.exp: Likewise.
1882 * gdb.ada/var_arr_typedef.exp: Likewise.
1883 * gdb.ada/var_rec_arr.exp: Likewise.
1884 * gdb.ada/variant-record.exp: Likewise.
1885 * gdb.ada/variant.exp: Likewise.
1886 * gdb.ada/variant_record_packed_array.exp: Likewise.
1887 * gdb.ada/varsize_limit.exp: Likewise.
1888 * gdb.ada/whatis_array_val.exp: Likewise.
1889 * gdb.ada/widewide.exp: Likewise.
1890 * gdb.ada/win_fu_syms.exp: Likewise.
1891
18922020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
1893
1894 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1895
10c381b5
AB
18962020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1897
1898 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1899 unset the array variable.
1900
8f34b746
TV
19012020-08-03 Tom de Vries <tdevries@suse.de>
1902
1903 PR symtab/26333
1904 * lib/dwarf.exp (DW_LNE_user): New proc.
1905 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1906 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1907
0245e136
KB
19082020-07-31 Kevin Buettner <kevinb@redhat.com>
1909
1910 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1911 to 'uintptr_t'
1912 (inttypes.h): Include.
1913
9ef1ec5d
KB
19142020-07-31 Kevin Buettner <kevinb@redhat.com>
1915
1916 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1917 (C5_24k): Delete.
1918 (C5_8k, C5_64k, C5_256k): New macros.
1919 (buf_ro): Allocate 256 KiB of initialized data.
1920
4c55e970
TBA
19212020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1922
1923 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1924 that attempt to overwrite an existing condition with a condition
1925 that fails parsing and also with a condition that parses fine
1926 but contains junk at the end.
1927
1e620590
TBA
19282020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1929
1930 * gdb.base/condbreak-bad.c: New test.
1931 * gdb.base/condbreak-bad.exp: New file.
1932
e12dcc50
TV
19332020-07-30 Tom de Vries <tdevries@suse.de>
1934
1935 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1936 out of ...
1937 (GDBInfoModuleSymbols::check_entry): ... here.
1938 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1939 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1940 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1941
6cc64caa
TV
19422020-07-30 Tom de Vries <tdevries@suse.de>
1943
1944 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1945 "__class_some_module_Number_t" optional.
1946
90fd07fc
TV
19472020-07-29 Tom de Vries <tdevries@suse.de>
1948
1949 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1950 multiple locations.
1951
f5c79e97
TV
19522020-07-29 Tom de Vries <tdevries@suse.de>
1953
1954 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1955 rather than function name.
1956
f75a0693
AB
19572020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1958
1959 PR symtab/26270:
1960 * gdb.cp/disasm-func-name.cc: New file.
1961 * gdb.cp/disasm-func-name.exp: New file.
1962
4888741a
TT
19632020-07-28 Tom Tromey <tromey@adacore.com>
1964
1965 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1966 'varval' location.
1967
43d5901d
AB
19682020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1969
1970 * gdb.python/py-unwind.py: Update to make use of a register
1971 descriptor.
1972
14fa8fb3
AB
19732020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1974
1975 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1976
e79eb02f
AB
19772020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1978
1979 PR fortran/23051
1980 PR fortran/26139
1981 * gdb.fortran/class-allocatable-array.exp: New file.
1982 * gdb.fortran/class-allocatable-array.f90: New file.
1983 * gdb.fortran/pointer-to-pointer.exp: New file.
1984 * gdb.fortran/pointer-to-pointer.f90: New file.
1985
876518dd
TV
19862020-07-25 Tom de Vries <tdevries@suse.de>
1987
1988 PR symtab/26243
1989 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1990 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1991
6dcfb80a
TV
19922020-07-24 Tom de Vries <tdevries@suse.de>
1993
1994 PR testsuite/26293
1995 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1996
e7bc9db8
PA
19972020-07-23 Pedro Alves <pedro@palves.net>
1998
1999 * gdb.server/server-kill.exp (prepare): New, factored out from the
2000 top level.
2001 (kill_server): New.
2002 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2003 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2004
78344df7
AB
20052020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2006
2007 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2008
25dfed24
SL
20092020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2010
2011 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2012 Initialize to empty string at top level.
2013 (gdb_wrapper_init): Revert check for file existence on build.
2014 Build the wrapper in its default place, not a build-specific
2015 location. When host == build, make the pathname absolute.
2016 (gdb_compile): Delete leftover declaration of
2017 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2018 string instead of uninitialized.
2019
7da515fd
KB
20202020-07-22 Kevin Buettner <kevinb@redhat.com>
2021
2022 * gdb.base/corefile2.exp: New file.
2023 * gdb.base/coremaker2.exp: New file.
2024
9c5ec5c2
KB
20252020-07-22 Kevin Buettner <kevinb@redhat.com>
2026
2027 * gdb.base/coredump-filter.exp: Add second
2028 non-Private-Shared-Anon-File test.
2029 (test_disasm): Rename binfile for test which is expected
2030 to fail.
2031
f9e233c9
KB
20322020-07-22 Kevin Buettner <kevinb@redhat.com>
2033
2034 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2035 data in core file".
2036 * gdb.base/coremaker.c (buf2ro): New global.
2037 (mmapdata): Add a read-only mmap mapping.
2038
94c265d7
KB
20392020-07-22 Kevin Buettner <kevinb@redhat.com>
2040
2041 PR corefiles/25631
2042 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2043 New test.
2044 * gdb.base/coremaker.c (buf3): New global.
2045 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2046 flags.
2047
20482020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2049
2050 * gdb.base/coremaker.c (filler_ro): New global constant.
2051
32fa152e
TT
20522020-07-22 Tom Tromey <tromey@adacore.com>
2053
2054 * gdb.ada/mi_prot.exp: New file.
2055 * gdb.ada/mi_prot/pkg.adb: New file.
2056 * gdb.ada/mi_prot/pkg.ads: New file.
2057 * gdb.ada/mi_prot/prot.adb: New file.
2058
c8474dc3
TBA
20592020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2060
2061 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2062 loads two JITers.
2063
baf8791e
AB
20642020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2065
2066 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2067
f7306dac
AB
20682020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2069
2070 * gdb.python/py-arch-reg-names.exp: Additional tests.
2071
6d3d6e4b
TV
20722020-07-21 Tom de Vries <tdevries@suse.de>
2073
2074 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2075 breakpoint locations".
2076 * gdb.reverse/solib-reverse.exp: Same.
2077
803d0592
TV
20782020-07-21 Tom de Vries <tdevries@suse.de>
2079
2080 * gdb.reverse/step-reverse.c (callee): Merge statements.
2081
e9bdc510
TV
20822020-07-21 Tom de Vries <tdevries@suse.de>
2083
2084 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2085 line numbers for some variables.
2086
f0f9e75a
TV
20872020-07-21 Tom de Vries <tdevries@suse.de>
2088
2089 * gdb.opt/inline-locals.c (init_array): New func.
2090 (func1): Use init_array.
2091 * gdb.opt/inline-locals.exp: Update pattern.
2092
bd460ecb
TV
20932020-07-21 Tom de Vries <tdevries@suse.de>
2094
2095 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2096 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2097
ae5369e7
LC
20982020-07-20 Ludovic Courtès <ludo@gnu.org>
2099
2100 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2101 * gdb.guile/types-module.exp: Remove "ERROR:" from
2102 regexps since Guile 3.0 no longer prints that.
2103
68cf161c
LC
21042020-07-20 Ludovic Courtès <ludo@gnu.org>
2105
2106 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2107 error regexp to match on Guile 2.2.
2108
c14b4913
GB
21092020-07-20 Gary Benson <gbenson@redhat.com>
2110
2111 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2112 with clang.
2113
b243ba58
TV
21142020-07-20 Tom de Vries <tdevries@suse.de>
2115
2116 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2117 (omp_set_lock_in_order): New function.
2118 (single_scope, multi_scope, nested_func, nested_parallel): Use
2119 omp_set_lock_in_order and omp_unset_lock.
2120 (main): Init and destroy lock and lock2.
2121
c06ad8b5
TV
21222020-07-20 Tom de Vries <tdevries@suse.de>
2123
2124 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2125
6e22f117
TV
21262020-07-20 Tom de Vries <tdevries@suse.de>
2127
2128 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2129
33176ea7
TV
21302020-07-17 Tom de Vries <tdevries@suse.de>
2131
2132 * gdb.base/valgrind-infcall-2.c: New test.
2133 * gdb.base/valgrind-infcall-2.exp: New file.
2134 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2135
90c3ec2d
TV
21362020-07-17 Tom de Vries <tdevries@suse.de>
2137
2138 * gdb.dlang/circular.c (found): Use found_label as label name.
2139 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2140 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2141 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2142 * gdb.dwarf2/ada-linkage-name.exp: Same.
2143 * gdb.dwarf2/arr-subrange.exp: Same.
2144 * gdb.dwarf2/atomic-type.exp: Same.
2145 * gdb.dwarf2/comp-unit-lang.exp: Same.
2146 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2147 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2148 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2149 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2150 * gdb.dwarf2/implptr-64bit.exp: Same.
2151 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2152 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2153 * gdb.dwarf2/imported-unit.exp: Same.
2154 * gdb.dwarf2/main-subprogram.exp: Same.
2155 * gdb.dwarf2/missing-type-name.exp: Same.
2156 * gdb.dwarf2/nonvar-access.exp: Same.
2157 * gdb.dwarf2/struct-with-sig.exp: Same.
2158 * gdb.dwarf2/typedef-void-finish.exp: Same.
2159 * gdb.dwarf2/void-type.exp: Same.
2160
10da644d
TV
21612020-07-17 Tom de Vries <tdevries@suse.de>
2162
2163 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2164 src parameter.
2165 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2166 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2167 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2168 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2169 * gdb.dwarf2/dwz.exp: Same.
2170 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2171 * gdb.dwarf2/implref-array.exp: Same.
2172 * gdb.dwarf2/implref-const.exp: Same.
2173 * gdb.dwarf2/implref-global.exp: Same.
2174 * gdb.dwarf2/implref-struct.exp: Same.
2175 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2176 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2177 * gdb.dwarf2/var-access.exp: Same.
2178 * gdb.dwarf2/varval.exp: Same.
2179 * gdb.trace/entry-values.exp: Same.
2180
315e6afc
TV
21812020-07-17 Tom de Vries <tdevries@suse.de>
2182
2183 * lib/dwarf.exp (Dwarf::extern): Remove.
2184 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2185 * gdb.dlang/circular.exp: Same.
2186 * gdb.dwarf2/comp-unit-lang.exp: Same.
2187 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2188 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2189 * gdb.dwarf2/dwz.exp: Same.
2190 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2191 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2192 * gdb.dwarf2/imported-unit.exp: Same.
2193 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2194
5597c940
SL
21952020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2196
2197 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2198 Use double quotes instead of single quotes.
2199
d0ce17d8
CT
22002020-07-16 Caroline Tice <cmtice@google.com>
2201
2202 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2203 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2204
853772cc
TV
22052020-07-16 Tom de Vries <tdevries@suse.de>
2206
2207 * lib/dwarf.exp (program): Initialize _line.
2208 (DW_LNE_end_sequence): Reinitialize _line.
2209 (DW_LNS_advance_line): Update _line.
2210 (line): New proc.
2211 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2212 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2213 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2214 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2215 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2216 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2217
fe07b572
AB
22182020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2219
2220 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2221 generic.
2222
52781cce
TV
22232020-07-15 Tom de Vries <tdevries@suse.de>
2224
2225 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2226 is_amd64_regs_target.
2227
3dcc261c
AB
22282020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2229
2230 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2231 * gdb.fortran/ptype-on-functions.f90: Likewise.
2232
054a0959
SM
22332020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2234
2235 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2236 values in documentation for addr_size to 4 and 8.
2237
ccb9eba6
AB
22382020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2239
2240 * gdb.arch/amd64-osabi.exp: Update.
2241 * gdb.arch/arm-disassembler-options.exp: Update.
2242 * gdb.arch/powerpc-disassembler-options.exp: Update.
2243 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2244 * gdb.arch/s390-disassembler-options.exp: Update.
2245 * gdb.base/all-architectures.exp.tcl: Update.
2246 * gdb.base/attach-pie-noexec.exp: Update.
2247 * gdb.base/catch-syscall.exp: Update.
2248 * gdb.xml/tdesc-arch.exp: Update.
2249
025a39a7
TV
22502020-07-14 Tom de Vries <tdevries@suse.de>
2251
2252 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2253 (local_gettid): ... this.
2254 (fn): Update.
2255
74e4b667
SL
22562020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2257
2258 * gdb.base/info_sources.exp: Skip directory match tests on
2259 remote hosts.
2260
f413dd74
GB
22612020-07-13 Gary Benson <gbenson@redhat.com>
2262
2263 * gdb.base/savedregs.exp (caller): Use parentheses to
2264 make expected expression evaluation ordering explicit.
2265
915771bb
GB
22662020-07-13 Gary Benson <gbenson@redhat.com>
2267
2268 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2269
2a122642
GB
22702020-07-13 Gary Benson <gbenson@redhat.com>
2271
2272 * gdb.base/bigcore.c (main): Use a volatile pointer when
2273 attempting to trigger a SIGSEGV.
2274 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2275 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2276 * gdb.base/savedregs.c (thrower): Likewise.
2277 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2278
3f00c730
GB
22792020-07-13 Gary Benson <gbenson@redhat.com>
2280
2281 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2282 defining and using VLA structure fields into...
2283 * gdb.base/vla-struct-fields.c: New file.
2284 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2285 tests into...
2286 * gdb.base/vla-struct-fields.exp: New file.
2287
963eeee4
TV
22882020-07-13 Tom de Vries <tdevries@suse.de>
2289
2290 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2291 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2292 * gdb.base/gold-gdb-index.exp: Same.
2293 * gdb.base/morestack.exp: Same.
2294
0ed35c9a
DX
22952020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2296
2297 PR rust/26121
2298 * gdb.rust/modules.rs: Prevent linker from discarding test
2299 symbol.
2300
4fdba23d
PA
23012020-07-10 Pedro Alves <pedro@palves.net>
2302
2303 PR gdb/26199
2304 * gdb.multi/multi-target.c (exit_thread): New.
2305 (thread_start): Break loop if EXIT_THREAD.
2306 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2307 (top level) Call test_no_resumed.
2308
15f3b077
TT
23092020-07-08 Tom Tromey <tromey@adacore.com>
2310
2311 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2312 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2313
9fc501fd
AB
23142020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2315
2316 PR python/22748
2317 * gdb.opt/inline-frame-tailcall.c: New file.
2318 * gdb.opt/inline-frame-tailcall.exp: New file.
2319 * gdb.python/py-unwind-inline.c: New file.
2320 * gdb.python/py-unwind-inline.exp: New file.
2321 * gdb.python/py-unwind-inline.py: New file.
2322
64cb3757
AB
23232020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2324
2325 * gdb.python/py-arch-reg-groups.exp: New file.
2326
0f767f94
AB
23272020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2328
2329 * gdb.python/py-arch-reg-names.exp: New file.
2330
87dbc774
AB
23312020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2332
2333 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2334 gdb.PendingFrame.architecture method.
2335
d8cc8af6
TV
23362020-07-06 Tom de Vries <tdevries@suse.de>
2337
2338 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2339
3c8ea5be
PA
23402020-07-03 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2343 explicitly write negative numbers.
2344 * gdb.base/structs2.exp: Adjust expected output.
2345
bf90c83a
PA
23462020-07-03 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.base/charset.c (init_string): Change all char parameters to
2349 unsigned char parameters.
2350
2eb82157
PA
23512020-07-03 Pedro Alves <palves@redhat.com>
2352
2353 * gdb.base/call-sc.exp (start_scalars_test): Use
2354 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2355 * gdb.base/overlays.c: Remove references to PARAMS.
2356 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2357 * gdb.base/reread.exp: Don't set 'prototypes' global.
2358 * gdb.base/structs.exp (start_structs_test): Use
2359 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2360 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2361 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2362 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2363 call.
2364 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2365
9adda7af
PA
23662020-07-03 Pedro Alves <palves@redhat.com>
2367
2368 * gdb.base/m32rovly.c: Delete.
2369 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2370
2a17c803
PW
23712020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2372
2373 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2374 of gdb_py_test_multiple.
2375 * gdb.python/py-cmd.exp: Likewise.
2376 * gdb.python/py-events.exp: Likewise.
2377 * gdb.python/py-function.exp: Likewise.
2378 * gdb.python/py-inferior.exp: Likewise.
2379 * gdb.python/py-infthread.exp: Likewise.
2380 * gdb.python/py-linetable.exp: Likewise.
2381 * gdb.python/py-parameter.exp: Likewise.
2382 * gdb.python/py-value.exp: Likewise.
2383
b011fe1a
TV
23842020-06-30 Tom de Vries <tdevries@suse.de>
2385
2386 PR testsuite/26175
2387 * lib/future.exp (gdb_default_target_compile): Detect and handle
2388 early_flags.
2389
df5b8876
SM
23902020-06-29 Simon Marchi <simon.marchi@efficios.com>
2391
2392 * boards/simavr.exp (gdb_load): Catch errors when closing
2393 previous connection. Close connection, wait for process and
2394 unset simavr_spawn_id on failure.
2395
a3ca48cd
TV
23962020-06-29 Tom de Vries <tdevries@suse.de>
2397
2398 * lib/gdb.exp (unknown): Make test-case unresolved.
2399
b0237c0e
TV
24002020-06-29 Tom de Vries <tdevries@suse.de>
2401
2402 PR gdb/25475
2403 * gdb.server/solib-list.exp: Verify that the symbol reload
2404 confirmation question is asked.
2405
c0b3b3bd
PW
24062020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2407
2408 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2409 have a input seq nr in each pass message.
fe4c3d43 2410 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
2411 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2412 * gdb.python/python.exp: Make test names unique,
2413 use gdb_test_multiline instead of gdb_py_test_multiple,
2414 use $gdb_test_name.
2415 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2416
1776e3e5
NA
24172020-06-26 Nick Alcock <nick.alcock@oracle.com>
2418
2419 * configure.ac: Add --enable-libctf.
2420 * aclocal.m4: sinclude ../config/enable.m4.
2421 * Makefile.in (site.exp): Add enable_libctf to site.exp.
2422 * lib/gdb.exp (skip_ctf_tests): Use it.
2423 * gdb.base/ctf-constvars.exp: Error message tweak.
2424 * gdb.base/ctf-ptype.exp: Likewise.
2425 * configure: Regenerate.
2426
f53b3eeb
GB
24272020-06-26 Gary Benson <gbenson@redhat.com>
2428
2429 * gdb.cp/try_catch.cc: Include string.h.
2430 (main): Replace comparison against string literal with
2431 strcmp, avoiding build failure with -Wstring-compare.
2432 Add "marker test-complete".
2433 * gdb.cp/try_catch.exp: Run the test to the above marker,
2434 then verify that the value of "test" is still true.
2435
6d74da72
AB
24362020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2437
2438 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2439
2e52d038
AB
24402020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2441
2442 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2443
3b9fce96
AB
24442020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2445
2446 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2447 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2448 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2449 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2450 * gdb.arch/riscv-tdesc-loading.exp: New file.
2451
ed69cbc8
AB
24522020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2453
2454 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2455
767a879e
AB
24562020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2457
2458 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2459 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2460 * gdb.arch/riscv-tdesc-regs.c: New file.
2461 * gdb.arch/riscv-tdesc-regs.exp: New file.
2462
221db974
PA
24632020-06-24 Pedro Alves <palves@redhat.com>
2464
2465 * gdb.arch/amd64-entry-value-paramref.exp: Use
2466 prepare_for_testing_full and don't pass "c++" for the .S file
2467 build spec.
2468 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2469 $options, since it's an assembly file. Remove -Wno-deprecated.
2470 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2471 compiling C++ programs.
2472
331733cd
PA
24732020-06-24 Pedro Alves <palves@redhat.com>
2474
2475 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2476 Clang, add "-Wno-unknown-warning-option" to the options.
2477
caa7fd04
AB
24782020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2479
2480 * gdb.xml/tdesc-reload.c: New file.
2481 * gdb.xml/tdesc-reload.exp: New file.
2482 * gdb.xml/maint-xml-dump-01.xml: New file.
2483 * gdb.xml/maint-xml-dump-02.xml: New file.
2484 * gdb.xml/maint-xml-dump.exp: New file.
2485
bb8d1260
SL
24862020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2487
2488 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2489 Adjust for omitted commands when TUI is disabled.
2490
7e4b9c4c
GB
24912020-06-23 Gary Benson <gbenson@redhat.com>
2492 Pedro Alves <palves@redhat.com>
2493
2494 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2495 * gdb.cp/nsimport.cc: Likewise.
2496 * gdb.cp/nsnested.cc: Likewise.
2497 * gdb.cp/nsnoimports.cc: Likewise.
2498 * gdb.cp/nsusing.cc: Likewise.
2499 * gdb.cp/smartp.cc: Likewise.
2500 * gdb.python/py-pp-integral.c: Likewise.
2501 * gdb.python/py-pp-re-notag.c: Likewise.
2502
2e573c0a
GB
25032020-06-23 Gary Benson <gbenson@redhat.com>
2504
2505 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2506 * gdb.cp/nsimport.cc: Likewise.
2507 * gdb.cp/nsnested.cc: Likewise.
2508 * gdb.cp/nsnoimports.cc: Likewise.
2509 * gdb.cp/nsusing.cc: Likewise.
2510 * gdb.cp/smartp.cc: Likewise.
2511 * gdb.python/py-pp-integral.c: Likewise.
2512 * gdb.python/py-pp-re-notag.c: Likewise.
2513
746ebfe8
PW
25142020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2515
2516 * gdb.base/default-args.exp: New test.
2517 * gdb.base/default-args.c: New file.
2518 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2519 * gdb.base/default.exp: Update to new help text.
2520 * gdb.base/help.exp: Likewise.
2521 * gdb.base/page.exp: Likewise.
2522 * gdb.base/style.exp: Likewise.
2523 * gdb.guile/guile.exp: Likewise.
2524 * gdb.python/python.exp: Likewise.
2525
e822f2cd
SL
25262020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2527
2528 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2529 remote host. Fix search path syntax on Windows host.
2530
48e9cc84
PW
25312020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2532
2533 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2534 over 'exec-file-mismatch'.
2535 * gdb.base/attach.c: Mark should_exit volatile.
2536 * gdb.base/attach2.c: Likewise. Add a comment explaining
2537 why the sleep cannot be big.
2538 * gdb.base/attach3.c: New file.
2539
160f8a8f
SL
25402020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2541
2542 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2543 prefix optional.
2544
4d91c2a4
SL
25452020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2546
2547 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2548 for remote host.
2549
87f83f20
SL
25502020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2551 Hafiz Abid Qadeer <abidh@codesourcery.com>
2552
2553 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2554 file sent to remote host.
2555 (top level): Allow int32_t as type of 32-bit register.
2556
37ab8655
TV
25572020-06-19 Tom de Vries <tdevries@suse.de>
2558
2559 * lib/gdb.exp (gdb_note): New proc.
2560 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2561 (gdb_default_target_compile): ... here. Only call
2562 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2563 (use_gdb_compile): Change to array.
2564 (toplevel): Update sets of use_gdb_compile to specify language.
2565 Warn about default_target_compile override. Store dejagnu's version
2566 of default_target_compile in dejagnu_default_target_compile.
2567
a8a56685
TV
25682020-06-18 Tom de Vries <tdevries@suse.de>
2569
2570 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2571 (default_gdb_init): ... here.
2572
581bea2c
SL
25732020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2574
2575 Fix TUI support checks in gdb.tui tests.
2576
2577 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2578 just say UNSUPPORTED.
2579 * gdb.tui/corefile-run.exp: Likewise.
2580 * gdb.tui/empty.exp: Likewise.
2581 * gdb.tui/list-before.exp: Likewise.
2582 * gdb.tui/list.exp: Likewise.
2583 * gdb.tui/main.exp: Likewise.
2584 * gdb.tui/regs.exp: Likewise.
2585 * gdb.tui/resize.exp: Likewise.
2586 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2587 * gdb.tui/tui-layout-asm.exp: Likewise.
2588 * gdb.tui/tui-missing-src.exp: Likewise.
2589 * gdb.tui/winheight.exp: Likewise.
2590 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2591
05e682e3
SL
25922020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2593
2594 Fix TCL error in gdb.python/py-format-string.exp.
2595
2596 * gdb.python/py-format-string.exp: Move test for python support
2597 earlier, out of function body.
2598
efb763a5
SM
25992020-06-15 Simon Marchi <simon.marchi@efficios.com>
2600
2601 * gdb.base/index-cache-load-twice.c: New.
2602 * gdb.base/index-cache-load-twice.exp: New.
2603
43327b20
KS
26042020-06-17 Keith Seitz <keiths@redhat.com>
2605
99cf27cf 2606 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2607 when executing "gdb --configuration".
2608
081e778c
TV
26092020-06-17 Tom de Vries <tdevries@suse.de>
2610
2611 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2612 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2613 conditional on presence of gdb_tcl_unknown.
2614 (gdb_finish): Make override undo conditional on presence of
2615 gdb_tcl_unknown.
2616
d2d1ea20
TT
26172020-06-16 Tom Tromey <tom@tromey.com>
2618
2619 * gdb.python/tui-window.py (failwin): New function. Register it
2620 as a TUI window type.
2621 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2622
c802e8a7
GB
26232020-06-16 Gary Benson <gbenson@redhat.com>
2624
2625 * gdb.python/py-nested-maps.c (create_map): Add missing return
2626 value.
2627 (create_map_map): Likewise.
2628
ff08abb8
TBA
26292020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2630
2631 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2632 variable.
2633 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2634 and use the already-defined 'options' variable.
2635
a29d5112
AB
26362020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2637 Tom de Vries <tdevries@suse.de>
2638
2639 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2640 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2641 (gdb_setup_known_globals): New proc.
2642 (gdb_cleanup_globals): New proc.
2643 * lib/gdb.exp (load_lib): New override proc.
2644 (gdb_stdin_log_init): Set var in_file as persistent global.
2645 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2646 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2647 fpc_compiler as persistent global.
2648
8c74a764
TV
26492020-06-12 Tom de Vries <tdevries@suse.de>
2650
2651 * lib/tuiterm.exp (spawn): Rename to ...
2652 (tui_spawn): ... this.
2653 (toplevel): Move rename of spawn ...
2654 (gdb_init_tuiterm): ... here. New proc.
2655 (gdb_finish_tuiterm): New proc.
2656 * lib/gdb.exp (gdb_finish_hooks): New global var.
2657 (gdb_finish): Handle gdb_finish_hooks.
2658 (tuiterm_env): New proc.
2659 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2660 tuiterm_env.
2661 * gdb.tui/basic.exp: Same.
2662 * gdb.tui/corefile-run.exp: Same.
2663 * gdb.tui/empty.exp: Same.
2664 * gdb.tui/list-before.exp: Same.
2665 * gdb.tui/list.exp: Same.
2666 * gdb.tui/main.exp: Same.
2667 * gdb.tui/new-layout.exp: Same.
2668 * gdb.tui/regs.exp: Same.
2669 * gdb.tui/resize.exp: Same.
2670 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2671 * gdb.tui/tui-layout-asm.exp: Same.
2672 * gdb.tui/tui-missing-src.exp: Same.
2673 * gdb.tui/winheight.exp: Same.
2674
26783bce
TV
26752020-06-12 Tom de Vries <tdevries@suse.de>
2676
2677 PR testsuite/26110
2678 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2679 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2680
2b4e6a3f
TT
26812020-06-11 Tom Tromey <tom@tromey.com>
2682
2683 PR gdb/18318:
2684 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2685 floating point tests.
2686
2f33032a
KS
26872020-06-11 Keith Seitz <keiths@redhat.com>
2688
2689 PR gdb/21356
2690 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2691 vla_struct.
2692 Add new struct vla_typedef and union vla_typedef_union and
2693 corresponding instantiation objects.
2694 Initialize new objects.
2695 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2696 and vla_typedef_union_object.
2697 Fixup type for vla_struct_object.
2698
a8baf0a3
TV
26992020-06-11 Tom de Vries <tdevries@suse.de>
2700
2701 * lib/gdb.exp (with_override): New proc, factored out of ...
2702 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2703
7ab96794
TV
27042020-06-10 Tom de Vries <tdevries@suse.de>
2705
2706 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2707
cab5c3b7
SM
27082020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2709
2710 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2711 parameter, update callers.
2712
f8c41851
SM
27132020-06-04 Simon Marchi <simon.marchi@efficios.com>
2714
2715 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2716 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2717 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2718
1c07a73f
TV
27192020-06-04 Tom de Vries <tdevries@suse.de>
2720
2721 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2722
95146b5d
TV
27232020-06-04 Tom de Vries <tdevries@suse.de>
2724
2725 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2726 exp_continue.
2727
0cfcd4f0
TV
27282020-06-04 Tom de Vries <tdevries@suse.de>
2729
2730 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2731
f9b5d5ea
TV
27322020-06-03 Tom de Vries <tdevries@suse.de>
2733
2734 PR symtab/26046
2735 * gdb.cp/breakpoint-locs-2.cc: New test.
2736 * gdb.cp/breakpoint-locs.cc: New test.
2737 * gdb.cp/breakpoint-locs.exp: New file.
2738 * gdb.cp/breakpoint-locs.h: New test.
2739
5144dfba
TV
27402020-06-03 Tom de Vries <tdevries@suse.de>
2741
2742 PR testsuite/25609
2743 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2744 value of global verbose.
2745 * gdb.base/jit-elf.exp: Same.
2746 * gdb.base/jit-reader.exp: Same.
2747
621eacdf
TV
27482020-06-02 Tom de Vries <tdevries@suse.de>
2749
2750 * gdb.dwarf2/multidictionary.exp: Don't use
2751 gdb_spawn_with_cmdline_opts.
2752
1313c56e
AB
27532020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2754
2755 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2756 use_header case.
2757 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2758 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2759 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2760 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2761 * gdb.dwarf2/dw2-inline-header.c: New file.
2762 * gdb.dwarf2/dw2-inline-header.h: New file.
2763
f68f85b5
PA
27642020-05-30 Pedro Alves <palves@redhat.com>
2765
2766 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2767 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2768
678048e8
GB
27692020-05-29 Gary Benson <gbenson@redhat.com>
2770
2771 * gdb.compile/compile-cplus.exp (additional_flags): Also
2772 set when building with clang.
2773 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2774 when building with clang.
2775
9fcafd23
GB
27762020-05-29 Gary Benson <gbenson@redhat.com>
2777
2778 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2779 building with clang.
2780 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2781
735d5a07
GB
27822020-05-29 Gary Benson <gbenson@redhat.com>
2783
2784 * gdb.cp/koenig.exp (prepare_for_testing): Add
2785 additional_flags=-Wno-unused-comparison.
2786 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2787
4ad2c6a0
GB
27882020-05-28 Gary Benson <gbenson@redhat.com>
2789
2790 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2791 statement.
2792
09fe663e
GB
27932020-05-28 Gary Benson <gbenson@redhat.com>
2794
2795 * gdb.cp/classes.exp (prepare_for_testing): Add
2796 additional_flags=-Wno-deprecated-register.
2797 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2798 * gdb.cp/misc.exp: Likewise.
2799
cee00f17
GB
28002020-05-28 Gary Benson <gbenson@redhat.com>
2801
2802 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2803 (test_op_new::operator new): Add return statement.
2804 (test_op_new_array::operator new[]): Likewise.
2805
636edd00
PA
28062020-05-27 Pedro Alves <palves@redhat.com>
2807
2808 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2809 check. Use test_gdb_complete_unique instead of
2810 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2811 test_gdb_complete_multiple instead of
2812 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2813
c2b75043
LM
28142020-05-27 Luis Machado <luis.machado@linaro.org>
2815
2816 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2817 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2818 * gdb.arch/arm-disassembler-options.exp: Likewise.
2819 * gdb.arch/arm-disp-step.exp: Likewise.
2820 * gdb.arch/thumb-prologue.exp: Likewise.
2821 * gdb.base/async.exp: Likewise.
2822 * gdb.base/auxv.exp: Likewise.
2823 * gdb.base/complex-parts.exp: Likewise.
2824 * gdb.base/ena-dis-br.exp: Likewise.
2825 * gdb.base/foll-exec.exp: Likewise.
2826 * gdb.base/permissions.exp: Likewise.
2827 * gdb.base/relocate.exp: Likewise.
2828 * gdb.base/return2.exp: Likewise.
2829 * gdb.base/sigbpt.exp: Likewise.
2830 * gdb.base/siginfo-obj.exp: Likewise.
2831 * gdb.cp/converts.exp: Likewise.
2832 * gdb.cp/exceptprint.exp: Likewise.
2833 * gdb.cp/inherit.exp: Likewise.
2834 * gdb.cp/nsnoimports.exp: Likewise.
2835 * gdb.cp/virtbase2.exp: Likewise.
2836 * gdb.mi/mi-var-cmd.exp: Likewise.
2837 * gdb.mi/var-cmd.c: Likewise.
2838
53a47a3e
TT
28392020-05-26 Tom Tromey <tromey@adacore.com>
2840
2841 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2842
0bc2354b
TT
28432020-05-26 Tom Tromey <tromey@adacore.com>
2844
2845 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2846 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2847 type.
2848 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2849 variable.
2850
0db49895
CBG
28512020-05-26 Christian Biesinger <cbiesinger@google.com>
2852
2853 * Makefile.in: Use = instead of == for the test command
2854 for portability.
2855
40d22035
TV
28562020-05-26 Tom de Vries <tdevries@suse.de>
2857
2858 * gdb.base/gold-gdb-index-2.c: New test.
2859 * gdb.base/gold-gdb-index.c: New test.
2860 * gdb.base/gold-gdb-index.exp: New file.
2861 * gdb.base/gold-gdb-index.h: New test.
2862
043e2e02
TV
28632020-05-25 Tom de Vries <tdevries@suse.de>
2864
2865 * boards/gold-gdb-index.exp: New file.
2866
462f72c5
SM
28672020-05-25 Simon Marchi <simon.marchi@efficios.com>
2868
2869 * boards/simavr.exp: New file.
2870
6cf66e76
SM
28712020-05-25 Simon Marchi <simon.marchi@efficios.com>
2872
2873 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2874 * gdb.base/inferior-args.exp: New file.
2875 * gdb.base/inferior-args.c: New file.
2876
75d04512
SM
28772020-05-25 Simon Marchi <simon.marchi@efficios.com>
2878
2879 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2880 inferior_args. Pass it to gdb_reload.
2881 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2882 inferior_args.
2883 (gdb_reload): Add inferior_args argument.
2884 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2885 pass it to gdbserver_run.
2886 * boards/native-gdbserver.exp: Do not set noargs.
2887 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2888 inferior_args argument.
2889 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2890 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2891 * gdb.base/args.exp: Likewise.
2892
42cf1844
TV
28932020-05-25 Tom de Vries <tdevries@suse.de>
2894
2895 * lib/gdb.exp (exec_is_pie): Add comment.
2896
8f7d38ef
TV
28972020-05-25 Tom de Vries <tdevries@suse.de>
2898
2899 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2900 instead of $binfile in the untested message.
2901
465e1b0f
TV
29022020-05-25 Tom de Vries <tdevries@suse.de>
2903
2904 PR testsuite/26031
2905 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2906
3c5a0e02
TV
29072020-05-25 Tom de Vries <tdevries@suse.de>
2908
2909 * boards/gold.exp: New file.
2910
0a4f5f8c
TT
29112020-05-23 Tom Tromey <tom@tromey.com>
2912
2913 * gdb.base/style.exp: Remove completion styling test.
2914 * lib/gdb-utils.exp (style): Remove completion styles.
2915
eca1f90c
TT
29162020-05-23 Tom Tromey <tom@tromey.com>
2917
2918 * gdb.base/style.exp: Add completion styling test.
2919 * lib/gdb-utils.exp (style): Add completion styles.
2920
7c13f4e8
AB
29212020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2922
2923 * gdb.base/annota1.exp: Update expected results.
2924 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2925 test name.
2926 * gdb.cp/annota3.exp: Update expected results.
2927
41977d16
SM
29282020-05-20 Simon Marchi <simon.marchi@efficios.com>
2929
2930 PR gdb/26016
2931 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2932 against MAP_FAILED.
2933 * gdb.base/coremaker.c (mmapdata): Likewise.
2934 * gdb.base/jit-reader-host.c (main): Likewise.
2935 * gdb.base/sym-file-loader.c (load): Likewise.
2936 (load_shlib): Likewise.
2937
b4757f2e
TT
29382020-05-20 Tom Tromey <tromey@adacore.com>
2939
2940 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2941
9a0bacfb
TV
29422020-05-20 Tom de Vries <tdevries@suse.de>
2943
2944 PR symtab/25833
2945 * gdb.base/with-mf-inc.c: New test.
2946 * gdb.base/with-mf-main.c: New test.
2947 * gdb.base/with-mf.exp: New file.
2948
76571211
TT
29492020-05-19 Tom Tromey <tromey@adacore.com>
2950
2951 * gdb.rust/simple.exp: Restore missing test result.
2952
4cd9f3d5
TV
29532020-05-19 Tom de Vries <tdevries@suse.de>
2954
2955 * gdb.base/gdb-caching-proc.exp: Fix typo.
2956
7d874253
TT
29572020-05-19 Tom Tromey <tromey@adacore.com>
2958
2959 * gdb.rust/simple.exp: Add some test descriptions.
2960 (test_one_slice): Use with_test_prefix.
2961
1d727695
TV
29622020-05-18 Tom de Vries <tdevries@suse.de>
2963
2964 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2965
7f32a4d5
PA
29662020-05-17 Pedro Alves <palves@redhat.com>
2967
2968 PR gdb/25741
2969 * gdb.base/hw-sw-break-same-address.exp: New file.
2970
7cfd74cf
PA
29712020-05-16 Pedro Alves <palves@redhat.com>
2972
2973 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2974 LAST_LOADED_FILE accordingly.
2975
57b4f16e
PW
29762020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2977
2978 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2979
7c05caf7
PW
29802020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2981
2982 * gdb.base/help.exp: Test apropos and help for commands
2983 having aliases. Fixed comments not starting with an
2984 upper-case letter or not finishing with a dot.
2985
7aa1b46f
PW
29862020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2987
3b3aaacb
PW
2988 * gdb.base/alias.exp: Update help output check.
2989
57b4f16e 29902020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2991
7aa1b46f
PW
2992 * gdb.base/default.exp: Update output following fixes.
2993
0605465f
PW
29942020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2995
2996 * gdb.base/alias.exp: Test aliases starting with a prefix of
2997 another alias.
2998
86e4e63d
GB
29992020-05-15 Gary Benson <gbenson@redhat.com>
3000
3001 * gdb.base/info-os.c (main): Add return statement.
3002 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3003 * gdb.base/large-frame-2.c (func): Likewise.
3004 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3005 * gdb.base/pr10179-b.c (foo2): Likewise.
3006 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3007 * gdb.base/watch-cond.c (func): Likewise.
3008 * gdb.multi/goodbye.c (verylongfun): Likewise.
3009 * gdb.multi/hello.c (commonfun): Likewise.
3010 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3011 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3012 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3013 Likewise.
3014 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3015 * gdb.threads/interrupt-while-step-over.c (child_function):
3016 Likewise.
3017 * gdb.trace/actions-changed.c (end): Likewise.
3018
163df4df
GB
30192020-05-15 Gary Benson <gbenson@redhat.com>
3020
3021 * gdb.opencl/callfuncs.exp: Report when test skipped.
3022 * gdb.opencl/convs_casts.exp: Likewise.
3023 * gdb.opencl/datatypes.exp: Likewise.
3024 * gdb.opencl/operators.exp: Likewise.
3025 * gdb.opencl/vec_comps.exp: Likewise.
3026
6dbc505a
TV
30272020-05-15 Tom de Vries <tdevries@suse.de>
3028
3029 * gdb.base/align.exp.in: Rename to ...
3030 * gdb.base/align.exp.tcl: ... this.
3031 * gdb.base/align-c++.exp: Update.
3032 * gdb.base/align-c.exp: Update.
3033 * gdb.base/all-architectures.exp.in: Rename to ...
3034 * gdb.base/all-architectures.exp: ... this.
3035 * gdb.base/all-architectures-0.exp: Update.
3036 * gdb.base/all-architectures-1.exp: Update.
3037 * gdb.base/all-architectures-2.exp: Update.
3038 * gdb.base/all-architectures-3.exp: Update.
3039 * gdb.base/all-architectures-4.exp: Update.
3040 * gdb.base/all-architectures-5.exp: Update.
3041 * gdb.base/all-architectures-6.exp: Update.
3042 * gdb.base/all-architectures-7.exp: Update.
3043 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3044 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3045 * gdb.base/infcall-nested-structs-c++.exp: Update.
3046 * gdb.base/infcall-nested-structs-c.exp: Update.
3047 * gdb.base/info-types.exp.in: Rename to ...
3048 * gdb.base/info-types.exp.tcl: ... this.
3049 * gdb.base/info-types-c++.exp: Update.
3050 * gdb.base/info-types-c.exp: Update.
3051 * gdb.base/max-depth.exp.in: Rename to ...
3052 * gdb.base/max-depth.exp.tcl: ... this.
3053 * gdb.base/max-depth-c++.exp: Update.
3054 * gdb.base/max-depth-c.exp: Update.
3055 * gdb.cp/cpexprs.exp.in: Rename to ...
3056 * gdb.cp/cpexprs.exp.tcl: ... this.
3057 * gdb.cp/cpexprs-debug-types.exp: Update.
3058 * gdb.cp/cpexprs.exp: Update.
3059 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3060 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3061 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3062 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3063 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3064 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3065 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3066 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3067 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3068 * gdb.dwarf2/clang-debug-names.exp: Update.
3069
d1034d78
AB
30702020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3071
3072 * lib/check-test-names.exp: Remove code that prevents this file
3073 loading when tests are run in parallel.
3074
3c5c3649
PA
30752020-05-15 Pedro Alves <palves@redhat.com>
3076
3077 * gdb.multi/multi-kill.exp (start_inferior): Remove
3078 'testpid' parameter. Refer to namespace variable directly.
3079 (testpid): Declare as namespace variable.
3080
272c36b8
PA
30812020-05-15 Pedro Alves <palves@redhat.com>
3082
3083 * gdb.multi/multi-kill.exp: Wrap in namespace.
3084 (start_inferior): Add TESTPID parameter. Use it instead of the
3085 testpid global.
3086 (top level): Define empty TESTPID array, and pass it down to
3087 start_inferior.
3088
02eba61a
TV
30892020-05-14 Tom de Vries <tdevries@suse.de>
3090
3091 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3092 output.
3093
971a3747
TV
30942020-05-14 Tom de Vries <tdevries@suse.de>
3095
3096 * gdb.base/align.exp: Split into ...
3097 * gdb.base/align.exp.in: ...
3098 * gdb.base/align-c++.exp: ...
3099 * gdb.base/align-c.exp: ... these.
3100 * gdb.base/infcall-nested-structs.exp: Split into ...
3101 * gdb.base/infcall-nested-structs.exp.in: ...
3102 * gdb.base/infcall-nested-structs-c++.exp: ...
3103 * gdb.base/infcall-nested-structs-c.exp: ... these.
3104 * gdb.base/info-types.exp: Split into ...
3105 * gdb.base/info-types.exp.in: ...
3106 * gdb.base/info-types-c++.exp: ...
3107 * gdb.base/info-types-c.exp: ... these.
3108 * gdb.base/max-depth.exp: Split into ...
3109 * gdb.base/max-depth.exp.in: ...
3110 * gdb.base/max-depth-c++.exp: ...
3111 * gdb.base/max-depth-c.exp: ... these.
3112 * gdb.cp/infcall-nodebug.exp: Split into ...
3113 * gdb.cp/infcall-nodebug.exp.in: ...
3114 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3115 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3116 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3117 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3118
a05575d3
TBA
31192020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3120 Pedro Alves <palves@redhat.com>
3121
3122 * gdb.multi/multi-exit.c: New file.
3123 * gdb.multi/multi-exit.exp: New file.
3124 * gdb.multi/multi-kill.c: New file.
3125 * gdb.multi/multi-kill.exp: New file.
3126
6ad82919
TBA
31272020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3128
3129 * gdb.base/annota1.exp: Update the expected output.
3130 * gdb.cp/annota2.exp: Ditto.
3131
843f4d93
AB
31322020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * lib/check-test-names.exp: Disable when testing is being run in
3135 parallel.
3136
c7c66341
TV
31372020-05-12 Tom de Vries <tdevries@suse.de>
3138
3139 * gdb.base/jit-elf.exp: Fix string concat.
3140
1b59ca1c
TV
31412020-05-12 Tom de Vries <tdevries@suse.de>
3142
3143 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3144 messages.
3145
b4991d29
TV
31462020-05-12 Tom de Vries <tdevries@suse.de>
3147
3148 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3149
dbb0ab10
TV
31502020-05-12 Tom de Vries <tdevries@suse.de>
3151
3152 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3153 * gdb.ada/mi_catch_ex.exp: Same.
3154 * gdb.ada/mi_catch_ex_hand.exp: Same.
3155
7549fed8
TV
31562020-05-12 Tom de Vries <tdevries@suse.de>
3157
3158 * gdb.fortran/complex.exp: Use with_test_prefix.
3159
af2d5cd8
TV
31602020-05-12 Tom de Vries <tdevries@suse.de>
3161
3162 * gdb.trace/passcount.exp: Fix test-names.
3163
7c121311
TV
31642020-05-12 Tom de Vries <tdevries@suse.de>
3165
3166 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3167
c9f3b40e
TV
31682020-05-12 Tom de Vries <tdevries@suse.de>
3169
3170 * gdb.gdb/complaints.exp: Use with_test_prefix.
3171 * gdb.xml/tdesc-regs.exp: Same.
3172 * gdb.opt/inline-locals.exp: Fix test name.
3173
111b33f0
TV
31742020-05-12 Tom de Vries <tdevries@suse.de>
3175
3176 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3177 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3178 * gdb.dwarf2/implref-struct.exp: Same.
3179 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3180 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3181
ebf47080
SM
31822020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3183
3184 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3185
d30dcd12
AB
31862020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3187
3188 * lib/check-test-names.exp (all_test_names): New module variable.
3189 (counts): Add 'duplicates' field.
3190 (_check_duplicates): New procedure.
3191 (check): Also check for duplicates.
3192 (do_log_summary): Print duplicates count.
3193 (do_reset_vars): Reset counter for duplicate test names, and
3194 discard all know test names.
3195
34584c09
AB
31962020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3197
3198 * lib/gdb.exp: Include check-test-names.exp library.
3199 * lib/check-test-names.exp: New file.
3200
e0002117
TV
32012020-05-11 Tom de Vries <tdevries@suse.de>
3202
3203 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3204
53f539a3
KS
32052020-05-11 Keith Seitz <keiths@redhat.com>
3206
3207 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3208
113ee09a
TV
32092020-05-11 Tom de Vries <tdevries@suse.de>
3210
3211 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3212 * gdb.cp/cpexprs.exp.in: .. here.
3213 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3214 cpexprs.exp.
3215
ba3e70b0
KS
32162020-05-11 Keith Seitz <keiths@redhat.com>
3217
3218 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3219 test names.
3220 * gdb.ada/arrayptr.exp: Likewise.
3221 * gdb.ada/assign_arr.exp: Likewise.
3222 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3223 * gdb.ada/bp_on_var.exp: Likewise.
3224 * gdb.ada/call_pn.exp: Likewise.
3225 * gdb.ada/complete.exp: Likewise.
3226 * gdb.ada/fun_overload_menu.exp: Likewise.
3227 * gdb.ada/funcall_param.exp: Likewise.
3228 * gdb.ada/funcall_ref.exp: Likewise.
3229 * gdb.ada/packed_array_assign.exp: Likewise.
3230 * gdb.ada/same_component_name.exp: Likewise.
3231 * gdb.ada/type_coercion.exp: Likewise.
3232 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3233 * gdb.ada/variant_record_packed_array.exp: Likewise.
3234
3ee6bb11
TV
32352020-05-11 Tom de Vries <tdevries@suse.de>
3236
3237 PR symtab/25941
3238 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3239 out of ...
3240 * gdb.dwarf2/clang-debug-names.exp: ... here.
3241 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3242 clang-debug-names.exp.in.
3243 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3244 * gdb.dwarf2/clang-debug-names-2.c: New test.
3245
86cd6bc8
AKS
32462020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3247
3248 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3249 (fortran_runto_main): New Proc, fortran version of runto_main.
3250 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3251 * gdb.fortran/array-bounds.exp: Likewise.
3252 * gdb.fortran/array-slices.exp: Likewise.
3253 * gdb.fortran/block-data.exp: Likewise.
3254 * gdb.fortran/charset.exp: Likewise.
3255 * gdb.fortran/common-block.exp: Likewise.
3256 * gdb.fortran/complex.exp: Likewise.
3257 * gdb.fortran/derived-type-function.exp: Likewise.
3258 * gdb.fortran/derived-type.exp: Likewise.
3259 * gdb.fortran/info-modules.exp: Likewise.
3260 * gdb.fortran/info-types.exp: Likewise.
3261 * gdb.fortran/intrinsics.exp: Likewise.
3262 * gdb.fortran/library-module.exp: Likewise.
3263 * gdb.fortran/logical.exp: Likewise.
3264 * gdb.fortran/max-depth.exp: Likewise.
3265 * gdb.fortran/module.exp: Likewise.
3266 * gdb.fortran/multi-dim.exp: Likewise.
3267 * gdb.fortran/nested-funcs.exp: Likewise.
3268 * gdb.fortran/print-formatted.exp: Likewise.
3269 * gdb.fortran/print_type.exp: Likewise.
3270 * gdb.fortran/printing-types.exp: Likewise.
3271 * gdb.fortran/ptr-indentation.exp: Likewise.
3272 * gdb.fortran/ptype-on-functions.exp: Likewise.
3273 * gdb.fortran/subarray.exp: Likewise.
3274 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3275 * gdb.fortran/vla-datatypes.exp: Likewise.
3276 * gdb.fortran/vla-history.exp: Likewise.
3277 * gdb.fortran/vla-ptr-info.exp: Likewise.
3278 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3279 * gdb.fortran/vla-ptype.exp: Likewise.
3280 * gdb.fortran/vla-sizeof.exp: Likewise.
3281 * gdb.fortran/vla-type.exp: Likewise.
3282 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3283 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3284 * gdb.fortran/vla-value-sub.exp: Likewise.
3285 * gdb.fortran/vla-value.exp: Likewise.
3286 * gdb.fortran/whatis_type.exp: Likewise.
3287 * gdb.mi/mi-var-child-f.exp: Likewise.
3288
6dc55ce9 32892020-05-09 Tom de Vries <tdevries@suse.de>
3290
3291 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3292
283cb58c
TV
32932020-05-08 Tom de Vries <tdevries@suse.de>
3294
3295 * gdb.dwarf2/clang-debug-names.c: New test.
3296 * gdb.dwarf2/clang-debug-names.exp: New file.
3297
ac4a4f1c
SM
32982020-05-06 Simon Marchi <simon.marchi@efficios.com>
3299
3300 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3301 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3302
24fe640b
TV
33032020-05-06 Tom de Vries <tdevries@suse.de>
3304
3305 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3306 breakpoint is at a "recommended breakpoint location".
3307 * gdb.reverse/consecutive-reverse.exp: Same.
3308
0d8683a3
TV
33092020-05-06 Tom de Vries <tdevries@suse.de>
3310
3311 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3312 address.
3313
b8983c46
TV
33142020-05-06 Tom de Vries <tdevries@suse.de>
3315
3316 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3317
abf6d805
TV
33182020-05-06 Tom de Vries <tdevries@suse.de>
3319
3320 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3321 info for r.
3322
0fc2a808
TV
33232020-05-06 Tom de Vries <tdevries@suse.de>
3324
3325 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3326 necessary.
3327
873dd427
TV
33282020-05-06 Tom de Vries <tdevries@suse.de>
3329
3330 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3331 void.
3332
7c99e7e2
TV
33332020-05-06 Tom de Vries <tdevries@suse.de>
3334
3335 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3336 of ...
3337 * gdb.base/async.exp: ... here.
3338 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3339 "recommended breakpoint location".
3340
6173d6a6
TV
33412020-05-06 Tom de Vries <tdevries@suse.de>
3342
3343 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3344
6015a067
TV
33452020-05-04 Tom de Vries <tdevries@suse.de>
3346
3347 * gdb.base/async.exp: Check whether instruction addresses are a
3348 "recommended breakpoint location".
3349
3b6acaee
TT
33502020-05-03 Tom Tromey <tom@tromey.com>
3351
3352 * gdb.base/sepdebug.exp: Remove "catch" test.
3353 * gdb.base/break.exp: Remove "catch" test.
3354 * gdb.base/default.exp: Update expected output.
3355
5beb4d17
TV
33562020-05-02 Tom de Vries <tdevries@suse.de>
3357
3358 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3359 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3360 * gdb.arch/i386-mpx-map.exp: Same.
3361 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3362 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3363 * gdb.arch/i386-mpx.exp: Same.
3364
8caf140d
TV
33652020-05-02 Tom de Vries <tdevries@suse.de>
3366
3367 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3368
693196cb
TV
33692020-05-01 Tom de Vries <tdevries@suse.de>
3370
3371 * gdb.ada/operator_bp.exp: Allow more than required amount of
3372 breakpoint.
3373
53ae0aa9
TV
33742020-05-01 Tom de Vries <tdevries@suse.de>
3375
3376 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3377
ee9d1e5f
HD
33782020-04-30 Hannes Domani <ssbssa@yahoo.de>
3379
3380 PR gdb/18706
3381 * gdb.cp/stub-array-size.cc: New test.
3382 * gdb.cp/stub-array-size.exp: New file.
3383 * gdb.cp/stub-array-size.h: New test.
3384 * gdb.cp/stub-array-size2.cc: New test.
3385
d5cf82c0
HD
33862020-04-30 Hannes Domani <ssbssa@yahoo.de>
3387
3388 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3389 output to the new format.
3390
42e165c3
SM
33912020-04-29 Simon Marchi <simon.marchi@efficios.com>
3392
3393 * gdb.base/break.exp: Use with_test_prefix.
3394
6e4e3fe1
TV
33952020-04-29 Tom de Vries <tdevries@suse.de>
3396
3397 * lib/gdb.exp (debug_types): New proc.
3398 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3399 * gdb.python/py-symtab.exp: Same.
3400
d642b692
HD
34012020-04-29 Hannes Domani <ssbssa@yahoo.de>
3402
3403 PR gdb/17320
3404 * gdb.base/pretty-array.c: New test.
3405 * gdb.base/pretty-array.exp: New file.
3406
ea90f227
TV
34072020-04-29 Tom de Vries <tdevries@suse.de>
3408
3409 PR symtab/25889
3410 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3411 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3412 and include cpexprs.exp.
3413
a65189c9
TV
34142020-04-28 Mark Williams <mark@myosotissp.com>
3415
3416 PR gdb/24480
3417 * dw4-toplevel-types.exp: Test for top level types.
3418 * dw4-toplevel-types.cc: Test for top level types.
3419
32d1f47a
TBA
34202020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3421
3422 * gdb.threads/stop-with-handle.exp: Fix typo in comment
3423 (theads -> threads).
3424
56a4f5a1
TV
34252020-04-28 Tom de Vries <tdevries@suse.de>
3426
3427 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3428
0b2f8a3b
TV
34292020-04-28 Tom de Vries <tdevries@suse.de>
3430
3431 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3432
5390c717
TV
34332020-04-28 Tom de Vries <tdevries@suse.de>
3434
3435 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3436
15cd93d0
TV
34372020-04-28 Tom de Vries <tdevries@suse.de>
3438
3439 * gdb.dwarf2/main-foo.c: New test.
3440 * gdb.dwarf2/struct-with-sig.exp: New file.
3441
d472f0fb
TV
34422020-04-25 Tom de Vries <tdevries@suse.de>
3443
3444 * boards/debug-types.exp: New file.
3445
8d840e05
AB
34462020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3447
3448 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3449
bcfe6157
TT
34502020-04-24 Tom Tromey <tom@tromey.com>
3451
3452 PR symtab/12707:
3453 * gdb.python/py-symbol.exp: Update expected results for
3454 linkage_name test.
3455 * gdb.cp/print-demangle.exp: New file.
3456 * gdb.base/c-linkage-name.exp: Fix test.
3457 * gdb.guile/scm-symbol.exp: Update expected results for
3458 linkage_name test.
3459
f049a313
TT
34602020-04-24 Tom Tromey <tom@tromey.com>
3461
3462 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3463 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3464 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3465 assembler.
3466
7cf28874
TV
34672020-04-24 Tom de Vries <tdevries@suse.de>
3468
3469 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3470 C++.
3471
dac2fef7
TT
34722020-04-24 Tom Tromey <tromey@adacore.com>
3473
3474 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3475 values.
3476 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3477 values. Update test for minimal encodings.
3478 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3479 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3480 values. Update test for minimal encodings.
3481
1acda803
TT
34822020-04-24 Tom Tromey <tromey@adacore.com>
3483
3484 PR python/23662:
3485 * gdb.ada/variant.exp: Add Python checks.
3486 * gdb.rust/simple.exp: Add dynamic type checks.
3487
adfb9815
TT
34882020-04-24 Tom Tromey <tromey@adacore.com>
3489
3490 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3491 Make array type matching more lax.
3492 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3493 * gdb.ada/mi_variant.exp: New file.
3494 * gdb.ada/mi_variant/pck.ads: New file.
3495 * gdb.ada/mi_variant/pkg.adb: New file.
3496 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3497 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3498
7d79de9a
TT
34992020-04-24 Tom Tromey <tromey@adacore.com>
3500
3501 * gdb.ada/variant.exp: Add dynamic field offset tests.
3502 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3503 * gdb.ada/variant/pkg.adb: Add new variables.
3504
f8e89861
TT
35052020-04-24 Tom Tromey <tromey@adacore.com>
3506
3507 * gdb.ada/variant.exp: New file
3508 * gdb.ada/variant/pkg.adb: New file
3509 * gdb.ada/variant/pck.adb: New file
3510
86e887ae
TV
35112020-04-24 Tom de Vries <tdevries@suse.de>
3512
3513 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3514
88428775
TV
35152020-04-24 Tom de Vries <tdevries@suse.de>
3516
3517 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3518 flags.
3519
4e86f6e7
TV
35202020-04-24 Tom de Vries <tdevries@suse.de>
3521
3522 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3523
2016d3e6
TV
35242020-04-24 Tom de Vries <tdevries@suse.de>
3525
3526 * lib/gdb.exp (default_gdb_start): Handle eof.
3527 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3528 failure.
3529 * gdb.base/readnever.exp: Handle clean_restart failure.
3530
70bc38f5
TV
35312020-04-23 Tom de Vries <tdevries@suse.de>
3532
3533 * gdb.base/decl-before-def.exp: Run to main and print a again.
3534
de82891c
TV
35352020-04-23 Tom de Vries <tdevries@suse.de>
3536
3537 * gdb.base/decl-before-def-decl.c: New test.
3538 * gdb.base/decl-before-def-def.c: New test.
3539 * gdb.base/decl-before-def.exp: New file.
3540
96038148
TV
35412020-04-23 Tom de Vries <tdevries@suse.de>
3542
3543 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3544
54ac3df1
TV
35452020-04-22 Tom de Vries <tdevries@suse.de>
3546
3547 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3548 debug_info_offset.
3549 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3550 before $objsfile in the line line.
3551
714534e1
TV
35522020-04-22 Tom de Vries <tdevries@suse.de>
3553
3554 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3555
16a7dbf4
MS
35562020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3557
3558 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3559 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3560 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3561 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3562 * gdb.base/jit-protocol.h: Update definitions to match all usage
3563 contexts.
3564
35652020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3566
3567 * gdb.base: Rename all jit related test and source files.
3568
35692020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3570
3571 * gdb.base/jit-reader.exp: Relax register output check.
3572
317d2668
TV
35732020-04-22 Tom de Vries <tdevries@suse.de>
3574
3575 PR symtab/25764
3576 * gdb.base/psym-external-decl-2.c: New test.
3577 * gdb.base/psym-external-decl.c: New test.
3578 * gdb.base/psym-external-decl.exp: New file.
3579 * gdb.threads/tls.exp: Add PR25807 kfail.
3580
eea9e357
TV
35812020-04-22 Tom de Vries <tdevries@suse.de>
3582
3583 PR symtab/25801
3584 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3585 in "info source" output.
3586
3d5afab3
TV
35872020-04-22 Tom de Vries <tdevries@suse.de>
3588
3589 PR symtab/25700
3590 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3591 symtab for imported_unit.c.
3592
b32102f6
GB
35932020-04-21 Gary Benson <gbenson@redhat.com>
3594
3595 * gdb.base/advance.c (func): New argument, to match call site.
3596 (func2, func3): Add return statements.
3597
d43b7a2d
TBA
35982020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3599
3600 * gdb.multi/run-only-second-inf.c: New file.
3601 * gdb.multi/run-only-second-inf.exp: New file.
3602
d89edf9b
MM
36032020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3604
3605 * gdb.btrace/multi-inferior.c: New test.
3606 * gdb.btrace/multi-inferior.exp: New file.
3607
1a476b6d
MM
36082020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3609
3610 * gdb.btrace/enable-new-thread.c: New test.
3611 * gdb.btrace/enable-new-thread.exp: New file.
3612
4778a5f8
TV
36132020-04-21 Tom de Vries <tdevries@suse.de>
3614
3615 PR gdb/25471
3616 * gdb.threads/killed-outside.c: New test.
3617 * gdb.threads/killed-outside.exp: New file.
3618
9b2c992c
GB
36192020-04-20 Gary Benson <gbenson@redhat.com>
3620
3621 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3622 * gdb.base/nested-subp2.exp: Likewise.
3623 * gdb.base/nested-subp3.exp: Likewise.
3624
b5d1d6f7
GB
36252020-04-20 Gary Benson <gbenson@redhat.com>
3626
3627 * gdb.base/nested-subp1.exp: Disable test when using clang.
3628 * gdb.base/nested-subp2.exp: Likewise.
3629 * gdb.base/nested-subp3.exp: Likewise.
3630
25230285
GB
36312020-04-20 Gary Benson <gbenson@redhat.com>
3632
3633 * gdb.cp/exception.cc: Fix compilation error with clang.
3634
fa93cc8f
GB
36352020-04-20 Gary Benson <gbenson@redhat.com>
3636
809730f3 3637 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3638
e0c45f30
GB
36392020-04-20 Gary Benson <gbenson@redhat.com>
3640
3641 * gdb.base/jit-main.c: Fix compilation error with clang.
3642
4ddfec93
KR
36432020-04-17 Kamil Rytarowski <n54@gmx.com>
3644
3645 * gdb.base/attach-twice.c: Include "sys/types.h".
3646 (PTRACE_ATTACH): Add fallback definition.
3647 (main): Pass `0' to the 4th argument of `ptrace'.
3648
2bed205e
KR
36492020-04-17 Kamil Rytarowski <n54@gmx.com>
3650
3651 * gdb.base/fork-running-state.c: Include "signal.h".
3652
0743fc83
TT
36532020-04-17 Tom Tromey <tromey@adacore.com>
3654
3655 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3656 Update tests.
3657 * gdb.btrace/cpu.exp: Update tests.
3658 * gdb.base/maint.exp: Update tests.
3659 * gdb.base/default.exp: Update tests.
3660 * gdb.base/completion.exp: Update tests.
3661
efba5c23
TV
36622020-04-16 Tom de Vries <tdevries@suse.de>
3663
3664 PR symtab/25791
3665 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3666 (ensure_gdb_index): and factor out and move ...
3667 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3668 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3669
d191d716
TV
36702020-04-16 Tom de Vries <tdevries@suse.de>
3671
3672 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3673 loading exec.
3674
99f1bc6a
AB
36752020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3676
3677 * gdb.base/many-completions.exp: New file.
3678
194d088f
TV
36792020-04-14 Tom de Vries <tdevries@suse.de>
3680
3681 PR symtab/25718
3682 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3683
c1a66c06
TV
36842020-04-14 Tom de Vries <tdevries@suse.de>
3685
3686 PR symtab/25720
3687 * gdb.base/maint-expand-symbols-header-file.c: New test.
3688 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3689 * gdb.base/maint-expand-symbols-header-file.h: New test.
3690
21b0982c
AB
36912020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3692
3693 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3694 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3695 get_func_info.
3696 (get_func_info): Delete.
3697 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3698 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3699 * lib/dwarf.exp (get_func_info): New function.
3700
dd1cab06
TV
37012020-04-13 Tom de Vries <tdevries@suse.de>
3702
3703 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3704 to what find_gnatmake does.
3705
71ea2b6b
TV
37062020-04-10 Tom de Vries <tdevries@suse.de>
3707
3708 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3709 -readnow.
3710
bdfc1e8a
TV
37112020-04-10 Tom de Vries <tdevries@suse.de>
3712
3713 PR cli/25808
3714 * gdb.base/style.c: Add leading newlines.
3715 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3716 Check listing of main's one-line body.
3717
14ca8ecf
TV
37182020-04-08 Tom de Vries <tdevries@suse.de>
3719
3720 * lib/gdb.exp (psymtabs_p): New proc.
3721 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3722 importing unit" unsupported if there are no partial symbols.
3723
e21d048f
TV
37242020-04-08 Tom de Vries <tdevries@suse.de>
3725
3726 PR testsuite/25760
3727 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3728
25c11aca
TV
37292020-04-07 Tom de Vries <tdevries@suse.de>
3730
3731 PR symtab/25796
3732 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3733
5707e24b
TV
37342020-04-07 Tom de Vries <tdevries@suse.de>
3735
3736 * gdb.base/check-psymtab.c: New test.
3737 * gdb.base/check-psymtab.exp: New file.
3738
6ee448cc
TT
37392020-04-06 Tom Tromey <tromey@adacore.com>
3740
3741 * gdb.ada/variant-record/proc.adb: New file.
3742 * gdb.ada/variant-record/value.adb: New file.
3743 * gdb.ada/variant-record/value.s: New file.
3744 * gdb.ada/variant-record.exp: New file.
3745
9e7c9a03
HD
37462020-04-03 Hannes Domani <ssbssa@yahoo.de>
3747
3748 PR gdb/25325
3749 * gdb.cp/typed-enum.cc: New test.
3750 * gdb.cp/typed-enum.exp: New file.
3751
c90d28ac
AB
37522020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3753
3754 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3755 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3756 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3757 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3758 * gdb.opt/inline-small-func.c: New file.
3759 * gdb.opt/inline-small-func.exp: New file.
3760 * gdb.opt/inline-small-func.h: New file.
3761
34e9a9fa
AB
37622020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3763
3764 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3765 function.
3766
6a354911
AB
37672020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3768
3769 * lib/dwarf.exp (function_range): Allow compiler options to be
3770 specified.
3771
880d9777
TV
37722020-04-02 Tom de Vries <tdevries@suse.de>
3773
3774 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3775 __attribute__((always_inline)).
3776 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3777
f32682ea
TV
37782020-04-02 Tom de Vries <tdevries@suse.de>
3779
3780 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3781 (gdbserver_gdb_exit): ... here. Add timeout warning.
3782 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3783 (connect_target_extended_remote): Append new server_spawn_id to
3784 server_spawn_ids.
3785 (cleanup): New proc.
3786 (setup, <toplevel>): Call cleanup.
3787
d3214198
TV
37882020-04-02 Tom de Vries <tdevries@suse.de>
3789
3790 * gdb.base/main-psymtab.exp: New file.
3791
cc77ed24
TV
37922020-04-02 Tom de Vries <tdevries@suse.de>
3793
3794 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3795
3638a098
TT
37962020-04-01 Tom Tromey <tom@tromey.com>
3797
3798 * gdb.base/complex-parts.exp: Add type tests.
3799
c34e8714
TT
38002020-04-01 Tom Tromey <tom@tromey.com>
3801
3802 * gdb.base/complex-parts.exp: Add arithmetic tests.
3803
981c08ce
TT
38042020-04-01 Tom Tromey <tom@tromey.com>
3805
3806 * gdb.compile/compile.exp: Update.
3807 * gdb.compile/compile-cplus.exp: Update.
3808 * gdb.base/varargs.exp: Update.
3809 * gdb.base/floatn.exp: Update.
3810 * gdb.base/endianity.exp: Update.
3811 * gdb.base/callfuncs.exp (do_function_calls): Update.
3812 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3813 (complex_float_integral_args): Update.
3814 * gdb.base/complex.exp: Update.
3815 * gdb.base/complex-parts.exp: Update.
3816
3d1cfd43
TT
38172020-04-01 Tom Tromey <tromey@adacore.com>
3818
3819 * gdb.rust/union.rs: New file.
3820 * gdb.rust/union.exp: New file.
3821 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3822 (main): Update.
3823 * gdb.rust/simple.exp: Move union tests to union.exp.
3824
e033dfa9
TT
38252020-04-01 Tom Tromey <tromey@adacore.com>
3826
3827 * gdb.rust/simple.rs (main): Remove "y0".
3828
53cccef1
TBA
38292020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3830
3831 * gdb.multi/stop-all-on-exit.c: New test.
3832 * gdb.multi/stop-all-on-exit.exp: New file.
3833
60e22c1e
HD
38342020-04-01 Hannes Domani <ssbssa@yahoo.de>
3835
3836 PR gdb/24789
3837 * gdb.cp/misc.cc: Add integer reference variable.
3838 * gdb.cp/misc.exp: Add test.
3839
e139a727
TBA
38402020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3841
3842 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3843 scenario to cover execution until the end and also the case
3844
16b0db75
TV
38452020-03-31 Tom de Vries <tdevries@suse.de>
3846
3847 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3848 c. Use "maint info symtabs" to check symtab expansion.
3849
c0502da6
TV
38502020-03-30 Tom de Vries <tdevries@suse.de>
3851
3852 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3853 unsupported.
3854 (verify_psymtab_expanded): Move ...
3855 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3856 test.
3857 (readnow): New proc.
3858
5935fd15
AB
38592020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3860
3861 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3862 with $hex.
3863
1773be9e
TT
38642020-03-20 Tom Tromey <tromey@adacore.com>
3865
3866 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3867
70304be9
TT
38682020-03-20 Tom Tromey <tromey@adacore.com>
3869
3870 * gdb.ada/sub_variant/subv.adb: New file.
3871 * gdb.ada/sub_variant.exp: New file.
3872
0dd7b8f7
TV
38732020-03-20 Tom de Vries <tdevries@suse.de>
3874
3875 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3876 first break fails.
3877 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3878
cada5fc9
AB
38792020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3880
3881 * gdb.server/exit-multiple-threads.c: New file.
3882 * gdb.server/exit-multiple-threads.exp: New file.
3883
6b8c53f2
AB
38842020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3885
3886 * gdb.fortran/mixed-lang-stack.c: New file.
3887 * gdb.fortran/mixed-lang-stack.cpp: New file.
3888 * gdb.fortran/mixed-lang-stack.exp: New file.
3889 * gdb.fortran/mixed-lang-stack.f90: New file.
3890
19a2740f
AB
38912020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3892
3893 * gdb.linespec/cp-completion-aliases.cc: New file.
3894 * gdb.linespec/cp-completion-aliases.exp: New file.
3895
d8c8b848
TV
38962020-03-19 Tom de Vries <tdevries@suse.de>
3897
3898 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3899 more precise.
3900
a9933ccf
TV
39012020-03-18 Tom de Vries <tdevries@suse.de>
3902
3903 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3904 * gdb.dwarf2/break-inline-psymtab.c: New test.
3905 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3906
2f89101f
TV
39072020-03-16 Tom de Vries <tdevries@suse.de>
3908
3909 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3910 cache_verify and cache_verify_proc.
3911
6b9374f1
TV
39122020-03-15 Tom de Vries <tdevries@suse.de>
3913
3914 * gdb.server/solib-list.exp: Handle
3915 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3916
eaeaf44c
TV
39172020-03-15 Tom de Vries <tdevries@suse.de>
3918
3919 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3920 objfiles".
3921
3293bbaf
TT
39222020-03-14 Tom Tromey <tom@tromey.com>
3923
3924 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3925
ab44624c
TV
39262020-03-14 Tom de Vries <tdevries@suse.de>
3927
3928 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3929
54c43825
TV
39302020-03-14 Tom de Vries <tdevries@suse.de>
3931
3932 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3933 result in line-by-line fashion.
3934
2ac70237
TV
39352020-03-14 Tom de Vries <tdevries@suse.de>
3936
3937 * lib/gdb.exp (supports_statement_frontiers): New proc.
3938 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3939
09546b56
TV
39402020-03-14 Tom de Vries <tdevries@suse.de>
3941
3942 * gdb.base/printcmds.exp: Add missing quoting for "print
3943 teststring2".
3944
a1f6a07c
TT
39452020-03-13 Tom Tromey <tom@tromey.com>
3946
3947 * gdb.base/printcmds.exp (test_print_strings): Add regression
3948 test.
3949 * gdb.base/printcmds.c (charptr): New typedef.
3950 (teststring2): New global.
3951
1b83d09c
AB
39522020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3953
3954 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3955 full path in the test name.
3956 (test_ld): Add some with_test_prefix blocks to make test names
3957 unique.
3958
2d61316c
TV
39592020-03-13 Tom de Vries <tdevries@suse.de>
3960
3961 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3962
2e9145ac
TV
39632020-03-13 Tom de Vries <tdevries@suse.de>
3964
3965 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3966
96c7f873
TV
39672020-03-13 Tom de Vries <tdevries@suse.de>
3968
3969 PR symtab/25646
3970 * gdb.dwarf2/imported-unit.exp: Add test.
3971
49ba92c0
TV
39722020-03-13 Tom de Vries <tdevries@suse.de>
3973
3974 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3975 (var1, var2): New variable.
3976 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3977 matching symbols.
3978
301b21e0
TV
39792020-03-13 Tom de Vries <tdevries@suse.de>
3980
3981 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3982 (Term::command): Use prompt prefix.
3983 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3984 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3985 command_no_prompt_prefix instead of prefix.
3986 * gdb.tui/tui-layout-asm.exp: Same.
3987
3f512721
SM
39882020-03-12 Simon Marchi <simon.marchi@efficios.com>
3989
3990 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3991
40310f30
SM
39922020-03-12 Simon Marchi <simon.marchi@efficios.com>
3993
3994 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3995 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3996 on" while stepping over the test instruction, match printed
3997 message.
3998
09252140
TV
39992020-03-12 Tom de Vries <tdevries@suse.de>
4000
4001 * gdb.base/info-types.exp: Use exp_continue during matching of output
4002 of "info types".
4003
14e9c72c
TV
40042020-03-12 Tom de Vries <tdevries@suse.de>
4005
4006 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4007
e515d67e
TV
40082020-03-12 Tom de Vries <tdevries@suse.de>
4009
4010 * gdb.fortran/module.exp: Use exp_continue during matching of output
4011 of "info variable -n".
4012
307eafd8
TV
40132020-03-12 Tom de Vries <tdevries@suse.de>
4014
4015 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4016 gdb.dwarf2/dw2-ranges-base.c.
4017
9a2de3fc
TV
40182020-03-12 Tom de Vries <tdevries@suse.de>
4019
4020 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4021 in presence of GLIBC debuginfo.
4022
3217502e
TV
40232020-03-12 Tom de Vries <tdevries@suse.de>
4024
4025 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4026 $core.
4027
1281424c
TV
40282020-03-12 Tom de Vries <tdevries@suse.de>
4029
4030 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4031 more precise.
4032
038b97fc
SM
40332020-03-11 Simon Marchi <simon.marchi@efficios.com>
4034
4035 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4036 from Unix to Windows path.
4037
5308d1e7
TV
40382020-03-11 Tom de Vries <tdevries@suse.de>
4039
4040 * gdb.ada/minsyms.exp: Set language to ada.
4041
f870f78f
TV
40422020-03-11 Tom de Vries <tdevries@suse.de>
4043
4044 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4045
5a13315d
TV
40462020-03-11 Tom de Vries <tdevries@suse.de>
4047
4048 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4049
976862ed
TT
40502020-03-11 Tom Tromey <tromey@adacore.com>
4051
4052 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4053
7462c383
TV
40542020-03-11 Tom de Vries <tdevries@suse.de>
4055
4056 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4057
1c6c46a0
TV
40582020-03-11 Tom de Vries <tdevries@suse.de>
4059
4060 * gdb.base/break-interp.exp: Limit verbose scope.
4061
44f41bb7
TV
40622020-03-11 Tom de Vries <tdevries@suse.de>
4063
4064 * gdb.fortran/logical.f90: Define variable with character type.
4065 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4066
b76f3a42
TV
40672020-03-11 Tom de Vries <tdevries@suse.de>
4068
4069 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4070
1c33af77
TV
40712020-03-11 Tom de Vries <tdevries@suse.de>
4072
4073 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4074 symtabs.
4075
8c95582d
AB
40762020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4077 Bernd Edlinger <bernd.edlinger@hotmail.de>
4078
4079 * gdb.cp/step-and-next-inline.cc: New file.
4080 * gdb.cp/step-and-next-inline.exp: New file.
4081 * gdb.cp/step-and-next-inline.h: New file.
4082 * gdb.dwarf2/dw2-is-stmt.c: New file.
4083 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4084 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4085 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4086 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4087
cecf8547
AB
40882020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4089
4090 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4091 is-stmt flag in the line table.
4092
0ba678c9
TV
40932020-03-09 Tom de Vries <tdevries@suse.de>
4094
4095 * lib/gdb.exp (cached_file): Create cache dir.
4096
72fbdf83
TV
40972020-03-07 Tom de Vries <tdevries@suse.de>
4098
4099 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4100 * gdb.cp/rvalue-ref-params.exp: Same.
4101
436b5e99
TV
41022020-03-06 Tom de Vries <tdevries@suse.de>
4103
4104 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4105 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4106
09f2921c
TV
41072020-03-06 Tom de Vries <tdevries@suse.de>
4108
4109 * README: Fix "the the".
4110 * gdb.base/dprintf.exp: Same.
4111
50a3cc5d
TV
41122020-03-05 Tom de Vries <tdevries@suse.de>
4113
4114 * gdb.base/maint.exp: Update "main print statistics" expected output.
4115
0a709cba
AKS
41162020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4117
4118 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4119 (fortran_int8): Likewise.
4120 (fortran_real4): Likewise.
4121 (fortran_real8): Likewise.
4122 (fortran_complex4): Likewise.
4123 (fortran_logical4): Likewise.
4124 (fortran_character1): Likewise.
4125
5e5d66b6
AB
41262020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4127
4128 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4129 printed as true.
4130
7b973adc
SDJ
41312020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4132
4133 * gdb.base/printcmds.exp: Add test to verify printf of a
4134 variable holding an address.
4135
478e490a
TV
41362020-03-03 Tom de Vries <tdevries@suse.de>
4137
4138 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4139
1ef44e86
TV
41402020-03-03 Tom de Vries <tdevries@suse.de>
4141
4142 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4143 gdb_test_multiple call.
4144
b98cc2cf
TV
41452020-03-03 Tom de Vries <tdevries@suse.de>
4146
4147 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4148 gdb_test_multiple calls.
4149
63e163f2
AB
41502020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4151
4152 * gdb.base/default.exp: Remove test of 'set history filename'.
4153 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4154 filename to the empty string.
4155 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4156 and GDBHISTSIZE.
4157
24ed6739
AB
41582020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4159
4160 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4161 disabled.
4162
590003dc 41632020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4164 Tom de Vries <tdevries@suse.de>
590003dc
TV
4165
4166 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4167 -prompt prefix, before user_code argument. Add -lbl option likewise.
4168 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4169 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4170 argument.
4171 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4172 have "\r\n" at start-of-line, instead of at end-of-line.
4173
f5e46084
SM
41742020-02-28 Simon Marchi <simon.marchi@efficios.com>
4175
4176 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4177 libinproctrace.so.
4178
f7a7000d
LM
41792020-02-28 Luis Machado <luis.machado@linaro.org>
4180
4181 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4182 to "p/x".
4183
718e0816
LM
41842020-02-28 Luis Machado <luis.machado@linaro.org>
4185
4186 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4187 asm/ptrace.h and error.h.
4188
13c3a74a
TV
41892020-02-28 Tom de Vries <tdevries@suse.de>
4190
4191 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4192 (struct wrapper, do_something, mundane/symada__cS): Move ...
4193 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4194 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4195 Update "print symada__cS before partial symtab expansion" regexp.
4196 Update breakpoint location. Flush symbol cache after expansion.
4197
85d2d5bb
LM
41982020-02-28 Luis Machado <luis.machado@linaro.org>
4199
4200 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4201
3608f86c
TV
42022020-02-27 Tom de Vries <tdevries@suse.de>
4203
4204 * config/sid.exp: Remove unused globals.
4205 * gdb.base/attach.exp: Same.
4206 * gdb.base/catch-load.exp: Same.
4207 * gdb.base/dbx.exp: Same.
4208 * lib/gdb.exp: Same.
4209 * lib/mi-support.exp: Same.
4210 * lib/prompt.exp: Same.
4211
c8d4f6df
TV
42122020-02-27 Tom de Vries <tdevries@suse.de>
4213
4214 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4215 not set.
4216
0d79cdc4
AM
42172020-02-26 Aaron Merey <amerey@redhat.com>
4218
4219 * gdb.debuginfod: New directory for debuginfod tests.
4220 * gdb.debuginfod/main.c: New test file.
4221 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4222
0dce4280
TV
42232020-02-26 Tom de Vries <tdevries@suse.de>
4224
4225 PR gdb/25603
4226 * gdb.base/persistent-lang.cc: New test.
4227 * gdb.base/persistent-lang.exp: New file.
4228
9e80cfa1
AB
42292020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4230
4231 * gdb.fortran/derived-type-striding.exp: Add a new test.
4232 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4233 new test.
4234
2078dbb2
AB
42352020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4236
4237 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4238 names.
4239
70d49700
TV
42402020-02-25 Tom de Vries <tdevries@suse.de>
4241
4242 PR go/18926
4243 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4244
a88ef40d
TV
42452020-02-24 Tom de Vries <tdevries@suse.de>
4246
4247 PR gdb/25592
4248 * gdb.base/info-locals-unused-static-var.c: New test.
4249 * gdb.base/info-locals-unused-static-var.exp: New file.
4250
01b1af32
TT
42512020-02-22 Tom Tromey <tom@tromey.com>
4252
4253 * gdb.python/tui-window.exp: New file.
4254 * gdb.python/tui-window.py: New file.
4255
7c043ba6
TT
42562020-02-22 Tom Tromey <tom@tromey.com>
4257
4258 PR tui/17850:
4259 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4260 tests.
4261
c22fef7e
TT
42622020-02-22 Tom Tromey <tom@tromey.com>
4263
4264 * gdb.tui/new-layout.exp: Add sub-layout tests.
4265
ee325b61
TT
42662020-02-22 Tom Tromey <tom@tromey.com>
4267
4268 * gdb.tui/new-layout.exp: New file.
4269
3f0cbb04
TT
42702020-02-22 Tom Tromey <tom@tromey.com>
4271
4272 * gdb.rust/rust-style.rs: New file.
4273 * gdb.rust/rust-style.exp: New file.
4274 * gdb.base/style.exp: Test structure printing.
4275 * gdb.base/style.c (struct some_struct): New type.
4276 (enum etype): New type.
4277 (struct_value): New global.
4278
75525152
TV
42792020-02-21 Tom de Vries <tdevries@suse.de>
4280
4281 PR go/18926
4282 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4283 Remove blanket xfails. Use message argument for gdb_breakpoint.
4284 Make continuing to breakpoint test conditional on setting breakpoint.
4285 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4286 DW_AT_name attribute. Add xfail for GCC PR93866.
4287
bd360d30
AB
42882020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4289
4290 * gdb.dwarf2/cpp-linkage-name.c: New file.
4291 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4292
c7adb09f 42932020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4294
4295 * lib/gdb.exp (gdb_wrapper_init): Reset
4296 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4297 not exist.
4298
a9c79803
TV
42992020-02-20 Tom de Vries <tdevries@suse.de>
4300
4301 PR go/17018
4302 * gdb.go/hello.exp: Copy ...
4303 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4304 print of st to print value of global definition. Add xfail for GCC
4305 PR93844.
4306 * gdb.go/hello.exp: Remove printing of st before definition.
4307 * gdb.go/hello.go: Copy ...
4308 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4309 to st.
4310 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4311
d7445728
TV
43122020-02-20 Tom de Vries <tdevries@suse.de>
4313
4314 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4315 (gdb_simple_compile): Handle compile_flags go by using .go extension
4316 for source file.
4317 * gdb.go/chan.exp: Use support_go_compile.
4318 * gdb.go/handcall.exp: Same.
4319 * gdb.go/hello.exp: Same.
4320 * gdb.go/integers.exp: Same.
4321 * gdb.go/max-depth.exp: Same.
4322 * gdb.go/methods.exp: Same.
4323 * gdb.go/package.exp: Same.
4324 * gdb.go/strings.exp: Same.
4325 * gdb.go/types.exp: Same.
4326 * gdb.go/unsafe.exp: Same.
4327
c9c41e6d
TV
43282020-02-19 Tom de Vries <tdevries@suse.de>
4329
4330 * gdb.python/lib-types.exp: Make xfail more strict.
4331
f20ff837
TV
43322020-02-19 Tom de Vries <tdevries@suse.de>
4333
4334 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4335
08410482
DE
43362020-02-19 Doug Evans <dje@google.com>
4337
4338 PR rust/25535
4339 * gdb.rust/simple.exp: Add test.
4340 * gdb.rust/simple.rs: Add test.
4341
623563f7
TV
43422020-02-19 Tom de Vries <tdevries@suse.de>
4343
4344 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4345 output line-by-line.
4346
d3308cfd
TV
43472020-02-19 Tom de Vries <tdevries@suse.de>
4348
4349 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4350
86cbc5dc
TV
43512020-02-19 Tom de Vries <tdevries@suse.de>
4352
4353 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4354 prelink.
4355
9db2b96b
TV
43562020-02-19 Tom de Vries <tdevries@suse.de>
4357
4358 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4359 (gdb_do_cache): Use gdb_do_cache_wrap.
4360 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4361
89e2fdc5
TV
43622020-02-19 Tom de Vries <tdevries@suse.de>
4363
4364 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4365 gdb_compile option.
4366
373d7ac0
SM
43672020-02-18 Simon Marchi <simon.marchi@efficios.com>
4368
4369 * gdb.base/printcmds.exp (test_print_enums): Update expected
4370 output.
4371
b29a2df0
SM
43722020-02-18 Simon Marchi <simon.marchi@efficios.com>
4373
4374 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4375 for "unknown".
4376
6740f0cc
SM
43772020-02-18 Simon Marchi <simon.marchi@efficios.com>
4378
4379 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4380 enumerator.
4381
edd45eb0
SM
43822020-02-18 Simon Marchi <simon.marchi@efficios.com>
4383
4384 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4385 FE_, add FE_NONE.
4386 (three): Update.
4387 (enum flag_enum_without_zero): New enum.
4388 (flag_enum_without_zero): New variable.
4389 (enum not_flag_enum): New enum.
4390 (three_not_flag): New variable.
4391 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4392 (test_print_enums): Add more tests for printing flag enums.
4393
d4295de4
TV
43942020-02-18 Tom de Vries <tdevries@suse.de>
4395
4396 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4397 (gdb_compile_ada): ... here.
4398 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4399 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4400
f251f505
TT
44012020-02-14 Tom Tromey <tom@tromey.com>
4402
4403 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4404 build directory.
4405 * boards/gdbserver-base.exp: Update path to gdbserver.
4406
8f432634
TV
44072020-02-13 Tom de Vries <tdevries@suse.de>
4408
4409 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4410
92b6eaf7
TV
44112020-02-13 Tom de Vries <tdevries@suse.de>
4412
4413 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4414 are missing.
4415
f3b0f7fe
TV
44162020-02-13 Tom de Vries <tdevries@suse.de>
4417
4418 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4419 call.
4420
f6be8713
SDJ
44212020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4422
4423 PR tui/25126
4424 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
4425 * gdb.base/cached-source-file.c: New file.
4426 * gdb.base/cached-source-file.exp: New file.
4427
b2770d5e
TV
44282020-02-11 Tom de Vries <tdevries@suse.de>
4429
4430 PR testsuite/25488
4431 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4432
44f6938e
TV
44332020-02-10 Tom de Vries <tdevries@suse.de>
4434
4435 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4436
5f0e2eb7
MR
44372020-02-10 Maciej W. Rozycki <macro@wdc.com>
4438
4439 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4440 and $after_addr are both integers before making a comparison.
4441
46ce2b6f
TV
44422020-02-09 Tom de Vries <tdevries@suse.de>
4443
4444 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4445 command output and paste it into gdb.log. If any, paste catch message
4446 to gdb.log.
4447
5abbbe1d
TT
44482020-02-07 Tom Tromey <tromey@adacore.com>
4449
4450 PR breakpoints/24915:
4451 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4452
1d5d29e7
SV
44532020-02-06 Shahab Vahedi <shahab@synopsys.com>
4454
4455 * gdb.tui/tui-missing-src.exp: Add the "missing source
4456 file" test for the TUI.
4457
b0999b9b
AB
44582020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4459
4460 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4461 including a port number in the output.
4462
c3b149eb
AKS
44632020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4464
4465 * lib/fortran.exp (fortran_int4): Handle clang.
4466 (fortran_int8): Likewise.
4467 (fortran_real4): Likewise.
4468 (fortran_real8): Likewise.
4469 (fortran_complex4): Likewise.
4470 (fortran_logical4): Likewise.
4471 (fortran_character1): Likewise.
4472
f8dcc90b
TV
44732020-02-04 Tom de Vries <tdevries@suse.de>
4474
4475 * README (Race detection): Add note.
4476
f90ac7c2
TV
44772020-02-04 Tom de Vries <tdevries@suse.de>
4478
4479 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4480
780636ae
TV
44812020-02-04 Tom de Vries <tdevries@suse.de>
4482
4483 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4484
5d2e1193
RA
44852020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4486
4487 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4488 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4489 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4490 blttar, bnetarl.
4491 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4492 binary for blttar, bnetarl.
4493 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4494 wait instruction. Delete ldmx test.
4495 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4496
e409c542
AKS
44972020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4498
4499 * gdb.fortran/array-bounds-high.exp: New file.
4500 * gdb.fortran/array-bounds-high.f90: New file.
4501
b0029748
LD
45022020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4503
4504 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4505 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4506
195a8287
TV
45072020-02-01 Tom de Vries <tdevries@suse.de>
4508
4509 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4510
42330a68
AB
45112020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4512
4513 PR tui/9765
4514 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4515 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4516
b62a8028
LM
45172020-01-29 Luis Machado <luis.machado@linaro.org>
4518
4519 * gdb.arch/aarch64-brk-patterns.c: New source file.
4520 * gdb.arch/aarch64-brk-patterns.exp: New test.
4521
5f440116
TBA
45222020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4523
4524 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4525 GCC/Clang version.
4526 * gdb.cp/pass-by-ref.exp: Ditto.
4527
ee2a6fc6
TV
45282020-01-29 Tom de Vries <tdevries@suse.de>
4529
4530 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4531 * gdb.threads/watchpoint-fork-mt.c: Same.
4532 * gdb.threads/watchpoint-fork-parent.c: Same.
4533 * gdb.threads/watchpoint-fork-st.c: Same.
4534 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4535
16b10d6e
LM
45362020-01-27 Luis Machado <luis.machado@linaro.org>
4537
4538 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4539 sitting at a syscall instruction when we hit the syscall function's
4540 breakpoint.
4541 Check PC against one obtained with the x command.
4542 Validate syscall number.
4543 (step_over_syscall): Don't continue to the syscall instruction if
4544 we're already there.
4545
b1468492
PW
45462020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4547
4548 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4549
7ffa82e1
AB
45502020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4551
4552 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4553 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4554
3d92a3e3
AB
45552020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4556
4557 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4558 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4559
94a72be7
AB
45602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4561
4562 * gdb.base/maint.exp: Update line table parsing test.
4563 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4564
53af73bf
PA
45652020-01-24 Pedro Alves <palves@redhat.com>
4566
4567 PR gdb/25410
4568 * gdb.multi/multi-re-run-1.c: New.
4569 * gdb.multi/multi-re-run-2.c: New.
4570 * gdb.multi/multi-re-run.exp: New.
4571
1ba1ac88
AB
45722020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4573
4574 PR gdb/23718
4575 * gdb.server/server-kill-python.exp: New file.
4576
f3364a6d
AB
45772020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4578
4579 * gdb.server/multi-ui-errors.c: New file.
4580 * gdb.server/multi-ui-errors.exp: New file.
4581
733d0a67
AB
45822020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4583
4584 PR tui/9765
4585 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4586
4f13c1c0
TT
45872020-01-19 Tom Tromey <tom@tromey.com>
4588
4589 * gdb.tui/main.exp: Add check for plain "file".
4590
40c94099
CB
45912020-01-16 Christian Biesinger <cbiesinger@google.com>
4592
4593 * lib/gdb.exp: Fix spelling error (seperatelly).
4594
ff47f4f0
TT
45952020-01-14 Tom Tromey <tom@tromey.com>
4596
4597 PR symtab/12535:
4598 * gdb.python/python.exp: Test decode_line with empty string
4599 argument.
4600
717c684d
BE
46012020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4602
4603 * gdb.base/skip-inline.exp: Extend test.
4604
44e4c775
AB
46052020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4606
4607 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4608 * gdb.dwarf2/dw2-bad-elf.c: New file.
4609 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4610
d93c6db7
AB
46112020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4612
4613 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4614 _line_saw_file.
4615
9a6d629c
AB
46162020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4617
4618 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4619 border.
4620
d9ebdab7
TBA
46212020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4622
4623 * gdb.multi/multi-target.exp (setup): Factor out "info
4624 connections" and "info inferiors" tests to ...
4625 (test_info_inferiors): ... this new procedure.
4626 (top level): Run new "info-inferiors" tests.
4627
f3c469b9
PA
46282020-01-10 Pedro Alves <palves@redhat.com>
4629
4630 * gdb.server/bkpt-other-inferior.exp: New file.
4631
121b3efd
PA
46322020-01-10 Pedro Alves <palves@redhat.com>
4633
4634 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4635 of "add-inferior".
4636 * gdb.base/quit-live.exp: Likewise.
4637 * gdb.base/remote-exec-file.exp: Likewise.
4638 * gdb.guile/scm-progspace.exp: Likewise.
4639 * gdb.linespec/linespec.exp: Likewise.
4640 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4641 * gdb.mi/user-selected-context-sync.exp: Likewise.
4642 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4643 "info inferiors" tests.
4644 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4645 "add-inferior".
4646 * gdb.multi/watchpoint-multi.exp: Likewise.
4647 * gdb.python/py-inferior.exp: Likewise.
4648 * gdb.server/extended-remote-restart.exp: Likewise.
4649 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4650 "info inferiors".
4651 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4652 * gdb.trace/report.exp: Likewise.
4653
1dadb1dd
PA
46542020-01-10 Pedro Alves <palves@redhat.com>
4655
4656 * gdb.multi/multi-target.c: New file.
4657 * gdb.multi/multi-target.exp: New file.
4658 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4659 mode requested, but remote does not support non-stop".
4660
78f2c40a
PA
46612020-01-10 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4664 disconnect before reconnecting.
4665
e7af6c70
TBA
46662020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4667 Pedro Alves <palves@redhat.com>
4668
4669 * gdb.server/connect-without-multi-process.exp: Also test
4670 continuing to end.
4671
acdf84a6
PA
46722020-01-10 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.base/remote-exec-file.exp: New file.
4675
873657b9
PA
46762020-01-10 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4679 output.
4680 * gdb.threads/async.c: New.
4681 * gdb.threads/async.exp: New.
4682 * gdb.multi/tids-gid-reset.c: New.
4683 * gdb.multi/tids-gid-reset.exp: New.
4684
7f0ae84c
GB
46852020-01-10 George Barrett <bob@bob131.so>
4686
4687 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4688 to help in finding the image relocation offset.
4689 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4690 options in arguments.
4691 (stap_test_no_debuginfo): Likewise.
4692 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4693 test variants.
4694 (stap_test): Add null semaphore relocation test.
4695
47e9d49d
GB
46962020-01-10 George Barrett <bob@bob131.so>
4697
4698 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4699 * gdb.base/stap-probe.exp: Likewise.
4700 (stap_test): Pass argument as an additional flag.
4701 (stap_test_no_debuginfo): Likewise.
4702 (stap_test): Check `info probes stap' output for semaphore
4703 addresses if the test binary is supposed to have them.
4704
f5a7c406
AB
47052020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4706
4707 * gdb.tui/basic.exp: Add more scrolling tests.
4708
9ae6bf64
TT
47092020-01-09 Tom Tromey <tom@tromey.com>
4710
4711 PR tui/18932:
4712 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4713 meangingful value.
4714 (Term::command, Term::resize): Update.
4715 * gdb.tui/basic.exp: Add scrolling test.
4716
b2efe70c
AB
47172020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4718
4719 * gdb.tui/tui-layout-asm.exp: New file.
4720
3804da7e
AB
47212020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4722
4723 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4724
b40aa28f
AB
47252020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4726
4727 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4728 (Term::enter_tui): Use Term::prepare_for_tui.
4729
63ffd7c9
AB
47302020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4731
4732 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4733 called.
4734
3be966f6
AB
47352020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4736
4737 * gdb.base/skip.exp: Fix race condition in test.
4738
153d79c4
AB
47392020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4740
4741 * gdb.base/backtrace.c: New file.
4742 * gdb.base/backtrace.exp: New file.
4743
f2302a34
AB
47442020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4745
4746 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4747
6ec1d75e
PW
47482020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4749
4750 * gdb.base/style.exp: Test that warnings are styled.
4751
c296cbe6
BE
47522019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4753
4754 * gdb.base/line65535.exp: New file.
4755 * gdb.base/line65535.c: New file.
4756
b28a729d
SM
47572019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4758
4759 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4760 * lib/gnat_debug_info_test.adb: New file.
4761 * gdb.ada/ptype_tagged_param.exp: Use
4762 gnat_runtime_has_debug_info, expect a different output if
4763 runtime does not have debug info.
4764
7f2d7a0d
SM
47652019-12-20 Simon Marchi <simon.marchi@efficios.com>
4766
4767 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4768 (another) quote in test name.
4769
f3bce483
SM
47702019-12-20 Simon Marchi <simon.marchi@efficios.com>
4771
4772 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4773 Add quote in test name.
4774
c855a912
TBA
47752019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4776
4777 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4778 directory instead.
4779 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4780 * gdb.cp/pass-by-ref-2.cc: New file.
4781 * gdb.cp/pass-by-ref-2.exp: New file.
4782
fc9d2d72
TT
47832019-12-20 Tom Tromey <tom@tromey.com>
4784
4785 * gdb.tui/list-before.exp: New file.
4786
77b97e00
TT
47872019-12-20 Tom Tromey <tom@tromey.com>
4788
4789 * gdb.tui/list.exp: Check for source on initial listing.
4790
f69656d0
TT
47912019-12-11 Tom Tromey <tromey@adacore.com>
4792
4793 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4794 Add crlf test.
4795
99a55965
SM
47962019-12-18 Simon Marchi <simon.marchi@efficios.com>
4797
4798 * gdb.base/default.exp: Update value of $_gdb_major.
4799
5024637f
BE
48002019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4801
4802 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4803
b63634be
BE
48042019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4805
4806 * gdb.base/skip.exp: Whitespace fix.
4807
45d73523
BE
48082019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4809
4810 * gdb.base/skip-inline.c: New file.
4811 * gdb.base/skip-inline.exp: New file.
4812
d043f8c8
SM
48132019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4814
4815 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4816 jit_function_00 to jit_function_stack_mangle.
4817 * gdb.base/jithost.c (jit_function_t): Rename to...
4818 (jit_function_stack_mangle_t): ... this.
4819 (jit_function_add_t): New typedef.
4820 (jit_function_00_code): Rename to...
4821 (jit_function_stack_mangle_code): ... this, make static.
4822 (jit_function_add_code): New.
4823 (main): Generate "add" function and call it. Adjust to changes
4824 in jithost_abi.
4825 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4826 (struct jithost_abi) <begin, end>: Remove fields.
4827 <object, function_stack_mangle, function_add>: New fields.
4828 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4829 code_end>: Remove fields.
4830 <func_stack_mangle>: New field.
4831 (read_debug_info): Adjust to renaming, create block for "add"
4832 function.
4833 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4834
873de05c
TT
48352019-12-11 Tom Tromey <tom@tromey.com>
4836
4837 * gdb.tui/resize.exp: Fix regexp.
4838 * gdb.tui/regs.exp: Fix regexps.
4839 * gdb.tui/main.exp: Fix regexp.
4840
3d979945
TT
48412019-12-11 Tom Tromey <tom@tromey.com>
4842
4843 * gdb.tui/resize.exp: Update.
4844 * gdb.tui/empty.exp (layouts): Update.
4845
2192a9d3
TT
48462019-12-11 Tom Tromey <tom@tromey.com>
4847
4848 * gdb.tui/regs.exp: Update.
4849 * gdb.tui/empty.exp (layouts): Update.
4850 * gdb.tui/basic.exp: Update.
4851 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4852
d8edc8b7
PW
48532019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4854
4855 * gdb.base/options.exp: Add -raw-values in the print completion list.
4856 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4857
4c12d936
KB
48582019-12-10 Kevin Buettner <kevinb@redhat.com>
4859
4860 * gdb.threads/omp-par-scope.c: New file.
4861 * gdb/threads/omp-par-scope.exp: New file.
4862
26b911fb
KB
48632019-12-10 Kevin Buettner <kevinb@redhat.com>
4864
bb47f919
KB
4865 * lib/gdb.exp (support_nested_function_tests): New proc.
4866
48672019-12-10 Kevin Buettner <kevinb@redhat.com>
4868
4869 * lib/gdb.exp (gdb_compile_openmp): New proc.
4870 (build_executable_from_specs): Add an "openmp" option.
4871 (gdb_compile_pthreads): Add non-executable case.
26b911fb 4872
6c71eb7d
TT
48732019-12-10 Tom Tromey <tromey@adacore.com>
4874
4875 * gdb.ada/unchecked_union.exp: New file.
4876 * gdb.ada/unchecked_union/pck.adb: New file.
4877 * gdb.ada/unchecked_union/pck.ads: New file.
4878 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4879 * gdb-utils.exp (string_to_regexp): Also quote "?".
4880
bac7c5cf
GB
48812019-12-10 George Barrett <bob@bob131.so>
4882
4883 Test scripted probe breakpoints.
4884 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4885 * gdb.python/py-breakpoint.c (main): Likewise.
4886 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4887 specifier test.
4888 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4889
330f1d38
TBA
48902019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4891
4892 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4893 an rvalue parameter.
4894 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4895 parameter.
4896
b43315e2
AB
48972019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4898
4899 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4900 modules.
4901
54f73dad
AB
49022019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4903
4904 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4905 broken version of GCC.
4906
d57cbee9
AB
49072019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4908
4909 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4910 sym-info-cmds library.
4911 * gdb.fortran/info-types.exp: Likewise.
4912 * lib/sym-info-cmds.exp: New file.
4913
c14aab8c
TV
49142019-12-08 Tom de Vries <tdevries@suse.de>
4915
4916 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4917
aa2d5a42
KS
49182019-12-07 Keith Seitz <keiths@redhat.com>
4919
4920 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4921 * gdb.base/corefile-buildid-shlib.c: New file.
4922 * gdb.base/corefile-buildid.c: New file.
4923 * gdb.base/corefile-buildid.exp: New file.
4924
93e55f0a
TV
49252019-12-06 Tom de Vries <tdevries@suse.de>
4926
4927 * gdb.dwarf2/varval.exp: Add decl before def test.
4928
c7d12402
TBA
49292019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4930
4931 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4932
06acc08f
TBA
49332019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4934
4935 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4936 CV and reference conversion for overload resolution.
4937 * gdb.cp/rvalue-ref-overload.exp: Test it.
4938
e0fad1ea
PW
49392019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4940
4941 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4942 * gdb.base/frameapply.exp: Test faas without command.
4943
8d70a9f0
AB
49442019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4945
4946 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4947 Fortran tests.
4948 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4949 order.
4950
36c8fb93
AB
49512019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4952
4953 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4954 casting to type with no kind specified.
4955 (test_basic_parsing_of_type_kinds): Additional tests for types
4956 with no kind specified, and add tests for single/double
4957 precision/complex types.
4958
4139ff00
TT
49592019-12-04 Tom Tromey <tromey@adacore.com>
4960
4961 * gdb.base/endianity.c (struct other) <x>: New field.
4962 (main): Initialize it.
4963 * gdb.base/endianity.exp: Update.
4964
a05cf17a
TT
49652019-12-04 Tom Tromey <tromey@adacore.com>
4966
4967 * gdb.ada/scalar_storage/storage.adb: New file.
4968 * gdb.ada/scalar_storage/pck.adb: New file.
4969 * gdb.ada/scalar_storage/pck.ads: New file.
4970 * gdb.ada/scalar_storage.exp: New file.
4971
103a685e
TT
49722019-12-04 Tom Tromey <tromey@adacore.com>
4973
4974 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4975 (main): Initialize it.
4976 * gdb.base/endianity.exp: Update.
4977
c2512106
AB
49782019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4979
4980 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4981
293b38d6
AB
49822019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4983
4984 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4985 -symbol-info-module-functions and -symbol-info-module-variables.
4986
216a7e6b
AB
49872019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4988
4989 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4990
5bbd8269
AB
49912019-12-01 Richard Bunt <richard.bunt@arm.com>
4992 Andrew Burgess <andrew.burgess@embecosm.com>
4993
4994 * gdb.fortran/derived-type-striding.exp: New file.
4995 * gdb.fortran/derived-type-striding.f90: New file.
4996 * gdb.fortran/array-slices.exp: New file.
4997 * gdb.fortran/array-slices.f90: New file.
4998
be09caf1
PW
49992019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5000
5001 * gdb.base/define.exp: Test . in command names.
5002 * gdb.base/setshow.exp: Update test, as . is now part of
5003 command name.
5004
643c0cbe
PW
50052019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5006
5007 * gdb.base/define-prefix.exp: New file.
5008
dcdec678
AB
50092019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5010
5011 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5012 compile.
5013 (skip_btrace_pt_tests): Likewise.
5014
640ab947
AB
50152019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5016
5017 * gdb.fortran/info-modules.exp: Compile source files in correct
5018 order.
5019
d22670f0
KB
50202019-11-27 Kevin Buettner <kevinb@redhat.com>
5021
5022 * gdb.dwarf2/imported-unit.exp: New file.
5023 * gdb.dwarf2/imported-unit.c: New file.
5024
db5960b4
AB
50252019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5026
5027 * gdb.mi/mi-fortran-modules-2.f90: New file.
5028 * gdb.mi/mi-fortran-modules.exp: New file.
5029 * gdb.mi/mi-fortran-modules.f90: New file.
5030
7dc42066
AB
50312019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5032
5033 * gdb.mi/mi-sym-info-1.c: New file.
5034 * gdb.mi/mi-sym-info-2.c: New file.
5035 * gdb.mi/mi-sym-info.exp: New file.
5036
0dfeecca
TT
50372019-11-22 Tom Tromey <tromey@adacore.com>
5038
5039 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5040 * gdb.ada/tasks/foo.adb: Add another stopping location.
5041
34877895
PJ
50422019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5043
5044 * gdb.base/endianity.c: New test.
5045 * gdb.base/endianity.exp: New file.
5046
2e84f897
LD
50472019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5048
5049 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5050
65d1cd5f
TV
50512019-11-21 Tom de Vries <tdevries@suse.de>
5052
5053 PR gdb/24956
5054 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5055
4f22c3f4
SDJ
50562019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5057
5058 * gdb.python/py-progspace.exp: Add missing parentheses on some
5059 'print' commands.
5060
9f6ad286
TT
50612019-11-19 Tom Tromey <tom@tromey.com>
5062
5063 * gdb.tui/winheight.exp: New file.
5064
0b8dbf3f
AB
50652019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5066
5067 * gdb.base/ctf-whatis.c: Delete.
5068 * gdb.base/ctf-whatis.exp: Delete.
5069 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5070
f833b7a7
AB
50712019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5072
5073 * gdb.base/ctf-cvexpr.exp: Delete.
5074 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5075
30d0a636
AB
50762019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5077
5078 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5079 the compiler. Clean up header comment a little.
5080 * gdb.base/ctf-ptype.exp: Likewise.
5081 * gdb.base/ctf-whatis.exp: Likewise.
5082 * lib/gdb.exp (skip_ctf_tests): New proc.
5083
494409bb
SDJ
50842019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5085
5086 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5087 * gdb.tui/corefile-run.exp: New file.
5088
55708e99
TT
50892019-11-14 Tom Tromey <tromey@adacore.com>
5090
5091 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5092 regression tests.
5093
45e42163
TT
50942019-11-12 Tom Tromey <tom@tromey.com>
5095
5096 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5097 after any command. Expect prompt after WAIT_FOR is seen.
5098 (enter_tui): Enable resize messages.
5099 (command): Expect command in output.
5100 (get_line): Avoid error when cursor appears to be off-screen.
5101 (dump_screen): Include screen size in title.
5102 (_do_resize): New proc, from "resize".
5103 (resize): Rewrite. Do resize in two steps.
5104 * gdb.tui/empty.exp (layouts): Fix entries.
5105 (check_boxes): Remove xfail.
5106 (check_text): Dump screen on failure.
5107
086baaf1
AB
51082019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5109
5110 * gdb.python/py-symbol.exp: Add test for
5111 gdb.lookup_static_symbols.
5112
09ff83af
AB
51132019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5114
5115 * gdb.python/py-symbol.c: Declare and call function from new
5116 py-symbol-2.c file.
5117 * gdb.python/py-symbol.exp: Compile both source files, and add new
5118 tests for gdb.lookup_static_symbol.
5119 * gdb.python/py-symbol-2.c: New file.
5120
11af934b
TV
51212019-11-02 Tom de Vries <tdevries@suse.de>
5122
5123 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5124 * gdb.base/anon.exp: Same.
5125 * gdb.base/auto-connect-native-target.exp: Same.
5126 * gdb.base/call-ar-st.exp: Same.
5127 * gdb.base/catch-syscall.exp: Same.
5128 * gdb.base/commands.exp: Same.
5129 * gdb.base/default.exp: Same.
5130 * gdb.base/display.exp: Same.
5131 * gdb.base/float.exp: Same.
5132 * gdb.base/foll-fork.exp: Same.
5133 * gdb.base/help.exp: Same.
5134 * gdb.base/info-macros.exp: Same.
5135 * gdb.base/info-proc.exp: Same.
5136 * gdb.base/info-target.exp: Same.
5137 * gdb.base/long_long.exp: Same.
5138 * gdb.base/macscp.exp: Same.
5139 * gdb.base/memattr.exp: Same.
5140 * gdb.base/nofield.exp: Same.
5141 * gdb.base/pointers.exp: Same.
5142 * gdb.base/printcmds.exp: Same.
5143 * gdb.base/ptype.exp: Same.
5144 * gdb.base/restore.exp: Same.
5145 * gdb.base/return.exp: Same.
5146 * gdb.base/scope.exp: Same.
5147 * gdb.base/set-noassign.exp: Same.
5148 * gdb.base/setshow.exp: Same.
5149 * gdb.base/shlib-call.exp: Same.
5150 * gdb.base/signals.exp: Same.
5151 * gdb.base/sigstep.exp: Same.
5152 * gdb.base/skip.exp: Same.
5153 * gdb.base/solib-symbol.exp: Same.
5154 * gdb.base/stap-probe.exp: Same.
5155 * gdb.base/step-line.exp: Same.
5156 * gdb.base/step-test.exp: Same.
5157 * gdb.base/style.exp: Same.
5158 * gdb.base/varargs.exp: Same.
5159 * gdb.base/vla-datatypes.exp: Same.
5160 * gdb.base/vla-ptr.exp: Same.
5161 * gdb.base/vla-sideeffect.exp: Same.
5162 * gdb.base/volatile.exp: Same.
5163 * gdb.base/watch-cond-infcall.exp: Same.
5164 * gdb.base/watchpoint.exp: Same.
5165
e96ec2ba
TV
51662019-11-02 Tom de Vries <tdevries@suse.de>
5167
5168 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5169 * gdb.cp/cpexprs.exp: Same.
5170 * gdb.cp/except-multi-location.exp: Same.
5171 * gdb.cp/exceptprint.exp: Same.
5172 * gdb.cp/gdb2384.exp: Same.
5173 * gdb.cp/inherit.exp: Same.
5174 * gdb.cp/m-static.exp: Same.
5175 * gdb.cp/meth-typedefs.exp: Same.
5176 * gdb.cp/misc.exp: Same.
5177 * gdb.cp/namespace.exp: Same.
5178 * gdb.cp/non-trivial-retval.exp: Same.
5179 * gdb.cp/overload.exp: Same.
5180 * gdb.cp/pr17132.exp: Same.
5181 * gdb.cp/re-set-overloaded.exp: Same.
5182 * gdb.cp/rvalue-ref-types.exp: Same.
5183 * gdb.cp/templates.exp: Same.
5184
bd5766ec
LM
51852019-11-01 Luis Machado <luis.machado@linaro.org>
5186
5187 PR gdb/25124
5188
5189 * gdb.arch/pr25124.S: New file.
5190 * gdb.arch/pr25124.exp: New file.
5191
165f8965
AB
51922019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5193
5194 * gdb.fortran/info-modules.exp: Update expected results, and add
5195 additional tests for 'info module functinos', and 'info module
5196 variables'.
5197 * gdb.fortran/info-types.exp: Update expected results.
5198 * gdb.fortran/info-types.f90: Extend testcase with additional
5199 module variables and functions.
5200
59c35742
AB
52012019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5202
5203 * gdb.fortran/info-modules.exp: New file.
5204 * gdb.fortran/info-types.exp: Build with new file.
5205 * gdb.fortran/info-types.f90: Include and use new module.
5206 * gdb.fortran/info-types-2.f90: New file.
5207
f3fb2519
PW
52082019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5209
5210 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5211 * gdb.base/settings.exp: Test all settings types using
5212 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5213 that now verifies that the value of "maint show" is the same as
5214 returned by the settings functions. Test the type of the
5215 maintenance settings.
5216 * gdb.base/default.exp: Update show_conv_list.
5217
d1e36019
TV
52182019-10-31 Tom de Vries <tdevries@suse.de>
5219
5220 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5221 gdb_test.
5222 * gdb.arch/amd64-disp-step.exp: Same.
5223 * gdb.asm/asm-source.exp: Same.
5224 * gdb.btrace/buffer-size.exp: Same.
5225 * gdb.btrace/cpu.exp: Same.
5226 * gdb.btrace/enable.exp: Same.
5227 * gdb.dwarf2/count.exp: Same.
5228 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5229 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5230 * gdb.fortran/vla-datatypes.exp: Same.
5231 * gdb.fortran/vla-history.exp: Same.
5232 * gdb.fortran/vla-ptype.exp: Same.
5233 * gdb.fortran/vla-value.exp: Same.
5234 * gdb.fortran/whatis_type.exp: Same.
5235 * gdb.guile/guile.exp: Same.
5236 * gdb.multi/tids.exp: Same.
5237 * gdb.python/py-finish-breakpoint.exp: Same.
5238 * gdb.python/py-framefilter.exp: Same.
5239 * gdb.python/py-pp-registration.exp: Same.
5240 * gdb.python/py-xmethods.exp: Same.
5241 * gdb.python/python.exp: Same.
5242 * gdb.server/connect-with-no-symbol-file.exp: Same.
5243 * gdb.server/no-thread-db.exp: Same.
5244 * gdb.server/run-without-local-binary.exp: Same.
5245 * gdb.stabs/weird.exp: Same.
5246 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5247 * gdb.threads/thread-find.exp: Same.
5248 * gdb.threads/tls-shared.exp: Same.
5249 * gdb.threads/tls.exp: Same.
5250 * gdb.threads/wp-replication.exp: Same.
5251 * gdb.trace/ax.exp: Same.
5252 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5253
3d11e68e
TV
52542019-10-31 Tom de Vries <tdevries@suse.de>
5255
5256 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5257 * gdb.ada/array_subscript_addr.exp: Same.
5258 * gdb.ada/arrayidx.exp: Same.
5259 * gdb.ada/arrayparam.exp: Same.
5260 * gdb.ada/arrayptr.exp: Same.
5261 * gdb.ada/boolean_expr.exp: Same.
5262 * gdb.ada/call_pn.exp: Same.
5263 * gdb.ada/complete.exp: Same.
5264 * gdb.ada/fixed_cmp.exp: Same.
5265 * gdb.ada/fun_addr.exp: Same.
5266 * gdb.ada/funcall_param.exp: Same.
5267 * gdb.ada/interface.exp: Same.
5268 * gdb.ada/mod_from_name.exp: Same.
5269 * gdb.ada/null_array.exp: Same.
5270 * gdb.ada/packed_array.exp: Same.
5271 * gdb.ada/packed_tagged.exp: Same.
5272 * gdb.ada/print_chars.exp: Same.
5273 * gdb.ada/print_pc.exp: Same.
5274 * gdb.ada/ptype_arith_binop.exp: Same.
5275 * gdb.ada/ptype_field.exp: Same.
5276 * gdb.ada/ptype_tagged_param.exp: Same.
5277 * gdb.ada/rec_return.exp: Same.
5278 * gdb.ada/ref_tick_size.exp: Same.
5279 * gdb.ada/str_ref_cmp.exp: Same.
5280 * gdb.ada/taft_type.exp: Same.
5281 * gdb.ada/tagged.exp: Same.
5282 * gdb.ada/type_coercion.exp: Same.
5283 * gdb.ada/uninitialized_vars.exp: Same.
5284
60b6ede8
TV
52852019-10-30 Tom de Vries <tdevries@suse.de>
5286
5287 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5288
30baf67b
TV
52892019-10-26 Tom de Vries <tdevries@suse.de>
5290
5291 * gdb.base/bigcore.c: Fix typos in comments.
5292 * gdb.base/ctf-ptype.c: Same.
5293 * gdb.base/long_long.c: Same.
5294 * gdb.dwarf2/dw2-op-out-param.S: Same.
5295 * gdb.python/py-evthreads.c: Same.
5296 * gdb.reverse/i387-stack-reverse.c: Same.
5297 * gdb.trace/tfile.c: Same.
5298 * lib/compiler.c: Same.
5299 * lib/compiler.cc: Same.
5300
158da0d1
TV
53012019-10-25 Tom de Vries <tdevries@suse.de>
5302
5303 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5304 gdb_test_multiple calls.
5305 * gdb.reverse/sigall-reverse.exp: Same.
5306 * gdb.reverse/solib-precsave.exp: Same.
5307 * gdb.reverse/solib-reverse.exp: Same.
5308 * gdb.reverse/until-precsave.exp: Same.
5309 * gdb.reverse/until-reverse.exp: Same.
5310
4ccdfbec
TV
53112019-10-24 Tom de Vries <tdevries@suse.de>
5312
5313 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5314 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5315 kfail using -wrap pattern flag and convenience variable
5316 gdb_test_name.
5317
33d569b7
AB
53182019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5319
5320 * gdb.python/py-progspace.exp: Add tests for the
5321 Progspace.block_for_pc method.
5322
4d0b984b
TT
53232019-10-23 Tom Tromey <tom@tromey.com>
5324
5325 * configure: Rebuild.
5326 * aclocal.m4: Use m4_include, not sinclude.
5327
94cb3754
TV
53282019-10-21 Tom de Vries <tdevries@suse.de>
5329
5330 * gdb.base/infcall-nested-structs.c: Add
5331 __attribute__((noinline,noclone)) to all functions.
5332 (call_all): Add missing variable initialization. Simplify return value.
5333 (breakpt): Increment volatile variable, to prevent call from being
5334 optimized out.
5335 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5336
062f1fc1
TV
53372019-10-17 Tom de Vries <tdevries@suse.de>
5338
5339 * gdb.fortran/module.exp: Allow info variables to print info for files
5340 other than module.f90.
5341
0b54364d
AB
53422019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5343
5344 * gdb.fortran/module.exp: Extend with 'info variables' test.
5345
7ff5fae7
AB
53462019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5347
5348 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5349 F77_FOR_TARGET.
5350
d10eccaa
TV
53512019-10-16 Tom de Vries <tdevries@suse.de>
5352
5353 PR tdep/25096
5354 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5355
745ff14e
TV
53562019-10-16 Tom de Vries <tdevries@suse.de>
5357
5358 PR tdep/24104
5359 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5360 Add KFAIL for PR tdep/25096.
5361
03e1ab94
TV
53622019-10-16 Tom de Vries <tdevries@suse.de>
5363
5364 PR testsuite/25059
5365 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5366
b17fcc10
TV
53672019-10-16 Tom de Vries <tdevries@suse.de>
5368
5369 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5370 as signed.
5371
9223170f
SM
53722019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5373
5374 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5375 one instead of increasing timeout.
5376
d6e76313
TV
53772019-10-13 Tom de Vries <tdevries@suse.de>
5378
5379 PR record/25038
5380 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5381 * gdb.reverse/sigall-reverse.exp: Same.
5382 * gdb.reverse/solib-precsave.exp: Same.
5383 * gdb.reverse/solib-reverse.exp: Same.
5384 * gdb.reverse/step-precsave.exp: Same.
5385 * gdb.reverse/until-precsave.exp: Same.
5386 * gdb.reverse/until-reverse.exp: Same.
5387 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5388
6dfc0041
AA
53892019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5390
5391 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5392 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5393 (cmp_struct_05_01, cmp_struct_static_02_01)
5394 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5395 comparisons.
5396
abcf2cc8
TV
53972019-10-10 Tom de Vries <tdevries@suse.de>
5398
5399 PR testsuite/24888
5400 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5401 gnatlink.
5402
a50faaf6
TV
54032019-10-09 Tom de Vries <tdevries@suse.de>
5404
5405 PR testsuite/25048
5406 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5407
60ff3cd7
AB
54082019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5409
5410 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5411 exceptions due to missing debug information.
5412
dfee8566
TV
54132019-10-07 Tom de Vries <tdevries@suse.de>
5414
5415 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5416
3d63690a
AB
54172019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5418
5419 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5420 * gdb.base/annota1.exp: Update to use gdb_test_name.
5421
30d1f018
WP
54222019-10-07 Weimin Pan <weimin.pan@oracle.com>
5423
5424 * gdb.base/ctf-whatis.exp: New file.
5425 * gdb.base/ctf-whatis.c: New file.
5426 * gdb.base/ctf-ptype.exp: New file.
5427 * gdb.base/ctf-ptype.c: New file.
5428 * gdb.base/ctf-constvars.exp: New file.
5429 * gdb.base/ctf-constvars.c: New file.
5430 * gdb.base/ctf-cvexpr.exp: New file.
5431
4dbbb47c
TV
54322019-10-04 Tom de Vries <tdevries@suse.de>
5433
5434 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5435 for loop.
5436
77c2dba3
TT
54372019-10-03 Tom Tromey <tom@tromey.com>
5438
5439 PR rust/24976:
5440 * gdb.rust/simple.rs (Union2): New type.
5441 (main): Use Union2.
5442 * gdb.rust/simple.exp: Add test.
5443
179aed7f
AB
54442019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5445
5446 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5447 nested function prefix.
5448
0a4b0913
AB
54492019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5450 Richard Bunt <richard.bunt@arm.com>
5451 Andrew Burgess <andrew.burgess@embecosm.com>
5452
5453 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5454 nested functions.
5455 * gdb.fortran/nested-funcs.f90: Update expected results.
5456 * gdb.fortran/nested-funcs-2.exp: New file.
5457 * gdb.fortran/nested-funcs-2.f90: New file.
5458
082cce05
AB
54592019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5460
5461 * gdb.python/py-parameter.exp: Make test names unique.
5462 * gdb.python/py-template.exp: Likewise.
5463 * gdb.python/py-value.exp: Likewise.
5464
2b74ba5a
AB
54652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5466
5467 * gdb.base/break-interp.exp: Reduce test name duplication.
5468 * gdb.base/call-sc.exp: Likewise.
5469 * gdb.base/callfuncs.exp: Likewise.
5470 * gdb.base/charset.exp: Likewise.
5471 * gdb.base/dump.exp: Likewise.
5472 * gdb.base/ena-dis-br.exp: Likewise.
5473 * gdb.base/relational.exp: Likewise.
5474 * gdb.base/step-over-syscall.exp: Likewise.
5475 * gdb.base/structs.exp: Likewise.
5476
58eb20d5
AB
54772019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5478
5479 * gdb.linespec/explicit.exp: Make test names unique.
5480 * gdb.linespec/ls-errs.exp: Likewise.
5481
4d421147
AB
54822019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5483
5484 * gdb.reverse/break-precsave.exp: Make test names unique.
5485 * gdb.reverse/break-reverse.exp: Likewise.
5486 * gdb.reverse/finish-precsave.exp: Likewise.
5487 * gdb.reverse/finish-reverse.exp: Likewise.
5488 * gdb.reverse/machinestate-precsave.exp: Likewise.
5489 * gdb.reverse/machinestate.exp: Likewise.
5490 * gdb.reverse/readv-reverse.exp: Likewise.
5491 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5492 * gdb.reverse/sigall-precsave.exp: Likewise.
5493 * gdb.reverse/sigall-reverse.exp: Likewise.
5494 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5495 * gdb.reverse/watch-precsave.exp: Likewise.
5496 * gdb.reverse/watch-reverse.exp: Likewise.
5497
d8c06f22
AB
54982019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5499
5500 * gdb.threads/stop-with-handle.c: New file.
5501 * gdb.threads/stop-with-handle.exp: New file.
5502
3a56ed86
TV
55032019-10-03 Tom de Vries <tdevries@suse.de>
5504
5505 PR testsuite/25059
5506 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5507 directory" line to be missing.
5508
42275044
TV
55092019-10-03 Tom de Vries <tdevries@suse.de>
5510
5511 PR testsuite/25059
5512 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5513 type optional.
5514
9ef62df0
AA
55152019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5516
5517 * gdb.python/py-format-string.c (string.h): New include.
5518 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5519 the same value, for endianness-independence.
5520 * gdb.python/py-format-string.exp (default_regexp_dict)
5521 (test_pretty_structs, test_format): Adjust expected output to the
5522 changed initialization.
5523
37f6a7f4
TT
55242019-10-02 Tom Tromey <tromey@adacore.com>
5525
5526 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5527
1d58d6a2
PA
55282019-10-02 Pedro Alves <palves@redhat.com>
5529 Andrew Burgess <andrew.burgess@embecosm.com>
5530
5531 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5532 "print-file-var.h".
5533 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5534 (get_version_1): Print this_version_id and its address.
5535 Add extern "C" wrappers around interface functions.
5536 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5537 "print-file-var.h".
5538 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5539 (get_version_2): Print this_version_id and its address.
5540 Add extern "C" wrappers around interface functions.
5541 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5542 <stddef.h> and "print-file-var.h".
5543 Add extern "C" wrappers around interface functions.
5544 [VERSION_ID_MAIN] (this_version_id): Define.
5545 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5546 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5547 up extern "C" blocks.
5548 * gdb.base/print-file-var.exp (test): New, factored out from top
5549 level.
5550 (top level): Test all combinations of attribute hidden or not,
5551 dlopen or not, and this_version_id symbol in main file or not.
5552 Compile tests as both C++ and C, make test names unique.
5553
d770d56f
TT
55542019-10-01 Tom Tromey <tom@tromey.com>
5555
5556 * gdb.base/style.exp: Test "show logging filename".
5557
7f6aba03
TT
55582019-10-01 Tom Tromey <tom@tromey.com>
5559
5560 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5561 * gdb.base/style.exp: Add metadata style test.
5562
14309bb6
TT
55632019-10-01 Tom Tromey <tom@tromey.com>
5564
5565 * gdb.base/style.exp: Test "pwd".
5566
2a3c1174
PA
55672019-10-01 Tom Tromey <tom@tromey.com>
5568
5569 * gdb.base/style.exp: Update tests.
5570
53d666ec
AA
55712019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5572
5573 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5574 'six' to unsigned.
5575 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5576 'five'. Use an all-ones bit pattern for each.
5577 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5578 to its changed values.
5579
4a56a520
TT
55802019-09-30 Tom Tromey <tromey@adacore.com>
5581
5582 * gdb.rust/traits.rs: Disable all warnings.
5583
0df0352a
TV
55842019-09-29 Tom de Vries <tdevries@suse.de>
5585
aac66a4c 5586 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 5587
73d9a918
TV
55882019-09-29 Tom de Vries <tdevries@suse.de>
5589
5590 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5591
060b3ab4
TV
55922019-09-27 Tom de Vries <tdevries@suse.de>
5593
5594 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5595
68f7d34d
TV
55962019-09-27 Tom de Vries <tdevries@suse.de>
5597
5598 PR record/23188
5599 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5600
5d63b30a
TT
56012019-09-26 Tom Tromey <tromey@adacore.com>
5602
5603 * gdb.ada/py_taft.exp: New file.
5604 * gdb.ada/py_taft/main.adb: New file.
5605 * gdb.ada/py_taft/pkg.adb: New file.
5606 * gdb.ada/py_taft/pkg.ads: New file.
5607
3d435220
TV
56082019-09-24 Tom de Vries <tdevries@suse.de>
5609
5610 PR gdb/24598
5611 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5612
77d03678
TV
56132019-09-22 Tom de Vries <tdevries@suse.de>
5614
5615 * gdb.base/restore.exp: Allow register variables to be optimized out at
5616 -O0.
5617
abf516c6
UW
56182019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5619
5620 * gdb.arch/spu-info.exp: Remove file.
5621 * gdb.arch/spu-info.c: Remove file.
5622 * gdb.arch/spu-ls.exp: Remove file.
5623 * gdb.arch/spu-ls.c: Remove file.
5624
5625 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5626 * gdb.asm/spu.inc: Remove file.
5627
5628 * gdb.base/dump.exp: Remove support for spu*-*-*.
5629 * gdb.base/stack-checking.exp: Likewise.
5630 * gdb.base/overlays.exp: Likewise.
5631 * gdb.base/ovlymgr.c: Likewise.
5632 * gdb.base/spu.ld: Remove file.
5633
5634 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5635 * gdb.cp/cpexprs.exp: Likewise.
5636 * gdb.cp/exception.exp: Likewise.
5637 * gdb.cp/gdb2495.exp: Likewise.
5638 * gdb.cp/mb-templates.exp: Likewise.
5639 * gdb.cp/pr9167.exp: Likewise.
5640 * gdb.cp/userdef.exp: Likewise.
5641
5642 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5643
5644 * gdb.cell: Remove directory.
5645 * lib/cell.exp: Remove file.
5646
e452e88f
TV
56472019-09-19 Tom de Vries <tdevries@suse.de>
5648
5649 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5650
8a625130
TV
56512019-09-19 Tom de Vries <tdevries@suse.de>
5652
5653 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5654
81dc3ab5
TV
56552019-09-19 Tom de Vries <tdevries@suse.de>
5656
5657 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5658 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5659 (gdb_target_cmd): ... here.
5660 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5661 value 2.
5662
b078f3ac
AB
56632019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5664
5665 * gdb.base/source-dir.exp: Avoid having directory names in test
5666 names.
5667
f1b620e9
MG
56682019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5669
5670 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5671 directory.
5672
67f3ed6a
AB
56732019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5674
5675 * gdb.base/list-missing-source.exp: New file.
5676
d1b70248
TV
56772019-09-14 Tom de Vries <tdevries@suse.de>
5678
5679 PR teststuite/24599
5680 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5681 * lib/ada.exp (gnatmake_version_at_least): New proc.
5682
5fabdcd6
AB
56832019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5684
5685 * gdb.base/maint.exp: Use exec_has_index_section.
5686
aa17805f
AB
56872019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5688
5689 * gdb.base/maint.exp: Add test for 'maint info sections'.
5690
25e5c209
TV
56912019-09-12 Tom de Vries <tdevries@suse.de>
5692
5693 * gdb.base/store.exp: Allow register variables to be optimized out at
5694 -O0.
5695
4993045d
PW
56962019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5697
5698 * gdb.ada/rdv_wait.exp: Update to new task names.
5699 * gdb.base/task_switch_in_core.exp: Likewise.
5700 * gdb.base/info_sources_base.c: Likewise.
5701
8a516164
TT
57022019-09-10 Tom Tromey <tromey@adacore.com>
5703
5704 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5705
aa391654
TT
57062019-09-10 Tom Tromey <tromey@adacore.com>
5707
5708 * gdb.ada/dgopt.exp: New file.
5709 * gdb.ada/dgopt/x.adb: New file.
5710
8634b462
TT
57112019-09-08 Tom Tromey <tom@tromey.com>
5712
5713 * gdb.tui/resize.exp: Remove setup_xfail.
5714 * gdb.tui/regs.exp: Remove setup_xfail.
5715 * gdb.tui/basic.exp: Remove setup_xfail.
5716
736b0f76
DB
57172019-09-06 David Blaikie <dblaikie@gmail.com>
5718
5719 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5720 * gdb.cp/cplabel.exp: Ditto.
5721 * gdb.linespec/ls-errs.exp: Ditto.
5722
30331a6c
TV
57232019-09-05 Tom de Vries <tdevries@suse.de>
5724
5725 * lib/gdb.exp (cmp_file_string): New proc.
5726 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5727 runto_main. Verify save breakpoints output.
5728
98b0ebab
PW
57292019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5730
5731 * gdb.base/info-var.exp: Test info variables without running
5732 to main, to avoid expect's buffer overflow.
5733
4e962e74
TT
57342019-09-03 Tom Tromey <tromey@adacore.com>
5735
5736 * gdb.ada/bias.exp: New file.
5737 * gdb.ada/bias/bias.adb: New file.
5738 * gdb.ada/print_chars.exp: Add regression test.
5739 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5740 (MC): New variable.
5741
2ea1a07a
SL
57422019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5743
5744 * gdb.base/argv0-symlink.exp: Run only on native target
5745 and local host.
5746
8077c50d
TV
57472019-08-29 Tom de Vries <tdevries@suse.de>
5748
5749 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5750 diverse debug info.
5751 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5752
48352473
TV
57532019-08-28 Tom de Vries <tdevries@suse.de>
5754
5755 * gdb.base/info-var.exp: Allow info variables to print info for files
5756 other than info-var-f1.c and info-var-f2.c.
5757
d8f27c60
AB
57582019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5759
5760 * gdb.fortran/info-types.exp: Add module.
5761 * gdb.fortran/info-types.f90: Update expected results.
5762
1f20c35e
AB
57632019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5764
5765 * gdb.fortran/info-types.exp: New file.
5766 * gdb.fortran/info-types.f90: New file.
5767 * lib/fortran.exp (fortran_character1): New proc.
5768
4acfdd20
AB
57692019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5770
5771 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5772 functions'. Reindent as needed.
5773 * gdb.base/info-var-f1.c: New file.
5774 * gdb.base/info-var-f2.c: New file.
5775 * gdb.base/info-var.exp: New file.
5776 * gdb.base/info-var.h: New file.
5777
5c31b358
TV
57782019-08-26 Tom de Vries <tdevries@suse.de>
5779
5780 PR c++/24852
5781 * gdb.cp/no-libstdcxx-probe.exp: New test.
5782
b694989f
TV
57832019-08-26 Tom de Vries <tdevries@suse.de>
5784
5785 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5786 * tests need to be skipped.
5787 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5788 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5789 mi_skip_libstdcxx_probe_tests.
5790
d9c4ba53
SDJ
57912019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5792
5793 * gdb.python/py-xmethods.exp: Use raw strings when passing
5794 arguments to SimpleXMethodMatcher.
5795
395fad09
TV
57962019-08-22 Tom de Vries <tdevries@suse.de>
5797
5798 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5799 more informative.
5800
26c957f1
PA
58012019-08-21 Pedro Alves <palves@redhat.com>
5802
5803 * gdb.base/with.exp: Test "with" with no arguments.
5804
61f80d5d
TV
58052019-08-21 Tom de Vries <tdevries@suse.de>
5806
5807 * gdb.base/gdb-caching-proc.exp: Sort files.
5808
d7a11d13
TV
58092019-08-20 Tom de Vries <tdevries@suse.de>
5810
5811 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5812 compilation.
5813
34dafe9f
TV
58142019-08-16 Tom de Vries <tdevries@suse.de>
5815
5816 * gdb.base/compare-sections.exp ("after run to main"): Allow
5817 mismatched read-only sections for PIE executables.
5818
398fdd60
TT
58192019-08-16 Tom Tromey <tom@tromey.com>
5820
5821 * lib/tuiterm.exp (_csi_Z): New proc.
5822 * gdb.tui/basic.exp: Update window positions.
5823 * gdb.tui/empty.exp: Update window positions.
5824
d8f9e51c
SL
58252019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5826
5827 * gdb.base/examine-backward.exp: Correct regexp for
5828 "examine 3 bytes backward from ${address_zero}".
5829
3df505f6
TT
58302019-08-15 Tom Tromey <tom@tromey.com>
5831
5832 * gdb.tui/empty.exp: Enable resizing tests.
5833
272560b5
TT
58342019-08-15 Tom Tromey <tromey@adacore.com>
5835
5836 * gdb.ada/char_enum.exp: Add regression tests.
5837 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5838 and '0'.
5839 (Char, Gchar): Update.
5840 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5841
08235187
CB
58422019-08-15 Christian Biesinger <cbiesinger@google.com>
5843
5844 * gdb.python/python.exp: Expect a leading underscore on
5845 GdbOutput{,Error}File.
5846
22a2ab04
SL
58472019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5848
5849 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5850 Windows host.
5851
835b995b
SL
58522019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5853
5854 * gdb.base/batch-preserve-term-settings.exp
5855 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5856
97dd8e07
CB
58572019-08-15 Christian Biesinger <cbiesinger@google.com>
5858
5859 * lib/gdb.exp: When running on a mingw target, replace
5860 /x/ with x:/.
5861
75faf5c4
AH
58622019-08-14 Alan Hayward <alan.hayward@arm.com>
5863
5864 * gdb.arch/aarch64-prologue.c: New test.
5865 * gdb.arch/aarch64-prologue.exp: New file.
5866
abc6c00f
TV
58672019-08-13 Tom de Vries <tdevries@suse.de>
5868
5869 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5870 Thread.
5871
74c2c1f4
SL
58722019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5873
5874 * gdb.python/py-completion.exp: Download the .py file to the host
5875 and use its host pathname. Conditionalize tests that use
5876 tab completion and manipulate files on the build machine.
5877 * gdb.python/py-events.exp: Download the .py file to the host
5878 and use its host pathname.
5879 * gdb.python/py-evsignal.exp: Likewise.
5880 * gdb.python/py-evthreads.exp: Likewise.
5881 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5882 pathname syntax.
5883 * gdb.python/py-framefilter.exp: Download the .py file to the right
5884 place on the host. Match Windows pathname syntax.
5885 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5886 .py file to the host and use its host pathname.
5887 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5888 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5889 build pathname. Skip symlink test on Windows host. Add missing
5890 newline at end of file.
5891 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5892 and use its host pathname.
5893 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5894 * gdb.python/py-section-script.exp: Use host location of binfile
5895 on safe-path. Use correct path separator on Windows host.
5896 Reorder alternatives in gdb_test_multiple to prevent matching
5897 the wrong alternative on success.
5898 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5899
ca2589f3
PP
59002019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5901
5902 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5903 expect the GDB inferior to no longer immediately stop after
5904 being resumed with "signal SIGINT".
5905
020a839d
SL
59062019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5907
5908 * gdb.linespec/break-ask.exp: Generalize regexps to match
5909 Windows pathnames too.
5910
128d6509
TV
59112019-08-08 Tom de Vries <tdevries@suse.de>
5912
5913 PR testsuite/24862
5914 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5915
590042fc
PW
59162019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5917
5918 * gdb.base/style.exp: Update tests for help doc new invariants.
5919 * gdb.base/help.exp: Likewise.
5920
046bebe1
TT
59212019-08-06 Tom Tromey <tom@tromey.com>
5922
5923 * gdb.base/style.exp: Add disassemble test.
5924 * gdb.base/style.c (some_called_function): New function.
5925 (main): Use it.
5926
0b27c27d
CB
59272019-08-05 Christian Biesinger <cbiesinger@google.com>
5928
5929 * gdb.python/py-block.exp: Test dictionary access on blocks.
5930
580f1034
SM
59312019-08-05 Simon Marchi <simon.marchi@efficios.com>
5932
5933 PR gdb/24863
5934 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5935 -list-thread-groups --available test when running under
5936 check-read1.
5937
d86bd7cb
TV
59382019-08-05 Tom de Vries <tdevries@suse.de>
5939
5940 PR testsuite/24863
5941 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5942 * gdb.base/help.exp: Use with_read1_timeout_factor.
5943 * gdb.base/info-macros.exp: Same.
5944 * gdb.cp/nested-types.exp: Same.
5945
a80cf5d8
TV
59462019-08-05 Tom de Vries <tdevries@suse.de>
5947
5948 * lib/gdb.exp (version_at_least): Factor out of ...
5949 (tcl_version_at_least): ... here.
5950 (gdb_compile): Fail if pie results in non-PIE executable.
5951 (readelf_version, readelf_prints_pie): New proc.
5952 (exec_is_pie): Return -1 if unknown.
5953
d0962838
TV
59542019-08-05 Tom de Vries <tdevries@suse.de>
5955
5956 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5957
2252ff3d
SL
59582019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5959
5960 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5961
26655f53
SL
59622019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5963
5964 * lib/completion-support.exp (test_gdb_complete_none): Skip
5965 tab completion tests if no readline support.
5966 (test_gdb_complete_unique_re): Likewise.
5967 (test_gdb_complete_multiple): Likewise.
5968
db4dc13e
PW
59692019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5970
5971 * gdb.base/info_sources.exp: New file.
5972 * gdb.base/info_sources.c: New file.
5973 * gdb.base/info_sources_base.c: New file.
5974
0eba165a
PFC
59752019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5976
5977 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5978 prefix argument.
5979 (test_exit_status): Add prefix argument.
5980
59bd512b
TV
59812019-08-01 Tom de Vries <tdevries@suse.de>
5982
5983 PR testsuite/24863
5984 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5985 calling exp_continue for new thread and thread exited messages.
5986
2a3ad588
TV
59872019-08-01 Tom de Vries <tdevries@suse.de>
5988
5989 PR testsuite/24863
5990 * gdb.base/structs.exp: Fix check-read1 timeout using
5991 gdb_test_sequence.
5992 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5993
117eb594
TV
59942019-08-01 Tom de Vries <tdevries@suse.de>
5995
5996 PR testsuite/24863
5997 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5998 line.
5999
ed591340
TV
60002019-08-01 Tom de Vries <tdevries@suse.de>
6001
6002 PR testsuite/24863
6003 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6004
aa3b6533
TT
60052019-07-30 Tom Tromey <tromey@adacore.com>
6006
6007 * gdb.ada/display_nested.exp: New file.
6008 * gdb.ada/display_nested/foo.adb: New file.
6009 * gdb.ada/display_nested/pack.adb: New file.
6010 * gdb.ada/display_nested/pack.ads: New file.
6011
2906593f
CB
60122019-07-30 Christian Biesinger <cbiesinger@google.com>
6013
6014 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6015 namespace.
6016 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6017
0f575925
TV
60182019-07-30 Tom de Vries <tdevries@suse.de>
6019
6020 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6021 instead.
6022
b13057d9
TV
60232019-07-30 Tom de Vries <tdevries@suse.de>
6024
6025 PR testsuite/24834
6026 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6027 (exec_is_pie): New proc.
6028
5c4dde85
CB
60292019-07-29 Christian Biesinger <cbiesinger@google.com>
6030
6031 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6032
c620ed88
CB
60332019-07-29 Christian Biesinger <cbiesinger@google.com>
6034
6035 * gdb.python/py-objfile.c: Add global and static vars.
6036 * gdb.python/py-objfile.exp: Test new functions Objfile.
6037 lookup_global_symbol and lookup_static_symbol.
6038
3d235706
TT
60392019-07-29 Tom Tromey <tom@tromey.com>
6040
6041 * lib/tuiterm.exp (Term::_csi_@): New proc.
6042 (Term::_csi_X): Don't move cursor.
6043
c7e4c0a6
PW
60442019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6045
6046 * gdb.base/options.exp: Update backtrace - completion to
6047 new option -frame-info.
6048 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6049 Test new 'set print frame-info'. Test backtrace -frame-info
6050 overriding 'set print frame-info'.
6051 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6052 Test new 'set print frame-info'.
6053 Verify consistency of backtrace with and without filters, with and
6054 without -no-filters.
6055 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6056 default.
6057
de28a3b7
TV
60582019-07-29 Tom de Vries <tdevries@suse.de>
6059
6060 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6061 no arguments".
6062
507dd60e
TV
60632019-07-29 Tom de Vries <tdevries@suse.de>
6064
6065 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6066 is a substring of the first for "complete non-unique file name".
6067
5beafce9
TV
60682019-07-29 Tom de Vries <tdevries@suse.de>
6069
6070 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6071 with ".*".
6072
2d274232
TV
60732019-07-29 Tom de Vries <tdevries@suse.de>
6074
6075 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6076 Pass prompt_regexp parameter to gdb_test_multiple calls.
6077
9197cd8b
TV
60782019-07-29 Tom de Vries <tdevries@suse.de>
6079
6080 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6081 print registers" regexps.
9197cd8b 6082
b528dae0
TV
60832019-07-29 Tom de Vries <tdevries@suse.de>
6084
6085 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6086
d17725d7
TV
60872019-07-29 Tom de Vries <tdevries@suse.de>
6088
6089 PR gdb/24855
6090 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6091 (skip_python_tests_prompt): Add prompt_regexp argument to
6092 gdb_test_multiple calls.
6093
52b75bf1
TT
60942019-07-27 Tom Tromey <tom@tromey.com>
6095
6096 * gdb.tui/main.exp: New file.
6097
2b1d00c2
TT
60982019-07-27 Tom Tromey <tom@tromey.com>
6099
6100 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6101 optional.
6102 * gdb.tui/empty.exp: New file.
6103
ded631d5
TT
61042019-07-27 Tom Tromey <tom@tromey.com>
6105
6106 * lib/tuiterm.exp (spawn): New proc.
6107 (Term::resize): New proc.
6108 * gdb.tui/resize.exp: New file.
6109
58ac439d
TT
61102019-07-27 Tom Tromey <tom@tromey.com>
6111
6112 * gdb.tui/list.exp: New file.
6113
fe1f56ee
TT
61142019-07-27 Tom Tromey <tom@tromey.com>
6115
6116 * gdb.tui/regs.exp: New file.
6117
f790b310
TT
61182019-07-27 Tom Tromey <tom@tromey.com>
6119
6120 * gdb.tui/basic.exp: Add "layout split" test.
6121
d95fc6ee
TT
61222019-07-27 Tom Tromey <tom@tromey.com>
6123
6124 * gdb.tui/basic.exp: Add "layout asm" test.
6125
c3786b3a
TT
61262019-07-27 Tom Tromey <tom@tromey.com>
6127
6128 * lib/tuiterm.exp: New file.
6129 * gdb.tui/basic.exp: New file.
6130
98a617f8
KB
61312019-07-27 Kevin Buettner <kevinb@redhat.com>
6132
6133 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6134 Enable tests associated with this flag. Adjust regex
6135 referencing "foo_low" to now refer to "foo_cold" instead.
6136
5c076da4
KB
61372019-07-27 Kevin Buettner <kevinb@redhat.com>
6138
6139 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6140 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6141 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6142 foo_cold. Revise comments to match.
6143 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6144 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6145 were wrapped into this proc; Call do_test in loop from outermost
6146 level.
6147 (foo_low): Rename all occurrences to "foo_cold".
6148 (backtrace from baz): New test.
6149 (x2/i foo_cold): New test.
6150 (info line *foo_cold): New test.
6151
1512d3b7
TV
61522019-07-26 Tom de Vries <tdevries@suse.de>
6153
6154 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6155
297989a1
TV
61562019-07-25 Tom de Vries <tdevries@suse.de>
6157
6158 PR testsuite/24830
6159 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6160 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6161 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6162 (skip_libstdcxx_probe_tests): ... here.
6163 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6164
b3b965fb
TV
61652019-07-24 Tom de Vries <tdevries@suse.de>
6166
6167 PR testsuite/24807
6168 * gdb.objc/basicclass.m: Include stdio.h.
6169 * gdb.objc/nondebug.m: Same.
6170 * gdb.objc/objcdecode.m: Same.
6171
4625b4d0
TV
61722019-07-24 Tom de Vries <tdevries@suse.de>
6173
6174 PR testsuite/24612
6175 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6176 additional_flags.
6177
024a5840
TV
61782019-07-24 Tom de Vries <tdevries@suse.de>
6179
6180 PR testsuite/24831
6181 * gdb.multi/tids.exp: Update error messages for info threads.
6182
c76ddaa3
TV
61832019-07-24 Tom de Vries <tdevries@suse.de>
6184
6185 * gdb.base/info-types.exp: Allow info types to print info for more than
6186 one file.
6187
9a618ef6
TV
61882019-07-23 Tom de Vries <tdevries@suse.de>
6189
6190 PR testsuite/24842
6191 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6192 gdb_spawn_with_cmdline_opts.
6193
40eadf04
SP
61942019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6195
6196 * gdb.arch/arm-cmse-sgstubs.c: New test.
6197 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6198
5ba29434
TV
61992019-07-23 Tom de Vries <tdevries@suse.de>
6200
6201 PR testsuite/24711
6202 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6203 issuing next command.
6204
a8e9d247
AB
62052019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6206
6207 * gdb.ada/info_auto_lang.exp: Update expected results.
6208 * gdb.base/info-types.c: Add additional types to check.
6209 * gdb.base/info-types.exp: Update expected results.
6210
eb86c5e2
AB
62112019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6212
6213 * gdb.base/info-types.c: New file.
6214 * gdb.base/info-types.exp: New file.
6215
01e175fe
AB
62162019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6217
6218 * gdb.arch/riscv-bp-infcall.c: New file.
6219 * gdb.arch/riscv-bp-infcall.exp: New file.
6220
6b78c3f8
AB
62212019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6222
6223 PR breakpoints/24541
6224 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6225
da738167
TV
62262019-07-14 Tom de Vries <tdevries@suse.de>
6227
6228 PR testsuite/24760
6229 * gdb.objc/basicclass.exp: Fix unterminated string.
6230
0d4e84ed
AB
62312019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6232 Andrew Burgess <andrew.burgess@embecosm.com>
6233
6234 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6235 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6236 negative bounds.
6237 * gdb.fortran/vla-value.exp: Print elements of an array with
6238 negative bounds.
6239 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6240 testing.
6241
021d8588
AB
62422019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6243
6244 * gdb.base/options.exp (expect_string): Dequote strings in
6245 results.
6246 (test-string): Test strings with different quoting and reindent.
6247
f06f1252
TT
62482019-07-10 Tom Tromey <tromey@adacore.com>
6249
6250 * gdb.ada/mi_ex_cond.exp: Update expected results.
6251 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6252 * gdb.ada/mi_catch_ex.exp: Update expected results.
6253 * gdb.ada/mi_catch_assert.exp: Update expected results.
6254 * gdb.ada/catch_ex.exp (catch_exception_info)
6255 (catch_exception_entry, catch_assert_entry)
6256 (catch_unhandled_entry): Update.
6257 * gdb.ada/catch_assert_if.exp: Update expected results.
6258
b863685d
RB
62592019-07-10 Richard Bunt <richard.bunt@arm.com>
6260 Stephen Roberts <stephen.roberts@arm.com>
6261
6262 * gdb.base/define.exp: Restore original prompt.
6263
cb1e4e32
PA
62642019-07-09 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6267 breakpoints" output.
6268 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6269 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6270 throw" creates breakpoint.
6271 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6272 'type="catchpoint"'.
6273
b58a68fe
PA
62742019-07-09 Pedro Alves <palves@redhat.com>
6275
6276 PR c++/15468
6277 * gdb.cp/except-multi-location-lib.cc: New.
6278 * gdb.cp/except-multi-location-main.cc: New.
6279 * gdb.cp/except-multi-location.exp: New.
6280
0826779b
PW
62812019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6282
6283 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6284 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6285 argument and update callers.
6286
5b0e2db4
AB
62872019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6288
6289 * gdb.arch/amd64-break-on-asm-line.S: New file.
6290 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6291
1f6f6e21
PW
62922019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6293
6294 * gdb.base/printcmds.exp: Test printing C string and
6295 C wide string convenience vars without transiting via the inferior.
6296 Also make test names unique.
6297
ea142fbf
AH
62982019-07-08 Alan Hayward <alan.hayward@arm.com>
6299
5862c886 6300 PR breakpoints/25011
ea142fbf
AH
6301 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6302
213fd9fa
PA
63032019-07-04 Pedro Alves <palves@redhat.com>
6304
6305 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6306 body returned ok(0), break(3) or continue(4).
6307 * gdb.testsuite/foreach_with_prefix.exp: New file.
6308
2b40fda7
AH
63092019-07-04 Alan Hayward <alan.hayward@arm.com>
6310
6311 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6312
a26c8de0
PA
63132019-07-03 Pedro Alves <palves@redhat.com>
6314
6315 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6316 "return -code".
6317
5f4ba3e7
PA
63182019-07-03 Pedro Alves <palves@redhat.com>
6319
6320 PR cli/24732
6321 * gdb.base/shell.exp: Load completion-support.exp.
6322 Adjust expected error output. Add completion tests.
6323
a994424f
PA
63242019-07-03 Pedro Alves <palves@redhat.com>
6325
6326 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6327 string_to_regexp.
6328
3d9be6f5
PA
63292019-07-03 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6332 (expect_integer): Adjust to expect "-string".
6333 (expect_string): New.
6334 (all_options): Expect "-string".
6335 (test-flag, test-boolean): Adjust to expect "-string".
6336 (test-string): New proc.
6337 (top level): Call it.
6338
41fc454c
PA
63392019-07-03 Pedro Alves <palves@redhat.com>
6340
6341 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6342 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6343 the expected output in the success.
6344
b2b2a215
PA
63452019-07-03 Pedro Alves <palves@redhat.com>
6346
6347 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6348 Split one gdb_test_multiple call in two to avoid a race.
6349
fdbc9870
PA
63502019-07-03 Pedro Alves <palves@redhat.com>
6351
6352 * gdb.base/with.c: New file.
6353 * gdb.base/with.exp: New file.
6354
c6ac8931
PA
63552019-07-03 Pedro Alves <palves@redhat.com>
6356
6357 * gdb.base/settings.exp: Replace all references to "maint
6358 test-settings set" with references to "maint set test-settings",
6359 and all references to "maint test-settings show" with references
6360 to "maint show test-settings".
6361
970f9d09
PA
63622019-07-03 Pedro Alves <palves@redhat.com>
6363
6364 * gdb.base/settings.exp (test-string): Adjust expected out when
6365 testing "maint test-settings show filename"
6366
54d66006
PA
63672019-07-02 Pedro Alves <palves@redhat.com>
6368
6369 * gdb.base/options.exp (test-info-threads): New procedure.
6370 (top level): Call it.
6371
10d06d82
TT
63722019-06-28 Tom Tromey <tromey@adacore.com>
6373
6374 * gdb.dwarf2/ada-linkage-name.c: New file.
6375 * gdb.dwarf2/ada-linkage-name.exp: New file.
6376
3d507ff2
TT
63772019-06-27 Tom Tromey <tromey@adacore.com>
6378
d039f014 6379 PR c++/20020:
3d507ff2
TT
6380 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6381
8af58ffe
TV
63822019-06-26 Tom de Vries <tdevries@suse.de>
6383
6384 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6385
22e21752
TV
63862019-06-26 Tom de Vries <tdevries@suse.de>
6387
6388 * gdb.base/index-cache.exp: Add back missing debug option.
6389
b65b566c
PW
63902019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6391
6392 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6393
5c2c8c69
TV
63942019-06-25 Tom de Vries <tdevries@suse.de>
6395
6396 PR testsuite/24727
6397 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6398
164e3873
TV
63992019-06-24 Tom de Vries <tdevries@suse.de>
6400
6401 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6402
824eacee
TV
64032019-06-24 Tom de Vries <tdevries@suse.de>
6404
6405 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6406 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6407 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6408
385b97d3
TV
64092019-06-24 Tom de Vries <tdevries@suse.de>
6410
6411 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6412
c596f180
TV
64132019-06-21 Tom de Vries <tdevries@suse.de>
6414
6415 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6416
b13a7d03
TV
64172019-06-21 Tom de Vries <tdevries@suse.de>
6418
6419 PR testsuite/24518
6420 PR ada/24713
6421 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
6422 index.
6423
899277ae
TT
64242019-06-19 Tom Tromey <tromey@adacore.com>
6425
6426 * gdb.ada/length_cond.exp: Add intro comment.
6427
680e1bee
TT
64282019-06-19 Tom Tromey <tromey@adacore.com>
6429
6430 * gdb.ada/length_cond.exp: New file.
6431 * gdb.ada/length_cond/length_cond.adb: New file.
6432 * gdb.ada/length_cond/pck.adb: New file.
6433 * gdb.ada/length_cond/pck.ads: New file.
6434
0ed4690a
TV
64352019-06-18 Tom de Vries <tdevries@suse.de>
6436
6437 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6438
d20ed5fd
TT
64392019-06-18 Tom Tromey <tromey@adacore.com>
6440
6441 * gdb.base/list0.h: Add comment explaining control character.
6442
86e04673
TV
64432019-06-18 Tom de Vries <tdevries@suse.de>
6444
6445 * boards/fission.exp: Break up long debug_flags line.
6446
c4973306
SM
64472019-06-16 Tom de Vries <tdevries@suse.de>
6448
6449 PR gdb/24445
6450 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6451 generated index.
6452
93cb9841
AB
64532019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6454
6455 PR gdb/24686
6456 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6457 improve detection of bug gdb/24541.
6458
399aaebd
SM
64592019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6460
6461 PR gdb/24669
6462 * gdb.base/index-cache.exp (uses_readnow,
6463 expecting_index_cache_use): Define global variable.
6464 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6465 expecting_index_cache_use.
6466
584a927c
AB
64672019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6468 Andrew Burgess <andrew.burgess@embecosm.com>
6469
6470 * gdb.fortran/pointers.f90: New file.
6471 * gdb.fortran/print_type.exp: New file.
6472 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6473 * gdb.fortran/vla-type.exp: Likewise.
6474 * gdb.fortran/vla-value.exp: Likewise.
6475 * gdb.mi/mi-vla-fortran.exp: Likewise.
6476
30056ea0
AB
64772019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6478
6479 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6480 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6481 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6482 as a stop reason.
6483
ec8e2b6d
AB
64842019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6485
6486 * gdb.base/annota1.exp: Update expected results.
6487 * gdb.cp/annota2.exp: Likewise.
6488 * gdb.cp/annota3.exp: Likewise.
6489
09e4c4e1
AB
64902019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6491
6492 * gdb.base/style-logging.exp: Remove path from test name.
6493
0735b091
TT
64942019-06-14 Tom Tromey <tromey@adacore.com>
6495
6496 PR gdb/24502:
6497 * gdb.base/style-logging.exp: New file.
6498
f5686554
TT
64992019-06-14 Tom Tromey <tromey@adacore.com>
6500
6501 * gdb.base/symfile-warn.exp: New file.
6502 * gdb.base/symfile-warn.c: New file.
6503
a0c1ffed
TT
65042019-06-14 Tom Tromey <tromey@adacore.com>
6505
6506 * gdb.base/annotate-symlink.exp: New file.
6507
f411722c
TT
65082019-06-14 Tom Tromey <tromey@adacore.com>
6509
6510 * gdb.ada/set_wstr.exp: Add reassignment test.
6511
4268ec18
TT
65122019-06-14 Tom Tromey <tromey@adacore.com>
6513
6514 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6515 'unchecked_access and 'unrestricted_access as well.
6516
9a9e394b
TT
65172019-06-14 Tom Tromey <tromey@adacore.com>
6518
6519 PR ada/24539:
6520 * gdb.ada/vla.exp: Update tests.
6521 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6522 pragma.
6523
4c048731
PA
65242019-06-13 Pedro Alves <palves@redhat.com>
6525
6526 * gdb.base/settings.exp (test-integer): Test junk after
6527 "unlimited".
6528
6665660a
PA
65292019-06-13 Pedro Alves <palves@redhat.com>
6530
6531 * gdb.base/options.exp (test-thread-apply): New.
6532 (top level): Call it.
6533
5d707134
PA
65342019-06-13 Pedro Alves <palves@redhat.com>
6535
6536 * gdb.base/options.exp (test-frame-apply): New.
6537 (top level): Test print commands with different "frame apply"
6538 prefixes.
6539
e2a689da
PA
65402019-06-13 Pedro Alves <palves@redhat.com>
6541
e79be6e5 6542 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
6543 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6544 'max_completions' parameter and handle it.
6545 (test_gdb_completion_offers_commands): New.
6546
90a1ef87
PA
65472019-06-13 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6550
d4c16835
PA
65512019-06-13 Pedro Alves <palves@redhat.com>
6552
6553 * gdb.base/options.exp (test-backtrace): New.
6554 (top level): Call it.
6555
2daf894e
PA
65562019-06-13 Pedro Alves <palves@redhat.com>
6557
6558 * gdb.guile/scm-frame-args.exp: Use "set print
6559 raw-frame-arguments" instead of "set print raw frame-arguments".
6560 * gdb.python/py-frame-args.exp: Likewise.
6561
e6ed716c
PA
65622019-06-13 Pedro Alves <palves@redhat.com>
6563
6564 * gdb.compile/compile.exp: Adjust expected output to option
6565 processing changes.
6566
7d8062de
PA
65672019-06-13 Pedro Alves <palves@redhat.com>
6568
6569 * gdb.base/options.exp: Build executable.
6570 (test-print): New procedure.
6571 (top level): Call it, once for "print" and another for "compile
6572 print".
6573
9d0faba9
PA
65742019-06-13 Pedro Alves <palves@redhat.com>
6575
6576 * gdb.base/options.c: New file.
6577 * gdb.base/options.exp: New file.
6578
dee7b4c8
PA
65792019-06-13 Pedro Alves <palves@redhat.com>
6580
6581 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6582 that "o" is ambiguous.
6583
dca0f6c0
PA
65842019-06-13 Pedro Alves <palves@redhat.com>
6585
6586 * gdb.base/settings.c: New file.
6587 * gdb.base/settings.exp: New file.
6588
ccf46844
PA
65892019-06-13 Pedro Alves <palves@redhat.com>
6590
6591 * gdb.base/completion.exp: Fix comment typo.
6592
b9a3f842
PA
65932019-06-13 Pedro Alves <palves@redhat.com>
6594
6595 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6596 foo --1" test.
6597
d106773e
PA
65982019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6599
6600 * gdb.fortran/block-data.f: New.
6601 * gdb.fortran/block-data.exp: New.
6602
fea82da0
TV
66032019-06-11 Tom de Vries <tdevries@suse.de>
6604
6605 PR testsuite/24521
6606 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6607 message.
6608
8c2e74f1
TV
66092019-06-11 Tom de Vries <tdevries@suse.de>
6610
6611 PR testsuite/24521
6612 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6613
b49851c8
TV
66142019-06-11 Tom de Vries <tdevries@suse.de>
6615
6616 * boards/readnow.exp: New file.
6617
a7067863
AB
66182019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6619
6620 * gdb.fortran/vla-sizeof.exp: Update expected results.
6621
1a3da2cd
AB
66222019-06-06 Amos Bird <amosbird@gmail.com>
6623
6624 * gdb.base/annota1.exp (thread_switch): Add test for
6625 thread-exited annotation.
6626
3847a7bf
TT
66272019-06-06 Tom Tromey <tromey@adacore.com>
6628
6629 * gdb.base/maint.exp: Expect command started/finished output.
6630
0088ba59
AB
66312019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6632
6633 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6634 comment.
6635 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6636
312617a3
AB
66372019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6638
6639 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6640 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6641 * gdb.arch/riscv-unwind-long-insn.c: New file.
6642 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6643
e1f2e1a2
CB
66442019-06-04 Christian Biesinger <cbiesinger@google.com>
6645
d3238f7d 6646 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6647
206584bd
PW
66482019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6649
6650 * lib/gdb.exp (help_list_trailer): New regexp variable
6651 factorizing the help trailer message.
6652 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6653 arg to allow to better factorize various tests.
6654 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6655 (test_prefix_command_help): Use help_list_trailer.
6656 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6657 * gdb.guile/scm-cmd.exp: Likewise.
6658 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6659 * gdb.base/help.exp: Use test_user_defined_class_help.
6660 * gdb.base/style.exp: Add tests for styling of help and apropos.
6661 * lib/gdb-utils.exp (style): Add title and highlight styles.
6662
708dc93e
PW
66632019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6664
6665 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6666 $_shell_exitsignal.
6667 * gdb.base/default.exp: Update for new convenience variables.
6668
f49055a5
TT
66692019-05-29 Tom Tromey <tromey@adacore.com>
6670
6671 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6672 to "break complete ada" test case's regexp.
6673
4330d61d
TT
66742019-05-29 Tom Tromey <tromey@adacore.com>
6675
6676 PR c++/20020:
6677 * gdb.cp/constexpr-field.exp: New file.
6678 * gdb.cp/constexpr-field.cc: New file.
6679
000439d5
TT
66802019-05-29 Tom Tromey <tromey@adacore.com>
6681
6682 * gdb.base/finish.exp (finish_no_print): New proc.
6683 (finish_tests): Call it.
6684
5a01c34c
TV
66852019-05-24 Tom de Vries <tdevries@suse.de>
6686
6687 * gdb.dwarf2/gdb-add-index.exp: New file.
6688
18125b16
TT
66892019-05-22 Tom Tromey <tromey@adacore.com>
6690
6691 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6692 * gdb.base/style.exp: Use "style".
6693 * lib/gdb-utils.exp (style): New proc.
6694
af1a8d03
TV
66952019-05-22 Tom de Vries <tdevries@suse.de>
6696
6697 * gdb.base/align.exp: Require c++11.
6698
e7fe496b
TV
66992019-05-22 Tom de Vries <tdevries@suse.de>
6700
6701 PR testsuite/24586
6702 * gdb.python/py-mi-var-info-path-expression.exp: Call
6703 mi_skip_python_tests to check if python is supported.
6704
8fca4da0
AH
67052019-05-22 Alan Hayward <alan.hayward@arm.com>
6706
6707 * gdb.arch/aarch64-pauth.c: New test.
6708 * gdb.arch/aarch64-pauth.exp: New file.
6709
b7060614
AH
67102019-05-22 Alan Hayward <alan.hayward@arm.com>
6711
6712 * README (Re-running Tests Outside The Testsuite): New section.
6713
669d0468
TV
67142019-05-21 Tom de Vries <tdevries@suse.de>
6715
6716 * gdb.arch/amd64-eval.exp: Require c++11.
6717 * gdb.base/max-depth.exp: Same.
6718 * gdb.compile/compile-cplus-array-decay.exp: Same.
6719 * gdb.cp/meth-typedefs.exp: Same.
6720 * gdb.cp/subtypes.exp: Same.
6721 * gdb.cp/temargs.exp: Same.
6722
ce3ebcaa
AH
67232019-05-21 Alan Hayward <alan.hayward@arm.com>
6724
6725 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6726
34d11c68
AB
67272019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6728
6729 PR gdb/18644
6730 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6731 * gdb.fortran/printing-types.exp: Add new test.
6732 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6733 testing.
6734 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6735 setup_kfail call.
6736
87781e84
AH
67372019-05-17 Alan Hayward <alan.hayward@arm.com>
6738
6739 * README (Running the Testsuite): Change example.
6740 (Testsuite Parameters): Remove TRANSCRIPT.
6741 * lib/gdb.exp: Remove TRANSCRIPT check.
6742
b420b89e
AH
67432019-05-17 Alan Hayward <alan.hayward@arm.com>
6744
6745 * README (Testsuite Parameters): Add replay logging to
6746 GDBSERVER_DEBUG.
6747 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6748 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6749 as a comma separated list.
6750 (gdb_debug_init): Override procedure.
6751
408e9b8b
AH
67522019-05-17 Alan Hayward <alan.hayward@arm.com>
6753
6754 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6755 (gdb_write_cmd_file): New procedure.
6756 * lib/gdbserver-support.exp (gdbserver_start): Call
6757 gdbserver_write_cmd_file.
6758 (gdbserver_write_cmd_file): New procedure.
6759
f9e2e39d
AH
67602019-05-17 Alan Hayward <alan.hayward@arm.com>
6761
6762 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6763 (delete_breakpoints): Likewise.
6764 (gdb_run_cmd): Likewise.
6765 (gdb_start_cmd): Likewise.
6766 (gdb_starti_cmd): Likewise.
6767 (gdb_internal_error_resync): Likewise.
6768 (gdb_test_multiple): Likewise.
6769 (gdb_reinitialize_dir): Likewise.
6770 (default_gdb_exit): Likewise.
6771 (gdb_file_cmd): Mark kill as optional.
6772 (default_gdb_start): Call gdb_stdin_log_init.
6773 (send_gdb): Call gdb_stdin_log_write.
6774 (rerun_to_main): Mark Y as an answer.
6775 (gdb_stdin_log_init): New function.
6776 (gdb_stdin_log_write): Likewise.
6777
81f47ac2
AH
67782019-05-17 Alan Hayward <alan.hayward@arm.com>
6779
6780 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6781 * gdb.base/debug-expr.exp: Likewise.
6782 * gdb.base/foll-fork.exp: Likewise.
6783 * gdb.base/foll-vfork.exp: Likewise.
6784 * gdb.base/fork-print-inferior-events.exp: Likewise.
6785 * gdb.base/gdb-sigterm.exp: Likewise.
6786 * gdb.base/gdbinit-history.exp: Likewise.
6787 * gdb.base/osabi.exp: Likewise.
6788 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6789 * gdb.base/ui-redirect.exp: Likewise.
6790 * gdb.gdb/unittest.exp: Likewise.
6791 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6792 * gdb.mi/mi-watch.exp: Likewise.
6793 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6794 * gdb.mi/user-selected-context-sync.exp: Likewise.
6795 * gdb.python/python.exp: Disable debug test when debugging.
6796 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6797 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6798 Likewise.
6799 * gdb.threads/stepi-random-signal.exp: Likewise.
6800
29b52314
AH
68012019-05-17 Alan Hayward <alan.hayward@arm.com>
6802
6803 * Makefile.in: Pass through GDB_DEBUG.
6804 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6805 (gdb,debug): Add board setting.
6806 * lib/gdb.exp (default_gdb_start): Start debugging.
6807 (gdb_debug_enabled): New procedure.
6808 (gdb_debug_init): Likewise.
29b52314
AH
6809
68102019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 6811
29b52314
AH
6812 * Makefile.in: Pass through GDB_DEBUG.
6813 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6814 (gdb,debug): Add board setting.
6815 * lib/gdb.exp (default_gdb_start): Start debugging.
6816 (gdb_debug_enabled): New procedure.
6817 (gdb_debug_init): Likewise.
29b52314 6818
ca1285d1
AH
68192019-05-17 Alan Hayward <alan.hayward@arm.com>
6820
6821 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6822
f3a09c80
AH
68232019-05-17 Alan Hayward <alan.hayward@arm.com>
6824
6825 * gdb.base/ui-redirect.exp: Test redirection.
6826
26648588
JV
68272019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6828
6829 * gdb.mi/mi-complete.exp: New file.
6830 * gdb.mi/mi-complete.cc: Likewise.
6831
14237686
AB
68322019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6833
6834 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6835 indexed and sliced arrays, and pointers to arrays.
6836
e7bd7fba
TT
68372019-05-14 Tom Tromey <tromey@adacore.com>
6838
6839 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6840 styling test.
6841
2764128d
TV
68422019-05-14 Tom de Vries <tdevries@suse.de>
6843
6844 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6845 selection entry encoding.
6846
71bed2db
TT
68472019-05-10 Tom Tromey <tromey@adacore.com>
6848
6849 * gdb.ada/info_exc.exp: Add "complete" test.
6850
63b667ad
TV
68512019-05-09 Tom de Vries <tdevries@suse.de>
6852
6853 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6854 CU-relative.
6855
9cfd2b89
TV
68562019-05-09 Tom de Vries <tdevries@suse.de>
6857
6858 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6859 CU-relative.
6860
2228ef77
XR
68612019-05-08 Joel Brobecker <brobecker@adacore.com>
6862
6863 * gdb.ada/frame_arg_lang.exp: New testcase.
6864 * gdb.ada/frame_arg_lang/bla.adb: New file.
6865 * gdb.ada/frame_arg_lang/pck.ads: New file.
6866 * gdb.ada/frame_arg_lang/pck.adb: New file.
6867 * gdb.ada/frame_arg_lang/foo.c: New file.
6868
80e55b13
TT
68692019-05-08 Tom Tromey <tromey@adacore.com>
6870
6871 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6872
9d3421af
TT
68732019-05-08 Tom Tromey <tromey@adacore.com>
6874
6875 * gdb.base/ptype-offsets.exp: Update tests.
6876
844333e2
TT
68772019-05-08 Tom Tromey <tromey@adacore.com>
6878
6879 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6880 cases.
6881 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6882 "short".
6883
988915ee
TT
68842019-05-08 Tom Tromey <tromey@adacore.com>
6885
6886 * gdb.ada/vla.exp: New file.
6887 * gdb.ada/vla/vla.adb: New file.
6888
7bd55dac
TV
68892019-05-07 Tom de Vries <tdevries@suse.de>
6890
6891 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6892
75f06e9d
TV
68932019-05-07 Tom de Vries <tdevries@suse.de>
6894
6895 PR testsuite/24522
6896 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6897 section.
6898
77e7aaa4
TV
68992019-05-07 Tom de Vries <tdevries@suse.de>
6900
6901 PR testsuite/24522
6902 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6903 .debug_aranges section.
6904
456ba0fa
TV
69052019-05-07 Tom de Vries <tdevries@suse.de>
6906
6907 PR testsuite/24159
6908 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6909
5a56d6a6
TV
69102019-05-06 Tom de Vries <tdevries@suse.de>
6911
6912 * lib/gdb.exp (exec_has_index_section): New proc.
6913 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6914 section.
6915
9d6d4be8
TV
69162019-05-04 Tom de Vries <tdevries@suse.de>
6917
6918 * boards/cc-with-debug-names.exp: New file.
6919
222a8d25
TT
69202019-05-03 Tom Tromey <tromey@adacore.com>
6921
6922 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6923 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6924 * gdb.ada/char_enum.exp: Add test.
6925
0fdfd794
TV
69262019-05-03 Tom de Vries <tdevries@suse.de>
6927
6928 * boards/cc-with-gdb-index.exp: New file.
6929
80062eb9
AB
69302019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6931
6932 * gdb.rust/simple.exp: Add new test case.
6933 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6934 (main): Initialise an instance of the new struct.
6935
4504bbde
TT
69362019-05-01 Tom Tromey <tromey@adacore.com>
6937
6938 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6939 record.
6940 (NPR): New variable.
6941 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6942 test.
6943
d48e62f4
TT
69442019-05-01 Tom Tromey <tromey@adacore.com>
6945
6946 * gdb.ada/packed_array_assign.exp: Add packed assignment
6947 regression test.
6948
f59f30f5
TV
69492019-05-01 Tom de Vries <tdevries@suse.de>
6950
6951 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6952
b70bfc54
TV
69532019-05-01 Tom de Vries <tdevries@suse.de>
6954
6955 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6956
15f18d14
AT
69572019-04-30 Ali Tamur <tamur@google.com>
6958
6959 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6960
2ff0a947
TT
69612019-04-30 Tom Tromey <tromey@adacore.com>
6962
6963 * lib/ada.exp (find_ada_tool): New proc.
6964 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6965 * gdb.ada/catch_ex_std.exp: New file.
6966 * gdb.ada/catch_ex_std/foo.adb: New file.
6967 * gdb.ada/catch_ex_std/some_package.adb: New file.
6968 * gdb.ada/catch_ex_std/some_package.ads: New file.
6969
a776957c
TT
69702019-04-30 Tom Tromey <tromey@adacore.com>
6971
6972 PR c++/24470:
6973 * gdb.cp/temargs.cc: Add test code from PR.
6974
bc68014d
AB
69752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6976
6977 * gdb.fortran/vla-datatypes.exp: Update expected results.
6978 * gdb.fortran/vla-ptype.exp: Likewise.
6979 * gdb.fortran/vla-type.exp: Likewise.
6980 * gdb.fortran/vla-value.exp: Likewise.
6981
f1fdc960
AB
69822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6983
6984 * gdb.fortran/ptr-indentation.exp: Update expected results.
6985 * gdb.fortran/ptype-on-functions.exp: Likewise.
6986 * gdb.fortran/vla-ptr-info.exp: Likewise.
6987 * gdb.fortran/vla-value.exp: Likewise.
6988
bf7a4de1
AB
69892019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6990
6991 * gdb.fortran/ptype-on-functions.exp: New file.
6992 * gdb.fortran/ptype-on-functions.f90: New file.
6993
bbe75b9d
AB
69942019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6995
6996 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6997 case void string.
6998
1db455a7
AB
69992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7000
7001 * gdb.fortran/complex.exp: Expand.
7002 * gdb.fortran/complex.f: Renamed to...
7003 * gdb.fortran/complex.f90: ...this, and extended to add more
7004 complex values.
7005
b6d03bb2
AB
70062019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7007
7008 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7009 MODULO, CMPLX.
7010
2e62ab40
AB
70112019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7012 Richard Bunt <richard.bunt@arm.com>
7013
7014 * gdb.base/max-depth.c: New file.
7015 * gdb.base/max-depth.exp: New file.
7016 * gdb.python/py-nested-maps.c: New file.
7017 * gdb.python/py-nested-maps.exp: New file.
7018 * gdb.python/py-nested-maps.py: New file.
7019 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7020 (test_all_common): Call test_max_depth.
7021 * gdb.fortran/max-depth.exp: New file.
7022 * gdb.fortran/max-depth.f90: New file.
7023 * gdb.go/max-depth.exp: New file.
7024 * gdb.go/max-depth.go: New file.
7025 * gdb.modula2/max-depth.exp: New file.
7026 * gdb.modula2/max-depth.c: New file.
7027 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7028
d2b584a5
TV
70292019-04-29 Tom de Vries <tdevries@suse.de>
7030
7031 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7032
136afab8
PW
70332019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7034
7035 * gdb.base/callexit.exp: Test may-call-functions off.
7036
725cbb63
KS
70372019-04-25 Keith Seitz <keiths@redhat.com>
7038
7039 PR c++/24367
7040 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7041 (another_incomplete_struct, test_incomplete): New definitions.
7042 (main): Use new definitions.
7043 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7044 functions.
7045
701adfb0
PA
70462019-04-25 Ali Tamur <tamur@google.com>
7047
7048 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7049
82433e3e
SDJ
70502019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7051
7052 PR corefiles/11608
7053 PR corefiles/18187
7054 * gdb.base/coredump-filter-build-id.exp: New file.
7055
dd06d4d6
AH
70562019-04-25 Alan Hayward <alan.hayward@arm.com>
7057
e79be6e5
SM
7058 * Makefile.in: Pass through GDBSERVER_DEBUG.
7059 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7060 (gdbserver,debug): Add board setting.
7061 * gdb.trace/tspeed.exp: Skip when debugging.
7062 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7063 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7064
1670072e
TT
70652019-04-24 Tom Tromey <tromey@adacore.com>
7066
7067 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7068 Rust.
7069
a59240a4
TT
70702019-04-24 Tom Tromey <tromey@adacore.com>
7071
7072 * gdb.arch/amd64-eval.exp: Test bitfield return.
7073 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7074 (class Foo) <return_bitfields>: New method.
7075 (main): Call it.
7076
b907456c
AB
70772019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7078
7079 * gdb.cp/many-args.cc: New file.
7080 * gdb.cp/many-args.exp: New file.
7081
5c565afd
TV
70822019-04-23 Tom de Vries <tdevries@suse.de>
7083
7084 PR gdb/24433
7085 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7086
ba22ff86
AH
70872019-04-23 Alan Hayward <alan.hayward@arm.com>
7088
7089 * gdb.trace/backtrace.exp: Use nopie flag.
7090 * gdb.trace/circ.exp: Likewise.
7091 * gdb.trace/collection.exp: Likewise.
7092 * gdb.trace/ftrace.exp: Likewise.
7093 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7094 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7095 * gdb.trace/qtro.exp: Likewise.
7096 * gdb.trace/read-memory.exp: Likewise.
7097 * gdb.trace/report.exp: Likewise.
7098 * gdb.trace/tfile.exp: Likewise.
7099 * gdb.trace/tfind.exp: Likewise.
7100 * gdb.trace/unavailable.exp: Likewise.
7101
7905fc35
PA
71022019-04-22 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.base/solib-probes-nosharedlibrary.c,
7105 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7106
8ecb59f8
TT
71072019-04-19 Tom Tromey <tromey@adacore.com>
7108
7109 * gdb.ada/ptype_union.c: New file.
7110 * gdb.ada/ptype_union.exp: New file.
7111
62160ec9
TT
71122019-04-19 Tom Tromey <tromey@adacore.com>
7113
7114 PR symtab/24423:
7115 * gdb.base/list0.h (foo): Add a control-l character.
7116
36cd4ba5
TV
71172019-04-18 Tom de Vries <tdevries@suse.de>
7118
7119 PR gdb/24433
7120 * boards/local-board.exp: Set sysroot to "".
7121
b73715df
TV
71222019-04-18 Tom de Vries <tdevries@suse.de>
7123 Pedro Alves <palves@redhat.com>
7124
7125 PR gdb/24454
7126 * gdb.threads/vfork-follow-child-exec.c: New file.
7127 * gdb.threads/vfork-follow-child-exec.exp: New file.
7128 * gdb.threads/vfork-follow-child-exit.c: New file.
7129 * gdb.threads/vfork-follow-child-exit.exp: New file.
7130
4aa866af
LS
71312019-04-15 Leszek Swirski <leszeks@google.com>
7132
7133 * gdb.arch/amd64-eval.cc: New file.
7134 * gdb.arch/amd64-eval.exp: New file.
7135
e5a1a79a
AH
71362019-04-11 Alan Hayward <alan.hayward@arm.com>
7137
7138 * gdb.server/sysroot.c: New test.
7139 * gdb.server/sysroot.exp: New file.
7140 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7141 matching param.
7142
41077b66
AB
71432019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7144
7145 * gdb.base/align.exp: Extend test to cover structures containing
7146 only static fields.
7147
c30391f8
TV
71482019-04-11 Tom de Vries <tdevries@suse.de>
7149
7150 * boards/cc-with-dwz-m.exp: New file.
7151 * boards/cc-with-dwz.exp: New file.
7152 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7153
e242fd12
SM
71542019-04-09 Simon Marchi <simon.marchi@efficios.com>
7155
7156 * gdb.base/start-cpp.exp: New file.
7157 * gdb.base/start-cpp.cc: New file.
7158
2b0c8b01
KB
71592019-04-08 Kevin Buettner <kevinb@redhat.com>
7160
7161 * gdb.python/py-thrhandle.exp: Adjust tests to call
7162 thread_from_handle instead of thread_from_thread_handle.
7163
947210e5
KB
71642019-04-08 Kevin Buettner <kevinb@redhat.com>
7165
7166 * gdb.python/py-thrhandle.exp: Add tests for
7167 gdb.InferiorThread.handle.
7168
d7df6549
AB
71692019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7170
7171 * gdb.python/py-function.exp: Check calling helper function from
7172 all languages.
7173 * lib/gdb.exp (gdb_supported_languages): New proc.
7174
8bdc1658
AB
71752019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7176
7177 * gdb.base/complex-parts.c: New file.
7178 * gdb.base/complex-parts.exp: New file.
7179
05caa1d2
TT
71802019-04-01 Tom Tromey <tromey@adacore.com>
7181
7182 PR symtab/23331:
7183 * gdb.dwarf2/dw2-ranges-main.c: New file.
7184 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7185 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7186
7734102d
EZ
71872019-03-30 Simon Marchi <simark@simark.ca>
7188
7189 * gdb.base/default.exp: Add values for $_gdb_major and
7190 $_gdb_minor.
7191
188e1fa9
TT
71922019-03-29 Tom Tromey <tromey@adacore.com>
7193
7194 * gdb.base/help.exp: Tighten apropos regexp.
7195
2880242d
KS
71962019-03-29 Keith Seitz <keiths@redhat.com>
7197
7198 * gdb.fortran/array-bounds.exp: New file.
7199 * gdb.fortran/array-bounds.f90: New file.
7200
077cad8e
PW
72012019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7202
7203 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7204
80047cfc
PW
72052019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7206
7207 * gdb.multi/hello.c (main): Increase alarm timer.
7208
f489207e
SL
72092019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7210
7211 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7212 factor when no hardware watchpoint support.
7213
c92df149
AH
72142019-03-28 Alan Hayward <alan.hayward@arm.com>
7215 Pedro Alves <palves@redhat.com>
7216
7217 * boards/local-board.exp: set sysroot to /.
7218
933aebfa
AH
72192019-03-27 Alan Hayward <alan.hayward@arm.com>
7220
7221 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7222 in child.
7223
9f9aa852
AB
72242019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7225
7226 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7227 field.
7228 (make_container): Initialise new field.
7229 * gdb.python/py-prettyprint.exp: Add new tests.
7230 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7231 <display_hint>: New method.
7232
3714a195
AB
72332019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7234
7235 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7236 gdb_continue_to_breakpoint more throughout this test.
7237 (run_lang_tests) Supply unique test names, and use
7238 gdb_test_no_output.
7239
18c77628
AB
72402019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7241
7242 * gdb.base/finish-pretty.exp: Update expected results.
7243 * gdb.base/pretty-print.c: New file.
7244 * gdb.base/pretty-print.exp: New file.
7245
9a93502f
PA
72462019-03-25 Pedro Alves <palves@redhat.com>
7247
7248 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7249 move comments outside list. Append '-i "" eof' section.
7250
968aa7ae
AH
72512019-03-22 Alan Hayward <alan.hayward@arm.com>
7252
34a7f2a4 7253 PR testsuite/25016
968aa7ae
AH
7254 * README: Add pie options.
7255 * gdb.base/break-interp.exp: Ensure pie is disabled.
7256 * gdb.base/dump.exp: Likewise.
7257 * lib/gdb.exp (gdb_compile): Add pie option.
7258
4c7d57e7
TT
72592019-03-19 Tom Tromey <tromey@adacore.com>
7260
7261 * gdb.mi/mi2-cli-display.c: New file.
7262 * gdb.mi/mi2-cli-display.exp: New file.
7263
bff8c71f
TT
72642019-03-18 Joel Brobecker <brobecker@adacore.com>
7265 Tom Tromey <tromey@adacore.com>
7266
7267 * gdb.ada/ptype_array/pck.adb: New file.
7268 * gdb.ada/ptype_array/pck.ads: New file.
7269 * gdb.ada/ptype_array/foo.adb: New file.
7270 * gdb.ada/ptype_array.exp: New file.
7271
d085f989
TT
72722019-03-14 Tom Tromey <tromey@adacore.com>
7273
7274 * gdb.base/style.exp: Add "set style sources" test.
7275
b4be1b06
SM
72762019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7277
7278 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7279 * mi-breakpoint-multiple-locations.exp: ... this.
7280 (make_breakpoints_pattern): New proc.
7281 (do_test): Add mi_version parameter, test -break-insert,
7282 -break-info and =breakpoint-created.
7283
7cde5fc2
AB
72842019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7285
7286 * config/default.exp: Remove 'load_lib gdb.exp'.
7287 * config/monitor.exp: Likewise.
7288 * config/sid.exp: Likewise.
7289 * config/sim.exp: Likewise.
7290 * config/slite.exp: Likewise.
7291 * config/unix.exp: Likewise.
7292 * gdb.base/default.exp: Remove unhelpful comment.
7293
efbecbc1
AB
72942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7295
7296 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7297
0841c79a
AB
72982019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7299
7300 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7301
4a270568
AB
73022019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7303
7304 * gdb.fortran/type-kinds.exp: Update expected results.
7305
067630bd
AB
73062019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7307
7308 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7309
3be47f7a
AB
73102019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7311
7312 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7313 function.
7314 (test_basic_parsing_of_type_kinds): Expand types tested.
7315 (test_parsing_invalid_type_kinds): New function.
7316
4d00f5d8
AB
73172019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7318
7319 * gdb.fortran/intrinsics.exp: New file.
7320 * gdb.fortran/intrinsics.f90: New file.
7321 * gdb.fortran/type-kinds.exp: New file.
7322
c8f91604
AB
73232019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7324
7325 * gdb.fortran/dot-ops.exp: New file.
7326
dd9f2c76
AB
73272019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7328
7329 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7330 Check upper and lower case logical literals.
7331
84ec9724
AB
73322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7333
7334 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7335 Remove duplicate tests.
7336
c3734e09
AH
73372019-03-06 Alan Hayward <alan.hayward@arm.com>
7338
7339 * lib/gdb.exp (builtin_cd): rename of cd.
7340 (cd): Override builtin.
7341
aa3cfbda
RB
73422019-03-06 Richard Bunt <richard.bunt@arm.com>
7343
7344 * gdb.fortran/function-calls.exp: New file.
7345 * gdb.fortran/function-calls.f90: New test.
7346
7b63ad86
RB
73472019-03-04 Richard Bunt <richard.bunt@arm.com>
7348
7349 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7350 on user program standard output.
7351 * gdb.fortran/short-circuit-argument-list.f90: Record function
7352 calls.
7353
01abb042
AH
73542019-02-28 Alan Hayward <alan.hayward@arm.com>
7355
c3734e09
AH
7356 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7357 failure.
01abb042 7358
92137da0
RO
73592019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7360
7361 PR gdb/8527
7362 * gdb.base/interrupt-daemon-attach.c,
7363 gdb.base/interrupt-daemon-attach.exp: New test.
7364
5862844d
PA
73652019-02-27 Pedro Alves <palves@redhat.com>
7366
7367 * gdb.base/page.exp: Add tests for "set width/height -1".
7368
8ed25214
PA
73692019-02-27 Pedro Alves <palves@redhat.com>
7370
7371 * gdb.base/page.exp: Add tests for "set/show width/height" with
7372 "infinite" values.
7373
6c28e44a
TT
73742019-02-27 Tom Tromey <tromey@adacore.com>
7375
7376 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7377 2.4.
7378 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7379 workaround.
7380
bf9a735e
AB
73812019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7382
7383 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7384 tests for structs with static members.
7385
8791793c
TT
73862019-02-26 Tom Tromey <tromey@adacore.com>
7387
7388 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7389 ValueError, not TypeError.
7390
bc2a507e
KB
73912019-02-26 Kevin Buettner <kevinb@redhat.com>
7392
7393 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7394 call from main program.
7395
e0e7d3bd
JB
73962019-02-23 Joel Brobecker <brobecker@adacore.com>
7397
7398 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7399 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7400 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7401 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7402 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7403
9600246d
KS
74042019-02-22 Keith Seitz <keiths@redhat.com>
7405
7406 PR symtab/23853
7407 * gdb.base/symlink-sourcefile.c: New file.
7408 * gdb.base/symlink-sourcefile.exp: New file.
7409
0c95f9ed
TT
74102019-02-20 Tom Tromey <tom@tromey.com>
7411
7412 * gdb.base/info_qt.exp: Update.
7413
6caa91b6
SM
74142019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7415
7416 * gdb.base/source.exp: Move "error in sourced script" code to
7417 the end.
7418 * gdb.base/source-error.gdb: Move contents to
7419 source-error-1.gdb. Add new code to source source-error-1.gdb.
7420 * gdb.base/source-error-1.gdb: New file, from previous
7421 source-error.gdb.
7422
6506371f
TT
74232019-02-17 Tom Tromey <tom@tromey.com>
7424
7425 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
7426 for macro styling.
7427 * gdb.base/style.c (SOME_MACRO): New macro.
7428
a0087920
TT
74292019-02-17 Tom Tromey <tom@tromey.com>
7430
7431 * gdb.base/style.exp: Add line-wrapping tests.
7432 * gdb.base/page.exp: Add test for quitting during pagination.
7433
a2cd4f14
JB
74342019-02-17 Joel Brobecker <brobecker@adacore.com>
7435
7436 * gdb.ada/big_packed_array: New testcase.
7437 * gdb.ada/homonym.exp: Fix incorrect expected output for
7438 "break <homonym__get_value>" test.
7439
9d70ffbc
WP
74402019-02-13 Weimin Pan <weimin.pan@oracle.com>
7441
7442 PR breakpoints/21870
7443 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7444 and prepare_for_testing. Add comment.
7445 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7446 redundant cleanup call. Clean up comment.
7447
01c7ae81
WP
74482019-02-12 Weimin Pan <weimin.pan@oracle.com>
7449
7450 PR breakpoints/21870
7451 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7452 * gdb.arch/aarch64-dbreg-contents.c: New file.
7453
aff29d1c
JB
74542019-02-10 Joel Brobecker <brobecker@adacore.com>
7455
7456 * gdb.ada/mi_ref_changeable: New testcase.
7457
df0da8a2
AH
74582019-02-07 Alan Hayward <alan.hayward@arm.com>
7459
7460 * gdb.base/attach.exp: Add double attach test.
7461
bd447abb
SM
74622019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7463
7464 * lib/gdb.exp (default_gdb_start): Don't match pagination
7465 prompt.
7466 (gdb_init): Set stty_init.
7467
1dbc40b9
TT
74682019-01-27 Tom Tromey <tom@tromey.com>
7469
7470 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7471 skip_python_tests.
7472
353229bf
AH
74732019-01-24 Alan Hayward <alan.hayward@arm.com>
7474
7475 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7476 New structure.
7477 (struct struct_static_02_02): Likewise.
7478 (struct struct_static_02_03): Likewise.
7479 (struct struct_static_02_04): Likewise.
7480 (struct struct_static_04_01): Likewise.
7481 (struct struct_static_04_02): Likewise.
7482 (struct struct_static_04_03): Likewise.
7483 (struct struct_static_04_04): Likewise.
7484 (struct struct_static_06_01): Likewise.
7485 (struct struct_static_06_02): Likewise.
7486 (struct struct_static_06_03): Likewise.
7487 (struct struct_static_06_04): Likewise.
7488 (cmp_struct_static_02_01): Likewise.
7489 (cmp_struct_static_02_02): Likewise.
7490 (cmp_struct_static_02_03): Likewise.
7491 (cmp_struct_static_02_04): Likewise.
7492 (cmp_struct_static_04_01): Likewise.
7493 (cmp_struct_static_04_02): Likewise.
7494 (cmp_struct_static_04_03): Likewise.
7495 (cmp_struct_static_04_04): Likewise.
7496 (cmp_struct_static_06_01): Likewise.
7497 (cmp_struct_static_06_02): Likewise.
7498 (cmp_struct_static_06_03): Likewise.
7499 (cmp_struct_static_06_04): Likewise.
7500 (call_all): Test new structs.
7501 * gdb.base/infcall-nested-structs.exp: Likewise.
7502
73021deb
AH
75032019-01-21 Alan Hayward <alan.hayward@arm.com>
7504 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7505
fc65c7db
AH
75062019-01-21 Alan Hayward <alan.hayward@arm.com>
7507 * gdb.base/stack-protector.c: New test.
7508 * gdb.base/stack-protector.exp: New file.
7509 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7510 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7511 option.
7512 (gdb_compile): Remove stack protector for GCC and prevent
7513 recursion.
7514
c24bdb02
KS
75152019-01-16 Keith Seitz <keiths@redhat.com>
7516
7517 PR gdb/23773
7518 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7519
6f072a10
PFC
75202019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7521
7522 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7523 aliases.
7524 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7525 tests.
7526 * gdb.arch/powerpc-vector-regs.c: New file.
7527 * gdb.arch/powerpc-vector-regs.exp: New file.
7528
a7b8d682
PFC
75292019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7530
7531 * gdb.arch/altivec-regs.exp: Fix the list passed to
7532 gdb_expect_list when testing "info vector".
7533
6eb6fb67
AB
75342019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7535
7536 * gdb.base/style.exp: Don't include path in testname.
7537
b56f80d8
KS
75382019-01-10 Keith Seitz <keiths@redhat.com>
7539
7540 PR gdb/23712
7541 PR symtab/23010
7542 * gdb.dwarf2/multidictionary.exp: New file.
7543
041be526
SM
75442019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7545
7546 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7547 (test_gnuv3_style_demangling): ... this.
7548 (test_lucid_style_demangling): Remove.
7549 (test_arm_style_demangling): Remove.
7550 (test_hp_style_demangling): Remove.
7551 (do_tests): Remove calls to the above.
7552
d820d0c3
AB
75532019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7554
7555 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7556 case.
7557
f097f5ad
TT
75582019-01-06 Tom Tromey <tom@tromey.com>
7559
7560 PR gdb/28155:
7561 * gdb.dwarf2/typedef-void-finish.exp: New file.
7562
2cd8cc0b
TT
75632018-12-28 Tom Tromey <tom@tromey.com>
7564 Simon Marchi <simark@simark.ca>
7565
7566 * gdb.base/jit-exec.exp: New file.
7567 * gdb.base/jit-exec.c: New file.
7568 * gdb.base/jit-execd.c: New file.
7569
35fb8261
TT
75702018-12-28 Tom Tromey <tom@tromey.com>
7571
7572 * gdb.base/style.exp: Update test to check for address styling.
7573
47fd17cd
TT
75742018-12-28 Tom Tromey <tom@tromey.com>
7575
7576 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7577 message.
7578
d47032b7
TT
75792018-12-28 Tom Tromey <tom@tromey.com>
7580
7581 * gdb.base/style.exp: Add test for version number styling.
7582
af79b68d
TT
75832018-12-28 Tom Tromey <tom@tromey.com>
7584
7585 * gdb.base/style.exp: Add test for print_address_symbolic.
7586
0bb296cb
TT
75872018-12-28 Tom Tromey <tom@tromey.com>
7588
7589 * gdb.base/style.exp: Add test for breakpoint setting.
7590
80ae2043
TT
75912018-12-28 Tom Tromey <tom@tromey.com>
7592
7593 * gdb.base/style.exp: Add test for variable names.
7594
cbe56571
TT
75952018-12-28 Tom Tromey <tom@tromey.com>
7596
7597 * gdb.base/style.exp: New file.
7598 * gdb.base/style.c: New file.
7599
9162a27c
TT
76002018-12-28 Tom Tromey <tom@tromey.com>
7601
7602 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7603 "dumb".
7604 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7605 the TERM environment variable.
7606
bc543c90
TT
76072018-12-27 Tom Tromey <tom@tromey.com>
7608
7609 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7610 pagination test.
7611
6f0ffe50
AB
76122018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7613
7614 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7615 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7616
b5a1e557
PW
76172018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7618
7619 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7620 Filename a.adb changed to bp_fun_addr.adb.
7621 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7622
6e8b1ab2
JV
76232018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7624
7625 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7626 non-PIE executables.
7627 * README: Mention the gdb,nopie_flag board setting.
7628 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7629 non-PIE executable.
7630 * gdb.arch/amd64-entry-value.exp: Likewise.
7631 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7632 * gdb.arch/i386-float.exp: Likewise.
7633 * gdb.arch/i386-signal.exp: Likewise.
7634 * gdb.mi/mi-reg-undefined.exp: Likewise.
7635
d00a27c5
PM
76362018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7637
7638 PR gdb/23974
7639 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7640
161d081c
PW
76412018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7642
7643 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7644 Update order of results accordingly.
7645
b001de23
AB
76462018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7647
7648 * gdb.base/annota1.exp: Update a test regexp.
7649
99e1a184
AB
76502018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7651
7652 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7653
7a81c1e2
PW
76542018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7655
7656 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7657 (reuse_time): Initialize to REUSE_TIME_CAP.
7658 (check_rc): New function.
7659 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7660 Check pthread_create rc.
7661 (spawner_thread_func): Check pthread_create and pthread_join rc.
7662
73e8dc90
PA
76632018-12-08 Pedro Alves <palves@redhat.com>
7664
7665 * gdb.base/list.exp (test_forward_search): Rename to ...
7666 (test_forward_reverse_search): ... this. Also test reverse-search
7667 and the forward-search alias.
7668
13f2ed32
AB
76692018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7670
7671 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7672 local timeout variable before return, and remove all local timeout
7673 variable entirely.
7674 (gdb_load): Likewise.
7675
64d27cfc
TV
76762018-12-01 Tom de Vries <tdevries@suse.de>
7677
7678 * gdb.base/gdb-caching-proc.exp: New file.
7679
f63c03b4
SDJ
76802018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7681
7682 * Makefile.in (TIMESTAMP): New variable.
7683 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7684 command.
7685 (check-single-racy): Likewise.
7686 (check/%.exp): Likewise.
7687 (check-racy/%.exp): Likewise.
7688 (workers/%.worker): Likewise.
7689 (build-perf): Likewise.
7690 (check-perf): Likewise.
7691 * README: Describe new "TS" and "TS_FORMAT" variables.
7692 * print-ts.py: New file.
7693
1c97054b
BF
76942018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7695
7696 PR python/23714
7697 * gdb.python/python.exp: Test command repetition after
7698 gdb.execute.
7699
1871a62d
AB
77002018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7701
7702 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7703 is correctly aligned.
7704
fb5e1ed9
PW
77052018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7706
7707 * gdb.ada/info_auto_lang.exp: New testcase.
7708 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7709 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7710 * gdb.ada/info_auto_lang/some_c.c: New file.
7711
43d397ca
PW
77122018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7713
7714 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7715 FUNC_lang language syntax.
7716
beddd671
PW
77172018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7718
7719 * gdb.base/info_minsym.c: New file.
7720 * gdb.base/info_minsym.exp: New file.
7721
73fc52c4
TT
77222018-11-19 Tom Tromey <tom@tromey.com>
7723
7724 PR rust/23625:
7725 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7726 * gdb.rust/expr.exp: Update expected output. Change one test.
7727
994b876a
TT
77282018-11-19 Tom Tromey <tom@tromey.com>
7729
7730 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7731
6769f276
PA
77322018-11-19 Pedro Alves <palves@redhat.com>
7733
7734 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7735 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7736 see the expected warning.
7737
38a72da0
AH
77382018-11-16 Alan Hayward <alan.hayward@arm.com>
7739
7740 PR gdb/22736:
7741 * gdb.cp/infcall-nodebug-lib.c: New test.
7742 * gdb.cp/infcall-nodebug-main.c: New test.
7743 * gdb.cp/infcall-nodebug.exp: New file.
7744
53a89d6e
SM
77452018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7746
7747 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7748 completer tests.
7749
9325300d
TV
77502018-11-09 Tom de Vries <tdevries@suse.de>
7751
7752 * gdb.base/msym-lang.c: New test.
7753 * gdb.base/msym-lang.exp: New file.
7754 * gdb.base/msym-lang-main.c: New test.
7755
20f0d60d
TT
77562018-11-08 Tom Tromey <tom@tromey.com>
7757
7758 PR gdb/23555:
7759 PR gdb/23838:
7760 * gdb.base/warning.exp: New file.
7761
b5420128
JB
77622018-11-08 Jan Beulich <jbeulich@suse.com>
7763
7764 * testsuite/gdb.arch/i386-avx512.c,
7765 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7766
cd115d61
AB
77672018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7768
7769 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7770 point hardware.
7771
35ee2dc2
AB
77722018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7773
7774 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7775 * gdb.dwarf2/missing-type-name.exp: New file.
7776
31aceee8
TV
77772018-11-06 Tom de Vries <tdevries@suse.de>
7778
7779 * gdb.base/many-headers.c: New test.
7780 * gdb.base/many-headers.exp: New file.
7781
109be305
JW
77822018-11-06 Jim Wilson <jimw@sifive.com>
7783
7784 * gdb.base/code_elim.exp: For riscv, set additional_flags
7785 to include -msmall-data-limit=0.
7786
e2b7af72
JB
77872018-11-01 Joel Brobecker <brobecker@adacore.com>
7788
7789 * gdb.ada/watch_minus_l: New testcase.
7790
cdcda965
SM
77912018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7792
7793 * gdb.arch/aix-sighandle.c: New file.
7794 * gdb.arch/aix-sighandle.exp: New file.
7795
92dcebf3
AB
77962018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7797
7798 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7799 registers being unions.
7800
68b9ac18
TV
78012018-10-31 Tom de Vries <tdevries@suse.de>
7802
7803 * lib/valgrind.exp: New file.
7804 (vgdb_start, vgdb_stop): New procs, factored out of ...
7805 * gdb.base/valgrind-bt.exp: ... here, ...
7806 * gdb.base/valgrind-disp-step.exp: ... here and ...
7807 * gdb.base/valgrind-infcall.exp: ... here.
7808
1443936e
TV
78092018-10-31 Tom de Vries <tdevries@suse.de>
7810
7811 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7812
eb77c9df
AB
78132018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7814
7815 * gdb.dwarf2/void-type.c: New file.
7816 * gdb.dwarf2/void-type.exp: New file.
7817
82b5e646
PW
78182018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7819
7820 * gdb.base/info_qt.c: New file.
7821 * gdb.base/info_qt.exp: New file.
7822
8d619c01
EBM
78232018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7824
7825 * gdb.arch/powerpc-htm-regs.c: New file.
7826 * gdb.arch/powerpc-htm-regs.exp: New file.
7827
f2cf6173
EBM
78282018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7829
7830 * gdb.arch/powerpc-tar.c: New file.
7831 * gdb.arch/powerpc-tar.exp: New file.
7832
7ca18ed6
EBM
78332018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7834
7835 * gdb.arch/powerpc-ppr-dscr.c: New file.
7836 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7837
bfcc0eba
TV
78382018-10-25 Tom de Vries <tdevries@suse.de>
7839
7840 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7841
fe1a5cad
TV
78422018-10-24 Tom de Vries <tdevries@suse.de>
7843
7844 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7845 longer exists error.
7846
a76dc3b7
TV
78472018-10-24 Tom de Vries <tdevries@suse.de>
7848
7849 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7850
4df46df7
TV
78512018-10-24 Tom de Vries <tdevries@suse.de>
7852
7853 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7854 --db-attach in valgrind.
7855
0dbfcfff
AB
78562018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7857
7858 * gdb.arch/riscv-reg-aliases.c: New file.
7859 * gdb.arch/riscv-reg-aliases.exp: New file.
7860
b04480b1
AH
78612018-10-19 Alan Hayward <alan.hayward@arm.com>
7862
7863 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7864
2c6ac8d7
AH
78652018-10-19 Alan Hayward <alan.hayward@arm.com>
7866
7867 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7868
2bc69f25
AH
78692018-10-19 Alan Hayward <alan.hayward@arm.com>
7870
7871 * gdb.cp/ovldbreak.exp: Fix regexps.
7872
1f1ae3a3
AH
78732018-10-19 Alan Hayward <alan.hayward@arm.com>
7874
7875 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7876
94c18618
SDJ
78772018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7878
7879 PR cli/23785
7880 * gdb.base/restore.exp: New test to check if "restore" with an
7881 invalid file doesn't segfault.
7882
812cd6eb
TV
78832018-10-18 Tom de Vries <tdevries@suse.de>
7884
7885 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7886 * gdb.ada/excep_handle.exp: Same.
7887 * gdb.ada/mi_string_access.exp: Same.
7888 * gdb.ada/mi_var_union.exp: Same.
7889 * gdb.arch/arc-analyze-prologue.exp: Same.
7890 * gdb.arch/arc-decode-insn.exp: Same.
7891 * gdb.base/readnever.exp: Same.
7892 * gdb.fortran/printing-types.exp: Same.
7893 * gdb.guile/scm-lazy-string.exp: Same.
7894
c4b90788
TV
78952018-10-16 Tom de Vries <tdevries@suse.de>
7896
7897 PR gdb/23730
7898 * gdb.base/catch-follow-exec.c: Add copyright notice.
7899 * gdb.base/catch-follow-exec.exp: Rewrite to use
7900 gdb_spawn_with_cmdline_opts. Require gdb-native.
7901
8bca2978
SL
79022018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7903
7904 * gdb.trace/actions-changed.exp: Check for arch support.
7905 * gdb.trace/actions.exp: Likewise.
7906 * gdb.trace/ax.exp: Likewise.
7907 * gdb.trace/backtrace.exp: Likewise.
7908 * gdb.trace/change-loc.exp: Likewise.
7909 * gdb.trace/deltrace.exp: Likewise.
7910 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7911 * gdb.trace/ftrace.exp: Likewise.
7912 * gdb.trace/infotrace.exp: Check for arch support.
7913 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7914 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7915 * gdb.trace/mi-tsv-changed.exp: Likewise.
7916 * gdb.trace/packetlen.exp: Likewise.
7917 * gdb.trace/passc-dyn.exp: Likewise.
7918 * gdb.trace/passcount.exp: Likewise.
7919 * gdb.trace/pending.exp: Likewise.
7920 * gdb.trace/range-stepping.exp: Check for shlib support.
7921 * gdb.trace/report.exp: Check for arch support.
7922 * gdb.trace/save-trace.exp: Likewise.
7923 * gdb.trace/signal.exp: Check for signal support.
7924 * gdb.trace/tfind.exp: Check for arch support.
7925 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7926 * gdb.trace/trace-common.h: Add comment.
7927 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7928 * gdb.trace/trace-enable-disable.exp: Likewise.
7929 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7930 * gdb.trace/tracecmd.exp: Check for arch support.
7931 * gdb.trace/tspeed.exp: Check for shlib and target support.
7932 * gdb.trace/tstatus.exp: Check for arch support.
7933 * gdb.trace/tsv.exp: Likewise.
7934 * gdb.trace/while-dyn.exp: Likewise.
7935 * gdb.trace/while-stepping.exp: Likewise.
7936 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7937
f9c49bff
SM
79382018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7939
7940 * gdb.trace/tspeed.exp: Remove nowarnings.
7941 (prepare_for_trace_test): Declare "global ipalib".
7942 * gdb.trace/tspeed.c: Include unistd.h.
7943 (main): Remove superfluous printf argument.
7944
d4330bde
SL
79452018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7946
7947 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7948 directory prefix on the filename.
7949
8ecfd7bd
SDJ
79502018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7951
7952 * gdb.gdb/unittest.exp: Update expected message informing that
7953 selftests have been disabled.
7954 * gdb.server/unittest.exp: Likewise.
7955
58bbcd02
TV
79562018-10-09 Tom de Vries <tdevries@suse.de>
7957
7958 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7959 with runto_main.
7960
9f6b697b
WP
79612018-10-08 Weimin Pan <weimin.pan@oracle.com>
7962
7963 PR c++/16841
7964 * gdb.cp/virtbase2.cc: New file.
7965 * gdb.cp/virtbase2.exp: New file.
7966
add5ded5
TT
79672018-10-06 Tom Tromey <tom@tromey.com>
7968
7969 PR python/19399:
7970 * gdb.python/py-inferior.exp: Add architecture test.
7971
f9e48344
TT
79722018-10-06 Tom Tromey <tom@tromey.com>
7973
7974 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7975 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7976
2a8be203
TT
79772018-10-06 Tom Tromey <tom@tromey.com>
7978
7979 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7980 of a "throw" catchpoint.
7981
e04caa70
SDJ
79822018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7983
7984 * gdb.base/info-proc.exp: Update string expected from "help info
7985 proc".
7986
5ca8c39f
TT
79872018-10-04 Tom Tromey <tom@tromey.com>
7988
7989 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7990 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7991 (test_initial_complaints, test_empty_complaints): Update.
7992 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7993
3453e7e4
TT
79942018-10-04 Tom Tromey <tom@tromey.com>
7995
7996 PR cli/19551:
7997 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7998 * lib/gdb.exp (gdb_file_cmd): Update.
7999 * gdb.stabs/weird.exp (print_weird_var): Update.
8000 * gdb.server/solib-list.exp: Update.
8001 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8002 * gdb.mi/mi-cli.exp: Update.
8003 * gdb.linespec/linespec.exp: Update.
8004 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8005 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8006 * gdb.cp/cp-relocate.exp: Update.
8007 * gdb.base/sym-file.exp: Update.
8008 * gdb.base/relocate.exp: Update.
8009 * gdb.base/readnever.exp: Update.
8010 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8011 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8012 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8013 * gdb.base/code_elim.exp: Update.
8014 * gdb.base/break-unload-file.exp (test_break): Update.
8015 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8016 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8017 Update.
8018 * gdb.base/attach.exp (do_attach_tests): Update.
8019 * gdb.base/sepdebug.exp: Update.
8020 * gdb.python/py-section-script.exp: Update.
8021
6afcf761
TT
80222018-10-04 Tom Tromey <tom@tromey.com>
8023
8024 PR cli/22234:
8025 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8026 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8027 output.
8028
fef1b293
TT
80292018-10-04 Tom Tromey <tom@tromey.com>
8030
8031 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8032 set width and height to 0.
8033 (test_command_line_attach_run): Use -quiet.
8034
ca98345e
SL
80352018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8036
8037 * lib/gdb.exp (skip_ifunc_tests): New.
8038 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8039 other compile failures.
8040 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8041
ff34e6ae
SM
80422018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8043
8044 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8045 is_amd64_regs_target.
8046
6bb8890e
AH
80472018-10-01 Alan Hayward <alan.hayward@arm.com>
8048
8049 * gdb.arch/aarch64-sighandler-regs.c: New test.
8050 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8051 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8052
224d30d3
MM
80532018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8054
8055 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8056 assembly.
8057
f67ffa6a
AB
80582018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8059
8060 * gdb.base/frame-selection.exp: New file.
8061 * gdb.base/frame-selection.c: New file.
8062
9fc3183f
AH
80632018-09-27 Alan Hayward <alan.hayward@arm.com>
8064
8065 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8066 pthread barrier.
8067 (main): Likewise.
8068
d354055e
AB
80692018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8070
8071 * gdb.base/large-frame-1.c: New file.
8072 * gdb.base/large-frame-2.c: New file.
8073 * gdb.base/large-frame.exp: New file.
8074 * gdb.base/large-frame.h: New file.
8075
db727370
JL
80762018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8077
8078 PR gdb/20948
8079 * gdb.base/write_mem.exp: New test.
8080 * gdb.base/write_mem.c: Likewise.
8081
ae778caf
TT
80822018-09-23 Tom Tromey <tom@tromey.com>
8083
8084 PR python/18852:
8085 * gdb.python/py-parameter.exp: Add test for parameter that throws
8086 on "set".
8087
fd3ba736
TT
80882018-09-23 Tom Tromey <tom@tromey.com>
8089
8090 PR python/17284:
8091 * gdb.python/py-template.exp (test_template_arg): Add test for
8092 negative template argument number.
8093
39a24317
TT
80942018-09-23 Tom Tromey <tom@tromey.com>
8095
8096 PR python/14062:
8097 * gdb.python/python.exp: Add test for post_event error.
8098
f5769a2c
TT
80992018-09-23 Tom Tromey <tom@tromey.com>
8100
8101 PR python/18170:
8102 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8103 convert pointers to int and long.
8104
1c1e54f6
TT
81052018-09-23 Tom Tromey <tom@tromey.com>
8106
8107 PR python/20126:
8108 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8109 signed-ness conversion tests.
8110
fb4fa946
TT
81112018-09-23 Tom Tromey <tom@tromey.com>
8112
8113 PR python/18352;
8114 * gdb.python/py-value.exp (test_float_conversion): New proc.
8115 Use it.
8116
a466edac
HAQ
81172018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8118
8119 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8120
4ee9b0c5
SL
81212018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8122
8123 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8124 no readline.
8125 * gdb.base/utf8-identifiers.exp: Likewise.
8126 * gdb.cp/cpcompletion.exp: Likewise.
8127 * gdb.linespec/cpcompletion.exp: Likewise.
8128 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8129 * gdb.linespec/cpls-ops.exp: Likewise.
8130
23be8da7
RB
81312018-09-19 Richard Bunt <richard.bunt@arm.com>
8132 Chris January <chris.january@arm.com>
8133
8134 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8135 * gdb.fortran/short-circuit-argument-list.exp: New file.
8136 * gdb.fortran/short-circuit-argument-list.f90: New test.
8137
5031d0ae
SDJ
81382018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8139
8140 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8141 "arch=" keyword when executing "-stack-list-frames".
8142
b4c0d1a4
SDJ
81432018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8144
8145 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8146 "arch=" keyword when executing "-stack-list-frames".
8147
7a6d2b45
SDJ
81482018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8149
8150 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8151 break ada".
8152
8588b356
SM
81532018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8154
8155 PR python/23669
8156 * gdb.python/python.exp: Test gdb.execute("show commands").
8157
65e65158
TT
81582018-09-16 Tom Tromey <tom@tromey.com>
8159
8160 * gdb.base/new-ui.exp (do_execution_tests): Update.
8161 * gdb.base/dbx.exp (test_breakpoints): Update.
8162
bf326452
AH
81632018-09-14 Alan Hayward <alan.hayward@arm.com>
8164
8165 * lib/gdb.exp (gdb_simple_compile): Add proc.
8166 (is_elf_target): Use gdb_simple_compile.
8167 (skip_altivec_tests): Likewise.
8168 (skip_vsx_tests): Likewise.
8169 (skip_tsx_tests): Likewise.
8170 (skip_btrace_tests): Likewise.
8171 (skip_btrace_pt_tests): Likewise.
8172 (gdb_can_simple_compile): Likewise.
8173 (gdb_has_argv0): Likewise.
8174 (gdb_target_symbol_prefix): Likewise.
8175 (target_supports_scheduler_locking): Likewise.
8176
2361b0fb
TT
81772018-09-13 Tom Tromey <tom@tromey.com>
8178
8179 * Makefile.in (TAGS): Recognize proc_with_prefix and
8180 gdb_caching_proc.
8181
0ae1a321
SM
81822018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8183
8184 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8185 method.
8186
a40bf0c2
SM
81872018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8188
8189 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8190 and a few other Inferior properties when the Inferior is no
8191 longer valid.
8192
4a3fe98f
TT
81932018-09-13 Tom Tromey <tom@tromey.com>
8194
8195 PR rust/23650:
8196 * gdb.rust/simple.exp: Add test for enum field access error.
8197
098b2108
TT
81982018-09-13 Tom Tromey <tom@tromey.com>
8199
8200 PR rust/23626:
8201 * gdb.rust/simple.rs (EmptyEnum): New type.
8202 (main): Use it.
8203 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8204
1256af7d
SM
82052018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8206
8207 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8208 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8209 * gdb.python/py-symtab.exp: Update test printing an objfile.
8210
4aa8e6c2
SM
82112018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8212
8213 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8214 object.
8215
c221b2f7
AH
82162018-09-12 Alan Hayward <alan.hayward@arm.com>
8217
8218 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8219 (support_complex_tests): Use gdb_can_simple_compile.
8220 (is_ilp32_target): Likewise.
8221 (is_lp64_target): Likewise.
8222 (is_64_target): Likewise.
8223 (is_amd64_regs_target): Likewise.
8224 (is_aarch32_target): Likewise.
8225 (gdb_int128_helper): Likewise.
8226
6f1107b5
JK
82272018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8228
8229 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8230
1f5d1570
JG
82312018-09-10 Jerome Guitton <guitton@adacore.com>
8232
8233 * gdb.ada/same_component_name: Add test for case of tagged record
8234 with variable-length fields.
8235
cc330e39
XR
82362018-09-10 Xavier Roirand <roirand@adacore.com>
8237
8238 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8239 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8240 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8241 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8242
b9c50e9a
XR
82432018-09-10 Xavier Roirand <roirand@adacore.com>
8244
8245 * gdb.ada/mi_string_access.exp: New testcase.
8246 * gdb.ada/mi_string_access/bar.adb: New file.
8247 * gdb.ada/mi_string_access/pck.adb: New file.
8248 * gdb.ada/mi_string_access/pck.asd: New file.
8249
2963898f
XR
82502018-09-10 Xavier Roirand <roirand@adacore.com>
8251
8252 * gdb.ada/mi_var_union.exp: New testcase.
8253 * gdb.ada/mi_var_union/bar.adb: New file.
8254 * gdb.ada/mi_var_union/pck.adb: New file.
8255 * gdb.ada/mi_var_union/pck.asd: New file.
8256
1aac008f
TT
82572018-09-08 Tom Tromey <tom@tromey.com>
8258
8259 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8260
332cf4c9
TT
82612018-09-08 Tom Tromey <tom@tromey.com>
8262
8263 PR python/16047:
8264 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8265 (register_pretty_printers): Register new printer.
8266 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8267 test.
8268 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8269 (an_int_type3): New global.
8270
424da6cf
JB
82712018-09-08 Joel Brobecker <brobecker@adacore.com>
8272
8273 * gdb.ada/expr_with_funcall: New testcase.
8274
2a62dfa9
JB
82752018-09-08 Joel Brobecker <brobecker@adacore.com>
8276
8277 * gdb.ada/packed_array_assign: New testcase.
8278
96b6697f
AB
82792018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8280
8281 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8282 names, and add test prefixes to make test names unique.
8283
e4a62c65
TV
82842018-09-05 Tom de Vries <tdevries@suse.de>
8285
8286 * gdb.dwarf2/varval.exp: Add test.
8287
dd083ee2
GB
82882018-09-04 Gary Benson <gbenson@redhat.com>
8289
8290 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8291 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8292
aef9346c
TT
82932018-08-31 Tom Tromey <tom@tromey.com>
8294
8295 * gdb.rust/simple.rs: Rename second variable "v".
8296
c67f2e15
AB
82972018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8298
8299 * gdb.base/funcargs.c (use_a): New function.
8300 (recurse): Call use_a.
8301
078a0207
KS
83022018-08-29 Keith Seitz <keiths@redhat.com>
8303
8304 * gdb.compile/compile-cplus-anonymous.cc: New file.
8305 * gdb.compile/compile-cplus-anonymous.exp: New file.
8306 * gdb.compile/compile-cplus-array-decay.cc: New file.
8307 * gdb.compile/compile-cplus-array-decay.exp: New file.
8308 * gdb.compile/compile-cplus-inherit.cc: New file.
8309 * gdb.compile/compile-cplus-inherit.exp: New file.
8310 * gdb.compile/compile-cplus-member.cc: New file.
8311 * gdb.compile/compile-cplus-member.exp: New file.
8312 * gdb.compile/compile-cplus-method.cc: New file.
8313 * gdb.compile/compile-cplus-method.exp: New file.
8314 * gdb.compile/compile-cplus-mod.c: "New" file.
8315 * gdb.compile/compile-cplus-namespace.cc: New file.
8316 * gdb.compile/compile-cplus-namespace.exp: New file.
8317 * gdb.compile/compile-cplus-nested.cc: New file.
8318 * gdb.compile/compile-cplus-nested.exp: New file.
8319 * gdb.compile/compile-cplus-print.c: "New" file.
8320 * gdb.compile/compile-cplus-print.exp: "New" file.
8321 * gdb.compile/compile-cplus-virtual.cc: New file.
8322 * gdb.compile/compile-cplus-virtual.exp: New file.
8323 * gdb.compile/compile-cplus.c: "New" file.
8324 * gdb.compile/compile-cplus.exp: "New" file.
8325 * lib/compile-support.exp: New file.
8326
b0f492b9
GB
83272018-08-16 Gary Benson <gbenson@redhat.com>
8328
8329 PR gdb/13000:
8330 * gdb.base/batch-exit-status.exp: New file.
8331 * gdb.base/batch-exit-status.good-commands: Likewise.
8332 * gdb.base/batch-exit-status.bad-commands: Likewise.
8333
36eb4c5f
AH
83342018-08-29 Alan Hayward <alan.hayward@arm.com>
8335
8336 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8337 (struct struct02): Likewise.
8338 (struct struct03): Likewise.
8339 (struct struct04): Likewise.
8340 (struct struct_01_01): New struct.
8341 (struct struct_01_02): Likewise.
8342 (struct struct_01_03): Likewise.
8343 (struct struct_01_04): Likewise.
8344 (struct struct_02_01): Likewise.
8345 (struct struct_02_02): Likewise.
8346 (struct struct_02_03): Likewise.
8347 (struct struct_02_04): Likewise.
8348 (struct struct_04_01): Likewise.
8349 (struct struct_04_02): Likewise.
8350 (struct struct_04_03): Likewise.
8351 (struct struct_04_04): Likewise.
8352 (struct struct_05_01): Likewise.
8353 (struct struct_05_02): Likewise.
8354 (struct struct_05_03): Likewise.
8355 (struct struct_05_04): Likewise.
8356 (cmp_struct01): Remove function.
8357 (cmp_struct02): Likewise.
8358 (cmp_struct03): Likewise.
8359 (cmp_struct04): Likewise.
8360 (cmp_struct_01_01): Add Function.
8361 (cmp_struct_01_02): Likewise.
8362 (cmp_struct_01_03): Likewise.
8363 (cmp_struct_01_04): Likewise.
8364 (cmp_struct_02_01): Likewise.
8365 (cmp_struct_02_02): Likewise.
8366 (cmp_struct_02_03): Likewise.
8367 (cmp_struct_02_04): Likewise.
8368 (cmp_struct_04_01): Likewise.
8369 (cmp_struct_04_02): Likewise.
8370 (cmp_struct_04_03): Likewise.
8371 (cmp_struct_04_04): Likewise.
8372 (cmp_struct_05_01): Likewise.
8373 (cmp_struct_05_02): Likewise.
8374 (cmp_struct_05_03): Likewise.
8375 (cmp_struct_05_04): Likewise.
8376 (call_all): Add new structs.
8377 * gdb.base/infcall-nested-structs.exp: Likewise.
8378
3bf9c013
JV
83792018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8380
8381 * gdb.python/py-framefilter-mi.exp: Update regexp to
8382 check for "arch" field in frame output.
8383
450d1e88
KB
83842018-08-23 Kevin Buettner <kevinb@redhat.com>
8385
8386 * gdb.dwarf2/dw2-ranges-func.c: New file.
8387 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8388
ae739fe7
SM
83892018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8390
8391 * gdb.base/term.exp: Compare terminal settings with values from
8392 the inferior.
8393 * gdb.base/term.c: Get and set terminal settings.
8394
6d52907e
JV
83952018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8396
8397 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8398 accommodate new "arch" field in frame output.
8399 * gdb.mi/mi-return.exp: Likewise.
8400 * gdb.mi/mi-stack.exp: Likewise.
8401 * gdb.mi/mi-syn-frame.exp: Likewise.
8402 * gdb.mi/user-selected-context-sync.exp: Likewise.
8403
be2d111a
MS
84042018-08-19 Michael Spang <spang@google.com>
8405
8406 PR gdb/11786
8407 * gdb.base/gcore-tls-pie.c: New file.
8408 * gdb.base/gcore-tls-pie.exp: New file.
8409
ae3a7c47
KB
84102018-08-18 Kevin Buettner <kevinb@redhat.com>
8411
8412 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
8413 * gdb.dwarf2/varval.c: New file.
8414 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 8415
2ecae92e
AH
84162018-08-17 Alan Hayward <alan.hayward@arm.com>
8417
8418 PR gdb/18931
8419 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8420
c1854f1d
KS
84212018-08-16 Keith Seitz <keiths@redhat.com>
8422
8423 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
8424 tests expected to pass.
8425
26fb3983
JV
84262018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
8427
8428 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8429 -data-disassemble -a.
8430 (test_disassembly_bogus_args): Likewise.
8431
67943c00
AB
84322018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8433
8434 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8435
5ff2bbae
AB
84362018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8437
8438 * gdb.base/vla-optimized-out.exp: Add new test.
8439
e5bbcd0f
AB
84402018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8441
8442 * gdb.base/vla-optimized-out-o3.exp: Delete.
8443 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8444 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8445 deleted tests.
8446
9d4a934c
AB
84472018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8448
8449 PR gdb/18050:
8450 * gdb.server/extended-remote-restart.c: New file.
8451 * gdb.server/extended-remote-restart.exp: New file.
8452
045cf012
SM
84532018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8454
8455 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8456 "set variable index = 42".
8457
87d6a7aa
SM
84582018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8459
8460 * boards/index-cache-gdb.exp: New file.
8461 * gdb.dwarf2/index-cache.exp: New file.
8462 * gdb.dwarf2/index-cache.c: New file.
8463 * gdb.base/maint.exp: Check if we are using the index cache.
8464
96d68bd4
RO
84652018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8466
8467 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8468 MAKEFLAGS.
8469
5a699617
RO
84702018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8471
8472 * dg-extract-results.sh: Move to toplevel contrib.
8473 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8474 * Makefile.in (check-parallel-racy): Likewise.
8475
5bd18990
AB
84762018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8477
8478 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8479 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8480 tests if the target supports scheduler locking.
8481
3fbbcf47
TV
84822018-08-04 Tom de Vries <tdevries@suse.de>
8483
8484 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8485
3e1d3d8c
TT
84862018-08-02 Tom Tromey <tom@tromey.com>
8487
8488 PR symtab/16842.
8489 * gdb.cp/temargs.exp: Test "info address" of a template
8490 parameter.
8491
5abe0f0c
JV
84922018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8493
8494 * gdb.python/py-mi-var-info-path-expression.c: New file.
8495 * gdb.python/py-mi-var-info-path-expression.py: New file.
8496 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8497
fb66cde8
SDJ
84982018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8499
8500 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8501 error after "cannot resolve name" string.
8502
c708f4d2
AB
85032018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8504
8505 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8506 started.
8507 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8508
37cc0cae
TV
85092018-07-28 Tom de Vries <tdevries@suse.de>
8510
8511 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8512
63b4ecf7
TV
85132018-07-26 Tom de Vries <tdevries@suse.de>
8514
8515 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8516
3c3bb058
AB
85172018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8518
8519 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8520 is visible.
8521
9e7f3bbb
TV
85222018-07-26 Tom de Vries <tdevries@suse.de>
8523
8524 PR breakpoints/23366
8525 * gdb.base/catch-follow-exec.c: New test.
8526 * gdb.base/catch-follow-exec.exp: New file.
8527
16f808ec
TV
85282018-07-25 Tom de Vries <tdevries@suse.de>
8529
8530 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8531 vla-optimized-out.c.
8532
d7154a8d
JV
85332018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8534
8535 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8536 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8537
232a0032
TV
85382018-07-20 Tom de Vries <tdevries@suse.de>
8539
8540 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8541 NOCLONE macro.
8542 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8543
fbb1d502
TV
85442018-07-19 Tom de Vries <tdevries@suse.de>
8545
8546 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8547 regular expression.
8548
42dc7699
TV
85492018-07-18 Tom de Vries <tdevries@suse.de>
8550
8551 * gdb.base/vla-optimized-out.c: New test.
8552 * gdb.base/vla-optimized-out.exp: New file.
8553
7f1f7e23
SDJ
85542018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8555
8556 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8557 message "No address associated with hostname" when gdbserver
8558 cannot resolve the hostname.
8559
5759ebb3
PW
85602018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8561
8562 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8563 Add some test prefixes to make tests unique.
8564
3606ccab
PW
85652018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8566
8567 * gdb.base/frameapply.c: New file.
8568 * gdb.base/frameapply.exp: New file.
8569
529c08b2
PW
85702018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8571
8572 * gdb.base/skip.exp: Update expected error message.
8573
c7ab0aef
SDJ
85742018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8575 Jan Kratochvil <jan.kratochvil@redhat.com>
8576 Paul Fertser <fercerpav@gmail.com>
8577 Tsutomu Seki <sekiriki@gmail.com>
8578
8579 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8580 parameter.
8581 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8582 by default.
8583 * boards/native-gdbserver.exp: Likewise.
8584 * gdb.server/run-without-local-binary.exp: Improve regexp used
8585 for detecting when a remote debugging connection succeeds.
8586 * gdb.server/server-connect.exp: New file.
8587 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8588 Do not prefix the port number with ":".
8589 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8590 support for detecting and using it. Add '$debughost_gdbserver'
8591 to the list of arguments used to start gdbserver. Handle case
8592 when gdbserver cannot resolve a network name.
8593
16ff70dd
SDJ
85942018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8595
8596 PR c++/23373
8597 * gdb.base/ptype-offsets.cc (struct static_member): New
8598 struct.
8599 (main) <stmember>: New variable.
8600 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8601 with a static member in it.
8602
3541979f
AB
86032018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8604
8605 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8606 watchpoints enabled and disabled.
8607
c8ad9b9a
AB
86082018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8609
8610 * gdb.base/examine-backward.exp: Still run tests around address
8611 0x0, even if address 0x0 is not readable. Update the pattern for
8612 matching address 0x0 in expected output.
8613
e0e5e971
AB
86142018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8615
8616 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8617 malloc/free.
8618
1ea5da02
TV
86192018-07-04 Tom de Vries <tdevries@suse.de>
8620
8621 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8622
471b9d15
MR
86232018-07-02 Maciej W. Rozycki <macro@mips.com>
8624
8625 PR tdep/8282
8626 * gdb.arch/mips-disassembler-options.exp: New test.
8627 * gdb.arch/mips-disassembler-options.s: New test source.
8628
75acb486
PA
86292018-06-29 Pedro Alves <palves@redhat.com>
8630
8631 * gdb.threads/names.exp: Adjust expected "info threads" output.
8632
cd2bb709
PA
86332018-06-29 Pedro Alves <palves@redhat.com>
8634
8635 * gdb.opt/inline-break.exp (line number, address): Add "info
8636 break" tests.
8637
991ff292
PA
86382018-06-29 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8641 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8642 number and address and running to them.
8643
356819b6 86442018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8645
8646 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8647
2512d7ef
JK
86482018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8649
8650 * lib/compiler.c: Remove executable permission flag.
8651
be1b6474
RB
86522018-06-28 Richard Bunt <richard.bunt@arm.com>
8653
8654 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8655 code.
8656 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8657
291f9a96
PT
86582018-06-28 Petr Tesarik <ptesarik@suse.cz>
8659
8660 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8661
ed6dfe51
PT
86622018-06-28 Petr Tesarik <ptesarik@suse.cz>
8663
8664 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8665 address argument is omitted.
8666
d4d429d5
PT
86672018-06-28 Petr Tesarik <ptesarik@suse.cz>
8668
8669 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8670
7ab6656f
OJ
86712018-06-27 Omair Javaid <omair.javaid@linaro.org>
8672
8673 PR gdb/21695
8674 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8675 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8676
a33ccfc7
TT
86772018-06-26 Tom Tromey <tom@tromey.com>
8678
8679 PR rust/22574:
8680 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8681 * gdb.rust/simple.rs (struct SimpleLayout): New.
8682
6d72d289
SM
86832018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8684
8685 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8686 "info registers" output.
8687
8363f9d5
RB
86882018-06-21 Richard Bunt <richard.bunt@arm.com>
8689
8690 * gdb.base/watchpoint-hw-attach.c: New test.
8691 * gdb.base/watchpoint-hw-attach.exp: New file.
8692
f00674fe
SM
86932018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8694
8695 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8696 through /bin/sh.
8697 * boards/dwarf4-gdb-index.exp: Likewise.
8698 * boards/fission-dwp.exp: Likewise.
8699
1d554008
UW
87002018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8701
8702 * gdb.base/float128.exp: Add comment and improved fail message
8703 to the failure case of "print large128" test.
8704
d0ac1c44
SM
87052018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8706
8707 * configure.ac: Remove AC_PREREQ.
8708 * configure: Re-generate.
8709
61b04dd0
PA
87102018-06-19 Pedro Alves <palves@redhat.com>
8711
8712 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8713 (func_extern_caller): New.
8714 (main): Call func_extern_caller.
8715 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8716 logic change.
8717
f63b508a
SM
87182018-06-18 Weimin Pan <weimin.pan@oracle.com>
8719
8720 PR gdb/16841
8721 * gdb.cp/typedef-base.cc: New file.
8722 * gdb.cp/typedef-base.exp: New file.
8723
0fe3a558
TV
87242018-06-18 Tom de Vries <tdevries@suse.de>
8725
8726 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8727
7010835a
AB
87282018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8729 Richard Bunt <Richard.Bunt@arm.com>
8730
8731 * gdb.threads/attach-slow-waitpid.c: New file.
8732 * gdb.threads/attach-slow-waitpid.exp: New file.
8733 * gdb.threads/slow-waitpid.c: New file.
8734
14897d65
PA
87352018-06-14 Pedro Alves <palves@redhat.com>
8736
8737 * gdb.base/fork-running-state.c: Include <errno.h>.
8738 (exit_if_relative_exits): New.
8739 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8740 exits.
8741 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8742 child exits.
8743
5d9a0608
TV
87442018-06-14 Tom de Vries <tdevries@suse.de>
8745
8746 PR cli/22573
8747 * gdb.base/finish-pretty.c: New test.
8748 * gdb.base/finish-pretty.exp: New file.
8749
11ae5818
PA
87502018-06-14 Pedro Alves <palves@redhat.com>
8751
8752 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8753 gdb's expected startup output.
8754
1d39de44
PA
87552018-06-14 Pedro Alves <palves@redhat.com>
8756
8757 * lib/selftest-support.exp (selftest_setup): Remove inlined
8758 function handling.
8759
70ee0000
TV
87602018-06-14 Tom de Vries <tdevries@suse.de>
8761
8762 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8763 matching of breakpoint printing.
8764
11f4b608
TV
87652018-06-13 Tom de Vries <tdevries@suse.de>
8766
8767 PR testsuite/23269
8768 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8769 (fork_child): ... here, and ...
8770 (fork_parent): ... here.
8771
87722018-06-12 Tom de Vries <tdevries@suse.de>
8773
8774 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8775
9516f85a
AB
87762018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8777 Stephen Roberts <stephen.roberts@arm.com>
8778
8779 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8780 rewrite test to describe action performed, rather than possible
8781 failure.
8782
5045b3d7
GB
87832018-06-08 Gary Benson <gbenson@redhat.com>
8784
8785 * gdb.threads/check-libthread-db.exp: New file.
8786 * gdb.threads/check-libthread-db.c: Likewise.
8787
c61b06a1
TT
87882018-06-05 Tom Tromey <tom@tromey.com>
8789
8790 * gdb.base/default.exp: Update expected "show version" output.
8791
eb6af809
TT
87922018-06-05 Tom Tromey <tom@tromey.com>
8793
8794 PR cli/12326:
8795 * gdb.cp/static-print-quit.exp: Update.
8796 * lib/gdb.exp (pagination_prompt): Update.
8797 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8798 * gdb.python/python.exp: Update.
8799
178d6a63
JB
88002018-06-04 Joel Brobecker <brobecker@adacore.com>
8801
8802 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8803
8e817061
JB
88042018-06-01 Joel Brobecker <brobecker@adacore.com>
8805
8806 * gdb.ada/bp_fun_addr: New testcase.
8807
e86ca25f
TT
88082018-06-01 Tom Tromey <tom@tromey.com>
8809
8810 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8811 results.
8812 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8813 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8814 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8815 * gdb.base/maint.exp (maint_pass_if): Update.
8816
4b2dfa9d
MR
88172018-05-31 Maciej W. Rozycki <macro@mips.com>
8818
8819 * gdb.base/endian.exp: New test.
8820 * gdb.base/endian.c: New test source.
8821
45f25d6c
AB
88222018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8823
8824 PR gdb/23203
8825 * gdb.base/bt-selected-frame.c: New file.
8826 * gdb.base/bt-selected-frame.exp: New file.
8827 * lib/gdb.exp (get_current_frame_number): New function.
8828
d9f6d7f8
MR
88292018-05-24 Maciej W. Rozycki <macro@mips.com>
8830 Pedro Alves <palves@redhat.com>
8831
8832 * gdb.threads/tls-core.c: Include <stdlib.h>
8833 (thread_proc): Call `abort'.
8834 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8835 (tls_core_test): New procedure, bits factored out from ...
8836 (top level): ... here. Test both native cores and gcore cores.
8837
ff1cf532
TT
88382018-05-23 Tom Tromey <tom@tromey.com>
8839
8840 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8841
b98664d3
TT
88422018-05-23 Tom Tromey <tom@tromey.com>
8843
8844 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8845 symfile_complaints.
8846 (test_short_complaints): Likewise.
8847 (test_empty_complaints): Likewise.
8848 (test_initial_complaints): Update.
8849
4e9668d0
TT
88502018-05-23 Tom Tromey <tom@tromey.com>
8851
8852 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8853
43ba33c7
TT
88542018-05-23 Tom Tromey <tom@tromey.com>
8855
8856 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8857 (test_short_complaints): Update.
8858
035522c0
PA
88592018-05-22 Pedro Alves <palves@redhat.com>
8860
8861 * gdb.base/remote.exp: Only gdb_start after compiling the
8862 testcase. Issue "disconnect" before testing "set remote" command
8863 defaults. Issue clean_restart before running to main.
8864
cc0be08f
PA
88652018-05-22 Pedro Alves <palves@redhat.com>
8866
8867 * gdb.base/remote.exp: Adjust expected output of "show remote
8868 memory-write-packet-size". Add tests for "set remote
8869 memory-write-packet-size 0" and "set remote
8870 memory-write-packet-size fixed/limit".
8871
b1b60145
PA
88722018-05-22 Pedro Alves <palves@redhat.com>
8873
8874 PR gdb/22973
8875 * gdb.base/utf8-identifiers.c: New file.
8876 * gdb.base/utf8-identifiers.exp: New file.
8877
0ec848ad
PFC
88782018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8879
8880 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8881
2c3305f6
PFC
88822018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8883
8884 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8885
ce1e8424
TT
88862018-05-18 Tom Tromey <tom@tromey.com>
8887
8888 * gdb.base/ptype-offsets.exp: Update.
8889
ddfe970e
KS
88902018-05-17 Keith Seitz <keiths@redhat.com>
8891
8892 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8893 in expected breakpoint stop locations.
8894 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8895 move to proper scope to test variable values.
8896 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8897 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8898 New functions.
8899 (main): Call not_inline_func3.
8900 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8901 inline_func1, inline_func2, and inline_func3. Test that when each
8902 breakpoint is hit, GDB properly reports both the stop location
8903 and the backtrace. Repeat tests for temporary breakpoints.
8904
0726fcc6
MR
89052018-05-15 Maciej W. Rozycki <macro@mips.com>
8906
8907 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8908 rather then trying to access it in determining whether the PID
8909 of `gdbserver' could have been retrieved.
8910
8ee22052
AB
89112018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8912
8913 * gdb.arch/amd64-init-x87-values.S: New file.
8914 * gdb.arch/amd64-init-x87-values.exp: New file.
8915
7785df48
JK
89162018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8917
8918 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8919
56bcdbea
TT
89202018-05-04 Tom Tromey <tom@tromey.com>
8921
8922 PR python/22730:
8923 * gdb.python/python.exp: Test multi-line execute.
8924
a913fffb
TT
89252018-05-04 Tom Tromey <tom@tromey.com>
8926
8927 PR python/22731:
8928 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8929
7a2c85f2
TT
89302018-05-04 Tom Tromey <tom@tromey.com>
8931
8932 PR gdb/11750:
8933 * gdb.base/define.exp: Test defining a user command inside a user
8934 command.
8935 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8936
a3b60e45
JK
89372018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8938 Pedro Alves <palves@redhat.com>
8939
8940 PR breakpoints/19806 and support for PR external/20207.
8941 * gdb.base/watchpoint-unaligned.c: New file.
8942 * gdb.base/watchpoint-unaligned.exp: New file.
8943
45fe4a03
AB
89442018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8945
8946 * gdb.base/maint.exp: Make test names unique, use
8947 test_prefix_command_help to test 'help maint info', and remove
8948 repeated test of 'help maint'.
8949
9be2ae8f
TT
89502018-05-04 Tom Tromey <tom@tromey.com>
8951
8952 PR gdb/22619:
8953 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8954 behavior.
8955
11859c31
AB
89562018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8957
8958 * gdb.base/maint.exp: Process output from 'maint print registers'
8959 line at a time.
8960
089a9490
AB
89612018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8962
8963 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8964 timeout.
8965
9b0797e2
AB
89662018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8967
8968 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8969 filter pattern.
8970
f6ac5f3d
PA
89712018-05-02 Pedro Alves <palves@redhat.com>
8972
8973 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8974 to_log_command renames.
8975 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8976
77d3c63b
TT
89772018-05-02 Tom Tromey <tom@tromey.com>
8978
8979 * gdb.python/py-parameter.exp: Set test message.
8980
0489430a
TT
89812018-05-02 Tom Tromey <tom@tromey.com>
8982
8983 PR python/20084:
8984 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8985 PARAM_ZUINTEGER_UNLIMITED tests.
8986
1632f8ba
DR
89872018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8988
8989 PR rust/23124
8990 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8991 when casting.
8992
6d7bb824
TT
89932018-04-30 Tom Tromey <tom@tromey.com>
8994
8995 * gdb.python/py-type.exp: Check align attribute.
8996 * gdb.python/py-type.c: New "aligncheck" global.
8997
007e1530
TT
89982018-04-30 Tom Tromey <tom@tromey.com>
8999
9000 PR exp/17095:
9001 * gdb.dwarf2/dw2-align.exp: New file.
9002 * gdb.cp/align.exp: New file.
9003 * gdb.base/align.exp: New file.
9004 * lib/gdb.exp (gdb_int128_helper): New proc.
9005 (has_int128_c, has_int128_cxx): New caching procs.
9006
6873858b
TT
90072018-04-27 Tom Tromey <tom@tromey.com>
9008
9009 PR rust/22545:
9010 * gdb.rust/simple.exp: Add inclusive range tests.
9011
79188d8d
PA
90122018-04-26 Pedro Alves <palves@redhat.com>
9013
9014 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9015 ifunc breakpoint locations correctly of ifunc breakpoints set
9016 while the program resolves the ifunc.
9017
c7075ad5
PA
90182018-04-26 Pedro Alves <palves@redhat.com>
9019
9020 * gdb.base/gnu-ifunc-final.c: New file.
9021 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9022 * gdb.base/gnu-ifunc.exp (executable): Delete.
9023 (staticexecutable): Adjust.
9024 (lib_opts, exec_opts): Delete.
9025 (make_binsuffix, build, set-break): New procedures.
9026 (misc_tests): New, with tests factored out from the top level.
9027 (top level): Test different combinations of ifunc resolver name,
9028 resolver with and with debug info, and ifunc target with and
9029 without debug info. Wrap static tests with with_target_prefix.
9030
8388016d
PA
90312018-04-26 Pedro Alves <palves@redhat.com>
9032
9033 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9034 return type" warnings.
9035
249b5733
PA
90362018-04-25 Pedro Alves <palves@redhat.com>
9037
9038 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9039 killed".
9040 * gdb.base/kill-after-signal.exp: Likewise.
9041 * gdb.threads/kill.exp: Likewise.
9042
f67c0c91
SDJ
90432018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9044 Sergio Durigan Junior <sergiodj@redhat.com>
9045 Pedro Alves <palves@redhat.com>
9046
9047 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9048 regexps to expect for '[Inferior ... detached]' as well.
9049 * gdb.base/attach.exp: Likewise.
9050 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9051 "gdb_continue_to_end".
9052 (test_catch_syscall_with_wrong_args): Likewise.
9053 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9054 ']'. Don't set 'verbose' on.
9055 * gdb.base/foll-vfork.exp: Likewise.
9056 * gdb.base/fork-print-inferior-events.c: New file.
9057 * gdb.base/fork-print-inferior-events.exp: New file.
9058 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9059 '[Inferior ... has been killed]' message.
9060 * gdb.base/kill-after-signal.exp: Likewise.
9061 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9062 detach message.
9063 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9064 message.
9065 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9066 regexps to expect for '[Inferior ... detached]' as well.
9067 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9068
0a8ddac4
SM
90692018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9070
9071 PR gdb/23104
9072 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9073
701adfb0
PA
90742018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9075
9076 PR gdb/23095
9077 * gdb.base/break-probes.exp: Pass shlib_load to
9078 prepare_for_testing. Set normal_bp to r_debug_state if target is
9079 bsd.
9080
d27d16bf
RB
90812018-04-19 Richard Bunt <richard.bunt@arm.com>
9082
9083 * gdb.threads/multiple-successive-infcall.c: New test.
9084 * gdb.threads/multiple-successive-infcall.exp: New file.
9085
a037790e
TT
90862018-04-17 Tom Tromey <tom@tromey.com>
9087
9088 * gdb.rust/simple.rs (Union): New type.
9089 (main): New local "u".
9090 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9091
e3a91079
AA
90922018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9093
9094 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9095 number information in output of "whereis" command.
9096 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9097
b744723f
AA
90982018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9099
9100 * gdb.ada/info_types.exp: Adjust expected output to the line
9101 numbers now printed by "info var/func/type".
9102 * gdb.base/completion.exp: Likewise.
9103 * gdb.base/included.exp: Likewise.
9104 * gdb.cp/cp-relocate.exp: Likewise.
9105 * gdb.cp/cplusfuncs.exp: Likewise.
9106 * gdb.cp/namespace.exp: Likewise.
9107 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9108
4a4495d6
MM
91092018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9110
9111 * gdb.btrace/cpu.exp: New.
9112
1d509aa6
MM
91132018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9114
9115 * gdb.base/step-indirect-call-thunk.exp: New.
9116 * gdb.base/step-indirect-call-thunk.c: New.
9117 * gdb.reverse/step-indirect-call-thunk.exp: New.
9118 * gdb.reverse/step-indirect-call-thunk.c: New.
9119
6295b6da
SM
91202018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9121
9122 * gdb.base/pie-fork.c: New file.
9123 * gdb.base/pie-fork.exp: New file.
9124
50146e70
TT
91252018-04-11 Tom Tromey <tom@tromey.com>
9126
9127 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9128
f50d8a2e
PA
91292018-04-10 Pedro Alves <palves@redhat.com>
9130
9131 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9132 exits. Instead loop running forever.
9133 (fork_parent): Run forever too.
9134
a0be7a36
SM
91352018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9136
9137 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9138 mi_continue_to_line.
9139 * gdb.mi/mi-stack.c (callee4): Add comment.
9140
9b73db36
SM
91412018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9142
9143 * gdb.mi/mi-stack.exp: Fix indentation.
9144
c912f608
SM
91452018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9146
9147 PR gdb/22979
9148 * gdb.arch/amd64-osabi.exp: New file.
9149
26540402
SM
91502018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9151
9152 PR gdb/22980
9153 * gdb.base/osabi.exp: New file.
9154
121ad66c 91552018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9156
9157 * gdb.cp/static-typedef-print.exp: New file.
9158 * gdb.cp/static-typedef-print.cc: New file.
9159
3fcded8f
JB
91602018-03-27 Joel Brobecker <brobecker@adacore.com>
9161
9162 * gdb.ada/varsize_limit: New testcase.
9163
59cc4834
JB
91642018-03-27 Joel Brobecker <brobecker@adacore.com>
9165
9166 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9167
9168 * gdb.ada/notcplusplus: New testcase.
9169
9170 * gdb.base/c-linkage-name.c: New file.
9171 * gdb.base/c-linkage-name.exp: New testcase.
9172
4ca59a9f
TT
91732018-03-26 Tom Tromey <tom@tromey.com>
9174
9175 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9176 * gdb.python/py-framefilter.py (name_error): New global.
9177 (ErrorInName.function): Use name_error.
9178
978d6c75
TT
91792018-03-26 Tom Tromey <tom@tromey.com>
9180
9181 PR backtrace/15582:
9182 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9183
b7fee5a3
KS
91842018-03-23 Keith Seitz <keiths@redhat.com>
9185
9186 PR c++/22968
9187 * gdb.cp/subtypes.exp: New file.
9188 * gdb.cp/subtypes.h: New file.
9189 * gdb.cp/subtypes.cc: New file.
9190 * gdb.cp/subtypes-2.cc: New file.
9191
376be529
AB
91922018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9193
9194 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9195 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9196 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9197 -nostartfiles when compiling the test. Confirm that all registers
9198 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9199
066cfa98
AB
92002018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9201
9202 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9203 option, syntax was wrong anyway.
9204 * gdb.arch/arm-disp-step.exp: Likewise.
9205 * gdb.arch/sparc64-regs.exp: Likewise.
9206 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9207 option, syntax was wrong anyway, switch to use
9208 prepare_for_testing.
9209 * gdb.arch/i386-disp-step.exp: Likewise.
9210
079670b9
AA
92112018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9212
9213 * gdb.ada/exec_changed.exp: Replace "target_info exists
9214 use_gdb_stub" by "use_gdb_stub".
9215 * gdb.ada/start.exp: Likewise.
9216 * gdb.base/async-shell.exp: Likewise.
9217 * gdb.base/attach-pie-misread.exp: Likewise.
9218 * gdb.base/attach-wait-input.exp: Likewise.
9219 * gdb.base/break-entry.exp: Likewise.
9220 * gdb.base/break-interp.exp: Likewise.
9221 * gdb.base/dprintf-detach.exp: Likewise.
9222 * gdb.base/nostdlib.exp: Likewise.
9223 * gdb.base/solib-nodir.exp: Likewise.
9224 * gdb.base/statistics.exp: Likewise.
9225 * gdb.base/testenv.exp: Likewise.
9226 * gdb.mi/mi-exec-run.exp: Likewise.
9227 * gdb.mi/mi-start.exp: Likewise.
9228 * gdb.multi/dummy-frame-restore.exp: Likewise.
9229 * gdb.multi/multi-arch-exec.exp: Likewise.
9230 * gdb.multi/multi-arch.exp: Likewise.
9231 * gdb.multi/tids.exp: Likewise.
9232 * gdb.multi/watchpoint-multi.exp: Likewise.
9233 * gdb.python/py-events.exp: Likewise.
9234 * gdb.threads/attach-into-signal.exp: Likewise.
9235 * gdb.threads/attach-stopped.exp: Likewise.
9236 * gdb.threads/threadapply.exp: Likewise.
9237 * lib/selftest-support.exp: Likewise.
9238
26d6cec4
AA
92392018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9240
9241 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9242
4ee89e90
SR
92432018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9244
9245 * gdb.perf/template-breakpoints.cc: New file.
9246 * gdb.perf/template-breakpoints.exp: New file.
9247 * gdb.perf/template-breakpoints.py: New file.
9248
92630041
TT
92492018-03-19 Tom Tromey <tom@tromey.com>
9250
9251 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9252 y0.
9253 * gdb.rust/simple.exp: Test bare identifier form of struct
9254 initializer.
9255
76727919
TT
92562018-03-19 Tom Tromey <tom@tromey.com>
9257
9258 * gdb.gdb/observer.exp: Remove.
9259
194ed413
AA
92602018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9261
9262 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9263 "qualified" option when setting breakpoints.
9264 * gdb.trace/backtrace.exp: Likewise.
9265 * gdb.trace/circ.exp: Likewise.
9266 * gdb.trace/collection.exp: Likewise.
9267 * gdb.trace/disconnected-tracing.exp: Likewise.
9268 * gdb.trace/ftrace-lock.exp: Likewise.
9269 * gdb.trace/ftrace.exp: Likewise.
9270 * gdb.trace/infotrace.exp: Likewise.
9271 * gdb.trace/packetlen.exp: Likewise.
9272 * gdb.trace/passc-dyn.exp: Likewise.
9273 * gdb.trace/qtro.exp: Likewise.
9274 * gdb.trace/read-memory.exp: Likewise.
9275 * gdb.trace/report.exp: Likewise.
9276 * gdb.trace/signal.exp: Likewise.
9277 * gdb.trace/status-stop.exp: Likewise.
9278 * gdb.trace/strace.exp: Likewise.
9279 * gdb.trace/tfind.exp: Likewise.
9280 * gdb.trace/trace-break.exp: Likewise.
9281 * gdb.trace/trace-condition.exp: Likewise.
9282 * gdb.trace/trace-mt.exp: Likewise.
9283 * gdb.trace/tstatus.exp: Likewise.
9284 * gdb.trace/tsv.exp: Likewise.
9285 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9286 * gdb.trace/unavailable.exp: Likewise.
9287 * gdb.trace/while-dyn.exp: Likewise.
9288
8b067d2c
AA
92892018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9290
9291 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9292 that libinproctrace is copied to the target.
9293
3ae9ce5d
TT
92942018-03-14 Tom Tromey <tom@tromey.com>
9295
9296 PR cli/14977:
9297 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9298 a null pointer.
9299 * gdb.base/wchar.exp: Likewise.
9300
b8c2339b
TT
93012018-03-14 Tom Tromey <tom@tromey.com>
9302
9303 PR cli/19918:
9304 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9305 flag.
9306
4872dc46
SM
93072018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9308
9309 PR gdb/22841
9310 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9311 "target" to remote_exec.
9312
e4fe3756
SM
93132018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9314
9315 PR gdb/22841
9316 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9317 ${board}_upload): Remove.
9318
e95a97d4
AA
93192018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9320
9321 * gdb.cp/watch-cp.cc: New test.
9322 * gdb.cp/watch-cp.exp: New file.
9323
dbbb1059
AB
93242018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9325
9326 * gdb.base/infcall-nested-structs.exp: New file.
9327 * gdb.base/infcall-nested-structs.c: New file.
9328 * gdb.base/float.exp: Add riscv support.
9329
ecc054c0
TP
93302018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9331
9332 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9333 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9334
25e3c82c
SDJ
93352018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9336
9337 * gdb.server/abspath.exp: New file.
9338 * lib/gdb.exp (with_cwd): New procedure.
9339
3083294d
SM
93402018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9341
9342 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9343 use it.
9344 (gdb_is_target_remote_prompt): New proc.
9345 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9346 (gdb_is_target_native): Pass prompt parameter to
9347 gdb_is_target_1.
9348
3275ef47
SM
93492018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9350
9351 * gdb.base/load-command.c: New file.
9352 * gdb.base/load-command.exp: New file.
9353 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9354 (gdb_is_target_1): ...this, and generalize for other targets
9355 than just remote.
9356 (gdb_is_target_remote): Use gdb_is_target_1.
9357 (gdb_is_target_native): use gdb_is_target_1.
9358
6893c19a
TT
93592018-02-26 Tom Tromey <tom@tromey.com>
9360
9361 PR python/16497:
9362 * gdb.python/py-framefilter.exp: Update test.
9363
2ddeaf8a
TT
93642018-02-26 Tom Tromey <tom@tromey.com>
9365
9366 * gdb.dwarf2/variant.c: New file.
9367 * gdb.dwarf2/variant.exp: New file.
9368
c9317f21
TT
93692018-02-26 Tom Tromey <tom@tromey.com>
9370
9371 * gdb.rust/simple.exp: Accept more possible results in enum test.
9372
6f6d0c26
SM
93732018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9374
9375 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9376 parentheses.
9377
11b03145
MR
93782018-02-23 Maciej W. Rozycki <macro@mips.com>
9379
9380 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9381 name of a variable: $actual_linejj -> $actual_line.
9382
54a27fe5
JB
93832018-02-21 John Baldwin <jhb@FreeBSD.org>
9384
9385 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9386
de65820c
MM
93872018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9388
9389 * gdb.btrace/buffer-size.exp: Do not force BTS.
9390
980548fd
PA
93912018-02-14 Pedro Alves <palves@redhat.com>
9392
9393 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9394 getting a "Quit".
9395
c4e12631
MM
93962018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9397
9398 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9399 Fix test name.
9400
c2e0e465
SM
94012018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9402
9403 * gdb.cp/m-static.exp: Check type of optimized out static
9404 member.
9405
f7216783
AB
94062018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9407
9408 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9409 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9410
0625771b
LS
94112018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9412 Leszek Swirski <leszeks@google.com>
9413
9414 * gdb.python/py-prettyprint.c
9415 (struct to_string_returns_value_inner,
9416 struct to_string_returns_value_wrapper): New.
9417 (main): Add tsrvw variable.
9418 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9419 ToStringReturnsValueWrapper): New classes.
9420 (register_pretty_printers): Register new pretty-printers.
9421 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
9422 recursive pretty printer.
9423 * gdb.python/py-mi.exp: Likewise.
9424
59498c30
LS
94252018-02-01 Leszek Swirski <leszeks@google.com>
9426
9427 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9428 functions with the same name as an include file are parsed
9429 correctly.
9430
d4d38844
YQ
94312018-02-01 Yao Qi <yao.qi@linaro.org>
9432
9433 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9434 "\[^\r\n\]*".
9435
07e5f5cf
NP
94362018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9437
9438 * gdb.arch/powerpc-prologue-frame.s: New file.
9439 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9440 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9441
929b5ad4
JB
94422018-01-31 Joel Brobecker <brobecker@adacore.com>
9443
9444 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9445
e671cd59
PA
94462018-01-30 Pedro Alves <palves@redhat.com>
9447
9448 PR gdb/13211
9449 * gdb.base/interrupt-daemon.c: New.
9450 * gdb.base/interrupt-daemon.exp: New.
9451 * gdb.multi/multi-term-settings.c: New.
9452 * gdb.multi/multi-term-settings.exp: New.
9453
fc413dc4
JB
94542018-01-30 Joel Brobecker <brobecker@adacore.com>
9455
9456 * gdb.base/break.exp: Save the location where the breakpoint
9457 on break.c:47 was actually inserted when debugging the version
9458 compiled at -O2 and use it in the expected output of the "info
9459 break" test performed soon after.
9460
5c319bb2
PA
94612018-01-22 Pedro Alves <palves@redhat.com>
9462 Sergio Durigan Junior <sergiodj@redhat.com>
9463
9464 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9465 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9466
a9e40818
JB
94672018-01-22 Joel Brobecker <brobecker@adacore.com>
9468
9469 * gdb.base/break-include.c, gdb.base/break-include.inc,
9470 gdb.base/break-include.exp: New files.
9471 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9472 line number now being the actual line number where the breakpoint
9473 was inserted.
9474 * gdb.mi/mi-break.exp: Likewise.
9475 * gdb.mi/mi-reverse.exp: Likewise.
9476 * gdb.mi/mi-simplerun.exp: Ditto.
9477
e707fc44
AB
94782018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9479
9480 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9481 varobj.
9482 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9483
ae451627
AB
94842018-01-21 Don Breazeal <donb@codesourcery.com>
9485 Andrew Burgess <andrew.burgess@embecosm.com>
9486
9487 * gdb.mi/basics.c: Add new global.
9488 * gdb.mi/mi-frame-regs.exp: New file.
9489 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9490 case.
9491
b1b189e0
AB
94922018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9493
9494 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9495 non-parameter, and on an unknown symbol.
9496
fcfcc376
TT
94972018-01-19 Tom Tromey <tom@tromey.com>
9498
9499 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9500 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9501
634c1c31
AA
95022018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9503
9504 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9505 setrlimit and chdir to int.
9506
d6ad07fd
AA
95072018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9508
9509 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9510 function.
9511 (my_tend): Likewise.
9512 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9513 rationale of avoiding FP- and vector instructions.
9514
adf8243b
RK
95152018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9516
9517 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9518 "info reg" with "\[ \t\]*".
9519 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9520 "\[ \t\]+".
9521 * gdb.arch/s390-multiarch.exp: Ditto.
9522 * gdb.base/pc-fp.exp: Ditto.
9523 * gdb.reverse/i386-precsave.exp: Ditto.
9524 * gdb.reverse/i386-reverse.exp: Ditto.
9525 * gdb.reverse/i387-env-reverse.exp: Ditto.
9526 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9527
dcc06925
AA
95282018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9529
9530 * lib/gdb.exp (gdb_compile): Re-enable use of
9531 universal_compile_options for languages other than Rust.
9532
25d4fd80
AA
95332018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9534
9535 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9536
ee7f689e 95372018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
9538
9539 PR gdb/16577
9540 * gdb.base/solib-vanish.exp: New.
9541 * gdb.base/solib-vanish-main.c: New.
9542 * gdb.base/solib-vanish-lib1.c: New.
9543 * gdb.base/solib-vanish-lib2.c: New.
9544
d8447b6b
YQ
95452018-01-17 Yao Qi <yao.qi@linaro.org>
9546
9547 * gdb.compile/compile.exp: Match the address printed for
9548 frame in the output of command "bt".
9549
86d6a90c
TT
95502018-01-15 Tom Tromey <tom@tromey.com>
9551
9552 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9553 compute sp_reg.
9554
cbcdb1aa
AB
95552018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9556
9557 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9558 to prepare.
9559 (prepare): Return 0 on error, 1 on success.
9560
eea61984
PA
95612018-01-12 Pedro Alves <palves@redhat.com>
9562
9563 * gdb.base/continue-after-aborted-step-over.c: New.
9564 * gdb.base/continue-after-aborted-step-over.exp: New.
9565
6181e9c2
SM
95662018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9567
9568 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9569 options when not creating an executable.
9570
3cada740
PA
95712018-01-11 Pedro Alves <palves@redhat.com>
9572
9573 PR remote/22597
9574 * gdb.server/stop-reply-no-thread.c: New file.
9575 * gdb.server/stop-reply-no-thread.exp: New file.
9576
c63d3e8d
PA
95772018-01-10 Pedro Alves <palves@redhat.com>
9578
9579 PR gdb/22670
9580 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9581 functions too. Test setting breakpoints and printing C functions
9582 with no debug info too.
9583 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9584
d4c2a405
PA
95852018-01-10 Pedro Alves <palves@redhat.com>
9586
9587 PR gdb/22670
9588 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9589 a fail.
9590
8825213e
PA
95912018-01-10 Pedro Alves <palves@redhat.com>
9592
9593 PR gdb/22670
9594 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9595
605fd3c6
YQ
95962018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9597
9598 * gdb.server/unittest.exp: Match the output in non-development
9599 mode.
9600
1e5ded6c
YQ
96012018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9602
9603 * gdb.gdb/unittest.exp: Match output in non-development mode.
9604
30066b0b
JB
96052018-01-08 Joel Brobecker <brobecker@adacore.com>
9606
9607 * gdb.ada/access_tagged_param.exp: Relax expected output
9608 for value of "ObjL" in "continue" to pck.inspect breakpoint
9609 test.
9610
04bafb1e
XR
96112018-01-08 Joel Brobecker <brobecker@adacore.com>
9612
9f86398b
JB
9613 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9614 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9615
e379cee6
PA
96162018-01-05 Pedro Alves <palves@redhat.com>
9617
9618 PR gdb/18653
9619 * gdb.base/libsegfault.exp: New.
9620
de63c46b
PA
96212018-01-05 Joel Brobecker <brobecker@adacore.com>
9622
9623 PR gdb/22670
9624 * gdb.ada/access_tagged_param.exp: New file.
9625 * gdb.ada/access_tagged_param/foo.adb: New file.
9626
f98fc17b
PA
96272018-01-05 Pedro Alves <palves@redhat.com>
9628
9629 PR gdb/22670
9630 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9631 exercise lower case too, and to exercise both full matching and
9632 wild matching.
9633
342f8240
JB
96342018-01-05 Joel Brobecker <brobecker@adacore.com>
9635
9636 * gdb.ada/rename_subscript_param: New testcase.
9637
7150d33c
JG
96382018-01-05 Jerome Guitton <guitton@adacore.com>
9639
9640 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9641
cc0e770c
JB
96422018-01-05 Joel Brobecker <brobecker@adacore.com>
9643
9644 * gdb.ada/convvar_comp: New testcase.
9645
672a41aa 96462018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9647
9648 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9649 (My_Table): New global variable.
9650 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9651
7365ec2f
JB
96522018-01-04 Joel Brobecker <brobecker@adacore.com>
9653
9654 PR gdb/22670
9655 * gdb.ada/maint_with_ada: New testcase.
9656
289483b6
JB
96572018-01-04 Joel Brobecker <brobecker@adacore.com>
9658
9659 PR gdb/22670
9660 * gdb.ada/bp_c_mixed_case: New testcase.
9661
344420da
JB
96622018-01-04 Joel Brobecker <brobecker@adacore.com>
9663
9664 PR gdb/22670
9665 * gdb.ada/complete.exp: Add "complete break ada" test.
9666
66fc87a0
JB
96672018-01-04 Joel Brobecker <brobecker@adacore.com>
9668
9669 PR gdb/22670
9670 * gdb.ada/info_addr_mixed_case: New testcase.
9671
9f757bf7
XR
96722018-01-03 Xavier Roirand <roirand@adacore.com>
9673
9674 * gdb.ada/excep_handle.exp: New testcase.
9675 * gdb.ada/excep_handle/foo.adb: New file.
9676 * gdb.ada/excep_handle/pck.ads: New file.
9677
bd570f80
JB
96782018-01-03 Joel Brobecker <brobecker@adacore.com>
9679
9680 * gdb.base/step-line.c: Add extra empty line in copyright header.
9681 * gdb.base/step-line.inp: Likewise.
9682
9fe561ab
JB
96832018-01-02 Joel Brobecker <brobecker@adacore.com>
9684
9685 * gdb.ada/dyn_stride.exp: Add slice test.
9686
a405673c
JB
96872018-01-02 Joel Brobecker <brobecker@adacore.com>
9688
9689 * gdb.ada/dyn_stride: New testcase.
9690
cef0f868
SH
96912017-12-27 Stafford Horne <shorne@gmail.com>
9692
9693 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9694 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9695
b67d92b0
SH
96962017-12-27 Stafford Horne <shorne@gmail.com>
9697
9698 * gdb.base/reggroups.c: New file.
9699 * gdb.base/reggroups.exp: New file.
9700
eccab96d
JB
97012017-12-18 Joel Brobecker <brobecker@adacore.com>
9702
9703 * gdb.dwarf2/ada-valprint-error.c: New file.
9704 * gdb.dwarf2/ada-valprint-error.exp: New file.
9705
0e2da9f0
JB
97062017-12-18 Joel Brobecker <brobecker@adacore.com>
9707
9708 * gdb.ada/assign_arr: New testcase.
9709
cb923fcc
XR
97102017-12-18 Xavier Roirand <roirand@adacore.com>
9711
9712 * gdb.ada/funcall_ptr: New testcase.
9713
7c161838
SDJ
97142017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9715
9716 PR cli/16224
9717 * gdb.base/ptype-offsets.cc: New file.
9718 * gdb.base/ptype-offsets.exp: New file.
9719
1af17fd9
YQ
97202017-12-15 Yao Qi <yao.qi@linaro.org>
9721
9722 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9723 if XML is disabled.
9724
828d5846
XR
97252017-12-15 Xavier Roirand <roirand@adacore.com>
9726
9727 * gdb.ada/same_component_name: New testcase.
9728
79e8fcaa
JB
97292017-12-14 Joel Brobecker <brobecker@adacore.com>
9730
9731 * gdb.ada/str_binop_equal: New testcase.
9732
e05fa6f9
JB
97332017-12-14 Joel Brobecker <brobecker@adacore.com>
9734
9735 * gdb.ada/task_switch_in_core: New testcase.
9736
b89641ba
SM
97372017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9738
9739 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9740 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9741 call test_bkpt_qualified.
9742 (test_bkpt_qualified): New proc.
9743
6892d2e4
PA
97442017-12-13 Pedro Alves <palves@redhat.com>
9745
9746 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9747 Tighten regexp by matching with an anchor.
9748
a22ecf70
PA
97492017-12-13 Pedro Alves <palves@redhat.com>
9750
9751 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9752 ("expression with namespace"): New set of tests.
9753 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9754 (Nested::Test_NS::qux): New.
9755 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9756 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9757
9937536c
JB
97582017-12-13 Joel Brobecker <brobecker@adacore.com>
9759
9760 * gdb.base/server-del-break.c: New file.
9761 * gdb.base/server-del-break.exp: New file.
9762
fe49c6f5
SH
97632017-12-12 Stafford Horne <shorne@gmail.com>
9764
9765 * gdb.xml/tdesc-regs.exp: Add or1k support.
9766
c3d18620
SH
97672017-12-12 Stafford Horne <shorne@gmail.com>
9768
9769 * gdb.base/bp-permanent.c: Define nop of or1k.
9770
c5f9cfc8
JB
97712017-12-11 Joel Brobecker <brobecker@adacore.com>
9772
9773 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9774 output with components being reordered.
9775
a9c135fc
JB
97762017-12-11 Joel Brobecker <brobecker@adacore.com>
9777
9778 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9779 output with components being reordered.
9780
927aa2e7
JK
97812017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9782 Pedro Alves <palves@redhat.com>
9783
9784 * gdb.base/maint.exp (check for .gdb_index): Check also for
9785 .debug_names.
9786 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9787 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9788 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9789 (.gdb_index used after symbol reloading): Support also .debug_names.
9790 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9791
f17d9474
YQ
97922017-12-08 Yao Qi <yao.qi@linaro.org>
9793
9794 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9795 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9796
a0de8c21
YQ
97972017-12-08 Yao Qi <yao.qi@linaro.org>
9798
9799 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9800 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9801
a738ea1d
YQ
98022017-12-08 Yao Qi <yao.qi@linaro.org>
9803
9804 * gdb.arch/aarch64-tagged-pointer.c: New file.
9805 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9806
1cd9a73b
SDJ
98072017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9808
9809 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9810 "int".
9811
fa6eb693
KS
98122017-12-07 Keith Seitz <keiths@redhat.com>
9813
9814 PR breakpoints/22569
9815 * gdb.linespec/ls-errs.exp: Change expected result of "break
9816 -source this file has spaces.c -line 3".
9817 Check that an explicit source file followed by whitespace is
9818 identified as an invalid explicit location.
9819
883fd55a
KS
98202017-12-07 Keith Seitz <keiths@redhat.com>
9821
9822 * gdb.cp/nested-types.cc: New file.
9823 * gdb.cp/nested-types.exp: New file.
9824 * lib/cp-support.exp: Load data-structures.exp library.
9825 (debug_cp_test_ptype_class): New global.
9826 (cp_ptype_class_verbose, next_line): New procedures.
9827 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9828 Add and document new return value.
9829 Switch the list of lines to a queue.
9830 Add support for new `type' key for nested type definitions.
9831 Add debugging/troubleshooting messages.
9832 * lib/data-structures.exp: New file.
9833
ec72db3e
SM
98342017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9835
9836 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9837 with proc_with_prefix, don't use with_test_prefix.
9838
99598d71
TT
98392017-12-07 Tom Tromey <tom@tromey.com>
9840
9841 * gdb.base/break.exp: Add test for empty "commands".
9842
a8806230
YQ
98432017-12-07 Yao Qi <yao.qi@linaro.org>
9844
9845 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9846 malloc and catch syscall.
9847
824cc835
PM
98482017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9849
e79be6e5 9850 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
9851 tests for explicit locations.
9852
7cc244de
PA
98532017-12-06 Pedro Alves <palves@redhat.com>
9854
9855 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9856 force-disabling XML descriptions.
9857
50a1fdd5
PA
98582017-12-04 Pedro Alves <palves@redhat.com>
9859
9860 PR gdb/22499
9861 * gdb.arch/amd64-disp-step-avx.S: New file.
9862 * gdb.arch/amd64-disp-step-avx.exp: New file.
9863
f0fb2488
PA
98642017-12-03 Pedro Alves <palves@redhat.com>
9865
9866 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9867 and <string.h>.
9868 (parent_function): Print distinct messages when waitpid fails, or
9869 the child exits with a signal, or the child exits for an unhandled
9870 reason.
9871 * gdb.threads/process-dies-while-detaching.exp
9872 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9873 it. Wait for both inferior output and GDB's prompt. Use an
9874 indirect spawn id list.
9875 (do_detach): New parameter 'child_exit'. Use it to compute
9876 expected inferior output.
9877 (test_detach, test_detach_watch, test_detach_killed_outside):
9878 Adjust to pass down the expected child exit kind.
9879
97cbe998
SDJ
98802017-12-01 Joel Brobecker <brobecker@adacore.com>
9881 Sergio Durigan Junior <sergiodj@redhat.com>
9882 Pedro Alves <palves@redhat.com>
9883
9884 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9885
40fc416f
SDJ
98862017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9887
9888 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9889 to 'symbol-file' and 'add-symbol-file' can be
9890 position-independent.
9891
1cc75e92
YQ
98922017-12-01 Yao Qi <yao.qi@linaro.org>
9893
9894 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9895 the URL in copyright header.
9896 * gdb.arch/aarch64-fp.exp: Likewise.
9897 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9898 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9899 * gdb.base/expand-psymtabs.exp: Likewise.
9900 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9901 * gdb.fortran/common-block.exp: Likewise.
9902 * gdb.fortran/common-block.f90: Likewise.
9903 * gdb.fortran/logical.exp: Likewise.
9904 * gdb.fortran/vla-datatypes.f90: Likewise.
9905 * gdb.fortran/vla-sub.f90: Likewise.
9906
875fb7a7
JB
99072017-11-30 Joel Brobecker <brobecker@adacore.com>
9908
9909 * gdb.ada/repeat_dyn: New testcase.
9910
6f14765f
UW
99112017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9912
9913 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9914 Update for changed thread numbering.
9915 * gdb.cell/bt.exp: Update for changed GDB output.
9916
f1af7b94
SM
99172017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9918
9919 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9920 setting isremote by hand.
9921 * boards/dwarf4-gdb-index.exp: Likewise.
9922 * boards/fission.exp: Likewise.
9923 * boards/stabs.exp: Likewise.
9924
e3919f3e
PA
99252017-11-30 Pedro Alves <palves@redhat.com>
9926
9927 * gdb.linespec/cpls-ops.exp
9928 (check_explicit_skips_function_argument): Extract the underlying
9929 type of size_t instead of hardcoding it.
9930
bd69330d
PA
99312017-11-29 Pedro Alves <palves@redhat.com>
9932
9933 PR c++/19436
9934 * gdb.linespec/cpls-abi-tag.cc: New file.
9935 * gdb.linespec/cpls-abi-tag.exp: New file.
9936
a20714ff
PA
99372017-11-29 Pedro Alves <palves@redhat.com>
9938
9939 * gdb.base/langs.exp: Use -qualified.
9940 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9941 it.
9942 * gdb.cp/namespace.exp: Use -qualified.
9943 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9944 (overload-3, template-overload, template-ret-type, const-overload)
9945 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9946 procedures.
9947 (test_driver): Call them.
9948 * gdb.cp/save-bp-qualified.cc: New.
9949 * gdb.cp/save-bp-qualified.exp: New.
9950 * gdb.linespec/explicit.exp: Test -qualified.
9951 * lib/completion-support.exp (completion::explicit_opts_list): Add
9952 "-qualified".
9953 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9954
f6f1d339
PM
99552017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9956
9957 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9958
02ca603a
TT
99592017-11-29 Tom Tromey <tom@tromey.com>
9960
9961 * gdb.base/relocate.exp: Update invalid argument test.
9962 Add new tests for invalid arguments.
9963
ed6c0bfb
TP
99642017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9965
9966 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9967 Return 0 as a long.
9968 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9969
f106e10e
TP
99702017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9971
9972 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9973 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9974 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9975 func ().
9976 * gdb.cp/shadow.cc (B.func): Return 0.
9977
10329bb2
JB
99782017-11-27 Joel Brobecker <brobecker@adacore.com>
9979
9980 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9981 expected output in gdb_expect call to allow the exception
9982 message to be present as well. Fix syntax confusion to avoid
9983 TCL thinking that exception_name is an array.
9984
617cd4bc
UW
99852017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9986
9987 * gdb.arch/spu-info.c: Include <unistd.h>.
9988 (do_signal_test): Fix broken calls to write.
9989 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9990 Fix checks for empty mailboxes. Update signal tests for corrected
9991 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9992 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9993 * gdb.cell/arch.exp: Use standard_output_file.
9994 * gdb.cell/break.exp: Likewise.
9995 * gdb.cell/bt.exp: Likewise.
9996 * gdb.cell/core.exp: Likewise.
9997 * gdb.cell/dwarfaddr.exp: Likewise.
9998 * gdb.cell/ea-cache.exp: Likewise.
9999 * gdb.cell/ea-standalone.exp: Likewise.
10000 * gdb.cell/f-regs.exp: Likewise.
10001 * gdb.cell/fork.exp: Likewise.
10002 * gdb.cell/gcore.exp: Likewise.
10003 * gdb.cell/mem-access.exp: Likewise.
10004 * gdb.cell/ptype.exp: Likewise.
10005 * gdb.cell/registers.exp: Likewise.
10006 * gdb.cell/sizeof.exp: Likewise.
10007 * gdb.cell/solib-symbol.exp: Likewise.
10008 * gdb.cell/solib.exp: Likewise.
617cd4bc 10009
a81aaca0
PA
100102017-11-25 Pedro Alves <palves@redhat.com>
10011
10012 * gdb.base/complete-empty.exp: New file.
10013 * gdb.base/completion.exp: Adjust.
10014
6a3c6ee4
PA
100152017-11-25 Pedro Alves <palves@redhat.com>
10016
10017 * gdb.linespec/cpls-ops.cc: New file.
10018 * gdb.linespec/cpls-ops.exp: New file.
10019 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10020 factored out from ...
10021 (test_complete_prefix_range): ... this.
10022
8955eb2d
PA
100232017-11-24 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.linespec/cpcompletion.exp: New file.
10026 * gdb.linespec/cpls-hyphen.cc: New file.
10027 * gdb.linespec/cpls.cc: New file.
10028 * gdb.linespec/cpls2.cc: New file.
10029 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10030 test to use test_gdb_complete_unique. Add label completion,
10031 keyword completion and explicit location completion tests.
10032 * lib/completion-support.exp: New file.
10033
e547c119
JB
100342017-11-24 Joel Brobecker <brobecker@adacore.com>
10035
10036 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10037 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10038 when hitting an exception catchpoint.
10039
7c3c1aa8
YQ
100402017-11-22 Yao Qi <yao.qi@linaro.org>
10041
10042 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10043
41bd68f5
SM
100442017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10045
10046 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10047 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10048 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10049
1daad298
YQ
100502017-11-22 Yao Qi <yao.qi@linaro.org>
10051
10052 * gdb.base/info-os.exp: Pass pthreads.
10053 * gdb.multi/multi-attach.exp: Likewise.
10054
88465e87
YQ
100552017-11-22 Yao Qi <yao.qi@linaro.org>
10056
10057 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10058 compiler.
10059
dc196b23
YQ
100602017-11-22 Yao Qi <yao.qi@linaro.org>
10061
10062 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10063 * gdb.base/break-interp.exp: Likewise.
10064 * gdb.base/jit-attach-pie.exp: Likewise.
10065
2400729e
UW
100662017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10067
10068 * gdb.base/float128.c (large128): New variable.
10069 * gdb.base/float128.exp: Add test to print largest __float128 value.
10070
7a26362d
UW
100712017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10072
10073 * gdb.arch/vsx-regs.exp: Update register content checks.
10074
ed0f4273
UW
100752017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10076
10077 * gdb.arch/ppc-longdouble.exp: New file.
10078 * gdb.arch/ppc-longdouble.c: Likewise.
10079
a25d69c6
PA
100802017-11-21 Pedro Alves <palves@redhat.com>
10081
10082 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10083
73fcf641
PA
100842017-11-20 Pedro Alves <palves@redhat.com>
10085
10086 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10087 (long_double_typedef): New typedefs.
10088 Use DEF on double and long double.
10089 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10090 cases.
10091 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10092 and 'long_double_ptr_same_size' locals. Use them to decide
10093 whether cast from array/function to float is valid/invalid.
10094
71a3c369
TT
100952017-11-17 Tom Tromey <tom@tromey.com>
10096
10097 * gdb.rust/traits.rs: New file.
10098 * gdb.rust/traits.exp: New file.
10099
ced9779b
JB
101002017-11-17 Joel Brobecker <brobecker@adacore.com>
10101
10102 * gdb.ada/minsyms: New testcase.
10103
a0922d80
PA
101042017-11-16 Pedro Alves <palves@redhat.com>
10105
10106 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10107 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10108
ea04e54c
PA
101092017-11-16 Pedro Alves <palves@redhat.com>
10110
10111 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10112 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10113
e849ea89
PA
101142017-11-16 Pedro Alves <palves@redhat.com>
10115
10116 * gdb.server/reconnect-ctrl-c.c: New file.
10117 * gdb.server/reconnect-ctrl-c.exp: New file.
10118
d8ae99a7
PM
101192017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10120
10121 * gdb.python/py-rbreak.exp: New file.
10122 * gdb.python/py-rbreak.c: New file.
10123 * gdb.python/py-rbreak-func2.c: New file.
10124
968a13f8
PA
101252017-11-16 Pedro Alves <palves@redhat.com>
10126
10127 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10128 pattern.
10129 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10130 GDB.
10131
71774bc9
SM
101322017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10133
10134 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10135 regex.
10136
ddbb44cf
SM
101372017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10138
10139 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10140 test names.
10141
584a564f
PA
101422017-11-09 Pedro Alves <palves@redhat.com>
10143
10144 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10145 factored out from ...
10146 (top level): ... here, and adjusted to avoid expecting beyond the
10147 prompt in a single gdb_test_multiple.
10148
5ed7a928
PA
101492017-11-09 Pedro Alves <palves@redhat.com>
10150
10151 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10152 output.
10153 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10154 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10155 * gdb.server/ext-run.exp ("kill" test): Likewise.
10156 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10157
a60e0738
PA
101582017-11-09 Pedro Alves <palves@redhat.com>
10159
10160 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10161 match till end of line.
10162
2c88253f
PA
101632017-11-09 Pedro Alves <palves@redhat.com>
10164
10165 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10166
c7a38517
PA
101672017-11-09 Pedro Alves <palves@redhat.com>
10168
10169 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10170 New procedures, factored out from ...
10171 (top level): ... here, and adjusted to avoid expecting beyond the
10172 prompt in one go.
10173
f29f4b6b
PA
101742017-11-09 Pedro Alves <palves@redhat.com>
10175
10176 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10177 output. Fix '?' match.
10178
286acbb5
JB
101792017-11-08 Joel Brobecker <brobecker@adacore.com>
10180
10181 * gdb.ada/scoped_watch: New testcase.
10182 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10183 which is actually correct.
10184 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10185 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10186
62d7ae92
PA
101872017-11-08 Pedro Alves <palves@redhat.com>
10188
10189 * gdb.gdb/complaints.exp (test_initial_complaints)
10190 (test_serial_complaints, test_short_complaints): Call
10191 complaint_internal instead of complaint.
10192
280ca31f
DT
101932017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10194
10195 * gdb.threads/tls-core.c: New file.
10196 * gdb.threads/tls-core.exp: Likewise.
10197
b5ec771e
PA
101982017-11-08 Pedro Alves <palves@redhat.com>
10199
10200 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10201 (p Exported_Capitalized): New test.
10202 (p exported_capitalized): New test.
10203
a02b41a7
PA
102042017-11-07 Pedro Alves <palves@redhat.com>
10205
10206 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10207
95e95a6d
PA
102082017-11-07 Pedro Alves <palves@redhat.com>
10209
10210 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10211 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10212 (disable_invalid, disable_inverted, disable_negative): New
10213 procedures.
10214 ("bad numbers"): New set of tests.
10215
cee62dbd
PA
102162017-11-07 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.cp/ena-dis-br-range.exp: Add tests.
10219
cc638e86
PA
102202017-11-07 Pedro Alves <palves@redhat.com>
10221
10222 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10223
d0fe4701
XR
102242017-11-07 Xavier Roirand <roirand@adacore.com>
10225 Pedro Alves <palves@redhat.com>
10226
10227 * gdb.base/ena-dis-br.exp: Add reference to
10228 gdb.cp/ena-dis-br-range.exp.
10229 * gdb.cp/ena-dis-br-range.exp: New file.
10230 * gdb.cp/ena-dis-br-range.cc: New file.
10231
46f67f80
PA
102322017-11-06 Pedro Alves <palves@redhat.com>
10233
10234 * gdb.base/attach-non-pgrp-leader.c: New.
10235 * gdb.base/attach-non-pgrp-leader.exp: New.
10236
726e1356
PA
102372017-11-06 Pedro Alves <palves@redhat.com>
10238
10239 * configure.ac: No longer check for termio.h and sgtty.h.
10240 * configure: Regenerate.
10241 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10242 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10243 Remove termio and sgtty code.
10244
50ab6ace
YQ
102452017-11-03 Yao Qi <yao.qi@linaro.org>
10246
10247 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10248 in GDB is disabled.
10249
8e68731c
YQ
102502017-11-03 Yao Qi <yao.qi@linaro.org>
10251
10252 * gdb.python/py-thrhandle.exp: Skip it if python is not
10253 enabled.
10254
3a87ae65
SM
102552017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10256
10257 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10258 as a breakpoint command.
10259
484d8d36
MD
102602017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10261
10262 PR python/21213
10263 * gdb.python/py-infthread.exp: Test calling
10264 InferiorThread.inferior () multiple times in a row.
10265
4a27f119
KS
102662017-10-27 Keith Seitz <keiths@redhat.com>
10267
10268 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10269 Test "info break" for every inlined function breakpoint.
10270
bb11dd58
YQ
102712017-10-27 Yao Qi <yao.qi@linaro.org>
10272
10273 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10274
a43f3893
PF
102752017-10-26 Patrick Frants <osscontribute@gmail.com>
10276
10277 * gdb.cp/classes.exp (test_static_members): Test printing
10278 Outer::instance.
10279 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10280 (Inner::instance, Outer::instance): New.
10281
792ccf00
PA
102822017-10-24 Pedro Alves <palves@redhat.com>
10283
10284 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10285 extra console" test in two stages.
10286
eb2bfbad
PA
102872017-10-24 Pedro Alves <palves@redhat.com>
10288
10289 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10290
1f75a651
PA
102912017-10-24 Pedro Alves <palves@redhat.com>
10292
10293 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10294 loop.
10295
779990d9
PA
102962017-10-24 Pedro Alves <palves@redhat.com>
10297
10298 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10299 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10300
ad9b8f5d
PA
103012017-10-24 Pedro Alves <palves@redhat.com>
10302
10303 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10304 parameter and handle it. Don't output read value in test name.
10305
fee6da6e
PA
103062017-10-24 Pedro Alves <palves@redhat.com>
10307
10308 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10309 custom test name.
10310
10389c2c
PA
103112017-10-24 Pedro Alves <palves@redhat.com>
10312
10313 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10314 include the unstable output directory name in the test's name.
10315 (initial_setup_simple) <'set args'>: Use custom test name.
10316
a80e65a9
PA
103172017-10-24 Pedro Alves <palves@redhat.com>
10318
10319 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10320 with explicit test name.
10321
15763a09
PA
103222017-10-20 Pedro Alves <palves@redhat.com>
10323
10324 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10325 'wait -i'. Use gdb_assert and remote_close.
10326
49a4ce2e
AB
103272017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10328
10329 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10330 number from variable rather than hard-coded.
10331
a75868f5
PA
103322017-10-19 Pedro Alves <palves@redhat.com>
10333
10334 * gdb.base/long-inferior-output.c: New file.
10335 * gdb.base/long-inferior-output.exp: New file.
10336
c8ba13ad
KS
103372017-11-18 Keith Seitz <keiths@redhat.com>
10338
10339 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10340 method.
10341 (main): Call it.
10342 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10343 Add additional user-defined conversion operator tests.
10344
b27de576
PA
103452017-10-17 Pedro Alves <palves@redhat.com>
10346
10347 * boards/native-stdio-gdbserver.exp: Load "local-board".
10348
8484c955
PA
103492017-10-17 Pedro Alves <palves@redhat.com>
10350
10351 * gdb.base/quit-live.c: New file.
10352 * gdb.base/quit-live.exp: New file.
10353
83d5a34d
KS
103542017-10-16 Keith Seitz <keiths@redhat.com>
10355
10356 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10357 (class_with_protected_typedef, class_with_private_typedef)
10358 (struct_with_public_typedef, struct_with_protected_typedef)
10359 (struct_with_private_typedef): New classes/structs.
10360 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10361 typedefs and access specifiers.
10362
739b3f1d
PA
103632017-10-16 Pedro Alves <palves@redhat.com>
10364 Simon Marchi <simon.marchi@polymtl.ca>
10365
10366 * README (Local vs Remote vs Native): New section.
10367 * boards/local-board.exp: New file, with bits factored out from
10368 ...
10369 * boards/native-extended-gdbserver.exp: ... here. Load
10370 "local-board".
10371 * boards/native-gdbserver.exp: Load "local-board".
10372 (${board}_spawn, ${board}_exec): Delete.
10373 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10374 ...
10375 * boards/stdio-gdbserver-base.exp: ... this new file.
10376 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10377 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10378 procedure.
10379 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10380 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10381 stdio_gdbserver_command.
10382 (${board}_get_remote_address, ${board}_get_comm_port)
10383 (${board}_download, ${board}_upload): Delete.
10384 (get_target_remote_pipe_cmd): New.
10385
fe68b953
SM
103862017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10387
10388 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10389 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10390 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10391 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10392 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10393 remove with_test_prefix.
10394
300b6685
PA
103952017-10-13 Pedro Alves <palves@redhat.com>
10396
10397 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10398 * gdb.base/annota1.exp: Use it instead of is_remote.
10399 * gdb.base/annota3.exp: Use it instead of is_remote.
10400 * gdb.cp/annota2.exp: Use it instead of is_remote.
10401 * gdb.cp/annota3.exp: Use it instead of is_remote.
10402 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10403
50500caf
PA
104042017-10-13 Pedro Alves <palves@redhat.com>
10405
10406 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10407 (test_num_test_vars, run_and_count_vars, find_env)
10408 (test_set_unset_env, test_inherit_env_var): New procedures.
10409 (top level): Use them.
10410
dad0c6d2
PA
104112017-10-13 Pedro Alves <palves@redhat.com>
10412
10413 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10414 also skip on stub-like targets.
10415
8b0553c1
PA
104162017-10-13 Pedro Alves <palves@redhat.com>
10417
10418 PR gdb/22293
10419 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10420 (top level): Move some tests to ...
10421 (test_not_found): ... this new procedure.
10422 (top level): Call it.
10423
7594f623
PA
104242017-10-13 Pedro Alves <palves@redhat.com>
10425
10426 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
10427 expect different "info terminal" output if testing with a
10428 non-native target.
10429
ebe3b402
PA
104302017-10-13 Pedro Alves <palves@redhat.com>
10431 Simon Marchi <simon.marchi@polymtl.ca>
10432
10433 PR python/12966
10434 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10435
42f1b161
PA
104362017-10-13 Pedro Alves <palves@redhat.com>
10437
10438 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10439 already.
10440
8d6ef72b
PA
104412017-10-13 Pedro Alves <palves@redhat.com>
10442
10443 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10444 is_remote.
10445
d7bcd5b8
PA
104462017-10-13 Pedro Alves <palves@redhat.com>
10447
10448 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10449 is_remote.
10450
df479dc6
PA
104512017-10-13 Pedro Alves <palves@redhat.com>
10452
10453 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10454 is set.
10455 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10456 instead of is_remote.
10457
23fb630a
PA
104582017-10-13 Pedro Alves <palves@redhat.com>
10459
10460 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10461 (top level): Add comment.
10462
cc77b1dc
PA
104632017-10-13 Pedro Alves <palves@redhat.com>
10464
10465 * gdb.base/remote.exp (top level): Fix comment typo and add
10466 missing return.
10467
27c9e813
PA
104682017-10-13 Pedro Alves <palves@redhat.com>
10469 Simon Marchi <simon.marchi@polymtl.ca>
10470
10471 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10472 calls and add comments. Skip test if use_gdb_stub is set.
10473 (top level): Use "set cwd" command instead of "cd" command.
10474
5e830d98
PA
104752017-10-13 Pedro Alves <palves@redhat.com>
10476
10477 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10478 is_remote target check.
10479
f5ca0032
PA
104802017-10-13 Pedro Alves <palves@redhat.com>
10481
10482 * gdb.base/scope.exp: Use build_executable + clean_restart +
10483 gdb_file_cmd instead of prepare_for_testing and no longer skip
10484 "before run" tests on is_remote target boards. Update comments.
10485 * boards/native-extended-gdbserver.exp
10486 (extended_gdbserver_load_last_file): New, factored out from ...
10487 (gdb_load): ... this. Move further below and add comment.
10488 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10489
8aed1c0d
PA
104902017-10-12 Pedro Alves <palves@redhat.com>
10491
10492 * gdb.base/attach.exp: Remove references to gdb64.
10493 * gdb.base/dbx.exp: Remove references to gdb64.
10494
cfa34c87
SM
104952017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10496 Pedro Alves <palves@redhat.com>
10497
10498 * gdb.base/label.exp: Remove is_remote target check.
10499
9192b7de
PA
105002017-10-12 Pedro Alves <palves@redhat.com>
10501
10502 * gdb.base/auvx.exp (coredir): Update comment.
10503 (top level) <core_works>: Use "set cwd" command instead of "cd"
10504 command.
10505
6bf0052d
PA
105062017-10-12 Pedro Alves <palves@redhat.com>
10507 Simon Marchi <simon.marchi@polymtl.ca>
10508
10509 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10510 target boards.
10511
e48ef82d
PA
105122017-10-12 Pedro Alves <palves@redhat.com>
10513 Simon Marchi <simon.marchi@polymtl.ca>
10514
10515 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10516 Instead skip if there's any gdb_protocol set.
10517
8d7aea57
SM
105182017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10519 Pedro Alves <palves@redhat.com>
10520
10521 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10522
30440677
PA
105232017-10-12 Pedro Alves <palves@redhat.com>
10524 Simon Marchi <simon.marchi@polymtl.ca>
10525
10526 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10527 instead of on dejagnu remote boards.
10528
4e04f045 105292017-10-12 Pedro Alves <palves@redhat.com>
175654b9 10530 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
10531
10532 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10533 checks. Use build_executable + clean_restart instead of
10534 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10535 of enabling non-stop after starting gdb.
10536
871a186e
PA
105372017-10-12 Pedro Alves <palves@redhat.com>
10538
10539 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10540 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10541 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10542 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10543
56d704da
AK
105442017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10545
10546 * gdb.arch/arc-tdesc-cpu.exp: New file.
10547 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10548
2f20e312
SM
105492017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10550
10551 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10552
65630365
PA
105532017-10-10 Pedro Alves <palves@redhat.com>
10554
10555 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10556 expect CLI output.
10557
bf469271
PA
105582017-10-10 Pedro Alves <palves@redhat.com>
10559
10560 * lib/selftest-support.exp (selftest_setup): Update for
10561 captured_command_loop's prototype change.
10562
777a42f1
PA
105632017-10-09 Pedro Alves <palves@redhat.com>
10564
10565 Test both arch1=>arch2 and arch2=>arch1.
10566
10567 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10568 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10569 factored out to...
10570 (append_arch1_options, append_arch2_options, append_arch_options)
10571 (build_executables): New procedures.
10572 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10573 local.
10574 (top level): Add new 'first_arch' testing axis.
10575
cbd2b4e3
PA
105762017-10-09 Pedro Alves <palves@redhat.com>
10577
10578 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10579 (barrier): New.
10580 (thread_start, all_started): New functions.
10581 (main): Spawn new thread and wait until it is scheduled.
10582 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10583 option.
10584 (do_test): Add 'selected_thread' parameter. Run to all_started
10585 instead of main. Explicitly set the breakpoint at main. Switch
10586 to the SELECTED_THREAD thread.
10587 (top level): Test handling the exec event with either the main
10588 thread or the second thread selected.
10589
5c9e4427
PA
105902017-10-09 Pedro Alves <palves@redhat.com>
10591
10592 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10593 logic. Move STOP marker after the value checks.
10594 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10595 regexp.
10596
b3b7c423
SL
105972017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10598
10599 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10600
3b4b2f16
UW
106012017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10602
10603 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10604 integer-to-dfp conversion.
10605 * gdb.base/dfp-test.exp: Likewise.
10606
5cd63fda
PA
106072017-10-04 Pedro Alves <palves@redhat.com>
10608
10609 * gdb.multi/hangout.c: Include <unistd.h>.
10610 (hangout_loop): New function.
10611 (main): Call alarm. Call hangout_loop in a loop.
10612 * gdb.multi/hello.c: Include <unistd.h>.
10613 (hello_loop): New function.
10614 (main): Call alarm. Call hangout_loop in a loop.
10615 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10616 inferior with the other selected.
10617
4c71c105
SM
106182017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10619
10620 * gdb.mi/list-thread-groups-available.exp: New file.
10621 * gdb.mi/list-thread-groups-available.c: New file.
10622
bc3b087d
SDJ
106232017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10624
10625 * gdb.base/set-cwd.exp: Make it available on
10626 native-extended-gdbserver.
10627
d092c5a2
SDJ
106282017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10629
10630 * gdb.base/set-cwd.c: New file.
10631 * gdb.base/set-cwd.exp: Likewise.
10632
45320ffa
TT
106332017-10-02 Tom Tromey <tom@tromey.com>
10634
10635 PR rust/22236:
10636 * gdb.rust/simple.rs (main): New variable "fslice".
10637 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10638
b3e3859b
TT
106392017-10-02 Tom Tromey <tom@tromey.com>
10640
10641 * gdb.rust/simple.exp: Test ptype of a slice.
10642
01af5e0d
TT
106432017-10-02 Tom Tromey <tom@tromey.com>
10644
10645 * gdb.rust/simple.exp: Test index of slice.
10646
a9bbfbd8
TT
106472017-09-27 Tom Tromey <tom@tromey.com>
10648
10649 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10650
df8899e5
TP
106512017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10652 Pedro Alves <palves@redhat.com>
10653
10654 * gdb.base/compare-sections.exp (get value of read-only section): Read
10655 as unsigned value.
10656 (corrupt read-only section): Likewise and don't set written if patching
10657 failed.
10658
757bf54b
KB
106592017-09-21 Kevin Buettner <kevinb@redhat.com>
10660
10661 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10662 files.
10663
06871ae8
PA
106642017-09-20 Pedro Alves <palves@redhat.com>
10665
10666 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10667 symbol names in gdb's output.
10668 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10669
e5f25bc5
PA
106702017-09-20 Pedro Alves <palves@redhat.com>
10671
10672 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10673 Rename to ...
10674 (test_list_ambiguous_symbol): ... this and add a symbol name
10675 parameter. Adjust.
10676 (test_list_ambiguous_function): Reimplement on top of
10677 test_list_ambiguous_symbol and also test listing ambiguous
10678 variables.
10679 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10680 (ambiguous_fun): ... this.
10681 (ambiguous_var): New.
10682 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10683 (ambiguous_fun): ... this.
10684 (ambiguous_var): New.
10685
4e5a4f58
JB
106862017-09-19 John Baldwin <jhb@FreeBSD.org>
10687
10688 * gdb.base/starti.c: New file.
10689 * gdb.base/starti.exp: New file.
10690 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10691
26e53f3e
PA
106922017-09-14 Pedro Alves <palves@redhat.com>
10693
10694 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10695 (top level): Use it instead of runto.
10696
cb791d59
TT
106972017-09-11 Tom Tromey <tom@tromey.com>
10698
10699 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10700
7c96f8c1
TT
107012017-09-11 Tom Tromey <tom@tromey.com>
10702
10703 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10704 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10705
469412dd
CW
107062017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10707
10708 * gdb.fortran/printing-types.exp: New file.
10709 * gdb.fortran/printing-types.exp: New file.
10710
e0f86435
BH
107112017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10712
10713 * gdb.fortran/vla-ptype.exp: Fix typos.
10714 * gdb.fortran/vla-value.exp: Same.
10715
9e9af4be
BH
107162017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10717
10718 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10719 * gdb.mi/mi-var-child-f.exp: Likewise.
10720 * gdb.mi/mi-vla-fortran.exp: Likewise.
10721
a5ad232b 107222017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10723 Christoph Weinmann <christoph.t.weinmann@intel.com>
10724 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10725
10726 * gdb.fortran/ptr-indentation.f90: New file.
10727 * gdb.fortran/ptr-indentation.exp: New file.
10728
5aec60eb
TT
107292017-09-05 Tom Tromey <tom@tromey.com>
10730
10731 PR gdb/22010:
10732 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10733
8f8f8152
TP
107342017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10735
10736 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10737
fbd1b771
JK
107382017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10739
10740 * gdb.threads/tls-nodebug-pie.c: New file.
10741 * gdb.threads/tls-nodebug-pie.exp: New file.
10742
5eb5f850
TT
107432017-09-05 Tom Tromey <tom@tromey.com>
10744
10745 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10746 for rust.
10747
ae780a21
SM
107482017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10749
10750 * gdb.multi/multi-arch-exec.exp: Test with different
10751 "follow-exec-mode" settings.
10752 (do_test): New procedure.
10753
3693fdb3
PA
107542017-09-04 Pedro Alves <palves@redhat.com>
10755
10756 * gdb.base/func-static.c (S::method const, S::method volatile)
10757 (S::method volatile const): New methods.
10758 (c_s, v_s, cv_s): New instances.
10759 (main): Call method() on them.
10760 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10761 (cannot_resolve): New procedure.
10762 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10763 print-quote-unquoted columns.
10764 (do_test): Test printing each scope too.
10765
e68cb8e0
PA
107662017-09-04 Pedro Alves <palves@redhat.com>
10767
10768 * gdb.base/local-static.exp: Also test with
10769 class::method::variable wholly quoted.
10770 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10771
858be34c
PA
107722017-09-04 Pedro Alves <palves@redhat.com>
10773
10774 * gdb.base/local-static.c: New.
10775 * gdb.base/local-static.cc: New.
10776 * gdb.base/local-static.exp: New.
10777
46a4882b
PA
107782017-09-04 Pedro Alves <palves@redhat.com>
10779
10780 * gdb.asm/asm-source.exp: Add casts to int.
10781 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10782 (dataglobal64_1, dataglobal64_2): New globals.
10783 * gdb.base/nodebug.exp: Test different expressions involving the
10784 new globals, with print, whatis and ptype. Add casts to int.
10785 * gdb.base/solib-display.exp: Add casts to int.
10786 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10787 * gdb.cp/m-static.exp: Add cast to int.
10788 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10789 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10790 tls variable with no debug info without a cast. Test with a cast
10791 to int too.
10792 * gdb.trace/entry-values.exp: Add casts.
10793
2c5a2be1
PA
107942017-09-04 Pedro Alves <palves@redhat.com>
10795
10796 * gdb.base/nodebug.exp: Test that ptype's error about functions
10797 with unknown return type includes the function name too.
10798
7022349d
PA
107992017-09-04 Pedro Alves <palves@redhat.com>
10800
10801 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10802 return type of munmap in infcall.
10803 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10804 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10805 type of ftell in infcall.
10806 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10807 type of getpid in infcall.
10808 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10809 infcall.
10810 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10811 Bail on failure to extract the pid.
10812 * gdb.base/nodebug.c: #include <stdint.h>.
10813 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10814 New functions.
10815 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10816 Change expected output of print/whatis/ptype with functions with
10817 no debug info. Test all supported languages. Call
10818 test_call_promotion.
10819 * gdb.compile/compile.exp: Adjust expected output to expect
10820 warning.
10821 * gdb.threads/siginfo-threads.exp: Likewise.
10822
54990598
PA
108232017-09-04 Pedro Alves <palves@redhat.com>
10824
10825 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10826 "prototypes". Test calling float functions via prototyped and
10827 unprototyped function pointers.
10828 (perform_all_tests): New parameter "prototypes". Pass it down.
10829 (top level): Pass down "prototypes" parameter to
10830 perform_all_tests.
10831
34d16ea2
SM
108322017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10833
10834 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10835 Test with nested loops.
10836
9521ecda
SM
108372017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10838
10839 * gdb.base/commands.exp: Call the new procedures.
10840 (loop_break_test, loop_continue_test): New procedures.
10841
80a65e9b
SM
108422017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10843
10844 * gdb.base/commands.exp: Call new procedure.
10845 (define_if_without_arg_test): New procedure.
10846
e439fa14
PA
108472017-09-04 Pedro Alves <palves@redhat.com>
10848
10849 * gdb.base/list-ambiguous.exp: New file.
10850 * gdb.base/list-ambiguous0.c: New file.
10851 * gdb.base/list-ambiguous1.c: New file.
10852 * gdb.base/list.exp (test_list_range): Adjust expected output.
10853
0a2dde4a
SDJ
108542017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10855
10856 * gdb.base/share-env-with-gdbserver.c: New file.
10857 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10858
5e89eb3a
SM
108592017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10860
10861 * gdb.base/commands.exp (gdbvar_simple_if_test,
10862 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10863 progvar_simple_if_test, progvar_simple_while_test,
10864 progvar_complex_if_while_test, user_defined_command_test,
10865 user_defined_command_args_eval,
10866 user_defined_command_args_stack_test,
10867 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10868 temporary_breakpoint_commands,
10869 gdb_test_no_prompt, redefine_hook_test,
10870 redefine_backtrace_test): Remove "global gdb_prompt".
10871
fd437cbc
SM
108722017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10873
10874 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10875 New proc, call it from toplevel.
10876
87215ad1
SDJ
108772017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10878
10879 PR remote/21852
10880 * gdb.server/normal.c: New file, copied from gdb.base.
10881 * gdb.server/run-without-local-binary.exp: New file.
10882
58afddc6
WP
108832017-08-07 Weimin Pan <weimin.pan@oracle.com>
10884
10885 * gdb.arch/sparc64-adi.exp: New file.
10886 * gdb.arch/sparc64-adi.c: New file.
10887
5277199a
PA
108882017-08-22 Pedro Alves <palves@redhat.com>
10889
10890 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10891 (top level): Add "list all overloads" tests.
10892
14278e1f
TT
108932017-08-22 Tom Tromey <tom@tromey.com>
10894
10895 * gdb.gdb/xfullpath.exp: Remove.
10896
bf223d3e
PA
108972017-08-21 Pedro Alves <palves@redhat.com>
10898
10899 PR gdb/19487
10900 * gdb.base/symbol-alias.c: New.
10901 * gdb.base/symbol-alias2.c: New.
10902 * gdb.base/symbol-alias.exp: New.
10903
c973d0aa
PA
109042017-08-21 Pedro Alves <palves@redhat.com>
10905
10906 * gdb.base/dfp-test.c
10907 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10908 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10909 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10910 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10911 * gdb.base/whatis-ptype-typedefs.c: New.
10912 * gdb.base/whatis-ptype-typedefs.exp: New.
10913 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10914 (an_int, an_int_type, an_int_type2): New globals.
10915 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10916 involving typedefs and cast expressions.
10917 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10918 (lookup_typedefs_function): New.
10919 (typedefs_pretty_printers_dict): New.
10920 (top level): Register lookup_typedefs_function in
10921 gdb.pretty_printers.
10922
6d580b63
YQ
109232017-08-18 Yao Qi <yao.qi@linaro.org>
10924
10925 * gdb.server/unittest.exp: New.
10926
206726fb
SDJ
109272017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10928
10929 PR gdb/21954
10930 * gdb.base/environ.exp: Add test to check if 'unset environment'
10931 works.
10932
bf0ec4c2
AA
109332017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10934
10935 * lib/gdb.exp (universal_compile_options): New caching proc.
10936 (gdb_compile): Suppress GCC's coloring of messages.
10937
d6382fff
TT
109382017-08-14 Tom Tromey <tom@tromey.com>
10939
10940 PR gdb/21675:
10941 * gdb.base/printcmds.exp (test_radices): New function.
10942 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10943 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10944 * lib/gdb.exp (get_integer_valueof): Use p/d.
10945
c2c2dd9f
SM
109462017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10947
10948 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10949 characters.
10950
fdffd6f4
TT
109512017-08-05 Tom Tromey <tom@tromey.com>
10952
10953 * gdb.rust/simple.exp: Allow String to appear in a different
10954 namespace.
10955
27d41eac
YQ
109562017-07-26 Yao Qi <yao.qi@linaro.org>
10957
10958 * gdb.gdb/unittest.exp: Invoke command
10959 "maintenance check xml-descriptions".
10960
031ed05d
AA
109612017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10962
10963 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10964 calling context.
10965 (hex128): Drop erroneous calculation of parameters.
10966
dcd27ddf
SM
109672017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10968
10969 * gdb.python/py-unwind.exp: Disable stack protection when
10970 building test file.
10971
47e77640
PA
109722017-07-20 Pedro Alves <palves@redhat.com>
10973
10974 * gdb.base/default.exp (set language): Adjust expected output.
10975
62d2a18a
PA
109762017-07-20 Pedro Alves <palves@redhat.com>
10977
10978 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10979 (test_minsym): ... this, and make static.
10980 (get_pck__foo__bar__minsym): Rename to ...
10981 (get_test_minsym): ... this.
10982 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10983 symbol names and comments.
10984 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10985 (get_test_minsym): ... this.
10986 (pck__foo__bar__minsym__2): Rename to ...
10987 (test_minsym): ... this.
10988 (main): Adjust.
10989
c45ec17c
PA
109902017-07-17 Pedro Alves <palves@redhat.com>
10991
10992 * gdb.base/completion.exp: Adjust expected output.
10993 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10994 the completer works.
10995
c6756f62
PA
109962017-07-17 Pedro Alves <palves@redhat.com>
10997
10998 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10999
5bd68487
AB
110002017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11001
11002 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11003
8880f2a9
TT
110042017-07-14 Tom Tromey <tom@tromey.com>
11005
11006 PR rust/21764:
11007 * gdb.rust/simple.exp: Add tests.
11008
65547233
TT
110092017-07-14 Tom Tromey <tom@tromey.com>
11010
11011 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11012
8f14146e
PA
110132017-07-14 Pedro Alves <palves@redhat.com>
11014
11015 * gdb.linespec/base/one/thefile.cc (z1): New function.
11016 * gdb.linespec/base/two/thefile.cc (z2): New function.
11017 * gdb.linespec/linespec.exp: Add tests.
11018
b4365d02
AB
110192017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11020
11021 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11022 to mi_create_breakpoint.
11023
5d2cbaa5
AB
110242017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11025
11026 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11027 mi_create_breakpoint.
11028
11cb5716
IB
110292017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11030
11031 * gdb.dlang/demangle.exp: Update for demangling changes.
11032
03278692
TT
110332017-07-09 Tom Tromey <tom@tromey.com>
11034
11035 * gdb.dwarf2/shortpiece.exp: New file.
11036
33c5cd75
DB
110372017-07-06 David Blaikie <dblaikie@gmail.com>
11038
11039 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11040 built from fissiont-multi-cu{1,2}.c.
11041 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11042 except putting 'main' and 'func' in separate CUs in the same DWO file.
11043 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11044 test.
11045 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11046 test.
11047
8455d262
PA
110482017-07-06 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.python/py-unwind.exp: Test flushregs.
11051
dc4bde35
SDJ
110522017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11053
11054 PR cli/21688
11055 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11056 tests for alias commands and trailing whitespace.
11057
51ed89aa
SDJ
110582017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11059
11060 PR cli/21688
11061 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11062 procedure. Call it.
11063
eb17d413
PA
110642017-06-29 Pedro Alves <palves@redhat.com>
11065
11066 * gdb.base/printcmds.exp: Add tests.
11067
41664b45
DG
110682017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11069
11070 PR gdb/21337
11071 * gdb.base/reread-readsym.exp: New file.
11072 * gdb.base/reread-readsym.c: New file.
11073
75312ae3
KB
110742017-06-21 Kevin Buettner <kevinb@redhat.com>
11075
11076 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11077 subpattern.
11078
66953522
PB
110792017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11080
11081 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11082 extended mnemonic.
11083 * gdb.arch/powerpc-power9.s: Likewise.
11084
5524b525
AA
110852017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11086
11087 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11088 on 32-bit x86 targets. Exploit is_*_target macros where
11089 appropriate.
11090
03c8af18
AA
110912017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11092
11093 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11094 register pieces.
11095
3bf31011
AA
110962017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11097
11098 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11099 located in one or more DWARF pieces.
11100
805acca0
AA
111012017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11102
11103 * lib/gdb.exp (get_endianness): New proc.
11104 * gdb.arch/aarch64-fp.exp: Use it.
11105 * gdb.arch/altivec-regs.exp: Likewise.
11106 * gdb.arch/e500-regs.exp: Likewise.
11107 * gdb.arch/vsx-regs.exp: Likewise.
11108 * gdb.base/dump.exp: Likewise.
11109 * gdb.base/funcargs.exp: Likewise.
11110 * gdb.base/gnu_vector.exp: Likewise.
11111 * gdb.dwarf2/formdata16.exp: Likewise.
11112 * gdb.dwarf2/implptrpiece.exp: Likewise.
11113 * gdb.dwarf2/nonvar-access.exp: Likewise.
11114 * gdb.python/py-inferior.exp: Likewise.
11115 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11116
e9352324
AA
111172017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11118
11119 PR gdb/21226
11120 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11121 stack value pieces are taken from the LSB end.
11122
d5d1163e
AA
111232017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11124
11125 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11126 variable at nonzero offset.
11127
0567c986
AA
111282017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11129
11130 * gdb.dwarf2/var-access.c: New file.
11131 * gdb.dwarf2/var-access.exp: New test.
11132 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11133
973e9aab
TT
111342017-06-12 Tom Tromey <tom@tromey.com>
11135
11136 * gdb.dwarf2/formdata16.exp: Add tests.
11137
d9109c80
TT
111382017-06-12 Tom Tromey <tom@tromey.com>
11139
11140 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11141
30a25466
TT
111422017-06-12 Tom Tromey <tom@tromey.com>
11143
11144 PR exp/16225:
11145 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11146 * gdb.arch/vsx-regs.exp: Update tests.
11147 * gdb.arch/s390-vregs.exp (hex128): New proc.
11148 Update test.
11149 * gdb.arch/altivec-regs.exp: Update tests.
11150
aefd8b33
SDJ
111512017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11152
11153 * gdb.base/startup-with-shell.c: New file.
11154 * gdb.base/startup-with-shell.exp: Likewise.
11155
2090129c
SDJ
111562017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11157
11158 * gdb.server/non-existing-program.exp: Update regex in order to
11159 reflect the fact that gdbserver is now using fork_inferior (with a
11160 shell) to startup the inferior.
11161
8e86a419
SM
111622017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11163
11164 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11165 support function calls from GDB.
11166
e6cf65f2
TT
111672017-05-21 Tom Tromey <tom@tromey.com>
11168
11169 PR rust/21466:
11170 * gdb.rust/unsized.exp: New file.
11171 * gdb.rust/unsized.rs: New file.
11172
43cc5389
TT
111732017-05-19 Tom Tromey <tom@tromey.com>
11174
11175 PR rust/21484:
11176 * gdb.rust/watch.exp: New file.
11177 * gdb.rust/watch.rs: New file.
11178
ec8df234
TT
111792017-05-18 Tom Tromey <tom@tromey.com>
11180
11181 * gdb.rust/simple.exp: Allow Box to be qualified.
11182
3e3e7fae
TP
111832017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11184
11185 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11186
59cc050d
PA
111872017-05-18 Pedro Alves <palves@redhat.com>
11188
11189 * gdb.base/fileio.c (test_write, test_read, test_close)
11190 (test_fstat): Don't print 'ret' in the fail path.
11191
c8f6abd1
PA
111922017-05-18 Pedro Alves <palves@redhat.com>
11193
11194 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11195 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11196 (test_system, test_rename, test_unlink, test_time): Change
11197 prototypes.
11198 * gdb.base/fileio.exp (stop_msg): Adjust.
11199
d2a03b77
PA
112002017-05-18 Pedro Alves <palves@redhat.com>
11201
11202 * gdb.base/fileio.c (null_str): New global.
11203 (test_stat): Use it.
11204 * gdb.base/fileio.exp: Remove nowarnings.
11205
0d5c6999
YQ
112062017-05-17 Yao Qi <yao.qi@linaro.org>
11207
11208 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11209
21873064
YQ
112102017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11211
11212 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11213 argument command.
11214 (top-level): Invoke test_set_inferior_tty.
11215
d512d31c
PA
112162017-05-04 Pedro Alves <palves@redhat.com>
11217
11218 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11219 Add parens to print call for Python 3.
11220
90cef2ed
KS
112212017-05-03 Keith Seitz <keiths@redhat.com>
11222
11223 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11224 (main): Call it.
11225
14f819c8
TW
112262017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11227
11228 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11229 to prev and next.
11230
913aeadd
TW
112312017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11232
11233 * gdb.python/py-record-btrace.exp: Remove test for
11234 gdb.BtraceInstruction.error.
11235
a3be24ad
TW
112362017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11237
11238 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11239
ae20e79a
TW
112402017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11241
11242 * gdb.python/py-record-btrace-threads.c: New file.
11243 * gdb.python/py-record-btrace-threads.exp: New file.
11244
45ce1b47
SDJ
112452017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11246
11247 PR testsuite/8595
11248 * gdb.base/environ.exp: Make test available in all architectures.
11249 Move bits related to "info program" testing to
11250 gdb.base/info-program.exp. Rewrite tests to use the two new
11251 procedures mentione below.
11252 (test_set_show_env_var) New procedure.
11253 (test_set_show_env_var_equal): Likewise.
11254 * gdb.base/info-program.exp: New file.
11255
e15c3eb4
KS
112562017-04-27 Keith Seitz <keiths@redhat.com>
11257
11258 * gdb.cp/oranking.cc (test15): New function.
11259 (main): Call test15 and declare additional variables for testing.
11260 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11261 "p foo101('abc')" tests.
11262 Add tests for cv qualifier overloads.
11263 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11264 "lvalue reference overload" test.
11265 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11266 "print value of f1 on Child&& in f2" test.
11267
3a3fd0fd
PA
112682017-04-19 Pedro Alves <palves@redhat.com>
11269
11270 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11271 procedure.
11272 (top level): Call it.
11273 * lib/gdb.exp (gdb_define_cmd): New procedure.
11274
53375380
PA
112752017-04-12 Pedro Alves <palves@redhat.com>
11276
11277 PR gdb/21323
11278 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11279 (wchar): New global.
11280 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11281 (do_test_wide_char, wide_char_types_no_program, top level): Add
11282 wchar_t testing.
11283
53e710ac
PA
112842017-04-12 Pedro Alves <palves@redhat.com>
11285
11286 PR c++/21323
11287 * gdb.cp/wide_char_types.c: New file.
11288 * gdb.cp/wide_char_types.exp: New file.
11289
0ad9d8c7
SDJ
112902017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11291
11292 PR gdb/21352
11293 * gdb.trace/tsv.exp: Add test for "tsave -r".
11294
b1b45502
IB
112952017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11296
11297 * gdb.dlang/watch-loc.c: New file.
11298 * gdb.dlang/watch-loc.exp: New file.
11299
ec13808e
JK
113002017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11301
11302 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11303
fe5f7374
AK
113042017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11305
11306 * gdb.arch/arc-analyze-prologue.S: New file.
11307 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11308
eea78757
AK
113092017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11310
11311 * gdb.arch/arc-decode-insn.S: New file.
11312 * gdb.arch/arc-decode-insn.exp: Likewise.
11313
5badf10a
IR
113142017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11315
11316 PR tdep/20928
11317 * gdb.arch/sparc64-regs.exp: New file.
11318 * gdb.arch/sparc64-regs.S: Likewise.
11319
cee59b3f
TW
113202017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11321
11322 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11323 and memory view on Python 3.
11324
c0f55cc6
AV
113252017-03-20 Artemiy Volkov <artemiyv@acm.org>
11326 Keith Seitz <keiths@redhat.com>
11327
11328 PR gdb/14441
11329 * gdb.cp/demangle.exp: Add rvalue reference tests.
11330 * gdb.cp/rvalue-ref-casts.cc: New file.
11331 * gdb.cp/rvalue-ref-casts.exp: New file.
11332 * gdb.cp/rvalue-ref-overload.cc: New file.
11333 * gdb.cp/rvalue-ref-overload.exp: New file.
11334 * gdb.cp/rvalue-ref-params.cc: New file.
11335 * gdb.cp/rvalue-ref-params.exp: New file.
11336 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11337 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11338 * gdb.cp/rvalue-ref-types.cc: New file.
11339 * gdb.cp/rvalue-ref-types.exp: New file.
11340 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11341 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11342
51457a05
MAL
113432017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11344
11345 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11346 New procedure.
11347
5b291c04
MAL
113482017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11349
11350 * lib/mi-support.exp (mi_gdb_test): Add additional message
11351 for unexpected output.
11352
59a56148
AA
113532017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11354
11355 * gdb.base/examine-backward.c (Barrier): New character array
11356 constant, to ensure that TestStrings is preceded by a string
11357 terminator.
11358
7942e96e
AA
113592017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11360
11361 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11362 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11363 and implicit pointer into such a location.
11364
6ebac3fb
DE
113652017-03-16 Doug Evans <dje@google.com>
11366
11367 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11368
ec3b243d
TP
113692017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11370
11371 * gdb.cp/m-static.exp: Fix expectation for prototype of
11372 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11373
113742017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11375
11376 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11377 * gdb.guile/scm-lazy-string.c: New file.
11378 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11379 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11380 for pointer, array, typedef lazy strings.
11381
2cc36e25 113822017-03-16 Doug Evans <dje@google.com>
34b43320
DE
11383
11384 PR python/17728, python/18439, python/18779
11385 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11386 * gdb.python/py-lazy-string.c (pointer): New typedef.
11387 (main): New locals ptr, array, typedef_ptr.
11388 * gdb.python/py-value.exp: Move lazy string tests to ...
11389 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11390 array, typedef lazy strings.
ec3b243d 11391
0efcde63
AK
113922017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11393
11394 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11395 Add optional 'test' parameter.
11396
7978d7c3
SM
113972017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11398
11399 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11400 Skip for versions of DejaGnu < 1.5.
11401
896c0c1e
SM
114022017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11403
11404 * lib/gdb.exp (dejagnu_version): New proc.
11405 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11406 Use dejagnu_version.
11407
5f4d1085
KS
114082017-03-10 Keith Seitz <keiths@redhat.com>
11409
11410 PR c++/8128
11411 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11412 type from destructor regexps.
11413 Add a branch which actually passes the test.
11414 Adjust "ptype t5i" test names.
11415
1de05205
PA
114162017-03-08 Pedro Alves <palves@redhat.com>
11417
11418 * gdb.base/step-over-exit.exp: Add explicit test message.
11419
c65d6b55
PA
114202017-03-08 Pedro Alves <palves@redhat.com>
11421
11422 PR gdb/18360
11423 * gdb.threads/interrupt-while-step-over.c: New file.
11424 * gdb.threads/interrupt-while-step-over.exp: New file.
11425
2e86a283
PA
114262017-03-08 Pedro Alves <palves@redhat.com>
11427
11428 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11429 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11430
25dcbff6
PA
114312017-03-08 Pedro Alves <palves@redhat.com>
11432
11433 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11434 PKRU as not supported as a PASS.
11435
dc9366eb
PA
114362017-03-08 Pedro Alves <palves@redhat.com>
11437
11438 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11439 prefix instead of $binfile1/$binfile2.
11440 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11441 in test message.
11442 * gdb.python/py-completion.exp: Use "load python file" as test
11443 messages instead of unstable path names.
11444
6e5d74e7
PA
114452017-03-08 Pedro Alves <palves@redhat.com>
11446 Jan Kratochvil <jan.kratochvil@redhat.com>
11447
11448 PR cli/21218
11449 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11450 New proc.
11451 (top level): Call it.
11452
9753a2f6
PA
114532017-03-08 Pedro Alves <palves@redhat.com>
11454
11455 PR tui/21216
11456 * gdb.tui/tui-nl-filtered-output.exp: New file.
11457
1a4dd9dd
PA
114582017-03-08 Pedro Alves <palves@redhat.com>
11459
11460 * gdb.base/completion.exp: Move TUI completion tests to ...
11461 * gdb.tui/completion.exp: ... this new file.
11462
7cbbff33
PA
114632017-03-08 Pedro Alves <palves@redhat.com>
11464
11465 * gdb.base/tui-disasm-long-lines.c,
11466 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11467 gdb.base/tui-layout.exp: Move to ...
11468 * gdb.tui/: ... this new directory.
11469
5f6fd321
PA
114702017-03-07 Pedro Alves <palves@redhat.com>
11471
11472 * gdb.base/tui-layout.c: New file.
11473 * gdb.base/tui-layout.exp: New file.
11474
44959fa8
PA
114752017-03-07 Pedro Alves <palves@redhat.com>
11476
11477 * gdb.base/tui-layout.c: Rename to ...
11478 * gdb.base/tui-disasm-long-lines.c: ... this.
11479 * gdb.base/tui-layout.exp: Rename to ...
11480 * gdb.base/tui-disasm-long-lines.exp: ... this.
11481
f8c4e718
PA
114822017-03-07 Pedro Alves <palves@redhat.com>
11483
11484 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11485
6dbb839a 114862017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
11487
11488 * i386-mpx-call.c: New file.
11489 * i386-mpx-call.exp: New file.
11490
65b48a81
PB
114912017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11492
11493 * gdb.arch/powerpc-power.exp: Delete test.
11494 * gdb.arch/powerpc-power.s: Likewise.
11495 * gdb.disasm/disassembler-options.exp: New test.
11496 * gdb.arch/powerpc-altivec.exp: Likewise.
11497 * gdb.arch/powerpc-altivec.s: Likewise.
11498 * gdb.arch/powerpc-altivec2.exp: Likewise.
11499 * gdb.arch/powerpc-altivec2.s: Likewise.
11500 * gdb.arch/powerpc-altivec3.exp: Likewise.
11501 * gdb.arch/powerpc-altivec3.s: Likewise.
11502 * gdb.arch/powerpc-power7.exp: Likewise.
11503 * gdb.arch/powerpc-power7.s: Likewise.
11504 * gdb.arch/powerpc-power8.exp: Likewise.
11505 * gdb.arch/powerpc-power8.s: Likewise.
11506 * gdb.arch/powerpc-power9.exp: Likewise.
11507 * gdb.arch/powerpc-power9.s: Likewise.
11508 * gdb.arch/powerpc-vsx.exp: Likewise.
11509 * gdb.arch/powerpc-vsx.s: Likewise.
11510 * gdb.arch/powerpc-vsx2.exp: Likewise.
11511 * gdb.arch/powerpc-vsx2.s: Likewise.
11512 * gdb.arch/powerpc-vsx3.exp: Likewise.
11513 * gdb.arch/powerpc-vsx3.s: Likewise.
11514 * gdb.arch/arm-disassembler-options.exp: Likewise.
11515 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11516 * gdb.arch/s390-disassembler-options.exp: Likewise.
11517
17cd4947
LM
115182017-02-23 Luis Machado <lgustavo@codesourcery.com>
11519
11520 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11521 (check_supported_features): ... this. Changed return type to void.
11522 (supports_rdseed): New static global.
11523 (rdseed): Check supports_rdseed.
11524 (initialize): Call check_supported_features.
11525
2039d74e
EBM
115262017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11527
11528 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11529 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11530 and lqarx/stqcx.
11531 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11532 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11533
a51d7ecf
EBM
115342017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11535
11536 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11537 uppercase.
11538
0224619f
JK
115392017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11540
11541 * gdb.dwarf2/formdata16.c: New file.
11542 * gdb.dwarf2/formdata16.exp: New file.
11543 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11544
216f72a1
JK
115452017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11546
11547 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11548 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11549 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11550 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11551 DW_AT_GNU_*.
11552
43988095
JK
115532017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11554
11555 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11556
99e8a4f9
SDJ
115572017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11558
11559 PR gdb/21164
11560 * gdb.base/maint.exp: Add testcases for when the commands do
11561 not have arguments.
11562
b58a8c0c
TP
115632017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11564
11565 * gdb.cp/chained-calls.exp: Use p instead of P.
11566
4e746bb6
TW
115672017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11568
11569 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11570 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11571
3f77c769
TT
115722017-02-14 Tom Tromey <tom@tromey.com>
11573
11574 PR python/13598:
11575 * gdb.python/py-events.exp: Add before_prompt event tests.
11576
075beec0
AA
115772017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11578
11579 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11580
bf5f525c
LM
115812017-02-13 Luis Machado <lgustavo@codesourcery.com>
11582
11583 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11584 (main): Call my_unique_function_name.
11585 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11586 completion of patterns with a single match.
11587 Add missing -re switches to gdb_test_multiple calls.
11588
13a66184
LM
115892017-02-13 Luis Machado <lgustavo@codesourcery.com>
11590
11591 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11592 return if core file is not recognized.
11593
26a06916
SM
115942017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11595
11596 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11597 and extra UIs.
11598
b761ca9e
SM
115992017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11600
11601 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11602 proc_with_prefix.
11603
b964bee0
TT
116042017-02-10 Tom Tromey <tom@tromey.com>
11605
11606 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11607
18da0c51
MG
116082017-02-10 Martin Galvan <martingalvan@sourceware.org>
11609
11610 PR gdb/21122
11611 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11612
604c4576
JG
116132017-02-08 Jerome Guitton <guitton@adacore.com>
11614
11615 * gdb.base/define.exp: Add test for command abbreviations
11616 in define.
11617
20b477a7
LM
116182017-02-06 Luis Machado <lgustavo@codesourcery.com>
11619
11620 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11621 * gdb.reverse/insn-reverse-x86.c: New file.
11622
3f7b46f2
IR
116232017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11624
11625 PR tdep/20936
11626 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11627
f0fd41c1
TT
116282017-02-03 Tom Tromey <tom@tromey.com>
11629
11630 PR rust/21097:
11631 * gdb.rust/simple.exp: Add new tests.
11632
5be5dbf0
PA
116332017-02-02 Pedro Alves <palves@redhat.com>
11634
11635 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11636 tests.
11637
7346ef59
AA
116382017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11639
11640 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11641 taking a 2-byte value out of a 4-byte DWARF implicit value on
11642 big-endian targets.
11643 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11644 logic. Add test cases for DW_OP_implicit.
11645
787f0025
MM
116462017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11647
11648 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11649
68777c29
MM
116502017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11651
11652 * gdb.btrace/enable.exp: Call gdb_exit before
11653 skip_gdbserver_tests.
11654
0a1c7e28
MM
116552017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11656
11657 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11658 GDBFLAGS.
11659
b5ac99b0
MM
116602017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11661
11662 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11663 the test is skipped.
11664 * gdb.btrace/data.exp: Likewise.
11665 * gdb.btrace/delta.exp: Likewise.
11666 * gdb.btrace/dlopen.exp: Likewise.
11667 * gdb.btrace/enable-running.exp: Likewise.
11668 * gdb.btrace/enable.exp: Likewise.
11669 * gdb.btrace/exception.exp: Likewise.
11670 * gdb.btrace/function_call_history.exp: Likewise.
11671 * gdb.btrace/gcore.exp: Likewise.
11672 * gdb.btrace/instruction_history.exp: Likewise.
11673 * gdb.btrace/multi-thread-step.exp: Likewise.
11674 * gdb.btrace/nohist.exp: Likewise.
11675 * gdb.btrace/non-stop.exp: Likewise.
11676 * gdb.btrace/reconnect.exp: Likewise.
11677 * gdb.btrace/record_goto-step.exp: Likewise.
11678 * gdb.btrace/record_goto.exp: Likewise.
11679 * gdb.btrace/rn-dl-bind.exp: Likewise.
11680 * gdb.btrace/segv.exp: Likewise.
11681 * gdb.btrace/step.exp: Likewise.
11682 * gdb.btrace/stepi.exp: Likewise.
11683 * gdb.btrace/tailcall-only.exp: Likewise.
11684 * gdb.btrace/tailcall.exp: Likewise.
11685 * gdb.btrace/tsx.exp: Likewise.
11686 * gdb.btrace/unknown_functions.exp: Likewise.
11687 * gdb.btrace/vdso.exp: Likewise.
11688
cd4007e4
MM
116892017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11690
11691 * gdb.btrace/enable-running.c: New.
11692 * gdb.btrace/enable-running.exp: New.
11693
2735833d
WT
116942017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11695
11696 * gdb.arch/amd64-gs_base.c: New file.
11697 * gdb.arch/amd64-gs_base.exp: New file.
11698
b51e1e94
LM
116992017-01-26 Luis Machado <lgustavo@codesourcery.com>
11700
11701 * lib/memory.exp: Remove spurious empty newlines.
11702
72ca0410
SM
117032017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11704
11705 * gdb.python/py-bad-printers.exp: Load python file using "source".
11706 * gdb.python/py-events.exp: Likewise.
11707 * gdb.python/py-evsignal.exp: Likewise.
11708 * gdb.python/py-evthreads.exp: Likewise.
11709 * gdb.python/py-frame-args.exp: Likewise.
11710 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11711 * gdb.python/py-framefilter-mi.exp: Likewise.
11712 * gdb.python/py-framefilter.exp: Likewise.
11713 * gdb.python/py-mi.exp: Likewise.
11714 * gdb.python/py-pp-maint.exp: Likewise.
11715 * gdb.python/py-pp-registration.exp: Likewise.
11716 * gdb.python/py-prettyprint.exp: Likewise.
11717 (run_lang_tests): Likewise.
11718 * gdb.python/py-typeprint.exp: Likewise.
11719
e309aa65
LM
117202017-01-26 Luis Machado <lgustavo@codesourcery.com>
11721
11722 * lib/memory.exp: New file.
11723 * lib/gdb.exp: Load memory.exp.
11724 * gdb.base/memattr.exp (delete_memory): Move proc to
11725 lib/memory.exp and rename to delete_memory_regions.
11726 Replace delete_memory with delete_memory_regions.
11727 Cleanup memory regions before tests.
11728 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11729 before tests.
11730
515aff23
LM
117312017-01-26 Luis Machado <lgustavo@codesourcery.com>
11732
11733 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11734 files.
11735 (initialize): New function conditionally defined.
11736 (testcases): Move within conditional block.
11737 (main): Call initialize.
11738 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11739 of gdb.reverse/insn-reverse.c.
11740 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11741 gdb.reverse/insn-reverse.c.
11742
d8b49cf0
YQ
117432017-01-26 Yao Qi <yao.qi@linaro.org>
11744
11745 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11746 disassemble on address 0.
11747
f13a9a0c
YQ
117482017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11749 Yao Qi <yao.qi@linaro.org>
11750
11751 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11752 * gdb.dwarf2/implptr-64bit.S: Remove.
11753 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11754 variables in caller's context. Add DW_OP_implicit_value.
11755
5ac95241
YQ
117562017-01-25 Yao Qi <yao.qi@linaro.org>
11757
11758 * lib/dwarf.exp (Dwarf::_location): Handle
11759 DW_OP_GNU_implicit_pointer with proper size.
11760
23e82930
LM
117612017-01-20 Luis Machado <lgustavo@codesourcery.com>
11762
11763 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11764 and add untested calls.
11765
d334ae25
LM
117662017-01-20 Luis Machado <lgustavo@codesourcery.com>
11767
11768 * gdb.python/python.exp: Check line number against what GDB thinks
11769 the line number is for func1.
11770
f5e6296e
IB
117712017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11772
11773 * gdb.dlang/debug-expr.exp: New file.
11774
5b362f04
LM
117752016-12-23 Luis Machado <lgustavo@codesourcery.com>
11776
11777 Fix test names for the following files:
11778
11779 * gdb.ada/exec_changed.exp
11780 * gdb.ada/info_types.exp
11781 * gdb.arch/aarch64-atomic-inst.exp
11782 * gdb.arch/aarch64-fp.exp
11783 * gdb.arch/altivec-abi.exp
11784 * gdb.arch/altivec-regs.exp
11785 * gdb.arch/amd64-byte.exp
11786 * gdb.arch/amd64-disp-step.exp
11787 * gdb.arch/amd64-dword.exp
11788 * gdb.arch/amd64-entry-value-inline.exp
11789 * gdb.arch/amd64-entry-value-param.exp
11790 * gdb.arch/amd64-entry-value-paramref.exp
11791 * gdb.arch/amd64-entry-value.exp
11792 * gdb.arch/amd64-i386-address.exp
11793 * gdb.arch/amd64-invalid-stack-middle.exp
11794 * gdb.arch/amd64-invalid-stack-top.exp
11795 * gdb.arch/amd64-optimout-repeat.exp
11796 * gdb.arch/amd64-prologue-skip.exp
11797 * gdb.arch/amd64-prologue-xmm.exp
11798 * gdb.arch/amd64-stap-special-operands.exp
11799 * gdb.arch/amd64-stap-wrong-subexp.exp
11800 * gdb.arch/amd64-tailcall-cxx.exp
11801 * gdb.arch/amd64-tailcall-noret.exp
11802 * gdb.arch/amd64-tailcall-ret.exp
11803 * gdb.arch/amd64-tailcall-self.exp
11804 * gdb.arch/amd64-word.exp
11805 * gdb.arch/arm-bl-branch-dest.exp
11806 * gdb.arch/arm-disp-step.exp
11807 * gdb.arch/arm-neon.exp
11808 * gdb.arch/arm-single-step-kernel-helper.exp
11809 * gdb.arch/avr-flash-qualifier.exp
11810 * gdb.arch/disp-step-insn-reloc.exp
11811 * gdb.arch/e500-abi.exp
11812 * gdb.arch/e500-regs.exp
11813 * gdb.arch/ftrace-insn-reloc.exp
11814 * gdb.arch/i386-avx512.exp
11815 * gdb.arch/i386-bp_permanent.exp
11816 * gdb.arch/i386-byte.exp
11817 * gdb.arch/i386-cfi-notcurrent.exp
11818 * gdb.arch/i386-disp-step.exp
11819 * gdb.arch/i386-dr3-watch.exp
11820 * gdb.arch/i386-float.exp
11821 * gdb.arch/i386-gnu-cfi.exp
11822 * gdb.arch/i386-mpx-map.exp
11823 * gdb.arch/i386-mpx-sigsegv.exp
11824 * gdb.arch/i386-mpx-simple_segv.exp
11825 * gdb.arch/i386-mpx.exp
11826 * gdb.arch/i386-permbkpt.exp
11827 * gdb.arch/i386-prologue.exp
11828 * gdb.arch/i386-signal.exp
11829 * gdb.arch/i386-size-overlap.exp
11830 * gdb.arch/i386-unwind.exp
11831 * gdb.arch/i386-word.exp
11832 * gdb.arch/mips-fcr.exp
11833 * gdb.arch/powerpc-d128-regs.exp
11834 * gdb.arch/powerpc-stackless.exp
11835 * gdb.arch/ppc64-atomic-inst.exp
11836 * gdb.arch/s390-stackless.exp
11837 * gdb.arch/s390-tdbregs.exp
11838 * gdb.arch/s390-vregs.exp
11839 * gdb.arch/sparc-sysstep.exp
11840 * gdb.arch/thumb-bx-pc.exp
11841 * gdb.arch/thumb-singlestep.exp
11842 * gdb.arch/thumb2-it.exp
11843 * gdb.arch/vsx-regs.exp
11844 * gdb.asm/asm-source.exp
11845 * gdb.base/a2-run.exp
11846 * gdb.base/advance.exp
11847 * gdb.base/all-bin.exp
11848 * gdb.base/anon.exp
11849 * gdb.base/args.exp
11850 * gdb.base/arithmet.exp
11851 * gdb.base/async-shell.exp
11852 * gdb.base/async.exp
11853 * gdb.base/attach-pie-noexec.exp
11854 * gdb.base/attach-twice.exp
11855 * gdb.base/auto-load.exp
11856 * gdb.base/bang.exp
11857 * gdb.base/bitfields.exp
11858 * gdb.base/break-always.exp
11859 * gdb.base/break-caller-line.exp
11860 * gdb.base/break-entry.exp
11861 * gdb.base/break-inline.exp
11862 * gdb.base/break-on-linker-gcd-function.exp
11863 * gdb.base/break-probes.exp
11864 * gdb.base/break.exp
11865 * gdb.base/breakpoint-shadow.exp
11866 * gdb.base/call-ar-st.exp
11867 * gdb.base/call-sc.exp
11868 * gdb.base/call-signal-resume.exp
11869 * gdb.base/call-strs.exp
11870 * gdb.base/callfuncs.exp
11871 * gdb.base/catch-fork-static.exp
11872 * gdb.base/catch-gdb-caused-signals.exp
11873 * gdb.base/catch-load.exp
11874 * gdb.base/catch-signal-fork.exp
11875 * gdb.base/catch-signal.exp
11876 * gdb.base/catch-syscall.exp
11877 * gdb.base/charset.exp
11878 * gdb.base/checkpoint.exp
11879 * gdb.base/chng-syms.exp
11880 * gdb.base/code-expr.exp
11881 * gdb.base/code_elim.exp
11882 * gdb.base/commands.exp
11883 * gdb.base/completion.exp
11884 * gdb.base/complex.exp
11885 * gdb.base/cond-expr.exp
11886 * gdb.base/condbreak.exp
11887 * gdb.base/consecutive.exp
11888 * gdb.base/continue-all-already-running.exp
11889 * gdb.base/coredump-filter.exp
11890 * gdb.base/corefile.exp
11891 * gdb.base/dbx.exp
11892 * gdb.base/debug-expr.exp
11893 * gdb.base/define.exp
11894 * gdb.base/del.exp
11895 * gdb.base/disabled-location.exp
11896 * gdb.base/disasm-end-cu.exp
11897 * gdb.base/disasm-optim.exp
11898 * gdb.base/display.exp
11899 * gdb.base/duplicate-bp.exp
11900 * gdb.base/ena-dis-br.exp
11901 * gdb.base/ending-run.exp
11902 * gdb.base/enumval.exp
11903 * gdb.base/environ.exp
11904 * gdb.base/eu-strip-infcall.exp
11905 * gdb.base/eval-avoid-side-effects.exp
11906 * gdb.base/eval-skip.exp
11907 * gdb.base/exitsignal.exp
11908 * gdb.base/expand-psymtabs.exp
11909 * gdb.base/filesym.exp
11910 * gdb.base/find-unmapped.exp
11911 * gdb.base/finish.exp
11912 * gdb.base/float.exp
11913 * gdb.base/foll-exec-mode.exp
11914 * gdb.base/foll-exec.exp
11915 * gdb.base/foll-fork.exp
11916 * gdb.base/fortran-sym-case.exp
11917 * gdb.base/freebpcmd.exp
11918 * gdb.base/func-ptr.exp
11919 * gdb.base/func-ptrs.exp
11920 * gdb.base/funcargs.exp
11921 * gdb.base/gcore-buffer-overflow.exp
11922 * gdb.base/gcore-relro-pie.exp
11923 * gdb.base/gcore-relro.exp
11924 * gdb.base/gcore.exp
11925 * gdb.base/gdb1090.exp
11926 * gdb.base/gdb11530.exp
11927 * gdb.base/gdb11531.exp
11928 * gdb.base/gdb1821.exp
11929 * gdb.base/gdbindex-stabs.exp
11930 * gdb.base/gdbvars.exp
11931 * gdb.base/hbreak.exp
11932 * gdb.base/hbreak2.exp
11933 * gdb.base/included.exp
11934 * gdb.base/infcall-input.exp
11935 * gdb.base/inferior-died.exp
11936 * gdb.base/infnan.exp
11937 * gdb.base/info-macros.exp
11938 * gdb.base/info-os.exp
11939 * gdb.base/info-proc.exp
11940 * gdb.base/info-shared.exp
11941 * gdb.base/info-target.exp
11942 * gdb.base/infoline.exp
11943 * gdb.base/interp.exp
11944 * gdb.base/interrupt.exp
11945 * gdb.base/jit-reader.exp
11946 * gdb.base/jit-simple.exp
11947 * gdb.base/kill-after-signal.exp
11948 * gdb.base/kill-detach-inferiors-cmd.exp
11949 * gdb.base/label.exp
11950 * gdb.base/langs.exp
11951 * gdb.base/ldbl_e308.exp
11952 * gdb.base/line-symtabs.exp
11953 * gdb.base/linespecs.exp
11954 * gdb.base/list.exp
11955 * gdb.base/long_long.exp
11956 * gdb.base/longest-types.exp
11957 * gdb.base/maint.exp
11958 * gdb.base/max-value-size.exp
11959 * gdb.base/memattr.exp
11960 * gdb.base/mips_pro.exp
11961 * gdb.base/morestack.exp
11962 * gdb.base/moribund-step.exp
11963 * gdb.base/multi-forks.exp
11964 * gdb.base/nested-addr.exp
11965 * gdb.base/nextoverexit.exp
11966 * gdb.base/noreturn-finish.exp
11967 * gdb.base/noreturn-return.exp
11968 * gdb.base/nostdlib.exp
11969 * gdb.base/offsets.exp
11970 * gdb.base/opaque.exp
11971 * gdb.base/pc-fp.exp
11972 * gdb.base/permissions.exp
11973 * gdb.base/print-symbol-loading.exp
11974 * gdb.base/prologue-include.exp
11975 * gdb.base/psymtab.exp
11976 * gdb.base/ptype.exp
11977 * gdb.base/random-signal.exp
11978 * gdb.base/randomize.exp
11979 * gdb.base/range-stepping.exp
11980 * gdb.base/readline-ask.exp
11981 * gdb.base/recpar.exp
11982 * gdb.base/recurse.exp
11983 * gdb.base/relational.exp
11984 * gdb.base/restore.exp
11985 * gdb.base/return-nodebug.exp
11986 * gdb.base/return.exp
11987 * gdb.base/run-after-attach.exp
11988 * gdb.base/save-bp.exp
11989 * gdb.base/scope.exp
11990 * gdb.base/sect-cmd.exp
11991 * gdb.base/set-lang-auto.exp
11992 * gdb.base/set-noassign.exp
11993 * gdb.base/setvar.exp
11994 * gdb.base/sigall.exp
11995 * gdb.base/sigbpt.exp
11996 * gdb.base/siginfo-addr.exp
11997 * gdb.base/siginfo-infcall.exp
11998 * gdb.base/siginfo-obj.exp
11999 * gdb.base/siginfo.exp
12000 * gdb.base/signals-state-child.exp
12001 * gdb.base/signest.exp
12002 * gdb.base/sigstep.exp
12003 * gdb.base/sizeof.exp
12004 * gdb.base/skip.exp
12005 * gdb.base/solib-corrupted.exp
12006 * gdb.base/solib-nodir.exp
12007 * gdb.base/solib-search.exp
12008 * gdb.base/stack-checking.exp
12009 * gdb.base/stale-infcall.exp
12010 * gdb.base/stap-probe.exp
12011 * gdb.base/start.exp
12012 * gdb.base/step-break.exp
12013 * gdb.base/step-bt.exp
12014 * gdb.base/step-line.exp
12015 * gdb.base/step-over-exit.exp
12016 * gdb.base/step-over-syscall.exp
12017 * gdb.base/step-resume-infcall.exp
12018 * gdb.base/step-test.exp
12019 * gdb.base/store.exp
12020 * gdb.base/structs3.exp
12021 * gdb.base/sym-file.exp
12022 * gdb.base/symbol-without-target_section.exp
12023 * gdb.base/term.exp
12024 * gdb.base/testenv.exp
12025 * gdb.base/ui-redirect.exp
12026 * gdb.base/until.exp
12027 * gdb.base/unwindonsignal.exp
12028 * gdb.base/value-double-free.exp
12029 * gdb.base/vla-datatypes.exp
12030 * gdb.base/vla-ptr.exp
12031 * gdb.base/vla-sideeffect.exp
12032 * gdb.base/volatile.exp
12033 * gdb.base/watch-cond-infcall.exp
12034 * gdb.base/watch-cond.exp
12035 * gdb.base/watch-non-mem.exp
12036 * gdb.base/watch-read.exp
12037 * gdb.base/watch-vfork.exp
12038 * gdb.base/watchpoint-cond-gone.exp
12039 * gdb.base/watchpoint-delete.exp
12040 * gdb.base/watchpoint-hw-hit-once.exp
12041 * gdb.base/watchpoint-hw.exp
12042 * gdb.base/watchpoint-stops-at-right-insn.exp
12043 * gdb.base/watchpoints.exp
12044 * gdb.base/wchar.exp
12045 * gdb.base/whatis-exp.exp
12046 * gdb.btrace/buffer-size.exp
12047 * gdb.btrace/data.exp
12048 * gdb.btrace/delta.exp
12049 * gdb.btrace/dlopen.exp
12050 * gdb.btrace/enable.exp
12051 * gdb.btrace/exception.exp
12052 * gdb.btrace/function_call_history.exp
12053 * gdb.btrace/gcore.exp
12054 * gdb.btrace/instruction_history.exp
12055 * gdb.btrace/nohist.exp
12056 * gdb.btrace/reconnect.exp
12057 * gdb.btrace/record_goto-step.exp
12058 * gdb.btrace/record_goto.exp
12059 * gdb.btrace/rn-dl-bind.exp
12060 * gdb.btrace/segv.exp
12061 * gdb.btrace/step.exp
12062 * gdb.btrace/stepi.exp
12063 * gdb.btrace/tailcall-only.exp
12064 * gdb.btrace/tailcall.exp
12065 * gdb.btrace/tsx.exp
12066 * gdb.btrace/unknown_functions.exp
12067 * gdb.btrace/vdso.exp
12068 * gdb.compile/compile-ifunc.exp
12069 * gdb.compile/compile-ops.exp
12070 * gdb.compile/compile-print.exp
12071 * gdb.compile/compile-setjmp.exp
12072 * gdb.cp/abstract-origin.exp
12073 * gdb.cp/ambiguous.exp
12074 * gdb.cp/annota2.exp
12075 * gdb.cp/annota3.exp
12076 * gdb.cp/anon-ns.exp
12077 * gdb.cp/anon-struct.exp
12078 * gdb.cp/anon-union.exp
12079 * gdb.cp/arg-reference.exp
12080 * gdb.cp/baseenum.exp
12081 * gdb.cp/bool.exp
12082 * gdb.cp/breakpoint.exp
12083 * gdb.cp/bs15503.exp
12084 * gdb.cp/call-c.exp
12085 * gdb.cp/casts.exp
12086 * gdb.cp/chained-calls.exp
12087 * gdb.cp/class2.exp
12088 * gdb.cp/classes.exp
12089 * gdb.cp/cmpd-minsyms.exp
12090 * gdb.cp/converts.exp
12091 * gdb.cp/cp-relocate.exp
12092 * gdb.cp/cpcompletion.exp
12093 * gdb.cp/cpexprs.exp
12094 * gdb.cp/cplabel.exp
12095 * gdb.cp/cplusfuncs.exp
12096 * gdb.cp/cpsizeof.exp
12097 * gdb.cp/ctti.exp
12098 * gdb.cp/derivation.exp
12099 * gdb.cp/destrprint.exp
12100 * gdb.cp/dispcxx.exp
12101 * gdb.cp/enum-class.exp
12102 * gdb.cp/exception.exp
12103 * gdb.cp/exceptprint.exp
12104 * gdb.cp/expand-psymtabs-cxx.exp
12105 * gdb.cp/expand-sals.exp
12106 * gdb.cp/extern-c.exp
12107 * gdb.cp/filename.exp
12108 * gdb.cp/formatted-ref.exp
12109 * gdb.cp/fpointer.exp
12110 * gdb.cp/gdb1355.exp
12111 * gdb.cp/gdb2495.exp
12112 * gdb.cp/hang.exp
12113 * gdb.cp/impl-this.exp
12114 * gdb.cp/infcall-dlopen.exp
12115 * gdb.cp/inherit.exp
12116 * gdb.cp/iostream.exp
12117 * gdb.cp/koenig.exp
12118 * gdb.cp/local.exp
12119 * gdb.cp/m-data.exp
12120 * gdb.cp/m-static.exp
12121 * gdb.cp/mb-ctor.exp
12122 * gdb.cp/mb-inline.exp
12123 * gdb.cp/mb-templates.exp
12124 * gdb.cp/member-name.exp
12125 * gdb.cp/member-ptr.exp
12126 * gdb.cp/meth-typedefs.exp
12127 * gdb.cp/method.exp
12128 * gdb.cp/method2.exp
12129 * gdb.cp/minsym-fallback.exp
12130 * gdb.cp/misc.exp
12131 * gdb.cp/namelessclass.exp
12132 * gdb.cp/namespace-enum.exp
12133 * gdb.cp/namespace-nested-import.exp
12134 * gdb.cp/namespace.exp
12135 * gdb.cp/nextoverthrow.exp
12136 * gdb.cp/no-dmgl-verbose.exp
12137 * gdb.cp/non-trivial-retval.exp
12138 * gdb.cp/noparam.exp
12139 * gdb.cp/nsdecl.exp
12140 * gdb.cp/nsimport.exp
12141 * gdb.cp/nsnested.exp
12142 * gdb.cp/nsnoimports.exp
12143 * gdb.cp/nsrecurs.exp
12144 * gdb.cp/nsstress.exp
12145 * gdb.cp/nsusing.exp
12146 * gdb.cp/operator.exp
12147 * gdb.cp/oranking.exp
12148 * gdb.cp/overload-const.exp
12149 * gdb.cp/overload.exp
12150 * gdb.cp/ovldbreak.exp
12151 * gdb.cp/ovsrch.exp
12152 * gdb.cp/paren-type.exp
12153 * gdb.cp/parse-lang.exp
12154 * gdb.cp/pass-by-ref.exp
12155 * gdb.cp/pr-1023.exp
12156 * gdb.cp/pr-1210.exp
12157 * gdb.cp/pr-574.exp
12158 * gdb.cp/pr10687.exp
12159 * gdb.cp/pr12028.exp
12160 * gdb.cp/pr17132.exp
12161 * gdb.cp/pr17494.exp
12162 * gdb.cp/pr9067.exp
12163 * gdb.cp/pr9167.exp
12164 * gdb.cp/pr9631.exp
12165 * gdb.cp/printmethod.exp
12166 * gdb.cp/psmang.exp
12167 * gdb.cp/psymtab-parameter.exp
12168 * gdb.cp/ptype-cv-cp.exp
12169 * gdb.cp/ptype-flags.exp
12170 * gdb.cp/re-set-overloaded.exp
12171 * gdb.cp/ref-types.exp
12172 * gdb.cp/rtti.exp
12173 * gdb.cp/scope-err.exp
12174 * gdb.cp/shadow.exp
12175 * gdb.cp/smartp.exp
12176 * gdb.cp/static-method.exp
12177 * gdb.cp/static-print-quit.exp
12178 * gdb.cp/temargs.exp
12179 * gdb.cp/templates.exp
12180 * gdb.cp/try_catch.exp
12181 * gdb.cp/typedef-operator.exp
12182 * gdb.cp/typeid.exp
12183 * gdb.cp/userdef.exp
12184 * gdb.cp/using-crash.exp
12185 * gdb.cp/var-tag.exp
12186 * gdb.cp/virtbase.exp
12187 * gdb.cp/virtfunc.exp
12188 * gdb.cp/virtfunc2.exp
12189 * gdb.cp/vla-cxx.exp
12190 * gdb.disasm/t01_mov.exp
12191 * gdb.disasm/t02_mova.exp
12192 * gdb.disasm/t03_add.exp
12193 * gdb.disasm/t04_sub.exp
12194 * gdb.disasm/t05_cmp.exp
12195 * gdb.disasm/t06_ari2.exp
12196 * gdb.disasm/t07_ari3.exp
12197 * gdb.disasm/t08_or.exp
12198 * gdb.disasm/t09_xor.exp
12199 * gdb.disasm/t10_and.exp
12200 * gdb.disasm/t11_logs.exp
12201 * gdb.disasm/t12_bit.exp
12202 * gdb.disasm/t13_otr.exp
12203 * gdb.dlang/circular.exp
12204 * gdb.dwarf2/arr-stride.exp
12205 * gdb.dwarf2/arr-subrange.exp
12206 * gdb.dwarf2/atomic-type.exp
12207 * gdb.dwarf2/bad-regnum.exp
12208 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12209 * gdb.dwarf2/callframecfa.exp
12210 * gdb.dwarf2/clztest.exp
12211 * gdb.dwarf2/corrupt.exp
12212 * gdb.dwarf2/data-loc.exp
12213 * gdb.dwarf2/dup-psym.exp
12214 * gdb.dwarf2/dw2-anon-mptr.exp
12215 * gdb.dwarf2/dw2-anonymous-func.exp
12216 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12217 * gdb.dwarf2/dw2-bad-unresolved.exp
12218 * gdb.dwarf2/dw2-basic.exp
12219 * gdb.dwarf2/dw2-canonicalize-type.exp
12220 * gdb.dwarf2/dw2-case-insensitive.exp
12221 * gdb.dwarf2/dw2-common-block.exp
12222 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12223 * gdb.dwarf2/dw2-compressed.exp
12224 * gdb.dwarf2/dw2-const.exp
12225 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12226 * gdb.dwarf2/dw2-cu-size.exp
12227 * gdb.dwarf2/dw2-dup-frame.exp
12228 * gdb.dwarf2/dw2-entry-value.exp
12229 * gdb.dwarf2/dw2-icycle.exp
12230 * gdb.dwarf2/dw2-ifort-parameter.exp
12231 * gdb.dwarf2/dw2-inline-break.exp
12232 * gdb.dwarf2/dw2-inline-param.exp
12233 * gdb.dwarf2/dw2-intercu.exp
12234 * gdb.dwarf2/dw2-intermix.exp
12235 * gdb.dwarf2/dw2-lexical-block-bare.exp
12236 * gdb.dwarf2/dw2-linkage-name-trust.exp
12237 * gdb.dwarf2/dw2-minsym-in-cu.exp
12238 * gdb.dwarf2/dw2-noloc.exp
12239 * gdb.dwarf2/dw2-op-call.exp
12240 * gdb.dwarf2/dw2-op-out-param.exp
12241 * gdb.dwarf2/dw2-opt-structptr.exp
12242 * gdb.dwarf2/dw2-param-error.exp
12243 * gdb.dwarf2/dw2-producer.exp
12244 * gdb.dwarf2/dw2-ranges-base.exp
12245 * gdb.dwarf2/dw2-ref-missing-frame.exp
12246 * gdb.dwarf2/dw2-reg-undefined.exp
12247 * gdb.dwarf2/dw2-regno-invalid.exp
12248 * gdb.dwarf2/dw2-restore.exp
12249 * gdb.dwarf2/dw2-restrict.exp
12250 * gdb.dwarf2/dw2-single-line-discriminators.exp
12251 * gdb.dwarf2/dw2-strp.exp
12252 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12253 * gdb.dwarf2/dw2-unresolved.exp
12254 * gdb.dwarf2/dw2-var-zero-addr.exp
12255 * gdb.dwarf2/dw4-sig-types.exp
12256 * gdb.dwarf2/dwz.exp
12257 * gdb.dwarf2/dynarr-ptr.exp
12258 * gdb.dwarf2/enum-type.exp
12259 * gdb.dwarf2/gdb-index.exp
12260 * gdb.dwarf2/implptr-64bit.exp
12261 * gdb.dwarf2/implptr-optimized-out.exp
12262 * gdb.dwarf2/implptr.exp
12263 * gdb.dwarf2/implref-array.exp
12264 * gdb.dwarf2/implref-const.exp
12265 * gdb.dwarf2/implref-global.exp
12266 * gdb.dwarf2/implref-struct.exp
12267 * gdb.dwarf2/mac-fileno.exp
12268 * gdb.dwarf2/main-subprogram.exp
12269 * gdb.dwarf2/member-ptr-forwardref.exp
12270 * gdb.dwarf2/method-ptr.exp
12271 * gdb.dwarf2/missing-sig-type.exp
12272 * gdb.dwarf2/nonvar-access.exp
12273 * gdb.dwarf2/opaque-type-lookup.exp
12274 * gdb.dwarf2/pieces-optimized-out.exp
12275 * gdb.dwarf2/pieces.exp
12276 * gdb.dwarf2/pr10770.exp
12277 * gdb.dwarf2/pr13961.exp
12278 * gdb.dwarf2/staticvirtual.exp
12279 * gdb.dwarf2/subrange.exp
12280 * gdb.dwarf2/symtab-producer.exp
12281 * gdb.dwarf2/trace-crash.exp
12282 * gdb.dwarf2/typeddwarf.exp
12283 * gdb.dwarf2/valop.exp
12284 * gdb.dwarf2/watch-notconst.exp
12285 * gdb.fortran/array-element.exp
12286 * gdb.fortran/charset.exp
12287 * gdb.fortran/common-block.exp
12288 * gdb.fortran/complex.exp
12289 * gdb.fortran/derived-type-function.exp
12290 * gdb.fortran/derived-type.exp
12291 * gdb.fortran/logical.exp
12292 * gdb.fortran/module.exp
12293 * gdb.fortran/multi-dim.exp
12294 * gdb.fortran/nested-funcs.exp
12295 * gdb.fortran/print-formatted.exp
12296 * gdb.fortran/subarray.exp
12297 * gdb.fortran/vla-alloc-assoc.exp
12298 * gdb.fortran/vla-datatypes.exp
12299 * gdb.fortran/vla-history.exp
12300 * gdb.fortran/vla-ptr-info.exp
12301 * gdb.fortran/vla-ptype-sub.exp
12302 * gdb.fortran/vla-ptype.exp
12303 * gdb.fortran/vla-sizeof.exp
12304 * gdb.fortran/vla-type.exp
12305 * gdb.fortran/vla-value-sub-arbitrary.exp
12306 * gdb.fortran/vla-value-sub-finish.exp
12307 * gdb.fortran/vla-value-sub.exp
12308 * gdb.fortran/vla-value.exp
12309 * gdb.fortran/whatis_type.exp
12310 * gdb.go/chan.exp
12311 * gdb.go/handcall.exp
12312 * gdb.go/hello.exp
12313 * gdb.go/integers.exp
12314 * gdb.go/methods.exp
12315 * gdb.go/package.exp
12316 * gdb.go/strings.exp
12317 * gdb.go/types.exp
12318 * gdb.go/unsafe.exp
12319 * gdb.guile/scm-arch.exp
12320 * gdb.guile/scm-block.exp
12321 * gdb.guile/scm-breakpoint.exp
12322 * gdb.guile/scm-cmd.exp
12323 * gdb.guile/scm-disasm.exp
12324 * gdb.guile/scm-equal.exp
12325 * gdb.guile/scm-frame-args.exp
12326 * gdb.guile/scm-frame-inline.exp
12327 * gdb.guile/scm-frame.exp
12328 * gdb.guile/scm-iterator.exp
12329 * gdb.guile/scm-math.exp
12330 * gdb.guile/scm-objfile.exp
12331 * gdb.guile/scm-ports.exp
12332 * gdb.guile/scm-symbol.exp
12333 * gdb.guile/scm-symtab.exp
12334 * gdb.guile/scm-value-cc.exp
12335 * gdb.guile/types-module.exp
12336 * gdb.linespec/break-ask.exp
12337 * gdb.linespec/cpexplicit.exp
12338 * gdb.linespec/explicit.exp
12339 * gdb.linespec/keywords.exp
12340 * gdb.linespec/linespec.exp
12341 * gdb.linespec/ls-dollar.exp
12342 * gdb.linespec/ls-errs.exp
12343 * gdb.linespec/skip-two.exp
12344 * gdb.linespec/thread.exp
12345 * gdb.mi/mi-async.exp
12346 * gdb.mi/mi-basics.exp
12347 * gdb.mi/mi-break.exp
12348 * gdb.mi/mi-catch-load.exp
12349 * gdb.mi/mi-cli.exp
12350 * gdb.mi/mi-cmd-param-changed.exp
12351 * gdb.mi/mi-console.exp
12352 * gdb.mi/mi-detach.exp
12353 * gdb.mi/mi-disassemble.exp
12354 * gdb.mi/mi-eval.exp
12355 * gdb.mi/mi-file-transfer.exp
12356 * gdb.mi/mi-file.exp
12357 * gdb.mi/mi-fill-memory.exp
12358 * gdb.mi/mi-inheritance-syntax-error.exp
12359 * gdb.mi/mi-linespec-err-cp.exp
12360 * gdb.mi/mi-logging.exp
12361 * gdb.mi/mi-memory-changed.exp
12362 * gdb.mi/mi-read-memory.exp
12363 * gdb.mi/mi-record-changed.exp
12364 * gdb.mi/mi-reg-undefined.exp
12365 * gdb.mi/mi-regs.exp
12366 * gdb.mi/mi-return.exp
12367 * gdb.mi/mi-reverse.exp
12368 * gdb.mi/mi-simplerun.exp
12369 * gdb.mi/mi-solib.exp
12370 * gdb.mi/mi-stack.exp
12371 * gdb.mi/mi-stepi.exp
12372 * gdb.mi/mi-syn-frame.exp
12373 * gdb.mi/mi-until.exp
12374 * gdb.mi/mi-var-block.exp
12375 * gdb.mi/mi-var-child.exp
12376 * gdb.mi/mi-var-cmd.exp
12377 * gdb.mi/mi-var-cp.exp
12378 * gdb.mi/mi-var-display.exp
12379 * gdb.mi/mi-var-invalidate.exp
12380 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12381 * gdb.mi/mi-vla-fortran.exp
12382 * gdb.mi/mi-watch.exp
12383 * gdb.mi/mi2-var-child.exp
12384 * gdb.mi/user-selected-context-sync.exp
12385 * gdb.modula2/unbounded-array.exp
12386 * gdb.multi/dummy-frame-restore.exp
12387 * gdb.multi/multi-arch-exec.exp
12388 * gdb.multi/multi-arch.exp
12389 * gdb.multi/tids.exp
12390 * gdb.multi/watchpoint-multi.exp
12391 * gdb.opencl/callfuncs.exp
12392 * gdb.opencl/convs_casts.exp
12393 * gdb.opencl/datatypes.exp
12394 * gdb.opencl/operators.exp
12395 * gdb.opencl/vec_comps.exp
12396 * gdb.opt/clobbered-registers-O2.exp
12397 * gdb.opt/inline-break.exp
12398 * gdb.opt/inline-bt.exp
12399 * gdb.opt/inline-cmds.exp
12400 * gdb.opt/inline-locals.exp
12401 * gdb.pascal/case-insensitive-symbols.exp
12402 * gdb.pascal/floats.exp
12403 * gdb.pascal/gdb11492.exp
12404 * gdb.python/lib-types.exp
12405 * gdb.python/py-arch.exp
12406 * gdb.python/py-as-string.exp
12407 * gdb.python/py-bad-printers.exp
12408 * gdb.python/py-block.exp
12409 * gdb.python/py-breakpoint-create-fail.exp
12410 * gdb.python/py-breakpoint.exp
12411 * gdb.python/py-caller-is.exp
12412 * gdb.python/py-cmd.exp
12413 * gdb.python/py-explore-cc.exp
12414 * gdb.python/py-explore.exp
12415 * gdb.python/py-finish-breakpoint.exp
12416 * gdb.python/py-finish-breakpoint2.exp
12417 * gdb.python/py-frame-args.exp
12418 * gdb.python/py-frame-inline.exp
12419 * gdb.python/py-frame.exp
12420 * gdb.python/py-framefilter-mi.exp
12421 * gdb.python/py-infthread.exp
12422 * gdb.python/py-lazy-string.exp
12423 * gdb.python/py-linetable.exp
12424 * gdb.python/py-mi-events.exp
12425 * gdb.python/py-mi-objfile.exp
12426 * gdb.python/py-mi.exp
12427 * gdb.python/py-objfile.exp
12428 * gdb.python/py-pp-integral.exp
12429 * gdb.python/py-pp-maint.exp
12430 * gdb.python/py-pp-re-notag.exp
12431 * gdb.python/py-pp-registration.exp
12432 * gdb.python/py-recurse-unwind.exp
12433 * gdb.python/py-strfns.exp
12434 * gdb.python/py-symbol.exp
12435 * gdb.python/py-symtab.exp
12436 * gdb.python/py-sync-interp.exp
12437 * gdb.python/py-typeprint.exp
12438 * gdb.python/py-unwind-maint.exp
12439 * gdb.python/py-unwind.exp
12440 * gdb.python/py-value-cc.exp
12441 * gdb.python/py-xmethods.exp
12442 * gdb.reverse/amd64-tailcall-reverse.exp
12443 * gdb.reverse/break-precsave.exp
12444 * gdb.reverse/break-reverse.exp
12445 * gdb.reverse/consecutive-precsave.exp
12446 * gdb.reverse/consecutive-reverse.exp
12447 * gdb.reverse/finish-precsave.exp
12448 * gdb.reverse/finish-reverse-bkpt.exp
12449 * gdb.reverse/finish-reverse.exp
12450 * gdb.reverse/fstatat-reverse.exp
12451 * gdb.reverse/getresuid-reverse.exp
12452 * gdb.reverse/i386-precsave.exp
12453 * gdb.reverse/i386-reverse.exp
12454 * gdb.reverse/i386-sse-reverse.exp
12455 * gdb.reverse/i387-env-reverse.exp
12456 * gdb.reverse/i387-stack-reverse.exp
12457 * gdb.reverse/insn-reverse.exp
12458 * gdb.reverse/machinestate-precsave.exp
12459 * gdb.reverse/machinestate.exp
12460 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12461 * gdb.reverse/pipe-reverse.exp
12462 * gdb.reverse/readv-reverse.exp
12463 * gdb.reverse/recvmsg-reverse.exp
12464 * gdb.reverse/rerun-prec.exp
12465 * gdb.reverse/s390-mvcle.exp
12466 * gdb.reverse/step-precsave.exp
12467 * gdb.reverse/step-reverse.exp
12468 * gdb.reverse/time-reverse.exp
12469 * gdb.reverse/until-precsave.exp
12470 * gdb.reverse/until-reverse.exp
12471 * gdb.reverse/waitpid-reverse.exp
12472 * gdb.reverse/watch-precsave.exp
12473 * gdb.reverse/watch-reverse.exp
12474 * gdb.rust/generics.exp
12475 * gdb.rust/methods.exp
12476 * gdb.rust/modules.exp
12477 * gdb.rust/simple.exp
12478 * gdb.server/connect-with-no-symbol-file.exp
12479 * gdb.server/ext-attach.exp
12480 * gdb.server/ext-restart.exp
12481 * gdb.server/ext-wrapper.exp
12482 * gdb.server/file-transfer.exp
12483 * gdb.server/server-exec-info.exp
12484 * gdb.server/server-kill.exp
12485 * gdb.server/server-mon.exp
12486 * gdb.server/wrapper.exp
12487 * gdb.stabs/exclfwd.exp
12488 * gdb.stabs/gdb11479.exp
12489 * gdb.threads/clone-new-thread-event.exp
12490 * gdb.threads/corethreads.exp
12491 * gdb.threads/current-lwp-dead.exp
12492 * gdb.threads/dlopen-libpthread.exp
12493 * gdb.threads/gcore-thread.exp
12494 * gdb.threads/sigstep-threads.exp
12495 * gdb.threads/watchpoint-fork.exp
12496 * gdb.trace/actions-changed.exp
12497 * gdb.trace/backtrace.exp
12498 * gdb.trace/change-loc.exp
12499 * gdb.trace/circ.exp
12500 * gdb.trace/collection.exp
12501 * gdb.trace/disconnected-tracing.exp
12502 * gdb.trace/ftrace.exp
12503 * gdb.trace/mi-trace-frame-collected.exp
12504 * gdb.trace/mi-trace-unavailable.exp
12505 * gdb.trace/mi-traceframe-changed.exp
12506 * gdb.trace/mi-tsv-changed.exp
12507 * gdb.trace/no-attach-trace.exp
12508 * gdb.trace/passc-dyn.exp
12509 * gdb.trace/qtro.exp
12510 * gdb.trace/range-stepping.exp
12511 * gdb.trace/read-memory.exp
12512 * gdb.trace/save-trace.exp
12513 * gdb.trace/signal.exp
12514 * gdb.trace/status-stop.exp
12515 * gdb.trace/tfile.exp
12516 * gdb.trace/trace-break.exp
12517 * gdb.trace/trace-buffer-size.exp
12518 * gdb.trace/trace-condition.exp
12519 * gdb.trace/tracefile-pseudo-reg.exp
12520 * gdb.trace/tstatus.exp
12521 * gdb.trace/unavailable.exp
12522 * gdb.trace/while-dyn.exp
12523 * gdb.trace/while-stepping.exp
12524
34c41c68
DE
125252016-12-22 Doug Evans <xdje42@gmail.com>
12526
12527 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12528 and msymbols.
12529
16e69324
YQ
125302016-12-19 Yao Qi <yao.qi@linaro.org>
12531
12532 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12533 (test_with_self): Don't call do_steps_and_nexts, and remove
12534 code about stepping into xmalloc.
12535
f94f411b
YQ
125362016-12-09 Yao Qi <yao.qi@linaro.org>
12537
12538 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12539
125402016-12-09 Yao Qi <yao.qi@linaro.org>
12541
12542 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12543
f1b5deee
PA
125442016-12-09 Pedro Alves <palves@redhat.com>
12545
12546 * gdb.base/all-architectures-0.exp: New file.
12547 * gdb.base/all-architectures-1.exp: New file.
12548 * gdb.base/all-architectures-2.exp: New file.
12549 * gdb.base/all-architectures-3.exp: New file.
12550 * gdb.base/all-architectures-4.exp: New file.
12551 * gdb.base/all-architectures-5.exp: New file.
12552 * gdb.base/all-architectures-6.exp: New file.
12553 * gdb.base/all-architectures-7.exp: New file.
12554 * gdb.base/all-architectures.exp.in: New file.
12555
364ca42e
YQ
125562016-12-09 Yao Qi <yao.qi@linaro.org>
12557
12558 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12559
107c2d62
LM
125602016-12-02 Luis Machado <lgustavo@codesourcery.com>
12561
12562 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12563 possible.
12564 Remove useless pattern-matching code.
12565
df3ee9ca
PA
125662016-12-02 Pedro Alves <palves@redhat.com>
12567
12568 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12569 procedure.
12570 (top level): Call it.
12571
ec835369
PA
125722016-12-02 Pedro Alves <palves@redhat.com>
12573
12574 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12575 New procedure.
12576 (top level): Call it.
12577
01770bbd
PA
125782016-12-02 Pedro Alves <palves@redhat.com>
12579
12580 PR cli/20559
12581 * gdb.base/commands.exp (user_defined_command_args_eval): New
12582 procedure.
12583 (top level): Call it.
12584
008459ea
LM
125852016-12-02 Luis Machado <lgustavo@codesourcery.com>
12586
12587 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12588 timeout handling.
12589
0c1b455e
TT
125902016-12-02 Tom Tromey <tom@tromey.com>
12591
12592 * gdb.dwarf2/main-subprogram.c: New file.
12593 * gdb.dwarf2/main-subprogram.exp: New file.
12594
018572b8
LM
125952016-12-01 Luis Machado <lgustavo@codesourcery.com>
12596
12597 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12598 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12599 gdb_test_no_output for a couple of cases.
12600 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12601
84c93cd5
LM
126022016-12-01 Luis Machado <lgustavo@codesourcery.com>
12603
12604 Fix test names and standardize compilation error messages throughout
12605 the following files:
12606
12607 * gdb.ada/start.exp
12608 * gdb.arch/alpha-step.exp
12609 * gdb.arch/e500-prologue.exp
12610 * gdb.arch/ftrace-insn-reloc.exp
12611 * gdb.arch/gdb1291.exp
12612 * gdb.arch/gdb1431.exp
12613 * gdb.arch/gdb1558.exp
12614 * gdb.arch/i386-dr3-watch.exp
12615 * gdb.arch/i386-sse-stack-align.exp
12616 * gdb.arch/ia64-breakpoint-shadow.exp
12617 * gdb.arch/pa-nullify.exp
12618 * gdb.arch/powerpc-aix-prologue.exp
12619 * gdb.arch/thumb-bx-pc.exp
12620 * gdb.base/annota1.exp
12621 * gdb.base/annota3.exp
12622 * gdb.base/arrayidx.exp
12623 * gdb.base/assign.exp
12624 * gdb.base/attach.exp
12625 * gdb.base/auxv.exp
12626 * gdb.base/bang.exp
12627 * gdb.base/bfp-test.exp
12628 * gdb.base/bigcore.exp
12629 * gdb.base/bitfields2.exp
12630 * gdb.base/break-fun-addr.exp
12631 * gdb.base/break-probes.exp
12632 * gdb.base/call-rt-st.exp
12633 * gdb.base/callexit.exp
12634 * gdb.base/catch-fork-kill.exp
12635 * gdb.base/charset.exp
12636 * gdb.base/checkpoint.exp
12637 * gdb.base/comprdebug.exp
12638 * gdb.base/constvars.exp
12639 * gdb.base/coredump-filter.exp
12640 * gdb.base/cursal.exp
12641 * gdb.base/cvexpr.exp
12642 * gdb.base/detach.exp
12643 * gdb.base/display.exp
12644 * gdb.base/dmsym.exp
12645 * gdb.base/dprintf-pending.exp
12646 * gdb.base/dso2dso.exp
12647 * gdb.base/dtrace-probe.exp
12648 * gdb.base/dump.exp
12649 * gdb.base/enum_cond.exp
12650 * gdb.base/exe-lock.exp
12651 * gdb.base/exec-invalid-sysroot.exp
12652 * gdb.base/execl-update-breakpoints.exp
12653 * gdb.base/exprs.exp
12654 * gdb.base/fileio.exp
12655 * gdb.base/find.exp
12656 * gdb.base/finish.exp
12657 * gdb.base/fixsection.exp
12658 * gdb.base/foll-vfork.exp
12659 * gdb.base/frame-args.exp
12660 * gdb.base/gcore.exp
12661 * gdb.base/gdb1250.exp
12662 * gdb.base/global-var-nested-by-dso.exp
12663 * gdb.base/gnu-ifunc.exp
12664 * gdb.base/hashline1.exp
12665 * gdb.base/hashline2.exp
12666 * gdb.base/hashline3.exp
12667 * gdb.base/hbreak-in-shr-unsupported.exp
12668 * gdb.base/huge.exp
12669 * gdb.base/infcall-input.exp
12670 * gdb.base/info-fun.exp
12671 * gdb.base/info-shared.exp
12672 * gdb.base/jit-simple.exp
12673 * gdb.base/jit-so.exp
12674 * gdb.base/jit.exp
12675 * gdb.base/jump.exp
12676 * gdb.base/label.exp
12677 * gdb.base/lineinc.exp
12678 * gdb.base/logical.exp
12679 * gdb.base/longjmp.exp
12680 * gdb.base/macscp.exp
12681 * gdb.base/miscexprs.exp
12682 * gdb.base/new-ui-echo.exp
12683 * gdb.base/new-ui-pending-input.exp
12684 * gdb.base/new-ui.exp
12685 * gdb.base/nodebug.exp
12686 * gdb.base/nofield.exp
12687 * gdb.base/offsets.exp
12688 * gdb.base/overlays.exp
12689 * gdb.base/pending.exp
12690 * gdb.base/pointers.exp
12691 * gdb.base/pr11022.exp
12692 * gdb.base/printcmds.exp
12693 * gdb.base/prologue.exp
12694 * gdb.base/ptr-typedef.exp
12695 * gdb.base/realname-expand.exp
12696 * gdb.base/relativedebug.exp
12697 * gdb.base/relocate.exp
12698 * gdb.base/remote.exp
12699 * gdb.base/reread.exp
12700 * gdb.base/return2.exp
12701 * gdb.base/savedregs.exp
12702 * gdb.base/sep.exp
12703 * gdb.base/sepdebug.exp
12704 * gdb.base/sepsymtab.exp
12705 * gdb.base/set-inferior-tty.exp
12706 * gdb.base/setshow.exp
12707 * gdb.base/shlib-call.exp
12708 * gdb.base/sigaltstack.exp
12709 * gdb.base/siginfo-addr.exp
12710 * gdb.base/signals.exp
12711 * gdb.base/signull.exp
12712 * gdb.base/sigrepeat.exp
12713 * gdb.base/so-impl-ld.exp
12714 * gdb.base/solib-display.exp
12715 * gdb.base/solib-overlap.exp
12716 * gdb.base/solib-search.exp
12717 * gdb.base/solib-symbol.exp
12718 * gdb.base/structs.exp
12719 * gdb.base/structs2.exp
12720 * gdb.base/symtab-search-order.exp
12721 * gdb.base/twice.exp
12722 * gdb.base/unload.exp
12723 * gdb.base/varargs.exp
12724 * gdb.base/watchpoint-solib.exp
12725 * gdb.base/watchpoint.exp
12726 * gdb.base/whatis.exp
12727 * gdb.base/wrong_frame_bt_full.exp
12728 * gdb.btrace/dlopen.exp
12729 * gdb.cell/ea-standalone.exp
12730 * gdb.cell/ea-test.exp
12731 * gdb.cp/dispcxx.exp
12732 * gdb.cp/gdb2384.exp
12733 * gdb.cp/method2.exp
12734 * gdb.cp/nextoverthrow.exp
12735 * gdb.cp/pr10728.exp
12736 * gdb.disasm/am33.exp
12737 * gdb.disasm/h8300s.exp
12738 * gdb.disasm/mn10300.exp
12739 * gdb.disasm/sh3.exp
12740 * gdb.dwarf2/dw2-dir-file-name.exp
12741 * gdb.fortran/complex.exp
12742 * gdb.fortran/library-module.exp
12743 * gdb.guile/scm-pretty-print.exp
12744 * gdb.guile/scm-symbol.exp
12745 * gdb.guile/scm-type.exp
12746 * gdb.guile/scm-value.exp
12747 * gdb.linespec/linespec.exp
12748 * gdb.mi/gdb701.exp
12749 * gdb.mi/gdb792.exp
12750 * gdb.mi/mi-breakpoint-changed.exp
12751 * gdb.mi/mi-dprintf-pending.exp
12752 * gdb.mi/mi-dprintf.exp
12753 * gdb.mi/mi-exit-code.exp
12754 * gdb.mi/mi-pending.exp
12755 * gdb.mi/mi-solib.exp
12756 * gdb.mi/new-ui-mi-sync.exp
12757 * gdb.mi/pr11022.exp
12758 * gdb.mi/user-selected-context-sync.exp
12759 * gdb.opt/solib-intra-step.exp
12760 * gdb.python/py-events.exp
12761 * gdb.python/py-finish-breakpoint.exp
12762 * gdb.python/py-mi.exp
12763 * gdb.python/py-prettyprint.exp
12764 * gdb.python/py-shared.exp
12765 * gdb.python/py-symbol.exp
12766 * gdb.python/py-template.exp
12767 * gdb.python/py-type.exp
12768 * gdb.python/py-value.exp
12769 * gdb.reverse/solib-precsave.exp
12770 * gdb.reverse/solib-reverse.exp
12771 * gdb.server/solib-list.exp
12772 * gdb.stabs/weird.exp
12773 * gdb.threads/reconnect-signal.exp
12774 * gdb.threads/stepi-random-signal.exp
12775 * gdb.trace/actions.exp
12776 * gdb.trace/ax.exp
12777 * gdb.trace/backtrace.exp
12778 * gdb.trace/change-loc.exp
12779 * gdb.trace/deltrace.exp
12780 * gdb.trace/ftrace-lock.exp
12781 * gdb.trace/ftrace.exp
12782 * gdb.trace/infotrace.exp
12783 * gdb.trace/mi-tracepoint-changed.exp
12784 * gdb.trace/packetlen.exp
12785 * gdb.trace/passcount.exp
12786 * gdb.trace/pending.exp
12787 * gdb.trace/range-stepping.exp
12788 * gdb.trace/report.exp
12789 * gdb.trace/stap-trace.exp
12790 * gdb.trace/tfind.exp
12791 * gdb.trace/trace-break.exp
12792 * gdb.trace/trace-condition.exp
12793 * gdb.trace/trace-enable-disable.exp
12794 * gdb.trace/trace-mt.exp
12795 * gdb.trace/tracecmd.exp
12796 * gdb.trace/tspeed.exp
12797 * gdb.trace/tsv.exp
12798 * lib/perftest.exp
12799
fb9feb35
LM
128002016-12-01 Luis Machado <lgustavo@codesourcery.com>
12801
12802 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12803 with gdb_test_no_output.
12804 Use command as test name.
12805
cd2ddb6c
LM
128062016-12-01 Luis Machado <lgustavo@codesourcery.com>
12807
12808 Fix test names starting with uppercase throughout the files.
12809
12810 * gdb.ada/assign_1.exp
12811 * gdb.ada/boolean_expr.exp
12812 * gdb.base/arrayidx.exp
12813 * gdb.base/del.exp
12814 * gdb.base/gcore-buffer-overflow.exp
12815 * gdb.base/testenv.exp
12816 * gdb.compile/compile.exp
12817 * gdb.python/py-framefilter-invalidarg.exp
12818 * gdb.python/py-framefilter.exp
12819
bb95117e
LM
128202016-12-01 Luis Machado <lgustavo@codesourcery.com>
12821
12822 Fix test names starting with uppercase throughout the files.
12823
12824 * gdb.ada/array_return.exp
12825 * gdb.ada/expr_delims.exp
12826 * gdb.ada/mi_dyn_arr.exp
12827 * gdb.ada/mi_interface.exp
12828 * gdb.ada/mi_var_array.exp
12829 * gdb.ada/watch_arg.exp
12830 * gdb.arch/alpha-step.exp
12831 * gdb.arch/altivec-regs.exp
12832 * gdb.arch/e500-regs.exp
12833 * gdb.arch/powerpc-d128-regs.exp
12834 * gdb.base/arrayidx.exp
12835 * gdb.base/break.exp
12836 * gdb.base/checkpoint.exp
12837 * gdb.base/debug-expr.exp
12838 * gdb.base/dmsym.exp
12839 * gdb.base/radix.exp
12840 * gdb.base/sepdebug.exp
12841 * gdb.base/testenv.exp
12842 * gdb.base/watch_thread_num.exp
12843 * gdb.base/watchpoint-cond-gone.exp
12844 * gdb.cell/break.exp
12845 * gdb.cell/ea-cache.exp
12846 * gdb.compile/compile.exp
12847 * gdb.cp/gdb2495.exp
12848 * gdb.gdb/selftest.exp
12849 * gdb.gdb/xfullpath.exp
12850 * gdb.go/hello.exp
12851 * gdb.go/integers.exp
12852 * gdb.objc/basicclass.exp
12853 * gdb.pascal/hello.exp
12854 * gdb.pascal/integers.exp
12855 * gdb.python/py-breakpoint.exp
12856 * gdb.python/py-cmd.exp
12857 * gdb.python/py-linetable.exp
12858 * gdb.python/py-xmethods.exp
12859 * gdb.python/python.exp
12860 * gdb.reverse/consecutive-precsave.exp
12861 * gdb.reverse/finish-precsave.exp
12862 * gdb.reverse/i386-precsave.exp
12863 * gdb.reverse/machinestate-precsave.exp
12864 * gdb.reverse/sigall-precsave.exp
12865 * gdb.reverse/solib-precsave.exp
12866 * gdb.reverse/step-precsave.exp
12867 * gdb.reverse/until-precsave.exp
12868 * gdb.reverse/watch-precsave.exp
12869 * gdb.threads/leader-exit.exp
12870 * gdb.threads/pthreads.exp
12871 * gdb.threads/wp-replication.exp
12872 * gdb.trace/actions.exp
12873 * gdb.trace/mi-tsv-changed.exp
12874 * gdb.trace/tsv.exp
12875
de97fdd4
LM
128762016-12-01 Luis Machado <lgustavo@codesourcery.com>
12877
12878 Fix test names starting with uppercase throughout the files.
12879
12880 * gdb.arch/i386-bp_permanent.exp
12881 * gdb.arch/i386-gnu-cfi.exp
12882 * gdb.base/disasm-end-cu.exp
12883 * gdb.base/macscp.exp
12884 * gdb.base/pending.exp
12885 * gdb.base/watch_thread_num.exp
12886 * gdb.cp/exception.exp
12887 * gdb.cp/gdb2495.exp
12888 * gdb.cp/local.exp
12889 * gdb.python/py-evsignal.exp
12890 * gdb.python/python.exp
12891 * gdb.trace/tracecmd.exp
12892
9f058c10
LM
128932016-12-01 Luis Machado <lgustavo@codesourcery.com>
12894
12895 Fix test names starting with uppercase throughout the files.
12896
12897 * gdb.base/charset.exp
12898 * gdb.base/eval.exp
12899 * gdb.base/multi-forks.exp
12900 * gdb.guile/scm-progspace.exp
12901 * gdb.opencl/datatypes.exp
12902 * gdb.python/py-block.exp
12903 * gdb.python/py-function.exp
12904 * gdb.python/py-symbol.exp
12905 * gdb.python/py-symtab.exp
12906 * gdb.python/py-xmethods.exp
12907 * gdb.reverse/break-precsave.exp
12908 * gdb.reverse/break-reverse.exp
12909 * gdb.reverse/consecutive-precsave.exp
12910 * gdb.reverse/consecutive-reverse.exp
12911 * gdb.reverse/finish-precsave.exp
12912 * gdb.reverse/finish-reverse-bkpt.exp
12913 * gdb.reverse/finish-reverse.exp
12914 * gdb.reverse/fstatat-reverse.exp
12915 * gdb.reverse/getresuid-reverse.exp
12916 * gdb.reverse/i386-precsave.exp
12917 * gdb.reverse/i386-reverse.exp
12918 * gdb.reverse/i386-sse-reverse.exp
12919 * gdb.reverse/i387-stack-reverse.exp
12920 * gdb.reverse/insn-reverse.exp
12921 * gdb.reverse/machinestate-precsave.exp
12922 * gdb.reverse/machinestate.exp
12923 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12924 * gdb.reverse/pipe-reverse.exp
12925 * gdb.reverse/readv-reverse.exp
12926 * gdb.reverse/recvmsg-reverse.exp
12927 * gdb.reverse/rerun-prec.exp
12928 * gdb.reverse/s390-mvcle.exp
12929 * gdb.reverse/sigall-precsave.exp
12930 * gdb.reverse/sigall-reverse.exp
12931 * gdb.reverse/solib-precsave.exp
12932 * gdb.reverse/solib-reverse.exp
12933 * gdb.reverse/step-precsave.exp
12934 * gdb.reverse/step-reverse.exp
12935 * gdb.reverse/time-reverse.exp
12936 * gdb.reverse/until-precsave.exp
12937 * gdb.reverse/until-reverse.exp
12938 * gdb.reverse/waitpid-reverse.exp
12939 * gdb.reverse/watch-precsave.exp
12940 * gdb.reverse/watch-reverse.exp
12941
cdc7edd7
LM
129422016-12-01 Luis Machado <lgustavo@codesourcery.com>
12943
12944 Fix test names starting with uppercase throughout the files.
12945
12946 * gdb.arch/i386-mpx-simple_segv.exp
12947 * gdb.arch/i386-mpx.exp
12948 * gdb.arch/i386-permbkpt.exp
12949 * gdb.arch/pa-nullify.exp
12950 * gdb.arch/powerpc-d128-regs.exp
12951 * gdb.arch/vsx-regs.exp
12952 * gdb.base/bfp-test.exp
12953 * gdb.base/break.exp
12954 * gdb.base/breakpoint-shadow.exp
12955 * gdb.base/callfuncs.exp
12956 * gdb.base/charset.exp
12957 * gdb.base/commands.exp
12958 * gdb.base/completion.exp
12959 * gdb.base/dfp-test.exp
12960 * gdb.base/echo.exp
12961 * gdb.base/ending-run.exp
12962 * gdb.base/eval.exp
12963 * gdb.base/expand-psymtabs.exp
12964 * gdb.base/float128.exp
12965 * gdb.base/floatn.exp
12966 * gdb.base/foll-exec-mode.exp
12967 * gdb.base/gdb1056.exp
12968 * gdb.base/gdb11531.exp
12969 * gdb.base/kill-after-signal.exp
12970 * gdb.base/multi-forks.exp
12971 * gdb.base/overlays.exp
12972 * gdb.base/pending.exp
12973 * gdb.base/sepdebug.exp
12974 * gdb.base/testenv.exp
12975 * gdb.base/valgrind-db-attach.exp
12976 * gdb.base/watch_thread_num.exp
12977 * gdb.base/watchpoint-cond-gone.exp
12978 * gdb.base/watchpoint.exp
12979 * gdb.base/watchpoints.exp
12980 * gdb.cp/arg-reference.exp
12981 * gdb.cp/baseenum.exp
12982 * gdb.cp/operator.exp
12983 * gdb.cp/shadow.exp
12984 * gdb.dwarf2/dw2-op-out-param.exp
12985 * gdb.dwarf2/dw2-reg-undefined.exp
12986 * gdb.go/chan.exp
12987 * gdb.go/hello.exp
12988 * gdb.go/integers.exp
12989 * gdb.go/methods.exp
12990 * gdb.go/package.exp
12991 * gdb.guile/scm-parameter.exp
12992 * gdb.guile/scm-progspace.exp
12993 * gdb.guile/scm-value.exp
12994 * gdb.mi/mi-pending.exp
12995 * gdb.mi/user-selected-context-sync.exp
12996 * gdb.multi/multi-attach.exp
12997 * gdb.multi/tids.exp
12998 * gdb.opt/clobbered-registers-O2.exp
12999 * gdb.pascal/floats.exp
13000 * gdb.pascal/integers.exp
13001 * gdb.python/py-block.exp
13002 * gdb.python/py-events.exp
13003 * gdb.python/py-parameter.exp
13004 * gdb.python/py-symbol.exp
13005 * gdb.python/py-symtab.exp
13006 * gdb.python/py-type.exp
13007 * gdb.python/py-value.exp
13008 * gdb.python/py-xmethods.exp
13009 * gdb.python/python.exp
13010 * gdb.reverse/break-precsave.exp
13011 * gdb.reverse/consecutive-precsave.exp
13012 * gdb.reverse/finish-precsave.exp
13013 * gdb.reverse/i386-precsave.exp
13014 * gdb.reverse/machinestate-precsave.exp
13015 * gdb.reverse/sigall-precsave.exp
13016 * gdb.reverse/solib-precsave.exp
13017 * gdb.reverse/step-precsave.exp
13018 * gdb.reverse/until-precsave.exp
13019 * gdb.reverse/watch-precsave.exp
13020 * gdb.server/ext-attach.exp
13021 * gdb.server/ext-restart.exp
13022 * gdb.server/ext-run.exp
13023 * gdb.server/ext-wrapper.exp
13024 * gdb.stabs/gdb11479.exp
13025 * gdb.stabs/weird.exp
13026 * gdb.threads/attach-many-short-lived-threads.exp
13027 * gdb.threads/kill.exp
13028 * gdb.threads/watchpoint-fork.exp
13029
bc6c7af4
LM
130302016-12-01 Luis Machado <lgustavo@codesourcery.com>
13031
13032 Fix test names starting with uppercase throughout all the files below.
13033
13034 * gdb.ada/array_return.exp
13035 * gdb.ada/catch_ex.exp
13036 * gdb.ada/info_exc.exp
13037 * gdb.ada/mi_catch_ex.exp
13038 * gdb.ada/mi_dyn_arr.exp
13039 * gdb.ada/mi_ex_cond.exp
13040 * gdb.ada/mi_exc_info.exp
13041 * gdb.ada/mi_interface.exp
13042 * gdb.ada/mi_task_arg.exp
13043 * gdb.ada/mi_task_info.exp
13044 * gdb.ada/mi_var_array.exp
13045 * gdb.arch/alpha-step.exp
13046 * gdb.arch/amd64-disp-step.exp
13047 * gdb.arch/arm-disp-step.exp
13048 * gdb.arch/disp-step-insn-reloc.exp
13049 * gdb.arch/e500-prologue.exp
13050 * gdb.arch/ftrace-insn-reloc.exp
13051 * gdb.arch/gdb1558.exp
13052 * gdb.arch/i386-bp_permanent.exp
13053 * gdb.arch/i386-disp-step.exp
13054 * gdb.arch/i386-float.exp
13055 * gdb.arch/i386-gnu-cfi.exp
13056 * gdb.arch/ia64-breakpoint-shadow.exp
13057 * gdb.arch/mips16-thunks.exp
13058 * gdb.arch/pa-nullify.exp
13059 * gdb.arch/powerpc-aix-prologue.exp
13060 * gdb.arch/powerpc-power.exp
13061 * gdb.arch/ppc-dfp.exp
13062 * gdb.arch/s390-tdbregs.exp
13063 * gdb.arch/spu-info.exp
13064 * gdb.arch/spu-ls.exp
13065 * gdb.arch/thumb-bx-pc.exp
13066 * gdb.base/advance.exp
13067 * gdb.base/annota-input-while-running.exp
13068 * gdb.base/arrayidx.exp
13069 * gdb.base/asmlabel.exp
13070 * gdb.base/async.exp
13071 * gdb.base/attach-wait-input.exp
13072 * gdb.base/auto-connect-native-target.exp
13073 * gdb.base/batch-preserve-term-settings.exp
13074 * gdb.base/bfp-test.exp
13075 * gdb.base/bigcore.exp
13076 * gdb.base/bp-permanent.exp
13077 * gdb.base/break-always.exp
13078 * gdb.base/break-fun-addr.exp
13079 * gdb.base/break-idempotent.exp
13080 * gdb.base/break-main-file-remove-fail.exp
13081 * gdb.base/break-probes.exp
13082 * gdb.base/break-unload-file.exp
13083 * gdb.base/break.exp
13084 * gdb.base/call-ar-st.exp
13085 * gdb.base/call-rt-st.exp
13086 * gdb.base/call-sc.exp
13087 * gdb.base/call-signal-resume.exp
13088 * gdb.base/call-strs.exp
13089 * gdb.base/callexit.exp
13090 * gdb.base/callfuncs.exp
13091 * gdb.base/catch-gdb-caused-signals.exp
13092 * gdb.base/catch-signal-siginfo-cond.exp
13093 * gdb.base/catch-syscall.exp
13094 * gdb.base/compare-sections.exp
13095 * gdb.base/cond-eval-mode.exp
13096 * gdb.base/condbreak-call-false.exp
13097 * gdb.base/consecutive-step-over.exp
13098 * gdb.base/cursal.exp
13099 * gdb.base/disabled-location.exp
13100 * gdb.base/disasm-end-cu.exp
13101 * gdb.base/display.exp
13102 * gdb.base/double-prompt-target-event-error.exp
13103 * gdb.base/dprintf-bp-same-addr.exp
13104 * gdb.base/dprintf-detach.exp
13105 * gdb.base/dprintf-next.exp
13106 * gdb.base/dprintf-non-stop.exp
13107 * gdb.base/dprintf-pending.exp
13108 * gdb.base/dso2dso.exp
13109 * gdb.base/ending-run.exp
13110 * gdb.base/enum_cond.exp
13111 * gdb.base/examine-backward.exp
13112 * gdb.base/exe-lock.exp
13113 * gdb.base/exec-invalid-sysroot.exp
13114 * gdb.base/execl-update-breakpoints.exp
13115 * gdb.base/execution-termios.exp
13116 * gdb.base/fileio.exp
13117 * gdb.base/fixsection.exp
13118 * gdb.base/foll-exec-mode.exp
13119 * gdb.base/foll-exec.exp
13120 * gdb.base/fork-running-state.exp
13121 * gdb.base/frame-args.exp
13122 * gdb.base/fullpath-expand.exp
13123 * gdb.base/func-ptr.exp
13124 * gdb.base/gcore-relro-pie.exp
13125 * gdb.base/gdb1090.exp
13126 * gdb.base/gdb1555.exp
13127 * gdb.base/global-var-nested-by-dso.exp
13128 * gdb.base/gnu-ifunc.exp
13129 * gdb.base/hbreak-in-shr-unsupported.exp
13130 * gdb.base/hbreak-unmapped.exp
13131 * gdb.base/hook-stop.exp
13132 * gdb.base/infcall-input.exp
13133 * gdb.base/info-fun.exp
13134 * gdb.base/info-shared.exp
13135 * gdb.base/interrupt-noterm.exp
13136 * gdb.base/jit-so.exp
13137 * gdb.base/jit.exp
13138 * gdb.base/line-symtabs.exp
13139 * gdb.base/list.exp
13140 * gdb.base/longjmp.exp
13141 * gdb.base/macscp.exp
13142 * gdb.base/max-value-size.exp
13143 * gdb.base/nodebug.exp
13144 * gdb.base/nofield.exp
13145 * gdb.base/overlays.exp
13146 * gdb.base/paginate-after-ctrl-c-running.exp
13147 * gdb.base/paginate-bg-execution.exp
13148 * gdb.base/paginate-inferior-exit.exp
13149 * gdb.base/pending.exp
13150 * gdb.base/pr11022.exp
13151 * gdb.base/printcmds.exp
13152 * gdb.base/ptr-typedef.exp
13153 * gdb.base/ptype.exp
13154 * gdb.base/randomize.exp
13155 * gdb.base/range-stepping.exp
13156 * gdb.base/realname-expand.exp
13157 * gdb.base/relativedebug.exp
13158 * gdb.base/remote.exp
13159 * gdb.base/savedregs.exp
13160 * gdb.base/sepdebug.exp
13161 * gdb.base/set-noassign.exp
13162 * gdb.base/shlib-call.exp
13163 * gdb.base/shreloc.exp
13164 * gdb.base/sigaltstack.exp
13165 * gdb.base/sigbpt.exp
13166 * gdb.base/siginfo-addr.exp
13167 * gdb.base/siginfo-obj.exp
13168 * gdb.base/siginfo-thread.exp
13169 * gdb.base/signest.exp
13170 * gdb.base/signull.exp
13171 * gdb.base/sigrepeat.exp
13172 * gdb.base/skip.exp
13173 * gdb.base/so-impl-ld.exp
13174 * gdb.base/solib-corrupted.exp
13175 * gdb.base/solib-disc.exp
13176 * gdb.base/solib-display.exp
13177 * gdb.base/solib-overlap.exp
13178 * gdb.base/solib-search.exp
13179 * gdb.base/solib-symbol.exp
13180 * gdb.base/source-execution.exp
13181 * gdb.base/sss-bp-on-user-bp-2.exp
13182 * gdb.base/sss-bp-on-user-bp.exp
13183 * gdb.base/stack-checking.exp
13184 * gdb.base/stale-infcall.exp
13185 * gdb.base/step-break.exp
13186 * gdb.base/step-line.exp
13187 * gdb.base/step-over-exit.exp
13188 * gdb.base/step-test.exp
13189 * gdb.base/structs.exp
13190 * gdb.base/sym-file.exp
13191 * gdb.base/symtab-search-order.exp
13192 * gdb.base/term.exp
13193 * gdb.base/type-opaque.exp
13194 * gdb.base/unload.exp
13195 * gdb.base/until-nodebug.exp
13196 * gdb.base/until.exp
13197 * gdb.base/unwindonsignal.exp
13198 * gdb.base/watch-cond.exp
13199 * gdb.base/watch-non-mem.exp
13200 * gdb.base/watch_thread_num.exp
13201 * gdb.base/watchpoint-reuse-slot.exp
13202 * gdb.base/watchpoint-solib.exp
13203 * gdb.base/watchpoint.exp
13204 * gdb.btrace/dlopen.exp
13205 * gdb.cell/arch.exp
13206 * gdb.cell/break.exp
13207 * gdb.cell/bt.exp
13208 * gdb.cell/core.exp
13209 * gdb.cell/data.exp
13210 * gdb.cell/dwarfaddr.exp
13211 * gdb.cell/ea-cache.exp
13212 * gdb.cell/ea-standalone.exp
13213 * gdb.cell/ea-test.exp
13214 * gdb.cell/f-regs.exp
13215 * gdb.cell/fork.exp
13216 * gdb.cell/gcore.exp
13217 * gdb.cell/mem-access.exp
13218 * gdb.cell/ptype.exp
13219 * gdb.cell/registers.exp
13220 * gdb.cell/sizeof.exp
13221 * gdb.cell/solib-symbol.exp
13222 * gdb.cell/solib.exp
13223 * gdb.compile/compile-tls.exp
13224 * gdb.cp/exception.exp
13225 * gdb.cp/gdb2495.exp
13226 * gdb.cp/local.exp
13227 * gdb.cp/mb-inline.exp
13228 * gdb.cp/mb-templates.exp
13229 * gdb.cp/pr10687.exp
13230 * gdb.cp/pr9167.exp
13231 * gdb.cp/scope-err.exp
13232 * gdb.cp/templates.exp
13233 * gdb.cp/virtfunc.exp
13234 * gdb.dwarf2/dw2-dir-file-name.exp
13235 * gdb.dwarf2/dw2-single-line-discriminators.exp
13236 * gdb.fortran/complex.exp
13237 * gdb.fortran/library-module.exp
13238 * gdb.guile/guile.exp
13239 * gdb.guile/scm-cmd.exp
13240 * gdb.guile/scm-frame-inline.exp
13241 * gdb.guile/scm-objfile.exp
13242 * gdb.guile/scm-pretty-print.exp
13243 * gdb.guile/scm-symbol.exp
13244 * gdb.guile/scm-type.exp
13245 * gdb.guile/scm-value.exp
13246 * gdb.linespec/keywords.exp
13247 * gdb.linespec/ls-errs.exp
13248 * gdb.linespec/macro-relative.exp
13249 * gdb.linespec/thread.exp
13250 * gdb.mi/mi-breakpoint-changed.exp
13251 * gdb.mi/mi-dprintf-pending.exp
13252 * gdb.mi/mi-fullname-deleted.exp
13253 * gdb.mi/mi-logging.exp
13254 * gdb.mi/mi-pending.exp
13255 * gdb.mi/mi-solib.exp
13256 * gdb.mi/new-ui-mi-sync.exp
13257 * gdb.mi/user-selected-context-sync.exp
13258 * gdb.multi/dummy-frame-restore.exp
13259 * gdb.multi/multi-arch-exec.exp
13260 * gdb.multi/remove-inferiors.exp
13261 * gdb.multi/watchpoint-multi-exit.exp
13262 * gdb.opt/solib-intra-step.exp
13263 * gdb.perf/backtrace.exp
13264 * gdb.perf/single-step.exp
13265 * gdb.perf/skip-command.exp
13266 * gdb.perf/skip-prologue.exp
13267 * gdb.perf/solib.exp
13268 * gdb.python/lib-types.exp
13269 * gdb.python/py-as-string.exp
13270 * gdb.python/py-bad-printers.exp
13271 * gdb.python/py-block.exp
13272 * gdb.python/py-breakpoint.exp
13273 * gdb.python/py-cmd.exp
13274 * gdb.python/py-events.exp
13275 * gdb.python/py-evthreads.exp
13276 * gdb.python/py-finish-breakpoint.exp
13277 * gdb.python/py-finish-breakpoint2.exp
13278 * gdb.python/py-frame-inline.exp
13279 * gdb.python/py-frame.exp
13280 * gdb.python/py-inferior.exp
13281 * gdb.python/py-infthread.exp
13282 * gdb.python/py-mi.exp
13283 * gdb.python/py-objfile.exp
13284 * gdb.python/py-pp-maint.exp
13285 * gdb.python/py-pp-registration.exp
13286 * gdb.python/py-prettyprint.exp
13287 * gdb.python/py-recurse-unwind.exp
13288 * gdb.python/py-shared.exp
13289 * gdb.python/py-symbol.exp
13290 * gdb.python/py-symtab.exp
13291 * gdb.python/py-template.exp
13292 * gdb.python/py-type.exp
13293 * gdb.python/py-unwind-maint.exp
13294 * gdb.python/py-unwind.exp
13295 * gdb.python/py-value.exp
13296 * gdb.python/python.exp
13297 * gdb.reverse/finish-reverse-bkpt.exp
13298 * gdb.reverse/insn-reverse.exp
13299 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13300 * gdb.reverse/solib-precsave.exp
13301 * gdb.reverse/solib-reverse.exp
13302 * gdb.stabs/gdb11479.exp
13303 * gdb.stabs/weird.exp
13304 * gdb.threads/fork-child-threads.exp
13305 * gdb.threads/fork-plus-threads.exp
13306 * gdb.threads/fork-thread-pending.exp
13307 * gdb.threads/forking-threads-plus-breakpoint.exp
13308 * gdb.threads/hand-call-in-threads.exp
13309 * gdb.threads/interrupted-hand-call.exp
13310 * gdb.threads/linux-dp.exp
13311 * gdb.threads/local-watch-wrong-thread.exp
13312 * gdb.threads/next-while-other-thread-longjmps.exp
13313 * gdb.threads/non-ldr-exit.exp
13314 * gdb.threads/pending-step.exp
13315 * gdb.threads/print-threads.exp
13316 * gdb.threads/process-dies-while-detaching.exp
13317 * gdb.threads/process-dies-while-handling-bp.exp
13318 * gdb.threads/pthreads.exp
13319 * gdb.threads/queue-signal.exp
13320 * gdb.threads/reconnect-signal.exp
13321 * gdb.threads/signal-command-handle-nopass.exp
13322 * gdb.threads/signal-command-multiple-signals-pending.exp
13323 * gdb.threads/signal-delivered-right-thread.exp
13324 * gdb.threads/signal-sigtrap.exp
13325 * gdb.threads/sigthread.exp
13326 * gdb.threads/staticthreads.exp
13327 * gdb.threads/stepi-random-signal.exp
13328 * gdb.threads/thread-unwindonsignal.exp
13329 * gdb.threads/thread_check.exp
13330 * gdb.threads/thread_events.exp
13331 * gdb.threads/tid-reuse.exp
13332 * gdb.threads/tls-nodebug.exp
13333 * gdb.threads/tls-shared.exp
13334 * gdb.threads/tls-so_extern.exp
13335 * gdb.threads/tls.exp
13336 * gdb.threads/wp-replication.exp
13337 * gdb.trace/actions-changed.exp
13338 * gdb.trace/actions.exp
13339 * gdb.trace/backtrace.exp
13340 * gdb.trace/change-loc.exp
13341 * gdb.trace/collection.exp
13342 * gdb.trace/deltrace.exp
13343 * gdb.trace/disconnected-tracing.exp
13344 * gdb.trace/entry-values.exp
13345 * gdb.trace/ftrace-lock.exp
13346 * gdb.trace/ftrace.exp
13347 * gdb.trace/infotrace.exp
13348 * gdb.trace/mi-trace-frame-collected.exp
13349 * gdb.trace/mi-trace-unavailable.exp
13350 * gdb.trace/mi-traceframe-changed.exp
13351 * gdb.trace/mi-tracepoint-changed.exp
13352 * gdb.trace/mi-tsv-changed.exp
13353 * gdb.trace/no-attach-trace.exp
13354 * gdb.trace/packetlen.exp
13355 * gdb.trace/passc-dyn.exp
13356 * gdb.trace/passcount.exp
13357 * gdb.trace/pending.exp
13358 * gdb.trace/pr16508.exp
13359 * gdb.trace/qtro.exp
13360 * gdb.trace/range-stepping.exp
13361 * gdb.trace/read-memory.exp
13362 * gdb.trace/report.exp
13363 * gdb.trace/save-trace.exp
13364 * gdb.trace/signal.exp
13365 * gdb.trace/stap-trace.exp
13366 * gdb.trace/status-stop.exp
13367 * gdb.trace/strace.exp
13368 * gdb.trace/tfile.exp
13369 * gdb.trace/tfind.exp
13370 * gdb.trace/trace-break.exp
13371 * gdb.trace/trace-condition.exp
13372 * gdb.trace/trace-enable-disable.exp
13373 * gdb.trace/trace-mt.exp
13374 * gdb.trace/tracecmd.exp
13375 * gdb.trace/tracefile-pseudo-reg.exp
13376 * gdb.trace/tspeed.exp
13377 * gdb.trace/tstatus.exp
13378 * gdb.trace/tsv.exp
13379 * gdb.trace/unavailable.exp
13380 * gdb.trace/while-dyn.exp
13381 * gdb.trace/while-stepping.exp
13382 * lib/gdb-guile.exp
13383 * lib/gdb.exp
13384 * lib/mi-support.exp
13385 * lib/pascal.exp
13386 * lib/perftest.exp
13387 * lib/prelink-support.exp
13388 * lib/selftest-support.exp
13389
ad02e4fe
SM
133902016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13391
13392 * Makefile.in: Include disable-implicit-rules.mk.
13393
22347e55
AA
133942016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13395
13396 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13397 non-byte-aligned bit fields.
13398
da5b30da
AA
133992016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13400
13401 PR gdb/12616
13402 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13403 respects the DW_AT_data_bit_offset attribute.
13404
b593ecca
SM
134052016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13406
13407 * gdb.base/default.exp: Fix output of "set language".
13408
3b165252
SM
134092016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13410
13411 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13412 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13413 make.
13414 * configure.ac: Remove checks for the make program.
13415 * configure: Re-generate.
13416
1a2f3d7f
KB
134172016-11-16 Kevin Buettner <kevinb@redhat.com>
13418
13419 * gdb.python/py-recurse-unwind.c (main): Add loop.
13420 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13421 to read_register() and gdb.parse_and_eval(). Make each code
13422 call a separate case that can be individually tested.
13423 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
13424 proc. Call cont_and_backtrace for each of the code paths that
13425 we want to test in the unwinder.
13426
b7f38fda
AA
134272016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13428
13429 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13430 the definition of struct S.
13431
1f8db343
CM
134322016-11-11 Catherine Moore <clm@codesourcery.com>
13433
13434 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13435
fad0c9fb
PA
134362016-11-09 Pedro Alves <palves@redhat.com>
13437
13438 * gdb.base/commands.exp (runto_or_return): New procedure.
13439 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13440 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13441 (progvar_simple_while_test, progvar_complex_if_while_test)
13442 (if_while_breakpoint_command_test)
13443 (infrun_breakpoint_command_test, breakpoint_command_test)
13444 (user_defined_command_test, watchpoint_command_test)
13445 (test_command_prompt_position, redefine_hook_test)
13446 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13447 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13448 multi_line_input and multi_line. Remove gdb_expect and
13449 gdb_stop_suppressing_tests uses.
13450 * lib/gdb.exp (valnum_re): New global.
13451 (multi_line_input): New procedure.
13452
8354c62c
SM
134532016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13454
13455 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13456 Remove.
13457 (test_setup): Define with proc_with_prefix.
13458 (test_cli_inferior): Likewise.
13459 (test_cli_thread): Likewise.
13460 (test_cli_frame): Likewise.
13461 (test_cli_select_frame): Likewise.
13462 (test_cli_up_down): Likewise.
13463 (test_mi_thread_select): Likewise.
13464 (test_mi_stack_select_frame): Likewise.
13465 (test_cli_in_mi_inferior): Likewise.
13466 (test_cli_in_mi_thread): Likewise.
13467 (test_cli_in_mi_frame): Likewise.
13468 (top level): Do not use with_test_prefix_procname.
13469
64f367a2
PA
134702016-11-09 Pedro Alves <palves@redhat.com>
13471
13472 * gdb.base/commands.exp (gdbvar_simple_if_test)
13473 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13474 (progvar_simple_if_test, progvar_simple_while_test)
13475 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13476 (infrun_breakpoint_command_test, breakpoint_command_test)
13477 (user_defined_command_test, watchpoint_command_test)
13478 (test_command_prompt_position, deprecated_command_test)
13479 (bp_deleted_in_command, temporary_breakpoint_commands)
13480 (stray_arg0_test, source_file_with_indented_comment)
13481 (recursive_source_test, if_commands_test)
13482 (error_clears_commands_left, redefine_hook_test)
13483 (redefine_backtrace_test): Use proc_with_prefix.
13484 * lib/gdb.exp (proc_with_prefix): New proc.
13485
0bb65f1e
AA
134862016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13487
13488 * gdb.base/tui-layout.c: New file.
13489 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13490 disassembly window contains very long lines.
13491
7353f247
TT
134922016-11-08 Tom Tromey <tom@tromey.com>
13493
13494 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13495 depend on Python 2.
13496
30a7bb83
TT
134972016-11-08 Tom Tromey <tom@tromey.com>
13498
13499 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13500 New method.
13501
cdf5a07c
MG
135022016-10-29 Manish Goregaokar <manish@mozilla.com>
13503
2806dc7e 13504 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 13505
51a789c3
MG
135062016-10-27 Manish Goregaokar <manish@mozilla.com>
13507
2806dc7e
PA
13508 * gdb.rust/simple.rs: Add test for univariant enums without
13509 discriminants and for encoded struct-like enums.
51a789c3 13510
f610ab6d
PA
135112016-10-28 Pedro Alves <palves@redhat.com>
13512
13513 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13514 gdb_test_multiple, tighten regexps and match symtabs and line
13515 tables incrementally.
13516
b129b0ca
LM
135172016-10-28 Luis Machado <lgustavo@codesourcery.com>
13518
13519 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13520 general.
13521
ecf45d2c
SL
135222016-10-25 Luis Machado <lgustavo@codesourcery.com>
13523
13524 * gdb.base/exec-invalid-sysroot.exp: New file.
13525
b8d38ee4
JK
135262016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13527
13528 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13529
f90fd8c2
JK
135302016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13531
13532 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13533
2d2476aa
MR
135342016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13535
2806dc7e
PA
13536 * gdb.base/killed-outside.exp: Remove $options from a call to
13537 `prepare_for_testing'.
2d2476aa 13538
e42b25a0
SM
135392016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13540
13541 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13542 Change test message.
13543
3ccdb432
SM
135442016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13545
13546 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13547 Update comment.
13548
5bad3170
SM
135492016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13550
13551 * gdb.trace/mi-trace-save.exp: New file.
13552
5ad9dba7
YQ
135532016-10-13 Yao Qi <yao.qi@linaro.org>
13554
13555 * gdb.base/code_elim.exp (get_var_address): Remove.
13556 * gdb.base/relocate.exp: Likewise.
13557 * gdb.base/shreloc.exp: Likewise.
13558 * lib/gdb.exp (get_var_address): New.
13559
62df7e21
YQ
135602016-10-13 Yao Qi <yao.qi@linaro.org>
13561
13562 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13563 floating point tests if $skip_float_test is false.
13564
4dac951e
LM
135652016-10-12 Luis Machado <lgustavo@codesourcery.com>
13566
13567 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13568 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13569 argc values.
13570 Add 1 to argc so we guarantee distinct initial/modified argc values.
13571
8f1a8fc4
JK
135722016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13573
13574 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13575
16c85b5d
JK
135762016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13577
13578 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13579 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13580 * gdb.arch/vsx-regs.exp: Likewise.
13581
1d0e042a
YQ
135822016-10-07 Yao Qi <yao.qi@linaro.org>
13583
13584 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13585
68dadef5
MM
135862016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13587
13588 * gdb.python/python.exp: Test decode_line("*0").
13589
33fa2c6e
DE
135902016-10-06 Doug Evans <dje@google.com>
13591
13592 * gdb.python/py-value.exp (test_value_creation): Add test for large
13593 unsigned 64-bit value.
13594
9c37b5ae
TT
135952016-10-06 Tom Tromey <tom@tromey.com>
13596
13597 * gdb.compile/compile.exp: Change java tests to rust.
13598 * gdb.base/setshow.exp: Change java tests to rust.
13599 * gdb.base/default.exp: Remove java from language list.
13600 * README (Examples): Update language example.
13601 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13602 test.
13603 * lib/gdb.exp (skip_java_tests): Remove.
13604 * lib/java.exp: Remove.
13605 * gdb.java: Remove.
13606
78b86327
MR
136072016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13608
13609 * gdb.arch/mips-fcr.exp: New test.
13610 * gdb.arch/mips-fcr.c: Source for the new test.
13611
7470adbb
MR
136122016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13613
13614 * gdb.base/solib-disc.exp: Use `standard_output_file'
13615 throughout.
13616
4a556533
PA
136172016-10-06 Pedro Alves <palves@redhat.com>
13618
13619 * gdb.base/jit-simple-dl.c: New file.
13620 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13621 * gdb.base/jit-simple.c: ... this.
13622 * gdb.base/jit-simple.exp (jit_run): Delete.
13623 (build_jit): New proc.
13624 (jit_test_reread): Recompile either the main program or the shared
13625 library, depending on what is being tested. Skip changing address
13626 if caller wants to. Compare before/after addresses. If testing
13627 standalone, explicitly load the binary. Test "maint info
13628 breakpoints".
13629 (top level): Add "standalone vs shared lib" and "change address"
13630 vs "same address" axes.
13631
5a122fbc
PA
136322016-10-06 Pedro Alves <palves@redhat.com>
13633
13634 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13635 call.
13636 (jit_run): Delete.
13637 (jit_test_reread): Use with_test_prefix. Reload the main binary
13638 explicitly. Compare the before/after addresses of the JIT
13639 descriptor.
13640
ee8da4b8
DE
136412016-08-15 Doug Evans <dje@google.com>
13642
13643 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13644 for single bitfields is bool.
13645 * gdb.xml/tdesc-regs.exp: Ditto.
13646
f389f6fe
JK
136472016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13648
13649 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13650
fdebf1a4
YQ
136512016-10-05 Yao Qi <yao.qi@linaro.org>
13652
13653 * lib/gdb.exp (support_complex_tests): Return zero if
13654 gdb_skip_float_test return true.
13655
9c36d954 136562016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13657 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13658
13659 PR gdb/20487
13660 * gdb.mi/user-selected-context-sync.exp: New file.
13661 * gdb.mi/user-selected-context-sync.c: New file.
13662
4034d0ff 136632016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13664 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13665
13666 PR gdb/20487
13667 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13668 =thread-select-event check.
13669
a4297203
PB
136702016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13671
13672 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13673 the compulsory L operand changes.
13674 * gdb.arch/powerpc-power.s: Likewise.
13675
bb805577
JK
136762016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13677
13678 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13679 * gdb.base/jit-attach-pie.c: New file.
13680 * gdb.base/jit-attach-pie.exp: New file.
13681
6d61dee5
PA
136822016-09-28 Pedro Alves <palves@redhat.com>
13683
13684 * gdb.base/infcall-input.c: New file.
13685 * gdb.base/infcall-input.exp: New file.
13686
f73842fc
YQ
136872016-09-22 Yao Qi <yao.qi@linaro.org>
13688
13689 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13690 (gdb_exit): Rename it to ...
13691 (gdbserver_gdb_exit): ... Close GDBserver.
13692 (gdb_exit): New proc, call gdbserver_gdb_exit.
13693 (mi_gdb_exit): Likewise.
13694
90681dab
YQ
136952016-09-22 Yao Qi <yao.qi@linaro.org>
13696
13697 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13698 path.
13699 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13700 Remove duplication.
13701
9c211fd8
YQ
137022016-09-22 Yao Qi <yao.qi@linaro.org>
13703
13704 * lib/gdbserver-support.exp: Check the existence of
13705 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13706
ad0a504f
AK
137072016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13708
13709 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13710
36cf1806
TT
137112016-09-21 Tom Tromey <tom@tromey.com>
13712
13713 PR gdb/20604:
13714 * gdb.base/quit.exp: New file.
13715
74172ecf
SM
137162016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13717
13718 * .gitignore: New file.
13719
3d0ec882
MR
137202016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13721
13722 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13723 throughout.
13724
8193adea
AA
137252016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13726
13727 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13728
d41a5c09
JK
137292016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13730
13731 * gdb.cp/casts.cc (decltype): Move it ...
13732 (main): ... with its call to ...
13733 * gdb.cp/casts03.cc: ... a new file.
13734 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13735
d2dfe700
JK
137362016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13737
13738 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13739
e2a92b16
PB
137402016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13741
13742 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13743 and sync up the test with tests in gas/testsuite/gas/ppc.
13744 * gdb.arch/powerpc-power.exp: Likewise.
13745
49b4de64
JK
137462016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13747
13748 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13749
2c29df25
SDJ
137502016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13751 Jan Kratochvil <jan.kratochvil@redhat.com>
13752
13753 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13754 make m1's definition to be different from m2's. Use 'dummy' as an
13755 argument for probe 'two'.
13756
cc3c2846
JB
137572016-09-10 Jon Beniston <jon@beniston.com>
13758
13759 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13760 for sim target.
13761
e1b2624a
AA
137622016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13763
13764 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13765 variable declaration.
13766 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13767 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13768 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13769 received HWCAP as its argument.
13770
4295e285
PA
137712016-09-06 Pedro Alves <palves@redhat.com>
13772
13773 * gdb.base/new-ui-pending-input.c: New file.
13774 * gdb.base/new-ui-pending-input.exp: New file.
13775 * gdb.exp (clear_gdb_spawn_id): New procedure.
13776 (with_spawn_id): Check whether gdb_spawn_id exists before
13777 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13778 on exit.
13779
00d5215e
UW
137802016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13781
13782 * gdb.base/float128.c: New file.
13783 * gdb.base/float128.exp: Likewise.
13784 * gdb.base/floatn.c: Likewise.
13785 * gdb.base/floatn.exp: Likewise.
13786
a9ff5f12
UW
137872016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13788
13789 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13790
f245535c
PA
137912016-09-05 Pedro Alves <palves@redhat.com>
13792
13793 PR backtrace/19927
13794 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13795 unwinders are immediately called as side effect of "source" or
13796 "disable unwinder" commands.
13797 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13798
ae9cf263
YQ
137992016-09-02 Yao Qi <yao.qi@linaro.org>
13800
13801 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13802 is true and $type is "float" or "double".
13803
27aba047
YQ
138042016-09-02 Yao Qi <yao.qi@linaro.org>
13805
13806 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13807 true.
13808 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13809 * gdb.base/call-rt-st.exp: Likewise.
13810 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13811 return value instead of gdb,skip_float_test.
13812 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13813 (do_function_calls): Use its return value instead of
13814 gdb,skip_float_test.
13815 * gdb.base/finish.exp: Likewise.
13816 * gdb.base/funcargs.exp: Likewise.
13817 * gdb.base/return.exp: Likewise.
13818 * gdb.base/return2.exp: Likewise.
13819 * gdb.base/varargs.exp: Likewise.
13820 * lib/gdb.exp (gdb_skip_float_test): Change it to
13821 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13822
5af962df
AA
138232016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13824
13825 * gdb.multi/tids.exp: Test "thread apply all".
13826
7fac6910
JK
138272016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13828
13829 * gdb.base/default.exp (tty): Remove.
13830
bb1fe4ac
KB
138312016-08-24 Kevin Buettner <kevinb@redhat.com>
13832
2806dc7e
PA
13833 * gdb.python/py-recurse-unwind.c: New file.
13834 * gdb.python/py-recurse-unwind.py: New file.
13835 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 13836
0a1ddfa6
SM
138372016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13838
13839 * gdb.base/set-inferior-tty.exp: New file.
13840 * gdb.base/set-inferior-tty.c: New file.
13841
d9de1fe3
PA
138422016-08-23 Pedro Alves <palves@redhat.com>
13843
13844 PR gdb/20494
13845 * gdb.base/new-ui-echo.c: New file.
13846 * gdb.base/new-ui-echo.exp: New file.
13847
e9d9abd7
YQ
138482016-08-23 Yao Qi <yao.qi@linaro.org>
13849
13850 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13851 gdbserver_spawn.
13852 * gdb.server/connect-without-multi-process.exp (do_test):
13853 Likewise.
13854
3589529e
YQ
138552016-08-23 Yao Qi <yao.qi@linaro.org>
13856
13857 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13858 standalone_txt. Delete gdb_txt and standalone_txt on host
13859 and target. Spawn the binary on target. Copy files from
13860 target to host.
13861
6bb90213
PA
138622016-08-22 Pedro Alves <palves@redhat.com>
13863
13864 PR gdb/20505
13865 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13866 with_test_prefix. Factor out bits to ...
13867 (test_no_vdso): ... this new procedure.
13868
20c2c024
CL
138692016-08-19 Carl Love <cel@us.ibm.com>
13870
13871 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13872 maintaining separate logic for constructing the output path.
13873 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13874 * gdb.arch/ppc-dfp.exp: Likewise.
13875 * gdb.arch/ppc-fp.exp: Likewise.
13876 * gdb.arch/vsx-regs.exp: Likewise.
13877 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13878 binprefix for generating the additional binary files.
13879
0646e07d
PA
138802016-08-19 Pedro Alves <palves@redhat.com>
13881
13882 * gdb.trace/mi-trace-frame-collected.exp
13883 (test_trace_frame_collected): On x32, expect two registers.
13884
46da9242
CL
138852016-08-18 Carl Love <cel@us.ibm.com>
13886
13887 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13888 and sync up the test with tests in gas/testsuite/gas/ppc.
13889 * gdb.arch/powerpc-power.exp: Likewise.
13890
eb2332d7
SM
138912016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13892
13893 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13894 expected error message.
13895
63c61e04
SM
138962016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13897
13898 * gdb.multi/remove-inferiors.exp: New file.
13899 * gdb.multi/remove-inferiors.c: New file.
13900
7b17065f
YQ
139012016-08-12 Yao Qi <yao.qi@linaro.org>
13902
13903 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13904 argument list.
13905
01d3dedf
PA
139062016-08-10 Pedro Alves <palves@redhat.com>
13907
13908 PR gdb/19187
13909 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13910 setup_kfails.
13911
3eb7562a
PA
139122016-08-09 Pedro Alves <palves@redhat.com>
13913 Simon Marchi <simon.marchi@ericsson.com>
13914
13915 PR gdb/20418
13916 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13917 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13918
80614914
PA
139192016-08-09 Pedro Alves <palves@redhat.com>
13920
13921 PR mi/20431
13922 * gdb.mi/mi-cmd-error.exp: New file.
13923
f348d89a
PA
139242016-08-09 Pedro Alves <palves@redhat.com>
13925
13926 PR gdb/18653
13927 * gdb.base/signals-state-child.c: New file.
13928 * gdb.base/signals-state-child.exp: New file.
13929 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13930
e5ca03b4
PA
139312016-08-09 Pedro Alves <palves@redhat.com>
13932
13933 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13934
282a0691
TT
139352016-08-03 Tom Tromey <tom@tromey.com>
13936
13937 PR python/18565:
13938 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13939
41bfcd63
YQ
139402016-08-01 Yao Qi <yao.qi@linaro.org>
13941
13942 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13943 variable mode to "multi-process" if $multi_process is 1, otherwise
13944 set it to "single-process".
13945
e3465b24
YQ
139462016-08-01 Yao Qi <yao.qi@linaro.org>
13947
13948 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13949 * gdb.cp/cpexprs.exp: Likewise.
13950 * gdb.cp/m-static.exp: Likewise.
13951
0b31a4bc
TT
139522016-07-26 Tom Tromey <tom@tromey.com>
13953
13954 PR python/20190:
13955 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13956 test.
13957
e0461dbb
MM
139582016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13959
13960 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13961 selecting assembly source files.
13962 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13963 assembly source files.
13964 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13965 assembly source files.
13966 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13967 selecting assembly source files.
13968
8194e927
SM
139692016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13970
13971 * gdb.base/new-ui.exp (do_test_invalid_args): New
13972 procedure.
13973
c0272db5
TW
139742016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13975
13976 * gdb.btrace/reconnect.c: New file.
13977 * gdb.btrace/reconnect.exp: New file.
13978
e3487908
GKB
139792016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13980
13981 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13982 to test_catch_syscall_group.
13983 (test_catch_syscall_group): New.
13984
12df5c00
TT
139852016-07-21 Tom Tromey <tom@tromey.com>
13986
13987 * gdb.rust/simple.rs (main): Use empty struct expression.
13988 * gdb.rust/simple.exp: Add tests for empty struct expression.
13989
bae62ee2
YQ
139902016-07-21 Yao Qi <yao.qi@linaro.org>
13991
13992 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13993 if gdb_skip_xml_test is true on some targets.
13994
b1b53fb3
YQ
139952016-07-21 Yao Qi <yao.qi@linaro.org>
13996
13997 * gdb.server/solib-list.exp: Unset last_loaded_file.
13998
027d97f8
JK
139992016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14000
14001 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14002 "step into captured_main (args)".
14003
7674d381
JK
140042016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14005
14006 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14007
72b5d099
JK
140082016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14009
14010 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14011
1f960ced
PA
140122016-07-19 Pedro Alves <palves@redhat.com>
14013
14014 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14015 * gdb.opt/inline-bt.exp: Likewise.
14016 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14017 additional_flags=-Winline.
14018 * gdb.opt/inline-locals.exp: Likewise.
14019 * gdb.opt/inline-markers.c (ATTR): Define.
14020 (inlined_fn): Use it.
14021
f25827c1
YQ
140222016-07-19 Yao Qi <yao.qi@linaro.org>
14023
14024 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14025 (test_with_self): Remove some code. Remove argument executable.
14026 (top-level): Use do_self_tests.
14027
37539ebe
DB
140282016-07-15 Zachary Welch <zwelch@codesourcery.com>
14029 Don Breazeal <donb@codesourcery.com>
14030
14031 * gdb.base/maint.exp: Escape paths used in regular expressions.
14032 * gdb.stabs/weird.exp: Likewise.
14033
dac790e1
TT
140342016-07-13 Tom Tromey <tom@tromey.com>
14035
14036 PR python/15620, PR python/18620:
14037 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14038 (test_bkpt_events): New procs.
14039
93daf339
TT
140402016-07-13 Tom Tromey <tom@tromey.com>
14041
14042 PR python/17698:
14043 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14044 test.
14045 (test_watchpoints): Likewise.
14046 (test_bkpt_pending): New proc.
14047
6571a381
TT
140482016-07-13 Tom Tromey <tom@tromey.com>
14049
14050 PR cli/18053:
14051 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14052 completion test.
14053
e8732474
JK
140542016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14055
14056 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14057 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14058 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14059 f_label.
14060 (g): Rename g_end_lbl to g_label.
14061 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14062 low_pc and high_pc.
14063 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14064
e0f3fd7c
TT
140652016-07-12 Tom Tromey <tom@tromey.com>
14066
14067 PR python/19293:
14068 * gdb.python/py-unwind-maint.exp: Update tests.
14069
3cfe46b6
YQ
140702016-07-12 Yao Qi <yao.qi@linaro.org>
14071
14072 * lib/selftest-support.exp (selftest_setup): Match the output
14073 when captured_main is inlined.
14074
4f19a0e6
WT
140752016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14076
14077 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14078 New variables.
14079 (print this%a, print this%b, print this): New tests.
14080 * gdb.fortran/derived-types.f90 (this): New object and
14081 initialization.
14082
986cf455
SM
140832016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14084
14085 * gdb.ada/arraydim.exp: Remove extra directory level in build
14086 directory.
14087
f0464b23
SM
140882016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14089
14090 * lib/ada.exp: Remove extra directory level in build directory.
14091 * gdb.ada/cond_lang.exp: Likewise.
14092 * gdb.ada/exec_changed.exp: Likewise.
14093 * gdb.ada/lang_switch.exp: Likewise.
14094
42d94011
MG
140952016-07-06 Manish Goregaokar <manish@mozilla.com>
14096
2806dc7e
PA
14097 * simple.rs: Add test for raw pointer subscripting.
14098 * simple.exp: Add test expectations.
42d94011 14099
647c264c
YQ
141002016-07-05 Yao Qi <yao.qi@linaro.org>
14101
14102 * gdb.mi/mi-reverse.exp: Match =record-started output.
14103
20aa2c60
PA
141042016-07-01 Pedro Alves <palves@redhat.com>
14105
14106 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14107 procedure.
14108 (jit_reader_test): Test the jit reader's unwinder.
14109 * gdb.base/jithost.c (jit_function_00_code): New global.
14110 (main): Use memcpy to fill in the mmapped code, instead of poking
14111 bytes manually here.
14112 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14113 value.
14114 (read_debug_info): Save the function's range.
14115 (read_sp): New function.
14116 (unwind_frame): Use it. Also unwind RBP.
14117 (get_frame_id): Use read_sp.
14118 (gdb_init_reader): Use calloc instead of malloc.
14119 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14120 parameter. Use gdb_test_multiple.
14121
ced2dffb
PA
141222016-07-01 Pedro Alves <palves@redhat.com>
14123 Antoine Tremblay <antoine.tremblay@ericsson.com>
14124
14125 * gdb.threads/process-dies-while-detaching.c: New file.
14126 * gdb.threads/process-dies-while-detaching.exp: New file.
14127
63000888
PA
141282016-07-01 Pedro Alves <palves@redhat.com>
14129
14130 * gdb.multi/watchpoint-multi-exit.c: New file.
14131 * gdb.multi/watchpoint-multi-exit.exp: New file.
14132
038d4868
PA
141332016-06-30 Pedro Alves <palves@redhat.com>
14134
14135 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14136 unset inferior_spawn_id.
14137
994e9c83
PA
141382016-06-30 Pedro Alves <palves@redhat.com>
14139
14140 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14141 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14142
e5653468
YQ
141432016-06-29 Yao Qi <yao.qi@linaro.org>
14144
14145 * gdb.base/return.c: Add copyright header.
14146
803b47e5
TT
141472016-06-29 Tom Tromey <tom@tromey.com>
14148
14149 PR python/20129:
14150 * gdb.python/py-framefilter.exp: Add tests for setting priority
14151 and disabling of non-existent frame filter.
14152
28244707
YQ
141532016-06-29 Yao Qi <yao.qi@linaro.org>
14154
14155 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14156 0x0f07ff.
14157
a31d2f06
YQ
141582016-06-28 Yao Qi <yao.qi@linaro.org>
14159
14160 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14161 triplets. Start gdb, execute catch syscall, and continue. Check
14162 gdb's output to determine catch syscall is supported.
14163
921d8f54
MG
141642016-06-27 Manish Goregaokar <manish@mozilla.com>
14165
25d49b86
PA
14166 * gdb.rust/simple.rs: Add test for returning unit in a function.
14167 * gdb.rust/simple.exp: Add expectation for functions returning
14168 unit.
921d8f54 14169
f4952523
PMR
141702016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14171
14172 * gdb.python/py-breakpoint-create-fail.c,
14173 gdb.python/py-breakpoint-create-fail.exp,
14174 gdb.python/py-breakpoint-create-fail.py: New testcase.
14175
fccb08f8
MG
141762016-06-25 Manish Goregaokar <manish@mozilla.com>
14177
14178 PR gdb/20239
14179 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14180 * gdb.rust/simple.exp: Add test expectations for new NonZero
14181 tests.
fccb08f8 14182
6b850546
DT
141832016-06-24 David Taylor <dtaylor@emc.com>
14184
14185 * gdb.base/offsets.exp: New file.
14186 * gdb.base/offsets.c: New file.
14187
17621150
TT
141882016-06-23 Tom Tromey <tom@tromey.com>
14189
14190 PR gdb/16483:
14191 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14192 before any filters are loaded.
14193
04d59df6
WT
141942016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14195
14196 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14197 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14198 structs.
14199 * gdb.fortran/derived-type-function.exp: New file.
14200 * gdb.fortran/derived-type-function.f90: New file.
14201
14202
ac69f786
PA
142032016-06-21 Pedro Alves <palves@redhat.com>
14204
14205 * gdb.base/new-ui.exp: New file.
14206 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14207 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14208 (with_spawn_id): New procedure.
14209
49940788
PA
142102016-06-21 Pedro Alves <palves@redhat.com>
14211
14212 * gdb.mi/mi-exec-run.exp: New file.
14213
ef274d26
PA
142142016-06-21 Pedro Alves <palves@redhat.com>
14215
14216 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14217 breakpoint command's output on the main UI.
14218 (test_break): New procedure, factored out from calls in the top
14219 level.
14220 (top level): Use foreach_with_prefix to test MI as main UI and as
14221 separate UI.
14222
468afe6c
PA
142232016-06-21 Pedro Alves <palves@redhat.com>
14224
14225 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14226 (test_awatch_creation_and_listing)
14227 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14228 Remove 'type' parameter.
14229 (test_watchpoint_all): New parameter mi_mode. Remove
14230 with_test_prefix.
14231 (top level): Use foreach_with_prefix, and add main/separate UI MI
14232 testing axis.
14233
51f77c37
PA
142342016-06-21 Pedro Alves <palves@redhat.com>
14235
14236 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14237 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14238 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14239 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14240 (gdb_main_spawn_id, mi_spawn_id): Declare and
14241 comment.
14242 (mi_create_inferior_pty): New procedure,
14243 factored out from default_mi_gdb_start.
14244 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14245 procedures.
14246 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14247 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14248 Use mi_create_inferior_pty.
14249 (mi_gdb_start): Use eval to pass down args list.
14250
8980e177
PA
142512016-06-21 Pedro Alves <palves@redhat.com>
14252
14253 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14254 * gdb.opt/inline-cmds.exp: Add MI tests.
14255
f38d3ad1
PA
142562016-06-21 Pedro Alves <palves@redhat.com>
14257
14258 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14259
45db7c09
PA
142602016-06-21 Pedro Alves <palves@redhat.com>
14261
14262 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14263 (top level): Use it instead of mi_execute_to.
14264
5a069ab3
PA
142652016-06-21 Pedro Alves <palves@redhat.com>
14266
14267 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14268 (cont_handler_str): New.
14269 (signal_stop_handler): Set stop_handler_str instead of printing to
14270 stdout.
14271 (continue_handler): Set cont_handler_str instead of printing to
14272 stdout.
14273 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14274 mi_send_resuming_command. Print stop_handler_str and
14275 cont_handler_str instead of expecting the python events print
14276 directly.
14277
2838cc1d
SD
142782016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14279
14280 * gdb.base/jit-reader.exp: New file.
14281 * gdb.base/jithost.c: New file.
14282 * gdb.base/jithost.h: New file.
14283 * gdb.base/jitreader.c : New file.
14284 * gdb.base/jit-protocol.h: New file.
14285
21a77091
YQ
142862016-06-17 Yao Qi <yao.qi@linaro.org>
14287
14288 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14289 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14290 and detach-on-fork. Adjust tests.
14291 (top level): Invoke break_cond_on_syscall with combinations of
14292 syscall, follow-fork-mode and detach-on-fork.
14293
f50bf8e5
YQ
142942016-06-17 Yao Qi <yao.qi@linaro.org>
14295
14296 * gdb.base/step-over-exit.c: New.
14297 * gdb.base/step-over-exit.exp: New.
14298
a28d8e50
YTL
142992016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14300
14301 * gdb.base/float.exp: Add target check for nds32*-*-*.
14302 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14303
cad8e26d
AB
143042016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14305
14306 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14307 for unsupported target features.
14308 * gdb.base/call-rt-st.exp: Likewise.
14309 * gdb.base/call-sc.exp: Likewise.
14310 * gdb.base/call-signal-resume.exp: Likewise.
14311 * gdb.base/call-strs.exp: Likewise.
14312 * gdb.base/callexit.exp: Likewise.
14313 * gdb.base/callfuncs.exp: Likewise.
14314 * gdb.base/nodebug.exp: Likewise.
14315 * gdb.base/printcmds.exp: Likewise.
14316 * gdb.base/ptype.exp: Likewise.
14317 * gdb.base/structs.exp: Likewise.
14318 * gdb.base/unwindonsignal.exp: Likewise.
14319 * gdb.cp/gdb2495.exp: Likewise.
14320 * gdb.cp/templates.exp: Likewise.
14321 * gdb.cp/virtfunc.exp: Likewise.
14322 * gdb.threads/hand-call-in-threads.exp: Likewise.
14323 * gdb.threads/interrupted-hand-call.exp: Likewise.
14324 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14325
347dc102
TT
143262016-06-10 Tom Tromey <tom@tromey.com>
14327
14328 PR rust/20110:
14329 * gdb.rust/expr.exp: Add test for integer constant larger than
14330 i32.
14331
5e13cf25
BH
143322016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14333
14334 * gdb.fortran/nested-funcs.exp: New.
14335 * gdb.fortran/nested-funcs.f90: New.
14336
bb556f1f
TK
143372016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14338
14339 * gdb.base/examine-backward.c: New file.
14340 * gdb.base/examine-backward.exp: New file.
14341
38b022b4
SM
143422016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14343
14344 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14345 matching.
14346
1b40ec05
TT
143472016-06-02 Tom Tromey <tom@tromey.com>
14348
14349 PR python/18984:
14350 * gdb.python/py-shared.exp: Add solib_name test.
14351
193bd378
SM
143522016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14353
14354 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14355
3326303b
MG
143562016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14357
14358 PR c++/19893
14359 * gdb.dwarf2/implref.exp: Rename to...
14360 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14361 * gdb.dwarf2/implref-array.c: New file.
14362 * gdb.dwarf2/implref-array.exp: Likewise.
14363 * gdb.dwarf2/implref-global.c: Likewise.
14364 * gdb.dwarf2/implref-global.exp: Likewise.
14365 * gdb.dwarf2/implref-struct.c: Likewise.
14366 * gdb.dwarf2/implref-struct.exp: Likewise.
14367
825c8ef2
AT
143682016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14369
14370 * gdb.trace/trace-condition.exp: Add 64bit tests.
14371
2320162a
AT
143722016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14373
14374 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14375 bits types.
14376 (main): Adapt to 8 to 64 bits types.
14377 * gdb.trace/trace-condition.exp: Add new tests.
14378
a7818233
AT
143792016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14380
14381 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14382
0d336466
AT
143832016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14384
14385 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14386 Move condition tests...
14387 * gdb.trace/trace-condition.exp: Here.
14388
7faeb45a
AT
143892016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14390
14391 * gdb.trace/trace-condition.exp: Add counter-case tests.
14392
e385593e
JK
143932016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14394
14395 PR c++/15231
14396 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14397 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14398
744608cc
PA
143992016-05-27 Pedro Alves <palves@redhat.com>
14400
14401 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14402 New procedure.
14403 (top level): Call it, and bail out of DejaGnu is known to be bad.
14404
ac775bf4
AB
144052016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14406
14407 * gdb.base/whatis.c: Extend the test case.
14408 * gdb.base/whatis.exp: Add additional tests.
14409
2bbad2ea
BH
144102016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14411
14412* gdb.fortran/type.f90: Add pointer variable.
14413* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14414
8b70175d
BH
144152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14416
14417 * gdb.fortran/vla-type.exp: Fix testcase name.
14418
86d8a848
BH
144192016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14420
14421 * gdb.fortran/vla-type.exp: Access elements in nested structs.
14422
e188eb36
BH
144232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14424
14425 * gdb.fortran/type.f90: Add nested structures.
14426 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
14427 * gdb.fortran/derived-type.exp: Adapt expected output.
14428 * gdb.fortran/vla-type.exp: Adapt expected output.
14429
9b2db1fd
BH
144302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14431
14432 * gdb.fortran/whatis_type.exp: Adapt expected output.
14433
72b17055
BH
144342016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14435
14436 * gdb.fortran/print_type.exp: Fix expected output.
14437 * gdb.fortran/whatis_type.exp: Fix expected output.
14438
3cd81d8d
BH
144392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14440
14441 * gdb.fortran/whatis_type.exp: Use multi_line.
14442
ddae9462
TT
144432016-05-24 Tom Tromey <tom@tromey.com>
14444
14445 PR python/17386:
14446 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14447 use value as an index.
14448
1957f6b8
TT
144492016-05-23 Tom Tromey <tom@tromey.com>
14450
14451 PR python/17981:
14452 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14453 no-breakpoint case.
14454
026a9174
PA
144552016-05-24 Pedro Alves <palves@redhat.com>
14456
14457 PR gdb/19828
14458 * gdb.threads/clone-attach-detach.c: New file.
14459 * gdb.threads/clone-attach-detach.exp: New file.
14460
e70a7231
FR
144612016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14462
14463 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14464
0f6ed0e0
TT
144652016-05-23 Tom Tromey <tom@tromey.com>
14466
14467 PR python/19438, PR python/18393:
14468 * gdb.python/py-progspace.exp: Add "dir" test.
14469 * gdb.python/py-objfile.exp: Add "dir" test.
14470
ffd19d61
YQ
144712016-05-23 Yao Qi <yao.qi@linaro.org>
14472
14473 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14474 * gdb.arch/thumb2-it.exp: Likewise.
14475
9e8f9b05
SM
144762016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14477
14478 * gdb.mi/mi-threads-interrupt.c: New file.
14479 * gdb.mi/mi-threads-interrupt.exp: New file.
14480
61c6156d
SM
144812016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14482
14483 PR gdb/18077
14484 * gdb.mi/mi-async-run.exp: New file.
14485 * gdb.mi/mi-async-run.c: New file.
14486
67218854
TT
144872016-05-17 Tom Tromey <tom@tromey.com>
14488 Manish Goregaokar <manishsmail@gmail.com>
14489
14490 * lib/rust-support.exp: New file.
14491 * lib/gdb.exp (skip_rust_tests): New proc.
14492 (build_executable_from_specs): Handle rust.
14493 * lib/future.exp (gdb_find_rustc): New proc.
14494 (gdb_default_target_compile): Handle rust.
14495 * gdb.rust/expr.exp: New file.
14496 * gdb.rust/generics.exp: New file.
14497 * gdb.rust/generics.rs: New file.
14498 * gdb.rust/methods.exp: New file.
14499 * gdb.rust/methods.rs: New file.
14500 * gdb.rust/modules.exp: New file.
14501 * gdb.rust/modules.rs: New file.
14502 * gdb.rust/simple.exp: New file.
14503 * gdb.rust/simple.rs: New file.
14504
c44af4eb
TT
145052016-05-17 Tom Tromey <tom@tromey.com>
14506
14507 * gdb.base/default.exp (set language): Add rust.
14508
dcd1f979
TT
145092016-05-17 Tom Tromey <tom@tromey.com>
14510
14511 * gdb.gdb/unittest.exp: New file.
14512
155b7f57
YQ
145132016-05-16 Yao Qi <yao.qi@linaro.org>
14514
14515 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14516 shell_prompt. Update shell_prompt_re.
14517
8ddd5a6c
DE
145182016-05-12 Doug Evans <dje@google.com>
14519
14520 PR symtab/19999
14521 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14522 $options when building executable.
14523 * gdb.dwarf2/fission-loclists-pie.S: New file.
14524 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14525
02e370d9
SM
145262016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14527
14528 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14529 of [is_remote target],
14530
8929ad8b
SM
145312016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14532
14533 * lib/gdb.exp (use_gdb_stub): New procedure.
14534
6c447423
DE
145352016-05-03 Yunlian Jiang <yunlian@google.com>
14536 Doug Evans <dje@google.com>
14537
14538 PR symtab/19914
14539 * gdb.dwarf2/dwp-sepdebug.c: New file.
14540 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14541
444e826c
SM
145422016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14543
14544 * gdb.base/detach.exp: Remove is_remote check.
14545
740feeaa
SM
145462016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14547
14548 * gdb.base/annota-input-while-running.exp: Don't check for
14549 [is_remote target]. Enable annotations after running to main.
14550 Remove unused "set test..." line.
14551
9080ac9d
SM
145522016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14553
14554 * gdb.trace/trace-enable-disable.exp: New file.
14555 * gdb.trace/trace-enable-disable.c: New file.
14556
952ebca5
SM
145572016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14558
14559 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14560 use it in info sharedlibrary test.
14561 * gdb.trace/ftrace-lock.exp: Likewise.
14562 * gdb.trace/ftrace.exp: Likewise.
14563 * gdb.trace/range-stepping.exp: Likewise.
14564 * gdb.trace/trace-break.exp: Likewise.
14565 * gdb.trace/trace-condition.exp: Likewise.
14566 * gdb.trace/trace-mt.exp: Likewise.
14567
d9019901
SM
145682016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14569
14570 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14571 (gdb_load_shlib): ... this.
14572 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14573 gdb_load_shlib.
14574 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14575 * gdb.base/ctxobj.exp: Likewise.
14576 * gdb.base/dprintf-pending.exp: Likewise.
14577 * gdb.base/dso2dso.exp: Likewise.
14578 * gdb.base/fixsection.exp: Likewise.
14579 * gdb.base/gcore-relro.exp: Likewise.
14580 * gdb.base/gdb1555.exp: Likewise.
14581 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14582 * gdb.base/gnu-ifunc.exp: Likewise.
14583 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14584 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14585 * gdb.base/pending.exp: Likewise.
14586 * gdb.base/print-file-var.exp: Likewise.
14587 * gdb.base/print-symbol-loading.exp: Likewise.
14588 * gdb.base/shlib-call.exp: Likewise.
14589 * gdb.base/shreloc.exp: Likewise.
14590 * gdb.base/so-impl-ld.exp: Likewise.
14591 * gdb.base/solib-disc.exp: Likewise.
14592 * gdb.base/solib-nodir.exp: Likewise.
14593 * gdb.base/solib-overlap.exp: Likewise.
14594 * gdb.base/solib-symbol.exp: Likewise.
14595 * gdb.base/solib-weak.exp (do_test): Likewise.
14596 * gdb.base/sym-file.exp: Likewise.
14597 * gdb.base/symtab-search-order.exp: Likewise.
14598 * gdb.base/type-opaque.exp: Likewise.
14599 * gdb.base/unload.exp: Likewise.
14600 * gdb.base/watchpoint-solib.exp: Likewise.
14601 * gdb.compile/compile.exp: Likewise.
14602 * gdb.cp/gdb2384.exp: Likewise.
14603 * gdb.cp/infcall-dlopen.exp: Likewise.
14604 * gdb.cp/re-set-overloaded.exp: Likewise.
14605 * gdb.fortran/library-module.exp: Likewise.
14606 * gdb.opt/solib-intra-step.exp: Likewise.
14607 * gdb.python/py-finish-breakpoint.exp: Likewise.
14608 * gdb.python/py-shared.exp: Likewise.
14609 * gdb.reverse/solib-precsave.exp: Likewise.
14610 * gdb.reverse/solib-reverse.exp: Likewise.
14611 * gdb.server/solib-list.exp: Likewise.
14612 * gdb.threads/dlopen-libpthread.exp: Likewise.
14613 * gdb.threads/tls-shared.exp: Likewise.
14614 * gdb.threads/tls-so_extern.exp: Likewise.
14615 * gdb.trace/change-loc.exp: Likewise.
14616 * gdb.trace/ftrace-lock.exp: Likewise.
14617 * gdb.trace/ftrace.exp: Likewise.
14618 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14619 * gdb.trace/pending.exp: Likewise.
14620 * gdb.trace/range-stepping.exp: Likewise.
14621 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14622 (strace_info_marker): Likewise.
14623 (strace_probe_marker): Likewise.
14624 (strace_trace_on_same_addr): Likewise.
14625 (strace_trace_on_diff_addr): Likewise.
14626 * gdb.trace/trace-break.exp: Likewise.
14627 * gdb.trace/trace-condition.exp: Likewise.
14628 * gdb.trace/trace-mt.exp: Likewise.
14629
fca4cfd9
SM
146302016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14631
14632 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14633 result of gdb_remote_download.
14634 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14635 * gdb.base/dso2dso.exp: Likewise.
14636 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14637 * gdb.base/print-file-var.exp: Likewise.
14638 * gdb.base/shlib-call.exp: Likewise.
14639 * gdb.base/shreloc.exp: Likewise.
14640 * gdb.base/solib-overlap.exp: Likewise.
14641 * gdb.base/solib-weak.exp (do_test): Likewise.
14642 * gdb.base/unload.exp: Likewise.
14643
11cf4ffb
YQ
146442016-04-27 Yao Qi <yao.qi@linaro.org>
14645
14646 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14647 exists.
14648
3e2e34f8
KB
146492016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14650
14651 * vla-type.exp: Print structure from toplevel.
14652
8f07e298
BH
146532016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14654
14655 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14656 of dynamic types.
14657 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14658 of dynamic types.
14659
9920b434
BH
146602016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14661
14662 * gdb.fortran/vla-type.f90: New file.
14663 * gdb.fortran/vla-type.exp: New file.
14664
f3abeff5
YQ
146652016-04-25 Yao Qi <yao.qi@linaro.org>
14666
14667 * gdb.base/branch-to-self.c: New file.
14668 * gdb.base/branch-to-self.exp: New file.
14669
0a5d52f0
YQ
146702016-04-22 Yao Qi <yao.qi@linaro.org>
14671
14672 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14673 more after $hex.
14674
495346f6
YQ
146752016-04-22 Yao Qi <yao.qi@linaro.org>
14676
14677 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14678 * gdb.base/annota3.exp: Likewise.
14679
4a7e075c
YQ
146802016-04-22 Yao Qi <yao.qi@linaro.org>
14681
14682 * gdb.reverse/step-precsave.exp: Do one step and test program
14683 stops in "callee" and do multiple steps until program goes out
14684 of "callee".
14685 * gdb.reverse/step-reverse.exp: Likewise.
14686
5b061e98
YQ
146872016-04-22 Yao Qi <yao.qi@linaro.org>
14688
14689 * gdb.trace/signal.exp: Also pass if
14690 $tracepoint_hits($i) > $iterations.
14691
5c5dc57f
YQ
146922016-04-22 Yao Qi <yao.qi@linaro.org>
14693
14694 * gdb.trace/signal.c: New file.
14695 * gdb.trace/signal.exp: New file.
14696
a55411b9
DE
146972016-04-19 Doug Evans <xdje42@gmail.com>
14698
14699 * gdb.base/bad-file.exp: New file.
14700
a22df60a
MG
147012016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14702
14703 * gdb.dwarf2/implref.exp: New file.
14704
0c13f7e5
BH
147052016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14706
14707 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14708 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14709 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14710 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14711 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14712 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14713 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14714 * lib/fortran.exp (fortran_int4): New procedure.
14715 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14716 (fortran_logical4): Likewise.
14717
9b9b09e9
BH
147182016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14719
14720 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14721
a14d1f4d
BH
147222016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14723
14724 * lib/compiler.c: Add Intel specific preprocessor macros.
14725 * lib/compiler.cc: Likewise.
25d49b86 14726
7d49b1d0
LM
147272016-04-13 Luis Machado <lgustavo@codesourcery.com>
14728
14729 * gdb.server/connect-with-no-symbol-file.c: New file.
14730 * gdb.server/connect-with-no-symbol-file.exp: New file.
14731
8392fa22
SM
147322016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14733
14734 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14735
8c4c4aeb
SM
147362016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14737
14738 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14739 standard output directory.
14740
45e3745e
AT
147412016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14742
14743 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14744
e26b7e41
MM
147452016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14746
14747 * gdb.btrace/instruction_history.c (loop): Add declaration.
14748
8ce09462
AT
147492016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14750
14751 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14752
2e88a1ea
SM
147532016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14754
14755 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14756 parentheses to print.
14757 (continue_handler): Likewise.
14758
f48e22e3
SM
147592016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14760
14761 * gdb.server/solib-list.exp: Remove is_remote check.
14762 Pass shlib= to gdb_compile. Don't link shared library with
14763 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14764 Run binary filename through "readlink -f" on the target.
14765
096be756
PA
147662016-04-08 Pedro Alves <palves@redhat.com>
14767
14768 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14769 interpreter filename as argument to gdbserver_spawn.
14770 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14771 Return empty if $last_loaded_file does not exist.
14772
06500533
JK
147732016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14774
14775 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14776 * gdb.base/jit-main.c: Use exit after usage.
14777
2d35e871
JK
147782016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14779
14780 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14781 GDBHISTSIZE prior to the tests.
14782 * gdb.base/gdbinit-history.exp: Likewise.
14783
147842016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
14785
14786 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14787 instead of build_executable. Use gdb_load_shlibs.
14788
c8064e7e
YQ
147892016-04-07 Yao Qi <yao.qi@linaro.org>
14790
14791 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14792 Execute "si" command.
14793
bde47561
YQ
147942016-04-07 Yao Qi <yao.qi@linaro.org>
14795
14796 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14797 number instead of the comments on some line.
14798
b16f8a3b
DB
147992016-04-06 Don Breazeal <donb@codesourcery.com>
14800
14801 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14802 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14803
c2f901df
SM
148042016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14805
14806 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14807 standard_output_file. Remove unused binfile variable.
14808
ac17fda0
CU
148092016-04-05 Catalin Udma <catalin.udma@freescale.com>
14810
14811 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14812 * gdb.python/py-mi-objfile.exp: Match "list main" output
14813 in console format.
14814
03a8c4df
SM
148152016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14816
14817 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14818 absolute.
14819
6e774b13
SM
148202016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14821
14822 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14823 absolute.
14824 * gdb.trace/ftrace.exp: Likewise.
14825 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14826 targets as well.
14827 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14828 (gdb_load_shlibs): Copy libraries to test directory when testing
14829 natively. Only set solib-search-path if testing remotely.
14830 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14831
7817ea46
SM
148322016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14833
14834 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14835 gdb_download. Use it even if the target is not remote.
14836 * gdb.base/jit.exp (compile_jit_test): Likewise.
14837 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14838 output directory if the destination board is local, otherwise use
14839 the standard remote_download from DejaGnu.
14840 (gdb_download): Remove.
14841 (gdb_load_shlibs): Use gdb_remote_download instead of
14842 gdb_download.
14843 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14844 Use gdb_remote_download instead of gdb_download. Use it even if
14845 the target is not remote.
14846 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14847 instead of gdb_download.
14848
7beb7f68
SM
148492016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14850
14851 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14852 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14853 run.
14854
cc63428a
AV
148552016-04-01 Artemiy Volkov <artemiyv@acm.org>
14856
14857 PR gdb/19820
14858 * gdb.base/printcmds.exp: Add artificial arrays tests.
14859
64cdf930
PA
148602016-03-31 Pedro Alves <palves@redhat.com>
14861
14862 PR gdb/19858
14863 * gdb.base/jit-main.c: Include unistd.h.
14864 (ATTACH): Define to 0 if not already defined.
14865 (wait_for_gdb, mypid): New globals.
14866 (WAIT_FOR_GDB): New macro.
14867 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14868 some breakpoint locations.
14869 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14870 New procedures.
14871 (one_jit_test): Add REATTACH parameter, and handle it. Use
14872 continue_to_test_location.
14873 (top level): Test attach, and adjusts calls to one_jit_test.
14874
40dea8cb
PA
148752016-03-31 Pedro Alves <palves@redhat.com>
14876
14877 PR gdb/19858
14878 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14879 BINSUFFIX parameter, and handle it.
14880 (top level): Adjust calls compile_jit_test.
14881
e7ea3ec7
CU
148822016-03-31 Catalin Udma <catalin.udma@freescale.com>
14883
14884 PR python/19743
14885 * gdb.python/py-mi-events-gdb.py: New file.
14886 * gdb.python/py-mi-events.c: New file.
14887 * gdb.python/py-mi-events.exp: New file.
14888
e6359af3
YQ
148892016-03-30 Yao Qi <yao.qi@linaro.org>
14890
14891 * gdb.reverse/until-precsave.exp: Match function name only.
14892 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14893 Move malloc to a condition block.
14894 * gdb.reverse/until-reverse.exp: Match function name only.
14895
a4105d04
MK
148962016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14897
14898 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14899 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14900 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14901 variable for GPR 0 instead of assuming it is register 0.
14902 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14903 * lib/trace-support.exp: Add s390 registers.
14904
bfa6adb9
YQ
149052016-03-29 Yao Qi <yao.qi@linaro.org>
14906
14907 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14908
1e6697ea
YQ
149092016-03-24 Yao Qi <yao.qi@linaro.org>
14910
14911 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14912 test message.
14913
64bcd522
AA
149142016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14915
14916 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14917 maintaining separate logic for constructing the output path.
14918
7868401b
DB
149192016-03-16 Don Breazeal <donb@codesourcery.com>
14920
14921 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14922 Retry fork and waitpid on interrupted system call errors.
14923 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14924 Use with_timeout_factor to increase timeout by factor of 10.
14925
1cafadb4
DB
149262016-03-15 Don Breazeal <donb@codesourcery.com>
14927
14928 * gdb.cp/scope-err.cc: New test program.
14929 * gdb.cp/scope-err.exp: New test script.
14930 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14931 lines and "set breakpoint here" comment.
14932 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14933 Fixed some whitespace and format issues.
14934 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14935 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14936
81516450
DE
149372016-03-15 Doug Evans <dje@google.com>
14938
14939 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14940 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14941 All callers updated. Add tests for enums, mixed flags register.
14942
aa52b601
DE
149432016-03-15 Doug Evans <dje@google.com>
14944
14945 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14946 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14947
fa4ff313
SM
149482016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14949
14950 * gdb.base/default.exp: Add $_as_string to the list of expected
14951 convenience functions.
14952
f2403c39
AB
149532016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14954
14955 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14956
f2f3ccb9
SM
149572016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14958
14959 * gdb.python/py-as-string.exp: New file.
14960 * gdb.python/py-as-string.c: New file.
14961
00dbd492
PA
149622016-03-09 Pedro Alves <palves@redhat.com>
14963
14964 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14965 signal" -> "Thread NN received signal" output change.
14966 * gdb.threads/ia64-sigill.exp: Likewise.
14967 * gdb.threads/linux-dp.exp: Likewise.
14968 * gdb.threads/manythreads.exp: Likewise.
14969 * gdb.threads/pending-step.exp: Likewise.
14970 * gdb.threads/print-threads.exp: Likewise.
14971 * gdb.threads/sigstep-threads.exp: Likewise.
14972 * gdb.threads/staticthreads.exp: Likewise.
14973 * gdb.threads/tls.exp: Likewise.
14974
1e6697ea
YQ
149752016-03-09 Pedro Alves <palves@redhat.com>
14976
14977 * gdb.base/command-line-input.exp: New file.
14978
b04fd3be
MK
149792016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14980
14981 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14982 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14983 * gdb.trace/pending.exp: Accept leading dot before function name.
14984 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14985 * lib/trace-support.exp: Set registers for ppc.
14986
98fa59e9
MK
149872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14988
14989 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14990 use it for disassembly; accept .main in addition to main in backtrace.
14991
f77198c8
MK
149922016-03-09 Wei-cheng Wang <cole945@gmail.com>
14993 Marcin Kościelnicki <koriakin@0x04.net>
14994
14995 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14996 (gdb_recursion_test_ptr): New global variable.
14997 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14998 gdb_recursion_test.
14999 (gdb_c_test): Ditto.
15000
ba84e0da
MK
150012016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15002
15003 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15004 ordering.
15005
4366d36e
MK
150062016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15007
15008 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15009 (bar): Add bar_start_lbl label.
15010 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15011 of foo/bar for emitting DWARF and tracing.
15012
5eb264df
SDJ
150132016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15014
15015 * analyze-racy-logs.py: Set executable bit.
15016
fb6a751f
SDJ
150172016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15018
15019 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15020 (CHECK_TARGET_TMP): Likewise.
15021 (check-single-racy): New rule.
15022 (check-parallel-racy): Likewise.
15023 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15024 (do-check-parallel-racy): New rule.
15025 (check-racy/%.exp): Likewise.
15026 * README (Racy testcases): New section.
15027 * analyze-racy-logs.py: New file.
15028
bdf7e230
DE
150292016-03-03 Doug Evans <dje@google.com>
15030
15031 * gdb.base/skip.exp: Use with_test_prefix.
15032
4719d415
YQ
150332016-03-03 Yao Qi <yao.qi@linaro.org>
15034
15035 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15036 Invoke step_over_syscall "clone" and break_cond_on_syscall
15037 "clone".
15038 * gdb.base/step-over-clone.c: New file.
15039
ea507862
YQ
150402016-03-03 Yao Qi <yao.qi@linaro.org>
15041
15042 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15043 code format.
15044
8fc8cbda
YQ
150452016-03-03 Yao Qi <yao.qi@linaro.org>
15046
15047 * gdb.base/disp-step-fork.c: Rename to ...
15048 * gdb.base/step-over-fork.c: ... it. New file.
15049 * gdb.base/disp-step-vfork.c: Rename to ...
15050 * gdb.base/step-over-vfork.c: ... it. New file.
15051 * gdb.base/disp-step-syscall.exp: Rename to ...
15052 * gdb.base/step-over-syscall.exp: ... it. New file.
15053 (disp_step_cross_syscall): Rename to ...
15054 (step_over_syscall): ... it.
15055
92fa70b0
YQ
150562016-03-03 Yao Qi <yao.qi@linaro.org>
15057
15058 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15059 If target supports condition evaluation on target, invoke
15060 break_cond_on_syscall for fork and vfork.
15061
e197ad3c
YQ
150622016-03-03 Yao Qi <yao.qi@linaro.org>
15063
15064 * gdb.base/disp-step-syscall.exp: Don't invoke
15065 support_displaced_stepping.
15066 (disp_step_cross_syscall): Test with displaced stepping off and
15067 on if supported.
15068
0b47da9f
YQ
150692016-03-03 Yao Qi <yao.qi@linaro.org>
15070
15071 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15072 proc.
15073 (setup): New proc.
15074 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15075 and setup.
15076
065ab6dc
BH
150772016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15078
15079 * gdb.fortran/vla-history.exp: Remove breakpoint.
15080
07e448ad 150812016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15082
25d49b86
PA
15083 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15084 exceeds timeout.
07e448ad 15085
9ac2d526 150862016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15087
25d49b86
PA
15088 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15089 breakpoint.
9ac2d526 15090
17807369
BH
150912016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15092
15093 * gdb.mi/vla.f90: Nullify pointer after declaration.
15094
86e501af
PA
150952016-03-01 Pedro Alves <palves@redhat.com>
15096
15097 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15098
1e903e32
PA
150992016-03-01 Pedro Alves <palves@redhat.com>
15100
15101 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15102 before anything else.
15103 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15104 _GNU_SOURCE here.
15105 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15106 before anything else.
15107 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15108
6ccb54e2
PA
151092016-03-01 Pedro Alves <palves@redhat.com>
15110
15111 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15112
30ca9da1
YQ
151132016-03-01 Yao Qi <yao.qi@linaro.org>
15114
15115 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15116 prepare_for_testing.
15117
dc856b38
YQ
151182016-03-01 Yao Qi <yao.qi@linaro.org>
15119
15120 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15121
4a932159
AA
151222016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15123
15124 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15125 manually constructing the output path.
15126
f2489477
AA
151272016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15128
15129 * gdb.arch/s390-stackless.S: New.
15130 * gdb.arch/s390-stackless.exp: New.
15131
38899f16
IB
151322016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15133
15134 * gdb.dlang/circular.c: New file.
15135 * gdb.dlang/circular.exp: New file.
15136
9fde51ed
YQ
151372016-02-26 Yao Qi <yao.qi@linaro.org>
15138
15139 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15140 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15141 (testcases): Update.
15142
ce90fefe
YQ
151432016-02-26 Yao Qi <yao.qi@linaro.org>
15144
15145 * gdb.reverse/aarch64.c: Rename to ...
15146 * gdb.reverse/insn-reverse.c: ... it.
15147 * gdb.reverse/aarch64.exp: Rename to ...
15148 * gdb.reverse/insn-reverse.exp: ... it.
15149
3263bceb
YQ
151502016-02-26 Yao Qi <yao.qi@linaro.org>
15151
15152 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15153 (testcase_ftype): New.
15154 (testcases): New array.
15155 (n_testcases): New.
15156 (main): Call each element in testcases.
15157 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15158 (read_testcase): New.
15159 Do the tests in a loop.
15160
6cb59ff1
YQ
151612016-02-25 Yao Qi <yao.qi@linaro.org>
15162
15163 * gdb.base/branches.c: Remove.
15164
ae91f625
MK
151652016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15166
15167 PR gdb/13808
15168 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15169
678b48b7
MK
151702016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15171
15172 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15173
7337a6f2
MK
151742016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15175
15176 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15177 change x86_64 call_insn to 'callq'.
15178
861ca91f
AT
151792016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15180
15181 * gdb.trace/tfile-avx.c: Move to...
15182 * gdb.trace/tracefile-pseudo-reg.c: Here.
15183 * gdb.trace/tfile-avx.exp: Move to...
15184 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15185
bf74e428
GB
151862016-02-24 Gary Benson <gbenson@redhat.com>
15187
15188 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15189 message on attach.
15190
cce0e923
DE
151912016-02-23 Doug Evans <dje@google.com>
15192
15193 * gdb.base/skip.c (test_skip): New function.
15194 (end_test_skip_file_and_function): New function.
15195 (test_skip_file_and_function): New function.
15196 * gdb.base/skip1.c (test_skip): New function.
15197 (skip1_test_skip_file_and_function): New function.
15198 * gdb.base/skip.exp: Add tests for new skip options.
15199 * gdb.base/skip-solib.exp: Update expected output.
15200 * gdb.perf/skip-command.cc: New file.
15201 * gdb.perf/skip-command.exp: New file.
15202 * gdb.perf/skip-command.py: New file.
15203
4000e47e
MK
152042016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15205
15206 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15207 info registers pattern.
15208
24f75ead
IB
152092016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15210
15211 * lib/future.exp: Add D support.
15212 (gdb_find_gdc): New proc.
15213 (gdb_default_target_compile): Add D support.
15214
fbb7bcbe
WW
152152016-02-18 Wei-cheng Wang <cole945@gmail.com>
15216
15217 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15218 user+system time.
15219 (trace_speed_test): Determine the iteration count for a time
15220 between 15..30 seconds.
15221
012b3a21
WT
152222016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15223
15224 * gdb.arch/i386-mpx-sigsegv.c: New file.
15225 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15226 * gdb.arch/i386-mpx-simple_segv.c: New file.
15227 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15228
2d5189bd
YQ
152292016-02-18 Yao Qi <yao.qi@linaro.org>
15230
15231 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15232 Don't call setup_kfail.
15233
40fb20d0
YQ
152342016-02-18 Yao Qi <yao.qi@linaro.org>
15235
15236 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15237 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15238
21b1f8d2
DE
152392016-02-16 Doug Evans <dje@google.com>
15240
15241 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15242 * gdb.base/skip1.c: Ditto.
15243 * gdb.base/skip.exp: Whitespace cleanup.
15244
4041ed77
DB
152452016-02-16 Don Breazeal <donb@codesourcery.com>
15246
15247 PR remote/19496
15248 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15249 Remove kfail for PR remote/19496.
15250
c4ef31bf
SM
152512016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15252
15253 * lib/gdb.exp (standard_temp_file): Return a path specific to
15254 the runtest invocation.
15255
266b65b3
SM
152562016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15257
15258 * gdb.trace/save-trace.exp: Change relative path to be in the
15259 standard output directory.
15260
a7a0a6a9
JK
152612016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15262
15263 * gdb.arch/i386-prologue.c: Add missing prototypes.
15264
c99dbb42
JK
152652016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15266
15267 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15268 * gdb.arch/i386-prologue.exp: Likewise.
15269 * gdb.arch/i386-size.exp: Likewise.
15270
aa480355
SM
152712016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15272
15273 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15274 define object file path.
15275 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15276 file path.
15277 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15278 standard_output_file to define binfile.
15279
ba881f50
JK
152802016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15281
15282 Fix compatibility with recent gfortran-5.3.1.
15283 * gdb.fortran/vla-history.exp (print vla1 allocated)
15284 (print vla2 allocated, print $2, print $3): Remove
15285 (print $4): Rename to ...
15286 (print $2): ... here.
15287 (print $9): Rename to ...
15288 (print $5): ... here.
15289 (print $10): Rename to ...
15290 (print $6): ... here.
15291 * gdb.fortran/vla.f90: Add pvla initialization.
15292
e9fb005c
JK
152932016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15294
15295 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15296 New test.
15297 * gdb.fortran/vla-value-sub.exp: Likewise.
15298
e44e00ff
MK
152992016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15300
15301 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15302
97e94151
SM
153032016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15304
15305 * i386-biarch-core.exp: Define corefile using
15306 standard_output_file.
15307
01113bc1
YQ
153082016-02-12 Yao Qi <yao.qi@linaro.org>
15309
15310 * gdb.arch/arm-single-step-kernel-helper.c: New.
15311 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15312
33b4777c
MM
153132016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15314
15315 * gdb.btrace/tailcall-only.exp: New.
15316 * gdb.btrace/tailcall-only.c: New.
15317 * gdb.btrace/x86_64-tailcall-only.S: New.
15318 * gdb.btrace/i686-tailcall-only.S: New.
15319
acc23c11
PA
153202016-02-11 Pedro Alves <palves@redhat.com>
15321
15322 * README (Parallel testing): Add missing double quotes.
15323
e352bf0a
PA
153242016-02-11 Pedro Alves <palves@redhat.com>
15325
15326 * README (Parallel testing): New section.
15327 (GDB_PARALLEL): Rewrite.
15328 (FORCE_PARALLEL): Document.
15329
9f5fed78
MK
153302016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15331
15332 * gdb.trace/tfile-avx.c: New test.
15333 * gdb.trace/tfile-avx.exp: New test.
15334
9ef9e6a6
KS
153352016-02-09 Keith Seitz <keiths@redhat.com>
15336
15337 PR breakpoints/19546
15338 * gdb.base/infcall-exec.c: New file.
15339 * gdb.base/infcall-exec2.c: New file.
15340 * gdb.base/infcall-exec.exp: New file.
15341
a96e36da
KS
153422016-02-09 Keith Seitz <keiths@redhat.com>
15343
15344 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15345 (toplevel): Call test_bkpt_address.
15346
9f61929f
KS
153472016-02-09 Keith Seitz <keiths@redhat.com>
15348
15349 PR python/19506
15350 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15351 (toplevel): Call test_bkpt_address.
15352
1e94266c
SM
153532016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15354
15355 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15356 to AC_OUTPUT.
15357 * configure: Regenerate.
15358
2a7f3dff
PA
153592016-02-09 Pedro Alves <palves@redhat.com>
15360
15361 PR breakpoints/19548
15362 * gdb.base/execl-update-breakpoints.c (some_function): New
15363 function.
15364 (main): Call it.
15365 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15366 Tighten expected GDB output.
15367
2151ccc5
SM
153682016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15369
15370 * Makefile.in (ALL_SUBDIRS): Remove.
15371 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15372 (distclean maintainer-clean realclean): Likewise.
15373 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15374 * configure: Regenerate.
15375 * gdb.ada/Makefile.in: Delete.
15376 * gdb.arch/Makefile.in: Likewise.
15377 * gdb.asm/Makefile.in: Likewise.
15378 * gdb.base/Makefile.in: Likewise.
15379 * gdb.btrace/Makefile.in: Likewise.
15380 * gdb.cell/Makefile.in: Likewise.
15381 * gdb.compile/Makefile.in: Likewise.
15382 * gdb.cp/Makefile.in: Likewise.
15383 * gdb.disasm/Makefile.in: Likewise.
15384 * gdb.dlang/Makefile.in: Likewise.
15385 * gdb.dwarf2/Makefile.in: Likewise.
15386 * gdb.fortran/Makefile.in: Likewise.
15387 * gdb.gdb/Makefile.in: Likewise.
15388 * gdb.go/Makefile.in: Likewise.
15389 * gdb.guile/Makefile.in: Likewise.
15390 * gdb.java/Makefile.in: Likewise.
15391 * gdb.linespec/Makefile.in: Likewise.
15392 * gdb.mi/Makefile.in: Likewise.
15393 * gdb.modula2/Makefile.in: Likewise.
15394 * gdb.multi/Makefile.in: Likewise.
15395 * gdb.objc/Makefile.in: Likewise.
15396 * gdb.opencl/Makefile.in: Likewise.
15397 * gdb.opt/Makefile.in: Likewise.
15398 * gdb.pascal/Makefile.in: Likewise.
15399 * gdb.perf/Makefile.in: Likewise.
15400 * gdb.python/Makefile.in: Likewise.
15401 * gdb.reverse/Makefile.in: Likewise.
15402 * gdb.server/Makefile.in: Likewise.
15403 * gdb.stabs/Makefile.in: Likewise.
15404 * gdb.threads/Makefile.in: Likewise.
15405 * gdb.trace/Makefile.in: Likewise.
15406 * gdb.xml/Makefile.in: Likewise.
15407 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15408 GDB_PARALLEL.
15409 (standard_output_file): Remove check for GDB_PARALLEL, always
15410 return path in outputs/$subdir/$testname.
15411
437277d4
SM
154122016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15413
15414 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15415 (site.exp): Assign abs_srcdir to tcl's srcdir.
15416
31d913c7
YQ
154172016-02-04 Yao Qi <yao.qi@linaro.org>
15418
15419 * gdb.base/foll-exec-mode.c: Include limits.h.
15420 (main): Add parameters argc and argv. Get directory from
15421 argv[0].
15422 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
15423 compilation.
15424 * gdb.base/foll-exec.c: Include limits.h.
15425 (main): Add parameters argc and argv.
15426 Get directory from argv[0].
15427 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15428 Adjust tests on the number of lines as source code changed.
15429 * gdb.base/foll-vfork-exit.c: Include limits.h.
15430 (main): Add one line of statement before vfork.
15431 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15432 (main): Add parameters argc and argv. Get directory from
15433 argv[0].
15434 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15435 (setup_gdb): Set tbreak to skip some source lines.
15436 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15437 (main): Add parameters argc and argv. Get directory from
15438 argv[0].
15439 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15440 compilation.
15441 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15442 (main): Add parameters argc and argv. Get directory from
15443 argv[0].
15444 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15445 compilation.
15446
9482b9fb
DE
154472016-02-01 Doug Evans <dje@google.com>
15448
15449 * gdb.base/skip.exp: Clean up multiple references to same test name.
15450
6b2e4f10
PA
154512016-02-01 Pedro Alves <palves@redhat.com>
15452
ccb6afd6 15453 PR remote/19496
6b2e4f10
PA
15454 * gdb.threads/forking-threads-plus-breakpoint.exp
15455 (displaced_stepping_supported): New global.
15456 (probe_displaced_stepping_support): New procedure.
15457 (do_test): Add 'displaced' parameter, and use it.
15458 (top level): Check for displaced stepping support. Add displaced
15459 stepping on/off testing axis.
15460
37a8db1a
AB
154612016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15462
15463 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15464 pointer. Don't perform further tests on the unassociated pointer
15465 if the first test fails.
15466
5fdf6324
AB
154672016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15468
15469 * gdb.base/max-value-size.c: New file.
15470 * gdb.base/max-value-size.exp: New file.
15471 * gdb.base/huge.exp: Disable max-value-size for this test.
15472
935c6144
IB
154732016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15474
15475 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15476
7fe8399d
YQ
154772016-01-28 Yao Qi <yao.qi@linaro.org>
15478
15479 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15480
a2077e25
PA
154812016-01-25 Pedro Alves <palves@redhat.com>
15482
15483 PR threads/19461
15484 * gdb.base/fork-running-state.c: New file.
15485 * gdb.base/fork-running-state.exp: New file.
15486
1d2736d4
PA
154872016-01-25 Pedro Alves <palves@redhat.com>
15488
15489 PR gdb/19494
15490 * gdb.base/catch-fork-kill.c: New file.
15491 * gdb.base/catch-fork-kill.exp: New file.
15492
f1da4b11
PA
154932016-01-25 Pedro Alves <palves@redhat.com>
15494
15495 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15496 Delete, moved to lib/gdb.exp.
15497 * gdb.threads/forking-threads-plus-breakpoint.exp
15498 (foreach_with_prefix): Likewise.
15499 * gdb.threads/process-dies-while-handling-bp.exp
15500 (foreach_with_prefix): Likewise.
15501 * lib/gdb.exp (foreach_with_prefix): New procedure.
15502
45f38546
MK
155032016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15504
15505 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15506 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15507
dc29a1ce
MK
155082016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15509
15510 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15511 endian targets.
15512
092127d7
JK
155132016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15514 Pedro Alves <palves@redhat.com>
15515
15516 Fix testsuite compatibility with Guile.
15517 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15518 number.
15519
31d765d3
JK
155202016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15521
15522 Fix testsuite compatibility with Guile.
15523 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15524 (thread 1): New test for backtrace through signal handler.
15525
1ac78c04
YQ
155262016-01-22 Yao Qi <yao.qi@linaro.org>
15527
15528 PR testsuite/19491
15529 * gdb.base/multi-forks.c: Include
15530 ../lib/unbuffer_output.c
15531 (main): Call gdb_unbuffer_output.
15532
4f5946a8
DE
155332016-01-21 Doug Evans <dje@google.com>
15534
15535 * lib/ada.exp (gdb_compile_ada): Fix typo.
15536
305e13e6
JB
155372016-01-21 Joel Brobecker <brobecker@adacore.com>
15538
15539 * gdb.base/break-fun-addr.exp: New file.
15540 * gdb.base/break-fun-addr1.c: New file.
15541 * gdb.base/break-fun-addr2.c: New file.
15542
5f5dfff6
SM
155432016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15544
15545 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15546 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15547 enum flag values.
15548
fd356fa2
AA
155492016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15550
15551 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15552 when GDB can not set the vector return value. Add more comments
15553 for clarification.
15554
9df22175
AT
155552016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15556
15557 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15558 command.
15559
41d1845e
SM
155602016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15561
15562 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15563
01ac6840
SM
155642016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15565
15566 * Makefile.in (check-single): Pass --status to runtest.
15567 (check/%.exp): Likewise.
15568
155692016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15570
15571 * Makefile.in (check-parallel): Propagate return code from make
15572 do-check-parallel.
15573
bd0a71fa
MK
155742016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15575
15576 * gdb.trace/ftrace.exp: Fix expected message on continue.
15577 * gdb.trace/pending.exp: Fix expected message on continue.
15578 * gdb.trace/trace-break.exp: Fix expected message on continue.
15579
8bcbad33
SM
155802016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15581
15582 * lib/gdb.exp (gdb_test): Remove unused global references.
15583
f303dbd6
PA
155842016-01-18 Pedro Alves <palves@redhat.com>
15585
15586 * gdb.base/async-shell.exp: Adjust expected output.
15587 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15588 * gdb.base/siginfo-thread.exp: Adjust expected output.
15589 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15590 * gdb.java/jnpe.exp: Adjust expected output.
15591 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15592 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15593 * gdb.threads/leader-exit.exp: Adjust expected output.
15594 * gdb.threads/manythreads.exp: Adjust expected output.
15595 * gdb.threads/pthreads.exp: Adjust expected output.
15596 * gdb.threads/schedlock.exp: Adjust expected output.
15597 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15598 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15599 expected output.
15600 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15601 output.
15602 * gdb.threads/sigthread.exp: Adjust expected output.
15603 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15604
b2789696
YQ
156052016-01-18 Yao Qi <yao.qi@linaro.org>
15606
15607 * gdb.guile/scm-section-script.c: Replace @progbits with
15608 %progbits.
15609 * gdb.python/py-section-script.c: Likewise.
15610
71ef29a8
PA
156112016-01-15 Pedro Alves <palves@redhat.com>
15612
15613 * gdb.multi/tids.exp: Test star wildcard ranges.
15614
3f5b7598
PA
156152016-01-15 Pedro Alves <palves@redhat.com>
15616
15617 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15618 command from "thread apply" invocation.
15619 (thr_apply_info_thr_invalid): Default the expected output to the
15620 input tid list.
15621 (top level): Add tests that use convenience variables. Add tests
15622 for "thread apply" with a valid TID list, but missing the command.
15623
663f6d42
PA
156242016-01-13 Pedro Alves <palves@redhat.com>
15625
15626 * gdb.base/default.exp: Expect $_gthread as well.
15627 * gdb.multi/tids.exp: Test $_gthread.
15628 * gdb.threads/thread-specific.exp: Test $_gthread.
15629
c84f6bbf
PA
156302016-01-13 Pedro Alves <palves@redhat.com>
15631
15632 * gdb.multi/tids.exp: Test "info threads -gid".
15633
22a02324
PA
156342016-01-13 Pedro Alves <palves@redhat.com>
15635
15636 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15637 Breakpoint.thread.
15638 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15639
5d5658a1
PA
156402016-01-07 Pedro Alves <palves@redhat.com>
15641
15642 * gdb.base/break.exp: Adjust to output changes.
15643 * gdb.base/hbreak2.exp: Likewise.
15644 * gdb.base/sepdebug.exp: Likewise.
15645 * gdb.base/watch_thread_num.exp: Likewise.
15646 * gdb.linespec/keywords.exp: Likewise.
15647 * gdb.multi/info-threads.exp: Likewise.
15648 * gdb.threads/thread-find.exp: Likewise.
15649 * gdb.multi/tids.c: New file.
15650 * gdb.multi/tids.exp: New file.
15651
84654457
PA
156522016-01-13 Pedro Alves <palves@redhat.com>
15653
15654 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15655
e3940304
PA
156562016-01-13 Pedro Alves <palves@redhat.com>
15657
15658 * gdb.base/default.exp: Expect $_inferior as well.
15659 * gdb.multi/base.exp: Test $_inferior.
15660
a911d87a
PA
156612016-01-13 Pedro Alves <palves@redhat.com>
15662
15663 PR breakpoints/19388
15664 * gdb.base/catch-signal-siginfo-cond.c: New file.
15665 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15666
82075af2
JS
156672016-01-12 Josh Stone <jistone@redhat.com>
15668 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15669
15670 * gdb.base/catch-syscall.c (do_execve): New variable.
15671 (main): Conditionally trigger an execve.
15672 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15673 (test_catch_syscall_execve): New, check entry/return across execve.
15674 (do_syscall_tests): Call test_catch_syscall_execve.
15675
e46eeedd
PA
156762016-01-12 Pedro Alves <palves@redhat.com>
15677
15678 * gdb.base/random-signal.exp (do_test): New procedure, with body
15679 of testcase moved in.
15680
01d8c27e
JK
156812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15682 Pedro Alves <palves@redhat.com>
15683
15684 * gdb.base/funcargs.exp (finish from indirectly called function):
15685 Reintroduce the case for 'First'.
15686
9a706302
JK
156872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15688 Pedro Alves <palves@redhat.com>
15689
15690 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15691 (tcatch_vfork_then_child_follow_exec)
15692 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15693 identification.
15694
c0ecb95f
JK
156952016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15696
15697 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15698 and repeats to unlimited.
15699 * gdb.python/py-value.exp: Likewise.
15700 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15701 and repeats to unlimited.
15702
6cfc1fcb
JK
157032016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15704
15705 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15706 and reordering the functions.
15707 * gdb.multi/hangout.c: Likewise.
15708 * gdb.multi/hello.c: Likewise.
15709
582a1b00
SM
157102016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15711
15712 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15713 absolute.
15714 (SingleStatisticTestResult.report): Use dict.keys instead of
15715 dict.iterkeys.
15716
79bc59cb
PA
157172016-01-06 Pedro Alves <palves@redhat.com>
15718
15719 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15720
43368e1d
MM
157212016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15722
15723 * gdb.btrace/dlopen.exp: New.
15724 * gdb.btrace/dlopen.c: New.
15725 * gdb.btrace/dlopen-dso.c: New.
15726
79fad5b8
SL
157272015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15728
15729 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15730 PATTERN argument is optional.
15731
ab8314b3
JB
157322015-12-24 Joel Brobecker <brobecker@adacore.com>
15733
15734 * lib/ada.exp (target_compile_ada_from_dir): New function.
15735 (gdb_compile_ada): Reimplement avoiding the use of project files.
15736 * gdb.ada/gnat_ada.gpr: Delete.
15737 * gdb.ada/cond_lang.exp: Adjust test to make path before
15738 filename optional.
15739 * gdb.ada/small_reg_param.exp: Likewise.
15740
fe33faff
SM
157412015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15742
15743 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15744
6d265cb4
TP
157452015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15746
15747 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15748 case.
15749
10125099
SM
157502015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15751
15752 * gdb.base/break.exp: Remove dead code.
15753 * gdb.base/sepdebug.exp: Likewise.
15754
3ca22649
SM
157552015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15756
15757 * gdb.asm/asm-source.exp: Remove HP-UX references.
15758 * gdb.base/annota1.exp: Likewise.
15759 * gdb.base/annota3.exp: Likewise.
15760 * gdb.base/attach.exp: Likewise.
15761 * gdb.base/bigcore.exp: Likewise.
15762 * gdb.base/break.exp: Likewise.
15763 * gdb.base/call-ar-st.exp: Likewise.
15764 * gdb.base/callfuncs.exp: Likewise.
15765 * gdb.base/catch-fork-static.exp: Likewise.
15766 * gdb.base/display.exp: Likewise.
15767 * gdb.base/foll-exec-mode.exp: Likewise.
15768 * gdb.base/foll-exec.exp: Likewise.
15769 * gdb.base/foll-fork.exp: Likewise.
15770 * gdb.base/foll-vfork.exp: Likewise.
15771 * gdb.base/funcargs.exp: Likewise.
15772 * gdb.base/hbreak2.exp: Likewise.
15773 * gdb.base/inferior-died.exp: Likewise.
15774 * gdb.base/interrupt.exp: Likewise.
15775 * gdb.base/multi-forks.exp: Likewise.
15776 * gdb.base/nodebug.exp: Likewise.
15777 * gdb.base/sepdebug.exp: Likewise.
15778 * gdb.base/solib1.c: Likewise.
15779 * gdb.base/step-test.exp: Likewise.
15780 * gdb.mi/non-stop.c: Likewise.
15781 * gdb.mi/pthreads.c: Likewise.
15782 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15783 * gdb.threads/pthreads.c: Likewise.
15784 * gdb.threads/staticthreads.exp: Likewise.
15785 * lib/future.exp: Likewise.
15786 * lib/gdb.exp: Likewise.
15787 * gdb.base/so-indr-cl.c: Remove.
15788 * gdb.base/so-indr-cl.exp: Likewise.
15789 * gdb.base/solib.c: Likewise.
15790 * gdb.base/solib.exp: Likewise.
15791 * gdb.base/solib2.c: Likewise.
15792
b6304613
SM
157932015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15794
15795 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15796 * gdb.base/call-ar-st.exp: Likewise.
15797 * gdb.base/callfuncs.exp: Likewise.
15798 * gdb.base/condbreak.exp: Likewise.
15799 * gdb.base/constvars.exp: Likewise.
15800 * gdb.base/hbreak2.exp: Likewise.
15801 * gdb.base/langs.exp: Likewise.
15802 * gdb.base/list.exp: Likewise.
15803 * gdb.base/long_long.exp: Likewise.
15804 * gdb.base/ptype.exp: Likewise.
15805 * gdb.base/scope.exp: Likewise.
15806 * gdb.base/signals.exp: Likewise.
15807 * gdb.base/so-impl-ld.exp: Likewise.
15808 * gdb.base/varargs.exp: Likewise.
15809 * gdb.base/volatile.exp: Likewise.
15810 * gdb.base/whatis.exp: Likewise.
15811 * gdb.cp/cplusfuncs.exp: Likewise.
15812 * gdb.cp/inherit.exp: Likewise.
15813 * gdb.cp/local.exp: Likewise.
15814 * gdb.cp/member-ptr.exp: Likewise.
15815 * gdb.cp/method.exp: Likewise.
15816 * gdb.cp/overload.exp: Likewise.
15817 * gdb.cp/templates.exp: Likewise.
15818 * gdb.stabs/weird.exp: Likewise.
15819 * lib/compiler.c: Likewise.
15820 * lib/compiler.cc: Likewise.
15821 * lib/cp-support.exp: Likewise.
15822 * lib/gdb.exp: Likewise.
15823
bf401b07
SM
158242015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15825
15826 * configure.ac: Remove HP-UX case.
15827 * configure: Regenerate.
15828
aff9c0f8
SM
158292015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15830
15831 * lib/gdb.exp (gdb_compile): Add function doc.
15832
a6904d5a
PA
158332015-12-17 Pedro Alves <palves@redhat.com>
15834
15835 PR threads/19354
15836 * gdb.multi/info-threads.exp: New file.
15837
a22279dd
YQ
158382015-12-15 Yao Qi <yao.qi@linaro.org>
15839
15840 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15841 is aarch64*-*-*.
15842
0588c796
SL
158432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15844
15845 * gdb.base/history-duplicates.exp: Skip if no readline support.
15846
5d978e17
SL
158472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15848
15849 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15850
7e763b86
SL
158512015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15852
15853 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15854
87a3a92c
SL
158552015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15856
15857 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15858 ctrl-C if nointerrupts target property is set.
15859 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15860 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15861 * gdb.base/paginate-bg-execution.exp: Likewise.
15862 * gdb.base/paginate-execution-startup.exp: Likewise.
15863 * gdb.base/random-signal.exp: Likewise.
15864 * gdb.base/range-stepping.exp: Likewise.
15865 * gdb.cp/annota2.exp: Likewise.
15866 * gdb.cp/annota3.exp: Likewise.
15867 * gdb.gdb/selftest.exp: Likewise.
15868 * gdb.threads/continue-pending-status.exp: Likewise.
15869 * gdb.threads/leader-exit.exp: Likewise.
15870 * gdb.threads/manythreads.exp: Likewise.
15871 * gdb.threads/pthreads.exp: Likewise.
15872 * gdb.threads/schedlock.exp: Likewise.
15873 * gdb.threads/sigthread.exp: Likewise.
15874
a8f077dc
DB
158752015-12-11 Don Breazeal <donb@codesourcery.com>
15876
15877 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15878 remote.
15879 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15880 * gdb.base/foll-exec.exp (main): Enable for target remote.
15881 * gdb.base/foll-fork.exp (main): Likewise.
15882 * gdb.base/foll-vfork.exp (main): Likewise.
15883 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15884 (proc continue_to_exit_bp_loc): Use clean_restart.
15885 * gdb.base/pie-execl.exp (main): Disable for target remote.
15886 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15887 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15888 * gdb.threads/execl.exp (main): Likewise.
15889 * gdb.threads/fork-child-threads.exp (main): Likewise.
15890 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15891 remote.
15892 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15893 remote.
15894 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15895 pid.tid style ptids, instead of just tid.
15896 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15897 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15898 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15899 ptids, instead of just tid.
15900
3b2464a8
AB
159012015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15902
15903 * gdb.base/list.exp (test_list_forward): Add end of file error
15904 test.
15905 (test_repeat_list_command): Add end of file error test.
15906 (test_list_backwards): Add beginning of file error test.
15907
a0def019
AB
159082015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15909
15910 * gdb.base/list.exp (test_list_invalid_args): New function,
15911 defined, and called.
15912
5c000dff
AB
159132015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15914
15915 * gdb.base/list.exp (test_list): Make test names unique.
15916
f1637ebe
YQ
159172015-12-11 Yao Qi <yao.qi@linaro.org>
15918
15919 * gdb.base/coremaker2.c: Remove.
15920
36d6fc0a
PA
159212015-12-10 Pedro Alves <palves@redhat.com>
15922
15923 * gdb.multi/base.exp: Remove stale "spaces" references.
15924
762f7747
PA
159252015-12-10 Pedro Alves <palves@redhat.com>
15926
15927 * gdb.multi/base.exp: Don't use nowarnings.
15928 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15929 * gdb.multi/hangout.c: Include stdio.h.
15930 * gdb.multi/hello.c: Include stdlib.h.
15931 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15932 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15933 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15934
28d2bfb9
AB
159352015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15936
15937 * gdb.dwarf2/dw2-ranges-base.c: New file.
15938 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15939 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15940 support additional line table, and debug ranges generation.
15941 (Dwarf::ranges): New function, generate .debug_ranges.
15942 (Dwarf::lines): Support generating simple line table programs.
15943 (Dwarf::assemble): Initialise new namespace variables.
15944
5fc2beac
KB
159452015-12-09 Kevin Buettner <kevinb@redhat.com>
15946
15947 * gdb.base/async.exp (proc test_background): Add case for
15948 asynchronous execution not supported.
15949
1c35a88f
LM
159502015-12-09 Luis Machado <lgustavo@codesourcery.com>
15951
15952 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15953 format and change test names to make them unique.
15954
b593e3d9
RK
159552015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15956 Pedro Alves <pedro@redhat.com>
15957
15958 PR gdb/18702
15959 Add checking of floatformats setup on x86_64 hosts.
15960 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15961 (smallval, bigval): New labels/constants.
15962 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15963 float" after loading bigval and smallval.
15964
d72413e6
PMR
159652015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15966
15967 * gdb.ada/fun_overload_menu.exp: New testcase.
15968 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15969
ece66d65
JS
159702015-12-04 Josh Stone <jistone@redhat.com>
15971
15972 * gdb.base/catch-fork-static.exp: New.
15973
41d0efca
YQ
159742015-12-03 Yao Qi <yao.qi@linaro.org>
15975
15976 * gdb.base/sizeof.c: Don't include stdio.h and
15977 ../lib/unbuffer_output.c.
15978 (main): New variable 'size' and 'value'. Remove printf and
15979 gdb_unbuffer_output. Assign return value to size and value.
15980 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15981 at the beginning.
15982 (check_sizeof): Check the result by printing variable 'size'.
15983 (check_valueof): Check the result by printing variable 'value'.
15984
99fd02d9
YQ
159852015-12-01 Yao Qi <yao.qi@linaro.org>
15986
15987 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15988 for aarch64*-*-linux* target.
15989
f2faf941
PA
159902015-11-30 Pedro Alves <palves@redhat.com>
15991
15992 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15993
04bf20c5
PA
159942015-11-30 Pedro Alves <palves@redhat.com>
15995
15996 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15997 Handle non-stop mode vCont replies.
15998
09df4675
PA
159992015-11-30 Pedro Alves <palves@redhat.com>
16000
16001 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16002 prepare_for_testing. Start gdb with "set non-stop on" appended to
16003 GDBFLAGS. Lax expected stop output.
16004
58b584af
YQ
160052015-11-27 Yao Qi <yao.qi@linaro.org>
16006
16007 * gdb.arch/arm-neon.exp: New.
16008 * gdb.arch/arm-neon.c: New.
16009
dfcb77a8
YQ
160102015-11-27 Yao Qi <yao.qi@linaro.org>
16011
16012 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16013
88e8ec1b
YQ
160142015-11-27 Yao Qi <yao.qi@linaro.org>
16015
16016 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16017 frames-invalid annotation.
16018
bfde72c2
YQ
160192015-11-27 Yao Qi <yao.qi@linaro.org>
16020
16021 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16022
f6512a69
SM
160232015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16024
16025 * gdb.threads/names.exp: New file.
16026 * gdb.threads/names.c: New file.
16027 * README: Mention gdb,no_thread_names.
16028
46a3515b
MM
160292015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16030
16031 PR 19297
16032 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16033 support" error.
16034
62147a22
PA
160352015-11-24 Pedro Alves <palves@redhat.com>
16036
16037 PR 17539
16038 * gdb.base/display.exp: Expect displays to be sorted in ascending
16039 order. Use multi_line.
16040 * gdb.base/solib-display.exp: Likewise.
16041
2f341b6e
PA
160422015-11-24 Pedro Alves <palves@redhat.com>
16043
16044 PR 17539
25d49b86
PA
16045 * gdb.base/display.exp: Expect displays to be sorted in ascending
16046 order. Use multi_line.
16047 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16048
7e0aa6aa
PA
160492015-11-24 Pedro Alves <palves@redhat.com>
16050
16051 PR 17539
16052 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16053 threads in ascending order.
16054 * gdb.base/foll-fork.exp: Likewise.
16055 * gdb.base/foll-vfork.exp: Likewise.
16056 * gdb.base/multi-forks.exp: Likewise.
16057 * gdb.mi/mi-nonstop.exp: Likewise.
16058 * gdb.mi/mi-nsintrall.exp: Likewise.
16059 * gdb.multi/base.exp: Likewise.
16060 * gdb.multi/multi-arch.exp: Likewise.
16061 * gdb.python/py-inferior.exp: Likewise.
16062 * gdb.threads/break-while-running.exp: Likewise.
16063 * gdb.threads/execl.exp: Likewise.
16064 * gdb.threads/gcore-thread.exp: Likewise.
16065 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16066 * gdb.threads/kill.exp: Likewise.
16067 * gdb.threads/linux-dp.exp: Likewise.
16068 * gdb.threads/multiple-step-overs.exp: Likewise.
16069 * gdb.threads/next-bp-other-thread.exp: Likewise.
16070 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16071 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16072 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16073 * gdb.threads/thread-find.exp: Likewise.
16074 * gdb.threads/tls.exp: Likewise.
16075 * lib/mi-support.exp (mi_reverse_list): Delete.
16076 (mi_check_thread_states): No longer reverse list.
16077
2cc57ad8
PA
160782015-11-24 Pedro Alves <palves@redhat.com>
16079
16080 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16081 use lowercase.
16082
c93e8391
SM
160832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16084
16085 * gdb.trace/actions.c: Include trace-common.h.
16086 (main): Add a location for a fast tracepoint.
16087 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16088 the normal tracepoints.
16089 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16090
045ccf91
SM
160912015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16092
16093 * save-trace.exp: Factor out code to these...
16094 (gdb_save_tracepoints): New.
16095 (gdb_load_tracepoints): New.
16096 (do_save_load_test): New.
16097
5506f9f6
KB
160982015-11-23 Kevin Buettner <kevinb@redhat.com>
16099
16100 * gdb.base/asmlabel.exp: New test.
16101 * gdb.base/asmlabel.c: New test case.
16102
16c3b12f
JB
161032015-11-23 Joel Brobecker <brobecker@adacore.com>
16104
16105 * gdb.base/wrong_frame_bt_full-main.c: New file.
16106 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16107 * gdb.base/wrong_frame_bt_full.exp: New file.
16108
155bfbd3
JB
161092015-11-23 Joel Brobecker <brobecker@adacore.com>
16110
16111 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16112
bb097445
JM
161132015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16114
206853a0 16115 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16116 pstate register when comparing registers values in
16117 sparc64-*-linux-gnu targets to avoid spurious differences.
16118
9c88ed8f
JM
161192015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16120
206853a0 16121 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16122
96161e25
SL
161232015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16124
16125 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16126 as type argument to gdb_compile.
16127 * gdb.base/nested-subp2.exp: Likewise.
16128 * gdb.base/nested-subp3.exp: Likewise.
16129
340c2830
DV
161302015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16131
16132 * lib/dwarf.exp (_note): Fix left shift of negative value.
16133 * gdb.trace/trace-condition.exp: Likewise.
16134
c1862d0f
YQ
161352015-11-13 Yao Qi <yao.qi@linaro.org>
16136
16137 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16138 comments about d10v.
16139 (test_scalar_returns): Likewise.
16140 * gdb.base/d10v.ld: Remove.
16141 * gdb.base/overlays.exp: Remove the target triplet checking for
16142 d10v-*-*.
16143 * gdb.base/structs.exp (test_struct_returns): Remove the
16144 comments about d10v.
16145 (test_struct_calls): Likewise.
16146
77ae9c19
YQ
161472015-11-13 Yao Qi <yao.qi@linaro.org>
16148
16149 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16150 * gdb.base/gnu_vector.c: Don't include stdio.h.
16151 (main): Don't print res and call add_some_intvecs.
16152
430e004e
MK
161532015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16154
16155 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16156 macro.
16157 (func5): Removed.
16158 (func4): Use FAST_TRACEPOINT_LABEL.
16159 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16160 macro.
16161 (func): Removed.
16162 (thread_function): Use FAST_TRACEPOINT_LABEL.
16163 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16164 (func): Remove.
16165 (marker): Use FAST_TRACEPOINT_LABEL.
16166 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16167 (pendfunc1): Remove.
16168 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16169 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16170 (foo): Remove.
16171 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16172 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16173 macro.
16174 (func): Remove.
16175 (marker): Use FAST_TRACEPOINT_LABEL.
16176 * gdb.trace/trace-common.h: New header.
16177 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16178 macro.
16179 (func): Remove.
16180 (marker): Use FAST_TRACEPOINT_LABEL.
16181 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16182 (func): Remove.
16183 (thread_function): Use FAST_TRACEPOINT_LABEL.
16184
6e7675a7
MK
161852015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16186
16187 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16188 in front.
16189 * gdb.trace/change-loc.exp: Use global pcreg definition.
16190 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16191 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16192 in front.
16193 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16194 * gdb.trace/pending.exp: Likewise.
16195 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16196 * gdb.trace/trace-break.exp: Likewise.
16197 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16198 in front.
16199 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16200 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16201 in front.
16202 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16203
dddc0e16
JB
162042015-11-09 Joel Brobecker <brobecker@adacore.com>
16205
16206 * gdb.ada/fin_fun_out: New testcase.
16207
c6f0b406
KB
162082015-11-07 Kevin Buettner <kevinb@redhat.com>
16209
16210 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16211 value associated with DW_AT_byte_size.
16212 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16213 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16214 DW_AT_upper_bound.
16215
f01dcfd9
KB
162162015-11-07 Kevin Buettner <kevinb@redhat.com>
16217
16218 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16219 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16220 version.
16221 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16222 gdb.dwarf2/dw2-canonicalize-type.exp,
16223 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16224 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16225 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16226 provided by gdb_target_symbol_prefix_flags_asm.
16227 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16228 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16229 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16230 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16231 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16232 macros where needed). Use this macro for symbols which require
16233 the prefix provided by SYMBOL_PREFIX.
16234
2223449a
KB
162352015-11-05 Kevin Buettner <kevinb@redhat.com>
16236
16237 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16238 New procs.
16239 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16240 representing expressions, of more than one list element.
16241 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16242 to prepend linker symbol prefix to f.
16243 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16244 table_1 and table_2.
16245 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16246 Likewise, for f and g.
16247 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16248 for ptr.
16249 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16250 for main.
16251 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16252 table_1_ptr and table_2_ptr.
16253
6f2f1a3a
JK
162542015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16255 Joel Brobecker <brobecker@adacore.com>
16256
16257 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16258
566c56c9
MK
162592015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16260
16261 * gdb.reverse/s390-mvcle.c: New test.
16262 * gdb.reverse/s390-mvcle.exp: New file.
16263 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16264
d5f0636b
MK
162652015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16266
16267 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16268
7ad8b86c
MK
162692015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16270
16271 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16272 reaching marker2.
16273 * gdb.reverse/getresuid-reverse.exp: Likewise.
16274 * gdb.reverse/pipe-reverse.exp: Likewise.
16275 * gdb.reverse/readv-reverse.exp: Likewise.
16276 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16277 * gdb.reverse/time-reverse.exp: Likewise.
16278 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16279
4081c0f1
YQ
162802015-10-30 Yao Qi <yao.qi@linaro.org>
16281
16282 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16283 (empty_cycle): Remove.
16284 (main): Don't call empty_cycle. Don't use watch_count_done.
16285 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16286 empty_cycle. Rewrite the code counting HW watchpoints.
16287
452b4ba5
MK
162882015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16289
16290 * gdb.reverse/fstatat-reverse.c: New test.
16291 * gdb.reverse/fstatat-reverse.exp: New file.
16292 * gdb.reverse/getresuid-reverse.c: New test.
16293 * gdb.reverse/getresuid-reverse.exp: New file.
16294 * gdb.reverse/pipe-reverse.c: New test.
16295 * gdb.reverse/pipe-reverse.exp: New file.
16296 * gdb.reverse/readv-reverse.c: New test.
16297 * gdb.reverse/readv-reverse.exp: New file.
16298 * gdb.reverse/recvmsg-reverse.c: New test.
16299 * gdb.reverse/recvmsg-reverse.exp: New file.
16300 * gdb.reverse/time-reverse.c: New test.
16301 * gdb.reverse/time-reverse.exp: New file.
16302 * gdb.reverse/waitpid-reverse.c: New test.
16303 * gdb.reverse/waitpid-reverse.exp: New file.
16304
5e2e7507
JK
163052015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16306
16307 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16308
0fde2c53
DE
163092015-10-26 Doug Evans <dje@google.com>
16310
16311 PR symtab/17391
16312 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16313 * gdb.dwarf2/bad-regnum.c: New file.
16314 * gdb.dwarf2/bad-regnum.exp: New file.
16315
1a70ae97
DE
163162015-10-26 Doug Evans <dje@google.com>
16317
16318 PR python/18938
16319 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16320 file.
16321
27dc26ab
JK
163222015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16323
16324 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16325 for a change by "Mention language in compile error message".
16326
bed91f4d
SM
163272015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16328
16329 PR python/18073
16330 * gdb.python/py-type.c (C::a_method): New.
16331 (C::a_const_method): New.
16332 (C::a_static_method): New.
16333 (a_function): New.
16334 * gdb.python/py-type.exp (test_fields): Test getting fields
16335 from function and method.
16336
3f2f83dd
KB
163372015-10-21 Keven Boell <keven.boell@intel.com>
16338
16339 * gdb.fortran/vla-alloc-assoc.exp: New file.
16340 * gdb.fortran/vla-datatypes.exp: New file.
16341 * gdb.fortran/vla-datatypes.f90: New file.
16342 * gdb.fortran/vla-history.exp: New file.
16343 * gdb.fortran/vla-ptype-sub.exp: New file.
16344 * gdb.fortran/vla-ptype.exp: New file.
16345 * gdb.fortran/vla-sizeof.exp: New file.
16346 * gdb.fortran/vla-sub.f90: New file.
16347 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16348 * gdb.fortran/vla-value-sub-finish.exp: New file.
16349 * gdb.fortran/vla-value-sub.exp: New file.
16350 * gdb.fortran/vla-value.exp: New file.
16351 * gdb.fortran/vla-ptr-info.exp: New file.
16352 * gdb.mi/mi-vla-fortran.exp: New file.
16353 * gdb.mi/vla.f90: New file.
16354
27145d50
SL
163552015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16356
16357 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16358 of hardwired timeout value.
16359
5f3ff4f8
JK
163602015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16361 Pedro Alves <palves@redhat.com>
16362
16363 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16364 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16365
bfd09d20
JS
163662015-10-19 Josh Stone <jistone@redhat.com>
16367
16368 * gdb.base/catch-syscall.c: Include <sched.h>.
16369 (unknown_syscall): New variable.
16370 (main): Trigger a vfork and an unknown syscall.
16371 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16372 (unknown_syscall_number): Likewise.
16373 (check_call_to_syscall): Accept an optional syscall pattern.
16374 (check_return_from_syscall): Likewise.
16375 (check_continue): Likewise.
16376 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16377 (test_catch_syscall_skipping_return): New test toggling off 'catch
16378 syscall' to step over the syscall return, then toggling back on.
16379 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16380 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16381 (do_syscall_tests): Call test_catch_syscall_without_args and
16382 test_catch_syscall_mid_vfork.
16383 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16384 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16385
b32b93c6
AS
163862015-10-19 Andrew Stubbs <ams@codesourcery.com>
16387
16388 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16389 print g_vE): Add new pass patterns.
16390 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16391 print various symbol names for vptr fields.
16392
9d622bda
AB
163932015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16394
16395 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16396 results.
16397
0fd8ac1c
YQ
163982015-10-12 Yao Qi <yao.qi@linaro.org>
16399
16400 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16401
34240514
YQ
164022015-10-12 Yao Qi <yao.qi@linaro.org>
16403
16404 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16405 is aarch64*-*-linux*.
16406
8240f442
YQ
164072015-10-12 Yao Qi <yao.qi@linaro.org>
16408
16409 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16410 (can_relocate_bcond_true): ... it.
16411 (can_relocate_bcond_false): New function.
16412 (foo): Likewise.
16413 (can_relocate_bl): Likewise.
16414 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16415 can_relocate_bl.
16416
2520f728
PMR
164172015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16418
16419 * gdb.base/nested-addr.c: New file.
16420 * gdb.base/nested-addr.exp: New testcase.
16421
abcef95a
MM
164222015-10-09 Markus Metzger <markus.t.metzger@intel.com>
16423
16424 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
16425 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
16426 its output. Ignore the output of "record goto begin" and instead
16427 check that GDB is replaying.
16428
145e3ddb
PA
164292015-10-09 Pedro Alves <palves@redhat.com>
16430
16431 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16432 (top level): Use it in the run with no args test.
16433
d5d8c4e1
IB
164342015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16435
16436 * gdb.dlang/properties.exp: New file.
16437
06e635ef
SL
164382015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16439
16440 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16441 whether or not address 0x1000 is mapped on the target.
16442
e019fd1d
SM
164432015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16444
16445 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16446 build.
16447
77ba2a67
MM
164482015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16449
16450 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16451 instruction-history test.
16452
c60eb31f
DE
164532015-09-28 Doug Evans <dje@google.com>
16454
16455 * gdb.base/gcore.c (array_func): Add reference to static_array.
16456
9a3c8263
SM
164572015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16458
16459 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16460 source line.
16461
9720e656
SL
164622015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16463
16464 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16465 short or char as base type.
16466
938d3bf2
SL
164672015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16468
16469 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16470 to allow any size enum.
16471
e6c2c623
PMR
164722015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16473
16474 * gdb.ada/array_ptr_renaming.exp: New testcase.
16475 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16476 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16477
06da0f77
PL
164782015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16479
16480 * gdb.trace/ftrace-lock.c: New file.
16481 * gdb.trace/ftrace-lock.exp: New file.
16482
4f51c22a
PL
164832015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16484
16485 * gdb.arch/insn-reloc.c: New file.
16486 * gdb.arch/ftrace-insn-reloc.exp: New file.
16487
7041adf4
PL
164882015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16489
16490 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16491 instruction.
16492 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16493 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16494 * gdb.trace/range-stepping.c: Likewise.
16495 * gdb.trace/trace-break.c: Likewise.
16496 * gdb.trace/trace-mt.c (thread_function): Likewise.
16497 * gdb.trace/ftrace.c (marker): Likewise.
16498 * gdb.trace/trace-condition.c (marker): Likewise.
16499 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16500 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16501 is_aarch64_target.
16502
015d2e7e
DE
165032015-09-18 Doug Evans <xdje42@gmail.com>
16504
16505 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16506 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16507
26b188a2
SL
165082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16509
16510 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16511 the breakpoint.
16512
79dc332b
SL
165132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16514
16515 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16516 the pending breakpoint. Remove timeout override for "Run till
16517 MI pending breakpoint on pendfunc3 on thread 2" test.
16518
f57929f2
SL
165192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16520
16521 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16522 filename pattern.
16523
3f469b17
SL
165242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16525
16526 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16527 in breakpoint filename pattern.
16528
515b89b3
SL
165292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16530
7800dbe4
SL
16531 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16532
165332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16534
515b89b3
SL
16535 * gdb.linespec/explicit.exp: Check for readline support for
16536 tab-completion tests. Fix obvious typo.
16537
d2939ba2
MM
165382015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16539
16540 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16541 and replay.
16542
cbb55fa7
MM
165432015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16544
16545 * gdb.btrace/non-stop.c: New.
16546 * gdb.btrace/non-stop.exp: New.
16547
43691ca1
PL
165482015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16549 Yao Qi <yao.qi@linaro.org>
16550
16551 * gdb.trace/trace-condition.c: New file.
16552 * gdb.trace/trace-condition.exp: New file.
16553
d78908cf
WW
165542015-09-16 Wei-cheng Wang <cole945@gmail.com>
16555
16556 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16557 for testing bytecode compilation.
16558
1ed415e2
PA
165592015-09-16 Pedro Alves <palves@redhat.com>
16560 Sandra Loosemore <sandra@codesourcery.com>
16561
16562 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16563 (SECONDS): Redefine.
16564 (main): Call pthread_kill and alarm early.
16565 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16566 support.
16567 (test): If the target can't hardware step and doesn't support
16568 displaced stepping, increase the timeout.
16569
d136eff5
PA
165702015-09-16 Pedro Alves <palves@redhat.com>
16571
16572 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16573 (enable_debug): New procedures.
16574 (test): Use them. Bail out if waiting for threads fails.
16575 (top level): Bail out if a test fails.
16576
991f019c
YQ
165772015-09-16 Yao Qi <yao.qi@linaro.org>
16578
16579 * gdb.asm/asm-source.exp: Set asm-arch for
16580 aarch64*-*-* target.
16581 * gdb.asm/aarch64.inc: New file.
16582
bfca584f
PMR
165832015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16584
16585 * gdb.ada/array_of_variable_length.exp: New testcase.
16586 * gdb.ada/array_of_variable_length/foo.adb: New file.
16587 * gdb.ada/array_of_variable_length/pck.adb: New file.
16588 * gdb.ada/array_of_variable_length/pck.ads: New file.
16589
b326e587
DE
165902015-09-15 Doug Evans <dje@google.com>
16591
16592 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16593 of function static local variable.
16594
5382cfab
PW
165952015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16596
16597 * gdb.threads/tls-so_extern.exp: New test file.
16598 * gdb.threads/tls-so_extern.c: New test file.
16599 * gdb.threads/tls-so_extern_main.c: New test file.
16600
141c5cc4
JK
166012015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16602
16603 * gdb.opt/solib-intra-step-lib.c: New file.
16604 * gdb.opt/solib-intra-step-main.c: New file.
16605 * gdb.opt/solib-intra-step.exp: New file.
16606
d15dcecd
PA
166072015-09-15 Pedro Alves <palves@redhat.com>
16608
16609 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16610 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16611
4c2f2a79
PA
166122015-09-14 Pedro Alves <palves@redhat.com>
16613
16614 * gdb.base/hook-stop-continue.c: Delete.
16615 * gdb.base/hook-stop-continue.exp: Delete.
16616 * gdb.base/hook-stop-frame.c: Delete.
16617 * gdb.base/hook-stop-frame.exp: Delete.
16618 * gdb.base/hook-stop.c: New file.
16619 * gdb.base/hook-stop.exp: New file.
16620
919e6dbe
PMR
166212015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16622
16623 * gdb.ada/access_to_packed_array.exp: New testcase.
16624 * gdb.ada/access_to_packed_array/foo.adb: New file.
16625 * gdb.ada/access_to_packed_array/pack.adb: New file.
16626 * gdb.ada/access_to_packed_array/pack.ads: New file.
16627
157280a4
MM
166282015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16629
16630 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16631 buffer size test.
16632
2fd33e94
DB
166332015-09-11 Don Breazeal <donb@codesourcery.com>
16634
16635 * gdb.base/foll-exec.c: Add copyright header. Fix
16636 formatting issues.
16637 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16638 (do_exec_tests): Use clean_restart in place of zap_session,
16639 and for test initialization. Fix formatting issues. Use
16640 fail in place of perror.
16641 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16642 an expect statement to match an expression with output from
16643 the program under debug.
16644 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16645 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16646 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16647 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16648 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16649
e70b6e8e
DE
166502015-09-09 Doug Evans <dje@google.com>
16651
16652 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16653
7a551a51
DE
166542015-09-09 Doug Evans <dje@google.com>
16655
16656 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16657
4c666f84
DE
166582015-09-09 Doug Evans <dje@google.com>
16659
16660 * gdb.base/savedregs.exp: Fix typo.
16661
243a9253
PA
166622015-09-09 Pedro Alves <palves@redhat.com>
16663
16664 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16665
c0fa8fbd
SL
166662015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16667
16668 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16669 command actually switches threads. Give up on remaining
16670 tests if target fails to stop at breakpoint.
16671
cd7c1778
PMR
166722015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16673
16674 * gdb.ada/funcall_char.exp: New testcase.
16675 * gdb.ada/funcall_char/foo.adb: New file.
16676
dc5c8746
PMR
166772015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16678
16679 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16680 expected outputs. Add two testcases for completing ambiguous
16681 functions.
16682 * gdb.ada/complete/aux_pck.adb: New file.
16683 * gdb.ada/complete/aux_pck.ads: New file.
16684 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16685 Ambiguous_Func functions.
16686 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16687 * gdb.ada/complete/pck.adb: Likewise.
16688
4e83a1e7
UW
166892015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16690
16691 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16692 failures to run the test program under GDB.
16693
8ce74153
LM
166942015-08-26 Luis Machado <lgustavo@codesourcery.com>
16695
16696 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16697 to C.
16698
e9756d52
PP
166992015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16700
16701 * gdb.base/run-after-attach.exp: New test file.
16702 * gdb.base/run-after-attach.c: New test file.
16703
8d37573b
DB
167042015-08-26 Don Breazeal <donb@codesourcery.com>
16705
16706 * gdb.base/foll-exec-2.c: New test program.
16707 * gdb.base/foll-exec-2.exp: New test.
16708
63e43d3a
PMR
167092015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16710
16711 * gdb.base/nested-subp1.exp: New file.
16712 * gdb.base/nested-subp1.c: New file.
16713 * gdb.base/nested-subp2.exp: New file.
16714 * gdb.base/nested-subp2.c: New file.
16715 * gdb.base/nested-subp3.exp: New file.
16716 * gdb.base/nested-subp3.c: New file.
16717
3d40fbb5
PA
167182015-08-24 Pedro Alves <palves@redhat.com>
16719
16720 * gdb.server/connect-without-multi-process.c: New file.
16721 * gdb.server/connect-without-multi-process.exp: New file.
16722
4422ac93
LM
167232015-08-24 Luis Machado <lgustavo@codesourcery.com>
16724
16725 * gdb.opt/inline-markers.c: Make z int.
16726
91dddb86
LM
167272015-08-24 Luis Machado <lgustavo@codesourcery.com>
16728
16729 * gdb.opt/inline-markers.c: Make z volatile.
16730
a48847ee
LM
167312015-08-24 Luis Machado <lgustavo@codesourcery.com>
16732
16733 * gdb.opt/inline-bt.c: New volatile global z.
16734 * gdb.opt/inline-cmds.c: Likewise.
16735 * gdb.opt/inline-locals.c: Likewise.
16736 * gdb.opt/inline-markers.c: New extern global z.
16737 (marker): Use z.
16738 (inline_fn): Likewise.
16739
0ebbc52b
PA
167402015-08-24 Pedro Alves <palves@redhat.com>
16741
16742 * config/m32r-stub.exp: Remove file.
16743 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16744 * gdb.base/call-rt-st.exp: Likewise.
16745 * gdb.base/call-strs.exp: Likewise.
16746 * gdb.base/default.exp: Remove references to h8300-*-hms and
16747 *-*-udi*.
16748 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16749
77c365df
AA
167502015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16751
16752 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16753 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16754 and "return" use KFAIL when GDB can not read/write the vector
16755 return value.
16756
4313b8c0
GB
167572015-08-21 Gary Benson <gbenson@redhat.com>
16758
16759 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16760
0e433b32
PA
167612015-08-20 Pedro Alves <palves@redhat.com>
16762
16763 * gdb.server/solib-list.exp: No longer expect an interior stop in
16764 non-stop mode.
16765
221e1a37
PA
167662015-08-20 Pedro Alves <palves@redhat.com>
16767
16768 * gdb.server/connect-stopped-target.c: New file.
16769 * gdb.server/connect-stopped-target.exp: New file.
16770
40e3ad0e
PA
167712015-08-20 Pedro Alves <palves@redhat.com>
16772
16773 * gdb.dwarf2/comp-unit-lang.exp: New file.
16774 * gdb.dwarf2/comp-unit-lang.c: New file.
16775
af39b327
PMR
167762015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16777
16778 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16779 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16780
7d45c7c3 167812015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 16782
7d45c7c3
KB
16783 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16784 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16785
4d6cceb4
DE
167862015-08-18 Doug Evans <dje@google.com>
16787 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16788
16789 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16790 skip_python_tests. New arg prompt_regexp.
16791 (skip_python_tests): New function.
16792 * lib/mi-support.exp (mi_skip_python_tests): New function.
16793 * gdb.python/py-mi-objfile-gdb.py: New file.
16794 * gdb.python/py-mi-objfile.c: New file.
16795 * gdb.python/py-mi-objfile.exp: New file.
16796
ad89c2aa
KS
167972015-08-17 Keith Seitz <keiths@redhat.com>
16798
16799 * gdb.linespec/explicit.exp: Move strace test from here ...
16800 * gdb.trace/strace.exp: ... to here.
16801
e3ae3c43
PP
168022015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16803
16804 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16805 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16806
604b2636
DE
168072015-08-14 Doug Evans <xdje42@gmail.com>
16808
16809 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16810 inferior before selecting a new file.
16811
6ff0ba5f
DE
168122015-08-14 Doug Evans <xdje42@gmail.com>
16813
16814 * gdb.mi/mi-disassemble.exp: Update.
16815 * gdb.base/disasm-optim.S: New file.
16816 * gdb.base/disasm-optim.c: New file.
16817 * gdb.base/disasm-optim.h: New file.
16818 * gdb.base/disasm-optim.exp: New file.
16819
9ca98f92
KS
168202015-08-14 Keith Seitz <keiths@redhat.com>
16821
16822 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16823 "evaluated-by".
16824
52bbc560
JB
168252015-08-13 Joel Brobecker <brobecker@adacore.com>
16826
16827 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16828
5d8c3ed3
PMR
168292015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16830
16831 * gdb.ada/fun_renaming.exp: New testcase.
16832 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16833 * gdb.ada/fun_renaming/pack.adb: New file.
16834 * gdb.ada/fun_renaming/pack.ads: New file.
16835
ea8812bc
KS
168362015-08-12 Keith Seitz <keiths@redhat.com>
16837
16838 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16839 gdb_get_line_number.
16840
4dafcdeb
JB
168412015-08-12 Joel Brobecker <brobecker@adacore.com>
16842
16843 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16844 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16845 gdb.base/dso2dso.exp: New files.
16846
5ba32597
SDJ
168472015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16848 Pedro Alves <palves@redhat.com>
16849 Keith Seitz <keiths@redhat.com>
16850
16851 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16852 GDBFLAGS.
16853
b6dafabf
PP
168542015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16855
16856 * gdb.base/gdbhistsize-history.exp
16857 (test_histsize_history_setting): Use save_vars.
16858 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16859 Use save_vars.
16860 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16861 * gdb.base/readline.exp: Use save_vars.
16862
abe8e607
PP
168632015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16864
16865 * lib/gdb.exp (save_vars): New proc.
16866
629500fa
KS
168672015-08-11 Keith Seitz <keiths@redhat.com>
16868
16869 * gdb.base/help.exp: Update help_breakpoint_text.
16870
eb8c4e2e
KS
168712015-08-11 Keith Seitz <keiths@redhat.com>
16872
16873 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16874 (at toplevel): Call test_explicit_breakpoints.
16875 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16876 breakpoints.
16877 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16878 breakpoint conditions, "-cond".
16879
87f0e720
KS
168802015-08-11 Keith Seitz <keiths@redhat.com>
16881
16882 * gdb.linespec/3explicit.c: New file.
16883 * gdb.linespec/cpexplicit.cc: New file.
16884 * gdb.linespec/cpexplicit.exp: New file.
16885 * gdb.linespec/explicit.c: New file.
16886 * gdb.linespec/explicit.exp: New file.
16887 * gdb.linespec/explicit2.c: New file.
16888 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16889 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16890 before using in the matching pattern.
16891 Clarify that `prefix' is a regular expression.
16892
f00aae0f
KS
168932015-08-11 Keith Seitz <keiths@redhat.com>
16894
16895 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16896 test.
16897 Add tests for missing ",FMT" and ",".
16898
e27852be
DE
168992015-08-10 Doug Evans <dje@google.com>
16900 Keith Seitz <keiths@redhat.com>
16901
16902 PR gdb/17960
16903 * gdb.base/completion.exp: Add location completer tests.
16904
7f03bd92
PA
169052015-08-07 Pedro Alves <palves@redhat.com>
16906
16907 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16908 tests here.
16909 (top level): Run do_test with and without displaced stepping.
16910
3fc8eb30
PA
169112015-08-07 Pedro Alves <palves@redhat.com>
16912
16913 * gdb.base/valgrind-disp-step.c: New file.
16914 * gdb.base/valgrind-disp-step.exp: New file.
16915
d4569d7b
PA
169162015-08-07 Pedro Alves <palves@redhat.com>
16917
16918 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16919 Delete function.
16920 (main): Add alarm. Run an infinite loop instead of calling
16921 wait_threads.
16922 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16923 comment.
16924 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16925 Delete function.
16926 (main): Add alarm. Run an infinite loop instead of calling
16927 wait_threads.
16928 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16929 comment.
16930
e1316e60
PA
169312015-08-07 Pedro Alves <palves@redhat.com>
16932
16933 * gdb.base/checkpoint-ns.exp: New file.
16934 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16935 standard_testfile.
16936
da8c46d2
MM
169372015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16938
16939 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16940 * gdb.btrace/instruction_history.exp: Update.
16941 * gdb.btrace/tsx.exp: New.
16942 * gdb.btrace/tsx.c: New.
16943
de1c2c52
PA
169442015-08-06 Pedro Alves <palves@redhat.com>
16945
16946 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16947 increase timeout.
16948 * gdb.reverse/until-precsave.exp: Bump timeouts.
16949
782e0bf4
PA
169502015-08-06 Pedro Alves <palves@redhat.com>
16951
16952 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16953
83e97ed0
PA
169542015-08-06 Pedro Alves <palves@redhat.com>
16955
16956 PR gdb/18749
16957 * gdb.threads/process-dies-while-handling-bp.c: New file.
16958 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16959
863d01bd
PA
169602015-08-06 Pedro Alves <palves@redhat.com>
16961
16962 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16963 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16964
0a39bb32
PA
169652015-08-05 Pedro Alves <palves@redhat.com>
16966
16967 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16968 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16969
ee2d2b10
SL
169702015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16971
16972 * gdb.base/bp-permanent.exp: Report test as unsupported if
16973 the target cannot stop at the permanent breakpoint.
16974
4e1bdb00
DE
169752015-08-03 Doug Evans <dje@google.com>
16976
16977 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16978 10000.
16979
3d338901
DE
169802015-08-03 Doug Evans <dje@google.com>
16981
16982 * Makefile.in (workers/%.worker, build-perf): New rule.
16983 (GDB_PERFTEST_MODE): New variable.
16984 (check-perf): Use it.
16985 (clean): Clean up gdb.perf parallel build subdirs.
16986 * lib/build-piece.exp: New file.
16987 * lib/gdb.exp (make_gdb_parallel_path): New function
16988 (standard_output_file, standard_temp_file): Call it.
16989 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16990 of $GDB_PARALLEL.
16991 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16992
af061d3e
DE
169932015-08-03 Doug Evans <dje@google.com>
16994
8e1afc81 16995 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16996 (LOG_FILE_NAME): New global.
16997 (TextReporter.__init__): Initialize self.txt_sum.
16998 (TextReporter.report): Add support for multiple data-points.
16999 Move report to perftest.sum, put raw data in perftest.log.
17000 (TextReporter.start): Open sum and log files.
17001 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17002 * gdb.perf/lib/perftest/testresult.py
17003 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17004
2c8c5d37
PA
170052015-07-31 Pedro Alves <palves@redhat.com>
17006
17007 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17008 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17009 kill_wait_spawned_process instead of explicit "kill -9".
17010 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17011 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17012 kill_wait_spawned_process.
17013 * gdb.base/attach-twice.exp: Likewise.
17014 * gdb.base/attach.exp: Likewise.
17015 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17016 gdb_test_multiple.
17017 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17018 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17019 kill_wait_spawned_process.
17020 * gdb.base/valgrind-infcall.exp: Likewise.
17021 * gdb.multi/multi-attach.exp: Likewise.
17022 * gdb.python/py-prompt.exp: Likewise.
17023 * gdb.python/py-sync-interp.exp: Likewise.
17024 * gdb.server/ext-attach.exp: Likewise.
17025 * gdb.threads/attach-into-signal.exp (corefunc): Use
17026 spawn_wait_for_attach, spawn_id_get_pid and
17027 kill_wait_spawned_process.
17028 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17029 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17030 spawn_id_get_pid and kill_wait_spawned_process.
17031 * gdb.threads/attach-stopped.exp (corefunc): Use
17032 spawn_wait_for_attach, spawn_id_get_pid and
17033 kill_wait_spawned_process.
17034 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17035 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17036 kill_wait_spawned_process instead of explicit "kill -9".
17037 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17038 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17039 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17040 processes. Don't map cygwin/windows pids here. Now returns a
17041 spawn id list.
17042
032a0fca
SL
170432015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17044
17045 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17046 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17047 correct patch.
17048
61a934ca
SL
170492015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17050
17051 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17052
4bc4d428
SL
170532015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17054
17055 Reapply:
17056 2014-05-21 Mark Wielaard <mjw@redhat.com>
17057
17058 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17059
998d452a
PA
170602015-07-30 Pedro Alves <palves@redhat.com>
17061
17062 * linux-low.c (handle_extended_wait): Set the child's last
17063 reported status to TARGET_WAITKIND_STOPPED.
17064
69dde7dc
PA
170652015-07-30 Pedro Alves <palves@redhat.com>
17066
17067 PR threads/18600
17068 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17069 only shows inferior 1.
17070
4dd63d48
PA
170712015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17072 Pedro Alves <palves@redhat.com>
17073
17074 PR threads/18600
17075 * gdb.threads/fork-plus-threads.c: New file.
17076 * gdb.threads/fork-plus-threads.exp: New file.
17077
d618e4c5
PP
170782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17079
17080 * gdb.base/batch-preserve-term-settings.exp
17081 (test_terminal_settings_preserved_after_cli_exit): Use
17082 send_quit_command.
17083
1eef6428
PA
170842015-07-29 Pedro Alves <palves@redhat.com>
17085 Don Breazeal <donb@codesourcery.com>
17086
17087 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17088 output from both inferior_spawn_id and gdb_spawn_id.
17089
7da5b897
SDJ
170902015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17091
17092 * gdb.threads/attach-into-signal.exp (corefunc): Use
17093 with_test_prefix on nested loops, uniquefying the test messages.
17094
dac804df
SDJ
170952015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17096
17097 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17098 commit.
17099
06265e53
PP
171002015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17101
17102 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17103 New proc.
17104 (test_terminal_settings_preserved_after_sigterm): New test.
17105
18206ca3
PP
171062015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17107
17108 * gdb.base/batch-preserve-term-settings.exp
17109 (test_terminal_settings_preserved_after_cli_exit): New test.
17110
90074d11
PP
171112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17112
17113 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17114 manipulation of saved_gdbflags.
17115 (test_terminal_settings_preserved): Remove global declaration of
17116 the unused variable pagination_prompt. Remove manipulation of
17117 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17118 GDBFLAGS.
17119
eb1a7902
PA
171202015-07-29 Pedro Alves <palves@redhat.com>
17121
17122 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17123
8b75dd3b
PA
171242015-07-29 Pedro Alves <palves@redhat.com>
17125
17126 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17127 at the top.
17128
dedad4e3
PA
171292015-07-29 Pedro Alves <palves@redhat.com>
17130
17131 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17132 (main): Call gdb_unbuffer_output.
17133 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17134 (main): Call gdb_unbuffer_output.
17135 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17136 (main): Call gdb_unbuffer_output.
17137 * gdb.base/call-strs.exp: Adjust to step over the
17138 gdb_unbuffer_output call.
17139 * gdb.base/catch-gdb-caused-signals.c: Include
17140 "../lib/unbuffer_output.c".
17141 (main): Call gdb_unbuffer_output.
17142 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17143 (main): Call gdb_unbuffer_output.
17144 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17145 (main): Call gdb_unbuffer_output.
17146 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17147 (main): Call gdb_unbuffer_output.
17148 * gdb.base/shlib-call.exp: Adjust to step over the
17149 gdb_unbuffer_output call.
17150 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17151 (main): Call gdb_unbuffer_output.
17152 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17153 (main): Call gdb_unbuffer_output.
17154 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17155 (main): Rename to ...
17156 (test): ... this.
17157 (main): Reimplement.
17158 * gdb.base/varargs.exp: Run to test instead of to main.
17159 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17160 (main): Call gdb_unbuffer_output.
17161
58789a91
PA
171622015-07-29 Pedro Alves <palves@redhat.com>
17163
17164 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17165 factore out from mi_continue_dprintf. For call-style dprintfs,
17166 expect dprintf output out of $inferior_spawn_id.
17167 (mi_continue_dprintf): Use mi_expect_dprintf.
17168 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17169 (main): Call gdb_unbuffer_output.
17170
e8376742
PA
171712015-07-29 Pedro Alves <palves@redhat.com>
17172
17173 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17174 (default_mi_gdb_start): Set inferior_spawn_id instead of
17175 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17176 gdb_spawn_id.
17177 (mi_gdb_test): Always expect inferior output from both
17178 $inferior_spawn_id and $gdb_spawn_id.
17179
08280010
PA
171802015-07-29 Pedro Alves <palves@redhat.com>
17181
17182 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17183 send_inferior and $inferior_spawn_id.
17184
4d30e432
PA
171852015-07-29 Pedro Alves <palves@redhat.com>
17186
17187 * gdb.gdb/complaints.exp (test_initial_complaints)
17188 (test_serial_complaints, test_short_complaints): Use
17189 gdb_test_stdio.
17190 (test_empty_complaint): Handle $inferior_spawn_id !=
17191 $gdb_spawn_id.
17192
0d30a335
PA
171932015-07-29 Pedro Alves <palves@redhat.com>
17194
17195 * gdb.base/varargs.exp: Use gdb_test_stdio.
17196
39413b29
PA
171972015-07-29 Pedro Alves <palves@redhat.com>
17198
17199 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17200
7cb000a9
PA
172012015-07-29 Pedro Alves <palves@redhat.com>
17202
17203 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17204
d7b8ac82
PA
172052015-07-29 Pedro Alves <palves@redhat.com>
17206
17207 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17208 parameter into two new parameters, "inf_result" and "gdb_result".
17209 Expect inferior output and gdb output from $inferior_spawn_id and
17210 $gdb_spawn_id, respectively. Adjust all callers.
17211
789c3a0c
PA
172122015-07-29 Pedro Alves <palves@redhat.com>
17213
17214 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17215 of gdb_test_sequence.
17216
77e760c3
PA
172172015-07-29 Pedro Alves <palves@redhat.com>
17218
17219 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17220 (saw_spurious_output): Expect inferior output from
17221 $inferior_spawn_id. Use gdb_test_stdio.
17222
8396d2cd
PA
172232015-07-29 Pedro Alves <palves@redhat.com>
17224
17225 * gdb.base/dprintf.exp: Use standard_testfile. Change
17226 prepare_for_testing call.
17227 (srcfile): Don't set.
17228 (restart): New procedure.
17229 (test_dprintf): New procecure, use to continue over dprintfs.
17230 (test_call, test_agent): New procedures, tests moved here.
17231 Restart gdb and recreate dprintfs. Adjust expected output.
17232
2051d61f
PA
172332015-07-29 Pedro Alves <palves@redhat.com>
17234
17235 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17236
452397af
PA
172372015-07-29 Pedro Alves <palves@redhat.com>
17238
17239 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17240
8aed9555
PA
172412015-07-29 Pedro Alves <palves@redhat.com>
17242
17243 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17244 gdb_test_stdio.
17245
188a61b4
PA
172462015-07-29 Pedro Alves <palves@redhat.com>
17247
17248 * lib/gdb.exp (gdb_test_stdio): New procedure.
17249
12264a45
PA
172502015-07-29 Pedro Alves <palves@redhat.com>
17251
17252 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17253
23ffc893
PA
172542015-07-29 Pedro Alves <palves@redhat.com>
17255
17256 * gdb.base/call-signal-resume.exp: Remove check for
17257 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17258 * gdb.base/unwindonsignal.exp: Likewise.
17259 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17260 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17261
65566918
PA
172622015-07-29 Pedro Alves <palves@redhat.com>
17263
17264 * gdb.base/siginfo-addr.c (pass): New function.
17265 (handler): Call it iff si_addr is correct.
17266 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17267 Set a breakpoint at "pass" and continue to it.
17268
d60a9221
SDJ
172692015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17270
17271 * gdb.python/py-objfile.exp: Make some tests have unique names.
17272 * gdb.python/py-pp-registration.exp: Likewise.
17273
bde40b8f
PA
172742015-07-28 Pedro Alves <palves@redhat.com>
17275
17276 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17277
13e1dec8
SM
172782015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17279
17280 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17281
da33c9a7
SM
172822015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17283
17284 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17285
077836f7
PP
172862015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17287
17288 * gdb.base/gdb-sigterm-2.exp: New test.
17289
b8cc7b2e
DE
172902015-07-25 Doug Evans <xdje42@gmail.com>
17291
17292 Revert:
17293 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17294 (workers/%.worker, build-perf): New rule.
17295 (GDB_PERFTEST_MODE): New variable.
17296 (check-perf): Use it.
17297 (clean): Clean up gdb.perf parallel build subdirs.
17298 * lib/build-piece.exp: New file.
17299 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17300 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17301 name.
17302 (standard_temp_file): Ditto.
17303 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17304 of $GDB_PARALLEL.
17305
c8bd4544
DE
173062015-07-24 Doug Evans <dje@google.com>
17307
17308 * gdb.perf/lib/perftest/utils.py: New file.
17309 * gdb.perf/gm-hello.cc: New file.
17310 * gdb.perf/gm-pervasive-typedef.cc: New file.
17311 * gdb.perf/gm-pervasive-typedef.h: New file.
17312 * gdb.perf/gm-std.cc: New file.
17313 * gdb.perf/gm-std.h: New file.
17314 * gdb.perf/gm-use-cerr.cc: New file.
17315 * gdb.perf/gm-utils.h: New file.
17316 * gdb.perf/gmonster-null-lookup.py: New file.
17317 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17318 * gdb.perf/gmonster-print-cerr.py: New file.
17319 * gdb.perf/gmonster-ptype-string.py: New file.
17320 * gdb.perf/gmonster-runto-main.py: New file.
17321 * gdb.perf/gmonster-select-file.py: New file.
17322 * gdb.perf/gmonster1-null-lookup.exp: New file.
17323 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17324 * gdb.perf/gmonster1-print-cerr.exp: New file.
17325 * gdb.perf/gmonster1-ptype-string.exp: New file.
17326 * gdb.perf/gmonster1-runto-main.exp: New file.
17327 * gdb.perf/gmonster1-select-file.exp: New file.
17328 * gdb.perf/gmonster1.cc: New file.
17329 * gdb.perf/gmonster1.exp: New file.
17330 * gdb.perf/gmonster2-null-lookup.exp: New file.
17331 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17332 * gdb.perf/gmonster2-print-cerr.exp: New file.
17333 * gdb.perf/gmonster2-ptype-string.exp: New file.
17334 * gdb.perf/gmonster2-runto-main.exp: New file.
17335 * gdb.perf/gmonster2-select-file.exp: New file.
17336 * gdb.perf/gmonster2.cc: New file.
17337 * gdb.perf/gmonster2.exp: New file.
17338
6eab34f3
DE
173392015-07-24 Doug Evans <dje@google.com>
17340
17341 * gdb.perf/README: New file.
17342 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17343 * lib/gen-perf-test.exp: New file.
17344
63738bfd
DE
173452015-07-24 Doug Evans <dje@google.com>
17346
17347 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17348 (PerfTest::startup): New function.
17349 (PerfTest::run): Return result of calling body.
17350 (PerfTest::assemble): Rewrite.
17351 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17352 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17353 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17354 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17355 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17356
7b606f95
DE
173572015-07-24 Doug Evans <dje@google.com>
17358
17359 * lib/gdb.exp (clean_restart): Make executable optional.
17360
a97b16b8
DE
173612015-07-24 Doug Evans <dje@google.com>
17362
17363 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17364 compiler_info references.
17365 * gdb.cp/temargs.exp: Ditto.
17366 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17367 (get_compiler_info): Early exit if already computed. Set compiler_info
17368 to "unknown" if there was a problem.
17369 (test_compiler_info): Add function comment. Call get_compiler_info.
17370
35baa57f
DE
173712015-07-24 Doug Evans <dje@google.com>
17372
17373 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17374 (workers/%.worker, build-perf): New rule.
17375 (GDB_PERFTEST_MODE): New variable.
17376 (check-perf): Use it.
17377 (clean): Clean up gdb.perf parallel build subdirs.
17378 * lib/build-piece.exp: New file.
17379 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17380 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17381 name.
17382 (standard_temp_file): Ditto.
17383 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17384 of $GDB_PARALLEL.
17385
6ebea266
DE
173862015-07-24 Doug Evans <dje@google.com>
17387
17388 * lib/future.exp (gdb_default_target_compile): New option
17389 "early_flags".
17390 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17391 --as-needed.
17392
1e76a7e9
SDJ
173932015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17394
17395 * gdb.base/catch-syscall.exp: Call gdb_exit before
17396 gdb_skip_xml_test.
17397
5068630a
PA
173982015-07-24 Pedro Alves <palves@redhat.com>
17399
17400 * gdb.python/py-events.exp: Accept output between the stop event
17401 and the prompt.
17402 * gdb.python/py-evsignal.exp: Likewise.
17403 * gdb.python/py-evthreads.exp: Likewise.
17404
77598427
PA
174052015-07-24 Pedro Alves <palves@redhat.com>
17406
17407 PR gdb/18717
17408 * gdb.threads/non-ldr-exit.c: New file.
17409 * gdb.threads/non-ldr-exit.exp: New file.
17410
11e6c98f
YQ
174112015-07-24 Yao Qi <yao.qi@linaro.org>
17412
17413 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17414 restarting process.
17415
51aee833
YQ
174162015-07-24 Yao Qi <yao.qi@linaro.org>
17417
17418 * gdb.server/ext-restart.exp: New file.
17419
8cfe207c
YQ
174202015-07-24 Yao Qi <yao.qi@linaro.org>
17421
17422 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
17423 argument options.
17424 * gdb.server/ext-wrapper.exp: New file.
17425
cc12ce38
DE
174262015-07-23 Doug Evans <dje@google.com>
17427
17428 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17429 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17430
d0d84780
PMR
174312015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17432
17433 * gdb.ada/var_arr_typedef.exp: New testcase.
17434 * gdb.ada/var_arr_typedef/pack.adb: New file.
17435 * gdb.ada/var_arr_typedef/pack.ads: New file.
17436 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17437
8b558f79
JB
174382015-07-20 Joel Brobecker <brobecker@adacore.com>
17439
17440 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17441
775a3298
JK
174422015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17443
17444 * gdb.arch/i386-biarch-core.exp: Replace istarget
17445 by "complete set gnutarget". Remove expectation for the "core-file"
17446 command.
17447
db1ff28b
JK
174482015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17449
17450 Revert the previous commit:
17451 Tests for validate symbol file using build-id.
17452
0a94970d
JK
174532015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17454
17455 Tests for validate symbol file using build-id.
17456 * gdb.base/solib-mismatch-lib.c: New file.
17457 * gdb.base/solib-mismatch-libmod.c: New file.
17458 * gdb.base/solib-mismatch.c: New file.
17459 * gdb.base/solib-mismatch.exp: New file.
17460
03346981
SL
174612015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17462
17463 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17464 nios2-*-linux*.
17465 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17466 * gdb.base/siginfo.exp: Likewise.
17467 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17468
42422cc7
PL
174692015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17470
17471 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17472 Move it to ...
17473 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17474 ... here.
17475 * gdb.trace/range-stepping.exp: Check that the target supports
17476 range stepping.
17477
cfa68bae
JK
174782015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17479
17480 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17481
8ffdba26
PA
174822015-07-14 Pedro Alves <palves@redhat.com>
17483
17484 * gdb.base/killed-outside.exp: New file.
17485 * gdb.base/killed-outside.c: New file.
17486
218a5a11
JK
174872015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17488
17489 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17490 (n at main): New.
17491 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17492
e03ed3c6
AA
174932015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17494
17495 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17496 infcall tests instead of setting up for KFAIL.
17497
485668e5
MM
174982015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17499
17500 * gdb.btrace/record_goto-step.exp: New.
17501
08464196
JK
175022015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17503
17504 PR compile/18484
17505 * gdb.compile/compile.c (struct struct_type): Add volatile to
17506 selffield's type.
17507 * gdb.compile/compile.exp
17508 (compile code struct_object.selffield = &struct_object): Skip further
17509 struct_object tests if this one xfails.
17510
bcf5c1d9
RC
175112015-07-08 Robert O'Callahan <robert@ocallahan.org>
17512
17513 PR exp/18617
17514 * gdb.trace/ax.exp: Add test.
17515
4931af25
YQ
175162015-07-07 Yao Qi <yao.qi@linaro.org>
17517
17518 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17519 instead of istarget "aarch64*-*-*".
17520 * gdb.arch/aarch64-fp.exp: Likewise.
17521 * gdb.base/float.exp: Likewise.
17522 * gdb.reverse/aarch64.exp: Likewise.
17523 * lib/gdb.exp (is_aarch64_target): New proc.
17524
9fcf688e
YQ
175252015-07-07 Yao Qi <yao.qi@linaro.org>
17526
17527 * lib/gdb.exp (is_aarch32_target): New proc.
17528 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17529 instead of "istarget "arm*-*-*"".
17530 * gdb.arch/arm-disp-step.exp: Likewise.
17531 * gdb.arch/thumb-bx-pc.exp: Likewise.
17532 * gdb.arch/thumb-prologue.exp: Likewise.
17533 * gdb.arch/thumb-singlestep.exp: Likewise.
17534 * gdb.base/disp-step-syscall.exp: Likewise.
17535 * gdb.base/float.exp: Likewise.
17536
fbd8d50d
YQ
175372015-07-07 Yao Qi <yao.qi@linaro.org>
17538
17539 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17540 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17541
71be1fdc
YQ
175422015-07-07 Yao Qi <yao.qi@linaro.org>
17543
17544 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17545 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17546 if it exists.
17547 * gdb.multi/multi-arch.exp: Likewise.
17548
3e221d36
SM
175492015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17550
17551 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17552 print.
17553
d441430b
YQ
175542015-07-07 Yao Qi <yao.qi@linaro.org>
17555
17556 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17557
06f810bd
MG
175582015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17559
17560 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17561 '[' and ']' characters.
17562
5e61e7c0
IB
175632015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17564
17565 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17566
28bf096c
PA
175672015-06-29 Pedro Alves <palves@redhat.com>
17568
17569 PR threads/18127
17570 * gdb.threads/hand-call-new-thread.c: New file.
17571 * gdb.threads/hand-call-new-thread.c: New file.
17572
ee93cd5e
KS
175732015-06-26 Keith Seitz <keiths@redhat.com>
17574 Doug Evans <dje@google.com>
17575
17576 PR 16253
17577 * gdb.cp/var-tag-2.cc: New file.
17578 * gdb.cp/var-tag-3.cc: New file.
17579 * gdb.cp/var-tag-4.cc: New file.
17580 * gdb.cp/var-tag.cc: New file.
17581 * gdb.cp/var-tag.exp: New file.
17582
fc637f04
PP
175832015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17584
17585 * gdb.base/history-duplicates.exp: New test.
17586
2e52ae68
PP
175872015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17588
17589 * gdb.base/completion.exp: Test the completion of the "focus"
17590 command.
17591
6e22494e
JK
175922015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17593
17594 * gdb.arch/amd64-prologue-skip.S: New file.
17595 * gdb.arch/amd64-prologue-skip.exp: New file.
17596
bf7b9cd9
SM
175972015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17598
17599 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17600 is_address_zero_readable check.
17601
201e8dfd
PB
176022015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17603
17604 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17605 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17606
5cd867b4
YQ
176072015-06-24 Yao Qi <yao.qi@linaro.org>
17608
17609 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17610 linux targets.
17611
4d7be007
YQ
176122015-06-24 Yao Qi <yao.qi@linaro.org>
17613
17614 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17615 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17616 * gdb.base/siginfo-thread.exp: Likewise.
17617
07fcd301
YQ
176182015-06-22 Yao Qi <yao.qi@linaro.org>
17619
17620 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17621
52042a00
YQ
176222015-06-22 Yao Qi <yao.qi@linaro.org>
17623
17624 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17625 aarch64*-*-*.
17626 (skip_hw_watchpoint_tests): Likewise.
17627
74bd41ce
PP
176282015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17629
17630 * gdb.base/gdbinit-history.exp: Test the interaction between
17631 setting GDBHISTSIZE and setting the history size via .gdbinit.
17632
bc460514
PP
176332015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17634
17635 PR gdb/16999
17636 * gdb.base/gdbhistsize-history.exp: New test.
17637
b58c513b
PP
176382015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17639
17640 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17641 with GDBHISTSIZE.
17642 * gdb.base/readline.exp: Likewise.
17643
92046791
YQ
176442015-06-17 Yao Qi <yao.qi@linaro.org>
17645
17646 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17647 line.
17648
2093d2d3
PP
176492015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17650
17651 * gdb.base/gdbinit-history.exp: Add test case to check that
17652 an unlimited history file does not get truncated on exit.
17653
e6c693af
AA
176542015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17655
17656 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17657 (VECTOR): New macro. Use it...
17658 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17659 ...for these typedefs.
17660 (int8, char1, int1, double1): New typedefs.
17661 (struct just_int2, struct two_int2): New structures.
17662 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17663 (add_structvecs, add_singlevecs): New functions.
17664 (main): Call add_some_intvecs twice.
17665 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17666 the compile and exit upon failure. Try compiling for the "native"
17667 architecture. Test inferior function calls with vector arguments
17668 and vector return value handling with "finish" and "return".
17669
c74f7d1c
JT
176702015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17671
17672 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17673 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17674 PE file.
17675 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17676
98aa42ee
AT
176772015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17678
17679 PR breakpoints/16465
17680 * gdb.mi/mi-dprintf-pending.c: New file.
17681 * gdb.mi/mi-dprintf-pending.exp: New test.
17682 * gdb.mi/mi-dprintf-pendshr.c: New file.
17683
7d73c23c 176842015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17685 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17686
17687 * gdb.arch/i386-mpx-map.c: New file.
17688 * gdb.arch/i386-mpx-map.exp: New File.
17689
176902015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17691
17692 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17693 * gdb.arch/i386-mpx.exp: Indentation fixed.
17694
176952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17696
17697 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17698 function and improved indentation.
17699 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17700 gdb_test_multiple. Added additional tests to skip the test.
17701
177022015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17703
17704 * gdb.arch/i386-avx512.c: Change path in include file.
17705 * gdb.arch/i386-avx512.exp: Change include dir path
17706 compilation flag.
17707 * gdb.arch/i386-mpx.c: Change path in include file.
17708 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17709 flag.
17710
d5eba19a
JK
177112015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17712
17713 * gdb.compile/compile-print.exp (compile print *vararray@3)
17714 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17715
7f361056
JK
177162015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17717
17718 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17719 (do not keep jit in memory): ... this.
17720 (expect 5): Change it to ...
17721 (expect no 5): ... this.
17722
3b462ec2
SM
177232015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17724
17725 PR gdb/15564
17726 * gdb.mi/mi-detach.exp: New file.
17727
e0619de6
JK
177282015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17729
17730 PR symtab/18392
17731 * gdb.arch/amd64-tailcall-self.S: New file.
17732 * gdb.arch/amd64-tailcall-self.c: New file.
17733 * gdb.arch/amd64-tailcall-self.exp: New file.
17734
e970cb34
DB
177352015-05-28 Don Breazeal <donb@codesourcery.com>
17736
17737 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17738 tests for remote targets by checking is_target_gdbserver.
17739
b2e2f908
DE
177402015-05-27 Doug Evans <dje@google.com>
17741
17742 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17743 * gdb.dwarf2/opaque-type-lookup.c: New file.
17744 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17745
82c7be31
DE
177462015-05-26 Doug Evans <dje@google.com>
17747
17748 * gdb.cp/iostream.cc: New file.
17749 * gdb.cp/iostream.exp: New file.
17750
b4f54984
DE
177512015-05-26 Doug Evans <dje@google.com>
17752
17753 * gdb.dwarf2/dw2-op-call.exp: Update.
17754 * gdb.dwarf2/dw4-sig-types.exp: Update.
17755 * gdb.dwarf2/implptr.exp: Update.
17756 * gdb.mi/mi-cmd-param-changed.exp: Update.
17757
4ea6efe9
DE
177582015-05-26 Doug Evans <dje@google.com>
17759
17760 * gdb.python/py-lazy-string.c: New file.
17761 * gdb.python/py-lazy-string.exp: New file.
17762 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17763 (main): Update. Add estring3.
17764 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17765 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17766
f6bb7db3
YQ
177672015-05-26 Omair Javaid <omair.javaid@linaro.org>
17768 Yao Qi <yao.qi@linaro.org>
17769
17770 * gdb.reverse/aarch64.c: New.
17771 * gdb.reverse/aarch64.exp: New.
17772
a81bfbd0
OJ
177732015-05-26 Omair Javaid <omair.javaid@linaro.org>
17774
25d49b86
PA
17775 * lib/gdb.exp (supports_process_record): Return true for
17776 aarch64*-linux*.
a81bfbd0
OJ
17777 (supports_reverse): Likewise.
17778
158bf1b4
PP
177792015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17780
17781 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17782 Use with_test_prefix.
17783
a0145030
AB
177842015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17785
17786 * gdb.base/completion.exp: Add test for completion of layout
17787 names.
17788
ebe3b578
AB
177892015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17790
17791 * lib/gdb.exp (skip_tui_tests): New proc.
17792 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17793
84204ed7
PA
177942015-05-19 Pedro Alves <palves@redhat.com>
17795
17796 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17797 Save the whole env array instead of just HOME. Unset HISTSIZE in
17798 the environment while testing. Restore whole environment
17799 afterwards.
17800
37442ce1
DE
178012015-05-16 Doug Evans <xdje42@gmail.com>
17802
17803 * gdb.guile/scm-ports.c: New file.
17804 * gdb.guile/scm-ports.exp: Add memory port tests.
17805
36de76f9
JK
178062015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17807
17808 * gdb.compile/compile-print.c: New file.
17809 * gdb.compile/compile-print.exp: New file.
17810
3a9558c4
JK
178112015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17812
17813 * gdb.compile/compile-ops.exp: Cast param to void.
17814 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17815 (compile code struct_object.selffield = &struct_object): Add xfail.
17816
aa715135
JG
178172015-05-15 Joel Brobecker <brobecker@adacore.com>
17818
17819 * gdb.ada/arr_enum_with_gap: New testcase.
17820
931e5bc3
JG
178212015-05-15 Joel Brobecker <brobecker@adacore.com>
17822
17823 * gdb.ada/byte_packed_arr: New testcase.
17824
9cd4d857
JB
178252015-05-15 Joel Brobecker <brobecker@adacore.com>
17826
17827 * gdb.ada/pckd_neg: New testcase.
17828
ebfd00d2
PP
178292015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17830
17831 PR gdb/17820
17832 * gdb.base/gdbinit-history.exp: New test.
17833 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17834 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17835
4c082a81
SC
178362015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17837
17838 * gdb.python/py-xmethods.cc: Enhance test case.
17839 * gdb.python/py-xmethods.exp: New tests.
17840 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17841 function.
17842 (B_indexoper): Likewise.
17843 (global_dm_list) : Add new xmethod worker functions.
17844
f7797074
SDJ
178452015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17846
17847 * gdb.base/coredump-filter.exp: Correctly unset
17848 "coredump_var_addr" array.
17849
a4674e4e
PA
178502015-05-08 Pedro Alves <palves@redhat.com>
17851
17852 * gdb.server/non-existing-program.exp: Unset spawn_id.
17853
df2eb078
SC
178542015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17855
17856 PR python/18291
17857 * gdb.python/py-xmethods.exp: Add tests.
17858
422349a3
YQ
178592015-05-08 Yao Qi <yao.qi@linaro.org>
17860
17861 PR gdb/18208
17862 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17863 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17864 function set_coredump_filter, and remove remote_exec call.
17865 Remove argument ipid. Callers update.
17866 (top level): Don't get inferior's PID.
17867
63fc80ce
AA
178682015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17869
17870 * gdb.base/watch_thread_num.exp: Skip test on targets without
17871 access watchpoints.
17872
80ad801e
PA
178732015-05-06 Pedro Alves <palves@redhat.com>
17874
17875 PR server/18081
17876 * gdb.server/non-existing-program.exp: New file.
17877
0fa7fe50
JB
178782015-05-05 Joel Brobecker <brobecker@adacore.com>
17879
17880 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17881
3ea89b92
PMR
178822015-05-05 Joel Brobecker <brobecker@adacore.com>
17883
17884 * gdb.ada/out_of_line_in_inlined: New testcase.
17885
87b8eff0
JB
178862015-05-05 Joel Brobecker <brobecker@adacore.com>
17887
17888 * gdb.ada/var_rec_arr: New testcase.
17889
5fccc635
YQ
178902015-04-30 Yao Qi <yao.qi@linaro.org>
17891
17892 * gdb.base/break-idempotent.exp: If
17893 skip_hw_watchpoint_multi_tests returns true, skip the tests
17894 on "rwatch" and "awatch".
17895
42d38f42
YQ
178962015-04-30 Yao Qi <yao.qi@linaro.org>
17897
17898 * gdb.base/relativedebug.exp: Invoke gdb command
17899 "info sharedlibrary", and if libc.so doesn't have debug info,
17900 skip the test.
17901
2ce1cdbf
DE
179022015-04-29 Doug Evans <dje@google.com>
17903
17904 * gdb.python/py-xmethods.exp: Add ptype tests.
17905 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17906 get_result_type method.
17907
f24a38c5
LM
179082015-04-29 Luis Machado <lgustavo@codesourcery.com>
17909
17910 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17911 the target does not support hardware watchpoints.
17912
ecbf2b3c
LM
179132015-04-29 Luis Machado <lgustavo@codesourcery.com>
17914
17915 * gdb.base/break-always.exp: Abort testing if writing to memory
17916 causes an error.
17917
34f5f757
DE
179182015-04-28 Doug Evans <dje@google.com>
17919
17920 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17921 * gdb.python/py-pp-registration.exp: ... here. New file.
17922 * gdb.python/py-pp-registration.c: New file.
17923 * gdb.python/py-pp-registration.py: New file.
17924
69b4374a
DE
179252015-04-28 Doug Evans <dje@google.com>
17926
17927 * gdb.python/py-bad-printers.c: New file.
17928 * gdb.python/py-bad-printers.py: New file.
17929 * gdb.python/py-bad-printers.exp: New file.
17930
59fb7612
SS
179312015-04-28 Sasha Smundak <asmundak@google.com>
17932
17933 * gdb.python/py-type.exp: New test.
17934
2631b16a
AW
179352015-04-28 Andy Wingo <wingo@igalia.com>
17936
17937 * gdb.python/py-parameter.exp:
17938 * gdb.guile/scm-parameter.exp: Escape the path that we are
17939 matching against, as it might contain characters that are special
17940 to regular expressions.
17941
460efde1
JB
179422015-04-27 Joel Brobecker <brobecker@adacore.com>
17943
17944 * gdb.ada/rec_comp: New testcase.
17945
2d369d8e
SDJ
179462015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17947
17948 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17949 before using it.
17950
cf75d6c3
AB
179512015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17952
17953 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17954 new tests for verilog output.
17955
8dbe7ca5
YQ
179562015-04-24 Yao Qi <yao.qi@linaro.org>
17957
17958 * boards/remote-gdbserver-on-localhost.exp: New file.
17959
4ef9fb2f
PA
179602015-04-23 Pedro Alves <palves@redhat.com>
17961
17962 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17963 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17964 "end of file", remove $inferior_spawn_id from the indirect list.
17965
0a803169
PA
179662015-04-23 Pedro Alves <palves@redhat.com>
17967
17968 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17969
749ef8f8
PA
179702015-04-23 Pedro Alves <palves@redhat.com>
17971
17972 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17973 on $any_spawn_id instead of only on $gdb_spawn_id.
17974
8aae4344
PM
179752015-04-21 Pierre Muller <muller@sourceware.org>
17976
17977 PR pascal/17815
17978 * lib/pascal.exp (gpc_compile): Add new option "class".
17979 (fpc_compile): Likewise.
17980 * gdb.pascal/case-insensitive-symbols.pas: New file.
17981 * gdb.pascal/case-insensitive-symbols.exp: New file.
17982
1586c8fb
GB
179832015-04-20 Gary Benson <gbenson@redhat.com>
17984
17985 * gdb.base/attach.exp: Fix three extended remote failures.
17986
1b6e6f5c
GB
179872015-04-17 Gary Benson <gbenson@redhat.com>
17988
17989 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17990 the main executable over the remote protocol.
17991
e797481d
PA
179922015-04-16 Pedro Alves <palves@redhat.com>
17993
17994 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17995 a new gdbserver if gdbserver_reconnect_p is set.
17996
1ca99c42
PA
179972015-04-16 Pedro Alves <palves@redhat.com>
17998
17999 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18000 is set, don't exit gdbserver.
18001
af9fd6f8
AA
180022015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18003
18004 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18005 appropriate .insn, such that an older assembler can be used.
18006 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18007 the z/Architecture instruction set on 31-bit targets as well.
18008
04ff1e61
AA
180092015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18010
18011 * gdb.go/handcall.exp: Remove all logic related to the first
18012 breakpoint and rely on go_runto_main instead.
18013 * gdb.go/strings.exp: Likewise.
18014 * gdb.go/unsafe.exp: Likewise.
18015 * gdb.go/hello.exp: Likewise. Also rename the remaining
18016 breakpoint marker to "breakpoint 1".
18017 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18018 * gdb.go/strings.go: Likewise.
18019 * gdb.go/unsafe.go: Likewise.
18020 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18021 "set breakpoint 2 here" and rename the remaining breakpoint marker
18022 to "breakpoint 1".
18023
40d2f8d6
SM
180242015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18025
18026 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18027 if itertools.imap is not present.
18028 * gdb.python/py-objfile.exp: Add parentheses.
18029 * gdb.python/py-type.exp: Same.
18030 * gdb.python/py-unwind-maint.py: Same.
18031
8cbc97c6
YQ
180322015-04-15 Yao Qi <yao.qi@linaro.org>
18033
18034 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18035 of ":$ptr_size" and set its form explicitly.
18036
45fd756c
YQ
180372015-04-15 Pedro Alves <palves@redhat.com>
18038 Yao Qi <yao.qi@linaro.org>
18039
18040 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18041 timeout by factor of 4.
18042 (test_regular_watch): Likewise.
18043 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18044 * gdb.reverse/sigall-reverse.exp: Likewise.
18045 * gdb.reverse/until-precsave.exp: Likewise.
18046 * lib/gdb.exp (with_timeout_factor): New proc.
18047 (gdb_expect): Move some code to ...
18048 (get_largest_timeout): ... here. New procedure.
18049
9e811bc3
LM
180502015-04-14 Luis Machado <lgustavo@codesourcery.com>
18051
18052 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18053
0ff6fcb2
LM
180542015-04-13 Luis Machado <lgustavo@codesourcery.com>
18055
18056 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18057 to write to the .text section.
18058
7578d5f7
LM
180592015-04-13 Luis Machado <lgustavo@codesourcery.com>
18060
18061 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18062 Handle the case of targets that do not provide PID information.
18063
2efe15c4
YQ
180642015-04-13 Yao Qi <yao.qi@linaro.org>
18065
18066 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18067 and use expect instead of gdb_expect.
18068
8cd8f2f8
SDJ
180692015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18070
18071 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18072 "coredump_var_addr" to avoid naming conflict with other testcases.
18073
9ee41772
PA
180742015-04-10 Pedro Alves <palves@redhat.com>
18075
18076 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18077 gdb_test_sequence and gdb_assert.
18078
07473109
PA
180792015-04-10 Pedro Alves <palves@redhat.com>
18080
18081 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18082 test messages that don't include the breakpoint address.
18083
de3db44c
YQ
180842015-04-10 Yao Qi <yao.qi@linaro.org>
18085
18086 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18087 false for some offset and width combinations which aren't
18088 supported by linux kernel.
18089
c79d856c
PA
180902015-04-10 Pedro Alves <palves@redhat.com>
18091
18092 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18093 procedure, factored out from ...
18094 (top level): ... here. Add "set displaced-stepping" testing axis.
18095 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18096 parameter "displaced". Use it.
18097 (top level): Use foreach and add "set displaced-stepping" testing
18098 axis.
18099
ebc90b50
PA
181002015-04-10 Pedro Alves <palves@redhat.com>
18101
18102 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18103 Remove comment.
18104 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18105 both the address of the instruction that triggers the watchpoint
18106 and the address of the instruction immediately after, and use
18107 those addresses for the test. Fix comment.
18108
8f572e5c
PA
181092015-04-10 Pedro Alves <palves@redhat.com>
18110
18111 * gdb.base/sigstep.exp (breakpoint_to_handler)
18112 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18113 Test "backtrace" in handler.
18114 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18115 (top level): Add new "displaced" test axis to
18116 breakpoint_to_handler, breakpoint_to_handler_entry and
18117 breakpoint_over_handler.
18118
8d707a12
PA
181192015-04-10 Pedro Alves <palves@redhat.com>
18120
18121 PR gdb/18216
18122 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18123
ef713951
YQ
181242015-04-10 Yao Qi <yao.qi@linaro.org>
18125
18126 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18127 (test_add_rn_pc): New function.
18128 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18129 (top level): Invoke test_add_rn_pc.
18130
906d60cf
PA
181312015-04-10 Pedro Alves <palves@redhat.com>
18132
18133 PR gdb/13858
18134 * gdb.base/step-over-no-symbols.exp: New file.
18135
f2983cc3
AW
181362015-04-09 Andy Wingo <wingo@igalia.com>
18137
18138 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18139 after the Python tests.
18140
6d62641c
SDJ
181412015-04-08 Keith Seitz <keiths@redhat.com>
18142
18143 PR python/16699
18144 * gdb.python/py-completion.exp: New tests for completion.
18145 * gdb.python/py-completion.py (CompleteLimit1): New class.
18146 (CompleteLimit2): Likewise.
18147 (CompleteLimit3): Likewise.
18148 (CompleteLimit4): Likewise.
18149 (CompleteLimit5): Likewise.
18150 (CompleteLimit6): Likewise.
18151 (CompleteLimit7): Likewise.
18152
f3770638
PA
181532015-04-08 Pedro Alves <palves@redhat.com>
18154
18155 PR gdb/18214
18156 PR gdb/18216
18157 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18158 function.
18159 (main): Install it as SIGUSR1 handler.
18160 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18161 parameter. Always use "setup" as prefix. Toggle "set
18162 displaced-stepping" off/on depending on global. Don't switch to
18163 thread 1 here.
18164 (top level): Add displaced stepping "off/on" test axis. Update
18165 "setup" calls. Wrap each subtest with with_test_prefix. Test
18166 continuing with a queued signal in each thread.
18167
4496bed7
PA
181682015-04-08 Pedro Alves <palves@redhat.com>
18169
18170 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18171 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18172 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18173 Return early if running to main fails.
18174 * gdb.trace/while-stepping.exp: Likewise.
18175
b97fde92
PA
181762015-04-07 Pedro Alves <palves@redhat.com>
18177
18178 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18179 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18180 interact with inferior program.
18181
f71c18e7
PA
181822015-04-07 Pedro Alves <palves@redhat.com>
18183
18184 * lib/gdb.exp (inferior_spawn_id): New global.
18185 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18186 spawn id after processing the user code.
18187 (default_gdb_start): Set inferior_spawn_id.
18188 (send_inferior): New procedure.
18189 * lib/gdbserver-support.exp (gdbserver_start): Set
18190 inferior_spawn_id.
18191 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18192
6423214f
PA
181932015-04-07 Pedro Alves <palves@redhat.com>
18194
18195 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18196 * lib/gdbserver-support.exp (gdbserver_start): Make
18197 $server_spawn_id global.
18198 (gdbserver_start): Don't wait for gdbserver's spawn id with
18199 expect_background.
18200 (close_gdbserver): New procedure.
18201 (gdb_exit): Rename the default version and reimplement.
18202
71c0ee8c
PA
182032015-04-07 Pedro Alves <palves@redhat.com>
18204
72f4393d 18205 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18206 append the substituted item, not the original item.
18207
203bc29b
PA
182082015-04-07 Pedro Alves <palves@redhat.com>
18209
18210 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18211 gdb_expect.
18212
508a3ddf
PA
182132015-04-07 Pedro Alves <palves@redhat.com>
18214
18215 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18216 output appearing once only.
18217
9f6dbe2b
PA
182182015-04-07 Pedro Alves <palves@redhat.com>
18219
18220 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18221 that doesn't expect anything. Return early if running to main
18222 fails.
18223
337532fa
YQ
182242015-04-07 Yao Qi <yao.qi@linaro.org>
18225
18226 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18227 (child_function): Call alarm.
18228 (main): Move call to alarm into the loop.
18229 * gdb.threads/non-stop-fair-events.exp: Build program with
18230 -DTIMEOUT=$timeout.
18231
01b622d4
DE
182322015-04-06 Doug Evans <xdje42@gmail.com>
18233
18234 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18235 Fix dest parameter to board_info.
18236 (fpc_compile): Ditto.
18237 (gdb_compile_pascal): Rename dest arg to destfile.
18238
961f4160
PMR
182392015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18240
18241 * gdb.ada/funcall_ref.exp: New file.
18242 * gdb.ada/funcall_ref/foo.adb: New file.
18243
cafda597
YQ
182442015-04-02 Yao Qi <yao.qi@linaro.org>
18245
18246 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18247 is remote.
18248
fed040c6
GB
182492015-04-02 Gary Benson <gbenson@redhat.com>
18250
18251 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18252
d11916aa
SS
182532015-04-01 Sasha Smundak <asmundak@google.com>
18254
18255 * gdb.python/py-unwind-maint.c: New file.
18256 * gdb.python/py-unwind-maint.exp: New test.
18257 * gdb.python/py-unwind-maint.py: New file.
18258 * gdb.python/py-unwind.c: New file.
18259 * gdb.python/py-unwind.exp: New test.
18260 * gdb.python/py-unwind.py: New test.
18261
a1471180
PA
182622015-04-01 Pedro Alves <palves@redhat.com>
18263
18264 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18265 to fail instead of non-existent $test.
18266
0bbeccb1
PA
182672015-04-01 Pedro Alves <palves@redhat.com>
18268
18269 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18270 GDBFLAGS if not empty.
18271
3c724c8c
PMR
182722015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18273
18274 * gdb.ada/complete.exp: Remove "multi_line".
18275 * gdb.ada/info_exc.exp: Remove "multi_line".
18276 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18277 * gdb.ada/ptype_field.exp: Remove "multi_line".
18278 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18279 * gdb.ada/tagged.exp: Remove "multi_line".
18280 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18281 [multi_line ...]
18282 * gdb.btrace/delta.exp: Likewise.
18283 * gdb.btrace/exception.exp: Likewise.
18284 * gdb.btrace/function_call_history.exp: Likewise.
18285 * gdb.btrace/instruction_history.exp: Likewise.
18286 * gdb.btrace/nohist.exp: Likewise.
18287 * gdb.btrace/record_goto.exp: Likewise.
18288 * gdb.btrace/segv.exp: Likewise.
18289 * gdb.btrace/stepi.exp: Likewise.
18290 * gdb.btrace/tailcall.exp: Likewise.
18291 * gdb.btrace/unknown_functions.exp: Likewise.
18292 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18293 * lib/gdb.exp: Add the "multi_line" helper.
18294
4eec2deb
PA
182952015-04-01 Pedro Alves <palves@redhat.com>
18296
18297 * gdb.threads/tid-reuse.c: New file.
18298 * gdb.threads/tid-reuse.exp: New file.
18299
df8411da
SDJ
183002015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18301
18302 PR corefiles/16092
18303 * gdb.base/coredump-filter.c: New file.
18304 * gdb.base/coredump-filter.exp: Likewise.
18305
6ef37366
PM
183062015-03-27 Petr Machata <pmachata@redhat.com>
18307
18308 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18309 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18310 (Dwarf::assemble): Initialize them.
18311 (Dwarf::lines): New function.
18312
7ec911b0
JT
183132015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18314
18315 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18316 SYMBOL_PREFIX for x86_64-*-cygwin.
18317
ff908ebf
AW
183182015-03-26 Andy Wingo <wingo@igalia.com>
18319
18320 PR symtab/18148
18321 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18322 const_value but not a location.
18323 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18324 location defined in non-main CUs are visible.
18325
6d5f0679
YQ
183262015-03-26 Yao Qi <yao.qi@linaro.org>
18327
18328 PR testsuite/18139
18329 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18330 Add a line number entry for the same line.
18331 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18332 Add a line number entry for the same line.
18333
2898689b
YQ
183342015-03-26 Yao Qi <yao.qi@linaro.org>
18335
18336 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18337 .int 0.
18338 (func): Likewise. Add .Lfunc_1 label.
18339 Use .Lfunc_1 label.
18340 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18341 .int 0.
18342 (func): Likewise.
18343 Use .Lfunc_1 label.
18344
85180498
YQ
183452015-03-26 Yao Qi <yao.qi@linaro.org>
18346
18347 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18348 Call gdb_compile instead to compile each .s files without debug
18349 information.
18350
8aa08a8d
YQ
183512015-03-26 Yao Qi <yao.qi@linaro.org>
18352
18353 * gdb.base/savedregs.exp (process_saved_regs): Make
18354 "Saved registers:" optional in the pattern.
18355
66849923
MM
183562015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18357
18358 * gdb.btrace/next.exp: Merged into step.exp.
18359 * gdb.btrace/finish.exp: Merged into step.exp.
18360 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18361 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18362 "record goto" and checking the exact replay position.
18363 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18364 check for "Recording format" in "info record" output.
18365 * gdb.btrace/record_goto.exp: Choose test file based on target.
18366 * gdb.btrace/x86-record_goto.S: Renamed into ...
18367 * gdb.btrace/x86_64-record_goto.S: ... this.
18368 * gdb.btrace/i686-record_goto.S: New.
18369 * gdb.btrace/x86-tailcall.S: Renamed into ...
18370 * gdb.btrace/x86_64-tailcall.S: ... this.
18371 * gdb.btrace/i686-tailcall.S: New.
18372 * gdb.btrace/x86-tailcall.c: Renamed into ...
18373 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18374 separate statements. Update test.
18375 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18376 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18377 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18378 * gdb.btrace/tailcall.exp: Choose test file based on target.
18379 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18380
11cc1b74
MM
183812015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18382
18383 * gdb.btrace/exception.exp: Increase BTS buffer size.
18384
a25d8bf9
PA
183852015-03-24 Pedro Alves <palves@redhat.com>
18386
18387 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18388
856e7dd6
PA
183892015-03-24 Pedro Alves <palves@redhat.com>
18390
18391 * gdb.threads/schedlock.exp (test_step): No longer expect that
18392 "set scheduler-locking step" with "next" over a function call runs
18393 threads unlocked.
18394
ad235a41
AT
183952015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18396
18397 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18398
15630549
AT
183992015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18400
18401 PR breakpoints/16466
18402 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18403 * gdb.mi/mi-pending.c (thread_func): New function.
18404 (int main): Add threading support required.
18405 * gdb.mi/mi-pending.exp: Add tests for this issue.
18406 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18407 (pendfunc2): Remove stdio dependency.
18408 * gdb.mi/mi-pendshr2.c: New file.
18409
693dca06
KS
184102015-03-23 Keith Seitz <keiths@redhat.com>
18411
18412 * gdb.linespec/keywords.c: New file.
18413 * gdb.linespec/keywords.exp: New file.
18414
7e993ebf
KS
184152015-03-23 Keith Seitz <keiths@redhat.com>
18416
18417 PR gdb/18021
18418 * gdb.dwarf2/staticvirtual.exp: New test.
18419
bc23328c
JK
184202015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18421
18422 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
18423 * README: Remove HP-UX and gdb.hp.
18424 (configuration):
18425 * configure: Regenerate.
18426 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
18427 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18428 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18429 gdb.hp/gdb.defects/Makefile.
18430 * gdb.hp/Makefile.in: File deleted.
18431 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18432 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18433 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18434 * gdb.hp/gdb.aCC/run.c: File deleted.
18435 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18436 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18437 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18438 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18439 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18440 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18441 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18442 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18443 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18444 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18445 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18446 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18447 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18448 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18449 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18450 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18451 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18452 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18453 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18454 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18455 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18456 * gdb.hp/gdb.compat/average.c: File deleted.
18457 * gdb.hp/gdb.compat/sum.c: File deleted.
18458 * gdb.hp/gdb.compat/xdb.c: File deleted.
18459 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18460 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18461 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18462 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18463 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18464 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18465 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18466 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18467 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18468 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18469 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18470 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18471 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18472 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18473 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18474 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18475 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18476 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18477 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18478 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18479 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18480 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18481 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18482 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18483 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18484 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18485 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18486 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18487 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18488 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18489 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18490 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18491 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18492 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18493 * gdb.hp/tools/odump: File deleted.
18494
8bf3b159
PA
184952015-03-19 Pedro Alves <palves@redhat.com>
18496
18497 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18498 (saw_thread_3): New globals.
18499 (top level): Increment them when an event for the corresponding
18500 thread is seen.
18501 (no thread starvation): New test.
18502
eb54c8bf
PA
185032015-03-19 Pedro Alves <palves@redhat.com>
18504
18505 * gdb.threads/continue-pending-status.c: New file.
18506 * gdb.threads/continue-pending-status.exp: New file.
18507
32d2e5d6
PA
185082015-03-18 Pedro Alves <palves@redhat.com>
18509
18510 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18511 Use gdb_is_target_remote instead of is_remote. Use
18512 gdb_test_multiple instead of gdb_expect. Exit early if
18513 gdb_test_multiple hits its internal matches. Tighten stepi tests
18514 expected output. Fail on exit with any signal, instead of just
18515 SIGILL.
18516
f68f11b7
YQ
185172015-03-18 Yao Qi <yao.qi@linaro.org>
18518
18519 PR tdep/18107
18520 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18521 variable.
18522 * gdb.base/catch-syscall.exp: Don't skip it on
18523 aarch64*-*-linux* target. Remove elements in all_syscalls.
18524 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18525 target.
18526 (setup_all_syscalls): New proc.
18527
ca5fd19b
YQ
185282015-03-16 Yao Qi <yao.qi@linaro.org>
18529
18530 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18531 (top level): Skip tests if valid_addr_p returns false for
18532 $cmd1 or $cmd2.
18533
85642ba0
AW
185342015-03-11 Andy Wingo <wingo@igalia.com>
18535
18536 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18537
e03f9645
YQ
185382015-03-11 Yao Qi <yao.qi@linaro.org>
18539
18540 * gdb.base/catch-syscall.exp: Fix typo in comments.
18541
5d0962b2
YQ
185422015-03-11 Yao Qi <yao.qi@linaro.org>
18543
18544 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18545
b2df3cef
PA
185462015-03-09 Pedro Alves <palves@redhat.com>
18547
18548 * dg-extract-results.py: Delete.
18549
ef878e53
PA
185502015-03-09 Pedro Alves <palves@redhat.com>
18551
18552 Merge dg-extract-results.sh from GCC upstream (r218843).
18553
18554 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18555 * dg-extract-results.sh: Use --text with grep to avoid issues with
18556 binary files. Fall back to cat -v, if that doesn't work.
18557
9494d219
PA
185582015-03-05 Pedro Alves <palves@redhat.com>
18559
18560 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18561
a8d9763a
SM
185622015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18563
18564 * lib/mi-support.exp (mi_expect_interrupt): Accept
18565 alternative event for when in all-stop mode.
18566
be9957b8
PA
185672015-03-04 Pedro Alves <palves@redhat.com>
18568
18569 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18570
d57be0f4 185712015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
18572
18573 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18574
c214c7cf
AA
185752015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18576
18577 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18578 regexps for GDB's current line display, accept a hex address
18579 preceding the line number.
18580
6d74a497
AA
185812015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18582
18583 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18584 the 'arch1' variable for "s390*-linux*" targets.
18585
511aee7c
PA
185862015-03-04 Pedro Alves <palves@redhat.com>
18587
18588 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18589 (main): Pass missing retval argument to pthread_join call.
18590
95e50b27
PA
185912015-03-02 Pedro Alves <palves@redhat.com>
18592
18593 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18594 (top level): Call do_test with non-stop as well.
18595
28054d69
PA
185962015-03-02 Pedro Alves <palves@redhat.com>
18597
18598 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18599 -1.
18600
4fa5d7b4
AA
186012015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18602
18603 * gdb.arch/s390-vregs.exp: New test.
18604 * gdb.arch/s390-vregs.S: New file.
18605
97c18565
PA
186062015-02-27 Pedro Alves <palves@redhat.com>
18607
18608 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18609 call to catch_command_errors.
18610 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18611 catch_command_errors.
18612
a37bfa30
PA
186132015-02-27 Pedro Alves <palves@redhat.com>
18614
18615 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18616 "true" for boolean result.
18617 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18618 prototype of main.
18619
6f98576f
PA
186202015-02-27 Pedro Alves <palves@redhat.com>
18621
18622 * lib/unbuffer_output.c: New file.
18623 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18624 (main): Call gdb_unbuffer_output.
18625
eba5ab56
YQ
186262015-02-27 Yao Qi <yao.qi@linaro.org>
18627
18628 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18629 target.
18630
0def5aaa
DE
186312015-02-26 Doug Evans <dje@google.com>
18632
18633 * gdb.cp/class2.cc (Dbase, D): New classes.
18634 (main): New local delta.
18635 * gdb.cp/class2.exp: Test printing delta.
18636 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18637 (dynbar): New global.
18638 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18639
081a1c2c
JK
186402015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18641
18642 * gdb.compile/compile-ifunc.c: New file.
18643 * gdb.compile/compile-ifunc.exp: New file.
18644
2f41223f
AT
186452015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18646
18647 * gdb.base/structs.exp: Check for correct struct on finish.
18648
03eddd80
YQ
186492015-02-26 Yao Qi <yao.qi@linaro.org>
18650
18651 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18652 is zero.
18653
80c57053
JK
186542015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18655
18656 * gdb.arch/cordic.ko.bz2: New file.
18657 * gdb.arch/cordic.ko.debug.bz2: New file.
18658 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18659
21613c12
YQ
186602015-02-25 Yao Qi <yao.qi@linaro.org>
18661
18662 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18663 aarch64*-*-* target.
18664
d8b901ed
PA
186652015-02-23 Pedro Alves <palves@redhat.com>
18666
18667 * lib/gdb.exp (delete_breakpoints): Rewrite using
18668 gdb_test_multiple.
18669
e5b85ead
PA
186702015-02-23 Pedro Alves <palves@redhat.com>
18671
18672 * gdb.base/info-os.c: Include stdlib.h.
18673
85c3a371
DE
186742015-02-22 Doug Evans <xdje42@gmail.com>
18675
18676 PR symtab/17855
18677 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18678 is read after symbols have been re-read.
18679 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18680 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18681
96553a0c
DE
186822015-02-21 Doug Evans <dje@google.com>
18683
18684 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18685
97a0c697
JK
186862015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18687
18688 PR corefiles/17808
18689 * gdb.arch/i386-biarch-core.core.bz2: New file.
18690 * gdb.arch/i386-biarch-core.exp: New file.
18691
a47cd6e9
PA
186922015-02-21 Pedro Alves <palves@redhat.com>
18693
18694 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18695 runto_main fails.
18696
c5facdc4
PA
186972015-02-20 Pedro Alves <palves@redhat.com>
18698
18699 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18700 info probes.
18701
2db9a427
PA
187022015-02-20 Pedro Alves <palves@redhat.com>
18703
18704 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18705
60fb7e9e
PA
187062015-02-20 Pedro Alves <palves@redhat.com>
18707
18708 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18709 clean_restart before gdb_target_supports_trace.
18710
5c5019c2
PA
187112015-02-20 Pedro Alves <palves@redhat.com>
18712
18713 PR threads/18006
18714 * gdb.threads/clone-thread_db.c: New file.
18715 * gdb.threads/clone-thread_db.exp: New file.
18716
c9587f88
AT
187172015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18718
18719 PR breakpoints/16812
18720 * gdb.base/catch-gdb-caused-signals.c: New file.
18721 * gdb.base/catch-gdb-caused-signals.exp: New file.
18722
f6a88844
JM
187232015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18724
18725 * configure: Regenerated.
18726 * configure.ac: Use GDB_AC_TRANSFORM.
18727 * aclocal.m4: sinclude ../transform.m4.
18728
497c491b
JM
187292015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18730
18731 * lib/dtrace.exp: New file.
18732 * gdb.base/dtrace-probe.exp: Likewise.
18733 * gdb.base/dtrace-probe.d: Likewise.
18734 * gdb.base/dtrace-probe.c: Likewise.
18735 * lib/pdtrace.in: Likewise.
18736 * configure.ac: Output variables with the transformed names of
18737 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18738 * configure: Regenerated.
18739
03e98035
JM
187402015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18741
18742 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18743 expected message when trying to access $_probe_* convenience
18744 variables while not on a probe.
18745
63cc30e9
JK
187462015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18747
18748 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18749
0703599a
PA
187502015-02-11 Pedro Alves <pedro@codesourcery.com>
18751
18752 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18753 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18754
7e60a48e
DE
187552015-02-10 Doug Evans <xdje42@gmail.com>
18756
18757 * lib/gdb.exp (gdb_load): Always return a result.
18758
01b088bc
PA
187592015-02-10 Pedro Alves <palves@redhat.com>
18760
18761 * gdb.threads/signal-sigtrap.c: New file.
18762 * gdb.threads/signal-sigtrap.exp: New file.
18763
b05ec7a5
AT
187642015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18765
18766 * gdb.trace/no-attach-trace.c: New file.
18767 * gdb.trace/no-attach-trace.exp: New file.
18768
a2c2acaf
MW
187692015-02-09 Mark Wielaard <mjw@redhat.com>
18770
18771 * gdb.dwarf2/atomic.c: New file.
18772 * gdb.dwarf2/atomic-type.exp: Likewise.
18773
31fd9caa
MM
187742015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18775
18776 * gdb.btrace/buffer-size.exp: Update "info record" output.
18777 * gdb.btrace/delta.exp: Update "info record" output.
18778 * gdb.btrace/enable.exp: Update "info record" output.
18779 * gdb.btrace/finish.exp: Update "info record" output.
18780 * gdb.btrace/instruction_history.exp: Update "info record" output.
18781 * gdb.btrace/next.exp: Update "info record" output.
18782 * gdb.btrace/nexti.exp: Update "info record" output.
18783 * gdb.btrace/step.exp: Update "info record" output.
18784 * gdb.btrace/stepi.exp: Update "info record" output.
18785 * gdb.btrace/nohist.exp: Update "info record" output.
18786
d33501a5
MM
187872015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18788
18789 * gdb.btrace/buffer-size: New.
18790
f4abbc16
MM
187912015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18792
18793 * gdb.btrace/delta.exp: Update "info record" output.
18794 * gdb.btrace/enable.exp: Update "info record" output.
18795 * gdb.btrace/finish.exp: Update "info record" output.
18796 * gdb.btrace/instruction_history.exp: Update "info record" output.
18797 * gdb.btrace/next.exp: Update "info record" output.
18798 * gdb.btrace/nexti.exp: Update "info record" output.
18799 * gdb.btrace/step.exp: Update "info record" output.
18800 * gdb.btrace/stepi.exp: Update "info record" output.
18801 * gdb.btrace/nohist.exp: Update "info record" output.
18802
b9d61307
SM
188032015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18804
18805 PR gdb/15678
18806 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18807
e584fdbc
PA
188082015-02-06 Pedro Alves <palves@redhat.com>
18809
18810 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18811 macro.
18812 (seconds_left, again): New globals.
18813 (main): Wait seconds_left in a 1-second sleep loop instead of
18814 sleeping 180 seconds. If 'again' is set, reset the seconds
18815 counter.
18816 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18817 'again' in the inferior before detaching. Print the seconds left.
18818 (options): New global.
18819 (top level): Build program with -DTIMEOUT=$timeout.
18820
77f41761
PA
188212015-02-06 Pedro Alves <palves@redhat.com>
18822
18823 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18824 determine how many seconds to pass to 'alarm'.
18825 * gdb.base/gdb-sigterm.exp (top level): Build program with
18826 -DTIMEOUT=$timeout.
18827 (do_test): Return success/failure indication. Add more verbose
18828 logging. Don't fail if 200 single steps are seen. Instead, fail
18829 when the test times out.
18830 (passes): New global.
18831 (top level): Break the testing loop if testing fails on any
18832 iteration. Use gdb_assert.
18833
b9394193
DB
188342015-02-04 Don Breazeal <donb@codesourcery.com>
18835
18836 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18837 and initialize them.
18838 (ipc_cleanup): New function.
18839 (main): Don't declare shmid, semid, and msqid. Add a call to
18840 atexit so that we call ipc_cleanup on exit.
18841
42d9e528
PA
188422015-02-04 Pedro Alves <palves@redhat.com>
18843
18844 * boards/native-extended-gdbserver.exp: Remove any target variant
18845 specifications from the board name before clearing the isremote
18846 flag from board_info.
18847
ae6ae975
DE
188482015-01-31 Doug Evans <xdje42@gmail.com>
18849
18850 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18851
cfb069a8
GB
188522015-01-31 Gary Benson <gbenson@redhat.com>
18853
18854 * gdb.base/completion.exp: Disable completion limiting for
18855 existing tests. Add new tests to check completion limiting.
18856 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18857
5dd31d79
DE
188582015-01-31 Doug Evans <xdje42@gmail.com>
18859
18860 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18861
9f050062
DE
188622015-01-31 Doug Evans <xdje42@gmail.com>
18863
18864 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18865 entries. Duplicate file section script entries.
18866 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18867 inlined entries. Add test for safe-path rejection.
18868 * gdb.python/py-section-script.c: Add duplicate inlined section script
18869 entries. Duplicate file section script entries.
18870 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18871 inlined entries. Add test for safe-path rejection.
18872
df25ebbd
JB
188732015-01-29 Joel Brobecker <brobecker@adacore.com>
18874
18875 * gdb.ada/disc_arr_bound: New testcase.
18876
4a0ca9ec
JB
188772015-01-29 Joel Brobecker <brobecker@adacore.com>
18878
18879 * gdb.ada/mi_var_array: New testcase.
18880
3a8b707a
DE
188812015-01-27 Doug Evans <dje@google.com>
18882
18883 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18884 Add test for objfile.filename, objfile.username after objfile
18885 has been unloaded.
18886
f8313f6e
JB
188872015-01-26 Joel Brobecker <brobecker@adacore.com>
18888
18889 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18890 the second test to print the name attribute of value
18891 returned by the call to gdb.lookup_type, and adjust
18892 the expected output accordingly.
18893
37bc665e
MW
188942015-01-25 Mark Wielaard <mjw@redhat.com>
18895
18896 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18897 * gdb.base/disp-step-fork.c: Include unistd.h.
18898 * gdb.base/siginfo-obj.c: Include stdio.h.
18899 * gdb.base/siginfo-thread.c: Likewise.
18900 * gdb.mi/non-stop.c: Include unistd.h.
18901 * gdb.mi/nsthrexec.c: Include stdio.h.
18902 * gdb.mi/pthreads.c: Include unistd.h.
18903 * gdb.modula2/unbounded1.c (main): Declare returns int.
18904 * gdb.reverse/consecutive-reverse.c: Likewise.
18905 * gdb.threads/create-fail.c: Include unistd.h.
18906 * gdb.threads/killed.c: Likewise.
18907 * gdb.threads/linux-dp.c: Likewise.
18908 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18909 * gdb.threads/non-ldr-exc-2.c: Likewise.
18910 * gdb.threads/non-ldr-exc-3.c: Likewise.
18911 * gdb.threads/non-ldr-exc-4.c: Likewise.
18912 * gdb.threads/pthreads.c: Include unistd.h.
18913 (main): Declare returns int.
18914 * gdb.threads/tls-main.c (foo): New declaration.
18915 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18916
f7e5394d
SM
189172015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18918
18919 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18920 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18921
743649fd
MW
189222015-01-15 Mark Wielaard <mjw@redhat.com>
18923
18924 * gdb.base/noreturn-return.c: New file.
18925 * gdb.base/noreturn-return.exp: New file.
18926 * gdb.base/noreturn-finish.c: New file.
18927 * gdb.base/noreturn-finish.exp: New file.
18928
198297aa
PA
189292015-01-23 Pedro Alves <palves@redhat.com>
18930
18931 * gdb.threads/continue-pending-after-query.c: New file.
18932 * gdb.threads/continue-pending-after-query.exp: New file.
18933
717cf30c
AG
189342015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18935 Simon Marchi <simon.marchi@ericsson.com>
18936
18937 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18938 * gdb.base/valgrind-db-attach.exp: Same.
18939 * gdb.base/valgrind-infcall.exp: Same.
18940 * lib/mi-support.exp (default_mi_gdb_start): Same.
18941 * lib/prompt.exp (default_prompt_gdb_start): Same.
18942 * lib/gdb.exp (default_gdb_spawn): Same.
18943 (gdb_interact): New.
18944
18945
4b62a76e
JK
189462015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18947
18948 * gdb.compile/compile.exp (pointer to jit function): New test.
18949
b4cdae6f
WW
189502015-01-17 Wei-cheng Wang <cole945@gmail.com>
18951
18952 * lib/gdb.exp (supports_process_record): Return true for
18953 powerpc*-*-linux*.
18954 (supports_reverse): Likewise.
18955
d221e7ef
DB
189562015-01-15 Don Breazeal <donb@codesourcery.com>
18957
18958 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18959 instead of checking whether the target board is remote and
18960 use spawn_wait_for_attach instead of exec/sleep.
18961 * gdb.base/attach-twice.exp: Likewise.
18962
bafffb51
JB
189632015-01-15 Joel Brobecker <brobecker@adacore.com>
18964
18965 * gdb.ada/var_arr_attrs: New testcase.
18966
5589af0e
PA
189672015-01-14 Pedro Alves <palves@redhat.com>
18968 Joel Brobecker <brobecker@adacore.com>
18969
18970 PR gdb/17525
18971 * gdb.base/bp-cmds-execution-x-script.c: New file.
18972 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18973 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18974
6c400b59
PA
189752015-01-14 Pedro Alves <palves@redhat.com>
18976
18977 PR cli/17828
18978 * gdb.base/batch-preserve-term-settings.c: New file.
18979 * gdb.base/batch-preserve-term-settings.exp: New file.
18980
e02c96a7
DE
189812015-01-13 Doug Evans <dje@google.com>
18982
18983 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18984 binary.
18985
576fd14c
JB
189862015-01-13 Joel Brobecker <brobecker@adacore.com>
18987
18988 * Makefile.in (clean mostlyclean): Do not delete *.py.
18989
04dccad0
JB
189902015-01-13 Joel Brobecker <brobecker@adacore.com>
18991
18992 * gdb.python/py-lookup-type.exp: New file.
18993
3d230f71
PA
189942015-01-12 Pedro Alves <palves@redhat.com>
18995
18996 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18997 restore GDBFLAGS before returning.
18998
7e67715d
JK
189992015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19000
19001 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19002 is_amd64_regs_target and is_x86_like_target.
19003
f2e0d4b4
DE
190042015-01-11 Doug Evans <xdje42@gmail.com>
19005
19006 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19007 is given without an explicit form.
19008 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19009 attributes.
19010 * gdb.dwarf/corrupt.exp: Ditto.
19011 * gdb.dwarf2/enum-type.exp: Ditto.
19012 * gdb.trace/entry-values.exp: Ditto.
19013 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19014
439250fb
DE
190152015-01-11 Doug Evans <xdje42@gmail.com>
19016
19017 PR gdb/15830
19018 * gdb.base/maint.exp: Remove references to "maint demangle".
19019 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19020 Add tests for explicitly specifying language to demangle.
19021 * gdb.dlang/demangle.exp: Ditto.
19022
ede9f622
PA
190232015-01-09 Pedro Alves <palves@redhat.com>
19024
19025 * gdb.threads/non-stop-fair-events.c: New file.
19026 * gdb.threads/non-stop-fair-events.exp: New file.
19027
a7b796db
PA
190282015-01-09 Pedro Alves <palves@redhat.com>
19029
19030 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19031 the global scope. Set a breakpoint after all threads are started
19032 rather than stepping over two source lines. Expect the prompt.
19033 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19034 global.
19035 (NUM): Now 15.
19036 (main): Use threads_started_barrier to wait for all threads to
19037 start. Main thread no longer calls thread_function. Exit after
19038 180 seconds.
19039 (loop): New function.
19040 (thread_function): Wait on threads_started_barrier barrier. Call
19041 'loop' at each iteration.
19042 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19043 threads have started, instead of hardcoding number of "next"
19044 steps. Use an access watchpoint instead of a write watchpoint.
19045
9665ffdd
PA
190462015-01-09 Pedro Alves <palves@redhat.com>
19047
19048 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19049 (thread_func): Wait on barrier.
19050 (main): Wait for all threads to start before stopping GDB.
19051 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19052 global.
19053 (thread1_func, thread2_func): Wait on barrier.
19054 (main): Wait for all threads to start before stopping GDB.
19055 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19056 New global.
19057 (thread1_func, thread2_func): Wait on barrier.
19058 (main): Wait for all threads to start before stopping GDB.
19059
c945a99f
PA
190602015-01-09 Pedro Alves <palves@redhat.com>
19061
19062 * gdb.threads/attach-many-short-lived-threads.c: New file.
19063 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19064
c1a747c1
PA
190652014-01-09 Pedro Alves <palves@redhat.com>
19066
19067 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19068 instead of to thread 2.
19069 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19070 Add barrier around each pthread_create call instead of around all
19071 calls.
19072 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19073 Set a break on thread_function and have the child threads hit it
19074 one at at a time.
19075
60b3033e
PA
190762015-01-09 Pedro Alves <palves@redhat.com>
19077
19078 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19079 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19080 false.
19081 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19082 checking whether the target board is remote.
19083 * gdb.multi/multi-attach.exp: Likewise.
19084 * gdb.python/py-sync-interp.exp: Likewise.
19085 * gdb.server/ext-attach.exp: Likewise.
19086 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19087 tests that need to attach, instead of checking whether the target
19088 board is remote at the top of the file.
19089
acc018ac
YQ
190902015-01-08 Yao Qi <yao@codesourcery.com>
19091
19092 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19093
50a18af8
JK
190942015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19095
19096 Fix testcase compilation.
19097 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19098
8503d6e1
JB
190992015-01-06 Joel Brobecker <brobecker@adacore.com>
19100
19101 * gdb.python/py-type.exp: Add a couple test about empty
19102 array creation, and negative-length array creation.
19103
cc73dbcc
DE
191042015-01-02 Doug Evans <xdje42@gmail.com>
19105
19106 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19107
0300bbc7
DE
191082015-01-02 Doug Evans <dje@google.com>
19109
19110 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19111
9d85a0ec
YQ
191122014-12-29 Yao Qi <yao@codesourcery.com>
19113
19114 * gdb.trace/entry-values.exp: Update comments. Rename variable
19115 bar_call_foo to returned_from_foo.
19116
87186c6a
MMN
191172014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19118
19119 PR gdb/17394
19120 * gdb.linespec/break-asm-file.c: New file.
19121 * gdb.linespec/break-asm-file.exp: New file.
19122 * gdb.linespec/break-asm-file0.s: New file.
19123 * gdb.linespec/break-asm-file1.s: New file.
19124
1bab7383
YQ
191252014-12-18 Nigel Stephens <nigel@mips.com>
19126 Maciej W. Rozycki <macro@codesourcery.com>
19127
19128 * gdb.base/float.exp: Handle the new output from "info float" on
19129 MIPS targets.
19130
1bc1068a
JK
191312014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19132
19133 Fix MinGW compilation.
19134 * gdb.compile/compile-ops.exp: Update untested message if
19135 !skip_compile_feature_tests.
19136 * gdb.compile/compile-setjmp.exp: Likewise.
19137 * gdb.compile/compile-tls.exp: Likewise.
19138 * gdb.compile/compile.exp: Likewise.
19139 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19140 supported on this host".
19141
b6615d10
DE
191422014-12-16 Doug Evans <xdje42@gmail.com>
19143
19144 * boards/stabs.exp: New file.
19145
25dda427
AA
191462014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19147
19148 * gdb.base/completion.exp: Adjust to format changes of "maint
19149 print user-registers".
19150
bf330350
CU
191512014-12-16 Catalin Udma <catalin.udma@freescale.com>
19152
19153 PR server/17457
19154 * gdb.arch/aarch64-fp.c: New file.
19155 * gdb.arch/aarch64-fp.exp: New file.
19156
395cf596
SDJ
191572014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19158
19159 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19160 r210637, r210913, r211666, r215400, r215817).
19161
19162 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19163 * dg-extract-results.py: New file.
19164 * dg-extract-results.sh: Use it if the environment seems
19165 suitable.
19166
19167 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19168
19169 * dg-extract-results.py (parse_run): Handle warnings that
19170 are printed before a test harness is run.
19171
19172 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19173
19174 * dg-extract-results.py (Named): Remove __cmp__ method.
19175 (output_variation): Use a key to sort variation.harnesses.
19176
19177 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19178
19179 * dg-extract-results.py: For Python 3, force sys.stdout to
19180 handle surrogate escape sequences.
19181 (safe_open): New function.
19182 (output_segment, main): Use it.
19183
19184 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19185
19186 * dg-extract-results.py (Prog.result_re): Include options
19187 in test name.
19188
19189 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19190
19191 * dg-extract-results.py (output_variation): Always sort if
19192 do_sum.
19193
e882ef3c
SM
191942014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19195
19196 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19197 as long as we get pagination notifications.
19198
4992aa20
JM
191992014-12-15 Jason Merrill <jason@redhat.com>
19200
19201 * Makefile.in (check-gdb.%): Restore.
19202 * README: Mention it.
19203
c1b5a1a6
JB
192042014-12-13 Joel Brobecker <brobecker@adacore.com>
19205
19206 * gdb.ada/str_uninit: New testcase.
19207
5537b577
JK
192082014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19209
19210 PR symtab/17642
19211 * gdb.base/vla-stub-define.c: New file.
19212 * gdb.base/vla-stub.c: New file.
19213 * gdb.base/vla-stub.exp: New file.
19214
bb2ec1b3
TT
192152014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19216 Jan Kratochvil <jan.kratochvil@redhat.com>
19217 Tom Tromey <tromey@redhat.com>
19218
19219 * configure.ac: Add gdb.compile/.
19220 * configure: Regenerate.
19221 * gdb.compile/Makefile.in: New file.
19222 * gdb.compile/compile-ops.exp: New file.
19223 * gdb.compile/compile-ops.c: New file.
19224 * gdb.compile/compile-tls.c: New file.
19225 * gdb.compile/compile-tls.exp: New file.
19226 * gdb.compile/compile-constvar.S: New file.
19227 * gdb.compile/compile-constvar.c: New file.
19228 * gdb.compile/compile-mod.c: New file.
19229 * gdb.compile/compile-nodebug.c: New file.
19230 * gdb.compile/compile-setjmp-mod.c: New file.
19231 * gdb.compile/compile-setjmp.c: New file.
19232 * gdb.compile/compile-setjmp.exp: New file.
19233 * gdb.compile/compile-shlib.c: New file.
19234 * gdb.compile/compile.c: New file.
19235 * gdb.compile/compile.exp: New file.
19236 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19237
4ff709eb
TT
192382014-12-12 Tom Tromey <tromey@redhat.com>
19239
19240 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19241 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19242
6dddd6a5
DE
192432014-12-12 Doug Evans <dje@google.com>
19244
19245 * lib/gdb-python.exp (get_python_valueof): New function.
19246 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19247
71c24708
AA
192482014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19249
19250 * gdb.base/completion.exp: Add test for completion of "info
19251 registers ".
19252
3e29f34a
MR
192532014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19254
19255 * gdb.base/func-ptrs.c: New file.
19256 * gdb.base/func-ptrs.exp: New file.
19257
fc126975
SM
192582014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19259
19260 PR breakpoints/17012
19261 * gdb.base/dprintf-detach.c: New file.
19262 * gdb.base/dprintf-detach.exp: New file.
19263
0a46d518
SM
192642014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19265
19266 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19267 * lib/gdb.exp (target_is_gdbserver): New procedure.
19268
a0be3e44
DE
192692014-12-08 Doug Evans <dje@google.com>
19270
19271 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19272
df1b803a
YQ
192732014-12-05 Yao Qi <yao@codesourcery.com>
19274
19275 * gdb.guile/scm-error.exp: Remove the third argument to
19276 gdb_remote_download.
19277 * gdb.guile/scm-frame-args.exp: Likewise.
19278 * gdb.guile/scm-section-script.exp: Likewise.
19279
ddb9f679
YQ
192802014-12-05 Yao Qi <yao@codesourcery.com>
19281
19282 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19283
86e4ed39
DE
192842014-12-04 Doug Evans <dje@google.com>
19285
19286 * gdb.python/py-objfile.exp: Add tests for
19287 objfile.add_separate_debug_file.
19288
7c50a931
DE
192892014-12-04 Doug Evans <dje@google.com>
19290
19291 * lib/gdb.exp (get_build_id): New function.
19292 (build_id_debug_filename_get): Rewrite to use it.
19293 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19294
621661e3
MR
192952014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19296
19297 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19298 `method(long)', not just 0x0.
19299 * gdb.cp/nsalias.exp: Align code labels to 4.
19300 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19301 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19302 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19303 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19304 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19305 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19306
29f0c3b7
DE
193072014-12-02 Doug Evans <dje@google.com>
19308
e1e061e7 19309 PR symtab/17602
29f0c3b7 19310 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19311 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19312 * gdb.cp/anon-ns.exp: Update.
19313
162078c8
NB
193142014-12-02 Nick Bull <nicholaspbull@gmail.com>
19315
19316 * gdb.python/py-events.py (inferior_call_handler): New.
19317 (register_changed_handler, memory_changed_handler): New.
19318 (test_events.invoke): Register new handlers.
19319 * gdb.python/py-events.exp: Add tests for inferior call,
19320 memory_changed and register_changed events.
19321
fdb09caf
AA
193222014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19323
19324 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19325 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19326 if the linker doesn't understand this.
19327
55cfb2c4
SM
193282014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19329
19330 * gdb.python/python.exp: Change expected reply to help().
19331
9e8cd6df
YQ
193322014-12-01 Yao Qi <yao@codesourcery.com>
19333
19334 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19335 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19336 * configure: Re-generated.
19337
6c659fc2
SC
193382014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19339
19340 * gdb.cp/chained-calls.cc: New file.
19341 * gdb.cp/chained-calls.exp: New file.
19342 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19343
d7fc3181
SM
193442014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19345
19346 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19347 * gdb.dwarf2/symtab-producer.exp: Same.
19348 * gdb.gdb/python-interrupts.exp: Same.
19349 * gdb.gdb/python-selftest.exp: Same.
19350 * gdb.python/py-linetable.exp: Same.
19351 * gdb.python/py-type.exp: Same.
19352 * gdb.python/py-value-cc.exp: Same.
19353 * gdb.python/py-value.exp: Same.
19354
10e79639
YQ
193552014-11-28 Yao Qi <yao@codesourcery.com>
19356
19357 * gdb.base/break-probes.exp: Match library name prefixed with
19358 sysroot.
19359
f28a0564
SM
193602014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19361
19362 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19363 test expected output. Add parentheses for the call to print.
19364 Remove L suffix from integers.
19365
3fe1ce1d
DE
193662014-11-26 Doug Evans <dje@google.com>
19367
19368 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19369
84429e27
YQ
193702014-11-22 Yao Qi <yao@codesourcery.com>
19371
19372 * gdb.trace/entry-values.c: Remove asms.
19373 (foo): Add foo_label.
19374 (bar): Add bar_label.
19375 * gdb.trace/entry-values.exp: Remove code computing foo's
19376 length and bar's length.
19377 (Dwarf::assemble): Invoke function_range for bar and use
19378 MACRO_AT_func for foo.
19379
26741859
YQ
193802014-11-22 Yao Qi <yao@codesourcery.com>
19381
19382 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19383 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19384 Use .Lgcc43_procstart instead of gcc43.
19385
45e44d27
JB
193862014-11-21 Joel Brobecker <brobecker@adacore.com>
19387
19388 * gdb.ada/n_arr_bound: New testcase.
19389
458c8db8
SDJ
193902014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19391
19392 PR breakpoints/10737
19393 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19394 test_catch_syscall_multi_arch.
19395 (test_catch_syscall_multi_arch): New function.
19396
43f3e411
DE
193972014-11-20 Doug Evans <xdje42@gmail.com>
19398
19399 * gdb.base/maint.exp: Update expected output.
19400
0d7b2549
AA
194012014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19402
19403 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19404 4-byte instruction on S390.
19405
8908fca5
JB
194062014-11-19 Joel Brobecker <brobecker@adacore.com>
19407
19408 * gdb.ada/arr_arr: New testcase.
19409
4a46959e
JB
194102014-11-19 Joel Brobecker <brobecker@adacore.com>
19411
19412 * gdb.ada/pkd_arr_elem: New Testcase.
19413
470e2f4e
LM
194142014-11-18 Luis Machado <lgustavo@codesourcery.com>
19415
19416 * gdb.reverse/break-precsave: Expect completion message for
19417 core file reads.
19418 * gdb.reverse/consecutive-precsave.exp: Likewise.
19419 * gdb.reverse/finish-precsave.exp: Likewise.
19420 * gdb.reverse/i386-precsave.exp: Likewise.
19421 * gdb.reverse/machinestate-precsave.exp: Likewise.
19422 * gdb.reverse/sigall-precsave.exp: Likewise.
19423 * gdb.reverse/solib-precsave.exp: Likewise.
19424 * gdb.reverse/step-precsave.exp: Likewise.
19425 * gdb.reverse/until-precsave.exp: Likewise.
19426 * gdb.reverse/watch-precsave.exp: Likewise.
19427
a267f3ad
AA
194282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19429
19430 * gdb.base/bp-permanent.c: Include unistd.h.
19431 * gdb.python/py-framefilter-mi.c (main): Add return type.
19432 * gdb.python/py-framefilter.c (main): Likewise.
19433 * gdb.trace/actions-changed.c (main): Likewise.
19434
12084a9a
AA
194352014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19436
19437 * gdb.mi/until.c: Add eye-catchers.
19438 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19439 line numbers.
19440
dc7e1a77
AA
194412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19442
19443 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19444 function header variants in break1.c.
19445 * gdb.base/ena-dis-br.exp: Likewise.
19446 * gdb.base/hbreak2.exp: Likewise.
19447 * gdb.reverse/until-precsave.exp: Drop references to removed
19448 non-prototype function header variants in ur1.c.
19449 * gdb.reverse/until-reverse.exp: Likewise.
19450
41c77605
PM
194512014-11-17 Petr Machata <pmachata@redhat.com>
19452
19453 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19454 ${_cu_offset_size} bytes abbrev offset.
19455
34248c3a
DE
194562014-11-15 Doug Evans <xdje42@gmail.com>
19457
19458 PR symtab/17559
19459 * gdb.base/line-symtabs.exp: New file.
19460 * gdb.base/line-symtabs.c: New file.
19461 * gdb.base/line-symtabs.h: New file.
19462
646da059
YQ
194632014-11-14 Yao Qi <yao@codesourcery.com>
19464
19465 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19466 (func): Add label func_label.
19467 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19468 Replace low_pc and high_pc with MACRO_AT_range.
19469 Replace name, low_pc and high_pc with MACRO_AT_func.
19470
9301ebe6
YQ
194712014-11-14 Yao Qi <yao@codesourcery.com>
19472
19473 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19474 Replace name, low_pc and high_pc with MACRO_AT_func.
19475
f166b542
YQ
194762014-11-14 Yao Qi <yao@codesourcery.com>
19477
19478 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19479 produce debug information.
19480 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19481
0f6e71e3
YQ
194822014-11-14 Yao Qi <yao@codesourcery.com>
19483
19484 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19485 object and get function length.
19486 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19487 with MACRO_AT_func.
19488 (top-level): Replace gdb_compile and clean_restart with
19489 prepare_for_testing.
19490 * gdb.dwarf2/main.c (main): Add label main_label.
19491
876c4df9
YQ
194922014-11-14 Yao Qi <yao@codesourcery.com>
19493
19494 * lib/dwarf.exp (function_range): New procedure.
19495 (Dwarf::_handle_macro_at_func): New procedure.
19496 (Dwarf::_handle_macro_at_range): New procedure.
19497 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19498
02ad9cf1
YQ
194992014-11-14 Yao Qi <yao@codesourcery.com>
19500
19501 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19502 (_handle_attribute): New procedure.
19503
a59add0c
AA
195042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19505
19506 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19507 * gdb.base/call-sc.c (zed): Likewise.
19508 * gdb.base/checkpoint.c (main): Likewise.
19509 * gdb.base/dump.c (main): Likewise.
19510 * gdb.base/gcore.c (main): Likewise.
19511 * gdb.base/huge.c (main): Likewise.
19512 * gdb.base/multi-forks.c (main): Likewise.
19513 * gdb.base/pr10179-a.c (main): Likewise.
19514 * gdb.base/savedregs.c (main): Likewise.
19515 * gdb.base/sigaltstack.c (main): Likewise.
19516 * gdb.base/siginfo.c (main): Likewise.
19517 * gdb.base/structs.c (zed): Likewise.
19518 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19519 * gdb.mi/mi-syn-frame.c (main): Likewise.
19520 * gdb.mi/until.c (foo, main): Likewise.
19521 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19522 * gdb.base/solib-weak.c (foo): Declare.
19523 * gdb.base/attach-twice.c: Include stdio.h.
19524 * gdb.base/weaklib1.c: Likewise.
19525 * gdb.base/weaklib2.c: Likewise.
19526 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19527 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19528 unistd.h.
19529 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19530 * gdb.mi/mi-exit-code.c: Likewise.
19531 * gdb.base/break-interp-lib.c: Include string.h.
19532 * gdb.base/coremaker.c: Likewise.
19533 * gdb.base/testenv.c: Likewise.
19534 * gdb.python/py-finish-breakpoint.c: Likewise.
19535 * gdb.base/inferior-died.c: Include sys/wait.h.
19536 * gdb.base/fileio.c: Include time.h.
19537 * gdb.base/async-shell.c: Include unistd.h.
19538 * gdb.base/dprintf-non-stop.c: Likewise.
19539 * gdb.base/info-os.c: Likewise.
19540 * gdb.mi/mi-console.c: Likewise.
19541 * gdb.mi/watch-nonstop.c: Likewise.
19542 * gdb.python/py-events.c: Likewise.
19543 * gdb.base/async.c (baz): Move up before its invocation.
19544 * gdb.base/code_elim2.c (my_global_func): Likewise.
19545 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19546 * gdb.base/advance.c (func2): Likewise.
19547
3b5d5997
AA
195482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19549
19550 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19551 variant.
19552 * gdb.base/annota3.c: Likewise.
19553 * gdb.base/async.c: Likewise.
19554 * gdb.base/average.c: Likewise.
19555 * gdb.base/call-ar-st.c: Likewise.
19556 * gdb.base/call-rt-st.c: Likewise.
19557 * gdb.base/call-sc.c: Likewise.
19558 * gdb.base/call-strs.c: Likewise.
19559 * gdb.base/ending-run.c: Likewise.
19560 * gdb.base/execd-prog.c: Likewise.
19561 * gdb.base/exprs.c: Likewise.
19562 * gdb.base/foll-exec.c: Likewise.
19563 * gdb.base/foll-fork.c: Likewise.
19564 * gdb.base/foll-vfork.c: Likewise.
19565 * gdb.base/funcargs.c: Likewise.
19566 * gdb.base/gcore.c: Likewise.
19567 * gdb.base/jump.c: Likewise.
19568 * gdb.base/langs0.c: Likewise.
19569 * gdb.base/langs1.c: Likewise.
19570 * gdb.base/langs2.c: Likewise.
19571 * gdb.base/mips_pro.c: Likewise.
19572 * gdb.base/nodebug.c: Likewise.
19573 * gdb.base/opaque0.c: Likewise.
19574 * gdb.base/opaque1.c: Likewise.
19575 * gdb.base/recurse.c: Likewise.
19576 * gdb.base/run.c: Likewise.
19577 * gdb.base/scope0.c: Likewise.
19578 * gdb.base/scope1.c: Likewise.
19579 * gdb.base/setshow.c: Likewise.
19580 * gdb.base/setvar.c: Likewise.
19581 * gdb.base/shmain.c: Likewise.
19582 * gdb.base/shr1.c: Likewise.
19583 * gdb.base/shr2.c: Likewise.
19584 * gdb.base/sigall.c: Likewise.
19585 * gdb.base/signals.c: Likewise.
19586 * gdb.base/so-indr-cl.c: Likewise.
19587 * gdb.base/solib2.c: Likewise.
19588 * gdb.base/structs.c: Likewise.
19589 * gdb.base/sum.c: Likewise.
19590 * gdb.base/vforked-prog.c: Likewise.
19591 * gdb.base/watchpoint.c: Likewise.
19592 * gdb.reverse/shr2.c: Likewise.
19593 * gdb.reverse/until-reverse.c: Likewise.
19594 * gdb.reverse/ur1.c: Likewise.
19595 * gdb.reverse/watch-reverse.c: Likewise.
19596
066a77c5
AA
195972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19598
19599 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19600 variant.
19601 * gdb.base/sepdebug.exp: Drop references to removed code.
19602
4f204ea5
AA
196032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19604
19605 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19606 variant. Preserve original line numbering.
19607 * gdb.base/list1.c: Likewise.
19608
3b377a3a
AA
196092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19610
19611 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19612 variant.
19613 * gdb.base/break1.c: Likewise.
19614 * gdb.base/break.exp: Drop references to removed code.
19615
e444df73
AA
196162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19617
19618 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19619 variant.
19620
8008f2a7
AA
196212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19622
19623 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19624
a5a06887
AA
196252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19626
19627 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19628 logic into perform_all_tests() and invoke it with and without
19629 function header prototypes.
19630 (do_function_calls): Remove conditional XFAIL for PR 5318.
19631 (rerun_and_prepare): Remove duplicate code.
19632 (perform_all_tests): New. Main logic moved here.
19633
44dba9b9
AA
196342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19635
19636 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19637 code guarded by #ifdef NO_PROTOTYPES.
19638 (t_double_many_args): Likewise.
19639 (DEF_FUNC_MANY_ARGS_1): Likewise.
19640 (DEF_FUNC_VALUES_1): Likewise.
19641 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19642 guarded by #ifdef PROTOTYPES.
19643
d1fbcd56
AA
196442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19645
19646 * gdb.mi/mi-console.c: Add eye-catcher.
19647 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19648 instead of literal line number.
19649
b0e59b8f
AA
196502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19651
19652 * gdb.base/shr2.c: Add eye-catcher.
19653 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19654 line number.
19655
78f98cca
AA
196562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19657
19658 * gdb.base/jump.c: Add eye-catchers.
19659 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19660 numbers.
19661
58fa2af0
AA
196622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19663
19664 * gdb.base/execd-prog.c: Add eye-catchers.
19665 * gdb.base/foll-exec.c: Likewise.
19666 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19667 line numbers.
19668
04e5059b
AA
196692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19670
19671 * gdb.base/ending-run.c: Add eye-catchers.
19672 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19673 literal line numbers.
19674
dbfdb174
AA
196752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19676
19677 * gdb.base/call-rt-st.c: Add eye-catchers.
19678 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19679 literal line numbers.
19680
888a2ade
AA
196812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19682
19683 * gdb.base/call-ar-st.c: Add eye-catchers.
19684 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19685 literal line numbers.
19686
6acc2dde
AA
196872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19688
19689 * gdb.base/average.c: Add eye-catchers.
19690 * gdb.base/sum.c: Likewise.
19691 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19692 regexps dynamically.
19693
9ecfcd1d
AA
196942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19695
19696 * gdb.base/solib1.c: Add eye-catchers.
19697 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19698 literal line numbers.
19699
78708b7c
PA
197002014-11-12 Pedro Alves <palves@redhat.com>
19701
19702 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19703 leader has exited.
19704
af48d08f
PA
197052014-11-12 Pedro Alves <palves@redhat.com>
19706
19707 * gdb.arch/i386-bp_permanent.c: New file.
19708 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19709 (srcfile): Set to i386-bp_permanent.c.
19710 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19711 that stepi does not execute the 'leave' instruction, instead of
19712 testing it does execute.
19713 * gdb.base/bp-permanent.c: New file.
19714 * gdb.base/bp-permanent.exp: New file.
19715
af3768e9
DE
197162014-11-10 Doug Evans <xdje42@gmail.com>
19717
19718 PR symtab/17564
19719 * gdb.base/symtab-search-order.exp: New file.
19720 * gdb.base/symtab-search-order.c: New file.
19721 * gdb.base/symtab-search-order-1.c: New file.
19722 * gdb.base/symtab-search-order-shlib-1.c: New file.
19723
9de00a4a
PA
197242014-11-07 Pedro Alves <palves@redhat.com>
19725
19726 PR gdb/17511
19727 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19728 i?86-*-linux*.
19729
e0f52461
SC
197302014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19731
19732 PR c++/17494
19733 * gdb.cp/pr17494.cc: New file.
19734 * gdb.cp/pr17494.exp: New file.
19735
6ce8c980
YQ
197362014-11-02 Yao Qi <yao@codesourcery.com>
19737
19738 * gdb.python/python.exp: Get working directory and match the
19739 output of "set extended-prompt \\w " with it.
19740
02be9a71
DE
197412014-10-30 Doug Evans <dje@google.com>
19742
19743 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19744 in objfiles.
19745 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19746 in progspaces.
19747
3bdff46b
LM
197482014-10-30 Janis Johnson <janisjo@codesourcery.com>
19749
19750 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19751 * gdb.base/realname-expand.exp: Likewise.
19752 * gdb.linespec/macro-relative.exp: Likewise.
19753
ab917dfb
PA
197542014-10-29 Pedro Alves <palves@redhat.com>
19755
19756 PR gdb/17408
19757 * gdb.threads/schedlock.c (some_function): New function.
19758 (call_function): New global.
19759 (MAYBE_CALL_SOME_FUNCTION): New macro.
19760 (thread_function): Call it.
19761 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19762 and use it instead of a global counter. Adjust all callers.
19763 (get_current_thread): Use "find current thread" for test message
19764 here rather than having all callers pass down the same string.
19765 (goto_loop): New procedure, factored out from ...
19766 (my_continue): ... this.
19767 (step_ten_loops): Change parameter from test message to command to
19768 use. Adjust.
19769 (list_count): Delete global.
19770 (check_result): New procedure, factored out from duplicate top
19771 level code.
19772 (continue tests): Wrap in with_test_prefix.
19773 (test_step): New procedure, factored out from duplicate top level
19774 code.
19775 (top level): Test "step" in combination with all scheduler-locking
19776 modes. Test "next" in combination with all scheduler-locking
19777 modes, and in combination with stepping over a function call or
19778 not.
19779 * gdb.threads/next-bp-other-thread.c: New file.
19780 * gdb.threads/next-bp-other-thread.exp: New file.
19781
d3d4baed
PA
197822014-10-29 Pedro Alves <palves@redhat.com>
19783
19784 PR python/17372
19785 * gdb.python/python.exp: Test a multi-line command that spawns
19786 interactive Python.
19787 * gdb.base/multi-line-starts-subshell.exp: New file.
19788
563e8d85
YQ
197892014-10-29 Yao Qi <yao@codesourcery.com>
19790
19791 * gdb.base/fileio.exp: Make directories on host.
19792
0ea4d52e
YQ
197932014-10-29 Yao Qi <yao@codesourcery.com>
19794
19795 * gdb.base/fileio.c (test_write): Close the file.
19796
7f5ef605
PA
197972014-10-28 Pedro Alves <palves@redhat.com>
19798
19799 PR gdb/12623
19800 * gdb.base/sigstep.c (no_handler): New global.
19801 (main): If 'no_handler is true, set the signal handlers to
19802 SIG_IGN.
19803 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19804 with_sw_watch and no_handler parameters. Handle them.
19805 (top level) <stepping over handler when stopped at a breakpoint
19806 test>: Add a test axis for testing with a software watchpoint, and
19807 another for testing with the signal handler set to SIG_IGN.
19808 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19809 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19810
abbdbd03
PA
198112014-10-28 Pedro Alves <palves@redhat.com>
19812
19813 PR gdb/17511
19814 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19815 * gdb.base/sigstep.exp (other_handler_location): New global.
19816 (advance): Support stepping into the signal handler, and running
19817 commands while in the handler.
19818 (in_handler_map): New global.
19819 (top level): In the advance test, add combinations for getting
19820 into the handler with stepping commands, and for running commands
19821 in the handler. Add comment descripting the advancei tests.
19822
1df4399f
PA
198232014-10-28 Pedro Alves <palves@redhat.com>
19824
19825 * gdb.base/sigstep.exp: Use build_executable instead of
19826 prepare_for_testing.
19827 (top level): Move code that starts GDB, runs to main and creates a
19828 display to ...
19829 (restart): ... this new procedure.
19830 (top level): Move backtrace from signal handler test to ...
19831 (validate_backtrace): ... this new procedure.
19832 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19833 with_test_prefix. Always restart GDB.
19834 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19835 with_test_prefix. Always restart GDB. No need to delete
19836 breakpoints after the test.
19837 (test_skip_handler): Remove prefix parameter.
19838 (skip_over_handler, breakpoint_to_handler)
19839 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19840 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19841 restart GDB. No need to delete breakpoints after the test.
19842 (top level): Use foreach to call the test procedures with
19843 different commands.
19844
a5b6e449
PA
198452014-10-28 Pedro Alves <palves@redhat.com>
19846
19847 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19848 instead of GNATS numbers.
19849 * gdb.base/sigbpt.exp: Likewise.
19850 * gdb.base/siginfo.exp: Likewise.
19851 * gdb.base/sigstep.exp: Likewise.
19852
e5f8a7cc
PA
198532014-10-27 Pedro Alves <palves@redhat.com>
19854
19855 * gdb.base/sigstep.c (dummy): New global.
19856 (main): Issue a couple writes to the new global.
19857 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19858 procedures.
19859 (skip_over_handler): Use test_skip_handler.
19860 (top level): Call skip_over_handler for stepi and nexti too.
19861 (breakpoint_over_handler): Use test_skip_handler.
19862 (top level): Call breakpoint_over_handler for stepi and nexti too.
19863
763905a3
YQ
198642014-10-27 Yao Qi <yao@codesourcery.com>
19865
19866 * gdb.trace/tfile.c (adjust_function_address)
19867 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19868 function descriptor.
19869
6f259a23
DB
198702014-10-24 Don Breazeal <donb@codesourcery.com>
19871
19872 * gdb.base/foll-fork.exp (test_follow_fork,
19873 catch_fork_child_follow): Check for updated fork messages emitted
19874 from infrun.c.
19875 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19876 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19877 vfork_and_exec_child_follow_through_step): Check for updated vfork
19878 messages emitted from infrun.c.
19879
09dd9a69
PA
198802014-10-24 Pedro Alves <palves@redhat.com>
19881
19882 * gdb.base/corefile.exp: Remove references to ultrix.
19883 * gdb.base/interrupt.exp: Likewise.
19884 * gdb.base/whatis.exp: Likewise.
19885 * gdb.gdb/selftest.exp: Likewise.
19886 * gdb.threads/manythreads.exp: Likewise.
19887 * gdb.threads/print-threads.exp: Likewise.
19888 * gdb.threads/pthreads.exp:: Likewise.
19889 * gdb.threads/schedlock.exp: Likewise.
19890
3433cfa5
SC
198912014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19892
19893 * gdb.cp/non-trivial-retval.cc: Add a test case.
19894 * gdb.cp/non-trivial-retval.exp: Add a test.
19895
092f880b
YQ
198962014-10-20 Yao Qi <yao@codesourcery.com>
19897
19898 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19899 * gdb.python/py-objfile-script-gdb.py: New file.
19900 * gdb.python/py-objfile-script.exp: Update reference to
19901 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19902 of remote_download. Remove the dest file.
19903
acbdb7f3
YQ
199042014-10-20 Yao Qi <yao@codesourcery.com>
19905
19906 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19907 * gdb.base/step-line.exp: Likewise.
19908 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19909 * gdb.dwarf2/dw2-basic.exp: Likewise.
19910 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19911 * gdb.dwarf2/dw2-filename.exp: Likewise.
19912 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19913 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19914 * gdb.dwarf2/dw2-producer.exp: Likewise.
19915 * gdb.dwarf2/mac-fileno.exp: Likewise.
19916 * gdb.python/py-frame-args.exp: Likewise.
19917 * gdb.python/py-framefilter.exp: Likewise.
19918 * gdb.python/py-mi.exp: Likewise.
19919 * gdb.python/py-objfile-script.exp: Likewise
19920 * gdb.python/py-pp-integral.exp: Likewise.
19921 * gdb.python/py-pp-re-notag.exp: Likewise.
19922 * gdb.python/py-prettyprint.exp: Likewise.
19923 * gdb.python/py-section-script.exp: Likewise.
19924 * gdb.python/py-typeprint.exp: Likewise.
19925 * gdb.python/py-xmethods.exp: Likewise.
19926 * gdb.stabs/weird.exp: Likewise.
19927 * gdb.xml/tdesc-regs.exp: Likewise.
19928
bd286a29
KCY
199292014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19930
19931 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19932 (out_cu): Use addr_len for the size of addresses.
19933 (out_line): Likewise. Size DW_LNE_set_address instruction
19934 according to addr_len.
19935 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19936 (FUNC): Add START_INSNS to definition.
19937
673dc4a0
YQ
199382014-10-18 Yao Qi <yao@codesourcery.com>
19939
19940 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19941 gdb_has_argv0 return true.
19942 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19943 check [target_info exists noargs], check [gdb_has_argv0]
19944 instead.
19945 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19946 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19947 procedures.
19948
4ffbba72
DE
199492014-10-17 Doug Evans <dje@google.com>
19950
19951 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19952 event.
19953 * gdb.python/py-events.py: Add clear_objfiles event.
19954
d096d8c1
DE
199552014-10-17 Doug Evans <dje@google.com>
19956
19957 * gdb.python/py-objfile.exp: Test progspace attribute.
19958
a80db015
LM
199592014-10-17 Luis Machado <lgustavo@codesourcery.com>
19960
19961 * gdb.guile/scm-breakpoint.exp: Do not assume any
19962 directory separators when matching source file paths.
19963 * gdb.python/py-breakpoint.exp: Likewise.
19964 * gdb.reverse/break-precsave.exp: Likewise.
19965 * gdb.reverse/break-reverse.exp: Likewise.
19966 * gdb.reverse/consecutive-precsave.exp: Likewise.
19967 * gdb.reverse/finish-precsave.exp: Likewise.
19968 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19969 * gdb.reverse/finish-reverse.exp: Likewise.
19970 * gdb.reverse/i386-precsave.exp: Likewise.
19971 * gdb.reverse/i387-env-reverse.exp: Likewise.
19972 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19973 * gdb.reverse/machinestate-precsave.exp: Likewise.
19974 * gdb.reverse/machinestate.exp: Likewise.
19975 * gdb.reverse/sigall-precsave.exp: Likewise.
19976 * gdb.reverse/solib-precsave.exp: Likewise.
19977 * gdb.reverse/step-precsave.exp: Likewise.
19978 * gdb.reverse/until-precsave.exp: Likewise.
19979 * gdb.reverse/watch-precsave.exp: Likewise.
19980 * gdb.reverse/watch-reverse.exp: Likewise.
19981
b22089ab
YQ
199822014-10-17 Yao Qi <yao@codesourcery.com>
19983
19984 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19985 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19986
6c4486e6
PA
199872014-10-17 Pedro Alves <palves@redhat.com>
19988
19989 PR gdb/17471
19990 * gdb.base/bg-execution-repeat.c: New file.
19991 * gdb.base/bg-execution-repeat.exp: New file.
19992
0ff33695
PA
199932014-10-17 Pedro Alves <palves@redhat.com>
19994
19995 PR gdb/17300
19996 * gdb.base/continue-all-already-running.c: New file.
19997 * gdb.base/continue-all-already-running.exp: New file.
19998
6fdebc3d
PA
199992014-10-17 Pedro Alves <palves@redhat.com>
20000
20001 PR gdb/17472
20002 * gdb.base/annota-input-while-running.c: New file.
20003 * gdb.base/annota-input-while-running.exp: New file.
20004
32a8097b
PA
200052014-10-17 Pedro Alves <palves@redhat.com>
20006
20007 * gdb.base/callfuncs.exp: emove references to osf.
20008 * gdb.base/sigall.exp: Likewise.
20009 * gdb.gdb/selftest.exp: Likewise.
20010 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20011 * gdb.mi/non-stop.c: Likewise.
20012 * gdb.mi/pthreads.c: Likewise.
20013 * gdb.reverse/sigall-precsave.exp: Likewise.
20014 * gdb.reverse/sigall-reverse.exp: Likewise.
20015 * gdb.threads/pthreads.c: Likewise.
20016 * gdb.threads/pthreads.exp: Likewise.
20017
7a3517ff
YQ
200182014-10-17 Yao Qi <yao@codesourcery.com>
20019
20020 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20021 check 'target_info exists noargs'.
20022 (test_command_prompt_position): Likewise.
20023 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20024 Remove "set args".
20025 (progvar_simple_while_test): Likewise.
20026 (progvar_complex_if_while_test): Likewise.
20027 (if_while_breakpoint_command_test): Likewise.
20028 (infrun_breakpoint_command_test): Likewise.
20029 (breakpoint_command_test): Likewise.
20030 (watchpoint_command_test): Likewise.
20031 (bp_deleted_in_command_test): Likewise.
20032 (temporary_breakpoint_commands): Likewise.
20033
bb99c472
YQ
200342014-10-16 Yao Qi <yao@codesourcery.com>
20035
20036 * gdb.base/remotetimeout.exp: Remove noargs checking.
20037
7c16b83e
PA
200382014-10-15 Pedro Alves <palves@redhat.com>
20039
20040 PR breakpoints/9649
20041 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20042 * gdb.base/breakpoint-in-ro-region.exp
20043 (probe_target_hardware_step): New procedure.
20044 (top level): Probe hardware stepping and hardware breakpoint
20045 support. Test stepping through a read-only region, with both
20046 "breakpoint auto-hw" on and off and both "always-inserted" on and
20047 off.
20048
35a49624
IB
200492014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20050
20051 * gdb.dlang/demangle.exp: Update for demangling changes.
20052
2d1c107c
SC
200532014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20054
20055 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20056 * gdb.cp/non-trivial-retval.exp: Add new tests.
20057
778811d5
SC
200582014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20059
20060 PR c++/13403
20061 PR c++/15154
20062 * gdb.cp/non-trivial-retval.cc: New file.
20063 * gdb.cp/non-trivial-retval.exp: New file.
20064
10c5f0a8
YQ
200652014-10-15 Yao Qi <yao@codesourcery.com>
20066
20067 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20068 remote host.
20069
65d7b369
YQ
200702014-10-15 Yao Qi <yao@codesourcery.com>
20071
20072 * gdb.python/py-symbol.exp: Match file base name if host is
20073 remote, otherwise match file name with dir name.
20074 * gdb.python/py-symtab.exp: Likewise.
20075 * gdb.python/python.exp: Likewise.
20076
46dc1394
YQ
200772014-10-15 Yao Qi <yao@codesourcery.com>
20078
20079 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20080 pattern.
20081 * gdb.python/py-symtab.exp: Likewise.
20082 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20083 locationn.
20084
c40cc657
JB
200852014-10-14 Joel Brobecker <brobecker@adacore.com>
20086
20087 * gdb.ada/addr_arith: New testcase.
20088
2abf49e1
MR
200892014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20090
20091 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20092 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20093 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20094 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20095
f7088df3
SDJ
200962014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20097
20098 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20099 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20100 * gdb.arch/stap-eval-lang-ada.exp: New file.
20101
4dc06805
YQ
201022014-10-14 Yao Qi <yao@codesourcery.com>
20103
20104 * gdb.mi/mi-var-child.c (nothing1): New function.
20105 (nothing2): New function.
20106 (do_children_tests): Set function pointers by nothing1 and
20107 nothing2.
20108 * gdb.mi/mi-var-child.exp: Step over new added statements.
20109 Update test to match the new output.
20110 * gdb.mi/var-cmd.c (nothing1): New function.
20111 (nothing2): New function.
20112 (do_children_tests): Set function pointers by nothing1 and
20113 nothing2.
20114 * gdb.mi/mi-var-display.exp: Update test to match output.
20115 Step to the line specified by $line_dct_nothing.
20116 Increase the number of lines to step.
20117
46a93de2
YQ
201182014-10-14 Yao Qi <yao@codesourcery.com>
20119
20120 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20121 tests.
20122 * gdb.mi/mi2-var-child.exp: Likewise.
20123
14ea52ee
DE
201242014-10-13 Doug Evans <dje@google.com>
20125
20126 * gdb.python/py-objfile.exp: Change name of file name test.
20127
e5c6e92b
DE
201282014-10-13 Doug Evans <dje@google.com>
20129
20130 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20131 from the start of the CU.
20132
c780cc2f
JK
201332014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20134 Yao Qi <yao@codesourcery.com>
20135
20136 Fix "save breakpoints" for "catch" command.
20137 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20138 Remove -nonewline. Match also the added "main" line.
20139
99894e11
JK
201402014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20141
20142 Fix "save breakpoints" for "disable $bpnum" command.
20143 * gdb.base/save-bp.c (main): Add label.
20144 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20145
6e1ac5a3
JK
201462014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20147
20148 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20149
754dd2b0
YQ
201502014-10-11 Yao Qi <yao@codesourcery.com>
20151
20152 * gdb.server/server-kill.exp: Execute command
20153 "set remote trace-status-packet on" before "tstatus".
20154
f90183d7
YQ
201552014-10-11 Yao Qi <yao@codesourcery.com>
20156
20157 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20158 (main): Call getppid.
20159 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20160 and continue to it. Read variable "server_pid".
20161
bf40a607
YQ
201622014-10-11 Yao Qi <yao@codesourcery.com>
20163
20164 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20165
052ca370
YQ
201662014-10-11 Yao Qi <yao@codesourcery.com>
20167
20168 * gdb.threads/thread-find.exp: Don't execute command
20169 "info threads".
20170 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20171 * gdb.threads/linux-dp.exp: Don't check the condition
20172 $threads_created equals to zero.
20173
3831839c
PA
201742014-10-10 Pedro Alves <palves@redhat.com>
20175
20176 * gdb.base/bigcore.exp: Remove references to IRIX.
20177 * gdb.base/funcargs.exp: Likewise.
20178 * gdb.base/interrupt.exp: Likewise.
20179 * gdb.base/mips_pro.exp: Likewise.
20180 * gdb.base/nodebug.exp: Likewise.
20181 * gdb.base/setvar.exp: Likewise.
20182 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20183
8b9a549d
PA
201842014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20185 Pedro Alves <palves@redhat.com>
20186
20187 PR symtab/14466
20188 * gdb.base/vdso-warning.c: New file.
20189 * gdb.base/vdso-warning.exp: New file.
20190
d48ba5e8
DE
201912014-10-02 Doug Evans <dje@google.com>
20192
20193 * gdb.base/structs.c (main): Don't run forever.
20194
2278c276
PA
201952014-10-02 Pedro Alves <palves@redhat.com>
20196
20197 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20198 (top level) <stop threads 1, stop threads 2>: Use it.
20199
b57bacec
PA
202002014-10-02 Pedro Alves <palves@redhat.com>
20201
20202 * gdb.threads/break-while-running.exp (test): Add new
20203 'update_thread_list' argument. Skip "info threads" if false.
20204 (top level): Add new 'update_thread_list' axis.
20205
13fd3ff3
PA
202062014-10-02 Pedro Alves <palves@redhat.com>
20207
20208 PR breakpoints/17431
20209 * gdb.base/execl-update-breakpoints.c: New file.
20210 * gdb.base/execl-update-breakpoints.exp: New file.
20211
0fec99e8
PA
202122014-10-01 Pedro Alves <palves@redhat.com>
20213
20214 * gdb.base/breakpoint-in-ro-region.c: New file.
20215 * gdb.base/breakpoint-in-ro-region.exp: New file.
20216
2ddf4301
SM
202172014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20218
20219 * gdb.mi/mi-exit-code.exp: New file.
20220 * gdb.mi/mi-exit-code.c: New file.
20221
6a5f3f43
YQ
202222014-09-30 Yao Qi <yao@codesourcery.com>
20223
20224 * lib/prelink-support.exp (build_executable_own_libs): Error if
20225 the target isn't native.
20226
345bcc73
YQ
202272014-09-30 Yao Qi <yao@codesourcery.com>
20228
20229 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20230 false.
20231
a25a5a45
PA
202322014-09-22 Pedro Alves <palves@redhat.com>
20233
20234 * gdb.threads/break-while-running.exp: New file.
20235 * gdb.threads/break-while-running.c: New file.
20236
00ba3162
YQ
202372014-09-19 Yao Qi <yao@codesourcery.com>
20238
20239 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20240 Invoke test. Restart GDB with --readnow and invoke test again.
20241
c3b7b696
YQ
202422014-09-19 Yao Qi <yao@codesourcery.com>
20243
20244 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20245 proc set_breakpoint_on_gcd_function. Invoke
20246 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20247 invoke set_breakpoint_on_gcd_function again.
20248
2b4fd423
DE
202492014-09-18 Doug Evans <dje@google.com>
20250
20251 * gdb.dwarf2/symtab-producer.exp: New file.
20252
a5947601
SDJ
202532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20254
20255 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20256 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20257 * gdb.base/global-var-nested-by-dso.c: Likewise.
20258 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20259
91c19059
SDJ
202602014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20261 Pedro Alves <palves@redhat.com>
20262
20263 * gdb.base/watch-bitfields.exp: Pass string other than test file
20264 name to prepare_for_testing.
20265 (watch): New procedure.
20266 (expect_watchpoint): Use with_test_prefix.
20267 (top level): Factor out tests to ...
20268 (test_watch_location, test_regular_watch): ... these new
20269 procedures, and use with_test_prefix and gdb_continue_to_end.
20270
bb9d5f81
PP
202712014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20272
20273 PR breakpoints/12526
20274 * gdb.base/watch-bitfields.exp: New file.
20275 * gdb.base/watch-bitfields.c: New file.
20276
635856f5
PA
202772014-09-16 Pedro Alves <palves@redhat.com>
20278
20279 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20280 software and hardware addresses, not software address against
20281 itself.
20282
7280ceea
PA
202832014-09-16 Pedro Alves <palves@redhat.com>
20284
20285 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20286 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20287
428b16bd
PA
202882014-09-16 Pedro Alves <palves@redhat.com>
20289
20290 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20291 files.
20292 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20293 "*-*-vxworks*" throughout.
20294 * gdb.base/break.exp: Likewise.
20295 * gdb.base/default.exp: Likewise.
20296 * gdb.base/scope.exp: Likewise.
20297 * gdb.base/sepdebug.exp: Likewise.
20298 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20299 throughout.
20300 * gdb.base/run.c: Likewise.
20301 * gdb.base/sepdebug.c: Likewise.
20302 * gdb.hp/gdb.aCC/run.c: Likewise.
20303 * gdb.reverse/until-reverse.c: Likewise.
20304 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20305
666d413c
YQ
203062014-09-16 Yao Qi <yao@codesourcery.com>
20307
20308 * boards/local-remote-host-native.exp: New file.
20309
57cbd724
DE
203102014-09-14 Doug Evans <xdje42@gmail.com>
20311
20312 * gdb.threads/queue-signal.c (thread_count): New variable.
20313 (thread_count_mutex, thread_count_condvar): New variables.
20314 (incr_thread_count, wait_all_threads_running): New functions.
20315 (main): Wait for all threads to be in their thread functions.
20316
81219e53
DE
203172014-09-13 Doug Evans <xdje42@gmail.com>
20318
20319 * gdb.threads/queue-signal.c: New file.
20320 * gdb.threads/queue-signal.exp: New file.
20321
3714cea7
DE
203222014-09-13 Doug Evans <xdje42@gmail.com>
20323
20324 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20325 be consistent with what default_gdb_init uses.
20326 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20327 the plain text of the prompt. Add some logging printfs.
20328 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20329
fa43b1d7
PA
203302014-09-12 Pedro Alves <palves@redhat.com>
20331
20332 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20333 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20334 * gdb.arch/i386-size-overlap.exp: Likewise.
20335 * gdb.arch/i386-size.exp: Likewise.
20336 * gdb.arch/i386-unwind.exp: Likewise.
20337 * gdb.base/a2-run.exp: Likewise.
20338 * gdb.base/break.exp: Likewise.
20339 * gdb.base/charset.exp: Likewise.
20340 * gdb.base/chng-syms.exp: Likewise.
20341 * gdb.base/commands.exp: Likewise.
20342 * gdb.base/dbx.exp: Likewise.
20343 * gdb.base/find.exp: Likewise.
20344 * gdb.base/funcargs.exp: Likewise.
20345 * gdb.base/jit-simple.exp: Likewise.
20346 * gdb.base/reread.exp: Likewise.
20347 * gdb.base/sepdebug.exp: Likewise.
20348 * gdb.base/step-bt.exp: Likewise.
20349 * gdb.cp/mb-inline.exp: Likewise.
20350 * gdb.cp/mb-templates.exp: Likewise.
20351 * gdb.objc/basicclass.exp: Likewise.
20352 * gdb.threads/killed.exp: Likewise.
20353
9d9bf2df
EBM
203542014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20355
20356 PR tdep/17379
20357 * gdb.arch/powerpc-stackless.S: New file.
20358 * gdb.arch/powerpc-stackless.exp: New file.
20359
1cf2f1b0
JK
203602014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20361
20362 * gdb.base/attach.c: Include unistd.h.
20363 (main): Call alarm. Add label postloop.
20364 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20365 gdb_breakpoint, gdb_continue_to_breakpoint.
20366 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20367
98880d46
PA
203682014-09-11 Pedro Alves <palves@redhat.com>
20369
20370 PR gdb/17347
20371 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20372 * gdb.base/attach.exp (test_command_line_attach_run): New
20373 procedure.
20374 (top level): Call it.
20375
4c92ff2c
PA
203762014-09-11 Pedro Alves <palves@redhat.com>
20377
20378 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20379 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20380 (do_command_attach_tests): Use spawn_wait_for_attach.
20381 * gdb.base/solib-overlap.exp: Likewise.
20382 * gdb.multi/multi-attach.exp: Likewise.
20383 * gdb.python/py-prompt.exp: Likewise.
20384 * gdb.python/py-sync-interp.exp: Likewise.
20385 * gdb.server/ext-attach.exp: Likewise.
20386
3adc1a7d
GKB
203872014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20388
20389 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20390 command in testcase. Simplify testcase.
20391
96334934
JB
203922014-09-10 Joel Brobecker <brobecker@adacore.com>
20393
20394 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20395
eb479039
JB
203962014-09-10 Joel Brobecker <brobecker@adacore.com>
20397
20398 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20399
deede10c
JB
204002014-09-10 Joel Brobecker <brobecker@adacore.com>
20401
20402 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20403
7828a5f5
JB
204042014-09-10 Joel Brobecker <brobecker@adacore.com>
20405
20406 * gdb.dwarf2/dynarr-ptr.c: New file.
20407 * gdb.dwarf2/dynarr-ptr.exp: New file.
20408
33aeebcf
MR
204092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20410
20411 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20412 of 30 rather than hardcoding 120 for a slow test case. Take the
20413 `gdb,timeout' target setting into account for this calculation.
20414 Don't extend the timeout for the test cases that don't need it.
20415
7b415901
MR
204162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20417
20418 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20419 a factor of 2 for a slow test case. Take the `gdb,timeout'
20420 target setting into account for this calculation.
20421 * gdb.reverse/until-precsave.exp: Increase the timeout by
20422 a factor of 15 and 3 respectively rather than adding 120
20423 for a pair of slow test cases. Take the `gdb,timeout'
20424 target setting into account for this calculation.
20425
4a40f85a
MR
204262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20427
20428 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20429 timeout, don't pass one down to gdb_expect.
20430 (gdb_expect): Rework timeout selection.
20431
09635af7
MR
204322014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20433
20434 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20435 exception on timeout.
20436 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20437 (gdbserver_start_extended): Catch any `gdbserver_start' error
20438 exceptions.
20439 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20440 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20441 `gdbserver_gdb_load' error exceptions.
20442
2bdd10b7
MR
204432014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20444
20445 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20446 120 on waiting for the TCP socket to open.
20447
316935f0
DE
204482014-09-09 Doug Evans <xdje42@gmail.com>
20449
20450 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20451 _caller_matches, _any_caller_is, _any_caller_matches.
20452
83740597
DE
204532014-09-09 Doug Evans <xdje42@gmail.com>
20454
20455 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20456
4c122fc3
YQ
204572014-09-09 Yao Qi <yao@codesourcery.com>
20458
20459 * gdb.mi/mi-var-display.exp: Set print symbol off.
20460
a9f116cb
GKB
204612014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20462
20463 PR gdb/17035
20464 * gdb.base/commands.exp: Add tests to verify user-defined
20465 commands with empty bodies.
20466 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20467 python commands in `show user command`.
20468 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20469 scheme commands in `show user command`.
20470
c75bd3a2
JK
204712014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20472
20473 PR python/17355
20474 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20475 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20476 * gdb.python/py-framefilter-invalidarg.exp: New file.
20477 * gdb.python/py-framefilter-invalidarg.py: New file.
20478
faa42425
DE
204792014-09-06 Doug Evans <xdje42@gmail.com>
20480
20481 PR 15276
20482 * gdb.python/py-caller-is.c: New file.
20483 * gdb.python/py-caller-is.exp: New file.
20484
474ca4f6
SDJ
204852014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20486
20487 PR gdb/17235
20488 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20489 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20490
eb0b0463
SDJ
204912014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20492
20493 PR fortran/17237
20494 * gdb.fortran/print-formatted.exp: New file.
20495 * gdb.fortran/print-formatted.f90: Likewise.
20496
5f3b99cf
SS
204972014-09-03 Sasha Smundak <asmundak@google.com>
20498
20499 * gdb.python/py-frame.exp: Test Frame.read_register.
20500
7d793aa9
SDJ
205012014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20502
20503 PR python/16699
20504 * gdb.python/py-completion.exp: New file.
20505 * gdb.python/py-completion.py: Likewise.
20506
fb0576e9
DE
205072014-08-28 Doug Evans <dje@google.com>
20508
20509 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20510 eax,etc. are live with values set by gdb and thus the compiler can't
20511 use them.
20512 * gdb.arch/i386-pseudo.c (main): Ditto.
20513
ee92b0dd
DE
205142014-08-27 Doug Evans <dje@google.com>
20515
20516 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20517
6649db35
DE
205182014-08-25 Doug Evans <dje@google.com>
20519
20520 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20521 (main): Ditto.
20522
564b7600
DE
205232014-08-25 Doug Evans <dje@google.com>
20524
20525 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20526
3881fb67
YQ
205272014-08-24 Yao Qi <yao@codesourcery.com>
20528
20529 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20530 symbol off.
20531 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20532
a05a36a5
DE
205332014-08-22 Doug Evans <dje@google.com>
20534
20535 PR 17276
20536 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20537 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20538 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20539
7c343b48
YQ
205402014-08-22 Yao Qi <yao@codesourcery.com>
20541
20542 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20543 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20544 * gdb.python/python.exp: Likewise. Use .py file on the host
20545 instead of the build.
20546
22fd09ae
JK
205472014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20548
20549 * gdb.threads/gcore-stale-thread.c: New file.
20550 * gdb.threads/gcore-stale-thread.exp: New file.
20551
a8454a7c
PA
205522014-08-21 Pedro Alves <palves@redhat.com>
20553
20554 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20555 * gdb.base/gcore-relro-pie.exp: Likewise.
20556 * gdb.base/gcore-relro.exp: Likewise.
20557 * gdb.base/gcore.exp: Likewise.
20558 * gdb.base/print-symbol-loading.exp: Likewise.
20559 * gdb.threads/gcore-thread.exp: Likewise.
20560 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20561
2a31c623
PA
205622014-08-20 Pedro Alves <palves@redhat.com>
20563 Jan Kratochvil <jan.kratochvil@redhat.com>
20564
20565 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20566 configure.
20567 (EXPECT): Handle READ1 being set.
20568 (all): Depend on EXTRA_RULES.
20569 (check-read1, expect-read1, read1.so, read1): New rules.
20570 * README (Testsuite Parameters): Document the READ1 make variable.
20571 (Race detection): New section.
20572 * configure: Regenerate.
20573 * configure.ac: If build==host==target, and running under a
20574 GNU/glibc system, add read1 to the extra Makefile rules.
20575 (EXTRA_RULES): AC_SUBST it.
20576 * lib/read1.c: New file.
20577
d36430db
JB
205782014-08-20 Joel Brobecker <brobecker@adacore.com>
20579
20580 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20581 the handling of variables declared as a typedef to an array
20582 which a DW_AT_data_location attribute.
20583
9a0dc9e3
PA
205842014-08-19 Andrew Burgess <aburgess@broadcom.com>
20585 Pedro Alves <palves@redhat.com>
20586
20587 PR symtab/14604
20588 PR symtab/14605
20589 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20590 gdb_test.
20591
0718a8da
PA
205922014-08-19 Pedro Alves <palves@redhat.com>
20593
20594 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20595
13b448cd
YQ
205962014-08-19 Yao Qi <yao@codesourcery.com>
20597
20598 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20599 right line.
20600
1cbf5077
DB
206012014-08-18 David Blaikie <dblaikie@gmail.com>
20602
20603 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20604
bf0fae19
JB
206052014-08-18 Joel Brobecker <brobecker@adacore.com>
20606
20607 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20608 attribute in array range.
20609
3c8c5dcc
JB
206102014-08-18 Joel Brobecker <brobecker@adacore.com>
20611
20612 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20613
e66d4446
SC
206142014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20615
20616 PR c++/17132
20617 * gdb.cp/pr17132.cc: New file.
20618 * gdb.cp/pr17132.exp: New file.
20619
940df408
SC
206202014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20621
20622 * gdb.python/py-xmethods.py (A_getarrayind)
20623 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20624 Use 'print' with function call syntax.
20625 (E_method_matcher.match): Fix tab vs space indentation mixup.
20626
ebcc6c3a
YQ
206272014-08-15 Yao Qi <yao@codesourcery.com>
20628
20629 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20630 false.
20631
775e0f04
YQ
206322014-08-15 Yao Qi <yao@codesourcery.com>
20633
20634 * gdb.cp/casts.exp: Set print symbol off.
20635 * gdb.cp/class2.exp: Likewise.
20636 * gdb.cp/overload.exp: Likewise.
20637 * gdb.cp/templates.exp: Likewise.
20638
d769e349
DE
206392014-08-11 Doug Evans <dje@google.com>
20640
20641 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20642 (test_load_shlib): Update.
20643
20c6f1e1
YQ
206442014-08-09 Yao Qi <yao@codesourcery.com>
20645
20646 * gdb.base/display.exp: Invoke is_address_zero_readable.
20647 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20648 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20649 * gdb.base/hbreak-unmapped.exp: Return if
20650 is_address_zero_readable returns true.
20651 * gdb.base/signest.exp: Likewise.
20652 * gdb.base/signull.exp: Likewise.
20653 * gdb.base/sigbpt.exp: Likewise.
20654 * gdb.guile/scm-disasm.exp: Do the test if
20655 is_address_zero_readable returns false.
20656 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20657 * gdb.python/py-arch.exp: Likewise.
20658 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20659 * lib/gdb.exp (is_address_zero_readable): New proc.
20660
5792e8e3
YQ
206612014-08-09 Yao Qi <yao@codesourcery.com>
20662
20663 PR testsuite/13443
20664 * gdb.mi/mi-var-display.exp: Make test messages unique.
20665
3cecbbbe
TT
206662014-08-04 Tom Tromey <tromey@redhat.com>
20667
20668 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20669 target 0".
20670
00b51ff5
TT
206712014-08-04 Tom Tromey <tromey@redhat.com>
20672
20673 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20674 "target_resume".
20675
6908c509
JB
206762014-08-01 Joel Brobecker <brobecker@adacore.com>
20677
20678 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20679 inner_vla_struct_object_size.
20680 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20681 as xfail.
20682
cc6563d2
PA
206832014-07-30 Pedro Alves <palves@redhat.com>
20684
20685 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20686 comment.
20687
7e09a223
YQ
206882014-07-29 Yao Qi <yao@codesourcery.com>
20689
20690 PR gdb/17206
20691 * gdb.base/until-nodebug.exp: New.
20692
7ebdbe92
DE
206932014-07-28 Doug Evans <xdje42@gmail.com>
20694
20695 PR guile/17203
20696 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20697 previously existing parameter, and previously ambiguously spelled
20698 parameter.
20699
fdb1adc6
WN
207002014-07-28 Will Newton <will.newton@linaro.org>
20701
20702 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20703
186fcde0
DE
207042014-07-26 Ludovic Courtès <ludo@gnu.org>
20705 Doug Evans <xdje42@gmail.com>
20706
20707 PR guile/17146
20708 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20709
70509625
PA
207102014-07-25 Pedro Alves <palves@redhat.com>
20711
20712 * gdb.threads/signal-command-handle-nopass.c: New file.
20713 * gdb.threads/signal-command-handle-nopass.exp: New file.
20714 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20715 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20716 * gdb.threads/signal-delivered-right-thread.c: New file.
20717 * gdb.threads/signal-delivered-right-thread.exp: New file.
20718
c3f814a1
PA
207192014-07-25 Pedro Alves <palves@redhat.com>
20720
20721 * gdb.base/double-prompt-target-event-error.exp
20722 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20723 match.
20724 (cancel_pagination_in_target_event): Rework double prompt
20725 detection.
20726 * gdb.base/paginate-after-ctrl-c-running.exp
20727 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20728 <return>' match.
20729 * gdb.base/paginate-bg-execution.exp
20730 (test_bg_execution_pagination_return)
20731 (test_bg_execution_pagination_cancel): Remove '-notransfer
20732 <return>' matches.
20733 * gdb.base/paginate-execution-startup.exp
20734 (test_fg_execution_pagination_return)
20735 (test_fg_execution_pagination_cancel): Remove '-notransfer
20736 <return>' matches.
20737 * gdb.base/paginate-inferior-exit.exp
20738 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20739 match.
20740 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20741 * lib/gdb.exp (pagination_prompt): Run text through
20742 string_to_regexp.
20743 (gdb_test_multiple): Match $pagination_prompt instead of
20744 "<return>".
20745 (string_to_regexp): Move to lib/gdb-utils.exp.
20746
e214cf6c
JK
207472014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20748
20749 * gdb.arch/amd64-entry-value-paramref.S: New file.
20750 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20751 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20752 * gdb.arch/amd64-optimout-repeat.S: New file.
20753 * gdb.arch/amd64-optimout-repeat.c: New file.
20754 * gdb.arch/amd64-optimout-repeat.exp: New file.
20755
17d0c5c8
JK
207562014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20757
20758 PR gdb/17170
20759 * gdb.base/statistics.exp: New file.
20760
b8b8facf
DE
207612014-07-17 Doug Evans <dje@google.com>
20762
74b49205 20763 PR gdb/17170
b8b8facf
DE
20764 * gdb.base/maint.exp: Update testing of per-command stats.
20765
1b5d0ab3
PA
207662014-07-16 Pedro Alves <palves@redhat.com>
20767
20768 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20769 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20770 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20771 (tfile_write_buf): New functions.
20772 (add_memory_block): Rewrite using the above.
20773 (adjust_function_address): New function.
20774 (FUNCTION_ADDRESS): New macro.
20775 (write_basic_trace_file): Remove short_x local, and use
20776 tfile_write_16. Change type of func_addr local to unsigned long
20777 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20778 here. Cast argument of add_memory_block to char pointer.
20779 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20780 (main): Remove parameters.
20781 * gdb.trace/tfile.exp: Remove nowarnings.
20782
4d974e88
SM
207832014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20784
20785 * gdb.base/debug-expr.exp: Test string evaluation with
20786 "debug expression" on.
20787
41e99568
PA
207882014-07-15 Pedro Alves <palves@redhat.com>
20789
20790 * gdb.base/reread.exp: Use clean_restart.
20791
487d9753
PL
207922014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20793
20794 * gdb.arch/avr-flash-qualifer.c: New.
20795 * gdb.arch/avr-flash-qualifer.exp: New.
20796
cc1c52ad
PA
207972014-07-14 Pedro Alves <palves@redhat.com>
20798
20799 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20800 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20801
1e973570
PA
208022014-07-14 Pedro Alves <palves@redhat.com>
20803
20804 * gdb.base/double-prompt-target-event-error.c: New file.
20805 * gdb.base/double-prompt-target-event-error.exp: New file.
20806
93d6eb10
PA
208072014-07-14 Pedro Alves <palves@redhat.com>
20808
20809 PR gdb/17072
20810 * gdb.base/paginate-inferior-exit.c: New file.
20811 * gdb.base/paginate-inferior-exit.exp: New file.
20812
0017922d
PA
208132014-07-14 Pedro Alves <palves@redhat.com>
20814
20815 PR gdb/17072
20816 * gdb.base/paginate-bg-execution.c: New file.
20817 * gdb.base/paginate-bg-execution.exp: New file.
20818
94696ad3
PA
208192014-07-14 Pedro Alves <palves@redhat.com>
20820
20821 PR gdb/17072
20822 * gdb.base/paginate-execution-startup.c: New file.
20823 * gdb.base/paginate-execution-startup.exp: New file.
20824 * lib/gdb.exp (pagination_prompt): New global.
20825 (default_gdb_spawn): New procedure, factored out from
20826 default_gdb_spawn.
20827 (default_gdb_start): Adjust to call default_gdb_spawn.
20828 (gdb_spawn): New procedure.
20829
bd293940
PA
208302014-07-14 Pedro Alves <palves@redhat.com>
20831
20832 * lib/gdb.exp (gdb_assert): New procedure.
20833 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20834
c933f875
PA
208352014-07-14 Pedro Alves <palves@redhat.com>
20836
20837 * gdb.base/execution-termios.c: New file.
20838 * gdb.base/execution-termios.exp: New file.
20839
d98b7a16
TT
208402014-07-14 Tom Tromey <tromey@redhat.com>
20841
20842 * gdb.cp/vla-cxx.cc: New file.
20843 * gdb.cp/vla-cxx.exp: New file.
20844
548740d6
TT
208452014-07-14 Tom Tromey <tromey@redhat.com>
20846
20847 * gdb.reverse/rerun-prec.c: New file.
20848 * gdb.reverse/rerun-prec.exp: New file.
20849
a25eb028
MR
208502014-07-12 Maciej W. Rozycki <macro@mips.com>
20851 Maciej W. Rozycki <macro@codesourcery.com>
20852
20853 * lib/gdb-utils.exp: New file.
20854 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20855 inline `gdb_init_command' processing.
20856 (gdb_start_cmd): Likewise.
20857 * lib/mi-support.exp (mi_run_cmd): Likewise.
20858 * README: Document `gdb_init_command' and `gdb_init_commands'.
20859
218c2655
JK
208602014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20861
20862 Fix false FAIL running under a very long directory name.
20863 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20864 and "set print elements 10000". Twice.
20865
5401fde3
YQ
208662014-07-11 Yao Qi <yao@codesourcery.com>
20867
20868 * gdb.base/exprs.exp: "set print symbol off".
20869
e76126e8
PA
208702014-07-11 Pedro Alves <palves@redhat.com>
20871
20872 * gdb.threads/kill.c: New file.
20873 * gdb.threads/kill.exp: New file.
20874
2d6f0de6
YQ
208752014-07-10 Yao Qi <yao@codesourcery.com>
20876
20877 * gdb.trace/tfile.c (write_basic_trace_file)
20878 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20879 address written to trace file.
20880
7180e04a
PA
208812014-07-09 Pedro Alves <palves@redhat.com>
20882
20883 * gdb.base/attach-wait-input.exp: New file.
20884 * gdb.base/attach-wait-input.c: New file.
20885
9a9a7608
AB
208862014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20887
20888 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20889 setting up test structures.
20890 (main): Call new test function.
20891 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20892 test function, continue into test function and walk test
20893 structures.
20894
161ac41e
YQ
208952014-07-02 Yao Qi <yao@codesourcery.com>
20896
20897 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20898 'bar_start' at the beginning of functions 'foo' and 'bar'
20899 respectively.
20900 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20901 instead of 'foo' and 'bar'.
20902
1f267ae3
MM
209032014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20904
20905 * gdb.btrace/segv.exp: New.
20906 * gdb.btrace/segv.c: New.
20907
2b239efb
LM
209082014-07-02 Luis Machado <lgustavo@codesourcery.com>
20909
20910 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20911 instruction.
20912
cf363f18
MW
209132014-06-30 Mark Wielaard <mjw@redhat.com>
20914
20915 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20916 vulture, vilify, villar): New volatile array constants.
20917 (vindictive, vegetation): New const volatile array constants.
20918 * gdb.base/volatile.exp: Test volatile and const volatile array
20919 types.
20920
aebf9d24
AA
209212014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20922
20923 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20924 target lacks support for awatch, rwatch, or hbreak.
20925
b67a2c6f
YQ
209262014-06-27 Yao Qi <yao@codesourcery.com>
20927
20928 * gdb.multi/dummy-frame-restore.exp: New.
20929 * gdb.multi/dummy-frame-restore.c: New.
20930
aef92902
MM
209312014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20932
20933 * gdb.btrace/gcore.exp: New.
20934
8e9db26e
PA
209352014-06-23 Pedro Alves <palves@redhat.com>
20936
20937 * gdb.base/watchpoint-reuse-slot.c: New file.
20938 * gdb.base/watchpoint-reuse-slot.exp: New file.
20939
70afc5b7
SC
209402014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20941
20942 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20943 progspace's filename in 'info', 'enable' and 'disable' command
20944 tests.
20945
b972bd9c
JK
209462014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20947
20948 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20949 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20950 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20951
125f8a3d
GB
209522014-06-20 Gary Benson <gbenson@redhat.com>
20953
20954 * gdb.arch/i386-avx.exp: Fix include file location.
20955 * gdb.arch/i386-sse.exp: Likewise.
20956
3ed9baed
IB
209572014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20958
20959 * gdb.dlang/expression.exp: New file.
20960
034f788c
PA
209612014-06-19 Pedro Alves <palves@redhat.com>
20962
20963 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20964 out from ...
20965 (top level): ... here. Iterate running tests under different
20966 scheduler-locking settings.
20967
45371d0c
LM
209682014-06-18 Luis Machado <lgustavo@codesourcery.com>
20969
20970 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20971 to DW_FORM_addr and use non-zero addresses.
20972
5d376983
SC
209732014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20974
20975 PR gdb/17017
20976 * gdb.python/py-xmethods.cc: Add global function call counters and
20977 increment them in their respective functions. Remove "cout"
20978 statements.
20979 * gdb.python/py-xmethods.exp: Make tests check the global function
20980 call counters instead of depending on inferior IO.
20981
a1aa2221
LM
209822014-06-18 Don Breazeal <donb@codesourcery.com>
20983
20984 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20985 Deleted procedure.
20986 (explicit_fork_parent_follow): Deleted procedure.
20987 (explicit_fork_child_follow): Deleted procedure.
20988 (test_follow_fork): New procedure.
20989 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20990 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20991 procedure calls.
20992
0fc05997
YQ
209932014-06-17 Yao Qi <yao@codesourcery.com>
20994
20995 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20996 CP1252.
20997
70795c52
LM
209982014-06-17 Luis Machado <lgustavo@codesourcery.com>
20999
21000 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21001 Initialize ptr and S explicitly.
21002 (skip_type_update_when_not_use_rtti_test): Likewise.
21003
6be47f0c
KS
210042014-06-16 Keith Seitz <keiths@redhat.com>
21005
21006 PR mi/15863
21007 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21008 the inferior is started.
21009
d03de421
PA
210102014-06-16 Pedro Alves <palves@redhat.com>
21011
21012 * gdb.base/break-main-file-remove-fail.c: New file.
21013 * gdb.base/break-main-file-remove-fail.exp: New file.
21014 * gdb.base/break-unload-file.exp: Use build_executable instead of
21015 prepare_for_testing.
21016 (test_break): New parameter "initial_load". Handle it.
21017 (top level): Add initial_load cmdline/file axis.
21018
f9579b99
TT
210192014-06-12 Tom Tromey <tromey@redhat.com>
21020
21021 * gdb.base/completion.exp: Don't use directory name in test.
21022
3657956b
GB
210232014-06-09 Gary Benson <gbenson@redhat.com>
21024
21025 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21026 separate the always-available ANSI-standard signals from the
21027 signals that require checking.
21028 (main): Likewise.
21029 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21030 Likewise.
21031 (main): Likewise.
21032
4186eb54
KS
210332014-06-07 Keith Seitz <keiths@redhat.com>
21034
21035 Revert:
21036 PR c++/16253
21037 * gdb.cp/var-tag.cc: New file.
21038 * gdb.cp/var-tag.exp: New file.
21039 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21040 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21041 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21042 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21043
25326a28 210442014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21045
21046 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21047
829155c9
PA
210482014-06-06 Pedro Alves <palves@redhat.com>
21049
21050 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21051 in target debug output instead of looking at RSP packets,
21052 disabling the test on any target that uses hardware stepping.
21053 Update comments.
21054
61c8d22e
PA
210552014-06-06 Pedro Alves <palves@redhat.com>
21056
21057 * gdb.base/break-unload-file.exp: Fix typo.
21058
d9a47287
YQ
210592014-06-06 Yao Qi <yao@codesourcery.com>
21060
21061 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21062 from "jit_function" to "^jit_function".
21063
e5e01dbf
YQ
210642014-06-06 Yao Qi <yao@codesourcery.com>
21065
21066 * gdb.base/async.c (foo): Add one statement.
21067 * gdb.base/async.exp: Get the next instruction address and
21068 match the output of "nexti" by instruction address. Match
21069 the hex address in the output of "finish".
21070
73ba372c
GB
210712014-06-06 Gary Benson <gbenson@redhat.com>
21072
21073 * gdb.base/call-signals.c: Remove preprocessor conditionals
21074 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21075 SIGSEGV and SIGTERM.
21076 * gdb.base/sigall.c: Likewise.
21077 * gdb.base/unwindonsignal.c: Likewise.
21078 * gdb.reverse/sigall-reverse.c: Likewise.
21079
831517df
YQ
210802014-06-06 Yao Qi <yao@codesourcery.com>
21081
21082 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21083 readable, skip the test.
21084
b8b91e98
YQ
210852014-06-06 Yao Qi <yao@codesourcery.com>
21086
21087 * gdb.threads/staticthreads.c (thread_function): Move the line
21088 setting breakpoint on forward.
21089 * gdb.threads/staticthreads.exp: Update comments.
21090
fb934770
LC
210912014-06-05 Ludovic Courtès <ludo@gnu.org>
21092
21093 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21094 "history-append! type error".
21095
6ef284bd
SM
210962014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21097
21098 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21099 erroneous dprintf expected input.
21100
a872e241
DE
211012014-06-04 Doug Evans <xdje42@gmail.com>
21102
21103 * gdb.guile/scm-generics.exp: Delete.
21104
16f691fb
DE
211052014-06-04 Doug Evans <xdje42@gmail.com>
21106
21107 * gdb.guile/scm-breakpoint.exp: Update.
21108 Add tests for breakpoint registration.
21109
012370f6
TT
211102014-06-04 Tom Tromey <tromey@redhat.com>
21111
21112 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21113 VLA-in-union.
21114 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21115 inner_vla_struct, vla_union types. Initialize objects of those
21116 types and compute their sizes.
21117
9f5a4cef
HZ
211182014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21119 Hui Zhu <hui@codesourcery.com>
21120
21121 * gdb.base/fileio.exp: Add test for shell not available as well as
21122 available.
21123 * gdb.base/fileio.c (test_system): Check for shell twice.
21124
90a45c4d
YQ
211252014-06-04 Yao Qi <yao@codesourcery.com>
21126
21127 * gdb.base/auto-connect-native-target.exp: Remove redundant
21128 space from the regexp pattern.
21129
70017e41
YQ
211302014-06-04 Yao Qi <yao@codesourcery.com>
21131
21132 * gdb.base/default.exp: Replace "child" with "native" in
21133 regexp pattern.
21134
883964a7
SC
211352014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21136
21137 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21138 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21139 * gdb.python/py-xmethods.py: Python script supporting the
21140 new testcase and tests.
21141
ef370185
JB
211422014-06-03 Joel Brobecker <brobecker@adacore.com>
21143 Pedro Alves <palves@redhat.com>
21144
21145 PR breakpoints/17000
21146 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21147 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21148
1e2ccb61
BM
211492014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21150
21151 * gdb.base/subst.exp: Add tests to verify partial path matching
21152 output.
21153
c6ec5ab2
PA
211542014-06-03 Pedro Alves <palves@redhat.com>
21155
21156 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21157 target that doesn't use software single-stepping.
21158
835c559f
PA
211592014-06-03 Pedro Alves <palves@redhat.com>
21160
21161 PR breakpoints/17000
21162 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21163 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21164
06eb1586
DE
211652014-06-02 Doug Evans <xdje42@gmail.com>
21166
21167 * gdb.guile/scm-parameter.exp: New file.
21168
e698b8c4
DE
211692014-06-02 Doug Evans <xdje42@gmail.com>
21170
21171 * gdb.guile/scm-cmd.c: New file.
21172 * gdb.guile/scm-cmd.exp: New file.
21173
ded03782
DE
211742014-06-02 Doug Evans <xdje42@gmail.com>
21175
21176 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21177 pretty-printer lookup.
21178 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21179 (make-pp_s-printer): Call it.
21180 (make-pretty-printer-from-dict): New function.
21181 (lookup-pretty-printer-maker-from-dict): New function.
21182 (*pretty-printer*): Simplify.
21183 (make-objfile-pp_s-printer): New function.
21184 (install-objfile-pretty-printers!): New function.
21185 (make-progspace-pp_s-printer): New function.
21186 (install-progspace-pretty-printers!): New function.
21187 * gdb.guile/scm-progspace.c: New file.
21188 * gdb.guile/scm-progspace.exp: New file.
21189
41fac0cf
PA
211902014-06-02 Pedro Alves <palves@redhat.com>
21191
21192 * gdb.base/dprintf-bp-same-addr.c: New file.
21193 * gdb.base/dprintf-bp-same-addr.exp: New file.
21194
96ae5695
EBM
211952014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21196
21197 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21198 * gdb.arch/powerpc-power.s: Likewise.
21199
da02b3a8
JB
212002014-06-02 Joel Brobecker <brobecker@adacore.com>
21201
21202 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21203
c72b2e7b
YQ
212042014-06-01 Yao Qi <yao@codesourcery.com>
21205
21206 * gdb.base/watchpoint.exp (test_watch_location): Check null
21207 pointer can be dereferenced. If not, do the test, otherwise
21208 skip it.
21209
53e8a631
AB
212102014-05-30 Andrew Burgess <aburgess@broadcom.com>
21211
21212 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21213 results.
21214 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21215
938f0e2f
AB
212162014-05-30 Andrew Burgess <aburgess@broadcom.com>
21217
21218 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21219 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21220 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21221 * gdb.arch/amd64-invalid-stack-top.c: New file.
21222 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21223
9ba6657a
PA
212242014-05-30 Pedro Alves <palves@redhat.com>
21225
21226 PR breakpoints/17000
21227 * gdb.base/sss-bp-on-user-bp.c: New file.
21228 * gdb.base/sss-bp-on-user-bp.exp: New file.
21229
522c09bf
DB
212302014-05-30 David Blaikie <dblaikie@gmail.com>
21231
21232 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21233 gnu_inline semantics via attribute.
21234 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21235 source explicitly specifies the required semantics.
21236
bf4ef81e
MR
212372014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21238
21239 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21240
329ea579
PA
212412014-05-29 Pedro Alves <palves@redhat.com>
21242 Tom Tromey <tromey@redhat.com>
21243
21244 * gdb.base/async-shell.exp: Don't enable target-async.
21245 * gdb.base/async.exp
21246 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21247 parameter. Adjust.
21248 (top level): Don't test with "target-async".
21249 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21250 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21251 * gdb.base/inferior-died.exp: Don't enable target-async.
21252 * gdb.base/interrupt-noterm.exp: Likewise.
21253 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21254 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21255 * gdb.mi/mi-nonstop.exp: Likewise.
21256 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21257 * gdb.mi/mi-nsintrall.exp: Likewise.
21258 * gdb.mi/mi-nsmoribund.exp: Likewise.
21259 * gdb.mi/mi-nsthrexec.exp: Likewise.
21260 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21261 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21262 * gdb.python/py-evsignal.exp: Don't enable target-async.
21263 * gdb.python/py-evthreads.exp: Likewise.
21264 * gdb.python/py-prompt.exp: Likewise.
21265 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21266 * gdb.server/solib-list.exp: Don't enable target-async.
21267 * gdb.threads/thread-specific-bp.exp: Likewise.
21268 * lib/mi-support.exp: Adjust to use mi-async.
21269
fd664c91
PA
212702014-05-29 Pedro Alves <palves@redhat.com>
21271
21272 PR gdb/13860
21273 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21274 reason, even in sync mode.
21275
251bde03
PA
212762014-05-29 Pedro Alves <palves@redhat.com>
21277 Hui Zhu <hui@codesourcery.com>
21278
21279 PR PR15693
21280 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21281 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21282 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21283 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21284
7f3c0343
JB
212852014-05-28 Joel Brobecker <brobecker@adacore.com>
21286
21287 * config/monitor.exp (gdb_target_monitor): Replace use of
21288 "set remotebaud" by "set serial baud".
21289
b2715b27
AW
212902014-05-26 Andy Wingo <wingo@igalia.com>
21291
21292 * gdb.guile/scm-breakpoint.exp:
21293 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21294 properties instead of gdb-object-properties.
21295
498a4489
YQ
212962014-05-26 Yao Qi <yao@codesourcery.com>
21297
21298 * gdb.server/no-thread-db.exp: Specify source file name
21299 explicitly when setting a breakpoint.
21300
589fdceb
MM
213012014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21302
21303 * gdb.btrace/vdso.c: New.
21304 * gdb.btrace/vdso.exp: New.
21305
e9089e05
MM
213062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21307
21308 * gdb.base/gcore.exp (capture_command_output): Move ...
21309 * lib/gdb.exp (capture_command_output): ... here.
21310
67b5c0c1
MM
213112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21312
21313 * gdb.btrace/data.exp: Test memory access during btrace replay.
21314
a2199296
SM
213152014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21316
21317 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21318
17b2616c
PA
213192014-05-21 Pedro Alves <palves@redhat.com>
21320
21321 PR gdb/13860
21322 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21323 (top level): Test that output related to execution commands is
21324 sent to the console with CLI commands, but not with MI commands.
21325 Test that breakpoint events are always mirrored to the console.
21326 Also expect the new source line to be output after a "next" in
21327 async mode too. Make it a pass/fail test.
21328 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21329 output.
21330 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21331
5166082f
PA
213322014-05-21 Pedro Alves <palves@redhat.com>
21333
21334 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21335 Use them to test variations of "list" after reaching a breakpoint.
21336 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21337 Test "list" with listsize 10 after reaching a breakpoint.
21338 * gdb.python/python.exp (decode_line current location line
21339 number): Adjust expected line number.
21340
2f25d70f
SM
213412014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21342
21343 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21344 behavior for $args, pass it directly to "run".
21345
ff604a67
MR
213462014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21347
21348 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21349 30000 to 65536.
21350
6a3cb8e8
PA
213512014-05-21 Pedro Alves <palves@redhat.com>
21352
21353 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21354 auto-connect-native-target off".
21355 * gdb.base/auto-connect-native-target.c: New file.
21356 * gdb.base/auto-connect-native-target.exp: New file.
21357
4ebfc96e
PA
213582014-05-21 Pedro Alves <palves@redhat.com>
21359
21360 * gdb.base/default.exp: Test "target native" instead of "target
21361 child".
21362
36d46afb
MW
213632014-05-21 Mark Wielaard <mjw@redhat.com>
21364
21365 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21366
5876f503
JK
213672014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21368
21369 Fix TLS access for -static -pthread.
21370 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21371 <HAVE_TLS> (thread_function, main): Initialize it.
21372 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21373 Add clean_restart.
21374 <$have_tls != "">: Check TLSVAR.
21375
0256a6ac
PA
213762014-05-21 Pedro Alves <palves@redhat.com>
21377
21378 * gdb.base/dcache-line-read-error.c: New.
21379 * gdb.base/dcache-line-read-error.exp: New.
21380
936d2992
PA
213812014-05-20 Pedro Alves <palves@redhat.com>
21382
21383 * gdb.base/compare-sections.c: New file.
21384 * gdb.base/compare-sections.exp: New file.
21385
802e8e6d
PA
213862014-05-20 Pedro Alves <palves@redhat.com>
21387
21388 * gdb.base/break-idempotent.c: New file.
21389 * gdb.base/break-idempotent.exp: New file.
21390
e59fa00f
MM
213912014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21392
21393 * gdb.btrace/nohist.exp: New.
21394
8b696e31
YQ
213952014-05-20 Yao Qi <yao@codesourcery.com>
21396
21397 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21398 gdb.reverse directory and gdb_reverse_timeout exists in board
21399 setting.
21400 * README: Document gdb_reverse_timeout.
21401
73c9764f
YQ
214022014-05-20 Yao Qi <yao@codesourcery.com>
21403
21404 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21405 'test_file_name'. Treat args as a string instead of a list.
21406 (gdb_init): Rename argument 'args' by 'test_file_name'.
21407
f1f4348a
JK
214082014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21409
21410 * gdb.arch/powerpc-power.exp: New file.
21411 * gdb.arch/powerpc-power.s: New file.
21412
0dbe70ce
DE
214132014-05-16 Doug Evans <dje@google.com>
21414
21415 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
21416 * gdb.base/completion.exp: Check that all expected files exist
21417 before doing file completion.
0dbe70ce 21418
8d551b02
DE
214192014-05-16 Doug Evans <dje@google.com>
21420
21421 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
21422 Update.
21423 (do_syscall_tests_without_xml): Update.
21424
73eb7709
PA
214252014-05-16 Pedro Alves <palves@redhat.com>
21426
21427 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21428 instead of "unknown output after running".
21429
3fae92fc
YQ
214302014-05-16 Yao Qi <yao@codesourcery.com>
21431
21432 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21433 file1.txt from host at the end.
21434 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21435
c2b2ccc5
DE
214362014-05-15 Doug Evans <dje@google.com>
21437
21438 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21439 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21440 loading file. Add test for TU lookup.
21441
8c217a4b
SM
214422014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21443
21444 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21445 calling "-exec-arguments" or "set args" before running the
21446 inferior.
21447
3deb39c6
SM
214482014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21449
21450 * lib/mi-support.exp (mi_expect_stop): Expect message for
21451 inferiors that exit with non-zero exit code.
21452
71a79f8c
YQ
214532014-05-14 Yao Qi <yao@codesourcery.com>
21454
21455 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21456 match absolute path on remote host.
21457 (test_file_list_exec_source_files): Remove "/" from the
21458 pattern.
21459
f23fcd46
YQ
214602014-05-14 Yao Qi <yao@codesourcery.com>
21461
21462 * boards/local-remote-host-notty.exp (${board}_file): New
21463 proc.
21464
9404b58f
KM
214652014-05-07 Kyle McMartin <kyle@redhat.com>
21466
21467 Pushed by Joel Brobecker <brobecker@adacore.com>.
21468 * gdb.arch/aarch64-atomic-inst.c: New file.
21469 * gdb.arch/aarch64-atomic-inst.exp: New file.
21470
5e45f04c
YQ
214712014-05-07 Yao Qi <yao@codesourcery.com>
21472
21473 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21474 in current context" too.
21475
c888a17d
KS
214762014-05-05 Keith Seitz <keiths@redhat.com>
21477
21478 * gdb.linespec/ls-dollar.exp: Add test for linespec
21479 file:convenience_variable.
21480
290a839c
YQ
214812014-05-05 Yao Qi <yao@codesourcery.com>
21482
21483 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21484 traceframes into tfile and ctf trace files. Read data from
21485 trace file and test collected data.
21486 (gdb_collect_locals_test): Likewise.
21487 (gdb_unavailable_registers_test): Likewise.
21488 (gdb_unavailable_floats): Likewise.
21489 (gdb_collect_globals_test): Likewise.
21490 (top-level): Append "ctf" to trace_file_targets if GDB
21491 supports.
21492
b5262cd0
YQ
214932014-05-05 Yao Qi <yao@codesourcery.com>
21494
21495 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21496 code to ...
21497 (gdb_collect_args_test_1): ... it. New proc.
21498 (gdb_collect_locals_test): Move some code to ...
21499 (gdb_collect_locals_test_1): ... it. New proc.
21500 (gdb_unavailable_registers_test): Move some code to ...
21501 (gdb_unavailable_registers_test_1): ... it. New proc.
21502 (gdb_unavailable_floats): Move some code to ...
21503 (gdb_unavailable_floats_1): ... it. New proc.
21504
30a1e6cc
SDJ
215052014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21506
21507 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21508 probes to test for bitness recognition.
21509 * gdb.arch/amd64-stap-optional-prefix.exp
21510 (test_probe_value_without_reg): New procedure.
21511 Add code to test for different kinds of bitness.
21512
f33da99a
SDJ
215132014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21514
21515 PR breakpoints/16889
21516 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21517 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21518
5b80f00d
PA
215192014-05-01 Pedro Alves <palves@redhat.com>
21520
21521 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21522 gdb_file_cmd if no file is specified.
21523 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21524 last_loaded_file to set the remote exec-file.
21525
f8c2a73c
PA
215262014-05-01 Pedro Alves <palves@redhat.com>
21527
21528 * boards/local-remote-host.exp: New file.
21529
be6e8ac7
PA
215302014-05-01 Pedro Alves <palves@redhat.com>
21531
21532 * boards/local-remote-host.exp: Rename to ...
21533 * boards/local-remote-host-notty.exp: ... this.
21534
cac0dc8f
JB
215352014-04-28 Joel Brobecker <brobecker@adacore.com>
21536
21537 * gdb.ada/dyn_arrayidx: New testcase.
21538
9730e6cc
YQ
215392014-04-26 Yao Qi <yao@codesourcery.com>
21540
21541 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21542 and compute the length of function main. Save it in
21543 $main_length.
21544 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21545 (top-level): Use gdb_compile to compile objects into
21546 executable and restart GDB. Remove invocation to
21547 prepare_for_testing.
21548
7ae1a6a6
PA
215492014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21550 Pedro Alves <palves@redhat.com>
21551
21552 PR server/16255
21553 * gdb.multi/multi-attach.c: New file.
21554 * gdb.multi/multi-attach.exp: New file.
21555
4082afcc
PA
215562014-04-25 Pedro Alves <palves@redhat.com>
21557
21558 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21559 user.
21560 (top level): Test that "set remote conditional-breakpoints-packet
21561 off" works as intended.
21562 * gdb.base/dprintf.exp: Test that "set remote
21563 breakpoint-commands-packet off" works as intended.
21564 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21565 New function.
21566 (top level): Call it.
21567 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21568 remote fast-tracepoints-packet off" works as intended.
21569 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21570 * lib/gdb.exp (gdb_is_target_remote): ... here.
21571
2abc3f8d
DB
215722014-04-24 David Blaikie <dblaikie@gmail.com>
21573
21574 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21575 ensure clang would not discard them.
21576 * gdb.base/gdbvars.c: Ditto.
21577 * gdb.base/memattr.c: Ditto.
21578 * gdb.base/whatis.c: Ditto.
21579 * gdb.python/py-prettyprint.c: Ditto.
21580 * gdb.trace/actions.c: Ditto.
21581 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21582 ensure clang would not discard it.
21583
bfd39632
DB
215842014-04-24 David Blaikie <dblaikie@gmail.com>
21585
21586 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21587 clang to emit the full definition of type required by the test
21588 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21589
22842ff6
DB
215902014-04-24 David Blaikie <dblaikie@gmail.com>
21591
21592 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21593 coax Clang into emitting the definition of the type.
21594 * gdb.cp/pr10728-x.h (y): Ditto.
21595 * gdb.cp/pr10728-y.cc (y): Ditto.
21596
c2e827ad
DB
215972014-04-24 David Blaikie <dblaikie@gmail.com>
21598
21599 * gdb.base/label.exp: XFAIL label related tests under Clang.
21600 * gdb.cp/cplabel.exp: Ditto.
21601 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21602 under Clang those using labels.
21603
4c2d33e7
YQ
216042014-04-25 Yao Qi <yao@codesourcery.com>
21605
21606 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21607 double_label.
21608 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21609 partial_label and double_label.
21610
56083b99
DB
216112014-04-24 David Blaikie <dblaikie@gmail.com>
21612
21613 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21614
25d4e99d
DB
216152014-04-24 David Blaikie <dblaikie@gmail.com>
21616
21617 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21618 of the function to work across GCC and Clang.
21619 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21620 pointer types (const void ** const V void **).
21621
01f9f808
MS
216222014-04-24 Michael Sturm <michael.sturm@mintel.com>
21623 Walfred Tedeschi <walfred.tedeschi@intel.com>
21624
21625 * Makefile.in (EXECUTABLES): Added i386-avx512.
21626 * gdb.arch/i386-avx512.c: New file.
21627 * gdb.arch/i386-avx512.exp: Likewise.
21628
4b48d439
KS
216292014-04-23 Keith Seitz <keiths@redhat.com>
21630
21631 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21632 (mi_make_breakpoint_table): New procedure.
21633 (mi_create_breakpoint): Use mi_make_breakpoint
21634 and return the result.
21635 (mi_make_breakpoint): New procedure.
21636 (mi_build_kv_pairs): New procedure.
21637
21638 * gdb.mi/mi-break.exp: Remove unused globals,
21639 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21640 All callers updated.
21641 * gdb.mi/mi-dprintf.exp: Use variable to track command
21642 number.
21643 Update all callers of mi_create_breakpoint and use
21644 mi_make_breakpoint_table.
21645 Remove any unused global variables.
21646 * gdb.mi/mi-nonstop.exp: Likewise.
21647 * gdb.mi/mi-nsintrall.exp: Likewise.
21648 * gdb.mi/mi-nsmoribund.exp: Likewise.
21649 * gdb.mi/mi-nsthrexec.exp: Likewise.
21650 * gdb.mi/mi-reverse.exp: Likewise.
21651 * gdb.mi/mi-simplerun.exp: Likewise.
21652 * gdb.mi/mi-stepn.exp: Likewise.
21653 * gdb.mi/mi-syn-frame.exp: Likewise.
21654 * gdb.mi/mi-until.exp: Likewise.
21655 * gdb.mi/mi-var-cp.exp: Likewise.
21656 * gdb.mi/mi-var-display.exp: Likewise.
21657 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21658 * gdb.mi/mi2-var-child.exp: Likewise.
21659 * gdb.mi/mi-vla-c99.exp: Likewise.
21660 * lib/mi-support.exp: Likewise.
21661
21662 From Ian Lance Taylor <iant@cygnus.com>:
21663 * lib/gdb.exp (parse_args): New procedure.
21664
08351840
PA
216652014-04-23 Pedro Alves <palves@redhat.com>
21666
21667 * gdb.base/break-unload-file.c: New file.
21668 * gdb.base/break-unload-file.exp: New file.
21669 * gdb.base/sym-file-lib.c (baz): New function.
21670 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21671 field.
21672 (load): Store the segment's mapped size.
21673 (unload): New function.
21674 (unload_shlib): New function.
21675 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21676 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21677 set a breakpoint at baz, and call it.
21678 * gdb.base/sym-file.exp: New tests for stale breakpoint
21679 instructions.
21680
076855f9
PA
216812014-04-23 Pedro Alves <palves@redhat.com>
21682
21683 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21684 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21685 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21686 * gdb.base/hbreak-unmapped.c: New file.
21687 * gdb.base/hbreak-unmapped.exp: New file.
21688 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21689 * lib/gdb.exp (gdb_is_target_remote): ... here.
21690
483805cf
PA
216912014-04-22 Pedro Alves <palves@redhat.com>
21692
21693 * gdb.base/consecutive-step-over.c: New file.
21694 * gdb.base/consecutive-step-over.exp: New file.
21695
06d97543
PA
216962014-04-22 Pedro Alves <palves@redhat.com>
21697
21698 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21699 instead of send_gdb/gdb_expect.
21700
b4429ea2
YQ
217012014-04-22 Yao Qi <yao@codesourcery.com>
21702
21703 * lib/trace-support.exp (generate_tracefile): New procedure.
21704 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21705 return 0.
21706 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21707 if generate_tracefile returns 1.
21708
51d48146
PA
217092014-04-18 Tom Tromey <palves@redhat.com>
21710 Pedro alves <tromey@redhat.com>
21711
21712 PR backtrace/15558
21713 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21714 with a backtrace limit.
21715 * gdb.python/py-frame-inline.exp: Test running to an inline
21716 function with a backtrace limit, and printing the newest frame.
21717 * gdb.python/py-frame-inline.c (main): Call f.
21718
bd1dce5f
MS
217192014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21720
21721 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21722
40d1a503
MS
217232014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21724
21725 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21726 Drop prefix from unsupported source file path.
21727
389b98f7
YQ
217282014-04-17 Yao Qi <yao@codesourcery.com>
21729
21730 * lib/gdb.exp (with_target_charset): New proc.
21731 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21732 with_target_charset.
21733 (test_print_strings): Likewise.
21734 (test_repeat_bytes): Likewise.
21735 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21736 for some tests.
21737
22869d73
KS
217382014-04-16 Keith Seitz <keiths@redhat.com>
21739
21740 PR gdb/15827
21741 * gdb.dwarf2/corrupt.c: New file.
21742 * gdb.dwarf2/corrupt.exp: New file.
21743
c4f87ca6
KS
217442014-04-16 Keith Seitz <keiths@redhat.com>
21745
21746 PR c++/16597
21747 * gdb.cp/namelessclass.cc: New file.
21748 * gdb.cp/namelessclass.exp: New file.
21749 * gdb.cp/namelessclass.S: New file.
21750
ab19de87
DE
217512014-04-16 Doug Evans <dje@google.com>
21752
21753 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21754 Add comment.
21755 (gdbserver_default_get_comm_port): New function.
21756 (gdbserver_start): Check if board file provided
21757 "gdbserver,get_comm_port" and use it if so.
21758 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21759 (gdb,socketport): Set to "stdio".
21760 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21761 (stdio_gdbserver_template): Delete.
21762 (${board}_get_remote_address): Update.
21763 (${board}_build_remote_cmd): Delete.
21764 (${board}_get_comm_port): New function.
21765 (${board}_spawn): Update.
21766 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21767 Delete.
21768 (${board}_get_remote_address): Update.
21769 (${board}_get_comm_port): New function.
21770
fc98a809
AB
217712014-04-16 Andrew Burgess <aburgess@broadcom.com>
21772
21773 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21774 appearing in any order.
21775
87fd9e6e
DE
217762014-04-15 Doug Evans <dje@google.com>
21777
21778 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21779 uninitialized value of "description".
21780
099fc3ea
KS
217812014-04-15 Keith Seitz <keiths@redhat.com>
21782
21783 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21784 Remove unused globals.
21785 (test_running_the_program): Likewise.
21786 (test_controlled_execution): Likewise.
21787 (test_controlling_breakpoints): Likewise.
21788 (test_program_termination): Likewise.
21789
5da151d4
KS
217902014-04-15 Keith Seitz <keiths@redhat.com>
21791
21792 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21793 unused globals.
21794 (test_rbreak_creation_and_listing): Likewise.
21795 (test_ignore_count): Likewise.
21796 (test_error): Likewise.
21797
35e5d2f0
PA
217982014-04-15 Pedro Alves <palves@redhat.com>
21799
21800 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21801 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21802 sym-file-loader.c.
21803 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21804 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21805 to sym-file-loader.c.
21806 (struct library): Forward declare.
21807 (load_shlib, lookup_function): Change prototypes.
21808 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21809 (translate_offset): Remove declarations.
21810 (get_text_addr): New declaration.
21811 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21812 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21813 sym-file-loader.h.
21814 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21815 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21816 here from sym-file-loader.h.
21817 (struct library): New structure.
21818 (load_shlib, lookup_function): Change prototypes and adjust to
21819 work with a struct library.
21820 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21821 (translate_offset): Make static.
21822 (get_text_addr): New function.
21823 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21824
eb4c1710
PA
218252014-04-15 Pedro Alves <palves@redhat.com>
21826
21827 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21828
2d1baf52
PA
218292014-04-15 Pedro Alves <palves@redhat.com>
21830
21831 * gdb.base/sym-file-loader.c: Include <limits.h>.
21832 (SELF_LINK): New define.
21833 (get_origin): New function.
21834 (load_shlib): Use it.
21835 * gdb.base/sym-file.exp: Don't early return if the target is
21836 remote. Use runto_main, and issue fail is that fails. Use
21837 gdb_load_shlibs.
21838 (shlib_name): Delete.
21839 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21840
7dd6df01
PA
218412014-04-15 Pedro Alves <palves@redhat.com>
21842
21843 * gdb.base/sym-file.exp: Remove regex characters from test
21844 message. Don't refer to breakpoint numbers in test messages.
21845
b50c8614
KS
218462014-04-14 Keith Seitz <keiths@redhat.com>
21847
21848 PR c++/16253
21849 * gdb.cp/var-tag.cc: New file.
21850 * gdb.cp/var-tag.exp: New file.
21851 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21852 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21853 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21854 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21855
3d567982
TT
218562014-04-14 Tom Tromey <tromey@redhat.com>
21857
21858 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21859 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21860 type.
21861 * gdb.cp/enum-class.exp: New file.
21862 * gdb.cp/enum-class.cc: New file.
21863
0626fc76
TT
218642014-04-14 Tom Tromey <tromey@redhat.com>
21865
21866 * gdb.dwarf2/enum-type.exp: New file.
21867
dca325b3
SA
218682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21869
21870 * gdb.mi/mi-vla-c99.exp: New file.
21871 * gdb.mi/vla.c: New file.
21872
5854b38a
SA
218732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21874
21875 * gdb.base/vla-datatypes.c: New file.
21876 * gdb.base/vla-datatypes.exp: New file.
21877
463bb957
SA
218782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21879
21880 * gdb.base/vla-ptr.c: New file.
21881 * gdb.base/vla-ptr.exp: New file.
21882
3dd170be
SA
218832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21884
21885 * gdb.dwarf2/count.exp: New file.
21886
5ecaaa66
SA
218872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21888
21889 * gdb.base/vla-sideeffect.c: New file.
21890 * gdb.base/vla-sideeffect.exp: New file.
21891
41f1ada5
DB
218922014-04-14 David Blaikie <dblaikie@gmail.com>
21893
21894 * gdb.mi/non-stop.c: Add return value for non-void function return
21895 statement.
21896 * gdb.threads/staticthreads.c: Ditto.
21897
0be03e84
DE
218982014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21899 Doug Evans <xdje42@gmail.com>
21900
21901 * gdb.guile/scm-value.c: Improve test case.
21902 * gdb.guile/scm-value.exp: Add new test.
21903
f180a1fb
DB
219042014-04-11 David Blaikie <dblaikie@gmail.com>
21905
21906 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21907 override Clang's default.
21908
6b662e19
JB
219092014-04-11 Joel Brobecker <brobecker@adacore.com>
21910
21911 Revert the following changes (regressions):
21912
21913 * gdb.base/vla-sideeffect.c: New file.
21914 * gdb.base/vla-sideeffect.exp: New file.
21915
21916 * gdb.dwarf2/count.exp: New file.
21917
21918 * gdb.base/vla-multi.c: New file.
21919 * gdb.base/vla-multi.exp: New file.
21920
21921 * gdb.base/vla-ptr.c: New file.
21922 * gdb.base/vla-ptr.exp: New file.
21923
21924 * gdb.base/vla-datatypes.c: New file.
21925 * gdb.base/vla-datatypes.exp: New file.
21926
21927 * gdb.mi/mi-vla-c99.exp: New file.
21928 * gdb.mi/vla.c: New file.
21929
245a5f0b
KS
219302014-04-11 Keith Seitz <keiths@redhat.com>
21931
21932 PR c++/16675
21933 * gdb.cp/cpsizeof.exp: New file.
21934 * gdb.cp/cpsizeof.cc: New file.
21935
58a84dcf
SA
219362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21937
191a8a90
JB
21938 * gdb.mi/mi-vla-c99.exp: New file.
21939 * gdb.mi/vla.c: New file.
58a84dcf 21940
c8655f75
SA
219412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21942
21943 * gdb.base/vla-datatypes.c: New file.
21944 * gdb.base/vla-datatypes.exp: New file.
21945
024e13b4
SA
219462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21947
21948 * gdb.base/vla-ptr.c: New file.
21949 * gdb.base/vla-ptr.exp: New file.
21950
1a237e0e
SA
219512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21952
21953 * gdb.base/vla-multi.c: New file.
21954 * gdb.base/vla-multi.exp: New file.
21955
504f3432
SA
219562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21957
21958 * gdb.dwarf2/count.exp: New file.
21959
3bce8237
SA
219602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21961
191a8a90
JB
21962 * gdb.base/vla-sideeffect.c: New file.
21963 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 21964
322f9c21
YQ
219652014-04-11 Yao Qi <yao@codesourcery.com>
21966
21967 * gdb.base/completion.exp: Check file exists before running tests
21968 on file completion.
21969
d708bcd1
PA
219702014-04-10 Pedro Alves <palves@redhat.com>
21971
21972 * gdb.base/cond-eval-mode.c: New file.
21973 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21974 prepare_for_testing to build the new file. Check result of
21975 runto_main.
21976 (test_break, test_watch): New procedures.
21977 (top level): Use them.
21978
ae1d2761
PM
219792014-04-08 Pierre Muller <muller@sourceware.org>
21980
21981 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21982 Ctrl-V use for mingw hosts.
21983
7af389b8
SC
219842014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21985
21986 * gdb.python/py-value.c: Improve test case.
21987 * gdb.python/py-value.exp: Add new test.
21988
5e703181
DE
219892014-04-07 David Blaikie <dblaikie@gmail.com>
21990
21991 * lib/compiler.c: Identify the clang compiler.
21992 * lib/compiler.cc: Ditto.
21993
9810b410
YQ
219942014-04-03 Yao Qi <yao@codesourcery.com>
21995
21996 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21997
98d1b8dc
AB
219982014-04-01 Anton Blanchard <anton@samba.org>
21999
22000 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22001 messages unique.
22002
3114cea1
AB
220032014-04-01 Anton Blanchard <anton@samba.org>
22004
22005 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22006 prepare_for_testing.
22007
62f7182c
AB
220082014-04-01 Anton Blanchard <anton@samba.org>
22009
22010 * gdb.arch/ppc64-atomic-inst.c: Remove.
22011 * gdb.arch/ppc64-atomic-inst.S: New file.
22012 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22013
770e7fc7
DE
220142014-03-31 Doug Evans <dje@google.com>
22015
22016 * gdb.base/print-symbol-loading-lib.c: New file.
22017 * gdb.base/print-symbol-loading-main.c: New file.
22018 * gdb.base/print-symbol-loading.exp: New file.
22019
46e2bafa
YQ
220202014-03-31 Yao Qi <yao@codesourcery.com>
22021
22022 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22023
8776cfe9
JB
220242014-03-28 Joel Brobecker <brobecker@adacore.com>
22025
22026 * gdb.ada/mi_dyn_arr: New testcase.
22027
5d1ef361
DE
220282014-03-27 Doug Evans <dje@google.com>
22029
22030 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22031
b5bee914
YQ
220322014-03-27 Yao Qi <yao@codesourcery.com>
22033
22034 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22035 if target is nios2-*-*.
22036
0d4d0e77
YQ
220372014-03-26 Yao Qi <yao@codesourcery.com>
22038
22039 * lib/gdb.exp (readline_is_used): New proc.
22040 * gdb.base/completion.exp: Move tests on command complete up.
22041 Skip the rest of tests if readline is not used.
22042 * gdb.ada/complete.exp: Skp the test if readline is not
22043 used.
22044 * gdb.base/filesym.exp: Likewise.
22045 * gdb.base/macscp.exp: Likewise.
22046 * gdb.base/readline-ask.exp: Likewise.
22047 * gdb.base/readline.exp: Likewise.
22048 * gdb.python/py-cmd.exp: Likewise.
22049 * gdb.trace/tfile.exp: Likewise.
22050
29361eee
YQ
220512014-03-26 Yao Qi <yao@codesourcery.com>
22052
22053 * gdb.base/macscp.exp: Fix code format issues.
22054
bc9a5525
UW
220552014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22056
22057 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22058 * gdb.asm/powerpc64le.inc: New file.
22059
d3839ede
PA
220602014-03-25 Pedro Alves <palves@redhat.com>
22061 Doug Evans <dje@google.com>
22062
22063 * gdb.base/source-execution.c: New file.
22064 * gdb.base/source-execution.exp: New file.
22065 * gdb.base/source-execution.gdb: New file.
22066
01672a57
DE
220672014-03-24 Doug Evans <dje@google.com>
22068
22069 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22070 using fission.
22071
88bbeca9
HZ
220722014-03-24 Hui Zhu <hui@codesourcery.com>
22073 Pedro Alves <palves@redhat.com>
22074
22075 PR breakpoints/16101
22076 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22077 test pass/fail messages. Detect missing support for dprintf when
22078 breakpoints are actually inserted.
22079 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22080 breakpoints are actually inserted.
22081 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22082 fails.
22083
d2348791
JK
220842014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22085
22086 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22087
feef67ab
DE
220882014-03-22 Doug Evans <xdje42@gmail.com>
22089
22090 * gdb.python/python.exp (python not supported): Verify multi-line
22091 python command issues an error.
25d743f9 22092 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22093 guile command issues an error.
feef67ab 22094
ecebef6a
MR
220952014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22096
22097 * gdb.threads/thread-specific.exp: Handle the lack of usable
22098 $this_breakpoint and $this_thread.
22099
ccdd1909
HZ
221002014-03-21 Hui Zhu <hui@codesourcery.com>
22101
22102 * gdb.base/attach.exp (do_command_attach_tests): New.
22103
beb460e8
PA
221042014-03-20 Tom Tromey <tromey@redhat.com>
22105 Pedro Alves <palves@redhat.com>
22106
22107 PR cli/15718
22108 * gdb.base/condbreak-call-false.c: New file.
22109 * gdb.base/condbreak-call-false.exp: New file.
22110
40acf43a
PA
221112014-03-20 Pedro Alves <palves@redhat.com>
22112
22113 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22114 Delete.
22115 (block_signals, unblock_signals): Delete.
22116 (child_function_2, main): Remove references to deleted variable
22117 and functions.
22118
9f5e1e02
PA
221192014-03-20 Pedro Alves <palves@redhat.com>
22120
22121 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22122 Use pthread_kill to signal thread 2.
22123 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22124 Adjust to make the test send itself a signal rather than using the
22125 host's "kill" command.
22126
99619bea
PA
221272014-03-20 Pedro Alves <palves@redhat.com>
22128
22129 * gdb.threads/multiple-step-overs.c: New file.
22130 * gdb.threads/multiple-step-overs.exp: New file.
22131 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22132 Adjust expected infrun debug output.
22133
2adfaa28
PA
221342014-03-20 Pedro Alves <palves@redhat.com>
22135
22136 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22137 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22138
31e77af2
PA
221392014-03-20 Pedro Alves <palves@redhat.com>
22140
22141 PR breakpoints/7143
22142 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22143 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22144 of gdb_test_multiple.
22145 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22146 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22147
b9f437de
PA
221482014-03-20 Pedro Alves <palves@redhat.com>
22149
22150 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22151 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22152
05adc73e
PA
221532014-03-19 Pedro Alves <palves@redhat.com>
22154
22155 * gdb.base/async.exp: Remove early return.
22156
6048b950
PA
221572014-03-19 Pedro Alves <palves@redhat.com>
22158
22159 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22160
8bcfb00a
PA
221612014-03-19 Pedro Alves <palves@redhat.com>
22162
22163 * gdb.base/async.exp (test_background): Expect \r\n after
22164 "completed." in the fail pattern.
22165
884e37dc
PA
221662014-03-19 Pedro Alves <palves@redhat.com>
22167
22168 * gdb.base/async.exp (test_background): New procedure.
22169 Use it for all background execution command tests.
22170
148e57e2
PA
221712014-03-19 Pedro Alves <palves@redhat.com>
22172
22173 * gdb.base/async.exp: Use prepare_for_testing.
22174
f48088c7
PA
221752014-03-19 Pedro Alves <palves@redhat.com>
22176
22177 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22178 the same line.
22179
e2f6c966
PA
221802014-03-19 Pedro Alves <palves@redhat.com>
22181
22182 * gdb.base/async.c (main): Add "jump here" and "until here" line
22183 marker comments.
22184 * gdb.base/async.exp (jump_here): New global.
22185 (jump& test): Use it.
22186 (until_here): New global.
22187 (until& test): Use it.
22188
c30568d4
PA
221892014-03-19 Pedro Alves <palves@redhat.com>
22190
22191 * gdb.base/async.exp: Don't frob gdb_protocol.
22192
0172b6a7
DE
221932014-03-18 Doug Evans <xdje42@gmail.com>
22194
22195 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22196 Fix spelling of exec-done-display.
22197
06c868a8
JK
221982014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22199
22200 PR gdb/15358
22201 * gdb.base/gdb-sigterm.c: New file.
22202 * gdb.base/gdb-sigterm.exp: New file.
22203
0c7e1a46
PA
222042014-03-18 Pedro Alves <palves@redhat.com>
22205
22206 PR gdb/13860
22207 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22208 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22209 solib-event.
22210
f7c77d93
JB
222112014-03-17 Joel Brobecker <brobecker@adacore.com>
22212
22213 * gdb.ada/pckd_arr_ren: New testcase.
22214
5a1e8c7a
DE
222152014-03-13 Doug Evans <xdje42@gmail.com>
22216
22217 PR guile/16612
22218 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22219 collect after discarding symbols.
22220
350e1a76
DE
222212014-03-13 Ludovic Courtès <ludo@gnu.org>
22222 Doug Evans <xdje42@gmail.com>
22223
22224 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22225 to history survives a gc.
22226
a69900ae
PA
222272014-03-13 Pedro Alves <palves@redhat.com>
22228
22229 * gdb.base/default.exp: Don't test "target procfs".
22230
5db9f0bd
PA
222312014-03-13 Pedro Alves <palves@redhat.com>
22232
22233 * gdb.base/default.exp: Update "target child" and "target procfs"
22234 tests to not expect "Unix".
22235
b3ccfe11
TT
222362014-03-12 Tom Tromey <tromey@redhat.com>
22237
22238 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22239 New procs. Add target-async tests.
22240 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22241 Add target-async tests.
22242
646f4417
AA
222432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22244
22245 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22246 'func_start' and 'func_end' for the beginning and end of the
22247 function code, respectively.
22248 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22249 'func_end' instead of 'func' and 'main'.
22250
288c211f
AA
222512014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22252
22253 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22254 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22255 generate the debug info assembler source.
22256
e0c0f156
AA
222572014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22258
22259 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22260 * gdb.dwarf2/arr-subrange.exp: Likewise.
22261 * gdb.dwarf2/dwz.exp: Likewise.
22262 * gdb.dwarf2/method-ptr.exp: Likewise.
22263 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22264 * gdb.dwarf2/subrange.exp: Likewise.
22265 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22266 * gdb.dwarf2/implptrpiece.exp: Likewise.
22267 * gdb.dwarf2/nostaticblock.exp: Likewise.
22268
0e5c4555
AA
222692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22270
22271 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22272 directory to absolute path name arguments.
22273
5ec18f2b
JG
222742014-03-10 Joel Brobecker <brobecker@adacore.com>
22275
22276 * gdb.ada/tagged_access: New testcase.
22277
847fc4f2
MM
222782014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22279
22280 * gdb.btrace/data.exp: Update expected output.
22281
cc3da688
YQ
222822014-03-06 Yao Qi <yao@codesourcery.com>
22283
22284 * gdb.trace/pr16508.exp: New file.
22285
0f26cec1
PA
222862014-03-05 Pedro Alves <palves@redhat.com>
22287
22288 PR gdb/16575
22289 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22290 procedure.
22291 (top level): Adjust to use it. Add tests that exercise breakpoint
22292 interaction with the code-cache.
22293
7a5a839f
LC
222942014-02-26 Ludovic Courtès <ludo@gnu.org>
22295
22296 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22297 test for 'history-append!'.
22298
31aa7e4e
JB
222992014-02-26 Joel Brobecker <brobecker@adacore.com>
22300
22301 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22302 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22303 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22304 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22305 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22306 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22307
1b588015
JB
223082014-02-26 Joel Brobecker <brobecker@adacore.com>
22309
22310 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22311 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22312 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22313
55426c9d
JB
223142014-02-26 Joel Brobecker <brobecker@adacore.com>
22315
22316 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22317
dc53a7ad
JB
223182014-02-26 Joel Brobecker <brobecker@adacore.com>
22319
22320 * gdb.dwarf2/arr-stride.c: New file.
22321 * gdb.dwarf2/arr-stride.exp: New file.
22322
12ab52e9
PA
223232014-02-26 Pedro Alves <palves@redhat.com>
22324
22325 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22326 that won't ever trigger. Make sure that GDB reports the correct
22327 breakpoint that caused the stop.
22328
849c862e
JK
223292014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22330
22331 PR gdb/16626
22332 * gdb.base/auto-load-script: New file.
22333 * gdb.base/auto-load.c: New file.
22334 * gdb.base/auto-load.exp: New file.
22335
71b7d793
JK
22336 PR gdb/16626
22337 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22338
e2f0d509
JK
223392014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22340
22341 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22342 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22343
50cc37c8
DE
223442014-02-24 Doug Evans <dje@google.com>
22345
22346 * lib/gdb.exp (run_on_host): Log error output if program fails.
22347
ea4758f2
PA
223482014-02-21 Pedro Alves <palves@redhat.com>
22349
22350 * gdb.threads/step-after-sr-lock.c: Rename to ...
22351 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22352 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22353 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22354 ... this.
22355
d7b30f67
SDJ
223562014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22357
22358 PR tdep/16397
22359 * gdb.arch/amd64-stap-special-operands.exp: New file.
22360 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22361 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22362 * gdb.arch/amd64-stap-triplet.S: Likewise.
22363 * gdb.arch/amd64-stap-triplet.c: Likewise.
22364
83deb43f
JB
223652014-02-20 Joel Brobecker <brobecker@adacore.com>
22366
22367 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22368 in .section pseudo-op.
22369
adde2bff
DE
223702014-02-20 lin zuojian <manjian2006@gmail.com>
22371 Joel Brobecker <brobecker@adacore.com>
22372 Doug Evans <xdje42@gmail.com>
22373
22374 PR symtab/16581
22375 * gdb.dwarf2/dw2-icycle.S: New file.
22376 * gdb.dwarf2/dw2-icycle.c: New file.
22377 * gdb.dwarf2/dw2-icycle.exp: New file.
22378
f7bd0f78
SC
223792014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22380
22381 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22382 operations on gdb.Value objects.
22383 * gdb.python/py-value-cc.exp: Add new test to test operations on
22384 gdb.Value objects.
22385
c17ef0d5
DE
223862014-02-18 Doug Evans <dje@google.com>
22387
22388 * Makefile.in (TESTS): New variable.
22389 (expanded_tests, expanded_tests_or_none): New variables
22390 (check-single): Pass $(expanded_tests_or_none) to runtest.
22391 (check-parallel): Only run tests in $(TESTS) if non-empty.
22392 (check/no-matching-tests-found): New rule.
22393 * README: Document TESTS makefile variable.
22394
5dd3176f
DE
223952014-02-18 Doug Evans <dje@google.com>
22396
22397 * Makefile.in (check-parallel): rm -rf outputs temp.
22398
0b10be4f
JK
223992014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22400
22401 Fix "ERROR: no fileid for" in the testsuite.
22402 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22403
85f224e7
DE
224042014-02-12 Doug Evans <dje@google.com>
22405
22406 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22407 (MISCELLANEOUS): New variable.
22408 (clean): rm -rf $(MISCELLANEOUS).
22409 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22410 dwp live in the same directory as symlinks, with each symlink pointed
22411 to a differently named file in a different directory.
22412
149b30ff
DE
224132014-02-11 Doug Evans <dje@google.com>
22414
22415 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22416 of Tcl file commands.
22417
1dfdac32
MK
224182014-02-10 Mark Kettenis <kettenis@gnu.org>
22419
22420 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22421 "kill -SIGUSR1 -1".
22422
aa4fb036
JB
224232014-02-10 Joel Brobecker <brobecker@adacore.com>
22424
22425 * gdb.ada/tick_length_array_enum_idx: New testcase.
22426
ed3ef339
DE
224272014-02-10 Doug Evans <xdje42@gmail.com>
22428
22429 * configure.ac (AC_OUTPUT): Add gdb.guile.
22430 * configure: Regenerate.
22431 * lib/gdb-guile.exp: New file.
22432 * lib/gdb.exp (get_target_charset): New function.
22433 * gdb.base/help.exp: Update expected output from "apropos apropos".
22434 * gdb.guile/Makefile.in: New file.
22435 * gdb.guile/guile.exp: New file.
22436 * gdb.guile/scm-arch.c: New file.
22437 * gdb.guile/scm-arch.exp: New file.
22438 * gdb.guile/scm-block.c: New file.
22439 * gdb.guile/scm-block.exp: New file.
22440 * gdb.guile/scm-breakpoint.c: New file.
22441 * gdb.guile/scm-breakpoint.exp: New file.
22442 * gdb.guile/scm-disasm.c: New file.
22443 * gdb.guile/scm-disasm.exp: New file.
22444 * gdb.guile/scm-equal.c: New file.
22445 * gdb.guile/scm-equal.exp: New file.
22446 * gdb.guile/scm-error.exp: New file.
22447 * gdb.guile/scm-error.scm: New file.
22448 * gdb.guile/scm-frame-args.c: New file.
22449 * gdb.guile/scm-frame-args.exp: New file.
22450 * gdb.guile/scm-frame-args.scm: New file.
22451 * gdb.guile/scm-frame-inline.c: New file.
22452 * gdb.guile/scm-frame-inline.exp: New file.
22453 * gdb.guile/scm-frame.c: New file.
22454 * gdb.guile/scm-frame.exp: New file.
22455 * gdb.guile/scm-generics.exp: New file.
22456 * gdb.guile/scm-gsmob.exp: New file.
22457 * gdb.guile/scm-iterator.c: New file.
22458 * gdb.guile/scm-iterator.exp: New file.
22459 * gdb.guile/scm-math.c: New file.
22460 * gdb.guile/scm-math.exp: New file.
22461 * gdb.guile/scm-objfile-script-gdb.in: New file.
22462 * gdb.guile/scm-objfile-script.c: New file.
22463 * gdb.guile/scm-objfile-script.exp: New file.
22464 * gdb.guile/scm-objfile.c: New file.
22465 * gdb.guile/scm-objfile.exp: New file.
22466 * gdb.guile/scm-ports.exp: New file.
22467 * gdb.guile/scm-pretty-print.c: New file.
22468 * gdb.guile/scm-pretty-print.exp: New file.
22469 * gdb.guile/scm-pretty-print.scm: New file.
22470 * gdb.guile/scm-section-script.c: New file.
22471 * gdb.guile/scm-section-script.exp: New file.
22472 * gdb.guile/scm-section-script.scm: New file.
22473 * gdb.guile/scm-symbol.c: New file.
22474 * gdb.guile/scm-symbol.exp: New file.
22475 * gdb.guile/scm-symtab-2.c: New file.
22476 * gdb.guile/scm-symtab.c: New file.
22477 * gdb.guile/scm-symtab.exp: New file.
22478 * gdb.guile/scm-type.c: New file.
22479 * gdb.guile/scm-type.exp: New file.
22480 * gdb.guile/scm-value-cc.cc: New file.
22481 * gdb.guile/scm-value-cc.exp: New file.
22482 * gdb.guile/scm-value.c: New file.
22483 * gdb.guile/scm-value.exp: New file.
22484 * gdb.guile/source2.scm: New file.
22485 * gdb.guile/types-module.cc: New file.
22486 * gdb.guile/types-module.exp: New file.
22487
7026a7c1
YQ
224882014-02-10 Yao Qi <yao@codesourcery.com>
22489
22490 PR testsuite/16543
22491 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22492 * configure: Regenerated.
22493 * Makefile.in: New file.
22494
6c466447
AS
224952014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22496
22497 * gdb.python/py-framefilter.exp: Fix typo.
22498
6e854735
YQ
224992014-02-08 Yao Qi <yao@codesourcery.com>
22500
22501 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22502 that no =breakpoint-modified is emitted when breakpoints are
22503 modified through MI commands.
22504
d137e6dc
PA
225052014-02-07 Pedro Alves <pedro@codesourcery.com>
22506 Pedro Alves <palves@redhat.com>
22507
22508 * gdb.threads/step-after-sr-lock.c: New file.
22509 * gdb.threads/step-after-sr-lock.exp: New file.
22510
b5ee5a50
PA
225112014-02-07 Pedro Alves <palves@redhat.com>
22512
22513 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22514
3c77faf3
JK
225152014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22516
22517 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22518 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22519
6dddc817
DE
225202014-02-06 Doug Evans <xdje42@gmail.com>
22521
22522 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22523 output.
22524
22525 * gdb.gdb/python-interrupts.exp: New file.
22526
de7b2893
YQ
225272014-02-05 Yao Qi <yao@codesourcery.com>
22528
22529 * gdb.trace/report.exp (use_collected_data): Test the output
22530 of "info threads" and "info inferiors".
22531
66d032ac
YQ
225322014-02-05 Yao Qi <yao@codesourcery.com>
22533
22534 Revert this patch:
22535
22536 2013-05-24 Yao Qi <yao@codesourcery.com>
22537
22538 * gdb.trace/tfile.exp: Test inferior and thread.
22539
591a12a1
UW
225402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22541
22542 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22543 on a function.
22544 * gdb.base/step-bt.c: Call hello via function pointer to make
22545 sure its first instruction is executed on powerpc64le-linux.
22546
0ff3e01f
UW
225472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22548
22549 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22550
084ee545
UW
225512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22552
22553 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22554 of the test patterns for use on little-endian systems.
22555
6ed14ff3
UW
225562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22557
22558 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22559 (decimal_vector): Fix for little-endian.
22560
401e27fd
JM
225612014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22562
22563 * gdb.arch/sparc-sysstep.exp: New file.
22564 * gdb.arch/sparc-sysstep.c: Likewise.
22565
22566 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22567
8b924729
EBM
225682014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22569
22570 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22571
fb151210
JB
225722014-01-23 Tom Tromey <tromey@redhat.com>
22573
22574 * gdb.ada/array_char_idx: New testcase.
22575
0740f8d8
TT
225762014-01-23 Tom Tromey <tromey@redhat.com>
22577
22578 PR python/16487:
22579 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22580 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22581 classes.
22582
21909fa1
TT
225832014-01-23 Tom Tromey <tromey@redhat.com>
22584
22585 PR python/16491:
22586 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22587 string from an inferior frame.
22588 * gdb.python/py-framefilter-mi.exp: Update.
22589
87ce2a04
DE
225902014-01-22 Doug Evans <dje@google.com>
22591
22592 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22593
237b092b
AA
225942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22595
22596 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22597
d674a709
AA
225982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22599
22600 * gdb.trace/entry-values.exp: Remove excess space character from
22601 regex patterns. Handle s390 call instruction.
22602
20fa3390
AA
226032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22604
22605 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22606 define "*_start" label. Make "name" static.
22607 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22608 ${name} by references to ${name}_start.
22609
78466714
AA
226102014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22611
22612 * gdb.base/info-macros.exp: Remove "debug" from the compile
22613 options.
22614
ec9f644a
IB
226152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22616
22617 * gdb.dlang/demangle.exp: New file.
22618
94b1b47e
IB
226192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22620
22621 * gdb.dlang/primitive-types.exp: New file.
22622
7f420862
IB
226232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22624
22625 * configure.ac: Create gdb.dlang/Makefile.
22626 * configure: Regenerate.
22627 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22628 * gdb.dlang/Makefile.in: New file.
22629 * lib/d-support.exp: New file.
22630 * lib/gdb.exp (skip_d_tests): New proc.
22631
52834460
MM
226322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22633
22634 * gdb.btrace/delta.exp: Check reverse stepi.
22635 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22636 * gdb.btrace/finish.exp: New.
22637 * gdb.btrace/next.exp: New.
22638 * gdb.btrace/nexti.exp: New.
22639 * gdb.btrace/record_goto.c: Add comments.
22640 * gdb.btrace/step.exp: New.
22641 * gdb.btrace/stepi.exp: New.
22642 * gdb.btrace/multi-thread-step.c: New.
22643 * gdb.btrace/multi-thread-step.exp: New.
22644 * gdb.btrace/rn-dl-bind.c: New.
22645 * gdb.btrace/rn-dl-bind.exp: New.
22646 * gdb.btrace/data.c: New.
22647 * gdb.btrace/data.exp: New.
22648 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22649
6e07b1d2
MM
226502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22651
22652 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22653 * gdb.btrace/exception.exp: Update.
22654 * gdb.btrace/instruction_history.exp: Update.
22655 * gdb.btrace/record_goto.exp: Update.
22656 * gdb.btrace/tailcall.exp: Update.
22657 * gdb.btrace/unknown_functions.exp: Update.
22658 * gdb.btrace/delta.exp: New.
22659
0b722aec
MM
226602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22661
22662 * gdb.btrace/record_goto.exp: Add backtrace test.
22663 * gdb.btrace/tailcall.exp: Add backtrace test.
22664
066ce621
MM
226652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22666
22667 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22668 * gdb.btrace/record_goto.c: New.
22669 * gdb.btrace/record_goto.exp: New.
22670 * gdb.btrace/x86-record_goto.S: New.
22671
0688d04e
MM
226722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22673
22674 * gdb.btrace/function_call_history.exp: Update tests.
22675 * gdb.btrace/instruction_history.exp: Update tests.
22676
8710b709
MM
226772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22678
22679 * gdb.btrace/function_call_history.exp: Fix expected field
22680 order for "record function-call-history".
22681 Add new tests for "record function-call-history /c".
22682 * gdb.btrace/exception.cc: New.
22683 * gdb.btrace/exception.exp: New.
22684 * gdb.btrace/tailcall.exp: New.
22685 * gdb.btrace/x86-tailcall.S: New.
22686 * gdb.btrace/x86-tailcall.c: New.
22687 * gdb.btrace/unknown_functions.c: New.
22688 * gdb.btrace/unknown_functions.exp: New.
22689 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22690
5de9129b
MM
226912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22692
22693 * gdb.btrace/instruction_history.exp: Update.
22694 * gdb.btrace/function_call_history.exp: Update.
22695
23a7fe75
MM
226962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22697
22698 * gdb.btrace/function_call_history.exp: Fix expected function
22699 trace.
22700 * gdb.btrace/instruction_history.exp: Initialize traced.
22701 Remove traced_functions.
22702
724c7dd8
MM
227032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22704
22705 * gdb.btrace/function_call_history.exp: Update
22706 * gdb.btrace/instruction_history.exp: Update.
22707
6d78d93b
MM
227082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22709
22710 * gdb.btrace/enable.exp: Update expected text.
22711
93a360cc
OJ
227122014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22713
22714 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22715 bytes.
22716
3772b53f
MR
227172014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22718
22719 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22720
596662fa
OJ
227212014-01-15 Omair Javaid <omair.javaid@linaro.org>
22722
22723 * lib/gdb.exp (supports_process_record): Return true for
22724 arm*-linux*. (supports_reverse): Likewise.
22725
b5b08fb4
SC
227262014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22727
22728 PR python/15464
22729 PR python/16113
22730 * gdb.python/py-type.c: Enhance test case.
22731 * gdb.python/py-value-cc.cc: Likewise
22732 * gdb.python/py-type.exp: Add new tests.
22733 * gdb.python/py-value-cc.exp: Likewise
22734
52d7fb13
AA
227352014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22736 Pedro Alves <palves@redhat.com>
22737
22738 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22739 Make "name" extern.
22740 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22741 references to ${name}_start by references to ${name}.
22742
a2cd8cfe
JB
227432014-01-10 Joel Brobecker <brobecker@adacore.com>
22744
22745 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22746
4e23fced
JB
227472014-01-10 Joel Brobecker <brobecker@adacore.com>
22748
22749 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22750
c6a9e42c
PA
227512014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22752 Pedro Alves <palves@redhat.com>
22753
22754 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 22755 mi_gdb_target_load.
c6a9e42c 22756
b7ea362b
PA
227572014-01-08 Pedro Alves <palves@redhat.com>
22758
22759 * gdb.threads/reconnect-signal.c: New file.
22760 * gdb.threads/reconnect-signal.exp: New file.
22761
5e3f4fab
EBM
227622014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22763
22764 * gdb.base/source-dir.exp: New file.
22765
79301218
JB
227662014-01-07 Joel Brobecker <brobecker@adacore.com>
22767
22768 * gdb.ada/mi_interface: New testcase.
22769
8e355c5d
JB
227702014-01-07 Joel Brobecker <brobecker@adacore.com>
22771
22772 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22773 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22774 gdb.ada/pp-rec-component/pck.ads: New files.
22775
c0d48811
JB
227762014-01-07 Joel Brobecker <brobecker@adacore.com>
22777
22778 * gdb.python/py-pp-integral.c: New file.
22779 * gdb.python/py-pp-integral.py: New file.
22780 * gdb.python/py-pp-integral.exp: New file.
22781
17b609c3 22782For older changes see ChangeLog-1993-2013.
c906108c 22783\f
8d8cb839
EZ
22784;; Local Variables:
22785;; mode: change-log
22786;; left-margin: 8
22787;; fill-column: 74
22788;; version-control: never
22789;; End:
902f2ccb 22790
b811d2c2 22791 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
22792 Copying and distribution of this file, with or without modification,
22793 are permitted provided the copyright notice and this notice are preserved.