]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Handle block-local names for Ada
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
86b44259
TT
12020-12-14 Tom Tromey <tromey@adacore.com>
2
3 * gdb.ada/nested.exp: Add new tests.
4 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
5
e26624c6
TT
62020-12-14 Tom Tromey <tromey@adacore.com>
7
8 * gdb.dwarf2/ada-thick-pointer.exp: New file.
9
a3bdae4e
TT
102020-12-14 Tom Tromey <tromey@adacore.com>
11
12 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
13
862fcbd8
TV
142020-12-13 Tom de Vries <tdevries@suse.de>
15
16 PR testsuite/26953
17 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
18 attribute support if compiler doesn't support it.
19
a406a98e
TV
202020-12-13 Tom de Vries <tdevries@suse.de>
21
22 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
23 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
24 source to shared lib. Add ada to options.
25
5d7e6ed0
TV
262020-12-13 Tom de Vries <tdevries@suse.de>
27
28 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
29 calling gnatbind and gnatlink.
30
ee9812a0
AB
312020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * gdb.base/dcache-flush.c: New file.
34 * gdb.base/dcache-flush.exp: New file.
35
50a5f187
AB
362020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
37
38 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
39 commands.
40 * gdb.base/killed-outside.exp: Likewise.
41 * gdb.opt/inline-bt.exp: Likewise.
42 * gdb.perf/gmonster-null-lookup.py: Likewise.
43 * gdb.perf/gmonster-print-cerr.py: Likewise.
44 * gdb.perf/gmonster-ptype-string.py: Likewise.
45 * gdb.python/py-unwind.exp: Likewise.
46
19c659f1
AB
472020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
48
49 * gdb.base/commands.exp: Update expected results.
50
9ef6d4a1
AB
512020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 PR cli/15104
54 * gdb.base/commands.exp: Add additional tests.
55 * gdb.base/completion.exp: Add additional tests.
56
1536146f
AB
572020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
58
59 * gdb.base/completion.exp: Add additional tests.
60
346e7e19
TV
612020-12-11 Tom de Vries <tdevries@suse.de>
62
63 PR testsuite/26991
64 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
65 violations by setting bounds registers if the bounds are passed in the
66 Bounds Table.
67
9cd7a95a
TV
682020-12-11 Tom de Vries <tdevries@suse.de>
69
70 PR testsuite/26954
71 * gdb.base/float128.exp: Detect and handle no mpfr support.
72
4483a8e7
SM
732020-12-10 Simon Marchi <simon.marchi@efficios.com>
74
75 PR gdb/24694
76 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
77 calls.
78
10067028
TV
792020-12-10 Tom de Vries <tdevries@suse.de>
80
81 PR testsuite/26947
82 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
83 braces for tcl 8.5 and earlier.
84
5b56203a
SM
852020-12-09 Simon Marchi <simon.marchi@efficios.com>
86
87 PR 26875, PR 26901
88 * gdb.base/flexible-array-member.c: New test.
89 * gdb.base/flexible-array-member.exp: New test.
90
b46551b2
TV
912020-12-08 Tom de Vries <tdevries@suse.de>
92
93 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
94 using is_amd64_regs_target.
95
8439f446
TV
962020-12-08 Tom de Vries <tdevries@suse.de>
97
98 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
99 self_id.
100
bc545da7
PA
1012020-12-07 Pedro Alves <pedro@palves.net>
102
103 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
104 'additional_flags' variable.
105
1f58f6c2
TBA
1062020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
107
108 * gdb.linespec/explicit.exp: Extend with a test to check completing
109 '-' after seemingly complete options.
110
5759831a
TBA
1112020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
112
113 * gdb.linespec/keywords.exp: Add tests to check positional
114 flexibility of "-force-condition".
115
21e051b3
TBA
1162020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
117
118 * gdb.base/bp-cmds-run-with-ex.c: New file.
119 * gdb.base/bp-cmds-run-with-ex.exp: New file.
120 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
121 * gdb.gdb/python-interrupts.exp: Update the call to
122 'catch_command_errors' with the new argument.
123 * gdb.gdb/python-selftest.exp: Ditto.
124
187b041e
SM
1252020-12-04 Simon Marchi <simon.marchi@efficios.com>
126
127 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
128 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
129 * gdb.threads/non-stop-fair-events.exp: Likewise.
130
3b7a962d
SM
1312020-12-04 Simon Marchi <simon.marchi@efficios.com>
132
133 * gdb.threads/step-over-exec.exp: New.
134 * gdb.threads/step-over-exec.c: New.
135 * gdb.threads/step-over-exec-execd.c: New.
136 * lib/my-syscalls.S: New.
137 * lib/my-syscalls.h: New.
138
e633b117
SM
1392020-12-04 Simon Marchi <simon.marchi@efficios.com>
140
141 * lib/dwarf.exp (declare_labels): Use name as text if text is
142 not provided.
143
67748e0f
TV
1442020-12-04 Tom de Vries <tdevries@suse.de>
145
146 PR testsuite/26990
147 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
148 are unsupported.
149
a8d13675
TV
1502020-12-04 Tom de Vries <tdevries@suse.de>
151
152 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
153 clause.
154
f17727b3
TV
1552020-12-04 Tom de Vries <tdevries@suse.de>
156
157 * gdb.reverse/insn-reverse.exp: Fix count handling.
158
a1499830
TV
1592020-12-04 Tom de Vries <tdevries@suse.de>
160
161 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
162 __x86_64__.
163
9c027c2f
TV
1642020-12-04 Tom de Vries <tdevries@suse.de>
165
166 * gdb.reverse/insn-reverse.c (test_nr): New var.
167 (usage, parse_args): New function.
168 (main): Call parse_args. Only run test for test_nr.
169 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
170 and bail out. Run subtests individually, using an inferior arg
171 specifying the subtest.
172
533b2ae0
AB
1732020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
174
175 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
176
e4502042
AB
1772020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
178
179 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
180 update test to use this.
181
f55a9a37
SM
1822020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
183
184 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
185
0a6155a0
SM
1862020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
187
188 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
189 (do_test): Don't use with_test_prefix.
190 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
191 (do_test): Don't use with_test_prefix.
192 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
193 (do_test): Don't use with_test_prefix.
194 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
195 (do_test): Don't use with_test_prefix.
196
4d56d64a
SM
1972020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
198
199 * gdb.threads/non-ldr-exit.exp: Fix comment.
200
54e75f29
AB
2012020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * gdb.xml/maint-xml-dump-03.xml: New file.
204
7ce05d21
TV
2052020-11-30 Tom de Vries <tdevries@suse.de>
206
207 PR symtab/26905
208 * gdb.dwarf2/count.exp: Remove kfails.
209
50757f95
TBA
2102020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
211
212 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
213 indices.
214
4afa9fd9
JB
2152020-11-24 Joel Brobecker <brobecker@adacore.com>
216
217 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
218 the "ptype pck__fp1_range_var" test for the module-2 and pascal
219 languages. Remove the associated setup_xfail.
220
15a491af
SM
2212020-11-23 Simon Marchi <simon.marchi@efficios.com>
222
223 * lib/gdb.exp (gdb_assert): Show error message on error.
224
891615f0
TV
2252020-11-23 Tom de Vries <tdevries@suse.de>
226
227 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
228 * gdb.ada/mod_from_name.exp: Same.
229 * gdb.ada/pckd_arr_ren.exp: Same.
230
19922582
SM
2312020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
232
233 * gdb.base/template.exp: New.
234 * gdb.base/template.c: New.
235
117c628d
GB
2362020-11-22 Gary Benson <gbenson@redhat.com>
237
238 PR gdb/26905
239 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
240 is defined using a DW_AT_count which references another DIE.
241
da39d3ba
TV
2422020-11-21 Tom de Vries <tdevries@suse.de>
243
244 * gdb.base/vla-ptr.exp: Add XFAIL.
245
a5c641b5
AB
2462020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
247
248 * gdb.fortran/array-slices-bad.exp: New file.
249 * gdb.fortran/array-slices-bad.f90: New file.
250 * gdb.fortran/array-slices-sub-slices.exp: New file.
251 * gdb.fortran/array-slices-sub-slices.f90: New file.
252 * gdb.fortran/array-slices.exp: Rewrite tests.
253 * gdb.fortran/array-slices.f90: Rewrite tests.
254 * gdb.fortran/vla-sizeof.exp: Correct expected results.
255
a15a5258
AB
2562020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
257
258 * gdb.base/completion.exp: Add new completion tests.
259
7cb2893d
SM
2602020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
261
262 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
263 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
264 * gdb.mi/mi-nsintrall.exp: Likewise.
265 * gdb.mi/mi-nsmoribund.exp: Likewise.
266 * gdb.mi/mi-nsthrexec.exp: Likewise.
267 * gdb.mi/mi-watch-nonstop.exp: Likewise.
268
cf144ec8
SM
2692020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
270
271 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
272 of perror.
273
6b6a3e05
JM
2742020-11-18 Joseph Myers <joseph@codesourcery.com>
275
276 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
277 $arg.exe exists but $arg does not.
278
811bdca0
GB
2792020-11-17 Gary Benson <gbenson@redhat.com>
280
281 * gdb.trace/trace-common.h (x86_trace_dummy): Add
282 __attribute__ ((used)).
283
c72e3136
AB
2842020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
285
286 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
287
037d7135
AB
2882020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
289
290 * gdb.base/completion.exp: Add new tests.
291
119e99bb
TT
2922020-11-16 Tom Tromey <tromey@adacore.com>
293
294 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
295 tests.
296
b74dbc20
JB
2972020-11-15 Joel Brobecker <brobecker@adacore.com>
298
299 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
300 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
301 (main): Add reference to pck__fp1_var2.
302 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
303
0a12719e
JB
3042020-11-15 Joel Brobecker <brobecker@adacore.com>
305
306 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
307
0c9150e4
JB
3082020-11-15 Joel Brobecker <brobecker@adacore.com>
309
310 * gdb.ada/fixed_points.exp: Add ptype tests.
311 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
312
b26daff9
JB
3132020-11-15 Joel Brobecker <brobecker@adacore.com>
314
315 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
316
09584414
JB
3172020-11-15 Joel Brobecker <brobecker@adacore.com>
318
319 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
320 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
321 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
322 New files.
323 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
324
325 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
326 New files.
327
9dd02fc0
AB
3282020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
329
330 PR cli/26879
331 * gdb.fortran/completion.exp: New file.
332 * gdb.fortran/completion.f90: New file.
333
5643c500
JM
3342020-11-12 Joseph Myers <joseph@codesourcery.com>
335
336 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
337 but $arg does not.
338
7bea47f0
AB
3392020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
340
341 * gdb.fortran/types.exp: Add more tests.
342
1f2624a3
TT
3432020-11-12 Tom Tromey <tom@tromey.com>
344
345 PR rust/26799:
346 * gdb.rust/traits.exp: Remove kfails.
347
9e74f0ae
GB
3482020-11-12 Gary Benson <gbenson@redhat.com>
349
350 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
351 statement.
352
acb994fa
SM
3532020-11-11 Simon Marchi <simon.marchi@efficios.com>
354
355 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
356 always-inserted" axis.
357 (do_test): Add breakpoint_always_inserted parameter.
358
95016fd2
TT
3592020-11-10 Tom Tromey <tromey@adacore.com>
360
361 * gdb.ada/bias.exp: Update.
362 * gdb.ada/bias/bias.adb (X): Change value.
363
83100a74
GB
3642020-11-10 Gary Benson <gbenson@redhat.com>
365
366 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
367 regexp fragment in parentheses to prevent false matching.
368
6ff174a7
GB
3692020-11-10 Gary Benson <gbenson@redhat.com>
370
371 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
372
eb24648c
GB
3732020-11-10 Gary Benson <gbenson@redhat.com>
374
375 * gdb.cp/step-and-next-inline.exp: Only require
376 -gstatement-frontiers when building with GCC.
377 Only setup KFAIL's for GCC issues when using
378 a GCC-built executable.
379
86775fab
AB
3802020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * gdb.base/debug-expr.c: Add extra function to allow for an
383 additional test.
384 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
385 to this proc with gdb_test_debug_expr. Add an extra test.
386 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
387 to this proc with gdb_test_debug_expr, give the tests names
388 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
389 calls to this proc with gdb_test_debug_expr, give the tests names
390 * gdb.fortran/debug-expr.exp: New file.
391 * gdb.fortran/debug-expr.f90: New file.
392 * lib/gdb.exp (gdb_test_debug_expr): New proc.
393
a1945bd4
SM
3942020-11-06 Simon Marchi <simon.marchi@efficios.com>
395
396 * lib/dwarf.exp (ranges): Handle "base" and "range" as
397 proceduresu.
398 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
399 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
400 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
401 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
402 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
403 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
404 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
405 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
406
9c91c725
TT
4072020-11-04 Tom Tromey <tromey@adacore.com>
408
409 * gdb.ada/funcall_ref.exp: Update.
410 * gdb.ada/var_rec_arr.exp: Update.
411
8d9fd3a1
TT
4122020-11-04 Tom Tromey <tromey@adacore.com>
413
414 * gdb.ada/rec_ptype.exp: New file.
415 * gdb.ada/rec_ptype/main.adb: New file.
416 * gdb.ada/rec_ptype/p.ads: New file.
417
d8f62e84
TT
4182020-11-04 Tom Tromey <tromey@adacore.com>
419
420 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
421 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
422 (PT_Full): New variable.
423 * gdb.ada/tick_length_array_enum_idx/pck.adb
424 (Full_PT): New type.
425
7ff5b937
TT
4262020-11-04 Tom Tromey <tromey@adacore.com>
427
428 * gdb.ada/array_of_variant.exp: New file.
429 * gdb.ada/array_of_variant/p.adb: New file.
430 * gdb.ada/array_of_variant/pck.ads: New file.
431 * gdb.ada/array_of_variant/pck.adb: New file.
432
10f6a3ad
TT
4332020-11-04 Tom Tromey <tromey@adacore.com>
434
435 * gdb.ada/enum_idx_packed.exp: Add test.
436 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
437 New variable.
438 * gdb.ada/enum_idx_packed/pck.ads (Short)
439 (Multi_Dimension, Multi_Dimension_Access): New types.
440
b72795a8
TT
4412020-11-04 Tom Tromey <tromey@adacore.com>
442
443 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
444
24aa1b02
TT
4452020-11-04 Tom Tromey <tromey@adacore.com>
446
447 * gdb.ada/set_pckd_arr_elt.exp: Also test
448 -fgnat-encodings=minimal. Add tests.
449 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
450 Call Update_Small a second time.
451 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
452 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
453 (Variant_Access): New types.
454 (New_Variant): Declare.
455
c9a28cbe
TT
4562020-11-04 Tom Tromey <tromey@adacore.com>
457
458 * gdb.ada/mod_from_name.exp: Test printing slice.
459
57567375
TT
4602020-11-04 Tom Tromey <tromey@adacore.com>
461
462 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
463 values.
464 * gdb.ada/access_to_unbounded_array.exp: Test different
465 -fgnat-encodings values.
466 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
467 values.
468 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
469 values.
470 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
471 values.
472 * gdb.ada/array_of_variable_length.exp: Test different
473 -fgnat-encodings values.
474 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
475 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
476 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
477 change.
478 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
479 values.
480 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
481 * gdb.ada/out_of_line_in_inlined.exp: Test different
482 -fgnat-encodings values.
483 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
484 values.
485 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
486 values.
487 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
488 -fgnat-encodings values.
489 * gdb.ada/variant_record_packed_array.exp: Test different
490 -fgnat-encodings values.
491
a7400e44
TT
4922020-11-04 Tom Tromey <tromey@adacore.com>
493
494 * gdb.ada/enum_idx_packed.exp: Add tests.
495 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
496 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
497 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
498 declarations.
499
c40907bf
TV
5002020-11-03 Tom de Vries <tdevries@suse.de>
501
502 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
503 terminator comments.
504 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
505 terminator.
506
f468977a
SM
5072020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
508
509 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
510 integer format test with regexp.
511
1c2bec19
GB
5122020-11-02 Gary Benson <gbenson@redhat.com>
513
514 * gdb.base/print-file-var.exp (test): Separate compiler and
515 linker options, and build using build_executable_from_specs
516 to accommodate this.
517
6539a36d
GB
5182020-11-02 Gary Benson <gbenson@redhat.com>
519
520 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
521 for .c files compiled as C++ with Clang if any shared
522 libraries are specified.
523
7ea44a51
GB
5242020-11-02 Gary Benson <gbenson@redhat.com>
525
526 * lib/attributes.h: New header.
527 * gdb.base/backtrace.c: Include the above. Replace
528 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
529 * gdb.base/infcall-nested-structs.c: Likewise.
530 * gdb.base/vla-optimized-out.c: Likewise.
531
ab8f783d
TV
5322020-11-02 Tom de Vries <tdevries@suse.de>
533
534 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
535
d77c9224
JB
5362020-11-01 Joel Brobecker <brobecker@adacore.com>
537
538 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
539 System.Min_Int and System.Max_Int with smaller hardcoded
540 constants.
541
0e5b0dd0
SM
5422020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
543
544 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
545 * configure: Re-generate.
546
136821d9
SM
5472020-10-30 Simon Marchi <simon.marchi@efficios.com>
548
549 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
550 expected output.
551
b78b3a29
TBA
5522020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
553
554 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
555 behavior.
556 * gdb.base/paginate-bg-execution.exp: Ditto.
557 * gdb.base/paginate-inferior-exit.exp: Ditto.
558 * gdb.base/double-prompt-target-event-error.c: Remove.
559 * gdb.base/double-prompt-target-event-error.exp: Remove.
560
cfaa8f76
TBA
5612020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
562
563 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
564 inferiors' and 'detach inferiors' do not change the current
565 inferior.
566
0ad0e70c
TV
5672020-10-29 Tom de Vries <tdevries@suse.de>
568
569 * gdb.threads/tls.exp: Fix DUPLICATEs.
570
99cc6b2a
TV
5712020-10-28 Tom de Vries <tdevries@suse.de>
572
573 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
574
efe9b873
TV
5752020-10-28 Tom de Vries <tdevries@suse.de>
576
577 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
578 * gdb.base/reread.exp: Same.
579
6b68fd45
TV
5802020-10-28 Tom de Vries <tdevries@suse.de>
581
582 * lib/gdb.exp (readnow): Handle arg.
583 * gdb.rust/traits.exp: Add KFAILs for -readnow.
584
32a5f98a
TV
5852020-10-28 Tom de Vries <tdevries@suse.de>
586
587 * gdb.base/relocate.exp: Update regexp for -readnow.
588
f93b8760
TV
5892020-10-28 Tom de Vries <tdevries@suse.de>
590
591 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
592 -readnow.
593
1b00ef06
TV
5942020-10-28 Tom de Vries <tdevries@suse.de>
595
596 PR symtab/26772
597 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
598 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
599
364bb903
TV
6002020-10-28 Tom de Vries <tdevries@suse.de>
601
602 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
603 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
604 complaint during file command for -readnow.
605
445a033f
TV
6062020-10-28 Tom de Vries <tdevries@suse.de>
607
608 * gdb.cp/nsalias.exp: Fix typo in test name.
609
fdd67a42
TV
6102020-10-28 Tom de Vries <tdevries@suse.de>
611
612 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
613
706baf4c
TV
6142020-10-28 Tom de Vries <tdevries@suse.de>
615
616 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
617 -readnow.
618
b448cca5
TV
6192020-10-27 Tom de Vries <tdevries@suse.de>
620
621 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
622
5868da03
TV
6232020-10-27 Tom de Vries <tdevries@suse.de>
624
625 * gdb.base/maint.exp: Update for -readnow.
626
06db6ec3
TV
6272020-10-27 Tom de Vries <tdevries@suse.de>
628
629 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
630 -readnow.
631
934a1764
GB
6322020-10-14 Gary Benson <gbenson@redhat.com>
633
634 * gdb.python/py-format-string.exp (test_deref_refs): Treat
635 "_vptr$Base" as correct, in addition to "_vptr.Base".
636 (test_mixed): Likewise.
637
0bf21fbd
GB
6382020-10-27 Gary Benson <gbenson@redhat.com>
639
640 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
641 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
642
b1d4d8d1
TBA
6432020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
644
645 * gdb.base/condbreak.exp: Update the completion tests to
646 consider the '-force' flag.
647
bd24c5d6
TV
6482020-10-27 Tom de Vries <tdevries@suse.de>
649
650 * gdb.base/list-ambiguous-readnow.exp: New file.
651
733d554a
TBA
6522020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
653
654 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
655 the condition.
656 * gdb.linespec/cpcompletion.exp: Update to consider the
657 '-force-condition' keyword.
658 * gdb.linespec/explicit.exp: Ditto.
659 * lib/completion-support.exp: Ditto.
660
b5fa468f
TBA
6612020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
662
663 * gdb.base/condbreak-multi-context.cc: New file.
664 * gdb.base/condbreak-multi-context.exp: New file.
665
b3247276
TT
6662020-10-26 Tom Tromey <tom@tromey.com>
667
668 * lib/mi-support.exp (default_mi_gdb_start): Call
669 gdb_stdin_log_init.
670 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
671 subtract one from gdb_instances.
672 (gdb_stdin_log_write): Flush in_file.
673
1c47ec3e
TV
6742020-10-26 Tom de Vries <tdevries@suse.de>
675
676 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
677
6390859c
TT
6782020-10-26 Tom Tromey <tromey@adacore.com>
679
680 * gdb.ada/unsigned_range/foo.adb: New file.
681 * gdb.ada/unsigned_range/pack.adb: New file.
682 * gdb.ada/unsigned_range/pack.ads: New file.
683 * gdb.ada/unsigned_range.exp: New file.
684
55c3ad88
TV
6852020-10-26 Tom de Vries <tdevries@suse.de>
686
687 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
688
1612c4bb
TV
6892020-10-26 Tom de Vries <tdevries@suse.de>
690
691 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
692 for CU.
693 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
694
7d72802b
TV
6952020-10-23 Tom de Vries <tdevries@suse.de>
696
697 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
698 DW_FORM_string.
699 (Dwarf::_default_form): New proc.
700 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
701 guessed.
702
9476b583
TV
7032020-10-23 Tom de Vries <tdevries@suse.de>
704
705 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
706 * gdb.dwarf2/atomic-type.exp: Same.
707 * gdb.dwarf2/bad-regnum.exp: Same.
708 * gdb.dwarf2/cpp-linkage-name.exp: Same.
709 * gdb.dwarf2/dw2-align.exp: Same.
710 * gdb.dwarf2/dw2-bad-elf.exp: Same.
711 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
712 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
713 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
714 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
715 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
716 * gdb.dwarf2/enum-type.exp: Same.
717 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
718 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
719 * gdb.dwarf2/main-subprogram.exp: Same.
720 * gdb.dwarf2/missing-type-name.exp: Same.
721 * gdb.dwarf2/nonvar-access.exp: Same.
722 * gdb.dwarf2/typedef-void-finish.exp: Same.
723 * gdb.dwarf2/var-access.exp: Same.
724 * gdb.dwarf2/void-type.exp: Same.
725
4a636814
SM
7262020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
727
728 PR gdb/26693
729 * gdb.dwarf2/template-specification-full-name.exp: New test.
730
557fc257
LM
7312020-10-22 Luis Machado <luis.machado@linaro.org>
732
733 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
734 expected an offset from the function.
735 * gdb.base/msym-bp.exp (test): Likewise.
736
6b4c676c
AB
7372020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
738
739 * gdb.fortran/array-slices.exp: Add a new test.
740
98cec4f6
GB
7412020-10-21 Gary Benson <gbenson@redhat.com>
742
743 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
744 fullname test with Clang. Also expand comments generally.
745
ae86f581
TV
7462020-10-20 Tom de Vries <tdevries@suse.de>
747
748 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
749
8c161360
TV
7502020-10-20 Tom de Vries <tdevries@suse.de>
751
752 * gdb.dwarf2/arr-stride.c: Remove.
753 * gdb.dwarf2/arr-stride.exp: Use main.c.
754 * gdb.dwarf2/arr-subrange.c: Remove.
755 * gdb.dwarf2/arr-subrange.exp: Use main.c.
756 * gdb.dwarf2/bad-regnum.c: Remove.
757 * gdb.dwarf2/bad-regnum.exp: Use main.c.
758 * gdb.dwarf2/corrupt.c: Remove.
759 * gdb.dwarf2/corrupt.exp: Use main.c.
760 * gdb.dwarf2/dw2-bad-elf.c: Remove.
761 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
762 * gdb.dwarf2/dw2-icycle.c: Remove.
763 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
764 * gdb.dwarf2/formdata16.c: Remove.
765 * gdb.dwarf2/formdata16.exp: Use main.c.
766 * gdb.dwarf2/implptrconst.c: Remove.
767 * gdb.dwarf2/implptrconst.exp: Use main.c.
768 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
769 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
770 * gdb.dwarf2/opaque-type-lookup.c: Remove.
771 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
772
9c2412ec
TV
7732020-10-20 Tom de Vries <tdevries@suse.de>
774
775 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
776 file.
777 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
778
0cd2ad78
TV
7792020-10-20 Tom de Vries <tdevries@suse.de>
780
781 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
782 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
783 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
784 * gdb.dwarf2/dw2-ranges-base.exp: Same.
785 * gdb.dwarf2/dw2-ranges.exp: Same.
786 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
787 * gdb.dwarf2/var-access.exp: Same.
788
22cc388e
TT
7892020-10-19 Tom Tromey <tromey@adacore.com>
790
791 PR tui/26719
792 * gdb.tui/list.exp: Check source window contents after focus
793 change.
794
520596f2
TV
7952020-10-17 Tom de Vries <tdevries@suse.de>
796
797 PR symtab/26317
798 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
799
d1c8a76d
TV
8002020-10-17 Tom de Vries <tdevries@suse.de>
801
802 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
803 as suffix.
804 * gdb.dwarf2/atomic.c: Rename to ...
805 * gdb.dwarf2/atomic-type.c: ... this.
806 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
807 * gdb.dwarf2/dw2-ranges-2.c: ... this.
808 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
809 * gdb.dwarf2/dw2-ranges-3.c: ... this.
810 * gdb.dwarf2/fission-mix2.c: Rename to ...
811 * gdb.dwarf2/fission-mix-2.c: ... this.
812 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
813 standard_testfile.
814 * gdb.dwarf2/ada-valprint-error.exp: Same.
815 * gdb.dwarf2/arr-stride.exp: Same.
816 * gdb.dwarf2/arr-subrange.exp: Same.
817 * gdb.dwarf2/atomic-type.exp: Same.
818 * gdb.dwarf2/bad-regnum.exp: Same.
819 * gdb.dwarf2/break-inline-psymtab.exp: Same.
820 * gdb.dwarf2/clang-debug-names-2.exp: Same.
821 * gdb.dwarf2/clang-debug-names.exp: Same.
822 * gdb.dwarf2/comp-unit-lang.exp: Same.
823 * gdb.dwarf2/corrupt.exp: Same.
824 * gdb.dwarf2/count.exp: Same.
825 * gdb.dwarf2/cpp-linkage-name.exp: Same.
826 * gdb.dwarf2/data-loc.exp: Same.
827 * gdb.dwarf2/dw2-align.exp: Same.
828 * gdb.dwarf2/dw2-bad-elf.exp: Same.
829 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
830 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
831 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
832 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
833 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
834 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
835 * gdb.dwarf2/dw2-inline-param.exp: Same.
836 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
837 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
838 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
839 * gdb.dwarf2/dw2-is-stmt.exp: Same.
840 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
841 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
842 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
843 * gdb.dwarf2/dw2-param-error.exp: Same.
844 * gdb.dwarf2/dw2-ranges-base.exp: Same.
845 * gdb.dwarf2/dw2-ranges.exp: Same.
846 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
847 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
848 * gdb.dwarf2/dw4-sig-types.exp: Same.
849 * gdb.dwarf2/dynarr-ptr.exp: Same.
850 * gdb.dwarf2/enum-type.exp: Same.
851 * gdb.dwarf2/fission-mix.exp: Same.
852 * gdb.dwarf2/formdata16.exp: Same.
853 * gdb.dwarf2/implptrconst.exp: Same.
854 * gdb.dwarf2/implptrpiece.exp: Same.
855 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
856 * gdb.dwarf2/main-subprogram.exp: Same.
857 * gdb.dwarf2/method-ptr.exp: Same.
858 * gdb.dwarf2/missing-sig-type.exp: Same.
859 * gdb.dwarf2/nonvar-access.exp: Same.
860 * gdb.dwarf2/opaque-type-lookup.exp: Same.
861 * gdb.dwarf2/shortpiece.exp: Same.
862 * gdb.dwarf2/staticvirtual.exp: Same.
863 * gdb.dwarf2/subrange.exp: Same.
864 * gdb.dwarf2/symtab-producer.exp: Same.
865 * gdb.dwarf2/typedef-void-finish.exp: Same.
866 * gdb.dwarf2/var-access.exp: Same.
867 * gdb.dwarf2/variant.exp: Same.
868 * gdb.dwarf2/void-type.exp: Same.
869 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
870 dw2-ranges-main.c.
871 * gdb.dwarf2/dw2-ranges-main.c: Remove.
872
472d09c1
TV
8732020-10-16 Tom de Vries <tdevries@suse.de>
874
875 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
876
afe75f6d
TV
8772020-10-16 Tom de Vries <tdevries@suse.de>
878
879 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
880
8c8bd0ba
TV
8812020-10-14 Tom de Vries <tdevries@suse.de>
882
883 PR testsuite/26732
884 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
885 scenario 2.
886 * gdb.ada/mi_catch_ex_hand.exp: Same.
887
b75d55d4
PA
8882020-10-13 Pedro Alves <pedro@palves.net>
889
890 * lib/mi-support.exp (mi_clean_restart): New.
891 (mi_run_to_main): Delete.
892 All callers adjust to use mi_clean_restart / mi_runto_main.
893
e777225b
PA
8942020-10-13 Pedro Alves <pedro@palves.net>
895
896 * config/monitor.exp: Use "list -q".
897 * gdb.arch/gdb1558.exp: Use "break -q".
898 * gdb.arch/i386-permbkpt.exp: Use "break -q".
899 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
900 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
901 * gdb.base/commands.exp: Use "break -q".
902 * gdb.base/condbreak.exp: Use "break -q".
903 * gdb.base/ctf-ptype.exp: Use "list -q".
904 * gdb.base/define.exp: Use "break -q".
905 * gdb.base/del.exp: Use "break -q".
906 * gdb.base/fullname.exp: Use "break -q".
907 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
908 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
909 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
910 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
911 "hbreak -q".
912 * gdb.base/included.exp: Use "list -q".
913 * gdb.base/label.exp: Use "break -q".
914 * gdb.base/lineinc.exp: Use "break -q".
915 * gdb.base/list.exp: Use "list -q".
916 * gdb.base/macscp.exp: Use "list -q".
917 * gdb.base/pending.exp: Use "break -q".
918 * gdb.base/prologue-include.exp: Use "break -q".
919 * gdb.base/ptype.exp: Use "list -q".
920 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
921 * gdb.base/server-del-break.exp: Use "break -q".
922 * gdb.base/style.exp: Use "break -q".
923 * gdb.base/symbol-without-target_section.exp: Use "list -q".
924 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
925 * gdb.cp/exception.exp: Use "tbreak -q".
926 * gdb.dwarf2/dw2-error.exp: Use "break -q".
927 * gdb.dwarf2/fission-mix.exp: Use "break -q".
928 * gdb.dwarf2/fission-reread.exp: Use "break -q".
929 * gdb.dwarf2/pr13961.exp: Use "break -q".
930 * gdb.linespec/explicit.exp: Use "list -q".
931 * gdb.linespec/linespec.exp: Use "break -q".
932 * gdb.mi/mi-simplerun.exp: Use "--qualified".
933 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
934 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
935 * gdb.server/connect-without-multi-process.exp: Use "break -q".
936 * gdb.trace/change-loc.exp: Use "break -q".
937 * gdb.trace/pending.exp: Use "break -q".
938 * gdb.tui/basic.exp: Use "list -q".
939 * gdb.tui/list-before.exp: Use "list -q".
940 * gdb.tui/list.exp: Use "list -q".
941 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
942
8abd8ee8
PA
9432020-10-13 Pedro Alves <pedro@palves.net>
944
945 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
946 saved breakpoints file.
947 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
948 inspecting breakpoint list.
949 * lib/gdb.exp (runto_main): Add "qualified" to options.
950 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
951 and handle it.
952 (mi_runto_main): Pass 1 as qualified argument.
953
f71e6719
PA
9542020-10-13 Pedro Alves <pedro@palves.net>
955
956 * lib/mi-support.exp (mi_runto_main): New proc.
957 (mi_run_to_main): Use it.
958 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
959 * gdb.mi/mi-var-cmd.exp: Likewise.
960 * gdb.mi/mi-var-invalidate.exp: Likewise.
961 * mi-var-list-children-invalid-grandchild.exp: Likewise.
962 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
963 * gdb.mi/new-ui-mi-sync.exp: Likewise.
964 * gdb.mi/user-selected-context-sync.exp: Likewise.
965 * gdb.opt/inline-cmds.exp: Likewise.
966 * gdb.python/py-framefilter-mi.exp: Likewise.
967 * gdb.python/py-mi.exp: Likewise.
968
50441f0f
PA
9692020-10-13 Pedro Alves <pedro@palves.net>
970
971 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
972 "runto main".
973 * gdb.ada/small_reg_param.exp: Likewise.
974 * gdb.arch/powerpc-d128-regs.exp: Likewise.
975 * gdb.base/annota1.exp: Likewise.
976 * gdb.base/anon.exp: Likewise.
977 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
978 * gdb.base/dprintf-non-stop.exp: Likewise.
979 * gdb.base/dprintf.exp: Likewise.
980 * gdb.base/gdb11530.exp: Likewise.
981 * gdb.base/gdb11531.exp: Likewise.
982 * gdb.base/gnu_vector.exp: Likewise.
983 * gdb.base/interrupt-noterm.exp: Likewise.
984 * gdb.base/memattr.exp: Likewise.
985 * gdb.base/step-over-syscall.exp: Likewise.
986 * gdb.base/watch-cond-infcall.exp: Likewise.
987 * gdb.base/watch-read.exp: Likewise.
988 * gdb.base/watch-vfork.exp: Likewise.
989 * gdb.base/watch_thread_num.exp: Likewise.
990 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
991 * gdb.guile/scm-frame-inline.exp: Likewise.
992 * gdb.linespec/explicit.exp: Likewise.
993 * gdb.opt/inline-break.exp: Likewise.
994 * gdb.python/py-frame-inline.exp: Likewise.
995 * gdb.reverse/break-precsave.exp: Likewise.
996 * gdb.reverse/break-reverse.exp: Likewise.
997 * gdb.reverse/consecutive-precsave.exp: Likewise.
998 * gdb.reverse/consecutive-reverse.exp: Likewise.
999 * gdb.reverse/finish-precsave.exp: Likewise.
1000 * gdb.reverse/finish-reverse.exp: Likewise.
1001 * gdb.reverse/fstatat-reverse.exp: Likewise.
1002 * gdb.reverse/getresuid-reverse.exp: Likewise.
1003 * gdb.reverse/i386-precsave.exp: Likewise.
1004 * gdb.reverse/i386-reverse.exp: Likewise.
1005 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1006 * gdb.reverse/i387-env-reverse.exp: Likewise.
1007 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1008 * gdb.reverse/insn-reverse.exp: Likewise.
1009 * gdb.reverse/machinestate-precsave.exp: Likewise.
1010 * gdb.reverse/machinestate.exp: Likewise.
1011 * gdb.reverse/pipe-reverse.exp: Likewise.
1012 * gdb.reverse/readv-reverse.exp: Likewise.
1013 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1014 * gdb.reverse/rerun-prec.exp: Likewise.
1015 * gdb.reverse/s390-mvcle.exp: Likewise.
1016 * gdb.reverse/solib-precsave.exp: Likewise.
1017 * gdb.reverse/solib-reverse.exp: Likewise.
1018 * gdb.reverse/step-precsave.exp: Likewise.
1019 * gdb.reverse/step-reverse.exp: Likewise.
1020 * gdb.reverse/time-reverse.exp: Likewise.
1021 * gdb.reverse/until-precsave.exp: Likewise.
1022 * gdb.reverse/until-reverse.exp: Likewise.
1023 * gdb.reverse/waitpid-reverse.exp: Likewise.
1024 * gdb.reverse/watch-precsave.exp: Likewise.
1025 * gdb.reverse/watch-reverse.exp: Likewise.
1026 * gdb.threads/kill.exp: Likewise.
1027 * gdb.threads/tid-reuse.exp: Likewise.
1028
d3a07122
SM
10292020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1030
1031 PR gdb/26642
1032 * gdb.base/maint-target-async-off.c: New test.
1033 * gdb.base/maint-target-async-off.exp: New test.
1034
c65c6c42
AM
10352020-10-13 Alan Modra <amodra@gmail.com>
1036
1037 * gdb.arch/powerpc-altivec.s,
1038 * gdb.arch/powerpc-power7.s,
1039 * gdb.arch/powerpc-power8.s,
1040 * gdb.arch/powerpc-power9.s,
1041 * gdb.arch/powerpc-vsx.s,
1042 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1043 * gdb.arch/powerpc-altivec.exp,
1044 * gdb.arch/powerpc-power7.exp,
1045 * gdb.arch/powerpc-power8.exp,
1046 * gdb.arch/powerpc-power9.exp,
1047 * gdb.arch/powerpc-vsx.exp,
1048 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1049 disassembly of mfvsrd/mtvsrd.
1050
f4a0f710
AM
10512020-10-13 Alan Modra <amodra@gmail.com>
1052
1053 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1054 "target architecture" output.
1055 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1056 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1057 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1058 * gdb.arch/s390-disassembler-options.exp: Likewise.
1059
87a37e5e
PA
10602020-10-12 Pedro Alves <pedro@palves.net>
1061
1062 PR exp/26602
1063 PR c++/26550
1064 * gdb.cp/ambiguous.cc (marker1): Delete.
1065 (main): Initialize all the fields of the locals. Replace marker1
1066 call with a "set breakpoint here" marker.
1067 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1068 instead of running to marker1. Add tests printing all the
1069 variables and all the fields of the variables.
1070 (test_ambiguous): New proc, expecting the new GDB output when a
1071 field access is ambiguous. Change all "warning: X ambiguous"
1072 tests to use it.
1073
71e1b6b0
GB
10742020-10-12 Gary Benson <gbenson@redhat.com>
1075
1076 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1077 * gdb.base/msym-bp-2.c (foo): Likewise.
1078 * gdb.base/msym-lang.c (foo): Likewise.
1079 * gdb.base/msym-lang-main.c (foo): Likewise.
1080 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1081 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1082 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1083 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1084 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1085 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1086 * gdb.python/py-objfile.c (static_var): Likewise.
1087 * gdb.python/py-symbol.c (rr): Likewise.
1088 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1089 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1090
9370fd51
AB
10912020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1092
1093 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1094 output of backtrace.
1095
7c184d33
TT
10962020-10-09 Tom Tromey <tromey@adacore.com>
1097
1098 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1099 (Rec): Add field. Fix range.
1100 * gdb.ada/scalar_storage.exp: Update.
1101
3d87245c
HD
11022020-10-09 Hannes Domani <ssbssa@yahoo.de>
1103
1104 PR exp/26714
1105 * gdb.base/printcmds.exp: Add tests for void results.
1106
f5c4b229
JV
11072020-10-09 Jan Vrany <jan.vrany@labware.com>
1108
1109 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1110 is emmited for both 'set directories' and 'directory' commands.
1111
b2701685
TT
11122020-10-08 Tom Tromey <tom@tromey.com>
1113
1114 * gdb.base/style.exp: Check that "main"'s name is styled.
1115
e86efb33
TT
11162020-10-07 Tom Tromey <tromey@adacore.com>
1117
1118 * gdb.base/find.exp: Rename some tests.
1119
30897591
GB
11202020-10-06 Gary Benson <gbenson@redhat.com>
1121
1122 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1123 * gdb.base/list1.c (unused): Likewise.
1124
ced4a4c1
GB
11252020-10-06 Gary Benson <gbenson@redhat.com>
1126
1127 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1128 __attribute__ ((used)).
1129 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1130
ed3bdac4
AB
11312020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1132
1133 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1134 make use of regions throughout.
1135 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1136 not {...}.
1137 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1138
cd096ec8
HD
11392020-10-05 Hannes Domani <ssbssa@yahoo.de>
1140
1141 * gdb.base/call-sc.c: Fix return struct on stack test case.
1142 * gdb.base/call-sc.exp: Likewise.
1143
3ee6f75d
GB
11442020-10-02 Gary Benson <gbenson@redhat.com>
1145
1146 * README: Fix "paralell".
1147
f65825ec
GB
11482020-09-30 Gary Benson <gbenson@redhat.com>
1149
1150 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1151 Convert directive to lowercase.
1152 (.Labbrev1_begin): Add missing label.
1153 (abbrev code 0x1): Remove DW_AT_stmt_list.
1154 (.Ldie_b): Likewise.
1155
5f278258
TT
11562020-09-27 Tom Tromey <tom@tromey.com>
1157
1158 * gdb.tui/new-layout.exp: Use with_test_prefix.
1159
8f9929bb
GR
11602020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1161
1162 PR python/26586
1163 * gdb.python/python.exp: add test cases for the from_tty
1164 argument to gdb.execute.
1165
c20c017b
GB
11662020-09-25 Gary Benson <gbenson@redhat.com>
1167
1168 * gdb.base/infcall-nested-structs.exp.tcl: Add
1169 additional_flags=-Wno-tautological-compare for C++
1170 tests when compiling using Clang.
1171
68d654af
GB
11722020-09-25 Gary Benson <gbenson@redhat.com>
1173
1174 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1175 for .c files.
1176
b551a89f
TT
11772020-09-24 Tom Tromey <tromey@adacore.com>
1178
1179 PR tui/26638:
1180 * gdb.tui/list.exp: Check output of "focus next".
1181
20a5fcbd
TT
11822020-09-23 Tom Tromey <tom@tromey.com>
1183
1184 * gdb.dwarf2/intbits.exp: New file.
1185 * gdb.dwarf2/intbits.c: New file.
1186
b167e53f
PA
11872020-09-20 Pedro Alves <pedro@palves.net>
1188
1189 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1190 spawn_id before calling remote_close. Close secondary MI channel.
1191
dbc49e9f
PA
11922020-09-20 Pedro Alves <pedro@palves.net>
1193
1194 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1195 fails.
1196
c8d5abea
AB
11972020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1198
1199 * gdb.fortran/array-slices.exp: Update expected results.
1200 * gdb.fortran/class-allocatable-array.exp: Likewise.
1201 * gdb.fortran/multi-dim.exp: Likewise.
1202 * gdb.fortran/vla-type.exp: Likewise.
1203 * gdb.mi/mi-vla-fortran.exp: Likewise.
1204
14f9473c
VC
12052020-09-18 Victor Collod <vcollod@nvidia.com>
1206
1207 PR gdb/26635
1208 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1209 compatible with i386, and move it to...
1210 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1211 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1212 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1213
e8ef12b9
PA
12142020-09-18 Pedro Alves <pedro@palves.net>
1215
1216 PR gdb/26631
1217 * gdb.multi/multi-target-thread-find.exp: New file.
1218
e11daf7a
PA
12192020-09-18 Pedro Alves <pedro@palves.net>
1220
1221 * gdb.multi/multi-target-continue.exp: New file, factored out from
1222 multi-target.exp.
1223 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1224 multi-target.exp.
1225 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1226 multi-target.exp.
1227 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1228 multi-target.exp.
1229 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1230 multi-target.exp.
1231 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1232 multi-target.exp.
1233 * gdb.multi/multi-target.exp: Delete.
1234
d0edc2b8
AB
12352020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1236
1237 * gdb.fortran/array-slices.exp: Add missing message data.
1238
7474326c
PA
12392020-09-17 Pedro Alves <pedro@palves.net>
1240
1241 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1242
dd23068d
PA
12432020-09-17 Pedro Alves <pedro@palves.net>
1244
1245 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1246 full prototype.
1247
0640a543
PA
12482020-09-17 Pedro Alves <pedro@palves.net>
1249
1250 * gdb.python/py-as-string.c: Add cast.
1251
ef0cdbc1
PA
12522020-09-17 Pedro Alves <pedro@palves.net>
1253
1254 * gdb.base/sizeof.c (fill): Add cast.
1255
3a5eeb8b
PA
12562020-09-17 Pedro Alves <pedro@palves.net>
1257
1258 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1259
a8129512
PA
12602020-09-17 Pedro Alves <pedro@palves.net>
1261
1262 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1263 linkage name.
1264 * gdb.base/prologue.exp: Use print /d.
1265 * gdb.base/symbol-alias.exp: Handle C++ output.
1266 * gdb.base/symbol-alias2.c: Handle C++ output.
1267 [__cplusplus] (func): Explicitly specify linkage name.
1268
a83cdcb6
PA
12692020-09-17 Pedro Alves <pedro@palves.net>
1270
1271 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1272 (struct my_key_t): ... this. Adjust all references.
1273 (struct value_t): Rename to ...
1274 (struct my_value_t): ... this. Adjust all references.
1275 (create_map, add_map_element, create_map_map)
1276 (add_map_map_element): Add casts.
1277
d4bcee5c
PA
12782020-09-17 Pedro Alves <pedro@palves.net>
1279
1280 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1281 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1282
81f90489
PA
12832020-09-17 Pedro Alves <pedro@palves.net>
1284
1285 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1286
0a229804
PA
12872020-09-17 Pedro Alves <pedro@palves.net>
1288
1289 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1290 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1291 (charfoo, intfoo): Define full prototype.
1292 * gdb.base/ptype1.c (charfoo): Define full prototype.
1293 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1294 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1295
c3e5138d
PA
12962020-09-17 Pedro Alves <pedro@palves.net>
1297
1298 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1299 Don't define.
1300 (utf_32_string): Compile for both C and C++.
1301 * gdb.base/charset.exp: Use "print /d".
1302
151fdbad
PA
13032020-09-17 Pedro Alves <pedro@palves.net>
1304
1305 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1306 (nullptr): Rename to ...
1307 (null_ptr): ... this.
1308 * gdb.base/watchpoint.exp: Adjust to rename.
1309
18a25b64
PA
13102020-09-17 Pedro Alves <pedro@palves.net>
1311
1312 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1313 (three_not_flag): Add casts.
1314
11fac337
PA
13152020-09-17 Pedro Alves <pedro@palves.net>
1316
1317 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1318 char array.
1319 (main): Add references to Barrier, TestStrings, TestStringsH and
1320 TestStringsW.
1321 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1322 and expect a full prototype in C++.
1323
52626c58
PA
13242020-09-17 Pedro Alves <pedro@palves.net>
1325
1326 * gdb.base/nested-addr.c (main): Add cast.
1327 * gdb.base/nested-addr.exp: Use "print /d".
1328
52bb0902
PA
13292020-09-17 Pedro Alves <pedro@palves.net>
1330
1331 * gdb.base/break.exp (func): New. Use it throughout when
1332 expecting a function name.
1333
73e18ac9
PA
13342020-09-17 Pedro Alves <pedro@palves.net>
1335
1336 * gdb.base/display.exp: Issue "set print asm-demangle on".
1337
c8b18808
PA
13382020-09-17 Pedro Alves <pedro@palves.net>
1339
1340 * gdb.base/find.c: Include <string.h>.
1341 (init_bufs): Add cast.
1342 * gdb.base/find.exp: Issue "set print asm-demangle on".
1343
fe830662
TT
13442020-09-16 Tom Tromey <tromey@adacore.com>
1345
1346 PR gdb/26598:
1347 * gdb.base/skipcxx.exp: New file.
1348 * gdb.base/skipcxx.cc: New file.
1349
945ff6e2
TV
13502020-09-16 Tom de Vries <tdevries@suse.de>
1351
1352 PR testsuite/26617
1353 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1354 WITH_DEBUG_SECTIONS is defined.
1355 (xstr, str): New macro.
1356 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1357 to get start and size of _Dmain.
1358 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1359 using additional_flags.
1360
da1df1db
TBA
13612020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1362
1363 * gdb.base/bp-cmds-sourced-script.c: New file.
1364 * gdb.base/bp-cmds-sourced-script.exp: New test.
1365 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1366
337882d4
TV
13672020-09-16 Tom de Vries <tdevries@suse.de>
1368
1369 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1370 get the gdb prompt after issuing "monitor exit".
1371
7361f908
TV
13722020-09-16 Tom de Vries <tdevries@suse.de>
1373
1374 PR testsuite/26624
1375 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1376
4d91ddd3
TV
13772020-09-16 Tom de Vries <tdevries@suse.de>
1378
1379 PR testsuite/26618
1380 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1381
08cc37dd
TT
13822020-09-15 Tom Tromey <tromey@adacore.com>
1383
1384 PR rust/26197:
1385 * lib/rust-support.exp (rust_llvm_version): New proc.
1386 * gdb.rust/simple.exp: Check rust_llvm_version.
1387
ee6372f2
TV
13882020-09-14 Tom de Vries <tdevries@suse.de>
1389
1390 * gdb.rust/traits.exp: Fix PATH warning.
1391
dc3a371e
PA
13922020-09-13 Pedro Alves <pedro@palves.net>
1393
1394 * gdb.base/catch-follow-exec.c (main): Add explicit return
1395 statement.
1396 * gdb.base/catch-signal.c (main): Likewise.
1397 * gdb.base/condbreak-call-false.c (main): Likewise.
1398 * gdb.base/consecutive.c (main): Add explicit return
1399 statement and return type.
1400 * gdb.base/cursal.c (main): Add explicit return statement.
1401 * gdb.base/cvexpr.c (main): Likewise.
1402 * gdb.base/display.c (main): Add explicit return statement and
1403 return type.
1404 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
1405 * gdb.base/endianity.c (main): Likewise.
1406 * gdb.base/execd-prog.c (main): Likewise.
1407 * gdb.base/gdb1090.c (main): Likewise.
1408 * gdb.base/info_qt.c (main): Likewise.
1409 * gdb.base/lineinc.c (main): Likewise.
1410 * gdb.base/load-command.c (main): Likewise.
1411 * gdb.base/macscp1.c (main): Likewise.
1412 * gdb.base/pr10179-a.c (main): Likewise.
1413 * gdb.base/quit-live.c (main): Likewise.
1414 * gdb.base/scope0.c (main): Likewise.
1415 * gdb.base/settings.c (main): Likewise.
1416 * gdb.base/stack-checking.c (main): Return int.
1417 * gdb.base/varargs.c (main): Add explicit return statement.
1418 * gdb.cp/ambiguous.cc (main): Likewise.
1419 * gdb.cp/anon-struct.cc (main): Likewise.
1420 * gdb.cp/anon-union.cc (main): Likewise.
1421 * gdb.cp/bool.cc (main): Likewise.
1422 * gdb.cp/bs15503.cc (main): Likewise.
1423 * gdb.cp/cplusfuncs.cc (main): Likewise.
1424 * gdb.cp/cttiadd.cc (main): Likewise.
1425 * gdb.cp/extern-c.cc (main): Likewise.
1426 * gdb.cp/filename.cc (main): Likewise.
1427 * gdb.cp/formatted-ref.cc (main): Likewise.
1428 * gdb.cp/mb-ctor.cc (main): Likewise.
1429 * gdb.cp/member-ptr.cc (main): Likewise.
1430 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1431 * gdb.cp/overload-const.cc (main): Likewise.
1432 * gdb.cp/paren-type.cc (main): Likewise.
1433 * gdb.cp/parse-lang.cc (main): Likewise.
1434 * gdb.cp/pr-1023.cc (main): Likewise.
1435 * gdb.cp/psmang1.cc (main): Likewise.
1436 * gdb.cp/readnow-language.cc (main): Likewise.
1437 * gdb.cp/ref-params.cc (main): Likewise.
1438 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1439 * gdb.cp/virtbase2.cc (main): Likewise.
1440 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1441 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1442 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1443 * gdb.mi/mi-console.c (main): Likewise.
1444 * gdb.mi/mi-read-memory.c (main): Likewise.
1445 * gdb.modula2/multidim.c (main): Likewise.
1446 * gdb.opt/inline-small-func.c (main): Likewise.
1447 * gdb.python/py-rbreak.c (main): Likewise.
1448 * gdb.stabs/exclfwd1.c (main): Likewise.
1449 * gdb.trace/qtro.c (main): Likewise.
1450
af26601c
PA
14512020-09-13 Pedro Alves <pedro@palves.net>
1452
1453 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1454 instead of getenv.
1455
2f4b83cd
PA
14562020-09-13 Pedro Alves <pedro@palves.net>
1457
1458 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1459 instead of spawning GDB with remote_spawn.
1460 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1461 gdb_spawn instead of spawning GDB with remote_spawn.
1462
c49da0e4
PA
14632020-09-13 Pedro Alves <pedro@palves.net>
1464
1465 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1466 file and add calls to first and second.
1467 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1468 add call to f.
1469
6791b117
PA
14702020-09-13 Pedro Alves <pedro@palves.net>
1471
1472 * gdb.mi/mi-break-qualified.cc: New file.
1473 * gdb.mi/mi-break-qualified.exp: New file.
1474 * lib/mi-support.exp (mi_create_breakpoint_multi)
1475 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1476 procedures.
1477 (mi_create_breakpoint_1): New, factored out from
1478 mi_create_breakpoint.
1479
3b8d4c5c
PA
14802020-09-13 Pedro Alves <pedro@palves.net>
1481
1482 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1483 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1484 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1485 (register_class): Delete.
1486 (main): Don't call register_class.
1487
d5f96005
PA
14882020-09-13 Pedro Alves <pedro@palves.net>
1489
1490 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1491 (do_tests): Remove "calling method for small class" test.
1492 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1493 (register_class): Delete.
1494 (main): Don't call register_class.
1495 * gdb.cp/call-method-register.exp: New file, based on bits removed
1496 from classes.exp.
1497 * gdb.cp/call-method-register.cc: New file, based on bits removed
1498 from classes.cc.
1499
77f2120b
PA
15002020-09-13 Pedro Alves <pedro@palves.net>
1501
1502 * gdb.base/msym-bp-2.c: New.
1503 * gdb.base/msym-bp-shl-lib.c: New file.
1504 * gdb.base/msym-bp-shl-main-2.c: New file.
1505 * gdb.base/msym-bp-shl-main.c: New file.
1506 * gdb.base/msym-bp-shl.exp: New file.
1507 * gdb.base/msym-bp.c: New file.
1508 * gdb.base/msym-bp.exp: New file.
1509
32aea73e
JB
15102020-09-13 Joel Brobecker <brobecker@adacore.com>
1511
1512 * gdb.base/default.exp: Change $_gdb_major to 11.
1513
2a67f09d
FW
15142020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1515 Felix Willgerodt <Felix.Willgerodt@intel.com>
1516
1517 * x86-avx512bf16.c: New file.
1518 * x86-avx512bf16.exp: Likewise.
1519 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1520
ad570dd7
TV
15212020-09-11 Tom de Vries <tdevries@suse.de>
1522
1523 PR exp/26602
1524 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1525
a56f7391
TBA
15262020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1527
1528 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1529
918619e5
AM
15302020-09-10 Alan Modra <amodra@gmail.com>
1531
1532 PR 26597
1533 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1534
cac1e71d
TV
15352020-09-08 Tom de Vries <tdevries@suse.de>
1536
1537 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1538 after gdb_starti_cmd.
1539
c5cd900e
AKS
15402020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1541
1542 * lib/fortran.exp (fortran_complex8): New proc.
1543 (fortran_complex16): New proc.
1544 * gdb.fortran/complex.exp: Use routines from fortran.exp
1545 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1546 * gdb.fortran/vla-ptr-info.exp: Likewise.
1547
8f5c6526
TV
15482020-09-03 Tom de Vries <tdevries@suse.de>
1549
1550 PR breakpoint/26546
1551 * gdb.base/label-without-address.exp: Runto main first.
1552
02c6f3f1
TT
15532020-09-02 Tom Tromey <tromey@adacore.com>
1554
1555 * gdb.ada/mi_var_access.exp: Test children of access variable.
1556 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1557 * gdb.ada/mi_var_array.exp: Update.
1558
efe24f05
KB
15592020-08-31 Kevin Buettner <kevinb@redhat.com>
1560
1561 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1562 on docker w/ AUFS storage driver.
1563
973695d6
KB
15642020-08-31 Kevin Buettner <kevinb@redhat.com>
1565
1566 * gdb.base/corefile2.exp (renamed binfile): New tests.
1567
f3bd50f1
SM
15682020-08-31 Simon Marchi <simon.marchi@efficios.com>
1569
1570 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1571
22b9b4b0
SL
15722020-08-31 Simon Marchi <simon.marchi@efficios.com>
1573
1574 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1575 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1576
8efaf6b3
SM
15772020-08-31 Simon Marchi <simon.marchi@efficios.com>
1578
1579 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1580 output, printing a "not saved" value from history and printing a
1581 convenience variable created from a "not saved" value.
1582
e840f2e3
TV
15832020-08-31 Tom de Vries <tdevries@suse.de>
1584
1585 * gdb.base/eh_return.exp: Use nopie.
1586
8f57f343
PA
15872020-08-28 Pedro Alves <pedro@palves.net>
1588
1589 * gdb.base/advance-until-multiple-locations.exp
1590 (advance_overload, until_overload): Adjust to match the
1591 frame/function header instead of the source line text.
1592
626d2320
TV
15932020-08-28 Tom de Vries <tdevries@suse.de>
1594
1595 * gdb.base/label-without-address.c: New test.
1596 * gdb.base/label-without-address.exp: New file.
1597
df631783
PA
15982020-08-27 Pedro Alves <pedro@palves.net>
1599
1600 PR gdb/26523
1601 PR gdb/26524
1602 * gdb.base/advance-until-multiple-locations.cc: New.
1603 * gdb.base/advance-until-multiple-locations.exp: New.
1604
48b076bb
SM
16052020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1606
1607 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1608
c2015ce4
AB
16092020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1610
1611 * gdb.arch/amd64-byte.exp: Make test names unique, use
1612 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1613 * gdb.arch/amd64-dword.exp: Likewise.
1614 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1615 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1616 unique.
1617 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1618 * gdb.arch/amd64-word.exp: Make test names unique, use
1619 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1620 * gdb.arch/i386-byte.exp: Make test names unique, use
1621 gdb_breakpoint.
1622 * gdb.arch/i386-word.exp: Likewise.
1623
995d3a19
SV
16242020-08-25 Shahab Vahedi <shahab@synopsys.com>
1625
1626 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1627
8cac2b31
SM
16282020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1629
1630 PR gdb/26532
1631 * gdb.threads/stepi-random-signal.exp: Update pattern.
1632
2bc19622
SM
16332020-08-25 Simon Marchi <simon.marchi@efficios.com>
1634
1635 PR gdb/26532
1636 * gdb.base/ui-redirect.exp: Update pattern.
1637
b04aa1fc
GB
16382020-08-25 Gary Benson <gbenson@redhat.com>
1639
1640 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1641 when compiling with clang.
8571e9c8 1642 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 1643
9f68b453
GB
16442020-08-25 Gary Benson <gbenson@redhat.com>
1645
1646 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1647 Add additional_flags=-Wno-inaccessible-base when compiling
1648 with GCC >= 10.1 or clang. Add additional_flags=-w when
1649 compiling with GCC < 10.
1650
3945d2d7
GM
16512020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1652
1653 PR m2/26372
fc5d6901
SM
1654 * gdb.modula2/multidim.c: New file.
1655 * gdb.modula2/multidim.exp: New file.
3945d2d7 1656
60122dbe
SM
16572020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1658
1659 * lib/gdb.exp (runto): Always emit fail on internal error.
1660
1eb8556f
SM
16612020-08-24 Simon Marchi <simon.marchi@efficios.com>
1662
1663 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1664 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1665 Likewise.
1666 * gdb.threads/stepi-random-signal.exp: Likewise.
1667
33bf4c5c
TBA
16682020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1669
1670 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1671 * gdb.trace/strace.exp: Ditto.
1672
c2fd7fae
AKS
16732020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1674
1675 * gdb.fortran/vla-type.exp: Skip commands not required for
1676 the Flang compiled binaries after prologue fix.
1677
326afb72
TT
16782020-08-17 Tom de Vries <tdevries@suse.de>
1679 Tom Tromey <tromey@adacore.com>
1680
1681 PR rust/26197:
1682 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1683
3ae7ab99
TT
16842020-08-17 Tom Tromey <tromey@adacore.com>
1685
1686 * gdb.ada/mi_var_access.exp: New file.
1687 * gdb.ada/mi_var_access/mi_access.adb: New file.
1688 * gdb.ada/mi_var_access/pck.adb: New file.
1689 * gdb.ada/mi_var_access/pck.ads: New file.
1690
f569c1c5
TV
16912020-08-16 Tom de Vries <tdevries@suse.de>
1692
1693 PR gdb/25350
1694 * gdb.base/eh_return.c: New test.
1695 * gdb.base/eh_return.exp: New file.
1696
3d11c30a
TV
16972020-08-15 Tom de Vries <tdevries@suse.de>
1698
1699 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1700 (mixed_func_1d_): Use fortran_charlen_t in decl.
1701
547ce8f0
TV
17022020-08-15 Tom de Vries <tdevries@suse.de>
1703
1704 PR backtrace/26390
1705 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1706 Update expected pattern.
1707
a54a7f13
PA
17082020-08-13 Pedro Alves <pedro@palves.net>
1709
1710 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1711 * gdb.fortran/library-module.exp: Likewise.
1712 * gdb.fortran/logical.exp: Likewise.
1713 * gdb.fortran/module.exp: Likewise.
1714 * gdb.fortran/print_type.exp: Likewise.
1715 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1716 * gdb.fortran/vla-datatypes.exp: Likewise.
1717 * gdb.fortran/vla-history.exp: Likewise.
1718 * gdb.fortran/vla-ptr-info.exp: Likewise.
1719 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1720 * gdb.fortran/vla-ptype.exp: Likewise.
1721 * gdb.fortran/vla-sizeof.exp: Likewise.
1722 * gdb.fortran/vla-type.exp: Likewise.
1723 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1724 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1725 * gdb.fortran/vla-value-sub.exp: Likewise.
1726 * gdb.fortran/vla-value.exp: Likewise.
1727
7a82e903
PA
17282020-08-13 Pedro Alves <pedro@palves.net>
1729
1730 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1731 * gdb.ada/access_to_packed_array.exp: Likewise.
1732 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1733 * gdb.ada/addr_arith.exp: Likewise.
1734 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1735 * gdb.ada/arr_arr.exp: Likewise.
1736 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1737 * gdb.ada/array_bounds.exp: Likewise.
1738 * gdb.ada/array_of_variable_length.exp: Likewise.
1739 * gdb.ada/array_ptr_renaming.exp: Likewise.
1740 * gdb.ada/array_subscript_addr.exp: Likewise.
1741 * gdb.ada/arraydim.exp: Likewise.
1742 * gdb.ada/arrayparam.exp: Likewise.
1743 * gdb.ada/arrayptr.exp: Likewise.
1744 * gdb.ada/assign_1.exp: Likewise.
1745 * gdb.ada/assign_arr.exp: Likewise.
1746 * gdb.ada/atomic_enum.exp: Likewise.
1747 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1748 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1749 * gdb.ada/bias.exp: Likewise.
1750 * gdb.ada/boolean_expr.exp: Likewise.
1751 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1752 * gdb.ada/bp_enum_homonym.exp: Likewise.
1753 * gdb.ada/bp_inlined_func.exp: Likewise.
1754 * gdb.ada/bp_on_var.exp: Likewise.
1755 * gdb.ada/bp_range_type.exp: Likewise.
1756 * gdb.ada/bp_reset.exp: Likewise.
1757 * gdb.ada/call_pn.exp: Likewise.
1758 * gdb.ada/catch_assert_if.exp: Likewise.
1759 * gdb.ada/catch_ex.exp: Likewise.
1760 * gdb.ada/catch_ex_std.exp: Likewise.
1761 * gdb.ada/char_enum.exp: Likewise.
1762 * gdb.ada/char_param.exp: Likewise.
1763 * gdb.ada/complete.exp: Likewise.
1764 * gdb.ada/cond_lang.exp: Likewise.
1765 * gdb.ada/convvar_comp.exp: Likewise.
1766 * gdb.ada/dgopt.exp: Likewise.
1767 * gdb.ada/disc_arr_bound.exp: Likewise.
1768 * gdb.ada/display_nested.exp: Likewise.
1769 * gdb.ada/dot_all.exp: Likewise.
1770 * gdb.ada/dyn_loc.exp: Likewise.
1771 * gdb.ada/dyn_stride.exp: Likewise.
1772 * gdb.ada/excep_handle.exp: Likewise.
1773 * gdb.ada/expr_delims.exp: Likewise.
1774 * gdb.ada/expr_with_funcall.exp: Likewise.
1775 * gdb.ada/exprs.exp: Likewise.
1776 * gdb.ada/fin_fun_out.exp: Likewise.
1777 * gdb.ada/fixed_cmp.exp: Likewise.
1778 * gdb.ada/formatted_ref.exp: Likewise.
1779 * gdb.ada/frame_arg_lang.exp: Likewise.
1780 * gdb.ada/frame_args.exp: Likewise.
1781 * gdb.ada/fullname_bp.exp: Likewise.
1782 * gdb.ada/fun_addr.exp: Likewise.
1783 * gdb.ada/fun_in_declare.exp: Likewise.
1784 * gdb.ada/fun_overload_menu.exp: Likewise.
1785 * gdb.ada/fun_renaming.exp: Likewise.
1786 * gdb.ada/funcall_char.exp: Likewise.
1787 * gdb.ada/funcall_param.exp: Likewise.
1788 * gdb.ada/funcall_ptr.exp: Likewise.
1789 * gdb.ada/funcall_ref.exp: Likewise.
1790 * gdb.ada/homonym.exp: Likewise.
1791 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1792 * gdb.ada/info_auto_lang.exp: Likewise.
1793 * gdb.ada/info_exc.exp: Likewise.
1794 * gdb.ada/info_types.exp: Likewise.
1795 * gdb.ada/int_deref.exp: Likewise.
1796 * gdb.ada/interface.exp: Likewise.
1797 * gdb.ada/iwide.exp: Likewise.
1798 * gdb.ada/lang_switch.exp: Likewise.
1799 * gdb.ada/length_cond.exp: Likewise.
1800 * gdb.ada/maint_with_ada.exp: Likewise.
1801 * gdb.ada/mi_catch_assert.exp: Likewise.
1802 * gdb.ada/mi_catch_ex.exp: Likewise.
1803 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1804 * gdb.ada/mi_dyn_arr.exp: Likewise.
1805 * gdb.ada/mi_ex_cond.exp: Likewise.
1806 * gdb.ada/mi_exc_info.exp: Likewise.
1807 * gdb.ada/mi_interface.exp: Likewise.
1808 * gdb.ada/mi_prot.exp: Likewise.
1809 * gdb.ada/mi_ref_changeable.exp: Likewise.
1810 * gdb.ada/mi_string_access.exp: Likewise.
1811 * gdb.ada/mi_task_arg.exp: Likewise.
1812 * gdb.ada/mi_task_info.exp: Likewise.
1813 * gdb.ada/mi_var_array.exp: Likewise.
1814 * gdb.ada/mi_var_union.exp: Likewise.
1815 * gdb.ada/mi_variant.exp: Likewise.
1816 * gdb.ada/minsyms.exp: Likewise.
1817 * gdb.ada/mod_from_name.exp: Likewise.
1818 * gdb.ada/nested.exp: Likewise.
1819 * gdb.ada/null_array.exp: Likewise.
1820 * gdb.ada/optim_drec.exp: Likewise.
1821 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1822 * gdb.ada/packed_array_assign.exp: Likewise.
1823 * gdb.ada/packed_tagged.exp: Likewise.
1824 * gdb.ada/pp-rec-component.exp: Likewise.
1825 * gdb.ada/print_chars.exp: Likewise.
1826 * gdb.ada/print_pc.exp: Likewise.
1827 * gdb.ada/ptr_typedef.exp: Likewise.
1828 * gdb.ada/ptype_arith_binop.exp: Likewise.
1829 * gdb.ada/ptype_array.exp: Likewise.
1830 * gdb.ada/ptype_field.exp: Likewise.
1831 * gdb.ada/ptype_tagged_param.exp: Likewise.
1832 * gdb.ada/ptype_union.exp: Likewise.
1833 * gdb.ada/py_range.exp: Likewise.
1834 * gdb.ada/py_taft.exp: Likewise.
1835 * gdb.ada/rdv_wait.exp: Likewise.
1836 * gdb.ada/rec_comp.exp: Likewise.
1837 * gdb.ada/rec_return.exp: Likewise.
1838 * gdb.ada/ref_param.exp: Likewise.
1839 * gdb.ada/ref_tick_size.exp: Likewise.
1840 * gdb.ada/rename_subscript_param.exp: Likewise.
1841 * gdb.ada/repeat_dyn.exp: Likewise.
1842 * gdb.ada/same_component_name.exp: Likewise.
1843 * gdb.ada/same_enum.exp: Likewise.
1844 * gdb.ada/scalar_storage.exp: Likewise.
1845 * gdb.ada/set_wstr.exp: Likewise.
1846 * gdb.ada/small_reg_param.exp: Likewise.
1847 * gdb.ada/str_binop_equal.exp: Likewise.
1848 * gdb.ada/str_ref_cmp.exp: Likewise.
1849 * gdb.ada/str_uninit.exp: Likewise.
1850 * gdb.ada/sub_variant.exp: Likewise.
1851 * gdb.ada/sym_print_name.exp: Likewise.
1852 * gdb.ada/taft_type.exp: Likewise.
1853 * gdb.ada/tagged.exp: Likewise.
1854 * gdb.ada/tagged_access.exp: Likewise.
1855 * gdb.ada/task_bp.exp: Likewise.
1856 * gdb.ada/task_switch_in_core.exp: Likewise.
1857 * gdb.ada/tasks.exp: Likewise.
1858 * gdb.ada/tick_last_segv.exp: Likewise.
1859 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1860 * gdb.ada/type_coercion.exp: Likewise.
1861 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1862 * gdb.ada/unchecked_union.exp: Likewise.
1863 * gdb.ada/uninitialized_vars.exp: Likewise.
1864 * gdb.ada/var_arr_attrs.exp: Likewise.
1865 * gdb.ada/var_arr_typedef.exp: Likewise.
1866 * gdb.ada/var_rec_arr.exp: Likewise.
1867 * gdb.ada/variant-record.exp: Likewise.
1868 * gdb.ada/variant.exp: Likewise.
1869 * gdb.ada/variant_record_packed_array.exp: Likewise.
1870 * gdb.ada/varsize_limit.exp: Likewise.
1871 * gdb.ada/whatis_array_val.exp: Likewise.
1872 * gdb.ada/widewide.exp: Likewise.
1873 * gdb.ada/win_fu_syms.exp: Likewise.
1874
18752020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
1876
1877 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1878
10c381b5
AB
18792020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1880
1881 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1882 unset the array variable.
1883
8f34b746
TV
18842020-08-03 Tom de Vries <tdevries@suse.de>
1885
1886 PR symtab/26333
1887 * lib/dwarf.exp (DW_LNE_user): New proc.
1888 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1889 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1890
0245e136
KB
18912020-07-31 Kevin Buettner <kevinb@redhat.com>
1892
1893 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1894 to 'uintptr_t'
1895 (inttypes.h): Include.
1896
9ef1ec5d
KB
18972020-07-31 Kevin Buettner <kevinb@redhat.com>
1898
1899 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1900 (C5_24k): Delete.
1901 (C5_8k, C5_64k, C5_256k): New macros.
1902 (buf_ro): Allocate 256 KiB of initialized data.
1903
4c55e970
TBA
19042020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1905
1906 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1907 that attempt to overwrite an existing condition with a condition
1908 that fails parsing and also with a condition that parses fine
1909 but contains junk at the end.
1910
1e620590
TBA
19112020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1912
1913 * gdb.base/condbreak-bad.c: New test.
1914 * gdb.base/condbreak-bad.exp: New file.
1915
e12dcc50
TV
19162020-07-30 Tom de Vries <tdevries@suse.de>
1917
1918 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1919 out of ...
1920 (GDBInfoModuleSymbols::check_entry): ... here.
1921 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1922 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1923 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1924
6cc64caa
TV
19252020-07-30 Tom de Vries <tdevries@suse.de>
1926
1927 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1928 "__class_some_module_Number_t" optional.
1929
90fd07fc
TV
19302020-07-29 Tom de Vries <tdevries@suse.de>
1931
1932 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1933 multiple locations.
1934
f5c79e97
TV
19352020-07-29 Tom de Vries <tdevries@suse.de>
1936
1937 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1938 rather than function name.
1939
f75a0693
AB
19402020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1941
1942 PR symtab/26270:
1943 * gdb.cp/disasm-func-name.cc: New file.
1944 * gdb.cp/disasm-func-name.exp: New file.
1945
4888741a
TT
19462020-07-28 Tom Tromey <tromey@adacore.com>
1947
1948 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1949 'varval' location.
1950
43d5901d
AB
19512020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1952
1953 * gdb.python/py-unwind.py: Update to make use of a register
1954 descriptor.
1955
14fa8fb3
AB
19562020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1957
1958 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1959
e79eb02f
AB
19602020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1961
1962 PR fortran/23051
1963 PR fortran/26139
1964 * gdb.fortran/class-allocatable-array.exp: New file.
1965 * gdb.fortran/class-allocatable-array.f90: New file.
1966 * gdb.fortran/pointer-to-pointer.exp: New file.
1967 * gdb.fortran/pointer-to-pointer.f90: New file.
1968
876518dd
TV
19692020-07-25 Tom de Vries <tdevries@suse.de>
1970
1971 PR symtab/26243
1972 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1973 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1974
6dcfb80a
TV
19752020-07-24 Tom de Vries <tdevries@suse.de>
1976
1977 PR testsuite/26293
1978 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1979
e7bc9db8
PA
19802020-07-23 Pedro Alves <pedro@palves.net>
1981
1982 * gdb.server/server-kill.exp (prepare): New, factored out from the
1983 top level.
1984 (kill_server): New.
1985 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1986 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1987
78344df7
AB
19882020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1989
1990 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1991
25dfed24
SL
19922020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1993
1994 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1995 Initialize to empty string at top level.
1996 (gdb_wrapper_init): Revert check for file existence on build.
1997 Build the wrapper in its default place, not a build-specific
1998 location. When host == build, make the pathname absolute.
1999 (gdb_compile): Delete leftover declaration of
2000 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2001 string instead of uninitialized.
2002
7da515fd
KB
20032020-07-22 Kevin Buettner <kevinb@redhat.com>
2004
2005 * gdb.base/corefile2.exp: New file.
2006 * gdb.base/coremaker2.exp: New file.
2007
9c5ec5c2
KB
20082020-07-22 Kevin Buettner <kevinb@redhat.com>
2009
2010 * gdb.base/coredump-filter.exp: Add second
2011 non-Private-Shared-Anon-File test.
2012 (test_disasm): Rename binfile for test which is expected
2013 to fail.
2014
f9e233c9
KB
20152020-07-22 Kevin Buettner <kevinb@redhat.com>
2016
2017 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2018 data in core file".
2019 * gdb.base/coremaker.c (buf2ro): New global.
2020 (mmapdata): Add a read-only mmap mapping.
2021
94c265d7
KB
20222020-07-22 Kevin Buettner <kevinb@redhat.com>
2023
2024 PR corefiles/25631
2025 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2026 New test.
2027 * gdb.base/coremaker.c (buf3): New global.
2028 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2029 flags.
2030
20312020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2032
2033 * gdb.base/coremaker.c (filler_ro): New global constant.
2034
32fa152e
TT
20352020-07-22 Tom Tromey <tromey@adacore.com>
2036
2037 * gdb.ada/mi_prot.exp: New file.
2038 * gdb.ada/mi_prot/pkg.adb: New file.
2039 * gdb.ada/mi_prot/pkg.ads: New file.
2040 * gdb.ada/mi_prot/prot.adb: New file.
2041
c8474dc3
TBA
20422020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2043
2044 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2045 loads two JITers.
2046
baf8791e
AB
20472020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2048
2049 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2050
f7306dac
AB
20512020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2052
2053 * gdb.python/py-arch-reg-names.exp: Additional tests.
2054
6d3d6e4b
TV
20552020-07-21 Tom de Vries <tdevries@suse.de>
2056
2057 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2058 breakpoint locations".
2059 * gdb.reverse/solib-reverse.exp: Same.
2060
803d0592
TV
20612020-07-21 Tom de Vries <tdevries@suse.de>
2062
2063 * gdb.reverse/step-reverse.c (callee): Merge statements.
2064
e9bdc510
TV
20652020-07-21 Tom de Vries <tdevries@suse.de>
2066
2067 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2068 line numbers for some variables.
2069
f0f9e75a
TV
20702020-07-21 Tom de Vries <tdevries@suse.de>
2071
2072 * gdb.opt/inline-locals.c (init_array): New func.
2073 (func1): Use init_array.
2074 * gdb.opt/inline-locals.exp: Update pattern.
2075
bd460ecb
TV
20762020-07-21 Tom de Vries <tdevries@suse.de>
2077
2078 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2079 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2080
ae5369e7
LC
20812020-07-20 Ludovic Courtès <ludo@gnu.org>
2082
2083 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2084 * gdb.guile/types-module.exp: Remove "ERROR:" from
2085 regexps since Guile 3.0 no longer prints that.
2086
68cf161c
LC
20872020-07-20 Ludovic Courtès <ludo@gnu.org>
2088
2089 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2090 error regexp to match on Guile 2.2.
2091
c14b4913
GB
20922020-07-20 Gary Benson <gbenson@redhat.com>
2093
2094 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2095 with clang.
2096
b243ba58
TV
20972020-07-20 Tom de Vries <tdevries@suse.de>
2098
2099 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2100 (omp_set_lock_in_order): New function.
2101 (single_scope, multi_scope, nested_func, nested_parallel): Use
2102 omp_set_lock_in_order and omp_unset_lock.
2103 (main): Init and destroy lock and lock2.
2104
c06ad8b5
TV
21052020-07-20 Tom de Vries <tdevries@suse.de>
2106
2107 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2108
6e22f117
TV
21092020-07-20 Tom de Vries <tdevries@suse.de>
2110
2111 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2112
33176ea7
TV
21132020-07-17 Tom de Vries <tdevries@suse.de>
2114
2115 * gdb.base/valgrind-infcall-2.c: New test.
2116 * gdb.base/valgrind-infcall-2.exp: New file.
2117 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2118
90c3ec2d
TV
21192020-07-17 Tom de Vries <tdevries@suse.de>
2120
2121 * gdb.dlang/circular.c (found): Use found_label as label name.
2122 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2123 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2124 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2125 * gdb.dwarf2/ada-linkage-name.exp: Same.
2126 * gdb.dwarf2/arr-subrange.exp: Same.
2127 * gdb.dwarf2/atomic-type.exp: Same.
2128 * gdb.dwarf2/comp-unit-lang.exp: Same.
2129 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2130 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2131 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2132 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2133 * gdb.dwarf2/implptr-64bit.exp: Same.
2134 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2135 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2136 * gdb.dwarf2/imported-unit.exp: Same.
2137 * gdb.dwarf2/main-subprogram.exp: Same.
2138 * gdb.dwarf2/missing-type-name.exp: Same.
2139 * gdb.dwarf2/nonvar-access.exp: Same.
2140 * gdb.dwarf2/struct-with-sig.exp: Same.
2141 * gdb.dwarf2/typedef-void-finish.exp: Same.
2142 * gdb.dwarf2/void-type.exp: Same.
2143
10da644d
TV
21442020-07-17 Tom de Vries <tdevries@suse.de>
2145
2146 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2147 src parameter.
2148 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2149 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2150 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2151 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2152 * gdb.dwarf2/dwz.exp: Same.
2153 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2154 * gdb.dwarf2/implref-array.exp: Same.
2155 * gdb.dwarf2/implref-const.exp: Same.
2156 * gdb.dwarf2/implref-global.exp: Same.
2157 * gdb.dwarf2/implref-struct.exp: Same.
2158 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2159 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2160 * gdb.dwarf2/var-access.exp: Same.
2161 * gdb.dwarf2/varval.exp: Same.
2162 * gdb.trace/entry-values.exp: Same.
2163
315e6afc
TV
21642020-07-17 Tom de Vries <tdevries@suse.de>
2165
2166 * lib/dwarf.exp (Dwarf::extern): Remove.
2167 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2168 * gdb.dlang/circular.exp: Same.
2169 * gdb.dwarf2/comp-unit-lang.exp: Same.
2170 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2171 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2172 * gdb.dwarf2/dwz.exp: Same.
2173 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2174 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2175 * gdb.dwarf2/imported-unit.exp: Same.
2176 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2177
5597c940
SL
21782020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2179
2180 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2181 Use double quotes instead of single quotes.
2182
d0ce17d8
CT
21832020-07-16 Caroline Tice <cmtice@google.com>
2184
2185 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2186 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2187
853772cc
TV
21882020-07-16 Tom de Vries <tdevries@suse.de>
2189
2190 * lib/dwarf.exp (program): Initialize _line.
2191 (DW_LNE_end_sequence): Reinitialize _line.
2192 (DW_LNS_advance_line): Update _line.
2193 (line): New proc.
2194 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2195 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2196 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2197 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2198 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2199 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2200
fe07b572
AB
22012020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2202
2203 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2204 generic.
2205
52781cce
TV
22062020-07-15 Tom de Vries <tdevries@suse.de>
2207
2208 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2209 is_amd64_regs_target.
2210
3dcc261c
AB
22112020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2212
2213 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2214 * gdb.fortran/ptype-on-functions.f90: Likewise.
2215
054a0959
SM
22162020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2217
2218 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2219 values in documentation for addr_size to 4 and 8.
2220
ccb9eba6
AB
22212020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2222
2223 * gdb.arch/amd64-osabi.exp: Update.
2224 * gdb.arch/arm-disassembler-options.exp: Update.
2225 * gdb.arch/powerpc-disassembler-options.exp: Update.
2226 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2227 * gdb.arch/s390-disassembler-options.exp: Update.
2228 * gdb.base/all-architectures.exp.tcl: Update.
2229 * gdb.base/attach-pie-noexec.exp: Update.
2230 * gdb.base/catch-syscall.exp: Update.
2231 * gdb.xml/tdesc-arch.exp: Update.
2232
025a39a7
TV
22332020-07-14 Tom de Vries <tdevries@suse.de>
2234
2235 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2236 (local_gettid): ... this.
2237 (fn): Update.
2238
74e4b667
SL
22392020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2240
2241 * gdb.base/info_sources.exp: Skip directory match tests on
2242 remote hosts.
2243
f413dd74
GB
22442020-07-13 Gary Benson <gbenson@redhat.com>
2245
2246 * gdb.base/savedregs.exp (caller): Use parentheses to
2247 make expected expression evaluation ordering explicit.
2248
915771bb
GB
22492020-07-13 Gary Benson <gbenson@redhat.com>
2250
2251 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2252
2a122642
GB
22532020-07-13 Gary Benson <gbenson@redhat.com>
2254
2255 * gdb.base/bigcore.c (main): Use a volatile pointer when
2256 attempting to trigger a SIGSEGV.
2257 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2258 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2259 * gdb.base/savedregs.c (thrower): Likewise.
2260 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2261
3f00c730
GB
22622020-07-13 Gary Benson <gbenson@redhat.com>
2263
2264 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2265 defining and using VLA structure fields into...
2266 * gdb.base/vla-struct-fields.c: New file.
2267 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2268 tests into...
2269 * gdb.base/vla-struct-fields.exp: New file.
2270
963eeee4
TV
22712020-07-13 Tom de Vries <tdevries@suse.de>
2272
2273 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2274 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2275 * gdb.base/gold-gdb-index.exp: Same.
2276 * gdb.base/morestack.exp: Same.
2277
0ed35c9a
DX
22782020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2279
2280 PR rust/26121
2281 * gdb.rust/modules.rs: Prevent linker from discarding test
2282 symbol.
2283
4fdba23d
PA
22842020-07-10 Pedro Alves <pedro@palves.net>
2285
2286 PR gdb/26199
2287 * gdb.multi/multi-target.c (exit_thread): New.
2288 (thread_start): Break loop if EXIT_THREAD.
2289 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2290 (top level) Call test_no_resumed.
2291
15f3b077
TT
22922020-07-08 Tom Tromey <tromey@adacore.com>
2293
2294 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2295 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2296
9fc501fd
AB
22972020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2298
2299 PR python/22748
2300 * gdb.opt/inline-frame-tailcall.c: New file.
2301 * gdb.opt/inline-frame-tailcall.exp: New file.
2302 * gdb.python/py-unwind-inline.c: New file.
2303 * gdb.python/py-unwind-inline.exp: New file.
2304 * gdb.python/py-unwind-inline.py: New file.
2305
64cb3757
AB
23062020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2307
2308 * gdb.python/py-arch-reg-groups.exp: New file.
2309
0f767f94
AB
23102020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2311
2312 * gdb.python/py-arch-reg-names.exp: New file.
2313
87dbc774
AB
23142020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2315
2316 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2317 gdb.PendingFrame.architecture method.
2318
d8cc8af6
TV
23192020-07-06 Tom de Vries <tdevries@suse.de>
2320
2321 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2322
3c8ea5be
PA
23232020-07-03 Pedro Alves <palves@redhat.com>
2324
2325 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2326 explicitly write negative numbers.
2327 * gdb.base/structs2.exp: Adjust expected output.
2328
bf90c83a
PA
23292020-07-03 Pedro Alves <palves@redhat.com>
2330
2331 * gdb.base/charset.c (init_string): Change all char parameters to
2332 unsigned char parameters.
2333
2eb82157
PA
23342020-07-03 Pedro Alves <palves@redhat.com>
2335
2336 * gdb.base/call-sc.exp (start_scalars_test): Use
2337 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2338 * gdb.base/overlays.c: Remove references to PARAMS.
2339 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2340 * gdb.base/reread.exp: Don't set 'prototypes' global.
2341 * gdb.base/structs.exp (start_structs_test): Use
2342 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2343 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2344 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2345 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2346 call.
2347 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2348
9adda7af
PA
23492020-07-03 Pedro Alves <palves@redhat.com>
2350
2351 * gdb.base/m32rovly.c: Delete.
2352 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2353
2a17c803
PW
23542020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2355
2356 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2357 of gdb_py_test_multiple.
2358 * gdb.python/py-cmd.exp: Likewise.
2359 * gdb.python/py-events.exp: Likewise.
2360 * gdb.python/py-function.exp: Likewise.
2361 * gdb.python/py-inferior.exp: Likewise.
2362 * gdb.python/py-infthread.exp: Likewise.
2363 * gdb.python/py-linetable.exp: Likewise.
2364 * gdb.python/py-parameter.exp: Likewise.
2365 * gdb.python/py-value.exp: Likewise.
2366
b011fe1a
TV
23672020-06-30 Tom de Vries <tdevries@suse.de>
2368
2369 PR testsuite/26175
2370 * lib/future.exp (gdb_default_target_compile): Detect and handle
2371 early_flags.
2372
df5b8876
SM
23732020-06-29 Simon Marchi <simon.marchi@efficios.com>
2374
2375 * boards/simavr.exp (gdb_load): Catch errors when closing
2376 previous connection. Close connection, wait for process and
2377 unset simavr_spawn_id on failure.
2378
a3ca48cd
TV
23792020-06-29 Tom de Vries <tdevries@suse.de>
2380
2381 * lib/gdb.exp (unknown): Make test-case unresolved.
2382
b0237c0e
TV
23832020-06-29 Tom de Vries <tdevries@suse.de>
2384
2385 PR gdb/25475
2386 * gdb.server/solib-list.exp: Verify that the symbol reload
2387 confirmation question is asked.
2388
c0b3b3bd
PW
23892020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2390
2391 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2392 have a input seq nr in each pass message.
fe4c3d43 2393 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
2394 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2395 * gdb.python/python.exp: Make test names unique,
2396 use gdb_test_multiline instead of gdb_py_test_multiple,
2397 use $gdb_test_name.
2398 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2399
1776e3e5
NA
24002020-06-26 Nick Alcock <nick.alcock@oracle.com>
2401
2402 * configure.ac: Add --enable-libctf.
2403 * aclocal.m4: sinclude ../config/enable.m4.
2404 * Makefile.in (site.exp): Add enable_libctf to site.exp.
2405 * lib/gdb.exp (skip_ctf_tests): Use it.
2406 * gdb.base/ctf-constvars.exp: Error message tweak.
2407 * gdb.base/ctf-ptype.exp: Likewise.
2408 * configure: Regenerate.
2409
f53b3eeb
GB
24102020-06-26 Gary Benson <gbenson@redhat.com>
2411
2412 * gdb.cp/try_catch.cc: Include string.h.
2413 (main): Replace comparison against string literal with
2414 strcmp, avoiding build failure with -Wstring-compare.
2415 Add "marker test-complete".
2416 * gdb.cp/try_catch.exp: Run the test to the above marker,
2417 then verify that the value of "test" is still true.
2418
6d74da72
AB
24192020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2420
2421 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2422
2e52d038
AB
24232020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2424
2425 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2426
3b9fce96
AB
24272020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2428
2429 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2430 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2431 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2432 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2433 * gdb.arch/riscv-tdesc-loading.exp: New file.
2434
ed69cbc8
AB
24352020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2436
2437 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2438
767a879e
AB
24392020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2440
2441 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2442 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2443 * gdb.arch/riscv-tdesc-regs.c: New file.
2444 * gdb.arch/riscv-tdesc-regs.exp: New file.
2445
221db974
PA
24462020-06-24 Pedro Alves <palves@redhat.com>
2447
2448 * gdb.arch/amd64-entry-value-paramref.exp: Use
2449 prepare_for_testing_full and don't pass "c++" for the .S file
2450 build spec.
2451 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2452 $options, since it's an assembly file. Remove -Wno-deprecated.
2453 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2454 compiling C++ programs.
2455
331733cd
PA
24562020-06-24 Pedro Alves <palves@redhat.com>
2457
2458 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2459 Clang, add "-Wno-unknown-warning-option" to the options.
2460
caa7fd04
AB
24612020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2462
2463 * gdb.xml/tdesc-reload.c: New file.
2464 * gdb.xml/tdesc-reload.exp: New file.
2465 * gdb.xml/maint-xml-dump-01.xml: New file.
2466 * gdb.xml/maint-xml-dump-02.xml: New file.
2467 * gdb.xml/maint-xml-dump.exp: New file.
2468
bb8d1260
SL
24692020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2470
2471 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2472 Adjust for omitted commands when TUI is disabled.
2473
7e4b9c4c
GB
24742020-06-23 Gary Benson <gbenson@redhat.com>
2475 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2478 * gdb.cp/nsimport.cc: Likewise.
2479 * gdb.cp/nsnested.cc: Likewise.
2480 * gdb.cp/nsnoimports.cc: Likewise.
2481 * gdb.cp/nsusing.cc: Likewise.
2482 * gdb.cp/smartp.cc: Likewise.
2483 * gdb.python/py-pp-integral.c: Likewise.
2484 * gdb.python/py-pp-re-notag.c: Likewise.
2485
2e573c0a
GB
24862020-06-23 Gary Benson <gbenson@redhat.com>
2487
2488 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2489 * gdb.cp/nsimport.cc: Likewise.
2490 * gdb.cp/nsnested.cc: Likewise.
2491 * gdb.cp/nsnoimports.cc: Likewise.
2492 * gdb.cp/nsusing.cc: Likewise.
2493 * gdb.cp/smartp.cc: Likewise.
2494 * gdb.python/py-pp-integral.c: Likewise.
2495 * gdb.python/py-pp-re-notag.c: Likewise.
2496
746ebfe8
PW
24972020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2498
2499 * gdb.base/default-args.exp: New test.
2500 * gdb.base/default-args.c: New file.
2501 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2502 * gdb.base/default.exp: Update to new help text.
2503 * gdb.base/help.exp: Likewise.
2504 * gdb.base/page.exp: Likewise.
2505 * gdb.base/style.exp: Likewise.
2506 * gdb.guile/guile.exp: Likewise.
2507 * gdb.python/python.exp: Likewise.
2508
e822f2cd
SL
25092020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2510
2511 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2512 remote host. Fix search path syntax on Windows host.
2513
48e9cc84
PW
25142020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2515
2516 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2517 over 'exec-file-mismatch'.
2518 * gdb.base/attach.c: Mark should_exit volatile.
2519 * gdb.base/attach2.c: Likewise. Add a comment explaining
2520 why the sleep cannot be big.
2521 * gdb.base/attach3.c: New file.
2522
160f8a8f
SL
25232020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2524
2525 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2526 prefix optional.
2527
4d91c2a4
SL
25282020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2529
2530 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2531 for remote host.
2532
87f83f20
SL
25332020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2534 Hafiz Abid Qadeer <abidh@codesourcery.com>
2535
2536 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2537 file sent to remote host.
2538 (top level): Allow int32_t as type of 32-bit register.
2539
37ab8655
TV
25402020-06-19 Tom de Vries <tdevries@suse.de>
2541
2542 * lib/gdb.exp (gdb_note): New proc.
2543 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2544 (gdb_default_target_compile): ... here. Only call
2545 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2546 (use_gdb_compile): Change to array.
2547 (toplevel): Update sets of use_gdb_compile to specify language.
2548 Warn about default_target_compile override. Store dejagnu's version
2549 of default_target_compile in dejagnu_default_target_compile.
2550
a8a56685
TV
25512020-06-18 Tom de Vries <tdevries@suse.de>
2552
2553 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2554 (default_gdb_init): ... here.
2555
581bea2c
SL
25562020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2557
2558 Fix TUI support checks in gdb.tui tests.
2559
2560 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2561 just say UNSUPPORTED.
2562 * gdb.tui/corefile-run.exp: Likewise.
2563 * gdb.tui/empty.exp: Likewise.
2564 * gdb.tui/list-before.exp: Likewise.
2565 * gdb.tui/list.exp: Likewise.
2566 * gdb.tui/main.exp: Likewise.
2567 * gdb.tui/regs.exp: Likewise.
2568 * gdb.tui/resize.exp: Likewise.
2569 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2570 * gdb.tui/tui-layout-asm.exp: Likewise.
2571 * gdb.tui/tui-missing-src.exp: Likewise.
2572 * gdb.tui/winheight.exp: Likewise.
2573 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2574
05e682e3
SL
25752020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2576
2577 Fix TCL error in gdb.python/py-format-string.exp.
2578
2579 * gdb.python/py-format-string.exp: Move test for python support
2580 earlier, out of function body.
2581
efb763a5
SM
25822020-06-15 Simon Marchi <simon.marchi@efficios.com>
2583
2584 * gdb.base/index-cache-load-twice.c: New.
2585 * gdb.base/index-cache-load-twice.exp: New.
2586
43327b20
KS
25872020-06-17 Keith Seitz <keiths@redhat.com>
2588
99cf27cf 2589 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
2590 when executing "gdb --configuration".
2591
081e778c
TV
25922020-06-17 Tom de Vries <tdevries@suse.de>
2593
2594 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2595 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2596 conditional on presence of gdb_tcl_unknown.
2597 (gdb_finish): Make override undo conditional on presence of
2598 gdb_tcl_unknown.
2599
d2d1ea20
TT
26002020-06-16 Tom Tromey <tom@tromey.com>
2601
2602 * gdb.python/tui-window.py (failwin): New function. Register it
2603 as a TUI window type.
2604 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2605
c802e8a7
GB
26062020-06-16 Gary Benson <gbenson@redhat.com>
2607
2608 * gdb.python/py-nested-maps.c (create_map): Add missing return
2609 value.
2610 (create_map_map): Likewise.
2611
ff08abb8
TBA
26122020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2613
2614 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2615 variable.
2616 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2617 and use the already-defined 'options' variable.
2618
a29d5112
AB
26192020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2620 Tom de Vries <tdevries@suse.de>
2621
2622 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2623 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2624 (gdb_setup_known_globals): New proc.
2625 (gdb_cleanup_globals): New proc.
2626 * lib/gdb.exp (load_lib): New override proc.
2627 (gdb_stdin_log_init): Set var in_file as persistent global.
2628 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2629 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2630 fpc_compiler as persistent global.
2631
8c74a764
TV
26322020-06-12 Tom de Vries <tdevries@suse.de>
2633
2634 * lib/tuiterm.exp (spawn): Rename to ...
2635 (tui_spawn): ... this.
2636 (toplevel): Move rename of spawn ...
2637 (gdb_init_tuiterm): ... here. New proc.
2638 (gdb_finish_tuiterm): New proc.
2639 * lib/gdb.exp (gdb_finish_hooks): New global var.
2640 (gdb_finish): Handle gdb_finish_hooks.
2641 (tuiterm_env): New proc.
2642 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2643 tuiterm_env.
2644 * gdb.tui/basic.exp: Same.
2645 * gdb.tui/corefile-run.exp: Same.
2646 * gdb.tui/empty.exp: Same.
2647 * gdb.tui/list-before.exp: Same.
2648 * gdb.tui/list.exp: Same.
2649 * gdb.tui/main.exp: Same.
2650 * gdb.tui/new-layout.exp: Same.
2651 * gdb.tui/regs.exp: Same.
2652 * gdb.tui/resize.exp: Same.
2653 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2654 * gdb.tui/tui-layout-asm.exp: Same.
2655 * gdb.tui/tui-missing-src.exp: Same.
2656 * gdb.tui/winheight.exp: Same.
2657
26783bce
TV
26582020-06-12 Tom de Vries <tdevries@suse.de>
2659
2660 PR testsuite/26110
2661 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2662 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2663
2b4e6a3f
TT
26642020-06-11 Tom Tromey <tom@tromey.com>
2665
2666 PR gdb/18318:
2667 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2668 floating point tests.
2669
2f33032a
KS
26702020-06-11 Keith Seitz <keiths@redhat.com>
2671
2672 PR gdb/21356
2673 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2674 vla_struct.
2675 Add new struct vla_typedef and union vla_typedef_union and
2676 corresponding instantiation objects.
2677 Initialize new objects.
2678 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2679 and vla_typedef_union_object.
2680 Fixup type for vla_struct_object.
2681
a8baf0a3
TV
26822020-06-11 Tom de Vries <tdevries@suse.de>
2683
2684 * lib/gdb.exp (with_override): New proc, factored out of ...
2685 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2686
7ab96794
TV
26872020-06-10 Tom de Vries <tdevries@suse.de>
2688
2689 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2690
cab5c3b7
SM
26912020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2692
2693 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2694 parameter, update callers.
2695
f8c41851
SM
26962020-06-04 Simon Marchi <simon.marchi@efficios.com>
2697
2698 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2699 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2700 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2701
1c07a73f
TV
27022020-06-04 Tom de Vries <tdevries@suse.de>
2703
2704 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2705
95146b5d
TV
27062020-06-04 Tom de Vries <tdevries@suse.de>
2707
2708 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2709 exp_continue.
2710
0cfcd4f0
TV
27112020-06-04 Tom de Vries <tdevries@suse.de>
2712
2713 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2714
f9b5d5ea
TV
27152020-06-03 Tom de Vries <tdevries@suse.de>
2716
2717 PR symtab/26046
2718 * gdb.cp/breakpoint-locs-2.cc: New test.
2719 * gdb.cp/breakpoint-locs.cc: New test.
2720 * gdb.cp/breakpoint-locs.exp: New file.
2721 * gdb.cp/breakpoint-locs.h: New test.
2722
5144dfba
TV
27232020-06-03 Tom de Vries <tdevries@suse.de>
2724
2725 PR testsuite/25609
2726 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2727 value of global verbose.
2728 * gdb.base/jit-elf.exp: Same.
2729 * gdb.base/jit-reader.exp: Same.
2730
621eacdf
TV
27312020-06-02 Tom de Vries <tdevries@suse.de>
2732
2733 * gdb.dwarf2/multidictionary.exp: Don't use
2734 gdb_spawn_with_cmdline_opts.
2735
1313c56e
AB
27362020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2737
2738 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2739 use_header case.
2740 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2741 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2742 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2743 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2744 * gdb.dwarf2/dw2-inline-header.c: New file.
2745 * gdb.dwarf2/dw2-inline-header.h: New file.
2746
f68f85b5
PA
27472020-05-30 Pedro Alves <palves@redhat.com>
2748
2749 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2750 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2751
678048e8
GB
27522020-05-29 Gary Benson <gbenson@redhat.com>
2753
2754 * gdb.compile/compile-cplus.exp (additional_flags): Also
2755 set when building with clang.
2756 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2757 when building with clang.
2758
9fcafd23
GB
27592020-05-29 Gary Benson <gbenson@redhat.com>
2760
2761 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2762 building with clang.
2763 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2764
735d5a07
GB
27652020-05-29 Gary Benson <gbenson@redhat.com>
2766
2767 * gdb.cp/koenig.exp (prepare_for_testing): Add
2768 additional_flags=-Wno-unused-comparison.
2769 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2770
4ad2c6a0
GB
27712020-05-28 Gary Benson <gbenson@redhat.com>
2772
2773 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2774 statement.
2775
09fe663e
GB
27762020-05-28 Gary Benson <gbenson@redhat.com>
2777
2778 * gdb.cp/classes.exp (prepare_for_testing): Add
2779 additional_flags=-Wno-deprecated-register.
2780 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2781 * gdb.cp/misc.exp: Likewise.
2782
cee00f17
GB
27832020-05-28 Gary Benson <gbenson@redhat.com>
2784
2785 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2786 (test_op_new::operator new): Add return statement.
2787 (test_op_new_array::operator new[]): Likewise.
2788
636edd00
PA
27892020-05-27 Pedro Alves <palves@redhat.com>
2790
2791 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2792 check. Use test_gdb_complete_unique instead of
2793 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2794 test_gdb_complete_multiple instead of
2795 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2796
c2b75043
LM
27972020-05-27 Luis Machado <luis.machado@linaro.org>
2798
2799 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2800 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2801 * gdb.arch/arm-disassembler-options.exp: Likewise.
2802 * gdb.arch/arm-disp-step.exp: Likewise.
2803 * gdb.arch/thumb-prologue.exp: Likewise.
2804 * gdb.base/async.exp: Likewise.
2805 * gdb.base/auxv.exp: Likewise.
2806 * gdb.base/complex-parts.exp: Likewise.
2807 * gdb.base/ena-dis-br.exp: Likewise.
2808 * gdb.base/foll-exec.exp: Likewise.
2809 * gdb.base/permissions.exp: Likewise.
2810 * gdb.base/relocate.exp: Likewise.
2811 * gdb.base/return2.exp: Likewise.
2812 * gdb.base/sigbpt.exp: Likewise.
2813 * gdb.base/siginfo-obj.exp: Likewise.
2814 * gdb.cp/converts.exp: Likewise.
2815 * gdb.cp/exceptprint.exp: Likewise.
2816 * gdb.cp/inherit.exp: Likewise.
2817 * gdb.cp/nsnoimports.exp: Likewise.
2818 * gdb.cp/virtbase2.exp: Likewise.
2819 * gdb.mi/mi-var-cmd.exp: Likewise.
2820 * gdb.mi/var-cmd.c: Likewise.
2821
53a47a3e
TT
28222020-05-26 Tom Tromey <tromey@adacore.com>
2823
2824 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2825
0bc2354b
TT
28262020-05-26 Tom Tromey <tromey@adacore.com>
2827
2828 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2829 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2830 type.
2831 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2832 variable.
2833
0db49895
CBG
28342020-05-26 Christian Biesinger <cbiesinger@google.com>
2835
2836 * Makefile.in: Use = instead of == for the test command
2837 for portability.
2838
40d22035
TV
28392020-05-26 Tom de Vries <tdevries@suse.de>
2840
2841 * gdb.base/gold-gdb-index-2.c: New test.
2842 * gdb.base/gold-gdb-index.c: New test.
2843 * gdb.base/gold-gdb-index.exp: New file.
2844 * gdb.base/gold-gdb-index.h: New test.
2845
043e2e02
TV
28462020-05-25 Tom de Vries <tdevries@suse.de>
2847
2848 * boards/gold-gdb-index.exp: New file.
2849
462f72c5
SM
28502020-05-25 Simon Marchi <simon.marchi@efficios.com>
2851
2852 * boards/simavr.exp: New file.
2853
6cf66e76
SM
28542020-05-25 Simon Marchi <simon.marchi@efficios.com>
2855
2856 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2857 * gdb.base/inferior-args.exp: New file.
2858 * gdb.base/inferior-args.c: New file.
2859
75d04512
SM
28602020-05-25 Simon Marchi <simon.marchi@efficios.com>
2861
2862 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2863 inferior_args. Pass it to gdb_reload.
2864 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2865 inferior_args.
2866 (gdb_reload): Add inferior_args argument.
2867 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2868 pass it to gdbserver_run.
2869 * boards/native-gdbserver.exp: Do not set noargs.
2870 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2871 inferior_args argument.
2872 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2873 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2874 * gdb.base/args.exp: Likewise.
2875
42cf1844
TV
28762020-05-25 Tom de Vries <tdevries@suse.de>
2877
2878 * lib/gdb.exp (exec_is_pie): Add comment.
2879
8f7d38ef
TV
28802020-05-25 Tom de Vries <tdevries@suse.de>
2881
2882 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2883 instead of $binfile in the untested message.
2884
465e1b0f
TV
28852020-05-25 Tom de Vries <tdevries@suse.de>
2886
2887 PR testsuite/26031
2888 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2889
3c5a0e02
TV
28902020-05-25 Tom de Vries <tdevries@suse.de>
2891
2892 * boards/gold.exp: New file.
2893
0a4f5f8c
TT
28942020-05-23 Tom Tromey <tom@tromey.com>
2895
2896 * gdb.base/style.exp: Remove completion styling test.
2897 * lib/gdb-utils.exp (style): Remove completion styles.
2898
eca1f90c
TT
28992020-05-23 Tom Tromey <tom@tromey.com>
2900
2901 * gdb.base/style.exp: Add completion styling test.
2902 * lib/gdb-utils.exp (style): Add completion styles.
2903
7c13f4e8
AB
29042020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2905
2906 * gdb.base/annota1.exp: Update expected results.
2907 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2908 test name.
2909 * gdb.cp/annota3.exp: Update expected results.
2910
41977d16
SM
29112020-05-20 Simon Marchi <simon.marchi@efficios.com>
2912
2913 PR gdb/26016
2914 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2915 against MAP_FAILED.
2916 * gdb.base/coremaker.c (mmapdata): Likewise.
2917 * gdb.base/jit-reader-host.c (main): Likewise.
2918 * gdb.base/sym-file-loader.c (load): Likewise.
2919 (load_shlib): Likewise.
2920
b4757f2e
TT
29212020-05-20 Tom Tromey <tromey@adacore.com>
2922
2923 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2924
9a0bacfb
TV
29252020-05-20 Tom de Vries <tdevries@suse.de>
2926
2927 PR symtab/25833
2928 * gdb.base/with-mf-inc.c: New test.
2929 * gdb.base/with-mf-main.c: New test.
2930 * gdb.base/with-mf.exp: New file.
2931
76571211
TT
29322020-05-19 Tom Tromey <tromey@adacore.com>
2933
2934 * gdb.rust/simple.exp: Restore missing test result.
2935
4cd9f3d5
TV
29362020-05-19 Tom de Vries <tdevries@suse.de>
2937
2938 * gdb.base/gdb-caching-proc.exp: Fix typo.
2939
7d874253
TT
29402020-05-19 Tom Tromey <tromey@adacore.com>
2941
2942 * gdb.rust/simple.exp: Add some test descriptions.
2943 (test_one_slice): Use with_test_prefix.
2944
1d727695
TV
29452020-05-18 Tom de Vries <tdevries@suse.de>
2946
2947 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2948
7f32a4d5
PA
29492020-05-17 Pedro Alves <palves@redhat.com>
2950
2951 PR gdb/25741
2952 * gdb.base/hw-sw-break-same-address.exp: New file.
2953
7cfd74cf
PA
29542020-05-16 Pedro Alves <palves@redhat.com>
2955
2956 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2957 LAST_LOADED_FILE accordingly.
2958
57b4f16e
PW
29592020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2960
2961 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2962
7c05caf7
PW
29632020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2964
2965 * gdb.base/help.exp: Test apropos and help for commands
2966 having aliases. Fixed comments not starting with an
2967 upper-case letter or not finishing with a dot.
2968
7aa1b46f
PW
29692020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2970
3b3aaacb
PW
2971 * gdb.base/alias.exp: Update help output check.
2972
57b4f16e 29732020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 2974
7aa1b46f
PW
2975 * gdb.base/default.exp: Update output following fixes.
2976
0605465f
PW
29772020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2978
2979 * gdb.base/alias.exp: Test aliases starting with a prefix of
2980 another alias.
2981
86e4e63d
GB
29822020-05-15 Gary Benson <gbenson@redhat.com>
2983
2984 * gdb.base/info-os.c (main): Add return statement.
2985 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2986 * gdb.base/large-frame-2.c (func): Likewise.
2987 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2988 * gdb.base/pr10179-b.c (foo2): Likewise.
2989 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2990 * gdb.base/watch-cond.c (func): Likewise.
2991 * gdb.multi/goodbye.c (verylongfun): Likewise.
2992 * gdb.multi/hello.c (commonfun): Likewise.
2993 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2994 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2995 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2996 Likewise.
2997 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2998 * gdb.threads/interrupt-while-step-over.c (child_function):
2999 Likewise.
3000 * gdb.trace/actions-changed.c (end): Likewise.
3001
163df4df
GB
30022020-05-15 Gary Benson <gbenson@redhat.com>
3003
3004 * gdb.opencl/callfuncs.exp: Report when test skipped.
3005 * gdb.opencl/convs_casts.exp: Likewise.
3006 * gdb.opencl/datatypes.exp: Likewise.
3007 * gdb.opencl/operators.exp: Likewise.
3008 * gdb.opencl/vec_comps.exp: Likewise.
3009
6dbc505a
TV
30102020-05-15 Tom de Vries <tdevries@suse.de>
3011
3012 * gdb.base/align.exp.in: Rename to ...
3013 * gdb.base/align.exp.tcl: ... this.
3014 * gdb.base/align-c++.exp: Update.
3015 * gdb.base/align-c.exp: Update.
3016 * gdb.base/all-architectures.exp.in: Rename to ...
3017 * gdb.base/all-architectures.exp: ... this.
3018 * gdb.base/all-architectures-0.exp: Update.
3019 * gdb.base/all-architectures-1.exp: Update.
3020 * gdb.base/all-architectures-2.exp: Update.
3021 * gdb.base/all-architectures-3.exp: Update.
3022 * gdb.base/all-architectures-4.exp: Update.
3023 * gdb.base/all-architectures-5.exp: Update.
3024 * gdb.base/all-architectures-6.exp: Update.
3025 * gdb.base/all-architectures-7.exp: Update.
3026 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3027 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3028 * gdb.base/infcall-nested-structs-c++.exp: Update.
3029 * gdb.base/infcall-nested-structs-c.exp: Update.
3030 * gdb.base/info-types.exp.in: Rename to ...
3031 * gdb.base/info-types.exp.tcl: ... this.
3032 * gdb.base/info-types-c++.exp: Update.
3033 * gdb.base/info-types-c.exp: Update.
3034 * gdb.base/max-depth.exp.in: Rename to ...
3035 * gdb.base/max-depth.exp.tcl: ... this.
3036 * gdb.base/max-depth-c++.exp: Update.
3037 * gdb.base/max-depth-c.exp: Update.
3038 * gdb.cp/cpexprs.exp.in: Rename to ...
3039 * gdb.cp/cpexprs.exp.tcl: ... this.
3040 * gdb.cp/cpexprs-debug-types.exp: Update.
3041 * gdb.cp/cpexprs.exp: Update.
3042 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3043 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3044 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3045 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3046 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3047 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3048 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3049 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3050 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3051 * gdb.dwarf2/clang-debug-names.exp: Update.
3052
d1034d78
AB
30532020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3054
3055 * lib/check-test-names.exp: Remove code that prevents this file
3056 loading when tests are run in parallel.
3057
3c5c3649
PA
30582020-05-15 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.multi/multi-kill.exp (start_inferior): Remove
3061 'testpid' parameter. Refer to namespace variable directly.
3062 (testpid): Declare as namespace variable.
3063
272c36b8
PA
30642020-05-15 Pedro Alves <palves@redhat.com>
3065
3066 * gdb.multi/multi-kill.exp: Wrap in namespace.
3067 (start_inferior): Add TESTPID parameter. Use it instead of the
3068 testpid global.
3069 (top level): Define empty TESTPID array, and pass it down to
3070 start_inferior.
3071
02eba61a
TV
30722020-05-14 Tom de Vries <tdevries@suse.de>
3073
3074 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3075 output.
3076
971a3747
TV
30772020-05-14 Tom de Vries <tdevries@suse.de>
3078
3079 * gdb.base/align.exp: Split into ...
3080 * gdb.base/align.exp.in: ...
3081 * gdb.base/align-c++.exp: ...
3082 * gdb.base/align-c.exp: ... these.
3083 * gdb.base/infcall-nested-structs.exp: Split into ...
3084 * gdb.base/infcall-nested-structs.exp.in: ...
3085 * gdb.base/infcall-nested-structs-c++.exp: ...
3086 * gdb.base/infcall-nested-structs-c.exp: ... these.
3087 * gdb.base/info-types.exp: Split into ...
3088 * gdb.base/info-types.exp.in: ...
3089 * gdb.base/info-types-c++.exp: ...
3090 * gdb.base/info-types-c.exp: ... these.
3091 * gdb.base/max-depth.exp: Split into ...
3092 * gdb.base/max-depth.exp.in: ...
3093 * gdb.base/max-depth-c++.exp: ...
3094 * gdb.base/max-depth-c.exp: ... these.
3095 * gdb.cp/infcall-nodebug.exp: Split into ...
3096 * gdb.cp/infcall-nodebug.exp.in: ...
3097 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3098 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3099 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3100 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3101
a05575d3
TBA
31022020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3103 Pedro Alves <palves@redhat.com>
3104
3105 * gdb.multi/multi-exit.c: New file.
3106 * gdb.multi/multi-exit.exp: New file.
3107 * gdb.multi/multi-kill.c: New file.
3108 * gdb.multi/multi-kill.exp: New file.
3109
6ad82919
TBA
31102020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3111
3112 * gdb.base/annota1.exp: Update the expected output.
3113 * gdb.cp/annota2.exp: Ditto.
3114
843f4d93
AB
31152020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3116
3117 * lib/check-test-names.exp: Disable when testing is being run in
3118 parallel.
3119
c7c66341
TV
31202020-05-12 Tom de Vries <tdevries@suse.de>
3121
3122 * gdb.base/jit-elf.exp: Fix string concat.
3123
1b59ca1c
TV
31242020-05-12 Tom de Vries <tdevries@suse.de>
3125
3126 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3127 messages.
3128
b4991d29
TV
31292020-05-12 Tom de Vries <tdevries@suse.de>
3130
3131 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3132
dbb0ab10
TV
31332020-05-12 Tom de Vries <tdevries@suse.de>
3134
3135 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3136 * gdb.ada/mi_catch_ex.exp: Same.
3137 * gdb.ada/mi_catch_ex_hand.exp: Same.
3138
7549fed8
TV
31392020-05-12 Tom de Vries <tdevries@suse.de>
3140
3141 * gdb.fortran/complex.exp: Use with_test_prefix.
3142
af2d5cd8
TV
31432020-05-12 Tom de Vries <tdevries@suse.de>
3144
3145 * gdb.trace/passcount.exp: Fix test-names.
3146
7c121311
TV
31472020-05-12 Tom de Vries <tdevries@suse.de>
3148
3149 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3150
c9f3b40e
TV
31512020-05-12 Tom de Vries <tdevries@suse.de>
3152
3153 * gdb.gdb/complaints.exp: Use with_test_prefix.
3154 * gdb.xml/tdesc-regs.exp: Same.
3155 * gdb.opt/inline-locals.exp: Fix test name.
3156
111b33f0
TV
31572020-05-12 Tom de Vries <tdevries@suse.de>
3158
3159 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3160 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3161 * gdb.dwarf2/implref-struct.exp: Same.
3162 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3163 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3164
ebf47080
SM
31652020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3166
3167 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3168
d30dcd12
AB
31692020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3170
3171 * lib/check-test-names.exp (all_test_names): New module variable.
3172 (counts): Add 'duplicates' field.
3173 (_check_duplicates): New procedure.
3174 (check): Also check for duplicates.
3175 (do_log_summary): Print duplicates count.
3176 (do_reset_vars): Reset counter for duplicate test names, and
3177 discard all know test names.
3178
34584c09
AB
31792020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * lib/gdb.exp: Include check-test-names.exp library.
3182 * lib/check-test-names.exp: New file.
3183
e0002117
TV
31842020-05-11 Tom de Vries <tdevries@suse.de>
3185
3186 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3187
53f539a3
KS
31882020-05-11 Keith Seitz <keiths@redhat.com>
3189
3190 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3191
113ee09a
TV
31922020-05-11 Tom de Vries <tdevries@suse.de>
3193
3194 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3195 * gdb.cp/cpexprs.exp.in: .. here.
3196 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3197 cpexprs.exp.
3198
ba3e70b0
KS
31992020-05-11 Keith Seitz <keiths@redhat.com>
3200
3201 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3202 test names.
3203 * gdb.ada/arrayptr.exp: Likewise.
3204 * gdb.ada/assign_arr.exp: Likewise.
3205 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3206 * gdb.ada/bp_on_var.exp: Likewise.
3207 * gdb.ada/call_pn.exp: Likewise.
3208 * gdb.ada/complete.exp: Likewise.
3209 * gdb.ada/fun_overload_menu.exp: Likewise.
3210 * gdb.ada/funcall_param.exp: Likewise.
3211 * gdb.ada/funcall_ref.exp: Likewise.
3212 * gdb.ada/packed_array_assign.exp: Likewise.
3213 * gdb.ada/same_component_name.exp: Likewise.
3214 * gdb.ada/type_coercion.exp: Likewise.
3215 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3216 * gdb.ada/variant_record_packed_array.exp: Likewise.
3217
3ee6bb11
TV
32182020-05-11 Tom de Vries <tdevries@suse.de>
3219
3220 PR symtab/25941
3221 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3222 out of ...
3223 * gdb.dwarf2/clang-debug-names.exp: ... here.
3224 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3225 clang-debug-names.exp.in.
3226 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3227 * gdb.dwarf2/clang-debug-names-2.c: New test.
3228
86cd6bc8
AKS
32292020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3230
3231 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3232 (fortran_runto_main): New Proc, fortran version of runto_main.
3233 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3234 * gdb.fortran/array-bounds.exp: Likewise.
3235 * gdb.fortran/array-slices.exp: Likewise.
3236 * gdb.fortran/block-data.exp: Likewise.
3237 * gdb.fortran/charset.exp: Likewise.
3238 * gdb.fortran/common-block.exp: Likewise.
3239 * gdb.fortran/complex.exp: Likewise.
3240 * gdb.fortran/derived-type-function.exp: Likewise.
3241 * gdb.fortran/derived-type.exp: Likewise.
3242 * gdb.fortran/info-modules.exp: Likewise.
3243 * gdb.fortran/info-types.exp: Likewise.
3244 * gdb.fortran/intrinsics.exp: Likewise.
3245 * gdb.fortran/library-module.exp: Likewise.
3246 * gdb.fortran/logical.exp: Likewise.
3247 * gdb.fortran/max-depth.exp: Likewise.
3248 * gdb.fortran/module.exp: Likewise.
3249 * gdb.fortran/multi-dim.exp: Likewise.
3250 * gdb.fortran/nested-funcs.exp: Likewise.
3251 * gdb.fortran/print-formatted.exp: Likewise.
3252 * gdb.fortran/print_type.exp: Likewise.
3253 * gdb.fortran/printing-types.exp: Likewise.
3254 * gdb.fortran/ptr-indentation.exp: Likewise.
3255 * gdb.fortran/ptype-on-functions.exp: Likewise.
3256 * gdb.fortran/subarray.exp: Likewise.
3257 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3258 * gdb.fortran/vla-datatypes.exp: Likewise.
3259 * gdb.fortran/vla-history.exp: Likewise.
3260 * gdb.fortran/vla-ptr-info.exp: Likewise.
3261 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3262 * gdb.fortran/vla-ptype.exp: Likewise.
3263 * gdb.fortran/vla-sizeof.exp: Likewise.
3264 * gdb.fortran/vla-type.exp: Likewise.
3265 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3266 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3267 * gdb.fortran/vla-value-sub.exp: Likewise.
3268 * gdb.fortran/vla-value.exp: Likewise.
3269 * gdb.fortran/whatis_type.exp: Likewise.
3270 * gdb.mi/mi-var-child-f.exp: Likewise.
3271
6dc55ce9 32722020-05-09 Tom de Vries <tdevries@suse.de>
3273
3274 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3275
283cb58c
TV
32762020-05-08 Tom de Vries <tdevries@suse.de>
3277
3278 * gdb.dwarf2/clang-debug-names.c: New test.
3279 * gdb.dwarf2/clang-debug-names.exp: New file.
3280
ac4a4f1c
SM
32812020-05-06 Simon Marchi <simon.marchi@efficios.com>
3282
3283 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3284 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3285
24fe640b
TV
32862020-05-06 Tom de Vries <tdevries@suse.de>
3287
3288 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3289 breakpoint is at a "recommended breakpoint location".
3290 * gdb.reverse/consecutive-reverse.exp: Same.
3291
0d8683a3
TV
32922020-05-06 Tom de Vries <tdevries@suse.de>
3293
3294 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3295 address.
3296
b8983c46
TV
32972020-05-06 Tom de Vries <tdevries@suse.de>
3298
3299 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3300
abf6d805
TV
33012020-05-06 Tom de Vries <tdevries@suse.de>
3302
3303 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3304 info for r.
3305
0fc2a808
TV
33062020-05-06 Tom de Vries <tdevries@suse.de>
3307
3308 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3309 necessary.
3310
873dd427
TV
33112020-05-06 Tom de Vries <tdevries@suse.de>
3312
3313 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3314 void.
3315
7c99e7e2
TV
33162020-05-06 Tom de Vries <tdevries@suse.de>
3317
3318 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3319 of ...
3320 * gdb.base/async.exp: ... here.
3321 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3322 "recommended breakpoint location".
3323
6173d6a6
TV
33242020-05-06 Tom de Vries <tdevries@suse.de>
3325
3326 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3327
6015a067
TV
33282020-05-04 Tom de Vries <tdevries@suse.de>
3329
3330 * gdb.base/async.exp: Check whether instruction addresses are a
3331 "recommended breakpoint location".
3332
3b6acaee
TT
33332020-05-03 Tom Tromey <tom@tromey.com>
3334
3335 * gdb.base/sepdebug.exp: Remove "catch" test.
3336 * gdb.base/break.exp: Remove "catch" test.
3337 * gdb.base/default.exp: Update expected output.
3338
5beb4d17
TV
33392020-05-02 Tom de Vries <tdevries@suse.de>
3340
3341 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3342 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3343 * gdb.arch/i386-mpx-map.exp: Same.
3344 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3345 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3346 * gdb.arch/i386-mpx.exp: Same.
3347
8caf140d
TV
33482020-05-02 Tom de Vries <tdevries@suse.de>
3349
3350 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3351
693196cb
TV
33522020-05-01 Tom de Vries <tdevries@suse.de>
3353
3354 * gdb.ada/operator_bp.exp: Allow more than required amount of
3355 breakpoint.
3356
53ae0aa9
TV
33572020-05-01 Tom de Vries <tdevries@suse.de>
3358
3359 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3360
ee9d1e5f
HD
33612020-04-30 Hannes Domani <ssbssa@yahoo.de>
3362
3363 PR gdb/18706
3364 * gdb.cp/stub-array-size.cc: New test.
3365 * gdb.cp/stub-array-size.exp: New file.
3366 * gdb.cp/stub-array-size.h: New test.
3367 * gdb.cp/stub-array-size2.cc: New test.
3368
d5cf82c0
HD
33692020-04-30 Hannes Domani <ssbssa@yahoo.de>
3370
3371 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3372 output to the new format.
3373
42e165c3
SM
33742020-04-29 Simon Marchi <simon.marchi@efficios.com>
3375
3376 * gdb.base/break.exp: Use with_test_prefix.
3377
6e4e3fe1
TV
33782020-04-29 Tom de Vries <tdevries@suse.de>
3379
3380 * lib/gdb.exp (debug_types): New proc.
3381 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3382 * gdb.python/py-symtab.exp: Same.
3383
d642b692
HD
33842020-04-29 Hannes Domani <ssbssa@yahoo.de>
3385
3386 PR gdb/17320
3387 * gdb.base/pretty-array.c: New test.
3388 * gdb.base/pretty-array.exp: New file.
3389
ea90f227
TV
33902020-04-29 Tom de Vries <tdevries@suse.de>
3391
3392 PR symtab/25889
3393 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3394 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3395 and include cpexprs.exp.
3396
a65189c9
TV
33972020-04-28 Mark Williams <mark@myosotissp.com>
3398
3399 PR gdb/24480
3400 * dw4-toplevel-types.exp: Test for top level types.
3401 * dw4-toplevel-types.cc: Test for top level types.
3402
32d1f47a
TBA
34032020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3404
3405 * gdb.threads/stop-with-handle.exp: Fix typo in comment
3406 (theads -> threads).
3407
56a4f5a1
TV
34082020-04-28 Tom de Vries <tdevries@suse.de>
3409
3410 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3411
0b2f8a3b
TV
34122020-04-28 Tom de Vries <tdevries@suse.de>
3413
3414 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3415
5390c717
TV
34162020-04-28 Tom de Vries <tdevries@suse.de>
3417
3418 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3419
15cd93d0
TV
34202020-04-28 Tom de Vries <tdevries@suse.de>
3421
3422 * gdb.dwarf2/main-foo.c: New test.
3423 * gdb.dwarf2/struct-with-sig.exp: New file.
3424
d472f0fb
TV
34252020-04-25 Tom de Vries <tdevries@suse.de>
3426
3427 * boards/debug-types.exp: New file.
3428
8d840e05
AB
34292020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3430
3431 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3432
bcfe6157
TT
34332020-04-24 Tom Tromey <tom@tromey.com>
3434
3435 PR symtab/12707:
3436 * gdb.python/py-symbol.exp: Update expected results for
3437 linkage_name test.
3438 * gdb.cp/print-demangle.exp: New file.
3439 * gdb.base/c-linkage-name.exp: Fix test.
3440 * gdb.guile/scm-symbol.exp: Update expected results for
3441 linkage_name test.
3442
f049a313
TT
34432020-04-24 Tom Tromey <tom@tromey.com>
3444
3445 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3446 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3447 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3448 assembler.
3449
7cf28874
TV
34502020-04-24 Tom de Vries <tdevries@suse.de>
3451
3452 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3453 C++.
3454
dac2fef7
TT
34552020-04-24 Tom Tromey <tromey@adacore.com>
3456
3457 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3458 values.
3459 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3460 values. Update test for minimal encodings.
3461 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3462 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3463 values. Update test for minimal encodings.
3464
1acda803
TT
34652020-04-24 Tom Tromey <tromey@adacore.com>
3466
3467 PR python/23662:
3468 * gdb.ada/variant.exp: Add Python checks.
3469 * gdb.rust/simple.exp: Add dynamic type checks.
3470
adfb9815
TT
34712020-04-24 Tom Tromey <tromey@adacore.com>
3472
3473 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3474 Make array type matching more lax.
3475 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3476 * gdb.ada/mi_variant.exp: New file.
3477 * gdb.ada/mi_variant/pck.ads: New file.
3478 * gdb.ada/mi_variant/pkg.adb: New file.
3479 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3480 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3481
7d79de9a
TT
34822020-04-24 Tom Tromey <tromey@adacore.com>
3483
3484 * gdb.ada/variant.exp: Add dynamic field offset tests.
3485 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3486 * gdb.ada/variant/pkg.adb: Add new variables.
3487
f8e89861
TT
34882020-04-24 Tom Tromey <tromey@adacore.com>
3489
3490 * gdb.ada/variant.exp: New file
3491 * gdb.ada/variant/pkg.adb: New file
3492 * gdb.ada/variant/pck.adb: New file
3493
86e887ae
TV
34942020-04-24 Tom de Vries <tdevries@suse.de>
3495
3496 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3497
88428775
TV
34982020-04-24 Tom de Vries <tdevries@suse.de>
3499
3500 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3501 flags.
3502
4e86f6e7
TV
35032020-04-24 Tom de Vries <tdevries@suse.de>
3504
3505 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3506
2016d3e6
TV
35072020-04-24 Tom de Vries <tdevries@suse.de>
3508
3509 * lib/gdb.exp (default_gdb_start): Handle eof.
3510 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3511 failure.
3512 * gdb.base/readnever.exp: Handle clean_restart failure.
3513
70bc38f5
TV
35142020-04-23 Tom de Vries <tdevries@suse.de>
3515
3516 * gdb.base/decl-before-def.exp: Run to main and print a again.
3517
de82891c
TV
35182020-04-23 Tom de Vries <tdevries@suse.de>
3519
3520 * gdb.base/decl-before-def-decl.c: New test.
3521 * gdb.base/decl-before-def-def.c: New test.
3522 * gdb.base/decl-before-def.exp: New file.
3523
96038148
TV
35242020-04-23 Tom de Vries <tdevries@suse.de>
3525
3526 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3527
54ac3df1
TV
35282020-04-22 Tom de Vries <tdevries@suse.de>
3529
3530 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3531 debug_info_offset.
3532 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3533 before $objsfile in the line line.
3534
714534e1
TV
35352020-04-22 Tom de Vries <tdevries@suse.de>
3536
3537 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3538
16a7dbf4
MS
35392020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3540
3541 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3542 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3543 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3544 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3545 * gdb.base/jit-protocol.h: Update definitions to match all usage
3546 contexts.
3547
35482020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3549
3550 * gdb.base: Rename all jit related test and source files.
3551
35522020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3553
3554 * gdb.base/jit-reader.exp: Relax register output check.
3555
317d2668
TV
35562020-04-22 Tom de Vries <tdevries@suse.de>
3557
3558 PR symtab/25764
3559 * gdb.base/psym-external-decl-2.c: New test.
3560 * gdb.base/psym-external-decl.c: New test.
3561 * gdb.base/psym-external-decl.exp: New file.
3562 * gdb.threads/tls.exp: Add PR25807 kfail.
3563
eea9e357
TV
35642020-04-22 Tom de Vries <tdevries@suse.de>
3565
3566 PR symtab/25801
3567 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3568 in "info source" output.
3569
3d5afab3
TV
35702020-04-22 Tom de Vries <tdevries@suse.de>
3571
3572 PR symtab/25700
3573 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3574 symtab for imported_unit.c.
3575
b32102f6
GB
35762020-04-21 Gary Benson <gbenson@redhat.com>
3577
3578 * gdb.base/advance.c (func): New argument, to match call site.
3579 (func2, func3): Add return statements.
3580
d43b7a2d
TBA
35812020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3582
3583 * gdb.multi/run-only-second-inf.c: New file.
3584 * gdb.multi/run-only-second-inf.exp: New file.
3585
d89edf9b
MM
35862020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3587
3588 * gdb.btrace/multi-inferior.c: New test.
3589 * gdb.btrace/multi-inferior.exp: New file.
3590
1a476b6d
MM
35912020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3592
3593 * gdb.btrace/enable-new-thread.c: New test.
3594 * gdb.btrace/enable-new-thread.exp: New file.
3595
4778a5f8
TV
35962020-04-21 Tom de Vries <tdevries@suse.de>
3597
3598 PR gdb/25471
3599 * gdb.threads/killed-outside.c: New test.
3600 * gdb.threads/killed-outside.exp: New file.
3601
9b2c992c
GB
36022020-04-20 Gary Benson <gbenson@redhat.com>
3603
3604 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3605 * gdb.base/nested-subp2.exp: Likewise.
3606 * gdb.base/nested-subp3.exp: Likewise.
3607
b5d1d6f7
GB
36082020-04-20 Gary Benson <gbenson@redhat.com>
3609
3610 * gdb.base/nested-subp1.exp: Disable test when using clang.
3611 * gdb.base/nested-subp2.exp: Likewise.
3612 * gdb.base/nested-subp3.exp: Likewise.
3613
25230285
GB
36142020-04-20 Gary Benson <gbenson@redhat.com>
3615
3616 * gdb.cp/exception.cc: Fix compilation error with clang.
3617
fa93cc8f
GB
36182020-04-20 Gary Benson <gbenson@redhat.com>
3619
809730f3 3620 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 3621
e0c45f30
GB
36222020-04-20 Gary Benson <gbenson@redhat.com>
3623
3624 * gdb.base/jit-main.c: Fix compilation error with clang.
3625
4ddfec93
KR
36262020-04-17 Kamil Rytarowski <n54@gmx.com>
3627
3628 * gdb.base/attach-twice.c: Include "sys/types.h".
3629 (PTRACE_ATTACH): Add fallback definition.
3630 (main): Pass `0' to the 4th argument of `ptrace'.
3631
2bed205e
KR
36322020-04-17 Kamil Rytarowski <n54@gmx.com>
3633
3634 * gdb.base/fork-running-state.c: Include "signal.h".
3635
0743fc83
TT
36362020-04-17 Tom Tromey <tromey@adacore.com>
3637
3638 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3639 Update tests.
3640 * gdb.btrace/cpu.exp: Update tests.
3641 * gdb.base/maint.exp: Update tests.
3642 * gdb.base/default.exp: Update tests.
3643 * gdb.base/completion.exp: Update tests.
3644
efba5c23
TV
36452020-04-16 Tom de Vries <tdevries@suse.de>
3646
3647 PR symtab/25791
3648 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3649 (ensure_gdb_index): and factor out and move ...
3650 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3651 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3652
d191d716
TV
36532020-04-16 Tom de Vries <tdevries@suse.de>
3654
3655 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3656 loading exec.
3657
99f1bc6a
AB
36582020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3659
3660 * gdb.base/many-completions.exp: New file.
3661
194d088f
TV
36622020-04-14 Tom de Vries <tdevries@suse.de>
3663
3664 PR symtab/25718
3665 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3666
c1a66c06
TV
36672020-04-14 Tom de Vries <tdevries@suse.de>
3668
3669 PR symtab/25720
3670 * gdb.base/maint-expand-symbols-header-file.c: New test.
3671 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3672 * gdb.base/maint-expand-symbols-header-file.h: New test.
3673
21b0982c
AB
36742020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3675
3676 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3677 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3678 get_func_info.
3679 (get_func_info): Delete.
3680 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3681 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3682 * lib/dwarf.exp (get_func_info): New function.
3683
dd1cab06
TV
36842020-04-13 Tom de Vries <tdevries@suse.de>
3685
3686 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3687 to what find_gnatmake does.
3688
71ea2b6b
TV
36892020-04-10 Tom de Vries <tdevries@suse.de>
3690
3691 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3692 -readnow.
3693
bdfc1e8a
TV
36942020-04-10 Tom de Vries <tdevries@suse.de>
3695
3696 PR cli/25808
3697 * gdb.base/style.c: Add leading newlines.
3698 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3699 Check listing of main's one-line body.
3700
14ca8ecf
TV
37012020-04-08 Tom de Vries <tdevries@suse.de>
3702
3703 * lib/gdb.exp (psymtabs_p): New proc.
3704 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3705 importing unit" unsupported if there are no partial symbols.
3706
e21d048f
TV
37072020-04-08 Tom de Vries <tdevries@suse.de>
3708
3709 PR testsuite/25760
3710 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3711
25c11aca
TV
37122020-04-07 Tom de Vries <tdevries@suse.de>
3713
3714 PR symtab/25796
3715 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3716
5707e24b
TV
37172020-04-07 Tom de Vries <tdevries@suse.de>
3718
3719 * gdb.base/check-psymtab.c: New test.
3720 * gdb.base/check-psymtab.exp: New file.
3721
6ee448cc
TT
37222020-04-06 Tom Tromey <tromey@adacore.com>
3723
3724 * gdb.ada/variant-record/proc.adb: New file.
3725 * gdb.ada/variant-record/value.adb: New file.
3726 * gdb.ada/variant-record/value.s: New file.
3727 * gdb.ada/variant-record.exp: New file.
3728
9e7c9a03
HD
37292020-04-03 Hannes Domani <ssbssa@yahoo.de>
3730
3731 PR gdb/25325
3732 * gdb.cp/typed-enum.cc: New test.
3733 * gdb.cp/typed-enum.exp: New file.
3734
c90d28ac
AB
37352020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3736
3737 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3738 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3739 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3740 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3741 * gdb.opt/inline-small-func.c: New file.
3742 * gdb.opt/inline-small-func.exp: New file.
3743 * gdb.opt/inline-small-func.h: New file.
3744
34e9a9fa
AB
37452020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3746
3747 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3748 function.
3749
6a354911
AB
37502020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3751
3752 * lib/dwarf.exp (function_range): Allow compiler options to be
3753 specified.
3754
880d9777
TV
37552020-04-02 Tom de Vries <tdevries@suse.de>
3756
3757 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3758 __attribute__((always_inline)).
3759 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3760
f32682ea
TV
37612020-04-02 Tom de Vries <tdevries@suse.de>
3762
3763 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3764 (gdbserver_gdb_exit): ... here. Add timeout warning.
3765 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3766 (connect_target_extended_remote): Append new server_spawn_id to
3767 server_spawn_ids.
3768 (cleanup): New proc.
3769 (setup, <toplevel>): Call cleanup.
3770
d3214198
TV
37712020-04-02 Tom de Vries <tdevries@suse.de>
3772
3773 * gdb.base/main-psymtab.exp: New file.
3774
cc77ed24
TV
37752020-04-02 Tom de Vries <tdevries@suse.de>
3776
3777 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3778
3638a098
TT
37792020-04-01 Tom Tromey <tom@tromey.com>
3780
3781 * gdb.base/complex-parts.exp: Add type tests.
3782
c34e8714
TT
37832020-04-01 Tom Tromey <tom@tromey.com>
3784
3785 * gdb.base/complex-parts.exp: Add arithmetic tests.
3786
981c08ce
TT
37872020-04-01 Tom Tromey <tom@tromey.com>
3788
3789 * gdb.compile/compile.exp: Update.
3790 * gdb.compile/compile-cplus.exp: Update.
3791 * gdb.base/varargs.exp: Update.
3792 * gdb.base/floatn.exp: Update.
3793 * gdb.base/endianity.exp: Update.
3794 * gdb.base/callfuncs.exp (do_function_calls): Update.
3795 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3796 (complex_float_integral_args): Update.
3797 * gdb.base/complex.exp: Update.
3798 * gdb.base/complex-parts.exp: Update.
3799
3d1cfd43
TT
38002020-04-01 Tom Tromey <tromey@adacore.com>
3801
3802 * gdb.rust/union.rs: New file.
3803 * gdb.rust/union.exp: New file.
3804 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3805 (main): Update.
3806 * gdb.rust/simple.exp: Move union tests to union.exp.
3807
e033dfa9
TT
38082020-04-01 Tom Tromey <tromey@adacore.com>
3809
3810 * gdb.rust/simple.rs (main): Remove "y0".
3811
53cccef1
TBA
38122020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3813
3814 * gdb.multi/stop-all-on-exit.c: New test.
3815 * gdb.multi/stop-all-on-exit.exp: New file.
3816
60e22c1e
HD
38172020-04-01 Hannes Domani <ssbssa@yahoo.de>
3818
3819 PR gdb/24789
3820 * gdb.cp/misc.cc: Add integer reference variable.
3821 * gdb.cp/misc.exp: Add test.
3822
e139a727
TBA
38232020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3824
3825 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3826 scenario to cover execution until the end and also the case
3827
16b0db75
TV
38282020-03-31 Tom de Vries <tdevries@suse.de>
3829
3830 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3831 c. Use "maint info symtabs" to check symtab expansion.
3832
c0502da6
TV
38332020-03-30 Tom de Vries <tdevries@suse.de>
3834
3835 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3836 unsupported.
3837 (verify_psymtab_expanded): Move ...
3838 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3839 test.
3840 (readnow): New proc.
3841
5935fd15
AB
38422020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3843
3844 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3845 with $hex.
3846
1773be9e
TT
38472020-03-20 Tom Tromey <tromey@adacore.com>
3848
3849 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3850
70304be9
TT
38512020-03-20 Tom Tromey <tromey@adacore.com>
3852
3853 * gdb.ada/sub_variant/subv.adb: New file.
3854 * gdb.ada/sub_variant.exp: New file.
3855
0dd7b8f7
TV
38562020-03-20 Tom de Vries <tdevries@suse.de>
3857
3858 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3859 first break fails.
3860 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3861
cada5fc9
AB
38622020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3863
3864 * gdb.server/exit-multiple-threads.c: New file.
3865 * gdb.server/exit-multiple-threads.exp: New file.
3866
6b8c53f2
AB
38672020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3868
3869 * gdb.fortran/mixed-lang-stack.c: New file.
3870 * gdb.fortran/mixed-lang-stack.cpp: New file.
3871 * gdb.fortran/mixed-lang-stack.exp: New file.
3872 * gdb.fortran/mixed-lang-stack.f90: New file.
3873
19a2740f
AB
38742020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3875
3876 * gdb.linespec/cp-completion-aliases.cc: New file.
3877 * gdb.linespec/cp-completion-aliases.exp: New file.
3878
d8c8b848
TV
38792020-03-19 Tom de Vries <tdevries@suse.de>
3880
3881 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3882 more precise.
3883
a9933ccf
TV
38842020-03-18 Tom de Vries <tdevries@suse.de>
3885
3886 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3887 * gdb.dwarf2/break-inline-psymtab.c: New test.
3888 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3889
2f89101f
TV
38902020-03-16 Tom de Vries <tdevries@suse.de>
3891
3892 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3893 cache_verify and cache_verify_proc.
3894
6b9374f1
TV
38952020-03-15 Tom de Vries <tdevries@suse.de>
3896
3897 * gdb.server/solib-list.exp: Handle
3898 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3899
eaeaf44c
TV
39002020-03-15 Tom de Vries <tdevries@suse.de>
3901
3902 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3903 objfiles".
3904
3293bbaf
TT
39052020-03-14 Tom Tromey <tom@tromey.com>
3906
3907 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3908
ab44624c
TV
39092020-03-14 Tom de Vries <tdevries@suse.de>
3910
3911 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3912
54c43825
TV
39132020-03-14 Tom de Vries <tdevries@suse.de>
3914
3915 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3916 result in line-by-line fashion.
3917
2ac70237
TV
39182020-03-14 Tom de Vries <tdevries@suse.de>
3919
3920 * lib/gdb.exp (supports_statement_frontiers): New proc.
3921 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3922
09546b56
TV
39232020-03-14 Tom de Vries <tdevries@suse.de>
3924
3925 * gdb.base/printcmds.exp: Add missing quoting for "print
3926 teststring2".
3927
a1f6a07c
TT
39282020-03-13 Tom Tromey <tom@tromey.com>
3929
3930 * gdb.base/printcmds.exp (test_print_strings): Add regression
3931 test.
3932 * gdb.base/printcmds.c (charptr): New typedef.
3933 (teststring2): New global.
3934
1b83d09c
AB
39352020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3936
3937 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3938 full path in the test name.
3939 (test_ld): Add some with_test_prefix blocks to make test names
3940 unique.
3941
2d61316c
TV
39422020-03-13 Tom de Vries <tdevries@suse.de>
3943
3944 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3945
2e9145ac
TV
39462020-03-13 Tom de Vries <tdevries@suse.de>
3947
3948 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3949
96c7f873
TV
39502020-03-13 Tom de Vries <tdevries@suse.de>
3951
3952 PR symtab/25646
3953 * gdb.dwarf2/imported-unit.exp: Add test.
3954
49ba92c0
TV
39552020-03-13 Tom de Vries <tdevries@suse.de>
3956
3957 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3958 (var1, var2): New variable.
3959 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3960 matching symbols.
3961
301b21e0
TV
39622020-03-13 Tom de Vries <tdevries@suse.de>
3963
3964 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3965 (Term::command): Use prompt prefix.
3966 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3967 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3968 command_no_prompt_prefix instead of prefix.
3969 * gdb.tui/tui-layout-asm.exp: Same.
3970
3f512721
SM
39712020-03-12 Simon Marchi <simon.marchi@efficios.com>
3972
3973 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3974
40310f30
SM
39752020-03-12 Simon Marchi <simon.marchi@efficios.com>
3976
3977 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3978 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3979 on" while stepping over the test instruction, match printed
3980 message.
3981
09252140
TV
39822020-03-12 Tom de Vries <tdevries@suse.de>
3983
3984 * gdb.base/info-types.exp: Use exp_continue during matching of output
3985 of "info types".
3986
14e9c72c
TV
39872020-03-12 Tom de Vries <tdevries@suse.de>
3988
3989 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3990
e515d67e
TV
39912020-03-12 Tom de Vries <tdevries@suse.de>
3992
3993 * gdb.fortran/module.exp: Use exp_continue during matching of output
3994 of "info variable -n".
3995
307eafd8
TV
39962020-03-12 Tom de Vries <tdevries@suse.de>
3997
3998 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3999 gdb.dwarf2/dw2-ranges-base.c.
4000
9a2de3fc
TV
40012020-03-12 Tom de Vries <tdevries@suse.de>
4002
4003 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4004 in presence of GLIBC debuginfo.
4005
3217502e
TV
40062020-03-12 Tom de Vries <tdevries@suse.de>
4007
4008 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4009 $core.
4010
1281424c
TV
40112020-03-12 Tom de Vries <tdevries@suse.de>
4012
4013 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4014 more precise.
4015
038b97fc
SM
40162020-03-11 Simon Marchi <simon.marchi@efficios.com>
4017
4018 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4019 from Unix to Windows path.
4020
5308d1e7
TV
40212020-03-11 Tom de Vries <tdevries@suse.de>
4022
4023 * gdb.ada/minsyms.exp: Set language to ada.
4024
f870f78f
TV
40252020-03-11 Tom de Vries <tdevries@suse.de>
4026
4027 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4028
5a13315d
TV
40292020-03-11 Tom de Vries <tdevries@suse.de>
4030
4031 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4032
976862ed
TT
40332020-03-11 Tom Tromey <tromey@adacore.com>
4034
4035 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4036
7462c383
TV
40372020-03-11 Tom de Vries <tdevries@suse.de>
4038
4039 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4040
1c6c46a0
TV
40412020-03-11 Tom de Vries <tdevries@suse.de>
4042
4043 * gdb.base/break-interp.exp: Limit verbose scope.
4044
44f41bb7
TV
40452020-03-11 Tom de Vries <tdevries@suse.de>
4046
4047 * gdb.fortran/logical.f90: Define variable with character type.
4048 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4049
b76f3a42
TV
40502020-03-11 Tom de Vries <tdevries@suse.de>
4051
4052 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4053
1c33af77
TV
40542020-03-11 Tom de Vries <tdevries@suse.de>
4055
4056 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4057 symtabs.
4058
8c95582d
AB
40592020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4060 Bernd Edlinger <bernd.edlinger@hotmail.de>
4061
4062 * gdb.cp/step-and-next-inline.cc: New file.
4063 * gdb.cp/step-and-next-inline.exp: New file.
4064 * gdb.cp/step-and-next-inline.h: New file.
4065 * gdb.dwarf2/dw2-is-stmt.c: New file.
4066 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4067 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4068 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4069 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4070
cecf8547
AB
40712020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4072
4073 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4074 is-stmt flag in the line table.
4075
0ba678c9
TV
40762020-03-09 Tom de Vries <tdevries@suse.de>
4077
4078 * lib/gdb.exp (cached_file): Create cache dir.
4079
72fbdf83
TV
40802020-03-07 Tom de Vries <tdevries@suse.de>
4081
4082 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4083 * gdb.cp/rvalue-ref-params.exp: Same.
4084
436b5e99
TV
40852020-03-06 Tom de Vries <tdevries@suse.de>
4086
4087 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4088 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4089
09f2921c
TV
40902020-03-06 Tom de Vries <tdevries@suse.de>
4091
4092 * README: Fix "the the".
4093 * gdb.base/dprintf.exp: Same.
4094
50a3cc5d
TV
40952020-03-05 Tom de Vries <tdevries@suse.de>
4096
4097 * gdb.base/maint.exp: Update "main print statistics" expected output.
4098
0a709cba
AKS
40992020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4100
4101 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4102 (fortran_int8): Likewise.
4103 (fortran_real4): Likewise.
4104 (fortran_real8): Likewise.
4105 (fortran_complex4): Likewise.
4106 (fortran_logical4): Likewise.
4107 (fortran_character1): Likewise.
4108
5e5d66b6
AB
41092020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4110
4111 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4112 printed as true.
4113
7b973adc
SDJ
41142020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4115
4116 * gdb.base/printcmds.exp: Add test to verify printf of a
4117 variable holding an address.
4118
478e490a
TV
41192020-03-03 Tom de Vries <tdevries@suse.de>
4120
4121 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4122
1ef44e86
TV
41232020-03-03 Tom de Vries <tdevries@suse.de>
4124
4125 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4126 gdb_test_multiple call.
4127
b98cc2cf
TV
41282020-03-03 Tom de Vries <tdevries@suse.de>
4129
4130 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4131 gdb_test_multiple calls.
4132
63e163f2
AB
41332020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4134
4135 * gdb.base/default.exp: Remove test of 'set history filename'.
4136 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4137 filename to the empty string.
4138 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4139 and GDBHISTSIZE.
4140
24ed6739
AB
41412020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4142
4143 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4144 disabled.
4145
590003dc 41462020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 4147 Tom de Vries <tdevries@suse.de>
590003dc
TV
4148
4149 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4150 -prompt prefix, before user_code argument. Add -lbl option likewise.
4151 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4152 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4153 argument.
4154 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4155 have "\r\n" at start-of-line, instead of at end-of-line.
4156
f5e46084
SM
41572020-02-28 Simon Marchi <simon.marchi@efficios.com>
4158
4159 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4160 libinproctrace.so.
4161
f7a7000d
LM
41622020-02-28 Luis Machado <luis.machado@linaro.org>
4163
4164 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4165 to "p/x".
4166
718e0816
LM
41672020-02-28 Luis Machado <luis.machado@linaro.org>
4168
4169 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4170 asm/ptrace.h and error.h.
4171
13c3a74a
TV
41722020-02-28 Tom de Vries <tdevries@suse.de>
4173
4174 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4175 (struct wrapper, do_something, mundane/symada__cS): Move ...
4176 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4177 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4178 Update "print symada__cS before partial symtab expansion" regexp.
4179 Update breakpoint location. Flush symbol cache after expansion.
4180
85d2d5bb
LM
41812020-02-28 Luis Machado <luis.machado@linaro.org>
4182
4183 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4184
3608f86c
TV
41852020-02-27 Tom de Vries <tdevries@suse.de>
4186
4187 * config/sid.exp: Remove unused globals.
4188 * gdb.base/attach.exp: Same.
4189 * gdb.base/catch-load.exp: Same.
4190 * gdb.base/dbx.exp: Same.
4191 * lib/gdb.exp: Same.
4192 * lib/mi-support.exp: Same.
4193 * lib/prompt.exp: Same.
4194
c8d4f6df
TV
41952020-02-27 Tom de Vries <tdevries@suse.de>
4196
4197 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4198 not set.
4199
0d79cdc4
AM
42002020-02-26 Aaron Merey <amerey@redhat.com>
4201
4202 * gdb.debuginfod: New directory for debuginfod tests.
4203 * gdb.debuginfod/main.c: New test file.
4204 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4205
0dce4280
TV
42062020-02-26 Tom de Vries <tdevries@suse.de>
4207
4208 PR gdb/25603
4209 * gdb.base/persistent-lang.cc: New test.
4210 * gdb.base/persistent-lang.exp: New file.
4211
9e80cfa1
AB
42122020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4213
4214 * gdb.fortran/derived-type-striding.exp: Add a new test.
4215 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4216 new test.
4217
2078dbb2
AB
42182020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4219
4220 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4221 names.
4222
70d49700
TV
42232020-02-25 Tom de Vries <tdevries@suse.de>
4224
4225 PR go/18926
4226 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4227
a88ef40d
TV
42282020-02-24 Tom de Vries <tdevries@suse.de>
4229
4230 PR gdb/25592
4231 * gdb.base/info-locals-unused-static-var.c: New test.
4232 * gdb.base/info-locals-unused-static-var.exp: New file.
4233
01b1af32
TT
42342020-02-22 Tom Tromey <tom@tromey.com>
4235
4236 * gdb.python/tui-window.exp: New file.
4237 * gdb.python/tui-window.py: New file.
4238
7c043ba6
TT
42392020-02-22 Tom Tromey <tom@tromey.com>
4240
4241 PR tui/17850:
4242 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4243 tests.
4244
c22fef7e
TT
42452020-02-22 Tom Tromey <tom@tromey.com>
4246
4247 * gdb.tui/new-layout.exp: Add sub-layout tests.
4248
ee325b61
TT
42492020-02-22 Tom Tromey <tom@tromey.com>
4250
4251 * gdb.tui/new-layout.exp: New file.
4252
3f0cbb04
TT
42532020-02-22 Tom Tromey <tom@tromey.com>
4254
4255 * gdb.rust/rust-style.rs: New file.
4256 * gdb.rust/rust-style.exp: New file.
4257 * gdb.base/style.exp: Test structure printing.
4258 * gdb.base/style.c (struct some_struct): New type.
4259 (enum etype): New type.
4260 (struct_value): New global.
4261
75525152
TV
42622020-02-21 Tom de Vries <tdevries@suse.de>
4263
4264 PR go/18926
4265 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4266 Remove blanket xfails. Use message argument for gdb_breakpoint.
4267 Make continuing to breakpoint test conditional on setting breakpoint.
4268 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4269 DW_AT_name attribute. Add xfail for GCC PR93866.
4270
bd360d30
AB
42712020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4272
4273 * gdb.dwarf2/cpp-linkage-name.c: New file.
4274 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4275
c7adb09f 42762020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
4277
4278 * lib/gdb.exp (gdb_wrapper_init): Reset
4279 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4280 not exist.
4281
a9c79803
TV
42822020-02-20 Tom de Vries <tdevries@suse.de>
4283
4284 PR go/17018
4285 * gdb.go/hello.exp: Copy ...
4286 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4287 print of st to print value of global definition. Add xfail for GCC
4288 PR93844.
4289 * gdb.go/hello.exp: Remove printing of st before definition.
4290 * gdb.go/hello.go: Copy ...
4291 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4292 to st.
4293 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4294
d7445728
TV
42952020-02-20 Tom de Vries <tdevries@suse.de>
4296
4297 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4298 (gdb_simple_compile): Handle compile_flags go by using .go extension
4299 for source file.
4300 * gdb.go/chan.exp: Use support_go_compile.
4301 * gdb.go/handcall.exp: Same.
4302 * gdb.go/hello.exp: Same.
4303 * gdb.go/integers.exp: Same.
4304 * gdb.go/max-depth.exp: Same.
4305 * gdb.go/methods.exp: Same.
4306 * gdb.go/package.exp: Same.
4307 * gdb.go/strings.exp: Same.
4308 * gdb.go/types.exp: Same.
4309 * gdb.go/unsafe.exp: Same.
4310
c9c41e6d
TV
43112020-02-19 Tom de Vries <tdevries@suse.de>
4312
4313 * gdb.python/lib-types.exp: Make xfail more strict.
4314
f20ff837
TV
43152020-02-19 Tom de Vries <tdevries@suse.de>
4316
4317 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4318
08410482
DE
43192020-02-19 Doug Evans <dje@google.com>
4320
4321 PR rust/25535
4322 * gdb.rust/simple.exp: Add test.
4323 * gdb.rust/simple.rs: Add test.
4324
623563f7
TV
43252020-02-19 Tom de Vries <tdevries@suse.de>
4326
4327 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4328 output line-by-line.
4329
d3308cfd
TV
43302020-02-19 Tom de Vries <tdevries@suse.de>
4331
4332 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4333
86cbc5dc
TV
43342020-02-19 Tom de Vries <tdevries@suse.de>
4335
4336 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4337 prelink.
4338
9db2b96b
TV
43392020-02-19 Tom de Vries <tdevries@suse.de>
4340
4341 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4342 (gdb_do_cache): Use gdb_do_cache_wrap.
4343 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4344
89e2fdc5
TV
43452020-02-19 Tom de Vries <tdevries@suse.de>
4346
4347 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4348 gdb_compile option.
4349
373d7ac0
SM
43502020-02-18 Simon Marchi <simon.marchi@efficios.com>
4351
4352 * gdb.base/printcmds.exp (test_print_enums): Update expected
4353 output.
4354
b29a2df0
SM
43552020-02-18 Simon Marchi <simon.marchi@efficios.com>
4356
4357 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4358 for "unknown".
4359
6740f0cc
SM
43602020-02-18 Simon Marchi <simon.marchi@efficios.com>
4361
4362 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4363 enumerator.
4364
edd45eb0
SM
43652020-02-18 Simon Marchi <simon.marchi@efficios.com>
4366
4367 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4368 FE_, add FE_NONE.
4369 (three): Update.
4370 (enum flag_enum_without_zero): New enum.
4371 (flag_enum_without_zero): New variable.
4372 (enum not_flag_enum): New enum.
4373 (three_not_flag): New variable.
4374 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4375 (test_print_enums): Add more tests for printing flag enums.
4376
d4295de4
TV
43772020-02-18 Tom de Vries <tdevries@suse.de>
4378
4379 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4380 (gdb_compile_ada): ... here.
4381 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4382 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4383
f251f505
TT
43842020-02-14 Tom Tromey <tom@tromey.com>
4385
4386 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4387 build directory.
4388 * boards/gdbserver-base.exp: Update path to gdbserver.
4389
8f432634
TV
43902020-02-13 Tom de Vries <tdevries@suse.de>
4391
4392 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4393
92b6eaf7
TV
43942020-02-13 Tom de Vries <tdevries@suse.de>
4395
4396 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4397 are missing.
4398
f3b0f7fe
TV
43992020-02-13 Tom de Vries <tdevries@suse.de>
4400
4401 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4402 call.
4403
f6be8713
SDJ
44042020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4405
4406 PR tui/25126
4407 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
4408 * gdb.base/cached-source-file.c: New file.
4409 * gdb.base/cached-source-file.exp: New file.
4410
b2770d5e
TV
44112020-02-11 Tom de Vries <tdevries@suse.de>
4412
4413 PR testsuite/25488
4414 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4415
44f6938e
TV
44162020-02-10 Tom de Vries <tdevries@suse.de>
4417
4418 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4419
5f0e2eb7
MR
44202020-02-10 Maciej W. Rozycki <macro@wdc.com>
4421
4422 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4423 and $after_addr are both integers before making a comparison.
4424
46ce2b6f
TV
44252020-02-09 Tom de Vries <tdevries@suse.de>
4426
4427 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4428 command output and paste it into gdb.log. If any, paste catch message
4429 to gdb.log.
4430
5abbbe1d
TT
44312020-02-07 Tom Tromey <tromey@adacore.com>
4432
4433 PR breakpoints/24915:
4434 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4435
1d5d29e7
SV
44362020-02-06 Shahab Vahedi <shahab@synopsys.com>
4437
4438 * gdb.tui/tui-missing-src.exp: Add the "missing source
4439 file" test for the TUI.
4440
b0999b9b
AB
44412020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4442
4443 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4444 including a port number in the output.
4445
c3b149eb
AKS
44462020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4447
4448 * lib/fortran.exp (fortran_int4): Handle clang.
4449 (fortran_int8): Likewise.
4450 (fortran_real4): Likewise.
4451 (fortran_real8): Likewise.
4452 (fortran_complex4): Likewise.
4453 (fortran_logical4): Likewise.
4454 (fortran_character1): Likewise.
4455
f8dcc90b
TV
44562020-02-04 Tom de Vries <tdevries@suse.de>
4457
4458 * README (Race detection): Add note.
4459
f90ac7c2
TV
44602020-02-04 Tom de Vries <tdevries@suse.de>
4461
4462 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4463
780636ae
TV
44642020-02-04 Tom de Vries <tdevries@suse.de>
4465
4466 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4467
5d2e1193
RA
44682020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4469
4470 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4471 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4472 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4473 blttar, bnetarl.
4474 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4475 binary for blttar, bnetarl.
4476 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4477 wait instruction. Delete ldmx test.
4478 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4479
e409c542
AKS
44802020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4481
4482 * gdb.fortran/array-bounds-high.exp: New file.
4483 * gdb.fortran/array-bounds-high.f90: New file.
4484
b0029748
LD
44852020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4486
4487 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4488 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4489
195a8287
TV
44902020-02-01 Tom de Vries <tdevries@suse.de>
4491
4492 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4493
42330a68
AB
44942020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4495
4496 PR tui/9765
4497 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4498 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4499
b62a8028
LM
45002020-01-29 Luis Machado <luis.machado@linaro.org>
4501
4502 * gdb.arch/aarch64-brk-patterns.c: New source file.
4503 * gdb.arch/aarch64-brk-patterns.exp: New test.
4504
5f440116
TBA
45052020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4506
4507 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4508 GCC/Clang version.
4509 * gdb.cp/pass-by-ref.exp: Ditto.
4510
ee2a6fc6
TV
45112020-01-29 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4514 * gdb.threads/watchpoint-fork-mt.c: Same.
4515 * gdb.threads/watchpoint-fork-parent.c: Same.
4516 * gdb.threads/watchpoint-fork-st.c: Same.
4517 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4518
16b10d6e
LM
45192020-01-27 Luis Machado <luis.machado@linaro.org>
4520
4521 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4522 sitting at a syscall instruction when we hit the syscall function's
4523 breakpoint.
4524 Check PC against one obtained with the x command.
4525 Validate syscall number.
4526 (step_over_syscall): Don't continue to the syscall instruction if
4527 we're already there.
4528
b1468492
PW
45292020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4530
4531 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4532
7ffa82e1
AB
45332020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4534
4535 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4536 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4537
3d92a3e3
AB
45382020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4539
4540 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4541 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4542
94a72be7
AB
45432020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4544
4545 * gdb.base/maint.exp: Update line table parsing test.
4546 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4547
53af73bf
PA
45482020-01-24 Pedro Alves <palves@redhat.com>
4549
4550 PR gdb/25410
4551 * gdb.multi/multi-re-run-1.c: New.
4552 * gdb.multi/multi-re-run-2.c: New.
4553 * gdb.multi/multi-re-run.exp: New.
4554
1ba1ac88
AB
45552020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4556
4557 PR gdb/23718
4558 * gdb.server/server-kill-python.exp: New file.
4559
f3364a6d
AB
45602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4561
4562 * gdb.server/multi-ui-errors.c: New file.
4563 * gdb.server/multi-ui-errors.exp: New file.
4564
733d0a67
AB
45652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4566
4567 PR tui/9765
4568 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4569
4f13c1c0
TT
45702020-01-19 Tom Tromey <tom@tromey.com>
4571
4572 * gdb.tui/main.exp: Add check for plain "file".
4573
40c94099
CB
45742020-01-16 Christian Biesinger <cbiesinger@google.com>
4575
4576 * lib/gdb.exp: Fix spelling error (seperatelly).
4577
ff47f4f0
TT
45782020-01-14 Tom Tromey <tom@tromey.com>
4579
4580 PR symtab/12535:
4581 * gdb.python/python.exp: Test decode_line with empty string
4582 argument.
4583
717c684d
BE
45842020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4585
4586 * gdb.base/skip-inline.exp: Extend test.
4587
44e4c775
AB
45882020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4589
4590 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4591 * gdb.dwarf2/dw2-bad-elf.c: New file.
4592 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4593
d93c6db7
AB
45942020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4595
4596 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4597 _line_saw_file.
4598
9a6d629c
AB
45992020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4600
4601 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4602 border.
4603
d9ebdab7
TBA
46042020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4605
4606 * gdb.multi/multi-target.exp (setup): Factor out "info
4607 connections" and "info inferiors" tests to ...
4608 (test_info_inferiors): ... this new procedure.
4609 (top level): Run new "info-inferiors" tests.
4610
f3c469b9
PA
46112020-01-10 Pedro Alves <palves@redhat.com>
4612
4613 * gdb.server/bkpt-other-inferior.exp: New file.
4614
121b3efd
PA
46152020-01-10 Pedro Alves <palves@redhat.com>
4616
4617 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4618 of "add-inferior".
4619 * gdb.base/quit-live.exp: Likewise.
4620 * gdb.base/remote-exec-file.exp: Likewise.
4621 * gdb.guile/scm-progspace.exp: Likewise.
4622 * gdb.linespec/linespec.exp: Likewise.
4623 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4624 * gdb.mi/user-selected-context-sync.exp: Likewise.
4625 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4626 "info inferiors" tests.
4627 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4628 "add-inferior".
4629 * gdb.multi/watchpoint-multi.exp: Likewise.
4630 * gdb.python/py-inferior.exp: Likewise.
4631 * gdb.server/extended-remote-restart.exp: Likewise.
4632 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4633 "info inferiors".
4634 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4635 * gdb.trace/report.exp: Likewise.
4636
1dadb1dd
PA
46372020-01-10 Pedro Alves <palves@redhat.com>
4638
4639 * gdb.multi/multi-target.c: New file.
4640 * gdb.multi/multi-target.exp: New file.
4641 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4642 mode requested, but remote does not support non-stop".
4643
78f2c40a
PA
46442020-01-10 Pedro Alves <palves@redhat.com>
4645
4646 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4647 disconnect before reconnecting.
4648
e7af6c70
TBA
46492020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4650 Pedro Alves <palves@redhat.com>
4651
4652 * gdb.server/connect-without-multi-process.exp: Also test
4653 continuing to end.
4654
acdf84a6
PA
46552020-01-10 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.base/remote-exec-file.exp: New file.
4658
873657b9
PA
46592020-01-10 Pedro Alves <palves@redhat.com>
4660
4661 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4662 output.
4663 * gdb.threads/async.c: New.
4664 * gdb.threads/async.exp: New.
4665 * gdb.multi/tids-gid-reset.c: New.
4666 * gdb.multi/tids-gid-reset.exp: New.
4667
7f0ae84c
GB
46682020-01-10 George Barrett <bob@bob131.so>
4669
4670 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4671 to help in finding the image relocation offset.
4672 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4673 options in arguments.
4674 (stap_test_no_debuginfo): Likewise.
4675 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4676 test variants.
4677 (stap_test): Add null semaphore relocation test.
4678
47e9d49d
GB
46792020-01-10 George Barrett <bob@bob131.so>
4680
4681 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4682 * gdb.base/stap-probe.exp: Likewise.
4683 (stap_test): Pass argument as an additional flag.
4684 (stap_test_no_debuginfo): Likewise.
4685 (stap_test): Check `info probes stap' output for semaphore
4686 addresses if the test binary is supposed to have them.
4687
f5a7c406
AB
46882020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4689
4690 * gdb.tui/basic.exp: Add more scrolling tests.
4691
9ae6bf64
TT
46922020-01-09 Tom Tromey <tom@tromey.com>
4693
4694 PR tui/18932:
4695 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4696 meangingful value.
4697 (Term::command, Term::resize): Update.
4698 * gdb.tui/basic.exp: Add scrolling test.
4699
b2efe70c
AB
47002020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4701
4702 * gdb.tui/tui-layout-asm.exp: New file.
4703
3804da7e
AB
47042020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4705
4706 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4707
b40aa28f
AB
47082020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4709
4710 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4711 (Term::enter_tui): Use Term::prepare_for_tui.
4712
63ffd7c9
AB
47132020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4714
4715 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4716 called.
4717
3be966f6
AB
47182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4719
4720 * gdb.base/skip.exp: Fix race condition in test.
4721
153d79c4
AB
47222020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4723
4724 * gdb.base/backtrace.c: New file.
4725 * gdb.base/backtrace.exp: New file.
4726
f2302a34
AB
47272020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4728
4729 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4730
6ec1d75e
PW
47312020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4732
4733 * gdb.base/style.exp: Test that warnings are styled.
4734
c296cbe6
BE
47352019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4736
4737 * gdb.base/line65535.exp: New file.
4738 * gdb.base/line65535.c: New file.
4739
b28a729d
SM
47402019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4741
4742 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4743 * lib/gnat_debug_info_test.adb: New file.
4744 * gdb.ada/ptype_tagged_param.exp: Use
4745 gnat_runtime_has_debug_info, expect a different output if
4746 runtime does not have debug info.
4747
7f2d7a0d
SM
47482019-12-20 Simon Marchi <simon.marchi@efficios.com>
4749
4750 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4751 (another) quote in test name.
4752
f3bce483
SM
47532019-12-20 Simon Marchi <simon.marchi@efficios.com>
4754
4755 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4756 Add quote in test name.
4757
c855a912
TBA
47582019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4759
4760 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4761 directory instead.
4762 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4763 * gdb.cp/pass-by-ref-2.cc: New file.
4764 * gdb.cp/pass-by-ref-2.exp: New file.
4765
fc9d2d72
TT
47662019-12-20 Tom Tromey <tom@tromey.com>
4767
4768 * gdb.tui/list-before.exp: New file.
4769
77b97e00
TT
47702019-12-20 Tom Tromey <tom@tromey.com>
4771
4772 * gdb.tui/list.exp: Check for source on initial listing.
4773
f69656d0
TT
47742019-12-11 Tom Tromey <tromey@adacore.com>
4775
4776 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4777 Add crlf test.
4778
99a55965
SM
47792019-12-18 Simon Marchi <simon.marchi@efficios.com>
4780
4781 * gdb.base/default.exp: Update value of $_gdb_major.
4782
5024637f
BE
47832019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4784
4785 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4786
b63634be
BE
47872019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4788
4789 * gdb.base/skip.exp: Whitespace fix.
4790
45d73523
BE
47912019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4792
4793 * gdb.base/skip-inline.c: New file.
4794 * gdb.base/skip-inline.exp: New file.
4795
d043f8c8
SM
47962019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4797
4798 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4799 jit_function_00 to jit_function_stack_mangle.
4800 * gdb.base/jithost.c (jit_function_t): Rename to...
4801 (jit_function_stack_mangle_t): ... this.
4802 (jit_function_add_t): New typedef.
4803 (jit_function_00_code): Rename to...
4804 (jit_function_stack_mangle_code): ... this, make static.
4805 (jit_function_add_code): New.
4806 (main): Generate "add" function and call it. Adjust to changes
4807 in jithost_abi.
4808 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4809 (struct jithost_abi) <begin, end>: Remove fields.
4810 <object, function_stack_mangle, function_add>: New fields.
4811 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4812 code_end>: Remove fields.
4813 <func_stack_mangle>: New field.
4814 (read_debug_info): Adjust to renaming, create block for "add"
4815 function.
4816 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4817
873de05c
TT
48182019-12-11 Tom Tromey <tom@tromey.com>
4819
4820 * gdb.tui/resize.exp: Fix regexp.
4821 * gdb.tui/regs.exp: Fix regexps.
4822 * gdb.tui/main.exp: Fix regexp.
4823
3d979945
TT
48242019-12-11 Tom Tromey <tom@tromey.com>
4825
4826 * gdb.tui/resize.exp: Update.
4827 * gdb.tui/empty.exp (layouts): Update.
4828
2192a9d3
TT
48292019-12-11 Tom Tromey <tom@tromey.com>
4830
4831 * gdb.tui/regs.exp: Update.
4832 * gdb.tui/empty.exp (layouts): Update.
4833 * gdb.tui/basic.exp: Update.
4834 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4835
d8edc8b7
PW
48362019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4837
4838 * gdb.base/options.exp: Add -raw-values in the print completion list.
4839 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4840
4c12d936
KB
48412019-12-10 Kevin Buettner <kevinb@redhat.com>
4842
4843 * gdb.threads/omp-par-scope.c: New file.
4844 * gdb/threads/omp-par-scope.exp: New file.
4845
26b911fb
KB
48462019-12-10 Kevin Buettner <kevinb@redhat.com>
4847
bb47f919
KB
4848 * lib/gdb.exp (support_nested_function_tests): New proc.
4849
48502019-12-10 Kevin Buettner <kevinb@redhat.com>
4851
4852 * lib/gdb.exp (gdb_compile_openmp): New proc.
4853 (build_executable_from_specs): Add an "openmp" option.
4854 (gdb_compile_pthreads): Add non-executable case.
26b911fb 4855
6c71eb7d
TT
48562019-12-10 Tom Tromey <tromey@adacore.com>
4857
4858 * gdb.ada/unchecked_union.exp: New file.
4859 * gdb.ada/unchecked_union/pck.adb: New file.
4860 * gdb.ada/unchecked_union/pck.ads: New file.
4861 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4862 * gdb-utils.exp (string_to_regexp): Also quote "?".
4863
bac7c5cf
GB
48642019-12-10 George Barrett <bob@bob131.so>
4865
4866 Test scripted probe breakpoints.
4867 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4868 * gdb.python/py-breakpoint.c (main): Likewise.
4869 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4870 specifier test.
4871 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4872
330f1d38
TBA
48732019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4874
4875 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4876 an rvalue parameter.
4877 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4878 parameter.
4879
b43315e2
AB
48802019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4881
4882 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4883 modules.
4884
54f73dad
AB
48852019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4886
4887 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4888 broken version of GCC.
4889
d57cbee9
AB
48902019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4891
4892 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4893 sym-info-cmds library.
4894 * gdb.fortran/info-types.exp: Likewise.
4895 * lib/sym-info-cmds.exp: New file.
4896
c14aab8c
TV
48972019-12-08 Tom de Vries <tdevries@suse.de>
4898
4899 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4900
aa2d5a42
KS
49012019-12-07 Keith Seitz <keiths@redhat.com>
4902
4903 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4904 * gdb.base/corefile-buildid-shlib.c: New file.
4905 * gdb.base/corefile-buildid.c: New file.
4906 * gdb.base/corefile-buildid.exp: New file.
4907
93e55f0a
TV
49082019-12-06 Tom de Vries <tdevries@suse.de>
4909
4910 * gdb.dwarf2/varval.exp: Add decl before def test.
4911
c7d12402
TBA
49122019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4913
4914 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4915
06acc08f
TBA
49162019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4917
4918 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4919 CV and reference conversion for overload resolution.
4920 * gdb.cp/rvalue-ref-overload.exp: Test it.
4921
e0fad1ea
PW
49222019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4923
4924 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4925 * gdb.base/frameapply.exp: Test faas without command.
4926
8d70a9f0
AB
49272019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4928
4929 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4930 Fortran tests.
4931 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4932 order.
4933
36c8fb93
AB
49342019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4935
4936 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4937 casting to type with no kind specified.
4938 (test_basic_parsing_of_type_kinds): Additional tests for types
4939 with no kind specified, and add tests for single/double
4940 precision/complex types.
4941
4139ff00
TT
49422019-12-04 Tom Tromey <tromey@adacore.com>
4943
4944 * gdb.base/endianity.c (struct other) <x>: New field.
4945 (main): Initialize it.
4946 * gdb.base/endianity.exp: Update.
4947
a05cf17a
TT
49482019-12-04 Tom Tromey <tromey@adacore.com>
4949
4950 * gdb.ada/scalar_storage/storage.adb: New file.
4951 * gdb.ada/scalar_storage/pck.adb: New file.
4952 * gdb.ada/scalar_storage/pck.ads: New file.
4953 * gdb.ada/scalar_storage.exp: New file.
4954
103a685e
TT
49552019-12-04 Tom Tromey <tromey@adacore.com>
4956
4957 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4958 (main): Initialize it.
4959 * gdb.base/endianity.exp: Update.
4960
c2512106
AB
49612019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4962
4963 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4964
293b38d6
AB
49652019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4966
4967 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4968 -symbol-info-module-functions and -symbol-info-module-variables.
4969
216a7e6b
AB
49702019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4971
4972 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4973
5bbd8269
AB
49742019-12-01 Richard Bunt <richard.bunt@arm.com>
4975 Andrew Burgess <andrew.burgess@embecosm.com>
4976
4977 * gdb.fortran/derived-type-striding.exp: New file.
4978 * gdb.fortran/derived-type-striding.f90: New file.
4979 * gdb.fortran/array-slices.exp: New file.
4980 * gdb.fortran/array-slices.f90: New file.
4981
be09caf1
PW
49822019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4983
4984 * gdb.base/define.exp: Test . in command names.
4985 * gdb.base/setshow.exp: Update test, as . is now part of
4986 command name.
4987
643c0cbe
PW
49882019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4989
4990 * gdb.base/define-prefix.exp: New file.
4991
dcdec678
AB
49922019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4993
4994 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4995 compile.
4996 (skip_btrace_pt_tests): Likewise.
4997
640ab947
AB
49982019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4999
5000 * gdb.fortran/info-modules.exp: Compile source files in correct
5001 order.
5002
d22670f0
KB
50032019-11-27 Kevin Buettner <kevinb@redhat.com>
5004
5005 * gdb.dwarf2/imported-unit.exp: New file.
5006 * gdb.dwarf2/imported-unit.c: New file.
5007
db5960b4
AB
50082019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5009
5010 * gdb.mi/mi-fortran-modules-2.f90: New file.
5011 * gdb.mi/mi-fortran-modules.exp: New file.
5012 * gdb.mi/mi-fortran-modules.f90: New file.
5013
7dc42066
AB
50142019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5015
5016 * gdb.mi/mi-sym-info-1.c: New file.
5017 * gdb.mi/mi-sym-info-2.c: New file.
5018 * gdb.mi/mi-sym-info.exp: New file.
5019
0dfeecca
TT
50202019-11-22 Tom Tromey <tromey@adacore.com>
5021
5022 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5023 * gdb.ada/tasks/foo.adb: Add another stopping location.
5024
34877895
PJ
50252019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5026
5027 * gdb.base/endianity.c: New test.
5028 * gdb.base/endianity.exp: New file.
5029
2e84f897
LD
50302019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5031
5032 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5033
65d1cd5f
TV
50342019-11-21 Tom de Vries <tdevries@suse.de>
5035
5036 PR gdb/24956
5037 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5038
4f22c3f4
SDJ
50392019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5040
5041 * gdb.python/py-progspace.exp: Add missing parentheses on some
5042 'print' commands.
5043
9f6ad286
TT
50442019-11-19 Tom Tromey <tom@tromey.com>
5045
5046 * gdb.tui/winheight.exp: New file.
5047
0b8dbf3f
AB
50482019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5049
5050 * gdb.base/ctf-whatis.c: Delete.
5051 * gdb.base/ctf-whatis.exp: Delete.
5052 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5053
f833b7a7
AB
50542019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5055
5056 * gdb.base/ctf-cvexpr.exp: Delete.
5057 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5058
30d0a636
AB
50592019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5060
5061 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5062 the compiler. Clean up header comment a little.
5063 * gdb.base/ctf-ptype.exp: Likewise.
5064 * gdb.base/ctf-whatis.exp: Likewise.
5065 * lib/gdb.exp (skip_ctf_tests): New proc.
5066
494409bb
SDJ
50672019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5068
5069 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5070 * gdb.tui/corefile-run.exp: New file.
5071
55708e99
TT
50722019-11-14 Tom Tromey <tromey@adacore.com>
5073
5074 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5075 regression tests.
5076
45e42163
TT
50772019-11-12 Tom Tromey <tom@tromey.com>
5078
5079 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5080 after any command. Expect prompt after WAIT_FOR is seen.
5081 (enter_tui): Enable resize messages.
5082 (command): Expect command in output.
5083 (get_line): Avoid error when cursor appears to be off-screen.
5084 (dump_screen): Include screen size in title.
5085 (_do_resize): New proc, from "resize".
5086 (resize): Rewrite. Do resize in two steps.
5087 * gdb.tui/empty.exp (layouts): Fix entries.
5088 (check_boxes): Remove xfail.
5089 (check_text): Dump screen on failure.
5090
086baaf1
AB
50912019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5092
5093 * gdb.python/py-symbol.exp: Add test for
5094 gdb.lookup_static_symbols.
5095
09ff83af
AB
50962019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5097
5098 * gdb.python/py-symbol.c: Declare and call function from new
5099 py-symbol-2.c file.
5100 * gdb.python/py-symbol.exp: Compile both source files, and add new
5101 tests for gdb.lookup_static_symbol.
5102 * gdb.python/py-symbol-2.c: New file.
5103
11af934b
TV
51042019-11-02 Tom de Vries <tdevries@suse.de>
5105
5106 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5107 * gdb.base/anon.exp: Same.
5108 * gdb.base/auto-connect-native-target.exp: Same.
5109 * gdb.base/call-ar-st.exp: Same.
5110 * gdb.base/catch-syscall.exp: Same.
5111 * gdb.base/commands.exp: Same.
5112 * gdb.base/default.exp: Same.
5113 * gdb.base/display.exp: Same.
5114 * gdb.base/float.exp: Same.
5115 * gdb.base/foll-fork.exp: Same.
5116 * gdb.base/help.exp: Same.
5117 * gdb.base/info-macros.exp: Same.
5118 * gdb.base/info-proc.exp: Same.
5119 * gdb.base/info-target.exp: Same.
5120 * gdb.base/long_long.exp: Same.
5121 * gdb.base/macscp.exp: Same.
5122 * gdb.base/memattr.exp: Same.
5123 * gdb.base/nofield.exp: Same.
5124 * gdb.base/pointers.exp: Same.
5125 * gdb.base/printcmds.exp: Same.
5126 * gdb.base/ptype.exp: Same.
5127 * gdb.base/restore.exp: Same.
5128 * gdb.base/return.exp: Same.
5129 * gdb.base/scope.exp: Same.
5130 * gdb.base/set-noassign.exp: Same.
5131 * gdb.base/setshow.exp: Same.
5132 * gdb.base/shlib-call.exp: Same.
5133 * gdb.base/signals.exp: Same.
5134 * gdb.base/sigstep.exp: Same.
5135 * gdb.base/skip.exp: Same.
5136 * gdb.base/solib-symbol.exp: Same.
5137 * gdb.base/stap-probe.exp: Same.
5138 * gdb.base/step-line.exp: Same.
5139 * gdb.base/step-test.exp: Same.
5140 * gdb.base/style.exp: Same.
5141 * gdb.base/varargs.exp: Same.
5142 * gdb.base/vla-datatypes.exp: Same.
5143 * gdb.base/vla-ptr.exp: Same.
5144 * gdb.base/vla-sideeffect.exp: Same.
5145 * gdb.base/volatile.exp: Same.
5146 * gdb.base/watch-cond-infcall.exp: Same.
5147 * gdb.base/watchpoint.exp: Same.
5148
e96ec2ba
TV
51492019-11-02 Tom de Vries <tdevries@suse.de>
5150
5151 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5152 * gdb.cp/cpexprs.exp: Same.
5153 * gdb.cp/except-multi-location.exp: Same.
5154 * gdb.cp/exceptprint.exp: Same.
5155 * gdb.cp/gdb2384.exp: Same.
5156 * gdb.cp/inherit.exp: Same.
5157 * gdb.cp/m-static.exp: Same.
5158 * gdb.cp/meth-typedefs.exp: Same.
5159 * gdb.cp/misc.exp: Same.
5160 * gdb.cp/namespace.exp: Same.
5161 * gdb.cp/non-trivial-retval.exp: Same.
5162 * gdb.cp/overload.exp: Same.
5163 * gdb.cp/pr17132.exp: Same.
5164 * gdb.cp/re-set-overloaded.exp: Same.
5165 * gdb.cp/rvalue-ref-types.exp: Same.
5166 * gdb.cp/templates.exp: Same.
5167
bd5766ec
LM
51682019-11-01 Luis Machado <luis.machado@linaro.org>
5169
5170 PR gdb/25124
5171
5172 * gdb.arch/pr25124.S: New file.
5173 * gdb.arch/pr25124.exp: New file.
5174
165f8965
AB
51752019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5176
5177 * gdb.fortran/info-modules.exp: Update expected results, and add
5178 additional tests for 'info module functinos', and 'info module
5179 variables'.
5180 * gdb.fortran/info-types.exp: Update expected results.
5181 * gdb.fortran/info-types.f90: Extend testcase with additional
5182 module variables and functions.
5183
59c35742
AB
51842019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5185
5186 * gdb.fortran/info-modules.exp: New file.
5187 * gdb.fortran/info-types.exp: Build with new file.
5188 * gdb.fortran/info-types.f90: Include and use new module.
5189 * gdb.fortran/info-types-2.f90: New file.
5190
f3fb2519
PW
51912019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5192
5193 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5194 * gdb.base/settings.exp: Test all settings types using
5195 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5196 that now verifies that the value of "maint show" is the same as
5197 returned by the settings functions. Test the type of the
5198 maintenance settings.
5199 * gdb.base/default.exp: Update show_conv_list.
5200
d1e36019
TV
52012019-10-31 Tom de Vries <tdevries@suse.de>
5202
5203 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5204 gdb_test.
5205 * gdb.arch/amd64-disp-step.exp: Same.
5206 * gdb.asm/asm-source.exp: Same.
5207 * gdb.btrace/buffer-size.exp: Same.
5208 * gdb.btrace/cpu.exp: Same.
5209 * gdb.btrace/enable.exp: Same.
5210 * gdb.dwarf2/count.exp: Same.
5211 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5212 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5213 * gdb.fortran/vla-datatypes.exp: Same.
5214 * gdb.fortran/vla-history.exp: Same.
5215 * gdb.fortran/vla-ptype.exp: Same.
5216 * gdb.fortran/vla-value.exp: Same.
5217 * gdb.fortran/whatis_type.exp: Same.
5218 * gdb.guile/guile.exp: Same.
5219 * gdb.multi/tids.exp: Same.
5220 * gdb.python/py-finish-breakpoint.exp: Same.
5221 * gdb.python/py-framefilter.exp: Same.
5222 * gdb.python/py-pp-registration.exp: Same.
5223 * gdb.python/py-xmethods.exp: Same.
5224 * gdb.python/python.exp: Same.
5225 * gdb.server/connect-with-no-symbol-file.exp: Same.
5226 * gdb.server/no-thread-db.exp: Same.
5227 * gdb.server/run-without-local-binary.exp: Same.
5228 * gdb.stabs/weird.exp: Same.
5229 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5230 * gdb.threads/thread-find.exp: Same.
5231 * gdb.threads/tls-shared.exp: Same.
5232 * gdb.threads/tls.exp: Same.
5233 * gdb.threads/wp-replication.exp: Same.
5234 * gdb.trace/ax.exp: Same.
5235 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5236
3d11e68e
TV
52372019-10-31 Tom de Vries <tdevries@suse.de>
5238
5239 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5240 * gdb.ada/array_subscript_addr.exp: Same.
5241 * gdb.ada/arrayidx.exp: Same.
5242 * gdb.ada/arrayparam.exp: Same.
5243 * gdb.ada/arrayptr.exp: Same.
5244 * gdb.ada/boolean_expr.exp: Same.
5245 * gdb.ada/call_pn.exp: Same.
5246 * gdb.ada/complete.exp: Same.
5247 * gdb.ada/fixed_cmp.exp: Same.
5248 * gdb.ada/fun_addr.exp: Same.
5249 * gdb.ada/funcall_param.exp: Same.
5250 * gdb.ada/interface.exp: Same.
5251 * gdb.ada/mod_from_name.exp: Same.
5252 * gdb.ada/null_array.exp: Same.
5253 * gdb.ada/packed_array.exp: Same.
5254 * gdb.ada/packed_tagged.exp: Same.
5255 * gdb.ada/print_chars.exp: Same.
5256 * gdb.ada/print_pc.exp: Same.
5257 * gdb.ada/ptype_arith_binop.exp: Same.
5258 * gdb.ada/ptype_field.exp: Same.
5259 * gdb.ada/ptype_tagged_param.exp: Same.
5260 * gdb.ada/rec_return.exp: Same.
5261 * gdb.ada/ref_tick_size.exp: Same.
5262 * gdb.ada/str_ref_cmp.exp: Same.
5263 * gdb.ada/taft_type.exp: Same.
5264 * gdb.ada/tagged.exp: Same.
5265 * gdb.ada/type_coercion.exp: Same.
5266 * gdb.ada/uninitialized_vars.exp: Same.
5267
60b6ede8
TV
52682019-10-30 Tom de Vries <tdevries@suse.de>
5269
5270 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5271
30baf67b
TV
52722019-10-26 Tom de Vries <tdevries@suse.de>
5273
5274 * gdb.base/bigcore.c: Fix typos in comments.
5275 * gdb.base/ctf-ptype.c: Same.
5276 * gdb.base/long_long.c: Same.
5277 * gdb.dwarf2/dw2-op-out-param.S: Same.
5278 * gdb.python/py-evthreads.c: Same.
5279 * gdb.reverse/i387-stack-reverse.c: Same.
5280 * gdb.trace/tfile.c: Same.
5281 * lib/compiler.c: Same.
5282 * lib/compiler.cc: Same.
5283
158da0d1
TV
52842019-10-25 Tom de Vries <tdevries@suse.de>
5285
5286 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5287 gdb_test_multiple calls.
5288 * gdb.reverse/sigall-reverse.exp: Same.
5289 * gdb.reverse/solib-precsave.exp: Same.
5290 * gdb.reverse/solib-reverse.exp: Same.
5291 * gdb.reverse/until-precsave.exp: Same.
5292 * gdb.reverse/until-reverse.exp: Same.
5293
4ccdfbec
TV
52942019-10-24 Tom de Vries <tdevries@suse.de>
5295
5296 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5297 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5298 kfail using -wrap pattern flag and convenience variable
5299 gdb_test_name.
5300
33d569b7
AB
53012019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5302
5303 * gdb.python/py-progspace.exp: Add tests for the
5304 Progspace.block_for_pc method.
5305
4d0b984b
TT
53062019-10-23 Tom Tromey <tom@tromey.com>
5307
5308 * configure: Rebuild.
5309 * aclocal.m4: Use m4_include, not sinclude.
5310
94cb3754
TV
53112019-10-21 Tom de Vries <tdevries@suse.de>
5312
5313 * gdb.base/infcall-nested-structs.c: Add
5314 __attribute__((noinline,noclone)) to all functions.
5315 (call_all): Add missing variable initialization. Simplify return value.
5316 (breakpt): Increment volatile variable, to prevent call from being
5317 optimized out.
5318 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5319
062f1fc1
TV
53202019-10-17 Tom de Vries <tdevries@suse.de>
5321
5322 * gdb.fortran/module.exp: Allow info variables to print info for files
5323 other than module.f90.
5324
0b54364d
AB
53252019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5326
5327 * gdb.fortran/module.exp: Extend with 'info variables' test.
5328
7ff5fae7
AB
53292019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5330
5331 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5332 F77_FOR_TARGET.
5333
d10eccaa
TV
53342019-10-16 Tom de Vries <tdevries@suse.de>
5335
5336 PR tdep/25096
5337 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5338
745ff14e
TV
53392019-10-16 Tom de Vries <tdevries@suse.de>
5340
5341 PR tdep/24104
5342 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5343 Add KFAIL for PR tdep/25096.
5344
03e1ab94
TV
53452019-10-16 Tom de Vries <tdevries@suse.de>
5346
5347 PR testsuite/25059
5348 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5349
b17fcc10
TV
53502019-10-16 Tom de Vries <tdevries@suse.de>
5351
5352 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5353 as signed.
5354
9223170f
SM
53552019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5356
5357 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5358 one instead of increasing timeout.
5359
d6e76313
TV
53602019-10-13 Tom de Vries <tdevries@suse.de>
5361
5362 PR record/25038
5363 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5364 * gdb.reverse/sigall-reverse.exp: Same.
5365 * gdb.reverse/solib-precsave.exp: Same.
5366 * gdb.reverse/solib-reverse.exp: Same.
5367 * gdb.reverse/step-precsave.exp: Same.
5368 * gdb.reverse/until-precsave.exp: Same.
5369 * gdb.reverse/until-reverse.exp: Same.
5370 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5371
6dfc0041
AA
53722019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5373
5374 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5375 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5376 (cmp_struct_05_01, cmp_struct_static_02_01)
5377 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5378 comparisons.
5379
abcf2cc8
TV
53802019-10-10 Tom de Vries <tdevries@suse.de>
5381
5382 PR testsuite/24888
5383 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5384 gnatlink.
5385
a50faaf6
TV
53862019-10-09 Tom de Vries <tdevries@suse.de>
5387
5388 PR testsuite/25048
5389 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5390
60ff3cd7
AB
53912019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5392
5393 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5394 exceptions due to missing debug information.
5395
dfee8566
TV
53962019-10-07 Tom de Vries <tdevries@suse.de>
5397
5398 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5399
3d63690a
AB
54002019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5401
5402 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5403 * gdb.base/annota1.exp: Update to use gdb_test_name.
5404
30d1f018
WP
54052019-10-07 Weimin Pan <weimin.pan@oracle.com>
5406
5407 * gdb.base/ctf-whatis.exp: New file.
5408 * gdb.base/ctf-whatis.c: New file.
5409 * gdb.base/ctf-ptype.exp: New file.
5410 * gdb.base/ctf-ptype.c: New file.
5411 * gdb.base/ctf-constvars.exp: New file.
5412 * gdb.base/ctf-constvars.c: New file.
5413 * gdb.base/ctf-cvexpr.exp: New file.
5414
4dbbb47c
TV
54152019-10-04 Tom de Vries <tdevries@suse.de>
5416
5417 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5418 for loop.
5419
77c2dba3
TT
54202019-10-03 Tom Tromey <tom@tromey.com>
5421
5422 PR rust/24976:
5423 * gdb.rust/simple.rs (Union2): New type.
5424 (main): Use Union2.
5425 * gdb.rust/simple.exp: Add test.
5426
179aed7f
AB
54272019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5428
5429 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5430 nested function prefix.
5431
0a4b0913
AB
54322019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5433 Richard Bunt <richard.bunt@arm.com>
5434 Andrew Burgess <andrew.burgess@embecosm.com>
5435
5436 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5437 nested functions.
5438 * gdb.fortran/nested-funcs.f90: Update expected results.
5439 * gdb.fortran/nested-funcs-2.exp: New file.
5440 * gdb.fortran/nested-funcs-2.f90: New file.
5441
082cce05
AB
54422019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5443
5444 * gdb.python/py-parameter.exp: Make test names unique.
5445 * gdb.python/py-template.exp: Likewise.
5446 * gdb.python/py-value.exp: Likewise.
5447
2b74ba5a
AB
54482019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5449
5450 * gdb.base/break-interp.exp: Reduce test name duplication.
5451 * gdb.base/call-sc.exp: Likewise.
5452 * gdb.base/callfuncs.exp: Likewise.
5453 * gdb.base/charset.exp: Likewise.
5454 * gdb.base/dump.exp: Likewise.
5455 * gdb.base/ena-dis-br.exp: Likewise.
5456 * gdb.base/relational.exp: Likewise.
5457 * gdb.base/step-over-syscall.exp: Likewise.
5458 * gdb.base/structs.exp: Likewise.
5459
58eb20d5
AB
54602019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5461
5462 * gdb.linespec/explicit.exp: Make test names unique.
5463 * gdb.linespec/ls-errs.exp: Likewise.
5464
4d421147
AB
54652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5466
5467 * gdb.reverse/break-precsave.exp: Make test names unique.
5468 * gdb.reverse/break-reverse.exp: Likewise.
5469 * gdb.reverse/finish-precsave.exp: Likewise.
5470 * gdb.reverse/finish-reverse.exp: Likewise.
5471 * gdb.reverse/machinestate-precsave.exp: Likewise.
5472 * gdb.reverse/machinestate.exp: Likewise.
5473 * gdb.reverse/readv-reverse.exp: Likewise.
5474 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5475 * gdb.reverse/sigall-precsave.exp: Likewise.
5476 * gdb.reverse/sigall-reverse.exp: Likewise.
5477 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5478 * gdb.reverse/watch-precsave.exp: Likewise.
5479 * gdb.reverse/watch-reverse.exp: Likewise.
5480
d8c06f22
AB
54812019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5482
5483 * gdb.threads/stop-with-handle.c: New file.
5484 * gdb.threads/stop-with-handle.exp: New file.
5485
3a56ed86
TV
54862019-10-03 Tom de Vries <tdevries@suse.de>
5487
5488 PR testsuite/25059
5489 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5490 directory" line to be missing.
5491
42275044
TV
54922019-10-03 Tom de Vries <tdevries@suse.de>
5493
5494 PR testsuite/25059
5495 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5496 type optional.
5497
9ef62df0
AA
54982019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5499
5500 * gdb.python/py-format-string.c (string.h): New include.
5501 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5502 the same value, for endianness-independence.
5503 * gdb.python/py-format-string.exp (default_regexp_dict)
5504 (test_pretty_structs, test_format): Adjust expected output to the
5505 changed initialization.
5506
37f6a7f4
TT
55072019-10-02 Tom Tromey <tromey@adacore.com>
5508
5509 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5510
1d58d6a2
PA
55112019-10-02 Pedro Alves <palves@redhat.com>
5512 Andrew Burgess <andrew.burgess@embecosm.com>
5513
5514 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5515 "print-file-var.h".
5516 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5517 (get_version_1): Print this_version_id and its address.
5518 Add extern "C" wrappers around interface functions.
5519 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5520 "print-file-var.h".
5521 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5522 (get_version_2): Print this_version_id and its address.
5523 Add extern "C" wrappers around interface functions.
5524 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5525 <stddef.h> and "print-file-var.h".
5526 Add extern "C" wrappers around interface functions.
5527 [VERSION_ID_MAIN] (this_version_id): Define.
5528 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5529 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5530 up extern "C" blocks.
5531 * gdb.base/print-file-var.exp (test): New, factored out from top
5532 level.
5533 (top level): Test all combinations of attribute hidden or not,
5534 dlopen or not, and this_version_id symbol in main file or not.
5535 Compile tests as both C++ and C, make test names unique.
5536
d770d56f
TT
55372019-10-01 Tom Tromey <tom@tromey.com>
5538
5539 * gdb.base/style.exp: Test "show logging filename".
5540
7f6aba03
TT
55412019-10-01 Tom Tromey <tom@tromey.com>
5542
5543 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5544 * gdb.base/style.exp: Add metadata style test.
5545
14309bb6
TT
55462019-10-01 Tom Tromey <tom@tromey.com>
5547
5548 * gdb.base/style.exp: Test "pwd".
5549
2a3c1174
PA
55502019-10-01 Tom Tromey <tom@tromey.com>
5551
5552 * gdb.base/style.exp: Update tests.
5553
53d666ec
AA
55542019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5555
5556 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5557 'six' to unsigned.
5558 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5559 'five'. Use an all-ones bit pattern for each.
5560 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5561 to its changed values.
5562
4a56a520
TT
55632019-09-30 Tom Tromey <tromey@adacore.com>
5564
5565 * gdb.rust/traits.rs: Disable all warnings.
5566
0df0352a
TV
55672019-09-29 Tom de Vries <tdevries@suse.de>
5568
aac66a4c 5569 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 5570
73d9a918
TV
55712019-09-29 Tom de Vries <tdevries@suse.de>
5572
5573 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5574
060b3ab4
TV
55752019-09-27 Tom de Vries <tdevries@suse.de>
5576
5577 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5578
68f7d34d
TV
55792019-09-27 Tom de Vries <tdevries@suse.de>
5580
5581 PR record/23188
5582 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5583
5d63b30a
TT
55842019-09-26 Tom Tromey <tromey@adacore.com>
5585
5586 * gdb.ada/py_taft.exp: New file.
5587 * gdb.ada/py_taft/main.adb: New file.
5588 * gdb.ada/py_taft/pkg.adb: New file.
5589 * gdb.ada/py_taft/pkg.ads: New file.
5590
3d435220
TV
55912019-09-24 Tom de Vries <tdevries@suse.de>
5592
5593 PR gdb/24598
5594 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5595
77d03678
TV
55962019-09-22 Tom de Vries <tdevries@suse.de>
5597
5598 * gdb.base/restore.exp: Allow register variables to be optimized out at
5599 -O0.
5600
abf516c6
UW
56012019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5602
5603 * gdb.arch/spu-info.exp: Remove file.
5604 * gdb.arch/spu-info.c: Remove file.
5605 * gdb.arch/spu-ls.exp: Remove file.
5606 * gdb.arch/spu-ls.c: Remove file.
5607
5608 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5609 * gdb.asm/spu.inc: Remove file.
5610
5611 * gdb.base/dump.exp: Remove support for spu*-*-*.
5612 * gdb.base/stack-checking.exp: Likewise.
5613 * gdb.base/overlays.exp: Likewise.
5614 * gdb.base/ovlymgr.c: Likewise.
5615 * gdb.base/spu.ld: Remove file.
5616
5617 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5618 * gdb.cp/cpexprs.exp: Likewise.
5619 * gdb.cp/exception.exp: Likewise.
5620 * gdb.cp/gdb2495.exp: Likewise.
5621 * gdb.cp/mb-templates.exp: Likewise.
5622 * gdb.cp/pr9167.exp: Likewise.
5623 * gdb.cp/userdef.exp: Likewise.
5624
5625 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5626
5627 * gdb.cell: Remove directory.
5628 * lib/cell.exp: Remove file.
5629
e452e88f
TV
56302019-09-19 Tom de Vries <tdevries@suse.de>
5631
5632 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5633
8a625130
TV
56342019-09-19 Tom de Vries <tdevries@suse.de>
5635
5636 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5637
81dc3ab5
TV
56382019-09-19 Tom de Vries <tdevries@suse.de>
5639
5640 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5641 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5642 (gdb_target_cmd): ... here.
5643 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5644 value 2.
5645
b078f3ac
AB
56462019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5647
5648 * gdb.base/source-dir.exp: Avoid having directory names in test
5649 names.
5650
f1b620e9
MG
56512019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5652
5653 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5654 directory.
5655
67f3ed6a
AB
56562019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5657
5658 * gdb.base/list-missing-source.exp: New file.
5659
d1b70248
TV
56602019-09-14 Tom de Vries <tdevries@suse.de>
5661
5662 PR teststuite/24599
5663 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5664 * lib/ada.exp (gnatmake_version_at_least): New proc.
5665
5fabdcd6
AB
56662019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5667
5668 * gdb.base/maint.exp: Use exec_has_index_section.
5669
aa17805f
AB
56702019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5671
5672 * gdb.base/maint.exp: Add test for 'maint info sections'.
5673
25e5c209
TV
56742019-09-12 Tom de Vries <tdevries@suse.de>
5675
5676 * gdb.base/store.exp: Allow register variables to be optimized out at
5677 -O0.
5678
4993045d
PW
56792019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5680
5681 * gdb.ada/rdv_wait.exp: Update to new task names.
5682 * gdb.base/task_switch_in_core.exp: Likewise.
5683 * gdb.base/info_sources_base.c: Likewise.
5684
8a516164
TT
56852019-09-10 Tom Tromey <tromey@adacore.com>
5686
5687 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5688
aa391654
TT
56892019-09-10 Tom Tromey <tromey@adacore.com>
5690
5691 * gdb.ada/dgopt.exp: New file.
5692 * gdb.ada/dgopt/x.adb: New file.
5693
8634b462
TT
56942019-09-08 Tom Tromey <tom@tromey.com>
5695
5696 * gdb.tui/resize.exp: Remove setup_xfail.
5697 * gdb.tui/regs.exp: Remove setup_xfail.
5698 * gdb.tui/basic.exp: Remove setup_xfail.
5699
736b0f76
DB
57002019-09-06 David Blaikie <dblaikie@gmail.com>
5701
5702 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5703 * gdb.cp/cplabel.exp: Ditto.
5704 * gdb.linespec/ls-errs.exp: Ditto.
5705
30331a6c
TV
57062019-09-05 Tom de Vries <tdevries@suse.de>
5707
5708 * lib/gdb.exp (cmp_file_string): New proc.
5709 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5710 runto_main. Verify save breakpoints output.
5711
98b0ebab
PW
57122019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5713
5714 * gdb.base/info-var.exp: Test info variables without running
5715 to main, to avoid expect's buffer overflow.
5716
4e962e74
TT
57172019-09-03 Tom Tromey <tromey@adacore.com>
5718
5719 * gdb.ada/bias.exp: New file.
5720 * gdb.ada/bias/bias.adb: New file.
5721 * gdb.ada/print_chars.exp: Add regression test.
5722 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5723 (MC): New variable.
5724
2ea1a07a
SL
57252019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5726
5727 * gdb.base/argv0-symlink.exp: Run only on native target
5728 and local host.
5729
8077c50d
TV
57302019-08-29 Tom de Vries <tdevries@suse.de>
5731
5732 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5733 diverse debug info.
5734 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5735
48352473
TV
57362019-08-28 Tom de Vries <tdevries@suse.de>
5737
5738 * gdb.base/info-var.exp: Allow info variables to print info for files
5739 other than info-var-f1.c and info-var-f2.c.
5740
d8f27c60
AB
57412019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5742
5743 * gdb.fortran/info-types.exp: Add module.
5744 * gdb.fortran/info-types.f90: Update expected results.
5745
1f20c35e
AB
57462019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5747
5748 * gdb.fortran/info-types.exp: New file.
5749 * gdb.fortran/info-types.f90: New file.
5750 * lib/fortran.exp (fortran_character1): New proc.
5751
4acfdd20
AB
57522019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5753
5754 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5755 functions'. Reindent as needed.
5756 * gdb.base/info-var-f1.c: New file.
5757 * gdb.base/info-var-f2.c: New file.
5758 * gdb.base/info-var.exp: New file.
5759 * gdb.base/info-var.h: New file.
5760
5c31b358
TV
57612019-08-26 Tom de Vries <tdevries@suse.de>
5762
5763 PR c++/24852
5764 * gdb.cp/no-libstdcxx-probe.exp: New test.
5765
b694989f
TV
57662019-08-26 Tom de Vries <tdevries@suse.de>
5767
5768 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5769 * tests need to be skipped.
5770 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5771 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5772 mi_skip_libstdcxx_probe_tests.
5773
d9c4ba53
SDJ
57742019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5775
5776 * gdb.python/py-xmethods.exp: Use raw strings when passing
5777 arguments to SimpleXMethodMatcher.
5778
395fad09
TV
57792019-08-22 Tom de Vries <tdevries@suse.de>
5780
5781 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5782 more informative.
5783
26c957f1
PA
57842019-08-21 Pedro Alves <palves@redhat.com>
5785
5786 * gdb.base/with.exp: Test "with" with no arguments.
5787
61f80d5d
TV
57882019-08-21 Tom de Vries <tdevries@suse.de>
5789
5790 * gdb.base/gdb-caching-proc.exp: Sort files.
5791
d7a11d13
TV
57922019-08-20 Tom de Vries <tdevries@suse.de>
5793
5794 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5795 compilation.
5796
34dafe9f
TV
57972019-08-16 Tom de Vries <tdevries@suse.de>
5798
5799 * gdb.base/compare-sections.exp ("after run to main"): Allow
5800 mismatched read-only sections for PIE executables.
5801
398fdd60
TT
58022019-08-16 Tom Tromey <tom@tromey.com>
5803
5804 * lib/tuiterm.exp (_csi_Z): New proc.
5805 * gdb.tui/basic.exp: Update window positions.
5806 * gdb.tui/empty.exp: Update window positions.
5807
d8f9e51c
SL
58082019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5809
5810 * gdb.base/examine-backward.exp: Correct regexp for
5811 "examine 3 bytes backward from ${address_zero}".
5812
3df505f6
TT
58132019-08-15 Tom Tromey <tom@tromey.com>
5814
5815 * gdb.tui/empty.exp: Enable resizing tests.
5816
272560b5
TT
58172019-08-15 Tom Tromey <tromey@adacore.com>
5818
5819 * gdb.ada/char_enum.exp: Add regression tests.
5820 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5821 and '0'.
5822 (Char, Gchar): Update.
5823 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5824
08235187
CB
58252019-08-15 Christian Biesinger <cbiesinger@google.com>
5826
5827 * gdb.python/python.exp: Expect a leading underscore on
5828 GdbOutput{,Error}File.
5829
22a2ab04
SL
58302019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5831
5832 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5833 Windows host.
5834
835b995b
SL
58352019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5836
5837 * gdb.base/batch-preserve-term-settings.exp
5838 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5839
97dd8e07
CB
58402019-08-15 Christian Biesinger <cbiesinger@google.com>
5841
5842 * lib/gdb.exp: When running on a mingw target, replace
5843 /x/ with x:/.
5844
75faf5c4
AH
58452019-08-14 Alan Hayward <alan.hayward@arm.com>
5846
5847 * gdb.arch/aarch64-prologue.c: New test.
5848 * gdb.arch/aarch64-prologue.exp: New file.
5849
abc6c00f
TV
58502019-08-13 Tom de Vries <tdevries@suse.de>
5851
5852 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5853 Thread.
5854
74c2c1f4
SL
58552019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5856
5857 * gdb.python/py-completion.exp: Download the .py file to the host
5858 and use its host pathname. Conditionalize tests that use
5859 tab completion and manipulate files on the build machine.
5860 * gdb.python/py-events.exp: Download the .py file to the host
5861 and use its host pathname.
5862 * gdb.python/py-evsignal.exp: Likewise.
5863 * gdb.python/py-evthreads.exp: Likewise.
5864 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5865 pathname syntax.
5866 * gdb.python/py-framefilter.exp: Download the .py file to the right
5867 place on the host. Match Windows pathname syntax.
5868 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5869 .py file to the host and use its host pathname.
5870 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5871 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5872 build pathname. Skip symlink test on Windows host. Add missing
5873 newline at end of file.
5874 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5875 and use its host pathname.
5876 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5877 * gdb.python/py-section-script.exp: Use host location of binfile
5878 on safe-path. Use correct path separator on Windows host.
5879 Reorder alternatives in gdb_test_multiple to prevent matching
5880 the wrong alternative on success.
5881 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5882
ca2589f3
PP
58832019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5884
5885 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5886 expect the GDB inferior to no longer immediately stop after
5887 being resumed with "signal SIGINT".
5888
020a839d
SL
58892019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5890
5891 * gdb.linespec/break-ask.exp: Generalize regexps to match
5892 Windows pathnames too.
5893
128d6509
TV
58942019-08-08 Tom de Vries <tdevries@suse.de>
5895
5896 PR testsuite/24862
5897 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5898
590042fc
PW
58992019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5900
5901 * gdb.base/style.exp: Update tests for help doc new invariants.
5902 * gdb.base/help.exp: Likewise.
5903
046bebe1
TT
59042019-08-06 Tom Tromey <tom@tromey.com>
5905
5906 * gdb.base/style.exp: Add disassemble test.
5907 * gdb.base/style.c (some_called_function): New function.
5908 (main): Use it.
5909
0b27c27d
CB
59102019-08-05 Christian Biesinger <cbiesinger@google.com>
5911
5912 * gdb.python/py-block.exp: Test dictionary access on blocks.
5913
580f1034
SM
59142019-08-05 Simon Marchi <simon.marchi@efficios.com>
5915
5916 PR gdb/24863
5917 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5918 -list-thread-groups --available test when running under
5919 check-read1.
5920
d86bd7cb
TV
59212019-08-05 Tom de Vries <tdevries@suse.de>
5922
5923 PR testsuite/24863
5924 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5925 * gdb.base/help.exp: Use with_read1_timeout_factor.
5926 * gdb.base/info-macros.exp: Same.
5927 * gdb.cp/nested-types.exp: Same.
5928
a80cf5d8
TV
59292019-08-05 Tom de Vries <tdevries@suse.de>
5930
5931 * lib/gdb.exp (version_at_least): Factor out of ...
5932 (tcl_version_at_least): ... here.
5933 (gdb_compile): Fail if pie results in non-PIE executable.
5934 (readelf_version, readelf_prints_pie): New proc.
5935 (exec_is_pie): Return -1 if unknown.
5936
d0962838
TV
59372019-08-05 Tom de Vries <tdevries@suse.de>
5938
5939 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5940
2252ff3d
SL
59412019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5942
5943 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5944
26655f53
SL
59452019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5946
5947 * lib/completion-support.exp (test_gdb_complete_none): Skip
5948 tab completion tests if no readline support.
5949 (test_gdb_complete_unique_re): Likewise.
5950 (test_gdb_complete_multiple): Likewise.
5951
db4dc13e
PW
59522019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5953
5954 * gdb.base/info_sources.exp: New file.
5955 * gdb.base/info_sources.c: New file.
5956 * gdb.base/info_sources_base.c: New file.
5957
0eba165a
PFC
59582019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5959
5960 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5961 prefix argument.
5962 (test_exit_status): Add prefix argument.
5963
59bd512b
TV
59642019-08-01 Tom de Vries <tdevries@suse.de>
5965
5966 PR testsuite/24863
5967 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5968 calling exp_continue for new thread and thread exited messages.
5969
2a3ad588
TV
59702019-08-01 Tom de Vries <tdevries@suse.de>
5971
5972 PR testsuite/24863
5973 * gdb.base/structs.exp: Fix check-read1 timeout using
5974 gdb_test_sequence.
5975 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5976
117eb594
TV
59772019-08-01 Tom de Vries <tdevries@suse.de>
5978
5979 PR testsuite/24863
5980 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5981 line.
5982
ed591340
TV
59832019-08-01 Tom de Vries <tdevries@suse.de>
5984
5985 PR testsuite/24863
5986 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5987
aa3b6533
TT
59882019-07-30 Tom Tromey <tromey@adacore.com>
5989
5990 * gdb.ada/display_nested.exp: New file.
5991 * gdb.ada/display_nested/foo.adb: New file.
5992 * gdb.ada/display_nested/pack.adb: New file.
5993 * gdb.ada/display_nested/pack.ads: New file.
5994
2906593f
CB
59952019-07-30 Christian Biesinger <cbiesinger@google.com>
5996
5997 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5998 namespace.
5999 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6000
0f575925
TV
60012019-07-30 Tom de Vries <tdevries@suse.de>
6002
6003 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6004 instead.
6005
b13057d9
TV
60062019-07-30 Tom de Vries <tdevries@suse.de>
6007
6008 PR testsuite/24834
6009 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6010 (exec_is_pie): New proc.
6011
5c4dde85
CB
60122019-07-29 Christian Biesinger <cbiesinger@google.com>
6013
6014 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6015
c620ed88
CB
60162019-07-29 Christian Biesinger <cbiesinger@google.com>
6017
6018 * gdb.python/py-objfile.c: Add global and static vars.
6019 * gdb.python/py-objfile.exp: Test new functions Objfile.
6020 lookup_global_symbol and lookup_static_symbol.
6021
3d235706
TT
60222019-07-29 Tom Tromey <tom@tromey.com>
6023
6024 * lib/tuiterm.exp (Term::_csi_@): New proc.
6025 (Term::_csi_X): Don't move cursor.
6026
c7e4c0a6
PW
60272019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6028
6029 * gdb.base/options.exp: Update backtrace - completion to
6030 new option -frame-info.
6031 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6032 Test new 'set print frame-info'. Test backtrace -frame-info
6033 overriding 'set print frame-info'.
6034 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6035 Test new 'set print frame-info'.
6036 Verify consistency of backtrace with and without filters, with and
6037 without -no-filters.
6038 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6039 default.
6040
de28a3b7
TV
60412019-07-29 Tom de Vries <tdevries@suse.de>
6042
6043 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6044 no arguments".
6045
507dd60e
TV
60462019-07-29 Tom de Vries <tdevries@suse.de>
6047
6048 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6049 is a substring of the first for "complete non-unique file name".
6050
5beafce9
TV
60512019-07-29 Tom de Vries <tdevries@suse.de>
6052
6053 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6054 with ".*".
6055
2d274232
TV
60562019-07-29 Tom de Vries <tdevries@suse.de>
6057
6058 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6059 Pass prompt_regexp parameter to gdb_test_multiple calls.
6060
9197cd8b
TV
60612019-07-29 Tom de Vries <tdevries@suse.de>
6062
6063 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6064 print registers" regexps.
9197cd8b 6065
b528dae0
TV
60662019-07-29 Tom de Vries <tdevries@suse.de>
6067
6068 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6069
d17725d7
TV
60702019-07-29 Tom de Vries <tdevries@suse.de>
6071
6072 PR gdb/24855
6073 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6074 (skip_python_tests_prompt): Add prompt_regexp argument to
6075 gdb_test_multiple calls.
6076
52b75bf1
TT
60772019-07-27 Tom Tromey <tom@tromey.com>
6078
6079 * gdb.tui/main.exp: New file.
6080
2b1d00c2
TT
60812019-07-27 Tom Tromey <tom@tromey.com>
6082
6083 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6084 optional.
6085 * gdb.tui/empty.exp: New file.
6086
ded631d5
TT
60872019-07-27 Tom Tromey <tom@tromey.com>
6088
6089 * lib/tuiterm.exp (spawn): New proc.
6090 (Term::resize): New proc.
6091 * gdb.tui/resize.exp: New file.
6092
58ac439d
TT
60932019-07-27 Tom Tromey <tom@tromey.com>
6094
6095 * gdb.tui/list.exp: New file.
6096
fe1f56ee
TT
60972019-07-27 Tom Tromey <tom@tromey.com>
6098
6099 * gdb.tui/regs.exp: New file.
6100
f790b310
TT
61012019-07-27 Tom Tromey <tom@tromey.com>
6102
6103 * gdb.tui/basic.exp: Add "layout split" test.
6104
d95fc6ee
TT
61052019-07-27 Tom Tromey <tom@tromey.com>
6106
6107 * gdb.tui/basic.exp: Add "layout asm" test.
6108
c3786b3a
TT
61092019-07-27 Tom Tromey <tom@tromey.com>
6110
6111 * lib/tuiterm.exp: New file.
6112 * gdb.tui/basic.exp: New file.
6113
98a617f8
KB
61142019-07-27 Kevin Buettner <kevinb@redhat.com>
6115
6116 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6117 Enable tests associated with this flag. Adjust regex
6118 referencing "foo_low" to now refer to "foo_cold" instead.
6119
5c076da4
KB
61202019-07-27 Kevin Buettner <kevinb@redhat.com>
6121
6122 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6123 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6124 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6125 foo_cold. Revise comments to match.
6126 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6127 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6128 were wrapped into this proc; Call do_test in loop from outermost
6129 level.
6130 (foo_low): Rename all occurrences to "foo_cold".
6131 (backtrace from baz): New test.
6132 (x2/i foo_cold): New test.
6133 (info line *foo_cold): New test.
6134
1512d3b7
TV
61352019-07-26 Tom de Vries <tdevries@suse.de>
6136
6137 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6138
297989a1
TV
61392019-07-25 Tom de Vries <tdevries@suse.de>
6140
6141 PR testsuite/24830
6142 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6143 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6144 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6145 (skip_libstdcxx_probe_tests): ... here.
6146 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6147
b3b965fb
TV
61482019-07-24 Tom de Vries <tdevries@suse.de>
6149
6150 PR testsuite/24807
6151 * gdb.objc/basicclass.m: Include stdio.h.
6152 * gdb.objc/nondebug.m: Same.
6153 * gdb.objc/objcdecode.m: Same.
6154
4625b4d0
TV
61552019-07-24 Tom de Vries <tdevries@suse.de>
6156
6157 PR testsuite/24612
6158 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6159 additional_flags.
6160
024a5840
TV
61612019-07-24 Tom de Vries <tdevries@suse.de>
6162
6163 PR testsuite/24831
6164 * gdb.multi/tids.exp: Update error messages for info threads.
6165
c76ddaa3
TV
61662019-07-24 Tom de Vries <tdevries@suse.de>
6167
6168 * gdb.base/info-types.exp: Allow info types to print info for more than
6169 one file.
6170
9a618ef6
TV
61712019-07-23 Tom de Vries <tdevries@suse.de>
6172
6173 PR testsuite/24842
6174 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6175 gdb_spawn_with_cmdline_opts.
6176
40eadf04
SP
61772019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6178
6179 * gdb.arch/arm-cmse-sgstubs.c: New test.
6180 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6181
5ba29434
TV
61822019-07-23 Tom de Vries <tdevries@suse.de>
6183
6184 PR testsuite/24711
6185 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6186 issuing next command.
6187
a8e9d247
AB
61882019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6189
6190 * gdb.ada/info_auto_lang.exp: Update expected results.
6191 * gdb.base/info-types.c: Add additional types to check.
6192 * gdb.base/info-types.exp: Update expected results.
6193
eb86c5e2
AB
61942019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6195
6196 * gdb.base/info-types.c: New file.
6197 * gdb.base/info-types.exp: New file.
6198
01e175fe
AB
61992019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6200
6201 * gdb.arch/riscv-bp-infcall.c: New file.
6202 * gdb.arch/riscv-bp-infcall.exp: New file.
6203
6b78c3f8
AB
62042019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6205
6206 PR breakpoints/24541
6207 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6208
da738167
TV
62092019-07-14 Tom de Vries <tdevries@suse.de>
6210
6211 PR testsuite/24760
6212 * gdb.objc/basicclass.exp: Fix unterminated string.
6213
0d4e84ed
AB
62142019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6215 Andrew Burgess <andrew.burgess@embecosm.com>
6216
6217 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6218 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6219 negative bounds.
6220 * gdb.fortran/vla-value.exp: Print elements of an array with
6221 negative bounds.
6222 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6223 testing.
6224
021d8588
AB
62252019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6226
6227 * gdb.base/options.exp (expect_string): Dequote strings in
6228 results.
6229 (test-string): Test strings with different quoting and reindent.
6230
f06f1252
TT
62312019-07-10 Tom Tromey <tromey@adacore.com>
6232
6233 * gdb.ada/mi_ex_cond.exp: Update expected results.
6234 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6235 * gdb.ada/mi_catch_ex.exp: Update expected results.
6236 * gdb.ada/mi_catch_assert.exp: Update expected results.
6237 * gdb.ada/catch_ex.exp (catch_exception_info)
6238 (catch_exception_entry, catch_assert_entry)
6239 (catch_unhandled_entry): Update.
6240 * gdb.ada/catch_assert_if.exp: Update expected results.
6241
b863685d
RB
62422019-07-10 Richard Bunt <richard.bunt@arm.com>
6243 Stephen Roberts <stephen.roberts@arm.com>
6244
6245 * gdb.base/define.exp: Restore original prompt.
6246
cb1e4e32
PA
62472019-07-09 Pedro Alves <palves@redhat.com>
6248
6249 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6250 breakpoints" output.
6251 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6252 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6253 throw" creates breakpoint.
6254 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6255 'type="catchpoint"'.
6256
b58a68fe
PA
62572019-07-09 Pedro Alves <palves@redhat.com>
6258
6259 PR c++/15468
6260 * gdb.cp/except-multi-location-lib.cc: New.
6261 * gdb.cp/except-multi-location-main.cc: New.
6262 * gdb.cp/except-multi-location.exp: New.
6263
0826779b
PW
62642019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6265
6266 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6267 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6268 argument and update callers.
6269
5b0e2db4
AB
62702019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6271
6272 * gdb.arch/amd64-break-on-asm-line.S: New file.
6273 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6274
1f6f6e21
PW
62752019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6276
6277 * gdb.base/printcmds.exp: Test printing C string and
6278 C wide string convenience vars without transiting via the inferior.
6279 Also make test names unique.
6280
ea142fbf
AH
62812019-07-08 Alan Hayward <alan.hayward@arm.com>
6282
5862c886 6283 PR breakpoints/25011
ea142fbf
AH
6284 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6285
213fd9fa
PA
62862019-07-04 Pedro Alves <palves@redhat.com>
6287
6288 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6289 body returned ok(0), break(3) or continue(4).
6290 * gdb.testsuite/foreach_with_prefix.exp: New file.
6291
2b40fda7
AH
62922019-07-04 Alan Hayward <alan.hayward@arm.com>
6293
6294 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6295
a26c8de0
PA
62962019-07-03 Pedro Alves <palves@redhat.com>
6297
6298 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6299 "return -code".
6300
5f4ba3e7
PA
63012019-07-03 Pedro Alves <palves@redhat.com>
6302
6303 PR cli/24732
6304 * gdb.base/shell.exp: Load completion-support.exp.
6305 Adjust expected error output. Add completion tests.
6306
a994424f
PA
63072019-07-03 Pedro Alves <palves@redhat.com>
6308
6309 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6310 string_to_regexp.
6311
3d9be6f5
PA
63122019-07-03 Pedro Alves <palves@redhat.com>
6313
6314 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6315 (expect_integer): Adjust to expect "-string".
6316 (expect_string): New.
6317 (all_options): Expect "-string".
6318 (test-flag, test-boolean): Adjust to expect "-string".
6319 (test-string): New proc.
6320 (top level): Call it.
6321
41fc454c
PA
63222019-07-03 Pedro Alves <palves@redhat.com>
6323
6324 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6325 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6326 the expected output in the success.
6327
b2b2a215
PA
63282019-07-03 Pedro Alves <palves@redhat.com>
6329
6330 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6331 Split one gdb_test_multiple call in two to avoid a race.
6332
fdbc9870
PA
63332019-07-03 Pedro Alves <palves@redhat.com>
6334
6335 * gdb.base/with.c: New file.
6336 * gdb.base/with.exp: New file.
6337
c6ac8931
PA
63382019-07-03 Pedro Alves <palves@redhat.com>
6339
6340 * gdb.base/settings.exp: Replace all references to "maint
6341 test-settings set" with references to "maint set test-settings",
6342 and all references to "maint test-settings show" with references
6343 to "maint show test-settings".
6344
970f9d09
PA
63452019-07-03 Pedro Alves <palves@redhat.com>
6346
6347 * gdb.base/settings.exp (test-string): Adjust expected out when
6348 testing "maint test-settings show filename"
6349
54d66006
PA
63502019-07-02 Pedro Alves <palves@redhat.com>
6351
6352 * gdb.base/options.exp (test-info-threads): New procedure.
6353 (top level): Call it.
6354
10d06d82
TT
63552019-06-28 Tom Tromey <tromey@adacore.com>
6356
6357 * gdb.dwarf2/ada-linkage-name.c: New file.
6358 * gdb.dwarf2/ada-linkage-name.exp: New file.
6359
3d507ff2
TT
63602019-06-27 Tom Tromey <tromey@adacore.com>
6361
d039f014 6362 PR c++/20020:
3d507ff2
TT
6363 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6364
8af58ffe
TV
63652019-06-26 Tom de Vries <tdevries@suse.de>
6366
6367 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6368
22e21752
TV
63692019-06-26 Tom de Vries <tdevries@suse.de>
6370
6371 * gdb.base/index-cache.exp: Add back missing debug option.
6372
b65b566c
PW
63732019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6374
6375 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6376
5c2c8c69
TV
63772019-06-25 Tom de Vries <tdevries@suse.de>
6378
6379 PR testsuite/24727
6380 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6381
164e3873
TV
63822019-06-24 Tom de Vries <tdevries@suse.de>
6383
6384 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6385
824eacee
TV
63862019-06-24 Tom de Vries <tdevries@suse.de>
6387
6388 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6389 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6390 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6391
385b97d3
TV
63922019-06-24 Tom de Vries <tdevries@suse.de>
6393
6394 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6395
c596f180
TV
63962019-06-21 Tom de Vries <tdevries@suse.de>
6397
6398 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6399
b13a7d03
TV
64002019-06-21 Tom de Vries <tdevries@suse.de>
6401
6402 PR testsuite/24518
6403 PR ada/24713
6404 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
6405 index.
6406
899277ae
TT
64072019-06-19 Tom Tromey <tromey@adacore.com>
6408
6409 * gdb.ada/length_cond.exp: Add intro comment.
6410
680e1bee
TT
64112019-06-19 Tom Tromey <tromey@adacore.com>
6412
6413 * gdb.ada/length_cond.exp: New file.
6414 * gdb.ada/length_cond/length_cond.adb: New file.
6415 * gdb.ada/length_cond/pck.adb: New file.
6416 * gdb.ada/length_cond/pck.ads: New file.
6417
0ed4690a
TV
64182019-06-18 Tom de Vries <tdevries@suse.de>
6419
6420 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6421
d20ed5fd
TT
64222019-06-18 Tom Tromey <tromey@adacore.com>
6423
6424 * gdb.base/list0.h: Add comment explaining control character.
6425
86e04673
TV
64262019-06-18 Tom de Vries <tdevries@suse.de>
6427
6428 * boards/fission.exp: Break up long debug_flags line.
6429
c4973306
SM
64302019-06-16 Tom de Vries <tdevries@suse.de>
6431
6432 PR gdb/24445
6433 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6434 generated index.
6435
93cb9841
AB
64362019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6437
6438 PR gdb/24686
6439 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6440 improve detection of bug gdb/24541.
6441
399aaebd
SM
64422019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6443
6444 PR gdb/24669
6445 * gdb.base/index-cache.exp (uses_readnow,
6446 expecting_index_cache_use): Define global variable.
6447 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6448 expecting_index_cache_use.
6449
584a927c
AB
64502019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6451 Andrew Burgess <andrew.burgess@embecosm.com>
6452
6453 * gdb.fortran/pointers.f90: New file.
6454 * gdb.fortran/print_type.exp: New file.
6455 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6456 * gdb.fortran/vla-type.exp: Likewise.
6457 * gdb.fortran/vla-value.exp: Likewise.
6458 * gdb.mi/mi-vla-fortran.exp: Likewise.
6459
30056ea0
AB
64602019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6461
6462 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6463 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6464 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6465 as a stop reason.
6466
ec8e2b6d
AB
64672019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6468
6469 * gdb.base/annota1.exp: Update expected results.
6470 * gdb.cp/annota2.exp: Likewise.
6471 * gdb.cp/annota3.exp: Likewise.
6472
09e4c4e1
AB
64732019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6474
6475 * gdb.base/style-logging.exp: Remove path from test name.
6476
0735b091
TT
64772019-06-14 Tom Tromey <tromey@adacore.com>
6478
6479 PR gdb/24502:
6480 * gdb.base/style-logging.exp: New file.
6481
f5686554
TT
64822019-06-14 Tom Tromey <tromey@adacore.com>
6483
6484 * gdb.base/symfile-warn.exp: New file.
6485 * gdb.base/symfile-warn.c: New file.
6486
a0c1ffed
TT
64872019-06-14 Tom Tromey <tromey@adacore.com>
6488
6489 * gdb.base/annotate-symlink.exp: New file.
6490
f411722c
TT
64912019-06-14 Tom Tromey <tromey@adacore.com>
6492
6493 * gdb.ada/set_wstr.exp: Add reassignment test.
6494
4268ec18
TT
64952019-06-14 Tom Tromey <tromey@adacore.com>
6496
6497 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6498 'unchecked_access and 'unrestricted_access as well.
6499
9a9e394b
TT
65002019-06-14 Tom Tromey <tromey@adacore.com>
6501
6502 PR ada/24539:
6503 * gdb.ada/vla.exp: Update tests.
6504 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6505 pragma.
6506
4c048731
PA
65072019-06-13 Pedro Alves <palves@redhat.com>
6508
6509 * gdb.base/settings.exp (test-integer): Test junk after
6510 "unlimited".
6511
6665660a
PA
65122019-06-13 Pedro Alves <palves@redhat.com>
6513
6514 * gdb.base/options.exp (test-thread-apply): New.
6515 (top level): Call it.
6516
5d707134
PA
65172019-06-13 Pedro Alves <palves@redhat.com>
6518
6519 * gdb.base/options.exp (test-frame-apply): New.
6520 (top level): Test print commands with different "frame apply"
6521 prefixes.
6522
e2a689da
PA
65232019-06-13 Pedro Alves <palves@redhat.com>
6524
e79be6e5 6525 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
6526 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6527 'max_completions' parameter and handle it.
6528 (test_gdb_completion_offers_commands): New.
6529
90a1ef87
PA
65302019-06-13 Pedro Alves <palves@redhat.com>
6531
6532 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6533
d4c16835
PA
65342019-06-13 Pedro Alves <palves@redhat.com>
6535
6536 * gdb.base/options.exp (test-backtrace): New.
6537 (top level): Call it.
6538
2daf894e
PA
65392019-06-13 Pedro Alves <palves@redhat.com>
6540
6541 * gdb.guile/scm-frame-args.exp: Use "set print
6542 raw-frame-arguments" instead of "set print raw frame-arguments".
6543 * gdb.python/py-frame-args.exp: Likewise.
6544
e6ed716c
PA
65452019-06-13 Pedro Alves <palves@redhat.com>
6546
6547 * gdb.compile/compile.exp: Adjust expected output to option
6548 processing changes.
6549
7d8062de
PA
65502019-06-13 Pedro Alves <palves@redhat.com>
6551
6552 * gdb.base/options.exp: Build executable.
6553 (test-print): New procedure.
6554 (top level): Call it, once for "print" and another for "compile
6555 print".
6556
9d0faba9
PA
65572019-06-13 Pedro Alves <palves@redhat.com>
6558
6559 * gdb.base/options.c: New file.
6560 * gdb.base/options.exp: New file.
6561
dee7b4c8
PA
65622019-06-13 Pedro Alves <palves@redhat.com>
6563
6564 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6565 that "o" is ambiguous.
6566
dca0f6c0
PA
65672019-06-13 Pedro Alves <palves@redhat.com>
6568
6569 * gdb.base/settings.c: New file.
6570 * gdb.base/settings.exp: New file.
6571
ccf46844
PA
65722019-06-13 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.base/completion.exp: Fix comment typo.
6575
b9a3f842
PA
65762019-06-13 Pedro Alves <palves@redhat.com>
6577
6578 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6579 foo --1" test.
6580
d106773e
PA
65812019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6582
6583 * gdb.fortran/block-data.f: New.
6584 * gdb.fortran/block-data.exp: New.
6585
fea82da0
TV
65862019-06-11 Tom de Vries <tdevries@suse.de>
6587
6588 PR testsuite/24521
6589 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6590 message.
6591
8c2e74f1
TV
65922019-06-11 Tom de Vries <tdevries@suse.de>
6593
6594 PR testsuite/24521
6595 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6596
b49851c8
TV
65972019-06-11 Tom de Vries <tdevries@suse.de>
6598
6599 * boards/readnow.exp: New file.
6600
a7067863
AB
66012019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6602
6603 * gdb.fortran/vla-sizeof.exp: Update expected results.
6604
1a3da2cd
AB
66052019-06-06 Amos Bird <amosbird@gmail.com>
6606
6607 * gdb.base/annota1.exp (thread_switch): Add test for
6608 thread-exited annotation.
6609
3847a7bf
TT
66102019-06-06 Tom Tromey <tromey@adacore.com>
6611
6612 * gdb.base/maint.exp: Expect command started/finished output.
6613
0088ba59
AB
66142019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6615
6616 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6617 comment.
6618 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6619
312617a3
AB
66202019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6621
6622 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6623 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6624 * gdb.arch/riscv-unwind-long-insn.c: New file.
6625 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6626
e1f2e1a2
CB
66272019-06-04 Christian Biesinger <cbiesinger@google.com>
6628
d3238f7d 6629 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 6630
206584bd
PW
66312019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6632
6633 * lib/gdb.exp (help_list_trailer): New regexp variable
6634 factorizing the help trailer message.
6635 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6636 arg to allow to better factorize various tests.
6637 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6638 (test_prefix_command_help): Use help_list_trailer.
6639 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6640 * gdb.guile/scm-cmd.exp: Likewise.
6641 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6642 * gdb.base/help.exp: Use test_user_defined_class_help.
6643 * gdb.base/style.exp: Add tests for styling of help and apropos.
6644 * lib/gdb-utils.exp (style): Add title and highlight styles.
6645
708dc93e
PW
66462019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6647
6648 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6649 $_shell_exitsignal.
6650 * gdb.base/default.exp: Update for new convenience variables.
6651
f49055a5
TT
66522019-05-29 Tom Tromey <tromey@adacore.com>
6653
6654 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6655 to "break complete ada" test case's regexp.
6656
4330d61d
TT
66572019-05-29 Tom Tromey <tromey@adacore.com>
6658
6659 PR c++/20020:
6660 * gdb.cp/constexpr-field.exp: New file.
6661 * gdb.cp/constexpr-field.cc: New file.
6662
000439d5
TT
66632019-05-29 Tom Tromey <tromey@adacore.com>
6664
6665 * gdb.base/finish.exp (finish_no_print): New proc.
6666 (finish_tests): Call it.
6667
5a01c34c
TV
66682019-05-24 Tom de Vries <tdevries@suse.de>
6669
6670 * gdb.dwarf2/gdb-add-index.exp: New file.
6671
18125b16
TT
66722019-05-22 Tom Tromey <tromey@adacore.com>
6673
6674 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6675 * gdb.base/style.exp: Use "style".
6676 * lib/gdb-utils.exp (style): New proc.
6677
af1a8d03
TV
66782019-05-22 Tom de Vries <tdevries@suse.de>
6679
6680 * gdb.base/align.exp: Require c++11.
6681
e7fe496b
TV
66822019-05-22 Tom de Vries <tdevries@suse.de>
6683
6684 PR testsuite/24586
6685 * gdb.python/py-mi-var-info-path-expression.exp: Call
6686 mi_skip_python_tests to check if python is supported.
6687
8fca4da0
AH
66882019-05-22 Alan Hayward <alan.hayward@arm.com>
6689
6690 * gdb.arch/aarch64-pauth.c: New test.
6691 * gdb.arch/aarch64-pauth.exp: New file.
6692
b7060614
AH
66932019-05-22 Alan Hayward <alan.hayward@arm.com>
6694
6695 * README (Re-running Tests Outside The Testsuite): New section.
6696
669d0468
TV
66972019-05-21 Tom de Vries <tdevries@suse.de>
6698
6699 * gdb.arch/amd64-eval.exp: Require c++11.
6700 * gdb.base/max-depth.exp: Same.
6701 * gdb.compile/compile-cplus-array-decay.exp: Same.
6702 * gdb.cp/meth-typedefs.exp: Same.
6703 * gdb.cp/subtypes.exp: Same.
6704 * gdb.cp/temargs.exp: Same.
6705
ce3ebcaa
AH
67062019-05-21 Alan Hayward <alan.hayward@arm.com>
6707
6708 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6709
34d11c68
AB
67102019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6711
6712 PR gdb/18644
6713 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6714 * gdb.fortran/printing-types.exp: Add new test.
6715 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6716 testing.
6717 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6718 setup_kfail call.
6719
87781e84
AH
67202019-05-17 Alan Hayward <alan.hayward@arm.com>
6721
6722 * README (Running the Testsuite): Change example.
6723 (Testsuite Parameters): Remove TRANSCRIPT.
6724 * lib/gdb.exp: Remove TRANSCRIPT check.
6725
b420b89e
AH
67262019-05-17 Alan Hayward <alan.hayward@arm.com>
6727
6728 * README (Testsuite Parameters): Add replay logging to
6729 GDBSERVER_DEBUG.
6730 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6731 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6732 as a comma separated list.
6733 (gdb_debug_init): Override procedure.
6734
408e9b8b
AH
67352019-05-17 Alan Hayward <alan.hayward@arm.com>
6736
6737 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6738 (gdb_write_cmd_file): New procedure.
6739 * lib/gdbserver-support.exp (gdbserver_start): Call
6740 gdbserver_write_cmd_file.
6741 (gdbserver_write_cmd_file): New procedure.
6742
f9e2e39d
AH
67432019-05-17 Alan Hayward <alan.hayward@arm.com>
6744
6745 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6746 (delete_breakpoints): Likewise.
6747 (gdb_run_cmd): Likewise.
6748 (gdb_start_cmd): Likewise.
6749 (gdb_starti_cmd): Likewise.
6750 (gdb_internal_error_resync): Likewise.
6751 (gdb_test_multiple): Likewise.
6752 (gdb_reinitialize_dir): Likewise.
6753 (default_gdb_exit): Likewise.
6754 (gdb_file_cmd): Mark kill as optional.
6755 (default_gdb_start): Call gdb_stdin_log_init.
6756 (send_gdb): Call gdb_stdin_log_write.
6757 (rerun_to_main): Mark Y as an answer.
6758 (gdb_stdin_log_init): New function.
6759 (gdb_stdin_log_write): Likewise.
6760
81f47ac2
AH
67612019-05-17 Alan Hayward <alan.hayward@arm.com>
6762
6763 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6764 * gdb.base/debug-expr.exp: Likewise.
6765 * gdb.base/foll-fork.exp: Likewise.
6766 * gdb.base/foll-vfork.exp: Likewise.
6767 * gdb.base/fork-print-inferior-events.exp: Likewise.
6768 * gdb.base/gdb-sigterm.exp: Likewise.
6769 * gdb.base/gdbinit-history.exp: Likewise.
6770 * gdb.base/osabi.exp: Likewise.
6771 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6772 * gdb.base/ui-redirect.exp: Likewise.
6773 * gdb.gdb/unittest.exp: Likewise.
6774 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6775 * gdb.mi/mi-watch.exp: Likewise.
6776 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6777 * gdb.mi/user-selected-context-sync.exp: Likewise.
6778 * gdb.python/python.exp: Disable debug test when debugging.
6779 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6780 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6781 Likewise.
6782 * gdb.threads/stepi-random-signal.exp: Likewise.
6783
29b52314
AH
67842019-05-17 Alan Hayward <alan.hayward@arm.com>
6785
6786 * Makefile.in: Pass through GDB_DEBUG.
6787 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6788 (gdb,debug): Add board setting.
6789 * lib/gdb.exp (default_gdb_start): Start debugging.
6790 (gdb_debug_enabled): New procedure.
6791 (gdb_debug_init): Likewise.
29b52314
AH
6792
67932019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 6794
29b52314
AH
6795 * Makefile.in: Pass through GDB_DEBUG.
6796 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
6797 (gdb,debug): Add board setting.
6798 * lib/gdb.exp (default_gdb_start): Start debugging.
6799 (gdb_debug_enabled): New procedure.
6800 (gdb_debug_init): Likewise.
29b52314 6801
ca1285d1
AH
68022019-05-17 Alan Hayward <alan.hayward@arm.com>
6803
6804 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6805
f3a09c80
AH
68062019-05-17 Alan Hayward <alan.hayward@arm.com>
6807
6808 * gdb.base/ui-redirect.exp: Test redirection.
6809
26648588
JV
68102019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6811
6812 * gdb.mi/mi-complete.exp: New file.
6813 * gdb.mi/mi-complete.cc: Likewise.
6814
14237686
AB
68152019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6816
6817 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6818 indexed and sliced arrays, and pointers to arrays.
6819
e7bd7fba
TT
68202019-05-14 Tom Tromey <tromey@adacore.com>
6821
6822 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6823 styling test.
6824
2764128d
TV
68252019-05-14 Tom de Vries <tdevries@suse.de>
6826
6827 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6828 selection entry encoding.
6829
71bed2db
TT
68302019-05-10 Tom Tromey <tromey@adacore.com>
6831
6832 * gdb.ada/info_exc.exp: Add "complete" test.
6833
63b667ad
TV
68342019-05-09 Tom de Vries <tdevries@suse.de>
6835
6836 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6837 CU-relative.
6838
9cfd2b89
TV
68392019-05-09 Tom de Vries <tdevries@suse.de>
6840
6841 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6842 CU-relative.
6843
2228ef77
XR
68442019-05-08 Joel Brobecker <brobecker@adacore.com>
6845
6846 * gdb.ada/frame_arg_lang.exp: New testcase.
6847 * gdb.ada/frame_arg_lang/bla.adb: New file.
6848 * gdb.ada/frame_arg_lang/pck.ads: New file.
6849 * gdb.ada/frame_arg_lang/pck.adb: New file.
6850 * gdb.ada/frame_arg_lang/foo.c: New file.
6851
80e55b13
TT
68522019-05-08 Tom Tromey <tromey@adacore.com>
6853
6854 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6855
9d3421af
TT
68562019-05-08 Tom Tromey <tromey@adacore.com>
6857
6858 * gdb.base/ptype-offsets.exp: Update tests.
6859
844333e2
TT
68602019-05-08 Tom Tromey <tromey@adacore.com>
6861
6862 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6863 cases.
6864 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6865 "short".
6866
988915ee
TT
68672019-05-08 Tom Tromey <tromey@adacore.com>
6868
6869 * gdb.ada/vla.exp: New file.
6870 * gdb.ada/vla/vla.adb: New file.
6871
7bd55dac
TV
68722019-05-07 Tom de Vries <tdevries@suse.de>
6873
6874 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6875
75f06e9d
TV
68762019-05-07 Tom de Vries <tdevries@suse.de>
6877
6878 PR testsuite/24522
6879 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6880 section.
6881
77e7aaa4
TV
68822019-05-07 Tom de Vries <tdevries@suse.de>
6883
6884 PR testsuite/24522
6885 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6886 .debug_aranges section.
6887
456ba0fa
TV
68882019-05-07 Tom de Vries <tdevries@suse.de>
6889
6890 PR testsuite/24159
6891 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6892
5a56d6a6
TV
68932019-05-06 Tom de Vries <tdevries@suse.de>
6894
6895 * lib/gdb.exp (exec_has_index_section): New proc.
6896 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6897 section.
6898
9d6d4be8
TV
68992019-05-04 Tom de Vries <tdevries@suse.de>
6900
6901 * boards/cc-with-debug-names.exp: New file.
6902
222a8d25
TT
69032019-05-03 Tom Tromey <tromey@adacore.com>
6904
6905 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6906 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6907 * gdb.ada/char_enum.exp: Add test.
6908
0fdfd794
TV
69092019-05-03 Tom de Vries <tdevries@suse.de>
6910
6911 * boards/cc-with-gdb-index.exp: New file.
6912
80062eb9
AB
69132019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6914
6915 * gdb.rust/simple.exp: Add new test case.
6916 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6917 (main): Initialise an instance of the new struct.
6918
4504bbde
TT
69192019-05-01 Tom Tromey <tromey@adacore.com>
6920
6921 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6922 record.
6923 (NPR): New variable.
6924 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6925 test.
6926
d48e62f4
TT
69272019-05-01 Tom Tromey <tromey@adacore.com>
6928
6929 * gdb.ada/packed_array_assign.exp: Add packed assignment
6930 regression test.
6931
f59f30f5
TV
69322019-05-01 Tom de Vries <tdevries@suse.de>
6933
6934 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6935
b70bfc54
TV
69362019-05-01 Tom de Vries <tdevries@suse.de>
6937
6938 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6939
15f18d14
AT
69402019-04-30 Ali Tamur <tamur@google.com>
6941
6942 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6943
2ff0a947
TT
69442019-04-30 Tom Tromey <tromey@adacore.com>
6945
6946 * lib/ada.exp (find_ada_tool): New proc.
6947 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6948 * gdb.ada/catch_ex_std.exp: New file.
6949 * gdb.ada/catch_ex_std/foo.adb: New file.
6950 * gdb.ada/catch_ex_std/some_package.adb: New file.
6951 * gdb.ada/catch_ex_std/some_package.ads: New file.
6952
a776957c
TT
69532019-04-30 Tom Tromey <tromey@adacore.com>
6954
6955 PR c++/24470:
6956 * gdb.cp/temargs.cc: Add test code from PR.
6957
bc68014d
AB
69582019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6959
6960 * gdb.fortran/vla-datatypes.exp: Update expected results.
6961 * gdb.fortran/vla-ptype.exp: Likewise.
6962 * gdb.fortran/vla-type.exp: Likewise.
6963 * gdb.fortran/vla-value.exp: Likewise.
6964
f1fdc960
AB
69652019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6966
6967 * gdb.fortran/ptr-indentation.exp: Update expected results.
6968 * gdb.fortran/ptype-on-functions.exp: Likewise.
6969 * gdb.fortran/vla-ptr-info.exp: Likewise.
6970 * gdb.fortran/vla-value.exp: Likewise.
6971
bf7a4de1
AB
69722019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6973
6974 * gdb.fortran/ptype-on-functions.exp: New file.
6975 * gdb.fortran/ptype-on-functions.f90: New file.
6976
bbe75b9d
AB
69772019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6978
6979 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6980 case void string.
6981
1db455a7
AB
69822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6983
6984 * gdb.fortran/complex.exp: Expand.
6985 * gdb.fortran/complex.f: Renamed to...
6986 * gdb.fortran/complex.f90: ...this, and extended to add more
6987 complex values.
6988
b6d03bb2
AB
69892019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6990
6991 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6992 MODULO, CMPLX.
6993
2e62ab40
AB
69942019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6995 Richard Bunt <richard.bunt@arm.com>
6996
6997 * gdb.base/max-depth.c: New file.
6998 * gdb.base/max-depth.exp: New file.
6999 * gdb.python/py-nested-maps.c: New file.
7000 * gdb.python/py-nested-maps.exp: New file.
7001 * gdb.python/py-nested-maps.py: New file.
7002 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7003 (test_all_common): Call test_max_depth.
7004 * gdb.fortran/max-depth.exp: New file.
7005 * gdb.fortran/max-depth.f90: New file.
7006 * gdb.go/max-depth.exp: New file.
7007 * gdb.go/max-depth.go: New file.
7008 * gdb.modula2/max-depth.exp: New file.
7009 * gdb.modula2/max-depth.c: New file.
7010 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7011
d2b584a5
TV
70122019-04-29 Tom de Vries <tdevries@suse.de>
7013
7014 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7015
136afab8
PW
70162019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7017
7018 * gdb.base/callexit.exp: Test may-call-functions off.
7019
725cbb63
KS
70202019-04-25 Keith Seitz <keiths@redhat.com>
7021
7022 PR c++/24367
7023 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7024 (another_incomplete_struct, test_incomplete): New definitions.
7025 (main): Use new definitions.
7026 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7027 functions.
7028
701adfb0
PA
70292019-04-25 Ali Tamur <tamur@google.com>
7030
7031 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7032
82433e3e
SDJ
70332019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7034
7035 PR corefiles/11608
7036 PR corefiles/18187
7037 * gdb.base/coredump-filter-build-id.exp: New file.
7038
dd06d4d6
AH
70392019-04-25 Alan Hayward <alan.hayward@arm.com>
7040
e79be6e5
SM
7041 * Makefile.in: Pass through GDBSERVER_DEBUG.
7042 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7043 (gdbserver,debug): Add board setting.
7044 * gdb.trace/tspeed.exp: Skip when debugging.
7045 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7046 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7047
1670072e
TT
70482019-04-24 Tom Tromey <tromey@adacore.com>
7049
7050 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7051 Rust.
7052
a59240a4
TT
70532019-04-24 Tom Tromey <tromey@adacore.com>
7054
7055 * gdb.arch/amd64-eval.exp: Test bitfield return.
7056 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7057 (class Foo) <return_bitfields>: New method.
7058 (main): Call it.
7059
b907456c
AB
70602019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7061
7062 * gdb.cp/many-args.cc: New file.
7063 * gdb.cp/many-args.exp: New file.
7064
5c565afd
TV
70652019-04-23 Tom de Vries <tdevries@suse.de>
7066
7067 PR gdb/24433
7068 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7069
ba22ff86
AH
70702019-04-23 Alan Hayward <alan.hayward@arm.com>
7071
7072 * gdb.trace/backtrace.exp: Use nopie flag.
7073 * gdb.trace/circ.exp: Likewise.
7074 * gdb.trace/collection.exp: Likewise.
7075 * gdb.trace/ftrace.exp: Likewise.
7076 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7077 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7078 * gdb.trace/qtro.exp: Likewise.
7079 * gdb.trace/read-memory.exp: Likewise.
7080 * gdb.trace/report.exp: Likewise.
7081 * gdb.trace/tfile.exp: Likewise.
7082 * gdb.trace/tfind.exp: Likewise.
7083 * gdb.trace/unavailable.exp: Likewise.
7084
7905fc35
PA
70852019-04-22 Pedro Alves <palves@redhat.com>
7086
7087 * gdb.base/solib-probes-nosharedlibrary.c,
7088 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7089
8ecb59f8
TT
70902019-04-19 Tom Tromey <tromey@adacore.com>
7091
7092 * gdb.ada/ptype_union.c: New file.
7093 * gdb.ada/ptype_union.exp: New file.
7094
62160ec9
TT
70952019-04-19 Tom Tromey <tromey@adacore.com>
7096
7097 PR symtab/24423:
7098 * gdb.base/list0.h (foo): Add a control-l character.
7099
36cd4ba5
TV
71002019-04-18 Tom de Vries <tdevries@suse.de>
7101
7102 PR gdb/24433
7103 * boards/local-board.exp: Set sysroot to "".
7104
b73715df
TV
71052019-04-18 Tom de Vries <tdevries@suse.de>
7106 Pedro Alves <palves@redhat.com>
7107
7108 PR gdb/24454
7109 * gdb.threads/vfork-follow-child-exec.c: New file.
7110 * gdb.threads/vfork-follow-child-exec.exp: New file.
7111 * gdb.threads/vfork-follow-child-exit.c: New file.
7112 * gdb.threads/vfork-follow-child-exit.exp: New file.
7113
4aa866af
LS
71142019-04-15 Leszek Swirski <leszeks@google.com>
7115
7116 * gdb.arch/amd64-eval.cc: New file.
7117 * gdb.arch/amd64-eval.exp: New file.
7118
e5a1a79a
AH
71192019-04-11 Alan Hayward <alan.hayward@arm.com>
7120
7121 * gdb.server/sysroot.c: New test.
7122 * gdb.server/sysroot.exp: New file.
7123 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7124 matching param.
7125
41077b66
AB
71262019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7127
7128 * gdb.base/align.exp: Extend test to cover structures containing
7129 only static fields.
7130
c30391f8
TV
71312019-04-11 Tom de Vries <tdevries@suse.de>
7132
7133 * boards/cc-with-dwz-m.exp: New file.
7134 * boards/cc-with-dwz.exp: New file.
7135 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7136
e242fd12
SM
71372019-04-09 Simon Marchi <simon.marchi@efficios.com>
7138
7139 * gdb.base/start-cpp.exp: New file.
7140 * gdb.base/start-cpp.cc: New file.
7141
2b0c8b01
KB
71422019-04-08 Kevin Buettner <kevinb@redhat.com>
7143
7144 * gdb.python/py-thrhandle.exp: Adjust tests to call
7145 thread_from_handle instead of thread_from_thread_handle.
7146
947210e5
KB
71472019-04-08 Kevin Buettner <kevinb@redhat.com>
7148
7149 * gdb.python/py-thrhandle.exp: Add tests for
7150 gdb.InferiorThread.handle.
7151
d7df6549
AB
71522019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7153
7154 * gdb.python/py-function.exp: Check calling helper function from
7155 all languages.
7156 * lib/gdb.exp (gdb_supported_languages): New proc.
7157
8bdc1658
AB
71582019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7159
7160 * gdb.base/complex-parts.c: New file.
7161 * gdb.base/complex-parts.exp: New file.
7162
05caa1d2
TT
71632019-04-01 Tom Tromey <tromey@adacore.com>
7164
7165 PR symtab/23331:
7166 * gdb.dwarf2/dw2-ranges-main.c: New file.
7167 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7168 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7169
7734102d
EZ
71702019-03-30 Simon Marchi <simark@simark.ca>
7171
7172 * gdb.base/default.exp: Add values for $_gdb_major and
7173 $_gdb_minor.
7174
188e1fa9
TT
71752019-03-29 Tom Tromey <tromey@adacore.com>
7176
7177 * gdb.base/help.exp: Tighten apropos regexp.
7178
2880242d
KS
71792019-03-29 Keith Seitz <keiths@redhat.com>
7180
7181 * gdb.fortran/array-bounds.exp: New file.
7182 * gdb.fortran/array-bounds.f90: New file.
7183
077cad8e
PW
71842019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7185
7186 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7187
80047cfc
PW
71882019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7189
7190 * gdb.multi/hello.c (main): Increase alarm timer.
7191
f489207e
SL
71922019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7193
7194 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7195 factor when no hardware watchpoint support.
7196
c92df149
AH
71972019-03-28 Alan Hayward <alan.hayward@arm.com>
7198 Pedro Alves <palves@redhat.com>
7199
7200 * boards/local-board.exp: set sysroot to /.
7201
933aebfa
AH
72022019-03-27 Alan Hayward <alan.hayward@arm.com>
7203
7204 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7205 in child.
7206
9f9aa852
AB
72072019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7208
7209 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7210 field.
7211 (make_container): Initialise new field.
7212 * gdb.python/py-prettyprint.exp: Add new tests.
7213 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7214 <display_hint>: New method.
7215
3714a195
AB
72162019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7217
7218 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7219 gdb_continue_to_breakpoint more throughout this test.
7220 (run_lang_tests) Supply unique test names, and use
7221 gdb_test_no_output.
7222
18c77628
AB
72232019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7224
7225 * gdb.base/finish-pretty.exp: Update expected results.
7226 * gdb.base/pretty-print.c: New file.
7227 * gdb.base/pretty-print.exp: New file.
7228
9a93502f
PA
72292019-03-25 Pedro Alves <palves@redhat.com>
7230
7231 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7232 move comments outside list. Append '-i "" eof' section.
7233
968aa7ae
AH
72342019-03-22 Alan Hayward <alan.hayward@arm.com>
7235
34a7f2a4 7236 PR testsuite/25016
968aa7ae
AH
7237 * README: Add pie options.
7238 * gdb.base/break-interp.exp: Ensure pie is disabled.
7239 * gdb.base/dump.exp: Likewise.
7240 * lib/gdb.exp (gdb_compile): Add pie option.
7241
4c7d57e7
TT
72422019-03-19 Tom Tromey <tromey@adacore.com>
7243
7244 * gdb.mi/mi2-cli-display.c: New file.
7245 * gdb.mi/mi2-cli-display.exp: New file.
7246
bff8c71f
TT
72472019-03-18 Joel Brobecker <brobecker@adacore.com>
7248 Tom Tromey <tromey@adacore.com>
7249
7250 * gdb.ada/ptype_array/pck.adb: New file.
7251 * gdb.ada/ptype_array/pck.ads: New file.
7252 * gdb.ada/ptype_array/foo.adb: New file.
7253 * gdb.ada/ptype_array.exp: New file.
7254
d085f989
TT
72552019-03-14 Tom Tromey <tromey@adacore.com>
7256
7257 * gdb.base/style.exp: Add "set style sources" test.
7258
b4be1b06
SM
72592019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7260
7261 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7262 * mi-breakpoint-multiple-locations.exp: ... this.
7263 (make_breakpoints_pattern): New proc.
7264 (do_test): Add mi_version parameter, test -break-insert,
7265 -break-info and =breakpoint-created.
7266
7cde5fc2
AB
72672019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7268
7269 * config/default.exp: Remove 'load_lib gdb.exp'.
7270 * config/monitor.exp: Likewise.
7271 * config/sid.exp: Likewise.
7272 * config/sim.exp: Likewise.
7273 * config/slite.exp: Likewise.
7274 * config/unix.exp: Likewise.
7275 * gdb.base/default.exp: Remove unhelpful comment.
7276
efbecbc1
AB
72772019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7278
7279 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7280
0841c79a
AB
72812019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7282
7283 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7284
4a270568
AB
72852019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7286
7287 * gdb.fortran/type-kinds.exp: Update expected results.
7288
067630bd
AB
72892019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7290
7291 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7292
3be47f7a
AB
72932019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7294
7295 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7296 function.
7297 (test_basic_parsing_of_type_kinds): Expand types tested.
7298 (test_parsing_invalid_type_kinds): New function.
7299
4d00f5d8
AB
73002019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7301
7302 * gdb.fortran/intrinsics.exp: New file.
7303 * gdb.fortran/intrinsics.f90: New file.
7304 * gdb.fortran/type-kinds.exp: New file.
7305
c8f91604
AB
73062019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7307
7308 * gdb.fortran/dot-ops.exp: New file.
7309
dd9f2c76
AB
73102019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7311
7312 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7313 Check upper and lower case logical literals.
7314
84ec9724
AB
73152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7316
7317 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7318 Remove duplicate tests.
7319
c3734e09
AH
73202019-03-06 Alan Hayward <alan.hayward@arm.com>
7321
7322 * lib/gdb.exp (builtin_cd): rename of cd.
7323 (cd): Override builtin.
7324
aa3cfbda
RB
73252019-03-06 Richard Bunt <richard.bunt@arm.com>
7326
7327 * gdb.fortran/function-calls.exp: New file.
7328 * gdb.fortran/function-calls.f90: New test.
7329
7b63ad86
RB
73302019-03-04 Richard Bunt <richard.bunt@arm.com>
7331
7332 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7333 on user program standard output.
7334 * gdb.fortran/short-circuit-argument-list.f90: Record function
7335 calls.
7336
01abb042
AH
73372019-02-28 Alan Hayward <alan.hayward@arm.com>
7338
c3734e09
AH
7339 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7340 failure.
01abb042 7341
92137da0
RO
73422019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7343
7344 PR gdb/8527
7345 * gdb.base/interrupt-daemon-attach.c,
7346 gdb.base/interrupt-daemon-attach.exp: New test.
7347
5862844d
PA
73482019-02-27 Pedro Alves <palves@redhat.com>
7349
7350 * gdb.base/page.exp: Add tests for "set width/height -1".
7351
8ed25214
PA
73522019-02-27 Pedro Alves <palves@redhat.com>
7353
7354 * gdb.base/page.exp: Add tests for "set/show width/height" with
7355 "infinite" values.
7356
6c28e44a
TT
73572019-02-27 Tom Tromey <tromey@adacore.com>
7358
7359 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7360 2.4.
7361 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7362 workaround.
7363
bf9a735e
AB
73642019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7365
7366 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7367 tests for structs with static members.
7368
8791793c
TT
73692019-02-26 Tom Tromey <tromey@adacore.com>
7370
7371 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7372 ValueError, not TypeError.
7373
bc2a507e
KB
73742019-02-26 Kevin Buettner <kevinb@redhat.com>
7375
7376 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7377 call from main program.
7378
e0e7d3bd
JB
73792019-02-23 Joel Brobecker <brobecker@adacore.com>
7380
7381 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7382 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7383 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7384 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7385 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7386
9600246d
KS
73872019-02-22 Keith Seitz <keiths@redhat.com>
7388
7389 PR symtab/23853
7390 * gdb.base/symlink-sourcefile.c: New file.
7391 * gdb.base/symlink-sourcefile.exp: New file.
7392
0c95f9ed
TT
73932019-02-20 Tom Tromey <tom@tromey.com>
7394
7395 * gdb.base/info_qt.exp: Update.
7396
6caa91b6
SM
73972019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7398
7399 * gdb.base/source.exp: Move "error in sourced script" code to
7400 the end.
7401 * gdb.base/source-error.gdb: Move contents to
7402 source-error-1.gdb. Add new code to source source-error-1.gdb.
7403 * gdb.base/source-error-1.gdb: New file, from previous
7404 source-error.gdb.
7405
6506371f
TT
74062019-02-17 Tom Tromey <tom@tromey.com>
7407
7408 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
7409 for macro styling.
7410 * gdb.base/style.c (SOME_MACRO): New macro.
7411
a0087920
TT
74122019-02-17 Tom Tromey <tom@tromey.com>
7413
7414 * gdb.base/style.exp: Add line-wrapping tests.
7415 * gdb.base/page.exp: Add test for quitting during pagination.
7416
a2cd4f14
JB
74172019-02-17 Joel Brobecker <brobecker@adacore.com>
7418
7419 * gdb.ada/big_packed_array: New testcase.
7420 * gdb.ada/homonym.exp: Fix incorrect expected output for
7421 "break <homonym__get_value>" test.
7422
9d70ffbc
WP
74232019-02-13 Weimin Pan <weimin.pan@oracle.com>
7424
7425 PR breakpoints/21870
7426 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7427 and prepare_for_testing. Add comment.
7428 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7429 redundant cleanup call. Clean up comment.
7430
01c7ae81
WP
74312019-02-12 Weimin Pan <weimin.pan@oracle.com>
7432
7433 PR breakpoints/21870
7434 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7435 * gdb.arch/aarch64-dbreg-contents.c: New file.
7436
aff29d1c
JB
74372019-02-10 Joel Brobecker <brobecker@adacore.com>
7438
7439 * gdb.ada/mi_ref_changeable: New testcase.
7440
df0da8a2
AH
74412019-02-07 Alan Hayward <alan.hayward@arm.com>
7442
7443 * gdb.base/attach.exp: Add double attach test.
7444
bd447abb
SM
74452019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7446
7447 * lib/gdb.exp (default_gdb_start): Don't match pagination
7448 prompt.
7449 (gdb_init): Set stty_init.
7450
1dbc40b9
TT
74512019-01-27 Tom Tromey <tom@tromey.com>
7452
7453 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7454 skip_python_tests.
7455
353229bf
AH
74562019-01-24 Alan Hayward <alan.hayward@arm.com>
7457
7458 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7459 New structure.
7460 (struct struct_static_02_02): Likewise.
7461 (struct struct_static_02_03): Likewise.
7462 (struct struct_static_02_04): Likewise.
7463 (struct struct_static_04_01): Likewise.
7464 (struct struct_static_04_02): Likewise.
7465 (struct struct_static_04_03): Likewise.
7466 (struct struct_static_04_04): Likewise.
7467 (struct struct_static_06_01): Likewise.
7468 (struct struct_static_06_02): Likewise.
7469 (struct struct_static_06_03): Likewise.
7470 (struct struct_static_06_04): Likewise.
7471 (cmp_struct_static_02_01): Likewise.
7472 (cmp_struct_static_02_02): Likewise.
7473 (cmp_struct_static_02_03): Likewise.
7474 (cmp_struct_static_02_04): Likewise.
7475 (cmp_struct_static_04_01): Likewise.
7476 (cmp_struct_static_04_02): Likewise.
7477 (cmp_struct_static_04_03): Likewise.
7478 (cmp_struct_static_04_04): Likewise.
7479 (cmp_struct_static_06_01): Likewise.
7480 (cmp_struct_static_06_02): Likewise.
7481 (cmp_struct_static_06_03): Likewise.
7482 (cmp_struct_static_06_04): Likewise.
7483 (call_all): Test new structs.
7484 * gdb.base/infcall-nested-structs.exp: Likewise.
7485
73021deb
AH
74862019-01-21 Alan Hayward <alan.hayward@arm.com>
7487 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7488
fc65c7db
AH
74892019-01-21 Alan Hayward <alan.hayward@arm.com>
7490 * gdb.base/stack-protector.c: New test.
7491 * gdb.base/stack-protector.exp: New file.
7492 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7493 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7494 option.
7495 (gdb_compile): Remove stack protector for GCC and prevent
7496 recursion.
7497
c24bdb02
KS
74982019-01-16 Keith Seitz <keiths@redhat.com>
7499
7500 PR gdb/23773
7501 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7502
6f072a10
PFC
75032019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7504
7505 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7506 aliases.
7507 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7508 tests.
7509 * gdb.arch/powerpc-vector-regs.c: New file.
7510 * gdb.arch/powerpc-vector-regs.exp: New file.
7511
a7b8d682
PFC
75122019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7513
7514 * gdb.arch/altivec-regs.exp: Fix the list passed to
7515 gdb_expect_list when testing "info vector".
7516
6eb6fb67
AB
75172019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7518
7519 * gdb.base/style.exp: Don't include path in testname.
7520
b56f80d8
KS
75212019-01-10 Keith Seitz <keiths@redhat.com>
7522
7523 PR gdb/23712
7524 PR symtab/23010
7525 * gdb.dwarf2/multidictionary.exp: New file.
7526
041be526
SM
75272019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7528
7529 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7530 (test_gnuv3_style_demangling): ... this.
7531 (test_lucid_style_demangling): Remove.
7532 (test_arm_style_demangling): Remove.
7533 (test_hp_style_demangling): Remove.
7534 (do_tests): Remove calls to the above.
7535
d820d0c3
AB
75362019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7537
7538 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7539 case.
7540
f097f5ad
TT
75412019-01-06 Tom Tromey <tom@tromey.com>
7542
7543 PR gdb/28155:
7544 * gdb.dwarf2/typedef-void-finish.exp: New file.
7545
2cd8cc0b
TT
75462018-12-28 Tom Tromey <tom@tromey.com>
7547 Simon Marchi <simark@simark.ca>
7548
7549 * gdb.base/jit-exec.exp: New file.
7550 * gdb.base/jit-exec.c: New file.
7551 * gdb.base/jit-execd.c: New file.
7552
35fb8261
TT
75532018-12-28 Tom Tromey <tom@tromey.com>
7554
7555 * gdb.base/style.exp: Update test to check for address styling.
7556
47fd17cd
TT
75572018-12-28 Tom Tromey <tom@tromey.com>
7558
7559 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7560 message.
7561
d47032b7
TT
75622018-12-28 Tom Tromey <tom@tromey.com>
7563
7564 * gdb.base/style.exp: Add test for version number styling.
7565
af79b68d
TT
75662018-12-28 Tom Tromey <tom@tromey.com>
7567
7568 * gdb.base/style.exp: Add test for print_address_symbolic.
7569
0bb296cb
TT
75702018-12-28 Tom Tromey <tom@tromey.com>
7571
7572 * gdb.base/style.exp: Add test for breakpoint setting.
7573
80ae2043
TT
75742018-12-28 Tom Tromey <tom@tromey.com>
7575
7576 * gdb.base/style.exp: Add test for variable names.
7577
cbe56571
TT
75782018-12-28 Tom Tromey <tom@tromey.com>
7579
7580 * gdb.base/style.exp: New file.
7581 * gdb.base/style.c: New file.
7582
9162a27c
TT
75832018-12-28 Tom Tromey <tom@tromey.com>
7584
7585 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7586 "dumb".
7587 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7588 the TERM environment variable.
7589
bc543c90
TT
75902018-12-27 Tom Tromey <tom@tromey.com>
7591
7592 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7593 pagination test.
7594
6f0ffe50
AB
75952018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7596
7597 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7598 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7599
b5a1e557
PW
76002018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7601
7602 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7603 Filename a.adb changed to bp_fun_addr.adb.
7604 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7605
6e8b1ab2
JV
76062018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7607
7608 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7609 non-PIE executables.
7610 * README: Mention the gdb,nopie_flag board setting.
7611 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7612 non-PIE executable.
7613 * gdb.arch/amd64-entry-value.exp: Likewise.
7614 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7615 * gdb.arch/i386-float.exp: Likewise.
7616 * gdb.arch/i386-signal.exp: Likewise.
7617 * gdb.mi/mi-reg-undefined.exp: Likewise.
7618
d00a27c5
PM
76192018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7620
7621 PR gdb/23974
7622 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7623
161d081c
PW
76242018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7625
7626 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7627 Update order of results accordingly.
7628
b001de23
AB
76292018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7630
7631 * gdb.base/annota1.exp: Update a test regexp.
7632
99e1a184
AB
76332018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7634
7635 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7636
7a81c1e2
PW
76372018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7638
7639 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7640 (reuse_time): Initialize to REUSE_TIME_CAP.
7641 (check_rc): New function.
7642 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7643 Check pthread_create rc.
7644 (spawner_thread_func): Check pthread_create and pthread_join rc.
7645
73e8dc90
PA
76462018-12-08 Pedro Alves <palves@redhat.com>
7647
7648 * gdb.base/list.exp (test_forward_search): Rename to ...
7649 (test_forward_reverse_search): ... this. Also test reverse-search
7650 and the forward-search alias.
7651
13f2ed32
AB
76522018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7653
7654 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7655 local timeout variable before return, and remove all local timeout
7656 variable entirely.
7657 (gdb_load): Likewise.
7658
64d27cfc
TV
76592018-12-01 Tom de Vries <tdevries@suse.de>
7660
7661 * gdb.base/gdb-caching-proc.exp: New file.
7662
f63c03b4
SDJ
76632018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7664
7665 * Makefile.in (TIMESTAMP): New variable.
7666 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7667 command.
7668 (check-single-racy): Likewise.
7669 (check/%.exp): Likewise.
7670 (check-racy/%.exp): Likewise.
7671 (workers/%.worker): Likewise.
7672 (build-perf): Likewise.
7673 (check-perf): Likewise.
7674 * README: Describe new "TS" and "TS_FORMAT" variables.
7675 * print-ts.py: New file.
7676
1c97054b
BF
76772018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7678
7679 PR python/23714
7680 * gdb.python/python.exp: Test command repetition after
7681 gdb.execute.
7682
1871a62d
AB
76832018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7684
7685 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7686 is correctly aligned.
7687
fb5e1ed9
PW
76882018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7689
7690 * gdb.ada/info_auto_lang.exp: New testcase.
7691 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7692 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7693 * gdb.ada/info_auto_lang/some_c.c: New file.
7694
43d397ca
PW
76952018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7696
7697 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7698 FUNC_lang language syntax.
7699
beddd671
PW
77002018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7701
7702 * gdb.base/info_minsym.c: New file.
7703 * gdb.base/info_minsym.exp: New file.
7704
73fc52c4
TT
77052018-11-19 Tom Tromey <tom@tromey.com>
7706
7707 PR rust/23625:
7708 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7709 * gdb.rust/expr.exp: Update expected output. Change one test.
7710
994b876a
TT
77112018-11-19 Tom Tromey <tom@tromey.com>
7712
7713 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7714
6769f276
PA
77152018-11-19 Pedro Alves <palves@redhat.com>
7716
7717 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7718 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7719 see the expected warning.
7720
38a72da0
AH
77212018-11-16 Alan Hayward <alan.hayward@arm.com>
7722
7723 PR gdb/22736:
7724 * gdb.cp/infcall-nodebug-lib.c: New test.
7725 * gdb.cp/infcall-nodebug-main.c: New test.
7726 * gdb.cp/infcall-nodebug.exp: New file.
7727
53a89d6e
SM
77282018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7729
7730 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7731 completer tests.
7732
9325300d
TV
77332018-11-09 Tom de Vries <tdevries@suse.de>
7734
7735 * gdb.base/msym-lang.c: New test.
7736 * gdb.base/msym-lang.exp: New file.
7737 * gdb.base/msym-lang-main.c: New test.
7738
20f0d60d
TT
77392018-11-08 Tom Tromey <tom@tromey.com>
7740
7741 PR gdb/23555:
7742 PR gdb/23838:
7743 * gdb.base/warning.exp: New file.
7744
b5420128
JB
77452018-11-08 Jan Beulich <jbeulich@suse.com>
7746
7747 * testsuite/gdb.arch/i386-avx512.c,
7748 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7749
cd115d61
AB
77502018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7751
7752 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7753 point hardware.
7754
35ee2dc2
AB
77552018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7756
7757 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7758 * gdb.dwarf2/missing-type-name.exp: New file.
7759
31aceee8
TV
77602018-11-06 Tom de Vries <tdevries@suse.de>
7761
7762 * gdb.base/many-headers.c: New test.
7763 * gdb.base/many-headers.exp: New file.
7764
109be305
JW
77652018-11-06 Jim Wilson <jimw@sifive.com>
7766
7767 * gdb.base/code_elim.exp: For riscv, set additional_flags
7768 to include -msmall-data-limit=0.
7769
e2b7af72
JB
77702018-11-01 Joel Brobecker <brobecker@adacore.com>
7771
7772 * gdb.ada/watch_minus_l: New testcase.
7773
cdcda965
SM
77742018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7775
7776 * gdb.arch/aix-sighandle.c: New file.
7777 * gdb.arch/aix-sighandle.exp: New file.
7778
92dcebf3
AB
77792018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7780
7781 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7782 registers being unions.
7783
68b9ac18
TV
77842018-10-31 Tom de Vries <tdevries@suse.de>
7785
7786 * lib/valgrind.exp: New file.
7787 (vgdb_start, vgdb_stop): New procs, factored out of ...
7788 * gdb.base/valgrind-bt.exp: ... here, ...
7789 * gdb.base/valgrind-disp-step.exp: ... here and ...
7790 * gdb.base/valgrind-infcall.exp: ... here.
7791
1443936e
TV
77922018-10-31 Tom de Vries <tdevries@suse.de>
7793
7794 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7795
eb77c9df
AB
77962018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7797
7798 * gdb.dwarf2/void-type.c: New file.
7799 * gdb.dwarf2/void-type.exp: New file.
7800
82b5e646
PW
78012018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7802
7803 * gdb.base/info_qt.c: New file.
7804 * gdb.base/info_qt.exp: New file.
7805
8d619c01
EBM
78062018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7807
7808 * gdb.arch/powerpc-htm-regs.c: New file.
7809 * gdb.arch/powerpc-htm-regs.exp: New file.
7810
f2cf6173
EBM
78112018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7812
7813 * gdb.arch/powerpc-tar.c: New file.
7814 * gdb.arch/powerpc-tar.exp: New file.
7815
7ca18ed6
EBM
78162018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7817
7818 * gdb.arch/powerpc-ppr-dscr.c: New file.
7819 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7820
bfcc0eba
TV
78212018-10-25 Tom de Vries <tdevries@suse.de>
7822
7823 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7824
fe1a5cad
TV
78252018-10-24 Tom de Vries <tdevries@suse.de>
7826
7827 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7828 longer exists error.
7829
a76dc3b7
TV
78302018-10-24 Tom de Vries <tdevries@suse.de>
7831
7832 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7833
4df46df7
TV
78342018-10-24 Tom de Vries <tdevries@suse.de>
7835
7836 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7837 --db-attach in valgrind.
7838
0dbfcfff
AB
78392018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7840
7841 * gdb.arch/riscv-reg-aliases.c: New file.
7842 * gdb.arch/riscv-reg-aliases.exp: New file.
7843
b04480b1
AH
78442018-10-19 Alan Hayward <alan.hayward@arm.com>
7845
7846 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7847
2c6ac8d7
AH
78482018-10-19 Alan Hayward <alan.hayward@arm.com>
7849
7850 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7851
2bc69f25
AH
78522018-10-19 Alan Hayward <alan.hayward@arm.com>
7853
7854 * gdb.cp/ovldbreak.exp: Fix regexps.
7855
1f1ae3a3
AH
78562018-10-19 Alan Hayward <alan.hayward@arm.com>
7857
7858 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7859
94c18618
SDJ
78602018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7861
7862 PR cli/23785
7863 * gdb.base/restore.exp: New test to check if "restore" with an
7864 invalid file doesn't segfault.
7865
812cd6eb
TV
78662018-10-18 Tom de Vries <tdevries@suse.de>
7867
7868 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7869 * gdb.ada/excep_handle.exp: Same.
7870 * gdb.ada/mi_string_access.exp: Same.
7871 * gdb.ada/mi_var_union.exp: Same.
7872 * gdb.arch/arc-analyze-prologue.exp: Same.
7873 * gdb.arch/arc-decode-insn.exp: Same.
7874 * gdb.base/readnever.exp: Same.
7875 * gdb.fortran/printing-types.exp: Same.
7876 * gdb.guile/scm-lazy-string.exp: Same.
7877
c4b90788
TV
78782018-10-16 Tom de Vries <tdevries@suse.de>
7879
7880 PR gdb/23730
7881 * gdb.base/catch-follow-exec.c: Add copyright notice.
7882 * gdb.base/catch-follow-exec.exp: Rewrite to use
7883 gdb_spawn_with_cmdline_opts. Require gdb-native.
7884
8bca2978
SL
78852018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7886
7887 * gdb.trace/actions-changed.exp: Check for arch support.
7888 * gdb.trace/actions.exp: Likewise.
7889 * gdb.trace/ax.exp: Likewise.
7890 * gdb.trace/backtrace.exp: Likewise.
7891 * gdb.trace/change-loc.exp: Likewise.
7892 * gdb.trace/deltrace.exp: Likewise.
7893 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7894 * gdb.trace/ftrace.exp: Likewise.
7895 * gdb.trace/infotrace.exp: Check for arch support.
7896 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7897 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7898 * gdb.trace/mi-tsv-changed.exp: Likewise.
7899 * gdb.trace/packetlen.exp: Likewise.
7900 * gdb.trace/passc-dyn.exp: Likewise.
7901 * gdb.trace/passcount.exp: Likewise.
7902 * gdb.trace/pending.exp: Likewise.
7903 * gdb.trace/range-stepping.exp: Check for shlib support.
7904 * gdb.trace/report.exp: Check for arch support.
7905 * gdb.trace/save-trace.exp: Likewise.
7906 * gdb.trace/signal.exp: Check for signal support.
7907 * gdb.trace/tfind.exp: Check for arch support.
7908 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7909 * gdb.trace/trace-common.h: Add comment.
7910 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7911 * gdb.trace/trace-enable-disable.exp: Likewise.
7912 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7913 * gdb.trace/tracecmd.exp: Check for arch support.
7914 * gdb.trace/tspeed.exp: Check for shlib and target support.
7915 * gdb.trace/tstatus.exp: Check for arch support.
7916 * gdb.trace/tsv.exp: Likewise.
7917 * gdb.trace/while-dyn.exp: Likewise.
7918 * gdb.trace/while-stepping.exp: Likewise.
7919 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7920
f9c49bff
SM
79212018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7922
7923 * gdb.trace/tspeed.exp: Remove nowarnings.
7924 (prepare_for_trace_test): Declare "global ipalib".
7925 * gdb.trace/tspeed.c: Include unistd.h.
7926 (main): Remove superfluous printf argument.
7927
d4330bde
SL
79282018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7929
7930 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7931 directory prefix on the filename.
7932
8ecfd7bd
SDJ
79332018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7934
7935 * gdb.gdb/unittest.exp: Update expected message informing that
7936 selftests have been disabled.
7937 * gdb.server/unittest.exp: Likewise.
7938
58bbcd02
TV
79392018-10-09 Tom de Vries <tdevries@suse.de>
7940
7941 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7942 with runto_main.
7943
9f6b697b
WP
79442018-10-08 Weimin Pan <weimin.pan@oracle.com>
7945
7946 PR c++/16841
7947 * gdb.cp/virtbase2.cc: New file.
7948 * gdb.cp/virtbase2.exp: New file.
7949
add5ded5
TT
79502018-10-06 Tom Tromey <tom@tromey.com>
7951
7952 PR python/19399:
7953 * gdb.python/py-inferior.exp: Add architecture test.
7954
f9e48344
TT
79552018-10-06 Tom Tromey <tom@tromey.com>
7956
7957 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7958 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7959
2a8be203
TT
79602018-10-06 Tom Tromey <tom@tromey.com>
7961
7962 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7963 of a "throw" catchpoint.
7964
e04caa70
SDJ
79652018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7966
7967 * gdb.base/info-proc.exp: Update string expected from "help info
7968 proc".
7969
5ca8c39f
TT
79702018-10-04 Tom Tromey <tom@tromey.com>
7971
7972 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7973 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7974 (test_initial_complaints, test_empty_complaints): Update.
7975 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7976
3453e7e4
TT
79772018-10-04 Tom Tromey <tom@tromey.com>
7978
7979 PR cli/19551:
7980 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7981 * lib/gdb.exp (gdb_file_cmd): Update.
7982 * gdb.stabs/weird.exp (print_weird_var): Update.
7983 * gdb.server/solib-list.exp: Update.
7984 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7985 * gdb.mi/mi-cli.exp: Update.
7986 * gdb.linespec/linespec.exp: Update.
7987 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7988 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7989 * gdb.cp/cp-relocate.exp: Update.
7990 * gdb.base/sym-file.exp: Update.
7991 * gdb.base/relocate.exp: Update.
7992 * gdb.base/readnever.exp: Update.
7993 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7994 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7995 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7996 * gdb.base/code_elim.exp: Update.
7997 * gdb.base/break-unload-file.exp (test_break): Update.
7998 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7999 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8000 Update.
8001 * gdb.base/attach.exp (do_attach_tests): Update.
8002 * gdb.base/sepdebug.exp: Update.
8003 * gdb.python/py-section-script.exp: Update.
8004
6afcf761
TT
80052018-10-04 Tom Tromey <tom@tromey.com>
8006
8007 PR cli/22234:
8008 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8009 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8010 output.
8011
fef1b293
TT
80122018-10-04 Tom Tromey <tom@tromey.com>
8013
8014 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8015 set width and height to 0.
8016 (test_command_line_attach_run): Use -quiet.
8017
ca98345e
SL
80182018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8019
8020 * lib/gdb.exp (skip_ifunc_tests): New.
8021 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8022 other compile failures.
8023 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8024
ff34e6ae
SM
80252018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8026
8027 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8028 is_amd64_regs_target.
8029
6bb8890e
AH
80302018-10-01 Alan Hayward <alan.hayward@arm.com>
8031
8032 * gdb.arch/aarch64-sighandler-regs.c: New test.
8033 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8034 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8035
224d30d3
MM
80362018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8037
8038 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8039 assembly.
8040
f67ffa6a
AB
80412018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8042
8043 * gdb.base/frame-selection.exp: New file.
8044 * gdb.base/frame-selection.c: New file.
8045
9fc3183f
AH
80462018-09-27 Alan Hayward <alan.hayward@arm.com>
8047
8048 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8049 pthread barrier.
8050 (main): Likewise.
8051
d354055e
AB
80522018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8053
8054 * gdb.base/large-frame-1.c: New file.
8055 * gdb.base/large-frame-2.c: New file.
8056 * gdb.base/large-frame.exp: New file.
8057 * gdb.base/large-frame.h: New file.
8058
db727370
JL
80592018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8060
8061 PR gdb/20948
8062 * gdb.base/write_mem.exp: New test.
8063 * gdb.base/write_mem.c: Likewise.
8064
ae778caf
TT
80652018-09-23 Tom Tromey <tom@tromey.com>
8066
8067 PR python/18852:
8068 * gdb.python/py-parameter.exp: Add test for parameter that throws
8069 on "set".
8070
fd3ba736
TT
80712018-09-23 Tom Tromey <tom@tromey.com>
8072
8073 PR python/17284:
8074 * gdb.python/py-template.exp (test_template_arg): Add test for
8075 negative template argument number.
8076
39a24317
TT
80772018-09-23 Tom Tromey <tom@tromey.com>
8078
8079 PR python/14062:
8080 * gdb.python/python.exp: Add test for post_event error.
8081
f5769a2c
TT
80822018-09-23 Tom Tromey <tom@tromey.com>
8083
8084 PR python/18170:
8085 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8086 convert pointers to int and long.
8087
1c1e54f6
TT
80882018-09-23 Tom Tromey <tom@tromey.com>
8089
8090 PR python/20126:
8091 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8092 signed-ness conversion tests.
8093
fb4fa946
TT
80942018-09-23 Tom Tromey <tom@tromey.com>
8095
8096 PR python/18352;
8097 * gdb.python/py-value.exp (test_float_conversion): New proc.
8098 Use it.
8099
a466edac
HAQ
81002018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8101
8102 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8103
4ee9b0c5
SL
81042018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8105
8106 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8107 no readline.
8108 * gdb.base/utf8-identifiers.exp: Likewise.
8109 * gdb.cp/cpcompletion.exp: Likewise.
8110 * gdb.linespec/cpcompletion.exp: Likewise.
8111 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8112 * gdb.linespec/cpls-ops.exp: Likewise.
8113
23be8da7
RB
81142018-09-19 Richard Bunt <richard.bunt@arm.com>
8115 Chris January <chris.january@arm.com>
8116
8117 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8118 * gdb.fortran/short-circuit-argument-list.exp: New file.
8119 * gdb.fortran/short-circuit-argument-list.f90: New test.
8120
5031d0ae
SDJ
81212018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8122
8123 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8124 "arch=" keyword when executing "-stack-list-frames".
8125
b4c0d1a4
SDJ
81262018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8127
8128 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8129 "arch=" keyword when executing "-stack-list-frames".
8130
7a6d2b45
SDJ
81312018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8132
8133 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8134 break ada".
8135
8588b356
SM
81362018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8137
8138 PR python/23669
8139 * gdb.python/python.exp: Test gdb.execute("show commands").
8140
65e65158
TT
81412018-09-16 Tom Tromey <tom@tromey.com>
8142
8143 * gdb.base/new-ui.exp (do_execution_tests): Update.
8144 * gdb.base/dbx.exp (test_breakpoints): Update.
8145
bf326452
AH
81462018-09-14 Alan Hayward <alan.hayward@arm.com>
8147
8148 * lib/gdb.exp (gdb_simple_compile): Add proc.
8149 (is_elf_target): Use gdb_simple_compile.
8150 (skip_altivec_tests): Likewise.
8151 (skip_vsx_tests): Likewise.
8152 (skip_tsx_tests): Likewise.
8153 (skip_btrace_tests): Likewise.
8154 (skip_btrace_pt_tests): Likewise.
8155 (gdb_can_simple_compile): Likewise.
8156 (gdb_has_argv0): Likewise.
8157 (gdb_target_symbol_prefix): Likewise.
8158 (target_supports_scheduler_locking): Likewise.
8159
2361b0fb
TT
81602018-09-13 Tom Tromey <tom@tromey.com>
8161
8162 * Makefile.in (TAGS): Recognize proc_with_prefix and
8163 gdb_caching_proc.
8164
0ae1a321
SM
81652018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8166
8167 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8168 method.
8169
a40bf0c2
SM
81702018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8171
8172 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8173 and a few other Inferior properties when the Inferior is no
8174 longer valid.
8175
4a3fe98f
TT
81762018-09-13 Tom Tromey <tom@tromey.com>
8177
8178 PR rust/23650:
8179 * gdb.rust/simple.exp: Add test for enum field access error.
8180
098b2108
TT
81812018-09-13 Tom Tromey <tom@tromey.com>
8182
8183 PR rust/23626:
8184 * gdb.rust/simple.rs (EmptyEnum): New type.
8185 (main): Use it.
8186 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8187
1256af7d
SM
81882018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8189
8190 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8191 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8192 * gdb.python/py-symtab.exp: Update test printing an objfile.
8193
4aa8e6c2
SM
81942018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8195
8196 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8197 object.
8198
c221b2f7
AH
81992018-09-12 Alan Hayward <alan.hayward@arm.com>
8200
8201 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8202 (support_complex_tests): Use gdb_can_simple_compile.
8203 (is_ilp32_target): Likewise.
8204 (is_lp64_target): Likewise.
8205 (is_64_target): Likewise.
8206 (is_amd64_regs_target): Likewise.
8207 (is_aarch32_target): Likewise.
8208 (gdb_int128_helper): Likewise.
8209
6f1107b5
JK
82102018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8211
8212 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8213
1f5d1570
JG
82142018-09-10 Jerome Guitton <guitton@adacore.com>
8215
8216 * gdb.ada/same_component_name: Add test for case of tagged record
8217 with variable-length fields.
8218
cc330e39
XR
82192018-09-10 Xavier Roirand <roirand@adacore.com>
8220
8221 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8222 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8223 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8224 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8225
b9c50e9a
XR
82262018-09-10 Xavier Roirand <roirand@adacore.com>
8227
8228 * gdb.ada/mi_string_access.exp: New testcase.
8229 * gdb.ada/mi_string_access/bar.adb: New file.
8230 * gdb.ada/mi_string_access/pck.adb: New file.
8231 * gdb.ada/mi_string_access/pck.asd: New file.
8232
2963898f
XR
82332018-09-10 Xavier Roirand <roirand@adacore.com>
8234
8235 * gdb.ada/mi_var_union.exp: New testcase.
8236 * gdb.ada/mi_var_union/bar.adb: New file.
8237 * gdb.ada/mi_var_union/pck.adb: New file.
8238 * gdb.ada/mi_var_union/pck.asd: New file.
8239
1aac008f
TT
82402018-09-08 Tom Tromey <tom@tromey.com>
8241
8242 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8243
332cf4c9
TT
82442018-09-08 Tom Tromey <tom@tromey.com>
8245
8246 PR python/16047:
8247 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8248 (register_pretty_printers): Register new printer.
8249 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8250 test.
8251 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8252 (an_int_type3): New global.
8253
424da6cf
JB
82542018-09-08 Joel Brobecker <brobecker@adacore.com>
8255
8256 * gdb.ada/expr_with_funcall: New testcase.
8257
2a62dfa9
JB
82582018-09-08 Joel Brobecker <brobecker@adacore.com>
8259
8260 * gdb.ada/packed_array_assign: New testcase.
8261
96b6697f
AB
82622018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8263
8264 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8265 names, and add test prefixes to make test names unique.
8266
e4a62c65
TV
82672018-09-05 Tom de Vries <tdevries@suse.de>
8268
8269 * gdb.dwarf2/varval.exp: Add test.
8270
dd083ee2
GB
82712018-09-04 Gary Benson <gbenson@redhat.com>
8272
8273 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8274 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8275
aef9346c
TT
82762018-08-31 Tom Tromey <tom@tromey.com>
8277
8278 * gdb.rust/simple.rs: Rename second variable "v".
8279
c67f2e15
AB
82802018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8281
8282 * gdb.base/funcargs.c (use_a): New function.
8283 (recurse): Call use_a.
8284
078a0207
KS
82852018-08-29 Keith Seitz <keiths@redhat.com>
8286
8287 * gdb.compile/compile-cplus-anonymous.cc: New file.
8288 * gdb.compile/compile-cplus-anonymous.exp: New file.
8289 * gdb.compile/compile-cplus-array-decay.cc: New file.
8290 * gdb.compile/compile-cplus-array-decay.exp: New file.
8291 * gdb.compile/compile-cplus-inherit.cc: New file.
8292 * gdb.compile/compile-cplus-inherit.exp: New file.
8293 * gdb.compile/compile-cplus-member.cc: New file.
8294 * gdb.compile/compile-cplus-member.exp: New file.
8295 * gdb.compile/compile-cplus-method.cc: New file.
8296 * gdb.compile/compile-cplus-method.exp: New file.
8297 * gdb.compile/compile-cplus-mod.c: "New" file.
8298 * gdb.compile/compile-cplus-namespace.cc: New file.
8299 * gdb.compile/compile-cplus-namespace.exp: New file.
8300 * gdb.compile/compile-cplus-nested.cc: New file.
8301 * gdb.compile/compile-cplus-nested.exp: New file.
8302 * gdb.compile/compile-cplus-print.c: "New" file.
8303 * gdb.compile/compile-cplus-print.exp: "New" file.
8304 * gdb.compile/compile-cplus-virtual.cc: New file.
8305 * gdb.compile/compile-cplus-virtual.exp: New file.
8306 * gdb.compile/compile-cplus.c: "New" file.
8307 * gdb.compile/compile-cplus.exp: "New" file.
8308 * lib/compile-support.exp: New file.
8309
b0f492b9
GB
83102018-08-16 Gary Benson <gbenson@redhat.com>
8311
8312 PR gdb/13000:
8313 * gdb.base/batch-exit-status.exp: New file.
8314 * gdb.base/batch-exit-status.good-commands: Likewise.
8315 * gdb.base/batch-exit-status.bad-commands: Likewise.
8316
36eb4c5f
AH
83172018-08-29 Alan Hayward <alan.hayward@arm.com>
8318
8319 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8320 (struct struct02): Likewise.
8321 (struct struct03): Likewise.
8322 (struct struct04): Likewise.
8323 (struct struct_01_01): New struct.
8324 (struct struct_01_02): Likewise.
8325 (struct struct_01_03): Likewise.
8326 (struct struct_01_04): Likewise.
8327 (struct struct_02_01): Likewise.
8328 (struct struct_02_02): Likewise.
8329 (struct struct_02_03): Likewise.
8330 (struct struct_02_04): Likewise.
8331 (struct struct_04_01): Likewise.
8332 (struct struct_04_02): Likewise.
8333 (struct struct_04_03): Likewise.
8334 (struct struct_04_04): Likewise.
8335 (struct struct_05_01): Likewise.
8336 (struct struct_05_02): Likewise.
8337 (struct struct_05_03): Likewise.
8338 (struct struct_05_04): Likewise.
8339 (cmp_struct01): Remove function.
8340 (cmp_struct02): Likewise.
8341 (cmp_struct03): Likewise.
8342 (cmp_struct04): Likewise.
8343 (cmp_struct_01_01): Add Function.
8344 (cmp_struct_01_02): Likewise.
8345 (cmp_struct_01_03): Likewise.
8346 (cmp_struct_01_04): Likewise.
8347 (cmp_struct_02_01): Likewise.
8348 (cmp_struct_02_02): Likewise.
8349 (cmp_struct_02_03): Likewise.
8350 (cmp_struct_02_04): Likewise.
8351 (cmp_struct_04_01): Likewise.
8352 (cmp_struct_04_02): Likewise.
8353 (cmp_struct_04_03): Likewise.
8354 (cmp_struct_04_04): Likewise.
8355 (cmp_struct_05_01): Likewise.
8356 (cmp_struct_05_02): Likewise.
8357 (cmp_struct_05_03): Likewise.
8358 (cmp_struct_05_04): Likewise.
8359 (call_all): Add new structs.
8360 * gdb.base/infcall-nested-structs.exp: Likewise.
8361
3bf9c013
JV
83622018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8363
8364 * gdb.python/py-framefilter-mi.exp: Update regexp to
8365 check for "arch" field in frame output.
8366
450d1e88
KB
83672018-08-23 Kevin Buettner <kevinb@redhat.com>
8368
8369 * gdb.dwarf2/dw2-ranges-func.c: New file.
8370 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8371
ae739fe7
SM
83722018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8373
8374 * gdb.base/term.exp: Compare terminal settings with values from
8375 the inferior.
8376 * gdb.base/term.c: Get and set terminal settings.
8377
6d52907e
JV
83782018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8379
8380 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8381 accommodate new "arch" field in frame output.
8382 * gdb.mi/mi-return.exp: Likewise.
8383 * gdb.mi/mi-stack.exp: Likewise.
8384 * gdb.mi/mi-syn-frame.exp: Likewise.
8385 * gdb.mi/user-selected-context-sync.exp: Likewise.
8386
be2d111a
MS
83872018-08-19 Michael Spang <spang@google.com>
8388
8389 PR gdb/11786
8390 * gdb.base/gcore-tls-pie.c: New file.
8391 * gdb.base/gcore-tls-pie.exp: New file.
8392
ae3a7c47
KB
83932018-08-18 Kevin Buettner <kevinb@redhat.com>
8394
8395 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
8396 * gdb.dwarf2/varval.c: New file.
8397 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 8398
2ecae92e
AH
83992018-08-17 Alan Hayward <alan.hayward@arm.com>
8400
8401 PR gdb/18931
8402 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8403
c1854f1d
KS
84042018-08-16 Keith Seitz <keiths@redhat.com>
8405
8406 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
8407 tests expected to pass.
8408
26fb3983
JV
84092018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
8410
8411 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8412 -data-disassemble -a.
8413 (test_disassembly_bogus_args): Likewise.
8414
67943c00
AB
84152018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8416
8417 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8418
5ff2bbae
AB
84192018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8420
8421 * gdb.base/vla-optimized-out.exp: Add new test.
8422
e5bbcd0f
AB
84232018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8424
8425 * gdb.base/vla-optimized-out-o3.exp: Delete.
8426 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8427 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8428 deleted tests.
8429
9d4a934c
AB
84302018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8431
8432 PR gdb/18050:
8433 * gdb.server/extended-remote-restart.c: New file.
8434 * gdb.server/extended-remote-restart.exp: New file.
8435
045cf012
SM
84362018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8437
8438 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8439 "set variable index = 42".
8440
87d6a7aa
SM
84412018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8442
8443 * boards/index-cache-gdb.exp: New file.
8444 * gdb.dwarf2/index-cache.exp: New file.
8445 * gdb.dwarf2/index-cache.c: New file.
8446 * gdb.base/maint.exp: Check if we are using the index cache.
8447
96d68bd4
RO
84482018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8449
8450 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8451 MAKEFLAGS.
8452
5a699617
RO
84532018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8454
8455 * dg-extract-results.sh: Move to toplevel contrib.
8456 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8457 * Makefile.in (check-parallel-racy): Likewise.
8458
5bd18990
AB
84592018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8460
8461 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8462 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8463 tests if the target supports scheduler locking.
8464
3fbbcf47
TV
84652018-08-04 Tom de Vries <tdevries@suse.de>
8466
8467 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8468
3e1d3d8c
TT
84692018-08-02 Tom Tromey <tom@tromey.com>
8470
8471 PR symtab/16842.
8472 * gdb.cp/temargs.exp: Test "info address" of a template
8473 parameter.
8474
5abe0f0c
JV
84752018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8476
8477 * gdb.python/py-mi-var-info-path-expression.c: New file.
8478 * gdb.python/py-mi-var-info-path-expression.py: New file.
8479 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8480
fb66cde8
SDJ
84812018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8482
8483 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8484 error after "cannot resolve name" string.
8485
c708f4d2
AB
84862018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8487
8488 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8489 started.
8490 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8491
37cc0cae
TV
84922018-07-28 Tom de Vries <tdevries@suse.de>
8493
8494 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8495
63b4ecf7
TV
84962018-07-26 Tom de Vries <tdevries@suse.de>
8497
8498 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8499
3c3bb058
AB
85002018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8501
8502 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8503 is visible.
8504
9e7f3bbb
TV
85052018-07-26 Tom de Vries <tdevries@suse.de>
8506
8507 PR breakpoints/23366
8508 * gdb.base/catch-follow-exec.c: New test.
8509 * gdb.base/catch-follow-exec.exp: New file.
8510
16f808ec
TV
85112018-07-25 Tom de Vries <tdevries@suse.de>
8512
8513 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8514 vla-optimized-out.c.
8515
d7154a8d
JV
85162018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8517
8518 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8519 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8520
232a0032
TV
85212018-07-20 Tom de Vries <tdevries@suse.de>
8522
8523 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8524 NOCLONE macro.
8525 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8526
fbb1d502
TV
85272018-07-19 Tom de Vries <tdevries@suse.de>
8528
8529 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8530 regular expression.
8531
42dc7699
TV
85322018-07-18 Tom de Vries <tdevries@suse.de>
8533
8534 * gdb.base/vla-optimized-out.c: New test.
8535 * gdb.base/vla-optimized-out.exp: New file.
8536
7f1f7e23
SDJ
85372018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8538
8539 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8540 message "No address associated with hostname" when gdbserver
8541 cannot resolve the hostname.
8542
5759ebb3
PW
85432018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8544
8545 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8546 Add some test prefixes to make tests unique.
8547
3606ccab
PW
85482018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8549
8550 * gdb.base/frameapply.c: New file.
8551 * gdb.base/frameapply.exp: New file.
8552
529c08b2
PW
85532018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8554
8555 * gdb.base/skip.exp: Update expected error message.
8556
c7ab0aef
SDJ
85572018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8558 Jan Kratochvil <jan.kratochvil@redhat.com>
8559 Paul Fertser <fercerpav@gmail.com>
8560 Tsutomu Seki <sekiriki@gmail.com>
8561
8562 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8563 parameter.
8564 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8565 by default.
8566 * boards/native-gdbserver.exp: Likewise.
8567 * gdb.server/run-without-local-binary.exp: Improve regexp used
8568 for detecting when a remote debugging connection succeeds.
8569 * gdb.server/server-connect.exp: New file.
8570 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8571 Do not prefix the port number with ":".
8572 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8573 support for detecting and using it. Add '$debughost_gdbserver'
8574 to the list of arguments used to start gdbserver. Handle case
8575 when gdbserver cannot resolve a network name.
8576
16ff70dd
SDJ
85772018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8578
8579 PR c++/23373
8580 * gdb.base/ptype-offsets.cc (struct static_member): New
8581 struct.
8582 (main) <stmember>: New variable.
8583 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8584 with a static member in it.
8585
3541979f
AB
85862018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8587
8588 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8589 watchpoints enabled and disabled.
8590
c8ad9b9a
AB
85912018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8592
8593 * gdb.base/examine-backward.exp: Still run tests around address
8594 0x0, even if address 0x0 is not readable. Update the pattern for
8595 matching address 0x0 in expected output.
8596
e0e5e971
AB
85972018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8598
8599 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8600 malloc/free.
8601
1ea5da02
TV
86022018-07-04 Tom de Vries <tdevries@suse.de>
8603
8604 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8605
471b9d15
MR
86062018-07-02 Maciej W. Rozycki <macro@mips.com>
8607
8608 PR tdep/8282
8609 * gdb.arch/mips-disassembler-options.exp: New test.
8610 * gdb.arch/mips-disassembler-options.s: New test source.
8611
75acb486
PA
86122018-06-29 Pedro Alves <palves@redhat.com>
8613
8614 * gdb.threads/names.exp: Adjust expected "info threads" output.
8615
cd2bb709
PA
86162018-06-29 Pedro Alves <palves@redhat.com>
8617
8618 * gdb.opt/inline-break.exp (line number, address): Add "info
8619 break" tests.
8620
991ff292
PA
86212018-06-29 Pedro Alves <palves@redhat.com>
8622
8623 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8624 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8625 number and address and running to them.
8626
356819b6 86272018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
8628
8629 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8630
2512d7ef
JK
86312018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8632
8633 * lib/compiler.c: Remove executable permission flag.
8634
be1b6474
RB
86352018-06-28 Richard Bunt <richard.bunt@arm.com>
8636
8637 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8638 code.
8639 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8640
291f9a96
PT
86412018-06-28 Petr Tesarik <ptesarik@suse.cz>
8642
8643 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8644
ed6dfe51
PT
86452018-06-28 Petr Tesarik <ptesarik@suse.cz>
8646
8647 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8648 address argument is omitted.
8649
d4d429d5
PT
86502018-06-28 Petr Tesarik <ptesarik@suse.cz>
8651
8652 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8653
7ab6656f
OJ
86542018-06-27 Omair Javaid <omair.javaid@linaro.org>
8655
8656 PR gdb/21695
8657 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8658 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8659
a33ccfc7
TT
86602018-06-26 Tom Tromey <tom@tromey.com>
8661
8662 PR rust/22574:
8663 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8664 * gdb.rust/simple.rs (struct SimpleLayout): New.
8665
6d72d289
SM
86662018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8667
8668 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8669 "info registers" output.
8670
8363f9d5
RB
86712018-06-21 Richard Bunt <richard.bunt@arm.com>
8672
8673 * gdb.base/watchpoint-hw-attach.c: New test.
8674 * gdb.base/watchpoint-hw-attach.exp: New file.
8675
f00674fe
SM
86762018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8677
8678 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8679 through /bin/sh.
8680 * boards/dwarf4-gdb-index.exp: Likewise.
8681 * boards/fission-dwp.exp: Likewise.
8682
1d554008
UW
86832018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8684
8685 * gdb.base/float128.exp: Add comment and improved fail message
8686 to the failure case of "print large128" test.
8687
d0ac1c44
SM
86882018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8689
8690 * configure.ac: Remove AC_PREREQ.
8691 * configure: Re-generate.
8692
61b04dd0
PA
86932018-06-19 Pedro Alves <palves@redhat.com>
8694
8695 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8696 (func_extern_caller): New.
8697 (main): Call func_extern_caller.
8698 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8699 logic change.
8700
f63b508a
SM
87012018-06-18 Weimin Pan <weimin.pan@oracle.com>
8702
8703 PR gdb/16841
8704 * gdb.cp/typedef-base.cc: New file.
8705 * gdb.cp/typedef-base.exp: New file.
8706
0fe3a558
TV
87072018-06-18 Tom de Vries <tdevries@suse.de>
8708
8709 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8710
7010835a
AB
87112018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8712 Richard Bunt <Richard.Bunt@arm.com>
8713
8714 * gdb.threads/attach-slow-waitpid.c: New file.
8715 * gdb.threads/attach-slow-waitpid.exp: New file.
8716 * gdb.threads/slow-waitpid.c: New file.
8717
14897d65
PA
87182018-06-14 Pedro Alves <palves@redhat.com>
8719
8720 * gdb.base/fork-running-state.c: Include <errno.h>.
8721 (exit_if_relative_exits): New.
8722 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8723 exits.
8724 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8725 child exits.
8726
5d9a0608
TV
87272018-06-14 Tom de Vries <tdevries@suse.de>
8728
8729 PR cli/22573
8730 * gdb.base/finish-pretty.c: New test.
8731 * gdb.base/finish-pretty.exp: New file.
8732
11ae5818
PA
87332018-06-14 Pedro Alves <palves@redhat.com>
8734
8735 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8736 gdb's expected startup output.
8737
1d39de44
PA
87382018-06-14 Pedro Alves <palves@redhat.com>
8739
8740 * lib/selftest-support.exp (selftest_setup): Remove inlined
8741 function handling.
8742
70ee0000
TV
87432018-06-14 Tom de Vries <tdevries@suse.de>
8744
8745 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8746 matching of breakpoint printing.
8747
11f4b608
TV
87482018-06-13 Tom de Vries <tdevries@suse.de>
8749
8750 PR testsuite/23269
8751 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8752 (fork_child): ... here, and ...
8753 (fork_parent): ... here.
8754
87552018-06-12 Tom de Vries <tdevries@suse.de>
8756
8757 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8758
9516f85a
AB
87592018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8760 Stephen Roberts <stephen.roberts@arm.com>
8761
8762 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8763 rewrite test to describe action performed, rather than possible
8764 failure.
8765
5045b3d7
GB
87662018-06-08 Gary Benson <gbenson@redhat.com>
8767
8768 * gdb.threads/check-libthread-db.exp: New file.
8769 * gdb.threads/check-libthread-db.c: Likewise.
8770
c61b06a1
TT
87712018-06-05 Tom Tromey <tom@tromey.com>
8772
8773 * gdb.base/default.exp: Update expected "show version" output.
8774
eb6af809
TT
87752018-06-05 Tom Tromey <tom@tromey.com>
8776
8777 PR cli/12326:
8778 * gdb.cp/static-print-quit.exp: Update.
8779 * lib/gdb.exp (pagination_prompt): Update.
8780 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8781 * gdb.python/python.exp: Update.
8782
178d6a63
JB
87832018-06-04 Joel Brobecker <brobecker@adacore.com>
8784
8785 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8786
8e817061
JB
87872018-06-01 Joel Brobecker <brobecker@adacore.com>
8788
8789 * gdb.ada/bp_fun_addr: New testcase.
8790
e86ca25f
TT
87912018-06-01 Tom Tromey <tom@tromey.com>
8792
8793 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8794 results.
8795 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8796 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8797 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8798 * gdb.base/maint.exp (maint_pass_if): Update.
8799
4b2dfa9d
MR
88002018-05-31 Maciej W. Rozycki <macro@mips.com>
8801
8802 * gdb.base/endian.exp: New test.
8803 * gdb.base/endian.c: New test source.
8804
45f25d6c
AB
88052018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8806
8807 PR gdb/23203
8808 * gdb.base/bt-selected-frame.c: New file.
8809 * gdb.base/bt-selected-frame.exp: New file.
8810 * lib/gdb.exp (get_current_frame_number): New function.
8811
d9f6d7f8
MR
88122018-05-24 Maciej W. Rozycki <macro@mips.com>
8813 Pedro Alves <palves@redhat.com>
8814
8815 * gdb.threads/tls-core.c: Include <stdlib.h>
8816 (thread_proc): Call `abort'.
8817 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8818 (tls_core_test): New procedure, bits factored out from ...
8819 (top level): ... here. Test both native cores and gcore cores.
8820
ff1cf532
TT
88212018-05-23 Tom Tromey <tom@tromey.com>
8822
8823 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8824
b98664d3
TT
88252018-05-23 Tom Tromey <tom@tromey.com>
8826
8827 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8828 symfile_complaints.
8829 (test_short_complaints): Likewise.
8830 (test_empty_complaints): Likewise.
8831 (test_initial_complaints): Update.
8832
4e9668d0
TT
88332018-05-23 Tom Tromey <tom@tromey.com>
8834
8835 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8836
43ba33c7
TT
88372018-05-23 Tom Tromey <tom@tromey.com>
8838
8839 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8840 (test_short_complaints): Update.
8841
035522c0
PA
88422018-05-22 Pedro Alves <palves@redhat.com>
8843
8844 * gdb.base/remote.exp: Only gdb_start after compiling the
8845 testcase. Issue "disconnect" before testing "set remote" command
8846 defaults. Issue clean_restart before running to main.
8847
cc0be08f
PA
88482018-05-22 Pedro Alves <palves@redhat.com>
8849
8850 * gdb.base/remote.exp: Adjust expected output of "show remote
8851 memory-write-packet-size". Add tests for "set remote
8852 memory-write-packet-size 0" and "set remote
8853 memory-write-packet-size fixed/limit".
8854
b1b60145
PA
88552018-05-22 Pedro Alves <palves@redhat.com>
8856
8857 PR gdb/22973
8858 * gdb.base/utf8-identifiers.c: New file.
8859 * gdb.base/utf8-identifiers.exp: New file.
8860
0ec848ad
PFC
88612018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8862
8863 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8864
2c3305f6
PFC
88652018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8866
8867 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8868
ce1e8424
TT
88692018-05-18 Tom Tromey <tom@tromey.com>
8870
8871 * gdb.base/ptype-offsets.exp: Update.
8872
ddfe970e
KS
88732018-05-17 Keith Seitz <keiths@redhat.com>
8874
8875 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8876 in expected breakpoint stop locations.
8877 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8878 move to proper scope to test variable values.
8879 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8880 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8881 New functions.
8882 (main): Call not_inline_func3.
8883 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8884 inline_func1, inline_func2, and inline_func3. Test that when each
8885 breakpoint is hit, GDB properly reports both the stop location
8886 and the backtrace. Repeat tests for temporary breakpoints.
8887
0726fcc6
MR
88882018-05-15 Maciej W. Rozycki <macro@mips.com>
8889
8890 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8891 rather then trying to access it in determining whether the PID
8892 of `gdbserver' could have been retrieved.
8893
8ee22052
AB
88942018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8895
8896 * gdb.arch/amd64-init-x87-values.S: New file.
8897 * gdb.arch/amd64-init-x87-values.exp: New file.
8898
7785df48
JK
88992018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8900
8901 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8902
56bcdbea
TT
89032018-05-04 Tom Tromey <tom@tromey.com>
8904
8905 PR python/22730:
8906 * gdb.python/python.exp: Test multi-line execute.
8907
a913fffb
TT
89082018-05-04 Tom Tromey <tom@tromey.com>
8909
8910 PR python/22731:
8911 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8912
7a2c85f2
TT
89132018-05-04 Tom Tromey <tom@tromey.com>
8914
8915 PR gdb/11750:
8916 * gdb.base/define.exp: Test defining a user command inside a user
8917 command.
8918 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8919
a3b60e45
JK
89202018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8921 Pedro Alves <palves@redhat.com>
8922
8923 PR breakpoints/19806 and support for PR external/20207.
8924 * gdb.base/watchpoint-unaligned.c: New file.
8925 * gdb.base/watchpoint-unaligned.exp: New file.
8926
45fe4a03
AB
89272018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8928
8929 * gdb.base/maint.exp: Make test names unique, use
8930 test_prefix_command_help to test 'help maint info', and remove
8931 repeated test of 'help maint'.
8932
9be2ae8f
TT
89332018-05-04 Tom Tromey <tom@tromey.com>
8934
8935 PR gdb/22619:
8936 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8937 behavior.
8938
11859c31
AB
89392018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8940
8941 * gdb.base/maint.exp: Process output from 'maint print registers'
8942 line at a time.
8943
089a9490
AB
89442018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8945
8946 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8947 timeout.
8948
9b0797e2
AB
89492018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8950
8951 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8952 filter pattern.
8953
f6ac5f3d
PA
89542018-05-02 Pedro Alves <palves@redhat.com>
8955
8956 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8957 to_log_command renames.
8958 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8959
77d3c63b
TT
89602018-05-02 Tom Tromey <tom@tromey.com>
8961
8962 * gdb.python/py-parameter.exp: Set test message.
8963
0489430a
TT
89642018-05-02 Tom Tromey <tom@tromey.com>
8965
8966 PR python/20084:
8967 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8968 PARAM_ZUINTEGER_UNLIMITED tests.
8969
1632f8ba
DR
89702018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8971
8972 PR rust/23124
8973 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8974 when casting.
8975
6d7bb824
TT
89762018-04-30 Tom Tromey <tom@tromey.com>
8977
8978 * gdb.python/py-type.exp: Check align attribute.
8979 * gdb.python/py-type.c: New "aligncheck" global.
8980
007e1530
TT
89812018-04-30 Tom Tromey <tom@tromey.com>
8982
8983 PR exp/17095:
8984 * gdb.dwarf2/dw2-align.exp: New file.
8985 * gdb.cp/align.exp: New file.
8986 * gdb.base/align.exp: New file.
8987 * lib/gdb.exp (gdb_int128_helper): New proc.
8988 (has_int128_c, has_int128_cxx): New caching procs.
8989
6873858b
TT
89902018-04-27 Tom Tromey <tom@tromey.com>
8991
8992 PR rust/22545:
8993 * gdb.rust/simple.exp: Add inclusive range tests.
8994
79188d8d
PA
89952018-04-26 Pedro Alves <palves@redhat.com>
8996
8997 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8998 ifunc breakpoint locations correctly of ifunc breakpoints set
8999 while the program resolves the ifunc.
9000
c7075ad5
PA
90012018-04-26 Pedro Alves <palves@redhat.com>
9002
9003 * gdb.base/gnu-ifunc-final.c: New file.
9004 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9005 * gdb.base/gnu-ifunc.exp (executable): Delete.
9006 (staticexecutable): Adjust.
9007 (lib_opts, exec_opts): Delete.
9008 (make_binsuffix, build, set-break): New procedures.
9009 (misc_tests): New, with tests factored out from the top level.
9010 (top level): Test different combinations of ifunc resolver name,
9011 resolver with and with debug info, and ifunc target with and
9012 without debug info. Wrap static tests with with_target_prefix.
9013
8388016d
PA
90142018-04-26 Pedro Alves <palves@redhat.com>
9015
9016 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9017 return type" warnings.
9018
249b5733
PA
90192018-04-25 Pedro Alves <palves@redhat.com>
9020
9021 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9022 killed".
9023 * gdb.base/kill-after-signal.exp: Likewise.
9024 * gdb.threads/kill.exp: Likewise.
9025
f67c0c91
SDJ
90262018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9027 Sergio Durigan Junior <sergiodj@redhat.com>
9028 Pedro Alves <palves@redhat.com>
9029
9030 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9031 regexps to expect for '[Inferior ... detached]' as well.
9032 * gdb.base/attach.exp: Likewise.
9033 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9034 "gdb_continue_to_end".
9035 (test_catch_syscall_with_wrong_args): Likewise.
9036 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9037 ']'. Don't set 'verbose' on.
9038 * gdb.base/foll-vfork.exp: Likewise.
9039 * gdb.base/fork-print-inferior-events.c: New file.
9040 * gdb.base/fork-print-inferior-events.exp: New file.
9041 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9042 '[Inferior ... has been killed]' message.
9043 * gdb.base/kill-after-signal.exp: Likewise.
9044 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9045 detach message.
9046 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9047 message.
9048 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9049 regexps to expect for '[Inferior ... detached]' as well.
9050 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9051
0a8ddac4
SM
90522018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9053
9054 PR gdb/23104
9055 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9056
701adfb0
PA
90572018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9058
9059 PR gdb/23095
9060 * gdb.base/break-probes.exp: Pass shlib_load to
9061 prepare_for_testing. Set normal_bp to r_debug_state if target is
9062 bsd.
9063
d27d16bf
RB
90642018-04-19 Richard Bunt <richard.bunt@arm.com>
9065
9066 * gdb.threads/multiple-successive-infcall.c: New test.
9067 * gdb.threads/multiple-successive-infcall.exp: New file.
9068
a037790e
TT
90692018-04-17 Tom Tromey <tom@tromey.com>
9070
9071 * gdb.rust/simple.rs (Union): New type.
9072 (main): New local "u".
9073 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9074
e3a91079
AA
90752018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9076
9077 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9078 number information in output of "whereis" command.
9079 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9080
b744723f
AA
90812018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9082
9083 * gdb.ada/info_types.exp: Adjust expected output to the line
9084 numbers now printed by "info var/func/type".
9085 * gdb.base/completion.exp: Likewise.
9086 * gdb.base/included.exp: Likewise.
9087 * gdb.cp/cp-relocate.exp: Likewise.
9088 * gdb.cp/cplusfuncs.exp: Likewise.
9089 * gdb.cp/namespace.exp: Likewise.
9090 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9091
4a4495d6
MM
90922018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9093
9094 * gdb.btrace/cpu.exp: New.
9095
1d509aa6
MM
90962018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9097
9098 * gdb.base/step-indirect-call-thunk.exp: New.
9099 * gdb.base/step-indirect-call-thunk.c: New.
9100 * gdb.reverse/step-indirect-call-thunk.exp: New.
9101 * gdb.reverse/step-indirect-call-thunk.c: New.
9102
6295b6da
SM
91032018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9104
9105 * gdb.base/pie-fork.c: New file.
9106 * gdb.base/pie-fork.exp: New file.
9107
50146e70
TT
91082018-04-11 Tom Tromey <tom@tromey.com>
9109
9110 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9111
f50d8a2e
PA
91122018-04-10 Pedro Alves <palves@redhat.com>
9113
9114 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9115 exits. Instead loop running forever.
9116 (fork_parent): Run forever too.
9117
a0be7a36
SM
91182018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9119
9120 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9121 mi_continue_to_line.
9122 * gdb.mi/mi-stack.c (callee4): Add comment.
9123
9b73db36
SM
91242018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9125
9126 * gdb.mi/mi-stack.exp: Fix indentation.
9127
c912f608
SM
91282018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9129
9130 PR gdb/22979
9131 * gdb.arch/amd64-osabi.exp: New file.
9132
26540402
SM
91332018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9134
9135 PR gdb/22980
9136 * gdb.base/osabi.exp: New file.
9137
121ad66c 91382018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
9139
9140 * gdb.cp/static-typedef-print.exp: New file.
9141 * gdb.cp/static-typedef-print.cc: New file.
9142
3fcded8f
JB
91432018-03-27 Joel Brobecker <brobecker@adacore.com>
9144
9145 * gdb.ada/varsize_limit: New testcase.
9146
59cc4834
JB
91472018-03-27 Joel Brobecker <brobecker@adacore.com>
9148
9149 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9150
9151 * gdb.ada/notcplusplus: New testcase.
9152
9153 * gdb.base/c-linkage-name.c: New file.
9154 * gdb.base/c-linkage-name.exp: New testcase.
9155
4ca59a9f
TT
91562018-03-26 Tom Tromey <tom@tromey.com>
9157
9158 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9159 * gdb.python/py-framefilter.py (name_error): New global.
9160 (ErrorInName.function): Use name_error.
9161
978d6c75
TT
91622018-03-26 Tom Tromey <tom@tromey.com>
9163
9164 PR backtrace/15582:
9165 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9166
b7fee5a3
KS
91672018-03-23 Keith Seitz <keiths@redhat.com>
9168
9169 PR c++/22968
9170 * gdb.cp/subtypes.exp: New file.
9171 * gdb.cp/subtypes.h: New file.
9172 * gdb.cp/subtypes.cc: New file.
9173 * gdb.cp/subtypes-2.cc: New file.
9174
376be529
AB
91752018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9176
9177 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9178 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9179 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9180 -nostartfiles when compiling the test. Confirm that all registers
9181 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9182
066cfa98
AB
91832018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9184
9185 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9186 option, syntax was wrong anyway.
9187 * gdb.arch/arm-disp-step.exp: Likewise.
9188 * gdb.arch/sparc64-regs.exp: Likewise.
9189 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9190 option, syntax was wrong anyway, switch to use
9191 prepare_for_testing.
9192 * gdb.arch/i386-disp-step.exp: Likewise.
9193
079670b9
AA
91942018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9195
9196 * gdb.ada/exec_changed.exp: Replace "target_info exists
9197 use_gdb_stub" by "use_gdb_stub".
9198 * gdb.ada/start.exp: Likewise.
9199 * gdb.base/async-shell.exp: Likewise.
9200 * gdb.base/attach-pie-misread.exp: Likewise.
9201 * gdb.base/attach-wait-input.exp: Likewise.
9202 * gdb.base/break-entry.exp: Likewise.
9203 * gdb.base/break-interp.exp: Likewise.
9204 * gdb.base/dprintf-detach.exp: Likewise.
9205 * gdb.base/nostdlib.exp: Likewise.
9206 * gdb.base/solib-nodir.exp: Likewise.
9207 * gdb.base/statistics.exp: Likewise.
9208 * gdb.base/testenv.exp: Likewise.
9209 * gdb.mi/mi-exec-run.exp: Likewise.
9210 * gdb.mi/mi-start.exp: Likewise.
9211 * gdb.multi/dummy-frame-restore.exp: Likewise.
9212 * gdb.multi/multi-arch-exec.exp: Likewise.
9213 * gdb.multi/multi-arch.exp: Likewise.
9214 * gdb.multi/tids.exp: Likewise.
9215 * gdb.multi/watchpoint-multi.exp: Likewise.
9216 * gdb.python/py-events.exp: Likewise.
9217 * gdb.threads/attach-into-signal.exp: Likewise.
9218 * gdb.threads/attach-stopped.exp: Likewise.
9219 * gdb.threads/threadapply.exp: Likewise.
9220 * lib/selftest-support.exp: Likewise.
9221
26d6cec4
AA
92222018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9223
9224 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9225
4ee89e90
SR
92262018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9227
9228 * gdb.perf/template-breakpoints.cc: New file.
9229 * gdb.perf/template-breakpoints.exp: New file.
9230 * gdb.perf/template-breakpoints.py: New file.
9231
92630041
TT
92322018-03-19 Tom Tromey <tom@tromey.com>
9233
9234 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9235 y0.
9236 * gdb.rust/simple.exp: Test bare identifier form of struct
9237 initializer.
9238
76727919
TT
92392018-03-19 Tom Tromey <tom@tromey.com>
9240
9241 * gdb.gdb/observer.exp: Remove.
9242
194ed413
AA
92432018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9244
9245 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9246 "qualified" option when setting breakpoints.
9247 * gdb.trace/backtrace.exp: Likewise.
9248 * gdb.trace/circ.exp: Likewise.
9249 * gdb.trace/collection.exp: Likewise.
9250 * gdb.trace/disconnected-tracing.exp: Likewise.
9251 * gdb.trace/ftrace-lock.exp: Likewise.
9252 * gdb.trace/ftrace.exp: Likewise.
9253 * gdb.trace/infotrace.exp: Likewise.
9254 * gdb.trace/packetlen.exp: Likewise.
9255 * gdb.trace/passc-dyn.exp: Likewise.
9256 * gdb.trace/qtro.exp: Likewise.
9257 * gdb.trace/read-memory.exp: Likewise.
9258 * gdb.trace/report.exp: Likewise.
9259 * gdb.trace/signal.exp: Likewise.
9260 * gdb.trace/status-stop.exp: Likewise.
9261 * gdb.trace/strace.exp: Likewise.
9262 * gdb.trace/tfind.exp: Likewise.
9263 * gdb.trace/trace-break.exp: Likewise.
9264 * gdb.trace/trace-condition.exp: Likewise.
9265 * gdb.trace/trace-mt.exp: Likewise.
9266 * gdb.trace/tstatus.exp: Likewise.
9267 * gdb.trace/tsv.exp: Likewise.
9268 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9269 * gdb.trace/unavailable.exp: Likewise.
9270 * gdb.trace/while-dyn.exp: Likewise.
9271
8b067d2c
AA
92722018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9273
9274 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9275 that libinproctrace is copied to the target.
9276
3ae9ce5d
TT
92772018-03-14 Tom Tromey <tom@tromey.com>
9278
9279 PR cli/14977:
9280 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9281 a null pointer.
9282 * gdb.base/wchar.exp: Likewise.
9283
b8c2339b
TT
92842018-03-14 Tom Tromey <tom@tromey.com>
9285
9286 PR cli/19918:
9287 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9288 flag.
9289
4872dc46
SM
92902018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9291
9292 PR gdb/22841
9293 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9294 "target" to remote_exec.
9295
e4fe3756
SM
92962018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9297
9298 PR gdb/22841
9299 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9300 ${board}_upload): Remove.
9301
e95a97d4
AA
93022018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9303
9304 * gdb.cp/watch-cp.cc: New test.
9305 * gdb.cp/watch-cp.exp: New file.
9306
dbbb1059
AB
93072018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9308
9309 * gdb.base/infcall-nested-structs.exp: New file.
9310 * gdb.base/infcall-nested-structs.c: New file.
9311 * gdb.base/float.exp: Add riscv support.
9312
ecc054c0
TP
93132018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9314
9315 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9316 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9317
25e3c82c
SDJ
93182018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9319
9320 * gdb.server/abspath.exp: New file.
9321 * lib/gdb.exp (with_cwd): New procedure.
9322
3083294d
SM
93232018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9324
9325 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9326 use it.
9327 (gdb_is_target_remote_prompt): New proc.
9328 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9329 (gdb_is_target_native): Pass prompt parameter to
9330 gdb_is_target_1.
9331
3275ef47
SM
93322018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9333
9334 * gdb.base/load-command.c: New file.
9335 * gdb.base/load-command.exp: New file.
9336 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9337 (gdb_is_target_1): ...this, and generalize for other targets
9338 than just remote.
9339 (gdb_is_target_remote): Use gdb_is_target_1.
9340 (gdb_is_target_native): use gdb_is_target_1.
9341
6893c19a
TT
93422018-02-26 Tom Tromey <tom@tromey.com>
9343
9344 PR python/16497:
9345 * gdb.python/py-framefilter.exp: Update test.
9346
2ddeaf8a
TT
93472018-02-26 Tom Tromey <tom@tromey.com>
9348
9349 * gdb.dwarf2/variant.c: New file.
9350 * gdb.dwarf2/variant.exp: New file.
9351
c9317f21
TT
93522018-02-26 Tom Tromey <tom@tromey.com>
9353
9354 * gdb.rust/simple.exp: Accept more possible results in enum test.
9355
6f6d0c26
SM
93562018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9357
9358 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9359 parentheses.
9360
11b03145
MR
93612018-02-23 Maciej W. Rozycki <macro@mips.com>
9362
9363 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9364 name of a variable: $actual_linejj -> $actual_line.
9365
54a27fe5
JB
93662018-02-21 John Baldwin <jhb@FreeBSD.org>
9367
9368 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9369
de65820c
MM
93702018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9371
9372 * gdb.btrace/buffer-size.exp: Do not force BTS.
9373
980548fd
PA
93742018-02-14 Pedro Alves <palves@redhat.com>
9375
9376 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9377 getting a "Quit".
9378
c4e12631
MM
93792018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9380
9381 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9382 Fix test name.
9383
c2e0e465
SM
93842018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9385
9386 * gdb.cp/m-static.exp: Check type of optimized out static
9387 member.
9388
f7216783
AB
93892018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9390
9391 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9392 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9393
0625771b
LS
93942018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9395 Leszek Swirski <leszeks@google.com>
9396
9397 * gdb.python/py-prettyprint.c
9398 (struct to_string_returns_value_inner,
9399 struct to_string_returns_value_wrapper): New.
9400 (main): Add tsrvw variable.
9401 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9402 ToStringReturnsValueWrapper): New classes.
9403 (register_pretty_printers): Register new pretty-printers.
9404 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
9405 recursive pretty printer.
9406 * gdb.python/py-mi.exp: Likewise.
9407
59498c30
LS
94082018-02-01 Leszek Swirski <leszeks@google.com>
9409
9410 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9411 functions with the same name as an include file are parsed
9412 correctly.
9413
d4d38844
YQ
94142018-02-01 Yao Qi <yao.qi@linaro.org>
9415
9416 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9417 "\[^\r\n\]*".
9418
07e5f5cf
NP
94192018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9420
9421 * gdb.arch/powerpc-prologue-frame.s: New file.
9422 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9423 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9424
929b5ad4
JB
94252018-01-31 Joel Brobecker <brobecker@adacore.com>
9426
9427 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9428
e671cd59
PA
94292018-01-30 Pedro Alves <palves@redhat.com>
9430
9431 PR gdb/13211
9432 * gdb.base/interrupt-daemon.c: New.
9433 * gdb.base/interrupt-daemon.exp: New.
9434 * gdb.multi/multi-term-settings.c: New.
9435 * gdb.multi/multi-term-settings.exp: New.
9436
fc413dc4
JB
94372018-01-30 Joel Brobecker <brobecker@adacore.com>
9438
9439 * gdb.base/break.exp: Save the location where the breakpoint
9440 on break.c:47 was actually inserted when debugging the version
9441 compiled at -O2 and use it in the expected output of the "info
9442 break" test performed soon after.
9443
5c319bb2
PA
94442018-01-22 Pedro Alves <palves@redhat.com>
9445 Sergio Durigan Junior <sergiodj@redhat.com>
9446
9447 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9448 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9449
a9e40818
JB
94502018-01-22 Joel Brobecker <brobecker@adacore.com>
9451
9452 * gdb.base/break-include.c, gdb.base/break-include.inc,
9453 gdb.base/break-include.exp: New files.
9454 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9455 line number now being the actual line number where the breakpoint
9456 was inserted.
9457 * gdb.mi/mi-break.exp: Likewise.
9458 * gdb.mi/mi-reverse.exp: Likewise.
9459 * gdb.mi/mi-simplerun.exp: Ditto.
9460
e707fc44
AB
94612018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9462
9463 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9464 varobj.
9465 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9466
ae451627
AB
94672018-01-21 Don Breazeal <donb@codesourcery.com>
9468 Andrew Burgess <andrew.burgess@embecosm.com>
9469
9470 * gdb.mi/basics.c: Add new global.
9471 * gdb.mi/mi-frame-regs.exp: New file.
9472 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9473 case.
9474
b1b189e0
AB
94752018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9476
9477 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9478 non-parameter, and on an unknown symbol.
9479
fcfcc376
TT
94802018-01-19 Tom Tromey <tom@tromey.com>
9481
9482 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9483 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9484
634c1c31
AA
94852018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9486
9487 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9488 setrlimit and chdir to int.
9489
d6ad07fd
AA
94902018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9491
9492 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9493 function.
9494 (my_tend): Likewise.
9495 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9496 rationale of avoiding FP- and vector instructions.
9497
adf8243b
RK
94982018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9499
9500 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9501 "info reg" with "\[ \t\]*".
9502 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9503 "\[ \t\]+".
9504 * gdb.arch/s390-multiarch.exp: Ditto.
9505 * gdb.base/pc-fp.exp: Ditto.
9506 * gdb.reverse/i386-precsave.exp: Ditto.
9507 * gdb.reverse/i386-reverse.exp: Ditto.
9508 * gdb.reverse/i387-env-reverse.exp: Ditto.
9509 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9510
dcc06925
AA
95112018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9512
9513 * lib/gdb.exp (gdb_compile): Re-enable use of
9514 universal_compile_options for languages other than Rust.
9515
25d4fd80
AA
95162018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9517
9518 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9519
ee7f689e 95202018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
9521
9522 PR gdb/16577
9523 * gdb.base/solib-vanish.exp: New.
9524 * gdb.base/solib-vanish-main.c: New.
9525 * gdb.base/solib-vanish-lib1.c: New.
9526 * gdb.base/solib-vanish-lib2.c: New.
9527
d8447b6b
YQ
95282018-01-17 Yao Qi <yao.qi@linaro.org>
9529
9530 * gdb.compile/compile.exp: Match the address printed for
9531 frame in the output of command "bt".
9532
86d6a90c
TT
95332018-01-15 Tom Tromey <tom@tromey.com>
9534
9535 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9536 compute sp_reg.
9537
cbcdb1aa
AB
95382018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9539
9540 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9541 to prepare.
9542 (prepare): Return 0 on error, 1 on success.
9543
eea61984
PA
95442018-01-12 Pedro Alves <palves@redhat.com>
9545
9546 * gdb.base/continue-after-aborted-step-over.c: New.
9547 * gdb.base/continue-after-aborted-step-over.exp: New.
9548
6181e9c2
SM
95492018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9550
9551 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9552 options when not creating an executable.
9553
3cada740
PA
95542018-01-11 Pedro Alves <palves@redhat.com>
9555
9556 PR remote/22597
9557 * gdb.server/stop-reply-no-thread.c: New file.
9558 * gdb.server/stop-reply-no-thread.exp: New file.
9559
c63d3e8d
PA
95602018-01-10 Pedro Alves <palves@redhat.com>
9561
9562 PR gdb/22670
9563 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9564 functions too. Test setting breakpoints and printing C functions
9565 with no debug info too.
9566 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9567
d4c2a405
PA
95682018-01-10 Pedro Alves <palves@redhat.com>
9569
9570 PR gdb/22670
9571 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9572 a fail.
9573
8825213e
PA
95742018-01-10 Pedro Alves <palves@redhat.com>
9575
9576 PR gdb/22670
9577 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9578
605fd3c6
YQ
95792018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9580
9581 * gdb.server/unittest.exp: Match the output in non-development
9582 mode.
9583
1e5ded6c
YQ
95842018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9585
9586 * gdb.gdb/unittest.exp: Match output in non-development mode.
9587
30066b0b
JB
95882018-01-08 Joel Brobecker <brobecker@adacore.com>
9589
9590 * gdb.ada/access_tagged_param.exp: Relax expected output
9591 for value of "ObjL" in "continue" to pck.inspect breakpoint
9592 test.
9593
04bafb1e
XR
95942018-01-08 Joel Brobecker <brobecker@adacore.com>
9595
9f86398b
JB
9596 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9597 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 9598
e379cee6
PA
95992018-01-05 Pedro Alves <palves@redhat.com>
9600
9601 PR gdb/18653
9602 * gdb.base/libsegfault.exp: New.
9603
de63c46b
PA
96042018-01-05 Joel Brobecker <brobecker@adacore.com>
9605
9606 PR gdb/22670
9607 * gdb.ada/access_tagged_param.exp: New file.
9608 * gdb.ada/access_tagged_param/foo.adb: New file.
9609
f98fc17b
PA
96102018-01-05 Pedro Alves <palves@redhat.com>
9611
9612 PR gdb/22670
9613 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9614 exercise lower case too, and to exercise both full matching and
9615 wild matching.
9616
342f8240
JB
96172018-01-05 Joel Brobecker <brobecker@adacore.com>
9618
9619 * gdb.ada/rename_subscript_param: New testcase.
9620
7150d33c
JG
96212018-01-05 Jerome Guitton <guitton@adacore.com>
9622
9623 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9624
cc0e770c
JB
96252018-01-05 Joel Brobecker <brobecker@adacore.com>
9626
9627 * gdb.ada/convvar_comp: New testcase.
9628
672a41aa 96292018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
9630
9631 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9632 (My_Table): New global variable.
9633 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9634
7365ec2f
JB
96352018-01-04 Joel Brobecker <brobecker@adacore.com>
9636
9637 PR gdb/22670
9638 * gdb.ada/maint_with_ada: New testcase.
9639
289483b6
JB
96402018-01-04 Joel Brobecker <brobecker@adacore.com>
9641
9642 PR gdb/22670
9643 * gdb.ada/bp_c_mixed_case: New testcase.
9644
344420da
JB
96452018-01-04 Joel Brobecker <brobecker@adacore.com>
9646
9647 PR gdb/22670
9648 * gdb.ada/complete.exp: Add "complete break ada" test.
9649
66fc87a0
JB
96502018-01-04 Joel Brobecker <brobecker@adacore.com>
9651
9652 PR gdb/22670
9653 * gdb.ada/info_addr_mixed_case: New testcase.
9654
9f757bf7
XR
96552018-01-03 Xavier Roirand <roirand@adacore.com>
9656
9657 * gdb.ada/excep_handle.exp: New testcase.
9658 * gdb.ada/excep_handle/foo.adb: New file.
9659 * gdb.ada/excep_handle/pck.ads: New file.
9660
bd570f80
JB
96612018-01-03 Joel Brobecker <brobecker@adacore.com>
9662
9663 * gdb.base/step-line.c: Add extra empty line in copyright header.
9664 * gdb.base/step-line.inp: Likewise.
9665
9fe561ab
JB
96662018-01-02 Joel Brobecker <brobecker@adacore.com>
9667
9668 * gdb.ada/dyn_stride.exp: Add slice test.
9669
a405673c
JB
96702018-01-02 Joel Brobecker <brobecker@adacore.com>
9671
9672 * gdb.ada/dyn_stride: New testcase.
9673
cef0f868
SH
96742017-12-27 Stafford Horne <shorne@gmail.com>
9675
9676 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9677 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9678
b67d92b0
SH
96792017-12-27 Stafford Horne <shorne@gmail.com>
9680
9681 * gdb.base/reggroups.c: New file.
9682 * gdb.base/reggroups.exp: New file.
9683
eccab96d
JB
96842017-12-18 Joel Brobecker <brobecker@adacore.com>
9685
9686 * gdb.dwarf2/ada-valprint-error.c: New file.
9687 * gdb.dwarf2/ada-valprint-error.exp: New file.
9688
0e2da9f0
JB
96892017-12-18 Joel Brobecker <brobecker@adacore.com>
9690
9691 * gdb.ada/assign_arr: New testcase.
9692
cb923fcc
XR
96932017-12-18 Xavier Roirand <roirand@adacore.com>
9694
9695 * gdb.ada/funcall_ptr: New testcase.
9696
7c161838
SDJ
96972017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9698
9699 PR cli/16224
9700 * gdb.base/ptype-offsets.cc: New file.
9701 * gdb.base/ptype-offsets.exp: New file.
9702
1af17fd9
YQ
97032017-12-15 Yao Qi <yao.qi@linaro.org>
9704
9705 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9706 if XML is disabled.
9707
828d5846
XR
97082017-12-15 Xavier Roirand <roirand@adacore.com>
9709
9710 * gdb.ada/same_component_name: New testcase.
9711
79e8fcaa
JB
97122017-12-14 Joel Brobecker <brobecker@adacore.com>
9713
9714 * gdb.ada/str_binop_equal: New testcase.
9715
e05fa6f9
JB
97162017-12-14 Joel Brobecker <brobecker@adacore.com>
9717
9718 * gdb.ada/task_switch_in_core: New testcase.
9719
b89641ba
SM
97202017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9721
9722 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9723 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9724 call test_bkpt_qualified.
9725 (test_bkpt_qualified): New proc.
9726
6892d2e4
PA
97272017-12-13 Pedro Alves <palves@redhat.com>
9728
9729 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9730 Tighten regexp by matching with an anchor.
9731
a22ecf70
PA
97322017-12-13 Pedro Alves <palves@redhat.com>
9733
9734 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9735 ("expression with namespace"): New set of tests.
9736 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9737 (Nested::Test_NS::qux): New.
9738 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9739 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9740
9937536c
JB
97412017-12-13 Joel Brobecker <brobecker@adacore.com>
9742
9743 * gdb.base/server-del-break.c: New file.
9744 * gdb.base/server-del-break.exp: New file.
9745
fe49c6f5
SH
97462017-12-12 Stafford Horne <shorne@gmail.com>
9747
9748 * gdb.xml/tdesc-regs.exp: Add or1k support.
9749
c3d18620
SH
97502017-12-12 Stafford Horne <shorne@gmail.com>
9751
9752 * gdb.base/bp-permanent.c: Define nop of or1k.
9753
c5f9cfc8
JB
97542017-12-11 Joel Brobecker <brobecker@adacore.com>
9755
9756 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9757 output with components being reordered.
9758
a9c135fc
JB
97592017-12-11 Joel Brobecker <brobecker@adacore.com>
9760
9761 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9762 output with components being reordered.
9763
927aa2e7
JK
97642017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9765 Pedro Alves <palves@redhat.com>
9766
9767 * gdb.base/maint.exp (check for .gdb_index): Check also for
9768 .debug_names.
9769 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9770 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9771 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9772 (.gdb_index used after symbol reloading): Support also .debug_names.
9773 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9774
f17d9474
YQ
97752017-12-08 Yao Qi <yao.qi@linaro.org>
9776
9777 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9778 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9779
a0de8c21
YQ
97802017-12-08 Yao Qi <yao.qi@linaro.org>
9781
9782 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9783 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9784
a738ea1d
YQ
97852017-12-08 Yao Qi <yao.qi@linaro.org>
9786
9787 * gdb.arch/aarch64-tagged-pointer.c: New file.
9788 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9789
1cd9a73b
SDJ
97902017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9791
9792 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9793 "int".
9794
fa6eb693
KS
97952017-12-07 Keith Seitz <keiths@redhat.com>
9796
9797 PR breakpoints/22569
9798 * gdb.linespec/ls-errs.exp: Change expected result of "break
9799 -source this file has spaces.c -line 3".
9800 Check that an explicit source file followed by whitespace is
9801 identified as an invalid explicit location.
9802
883fd55a
KS
98032017-12-07 Keith Seitz <keiths@redhat.com>
9804
9805 * gdb.cp/nested-types.cc: New file.
9806 * gdb.cp/nested-types.exp: New file.
9807 * lib/cp-support.exp: Load data-structures.exp library.
9808 (debug_cp_test_ptype_class): New global.
9809 (cp_ptype_class_verbose, next_line): New procedures.
9810 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9811 Add and document new return value.
9812 Switch the list of lines to a queue.
9813 Add support for new `type' key for nested type definitions.
9814 Add debugging/troubleshooting messages.
9815 * lib/data-structures.exp: New file.
9816
ec72db3e
SM
98172017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9818
9819 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9820 with proc_with_prefix, don't use with_test_prefix.
9821
99598d71
TT
98222017-12-07 Tom Tromey <tom@tromey.com>
9823
9824 * gdb.base/break.exp: Add test for empty "commands".
9825
a8806230
YQ
98262017-12-07 Yao Qi <yao.qi@linaro.org>
9827
9828 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9829 malloc and catch syscall.
9830
824cc835
PM
98312017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9832
e79be6e5 9833 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
9834 tests for explicit locations.
9835
7cc244de
PA
98362017-12-06 Pedro Alves <palves@redhat.com>
9837
9838 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9839 force-disabling XML descriptions.
9840
50a1fdd5
PA
98412017-12-04 Pedro Alves <palves@redhat.com>
9842
9843 PR gdb/22499
9844 * gdb.arch/amd64-disp-step-avx.S: New file.
9845 * gdb.arch/amd64-disp-step-avx.exp: New file.
9846
f0fb2488
PA
98472017-12-03 Pedro Alves <palves@redhat.com>
9848
9849 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9850 and <string.h>.
9851 (parent_function): Print distinct messages when waitpid fails, or
9852 the child exits with a signal, or the child exits for an unhandled
9853 reason.
9854 * gdb.threads/process-dies-while-detaching.exp
9855 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9856 it. Wait for both inferior output and GDB's prompt. Use an
9857 indirect spawn id list.
9858 (do_detach): New parameter 'child_exit'. Use it to compute
9859 expected inferior output.
9860 (test_detach, test_detach_watch, test_detach_killed_outside):
9861 Adjust to pass down the expected child exit kind.
9862
97cbe998
SDJ
98632017-12-01 Joel Brobecker <brobecker@adacore.com>
9864 Sergio Durigan Junior <sergiodj@redhat.com>
9865 Pedro Alves <palves@redhat.com>
9866
9867 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9868
40fc416f
SDJ
98692017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9870
9871 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9872 to 'symbol-file' and 'add-symbol-file' can be
9873 position-independent.
9874
1cc75e92
YQ
98752017-12-01 Yao Qi <yao.qi@linaro.org>
9876
9877 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9878 the URL in copyright header.
9879 * gdb.arch/aarch64-fp.exp: Likewise.
9880 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9881 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9882 * gdb.base/expand-psymtabs.exp: Likewise.
9883 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9884 * gdb.fortran/common-block.exp: Likewise.
9885 * gdb.fortran/common-block.f90: Likewise.
9886 * gdb.fortran/logical.exp: Likewise.
9887 * gdb.fortran/vla-datatypes.f90: Likewise.
9888 * gdb.fortran/vla-sub.f90: Likewise.
9889
875fb7a7
JB
98902017-11-30 Joel Brobecker <brobecker@adacore.com>
9891
9892 * gdb.ada/repeat_dyn: New testcase.
9893
6f14765f
UW
98942017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9895
9896 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9897 Update for changed thread numbering.
9898 * gdb.cell/bt.exp: Update for changed GDB output.
9899
f1af7b94
SM
99002017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9901
9902 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9903 setting isremote by hand.
9904 * boards/dwarf4-gdb-index.exp: Likewise.
9905 * boards/fission.exp: Likewise.
9906 * boards/stabs.exp: Likewise.
9907
e3919f3e
PA
99082017-11-30 Pedro Alves <palves@redhat.com>
9909
9910 * gdb.linespec/cpls-ops.exp
9911 (check_explicit_skips_function_argument): Extract the underlying
9912 type of size_t instead of hardcoding it.
9913
bd69330d
PA
99142017-11-29 Pedro Alves <palves@redhat.com>
9915
9916 PR c++/19436
9917 * gdb.linespec/cpls-abi-tag.cc: New file.
9918 * gdb.linespec/cpls-abi-tag.exp: New file.
9919
a20714ff
PA
99202017-11-29 Pedro Alves <palves@redhat.com>
9921
9922 * gdb.base/langs.exp: Use -qualified.
9923 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9924 it.
9925 * gdb.cp/namespace.exp: Use -qualified.
9926 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9927 (overload-3, template-overload, template-ret-type, const-overload)
9928 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9929 procedures.
9930 (test_driver): Call them.
9931 * gdb.cp/save-bp-qualified.cc: New.
9932 * gdb.cp/save-bp-qualified.exp: New.
9933 * gdb.linespec/explicit.exp: Test -qualified.
9934 * lib/completion-support.exp (completion::explicit_opts_list): Add
9935 "-qualified".
9936 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9937
f6f1d339
PM
99382017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9939
9940 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9941
02ca603a
TT
99422017-11-29 Tom Tromey <tom@tromey.com>
9943
9944 * gdb.base/relocate.exp: Update invalid argument test.
9945 Add new tests for invalid arguments.
9946
ed6c0bfb
TP
99472017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9948
9949 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9950 Return 0 as a long.
9951 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9952
f106e10e
TP
99532017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9954
9955 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9956 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9957 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9958 func ().
9959 * gdb.cp/shadow.cc (B.func): Return 0.
9960
10329bb2
JB
99612017-11-27 Joel Brobecker <brobecker@adacore.com>
9962
9963 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9964 expected output in gdb_expect call to allow the exception
9965 message to be present as well. Fix syntax confusion to avoid
9966 TCL thinking that exception_name is an array.
9967
617cd4bc
UW
99682017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9969
9970 * gdb.arch/spu-info.c: Include <unistd.h>.
9971 (do_signal_test): Fix broken calls to write.
9972 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9973 Fix checks for empty mailboxes. Update signal tests for corrected
9974 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
9975 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9976 * gdb.cell/arch.exp: Use standard_output_file.
9977 * gdb.cell/break.exp: Likewise.
9978 * gdb.cell/bt.exp: Likewise.
9979 * gdb.cell/core.exp: Likewise.
9980 * gdb.cell/dwarfaddr.exp: Likewise.
9981 * gdb.cell/ea-cache.exp: Likewise.
9982 * gdb.cell/ea-standalone.exp: Likewise.
9983 * gdb.cell/f-regs.exp: Likewise.
9984 * gdb.cell/fork.exp: Likewise.
9985 * gdb.cell/gcore.exp: Likewise.
9986 * gdb.cell/mem-access.exp: Likewise.
9987 * gdb.cell/ptype.exp: Likewise.
9988 * gdb.cell/registers.exp: Likewise.
9989 * gdb.cell/sizeof.exp: Likewise.
9990 * gdb.cell/solib-symbol.exp: Likewise.
9991 * gdb.cell/solib.exp: Likewise.
617cd4bc 9992
a81aaca0
PA
99932017-11-25 Pedro Alves <palves@redhat.com>
9994
9995 * gdb.base/complete-empty.exp: New file.
9996 * gdb.base/completion.exp: Adjust.
9997
6a3c6ee4
PA
99982017-11-25 Pedro Alves <palves@redhat.com>
9999
10000 * gdb.linespec/cpls-ops.cc: New file.
10001 * gdb.linespec/cpls-ops.exp: New file.
10002 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10003 factored out from ...
10004 (test_complete_prefix_range): ... this.
10005
8955eb2d
PA
100062017-11-24 Pedro Alves <palves@redhat.com>
10007
10008 * gdb.linespec/cpcompletion.exp: New file.
10009 * gdb.linespec/cpls-hyphen.cc: New file.
10010 * gdb.linespec/cpls.cc: New file.
10011 * gdb.linespec/cpls2.cc: New file.
10012 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10013 test to use test_gdb_complete_unique. Add label completion,
10014 keyword completion and explicit location completion tests.
10015 * lib/completion-support.exp: New file.
10016
e547c119
JB
100172017-11-24 Joel Brobecker <brobecker@adacore.com>
10018
10019 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10020 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10021 when hitting an exception catchpoint.
10022
7c3c1aa8
YQ
100232017-11-22 Yao Qi <yao.qi@linaro.org>
10024
10025 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10026
41bd68f5
SM
100272017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10028
10029 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10030 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10031 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10032
1daad298
YQ
100332017-11-22 Yao Qi <yao.qi@linaro.org>
10034
10035 * gdb.base/info-os.exp: Pass pthreads.
10036 * gdb.multi/multi-attach.exp: Likewise.
10037
88465e87
YQ
100382017-11-22 Yao Qi <yao.qi@linaro.org>
10039
10040 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10041 compiler.
10042
dc196b23
YQ
100432017-11-22 Yao Qi <yao.qi@linaro.org>
10044
10045 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10046 * gdb.base/break-interp.exp: Likewise.
10047 * gdb.base/jit-attach-pie.exp: Likewise.
10048
2400729e
UW
100492017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10050
10051 * gdb.base/float128.c (large128): New variable.
10052 * gdb.base/float128.exp: Add test to print largest __float128 value.
10053
7a26362d
UW
100542017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10055
10056 * gdb.arch/vsx-regs.exp: Update register content checks.
10057
ed0f4273
UW
100582017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10059
10060 * gdb.arch/ppc-longdouble.exp: New file.
10061 * gdb.arch/ppc-longdouble.c: Likewise.
10062
a25d69c6
PA
100632017-11-21 Pedro Alves <palves@redhat.com>
10064
10065 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10066
73fcf641
PA
100672017-11-20 Pedro Alves <palves@redhat.com>
10068
10069 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10070 (long_double_typedef): New typedefs.
10071 Use DEF on double and long double.
10072 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10073 cases.
10074 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10075 and 'long_double_ptr_same_size' locals. Use them to decide
10076 whether cast from array/function to float is valid/invalid.
10077
71a3c369
TT
100782017-11-17 Tom Tromey <tom@tromey.com>
10079
10080 * gdb.rust/traits.rs: New file.
10081 * gdb.rust/traits.exp: New file.
10082
ced9779b
JB
100832017-11-17 Joel Brobecker <brobecker@adacore.com>
10084
10085 * gdb.ada/minsyms: New testcase.
10086
a0922d80
PA
100872017-11-16 Pedro Alves <palves@redhat.com>
10088
10089 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10090 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10091
ea04e54c
PA
100922017-11-16 Pedro Alves <palves@redhat.com>
10093
10094 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10095 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10096
e849ea89
PA
100972017-11-16 Pedro Alves <palves@redhat.com>
10098
10099 * gdb.server/reconnect-ctrl-c.c: New file.
10100 * gdb.server/reconnect-ctrl-c.exp: New file.
10101
d8ae99a7
PM
101022017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10103
10104 * gdb.python/py-rbreak.exp: New file.
10105 * gdb.python/py-rbreak.c: New file.
10106 * gdb.python/py-rbreak-func2.c: New file.
10107
968a13f8
PA
101082017-11-16 Pedro Alves <palves@redhat.com>
10109
10110 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10111 pattern.
10112 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10113 GDB.
10114
71774bc9
SM
101152017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10116
10117 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10118 regex.
10119
ddbb44cf
SM
101202017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10121
10122 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10123 test names.
10124
584a564f
PA
101252017-11-09 Pedro Alves <palves@redhat.com>
10126
10127 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10128 factored out from ...
10129 (top level): ... here, and adjusted to avoid expecting beyond the
10130 prompt in a single gdb_test_multiple.
10131
5ed7a928
PA
101322017-11-09 Pedro Alves <palves@redhat.com>
10133
10134 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10135 output.
10136 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10137 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10138 * gdb.server/ext-run.exp ("kill" test): Likewise.
10139 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10140
a60e0738
PA
101412017-11-09 Pedro Alves <palves@redhat.com>
10142
10143 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10144 match till end of line.
10145
2c88253f
PA
101462017-11-09 Pedro Alves <palves@redhat.com>
10147
10148 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10149
c7a38517
PA
101502017-11-09 Pedro Alves <palves@redhat.com>
10151
10152 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10153 New procedures, factored out from ...
10154 (top level): ... here, and adjusted to avoid expecting beyond the
10155 prompt in one go.
10156
f29f4b6b
PA
101572017-11-09 Pedro Alves <palves@redhat.com>
10158
10159 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10160 output. Fix '?' match.
10161
286acbb5
JB
101622017-11-08 Joel Brobecker <brobecker@adacore.com>
10163
10164 * gdb.ada/scoped_watch: New testcase.
10165 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10166 which is actually correct.
10167 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10168 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10169
62d7ae92
PA
101702017-11-08 Pedro Alves <palves@redhat.com>
10171
10172 * gdb.gdb/complaints.exp (test_initial_complaints)
10173 (test_serial_complaints, test_short_complaints): Call
10174 complaint_internal instead of complaint.
10175
280ca31f
DT
101762017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10177
10178 * gdb.threads/tls-core.c: New file.
10179 * gdb.threads/tls-core.exp: Likewise.
10180
b5ec771e
PA
101812017-11-08 Pedro Alves <palves@redhat.com>
10182
10183 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10184 (p Exported_Capitalized): New test.
10185 (p exported_capitalized): New test.
10186
a02b41a7
PA
101872017-11-07 Pedro Alves <palves@redhat.com>
10188
10189 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10190
95e95a6d
PA
101912017-11-07 Pedro Alves <palves@redhat.com>
10192
10193 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10194 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10195 (disable_invalid, disable_inverted, disable_negative): New
10196 procedures.
10197 ("bad numbers"): New set of tests.
10198
cee62dbd
PA
101992017-11-07 Pedro Alves <palves@redhat.com>
10200
10201 * gdb.cp/ena-dis-br-range.exp: Add tests.
10202
cc638e86
PA
102032017-11-07 Pedro Alves <palves@redhat.com>
10204
10205 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10206
d0fe4701
XR
102072017-11-07 Xavier Roirand <roirand@adacore.com>
10208 Pedro Alves <palves@redhat.com>
10209
10210 * gdb.base/ena-dis-br.exp: Add reference to
10211 gdb.cp/ena-dis-br-range.exp.
10212 * gdb.cp/ena-dis-br-range.exp: New file.
10213 * gdb.cp/ena-dis-br-range.cc: New file.
10214
46f67f80
PA
102152017-11-06 Pedro Alves <palves@redhat.com>
10216
10217 * gdb.base/attach-non-pgrp-leader.c: New.
10218 * gdb.base/attach-non-pgrp-leader.exp: New.
10219
726e1356
PA
102202017-11-06 Pedro Alves <palves@redhat.com>
10221
10222 * configure.ac: No longer check for termio.h and sgtty.h.
10223 * configure: Regenerate.
10224 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10225 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10226 Remove termio and sgtty code.
10227
50ab6ace
YQ
102282017-11-03 Yao Qi <yao.qi@linaro.org>
10229
10230 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10231 in GDB is disabled.
10232
8e68731c
YQ
102332017-11-03 Yao Qi <yao.qi@linaro.org>
10234
10235 * gdb.python/py-thrhandle.exp: Skip it if python is not
10236 enabled.
10237
3a87ae65
SM
102382017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10239
10240 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10241 as a breakpoint command.
10242
484d8d36
MD
102432017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10244
10245 PR python/21213
10246 * gdb.python/py-infthread.exp: Test calling
10247 InferiorThread.inferior () multiple times in a row.
10248
4a27f119
KS
102492017-10-27 Keith Seitz <keiths@redhat.com>
10250
10251 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10252 Test "info break" for every inlined function breakpoint.
10253
bb11dd58
YQ
102542017-10-27 Yao Qi <yao.qi@linaro.org>
10255
10256 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10257
a43f3893
PF
102582017-10-26 Patrick Frants <osscontribute@gmail.com>
10259
10260 * gdb.cp/classes.exp (test_static_members): Test printing
10261 Outer::instance.
10262 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10263 (Inner::instance, Outer::instance): New.
10264
792ccf00
PA
102652017-10-24 Pedro Alves <palves@redhat.com>
10266
10267 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10268 extra console" test in two stages.
10269
eb2bfbad
PA
102702017-10-24 Pedro Alves <palves@redhat.com>
10271
10272 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10273
1f75a651
PA
102742017-10-24 Pedro Alves <palves@redhat.com>
10275
10276 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10277 loop.
10278
779990d9
PA
102792017-10-24 Pedro Alves <palves@redhat.com>
10280
10281 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10282 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10283
ad9b8f5d
PA
102842017-10-24 Pedro Alves <palves@redhat.com>
10285
10286 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10287 parameter and handle it. Don't output read value in test name.
10288
fee6da6e
PA
102892017-10-24 Pedro Alves <palves@redhat.com>
10290
10291 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10292 custom test name.
10293
10389c2c
PA
102942017-10-24 Pedro Alves <palves@redhat.com>
10295
10296 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10297 include the unstable output directory name in the test's name.
10298 (initial_setup_simple) <'set args'>: Use custom test name.
10299
a80e65a9
PA
103002017-10-24 Pedro Alves <palves@redhat.com>
10301
10302 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10303 with explicit test name.
10304
15763a09
PA
103052017-10-20 Pedro Alves <palves@redhat.com>
10306
10307 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10308 'wait -i'. Use gdb_assert and remote_close.
10309
49a4ce2e
AB
103102017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10311
10312 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10313 number from variable rather than hard-coded.
10314
a75868f5
PA
103152017-10-19 Pedro Alves <palves@redhat.com>
10316
10317 * gdb.base/long-inferior-output.c: New file.
10318 * gdb.base/long-inferior-output.exp: New file.
10319
c8ba13ad
KS
103202017-11-18 Keith Seitz <keiths@redhat.com>
10321
10322 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10323 method.
10324 (main): Call it.
10325 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10326 Add additional user-defined conversion operator tests.
10327
b27de576
PA
103282017-10-17 Pedro Alves <palves@redhat.com>
10329
10330 * boards/native-stdio-gdbserver.exp: Load "local-board".
10331
8484c955
PA
103322017-10-17 Pedro Alves <palves@redhat.com>
10333
10334 * gdb.base/quit-live.c: New file.
10335 * gdb.base/quit-live.exp: New file.
10336
83d5a34d
KS
103372017-10-16 Keith Seitz <keiths@redhat.com>
10338
10339 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10340 (class_with_protected_typedef, class_with_private_typedef)
10341 (struct_with_public_typedef, struct_with_protected_typedef)
10342 (struct_with_private_typedef): New classes/structs.
10343 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10344 typedefs and access specifiers.
10345
739b3f1d
PA
103462017-10-16 Pedro Alves <palves@redhat.com>
10347 Simon Marchi <simon.marchi@polymtl.ca>
10348
10349 * README (Local vs Remote vs Native): New section.
10350 * boards/local-board.exp: New file, with bits factored out from
10351 ...
10352 * boards/native-extended-gdbserver.exp: ... here. Load
10353 "local-board".
10354 * boards/native-gdbserver.exp: Load "local-board".
10355 (${board}_spawn, ${board}_exec): Delete.
10356 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10357 ...
10358 * boards/stdio-gdbserver-base.exp: ... this new file.
10359 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10360 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10361 procedure.
10362 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10363 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10364 stdio_gdbserver_command.
10365 (${board}_get_remote_address, ${board}_get_comm_port)
10366 (${board}_download, ${board}_upload): Delete.
10367 (get_target_remote_pipe_cmd): New.
10368
fe68b953
SM
103692017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10370
10371 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10372 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10373 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10374 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10375 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10376 remove with_test_prefix.
10377
300b6685
PA
103782017-10-13 Pedro Alves <palves@redhat.com>
10379
10380 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10381 * gdb.base/annota1.exp: Use it instead of is_remote.
10382 * gdb.base/annota3.exp: Use it instead of is_remote.
10383 * gdb.cp/annota2.exp: Use it instead of is_remote.
10384 * gdb.cp/annota3.exp: Use it instead of is_remote.
10385 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10386
50500caf
PA
103872017-10-13 Pedro Alves <palves@redhat.com>
10388
10389 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10390 (test_num_test_vars, run_and_count_vars, find_env)
10391 (test_set_unset_env, test_inherit_env_var): New procedures.
10392 (top level): Use them.
10393
dad0c6d2
PA
103942017-10-13 Pedro Alves <palves@redhat.com>
10395
10396 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10397 also skip on stub-like targets.
10398
8b0553c1
PA
103992017-10-13 Pedro Alves <palves@redhat.com>
10400
10401 PR gdb/22293
10402 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10403 (top level): Move some tests to ...
10404 (test_not_found): ... this new procedure.
10405 (top level): Call it.
10406
7594f623
PA
104072017-10-13 Pedro Alves <palves@redhat.com>
10408
10409 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
10410 expect different "info terminal" output if testing with a
10411 non-native target.
10412
ebe3b402
PA
104132017-10-13 Pedro Alves <palves@redhat.com>
10414 Simon Marchi <simon.marchi@polymtl.ca>
10415
10416 PR python/12966
10417 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10418
42f1b161
PA
104192017-10-13 Pedro Alves <palves@redhat.com>
10420
10421 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10422 already.
10423
8d6ef72b
PA
104242017-10-13 Pedro Alves <palves@redhat.com>
10425
10426 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10427 is_remote.
10428
d7bcd5b8
PA
104292017-10-13 Pedro Alves <palves@redhat.com>
10430
10431 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10432 is_remote.
10433
df479dc6
PA
104342017-10-13 Pedro Alves <palves@redhat.com>
10435
10436 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10437 is set.
10438 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10439 instead of is_remote.
10440
23fb630a
PA
104412017-10-13 Pedro Alves <palves@redhat.com>
10442
10443 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10444 (top level): Add comment.
10445
cc77b1dc
PA
104462017-10-13 Pedro Alves <palves@redhat.com>
10447
10448 * gdb.base/remote.exp (top level): Fix comment typo and add
10449 missing return.
10450
27c9e813
PA
104512017-10-13 Pedro Alves <palves@redhat.com>
10452 Simon Marchi <simon.marchi@polymtl.ca>
10453
10454 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10455 calls and add comments. Skip test if use_gdb_stub is set.
10456 (top level): Use "set cwd" command instead of "cd" command.
10457
5e830d98
PA
104582017-10-13 Pedro Alves <palves@redhat.com>
10459
10460 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10461 is_remote target check.
10462
f5ca0032
PA
104632017-10-13 Pedro Alves <palves@redhat.com>
10464
10465 * gdb.base/scope.exp: Use build_executable + clean_restart +
10466 gdb_file_cmd instead of prepare_for_testing and no longer skip
10467 "before run" tests on is_remote target boards. Update comments.
10468 * boards/native-extended-gdbserver.exp
10469 (extended_gdbserver_load_last_file): New, factored out from ...
10470 (gdb_load): ... this. Move further below and add comment.
10471 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10472
8aed1c0d
PA
104732017-10-12 Pedro Alves <palves@redhat.com>
10474
10475 * gdb.base/attach.exp: Remove references to gdb64.
10476 * gdb.base/dbx.exp: Remove references to gdb64.
10477
cfa34c87
SM
104782017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10479 Pedro Alves <palves@redhat.com>
10480
10481 * gdb.base/label.exp: Remove is_remote target check.
10482
9192b7de
PA
104832017-10-12 Pedro Alves <palves@redhat.com>
10484
10485 * gdb.base/auvx.exp (coredir): Update comment.
10486 (top level) <core_works>: Use "set cwd" command instead of "cd"
10487 command.
10488
6bf0052d
PA
104892017-10-12 Pedro Alves <palves@redhat.com>
10490 Simon Marchi <simon.marchi@polymtl.ca>
10491
10492 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10493 target boards.
10494
e48ef82d
PA
104952017-10-12 Pedro Alves <palves@redhat.com>
10496 Simon Marchi <simon.marchi@polymtl.ca>
10497
10498 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10499 Instead skip if there's any gdb_protocol set.
10500
8d7aea57
SM
105012017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10502 Pedro Alves <palves@redhat.com>
10503
10504 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10505
30440677
PA
105062017-10-12 Pedro Alves <palves@redhat.com>
10507 Simon Marchi <simon.marchi@polymtl.ca>
10508
10509 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10510 instead of on dejagnu remote boards.
10511
4e04f045 105122017-10-12 Pedro Alves <palves@redhat.com>
175654b9 10513 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
10514
10515 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10516 checks. Use build_executable + clean_restart instead of
10517 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10518 of enabling non-stop after starting gdb.
10519
871a186e
PA
105202017-10-12 Pedro Alves <palves@redhat.com>
10521
10522 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10523 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10524 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10525 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10526
56d704da
AK
105272017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10528
10529 * gdb.arch/arc-tdesc-cpu.exp: New file.
10530 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10531
2f20e312
SM
105322017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10533
10534 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10535
65630365
PA
105362017-10-10 Pedro Alves <palves@redhat.com>
10537
10538 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10539 expect CLI output.
10540
bf469271
PA
105412017-10-10 Pedro Alves <palves@redhat.com>
10542
10543 * lib/selftest-support.exp (selftest_setup): Update for
10544 captured_command_loop's prototype change.
10545
777a42f1
PA
105462017-10-09 Pedro Alves <palves@redhat.com>
10547
10548 Test both arch1=>arch2 and arch2=>arch1.
10549
10550 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10551 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10552 factored out to...
10553 (append_arch1_options, append_arch2_options, append_arch_options)
10554 (build_executables): New procedures.
10555 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10556 local.
10557 (top level): Add new 'first_arch' testing axis.
10558
cbd2b4e3
PA
105592017-10-09 Pedro Alves <palves@redhat.com>
10560
10561 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10562 (barrier): New.
10563 (thread_start, all_started): New functions.
10564 (main): Spawn new thread and wait until it is scheduled.
10565 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10566 option.
10567 (do_test): Add 'selected_thread' parameter. Run to all_started
10568 instead of main. Explicitly set the breakpoint at main. Switch
10569 to the SELECTED_THREAD thread.
10570 (top level): Test handling the exec event with either the main
10571 thread or the second thread selected.
10572
5c9e4427
PA
105732017-10-09 Pedro Alves <palves@redhat.com>
10574
10575 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10576 logic. Move STOP marker after the value checks.
10577 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10578 regexp.
10579
b3b7c423
SL
105802017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10581
10582 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10583
3b4b2f16
UW
105842017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10585
10586 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10587 integer-to-dfp conversion.
10588 * gdb.base/dfp-test.exp: Likewise.
10589
5cd63fda
PA
105902017-10-04 Pedro Alves <palves@redhat.com>
10591
10592 * gdb.multi/hangout.c: Include <unistd.h>.
10593 (hangout_loop): New function.
10594 (main): Call alarm. Call hangout_loop in a loop.
10595 * gdb.multi/hello.c: Include <unistd.h>.
10596 (hello_loop): New function.
10597 (main): Call alarm. Call hangout_loop in a loop.
10598 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10599 inferior with the other selected.
10600
4c71c105
SM
106012017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10602
10603 * gdb.mi/list-thread-groups-available.exp: New file.
10604 * gdb.mi/list-thread-groups-available.c: New file.
10605
bc3b087d
SDJ
106062017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10607
10608 * gdb.base/set-cwd.exp: Make it available on
10609 native-extended-gdbserver.
10610
d092c5a2
SDJ
106112017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10612
10613 * gdb.base/set-cwd.c: New file.
10614 * gdb.base/set-cwd.exp: Likewise.
10615
45320ffa
TT
106162017-10-02 Tom Tromey <tom@tromey.com>
10617
10618 PR rust/22236:
10619 * gdb.rust/simple.rs (main): New variable "fslice".
10620 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10621
b3e3859b
TT
106222017-10-02 Tom Tromey <tom@tromey.com>
10623
10624 * gdb.rust/simple.exp: Test ptype of a slice.
10625
01af5e0d
TT
106262017-10-02 Tom Tromey <tom@tromey.com>
10627
10628 * gdb.rust/simple.exp: Test index of slice.
10629
a9bbfbd8
TT
106302017-09-27 Tom Tromey <tom@tromey.com>
10631
10632 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10633
df8899e5
TP
106342017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10635 Pedro Alves <palves@redhat.com>
10636
10637 * gdb.base/compare-sections.exp (get value of read-only section): Read
10638 as unsigned value.
10639 (corrupt read-only section): Likewise and don't set written if patching
10640 failed.
10641
757bf54b
KB
106422017-09-21 Kevin Buettner <kevinb@redhat.com>
10643
10644 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10645 files.
10646
06871ae8
PA
106472017-09-20 Pedro Alves <palves@redhat.com>
10648
10649 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10650 symbol names in gdb's output.
10651 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10652
e5f25bc5
PA
106532017-09-20 Pedro Alves <palves@redhat.com>
10654
10655 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10656 Rename to ...
10657 (test_list_ambiguous_symbol): ... this and add a symbol name
10658 parameter. Adjust.
10659 (test_list_ambiguous_function): Reimplement on top of
10660 test_list_ambiguous_symbol and also test listing ambiguous
10661 variables.
10662 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10663 (ambiguous_fun): ... this.
10664 (ambiguous_var): New.
10665 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10666 (ambiguous_fun): ... this.
10667 (ambiguous_var): New.
10668
4e5a4f58
JB
106692017-09-19 John Baldwin <jhb@FreeBSD.org>
10670
10671 * gdb.base/starti.c: New file.
10672 * gdb.base/starti.exp: New file.
10673 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10674
26e53f3e
PA
106752017-09-14 Pedro Alves <palves@redhat.com>
10676
10677 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10678 (top level): Use it instead of runto.
10679
cb791d59
TT
106802017-09-11 Tom Tromey <tom@tromey.com>
10681
10682 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10683
7c96f8c1
TT
106842017-09-11 Tom Tromey <tom@tromey.com>
10685
10686 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10687 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10688
469412dd
CW
106892017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10690
10691 * gdb.fortran/printing-types.exp: New file.
10692 * gdb.fortran/printing-types.exp: New file.
10693
e0f86435
BH
106942017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10695
10696 * gdb.fortran/vla-ptype.exp: Fix typos.
10697 * gdb.fortran/vla-value.exp: Same.
10698
9e9af4be
BH
106992017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10700
10701 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10702 * gdb.mi/mi-var-child-f.exp: Likewise.
10703 * gdb.mi/mi-vla-fortran.exp: Likewise.
10704
a5ad232b 107052017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
10706 Christoph Weinmann <christoph.t.weinmann@intel.com>
10707 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
10708
10709 * gdb.fortran/ptr-indentation.f90: New file.
10710 * gdb.fortran/ptr-indentation.exp: New file.
10711
5aec60eb
TT
107122017-09-05 Tom Tromey <tom@tromey.com>
10713
10714 PR gdb/22010:
10715 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10716
8f8f8152
TP
107172017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10718
10719 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10720
fbd1b771
JK
107212017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10722
10723 * gdb.threads/tls-nodebug-pie.c: New file.
10724 * gdb.threads/tls-nodebug-pie.exp: New file.
10725
5eb5f850
TT
107262017-09-05 Tom Tromey <tom@tromey.com>
10727
10728 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10729 for rust.
10730
ae780a21
SM
107312017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10732
10733 * gdb.multi/multi-arch-exec.exp: Test with different
10734 "follow-exec-mode" settings.
10735 (do_test): New procedure.
10736
3693fdb3
PA
107372017-09-04 Pedro Alves <palves@redhat.com>
10738
10739 * gdb.base/func-static.c (S::method const, S::method volatile)
10740 (S::method volatile const): New methods.
10741 (c_s, v_s, cv_s): New instances.
10742 (main): Call method() on them.
10743 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10744 (cannot_resolve): New procedure.
10745 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10746 print-quote-unquoted columns.
10747 (do_test): Test printing each scope too.
10748
e68cb8e0
PA
107492017-09-04 Pedro Alves <palves@redhat.com>
10750
10751 * gdb.base/local-static.exp: Also test with
10752 class::method::variable wholly quoted.
10753 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10754
858be34c
PA
107552017-09-04 Pedro Alves <palves@redhat.com>
10756
10757 * gdb.base/local-static.c: New.
10758 * gdb.base/local-static.cc: New.
10759 * gdb.base/local-static.exp: New.
10760
46a4882b
PA
107612017-09-04 Pedro Alves <palves@redhat.com>
10762
10763 * gdb.asm/asm-source.exp: Add casts to int.
10764 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10765 (dataglobal64_1, dataglobal64_2): New globals.
10766 * gdb.base/nodebug.exp: Test different expressions involving the
10767 new globals, with print, whatis and ptype. Add casts to int.
10768 * gdb.base/solib-display.exp: Add casts to int.
10769 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10770 * gdb.cp/m-static.exp: Add cast to int.
10771 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10772 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10773 tls variable with no debug info without a cast. Test with a cast
10774 to int too.
10775 * gdb.trace/entry-values.exp: Add casts.
10776
2c5a2be1
PA
107772017-09-04 Pedro Alves <palves@redhat.com>
10778
10779 * gdb.base/nodebug.exp: Test that ptype's error about functions
10780 with unknown return type includes the function name too.
10781
7022349d
PA
107822017-09-04 Pedro Alves <palves@redhat.com>
10783
10784 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10785 return type of munmap in infcall.
10786 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10787 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10788 type of ftell in infcall.
10789 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10790 type of getpid in infcall.
10791 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10792 infcall.
10793 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10794 Bail on failure to extract the pid.
10795 * gdb.base/nodebug.c: #include <stdint.h>.
10796 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10797 New functions.
10798 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10799 Change expected output of print/whatis/ptype with functions with
10800 no debug info. Test all supported languages. Call
10801 test_call_promotion.
10802 * gdb.compile/compile.exp: Adjust expected output to expect
10803 warning.
10804 * gdb.threads/siginfo-threads.exp: Likewise.
10805
54990598
PA
108062017-09-04 Pedro Alves <palves@redhat.com>
10807
10808 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10809 "prototypes". Test calling float functions via prototyped and
10810 unprototyped function pointers.
10811 (perform_all_tests): New parameter "prototypes". Pass it down.
10812 (top level): Pass down "prototypes" parameter to
10813 perform_all_tests.
10814
34d16ea2
SM
108152017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10816
10817 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10818 Test with nested loops.
10819
9521ecda
SM
108202017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10821
10822 * gdb.base/commands.exp: Call the new procedures.
10823 (loop_break_test, loop_continue_test): New procedures.
10824
80a65e9b
SM
108252017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10826
10827 * gdb.base/commands.exp: Call new procedure.
10828 (define_if_without_arg_test): New procedure.
10829
e439fa14
PA
108302017-09-04 Pedro Alves <palves@redhat.com>
10831
10832 * gdb.base/list-ambiguous.exp: New file.
10833 * gdb.base/list-ambiguous0.c: New file.
10834 * gdb.base/list-ambiguous1.c: New file.
10835 * gdb.base/list.exp (test_list_range): Adjust expected output.
10836
0a2dde4a
SDJ
108372017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10838
10839 * gdb.base/share-env-with-gdbserver.c: New file.
10840 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10841
5e89eb3a
SM
108422017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10843
10844 * gdb.base/commands.exp (gdbvar_simple_if_test,
10845 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10846 progvar_simple_if_test, progvar_simple_while_test,
10847 progvar_complex_if_while_test, user_defined_command_test,
10848 user_defined_command_args_eval,
10849 user_defined_command_args_stack_test,
10850 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10851 temporary_breakpoint_commands,
10852 gdb_test_no_prompt, redefine_hook_test,
10853 redefine_backtrace_test): Remove "global gdb_prompt".
10854
fd437cbc
SM
108552017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10856
10857 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10858 New proc, call it from toplevel.
10859
87215ad1
SDJ
108602017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10861
10862 PR remote/21852
10863 * gdb.server/normal.c: New file, copied from gdb.base.
10864 * gdb.server/run-without-local-binary.exp: New file.
10865
58afddc6
WP
108662017-08-07 Weimin Pan <weimin.pan@oracle.com>
10867
10868 * gdb.arch/sparc64-adi.exp: New file.
10869 * gdb.arch/sparc64-adi.c: New file.
10870
5277199a
PA
108712017-08-22 Pedro Alves <palves@redhat.com>
10872
10873 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10874 (top level): Add "list all overloads" tests.
10875
14278e1f
TT
108762017-08-22 Tom Tromey <tom@tromey.com>
10877
10878 * gdb.gdb/xfullpath.exp: Remove.
10879
bf223d3e
PA
108802017-08-21 Pedro Alves <palves@redhat.com>
10881
10882 PR gdb/19487
10883 * gdb.base/symbol-alias.c: New.
10884 * gdb.base/symbol-alias2.c: New.
10885 * gdb.base/symbol-alias.exp: New.
10886
c973d0aa
PA
108872017-08-21 Pedro Alves <palves@redhat.com>
10888
10889 * gdb.base/dfp-test.c
10890 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10891 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10892 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10893 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10894 * gdb.base/whatis-ptype-typedefs.c: New.
10895 * gdb.base/whatis-ptype-typedefs.exp: New.
10896 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10897 (an_int, an_int_type, an_int_type2): New globals.
10898 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10899 involving typedefs and cast expressions.
10900 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10901 (lookup_typedefs_function): New.
10902 (typedefs_pretty_printers_dict): New.
10903 (top level): Register lookup_typedefs_function in
10904 gdb.pretty_printers.
10905
6d580b63
YQ
109062017-08-18 Yao Qi <yao.qi@linaro.org>
10907
10908 * gdb.server/unittest.exp: New.
10909
206726fb
SDJ
109102017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10911
10912 PR gdb/21954
10913 * gdb.base/environ.exp: Add test to check if 'unset environment'
10914 works.
10915
bf0ec4c2
AA
109162017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10917
10918 * lib/gdb.exp (universal_compile_options): New caching proc.
10919 (gdb_compile): Suppress GCC's coloring of messages.
10920
d6382fff
TT
109212017-08-14 Tom Tromey <tom@tromey.com>
10922
10923 PR gdb/21675:
10924 * gdb.base/printcmds.exp (test_radices): New function.
10925 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10926 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10927 * lib/gdb.exp (get_integer_valueof): Use p/d.
10928
c2c2dd9f
SM
109292017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10930
10931 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10932 characters.
10933
fdffd6f4
TT
109342017-08-05 Tom Tromey <tom@tromey.com>
10935
10936 * gdb.rust/simple.exp: Allow String to appear in a different
10937 namespace.
10938
27d41eac
YQ
109392017-07-26 Yao Qi <yao.qi@linaro.org>
10940
10941 * gdb.gdb/unittest.exp: Invoke command
10942 "maintenance check xml-descriptions".
10943
031ed05d
AA
109442017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10945
10946 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10947 calling context.
10948 (hex128): Drop erroneous calculation of parameters.
10949
dcd27ddf
SM
109502017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10951
10952 * gdb.python/py-unwind.exp: Disable stack protection when
10953 building test file.
10954
47e77640
PA
109552017-07-20 Pedro Alves <palves@redhat.com>
10956
10957 * gdb.base/default.exp (set language): Adjust expected output.
10958
62d2a18a
PA
109592017-07-20 Pedro Alves <palves@redhat.com>
10960
10961 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10962 (test_minsym): ... this, and make static.
10963 (get_pck__foo__bar__minsym): Rename to ...
10964 (get_test_minsym): ... this.
10965 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10966 symbol names and comments.
10967 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10968 (get_test_minsym): ... this.
10969 (pck__foo__bar__minsym__2): Rename to ...
10970 (test_minsym): ... this.
10971 (main): Adjust.
10972
c45ec17c
PA
109732017-07-17 Pedro Alves <palves@redhat.com>
10974
10975 * gdb.base/completion.exp: Adjust expected output.
10976 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10977 the completer works.
10978
c6756f62
PA
109792017-07-17 Pedro Alves <palves@redhat.com>
10980
10981 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10982
5bd68487
AB
109832017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10984
10985 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10986
8880f2a9
TT
109872017-07-14 Tom Tromey <tom@tromey.com>
10988
10989 PR rust/21764:
10990 * gdb.rust/simple.exp: Add tests.
10991
65547233
TT
109922017-07-14 Tom Tromey <tom@tromey.com>
10993
10994 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10995
8f14146e
PA
109962017-07-14 Pedro Alves <palves@redhat.com>
10997
10998 * gdb.linespec/base/one/thefile.cc (z1): New function.
10999 * gdb.linespec/base/two/thefile.cc (z2): New function.
11000 * gdb.linespec/linespec.exp: Add tests.
11001
b4365d02
AB
110022017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11003
11004 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11005 to mi_create_breakpoint.
11006
5d2cbaa5
AB
110072017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11008
11009 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11010 mi_create_breakpoint.
11011
11cb5716
IB
110122017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11013
11014 * gdb.dlang/demangle.exp: Update for demangling changes.
11015
03278692
TT
110162017-07-09 Tom Tromey <tom@tromey.com>
11017
11018 * gdb.dwarf2/shortpiece.exp: New file.
11019
33c5cd75
DB
110202017-07-06 David Blaikie <dblaikie@gmail.com>
11021
11022 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11023 built from fissiont-multi-cu{1,2}.c.
11024 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11025 except putting 'main' and 'func' in separate CUs in the same DWO file.
11026 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11027 test.
11028 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11029 test.
11030
8455d262
PA
110312017-07-06 Pedro Alves <palves@redhat.com>
11032
11033 * gdb.python/py-unwind.exp: Test flushregs.
11034
dc4bde35
SDJ
110352017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11036
11037 PR cli/21688
11038 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11039 tests for alias commands and trailing whitespace.
11040
51ed89aa
SDJ
110412017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11042
11043 PR cli/21688
11044 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11045 procedure. Call it.
11046
eb17d413
PA
110472017-06-29 Pedro Alves <palves@redhat.com>
11048
11049 * gdb.base/printcmds.exp: Add tests.
11050
41664b45
DG
110512017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11052
11053 PR gdb/21337
11054 * gdb.base/reread-readsym.exp: New file.
11055 * gdb.base/reread-readsym.c: New file.
11056
75312ae3
KB
110572017-06-21 Kevin Buettner <kevinb@redhat.com>
11058
11059 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11060 subpattern.
11061
66953522
PB
110622017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11063
11064 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11065 extended mnemonic.
11066 * gdb.arch/powerpc-power9.s: Likewise.
11067
5524b525
AA
110682017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11069
11070 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11071 on 32-bit x86 targets. Exploit is_*_target macros where
11072 appropriate.
11073
03c8af18
AA
110742017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11075
11076 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11077 register pieces.
11078
3bf31011
AA
110792017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11080
11081 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11082 located in one or more DWARF pieces.
11083
805acca0
AA
110842017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11085
11086 * lib/gdb.exp (get_endianness): New proc.
11087 * gdb.arch/aarch64-fp.exp: Use it.
11088 * gdb.arch/altivec-regs.exp: Likewise.
11089 * gdb.arch/e500-regs.exp: Likewise.
11090 * gdb.arch/vsx-regs.exp: Likewise.
11091 * gdb.base/dump.exp: Likewise.
11092 * gdb.base/funcargs.exp: Likewise.
11093 * gdb.base/gnu_vector.exp: Likewise.
11094 * gdb.dwarf2/formdata16.exp: Likewise.
11095 * gdb.dwarf2/implptrpiece.exp: Likewise.
11096 * gdb.dwarf2/nonvar-access.exp: Likewise.
11097 * gdb.python/py-inferior.exp: Likewise.
11098 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11099
e9352324
AA
111002017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11101
11102 PR gdb/21226
11103 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11104 stack value pieces are taken from the LSB end.
11105
d5d1163e
AA
111062017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11107
11108 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11109 variable at nonzero offset.
11110
0567c986
AA
111112017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11112
11113 * gdb.dwarf2/var-access.c: New file.
11114 * gdb.dwarf2/var-access.exp: New test.
11115 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11116
973e9aab
TT
111172017-06-12 Tom Tromey <tom@tromey.com>
11118
11119 * gdb.dwarf2/formdata16.exp: Add tests.
11120
d9109c80
TT
111212017-06-12 Tom Tromey <tom@tromey.com>
11122
11123 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11124
30a25466
TT
111252017-06-12 Tom Tromey <tom@tromey.com>
11126
11127 PR exp/16225:
11128 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11129 * gdb.arch/vsx-regs.exp: Update tests.
11130 * gdb.arch/s390-vregs.exp (hex128): New proc.
11131 Update test.
11132 * gdb.arch/altivec-regs.exp: Update tests.
11133
aefd8b33
SDJ
111342017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11135
11136 * gdb.base/startup-with-shell.c: New file.
11137 * gdb.base/startup-with-shell.exp: Likewise.
11138
2090129c
SDJ
111392017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11140
11141 * gdb.server/non-existing-program.exp: Update regex in order to
11142 reflect the fact that gdbserver is now using fork_inferior (with a
11143 shell) to startup the inferior.
11144
8e86a419
SM
111452017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11146
11147 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11148 support function calls from GDB.
11149
e6cf65f2
TT
111502017-05-21 Tom Tromey <tom@tromey.com>
11151
11152 PR rust/21466:
11153 * gdb.rust/unsized.exp: New file.
11154 * gdb.rust/unsized.rs: New file.
11155
43cc5389
TT
111562017-05-19 Tom Tromey <tom@tromey.com>
11157
11158 PR rust/21484:
11159 * gdb.rust/watch.exp: New file.
11160 * gdb.rust/watch.rs: New file.
11161
ec8df234
TT
111622017-05-18 Tom Tromey <tom@tromey.com>
11163
11164 * gdb.rust/simple.exp: Allow Box to be qualified.
11165
3e3e7fae
TP
111662017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11167
11168 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11169
59cc050d
PA
111702017-05-18 Pedro Alves <palves@redhat.com>
11171
11172 * gdb.base/fileio.c (test_write, test_read, test_close)
11173 (test_fstat): Don't print 'ret' in the fail path.
11174
c8f6abd1
PA
111752017-05-18 Pedro Alves <palves@redhat.com>
11176
11177 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11178 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11179 (test_system, test_rename, test_unlink, test_time): Change
11180 prototypes.
11181 * gdb.base/fileio.exp (stop_msg): Adjust.
11182
d2a03b77
PA
111832017-05-18 Pedro Alves <palves@redhat.com>
11184
11185 * gdb.base/fileio.c (null_str): New global.
11186 (test_stat): Use it.
11187 * gdb.base/fileio.exp: Remove nowarnings.
11188
0d5c6999
YQ
111892017-05-17 Yao Qi <yao.qi@linaro.org>
11190
11191 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11192
21873064
YQ
111932017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11194
11195 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11196 argument command.
11197 (top-level): Invoke test_set_inferior_tty.
11198
d512d31c
PA
111992017-05-04 Pedro Alves <palves@redhat.com>
11200
11201 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11202 Add parens to print call for Python 3.
11203
90cef2ed
KS
112042017-05-03 Keith Seitz <keiths@redhat.com>
11205
11206 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11207 (main): Call it.
11208
14f819c8
TW
112092017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11210
11211 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11212 to prev and next.
11213
913aeadd
TW
112142017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11215
11216 * gdb.python/py-record-btrace.exp: Remove test for
11217 gdb.BtraceInstruction.error.
11218
a3be24ad
TW
112192017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11220
11221 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11222
ae20e79a
TW
112232017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11224
11225 * gdb.python/py-record-btrace-threads.c: New file.
11226 * gdb.python/py-record-btrace-threads.exp: New file.
11227
45ce1b47
SDJ
112282017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11229
11230 PR testsuite/8595
11231 * gdb.base/environ.exp: Make test available in all architectures.
11232 Move bits related to "info program" testing to
11233 gdb.base/info-program.exp. Rewrite tests to use the two new
11234 procedures mentione below.
11235 (test_set_show_env_var) New procedure.
11236 (test_set_show_env_var_equal): Likewise.
11237 * gdb.base/info-program.exp: New file.
11238
e15c3eb4
KS
112392017-04-27 Keith Seitz <keiths@redhat.com>
11240
11241 * gdb.cp/oranking.cc (test15): New function.
11242 (main): Call test15 and declare additional variables for testing.
11243 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11244 "p foo101('abc')" tests.
11245 Add tests for cv qualifier overloads.
11246 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11247 "lvalue reference overload" test.
11248 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11249 "print value of f1 on Child&& in f2" test.
11250
3a3fd0fd
PA
112512017-04-19 Pedro Alves <palves@redhat.com>
11252
11253 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11254 procedure.
11255 (top level): Call it.
11256 * lib/gdb.exp (gdb_define_cmd): New procedure.
11257
53375380
PA
112582017-04-12 Pedro Alves <palves@redhat.com>
11259
11260 PR gdb/21323
11261 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11262 (wchar): New global.
11263 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11264 (do_test_wide_char, wide_char_types_no_program, top level): Add
11265 wchar_t testing.
11266
53e710ac
PA
112672017-04-12 Pedro Alves <palves@redhat.com>
11268
11269 PR c++/21323
11270 * gdb.cp/wide_char_types.c: New file.
11271 * gdb.cp/wide_char_types.exp: New file.
11272
0ad9d8c7
SDJ
112732017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11274
11275 PR gdb/21352
11276 * gdb.trace/tsv.exp: Add test for "tsave -r".
11277
b1b45502
IB
112782017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11279
11280 * gdb.dlang/watch-loc.c: New file.
11281 * gdb.dlang/watch-loc.exp: New file.
11282
ec13808e
JK
112832017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11284
11285 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11286
fe5f7374
AK
112872017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11288
11289 * gdb.arch/arc-analyze-prologue.S: New file.
11290 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11291
eea78757
AK
112922017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11293
11294 * gdb.arch/arc-decode-insn.S: New file.
11295 * gdb.arch/arc-decode-insn.exp: Likewise.
11296
5badf10a
IR
112972017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11298
11299 PR tdep/20928
11300 * gdb.arch/sparc64-regs.exp: New file.
11301 * gdb.arch/sparc64-regs.S: Likewise.
11302
cee59b3f
TW
113032017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11304
11305 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11306 and memory view on Python 3.
11307
c0f55cc6
AV
113082017-03-20 Artemiy Volkov <artemiyv@acm.org>
11309 Keith Seitz <keiths@redhat.com>
11310
11311 PR gdb/14441
11312 * gdb.cp/demangle.exp: Add rvalue reference tests.
11313 * gdb.cp/rvalue-ref-casts.cc: New file.
11314 * gdb.cp/rvalue-ref-casts.exp: New file.
11315 * gdb.cp/rvalue-ref-overload.cc: New file.
11316 * gdb.cp/rvalue-ref-overload.exp: New file.
11317 * gdb.cp/rvalue-ref-params.cc: New file.
11318 * gdb.cp/rvalue-ref-params.exp: New file.
11319 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11320 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11321 * gdb.cp/rvalue-ref-types.cc: New file.
11322 * gdb.cp/rvalue-ref-types.exp: New file.
11323 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11324 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11325
51457a05
MAL
113262017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11327
11328 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11329 New procedure.
11330
5b291c04
MAL
113312017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11332
11333 * lib/mi-support.exp (mi_gdb_test): Add additional message
11334 for unexpected output.
11335
59a56148
AA
113362017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11337
11338 * gdb.base/examine-backward.c (Barrier): New character array
11339 constant, to ensure that TestStrings is preceded by a string
11340 terminator.
11341
7942e96e
AA
113422017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11343
11344 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11345 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11346 and implicit pointer into such a location.
11347
6ebac3fb
DE
113482017-03-16 Doug Evans <dje@google.com>
11349
11350 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11351
ec3b243d
TP
113522017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11353
11354 * gdb.cp/m-static.exp: Fix expectation for prototype of
11355 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
11356
113572017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
11358
11359 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11360 * gdb.guile/scm-lazy-string.c: New file.
11361 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11362 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11363 for pointer, array, typedef lazy strings.
11364
2cc36e25 113652017-03-16 Doug Evans <dje@google.com>
34b43320
DE
11366
11367 PR python/17728, python/18439, python/18779
11368 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11369 * gdb.python/py-lazy-string.c (pointer): New typedef.
11370 (main): New locals ptr, array, typedef_ptr.
11371 * gdb.python/py-value.exp: Move lazy string tests to ...
11372 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11373 array, typedef lazy strings.
ec3b243d 11374
0efcde63
AK
113752017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11376
11377 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11378 Add optional 'test' parameter.
11379
7978d7c3
SM
113802017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11381
11382 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11383 Skip for versions of DejaGnu < 1.5.
11384
896c0c1e
SM
113852017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11386
11387 * lib/gdb.exp (dejagnu_version): New proc.
11388 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11389 Use dejagnu_version.
11390
5f4d1085
KS
113912017-03-10 Keith Seitz <keiths@redhat.com>
11392
11393 PR c++/8128
11394 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11395 type from destructor regexps.
11396 Add a branch which actually passes the test.
11397 Adjust "ptype t5i" test names.
11398
1de05205
PA
113992017-03-08 Pedro Alves <palves@redhat.com>
11400
11401 * gdb.base/step-over-exit.exp: Add explicit test message.
11402
c65d6b55
PA
114032017-03-08 Pedro Alves <palves@redhat.com>
11404
11405 PR gdb/18360
11406 * gdb.threads/interrupt-while-step-over.c: New file.
11407 * gdb.threads/interrupt-while-step-over.exp: New file.
11408
2e86a283
PA
114092017-03-08 Pedro Alves <palves@redhat.com>
11410
11411 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11412 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11413
25dcbff6
PA
114142017-03-08 Pedro Alves <palves@redhat.com>
11415
11416 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11417 PKRU as not supported as a PASS.
11418
dc9366eb
PA
114192017-03-08 Pedro Alves <palves@redhat.com>
11420
11421 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11422 prefix instead of $binfile1/$binfile2.
11423 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11424 in test message.
11425 * gdb.python/py-completion.exp: Use "load python file" as test
11426 messages instead of unstable path names.
11427
6e5d74e7
PA
114282017-03-08 Pedro Alves <palves@redhat.com>
11429 Jan Kratochvil <jan.kratochvil@redhat.com>
11430
11431 PR cli/21218
11432 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11433 New proc.
11434 (top level): Call it.
11435
9753a2f6
PA
114362017-03-08 Pedro Alves <palves@redhat.com>
11437
11438 PR tui/21216
11439 * gdb.tui/tui-nl-filtered-output.exp: New file.
11440
1a4dd9dd
PA
114412017-03-08 Pedro Alves <palves@redhat.com>
11442
11443 * gdb.base/completion.exp: Move TUI completion tests to ...
11444 * gdb.tui/completion.exp: ... this new file.
11445
7cbbff33
PA
114462017-03-08 Pedro Alves <palves@redhat.com>
11447
11448 * gdb.base/tui-disasm-long-lines.c,
11449 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11450 gdb.base/tui-layout.exp: Move to ...
11451 * gdb.tui/: ... this new directory.
11452
5f6fd321
PA
114532017-03-07 Pedro Alves <palves@redhat.com>
11454
11455 * gdb.base/tui-layout.c: New file.
11456 * gdb.base/tui-layout.exp: New file.
11457
44959fa8
PA
114582017-03-07 Pedro Alves <palves@redhat.com>
11459
11460 * gdb.base/tui-layout.c: Rename to ...
11461 * gdb.base/tui-disasm-long-lines.c: ... this.
11462 * gdb.base/tui-layout.exp: Rename to ...
11463 * gdb.base/tui-disasm-long-lines.exp: ... this.
11464
f8c4e718
PA
114652017-03-07 Pedro Alves <palves@redhat.com>
11466
11467 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11468
6dbb839a 114692017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
11470
11471 * i386-mpx-call.c: New file.
11472 * i386-mpx-call.exp: New file.
11473
65b48a81
PB
114742017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11475
11476 * gdb.arch/powerpc-power.exp: Delete test.
11477 * gdb.arch/powerpc-power.s: Likewise.
11478 * gdb.disasm/disassembler-options.exp: New test.
11479 * gdb.arch/powerpc-altivec.exp: Likewise.
11480 * gdb.arch/powerpc-altivec.s: Likewise.
11481 * gdb.arch/powerpc-altivec2.exp: Likewise.
11482 * gdb.arch/powerpc-altivec2.s: Likewise.
11483 * gdb.arch/powerpc-altivec3.exp: Likewise.
11484 * gdb.arch/powerpc-altivec3.s: Likewise.
11485 * gdb.arch/powerpc-power7.exp: Likewise.
11486 * gdb.arch/powerpc-power7.s: Likewise.
11487 * gdb.arch/powerpc-power8.exp: Likewise.
11488 * gdb.arch/powerpc-power8.s: Likewise.
11489 * gdb.arch/powerpc-power9.exp: Likewise.
11490 * gdb.arch/powerpc-power9.s: Likewise.
11491 * gdb.arch/powerpc-vsx.exp: Likewise.
11492 * gdb.arch/powerpc-vsx.s: Likewise.
11493 * gdb.arch/powerpc-vsx2.exp: Likewise.
11494 * gdb.arch/powerpc-vsx2.s: Likewise.
11495 * gdb.arch/powerpc-vsx3.exp: Likewise.
11496 * gdb.arch/powerpc-vsx3.s: Likewise.
11497 * gdb.arch/arm-disassembler-options.exp: Likewise.
11498 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11499 * gdb.arch/s390-disassembler-options.exp: Likewise.
11500
17cd4947
LM
115012017-02-23 Luis Machado <lgustavo@codesourcery.com>
11502
11503 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11504 (check_supported_features): ... this. Changed return type to void.
11505 (supports_rdseed): New static global.
11506 (rdseed): Check supports_rdseed.
11507 (initialize): Call check_supported_features.
11508
2039d74e
EBM
115092017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11510
11511 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11512 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11513 and lqarx/stqcx.
11514 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11515 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11516
a51d7ecf
EBM
115172017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11518
11519 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11520 uppercase.
11521
0224619f
JK
115222017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11523
11524 * gdb.dwarf2/formdata16.c: New file.
11525 * gdb.dwarf2/formdata16.exp: New file.
11526 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11527
216f72a1
JK
115282017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11529
11530 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11531 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11532 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11533 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11534 DW_AT_GNU_*.
11535
43988095
JK
115362017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11537
11538 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11539
99e8a4f9
SDJ
115402017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11541
11542 PR gdb/21164
11543 * gdb.base/maint.exp: Add testcases for when the commands do
11544 not have arguments.
11545
b58a8c0c
TP
115462017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11547
11548 * gdb.cp/chained-calls.exp: Use p instead of P.
11549
4e746bb6
TW
115502017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11551
11552 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11553 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11554
3f77c769
TT
115552017-02-14 Tom Tromey <tom@tromey.com>
11556
11557 PR python/13598:
11558 * gdb.python/py-events.exp: Add before_prompt event tests.
11559
075beec0
AA
115602017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11561
11562 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11563
bf5f525c
LM
115642017-02-13 Luis Machado <lgustavo@codesourcery.com>
11565
11566 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11567 (main): Call my_unique_function_name.
11568 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11569 completion of patterns with a single match.
11570 Add missing -re switches to gdb_test_multiple calls.
11571
13a66184
LM
115722017-02-13 Luis Machado <lgustavo@codesourcery.com>
11573
11574 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11575 return if core file is not recognized.
11576
26a06916
SM
115772017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11578
11579 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11580 and extra UIs.
11581
b761ca9e
SM
115822017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11583
11584 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11585 proc_with_prefix.
11586
b964bee0
TT
115872017-02-10 Tom Tromey <tom@tromey.com>
11588
11589 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11590
18da0c51
MG
115912017-02-10 Martin Galvan <martingalvan@sourceware.org>
11592
11593 PR gdb/21122
11594 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11595
604c4576
JG
115962017-02-08 Jerome Guitton <guitton@adacore.com>
11597
11598 * gdb.base/define.exp: Add test for command abbreviations
11599 in define.
11600
20b477a7
LM
116012017-02-06 Luis Machado <lgustavo@codesourcery.com>
11602
11603 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11604 * gdb.reverse/insn-reverse-x86.c: New file.
11605
3f7b46f2
IR
116062017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11607
11608 PR tdep/20936
11609 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11610
f0fd41c1
TT
116112017-02-03 Tom Tromey <tom@tromey.com>
11612
11613 PR rust/21097:
11614 * gdb.rust/simple.exp: Add new tests.
11615
5be5dbf0
PA
116162017-02-02 Pedro Alves <palves@redhat.com>
11617
11618 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11619 tests.
11620
7346ef59
AA
116212017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11622
11623 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11624 taking a 2-byte value out of a 4-byte DWARF implicit value on
11625 big-endian targets.
11626 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11627 logic. Add test cases for DW_OP_implicit.
11628
787f0025
MM
116292017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11630
11631 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11632
68777c29
MM
116332017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11634
11635 * gdb.btrace/enable.exp: Call gdb_exit before
11636 skip_gdbserver_tests.
11637
0a1c7e28
MM
116382017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11639
11640 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11641 GDBFLAGS.
11642
b5ac99b0
MM
116432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11644
11645 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11646 the test is skipped.
11647 * gdb.btrace/data.exp: Likewise.
11648 * gdb.btrace/delta.exp: Likewise.
11649 * gdb.btrace/dlopen.exp: Likewise.
11650 * gdb.btrace/enable-running.exp: Likewise.
11651 * gdb.btrace/enable.exp: Likewise.
11652 * gdb.btrace/exception.exp: Likewise.
11653 * gdb.btrace/function_call_history.exp: Likewise.
11654 * gdb.btrace/gcore.exp: Likewise.
11655 * gdb.btrace/instruction_history.exp: Likewise.
11656 * gdb.btrace/multi-thread-step.exp: Likewise.
11657 * gdb.btrace/nohist.exp: Likewise.
11658 * gdb.btrace/non-stop.exp: Likewise.
11659 * gdb.btrace/reconnect.exp: Likewise.
11660 * gdb.btrace/record_goto-step.exp: Likewise.
11661 * gdb.btrace/record_goto.exp: Likewise.
11662 * gdb.btrace/rn-dl-bind.exp: Likewise.
11663 * gdb.btrace/segv.exp: Likewise.
11664 * gdb.btrace/step.exp: Likewise.
11665 * gdb.btrace/stepi.exp: Likewise.
11666 * gdb.btrace/tailcall-only.exp: Likewise.
11667 * gdb.btrace/tailcall.exp: Likewise.
11668 * gdb.btrace/tsx.exp: Likewise.
11669 * gdb.btrace/unknown_functions.exp: Likewise.
11670 * gdb.btrace/vdso.exp: Likewise.
11671
cd4007e4
MM
116722017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11673
11674 * gdb.btrace/enable-running.c: New.
11675 * gdb.btrace/enable-running.exp: New.
11676
2735833d
WT
116772017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11678
11679 * gdb.arch/amd64-gs_base.c: New file.
11680 * gdb.arch/amd64-gs_base.exp: New file.
11681
b51e1e94
LM
116822017-01-26 Luis Machado <lgustavo@codesourcery.com>
11683
11684 * lib/memory.exp: Remove spurious empty newlines.
11685
72ca0410
SM
116862017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11687
11688 * gdb.python/py-bad-printers.exp: Load python file using "source".
11689 * gdb.python/py-events.exp: Likewise.
11690 * gdb.python/py-evsignal.exp: Likewise.
11691 * gdb.python/py-evthreads.exp: Likewise.
11692 * gdb.python/py-frame-args.exp: Likewise.
11693 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11694 * gdb.python/py-framefilter-mi.exp: Likewise.
11695 * gdb.python/py-framefilter.exp: Likewise.
11696 * gdb.python/py-mi.exp: Likewise.
11697 * gdb.python/py-pp-maint.exp: Likewise.
11698 * gdb.python/py-pp-registration.exp: Likewise.
11699 * gdb.python/py-prettyprint.exp: Likewise.
11700 (run_lang_tests): Likewise.
11701 * gdb.python/py-typeprint.exp: Likewise.
11702
e309aa65
LM
117032017-01-26 Luis Machado <lgustavo@codesourcery.com>
11704
11705 * lib/memory.exp: New file.
11706 * lib/gdb.exp: Load memory.exp.
11707 * gdb.base/memattr.exp (delete_memory): Move proc to
11708 lib/memory.exp and rename to delete_memory_regions.
11709 Replace delete_memory with delete_memory_regions.
11710 Cleanup memory regions before tests.
11711 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11712 before tests.
11713
515aff23
LM
117142017-01-26 Luis Machado <lgustavo@codesourcery.com>
11715
11716 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11717 files.
11718 (initialize): New function conditionally defined.
11719 (testcases): Move within conditional block.
11720 (main): Call initialize.
11721 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11722 of gdb.reverse/insn-reverse.c.
11723 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11724 gdb.reverse/insn-reverse.c.
11725
d8b49cf0
YQ
117262017-01-26 Yao Qi <yao.qi@linaro.org>
11727
11728 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11729 disassemble on address 0.
11730
f13a9a0c
YQ
117312017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11732 Yao Qi <yao.qi@linaro.org>
11733
11734 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11735 * gdb.dwarf2/implptr-64bit.S: Remove.
11736 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11737 variables in caller's context. Add DW_OP_implicit_value.
11738
5ac95241
YQ
117392017-01-25 Yao Qi <yao.qi@linaro.org>
11740
11741 * lib/dwarf.exp (Dwarf::_location): Handle
11742 DW_OP_GNU_implicit_pointer with proper size.
11743
23e82930
LM
117442017-01-20 Luis Machado <lgustavo@codesourcery.com>
11745
11746 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11747 and add untested calls.
11748
d334ae25
LM
117492017-01-20 Luis Machado <lgustavo@codesourcery.com>
11750
11751 * gdb.python/python.exp: Check line number against what GDB thinks
11752 the line number is for func1.
11753
f5e6296e
IB
117542017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11755
11756 * gdb.dlang/debug-expr.exp: New file.
11757
5b362f04
LM
117582016-12-23 Luis Machado <lgustavo@codesourcery.com>
11759
11760 Fix test names for the following files:
11761
11762 * gdb.ada/exec_changed.exp
11763 * gdb.ada/info_types.exp
11764 * gdb.arch/aarch64-atomic-inst.exp
11765 * gdb.arch/aarch64-fp.exp
11766 * gdb.arch/altivec-abi.exp
11767 * gdb.arch/altivec-regs.exp
11768 * gdb.arch/amd64-byte.exp
11769 * gdb.arch/amd64-disp-step.exp
11770 * gdb.arch/amd64-dword.exp
11771 * gdb.arch/amd64-entry-value-inline.exp
11772 * gdb.arch/amd64-entry-value-param.exp
11773 * gdb.arch/amd64-entry-value-paramref.exp
11774 * gdb.arch/amd64-entry-value.exp
11775 * gdb.arch/amd64-i386-address.exp
11776 * gdb.arch/amd64-invalid-stack-middle.exp
11777 * gdb.arch/amd64-invalid-stack-top.exp
11778 * gdb.arch/amd64-optimout-repeat.exp
11779 * gdb.arch/amd64-prologue-skip.exp
11780 * gdb.arch/amd64-prologue-xmm.exp
11781 * gdb.arch/amd64-stap-special-operands.exp
11782 * gdb.arch/amd64-stap-wrong-subexp.exp
11783 * gdb.arch/amd64-tailcall-cxx.exp
11784 * gdb.arch/amd64-tailcall-noret.exp
11785 * gdb.arch/amd64-tailcall-ret.exp
11786 * gdb.arch/amd64-tailcall-self.exp
11787 * gdb.arch/amd64-word.exp
11788 * gdb.arch/arm-bl-branch-dest.exp
11789 * gdb.arch/arm-disp-step.exp
11790 * gdb.arch/arm-neon.exp
11791 * gdb.arch/arm-single-step-kernel-helper.exp
11792 * gdb.arch/avr-flash-qualifier.exp
11793 * gdb.arch/disp-step-insn-reloc.exp
11794 * gdb.arch/e500-abi.exp
11795 * gdb.arch/e500-regs.exp
11796 * gdb.arch/ftrace-insn-reloc.exp
11797 * gdb.arch/i386-avx512.exp
11798 * gdb.arch/i386-bp_permanent.exp
11799 * gdb.arch/i386-byte.exp
11800 * gdb.arch/i386-cfi-notcurrent.exp
11801 * gdb.arch/i386-disp-step.exp
11802 * gdb.arch/i386-dr3-watch.exp
11803 * gdb.arch/i386-float.exp
11804 * gdb.arch/i386-gnu-cfi.exp
11805 * gdb.arch/i386-mpx-map.exp
11806 * gdb.arch/i386-mpx-sigsegv.exp
11807 * gdb.arch/i386-mpx-simple_segv.exp
11808 * gdb.arch/i386-mpx.exp
11809 * gdb.arch/i386-permbkpt.exp
11810 * gdb.arch/i386-prologue.exp
11811 * gdb.arch/i386-signal.exp
11812 * gdb.arch/i386-size-overlap.exp
11813 * gdb.arch/i386-unwind.exp
11814 * gdb.arch/i386-word.exp
11815 * gdb.arch/mips-fcr.exp
11816 * gdb.arch/powerpc-d128-regs.exp
11817 * gdb.arch/powerpc-stackless.exp
11818 * gdb.arch/ppc64-atomic-inst.exp
11819 * gdb.arch/s390-stackless.exp
11820 * gdb.arch/s390-tdbregs.exp
11821 * gdb.arch/s390-vregs.exp
11822 * gdb.arch/sparc-sysstep.exp
11823 * gdb.arch/thumb-bx-pc.exp
11824 * gdb.arch/thumb-singlestep.exp
11825 * gdb.arch/thumb2-it.exp
11826 * gdb.arch/vsx-regs.exp
11827 * gdb.asm/asm-source.exp
11828 * gdb.base/a2-run.exp
11829 * gdb.base/advance.exp
11830 * gdb.base/all-bin.exp
11831 * gdb.base/anon.exp
11832 * gdb.base/args.exp
11833 * gdb.base/arithmet.exp
11834 * gdb.base/async-shell.exp
11835 * gdb.base/async.exp
11836 * gdb.base/attach-pie-noexec.exp
11837 * gdb.base/attach-twice.exp
11838 * gdb.base/auto-load.exp
11839 * gdb.base/bang.exp
11840 * gdb.base/bitfields.exp
11841 * gdb.base/break-always.exp
11842 * gdb.base/break-caller-line.exp
11843 * gdb.base/break-entry.exp
11844 * gdb.base/break-inline.exp
11845 * gdb.base/break-on-linker-gcd-function.exp
11846 * gdb.base/break-probes.exp
11847 * gdb.base/break.exp
11848 * gdb.base/breakpoint-shadow.exp
11849 * gdb.base/call-ar-st.exp
11850 * gdb.base/call-sc.exp
11851 * gdb.base/call-signal-resume.exp
11852 * gdb.base/call-strs.exp
11853 * gdb.base/callfuncs.exp
11854 * gdb.base/catch-fork-static.exp
11855 * gdb.base/catch-gdb-caused-signals.exp
11856 * gdb.base/catch-load.exp
11857 * gdb.base/catch-signal-fork.exp
11858 * gdb.base/catch-signal.exp
11859 * gdb.base/catch-syscall.exp
11860 * gdb.base/charset.exp
11861 * gdb.base/checkpoint.exp
11862 * gdb.base/chng-syms.exp
11863 * gdb.base/code-expr.exp
11864 * gdb.base/code_elim.exp
11865 * gdb.base/commands.exp
11866 * gdb.base/completion.exp
11867 * gdb.base/complex.exp
11868 * gdb.base/cond-expr.exp
11869 * gdb.base/condbreak.exp
11870 * gdb.base/consecutive.exp
11871 * gdb.base/continue-all-already-running.exp
11872 * gdb.base/coredump-filter.exp
11873 * gdb.base/corefile.exp
11874 * gdb.base/dbx.exp
11875 * gdb.base/debug-expr.exp
11876 * gdb.base/define.exp
11877 * gdb.base/del.exp
11878 * gdb.base/disabled-location.exp
11879 * gdb.base/disasm-end-cu.exp
11880 * gdb.base/disasm-optim.exp
11881 * gdb.base/display.exp
11882 * gdb.base/duplicate-bp.exp
11883 * gdb.base/ena-dis-br.exp
11884 * gdb.base/ending-run.exp
11885 * gdb.base/enumval.exp
11886 * gdb.base/environ.exp
11887 * gdb.base/eu-strip-infcall.exp
11888 * gdb.base/eval-avoid-side-effects.exp
11889 * gdb.base/eval-skip.exp
11890 * gdb.base/exitsignal.exp
11891 * gdb.base/expand-psymtabs.exp
11892 * gdb.base/filesym.exp
11893 * gdb.base/find-unmapped.exp
11894 * gdb.base/finish.exp
11895 * gdb.base/float.exp
11896 * gdb.base/foll-exec-mode.exp
11897 * gdb.base/foll-exec.exp
11898 * gdb.base/foll-fork.exp
11899 * gdb.base/fortran-sym-case.exp
11900 * gdb.base/freebpcmd.exp
11901 * gdb.base/func-ptr.exp
11902 * gdb.base/func-ptrs.exp
11903 * gdb.base/funcargs.exp
11904 * gdb.base/gcore-buffer-overflow.exp
11905 * gdb.base/gcore-relro-pie.exp
11906 * gdb.base/gcore-relro.exp
11907 * gdb.base/gcore.exp
11908 * gdb.base/gdb1090.exp
11909 * gdb.base/gdb11530.exp
11910 * gdb.base/gdb11531.exp
11911 * gdb.base/gdb1821.exp
11912 * gdb.base/gdbindex-stabs.exp
11913 * gdb.base/gdbvars.exp
11914 * gdb.base/hbreak.exp
11915 * gdb.base/hbreak2.exp
11916 * gdb.base/included.exp
11917 * gdb.base/infcall-input.exp
11918 * gdb.base/inferior-died.exp
11919 * gdb.base/infnan.exp
11920 * gdb.base/info-macros.exp
11921 * gdb.base/info-os.exp
11922 * gdb.base/info-proc.exp
11923 * gdb.base/info-shared.exp
11924 * gdb.base/info-target.exp
11925 * gdb.base/infoline.exp
11926 * gdb.base/interp.exp
11927 * gdb.base/interrupt.exp
11928 * gdb.base/jit-reader.exp
11929 * gdb.base/jit-simple.exp
11930 * gdb.base/kill-after-signal.exp
11931 * gdb.base/kill-detach-inferiors-cmd.exp
11932 * gdb.base/label.exp
11933 * gdb.base/langs.exp
11934 * gdb.base/ldbl_e308.exp
11935 * gdb.base/line-symtabs.exp
11936 * gdb.base/linespecs.exp
11937 * gdb.base/list.exp
11938 * gdb.base/long_long.exp
11939 * gdb.base/longest-types.exp
11940 * gdb.base/maint.exp
11941 * gdb.base/max-value-size.exp
11942 * gdb.base/memattr.exp
11943 * gdb.base/mips_pro.exp
11944 * gdb.base/morestack.exp
11945 * gdb.base/moribund-step.exp
11946 * gdb.base/multi-forks.exp
11947 * gdb.base/nested-addr.exp
11948 * gdb.base/nextoverexit.exp
11949 * gdb.base/noreturn-finish.exp
11950 * gdb.base/noreturn-return.exp
11951 * gdb.base/nostdlib.exp
11952 * gdb.base/offsets.exp
11953 * gdb.base/opaque.exp
11954 * gdb.base/pc-fp.exp
11955 * gdb.base/permissions.exp
11956 * gdb.base/print-symbol-loading.exp
11957 * gdb.base/prologue-include.exp
11958 * gdb.base/psymtab.exp
11959 * gdb.base/ptype.exp
11960 * gdb.base/random-signal.exp
11961 * gdb.base/randomize.exp
11962 * gdb.base/range-stepping.exp
11963 * gdb.base/readline-ask.exp
11964 * gdb.base/recpar.exp
11965 * gdb.base/recurse.exp
11966 * gdb.base/relational.exp
11967 * gdb.base/restore.exp
11968 * gdb.base/return-nodebug.exp
11969 * gdb.base/return.exp
11970 * gdb.base/run-after-attach.exp
11971 * gdb.base/save-bp.exp
11972 * gdb.base/scope.exp
11973 * gdb.base/sect-cmd.exp
11974 * gdb.base/set-lang-auto.exp
11975 * gdb.base/set-noassign.exp
11976 * gdb.base/setvar.exp
11977 * gdb.base/sigall.exp
11978 * gdb.base/sigbpt.exp
11979 * gdb.base/siginfo-addr.exp
11980 * gdb.base/siginfo-infcall.exp
11981 * gdb.base/siginfo-obj.exp
11982 * gdb.base/siginfo.exp
11983 * gdb.base/signals-state-child.exp
11984 * gdb.base/signest.exp
11985 * gdb.base/sigstep.exp
11986 * gdb.base/sizeof.exp
11987 * gdb.base/skip.exp
11988 * gdb.base/solib-corrupted.exp
11989 * gdb.base/solib-nodir.exp
11990 * gdb.base/solib-search.exp
11991 * gdb.base/stack-checking.exp
11992 * gdb.base/stale-infcall.exp
11993 * gdb.base/stap-probe.exp
11994 * gdb.base/start.exp
11995 * gdb.base/step-break.exp
11996 * gdb.base/step-bt.exp
11997 * gdb.base/step-line.exp
11998 * gdb.base/step-over-exit.exp
11999 * gdb.base/step-over-syscall.exp
12000 * gdb.base/step-resume-infcall.exp
12001 * gdb.base/step-test.exp
12002 * gdb.base/store.exp
12003 * gdb.base/structs3.exp
12004 * gdb.base/sym-file.exp
12005 * gdb.base/symbol-without-target_section.exp
12006 * gdb.base/term.exp
12007 * gdb.base/testenv.exp
12008 * gdb.base/ui-redirect.exp
12009 * gdb.base/until.exp
12010 * gdb.base/unwindonsignal.exp
12011 * gdb.base/value-double-free.exp
12012 * gdb.base/vla-datatypes.exp
12013 * gdb.base/vla-ptr.exp
12014 * gdb.base/vla-sideeffect.exp
12015 * gdb.base/volatile.exp
12016 * gdb.base/watch-cond-infcall.exp
12017 * gdb.base/watch-cond.exp
12018 * gdb.base/watch-non-mem.exp
12019 * gdb.base/watch-read.exp
12020 * gdb.base/watch-vfork.exp
12021 * gdb.base/watchpoint-cond-gone.exp
12022 * gdb.base/watchpoint-delete.exp
12023 * gdb.base/watchpoint-hw-hit-once.exp
12024 * gdb.base/watchpoint-hw.exp
12025 * gdb.base/watchpoint-stops-at-right-insn.exp
12026 * gdb.base/watchpoints.exp
12027 * gdb.base/wchar.exp
12028 * gdb.base/whatis-exp.exp
12029 * gdb.btrace/buffer-size.exp
12030 * gdb.btrace/data.exp
12031 * gdb.btrace/delta.exp
12032 * gdb.btrace/dlopen.exp
12033 * gdb.btrace/enable.exp
12034 * gdb.btrace/exception.exp
12035 * gdb.btrace/function_call_history.exp
12036 * gdb.btrace/gcore.exp
12037 * gdb.btrace/instruction_history.exp
12038 * gdb.btrace/nohist.exp
12039 * gdb.btrace/reconnect.exp
12040 * gdb.btrace/record_goto-step.exp
12041 * gdb.btrace/record_goto.exp
12042 * gdb.btrace/rn-dl-bind.exp
12043 * gdb.btrace/segv.exp
12044 * gdb.btrace/step.exp
12045 * gdb.btrace/stepi.exp
12046 * gdb.btrace/tailcall-only.exp
12047 * gdb.btrace/tailcall.exp
12048 * gdb.btrace/tsx.exp
12049 * gdb.btrace/unknown_functions.exp
12050 * gdb.btrace/vdso.exp
12051 * gdb.compile/compile-ifunc.exp
12052 * gdb.compile/compile-ops.exp
12053 * gdb.compile/compile-print.exp
12054 * gdb.compile/compile-setjmp.exp
12055 * gdb.cp/abstract-origin.exp
12056 * gdb.cp/ambiguous.exp
12057 * gdb.cp/annota2.exp
12058 * gdb.cp/annota3.exp
12059 * gdb.cp/anon-ns.exp
12060 * gdb.cp/anon-struct.exp
12061 * gdb.cp/anon-union.exp
12062 * gdb.cp/arg-reference.exp
12063 * gdb.cp/baseenum.exp
12064 * gdb.cp/bool.exp
12065 * gdb.cp/breakpoint.exp
12066 * gdb.cp/bs15503.exp
12067 * gdb.cp/call-c.exp
12068 * gdb.cp/casts.exp
12069 * gdb.cp/chained-calls.exp
12070 * gdb.cp/class2.exp
12071 * gdb.cp/classes.exp
12072 * gdb.cp/cmpd-minsyms.exp
12073 * gdb.cp/converts.exp
12074 * gdb.cp/cp-relocate.exp
12075 * gdb.cp/cpcompletion.exp
12076 * gdb.cp/cpexprs.exp
12077 * gdb.cp/cplabel.exp
12078 * gdb.cp/cplusfuncs.exp
12079 * gdb.cp/cpsizeof.exp
12080 * gdb.cp/ctti.exp
12081 * gdb.cp/derivation.exp
12082 * gdb.cp/destrprint.exp
12083 * gdb.cp/dispcxx.exp
12084 * gdb.cp/enum-class.exp
12085 * gdb.cp/exception.exp
12086 * gdb.cp/exceptprint.exp
12087 * gdb.cp/expand-psymtabs-cxx.exp
12088 * gdb.cp/expand-sals.exp
12089 * gdb.cp/extern-c.exp
12090 * gdb.cp/filename.exp
12091 * gdb.cp/formatted-ref.exp
12092 * gdb.cp/fpointer.exp
12093 * gdb.cp/gdb1355.exp
12094 * gdb.cp/gdb2495.exp
12095 * gdb.cp/hang.exp
12096 * gdb.cp/impl-this.exp
12097 * gdb.cp/infcall-dlopen.exp
12098 * gdb.cp/inherit.exp
12099 * gdb.cp/iostream.exp
12100 * gdb.cp/koenig.exp
12101 * gdb.cp/local.exp
12102 * gdb.cp/m-data.exp
12103 * gdb.cp/m-static.exp
12104 * gdb.cp/mb-ctor.exp
12105 * gdb.cp/mb-inline.exp
12106 * gdb.cp/mb-templates.exp
12107 * gdb.cp/member-name.exp
12108 * gdb.cp/member-ptr.exp
12109 * gdb.cp/meth-typedefs.exp
12110 * gdb.cp/method.exp
12111 * gdb.cp/method2.exp
12112 * gdb.cp/minsym-fallback.exp
12113 * gdb.cp/misc.exp
12114 * gdb.cp/namelessclass.exp
12115 * gdb.cp/namespace-enum.exp
12116 * gdb.cp/namespace-nested-import.exp
12117 * gdb.cp/namespace.exp
12118 * gdb.cp/nextoverthrow.exp
12119 * gdb.cp/no-dmgl-verbose.exp
12120 * gdb.cp/non-trivial-retval.exp
12121 * gdb.cp/noparam.exp
12122 * gdb.cp/nsdecl.exp
12123 * gdb.cp/nsimport.exp
12124 * gdb.cp/nsnested.exp
12125 * gdb.cp/nsnoimports.exp
12126 * gdb.cp/nsrecurs.exp
12127 * gdb.cp/nsstress.exp
12128 * gdb.cp/nsusing.exp
12129 * gdb.cp/operator.exp
12130 * gdb.cp/oranking.exp
12131 * gdb.cp/overload-const.exp
12132 * gdb.cp/overload.exp
12133 * gdb.cp/ovldbreak.exp
12134 * gdb.cp/ovsrch.exp
12135 * gdb.cp/paren-type.exp
12136 * gdb.cp/parse-lang.exp
12137 * gdb.cp/pass-by-ref.exp
12138 * gdb.cp/pr-1023.exp
12139 * gdb.cp/pr-1210.exp
12140 * gdb.cp/pr-574.exp
12141 * gdb.cp/pr10687.exp
12142 * gdb.cp/pr12028.exp
12143 * gdb.cp/pr17132.exp
12144 * gdb.cp/pr17494.exp
12145 * gdb.cp/pr9067.exp
12146 * gdb.cp/pr9167.exp
12147 * gdb.cp/pr9631.exp
12148 * gdb.cp/printmethod.exp
12149 * gdb.cp/psmang.exp
12150 * gdb.cp/psymtab-parameter.exp
12151 * gdb.cp/ptype-cv-cp.exp
12152 * gdb.cp/ptype-flags.exp
12153 * gdb.cp/re-set-overloaded.exp
12154 * gdb.cp/ref-types.exp
12155 * gdb.cp/rtti.exp
12156 * gdb.cp/scope-err.exp
12157 * gdb.cp/shadow.exp
12158 * gdb.cp/smartp.exp
12159 * gdb.cp/static-method.exp
12160 * gdb.cp/static-print-quit.exp
12161 * gdb.cp/temargs.exp
12162 * gdb.cp/templates.exp
12163 * gdb.cp/try_catch.exp
12164 * gdb.cp/typedef-operator.exp
12165 * gdb.cp/typeid.exp
12166 * gdb.cp/userdef.exp
12167 * gdb.cp/using-crash.exp
12168 * gdb.cp/var-tag.exp
12169 * gdb.cp/virtbase.exp
12170 * gdb.cp/virtfunc.exp
12171 * gdb.cp/virtfunc2.exp
12172 * gdb.cp/vla-cxx.exp
12173 * gdb.disasm/t01_mov.exp
12174 * gdb.disasm/t02_mova.exp
12175 * gdb.disasm/t03_add.exp
12176 * gdb.disasm/t04_sub.exp
12177 * gdb.disasm/t05_cmp.exp
12178 * gdb.disasm/t06_ari2.exp
12179 * gdb.disasm/t07_ari3.exp
12180 * gdb.disasm/t08_or.exp
12181 * gdb.disasm/t09_xor.exp
12182 * gdb.disasm/t10_and.exp
12183 * gdb.disasm/t11_logs.exp
12184 * gdb.disasm/t12_bit.exp
12185 * gdb.disasm/t13_otr.exp
12186 * gdb.dlang/circular.exp
12187 * gdb.dwarf2/arr-stride.exp
12188 * gdb.dwarf2/arr-subrange.exp
12189 * gdb.dwarf2/atomic-type.exp
12190 * gdb.dwarf2/bad-regnum.exp
12191 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12192 * gdb.dwarf2/callframecfa.exp
12193 * gdb.dwarf2/clztest.exp
12194 * gdb.dwarf2/corrupt.exp
12195 * gdb.dwarf2/data-loc.exp
12196 * gdb.dwarf2/dup-psym.exp
12197 * gdb.dwarf2/dw2-anon-mptr.exp
12198 * gdb.dwarf2/dw2-anonymous-func.exp
12199 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12200 * gdb.dwarf2/dw2-bad-unresolved.exp
12201 * gdb.dwarf2/dw2-basic.exp
12202 * gdb.dwarf2/dw2-canonicalize-type.exp
12203 * gdb.dwarf2/dw2-case-insensitive.exp
12204 * gdb.dwarf2/dw2-common-block.exp
12205 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12206 * gdb.dwarf2/dw2-compressed.exp
12207 * gdb.dwarf2/dw2-const.exp
12208 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12209 * gdb.dwarf2/dw2-cu-size.exp
12210 * gdb.dwarf2/dw2-dup-frame.exp
12211 * gdb.dwarf2/dw2-entry-value.exp
12212 * gdb.dwarf2/dw2-icycle.exp
12213 * gdb.dwarf2/dw2-ifort-parameter.exp
12214 * gdb.dwarf2/dw2-inline-break.exp
12215 * gdb.dwarf2/dw2-inline-param.exp
12216 * gdb.dwarf2/dw2-intercu.exp
12217 * gdb.dwarf2/dw2-intermix.exp
12218 * gdb.dwarf2/dw2-lexical-block-bare.exp
12219 * gdb.dwarf2/dw2-linkage-name-trust.exp
12220 * gdb.dwarf2/dw2-minsym-in-cu.exp
12221 * gdb.dwarf2/dw2-noloc.exp
12222 * gdb.dwarf2/dw2-op-call.exp
12223 * gdb.dwarf2/dw2-op-out-param.exp
12224 * gdb.dwarf2/dw2-opt-structptr.exp
12225 * gdb.dwarf2/dw2-param-error.exp
12226 * gdb.dwarf2/dw2-producer.exp
12227 * gdb.dwarf2/dw2-ranges-base.exp
12228 * gdb.dwarf2/dw2-ref-missing-frame.exp
12229 * gdb.dwarf2/dw2-reg-undefined.exp
12230 * gdb.dwarf2/dw2-regno-invalid.exp
12231 * gdb.dwarf2/dw2-restore.exp
12232 * gdb.dwarf2/dw2-restrict.exp
12233 * gdb.dwarf2/dw2-single-line-discriminators.exp
12234 * gdb.dwarf2/dw2-strp.exp
12235 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12236 * gdb.dwarf2/dw2-unresolved.exp
12237 * gdb.dwarf2/dw2-var-zero-addr.exp
12238 * gdb.dwarf2/dw4-sig-types.exp
12239 * gdb.dwarf2/dwz.exp
12240 * gdb.dwarf2/dynarr-ptr.exp
12241 * gdb.dwarf2/enum-type.exp
12242 * gdb.dwarf2/gdb-index.exp
12243 * gdb.dwarf2/implptr-64bit.exp
12244 * gdb.dwarf2/implptr-optimized-out.exp
12245 * gdb.dwarf2/implptr.exp
12246 * gdb.dwarf2/implref-array.exp
12247 * gdb.dwarf2/implref-const.exp
12248 * gdb.dwarf2/implref-global.exp
12249 * gdb.dwarf2/implref-struct.exp
12250 * gdb.dwarf2/mac-fileno.exp
12251 * gdb.dwarf2/main-subprogram.exp
12252 * gdb.dwarf2/member-ptr-forwardref.exp
12253 * gdb.dwarf2/method-ptr.exp
12254 * gdb.dwarf2/missing-sig-type.exp
12255 * gdb.dwarf2/nonvar-access.exp
12256 * gdb.dwarf2/opaque-type-lookup.exp
12257 * gdb.dwarf2/pieces-optimized-out.exp
12258 * gdb.dwarf2/pieces.exp
12259 * gdb.dwarf2/pr10770.exp
12260 * gdb.dwarf2/pr13961.exp
12261 * gdb.dwarf2/staticvirtual.exp
12262 * gdb.dwarf2/subrange.exp
12263 * gdb.dwarf2/symtab-producer.exp
12264 * gdb.dwarf2/trace-crash.exp
12265 * gdb.dwarf2/typeddwarf.exp
12266 * gdb.dwarf2/valop.exp
12267 * gdb.dwarf2/watch-notconst.exp
12268 * gdb.fortran/array-element.exp
12269 * gdb.fortran/charset.exp
12270 * gdb.fortran/common-block.exp
12271 * gdb.fortran/complex.exp
12272 * gdb.fortran/derived-type-function.exp
12273 * gdb.fortran/derived-type.exp
12274 * gdb.fortran/logical.exp
12275 * gdb.fortran/module.exp
12276 * gdb.fortran/multi-dim.exp
12277 * gdb.fortran/nested-funcs.exp
12278 * gdb.fortran/print-formatted.exp
12279 * gdb.fortran/subarray.exp
12280 * gdb.fortran/vla-alloc-assoc.exp
12281 * gdb.fortran/vla-datatypes.exp
12282 * gdb.fortran/vla-history.exp
12283 * gdb.fortran/vla-ptr-info.exp
12284 * gdb.fortran/vla-ptype-sub.exp
12285 * gdb.fortran/vla-ptype.exp
12286 * gdb.fortran/vla-sizeof.exp
12287 * gdb.fortran/vla-type.exp
12288 * gdb.fortran/vla-value-sub-arbitrary.exp
12289 * gdb.fortran/vla-value-sub-finish.exp
12290 * gdb.fortran/vla-value-sub.exp
12291 * gdb.fortran/vla-value.exp
12292 * gdb.fortran/whatis_type.exp
12293 * gdb.go/chan.exp
12294 * gdb.go/handcall.exp
12295 * gdb.go/hello.exp
12296 * gdb.go/integers.exp
12297 * gdb.go/methods.exp
12298 * gdb.go/package.exp
12299 * gdb.go/strings.exp
12300 * gdb.go/types.exp
12301 * gdb.go/unsafe.exp
12302 * gdb.guile/scm-arch.exp
12303 * gdb.guile/scm-block.exp
12304 * gdb.guile/scm-breakpoint.exp
12305 * gdb.guile/scm-cmd.exp
12306 * gdb.guile/scm-disasm.exp
12307 * gdb.guile/scm-equal.exp
12308 * gdb.guile/scm-frame-args.exp
12309 * gdb.guile/scm-frame-inline.exp
12310 * gdb.guile/scm-frame.exp
12311 * gdb.guile/scm-iterator.exp
12312 * gdb.guile/scm-math.exp
12313 * gdb.guile/scm-objfile.exp
12314 * gdb.guile/scm-ports.exp
12315 * gdb.guile/scm-symbol.exp
12316 * gdb.guile/scm-symtab.exp
12317 * gdb.guile/scm-value-cc.exp
12318 * gdb.guile/types-module.exp
12319 * gdb.linespec/break-ask.exp
12320 * gdb.linespec/cpexplicit.exp
12321 * gdb.linespec/explicit.exp
12322 * gdb.linespec/keywords.exp
12323 * gdb.linespec/linespec.exp
12324 * gdb.linespec/ls-dollar.exp
12325 * gdb.linespec/ls-errs.exp
12326 * gdb.linespec/skip-two.exp
12327 * gdb.linespec/thread.exp
12328 * gdb.mi/mi-async.exp
12329 * gdb.mi/mi-basics.exp
12330 * gdb.mi/mi-break.exp
12331 * gdb.mi/mi-catch-load.exp
12332 * gdb.mi/mi-cli.exp
12333 * gdb.mi/mi-cmd-param-changed.exp
12334 * gdb.mi/mi-console.exp
12335 * gdb.mi/mi-detach.exp
12336 * gdb.mi/mi-disassemble.exp
12337 * gdb.mi/mi-eval.exp
12338 * gdb.mi/mi-file-transfer.exp
12339 * gdb.mi/mi-file.exp
12340 * gdb.mi/mi-fill-memory.exp
12341 * gdb.mi/mi-inheritance-syntax-error.exp
12342 * gdb.mi/mi-linespec-err-cp.exp
12343 * gdb.mi/mi-logging.exp
12344 * gdb.mi/mi-memory-changed.exp
12345 * gdb.mi/mi-read-memory.exp
12346 * gdb.mi/mi-record-changed.exp
12347 * gdb.mi/mi-reg-undefined.exp
12348 * gdb.mi/mi-regs.exp
12349 * gdb.mi/mi-return.exp
12350 * gdb.mi/mi-reverse.exp
12351 * gdb.mi/mi-simplerun.exp
12352 * gdb.mi/mi-solib.exp
12353 * gdb.mi/mi-stack.exp
12354 * gdb.mi/mi-stepi.exp
12355 * gdb.mi/mi-syn-frame.exp
12356 * gdb.mi/mi-until.exp
12357 * gdb.mi/mi-var-block.exp
12358 * gdb.mi/mi-var-child.exp
12359 * gdb.mi/mi-var-cmd.exp
12360 * gdb.mi/mi-var-cp.exp
12361 * gdb.mi/mi-var-display.exp
12362 * gdb.mi/mi-var-invalidate.exp
12363 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12364 * gdb.mi/mi-vla-fortran.exp
12365 * gdb.mi/mi-watch.exp
12366 * gdb.mi/mi2-var-child.exp
12367 * gdb.mi/user-selected-context-sync.exp
12368 * gdb.modula2/unbounded-array.exp
12369 * gdb.multi/dummy-frame-restore.exp
12370 * gdb.multi/multi-arch-exec.exp
12371 * gdb.multi/multi-arch.exp
12372 * gdb.multi/tids.exp
12373 * gdb.multi/watchpoint-multi.exp
12374 * gdb.opencl/callfuncs.exp
12375 * gdb.opencl/convs_casts.exp
12376 * gdb.opencl/datatypes.exp
12377 * gdb.opencl/operators.exp
12378 * gdb.opencl/vec_comps.exp
12379 * gdb.opt/clobbered-registers-O2.exp
12380 * gdb.opt/inline-break.exp
12381 * gdb.opt/inline-bt.exp
12382 * gdb.opt/inline-cmds.exp
12383 * gdb.opt/inline-locals.exp
12384 * gdb.pascal/case-insensitive-symbols.exp
12385 * gdb.pascal/floats.exp
12386 * gdb.pascal/gdb11492.exp
12387 * gdb.python/lib-types.exp
12388 * gdb.python/py-arch.exp
12389 * gdb.python/py-as-string.exp
12390 * gdb.python/py-bad-printers.exp
12391 * gdb.python/py-block.exp
12392 * gdb.python/py-breakpoint-create-fail.exp
12393 * gdb.python/py-breakpoint.exp
12394 * gdb.python/py-caller-is.exp
12395 * gdb.python/py-cmd.exp
12396 * gdb.python/py-explore-cc.exp
12397 * gdb.python/py-explore.exp
12398 * gdb.python/py-finish-breakpoint.exp
12399 * gdb.python/py-finish-breakpoint2.exp
12400 * gdb.python/py-frame-args.exp
12401 * gdb.python/py-frame-inline.exp
12402 * gdb.python/py-frame.exp
12403 * gdb.python/py-framefilter-mi.exp
12404 * gdb.python/py-infthread.exp
12405 * gdb.python/py-lazy-string.exp
12406 * gdb.python/py-linetable.exp
12407 * gdb.python/py-mi-events.exp
12408 * gdb.python/py-mi-objfile.exp
12409 * gdb.python/py-mi.exp
12410 * gdb.python/py-objfile.exp
12411 * gdb.python/py-pp-integral.exp
12412 * gdb.python/py-pp-maint.exp
12413 * gdb.python/py-pp-re-notag.exp
12414 * gdb.python/py-pp-registration.exp
12415 * gdb.python/py-recurse-unwind.exp
12416 * gdb.python/py-strfns.exp
12417 * gdb.python/py-symbol.exp
12418 * gdb.python/py-symtab.exp
12419 * gdb.python/py-sync-interp.exp
12420 * gdb.python/py-typeprint.exp
12421 * gdb.python/py-unwind-maint.exp
12422 * gdb.python/py-unwind.exp
12423 * gdb.python/py-value-cc.exp
12424 * gdb.python/py-xmethods.exp
12425 * gdb.reverse/amd64-tailcall-reverse.exp
12426 * gdb.reverse/break-precsave.exp
12427 * gdb.reverse/break-reverse.exp
12428 * gdb.reverse/consecutive-precsave.exp
12429 * gdb.reverse/consecutive-reverse.exp
12430 * gdb.reverse/finish-precsave.exp
12431 * gdb.reverse/finish-reverse-bkpt.exp
12432 * gdb.reverse/finish-reverse.exp
12433 * gdb.reverse/fstatat-reverse.exp
12434 * gdb.reverse/getresuid-reverse.exp
12435 * gdb.reverse/i386-precsave.exp
12436 * gdb.reverse/i386-reverse.exp
12437 * gdb.reverse/i386-sse-reverse.exp
12438 * gdb.reverse/i387-env-reverse.exp
12439 * gdb.reverse/i387-stack-reverse.exp
12440 * gdb.reverse/insn-reverse.exp
12441 * gdb.reverse/machinestate-precsave.exp
12442 * gdb.reverse/machinestate.exp
12443 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12444 * gdb.reverse/pipe-reverse.exp
12445 * gdb.reverse/readv-reverse.exp
12446 * gdb.reverse/recvmsg-reverse.exp
12447 * gdb.reverse/rerun-prec.exp
12448 * gdb.reverse/s390-mvcle.exp
12449 * gdb.reverse/step-precsave.exp
12450 * gdb.reverse/step-reverse.exp
12451 * gdb.reverse/time-reverse.exp
12452 * gdb.reverse/until-precsave.exp
12453 * gdb.reverse/until-reverse.exp
12454 * gdb.reverse/waitpid-reverse.exp
12455 * gdb.reverse/watch-precsave.exp
12456 * gdb.reverse/watch-reverse.exp
12457 * gdb.rust/generics.exp
12458 * gdb.rust/methods.exp
12459 * gdb.rust/modules.exp
12460 * gdb.rust/simple.exp
12461 * gdb.server/connect-with-no-symbol-file.exp
12462 * gdb.server/ext-attach.exp
12463 * gdb.server/ext-restart.exp
12464 * gdb.server/ext-wrapper.exp
12465 * gdb.server/file-transfer.exp
12466 * gdb.server/server-exec-info.exp
12467 * gdb.server/server-kill.exp
12468 * gdb.server/server-mon.exp
12469 * gdb.server/wrapper.exp
12470 * gdb.stabs/exclfwd.exp
12471 * gdb.stabs/gdb11479.exp
12472 * gdb.threads/clone-new-thread-event.exp
12473 * gdb.threads/corethreads.exp
12474 * gdb.threads/current-lwp-dead.exp
12475 * gdb.threads/dlopen-libpthread.exp
12476 * gdb.threads/gcore-thread.exp
12477 * gdb.threads/sigstep-threads.exp
12478 * gdb.threads/watchpoint-fork.exp
12479 * gdb.trace/actions-changed.exp
12480 * gdb.trace/backtrace.exp
12481 * gdb.trace/change-loc.exp
12482 * gdb.trace/circ.exp
12483 * gdb.trace/collection.exp
12484 * gdb.trace/disconnected-tracing.exp
12485 * gdb.trace/ftrace.exp
12486 * gdb.trace/mi-trace-frame-collected.exp
12487 * gdb.trace/mi-trace-unavailable.exp
12488 * gdb.trace/mi-traceframe-changed.exp
12489 * gdb.trace/mi-tsv-changed.exp
12490 * gdb.trace/no-attach-trace.exp
12491 * gdb.trace/passc-dyn.exp
12492 * gdb.trace/qtro.exp
12493 * gdb.trace/range-stepping.exp
12494 * gdb.trace/read-memory.exp
12495 * gdb.trace/save-trace.exp
12496 * gdb.trace/signal.exp
12497 * gdb.trace/status-stop.exp
12498 * gdb.trace/tfile.exp
12499 * gdb.trace/trace-break.exp
12500 * gdb.trace/trace-buffer-size.exp
12501 * gdb.trace/trace-condition.exp
12502 * gdb.trace/tracefile-pseudo-reg.exp
12503 * gdb.trace/tstatus.exp
12504 * gdb.trace/unavailable.exp
12505 * gdb.trace/while-dyn.exp
12506 * gdb.trace/while-stepping.exp
12507
34c41c68
DE
125082016-12-22 Doug Evans <xdje42@gmail.com>
12509
12510 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12511 and msymbols.
12512
16e69324
YQ
125132016-12-19 Yao Qi <yao.qi@linaro.org>
12514
12515 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12516 (test_with_self): Don't call do_steps_and_nexts, and remove
12517 code about stepping into xmalloc.
12518
f94f411b
YQ
125192016-12-09 Yao Qi <yao.qi@linaro.org>
12520
12521 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12522
125232016-12-09 Yao Qi <yao.qi@linaro.org>
12524
12525 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12526
f1b5deee
PA
125272016-12-09 Pedro Alves <palves@redhat.com>
12528
12529 * gdb.base/all-architectures-0.exp: New file.
12530 * gdb.base/all-architectures-1.exp: New file.
12531 * gdb.base/all-architectures-2.exp: New file.
12532 * gdb.base/all-architectures-3.exp: New file.
12533 * gdb.base/all-architectures-4.exp: New file.
12534 * gdb.base/all-architectures-5.exp: New file.
12535 * gdb.base/all-architectures-6.exp: New file.
12536 * gdb.base/all-architectures-7.exp: New file.
12537 * gdb.base/all-architectures.exp.in: New file.
12538
364ca42e
YQ
125392016-12-09 Yao Qi <yao.qi@linaro.org>
12540
12541 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12542
107c2d62
LM
125432016-12-02 Luis Machado <lgustavo@codesourcery.com>
12544
12545 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12546 possible.
12547 Remove useless pattern-matching code.
12548
df3ee9ca
PA
125492016-12-02 Pedro Alves <palves@redhat.com>
12550
12551 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12552 procedure.
12553 (top level): Call it.
12554
ec835369
PA
125552016-12-02 Pedro Alves <palves@redhat.com>
12556
12557 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12558 New procedure.
12559 (top level): Call it.
12560
01770bbd
PA
125612016-12-02 Pedro Alves <palves@redhat.com>
12562
12563 PR cli/20559
12564 * gdb.base/commands.exp (user_defined_command_args_eval): New
12565 procedure.
12566 (top level): Call it.
12567
008459ea
LM
125682016-12-02 Luis Machado <lgustavo@codesourcery.com>
12569
12570 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12571 timeout handling.
12572
0c1b455e
TT
125732016-12-02 Tom Tromey <tom@tromey.com>
12574
12575 * gdb.dwarf2/main-subprogram.c: New file.
12576 * gdb.dwarf2/main-subprogram.exp: New file.
12577
018572b8
LM
125782016-12-01 Luis Machado <lgustavo@codesourcery.com>
12579
12580 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12581 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12582 gdb_test_no_output for a couple of cases.
12583 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12584
84c93cd5
LM
125852016-12-01 Luis Machado <lgustavo@codesourcery.com>
12586
12587 Fix test names and standardize compilation error messages throughout
12588 the following files:
12589
12590 * gdb.ada/start.exp
12591 * gdb.arch/alpha-step.exp
12592 * gdb.arch/e500-prologue.exp
12593 * gdb.arch/ftrace-insn-reloc.exp
12594 * gdb.arch/gdb1291.exp
12595 * gdb.arch/gdb1431.exp
12596 * gdb.arch/gdb1558.exp
12597 * gdb.arch/i386-dr3-watch.exp
12598 * gdb.arch/i386-sse-stack-align.exp
12599 * gdb.arch/ia64-breakpoint-shadow.exp
12600 * gdb.arch/pa-nullify.exp
12601 * gdb.arch/powerpc-aix-prologue.exp
12602 * gdb.arch/thumb-bx-pc.exp
12603 * gdb.base/annota1.exp
12604 * gdb.base/annota3.exp
12605 * gdb.base/arrayidx.exp
12606 * gdb.base/assign.exp
12607 * gdb.base/attach.exp
12608 * gdb.base/auxv.exp
12609 * gdb.base/bang.exp
12610 * gdb.base/bfp-test.exp
12611 * gdb.base/bigcore.exp
12612 * gdb.base/bitfields2.exp
12613 * gdb.base/break-fun-addr.exp
12614 * gdb.base/break-probes.exp
12615 * gdb.base/call-rt-st.exp
12616 * gdb.base/callexit.exp
12617 * gdb.base/catch-fork-kill.exp
12618 * gdb.base/charset.exp
12619 * gdb.base/checkpoint.exp
12620 * gdb.base/comprdebug.exp
12621 * gdb.base/constvars.exp
12622 * gdb.base/coredump-filter.exp
12623 * gdb.base/cursal.exp
12624 * gdb.base/cvexpr.exp
12625 * gdb.base/detach.exp
12626 * gdb.base/display.exp
12627 * gdb.base/dmsym.exp
12628 * gdb.base/dprintf-pending.exp
12629 * gdb.base/dso2dso.exp
12630 * gdb.base/dtrace-probe.exp
12631 * gdb.base/dump.exp
12632 * gdb.base/enum_cond.exp
12633 * gdb.base/exe-lock.exp
12634 * gdb.base/exec-invalid-sysroot.exp
12635 * gdb.base/execl-update-breakpoints.exp
12636 * gdb.base/exprs.exp
12637 * gdb.base/fileio.exp
12638 * gdb.base/find.exp
12639 * gdb.base/finish.exp
12640 * gdb.base/fixsection.exp
12641 * gdb.base/foll-vfork.exp
12642 * gdb.base/frame-args.exp
12643 * gdb.base/gcore.exp
12644 * gdb.base/gdb1250.exp
12645 * gdb.base/global-var-nested-by-dso.exp
12646 * gdb.base/gnu-ifunc.exp
12647 * gdb.base/hashline1.exp
12648 * gdb.base/hashline2.exp
12649 * gdb.base/hashline3.exp
12650 * gdb.base/hbreak-in-shr-unsupported.exp
12651 * gdb.base/huge.exp
12652 * gdb.base/infcall-input.exp
12653 * gdb.base/info-fun.exp
12654 * gdb.base/info-shared.exp
12655 * gdb.base/jit-simple.exp
12656 * gdb.base/jit-so.exp
12657 * gdb.base/jit.exp
12658 * gdb.base/jump.exp
12659 * gdb.base/label.exp
12660 * gdb.base/lineinc.exp
12661 * gdb.base/logical.exp
12662 * gdb.base/longjmp.exp
12663 * gdb.base/macscp.exp
12664 * gdb.base/miscexprs.exp
12665 * gdb.base/new-ui-echo.exp
12666 * gdb.base/new-ui-pending-input.exp
12667 * gdb.base/new-ui.exp
12668 * gdb.base/nodebug.exp
12669 * gdb.base/nofield.exp
12670 * gdb.base/offsets.exp
12671 * gdb.base/overlays.exp
12672 * gdb.base/pending.exp
12673 * gdb.base/pointers.exp
12674 * gdb.base/pr11022.exp
12675 * gdb.base/printcmds.exp
12676 * gdb.base/prologue.exp
12677 * gdb.base/ptr-typedef.exp
12678 * gdb.base/realname-expand.exp
12679 * gdb.base/relativedebug.exp
12680 * gdb.base/relocate.exp
12681 * gdb.base/remote.exp
12682 * gdb.base/reread.exp
12683 * gdb.base/return2.exp
12684 * gdb.base/savedregs.exp
12685 * gdb.base/sep.exp
12686 * gdb.base/sepdebug.exp
12687 * gdb.base/sepsymtab.exp
12688 * gdb.base/set-inferior-tty.exp
12689 * gdb.base/setshow.exp
12690 * gdb.base/shlib-call.exp
12691 * gdb.base/sigaltstack.exp
12692 * gdb.base/siginfo-addr.exp
12693 * gdb.base/signals.exp
12694 * gdb.base/signull.exp
12695 * gdb.base/sigrepeat.exp
12696 * gdb.base/so-impl-ld.exp
12697 * gdb.base/solib-display.exp
12698 * gdb.base/solib-overlap.exp
12699 * gdb.base/solib-search.exp
12700 * gdb.base/solib-symbol.exp
12701 * gdb.base/structs.exp
12702 * gdb.base/structs2.exp
12703 * gdb.base/symtab-search-order.exp
12704 * gdb.base/twice.exp
12705 * gdb.base/unload.exp
12706 * gdb.base/varargs.exp
12707 * gdb.base/watchpoint-solib.exp
12708 * gdb.base/watchpoint.exp
12709 * gdb.base/whatis.exp
12710 * gdb.base/wrong_frame_bt_full.exp
12711 * gdb.btrace/dlopen.exp
12712 * gdb.cell/ea-standalone.exp
12713 * gdb.cell/ea-test.exp
12714 * gdb.cp/dispcxx.exp
12715 * gdb.cp/gdb2384.exp
12716 * gdb.cp/method2.exp
12717 * gdb.cp/nextoverthrow.exp
12718 * gdb.cp/pr10728.exp
12719 * gdb.disasm/am33.exp
12720 * gdb.disasm/h8300s.exp
12721 * gdb.disasm/mn10300.exp
12722 * gdb.disasm/sh3.exp
12723 * gdb.dwarf2/dw2-dir-file-name.exp
12724 * gdb.fortran/complex.exp
12725 * gdb.fortran/library-module.exp
12726 * gdb.guile/scm-pretty-print.exp
12727 * gdb.guile/scm-symbol.exp
12728 * gdb.guile/scm-type.exp
12729 * gdb.guile/scm-value.exp
12730 * gdb.linespec/linespec.exp
12731 * gdb.mi/gdb701.exp
12732 * gdb.mi/gdb792.exp
12733 * gdb.mi/mi-breakpoint-changed.exp
12734 * gdb.mi/mi-dprintf-pending.exp
12735 * gdb.mi/mi-dprintf.exp
12736 * gdb.mi/mi-exit-code.exp
12737 * gdb.mi/mi-pending.exp
12738 * gdb.mi/mi-solib.exp
12739 * gdb.mi/new-ui-mi-sync.exp
12740 * gdb.mi/pr11022.exp
12741 * gdb.mi/user-selected-context-sync.exp
12742 * gdb.opt/solib-intra-step.exp
12743 * gdb.python/py-events.exp
12744 * gdb.python/py-finish-breakpoint.exp
12745 * gdb.python/py-mi.exp
12746 * gdb.python/py-prettyprint.exp
12747 * gdb.python/py-shared.exp
12748 * gdb.python/py-symbol.exp
12749 * gdb.python/py-template.exp
12750 * gdb.python/py-type.exp
12751 * gdb.python/py-value.exp
12752 * gdb.reverse/solib-precsave.exp
12753 * gdb.reverse/solib-reverse.exp
12754 * gdb.server/solib-list.exp
12755 * gdb.stabs/weird.exp
12756 * gdb.threads/reconnect-signal.exp
12757 * gdb.threads/stepi-random-signal.exp
12758 * gdb.trace/actions.exp
12759 * gdb.trace/ax.exp
12760 * gdb.trace/backtrace.exp
12761 * gdb.trace/change-loc.exp
12762 * gdb.trace/deltrace.exp
12763 * gdb.trace/ftrace-lock.exp
12764 * gdb.trace/ftrace.exp
12765 * gdb.trace/infotrace.exp
12766 * gdb.trace/mi-tracepoint-changed.exp
12767 * gdb.trace/packetlen.exp
12768 * gdb.trace/passcount.exp
12769 * gdb.trace/pending.exp
12770 * gdb.trace/range-stepping.exp
12771 * gdb.trace/report.exp
12772 * gdb.trace/stap-trace.exp
12773 * gdb.trace/tfind.exp
12774 * gdb.trace/trace-break.exp
12775 * gdb.trace/trace-condition.exp
12776 * gdb.trace/trace-enable-disable.exp
12777 * gdb.trace/trace-mt.exp
12778 * gdb.trace/tracecmd.exp
12779 * gdb.trace/tspeed.exp
12780 * gdb.trace/tsv.exp
12781 * lib/perftest.exp
12782
fb9feb35
LM
127832016-12-01 Luis Machado <lgustavo@codesourcery.com>
12784
12785 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12786 with gdb_test_no_output.
12787 Use command as test name.
12788
cd2ddb6c
LM
127892016-12-01 Luis Machado <lgustavo@codesourcery.com>
12790
12791 Fix test names starting with uppercase throughout the files.
12792
12793 * gdb.ada/assign_1.exp
12794 * gdb.ada/boolean_expr.exp
12795 * gdb.base/arrayidx.exp
12796 * gdb.base/del.exp
12797 * gdb.base/gcore-buffer-overflow.exp
12798 * gdb.base/testenv.exp
12799 * gdb.compile/compile.exp
12800 * gdb.python/py-framefilter-invalidarg.exp
12801 * gdb.python/py-framefilter.exp
12802
bb95117e
LM
128032016-12-01 Luis Machado <lgustavo@codesourcery.com>
12804
12805 Fix test names starting with uppercase throughout the files.
12806
12807 * gdb.ada/array_return.exp
12808 * gdb.ada/expr_delims.exp
12809 * gdb.ada/mi_dyn_arr.exp
12810 * gdb.ada/mi_interface.exp
12811 * gdb.ada/mi_var_array.exp
12812 * gdb.ada/watch_arg.exp
12813 * gdb.arch/alpha-step.exp
12814 * gdb.arch/altivec-regs.exp
12815 * gdb.arch/e500-regs.exp
12816 * gdb.arch/powerpc-d128-regs.exp
12817 * gdb.base/arrayidx.exp
12818 * gdb.base/break.exp
12819 * gdb.base/checkpoint.exp
12820 * gdb.base/debug-expr.exp
12821 * gdb.base/dmsym.exp
12822 * gdb.base/radix.exp
12823 * gdb.base/sepdebug.exp
12824 * gdb.base/testenv.exp
12825 * gdb.base/watch_thread_num.exp
12826 * gdb.base/watchpoint-cond-gone.exp
12827 * gdb.cell/break.exp
12828 * gdb.cell/ea-cache.exp
12829 * gdb.compile/compile.exp
12830 * gdb.cp/gdb2495.exp
12831 * gdb.gdb/selftest.exp
12832 * gdb.gdb/xfullpath.exp
12833 * gdb.go/hello.exp
12834 * gdb.go/integers.exp
12835 * gdb.objc/basicclass.exp
12836 * gdb.pascal/hello.exp
12837 * gdb.pascal/integers.exp
12838 * gdb.python/py-breakpoint.exp
12839 * gdb.python/py-cmd.exp
12840 * gdb.python/py-linetable.exp
12841 * gdb.python/py-xmethods.exp
12842 * gdb.python/python.exp
12843 * gdb.reverse/consecutive-precsave.exp
12844 * gdb.reverse/finish-precsave.exp
12845 * gdb.reverse/i386-precsave.exp
12846 * gdb.reverse/machinestate-precsave.exp
12847 * gdb.reverse/sigall-precsave.exp
12848 * gdb.reverse/solib-precsave.exp
12849 * gdb.reverse/step-precsave.exp
12850 * gdb.reverse/until-precsave.exp
12851 * gdb.reverse/watch-precsave.exp
12852 * gdb.threads/leader-exit.exp
12853 * gdb.threads/pthreads.exp
12854 * gdb.threads/wp-replication.exp
12855 * gdb.trace/actions.exp
12856 * gdb.trace/mi-tsv-changed.exp
12857 * gdb.trace/tsv.exp
12858
de97fdd4
LM
128592016-12-01 Luis Machado <lgustavo@codesourcery.com>
12860
12861 Fix test names starting with uppercase throughout the files.
12862
12863 * gdb.arch/i386-bp_permanent.exp
12864 * gdb.arch/i386-gnu-cfi.exp
12865 * gdb.base/disasm-end-cu.exp
12866 * gdb.base/macscp.exp
12867 * gdb.base/pending.exp
12868 * gdb.base/watch_thread_num.exp
12869 * gdb.cp/exception.exp
12870 * gdb.cp/gdb2495.exp
12871 * gdb.cp/local.exp
12872 * gdb.python/py-evsignal.exp
12873 * gdb.python/python.exp
12874 * gdb.trace/tracecmd.exp
12875
9f058c10
LM
128762016-12-01 Luis Machado <lgustavo@codesourcery.com>
12877
12878 Fix test names starting with uppercase throughout the files.
12879
12880 * gdb.base/charset.exp
12881 * gdb.base/eval.exp
12882 * gdb.base/multi-forks.exp
12883 * gdb.guile/scm-progspace.exp
12884 * gdb.opencl/datatypes.exp
12885 * gdb.python/py-block.exp
12886 * gdb.python/py-function.exp
12887 * gdb.python/py-symbol.exp
12888 * gdb.python/py-symtab.exp
12889 * gdb.python/py-xmethods.exp
12890 * gdb.reverse/break-precsave.exp
12891 * gdb.reverse/break-reverse.exp
12892 * gdb.reverse/consecutive-precsave.exp
12893 * gdb.reverse/consecutive-reverse.exp
12894 * gdb.reverse/finish-precsave.exp
12895 * gdb.reverse/finish-reverse-bkpt.exp
12896 * gdb.reverse/finish-reverse.exp
12897 * gdb.reverse/fstatat-reverse.exp
12898 * gdb.reverse/getresuid-reverse.exp
12899 * gdb.reverse/i386-precsave.exp
12900 * gdb.reverse/i386-reverse.exp
12901 * gdb.reverse/i386-sse-reverse.exp
12902 * gdb.reverse/i387-stack-reverse.exp
12903 * gdb.reverse/insn-reverse.exp
12904 * gdb.reverse/machinestate-precsave.exp
12905 * gdb.reverse/machinestate.exp
12906 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12907 * gdb.reverse/pipe-reverse.exp
12908 * gdb.reverse/readv-reverse.exp
12909 * gdb.reverse/recvmsg-reverse.exp
12910 * gdb.reverse/rerun-prec.exp
12911 * gdb.reverse/s390-mvcle.exp
12912 * gdb.reverse/sigall-precsave.exp
12913 * gdb.reverse/sigall-reverse.exp
12914 * gdb.reverse/solib-precsave.exp
12915 * gdb.reverse/solib-reverse.exp
12916 * gdb.reverse/step-precsave.exp
12917 * gdb.reverse/step-reverse.exp
12918 * gdb.reverse/time-reverse.exp
12919 * gdb.reverse/until-precsave.exp
12920 * gdb.reverse/until-reverse.exp
12921 * gdb.reverse/waitpid-reverse.exp
12922 * gdb.reverse/watch-precsave.exp
12923 * gdb.reverse/watch-reverse.exp
12924
cdc7edd7
LM
129252016-12-01 Luis Machado <lgustavo@codesourcery.com>
12926
12927 Fix test names starting with uppercase throughout the files.
12928
12929 * gdb.arch/i386-mpx-simple_segv.exp
12930 * gdb.arch/i386-mpx.exp
12931 * gdb.arch/i386-permbkpt.exp
12932 * gdb.arch/pa-nullify.exp
12933 * gdb.arch/powerpc-d128-regs.exp
12934 * gdb.arch/vsx-regs.exp
12935 * gdb.base/bfp-test.exp
12936 * gdb.base/break.exp
12937 * gdb.base/breakpoint-shadow.exp
12938 * gdb.base/callfuncs.exp
12939 * gdb.base/charset.exp
12940 * gdb.base/commands.exp
12941 * gdb.base/completion.exp
12942 * gdb.base/dfp-test.exp
12943 * gdb.base/echo.exp
12944 * gdb.base/ending-run.exp
12945 * gdb.base/eval.exp
12946 * gdb.base/expand-psymtabs.exp
12947 * gdb.base/float128.exp
12948 * gdb.base/floatn.exp
12949 * gdb.base/foll-exec-mode.exp
12950 * gdb.base/gdb1056.exp
12951 * gdb.base/gdb11531.exp
12952 * gdb.base/kill-after-signal.exp
12953 * gdb.base/multi-forks.exp
12954 * gdb.base/overlays.exp
12955 * gdb.base/pending.exp
12956 * gdb.base/sepdebug.exp
12957 * gdb.base/testenv.exp
12958 * gdb.base/valgrind-db-attach.exp
12959 * gdb.base/watch_thread_num.exp
12960 * gdb.base/watchpoint-cond-gone.exp
12961 * gdb.base/watchpoint.exp
12962 * gdb.base/watchpoints.exp
12963 * gdb.cp/arg-reference.exp
12964 * gdb.cp/baseenum.exp
12965 * gdb.cp/operator.exp
12966 * gdb.cp/shadow.exp
12967 * gdb.dwarf2/dw2-op-out-param.exp
12968 * gdb.dwarf2/dw2-reg-undefined.exp
12969 * gdb.go/chan.exp
12970 * gdb.go/hello.exp
12971 * gdb.go/integers.exp
12972 * gdb.go/methods.exp
12973 * gdb.go/package.exp
12974 * gdb.guile/scm-parameter.exp
12975 * gdb.guile/scm-progspace.exp
12976 * gdb.guile/scm-value.exp
12977 * gdb.mi/mi-pending.exp
12978 * gdb.mi/user-selected-context-sync.exp
12979 * gdb.multi/multi-attach.exp
12980 * gdb.multi/tids.exp
12981 * gdb.opt/clobbered-registers-O2.exp
12982 * gdb.pascal/floats.exp
12983 * gdb.pascal/integers.exp
12984 * gdb.python/py-block.exp
12985 * gdb.python/py-events.exp
12986 * gdb.python/py-parameter.exp
12987 * gdb.python/py-symbol.exp
12988 * gdb.python/py-symtab.exp
12989 * gdb.python/py-type.exp
12990 * gdb.python/py-value.exp
12991 * gdb.python/py-xmethods.exp
12992 * gdb.python/python.exp
12993 * gdb.reverse/break-precsave.exp
12994 * gdb.reverse/consecutive-precsave.exp
12995 * gdb.reverse/finish-precsave.exp
12996 * gdb.reverse/i386-precsave.exp
12997 * gdb.reverse/machinestate-precsave.exp
12998 * gdb.reverse/sigall-precsave.exp
12999 * gdb.reverse/solib-precsave.exp
13000 * gdb.reverse/step-precsave.exp
13001 * gdb.reverse/until-precsave.exp
13002 * gdb.reverse/watch-precsave.exp
13003 * gdb.server/ext-attach.exp
13004 * gdb.server/ext-restart.exp
13005 * gdb.server/ext-run.exp
13006 * gdb.server/ext-wrapper.exp
13007 * gdb.stabs/gdb11479.exp
13008 * gdb.stabs/weird.exp
13009 * gdb.threads/attach-many-short-lived-threads.exp
13010 * gdb.threads/kill.exp
13011 * gdb.threads/watchpoint-fork.exp
13012
bc6c7af4
LM
130132016-12-01 Luis Machado <lgustavo@codesourcery.com>
13014
13015 Fix test names starting with uppercase throughout all the files below.
13016
13017 * gdb.ada/array_return.exp
13018 * gdb.ada/catch_ex.exp
13019 * gdb.ada/info_exc.exp
13020 * gdb.ada/mi_catch_ex.exp
13021 * gdb.ada/mi_dyn_arr.exp
13022 * gdb.ada/mi_ex_cond.exp
13023 * gdb.ada/mi_exc_info.exp
13024 * gdb.ada/mi_interface.exp
13025 * gdb.ada/mi_task_arg.exp
13026 * gdb.ada/mi_task_info.exp
13027 * gdb.ada/mi_var_array.exp
13028 * gdb.arch/alpha-step.exp
13029 * gdb.arch/amd64-disp-step.exp
13030 * gdb.arch/arm-disp-step.exp
13031 * gdb.arch/disp-step-insn-reloc.exp
13032 * gdb.arch/e500-prologue.exp
13033 * gdb.arch/ftrace-insn-reloc.exp
13034 * gdb.arch/gdb1558.exp
13035 * gdb.arch/i386-bp_permanent.exp
13036 * gdb.arch/i386-disp-step.exp
13037 * gdb.arch/i386-float.exp
13038 * gdb.arch/i386-gnu-cfi.exp
13039 * gdb.arch/ia64-breakpoint-shadow.exp
13040 * gdb.arch/mips16-thunks.exp
13041 * gdb.arch/pa-nullify.exp
13042 * gdb.arch/powerpc-aix-prologue.exp
13043 * gdb.arch/powerpc-power.exp
13044 * gdb.arch/ppc-dfp.exp
13045 * gdb.arch/s390-tdbregs.exp
13046 * gdb.arch/spu-info.exp
13047 * gdb.arch/spu-ls.exp
13048 * gdb.arch/thumb-bx-pc.exp
13049 * gdb.base/advance.exp
13050 * gdb.base/annota-input-while-running.exp
13051 * gdb.base/arrayidx.exp
13052 * gdb.base/asmlabel.exp
13053 * gdb.base/async.exp
13054 * gdb.base/attach-wait-input.exp
13055 * gdb.base/auto-connect-native-target.exp
13056 * gdb.base/batch-preserve-term-settings.exp
13057 * gdb.base/bfp-test.exp
13058 * gdb.base/bigcore.exp
13059 * gdb.base/bp-permanent.exp
13060 * gdb.base/break-always.exp
13061 * gdb.base/break-fun-addr.exp
13062 * gdb.base/break-idempotent.exp
13063 * gdb.base/break-main-file-remove-fail.exp
13064 * gdb.base/break-probes.exp
13065 * gdb.base/break-unload-file.exp
13066 * gdb.base/break.exp
13067 * gdb.base/call-ar-st.exp
13068 * gdb.base/call-rt-st.exp
13069 * gdb.base/call-sc.exp
13070 * gdb.base/call-signal-resume.exp
13071 * gdb.base/call-strs.exp
13072 * gdb.base/callexit.exp
13073 * gdb.base/callfuncs.exp
13074 * gdb.base/catch-gdb-caused-signals.exp
13075 * gdb.base/catch-signal-siginfo-cond.exp
13076 * gdb.base/catch-syscall.exp
13077 * gdb.base/compare-sections.exp
13078 * gdb.base/cond-eval-mode.exp
13079 * gdb.base/condbreak-call-false.exp
13080 * gdb.base/consecutive-step-over.exp
13081 * gdb.base/cursal.exp
13082 * gdb.base/disabled-location.exp
13083 * gdb.base/disasm-end-cu.exp
13084 * gdb.base/display.exp
13085 * gdb.base/double-prompt-target-event-error.exp
13086 * gdb.base/dprintf-bp-same-addr.exp
13087 * gdb.base/dprintf-detach.exp
13088 * gdb.base/dprintf-next.exp
13089 * gdb.base/dprintf-non-stop.exp
13090 * gdb.base/dprintf-pending.exp
13091 * gdb.base/dso2dso.exp
13092 * gdb.base/ending-run.exp
13093 * gdb.base/enum_cond.exp
13094 * gdb.base/examine-backward.exp
13095 * gdb.base/exe-lock.exp
13096 * gdb.base/exec-invalid-sysroot.exp
13097 * gdb.base/execl-update-breakpoints.exp
13098 * gdb.base/execution-termios.exp
13099 * gdb.base/fileio.exp
13100 * gdb.base/fixsection.exp
13101 * gdb.base/foll-exec-mode.exp
13102 * gdb.base/foll-exec.exp
13103 * gdb.base/fork-running-state.exp
13104 * gdb.base/frame-args.exp
13105 * gdb.base/fullpath-expand.exp
13106 * gdb.base/func-ptr.exp
13107 * gdb.base/gcore-relro-pie.exp
13108 * gdb.base/gdb1090.exp
13109 * gdb.base/gdb1555.exp
13110 * gdb.base/global-var-nested-by-dso.exp
13111 * gdb.base/gnu-ifunc.exp
13112 * gdb.base/hbreak-in-shr-unsupported.exp
13113 * gdb.base/hbreak-unmapped.exp
13114 * gdb.base/hook-stop.exp
13115 * gdb.base/infcall-input.exp
13116 * gdb.base/info-fun.exp
13117 * gdb.base/info-shared.exp
13118 * gdb.base/interrupt-noterm.exp
13119 * gdb.base/jit-so.exp
13120 * gdb.base/jit.exp
13121 * gdb.base/line-symtabs.exp
13122 * gdb.base/list.exp
13123 * gdb.base/longjmp.exp
13124 * gdb.base/macscp.exp
13125 * gdb.base/max-value-size.exp
13126 * gdb.base/nodebug.exp
13127 * gdb.base/nofield.exp
13128 * gdb.base/overlays.exp
13129 * gdb.base/paginate-after-ctrl-c-running.exp
13130 * gdb.base/paginate-bg-execution.exp
13131 * gdb.base/paginate-inferior-exit.exp
13132 * gdb.base/pending.exp
13133 * gdb.base/pr11022.exp
13134 * gdb.base/printcmds.exp
13135 * gdb.base/ptr-typedef.exp
13136 * gdb.base/ptype.exp
13137 * gdb.base/randomize.exp
13138 * gdb.base/range-stepping.exp
13139 * gdb.base/realname-expand.exp
13140 * gdb.base/relativedebug.exp
13141 * gdb.base/remote.exp
13142 * gdb.base/savedregs.exp
13143 * gdb.base/sepdebug.exp
13144 * gdb.base/set-noassign.exp
13145 * gdb.base/shlib-call.exp
13146 * gdb.base/shreloc.exp
13147 * gdb.base/sigaltstack.exp
13148 * gdb.base/sigbpt.exp
13149 * gdb.base/siginfo-addr.exp
13150 * gdb.base/siginfo-obj.exp
13151 * gdb.base/siginfo-thread.exp
13152 * gdb.base/signest.exp
13153 * gdb.base/signull.exp
13154 * gdb.base/sigrepeat.exp
13155 * gdb.base/skip.exp
13156 * gdb.base/so-impl-ld.exp
13157 * gdb.base/solib-corrupted.exp
13158 * gdb.base/solib-disc.exp
13159 * gdb.base/solib-display.exp
13160 * gdb.base/solib-overlap.exp
13161 * gdb.base/solib-search.exp
13162 * gdb.base/solib-symbol.exp
13163 * gdb.base/source-execution.exp
13164 * gdb.base/sss-bp-on-user-bp-2.exp
13165 * gdb.base/sss-bp-on-user-bp.exp
13166 * gdb.base/stack-checking.exp
13167 * gdb.base/stale-infcall.exp
13168 * gdb.base/step-break.exp
13169 * gdb.base/step-line.exp
13170 * gdb.base/step-over-exit.exp
13171 * gdb.base/step-test.exp
13172 * gdb.base/structs.exp
13173 * gdb.base/sym-file.exp
13174 * gdb.base/symtab-search-order.exp
13175 * gdb.base/term.exp
13176 * gdb.base/type-opaque.exp
13177 * gdb.base/unload.exp
13178 * gdb.base/until-nodebug.exp
13179 * gdb.base/until.exp
13180 * gdb.base/unwindonsignal.exp
13181 * gdb.base/watch-cond.exp
13182 * gdb.base/watch-non-mem.exp
13183 * gdb.base/watch_thread_num.exp
13184 * gdb.base/watchpoint-reuse-slot.exp
13185 * gdb.base/watchpoint-solib.exp
13186 * gdb.base/watchpoint.exp
13187 * gdb.btrace/dlopen.exp
13188 * gdb.cell/arch.exp
13189 * gdb.cell/break.exp
13190 * gdb.cell/bt.exp
13191 * gdb.cell/core.exp
13192 * gdb.cell/data.exp
13193 * gdb.cell/dwarfaddr.exp
13194 * gdb.cell/ea-cache.exp
13195 * gdb.cell/ea-standalone.exp
13196 * gdb.cell/ea-test.exp
13197 * gdb.cell/f-regs.exp
13198 * gdb.cell/fork.exp
13199 * gdb.cell/gcore.exp
13200 * gdb.cell/mem-access.exp
13201 * gdb.cell/ptype.exp
13202 * gdb.cell/registers.exp
13203 * gdb.cell/sizeof.exp
13204 * gdb.cell/solib-symbol.exp
13205 * gdb.cell/solib.exp
13206 * gdb.compile/compile-tls.exp
13207 * gdb.cp/exception.exp
13208 * gdb.cp/gdb2495.exp
13209 * gdb.cp/local.exp
13210 * gdb.cp/mb-inline.exp
13211 * gdb.cp/mb-templates.exp
13212 * gdb.cp/pr10687.exp
13213 * gdb.cp/pr9167.exp
13214 * gdb.cp/scope-err.exp
13215 * gdb.cp/templates.exp
13216 * gdb.cp/virtfunc.exp
13217 * gdb.dwarf2/dw2-dir-file-name.exp
13218 * gdb.dwarf2/dw2-single-line-discriminators.exp
13219 * gdb.fortran/complex.exp
13220 * gdb.fortran/library-module.exp
13221 * gdb.guile/guile.exp
13222 * gdb.guile/scm-cmd.exp
13223 * gdb.guile/scm-frame-inline.exp
13224 * gdb.guile/scm-objfile.exp
13225 * gdb.guile/scm-pretty-print.exp
13226 * gdb.guile/scm-symbol.exp
13227 * gdb.guile/scm-type.exp
13228 * gdb.guile/scm-value.exp
13229 * gdb.linespec/keywords.exp
13230 * gdb.linespec/ls-errs.exp
13231 * gdb.linespec/macro-relative.exp
13232 * gdb.linespec/thread.exp
13233 * gdb.mi/mi-breakpoint-changed.exp
13234 * gdb.mi/mi-dprintf-pending.exp
13235 * gdb.mi/mi-fullname-deleted.exp
13236 * gdb.mi/mi-logging.exp
13237 * gdb.mi/mi-pending.exp
13238 * gdb.mi/mi-solib.exp
13239 * gdb.mi/new-ui-mi-sync.exp
13240 * gdb.mi/user-selected-context-sync.exp
13241 * gdb.multi/dummy-frame-restore.exp
13242 * gdb.multi/multi-arch-exec.exp
13243 * gdb.multi/remove-inferiors.exp
13244 * gdb.multi/watchpoint-multi-exit.exp
13245 * gdb.opt/solib-intra-step.exp
13246 * gdb.perf/backtrace.exp
13247 * gdb.perf/single-step.exp
13248 * gdb.perf/skip-command.exp
13249 * gdb.perf/skip-prologue.exp
13250 * gdb.perf/solib.exp
13251 * gdb.python/lib-types.exp
13252 * gdb.python/py-as-string.exp
13253 * gdb.python/py-bad-printers.exp
13254 * gdb.python/py-block.exp
13255 * gdb.python/py-breakpoint.exp
13256 * gdb.python/py-cmd.exp
13257 * gdb.python/py-events.exp
13258 * gdb.python/py-evthreads.exp
13259 * gdb.python/py-finish-breakpoint.exp
13260 * gdb.python/py-finish-breakpoint2.exp
13261 * gdb.python/py-frame-inline.exp
13262 * gdb.python/py-frame.exp
13263 * gdb.python/py-inferior.exp
13264 * gdb.python/py-infthread.exp
13265 * gdb.python/py-mi.exp
13266 * gdb.python/py-objfile.exp
13267 * gdb.python/py-pp-maint.exp
13268 * gdb.python/py-pp-registration.exp
13269 * gdb.python/py-prettyprint.exp
13270 * gdb.python/py-recurse-unwind.exp
13271 * gdb.python/py-shared.exp
13272 * gdb.python/py-symbol.exp
13273 * gdb.python/py-symtab.exp
13274 * gdb.python/py-template.exp
13275 * gdb.python/py-type.exp
13276 * gdb.python/py-unwind-maint.exp
13277 * gdb.python/py-unwind.exp
13278 * gdb.python/py-value.exp
13279 * gdb.python/python.exp
13280 * gdb.reverse/finish-reverse-bkpt.exp
13281 * gdb.reverse/insn-reverse.exp
13282 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13283 * gdb.reverse/solib-precsave.exp
13284 * gdb.reverse/solib-reverse.exp
13285 * gdb.stabs/gdb11479.exp
13286 * gdb.stabs/weird.exp
13287 * gdb.threads/fork-child-threads.exp
13288 * gdb.threads/fork-plus-threads.exp
13289 * gdb.threads/fork-thread-pending.exp
13290 * gdb.threads/forking-threads-plus-breakpoint.exp
13291 * gdb.threads/hand-call-in-threads.exp
13292 * gdb.threads/interrupted-hand-call.exp
13293 * gdb.threads/linux-dp.exp
13294 * gdb.threads/local-watch-wrong-thread.exp
13295 * gdb.threads/next-while-other-thread-longjmps.exp
13296 * gdb.threads/non-ldr-exit.exp
13297 * gdb.threads/pending-step.exp
13298 * gdb.threads/print-threads.exp
13299 * gdb.threads/process-dies-while-detaching.exp
13300 * gdb.threads/process-dies-while-handling-bp.exp
13301 * gdb.threads/pthreads.exp
13302 * gdb.threads/queue-signal.exp
13303 * gdb.threads/reconnect-signal.exp
13304 * gdb.threads/signal-command-handle-nopass.exp
13305 * gdb.threads/signal-command-multiple-signals-pending.exp
13306 * gdb.threads/signal-delivered-right-thread.exp
13307 * gdb.threads/signal-sigtrap.exp
13308 * gdb.threads/sigthread.exp
13309 * gdb.threads/staticthreads.exp
13310 * gdb.threads/stepi-random-signal.exp
13311 * gdb.threads/thread-unwindonsignal.exp
13312 * gdb.threads/thread_check.exp
13313 * gdb.threads/thread_events.exp
13314 * gdb.threads/tid-reuse.exp
13315 * gdb.threads/tls-nodebug.exp
13316 * gdb.threads/tls-shared.exp
13317 * gdb.threads/tls-so_extern.exp
13318 * gdb.threads/tls.exp
13319 * gdb.threads/wp-replication.exp
13320 * gdb.trace/actions-changed.exp
13321 * gdb.trace/actions.exp
13322 * gdb.trace/backtrace.exp
13323 * gdb.trace/change-loc.exp
13324 * gdb.trace/collection.exp
13325 * gdb.trace/deltrace.exp
13326 * gdb.trace/disconnected-tracing.exp
13327 * gdb.trace/entry-values.exp
13328 * gdb.trace/ftrace-lock.exp
13329 * gdb.trace/ftrace.exp
13330 * gdb.trace/infotrace.exp
13331 * gdb.trace/mi-trace-frame-collected.exp
13332 * gdb.trace/mi-trace-unavailable.exp
13333 * gdb.trace/mi-traceframe-changed.exp
13334 * gdb.trace/mi-tracepoint-changed.exp
13335 * gdb.trace/mi-tsv-changed.exp
13336 * gdb.trace/no-attach-trace.exp
13337 * gdb.trace/packetlen.exp
13338 * gdb.trace/passc-dyn.exp
13339 * gdb.trace/passcount.exp
13340 * gdb.trace/pending.exp
13341 * gdb.trace/pr16508.exp
13342 * gdb.trace/qtro.exp
13343 * gdb.trace/range-stepping.exp
13344 * gdb.trace/read-memory.exp
13345 * gdb.trace/report.exp
13346 * gdb.trace/save-trace.exp
13347 * gdb.trace/signal.exp
13348 * gdb.trace/stap-trace.exp
13349 * gdb.trace/status-stop.exp
13350 * gdb.trace/strace.exp
13351 * gdb.trace/tfile.exp
13352 * gdb.trace/tfind.exp
13353 * gdb.trace/trace-break.exp
13354 * gdb.trace/trace-condition.exp
13355 * gdb.trace/trace-enable-disable.exp
13356 * gdb.trace/trace-mt.exp
13357 * gdb.trace/tracecmd.exp
13358 * gdb.trace/tracefile-pseudo-reg.exp
13359 * gdb.trace/tspeed.exp
13360 * gdb.trace/tstatus.exp
13361 * gdb.trace/tsv.exp
13362 * gdb.trace/unavailable.exp
13363 * gdb.trace/while-dyn.exp
13364 * gdb.trace/while-stepping.exp
13365 * lib/gdb-guile.exp
13366 * lib/gdb.exp
13367 * lib/mi-support.exp
13368 * lib/pascal.exp
13369 * lib/perftest.exp
13370 * lib/prelink-support.exp
13371 * lib/selftest-support.exp
13372
ad02e4fe
SM
133732016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13374
13375 * Makefile.in: Include disable-implicit-rules.mk.
13376
22347e55
AA
133772016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13378
13379 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13380 non-byte-aligned bit fields.
13381
da5b30da
AA
133822016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13383
13384 PR gdb/12616
13385 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13386 respects the DW_AT_data_bit_offset attribute.
13387
b593ecca
SM
133882016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13389
13390 * gdb.base/default.exp: Fix output of "set language".
13391
3b165252
SM
133922016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13393
13394 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13395 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13396 make.
13397 * configure.ac: Remove checks for the make program.
13398 * configure: Re-generate.
13399
1a2f3d7f
KB
134002016-11-16 Kevin Buettner <kevinb@redhat.com>
13401
13402 * gdb.python/py-recurse-unwind.c (main): Add loop.
13403 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13404 to read_register() and gdb.parse_and_eval(). Make each code
13405 call a separate case that can be individually tested.
13406 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
13407 proc. Call cont_and_backtrace for each of the code paths that
13408 we want to test in the unwinder.
13409
b7f38fda
AA
134102016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13411
13412 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13413 the definition of struct S.
13414
1f8db343
CM
134152016-11-11 Catherine Moore <clm@codesourcery.com>
13416
13417 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13418
fad0c9fb
PA
134192016-11-09 Pedro Alves <palves@redhat.com>
13420
13421 * gdb.base/commands.exp (runto_or_return): New procedure.
13422 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13423 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13424 (progvar_simple_while_test, progvar_complex_if_while_test)
13425 (if_while_breakpoint_command_test)
13426 (infrun_breakpoint_command_test, breakpoint_command_test)
13427 (user_defined_command_test, watchpoint_command_test)
13428 (test_command_prompt_position, redefine_hook_test)
13429 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13430 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13431 multi_line_input and multi_line. Remove gdb_expect and
13432 gdb_stop_suppressing_tests uses.
13433 * lib/gdb.exp (valnum_re): New global.
13434 (multi_line_input): New procedure.
13435
8354c62c
SM
134362016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13437
13438 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13439 Remove.
13440 (test_setup): Define with proc_with_prefix.
13441 (test_cli_inferior): Likewise.
13442 (test_cli_thread): Likewise.
13443 (test_cli_frame): Likewise.
13444 (test_cli_select_frame): Likewise.
13445 (test_cli_up_down): Likewise.
13446 (test_mi_thread_select): Likewise.
13447 (test_mi_stack_select_frame): Likewise.
13448 (test_cli_in_mi_inferior): Likewise.
13449 (test_cli_in_mi_thread): Likewise.
13450 (test_cli_in_mi_frame): Likewise.
13451 (top level): Do not use with_test_prefix_procname.
13452
64f367a2
PA
134532016-11-09 Pedro Alves <palves@redhat.com>
13454
13455 * gdb.base/commands.exp (gdbvar_simple_if_test)
13456 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13457 (progvar_simple_if_test, progvar_simple_while_test)
13458 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13459 (infrun_breakpoint_command_test, breakpoint_command_test)
13460 (user_defined_command_test, watchpoint_command_test)
13461 (test_command_prompt_position, deprecated_command_test)
13462 (bp_deleted_in_command, temporary_breakpoint_commands)
13463 (stray_arg0_test, source_file_with_indented_comment)
13464 (recursive_source_test, if_commands_test)
13465 (error_clears_commands_left, redefine_hook_test)
13466 (redefine_backtrace_test): Use proc_with_prefix.
13467 * lib/gdb.exp (proc_with_prefix): New proc.
13468
0bb65f1e
AA
134692016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13470
13471 * gdb.base/tui-layout.c: New file.
13472 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13473 disassembly window contains very long lines.
13474
7353f247
TT
134752016-11-08 Tom Tromey <tom@tromey.com>
13476
13477 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13478 depend on Python 2.
13479
30a7bb83
TT
134802016-11-08 Tom Tromey <tom@tromey.com>
13481
13482 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13483 New method.
13484
cdf5a07c
MG
134852016-10-29 Manish Goregaokar <manish@mozilla.com>
13486
2806dc7e 13487 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 13488
51a789c3
MG
134892016-10-27 Manish Goregaokar <manish@mozilla.com>
13490
2806dc7e
PA
13491 * gdb.rust/simple.rs: Add test for univariant enums without
13492 discriminants and for encoded struct-like enums.
51a789c3 13493
f610ab6d
PA
134942016-10-28 Pedro Alves <palves@redhat.com>
13495
13496 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13497 gdb_test_multiple, tighten regexps and match symtabs and line
13498 tables incrementally.
13499
b129b0ca
LM
135002016-10-28 Luis Machado <lgustavo@codesourcery.com>
13501
13502 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13503 general.
13504
ecf45d2c
SL
135052016-10-25 Luis Machado <lgustavo@codesourcery.com>
13506
13507 * gdb.base/exec-invalid-sysroot.exp: New file.
13508
b8d38ee4
JK
135092016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13510
13511 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13512
f90fd8c2
JK
135132016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13514
13515 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13516
2d2476aa
MR
135172016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13518
2806dc7e
PA
13519 * gdb.base/killed-outside.exp: Remove $options from a call to
13520 `prepare_for_testing'.
2d2476aa 13521
e42b25a0
SM
135222016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13523
13524 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13525 Change test message.
13526
3ccdb432
SM
135272016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13528
13529 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13530 Update comment.
13531
5bad3170
SM
135322016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13533
13534 * gdb.trace/mi-trace-save.exp: New file.
13535
5ad9dba7
YQ
135362016-10-13 Yao Qi <yao.qi@linaro.org>
13537
13538 * gdb.base/code_elim.exp (get_var_address): Remove.
13539 * gdb.base/relocate.exp: Likewise.
13540 * gdb.base/shreloc.exp: Likewise.
13541 * lib/gdb.exp (get_var_address): New.
13542
62df7e21
YQ
135432016-10-13 Yao Qi <yao.qi@linaro.org>
13544
13545 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13546 floating point tests if $skip_float_test is false.
13547
4dac951e
LM
135482016-10-12 Luis Machado <lgustavo@codesourcery.com>
13549
13550 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13551 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13552 argc values.
13553 Add 1 to argc so we guarantee distinct initial/modified argc values.
13554
8f1a8fc4
JK
135552016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13556
13557 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13558
16c85b5d
JK
135592016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13560
13561 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13562 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13563 * gdb.arch/vsx-regs.exp: Likewise.
13564
1d0e042a
YQ
135652016-10-07 Yao Qi <yao.qi@linaro.org>
13566
13567 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13568
68dadef5
MM
135692016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13570
13571 * gdb.python/python.exp: Test decode_line("*0").
13572
33fa2c6e
DE
135732016-10-06 Doug Evans <dje@google.com>
13574
13575 * gdb.python/py-value.exp (test_value_creation): Add test for large
13576 unsigned 64-bit value.
13577
9c37b5ae
TT
135782016-10-06 Tom Tromey <tom@tromey.com>
13579
13580 * gdb.compile/compile.exp: Change java tests to rust.
13581 * gdb.base/setshow.exp: Change java tests to rust.
13582 * gdb.base/default.exp: Remove java from language list.
13583 * README (Examples): Update language example.
13584 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13585 test.
13586 * lib/gdb.exp (skip_java_tests): Remove.
13587 * lib/java.exp: Remove.
13588 * gdb.java: Remove.
13589
78b86327
MR
135902016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13591
13592 * gdb.arch/mips-fcr.exp: New test.
13593 * gdb.arch/mips-fcr.c: Source for the new test.
13594
7470adbb
MR
135952016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13596
13597 * gdb.base/solib-disc.exp: Use `standard_output_file'
13598 throughout.
13599
4a556533
PA
136002016-10-06 Pedro Alves <palves@redhat.com>
13601
13602 * gdb.base/jit-simple-dl.c: New file.
13603 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13604 * gdb.base/jit-simple.c: ... this.
13605 * gdb.base/jit-simple.exp (jit_run): Delete.
13606 (build_jit): New proc.
13607 (jit_test_reread): Recompile either the main program or the shared
13608 library, depending on what is being tested. Skip changing address
13609 if caller wants to. Compare before/after addresses. If testing
13610 standalone, explicitly load the binary. Test "maint info
13611 breakpoints".
13612 (top level): Add "standalone vs shared lib" and "change address"
13613 vs "same address" axes.
13614
5a122fbc
PA
136152016-10-06 Pedro Alves <palves@redhat.com>
13616
13617 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13618 call.
13619 (jit_run): Delete.
13620 (jit_test_reread): Use with_test_prefix. Reload the main binary
13621 explicitly. Compare the before/after addresses of the JIT
13622 descriptor.
13623
ee8da4b8
DE
136242016-08-15 Doug Evans <dje@google.com>
13625
13626 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13627 for single bitfields is bool.
13628 * gdb.xml/tdesc-regs.exp: Ditto.
13629
f389f6fe
JK
136302016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13631
13632 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13633
fdebf1a4
YQ
136342016-10-05 Yao Qi <yao.qi@linaro.org>
13635
13636 * lib/gdb.exp (support_complex_tests): Return zero if
13637 gdb_skip_float_test return true.
13638
9c36d954 136392016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13640 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
13641
13642 PR gdb/20487
13643 * gdb.mi/user-selected-context-sync.exp: New file.
13644 * gdb.mi/user-selected-context-sync.c: New file.
13645
4034d0ff 136462016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 13647 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
13648
13649 PR gdb/20487
13650 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13651 =thread-select-event check.
13652
a4297203
PB
136532016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13654
13655 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13656 the compulsory L operand changes.
13657 * gdb.arch/powerpc-power.s: Likewise.
13658
bb805577
JK
136592016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13660
13661 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13662 * gdb.base/jit-attach-pie.c: New file.
13663 * gdb.base/jit-attach-pie.exp: New file.
13664
6d61dee5
PA
136652016-09-28 Pedro Alves <palves@redhat.com>
13666
13667 * gdb.base/infcall-input.c: New file.
13668 * gdb.base/infcall-input.exp: New file.
13669
f73842fc
YQ
136702016-09-22 Yao Qi <yao.qi@linaro.org>
13671
13672 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13673 (gdb_exit): Rename it to ...
13674 (gdbserver_gdb_exit): ... Close GDBserver.
13675 (gdb_exit): New proc, call gdbserver_gdb_exit.
13676 (mi_gdb_exit): Likewise.
13677
90681dab
YQ
136782016-09-22 Yao Qi <yao.qi@linaro.org>
13679
13680 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13681 path.
13682 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13683 Remove duplication.
13684
9c211fd8
YQ
136852016-09-22 Yao Qi <yao.qi@linaro.org>
13686
13687 * lib/gdbserver-support.exp: Check the existence of
13688 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13689
ad0a504f
AK
136902016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13691
13692 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13693
36cf1806
TT
136942016-09-21 Tom Tromey <tom@tromey.com>
13695
13696 PR gdb/20604:
13697 * gdb.base/quit.exp: New file.
13698
74172ecf
SM
136992016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13700
13701 * .gitignore: New file.
13702
3d0ec882
MR
137032016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13704
13705 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13706 throughout.
13707
8193adea
AA
137082016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13709
13710 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13711
d41a5c09
JK
137122016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13713
13714 * gdb.cp/casts.cc (decltype): Move it ...
13715 (main): ... with its call to ...
13716 * gdb.cp/casts03.cc: ... a new file.
13717 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13718
d2dfe700
JK
137192016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13720
13721 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13722
e2a92b16
PB
137232016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13724
13725 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13726 and sync up the test with tests in gas/testsuite/gas/ppc.
13727 * gdb.arch/powerpc-power.exp: Likewise.
13728
49b4de64
JK
137292016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13730
13731 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13732
2c29df25
SDJ
137332016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13734 Jan Kratochvil <jan.kratochvil@redhat.com>
13735
13736 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13737 make m1's definition to be different from m2's. Use 'dummy' as an
13738 argument for probe 'two'.
13739
cc3c2846
JB
137402016-09-10 Jon Beniston <jon@beniston.com>
13741
13742 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13743 for sim target.
13744
e1b2624a
AA
137452016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13746
13747 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13748 variable declaration.
13749 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13750 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13751 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13752 received HWCAP as its argument.
13753
4295e285
PA
137542016-09-06 Pedro Alves <palves@redhat.com>
13755
13756 * gdb.base/new-ui-pending-input.c: New file.
13757 * gdb.base/new-ui-pending-input.exp: New file.
13758 * gdb.exp (clear_gdb_spawn_id): New procedure.
13759 (with_spawn_id): Check whether gdb_spawn_id exists before
13760 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13761 on exit.
13762
00d5215e
UW
137632016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13764
13765 * gdb.base/float128.c: New file.
13766 * gdb.base/float128.exp: Likewise.
13767 * gdb.base/floatn.c: Likewise.
13768 * gdb.base/floatn.exp: Likewise.
13769
a9ff5f12
UW
137702016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13771
13772 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13773
f245535c
PA
137742016-09-05 Pedro Alves <palves@redhat.com>
13775
13776 PR backtrace/19927
13777 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13778 unwinders are immediately called as side effect of "source" or
13779 "disable unwinder" commands.
13780 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13781
ae9cf263
YQ
137822016-09-02 Yao Qi <yao.qi@linaro.org>
13783
13784 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13785 is true and $type is "float" or "double".
13786
27aba047
YQ
137872016-09-02 Yao Qi <yao.qi@linaro.org>
13788
13789 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13790 true.
13791 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13792 * gdb.base/call-rt-st.exp: Likewise.
13793 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13794 return value instead of gdb,skip_float_test.
13795 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13796 (do_function_calls): Use its return value instead of
13797 gdb,skip_float_test.
13798 * gdb.base/finish.exp: Likewise.
13799 * gdb.base/funcargs.exp: Likewise.
13800 * gdb.base/return.exp: Likewise.
13801 * gdb.base/return2.exp: Likewise.
13802 * gdb.base/varargs.exp: Likewise.
13803 * lib/gdb.exp (gdb_skip_float_test): Change it to
13804 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13805
5af962df
AA
138062016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13807
13808 * gdb.multi/tids.exp: Test "thread apply all".
13809
7fac6910
JK
138102016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13811
13812 * gdb.base/default.exp (tty): Remove.
13813
bb1fe4ac
KB
138142016-08-24 Kevin Buettner <kevinb@redhat.com>
13815
2806dc7e
PA
13816 * gdb.python/py-recurse-unwind.c: New file.
13817 * gdb.python/py-recurse-unwind.py: New file.
13818 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 13819
0a1ddfa6
SM
138202016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13821
13822 * gdb.base/set-inferior-tty.exp: New file.
13823 * gdb.base/set-inferior-tty.c: New file.
13824
d9de1fe3
PA
138252016-08-23 Pedro Alves <palves@redhat.com>
13826
13827 PR gdb/20494
13828 * gdb.base/new-ui-echo.c: New file.
13829 * gdb.base/new-ui-echo.exp: New file.
13830
e9d9abd7
YQ
138312016-08-23 Yao Qi <yao.qi@linaro.org>
13832
13833 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13834 gdbserver_spawn.
13835 * gdb.server/connect-without-multi-process.exp (do_test):
13836 Likewise.
13837
3589529e
YQ
138382016-08-23 Yao Qi <yao.qi@linaro.org>
13839
13840 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13841 standalone_txt. Delete gdb_txt and standalone_txt on host
13842 and target. Spawn the binary on target. Copy files from
13843 target to host.
13844
6bb90213
PA
138452016-08-22 Pedro Alves <palves@redhat.com>
13846
13847 PR gdb/20505
13848 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13849 with_test_prefix. Factor out bits to ...
13850 (test_no_vdso): ... this new procedure.
13851
20c2c024
CL
138522016-08-19 Carl Love <cel@us.ibm.com>
13853
13854 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13855 maintaining separate logic for constructing the output path.
13856 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13857 * gdb.arch/ppc-dfp.exp: Likewise.
13858 * gdb.arch/ppc-fp.exp: Likewise.
13859 * gdb.arch/vsx-regs.exp: Likewise.
13860 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13861 binprefix for generating the additional binary files.
13862
0646e07d
PA
138632016-08-19 Pedro Alves <palves@redhat.com>
13864
13865 * gdb.trace/mi-trace-frame-collected.exp
13866 (test_trace_frame_collected): On x32, expect two registers.
13867
46da9242
CL
138682016-08-18 Carl Love <cel@us.ibm.com>
13869
13870 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13871 and sync up the test with tests in gas/testsuite/gas/ppc.
13872 * gdb.arch/powerpc-power.exp: Likewise.
13873
eb2332d7
SM
138742016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13875
13876 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13877 expected error message.
13878
63c61e04
SM
138792016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13880
13881 * gdb.multi/remove-inferiors.exp: New file.
13882 * gdb.multi/remove-inferiors.c: New file.
13883
7b17065f
YQ
138842016-08-12 Yao Qi <yao.qi@linaro.org>
13885
13886 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13887 argument list.
13888
01d3dedf
PA
138892016-08-10 Pedro Alves <palves@redhat.com>
13890
13891 PR gdb/19187
13892 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13893 setup_kfails.
13894
3eb7562a
PA
138952016-08-09 Pedro Alves <palves@redhat.com>
13896 Simon Marchi <simon.marchi@ericsson.com>
13897
13898 PR gdb/20418
13899 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13900 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13901
80614914
PA
139022016-08-09 Pedro Alves <palves@redhat.com>
13903
13904 PR mi/20431
13905 * gdb.mi/mi-cmd-error.exp: New file.
13906
f348d89a
PA
139072016-08-09 Pedro Alves <palves@redhat.com>
13908
13909 PR gdb/18653
13910 * gdb.base/signals-state-child.c: New file.
13911 * gdb.base/signals-state-child.exp: New file.
13912 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13913
e5ca03b4
PA
139142016-08-09 Pedro Alves <palves@redhat.com>
13915
13916 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13917
282a0691
TT
139182016-08-03 Tom Tromey <tom@tromey.com>
13919
13920 PR python/18565:
13921 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13922
41bfcd63
YQ
139232016-08-01 Yao Qi <yao.qi@linaro.org>
13924
13925 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13926 variable mode to "multi-process" if $multi_process is 1, otherwise
13927 set it to "single-process".
13928
e3465b24
YQ
139292016-08-01 Yao Qi <yao.qi@linaro.org>
13930
13931 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13932 * gdb.cp/cpexprs.exp: Likewise.
13933 * gdb.cp/m-static.exp: Likewise.
13934
0b31a4bc
TT
139352016-07-26 Tom Tromey <tom@tromey.com>
13936
13937 PR python/20190:
13938 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13939 test.
13940
e0461dbb
MM
139412016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13942
13943 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13944 selecting assembly source files.
13945 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13946 assembly source files.
13947 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13948 assembly source files.
13949 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13950 selecting assembly source files.
13951
8194e927
SM
139522016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13953
13954 * gdb.base/new-ui.exp (do_test_invalid_args): New
13955 procedure.
13956
c0272db5
TW
139572016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13958
13959 * gdb.btrace/reconnect.c: New file.
13960 * gdb.btrace/reconnect.exp: New file.
13961
e3487908
GKB
139622016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13963
13964 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13965 to test_catch_syscall_group.
13966 (test_catch_syscall_group): New.
13967
12df5c00
TT
139682016-07-21 Tom Tromey <tom@tromey.com>
13969
13970 * gdb.rust/simple.rs (main): Use empty struct expression.
13971 * gdb.rust/simple.exp: Add tests for empty struct expression.
13972
bae62ee2
YQ
139732016-07-21 Yao Qi <yao.qi@linaro.org>
13974
13975 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13976 if gdb_skip_xml_test is true on some targets.
13977
b1b53fb3
YQ
139782016-07-21 Yao Qi <yao.qi@linaro.org>
13979
13980 * gdb.server/solib-list.exp: Unset last_loaded_file.
13981
027d97f8
JK
139822016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13983
13984 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13985 "step into captured_main (args)".
13986
7674d381
JK
139872016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13988
13989 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13990
72b5d099
JK
139912016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13992
13993 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13994
1f960ced
PA
139952016-07-19 Pedro Alves <palves@redhat.com>
13996
13997 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13998 * gdb.opt/inline-bt.exp: Likewise.
13999 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14000 additional_flags=-Winline.
14001 * gdb.opt/inline-locals.exp: Likewise.
14002 * gdb.opt/inline-markers.c (ATTR): Define.
14003 (inlined_fn): Use it.
14004
f25827c1
YQ
140052016-07-19 Yao Qi <yao.qi@linaro.org>
14006
14007 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14008 (test_with_self): Remove some code. Remove argument executable.
14009 (top-level): Use do_self_tests.
14010
37539ebe
DB
140112016-07-15 Zachary Welch <zwelch@codesourcery.com>
14012 Don Breazeal <donb@codesourcery.com>
14013
14014 * gdb.base/maint.exp: Escape paths used in regular expressions.
14015 * gdb.stabs/weird.exp: Likewise.
14016
dac790e1
TT
140172016-07-13 Tom Tromey <tom@tromey.com>
14018
14019 PR python/15620, PR python/18620:
14020 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14021 (test_bkpt_events): New procs.
14022
93daf339
TT
140232016-07-13 Tom Tromey <tom@tromey.com>
14024
14025 PR python/17698:
14026 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14027 test.
14028 (test_watchpoints): Likewise.
14029 (test_bkpt_pending): New proc.
14030
6571a381
TT
140312016-07-13 Tom Tromey <tom@tromey.com>
14032
14033 PR cli/18053:
14034 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14035 completion test.
14036
e8732474
JK
140372016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14038
14039 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14040 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14041 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14042 f_label.
14043 (g): Rename g_end_lbl to g_label.
14044 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14045 low_pc and high_pc.
14046 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14047
e0f3fd7c
TT
140482016-07-12 Tom Tromey <tom@tromey.com>
14049
14050 PR python/19293:
14051 * gdb.python/py-unwind-maint.exp: Update tests.
14052
3cfe46b6
YQ
140532016-07-12 Yao Qi <yao.qi@linaro.org>
14054
14055 * lib/selftest-support.exp (selftest_setup): Match the output
14056 when captured_main is inlined.
14057
4f19a0e6
WT
140582016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14059
14060 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14061 New variables.
14062 (print this%a, print this%b, print this): New tests.
14063 * gdb.fortran/derived-types.f90 (this): New object and
14064 initialization.
14065
986cf455
SM
140662016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14067
14068 * gdb.ada/arraydim.exp: Remove extra directory level in build
14069 directory.
14070
f0464b23
SM
140712016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14072
14073 * lib/ada.exp: Remove extra directory level in build directory.
14074 * gdb.ada/cond_lang.exp: Likewise.
14075 * gdb.ada/exec_changed.exp: Likewise.
14076 * gdb.ada/lang_switch.exp: Likewise.
14077
42d94011
MG
140782016-07-06 Manish Goregaokar <manish@mozilla.com>
14079
2806dc7e
PA
14080 * simple.rs: Add test for raw pointer subscripting.
14081 * simple.exp: Add test expectations.
42d94011 14082
647c264c
YQ
140832016-07-05 Yao Qi <yao.qi@linaro.org>
14084
14085 * gdb.mi/mi-reverse.exp: Match =record-started output.
14086
20aa2c60
PA
140872016-07-01 Pedro Alves <palves@redhat.com>
14088
14089 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14090 procedure.
14091 (jit_reader_test): Test the jit reader's unwinder.
14092 * gdb.base/jithost.c (jit_function_00_code): New global.
14093 (main): Use memcpy to fill in the mmapped code, instead of poking
14094 bytes manually here.
14095 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14096 value.
14097 (read_debug_info): Save the function's range.
14098 (read_sp): New function.
14099 (unwind_frame): Use it. Also unwind RBP.
14100 (get_frame_id): Use read_sp.
14101 (gdb_init_reader): Use calloc instead of malloc.
14102 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14103 parameter. Use gdb_test_multiple.
14104
ced2dffb
PA
141052016-07-01 Pedro Alves <palves@redhat.com>
14106 Antoine Tremblay <antoine.tremblay@ericsson.com>
14107
14108 * gdb.threads/process-dies-while-detaching.c: New file.
14109 * gdb.threads/process-dies-while-detaching.exp: New file.
14110
63000888
PA
141112016-07-01 Pedro Alves <palves@redhat.com>
14112
14113 * gdb.multi/watchpoint-multi-exit.c: New file.
14114 * gdb.multi/watchpoint-multi-exit.exp: New file.
14115
038d4868
PA
141162016-06-30 Pedro Alves <palves@redhat.com>
14117
14118 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14119 unset inferior_spawn_id.
14120
994e9c83
PA
141212016-06-30 Pedro Alves <palves@redhat.com>
14122
14123 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14124 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14125
e5653468
YQ
141262016-06-29 Yao Qi <yao.qi@linaro.org>
14127
14128 * gdb.base/return.c: Add copyright header.
14129
803b47e5
TT
141302016-06-29 Tom Tromey <tom@tromey.com>
14131
14132 PR python/20129:
14133 * gdb.python/py-framefilter.exp: Add tests for setting priority
14134 and disabling of non-existent frame filter.
14135
28244707
YQ
141362016-06-29 Yao Qi <yao.qi@linaro.org>
14137
14138 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14139 0x0f07ff.
14140
a31d2f06
YQ
141412016-06-28 Yao Qi <yao.qi@linaro.org>
14142
14143 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14144 triplets. Start gdb, execute catch syscall, and continue. Check
14145 gdb's output to determine catch syscall is supported.
14146
921d8f54
MG
141472016-06-27 Manish Goregaokar <manish@mozilla.com>
14148
25d49b86
PA
14149 * gdb.rust/simple.rs: Add test for returning unit in a function.
14150 * gdb.rust/simple.exp: Add expectation for functions returning
14151 unit.
921d8f54 14152
f4952523
PMR
141532016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14154
14155 * gdb.python/py-breakpoint-create-fail.c,
14156 gdb.python/py-breakpoint-create-fail.exp,
14157 gdb.python/py-breakpoint-create-fail.py: New testcase.
14158
fccb08f8
MG
141592016-06-25 Manish Goregaokar <manish@mozilla.com>
14160
14161 PR gdb/20239
14162 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
14163 * gdb.rust/simple.exp: Add test expectations for new NonZero
14164 tests.
fccb08f8 14165
6b850546
DT
141662016-06-24 David Taylor <dtaylor@emc.com>
14167
14168 * gdb.base/offsets.exp: New file.
14169 * gdb.base/offsets.c: New file.
14170
17621150
TT
141712016-06-23 Tom Tromey <tom@tromey.com>
14172
14173 PR gdb/16483:
14174 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14175 before any filters are loaded.
14176
04d59df6
WT
141772016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14178
14179 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14180 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14181 structs.
14182 * gdb.fortran/derived-type-function.exp: New file.
14183 * gdb.fortran/derived-type-function.f90: New file.
14184
14185
ac69f786
PA
141862016-06-21 Pedro Alves <palves@redhat.com>
14187
14188 * gdb.base/new-ui.exp: New file.
14189 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14190 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14191 (with_spawn_id): New procedure.
14192
49940788
PA
141932016-06-21 Pedro Alves <palves@redhat.com>
14194
14195 * gdb.mi/mi-exec-run.exp: New file.
14196
ef274d26
PA
141972016-06-21 Pedro Alves <palves@redhat.com>
14198
14199 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14200 breakpoint command's output on the main UI.
14201 (test_break): New procedure, factored out from calls in the top
14202 level.
14203 (top level): Use foreach_with_prefix to test MI as main UI and as
14204 separate UI.
14205
468afe6c
PA
142062016-06-21 Pedro Alves <palves@redhat.com>
14207
14208 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14209 (test_awatch_creation_and_listing)
14210 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14211 Remove 'type' parameter.
14212 (test_watchpoint_all): New parameter mi_mode. Remove
14213 with_test_prefix.
14214 (top level): Use foreach_with_prefix, and add main/separate UI MI
14215 testing axis.
14216
51f77c37
PA
142172016-06-21 Pedro Alves <palves@redhat.com>
14218
14219 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14220 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14221 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14222 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14223 (gdb_main_spawn_id, mi_spawn_id): Declare and
14224 comment.
14225 (mi_create_inferior_pty): New procedure,
14226 factored out from default_mi_gdb_start.
14227 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14228 procedures.
14229 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14230 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14231 Use mi_create_inferior_pty.
14232 (mi_gdb_start): Use eval to pass down args list.
14233
8980e177
PA
142342016-06-21 Pedro Alves <palves@redhat.com>
14235
14236 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14237 * gdb.opt/inline-cmds.exp: Add MI tests.
14238
f38d3ad1
PA
142392016-06-21 Pedro Alves <palves@redhat.com>
14240
14241 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14242
45db7c09
PA
142432016-06-21 Pedro Alves <palves@redhat.com>
14244
14245 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14246 (top level): Use it instead of mi_execute_to.
14247
5a069ab3
PA
142482016-06-21 Pedro Alves <palves@redhat.com>
14249
14250 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14251 (cont_handler_str): New.
14252 (signal_stop_handler): Set stop_handler_str instead of printing to
14253 stdout.
14254 (continue_handler): Set cont_handler_str instead of printing to
14255 stdout.
14256 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14257 mi_send_resuming_command. Print stop_handler_str and
14258 cont_handler_str instead of expecting the python events print
14259 directly.
14260
2838cc1d
SD
142612016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14262
14263 * gdb.base/jit-reader.exp: New file.
14264 * gdb.base/jithost.c: New file.
14265 * gdb.base/jithost.h: New file.
14266 * gdb.base/jitreader.c : New file.
14267 * gdb.base/jit-protocol.h: New file.
14268
21a77091
YQ
142692016-06-17 Yao Qi <yao.qi@linaro.org>
14270
14271 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14272 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14273 and detach-on-fork. Adjust tests.
14274 (top level): Invoke break_cond_on_syscall with combinations of
14275 syscall, follow-fork-mode and detach-on-fork.
14276
f50bf8e5
YQ
142772016-06-17 Yao Qi <yao.qi@linaro.org>
14278
14279 * gdb.base/step-over-exit.c: New.
14280 * gdb.base/step-over-exit.exp: New.
14281
a28d8e50
YTL
142822016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14283
14284 * gdb.base/float.exp: Add target check for nds32*-*-*.
14285 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14286
cad8e26d
AB
142872016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14288
14289 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14290 for unsupported target features.
14291 * gdb.base/call-rt-st.exp: Likewise.
14292 * gdb.base/call-sc.exp: Likewise.
14293 * gdb.base/call-signal-resume.exp: Likewise.
14294 * gdb.base/call-strs.exp: Likewise.
14295 * gdb.base/callexit.exp: Likewise.
14296 * gdb.base/callfuncs.exp: Likewise.
14297 * gdb.base/nodebug.exp: Likewise.
14298 * gdb.base/printcmds.exp: Likewise.
14299 * gdb.base/ptype.exp: Likewise.
14300 * gdb.base/structs.exp: Likewise.
14301 * gdb.base/unwindonsignal.exp: Likewise.
14302 * gdb.cp/gdb2495.exp: Likewise.
14303 * gdb.cp/templates.exp: Likewise.
14304 * gdb.cp/virtfunc.exp: Likewise.
14305 * gdb.threads/hand-call-in-threads.exp: Likewise.
14306 * gdb.threads/interrupted-hand-call.exp: Likewise.
14307 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14308
347dc102
TT
143092016-06-10 Tom Tromey <tom@tromey.com>
14310
14311 PR rust/20110:
14312 * gdb.rust/expr.exp: Add test for integer constant larger than
14313 i32.
14314
5e13cf25
BH
143152016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14316
14317 * gdb.fortran/nested-funcs.exp: New.
14318 * gdb.fortran/nested-funcs.f90: New.
14319
bb556f1f
TK
143202016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14321
14322 * gdb.base/examine-backward.c: New file.
14323 * gdb.base/examine-backward.exp: New file.
14324
38b022b4
SM
143252016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14326
14327 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14328 matching.
14329
1b40ec05
TT
143302016-06-02 Tom Tromey <tom@tromey.com>
14331
14332 PR python/18984:
14333 * gdb.python/py-shared.exp: Add solib_name test.
14334
193bd378
SM
143352016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14336
14337 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14338
3326303b
MG
143392016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14340
14341 PR c++/19893
14342 * gdb.dwarf2/implref.exp: Rename to...
14343 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14344 * gdb.dwarf2/implref-array.c: New file.
14345 * gdb.dwarf2/implref-array.exp: Likewise.
14346 * gdb.dwarf2/implref-global.c: Likewise.
14347 * gdb.dwarf2/implref-global.exp: Likewise.
14348 * gdb.dwarf2/implref-struct.c: Likewise.
14349 * gdb.dwarf2/implref-struct.exp: Likewise.
14350
825c8ef2
AT
143512016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14352
14353 * gdb.trace/trace-condition.exp: Add 64bit tests.
14354
2320162a
AT
143552016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14356
14357 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14358 bits types.
14359 (main): Adapt to 8 to 64 bits types.
14360 * gdb.trace/trace-condition.exp: Add new tests.
14361
a7818233
AT
143622016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14363
14364 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14365
0d336466
AT
143662016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14367
14368 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14369 Move condition tests...
14370 * gdb.trace/trace-condition.exp: Here.
14371
7faeb45a
AT
143722016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14373
14374 * gdb.trace/trace-condition.exp: Add counter-case tests.
14375
e385593e
JK
143762016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14377
14378 PR c++/15231
14379 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14380 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14381
744608cc
PA
143822016-05-27 Pedro Alves <palves@redhat.com>
14383
14384 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14385 New procedure.
14386 (top level): Call it, and bail out of DejaGnu is known to be bad.
14387
ac775bf4
AB
143882016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14389
14390 * gdb.base/whatis.c: Extend the test case.
14391 * gdb.base/whatis.exp: Add additional tests.
14392
2bbad2ea
BH
143932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14394
14395* gdb.fortran/type.f90: Add pointer variable.
14396* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14397
8b70175d
BH
143982016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14399
14400 * gdb.fortran/vla-type.exp: Fix testcase name.
14401
86d8a848
BH
144022016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14403
14404 * gdb.fortran/vla-type.exp: Access elements in nested structs.
14405
e188eb36
BH
144062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14407
14408 * gdb.fortran/type.f90: Add nested structures.
14409 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
14410 * gdb.fortran/derived-type.exp: Adapt expected output.
14411 * gdb.fortran/vla-type.exp: Adapt expected output.
14412
9b2db1fd
BH
144132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14414
14415 * gdb.fortran/whatis_type.exp: Adapt expected output.
14416
72b17055
BH
144172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14418
14419 * gdb.fortran/print_type.exp: Fix expected output.
14420 * gdb.fortran/whatis_type.exp: Fix expected output.
14421
3cd81d8d
BH
144222016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14423
14424 * gdb.fortran/whatis_type.exp: Use multi_line.
14425
ddae9462
TT
144262016-05-24 Tom Tromey <tom@tromey.com>
14427
14428 PR python/17386:
14429 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14430 use value as an index.
14431
1957f6b8
TT
144322016-05-23 Tom Tromey <tom@tromey.com>
14433
14434 PR python/17981:
14435 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14436 no-breakpoint case.
14437
026a9174
PA
144382016-05-24 Pedro Alves <palves@redhat.com>
14439
14440 PR gdb/19828
14441 * gdb.threads/clone-attach-detach.c: New file.
14442 * gdb.threads/clone-attach-detach.exp: New file.
14443
e70a7231
FR
144442016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14445
14446 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14447
0f6ed0e0
TT
144482016-05-23 Tom Tromey <tom@tromey.com>
14449
14450 PR python/19438, PR python/18393:
14451 * gdb.python/py-progspace.exp: Add "dir" test.
14452 * gdb.python/py-objfile.exp: Add "dir" test.
14453
ffd19d61
YQ
144542016-05-23 Yao Qi <yao.qi@linaro.org>
14455
14456 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14457 * gdb.arch/thumb2-it.exp: Likewise.
14458
9e8f9b05
SM
144592016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14460
14461 * gdb.mi/mi-threads-interrupt.c: New file.
14462 * gdb.mi/mi-threads-interrupt.exp: New file.
14463
61c6156d
SM
144642016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14465
14466 PR gdb/18077
14467 * gdb.mi/mi-async-run.exp: New file.
14468 * gdb.mi/mi-async-run.c: New file.
14469
67218854
TT
144702016-05-17 Tom Tromey <tom@tromey.com>
14471 Manish Goregaokar <manishsmail@gmail.com>
14472
14473 * lib/rust-support.exp: New file.
14474 * lib/gdb.exp (skip_rust_tests): New proc.
14475 (build_executable_from_specs): Handle rust.
14476 * lib/future.exp (gdb_find_rustc): New proc.
14477 (gdb_default_target_compile): Handle rust.
14478 * gdb.rust/expr.exp: New file.
14479 * gdb.rust/generics.exp: New file.
14480 * gdb.rust/generics.rs: New file.
14481 * gdb.rust/methods.exp: New file.
14482 * gdb.rust/methods.rs: New file.
14483 * gdb.rust/modules.exp: New file.
14484 * gdb.rust/modules.rs: New file.
14485 * gdb.rust/simple.exp: New file.
14486 * gdb.rust/simple.rs: New file.
14487
c44af4eb
TT
144882016-05-17 Tom Tromey <tom@tromey.com>
14489
14490 * gdb.base/default.exp (set language): Add rust.
14491
dcd1f979
TT
144922016-05-17 Tom Tromey <tom@tromey.com>
14493
14494 * gdb.gdb/unittest.exp: New file.
14495
155b7f57
YQ
144962016-05-16 Yao Qi <yao.qi@linaro.org>
14497
14498 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14499 shell_prompt. Update shell_prompt_re.
14500
8ddd5a6c
DE
145012016-05-12 Doug Evans <dje@google.com>
14502
14503 PR symtab/19999
14504 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14505 $options when building executable.
14506 * gdb.dwarf2/fission-loclists-pie.S: New file.
14507 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14508
02e370d9
SM
145092016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14510
14511 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
14512 of [is_remote target],
14513
8929ad8b
SM
145142016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14515
14516 * lib/gdb.exp (use_gdb_stub): New procedure.
14517
6c447423
DE
145182016-05-03 Yunlian Jiang <yunlian@google.com>
14519 Doug Evans <dje@google.com>
14520
14521 PR symtab/19914
14522 * gdb.dwarf2/dwp-sepdebug.c: New file.
14523 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14524
444e826c
SM
145252016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14526
14527 * gdb.base/detach.exp: Remove is_remote check.
14528
740feeaa
SM
145292016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14530
14531 * gdb.base/annota-input-while-running.exp: Don't check for
14532 [is_remote target]. Enable annotations after running to main.
14533 Remove unused "set test..." line.
14534
9080ac9d
SM
145352016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14536
14537 * gdb.trace/trace-enable-disable.exp: New file.
14538 * gdb.trace/trace-enable-disable.c: New file.
14539
952ebca5
SM
145402016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14541
14542 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14543 use it in info sharedlibrary test.
14544 * gdb.trace/ftrace-lock.exp: Likewise.
14545 * gdb.trace/ftrace.exp: Likewise.
14546 * gdb.trace/range-stepping.exp: Likewise.
14547 * gdb.trace/trace-break.exp: Likewise.
14548 * gdb.trace/trace-condition.exp: Likewise.
14549 * gdb.trace/trace-mt.exp: Likewise.
14550
d9019901
SM
145512016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14552
14553 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14554 (gdb_load_shlib): ... this.
14555 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14556 gdb_load_shlib.
14557 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14558 * gdb.base/ctxobj.exp: Likewise.
14559 * gdb.base/dprintf-pending.exp: Likewise.
14560 * gdb.base/dso2dso.exp: Likewise.
14561 * gdb.base/fixsection.exp: Likewise.
14562 * gdb.base/gcore-relro.exp: Likewise.
14563 * gdb.base/gdb1555.exp: Likewise.
14564 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14565 * gdb.base/gnu-ifunc.exp: Likewise.
14566 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14567 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14568 * gdb.base/pending.exp: Likewise.
14569 * gdb.base/print-file-var.exp: Likewise.
14570 * gdb.base/print-symbol-loading.exp: Likewise.
14571 * gdb.base/shlib-call.exp: Likewise.
14572 * gdb.base/shreloc.exp: Likewise.
14573 * gdb.base/so-impl-ld.exp: Likewise.
14574 * gdb.base/solib-disc.exp: Likewise.
14575 * gdb.base/solib-nodir.exp: Likewise.
14576 * gdb.base/solib-overlap.exp: Likewise.
14577 * gdb.base/solib-symbol.exp: Likewise.
14578 * gdb.base/solib-weak.exp (do_test): Likewise.
14579 * gdb.base/sym-file.exp: Likewise.
14580 * gdb.base/symtab-search-order.exp: Likewise.
14581 * gdb.base/type-opaque.exp: Likewise.
14582 * gdb.base/unload.exp: Likewise.
14583 * gdb.base/watchpoint-solib.exp: Likewise.
14584 * gdb.compile/compile.exp: Likewise.
14585 * gdb.cp/gdb2384.exp: Likewise.
14586 * gdb.cp/infcall-dlopen.exp: Likewise.
14587 * gdb.cp/re-set-overloaded.exp: Likewise.
14588 * gdb.fortran/library-module.exp: Likewise.
14589 * gdb.opt/solib-intra-step.exp: Likewise.
14590 * gdb.python/py-finish-breakpoint.exp: Likewise.
14591 * gdb.python/py-shared.exp: Likewise.
14592 * gdb.reverse/solib-precsave.exp: Likewise.
14593 * gdb.reverse/solib-reverse.exp: Likewise.
14594 * gdb.server/solib-list.exp: Likewise.
14595 * gdb.threads/dlopen-libpthread.exp: Likewise.
14596 * gdb.threads/tls-shared.exp: Likewise.
14597 * gdb.threads/tls-so_extern.exp: Likewise.
14598 * gdb.trace/change-loc.exp: Likewise.
14599 * gdb.trace/ftrace-lock.exp: Likewise.
14600 * gdb.trace/ftrace.exp: Likewise.
14601 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14602 * gdb.trace/pending.exp: Likewise.
14603 * gdb.trace/range-stepping.exp: Likewise.
14604 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14605 (strace_info_marker): Likewise.
14606 (strace_probe_marker): Likewise.
14607 (strace_trace_on_same_addr): Likewise.
14608 (strace_trace_on_diff_addr): Likewise.
14609 * gdb.trace/trace-break.exp: Likewise.
14610 * gdb.trace/trace-condition.exp: Likewise.
14611 * gdb.trace/trace-mt.exp: Likewise.
14612
fca4cfd9
SM
146132016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14614
14615 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14616 result of gdb_remote_download.
14617 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14618 * gdb.base/dso2dso.exp: Likewise.
14619 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14620 * gdb.base/print-file-var.exp: Likewise.
14621 * gdb.base/shlib-call.exp: Likewise.
14622 * gdb.base/shreloc.exp: Likewise.
14623 * gdb.base/solib-overlap.exp: Likewise.
14624 * gdb.base/solib-weak.exp (do_test): Likewise.
14625 * gdb.base/unload.exp: Likewise.
14626
11cf4ffb
YQ
146272016-04-27 Yao Qi <yao.qi@linaro.org>
14628
14629 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14630 exists.
14631
3e2e34f8
KB
146322016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14633
14634 * vla-type.exp: Print structure from toplevel.
14635
8f07e298
BH
146362016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14637
14638 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14639 of dynamic types.
14640 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14641 of dynamic types.
14642
9920b434
BH
146432016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14644
14645 * gdb.fortran/vla-type.f90: New file.
14646 * gdb.fortran/vla-type.exp: New file.
14647
f3abeff5
YQ
146482016-04-25 Yao Qi <yao.qi@linaro.org>
14649
14650 * gdb.base/branch-to-self.c: New file.
14651 * gdb.base/branch-to-self.exp: New file.
14652
0a5d52f0
YQ
146532016-04-22 Yao Qi <yao.qi@linaro.org>
14654
14655 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14656 more after $hex.
14657
495346f6
YQ
146582016-04-22 Yao Qi <yao.qi@linaro.org>
14659
14660 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14661 * gdb.base/annota3.exp: Likewise.
14662
4a7e075c
YQ
146632016-04-22 Yao Qi <yao.qi@linaro.org>
14664
14665 * gdb.reverse/step-precsave.exp: Do one step and test program
14666 stops in "callee" and do multiple steps until program goes out
14667 of "callee".
14668 * gdb.reverse/step-reverse.exp: Likewise.
14669
5b061e98
YQ
146702016-04-22 Yao Qi <yao.qi@linaro.org>
14671
14672 * gdb.trace/signal.exp: Also pass if
14673 $tracepoint_hits($i) > $iterations.
14674
5c5dc57f
YQ
146752016-04-22 Yao Qi <yao.qi@linaro.org>
14676
14677 * gdb.trace/signal.c: New file.
14678 * gdb.trace/signal.exp: New file.
14679
a55411b9
DE
146802016-04-19 Doug Evans <xdje42@gmail.com>
14681
14682 * gdb.base/bad-file.exp: New file.
14683
a22df60a
MG
146842016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14685
14686 * gdb.dwarf2/implref.exp: New file.
14687
0c13f7e5
BH
146882016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14689
14690 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14691 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14692 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14693 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14694 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14695 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14696 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14697 * lib/fortran.exp (fortran_int4): New procedure.
14698 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14699 (fortran_logical4): Likewise.
14700
9b9b09e9
BH
147012016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14702
14703 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14704
a14d1f4d
BH
147052016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14706
14707 * lib/compiler.c: Add Intel specific preprocessor macros.
14708 * lib/compiler.cc: Likewise.
25d49b86 14709
7d49b1d0
LM
147102016-04-13 Luis Machado <lgustavo@codesourcery.com>
14711
14712 * gdb.server/connect-with-no-symbol-file.c: New file.
14713 * gdb.server/connect-with-no-symbol-file.exp: New file.
14714
8392fa22
SM
147152016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14716
14717 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14718
8c4c4aeb
SM
147192016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14720
14721 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14722 standard output directory.
14723
45e3745e
AT
147242016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14725
14726 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14727
e26b7e41
MM
147282016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14729
14730 * gdb.btrace/instruction_history.c (loop): Add declaration.
14731
8ce09462
AT
147322016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14733
14734 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14735
2e88a1ea
SM
147362016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14737
14738 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14739 parentheses to print.
14740 (continue_handler): Likewise.
14741
f48e22e3
SM
147422016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14743
14744 * gdb.server/solib-list.exp: Remove is_remote check.
14745 Pass shlib= to gdb_compile. Don't link shared library with
14746 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14747 Run binary filename through "readlink -f" on the target.
14748
096be756
PA
147492016-04-08 Pedro Alves <palves@redhat.com>
14750
14751 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14752 interpreter filename as argument to gdbserver_spawn.
14753 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14754 Return empty if $last_loaded_file does not exist.
14755
06500533
JK
147562016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14757
14758 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14759 * gdb.base/jit-main.c: Use exit after usage.
14760
2d35e871
JK
147612016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14762
14763 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14764 GDBHISTSIZE prior to the tests.
14765 * gdb.base/gdbinit-history.exp: Likewise.
14766
147672016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
14768
14769 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14770 instead of build_executable. Use gdb_load_shlibs.
14771
c8064e7e
YQ
147722016-04-07 Yao Qi <yao.qi@linaro.org>
14773
14774 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14775 Execute "si" command.
14776
bde47561
YQ
147772016-04-07 Yao Qi <yao.qi@linaro.org>
14778
14779 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14780 number instead of the comments on some line.
14781
b16f8a3b
DB
147822016-04-06 Don Breazeal <donb@codesourcery.com>
14783
14784 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14785 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14786
c2f901df
SM
147872016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14788
14789 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14790 standard_output_file. Remove unused binfile variable.
14791
ac17fda0
CU
147922016-04-05 Catalin Udma <catalin.udma@freescale.com>
14793
14794 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14795 * gdb.python/py-mi-objfile.exp: Match "list main" output
14796 in console format.
14797
03a8c4df
SM
147982016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14799
14800 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14801 absolute.
14802
6e774b13
SM
148032016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14804
14805 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14806 absolute.
14807 * gdb.trace/ftrace.exp: Likewise.
14808 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14809 targets as well.
14810 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14811 (gdb_load_shlibs): Copy libraries to test directory when testing
14812 natively. Only set solib-search-path if testing remotely.
14813 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14814
7817ea46
SM
148152016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14816
14817 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14818 gdb_download. Use it even if the target is not remote.
14819 * gdb.base/jit.exp (compile_jit_test): Likewise.
14820 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14821 output directory if the destination board is local, otherwise use
14822 the standard remote_download from DejaGnu.
14823 (gdb_download): Remove.
14824 (gdb_load_shlibs): Use gdb_remote_download instead of
14825 gdb_download.
14826 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14827 Use gdb_remote_download instead of gdb_download. Use it even if
14828 the target is not remote.
14829 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14830 instead of gdb_download.
14831
7beb7f68
SM
148322016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14833
14834 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14835 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14836 run.
14837
cc63428a
AV
148382016-04-01 Artemiy Volkov <artemiyv@acm.org>
14839
14840 PR gdb/19820
14841 * gdb.base/printcmds.exp: Add artificial arrays tests.
14842
64cdf930
PA
148432016-03-31 Pedro Alves <palves@redhat.com>
14844
14845 PR gdb/19858
14846 * gdb.base/jit-main.c: Include unistd.h.
14847 (ATTACH): Define to 0 if not already defined.
14848 (wait_for_gdb, mypid): New globals.
14849 (WAIT_FOR_GDB): New macro.
14850 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14851 some breakpoint locations.
14852 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14853 New procedures.
14854 (one_jit_test): Add REATTACH parameter, and handle it. Use
14855 continue_to_test_location.
14856 (top level): Test attach, and adjusts calls to one_jit_test.
14857
40dea8cb
PA
148582016-03-31 Pedro Alves <palves@redhat.com>
14859
14860 PR gdb/19858
14861 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14862 BINSUFFIX parameter, and handle it.
14863 (top level): Adjust calls compile_jit_test.
14864
e7ea3ec7
CU
148652016-03-31 Catalin Udma <catalin.udma@freescale.com>
14866
14867 PR python/19743
14868 * gdb.python/py-mi-events-gdb.py: New file.
14869 * gdb.python/py-mi-events.c: New file.
14870 * gdb.python/py-mi-events.exp: New file.
14871
e6359af3
YQ
148722016-03-30 Yao Qi <yao.qi@linaro.org>
14873
14874 * gdb.reverse/until-precsave.exp: Match function name only.
14875 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14876 Move malloc to a condition block.
14877 * gdb.reverse/until-reverse.exp: Match function name only.
14878
a4105d04
MK
148792016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14880
14881 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14882 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14883 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14884 variable for GPR 0 instead of assuming it is register 0.
14885 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14886 * lib/trace-support.exp: Add s390 registers.
14887
bfa6adb9
YQ
148882016-03-29 Yao Qi <yao.qi@linaro.org>
14889
14890 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14891
1e6697ea
YQ
148922016-03-24 Yao Qi <yao.qi@linaro.org>
14893
14894 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14895 test message.
14896
64bcd522
AA
148972016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14898
14899 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14900 maintaining separate logic for constructing the output path.
14901
7868401b
DB
149022016-03-16 Don Breazeal <donb@codesourcery.com>
14903
14904 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14905 Retry fork and waitpid on interrupted system call errors.
14906 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14907 Use with_timeout_factor to increase timeout by factor of 10.
14908
1cafadb4
DB
149092016-03-15 Don Breazeal <donb@codesourcery.com>
14910
14911 * gdb.cp/scope-err.cc: New test program.
14912 * gdb.cp/scope-err.exp: New test script.
14913 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14914 lines and "set breakpoint here" comment.
14915 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14916 Fixed some whitespace and format issues.
14917 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14918 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14919
81516450
DE
149202016-03-15 Doug Evans <dje@google.com>
14921
14922 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14923 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14924 All callers updated. Add tests for enums, mixed flags register.
14925
aa52b601
DE
149262016-03-15 Doug Evans <dje@google.com>
14927
14928 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14929 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14930
fa4ff313
SM
149312016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14932
14933 * gdb.base/default.exp: Add $_as_string to the list of expected
14934 convenience functions.
14935
f2403c39
AB
149362016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14937
14938 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14939
f2f3ccb9
SM
149402016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14941
14942 * gdb.python/py-as-string.exp: New file.
14943 * gdb.python/py-as-string.c: New file.
14944
00dbd492
PA
149452016-03-09 Pedro Alves <palves@redhat.com>
14946
14947 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14948 signal" -> "Thread NN received signal" output change.
14949 * gdb.threads/ia64-sigill.exp: Likewise.
14950 * gdb.threads/linux-dp.exp: Likewise.
14951 * gdb.threads/manythreads.exp: Likewise.
14952 * gdb.threads/pending-step.exp: Likewise.
14953 * gdb.threads/print-threads.exp: Likewise.
14954 * gdb.threads/sigstep-threads.exp: Likewise.
14955 * gdb.threads/staticthreads.exp: Likewise.
14956 * gdb.threads/tls.exp: Likewise.
14957
1e6697ea
YQ
149582016-03-09 Pedro Alves <palves@redhat.com>
14959
14960 * gdb.base/command-line-input.exp: New file.
14961
b04fd3be
MK
149622016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14963
14964 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14965 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14966 * gdb.trace/pending.exp: Accept leading dot before function name.
14967 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14968 * lib/trace-support.exp: Set registers for ppc.
14969
98fa59e9
MK
149702016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14971
14972 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14973 use it for disassembly; accept .main in addition to main in backtrace.
14974
f77198c8
MK
149752016-03-09 Wei-cheng Wang <cole945@gmail.com>
14976 Marcin Kościelnicki <koriakin@0x04.net>
14977
14978 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14979 (gdb_recursion_test_ptr): New global variable.
14980 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14981 gdb_recursion_test.
14982 (gdb_c_test): Ditto.
14983
ba84e0da
MK
149842016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14985
14986 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14987 ordering.
14988
4366d36e
MK
149892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14990
14991 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14992 (bar): Add bar_start_lbl label.
14993 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14994 of foo/bar for emitting DWARF and tracing.
14995
5eb264df
SDJ
149962016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14997
14998 * analyze-racy-logs.py: Set executable bit.
14999
fb6a751f
SDJ
150002016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15001
15002 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15003 (CHECK_TARGET_TMP): Likewise.
15004 (check-single-racy): New rule.
15005 (check-parallel-racy): Likewise.
15006 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15007 (do-check-parallel-racy): New rule.
15008 (check-racy/%.exp): Likewise.
15009 * README (Racy testcases): New section.
15010 * analyze-racy-logs.py: New file.
15011
bdf7e230
DE
150122016-03-03 Doug Evans <dje@google.com>
15013
15014 * gdb.base/skip.exp: Use with_test_prefix.
15015
4719d415
YQ
150162016-03-03 Yao Qi <yao.qi@linaro.org>
15017
15018 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15019 Invoke step_over_syscall "clone" and break_cond_on_syscall
15020 "clone".
15021 * gdb.base/step-over-clone.c: New file.
15022
ea507862
YQ
150232016-03-03 Yao Qi <yao.qi@linaro.org>
15024
15025 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15026 code format.
15027
8fc8cbda
YQ
150282016-03-03 Yao Qi <yao.qi@linaro.org>
15029
15030 * gdb.base/disp-step-fork.c: Rename to ...
15031 * gdb.base/step-over-fork.c: ... it. New file.
15032 * gdb.base/disp-step-vfork.c: Rename to ...
15033 * gdb.base/step-over-vfork.c: ... it. New file.
15034 * gdb.base/disp-step-syscall.exp: Rename to ...
15035 * gdb.base/step-over-syscall.exp: ... it. New file.
15036 (disp_step_cross_syscall): Rename to ...
15037 (step_over_syscall): ... it.
15038
92fa70b0
YQ
150392016-03-03 Yao Qi <yao.qi@linaro.org>
15040
15041 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15042 If target supports condition evaluation on target, invoke
15043 break_cond_on_syscall for fork and vfork.
15044
e197ad3c
YQ
150452016-03-03 Yao Qi <yao.qi@linaro.org>
15046
15047 * gdb.base/disp-step-syscall.exp: Don't invoke
15048 support_displaced_stepping.
15049 (disp_step_cross_syscall): Test with displaced stepping off and
15050 on if supported.
15051
0b47da9f
YQ
150522016-03-03 Yao Qi <yao.qi@linaro.org>
15053
15054 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15055 proc.
15056 (setup): New proc.
15057 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15058 and setup.
15059
065ab6dc
BH
150602016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15061
15062 * gdb.fortran/vla-history.exp: Remove breakpoint.
15063
07e448ad 150642016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15065
25d49b86
PA
15066 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15067 exceeds timeout.
07e448ad 15068
9ac2d526 150692016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15070
25d49b86
PA
15071 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15072 breakpoint.
9ac2d526 15073
17807369
BH
150742016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15075
15076 * gdb.mi/vla.f90: Nullify pointer after declaration.
15077
86e501af
PA
150782016-03-01 Pedro Alves <palves@redhat.com>
15079
15080 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15081
1e903e32
PA
150822016-03-01 Pedro Alves <palves@redhat.com>
15083
15084 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15085 before anything else.
15086 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15087 _GNU_SOURCE here.
15088 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15089 before anything else.
15090 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15091
6ccb54e2
PA
150922016-03-01 Pedro Alves <palves@redhat.com>
15093
15094 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15095
30ca9da1
YQ
150962016-03-01 Yao Qi <yao.qi@linaro.org>
15097
15098 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15099 prepare_for_testing.
15100
dc856b38
YQ
151012016-03-01 Yao Qi <yao.qi@linaro.org>
15102
15103 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15104
4a932159
AA
151052016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15106
15107 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15108 manually constructing the output path.
15109
f2489477
AA
151102016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15111
15112 * gdb.arch/s390-stackless.S: New.
15113 * gdb.arch/s390-stackless.exp: New.
15114
38899f16
IB
151152016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15116
15117 * gdb.dlang/circular.c: New file.
15118 * gdb.dlang/circular.exp: New file.
15119
9fde51ed
YQ
151202016-02-26 Yao Qi <yao.qi@linaro.org>
15121
15122 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15123 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15124 (testcases): Update.
15125
ce90fefe
YQ
151262016-02-26 Yao Qi <yao.qi@linaro.org>
15127
15128 * gdb.reverse/aarch64.c: Rename to ...
15129 * gdb.reverse/insn-reverse.c: ... it.
15130 * gdb.reverse/aarch64.exp: Rename to ...
15131 * gdb.reverse/insn-reverse.exp: ... it.
15132
3263bceb
YQ
151332016-02-26 Yao Qi <yao.qi@linaro.org>
15134
15135 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15136 (testcase_ftype): New.
15137 (testcases): New array.
15138 (n_testcases): New.
15139 (main): Call each element in testcases.
15140 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15141 (read_testcase): New.
15142 Do the tests in a loop.
15143
6cb59ff1
YQ
151442016-02-25 Yao Qi <yao.qi@linaro.org>
15145
15146 * gdb.base/branches.c: Remove.
15147
ae91f625
MK
151482016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15149
15150 PR gdb/13808
15151 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15152
678b48b7
MK
151532016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15154
15155 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15156
7337a6f2
MK
151572016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15158
15159 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15160 change x86_64 call_insn to 'callq'.
15161
861ca91f
AT
151622016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15163
15164 * gdb.trace/tfile-avx.c: Move to...
15165 * gdb.trace/tracefile-pseudo-reg.c: Here.
15166 * gdb.trace/tfile-avx.exp: Move to...
15167 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15168
bf74e428
GB
151692016-02-24 Gary Benson <gbenson@redhat.com>
15170
15171 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15172 message on attach.
15173
cce0e923
DE
151742016-02-23 Doug Evans <dje@google.com>
15175
15176 * gdb.base/skip.c (test_skip): New function.
15177 (end_test_skip_file_and_function): New function.
15178 (test_skip_file_and_function): New function.
15179 * gdb.base/skip1.c (test_skip): New function.
15180 (skip1_test_skip_file_and_function): New function.
15181 * gdb.base/skip.exp: Add tests for new skip options.
15182 * gdb.base/skip-solib.exp: Update expected output.
15183 * gdb.perf/skip-command.cc: New file.
15184 * gdb.perf/skip-command.exp: New file.
15185 * gdb.perf/skip-command.py: New file.
15186
4000e47e
MK
151872016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15188
15189 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15190 info registers pattern.
15191
24f75ead
IB
151922016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15193
15194 * lib/future.exp: Add D support.
15195 (gdb_find_gdc): New proc.
15196 (gdb_default_target_compile): Add D support.
15197
fbb7bcbe
WW
151982016-02-18 Wei-cheng Wang <cole945@gmail.com>
15199
15200 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15201 user+system time.
15202 (trace_speed_test): Determine the iteration count for a time
15203 between 15..30 seconds.
15204
012b3a21
WT
152052016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15206
15207 * gdb.arch/i386-mpx-sigsegv.c: New file.
15208 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15209 * gdb.arch/i386-mpx-simple_segv.c: New file.
15210 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15211
2d5189bd
YQ
152122016-02-18 Yao Qi <yao.qi@linaro.org>
15213
15214 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15215 Don't call setup_kfail.
15216
40fb20d0
YQ
152172016-02-18 Yao Qi <yao.qi@linaro.org>
15218
15219 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15220 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15221
21b1f8d2
DE
152222016-02-16 Doug Evans <dje@google.com>
15223
15224 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15225 * gdb.base/skip1.c: Ditto.
15226 * gdb.base/skip.exp: Whitespace cleanup.
15227
4041ed77
DB
152282016-02-16 Don Breazeal <donb@codesourcery.com>
15229
15230 PR remote/19496
15231 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15232 Remove kfail for PR remote/19496.
15233
c4ef31bf
SM
152342016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15235
15236 * lib/gdb.exp (standard_temp_file): Return a path specific to
15237 the runtest invocation.
15238
266b65b3
SM
152392016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15240
15241 * gdb.trace/save-trace.exp: Change relative path to be in the
15242 standard output directory.
15243
a7a0a6a9
JK
152442016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15245
15246 * gdb.arch/i386-prologue.c: Add missing prototypes.
15247
c99dbb42
JK
152482016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15249
15250 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15251 * gdb.arch/i386-prologue.exp: Likewise.
15252 * gdb.arch/i386-size.exp: Likewise.
15253
aa480355
SM
152542016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15255
15256 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15257 define object file path.
15258 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15259 file path.
15260 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15261 standard_output_file to define binfile.
15262
ba881f50
JK
152632016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15264
15265 Fix compatibility with recent gfortran-5.3.1.
15266 * gdb.fortran/vla-history.exp (print vla1 allocated)
15267 (print vla2 allocated, print $2, print $3): Remove
15268 (print $4): Rename to ...
15269 (print $2): ... here.
15270 (print $9): Rename to ...
15271 (print $5): ... here.
15272 (print $10): Rename to ...
15273 (print $6): ... here.
15274 * gdb.fortran/vla.f90: Add pvla initialization.
15275
e9fb005c
JK
152762016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15277
15278 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15279 New test.
15280 * gdb.fortran/vla-value-sub.exp: Likewise.
15281
e44e00ff
MK
152822016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15283
15284 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15285
97e94151
SM
152862016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15287
15288 * i386-biarch-core.exp: Define corefile using
15289 standard_output_file.
15290
01113bc1
YQ
152912016-02-12 Yao Qi <yao.qi@linaro.org>
15292
15293 * gdb.arch/arm-single-step-kernel-helper.c: New.
15294 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15295
33b4777c
MM
152962016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15297
15298 * gdb.btrace/tailcall-only.exp: New.
15299 * gdb.btrace/tailcall-only.c: New.
15300 * gdb.btrace/x86_64-tailcall-only.S: New.
15301 * gdb.btrace/i686-tailcall-only.S: New.
15302
acc23c11
PA
153032016-02-11 Pedro Alves <palves@redhat.com>
15304
15305 * README (Parallel testing): Add missing double quotes.
15306
e352bf0a
PA
153072016-02-11 Pedro Alves <palves@redhat.com>
15308
15309 * README (Parallel testing): New section.
15310 (GDB_PARALLEL): Rewrite.
15311 (FORCE_PARALLEL): Document.
15312
9f5fed78
MK
153132016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15314
15315 * gdb.trace/tfile-avx.c: New test.
15316 * gdb.trace/tfile-avx.exp: New test.
15317
9ef9e6a6
KS
153182016-02-09 Keith Seitz <keiths@redhat.com>
15319
15320 PR breakpoints/19546
15321 * gdb.base/infcall-exec.c: New file.
15322 * gdb.base/infcall-exec2.c: New file.
15323 * gdb.base/infcall-exec.exp: New file.
15324
a96e36da
KS
153252016-02-09 Keith Seitz <keiths@redhat.com>
15326
15327 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15328 (toplevel): Call test_bkpt_address.
15329
9f61929f
KS
153302016-02-09 Keith Seitz <keiths@redhat.com>
15331
15332 PR python/19506
15333 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15334 (toplevel): Call test_bkpt_address.
15335
1e94266c
SM
153362016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15337
15338 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15339 to AC_OUTPUT.
15340 * configure: Regenerate.
15341
2a7f3dff
PA
153422016-02-09 Pedro Alves <palves@redhat.com>
15343
15344 PR breakpoints/19548
15345 * gdb.base/execl-update-breakpoints.c (some_function): New
15346 function.
15347 (main): Call it.
15348 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15349 Tighten expected GDB output.
15350
2151ccc5
SM
153512016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15352
15353 * Makefile.in (ALL_SUBDIRS): Remove.
15354 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15355 (distclean maintainer-clean realclean): Likewise.
15356 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15357 * configure: Regenerate.
15358 * gdb.ada/Makefile.in: Delete.
15359 * gdb.arch/Makefile.in: Likewise.
15360 * gdb.asm/Makefile.in: Likewise.
15361 * gdb.base/Makefile.in: Likewise.
15362 * gdb.btrace/Makefile.in: Likewise.
15363 * gdb.cell/Makefile.in: Likewise.
15364 * gdb.compile/Makefile.in: Likewise.
15365 * gdb.cp/Makefile.in: Likewise.
15366 * gdb.disasm/Makefile.in: Likewise.
15367 * gdb.dlang/Makefile.in: Likewise.
15368 * gdb.dwarf2/Makefile.in: Likewise.
15369 * gdb.fortran/Makefile.in: Likewise.
15370 * gdb.gdb/Makefile.in: Likewise.
15371 * gdb.go/Makefile.in: Likewise.
15372 * gdb.guile/Makefile.in: Likewise.
15373 * gdb.java/Makefile.in: Likewise.
15374 * gdb.linespec/Makefile.in: Likewise.
15375 * gdb.mi/Makefile.in: Likewise.
15376 * gdb.modula2/Makefile.in: Likewise.
15377 * gdb.multi/Makefile.in: Likewise.
15378 * gdb.objc/Makefile.in: Likewise.
15379 * gdb.opencl/Makefile.in: Likewise.
15380 * gdb.opt/Makefile.in: Likewise.
15381 * gdb.pascal/Makefile.in: Likewise.
15382 * gdb.perf/Makefile.in: Likewise.
15383 * gdb.python/Makefile.in: Likewise.
15384 * gdb.reverse/Makefile.in: Likewise.
15385 * gdb.server/Makefile.in: Likewise.
15386 * gdb.stabs/Makefile.in: Likewise.
15387 * gdb.threads/Makefile.in: Likewise.
15388 * gdb.trace/Makefile.in: Likewise.
15389 * gdb.xml/Makefile.in: Likewise.
15390 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15391 GDB_PARALLEL.
15392 (standard_output_file): Remove check for GDB_PARALLEL, always
15393 return path in outputs/$subdir/$testname.
15394
437277d4
SM
153952016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15396
15397 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15398 (site.exp): Assign abs_srcdir to tcl's srcdir.
15399
31d913c7
YQ
154002016-02-04 Yao Qi <yao.qi@linaro.org>
15401
15402 * gdb.base/foll-exec-mode.c: Include limits.h.
15403 (main): Add parameters argc and argv. Get directory from
15404 argv[0].
15405 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
15406 compilation.
15407 * gdb.base/foll-exec.c: Include limits.h.
15408 (main): Add parameters argc and argv.
15409 Get directory from argv[0].
15410 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15411 Adjust tests on the number of lines as source code changed.
15412 * gdb.base/foll-vfork-exit.c: Include limits.h.
15413 (main): Add one line of statement before vfork.
15414 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15415 (main): Add parameters argc and argv. Get directory from
15416 argv[0].
15417 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15418 (setup_gdb): Set tbreak to skip some source lines.
15419 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15420 (main): Add parameters argc and argv. Get directory from
15421 argv[0].
15422 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15423 compilation.
15424 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15425 (main): Add parameters argc and argv. Get directory from
15426 argv[0].
15427 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15428 compilation.
15429
9482b9fb
DE
154302016-02-01 Doug Evans <dje@google.com>
15431
15432 * gdb.base/skip.exp: Clean up multiple references to same test name.
15433
6b2e4f10
PA
154342016-02-01 Pedro Alves <palves@redhat.com>
15435
ccb6afd6 15436 PR remote/19496
6b2e4f10
PA
15437 * gdb.threads/forking-threads-plus-breakpoint.exp
15438 (displaced_stepping_supported): New global.
15439 (probe_displaced_stepping_support): New procedure.
15440 (do_test): Add 'displaced' parameter, and use it.
15441 (top level): Check for displaced stepping support. Add displaced
15442 stepping on/off testing axis.
15443
37a8db1a
AB
154442016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15445
15446 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15447 pointer. Don't perform further tests on the unassociated pointer
15448 if the first test fails.
15449
5fdf6324
AB
154502016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15451
15452 * gdb.base/max-value-size.c: New file.
15453 * gdb.base/max-value-size.exp: New file.
15454 * gdb.base/huge.exp: Disable max-value-size for this test.
15455
935c6144
IB
154562016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15457
15458 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15459
7fe8399d
YQ
154602016-01-28 Yao Qi <yao.qi@linaro.org>
15461
15462 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15463
a2077e25
PA
154642016-01-25 Pedro Alves <palves@redhat.com>
15465
15466 PR threads/19461
15467 * gdb.base/fork-running-state.c: New file.
15468 * gdb.base/fork-running-state.exp: New file.
15469
1d2736d4
PA
154702016-01-25 Pedro Alves <palves@redhat.com>
15471
15472 PR gdb/19494
15473 * gdb.base/catch-fork-kill.c: New file.
15474 * gdb.base/catch-fork-kill.exp: New file.
15475
f1da4b11
PA
154762016-01-25 Pedro Alves <palves@redhat.com>
15477
15478 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15479 Delete, moved to lib/gdb.exp.
15480 * gdb.threads/forking-threads-plus-breakpoint.exp
15481 (foreach_with_prefix): Likewise.
15482 * gdb.threads/process-dies-while-handling-bp.exp
15483 (foreach_with_prefix): Likewise.
15484 * lib/gdb.exp (foreach_with_prefix): New procedure.
15485
45f38546
MK
154862016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15487
15488 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15489 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15490
dc29a1ce
MK
154912016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15492
15493 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15494 endian targets.
15495
092127d7
JK
154962016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15497 Pedro Alves <palves@redhat.com>
15498
15499 Fix testsuite compatibility with Guile.
15500 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15501 number.
15502
31d765d3
JK
155032016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15504
15505 Fix testsuite compatibility with Guile.
15506 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15507 (thread 1): New test for backtrace through signal handler.
15508
1ac78c04
YQ
155092016-01-22 Yao Qi <yao.qi@linaro.org>
15510
15511 PR testsuite/19491
15512 * gdb.base/multi-forks.c: Include
15513 ../lib/unbuffer_output.c
15514 (main): Call gdb_unbuffer_output.
15515
4f5946a8
DE
155162016-01-21 Doug Evans <dje@google.com>
15517
15518 * lib/ada.exp (gdb_compile_ada): Fix typo.
15519
305e13e6
JB
155202016-01-21 Joel Brobecker <brobecker@adacore.com>
15521
15522 * gdb.base/break-fun-addr.exp: New file.
15523 * gdb.base/break-fun-addr1.c: New file.
15524 * gdb.base/break-fun-addr2.c: New file.
15525
5f5dfff6
SM
155262016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15527
15528 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15529 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15530 enum flag values.
15531
fd356fa2
AA
155322016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15533
15534 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15535 when GDB can not set the vector return value. Add more comments
15536 for clarification.
15537
9df22175
AT
155382016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15539
15540 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15541 command.
15542
41d1845e
SM
155432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15544
15545 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15546
01ac6840
SM
155472016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15548
15549 * Makefile.in (check-single): Pass --status to runtest.
15550 (check/%.exp): Likewise.
15551
155522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15553
15554 * Makefile.in (check-parallel): Propagate return code from make
15555 do-check-parallel.
15556
bd0a71fa
MK
155572016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15558
15559 * gdb.trace/ftrace.exp: Fix expected message on continue.
15560 * gdb.trace/pending.exp: Fix expected message on continue.
15561 * gdb.trace/trace-break.exp: Fix expected message on continue.
15562
8bcbad33
SM
155632016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15564
15565 * lib/gdb.exp (gdb_test): Remove unused global references.
15566
f303dbd6
PA
155672016-01-18 Pedro Alves <palves@redhat.com>
15568
15569 * gdb.base/async-shell.exp: Adjust expected output.
15570 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15571 * gdb.base/siginfo-thread.exp: Adjust expected output.
15572 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15573 * gdb.java/jnpe.exp: Adjust expected output.
15574 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15575 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15576 * gdb.threads/leader-exit.exp: Adjust expected output.
15577 * gdb.threads/manythreads.exp: Adjust expected output.
15578 * gdb.threads/pthreads.exp: Adjust expected output.
15579 * gdb.threads/schedlock.exp: Adjust expected output.
15580 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15581 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15582 expected output.
15583 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15584 output.
15585 * gdb.threads/sigthread.exp: Adjust expected output.
15586 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15587
b2789696
YQ
155882016-01-18 Yao Qi <yao.qi@linaro.org>
15589
15590 * gdb.guile/scm-section-script.c: Replace @progbits with
15591 %progbits.
15592 * gdb.python/py-section-script.c: Likewise.
15593
71ef29a8
PA
155942016-01-15 Pedro Alves <palves@redhat.com>
15595
15596 * gdb.multi/tids.exp: Test star wildcard ranges.
15597
3f5b7598
PA
155982016-01-15 Pedro Alves <palves@redhat.com>
15599
15600 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15601 command from "thread apply" invocation.
15602 (thr_apply_info_thr_invalid): Default the expected output to the
15603 input tid list.
15604 (top level): Add tests that use convenience variables. Add tests
15605 for "thread apply" with a valid TID list, but missing the command.
15606
663f6d42
PA
156072016-01-13 Pedro Alves <palves@redhat.com>
15608
15609 * gdb.base/default.exp: Expect $_gthread as well.
15610 * gdb.multi/tids.exp: Test $_gthread.
15611 * gdb.threads/thread-specific.exp: Test $_gthread.
15612
c84f6bbf
PA
156132016-01-13 Pedro Alves <palves@redhat.com>
15614
15615 * gdb.multi/tids.exp: Test "info threads -gid".
15616
22a02324
PA
156172016-01-13 Pedro Alves <palves@redhat.com>
15618
15619 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15620 Breakpoint.thread.
15621 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15622
5d5658a1
PA
156232016-01-07 Pedro Alves <palves@redhat.com>
15624
15625 * gdb.base/break.exp: Adjust to output changes.
15626 * gdb.base/hbreak2.exp: Likewise.
15627 * gdb.base/sepdebug.exp: Likewise.
15628 * gdb.base/watch_thread_num.exp: Likewise.
15629 * gdb.linespec/keywords.exp: Likewise.
15630 * gdb.multi/info-threads.exp: Likewise.
15631 * gdb.threads/thread-find.exp: Likewise.
15632 * gdb.multi/tids.c: New file.
15633 * gdb.multi/tids.exp: New file.
15634
84654457
PA
156352016-01-13 Pedro Alves <palves@redhat.com>
15636
15637 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15638
e3940304
PA
156392016-01-13 Pedro Alves <palves@redhat.com>
15640
15641 * gdb.base/default.exp: Expect $_inferior as well.
15642 * gdb.multi/base.exp: Test $_inferior.
15643
a911d87a
PA
156442016-01-13 Pedro Alves <palves@redhat.com>
15645
15646 PR breakpoints/19388
15647 * gdb.base/catch-signal-siginfo-cond.c: New file.
15648 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15649
82075af2
JS
156502016-01-12 Josh Stone <jistone@redhat.com>
15651 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15652
15653 * gdb.base/catch-syscall.c (do_execve): New variable.
15654 (main): Conditionally trigger an execve.
15655 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15656 (test_catch_syscall_execve): New, check entry/return across execve.
15657 (do_syscall_tests): Call test_catch_syscall_execve.
15658
e46eeedd
PA
156592016-01-12 Pedro Alves <palves@redhat.com>
15660
15661 * gdb.base/random-signal.exp (do_test): New procedure, with body
15662 of testcase moved in.
15663
01d8c27e
JK
156642016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15665 Pedro Alves <palves@redhat.com>
15666
15667 * gdb.base/funcargs.exp (finish from indirectly called function):
15668 Reintroduce the case for 'First'.
15669
9a706302
JK
156702016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15671 Pedro Alves <palves@redhat.com>
15672
15673 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15674 (tcatch_vfork_then_child_follow_exec)
15675 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15676 identification.
15677
c0ecb95f
JK
156782016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15679
15680 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15681 and repeats to unlimited.
15682 * gdb.python/py-value.exp: Likewise.
15683 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15684 and repeats to unlimited.
15685
6cfc1fcb
JK
156862016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15687
15688 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15689 and reordering the functions.
15690 * gdb.multi/hangout.c: Likewise.
15691 * gdb.multi/hello.c: Likewise.
15692
582a1b00
SM
156932016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15694
15695 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15696 absolute.
15697 (SingleStatisticTestResult.report): Use dict.keys instead of
15698 dict.iterkeys.
15699
79bc59cb
PA
157002016-01-06 Pedro Alves <palves@redhat.com>
15701
15702 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15703
43368e1d
MM
157042016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15705
15706 * gdb.btrace/dlopen.exp: New.
15707 * gdb.btrace/dlopen.c: New.
15708 * gdb.btrace/dlopen-dso.c: New.
15709
79fad5b8
SL
157102015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15711
15712 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15713 PATTERN argument is optional.
15714
ab8314b3
JB
157152015-12-24 Joel Brobecker <brobecker@adacore.com>
15716
15717 * lib/ada.exp (target_compile_ada_from_dir): New function.
15718 (gdb_compile_ada): Reimplement avoiding the use of project files.
15719 * gdb.ada/gnat_ada.gpr: Delete.
15720 * gdb.ada/cond_lang.exp: Adjust test to make path before
15721 filename optional.
15722 * gdb.ada/small_reg_param.exp: Likewise.
15723
fe33faff
SM
157242015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15725
15726 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15727
6d265cb4
TP
157282015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15729
15730 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15731 case.
15732
10125099
SM
157332015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15734
15735 * gdb.base/break.exp: Remove dead code.
15736 * gdb.base/sepdebug.exp: Likewise.
15737
3ca22649
SM
157382015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15739
15740 * gdb.asm/asm-source.exp: Remove HP-UX references.
15741 * gdb.base/annota1.exp: Likewise.
15742 * gdb.base/annota3.exp: Likewise.
15743 * gdb.base/attach.exp: Likewise.
15744 * gdb.base/bigcore.exp: Likewise.
15745 * gdb.base/break.exp: Likewise.
15746 * gdb.base/call-ar-st.exp: Likewise.
15747 * gdb.base/callfuncs.exp: Likewise.
15748 * gdb.base/catch-fork-static.exp: Likewise.
15749 * gdb.base/display.exp: Likewise.
15750 * gdb.base/foll-exec-mode.exp: Likewise.
15751 * gdb.base/foll-exec.exp: Likewise.
15752 * gdb.base/foll-fork.exp: Likewise.
15753 * gdb.base/foll-vfork.exp: Likewise.
15754 * gdb.base/funcargs.exp: Likewise.
15755 * gdb.base/hbreak2.exp: Likewise.
15756 * gdb.base/inferior-died.exp: Likewise.
15757 * gdb.base/interrupt.exp: Likewise.
15758 * gdb.base/multi-forks.exp: Likewise.
15759 * gdb.base/nodebug.exp: Likewise.
15760 * gdb.base/sepdebug.exp: Likewise.
15761 * gdb.base/solib1.c: Likewise.
15762 * gdb.base/step-test.exp: Likewise.
15763 * gdb.mi/non-stop.c: Likewise.
15764 * gdb.mi/pthreads.c: Likewise.
15765 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15766 * gdb.threads/pthreads.c: Likewise.
15767 * gdb.threads/staticthreads.exp: Likewise.
15768 * lib/future.exp: Likewise.
15769 * lib/gdb.exp: Likewise.
15770 * gdb.base/so-indr-cl.c: Remove.
15771 * gdb.base/so-indr-cl.exp: Likewise.
15772 * gdb.base/solib.c: Likewise.
15773 * gdb.base/solib.exp: Likewise.
15774 * gdb.base/solib2.c: Likewise.
15775
b6304613
SM
157762015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15777
15778 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15779 * gdb.base/call-ar-st.exp: Likewise.
15780 * gdb.base/callfuncs.exp: Likewise.
15781 * gdb.base/condbreak.exp: Likewise.
15782 * gdb.base/constvars.exp: Likewise.
15783 * gdb.base/hbreak2.exp: Likewise.
15784 * gdb.base/langs.exp: Likewise.
15785 * gdb.base/list.exp: Likewise.
15786 * gdb.base/long_long.exp: Likewise.
15787 * gdb.base/ptype.exp: Likewise.
15788 * gdb.base/scope.exp: Likewise.
15789 * gdb.base/signals.exp: Likewise.
15790 * gdb.base/so-impl-ld.exp: Likewise.
15791 * gdb.base/varargs.exp: Likewise.
15792 * gdb.base/volatile.exp: Likewise.
15793 * gdb.base/whatis.exp: Likewise.
15794 * gdb.cp/cplusfuncs.exp: Likewise.
15795 * gdb.cp/inherit.exp: Likewise.
15796 * gdb.cp/local.exp: Likewise.
15797 * gdb.cp/member-ptr.exp: Likewise.
15798 * gdb.cp/method.exp: Likewise.
15799 * gdb.cp/overload.exp: Likewise.
15800 * gdb.cp/templates.exp: Likewise.
15801 * gdb.stabs/weird.exp: Likewise.
15802 * lib/compiler.c: Likewise.
15803 * lib/compiler.cc: Likewise.
15804 * lib/cp-support.exp: Likewise.
15805 * lib/gdb.exp: Likewise.
15806
bf401b07
SM
158072015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15808
15809 * configure.ac: Remove HP-UX case.
15810 * configure: Regenerate.
15811
aff9c0f8
SM
158122015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15813
15814 * lib/gdb.exp (gdb_compile): Add function doc.
15815
a6904d5a
PA
158162015-12-17 Pedro Alves <palves@redhat.com>
15817
15818 PR threads/19354
15819 * gdb.multi/info-threads.exp: New file.
15820
a22279dd
YQ
158212015-12-15 Yao Qi <yao.qi@linaro.org>
15822
15823 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15824 is aarch64*-*-*.
15825
0588c796
SL
158262015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15827
15828 * gdb.base/history-duplicates.exp: Skip if no readline support.
15829
5d978e17
SL
158302015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15831
15832 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15833
7e763b86
SL
158342015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15835
15836 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15837
87a3a92c
SL
158382015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15839
15840 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15841 ctrl-C if nointerrupts target property is set.
15842 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15843 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15844 * gdb.base/paginate-bg-execution.exp: Likewise.
15845 * gdb.base/paginate-execution-startup.exp: Likewise.
15846 * gdb.base/random-signal.exp: Likewise.
15847 * gdb.base/range-stepping.exp: Likewise.
15848 * gdb.cp/annota2.exp: Likewise.
15849 * gdb.cp/annota3.exp: Likewise.
15850 * gdb.gdb/selftest.exp: Likewise.
15851 * gdb.threads/continue-pending-status.exp: Likewise.
15852 * gdb.threads/leader-exit.exp: Likewise.
15853 * gdb.threads/manythreads.exp: Likewise.
15854 * gdb.threads/pthreads.exp: Likewise.
15855 * gdb.threads/schedlock.exp: Likewise.
15856 * gdb.threads/sigthread.exp: Likewise.
15857
a8f077dc
DB
158582015-12-11 Don Breazeal <donb@codesourcery.com>
15859
15860 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15861 remote.
15862 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15863 * gdb.base/foll-exec.exp (main): Enable for target remote.
15864 * gdb.base/foll-fork.exp (main): Likewise.
15865 * gdb.base/foll-vfork.exp (main): Likewise.
15866 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15867 (proc continue_to_exit_bp_loc): Use clean_restart.
15868 * gdb.base/pie-execl.exp (main): Disable for target remote.
15869 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15870 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15871 * gdb.threads/execl.exp (main): Likewise.
15872 * gdb.threads/fork-child-threads.exp (main): Likewise.
15873 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15874 remote.
15875 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15876 remote.
15877 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15878 pid.tid style ptids, instead of just tid.
15879 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15880 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15881 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15882 ptids, instead of just tid.
15883
3b2464a8
AB
158842015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15885
15886 * gdb.base/list.exp (test_list_forward): Add end of file error
15887 test.
15888 (test_repeat_list_command): Add end of file error test.
15889 (test_list_backwards): Add beginning of file error test.
15890
a0def019
AB
158912015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15892
15893 * gdb.base/list.exp (test_list_invalid_args): New function,
15894 defined, and called.
15895
5c000dff
AB
158962015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15897
15898 * gdb.base/list.exp (test_list): Make test names unique.
15899
f1637ebe
YQ
159002015-12-11 Yao Qi <yao.qi@linaro.org>
15901
15902 * gdb.base/coremaker2.c: Remove.
15903
36d6fc0a
PA
159042015-12-10 Pedro Alves <palves@redhat.com>
15905
15906 * gdb.multi/base.exp: Remove stale "spaces" references.
15907
762f7747
PA
159082015-12-10 Pedro Alves <palves@redhat.com>
15909
15910 * gdb.multi/base.exp: Don't use nowarnings.
15911 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15912 * gdb.multi/hangout.c: Include stdio.h.
15913 * gdb.multi/hello.c: Include stdlib.h.
15914 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15915 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15916 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15917
28d2bfb9
AB
159182015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15919
15920 * gdb.dwarf2/dw2-ranges-base.c: New file.
15921 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15922 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15923 support additional line table, and debug ranges generation.
15924 (Dwarf::ranges): New function, generate .debug_ranges.
15925 (Dwarf::lines): Support generating simple line table programs.
15926 (Dwarf::assemble): Initialise new namespace variables.
15927
5fc2beac
KB
159282015-12-09 Kevin Buettner <kevinb@redhat.com>
15929
15930 * gdb.base/async.exp (proc test_background): Add case for
15931 asynchronous execution not supported.
15932
1c35a88f
LM
159332015-12-09 Luis Machado <lgustavo@codesourcery.com>
15934
15935 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15936 format and change test names to make them unique.
15937
b593e3d9
RK
159382015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15939 Pedro Alves <pedro@redhat.com>
15940
15941 PR gdb/18702
15942 Add checking of floatformats setup on x86_64 hosts.
15943 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15944 (smallval, bigval): New labels/constants.
15945 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15946 float" after loading bigval and smallval.
15947
d72413e6
PMR
159482015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15949
15950 * gdb.ada/fun_overload_menu.exp: New testcase.
15951 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15952
ece66d65
JS
159532015-12-04 Josh Stone <jistone@redhat.com>
15954
15955 * gdb.base/catch-fork-static.exp: New.
15956
41d0efca
YQ
159572015-12-03 Yao Qi <yao.qi@linaro.org>
15958
15959 * gdb.base/sizeof.c: Don't include stdio.h and
15960 ../lib/unbuffer_output.c.
15961 (main): New variable 'size' and 'value'. Remove printf and
15962 gdb_unbuffer_output. Assign return value to size and value.
15963 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15964 at the beginning.
15965 (check_sizeof): Check the result by printing variable 'size'.
15966 (check_valueof): Check the result by printing variable 'value'.
15967
99fd02d9
YQ
159682015-12-01 Yao Qi <yao.qi@linaro.org>
15969
15970 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15971 for aarch64*-*-linux* target.
15972
f2faf941
PA
159732015-11-30 Pedro Alves <palves@redhat.com>
15974
15975 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15976
04bf20c5
PA
159772015-11-30 Pedro Alves <palves@redhat.com>
15978
15979 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15980 Handle non-stop mode vCont replies.
15981
09df4675
PA
159822015-11-30 Pedro Alves <palves@redhat.com>
15983
15984 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15985 prepare_for_testing. Start gdb with "set non-stop on" appended to
15986 GDBFLAGS. Lax expected stop output.
15987
58b584af
YQ
159882015-11-27 Yao Qi <yao.qi@linaro.org>
15989
15990 * gdb.arch/arm-neon.exp: New.
15991 * gdb.arch/arm-neon.c: New.
15992
dfcb77a8
YQ
159932015-11-27 Yao Qi <yao.qi@linaro.org>
15994
15995 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15996
88e8ec1b
YQ
159972015-11-27 Yao Qi <yao.qi@linaro.org>
15998
15999 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16000 frames-invalid annotation.
16001
bfde72c2
YQ
160022015-11-27 Yao Qi <yao.qi@linaro.org>
16003
16004 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16005
f6512a69
SM
160062015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16007
16008 * gdb.threads/names.exp: New file.
16009 * gdb.threads/names.c: New file.
16010 * README: Mention gdb,no_thread_names.
16011
46a3515b
MM
160122015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16013
16014 PR 19297
16015 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16016 support" error.
16017
62147a22
PA
160182015-11-24 Pedro Alves <palves@redhat.com>
16019
16020 PR 17539
16021 * gdb.base/display.exp: Expect displays to be sorted in ascending
16022 order. Use multi_line.
16023 * gdb.base/solib-display.exp: Likewise.
16024
2f341b6e
PA
160252015-11-24 Pedro Alves <palves@redhat.com>
16026
16027 PR 17539
25d49b86
PA
16028 * gdb.base/display.exp: Expect displays to be sorted in ascending
16029 order. Use multi_line.
16030 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16031
7e0aa6aa
PA
160322015-11-24 Pedro Alves <palves@redhat.com>
16033
16034 PR 17539
16035 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16036 threads in ascending order.
16037 * gdb.base/foll-fork.exp: Likewise.
16038 * gdb.base/foll-vfork.exp: Likewise.
16039 * gdb.base/multi-forks.exp: Likewise.
16040 * gdb.mi/mi-nonstop.exp: Likewise.
16041 * gdb.mi/mi-nsintrall.exp: Likewise.
16042 * gdb.multi/base.exp: Likewise.
16043 * gdb.multi/multi-arch.exp: Likewise.
16044 * gdb.python/py-inferior.exp: Likewise.
16045 * gdb.threads/break-while-running.exp: Likewise.
16046 * gdb.threads/execl.exp: Likewise.
16047 * gdb.threads/gcore-thread.exp: Likewise.
16048 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16049 * gdb.threads/kill.exp: Likewise.
16050 * gdb.threads/linux-dp.exp: Likewise.
16051 * gdb.threads/multiple-step-overs.exp: Likewise.
16052 * gdb.threads/next-bp-other-thread.exp: Likewise.
16053 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16054 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16055 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16056 * gdb.threads/thread-find.exp: Likewise.
16057 * gdb.threads/tls.exp: Likewise.
16058 * lib/mi-support.exp (mi_reverse_list): Delete.
16059 (mi_check_thread_states): No longer reverse list.
16060
2cc57ad8
PA
160612015-11-24 Pedro Alves <palves@redhat.com>
16062
16063 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16064 use lowercase.
16065
c93e8391
SM
160662015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16067
16068 * gdb.trace/actions.c: Include trace-common.h.
16069 (main): Add a location for a fast tracepoint.
16070 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16071 the normal tracepoints.
16072 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16073
045ccf91
SM
160742015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16075
16076 * save-trace.exp: Factor out code to these...
16077 (gdb_save_tracepoints): New.
16078 (gdb_load_tracepoints): New.
16079 (do_save_load_test): New.
16080
5506f9f6
KB
160812015-11-23 Kevin Buettner <kevinb@redhat.com>
16082
16083 * gdb.base/asmlabel.exp: New test.
16084 * gdb.base/asmlabel.c: New test case.
16085
16c3b12f
JB
160862015-11-23 Joel Brobecker <brobecker@adacore.com>
16087
16088 * gdb.base/wrong_frame_bt_full-main.c: New file.
16089 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16090 * gdb.base/wrong_frame_bt_full.exp: New file.
16091
155bfbd3
JB
160922015-11-23 Joel Brobecker <brobecker@adacore.com>
16093
16094 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16095
bb097445
JM
160962015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16097
206853a0 16098 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16099 pstate register when comparing registers values in
16100 sparc64-*-linux-gnu targets to avoid spurious differences.
16101
9c88ed8f
JM
161022015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16103
206853a0 16104 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16105
96161e25
SL
161062015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16107
16108 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16109 as type argument to gdb_compile.
16110 * gdb.base/nested-subp2.exp: Likewise.
16111 * gdb.base/nested-subp3.exp: Likewise.
16112
340c2830
DV
161132015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16114
16115 * lib/dwarf.exp (_note): Fix left shift of negative value.
16116 * gdb.trace/trace-condition.exp: Likewise.
16117
c1862d0f
YQ
161182015-11-13 Yao Qi <yao.qi@linaro.org>
16119
16120 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16121 comments about d10v.
16122 (test_scalar_returns): Likewise.
16123 * gdb.base/d10v.ld: Remove.
16124 * gdb.base/overlays.exp: Remove the target triplet checking for
16125 d10v-*-*.
16126 * gdb.base/structs.exp (test_struct_returns): Remove the
16127 comments about d10v.
16128 (test_struct_calls): Likewise.
16129
77ae9c19
YQ
161302015-11-13 Yao Qi <yao.qi@linaro.org>
16131
16132 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16133 * gdb.base/gnu_vector.c: Don't include stdio.h.
16134 (main): Don't print res and call add_some_intvecs.
16135
430e004e
MK
161362015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16137
16138 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16139 macro.
16140 (func5): Removed.
16141 (func4): Use FAST_TRACEPOINT_LABEL.
16142 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16143 macro.
16144 (func): Removed.
16145 (thread_function): Use FAST_TRACEPOINT_LABEL.
16146 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16147 (func): Remove.
16148 (marker): Use FAST_TRACEPOINT_LABEL.
16149 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16150 (pendfunc1): Remove.
16151 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16152 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16153 (foo): Remove.
16154 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16155 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16156 macro.
16157 (func): Remove.
16158 (marker): Use FAST_TRACEPOINT_LABEL.
16159 * gdb.trace/trace-common.h: New header.
16160 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16161 macro.
16162 (func): Remove.
16163 (marker): Use FAST_TRACEPOINT_LABEL.
16164 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16165 (func): Remove.
16166 (thread_function): Use FAST_TRACEPOINT_LABEL.
16167
6e7675a7
MK
161682015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16169
16170 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16171 in front.
16172 * gdb.trace/change-loc.exp: Use global pcreg definition.
16173 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16174 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16175 in front.
16176 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16177 * gdb.trace/pending.exp: Likewise.
16178 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16179 * gdb.trace/trace-break.exp: Likewise.
16180 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16181 in front.
16182 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16183 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16184 in front.
16185 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16186
dddc0e16
JB
161872015-11-09 Joel Brobecker <brobecker@adacore.com>
16188
16189 * gdb.ada/fin_fun_out: New testcase.
16190
c6f0b406
KB
161912015-11-07 Kevin Buettner <kevinb@redhat.com>
16192
16193 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16194 value associated with DW_AT_byte_size.
16195 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16196 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16197 DW_AT_upper_bound.
16198
f01dcfd9
KB
161992015-11-07 Kevin Buettner <kevinb@redhat.com>
16200
16201 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16202 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16203 version.
16204 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16205 gdb.dwarf2/dw2-canonicalize-type.exp,
16206 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16207 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16208 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16209 provided by gdb_target_symbol_prefix_flags_asm.
16210 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16211 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16212 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16213 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16214 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16215 macros where needed). Use this macro for symbols which require
16216 the prefix provided by SYMBOL_PREFIX.
16217
2223449a
KB
162182015-11-05 Kevin Buettner <kevinb@redhat.com>
16219
16220 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16221 New procs.
16222 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16223 representing expressions, of more than one list element.
16224 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16225 to prepend linker symbol prefix to f.
16226 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16227 table_1 and table_2.
16228 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16229 Likewise, for f and g.
16230 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16231 for ptr.
16232 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16233 for main.
16234 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16235 table_1_ptr and table_2_ptr.
16236
6f2f1a3a
JK
162372015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16238 Joel Brobecker <brobecker@adacore.com>
16239
16240 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16241
566c56c9
MK
162422015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16243
16244 * gdb.reverse/s390-mvcle.c: New test.
16245 * gdb.reverse/s390-mvcle.exp: New file.
16246 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16247
d5f0636b
MK
162482015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16249
16250 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16251
7ad8b86c
MK
162522015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16253
16254 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16255 reaching marker2.
16256 * gdb.reverse/getresuid-reverse.exp: Likewise.
16257 * gdb.reverse/pipe-reverse.exp: Likewise.
16258 * gdb.reverse/readv-reverse.exp: Likewise.
16259 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16260 * gdb.reverse/time-reverse.exp: Likewise.
16261 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16262
4081c0f1
YQ
162632015-10-30 Yao Qi <yao.qi@linaro.org>
16264
16265 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16266 (empty_cycle): Remove.
16267 (main): Don't call empty_cycle. Don't use watch_count_done.
16268 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16269 empty_cycle. Rewrite the code counting HW watchpoints.
16270
452b4ba5
MK
162712015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16272
16273 * gdb.reverse/fstatat-reverse.c: New test.
16274 * gdb.reverse/fstatat-reverse.exp: New file.
16275 * gdb.reverse/getresuid-reverse.c: New test.
16276 * gdb.reverse/getresuid-reverse.exp: New file.
16277 * gdb.reverse/pipe-reverse.c: New test.
16278 * gdb.reverse/pipe-reverse.exp: New file.
16279 * gdb.reverse/readv-reverse.c: New test.
16280 * gdb.reverse/readv-reverse.exp: New file.
16281 * gdb.reverse/recvmsg-reverse.c: New test.
16282 * gdb.reverse/recvmsg-reverse.exp: New file.
16283 * gdb.reverse/time-reverse.c: New test.
16284 * gdb.reverse/time-reverse.exp: New file.
16285 * gdb.reverse/waitpid-reverse.c: New test.
16286 * gdb.reverse/waitpid-reverse.exp: New file.
16287
5e2e7507
JK
162882015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16289
16290 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16291
0fde2c53
DE
162922015-10-26 Doug Evans <dje@google.com>
16293
16294 PR symtab/17391
16295 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16296 * gdb.dwarf2/bad-regnum.c: New file.
16297 * gdb.dwarf2/bad-regnum.exp: New file.
16298
1a70ae97
DE
162992015-10-26 Doug Evans <dje@google.com>
16300
16301 PR python/18938
16302 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16303 file.
16304
27dc26ab
JK
163052015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16306
16307 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16308 for a change by "Mention language in compile error message".
16309
bed91f4d
SM
163102015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16311
16312 PR python/18073
16313 * gdb.python/py-type.c (C::a_method): New.
16314 (C::a_const_method): New.
16315 (C::a_static_method): New.
16316 (a_function): New.
16317 * gdb.python/py-type.exp (test_fields): Test getting fields
16318 from function and method.
16319
3f2f83dd
KB
163202015-10-21 Keven Boell <keven.boell@intel.com>
16321
16322 * gdb.fortran/vla-alloc-assoc.exp: New file.
16323 * gdb.fortran/vla-datatypes.exp: New file.
16324 * gdb.fortran/vla-datatypes.f90: New file.
16325 * gdb.fortran/vla-history.exp: New file.
16326 * gdb.fortran/vla-ptype-sub.exp: New file.
16327 * gdb.fortran/vla-ptype.exp: New file.
16328 * gdb.fortran/vla-sizeof.exp: New file.
16329 * gdb.fortran/vla-sub.f90: New file.
16330 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16331 * gdb.fortran/vla-value-sub-finish.exp: New file.
16332 * gdb.fortran/vla-value-sub.exp: New file.
16333 * gdb.fortran/vla-value.exp: New file.
16334 * gdb.fortran/vla-ptr-info.exp: New file.
16335 * gdb.mi/mi-vla-fortran.exp: New file.
16336 * gdb.mi/vla.f90: New file.
16337
27145d50
SL
163382015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16339
16340 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16341 of hardwired timeout value.
16342
5f3ff4f8
JK
163432015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16344 Pedro Alves <palves@redhat.com>
16345
16346 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16347 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16348
bfd09d20
JS
163492015-10-19 Josh Stone <jistone@redhat.com>
16350
16351 * gdb.base/catch-syscall.c: Include <sched.h>.
16352 (unknown_syscall): New variable.
16353 (main): Trigger a vfork and an unknown syscall.
16354 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16355 (unknown_syscall_number): Likewise.
16356 (check_call_to_syscall): Accept an optional syscall pattern.
16357 (check_return_from_syscall): Likewise.
16358 (check_continue): Likewise.
16359 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16360 (test_catch_syscall_skipping_return): New test toggling off 'catch
16361 syscall' to step over the syscall return, then toggling back on.
16362 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16363 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16364 (do_syscall_tests): Call test_catch_syscall_without_args and
16365 test_catch_syscall_mid_vfork.
16366 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16367 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16368
b32b93c6
AS
163692015-10-19 Andrew Stubbs <ams@codesourcery.com>
16370
16371 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16372 print g_vE): Add new pass patterns.
16373 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16374 print various symbol names for vptr fields.
16375
9d622bda
AB
163762015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16377
16378 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16379 results.
16380
0fd8ac1c
YQ
163812015-10-12 Yao Qi <yao.qi@linaro.org>
16382
16383 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16384
34240514
YQ
163852015-10-12 Yao Qi <yao.qi@linaro.org>
16386
16387 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16388 is aarch64*-*-linux*.
16389
8240f442
YQ
163902015-10-12 Yao Qi <yao.qi@linaro.org>
16391
16392 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16393 (can_relocate_bcond_true): ... it.
16394 (can_relocate_bcond_false): New function.
16395 (foo): Likewise.
16396 (can_relocate_bl): Likewise.
16397 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16398 can_relocate_bl.
16399
2520f728
PMR
164002015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16401
16402 * gdb.base/nested-addr.c: New file.
16403 * gdb.base/nested-addr.exp: New testcase.
16404
abcef95a
MM
164052015-10-09 Markus Metzger <markus.t.metzger@intel.com>
16406
16407 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
16408 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
16409 its output. Ignore the output of "record goto begin" and instead
16410 check that GDB is replaying.
16411
145e3ddb
PA
164122015-10-09 Pedro Alves <palves@redhat.com>
16413
16414 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16415 (top level): Use it in the run with no args test.
16416
d5d8c4e1
IB
164172015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16418
16419 * gdb.dlang/properties.exp: New file.
16420
06e635ef
SL
164212015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16422
16423 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16424 whether or not address 0x1000 is mapped on the target.
16425
e019fd1d
SM
164262015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16427
16428 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16429 build.
16430
77ba2a67
MM
164312015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16432
16433 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16434 instruction-history test.
16435
c60eb31f
DE
164362015-09-28 Doug Evans <dje@google.com>
16437
16438 * gdb.base/gcore.c (array_func): Add reference to static_array.
16439
9a3c8263
SM
164402015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16441
16442 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16443 source line.
16444
9720e656
SL
164452015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16446
16447 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16448 short or char as base type.
16449
938d3bf2
SL
164502015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16451
16452 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16453 to allow any size enum.
16454
e6c2c623
PMR
164552015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16456
16457 * gdb.ada/array_ptr_renaming.exp: New testcase.
16458 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16459 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16460
06da0f77
PL
164612015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16462
16463 * gdb.trace/ftrace-lock.c: New file.
16464 * gdb.trace/ftrace-lock.exp: New file.
16465
4f51c22a
PL
164662015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16467
16468 * gdb.arch/insn-reloc.c: New file.
16469 * gdb.arch/ftrace-insn-reloc.exp: New file.
16470
7041adf4
PL
164712015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16472
16473 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16474 instruction.
16475 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16476 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16477 * gdb.trace/range-stepping.c: Likewise.
16478 * gdb.trace/trace-break.c: Likewise.
16479 * gdb.trace/trace-mt.c (thread_function): Likewise.
16480 * gdb.trace/ftrace.c (marker): Likewise.
16481 * gdb.trace/trace-condition.c (marker): Likewise.
16482 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16483 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16484 is_aarch64_target.
16485
015d2e7e
DE
164862015-09-18 Doug Evans <xdje42@gmail.com>
16487
16488 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16489 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16490
26b188a2
SL
164912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16492
16493 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16494 the breakpoint.
16495
79dc332b
SL
164962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16497
16498 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16499 the pending breakpoint. Remove timeout override for "Run till
16500 MI pending breakpoint on pendfunc3 on thread 2" test.
16501
f57929f2
SL
165022015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16503
16504 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16505 filename pattern.
16506
3f469b17
SL
165072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16508
16509 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16510 in breakpoint filename pattern.
16511
515b89b3
SL
165122015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16513
7800dbe4
SL
16514 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16515
165162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16517
515b89b3
SL
16518 * gdb.linespec/explicit.exp: Check for readline support for
16519 tab-completion tests. Fix obvious typo.
16520
d2939ba2
MM
165212015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16522
16523 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16524 and replay.
16525
cbb55fa7
MM
165262015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16527
16528 * gdb.btrace/non-stop.c: New.
16529 * gdb.btrace/non-stop.exp: New.
16530
43691ca1
PL
165312015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16532 Yao Qi <yao.qi@linaro.org>
16533
16534 * gdb.trace/trace-condition.c: New file.
16535 * gdb.trace/trace-condition.exp: New file.
16536
d78908cf
WW
165372015-09-16 Wei-cheng Wang <cole945@gmail.com>
16538
16539 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16540 for testing bytecode compilation.
16541
1ed415e2
PA
165422015-09-16 Pedro Alves <palves@redhat.com>
16543 Sandra Loosemore <sandra@codesourcery.com>
16544
16545 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16546 (SECONDS): Redefine.
16547 (main): Call pthread_kill and alarm early.
16548 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16549 support.
16550 (test): If the target can't hardware step and doesn't support
16551 displaced stepping, increase the timeout.
16552
d136eff5
PA
165532015-09-16 Pedro Alves <palves@redhat.com>
16554
16555 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16556 (enable_debug): New procedures.
16557 (test): Use them. Bail out if waiting for threads fails.
16558 (top level): Bail out if a test fails.
16559
991f019c
YQ
165602015-09-16 Yao Qi <yao.qi@linaro.org>
16561
16562 * gdb.asm/asm-source.exp: Set asm-arch for
16563 aarch64*-*-* target.
16564 * gdb.asm/aarch64.inc: New file.
16565
bfca584f
PMR
165662015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16567
16568 * gdb.ada/array_of_variable_length.exp: New testcase.
16569 * gdb.ada/array_of_variable_length/foo.adb: New file.
16570 * gdb.ada/array_of_variable_length/pck.adb: New file.
16571 * gdb.ada/array_of_variable_length/pck.ads: New file.
16572
b326e587
DE
165732015-09-15 Doug Evans <dje@google.com>
16574
16575 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16576 of function static local variable.
16577
5382cfab
PW
165782015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16579
16580 * gdb.threads/tls-so_extern.exp: New test file.
16581 * gdb.threads/tls-so_extern.c: New test file.
16582 * gdb.threads/tls-so_extern_main.c: New test file.
16583
141c5cc4
JK
165842015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16585
16586 * gdb.opt/solib-intra-step-lib.c: New file.
16587 * gdb.opt/solib-intra-step-main.c: New file.
16588 * gdb.opt/solib-intra-step.exp: New file.
16589
d15dcecd
PA
165902015-09-15 Pedro Alves <palves@redhat.com>
16591
16592 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16593 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16594
4c2f2a79
PA
165952015-09-14 Pedro Alves <palves@redhat.com>
16596
16597 * gdb.base/hook-stop-continue.c: Delete.
16598 * gdb.base/hook-stop-continue.exp: Delete.
16599 * gdb.base/hook-stop-frame.c: Delete.
16600 * gdb.base/hook-stop-frame.exp: Delete.
16601 * gdb.base/hook-stop.c: New file.
16602 * gdb.base/hook-stop.exp: New file.
16603
919e6dbe
PMR
166042015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16605
16606 * gdb.ada/access_to_packed_array.exp: New testcase.
16607 * gdb.ada/access_to_packed_array/foo.adb: New file.
16608 * gdb.ada/access_to_packed_array/pack.adb: New file.
16609 * gdb.ada/access_to_packed_array/pack.ads: New file.
16610
157280a4
MM
166112015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16612
16613 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16614 buffer size test.
16615
2fd33e94
DB
166162015-09-11 Don Breazeal <donb@codesourcery.com>
16617
16618 * gdb.base/foll-exec.c: Add copyright header. Fix
16619 formatting issues.
16620 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16621 (do_exec_tests): Use clean_restart in place of zap_session,
16622 and for test initialization. Fix formatting issues. Use
16623 fail in place of perror.
16624 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16625 an expect statement to match an expression with output from
16626 the program under debug.
16627 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16628 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16629 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16630 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16631 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16632
e70b6e8e
DE
166332015-09-09 Doug Evans <dje@google.com>
16634
16635 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16636
7a551a51
DE
166372015-09-09 Doug Evans <dje@google.com>
16638
16639 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16640
4c666f84
DE
166412015-09-09 Doug Evans <dje@google.com>
16642
16643 * gdb.base/savedregs.exp: Fix typo.
16644
243a9253
PA
166452015-09-09 Pedro Alves <palves@redhat.com>
16646
16647 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16648
c0fa8fbd
SL
166492015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16650
16651 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16652 command actually switches threads. Give up on remaining
16653 tests if target fails to stop at breakpoint.
16654
cd7c1778
PMR
166552015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16656
16657 * gdb.ada/funcall_char.exp: New testcase.
16658 * gdb.ada/funcall_char/foo.adb: New file.
16659
dc5c8746
PMR
166602015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16661
16662 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16663 expected outputs. Add two testcases for completing ambiguous
16664 functions.
16665 * gdb.ada/complete/aux_pck.adb: New file.
16666 * gdb.ada/complete/aux_pck.ads: New file.
16667 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16668 Ambiguous_Func functions.
16669 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16670 * gdb.ada/complete/pck.adb: Likewise.
16671
4e83a1e7
UW
166722015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16673
16674 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16675 failures to run the test program under GDB.
16676
8ce74153
LM
166772015-08-26 Luis Machado <lgustavo@codesourcery.com>
16678
16679 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16680 to C.
16681
e9756d52
PP
166822015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16683
16684 * gdb.base/run-after-attach.exp: New test file.
16685 * gdb.base/run-after-attach.c: New test file.
16686
8d37573b
DB
166872015-08-26 Don Breazeal <donb@codesourcery.com>
16688
16689 * gdb.base/foll-exec-2.c: New test program.
16690 * gdb.base/foll-exec-2.exp: New test.
16691
63e43d3a
PMR
166922015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16693
16694 * gdb.base/nested-subp1.exp: New file.
16695 * gdb.base/nested-subp1.c: New file.
16696 * gdb.base/nested-subp2.exp: New file.
16697 * gdb.base/nested-subp2.c: New file.
16698 * gdb.base/nested-subp3.exp: New file.
16699 * gdb.base/nested-subp3.c: New file.
16700
3d40fbb5
PA
167012015-08-24 Pedro Alves <palves@redhat.com>
16702
16703 * gdb.server/connect-without-multi-process.c: New file.
16704 * gdb.server/connect-without-multi-process.exp: New file.
16705
4422ac93
LM
167062015-08-24 Luis Machado <lgustavo@codesourcery.com>
16707
16708 * gdb.opt/inline-markers.c: Make z int.
16709
91dddb86
LM
167102015-08-24 Luis Machado <lgustavo@codesourcery.com>
16711
16712 * gdb.opt/inline-markers.c: Make z volatile.
16713
a48847ee
LM
167142015-08-24 Luis Machado <lgustavo@codesourcery.com>
16715
16716 * gdb.opt/inline-bt.c: New volatile global z.
16717 * gdb.opt/inline-cmds.c: Likewise.
16718 * gdb.opt/inline-locals.c: Likewise.
16719 * gdb.opt/inline-markers.c: New extern global z.
16720 (marker): Use z.
16721 (inline_fn): Likewise.
16722
0ebbc52b
PA
167232015-08-24 Pedro Alves <palves@redhat.com>
16724
16725 * config/m32r-stub.exp: Remove file.
16726 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16727 * gdb.base/call-rt-st.exp: Likewise.
16728 * gdb.base/call-strs.exp: Likewise.
16729 * gdb.base/default.exp: Remove references to h8300-*-hms and
16730 *-*-udi*.
16731 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16732
77c365df
AA
167332015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16734
16735 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16736 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16737 and "return" use KFAIL when GDB can not read/write the vector
16738 return value.
16739
4313b8c0
GB
167402015-08-21 Gary Benson <gbenson@redhat.com>
16741
16742 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16743
0e433b32
PA
167442015-08-20 Pedro Alves <palves@redhat.com>
16745
16746 * gdb.server/solib-list.exp: No longer expect an interior stop in
16747 non-stop mode.
16748
221e1a37
PA
167492015-08-20 Pedro Alves <palves@redhat.com>
16750
16751 * gdb.server/connect-stopped-target.c: New file.
16752 * gdb.server/connect-stopped-target.exp: New file.
16753
40e3ad0e
PA
167542015-08-20 Pedro Alves <palves@redhat.com>
16755
16756 * gdb.dwarf2/comp-unit-lang.exp: New file.
16757 * gdb.dwarf2/comp-unit-lang.c: New file.
16758
af39b327
PMR
167592015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16760
16761 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16762 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16763
7d45c7c3 167642015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 16765
7d45c7c3
KB
16766 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16767 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16768
4d6cceb4
DE
167692015-08-18 Doug Evans <dje@google.com>
16770 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16771
16772 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16773 skip_python_tests. New arg prompt_regexp.
16774 (skip_python_tests): New function.
16775 * lib/mi-support.exp (mi_skip_python_tests): New function.
16776 * gdb.python/py-mi-objfile-gdb.py: New file.
16777 * gdb.python/py-mi-objfile.c: New file.
16778 * gdb.python/py-mi-objfile.exp: New file.
16779
ad89c2aa
KS
167802015-08-17 Keith Seitz <keiths@redhat.com>
16781
16782 * gdb.linespec/explicit.exp: Move strace test from here ...
16783 * gdb.trace/strace.exp: ... to here.
16784
e3ae3c43
PP
167852015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16786
16787 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16788 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16789
604b2636
DE
167902015-08-14 Doug Evans <xdje42@gmail.com>
16791
16792 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16793 inferior before selecting a new file.
16794
6ff0ba5f
DE
167952015-08-14 Doug Evans <xdje42@gmail.com>
16796
16797 * gdb.mi/mi-disassemble.exp: Update.
16798 * gdb.base/disasm-optim.S: New file.
16799 * gdb.base/disasm-optim.c: New file.
16800 * gdb.base/disasm-optim.h: New file.
16801 * gdb.base/disasm-optim.exp: New file.
16802
9ca98f92
KS
168032015-08-14 Keith Seitz <keiths@redhat.com>
16804
16805 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16806 "evaluated-by".
16807
52bbc560
JB
168082015-08-13 Joel Brobecker <brobecker@adacore.com>
16809
16810 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16811
5d8c3ed3
PMR
168122015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16813
16814 * gdb.ada/fun_renaming.exp: New testcase.
16815 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16816 * gdb.ada/fun_renaming/pack.adb: New file.
16817 * gdb.ada/fun_renaming/pack.ads: New file.
16818
ea8812bc
KS
168192015-08-12 Keith Seitz <keiths@redhat.com>
16820
16821 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16822 gdb_get_line_number.
16823
4dafcdeb
JB
168242015-08-12 Joel Brobecker <brobecker@adacore.com>
16825
16826 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16827 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16828 gdb.base/dso2dso.exp: New files.
16829
5ba32597
SDJ
168302015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16831 Pedro Alves <palves@redhat.com>
16832 Keith Seitz <keiths@redhat.com>
16833
16834 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16835 GDBFLAGS.
16836
b6dafabf
PP
168372015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16838
16839 * gdb.base/gdbhistsize-history.exp
16840 (test_histsize_history_setting): Use save_vars.
16841 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16842 Use save_vars.
16843 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16844 * gdb.base/readline.exp: Use save_vars.
16845
abe8e607
PP
168462015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16847
16848 * lib/gdb.exp (save_vars): New proc.
16849
629500fa
KS
168502015-08-11 Keith Seitz <keiths@redhat.com>
16851
16852 * gdb.base/help.exp: Update help_breakpoint_text.
16853
eb8c4e2e
KS
168542015-08-11 Keith Seitz <keiths@redhat.com>
16855
16856 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16857 (at toplevel): Call test_explicit_breakpoints.
16858 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16859 breakpoints.
16860 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16861 breakpoint conditions, "-cond".
16862
87f0e720
KS
168632015-08-11 Keith Seitz <keiths@redhat.com>
16864
16865 * gdb.linespec/3explicit.c: New file.
16866 * gdb.linespec/cpexplicit.cc: New file.
16867 * gdb.linespec/cpexplicit.exp: New file.
16868 * gdb.linespec/explicit.c: New file.
16869 * gdb.linespec/explicit.exp: New file.
16870 * gdb.linespec/explicit2.c: New file.
16871 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16872 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16873 before using in the matching pattern.
16874 Clarify that `prefix' is a regular expression.
16875
f00aae0f
KS
168762015-08-11 Keith Seitz <keiths@redhat.com>
16877
16878 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16879 test.
16880 Add tests for missing ",FMT" and ",".
16881
e27852be
DE
168822015-08-10 Doug Evans <dje@google.com>
16883 Keith Seitz <keiths@redhat.com>
16884
16885 PR gdb/17960
16886 * gdb.base/completion.exp: Add location completer tests.
16887
7f03bd92
PA
168882015-08-07 Pedro Alves <palves@redhat.com>
16889
16890 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16891 tests here.
16892 (top level): Run do_test with and without displaced stepping.
16893
3fc8eb30
PA
168942015-08-07 Pedro Alves <palves@redhat.com>
16895
16896 * gdb.base/valgrind-disp-step.c: New file.
16897 * gdb.base/valgrind-disp-step.exp: New file.
16898
d4569d7b
PA
168992015-08-07 Pedro Alves <palves@redhat.com>
16900
16901 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16902 Delete function.
16903 (main): Add alarm. Run an infinite loop instead of calling
16904 wait_threads.
16905 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16906 comment.
16907 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16908 Delete function.
16909 (main): Add alarm. Run an infinite loop instead of calling
16910 wait_threads.
16911 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16912 comment.
16913
e1316e60
PA
169142015-08-07 Pedro Alves <palves@redhat.com>
16915
16916 * gdb.base/checkpoint-ns.exp: New file.
16917 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16918 standard_testfile.
16919
da8c46d2
MM
169202015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16921
16922 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16923 * gdb.btrace/instruction_history.exp: Update.
16924 * gdb.btrace/tsx.exp: New.
16925 * gdb.btrace/tsx.c: New.
16926
de1c2c52
PA
169272015-08-06 Pedro Alves <palves@redhat.com>
16928
16929 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16930 increase timeout.
16931 * gdb.reverse/until-precsave.exp: Bump timeouts.
16932
782e0bf4
PA
169332015-08-06 Pedro Alves <palves@redhat.com>
16934
16935 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16936
83e97ed0
PA
169372015-08-06 Pedro Alves <palves@redhat.com>
16938
16939 PR gdb/18749
16940 * gdb.threads/process-dies-while-handling-bp.c: New file.
16941 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16942
863d01bd
PA
169432015-08-06 Pedro Alves <palves@redhat.com>
16944
16945 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16946 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16947
0a39bb32
PA
169482015-08-05 Pedro Alves <palves@redhat.com>
16949
16950 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16951 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16952
ee2d2b10
SL
169532015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16954
16955 * gdb.base/bp-permanent.exp: Report test as unsupported if
16956 the target cannot stop at the permanent breakpoint.
16957
4e1bdb00
DE
169582015-08-03 Doug Evans <dje@google.com>
16959
16960 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16961 10000.
16962
3d338901
DE
169632015-08-03 Doug Evans <dje@google.com>
16964
16965 * Makefile.in (workers/%.worker, build-perf): New rule.
16966 (GDB_PERFTEST_MODE): New variable.
16967 (check-perf): Use it.
16968 (clean): Clean up gdb.perf parallel build subdirs.
16969 * lib/build-piece.exp: New file.
16970 * lib/gdb.exp (make_gdb_parallel_path): New function
16971 (standard_output_file, standard_temp_file): Call it.
16972 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16973 of $GDB_PARALLEL.
16974 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16975
af061d3e
DE
169762015-08-03 Doug Evans <dje@google.com>
16977
8e1afc81 16978 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
16979 (LOG_FILE_NAME): New global.
16980 (TextReporter.__init__): Initialize self.txt_sum.
16981 (TextReporter.report): Add support for multiple data-points.
16982 Move report to perftest.sum, put raw data in perftest.log.
16983 (TextReporter.start): Open sum and log files.
16984 (TextReporter.end): Close sum and log files.
8e1afc81
DE
16985 * gdb.perf/lib/perftest/testresult.py
16986 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 16987
2c8c5d37
PA
169882015-07-31 Pedro Alves <palves@redhat.com>
16989
16990 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16991 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16992 kill_wait_spawned_process instead of explicit "kill -9".
16993 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16994 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16995 kill_wait_spawned_process.
16996 * gdb.base/attach-twice.exp: Likewise.
16997 * gdb.base/attach.exp: Likewise.
16998 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16999 gdb_test_multiple.
17000 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17001 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17002 kill_wait_spawned_process.
17003 * gdb.base/valgrind-infcall.exp: Likewise.
17004 * gdb.multi/multi-attach.exp: Likewise.
17005 * gdb.python/py-prompt.exp: Likewise.
17006 * gdb.python/py-sync-interp.exp: Likewise.
17007 * gdb.server/ext-attach.exp: Likewise.
17008 * gdb.threads/attach-into-signal.exp (corefunc): Use
17009 spawn_wait_for_attach, spawn_id_get_pid and
17010 kill_wait_spawned_process.
17011 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17012 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17013 spawn_id_get_pid and kill_wait_spawned_process.
17014 * gdb.threads/attach-stopped.exp (corefunc): Use
17015 spawn_wait_for_attach, spawn_id_get_pid and
17016 kill_wait_spawned_process.
17017 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17018 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17019 kill_wait_spawned_process instead of explicit "kill -9".
17020 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17021 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17022 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17023 processes. Don't map cygwin/windows pids here. Now returns a
17024 spawn id list.
17025
032a0fca
SL
170262015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17027
17028 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17029 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17030 correct patch.
17031
61a934ca
SL
170322015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17033
17034 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17035
4bc4d428
SL
170362015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17037
17038 Reapply:
17039 2014-05-21 Mark Wielaard <mjw@redhat.com>
17040
17041 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17042
998d452a
PA
170432015-07-30 Pedro Alves <palves@redhat.com>
17044
17045 * linux-low.c (handle_extended_wait): Set the child's last
17046 reported status to TARGET_WAITKIND_STOPPED.
17047
69dde7dc
PA
170482015-07-30 Pedro Alves <palves@redhat.com>
17049
17050 PR threads/18600
17051 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17052 only shows inferior 1.
17053
4dd63d48
PA
170542015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17055 Pedro Alves <palves@redhat.com>
17056
17057 PR threads/18600
17058 * gdb.threads/fork-plus-threads.c: New file.
17059 * gdb.threads/fork-plus-threads.exp: New file.
17060
d618e4c5
PP
170612015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17062
17063 * gdb.base/batch-preserve-term-settings.exp
17064 (test_terminal_settings_preserved_after_cli_exit): Use
17065 send_quit_command.
17066
1eef6428
PA
170672015-07-29 Pedro Alves <palves@redhat.com>
17068 Don Breazeal <donb@codesourcery.com>
17069
17070 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17071 output from both inferior_spawn_id and gdb_spawn_id.
17072
7da5b897
SDJ
170732015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17074
17075 * gdb.threads/attach-into-signal.exp (corefunc): Use
17076 with_test_prefix on nested loops, uniquefying the test messages.
17077
dac804df
SDJ
170782015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17079
17080 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17081 commit.
17082
06265e53
PP
170832015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17084
17085 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17086 New proc.
17087 (test_terminal_settings_preserved_after_sigterm): New test.
17088
18206ca3
PP
170892015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17090
17091 * gdb.base/batch-preserve-term-settings.exp
17092 (test_terminal_settings_preserved_after_cli_exit): New test.
17093
90074d11
PP
170942015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17095
17096 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17097 manipulation of saved_gdbflags.
17098 (test_terminal_settings_preserved): Remove global declaration of
17099 the unused variable pagination_prompt. Remove manipulation of
17100 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17101 GDBFLAGS.
17102
eb1a7902
PA
171032015-07-29 Pedro Alves <palves@redhat.com>
17104
17105 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17106
8b75dd3b
PA
171072015-07-29 Pedro Alves <palves@redhat.com>
17108
17109 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17110 at the top.
17111
dedad4e3
PA
171122015-07-29 Pedro Alves <palves@redhat.com>
17113
17114 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17115 (main): Call gdb_unbuffer_output.
17116 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17117 (main): Call gdb_unbuffer_output.
17118 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17119 (main): Call gdb_unbuffer_output.
17120 * gdb.base/call-strs.exp: Adjust to step over the
17121 gdb_unbuffer_output call.
17122 * gdb.base/catch-gdb-caused-signals.c: Include
17123 "../lib/unbuffer_output.c".
17124 (main): Call gdb_unbuffer_output.
17125 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17126 (main): Call gdb_unbuffer_output.
17127 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17128 (main): Call gdb_unbuffer_output.
17129 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17130 (main): Call gdb_unbuffer_output.
17131 * gdb.base/shlib-call.exp: Adjust to step over the
17132 gdb_unbuffer_output call.
17133 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17134 (main): Call gdb_unbuffer_output.
17135 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17136 (main): Call gdb_unbuffer_output.
17137 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17138 (main): Rename to ...
17139 (test): ... this.
17140 (main): Reimplement.
17141 * gdb.base/varargs.exp: Run to test instead of to main.
17142 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17143 (main): Call gdb_unbuffer_output.
17144
58789a91
PA
171452015-07-29 Pedro Alves <palves@redhat.com>
17146
17147 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17148 factore out from mi_continue_dprintf. For call-style dprintfs,
17149 expect dprintf output out of $inferior_spawn_id.
17150 (mi_continue_dprintf): Use mi_expect_dprintf.
17151 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17152 (main): Call gdb_unbuffer_output.
17153
e8376742
PA
171542015-07-29 Pedro Alves <palves@redhat.com>
17155
17156 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17157 (default_mi_gdb_start): Set inferior_spawn_id instead of
17158 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17159 gdb_spawn_id.
17160 (mi_gdb_test): Always expect inferior output from both
17161 $inferior_spawn_id and $gdb_spawn_id.
17162
08280010
PA
171632015-07-29 Pedro Alves <palves@redhat.com>
17164
17165 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17166 send_inferior and $inferior_spawn_id.
17167
4d30e432
PA
171682015-07-29 Pedro Alves <palves@redhat.com>
17169
17170 * gdb.gdb/complaints.exp (test_initial_complaints)
17171 (test_serial_complaints, test_short_complaints): Use
17172 gdb_test_stdio.
17173 (test_empty_complaint): Handle $inferior_spawn_id !=
17174 $gdb_spawn_id.
17175
0d30a335
PA
171762015-07-29 Pedro Alves <palves@redhat.com>
17177
17178 * gdb.base/varargs.exp: Use gdb_test_stdio.
17179
39413b29
PA
171802015-07-29 Pedro Alves <palves@redhat.com>
17181
17182 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17183
7cb000a9
PA
171842015-07-29 Pedro Alves <palves@redhat.com>
17185
17186 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17187
d7b8ac82
PA
171882015-07-29 Pedro Alves <palves@redhat.com>
17189
17190 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17191 parameter into two new parameters, "inf_result" and "gdb_result".
17192 Expect inferior output and gdb output from $inferior_spawn_id and
17193 $gdb_spawn_id, respectively. Adjust all callers.
17194
789c3a0c
PA
171952015-07-29 Pedro Alves <palves@redhat.com>
17196
17197 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17198 of gdb_test_sequence.
17199
77e760c3
PA
172002015-07-29 Pedro Alves <palves@redhat.com>
17201
17202 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17203 (saw_spurious_output): Expect inferior output from
17204 $inferior_spawn_id. Use gdb_test_stdio.
17205
8396d2cd
PA
172062015-07-29 Pedro Alves <palves@redhat.com>
17207
17208 * gdb.base/dprintf.exp: Use standard_testfile. Change
17209 prepare_for_testing call.
17210 (srcfile): Don't set.
17211 (restart): New procedure.
17212 (test_dprintf): New procecure, use to continue over dprintfs.
17213 (test_call, test_agent): New procedures, tests moved here.
17214 Restart gdb and recreate dprintfs. Adjust expected output.
17215
2051d61f
PA
172162015-07-29 Pedro Alves <palves@redhat.com>
17217
17218 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17219
452397af
PA
172202015-07-29 Pedro Alves <palves@redhat.com>
17221
17222 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17223
8aed9555
PA
172242015-07-29 Pedro Alves <palves@redhat.com>
17225
17226 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17227 gdb_test_stdio.
17228
188a61b4
PA
172292015-07-29 Pedro Alves <palves@redhat.com>
17230
17231 * lib/gdb.exp (gdb_test_stdio): New procedure.
17232
12264a45
PA
172332015-07-29 Pedro Alves <palves@redhat.com>
17234
17235 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17236
23ffc893
PA
172372015-07-29 Pedro Alves <palves@redhat.com>
17238
17239 * gdb.base/call-signal-resume.exp: Remove check for
17240 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17241 * gdb.base/unwindonsignal.exp: Likewise.
17242 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17243 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17244
65566918
PA
172452015-07-29 Pedro Alves <palves@redhat.com>
17246
17247 * gdb.base/siginfo-addr.c (pass): New function.
17248 (handler): Call it iff si_addr is correct.
17249 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17250 Set a breakpoint at "pass" and continue to it.
17251
d60a9221
SDJ
172522015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17253
17254 * gdb.python/py-objfile.exp: Make some tests have unique names.
17255 * gdb.python/py-pp-registration.exp: Likewise.
17256
bde40b8f
PA
172572015-07-28 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17260
13e1dec8
SM
172612015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17262
17263 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17264
da33c9a7
SM
172652015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17266
17267 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17268
077836f7
PP
172692015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17270
17271 * gdb.base/gdb-sigterm-2.exp: New test.
17272
b8cc7b2e
DE
172732015-07-25 Doug Evans <xdje42@gmail.com>
17274
17275 Revert:
17276 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17277 (workers/%.worker, build-perf): New rule.
17278 (GDB_PERFTEST_MODE): New variable.
17279 (check-perf): Use it.
17280 (clean): Clean up gdb.perf parallel build subdirs.
17281 * lib/build-piece.exp: New file.
17282 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17283 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17284 name.
17285 (standard_temp_file): Ditto.
17286 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17287 of $GDB_PARALLEL.
17288
c8bd4544
DE
172892015-07-24 Doug Evans <dje@google.com>
17290
17291 * gdb.perf/lib/perftest/utils.py: New file.
17292 * gdb.perf/gm-hello.cc: New file.
17293 * gdb.perf/gm-pervasive-typedef.cc: New file.
17294 * gdb.perf/gm-pervasive-typedef.h: New file.
17295 * gdb.perf/gm-std.cc: New file.
17296 * gdb.perf/gm-std.h: New file.
17297 * gdb.perf/gm-use-cerr.cc: New file.
17298 * gdb.perf/gm-utils.h: New file.
17299 * gdb.perf/gmonster-null-lookup.py: New file.
17300 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17301 * gdb.perf/gmonster-print-cerr.py: New file.
17302 * gdb.perf/gmonster-ptype-string.py: New file.
17303 * gdb.perf/gmonster-runto-main.py: New file.
17304 * gdb.perf/gmonster-select-file.py: New file.
17305 * gdb.perf/gmonster1-null-lookup.exp: New file.
17306 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17307 * gdb.perf/gmonster1-print-cerr.exp: New file.
17308 * gdb.perf/gmonster1-ptype-string.exp: New file.
17309 * gdb.perf/gmonster1-runto-main.exp: New file.
17310 * gdb.perf/gmonster1-select-file.exp: New file.
17311 * gdb.perf/gmonster1.cc: New file.
17312 * gdb.perf/gmonster1.exp: New file.
17313 * gdb.perf/gmonster2-null-lookup.exp: New file.
17314 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17315 * gdb.perf/gmonster2-print-cerr.exp: New file.
17316 * gdb.perf/gmonster2-ptype-string.exp: New file.
17317 * gdb.perf/gmonster2-runto-main.exp: New file.
17318 * gdb.perf/gmonster2-select-file.exp: New file.
17319 * gdb.perf/gmonster2.cc: New file.
17320 * gdb.perf/gmonster2.exp: New file.
17321
6eab34f3
DE
173222015-07-24 Doug Evans <dje@google.com>
17323
17324 * gdb.perf/README: New file.
17325 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17326 * lib/gen-perf-test.exp: New file.
17327
63738bfd
DE
173282015-07-24 Doug Evans <dje@google.com>
17329
17330 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17331 (PerfTest::startup): New function.
17332 (PerfTest::run): Return result of calling body.
17333 (PerfTest::assemble): Rewrite.
17334 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17335 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17336 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17337 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17338 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17339
7b606f95
DE
173402015-07-24 Doug Evans <dje@google.com>
17341
17342 * lib/gdb.exp (clean_restart): Make executable optional.
17343
a97b16b8
DE
173442015-07-24 Doug Evans <dje@google.com>
17345
17346 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17347 compiler_info references.
17348 * gdb.cp/temargs.exp: Ditto.
17349 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17350 (get_compiler_info): Early exit if already computed. Set compiler_info
17351 to "unknown" if there was a problem.
17352 (test_compiler_info): Add function comment. Call get_compiler_info.
17353
35baa57f
DE
173542015-07-24 Doug Evans <dje@google.com>
17355
17356 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17357 (workers/%.worker, build-perf): New rule.
17358 (GDB_PERFTEST_MODE): New variable.
17359 (check-perf): Use it.
17360 (clean): Clean up gdb.perf parallel build subdirs.
17361 * lib/build-piece.exp: New file.
17362 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17363 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17364 name.
17365 (standard_temp_file): Ditto.
17366 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17367 of $GDB_PARALLEL.
17368
6ebea266
DE
173692015-07-24 Doug Evans <dje@google.com>
17370
17371 * lib/future.exp (gdb_default_target_compile): New option
17372 "early_flags".
17373 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17374 --as-needed.
17375
1e76a7e9
SDJ
173762015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17377
17378 * gdb.base/catch-syscall.exp: Call gdb_exit before
17379 gdb_skip_xml_test.
17380
5068630a
PA
173812015-07-24 Pedro Alves <palves@redhat.com>
17382
17383 * gdb.python/py-events.exp: Accept output between the stop event
17384 and the prompt.
17385 * gdb.python/py-evsignal.exp: Likewise.
17386 * gdb.python/py-evthreads.exp: Likewise.
17387
77598427
PA
173882015-07-24 Pedro Alves <palves@redhat.com>
17389
17390 PR gdb/18717
17391 * gdb.threads/non-ldr-exit.c: New file.
17392 * gdb.threads/non-ldr-exit.exp: New file.
17393
11e6c98f
YQ
173942015-07-24 Yao Qi <yao.qi@linaro.org>
17395
17396 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17397 restarting process.
17398
51aee833
YQ
173992015-07-24 Yao Qi <yao.qi@linaro.org>
17400
17401 * gdb.server/ext-restart.exp: New file.
17402
8cfe207c
YQ
174032015-07-24 Yao Qi <yao.qi@linaro.org>
17404
17405 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
17406 argument options.
17407 * gdb.server/ext-wrapper.exp: New file.
17408
cc12ce38
DE
174092015-07-23 Doug Evans <dje@google.com>
17410
17411 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17412 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17413
d0d84780
PMR
174142015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17415
17416 * gdb.ada/var_arr_typedef.exp: New testcase.
17417 * gdb.ada/var_arr_typedef/pack.adb: New file.
17418 * gdb.ada/var_arr_typedef/pack.ads: New file.
17419 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17420
8b558f79
JB
174212015-07-20 Joel Brobecker <brobecker@adacore.com>
17422
17423 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17424
775a3298
JK
174252015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17426
17427 * gdb.arch/i386-biarch-core.exp: Replace istarget
17428 by "complete set gnutarget". Remove expectation for the "core-file"
17429 command.
17430
db1ff28b
JK
174312015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17432
17433 Revert the previous commit:
17434 Tests for validate symbol file using build-id.
17435
0a94970d
JK
174362015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17437
17438 Tests for validate symbol file using build-id.
17439 * gdb.base/solib-mismatch-lib.c: New file.
17440 * gdb.base/solib-mismatch-libmod.c: New file.
17441 * gdb.base/solib-mismatch.c: New file.
17442 * gdb.base/solib-mismatch.exp: New file.
17443
03346981
SL
174442015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17445
17446 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17447 nios2-*-linux*.
17448 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17449 * gdb.base/siginfo.exp: Likewise.
17450 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17451
42422cc7
PL
174522015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17453
17454 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17455 Move it to ...
17456 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17457 ... here.
17458 * gdb.trace/range-stepping.exp: Check that the target supports
17459 range stepping.
17460
cfa68bae
JK
174612015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17462
17463 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17464
8ffdba26
PA
174652015-07-14 Pedro Alves <palves@redhat.com>
17466
17467 * gdb.base/killed-outside.exp: New file.
17468 * gdb.base/killed-outside.c: New file.
17469
218a5a11
JK
174702015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17471
17472 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17473 (n at main): New.
17474 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17475
e03ed3c6
AA
174762015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17477
17478 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17479 infcall tests instead of setting up for KFAIL.
17480
485668e5
MM
174812015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17482
17483 * gdb.btrace/record_goto-step.exp: New.
17484
08464196
JK
174852015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17486
17487 PR compile/18484
17488 * gdb.compile/compile.c (struct struct_type): Add volatile to
17489 selffield's type.
17490 * gdb.compile/compile.exp
17491 (compile code struct_object.selffield = &struct_object): Skip further
17492 struct_object tests if this one xfails.
17493
bcf5c1d9
RC
174942015-07-08 Robert O'Callahan <robert@ocallahan.org>
17495
17496 PR exp/18617
17497 * gdb.trace/ax.exp: Add test.
17498
4931af25
YQ
174992015-07-07 Yao Qi <yao.qi@linaro.org>
17500
17501 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17502 instead of istarget "aarch64*-*-*".
17503 * gdb.arch/aarch64-fp.exp: Likewise.
17504 * gdb.base/float.exp: Likewise.
17505 * gdb.reverse/aarch64.exp: Likewise.
17506 * lib/gdb.exp (is_aarch64_target): New proc.
17507
9fcf688e
YQ
175082015-07-07 Yao Qi <yao.qi@linaro.org>
17509
17510 * lib/gdb.exp (is_aarch32_target): New proc.
17511 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17512 instead of "istarget "arm*-*-*"".
17513 * gdb.arch/arm-disp-step.exp: Likewise.
17514 * gdb.arch/thumb-bx-pc.exp: Likewise.
17515 * gdb.arch/thumb-prologue.exp: Likewise.
17516 * gdb.arch/thumb-singlestep.exp: Likewise.
17517 * gdb.base/disp-step-syscall.exp: Likewise.
17518 * gdb.base/float.exp: Likewise.
17519
fbd8d50d
YQ
175202015-07-07 Yao Qi <yao.qi@linaro.org>
17521
17522 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17523 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17524
71be1fdc
YQ
175252015-07-07 Yao Qi <yao.qi@linaro.org>
17526
17527 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17528 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17529 if it exists.
17530 * gdb.multi/multi-arch.exp: Likewise.
17531
3e221d36
SM
175322015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17533
17534 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17535 print.
17536
d441430b
YQ
175372015-07-07 Yao Qi <yao.qi@linaro.org>
17538
17539 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17540
06f810bd
MG
175412015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17542
17543 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17544 '[' and ']' characters.
17545
5e61e7c0
IB
175462015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17547
17548 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17549
28bf096c
PA
175502015-06-29 Pedro Alves <palves@redhat.com>
17551
17552 PR threads/18127
17553 * gdb.threads/hand-call-new-thread.c: New file.
17554 * gdb.threads/hand-call-new-thread.c: New file.
17555
ee93cd5e
KS
175562015-06-26 Keith Seitz <keiths@redhat.com>
17557 Doug Evans <dje@google.com>
17558
17559 PR 16253
17560 * gdb.cp/var-tag-2.cc: New file.
17561 * gdb.cp/var-tag-3.cc: New file.
17562 * gdb.cp/var-tag-4.cc: New file.
17563 * gdb.cp/var-tag.cc: New file.
17564 * gdb.cp/var-tag.exp: New file.
17565
fc637f04
PP
175662015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17567
17568 * gdb.base/history-duplicates.exp: New test.
17569
2e52ae68
PP
175702015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17571
17572 * gdb.base/completion.exp: Test the completion of the "focus"
17573 command.
17574
6e22494e
JK
175752015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17576
17577 * gdb.arch/amd64-prologue-skip.S: New file.
17578 * gdb.arch/amd64-prologue-skip.exp: New file.
17579
bf7b9cd9
SM
175802015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17581
17582 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17583 is_address_zero_readable check.
17584
201e8dfd
PB
175852015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17586
17587 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17588 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17589
5cd867b4
YQ
175902015-06-24 Yao Qi <yao.qi@linaro.org>
17591
17592 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17593 linux targets.
17594
4d7be007
YQ
175952015-06-24 Yao Qi <yao.qi@linaro.org>
17596
17597 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17598 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17599 * gdb.base/siginfo-thread.exp: Likewise.
17600
07fcd301
YQ
176012015-06-22 Yao Qi <yao.qi@linaro.org>
17602
17603 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17604
52042a00
YQ
176052015-06-22 Yao Qi <yao.qi@linaro.org>
17606
17607 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17608 aarch64*-*-*.
17609 (skip_hw_watchpoint_tests): Likewise.
17610
74bd41ce
PP
176112015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17612
17613 * gdb.base/gdbinit-history.exp: Test the interaction between
17614 setting GDBHISTSIZE and setting the history size via .gdbinit.
17615
bc460514
PP
176162015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17617
17618 PR gdb/16999
17619 * gdb.base/gdbhistsize-history.exp: New test.
17620
b58c513b
PP
176212015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17622
17623 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17624 with GDBHISTSIZE.
17625 * gdb.base/readline.exp: Likewise.
17626
92046791
YQ
176272015-06-17 Yao Qi <yao.qi@linaro.org>
17628
17629 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17630 line.
17631
2093d2d3
PP
176322015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17633
17634 * gdb.base/gdbinit-history.exp: Add test case to check that
17635 an unlimited history file does not get truncated on exit.
17636
e6c693af
AA
176372015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17638
17639 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17640 (VECTOR): New macro. Use it...
17641 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17642 ...for these typedefs.
17643 (int8, char1, int1, double1): New typedefs.
17644 (struct just_int2, struct two_int2): New structures.
17645 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17646 (add_structvecs, add_singlevecs): New functions.
17647 (main): Call add_some_intvecs twice.
17648 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17649 the compile and exit upon failure. Try compiling for the "native"
17650 architecture. Test inferior function calls with vector arguments
17651 and vector return value handling with "finish" and "return".
17652
c74f7d1c
JT
176532015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17654
17655 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17656 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17657 PE file.
17658 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17659
98aa42ee
AT
176602015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17661
17662 PR breakpoints/16465
17663 * gdb.mi/mi-dprintf-pending.c: New file.
17664 * gdb.mi/mi-dprintf-pending.exp: New test.
17665 * gdb.mi/mi-dprintf-pendshr.c: New file.
17666
7d73c23c 176672015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 17668 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
17669
17670 * gdb.arch/i386-mpx-map.c: New file.
17671 * gdb.arch/i386-mpx-map.exp: New File.
17672
176732015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17674
17675 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17676 * gdb.arch/i386-mpx.exp: Indentation fixed.
17677
176782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17679
17680 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17681 function and improved indentation.
17682 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17683 gdb_test_multiple. Added additional tests to skip the test.
17684
176852015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17686
17687 * gdb.arch/i386-avx512.c: Change path in include file.
17688 * gdb.arch/i386-avx512.exp: Change include dir path
17689 compilation flag.
17690 * gdb.arch/i386-mpx.c: Change path in include file.
17691 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17692 flag.
17693
d5eba19a
JK
176942015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17695
17696 * gdb.compile/compile-print.exp (compile print *vararray@3)
17697 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17698
7f361056
JK
176992015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17700
17701 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17702 (do not keep jit in memory): ... this.
17703 (expect 5): Change it to ...
17704 (expect no 5): ... this.
17705
3b462ec2
SM
177062015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17707
17708 PR gdb/15564
17709 * gdb.mi/mi-detach.exp: New file.
17710
e0619de6
JK
177112015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17712
17713 PR symtab/18392
17714 * gdb.arch/amd64-tailcall-self.S: New file.
17715 * gdb.arch/amd64-tailcall-self.c: New file.
17716 * gdb.arch/amd64-tailcall-self.exp: New file.
17717
e970cb34
DB
177182015-05-28 Don Breazeal <donb@codesourcery.com>
17719
17720 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17721 tests for remote targets by checking is_target_gdbserver.
17722
b2e2f908
DE
177232015-05-27 Doug Evans <dje@google.com>
17724
17725 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17726 * gdb.dwarf2/opaque-type-lookup.c: New file.
17727 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17728
82c7be31
DE
177292015-05-26 Doug Evans <dje@google.com>
17730
17731 * gdb.cp/iostream.cc: New file.
17732 * gdb.cp/iostream.exp: New file.
17733
b4f54984
DE
177342015-05-26 Doug Evans <dje@google.com>
17735
17736 * gdb.dwarf2/dw2-op-call.exp: Update.
17737 * gdb.dwarf2/dw4-sig-types.exp: Update.
17738 * gdb.dwarf2/implptr.exp: Update.
17739 * gdb.mi/mi-cmd-param-changed.exp: Update.
17740
4ea6efe9
DE
177412015-05-26 Doug Evans <dje@google.com>
17742
17743 * gdb.python/py-lazy-string.c: New file.
17744 * gdb.python/py-lazy-string.exp: New file.
17745 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17746 (main): Update. Add estring3.
17747 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17748 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17749
f6bb7db3
YQ
177502015-05-26 Omair Javaid <omair.javaid@linaro.org>
17751 Yao Qi <yao.qi@linaro.org>
17752
17753 * gdb.reverse/aarch64.c: New.
17754 * gdb.reverse/aarch64.exp: New.
17755
a81bfbd0
OJ
177562015-05-26 Omair Javaid <omair.javaid@linaro.org>
17757
25d49b86
PA
17758 * lib/gdb.exp (supports_process_record): Return true for
17759 aarch64*-linux*.
a81bfbd0
OJ
17760 (supports_reverse): Likewise.
17761
158bf1b4
PP
177622015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17763
17764 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17765 Use with_test_prefix.
17766
a0145030
AB
177672015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17768
17769 * gdb.base/completion.exp: Add test for completion of layout
17770 names.
17771
ebe3b578
AB
177722015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17773
17774 * lib/gdb.exp (skip_tui_tests): New proc.
17775 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17776
84204ed7
PA
177772015-05-19 Pedro Alves <palves@redhat.com>
17778
17779 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17780 Save the whole env array instead of just HOME. Unset HISTSIZE in
17781 the environment while testing. Restore whole environment
17782 afterwards.
17783
37442ce1
DE
177842015-05-16 Doug Evans <xdje42@gmail.com>
17785
17786 * gdb.guile/scm-ports.c: New file.
17787 * gdb.guile/scm-ports.exp: Add memory port tests.
17788
36de76f9
JK
177892015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17790
17791 * gdb.compile/compile-print.c: New file.
17792 * gdb.compile/compile-print.exp: New file.
17793
3a9558c4
JK
177942015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17795
17796 * gdb.compile/compile-ops.exp: Cast param to void.
17797 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17798 (compile code struct_object.selffield = &struct_object): Add xfail.
17799
aa715135
JG
178002015-05-15 Joel Brobecker <brobecker@adacore.com>
17801
17802 * gdb.ada/arr_enum_with_gap: New testcase.
17803
931e5bc3
JG
178042015-05-15 Joel Brobecker <brobecker@adacore.com>
17805
17806 * gdb.ada/byte_packed_arr: New testcase.
17807
9cd4d857
JB
178082015-05-15 Joel Brobecker <brobecker@adacore.com>
17809
17810 * gdb.ada/pckd_neg: New testcase.
17811
ebfd00d2
PP
178122015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17813
17814 PR gdb/17820
17815 * gdb.base/gdbinit-history.exp: New test.
17816 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17817 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17818
4c082a81
SC
178192015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17820
17821 * gdb.python/py-xmethods.cc: Enhance test case.
17822 * gdb.python/py-xmethods.exp: New tests.
17823 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17824 function.
17825 (B_indexoper): Likewise.
17826 (global_dm_list) : Add new xmethod worker functions.
17827
f7797074
SDJ
178282015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17829
17830 * gdb.base/coredump-filter.exp: Correctly unset
17831 "coredump_var_addr" array.
17832
a4674e4e
PA
178332015-05-08 Pedro Alves <palves@redhat.com>
17834
17835 * gdb.server/non-existing-program.exp: Unset spawn_id.
17836
df2eb078
SC
178372015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17838
17839 PR python/18291
17840 * gdb.python/py-xmethods.exp: Add tests.
17841
422349a3
YQ
178422015-05-08 Yao Qi <yao.qi@linaro.org>
17843
17844 PR gdb/18208
17845 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17846 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17847 function set_coredump_filter, and remove remote_exec call.
17848 Remove argument ipid. Callers update.
17849 (top level): Don't get inferior's PID.
17850
63fc80ce
AA
178512015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17852
17853 * gdb.base/watch_thread_num.exp: Skip test on targets without
17854 access watchpoints.
17855
80ad801e
PA
178562015-05-06 Pedro Alves <palves@redhat.com>
17857
17858 PR server/18081
17859 * gdb.server/non-existing-program.exp: New file.
17860
0fa7fe50
JB
178612015-05-05 Joel Brobecker <brobecker@adacore.com>
17862
17863 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17864
3ea89b92
PMR
178652015-05-05 Joel Brobecker <brobecker@adacore.com>
17866
17867 * gdb.ada/out_of_line_in_inlined: New testcase.
17868
87b8eff0
JB
178692015-05-05 Joel Brobecker <brobecker@adacore.com>
17870
17871 * gdb.ada/var_rec_arr: New testcase.
17872
5fccc635
YQ
178732015-04-30 Yao Qi <yao.qi@linaro.org>
17874
17875 * gdb.base/break-idempotent.exp: If
17876 skip_hw_watchpoint_multi_tests returns true, skip the tests
17877 on "rwatch" and "awatch".
17878
42d38f42
YQ
178792015-04-30 Yao Qi <yao.qi@linaro.org>
17880
17881 * gdb.base/relativedebug.exp: Invoke gdb command
17882 "info sharedlibrary", and if libc.so doesn't have debug info,
17883 skip the test.
17884
2ce1cdbf
DE
178852015-04-29 Doug Evans <dje@google.com>
17886
17887 * gdb.python/py-xmethods.exp: Add ptype tests.
17888 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17889 get_result_type method.
17890
f24a38c5
LM
178912015-04-29 Luis Machado <lgustavo@codesourcery.com>
17892
17893 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17894 the target does not support hardware watchpoints.
17895
ecbf2b3c
LM
178962015-04-29 Luis Machado <lgustavo@codesourcery.com>
17897
17898 * gdb.base/break-always.exp: Abort testing if writing to memory
17899 causes an error.
17900
34f5f757
DE
179012015-04-28 Doug Evans <dje@google.com>
17902
17903 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17904 * gdb.python/py-pp-registration.exp: ... here. New file.
17905 * gdb.python/py-pp-registration.c: New file.
17906 * gdb.python/py-pp-registration.py: New file.
17907
69b4374a
DE
179082015-04-28 Doug Evans <dje@google.com>
17909
17910 * gdb.python/py-bad-printers.c: New file.
17911 * gdb.python/py-bad-printers.py: New file.
17912 * gdb.python/py-bad-printers.exp: New file.
17913
59fb7612
SS
179142015-04-28 Sasha Smundak <asmundak@google.com>
17915
17916 * gdb.python/py-type.exp: New test.
17917
2631b16a
AW
179182015-04-28 Andy Wingo <wingo@igalia.com>
17919
17920 * gdb.python/py-parameter.exp:
17921 * gdb.guile/scm-parameter.exp: Escape the path that we are
17922 matching against, as it might contain characters that are special
17923 to regular expressions.
17924
460efde1
JB
179252015-04-27 Joel Brobecker <brobecker@adacore.com>
17926
17927 * gdb.ada/rec_comp: New testcase.
17928
2d369d8e
SDJ
179292015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17930
17931 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17932 before using it.
17933
cf75d6c3
AB
179342015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17935
17936 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17937 new tests for verilog output.
17938
8dbe7ca5
YQ
179392015-04-24 Yao Qi <yao.qi@linaro.org>
17940
17941 * boards/remote-gdbserver-on-localhost.exp: New file.
17942
4ef9fb2f
PA
179432015-04-23 Pedro Alves <palves@redhat.com>
17944
17945 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17946 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17947 "end of file", remove $inferior_spawn_id from the indirect list.
17948
0a803169
PA
179492015-04-23 Pedro Alves <palves@redhat.com>
17950
17951 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17952
749ef8f8
PA
179532015-04-23 Pedro Alves <palves@redhat.com>
17954
17955 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17956 on $any_spawn_id instead of only on $gdb_spawn_id.
17957
8aae4344
PM
179582015-04-21 Pierre Muller <muller@sourceware.org>
17959
17960 PR pascal/17815
17961 * lib/pascal.exp (gpc_compile): Add new option "class".
17962 (fpc_compile): Likewise.
17963 * gdb.pascal/case-insensitive-symbols.pas: New file.
17964 * gdb.pascal/case-insensitive-symbols.exp: New file.
17965
1586c8fb
GB
179662015-04-20 Gary Benson <gbenson@redhat.com>
17967
17968 * gdb.base/attach.exp: Fix three extended remote failures.
17969
1b6e6f5c
GB
179702015-04-17 Gary Benson <gbenson@redhat.com>
17971
17972 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17973 the main executable over the remote protocol.
17974
e797481d
PA
179752015-04-16 Pedro Alves <palves@redhat.com>
17976
17977 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17978 a new gdbserver if gdbserver_reconnect_p is set.
17979
1ca99c42
PA
179802015-04-16 Pedro Alves <palves@redhat.com>
17981
17982 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17983 is set, don't exit gdbserver.
17984
af9fd6f8
AA
179852015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17986
17987 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17988 appropriate .insn, such that an older assembler can be used.
17989 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17990 the z/Architecture instruction set on 31-bit targets as well.
17991
04ff1e61
AA
179922015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17993
17994 * gdb.go/handcall.exp: Remove all logic related to the first
17995 breakpoint and rely on go_runto_main instead.
17996 * gdb.go/strings.exp: Likewise.
17997 * gdb.go/unsafe.exp: Likewise.
17998 * gdb.go/hello.exp: Likewise. Also rename the remaining
17999 breakpoint marker to "breakpoint 1".
18000 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18001 * gdb.go/strings.go: Likewise.
18002 * gdb.go/unsafe.go: Likewise.
18003 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18004 "set breakpoint 2 here" and rename the remaining breakpoint marker
18005 to "breakpoint 1".
18006
40d2f8d6
SM
180072015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18008
18009 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18010 if itertools.imap is not present.
18011 * gdb.python/py-objfile.exp: Add parentheses.
18012 * gdb.python/py-type.exp: Same.
18013 * gdb.python/py-unwind-maint.py: Same.
18014
8cbc97c6
YQ
180152015-04-15 Yao Qi <yao.qi@linaro.org>
18016
18017 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18018 of ":$ptr_size" and set its form explicitly.
18019
45fd756c
YQ
180202015-04-15 Pedro Alves <palves@redhat.com>
18021 Yao Qi <yao.qi@linaro.org>
18022
18023 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18024 timeout by factor of 4.
18025 (test_regular_watch): Likewise.
18026 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18027 * gdb.reverse/sigall-reverse.exp: Likewise.
18028 * gdb.reverse/until-precsave.exp: Likewise.
18029 * lib/gdb.exp (with_timeout_factor): New proc.
18030 (gdb_expect): Move some code to ...
18031 (get_largest_timeout): ... here. New procedure.
18032
9e811bc3
LM
180332015-04-14 Luis Machado <lgustavo@codesourcery.com>
18034
18035 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18036
0ff6fcb2
LM
180372015-04-13 Luis Machado <lgustavo@codesourcery.com>
18038
18039 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18040 to write to the .text section.
18041
7578d5f7
LM
180422015-04-13 Luis Machado <lgustavo@codesourcery.com>
18043
18044 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18045 Handle the case of targets that do not provide PID information.
18046
2efe15c4
YQ
180472015-04-13 Yao Qi <yao.qi@linaro.org>
18048
18049 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18050 and use expect instead of gdb_expect.
18051
8cd8f2f8
SDJ
180522015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18053
18054 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18055 "coredump_var_addr" to avoid naming conflict with other testcases.
18056
9ee41772
PA
180572015-04-10 Pedro Alves <palves@redhat.com>
18058
18059 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18060 gdb_test_sequence and gdb_assert.
18061
07473109
PA
180622015-04-10 Pedro Alves <palves@redhat.com>
18063
18064 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18065 test messages that don't include the breakpoint address.
18066
de3db44c
YQ
180672015-04-10 Yao Qi <yao.qi@linaro.org>
18068
18069 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18070 false for some offset and width combinations which aren't
18071 supported by linux kernel.
18072
c79d856c
PA
180732015-04-10 Pedro Alves <palves@redhat.com>
18074
18075 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18076 procedure, factored out from ...
18077 (top level): ... here. Add "set displaced-stepping" testing axis.
18078 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18079 parameter "displaced". Use it.
18080 (top level): Use foreach and add "set displaced-stepping" testing
18081 axis.
18082
ebc90b50
PA
180832015-04-10 Pedro Alves <palves@redhat.com>
18084
18085 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18086 Remove comment.
18087 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18088 both the address of the instruction that triggers the watchpoint
18089 and the address of the instruction immediately after, and use
18090 those addresses for the test. Fix comment.
18091
8f572e5c
PA
180922015-04-10 Pedro Alves <palves@redhat.com>
18093
18094 * gdb.base/sigstep.exp (breakpoint_to_handler)
18095 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18096 Test "backtrace" in handler.
18097 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18098 (top level): Add new "displaced" test axis to
18099 breakpoint_to_handler, breakpoint_to_handler_entry and
18100 breakpoint_over_handler.
18101
8d707a12
PA
181022015-04-10 Pedro Alves <palves@redhat.com>
18103
18104 PR gdb/18216
18105 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18106
ef713951
YQ
181072015-04-10 Yao Qi <yao.qi@linaro.org>
18108
18109 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18110 (test_add_rn_pc): New function.
18111 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18112 (top level): Invoke test_add_rn_pc.
18113
906d60cf
PA
181142015-04-10 Pedro Alves <palves@redhat.com>
18115
18116 PR gdb/13858
18117 * gdb.base/step-over-no-symbols.exp: New file.
18118
f2983cc3
AW
181192015-04-09 Andy Wingo <wingo@igalia.com>
18120
18121 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18122 after the Python tests.
18123
6d62641c
SDJ
181242015-04-08 Keith Seitz <keiths@redhat.com>
18125
18126 PR python/16699
18127 * gdb.python/py-completion.exp: New tests for completion.
18128 * gdb.python/py-completion.py (CompleteLimit1): New class.
18129 (CompleteLimit2): Likewise.
18130 (CompleteLimit3): Likewise.
18131 (CompleteLimit4): Likewise.
18132 (CompleteLimit5): Likewise.
18133 (CompleteLimit6): Likewise.
18134 (CompleteLimit7): Likewise.
18135
f3770638
PA
181362015-04-08 Pedro Alves <palves@redhat.com>
18137
18138 PR gdb/18214
18139 PR gdb/18216
18140 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18141 function.
18142 (main): Install it as SIGUSR1 handler.
18143 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18144 parameter. Always use "setup" as prefix. Toggle "set
18145 displaced-stepping" off/on depending on global. Don't switch to
18146 thread 1 here.
18147 (top level): Add displaced stepping "off/on" test axis. Update
18148 "setup" calls. Wrap each subtest with with_test_prefix. Test
18149 continuing with a queued signal in each thread.
18150
4496bed7
PA
181512015-04-08 Pedro Alves <palves@redhat.com>
18152
18153 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18154 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18155 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18156 Return early if running to main fails.
18157 * gdb.trace/while-stepping.exp: Likewise.
18158
b97fde92
PA
181592015-04-07 Pedro Alves <palves@redhat.com>
18160
18161 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18162 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18163 interact with inferior program.
18164
f71c18e7
PA
181652015-04-07 Pedro Alves <palves@redhat.com>
18166
18167 * lib/gdb.exp (inferior_spawn_id): New global.
18168 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18169 spawn id after processing the user code.
18170 (default_gdb_start): Set inferior_spawn_id.
18171 (send_inferior): New procedure.
18172 * lib/gdbserver-support.exp (gdbserver_start): Set
18173 inferior_spawn_id.
18174 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18175
6423214f
PA
181762015-04-07 Pedro Alves <palves@redhat.com>
18177
18178 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18179 * lib/gdbserver-support.exp (gdbserver_start): Make
18180 $server_spawn_id global.
18181 (gdbserver_start): Don't wait for gdbserver's spawn id with
18182 expect_background.
18183 (close_gdbserver): New procedure.
18184 (gdb_exit): Rename the default version and reimplement.
18185
71c0ee8c
PA
181862015-04-07 Pedro Alves <palves@redhat.com>
18187
72f4393d 18188 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
18189 append the substituted item, not the original item.
18190
203bc29b
PA
181912015-04-07 Pedro Alves <palves@redhat.com>
18192
18193 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18194 gdb_expect.
18195
508a3ddf
PA
181962015-04-07 Pedro Alves <palves@redhat.com>
18197
18198 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18199 output appearing once only.
18200
9f6dbe2b
PA
182012015-04-07 Pedro Alves <palves@redhat.com>
18202
18203 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18204 that doesn't expect anything. Return early if running to main
18205 fails.
18206
337532fa
YQ
182072015-04-07 Yao Qi <yao.qi@linaro.org>
18208
18209 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18210 (child_function): Call alarm.
18211 (main): Move call to alarm into the loop.
18212 * gdb.threads/non-stop-fair-events.exp: Build program with
18213 -DTIMEOUT=$timeout.
18214
01b622d4
DE
182152015-04-06 Doug Evans <xdje42@gmail.com>
18216
18217 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18218 Fix dest parameter to board_info.
18219 (fpc_compile): Ditto.
18220 (gdb_compile_pascal): Rename dest arg to destfile.
18221
961f4160
PMR
182222015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18223
18224 * gdb.ada/funcall_ref.exp: New file.
18225 * gdb.ada/funcall_ref/foo.adb: New file.
18226
cafda597
YQ
182272015-04-02 Yao Qi <yao.qi@linaro.org>
18228
18229 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18230 is remote.
18231
fed040c6
GB
182322015-04-02 Gary Benson <gbenson@redhat.com>
18233
18234 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18235
d11916aa
SS
182362015-04-01 Sasha Smundak <asmundak@google.com>
18237
18238 * gdb.python/py-unwind-maint.c: New file.
18239 * gdb.python/py-unwind-maint.exp: New test.
18240 * gdb.python/py-unwind-maint.py: New file.
18241 * gdb.python/py-unwind.c: New file.
18242 * gdb.python/py-unwind.exp: New test.
18243 * gdb.python/py-unwind.py: New test.
18244
a1471180
PA
182452015-04-01 Pedro Alves <palves@redhat.com>
18246
18247 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18248 to fail instead of non-existent $test.
18249
0bbeccb1
PA
182502015-04-01 Pedro Alves <palves@redhat.com>
18251
18252 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18253 GDBFLAGS if not empty.
18254
3c724c8c
PMR
182552015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18256
18257 * gdb.ada/complete.exp: Remove "multi_line".
18258 * gdb.ada/info_exc.exp: Remove "multi_line".
18259 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18260 * gdb.ada/ptype_field.exp: Remove "multi_line".
18261 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18262 * gdb.ada/tagged.exp: Remove "multi_line".
18263 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18264 [multi_line ...]
18265 * gdb.btrace/delta.exp: Likewise.
18266 * gdb.btrace/exception.exp: Likewise.
18267 * gdb.btrace/function_call_history.exp: Likewise.
18268 * gdb.btrace/instruction_history.exp: Likewise.
18269 * gdb.btrace/nohist.exp: Likewise.
18270 * gdb.btrace/record_goto.exp: Likewise.
18271 * gdb.btrace/segv.exp: Likewise.
18272 * gdb.btrace/stepi.exp: Likewise.
18273 * gdb.btrace/tailcall.exp: Likewise.
18274 * gdb.btrace/unknown_functions.exp: Likewise.
18275 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18276 * lib/gdb.exp: Add the "multi_line" helper.
18277
4eec2deb
PA
182782015-04-01 Pedro Alves <palves@redhat.com>
18279
18280 * gdb.threads/tid-reuse.c: New file.
18281 * gdb.threads/tid-reuse.exp: New file.
18282
df8411da
SDJ
182832015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18284
18285 PR corefiles/16092
18286 * gdb.base/coredump-filter.c: New file.
18287 * gdb.base/coredump-filter.exp: Likewise.
18288
6ef37366
PM
182892015-03-27 Petr Machata <pmachata@redhat.com>
18290
18291 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18292 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18293 (Dwarf::assemble): Initialize them.
18294 (Dwarf::lines): New function.
18295
7ec911b0
JT
182962015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18297
18298 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18299 SYMBOL_PREFIX for x86_64-*-cygwin.
18300
ff908ebf
AW
183012015-03-26 Andy Wingo <wingo@igalia.com>
18302
18303 PR symtab/18148
18304 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18305 const_value but not a location.
18306 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18307 location defined in non-main CUs are visible.
18308
6d5f0679
YQ
183092015-03-26 Yao Qi <yao.qi@linaro.org>
18310
18311 PR testsuite/18139
18312 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18313 Add a line number entry for the same line.
18314 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18315 Add a line number entry for the same line.
18316
2898689b
YQ
183172015-03-26 Yao Qi <yao.qi@linaro.org>
18318
18319 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18320 .int 0.
18321 (func): Likewise. Add .Lfunc_1 label.
18322 Use .Lfunc_1 label.
18323 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18324 .int 0.
18325 (func): Likewise.
18326 Use .Lfunc_1 label.
18327
85180498
YQ
183282015-03-26 Yao Qi <yao.qi@linaro.org>
18329
18330 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18331 Call gdb_compile instead to compile each .s files without debug
18332 information.
18333
8aa08a8d
YQ
183342015-03-26 Yao Qi <yao.qi@linaro.org>
18335
18336 * gdb.base/savedregs.exp (process_saved_regs): Make
18337 "Saved registers:" optional in the pattern.
18338
66849923
MM
183392015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18340
18341 * gdb.btrace/next.exp: Merged into step.exp.
18342 * gdb.btrace/finish.exp: Merged into step.exp.
18343 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18344 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18345 "record goto" and checking the exact replay position.
18346 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18347 check for "Recording format" in "info record" output.
18348 * gdb.btrace/record_goto.exp: Choose test file based on target.
18349 * gdb.btrace/x86-record_goto.S: Renamed into ...
18350 * gdb.btrace/x86_64-record_goto.S: ... this.
18351 * gdb.btrace/i686-record_goto.S: New.
18352 * gdb.btrace/x86-tailcall.S: Renamed into ...
18353 * gdb.btrace/x86_64-tailcall.S: ... this.
18354 * gdb.btrace/i686-tailcall.S: New.
18355 * gdb.btrace/x86-tailcall.c: Renamed into ...
18356 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18357 separate statements. Update test.
18358 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18359 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18360 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18361 * gdb.btrace/tailcall.exp: Choose test file based on target.
18362 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18363
11cc1b74
MM
183642015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18365
18366 * gdb.btrace/exception.exp: Increase BTS buffer size.
18367
a25d8bf9
PA
183682015-03-24 Pedro Alves <palves@redhat.com>
18369
18370 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18371
856e7dd6
PA
183722015-03-24 Pedro Alves <palves@redhat.com>
18373
18374 * gdb.threads/schedlock.exp (test_step): No longer expect that
18375 "set scheduler-locking step" with "next" over a function call runs
18376 threads unlocked.
18377
ad235a41
AT
183782015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18379
18380 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18381
15630549
AT
183822015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18383
18384 PR breakpoints/16466
18385 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18386 * gdb.mi/mi-pending.c (thread_func): New function.
18387 (int main): Add threading support required.
18388 * gdb.mi/mi-pending.exp: Add tests for this issue.
18389 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18390 (pendfunc2): Remove stdio dependency.
18391 * gdb.mi/mi-pendshr2.c: New file.
18392
693dca06
KS
183932015-03-23 Keith Seitz <keiths@redhat.com>
18394
18395 * gdb.linespec/keywords.c: New file.
18396 * gdb.linespec/keywords.exp: New file.
18397
7e993ebf
KS
183982015-03-23 Keith Seitz <keiths@redhat.com>
18399
18400 PR gdb/18021
18401 * gdb.dwarf2/staticvirtual.exp: New test.
18402
bc23328c
JK
184032015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18404
18405 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
18406 * README: Remove HP-UX and gdb.hp.
18407 (configuration):
18408 * configure: Regenerate.
18409 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
18410 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18411 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18412 gdb.hp/gdb.defects/Makefile.
18413 * gdb.hp/Makefile.in: File deleted.
18414 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18415 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18416 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18417 * gdb.hp/gdb.aCC/run.c: File deleted.
18418 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18419 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18420 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18421 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18422 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18423 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18424 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18425 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18426 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18427 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18428 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18429 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18430 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18431 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18432 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18433 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18434 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18435 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18436 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18437 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18438 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18439 * gdb.hp/gdb.compat/average.c: File deleted.
18440 * gdb.hp/gdb.compat/sum.c: File deleted.
18441 * gdb.hp/gdb.compat/xdb.c: File deleted.
18442 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18443 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18444 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18445 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18446 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18447 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18448 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18449 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18450 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18451 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18452 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18453 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18454 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18455 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18456 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18457 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18458 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18459 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18460 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18461 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18462 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18463 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18464 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18465 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18466 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18467 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18468 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18469 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18470 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18471 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18472 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18473 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18474 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18475 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18476 * gdb.hp/tools/odump: File deleted.
18477
8bf3b159
PA
184782015-03-19 Pedro Alves <palves@redhat.com>
18479
18480 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18481 (saw_thread_3): New globals.
18482 (top level): Increment them when an event for the corresponding
18483 thread is seen.
18484 (no thread starvation): New test.
18485
eb54c8bf
PA
184862015-03-19 Pedro Alves <palves@redhat.com>
18487
18488 * gdb.threads/continue-pending-status.c: New file.
18489 * gdb.threads/continue-pending-status.exp: New file.
18490
32d2e5d6
PA
184912015-03-18 Pedro Alves <palves@redhat.com>
18492
18493 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18494 Use gdb_is_target_remote instead of is_remote. Use
18495 gdb_test_multiple instead of gdb_expect. Exit early if
18496 gdb_test_multiple hits its internal matches. Tighten stepi tests
18497 expected output. Fail on exit with any signal, instead of just
18498 SIGILL.
18499
f68f11b7
YQ
185002015-03-18 Yao Qi <yao.qi@linaro.org>
18501
18502 PR tdep/18107
18503 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18504 variable.
18505 * gdb.base/catch-syscall.exp: Don't skip it on
18506 aarch64*-*-linux* target. Remove elements in all_syscalls.
18507 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18508 target.
18509 (setup_all_syscalls): New proc.
18510
ca5fd19b
YQ
185112015-03-16 Yao Qi <yao.qi@linaro.org>
18512
18513 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18514 (top level): Skip tests if valid_addr_p returns false for
18515 $cmd1 or $cmd2.
18516
85642ba0
AW
185172015-03-11 Andy Wingo <wingo@igalia.com>
18518
18519 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18520
e03f9645
YQ
185212015-03-11 Yao Qi <yao.qi@linaro.org>
18522
18523 * gdb.base/catch-syscall.exp: Fix typo in comments.
18524
5d0962b2
YQ
185252015-03-11 Yao Qi <yao.qi@linaro.org>
18526
18527 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18528
b2df3cef
PA
185292015-03-09 Pedro Alves <palves@redhat.com>
18530
18531 * dg-extract-results.py: Delete.
18532
ef878e53
PA
185332015-03-09 Pedro Alves <palves@redhat.com>
18534
18535 Merge dg-extract-results.sh from GCC upstream (r218843).
18536
18537 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18538 * dg-extract-results.sh: Use --text with grep to avoid issues with
18539 binary files. Fall back to cat -v, if that doesn't work.
18540
9494d219
PA
185412015-03-05 Pedro Alves <palves@redhat.com>
18542
18543 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18544
a8d9763a
SM
185452015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18546
18547 * lib/mi-support.exp (mi_expect_interrupt): Accept
18548 alternative event for when in all-stop mode.
18549
be9957b8
PA
185502015-03-04 Pedro Alves <palves@redhat.com>
18551
18552 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18553
d57be0f4 185542015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
18555
18556 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18557
c214c7cf
AA
185582015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18559
18560 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18561 regexps for GDB's current line display, accept a hex address
18562 preceding the line number.
18563
6d74a497
AA
185642015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18565
18566 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18567 the 'arch1' variable for "s390*-linux*" targets.
18568
511aee7c
PA
185692015-03-04 Pedro Alves <palves@redhat.com>
18570
18571 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18572 (main): Pass missing retval argument to pthread_join call.
18573
95e50b27
PA
185742015-03-02 Pedro Alves <palves@redhat.com>
18575
18576 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18577 (top level): Call do_test with non-stop as well.
18578
28054d69
PA
185792015-03-02 Pedro Alves <palves@redhat.com>
18580
18581 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18582 -1.
18583
4fa5d7b4
AA
185842015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18585
18586 * gdb.arch/s390-vregs.exp: New test.
18587 * gdb.arch/s390-vregs.S: New file.
18588
97c18565
PA
185892015-02-27 Pedro Alves <palves@redhat.com>
18590
18591 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18592 call to catch_command_errors.
18593 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18594 catch_command_errors.
18595
a37bfa30
PA
185962015-02-27 Pedro Alves <palves@redhat.com>
18597
18598 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18599 "true" for boolean result.
18600 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18601 prototype of main.
18602
6f98576f
PA
186032015-02-27 Pedro Alves <palves@redhat.com>
18604
18605 * lib/unbuffer_output.c: New file.
18606 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18607 (main): Call gdb_unbuffer_output.
18608
eba5ab56
YQ
186092015-02-27 Yao Qi <yao.qi@linaro.org>
18610
18611 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18612 target.
18613
0def5aaa
DE
186142015-02-26 Doug Evans <dje@google.com>
18615
18616 * gdb.cp/class2.cc (Dbase, D): New classes.
18617 (main): New local delta.
18618 * gdb.cp/class2.exp: Test printing delta.
18619 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18620 (dynbar): New global.
18621 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18622
081a1c2c
JK
186232015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18624
18625 * gdb.compile/compile-ifunc.c: New file.
18626 * gdb.compile/compile-ifunc.exp: New file.
18627
2f41223f
AT
186282015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18629
18630 * gdb.base/structs.exp: Check for correct struct on finish.
18631
03eddd80
YQ
186322015-02-26 Yao Qi <yao.qi@linaro.org>
18633
18634 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18635 is zero.
18636
80c57053
JK
186372015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18638
18639 * gdb.arch/cordic.ko.bz2: New file.
18640 * gdb.arch/cordic.ko.debug.bz2: New file.
18641 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18642
21613c12
YQ
186432015-02-25 Yao Qi <yao.qi@linaro.org>
18644
18645 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18646 aarch64*-*-* target.
18647
d8b901ed
PA
186482015-02-23 Pedro Alves <palves@redhat.com>
18649
18650 * lib/gdb.exp (delete_breakpoints): Rewrite using
18651 gdb_test_multiple.
18652
e5b85ead
PA
186532015-02-23 Pedro Alves <palves@redhat.com>
18654
18655 * gdb.base/info-os.c: Include stdlib.h.
18656
85c3a371
DE
186572015-02-22 Doug Evans <xdje42@gmail.com>
18658
18659 PR symtab/17855
18660 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18661 is read after symbols have been re-read.
18662 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18663 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18664
96553a0c
DE
186652015-02-21 Doug Evans <dje@google.com>
18666
18667 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18668
97a0c697
JK
186692015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18670
18671 PR corefiles/17808
18672 * gdb.arch/i386-biarch-core.core.bz2: New file.
18673 * gdb.arch/i386-biarch-core.exp: New file.
18674
a47cd6e9
PA
186752015-02-21 Pedro Alves <palves@redhat.com>
18676
18677 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18678 runto_main fails.
18679
c5facdc4
PA
186802015-02-20 Pedro Alves <palves@redhat.com>
18681
18682 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18683 info probes.
18684
2db9a427
PA
186852015-02-20 Pedro Alves <palves@redhat.com>
18686
18687 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18688
60fb7e9e
PA
186892015-02-20 Pedro Alves <palves@redhat.com>
18690
18691 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18692 clean_restart before gdb_target_supports_trace.
18693
5c5019c2
PA
186942015-02-20 Pedro Alves <palves@redhat.com>
18695
18696 PR threads/18006
18697 * gdb.threads/clone-thread_db.c: New file.
18698 * gdb.threads/clone-thread_db.exp: New file.
18699
c9587f88
AT
187002015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18701
18702 PR breakpoints/16812
18703 * gdb.base/catch-gdb-caused-signals.c: New file.
18704 * gdb.base/catch-gdb-caused-signals.exp: New file.
18705
f6a88844
JM
187062015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18707
18708 * configure: Regenerated.
18709 * configure.ac: Use GDB_AC_TRANSFORM.
18710 * aclocal.m4: sinclude ../transform.m4.
18711
497c491b
JM
187122015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18713
18714 * lib/dtrace.exp: New file.
18715 * gdb.base/dtrace-probe.exp: Likewise.
18716 * gdb.base/dtrace-probe.d: Likewise.
18717 * gdb.base/dtrace-probe.c: Likewise.
18718 * lib/pdtrace.in: Likewise.
18719 * configure.ac: Output variables with the transformed names of
18720 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18721 * configure: Regenerated.
18722
03e98035
JM
187232015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18724
18725 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18726 expected message when trying to access $_probe_* convenience
18727 variables while not on a probe.
18728
63cc30e9
JK
187292015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18730
18731 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18732
0703599a
PA
187332015-02-11 Pedro Alves <pedro@codesourcery.com>
18734
18735 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18736 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18737
7e60a48e
DE
187382015-02-10 Doug Evans <xdje42@gmail.com>
18739
18740 * lib/gdb.exp (gdb_load): Always return a result.
18741
01b088bc
PA
187422015-02-10 Pedro Alves <palves@redhat.com>
18743
18744 * gdb.threads/signal-sigtrap.c: New file.
18745 * gdb.threads/signal-sigtrap.exp: New file.
18746
b05ec7a5
AT
187472015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18748
18749 * gdb.trace/no-attach-trace.c: New file.
18750 * gdb.trace/no-attach-trace.exp: New file.
18751
a2c2acaf
MW
187522015-02-09 Mark Wielaard <mjw@redhat.com>
18753
18754 * gdb.dwarf2/atomic.c: New file.
18755 * gdb.dwarf2/atomic-type.exp: Likewise.
18756
31fd9caa
MM
187572015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18758
18759 * gdb.btrace/buffer-size.exp: Update "info record" output.
18760 * gdb.btrace/delta.exp: Update "info record" output.
18761 * gdb.btrace/enable.exp: Update "info record" output.
18762 * gdb.btrace/finish.exp: Update "info record" output.
18763 * gdb.btrace/instruction_history.exp: Update "info record" output.
18764 * gdb.btrace/next.exp: Update "info record" output.
18765 * gdb.btrace/nexti.exp: Update "info record" output.
18766 * gdb.btrace/step.exp: Update "info record" output.
18767 * gdb.btrace/stepi.exp: Update "info record" output.
18768 * gdb.btrace/nohist.exp: Update "info record" output.
18769
d33501a5
MM
187702015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18771
18772 * gdb.btrace/buffer-size: New.
18773
f4abbc16
MM
187742015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18775
18776 * gdb.btrace/delta.exp: Update "info record" output.
18777 * gdb.btrace/enable.exp: Update "info record" output.
18778 * gdb.btrace/finish.exp: Update "info record" output.
18779 * gdb.btrace/instruction_history.exp: Update "info record" output.
18780 * gdb.btrace/next.exp: Update "info record" output.
18781 * gdb.btrace/nexti.exp: Update "info record" output.
18782 * gdb.btrace/step.exp: Update "info record" output.
18783 * gdb.btrace/stepi.exp: Update "info record" output.
18784 * gdb.btrace/nohist.exp: Update "info record" output.
18785
b9d61307
SM
187862015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18787
18788 PR gdb/15678
18789 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18790
e584fdbc
PA
187912015-02-06 Pedro Alves <palves@redhat.com>
18792
18793 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18794 macro.
18795 (seconds_left, again): New globals.
18796 (main): Wait seconds_left in a 1-second sleep loop instead of
18797 sleeping 180 seconds. If 'again' is set, reset the seconds
18798 counter.
18799 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18800 'again' in the inferior before detaching. Print the seconds left.
18801 (options): New global.
18802 (top level): Build program with -DTIMEOUT=$timeout.
18803
77f41761
PA
188042015-02-06 Pedro Alves <palves@redhat.com>
18805
18806 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18807 determine how many seconds to pass to 'alarm'.
18808 * gdb.base/gdb-sigterm.exp (top level): Build program with
18809 -DTIMEOUT=$timeout.
18810 (do_test): Return success/failure indication. Add more verbose
18811 logging. Don't fail if 200 single steps are seen. Instead, fail
18812 when the test times out.
18813 (passes): New global.
18814 (top level): Break the testing loop if testing fails on any
18815 iteration. Use gdb_assert.
18816
b9394193
DB
188172015-02-04 Don Breazeal <donb@codesourcery.com>
18818
18819 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18820 and initialize them.
18821 (ipc_cleanup): New function.
18822 (main): Don't declare shmid, semid, and msqid. Add a call to
18823 atexit so that we call ipc_cleanup on exit.
18824
42d9e528
PA
188252015-02-04 Pedro Alves <palves@redhat.com>
18826
18827 * boards/native-extended-gdbserver.exp: Remove any target variant
18828 specifications from the board name before clearing the isremote
18829 flag from board_info.
18830
ae6ae975
DE
188312015-01-31 Doug Evans <xdje42@gmail.com>
18832
18833 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18834
cfb069a8
GB
188352015-01-31 Gary Benson <gbenson@redhat.com>
18836
18837 * gdb.base/completion.exp: Disable completion limiting for
18838 existing tests. Add new tests to check completion limiting.
18839 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18840
5dd31d79
DE
188412015-01-31 Doug Evans <xdje42@gmail.com>
18842
18843 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18844
9f050062
DE
188452015-01-31 Doug Evans <xdje42@gmail.com>
18846
18847 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18848 entries. Duplicate file section script entries.
18849 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18850 inlined entries. Add test for safe-path rejection.
18851 * gdb.python/py-section-script.c: Add duplicate inlined section script
18852 entries. Duplicate file section script entries.
18853 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18854 inlined entries. Add test for safe-path rejection.
18855
df25ebbd
JB
188562015-01-29 Joel Brobecker <brobecker@adacore.com>
18857
18858 * gdb.ada/disc_arr_bound: New testcase.
18859
4a0ca9ec
JB
188602015-01-29 Joel Brobecker <brobecker@adacore.com>
18861
18862 * gdb.ada/mi_var_array: New testcase.
18863
3a8b707a
DE
188642015-01-27 Doug Evans <dje@google.com>
18865
18866 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18867 Add test for objfile.filename, objfile.username after objfile
18868 has been unloaded.
18869
f8313f6e
JB
188702015-01-26 Joel Brobecker <brobecker@adacore.com>
18871
18872 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18873 the second test to print the name attribute of value
18874 returned by the call to gdb.lookup_type, and adjust
18875 the expected output accordingly.
18876
37bc665e
MW
188772015-01-25 Mark Wielaard <mjw@redhat.com>
18878
18879 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18880 * gdb.base/disp-step-fork.c: Include unistd.h.
18881 * gdb.base/siginfo-obj.c: Include stdio.h.
18882 * gdb.base/siginfo-thread.c: Likewise.
18883 * gdb.mi/non-stop.c: Include unistd.h.
18884 * gdb.mi/nsthrexec.c: Include stdio.h.
18885 * gdb.mi/pthreads.c: Include unistd.h.
18886 * gdb.modula2/unbounded1.c (main): Declare returns int.
18887 * gdb.reverse/consecutive-reverse.c: Likewise.
18888 * gdb.threads/create-fail.c: Include unistd.h.
18889 * gdb.threads/killed.c: Likewise.
18890 * gdb.threads/linux-dp.c: Likewise.
18891 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18892 * gdb.threads/non-ldr-exc-2.c: Likewise.
18893 * gdb.threads/non-ldr-exc-3.c: Likewise.
18894 * gdb.threads/non-ldr-exc-4.c: Likewise.
18895 * gdb.threads/pthreads.c: Include unistd.h.
18896 (main): Declare returns int.
18897 * gdb.threads/tls-main.c (foo): New declaration.
18898 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18899
f7e5394d
SM
189002015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18901
18902 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18903 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18904
743649fd
MW
189052015-01-15 Mark Wielaard <mjw@redhat.com>
18906
18907 * gdb.base/noreturn-return.c: New file.
18908 * gdb.base/noreturn-return.exp: New file.
18909 * gdb.base/noreturn-finish.c: New file.
18910 * gdb.base/noreturn-finish.exp: New file.
18911
198297aa
PA
189122015-01-23 Pedro Alves <palves@redhat.com>
18913
18914 * gdb.threads/continue-pending-after-query.c: New file.
18915 * gdb.threads/continue-pending-after-query.exp: New file.
18916
717cf30c
AG
189172015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18918 Simon Marchi <simon.marchi@ericsson.com>
18919
18920 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18921 * gdb.base/valgrind-db-attach.exp: Same.
18922 * gdb.base/valgrind-infcall.exp: Same.
18923 * lib/mi-support.exp (default_mi_gdb_start): Same.
18924 * lib/prompt.exp (default_prompt_gdb_start): Same.
18925 * lib/gdb.exp (default_gdb_spawn): Same.
18926 (gdb_interact): New.
18927
18928
4b62a76e
JK
189292015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18930
18931 * gdb.compile/compile.exp (pointer to jit function): New test.
18932
b4cdae6f
WW
189332015-01-17 Wei-cheng Wang <cole945@gmail.com>
18934
18935 * lib/gdb.exp (supports_process_record): Return true for
18936 powerpc*-*-linux*.
18937 (supports_reverse): Likewise.
18938
d221e7ef
DB
189392015-01-15 Don Breazeal <donb@codesourcery.com>
18940
18941 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18942 instead of checking whether the target board is remote and
18943 use spawn_wait_for_attach instead of exec/sleep.
18944 * gdb.base/attach-twice.exp: Likewise.
18945
bafffb51
JB
189462015-01-15 Joel Brobecker <brobecker@adacore.com>
18947
18948 * gdb.ada/var_arr_attrs: New testcase.
18949
5589af0e
PA
189502015-01-14 Pedro Alves <palves@redhat.com>
18951 Joel Brobecker <brobecker@adacore.com>
18952
18953 PR gdb/17525
18954 * gdb.base/bp-cmds-execution-x-script.c: New file.
18955 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18956 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18957
6c400b59
PA
189582015-01-14 Pedro Alves <palves@redhat.com>
18959
18960 PR cli/17828
18961 * gdb.base/batch-preserve-term-settings.c: New file.
18962 * gdb.base/batch-preserve-term-settings.exp: New file.
18963
e02c96a7
DE
189642015-01-13 Doug Evans <dje@google.com>
18965
18966 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18967 binary.
18968
576fd14c
JB
189692015-01-13 Joel Brobecker <brobecker@adacore.com>
18970
18971 * Makefile.in (clean mostlyclean): Do not delete *.py.
18972
04dccad0
JB
189732015-01-13 Joel Brobecker <brobecker@adacore.com>
18974
18975 * gdb.python/py-lookup-type.exp: New file.
18976
3d230f71
PA
189772015-01-12 Pedro Alves <palves@redhat.com>
18978
18979 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18980 restore GDBFLAGS before returning.
18981
7e67715d
JK
189822015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18983
18984 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18985 is_amd64_regs_target and is_x86_like_target.
18986
f2e0d4b4
DE
189872015-01-11 Doug Evans <xdje42@gmail.com>
18988
18989 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18990 is given without an explicit form.
18991 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18992 attributes.
18993 * gdb.dwarf/corrupt.exp: Ditto.
18994 * gdb.dwarf2/enum-type.exp: Ditto.
18995 * gdb.trace/entry-values.exp: Ditto.
18996 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18997
439250fb
DE
189982015-01-11 Doug Evans <xdje42@gmail.com>
18999
19000 PR gdb/15830
19001 * gdb.base/maint.exp: Remove references to "maint demangle".
19002 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19003 Add tests for explicitly specifying language to demangle.
19004 * gdb.dlang/demangle.exp: Ditto.
19005
ede9f622
PA
190062015-01-09 Pedro Alves <palves@redhat.com>
19007
19008 * gdb.threads/non-stop-fair-events.c: New file.
19009 * gdb.threads/non-stop-fair-events.exp: New file.
19010
a7b796db
PA
190112015-01-09 Pedro Alves <palves@redhat.com>
19012
19013 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19014 the global scope. Set a breakpoint after all threads are started
19015 rather than stepping over two source lines. Expect the prompt.
19016 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19017 global.
19018 (NUM): Now 15.
19019 (main): Use threads_started_barrier to wait for all threads to
19020 start. Main thread no longer calls thread_function. Exit after
19021 180 seconds.
19022 (loop): New function.
19023 (thread_function): Wait on threads_started_barrier barrier. Call
19024 'loop' at each iteration.
19025 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19026 threads have started, instead of hardcoding number of "next"
19027 steps. Use an access watchpoint instead of a write watchpoint.
19028
9665ffdd
PA
190292015-01-09 Pedro Alves <palves@redhat.com>
19030
19031 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19032 (thread_func): Wait on barrier.
19033 (main): Wait for all threads to start before stopping GDB.
19034 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19035 global.
19036 (thread1_func, thread2_func): Wait on barrier.
19037 (main): Wait for all threads to start before stopping GDB.
19038 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19039 New global.
19040 (thread1_func, thread2_func): Wait on barrier.
19041 (main): Wait for all threads to start before stopping GDB.
19042
c945a99f
PA
190432015-01-09 Pedro Alves <palves@redhat.com>
19044
19045 * gdb.threads/attach-many-short-lived-threads.c: New file.
19046 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19047
c1a747c1
PA
190482014-01-09 Pedro Alves <palves@redhat.com>
19049
19050 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19051 instead of to thread 2.
19052 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19053 Add barrier around each pthread_create call instead of around all
19054 calls.
19055 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19056 Set a break on thread_function and have the child threads hit it
19057 one at at a time.
19058
60b3033e
PA
190592015-01-09 Pedro Alves <palves@redhat.com>
19060
19061 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19062 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19063 false.
19064 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19065 checking whether the target board is remote.
19066 * gdb.multi/multi-attach.exp: Likewise.
19067 * gdb.python/py-sync-interp.exp: Likewise.
19068 * gdb.server/ext-attach.exp: Likewise.
19069 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19070 tests that need to attach, instead of checking whether the target
19071 board is remote at the top of the file.
19072
acc018ac
YQ
190732015-01-08 Yao Qi <yao@codesourcery.com>
19074
19075 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19076
50a18af8
JK
190772015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19078
19079 Fix testcase compilation.
19080 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19081
8503d6e1
JB
190822015-01-06 Joel Brobecker <brobecker@adacore.com>
19083
19084 * gdb.python/py-type.exp: Add a couple test about empty
19085 array creation, and negative-length array creation.
19086
cc73dbcc
DE
190872015-01-02 Doug Evans <xdje42@gmail.com>
19088
19089 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19090
0300bbc7
DE
190912015-01-02 Doug Evans <dje@google.com>
19092
19093 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19094
9d85a0ec
YQ
190952014-12-29 Yao Qi <yao@codesourcery.com>
19096
19097 * gdb.trace/entry-values.exp: Update comments. Rename variable
19098 bar_call_foo to returned_from_foo.
19099
87186c6a
MMN
191002014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19101
19102 PR gdb/17394
19103 * gdb.linespec/break-asm-file.c: New file.
19104 * gdb.linespec/break-asm-file.exp: New file.
19105 * gdb.linespec/break-asm-file0.s: New file.
19106 * gdb.linespec/break-asm-file1.s: New file.
19107
1bab7383
YQ
191082014-12-18 Nigel Stephens <nigel@mips.com>
19109 Maciej W. Rozycki <macro@codesourcery.com>
19110
19111 * gdb.base/float.exp: Handle the new output from "info float" on
19112 MIPS targets.
19113
1bc1068a
JK
191142014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19115
19116 Fix MinGW compilation.
19117 * gdb.compile/compile-ops.exp: Update untested message if
19118 !skip_compile_feature_tests.
19119 * gdb.compile/compile-setjmp.exp: Likewise.
19120 * gdb.compile/compile-tls.exp: Likewise.
19121 * gdb.compile/compile.exp: Likewise.
19122 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19123 supported on this host".
19124
b6615d10
DE
191252014-12-16 Doug Evans <xdje42@gmail.com>
19126
19127 * boards/stabs.exp: New file.
19128
25dda427
AA
191292014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19130
19131 * gdb.base/completion.exp: Adjust to format changes of "maint
19132 print user-registers".
19133
bf330350
CU
191342014-12-16 Catalin Udma <catalin.udma@freescale.com>
19135
19136 PR server/17457
19137 * gdb.arch/aarch64-fp.c: New file.
19138 * gdb.arch/aarch64-fp.exp: New file.
19139
395cf596
SDJ
191402014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19141
19142 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19143 r210637, r210913, r211666, r215400, r215817).
19144
19145 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19146 * dg-extract-results.py: New file.
19147 * dg-extract-results.sh: Use it if the environment seems
19148 suitable.
19149
19150 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19151
19152 * dg-extract-results.py (parse_run): Handle warnings that
19153 are printed before a test harness is run.
19154
19155 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19156
19157 * dg-extract-results.py (Named): Remove __cmp__ method.
19158 (output_variation): Use a key to sort variation.harnesses.
19159
19160 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19161
19162 * dg-extract-results.py: For Python 3, force sys.stdout to
19163 handle surrogate escape sequences.
19164 (safe_open): New function.
19165 (output_segment, main): Use it.
19166
19167 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19168
19169 * dg-extract-results.py (Prog.result_re): Include options
19170 in test name.
19171
19172 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19173
19174 * dg-extract-results.py (output_variation): Always sort if
19175 do_sum.
19176
e882ef3c
SM
191772014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19178
19179 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19180 as long as we get pagination notifications.
19181
4992aa20
JM
191822014-12-15 Jason Merrill <jason@redhat.com>
19183
19184 * Makefile.in (check-gdb.%): Restore.
19185 * README: Mention it.
19186
c1b5a1a6
JB
191872014-12-13 Joel Brobecker <brobecker@adacore.com>
19188
19189 * gdb.ada/str_uninit: New testcase.
19190
5537b577
JK
191912014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19192
19193 PR symtab/17642
19194 * gdb.base/vla-stub-define.c: New file.
19195 * gdb.base/vla-stub.c: New file.
19196 * gdb.base/vla-stub.exp: New file.
19197
bb2ec1b3
TT
191982014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19199 Jan Kratochvil <jan.kratochvil@redhat.com>
19200 Tom Tromey <tromey@redhat.com>
19201
19202 * configure.ac: Add gdb.compile/.
19203 * configure: Regenerate.
19204 * gdb.compile/Makefile.in: New file.
19205 * gdb.compile/compile-ops.exp: New file.
19206 * gdb.compile/compile-ops.c: New file.
19207 * gdb.compile/compile-tls.c: New file.
19208 * gdb.compile/compile-tls.exp: New file.
19209 * gdb.compile/compile-constvar.S: New file.
19210 * gdb.compile/compile-constvar.c: New file.
19211 * gdb.compile/compile-mod.c: New file.
19212 * gdb.compile/compile-nodebug.c: New file.
19213 * gdb.compile/compile-setjmp-mod.c: New file.
19214 * gdb.compile/compile-setjmp.c: New file.
19215 * gdb.compile/compile-setjmp.exp: New file.
19216 * gdb.compile/compile-shlib.c: New file.
19217 * gdb.compile/compile.c: New file.
19218 * gdb.compile/compile.exp: New file.
19219 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19220
4ff709eb
TT
192212014-12-12 Tom Tromey <tromey@redhat.com>
19222
19223 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19224 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19225
6dddd6a5
DE
192262014-12-12 Doug Evans <dje@google.com>
19227
19228 * lib/gdb-python.exp (get_python_valueof): New function.
19229 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19230
71c24708
AA
192312014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19232
19233 * gdb.base/completion.exp: Add test for completion of "info
19234 registers ".
19235
3e29f34a
MR
192362014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19237
19238 * gdb.base/func-ptrs.c: New file.
19239 * gdb.base/func-ptrs.exp: New file.
19240
fc126975
SM
192412014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19242
19243 PR breakpoints/17012
19244 * gdb.base/dprintf-detach.c: New file.
19245 * gdb.base/dprintf-detach.exp: New file.
19246
0a46d518
SM
192472014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19248
19249 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19250 * lib/gdb.exp (target_is_gdbserver): New procedure.
19251
a0be3e44
DE
192522014-12-08 Doug Evans <dje@google.com>
19253
19254 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19255
df1b803a
YQ
192562014-12-05 Yao Qi <yao@codesourcery.com>
19257
19258 * gdb.guile/scm-error.exp: Remove the third argument to
19259 gdb_remote_download.
19260 * gdb.guile/scm-frame-args.exp: Likewise.
19261 * gdb.guile/scm-section-script.exp: Likewise.
19262
ddb9f679
YQ
192632014-12-05 Yao Qi <yao@codesourcery.com>
19264
19265 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19266
86e4ed39
DE
192672014-12-04 Doug Evans <dje@google.com>
19268
19269 * gdb.python/py-objfile.exp: Add tests for
19270 objfile.add_separate_debug_file.
19271
7c50a931
DE
192722014-12-04 Doug Evans <dje@google.com>
19273
19274 * lib/gdb.exp (get_build_id): New function.
19275 (build_id_debug_filename_get): Rewrite to use it.
19276 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19277
621661e3
MR
192782014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19279
19280 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19281 `method(long)', not just 0x0.
19282 * gdb.cp/nsalias.exp: Align code labels to 4.
19283 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19284 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19285 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19286 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19287 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19288 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19289
29f0c3b7
DE
192902014-12-02 Doug Evans <dje@google.com>
19291
e1e061e7 19292 PR symtab/17602
29f0c3b7 19293 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 19294 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
19295 * gdb.cp/anon-ns.exp: Update.
19296
162078c8
NB
192972014-12-02 Nick Bull <nicholaspbull@gmail.com>
19298
19299 * gdb.python/py-events.py (inferior_call_handler): New.
19300 (register_changed_handler, memory_changed_handler): New.
19301 (test_events.invoke): Register new handlers.
19302 * gdb.python/py-events.exp: Add tests for inferior call,
19303 memory_changed and register_changed events.
19304
fdb09caf
AA
193052014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19306
19307 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19308 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19309 if the linker doesn't understand this.
19310
55cfb2c4
SM
193112014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19312
19313 * gdb.python/python.exp: Change expected reply to help().
19314
9e8cd6df
YQ
193152014-12-01 Yao Qi <yao@codesourcery.com>
19316
19317 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19318 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19319 * configure: Re-generated.
19320
6c659fc2
SC
193212014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19322
19323 * gdb.cp/chained-calls.cc: New file.
19324 * gdb.cp/chained-calls.exp: New file.
19325 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19326
d7fc3181
SM
193272014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19328
19329 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19330 * gdb.dwarf2/symtab-producer.exp: Same.
19331 * gdb.gdb/python-interrupts.exp: Same.
19332 * gdb.gdb/python-selftest.exp: Same.
19333 * gdb.python/py-linetable.exp: Same.
19334 * gdb.python/py-type.exp: Same.
19335 * gdb.python/py-value-cc.exp: Same.
19336 * gdb.python/py-value.exp: Same.
19337
10e79639
YQ
193382014-11-28 Yao Qi <yao@codesourcery.com>
19339
19340 * gdb.base/break-probes.exp: Match library name prefixed with
19341 sysroot.
19342
f28a0564
SM
193432014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19344
19345 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19346 test expected output. Add parentheses for the call to print.
19347 Remove L suffix from integers.
19348
3fe1ce1d
DE
193492014-11-26 Doug Evans <dje@google.com>
19350
19351 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19352
84429e27
YQ
193532014-11-22 Yao Qi <yao@codesourcery.com>
19354
19355 * gdb.trace/entry-values.c: Remove asms.
19356 (foo): Add foo_label.
19357 (bar): Add bar_label.
19358 * gdb.trace/entry-values.exp: Remove code computing foo's
19359 length and bar's length.
19360 (Dwarf::assemble): Invoke function_range for bar and use
19361 MACRO_AT_func for foo.
19362
26741859
YQ
193632014-11-22 Yao Qi <yao@codesourcery.com>
19364
19365 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19366 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19367 Use .Lgcc43_procstart instead of gcc43.
19368
45e44d27
JB
193692014-11-21 Joel Brobecker <brobecker@adacore.com>
19370
19371 * gdb.ada/n_arr_bound: New testcase.
19372
458c8db8
SDJ
193732014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19374
19375 PR breakpoints/10737
19376 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19377 test_catch_syscall_multi_arch.
19378 (test_catch_syscall_multi_arch): New function.
19379
43f3e411
DE
193802014-11-20 Doug Evans <xdje42@gmail.com>
19381
19382 * gdb.base/maint.exp: Update expected output.
19383
0d7b2549
AA
193842014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19385
19386 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19387 4-byte instruction on S390.
19388
8908fca5
JB
193892014-11-19 Joel Brobecker <brobecker@adacore.com>
19390
19391 * gdb.ada/arr_arr: New testcase.
19392
4a46959e
JB
193932014-11-19 Joel Brobecker <brobecker@adacore.com>
19394
19395 * gdb.ada/pkd_arr_elem: New Testcase.
19396
470e2f4e
LM
193972014-11-18 Luis Machado <lgustavo@codesourcery.com>
19398
19399 * gdb.reverse/break-precsave: Expect completion message for
19400 core file reads.
19401 * gdb.reverse/consecutive-precsave.exp: Likewise.
19402 * gdb.reverse/finish-precsave.exp: Likewise.
19403 * gdb.reverse/i386-precsave.exp: Likewise.
19404 * gdb.reverse/machinestate-precsave.exp: Likewise.
19405 * gdb.reverse/sigall-precsave.exp: Likewise.
19406 * gdb.reverse/solib-precsave.exp: Likewise.
19407 * gdb.reverse/step-precsave.exp: Likewise.
19408 * gdb.reverse/until-precsave.exp: Likewise.
19409 * gdb.reverse/watch-precsave.exp: Likewise.
19410
a267f3ad
AA
194112014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19412
19413 * gdb.base/bp-permanent.c: Include unistd.h.
19414 * gdb.python/py-framefilter-mi.c (main): Add return type.
19415 * gdb.python/py-framefilter.c (main): Likewise.
19416 * gdb.trace/actions-changed.c (main): Likewise.
19417
12084a9a
AA
194182014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19419
19420 * gdb.mi/until.c: Add eye-catchers.
19421 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19422 line numbers.
19423
dc7e1a77
AA
194242014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19425
19426 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19427 function header variants in break1.c.
19428 * gdb.base/ena-dis-br.exp: Likewise.
19429 * gdb.base/hbreak2.exp: Likewise.
19430 * gdb.reverse/until-precsave.exp: Drop references to removed
19431 non-prototype function header variants in ur1.c.
19432 * gdb.reverse/until-reverse.exp: Likewise.
19433
41c77605
PM
194342014-11-17 Petr Machata <pmachata@redhat.com>
19435
19436 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19437 ${_cu_offset_size} bytes abbrev offset.
19438
34248c3a
DE
194392014-11-15 Doug Evans <xdje42@gmail.com>
19440
19441 PR symtab/17559
19442 * gdb.base/line-symtabs.exp: New file.
19443 * gdb.base/line-symtabs.c: New file.
19444 * gdb.base/line-symtabs.h: New file.
19445
646da059
YQ
194462014-11-14 Yao Qi <yao@codesourcery.com>
19447
19448 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19449 (func): Add label func_label.
19450 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19451 Replace low_pc and high_pc with MACRO_AT_range.
19452 Replace name, low_pc and high_pc with MACRO_AT_func.
19453
9301ebe6
YQ
194542014-11-14 Yao Qi <yao@codesourcery.com>
19455
19456 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19457 Replace name, low_pc and high_pc with MACRO_AT_func.
19458
f166b542
YQ
194592014-11-14 Yao Qi <yao@codesourcery.com>
19460
19461 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19462 produce debug information.
19463 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19464
0f6e71e3
YQ
194652014-11-14 Yao Qi <yao@codesourcery.com>
19466
19467 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19468 object and get function length.
19469 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19470 with MACRO_AT_func.
19471 (top-level): Replace gdb_compile and clean_restart with
19472 prepare_for_testing.
19473 * gdb.dwarf2/main.c (main): Add label main_label.
19474
876c4df9
YQ
194752014-11-14 Yao Qi <yao@codesourcery.com>
19476
19477 * lib/dwarf.exp (function_range): New procedure.
19478 (Dwarf::_handle_macro_at_func): New procedure.
19479 (Dwarf::_handle_macro_at_range): New procedure.
19480 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19481
02ad9cf1
YQ
194822014-11-14 Yao Qi <yao@codesourcery.com>
19483
19484 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19485 (_handle_attribute): New procedure.
19486
a59add0c
AA
194872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19488
19489 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19490 * gdb.base/call-sc.c (zed): Likewise.
19491 * gdb.base/checkpoint.c (main): Likewise.
19492 * gdb.base/dump.c (main): Likewise.
19493 * gdb.base/gcore.c (main): Likewise.
19494 * gdb.base/huge.c (main): Likewise.
19495 * gdb.base/multi-forks.c (main): Likewise.
19496 * gdb.base/pr10179-a.c (main): Likewise.
19497 * gdb.base/savedregs.c (main): Likewise.
19498 * gdb.base/sigaltstack.c (main): Likewise.
19499 * gdb.base/siginfo.c (main): Likewise.
19500 * gdb.base/structs.c (zed): Likewise.
19501 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19502 * gdb.mi/mi-syn-frame.c (main): Likewise.
19503 * gdb.mi/until.c (foo, main): Likewise.
19504 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19505 * gdb.base/solib-weak.c (foo): Declare.
19506 * gdb.base/attach-twice.c: Include stdio.h.
19507 * gdb.base/weaklib1.c: Likewise.
19508 * gdb.base/weaklib2.c: Likewise.
19509 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19510 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19511 unistd.h.
19512 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19513 * gdb.mi/mi-exit-code.c: Likewise.
19514 * gdb.base/break-interp-lib.c: Include string.h.
19515 * gdb.base/coremaker.c: Likewise.
19516 * gdb.base/testenv.c: Likewise.
19517 * gdb.python/py-finish-breakpoint.c: Likewise.
19518 * gdb.base/inferior-died.c: Include sys/wait.h.
19519 * gdb.base/fileio.c: Include time.h.
19520 * gdb.base/async-shell.c: Include unistd.h.
19521 * gdb.base/dprintf-non-stop.c: Likewise.
19522 * gdb.base/info-os.c: Likewise.
19523 * gdb.mi/mi-console.c: Likewise.
19524 * gdb.mi/watch-nonstop.c: Likewise.
19525 * gdb.python/py-events.c: Likewise.
19526 * gdb.base/async.c (baz): Move up before its invocation.
19527 * gdb.base/code_elim2.c (my_global_func): Likewise.
19528 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19529 * gdb.base/advance.c (func2): Likewise.
19530
3b5d5997
AA
195312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19532
19533 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19534 variant.
19535 * gdb.base/annota3.c: Likewise.
19536 * gdb.base/async.c: Likewise.
19537 * gdb.base/average.c: Likewise.
19538 * gdb.base/call-ar-st.c: Likewise.
19539 * gdb.base/call-rt-st.c: Likewise.
19540 * gdb.base/call-sc.c: Likewise.
19541 * gdb.base/call-strs.c: Likewise.
19542 * gdb.base/ending-run.c: Likewise.
19543 * gdb.base/execd-prog.c: Likewise.
19544 * gdb.base/exprs.c: Likewise.
19545 * gdb.base/foll-exec.c: Likewise.
19546 * gdb.base/foll-fork.c: Likewise.
19547 * gdb.base/foll-vfork.c: Likewise.
19548 * gdb.base/funcargs.c: Likewise.
19549 * gdb.base/gcore.c: Likewise.
19550 * gdb.base/jump.c: Likewise.
19551 * gdb.base/langs0.c: Likewise.
19552 * gdb.base/langs1.c: Likewise.
19553 * gdb.base/langs2.c: Likewise.
19554 * gdb.base/mips_pro.c: Likewise.
19555 * gdb.base/nodebug.c: Likewise.
19556 * gdb.base/opaque0.c: Likewise.
19557 * gdb.base/opaque1.c: Likewise.
19558 * gdb.base/recurse.c: Likewise.
19559 * gdb.base/run.c: Likewise.
19560 * gdb.base/scope0.c: Likewise.
19561 * gdb.base/scope1.c: Likewise.
19562 * gdb.base/setshow.c: Likewise.
19563 * gdb.base/setvar.c: Likewise.
19564 * gdb.base/shmain.c: Likewise.
19565 * gdb.base/shr1.c: Likewise.
19566 * gdb.base/shr2.c: Likewise.
19567 * gdb.base/sigall.c: Likewise.
19568 * gdb.base/signals.c: Likewise.
19569 * gdb.base/so-indr-cl.c: Likewise.
19570 * gdb.base/solib2.c: Likewise.
19571 * gdb.base/structs.c: Likewise.
19572 * gdb.base/sum.c: Likewise.
19573 * gdb.base/vforked-prog.c: Likewise.
19574 * gdb.base/watchpoint.c: Likewise.
19575 * gdb.reverse/shr2.c: Likewise.
19576 * gdb.reverse/until-reverse.c: Likewise.
19577 * gdb.reverse/ur1.c: Likewise.
19578 * gdb.reverse/watch-reverse.c: Likewise.
19579
066a77c5
AA
195802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19581
19582 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19583 variant.
19584 * gdb.base/sepdebug.exp: Drop references to removed code.
19585
4f204ea5
AA
195862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19587
19588 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19589 variant. Preserve original line numbering.
19590 * gdb.base/list1.c: Likewise.
19591
3b377a3a
AA
195922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19593
19594 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19595 variant.
19596 * gdb.base/break1.c: Likewise.
19597 * gdb.base/break.exp: Drop references to removed code.
19598
e444df73
AA
195992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19600
19601 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19602 variant.
19603
8008f2a7
AA
196042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19605
19606 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19607
a5a06887
AA
196082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19609
19610 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19611 logic into perform_all_tests() and invoke it with and without
19612 function header prototypes.
19613 (do_function_calls): Remove conditional XFAIL for PR 5318.
19614 (rerun_and_prepare): Remove duplicate code.
19615 (perform_all_tests): New. Main logic moved here.
19616
44dba9b9
AA
196172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19618
19619 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19620 code guarded by #ifdef NO_PROTOTYPES.
19621 (t_double_many_args): Likewise.
19622 (DEF_FUNC_MANY_ARGS_1): Likewise.
19623 (DEF_FUNC_VALUES_1): Likewise.
19624 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19625 guarded by #ifdef PROTOTYPES.
19626
d1fbcd56
AA
196272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19628
19629 * gdb.mi/mi-console.c: Add eye-catcher.
19630 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19631 instead of literal line number.
19632
b0e59b8f
AA
196332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19634
19635 * gdb.base/shr2.c: Add eye-catcher.
19636 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19637 line number.
19638
78f98cca
AA
196392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19640
19641 * gdb.base/jump.c: Add eye-catchers.
19642 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19643 numbers.
19644
58fa2af0
AA
196452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19646
19647 * gdb.base/execd-prog.c: Add eye-catchers.
19648 * gdb.base/foll-exec.c: Likewise.
19649 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19650 line numbers.
19651
04e5059b
AA
196522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19653
19654 * gdb.base/ending-run.c: Add eye-catchers.
19655 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19656 literal line numbers.
19657
dbfdb174
AA
196582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19659
19660 * gdb.base/call-rt-st.c: Add eye-catchers.
19661 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19662 literal line numbers.
19663
888a2ade
AA
196642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19665
19666 * gdb.base/call-ar-st.c: Add eye-catchers.
19667 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19668 literal line numbers.
19669
6acc2dde
AA
196702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19671
19672 * gdb.base/average.c: Add eye-catchers.
19673 * gdb.base/sum.c: Likewise.
19674 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19675 regexps dynamically.
19676
9ecfcd1d
AA
196772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19678
19679 * gdb.base/solib1.c: Add eye-catchers.
19680 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19681 literal line numbers.
19682
78708b7c
PA
196832014-11-12 Pedro Alves <palves@redhat.com>
19684
19685 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19686 leader has exited.
19687
af48d08f
PA
196882014-11-12 Pedro Alves <palves@redhat.com>
19689
19690 * gdb.arch/i386-bp_permanent.c: New file.
19691 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19692 (srcfile): Set to i386-bp_permanent.c.
19693 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19694 that stepi does not execute the 'leave' instruction, instead of
19695 testing it does execute.
19696 * gdb.base/bp-permanent.c: New file.
19697 * gdb.base/bp-permanent.exp: New file.
19698
af3768e9
DE
196992014-11-10 Doug Evans <xdje42@gmail.com>
19700
19701 PR symtab/17564
19702 * gdb.base/symtab-search-order.exp: New file.
19703 * gdb.base/symtab-search-order.c: New file.
19704 * gdb.base/symtab-search-order-1.c: New file.
19705 * gdb.base/symtab-search-order-shlib-1.c: New file.
19706
9de00a4a
PA
197072014-11-07 Pedro Alves <palves@redhat.com>
19708
19709 PR gdb/17511
19710 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19711 i?86-*-linux*.
19712
e0f52461
SC
197132014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19714
19715 PR c++/17494
19716 * gdb.cp/pr17494.cc: New file.
19717 * gdb.cp/pr17494.exp: New file.
19718
6ce8c980
YQ
197192014-11-02 Yao Qi <yao@codesourcery.com>
19720
19721 * gdb.python/python.exp: Get working directory and match the
19722 output of "set extended-prompt \\w " with it.
19723
02be9a71
DE
197242014-10-30 Doug Evans <dje@google.com>
19725
19726 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19727 in objfiles.
19728 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19729 in progspaces.
19730
3bdff46b
LM
197312014-10-30 Janis Johnson <janisjo@codesourcery.com>
19732
19733 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19734 * gdb.base/realname-expand.exp: Likewise.
19735 * gdb.linespec/macro-relative.exp: Likewise.
19736
ab917dfb
PA
197372014-10-29 Pedro Alves <palves@redhat.com>
19738
19739 PR gdb/17408
19740 * gdb.threads/schedlock.c (some_function): New function.
19741 (call_function): New global.
19742 (MAYBE_CALL_SOME_FUNCTION): New macro.
19743 (thread_function): Call it.
19744 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19745 and use it instead of a global counter. Adjust all callers.
19746 (get_current_thread): Use "find current thread" for test message
19747 here rather than having all callers pass down the same string.
19748 (goto_loop): New procedure, factored out from ...
19749 (my_continue): ... this.
19750 (step_ten_loops): Change parameter from test message to command to
19751 use. Adjust.
19752 (list_count): Delete global.
19753 (check_result): New procedure, factored out from duplicate top
19754 level code.
19755 (continue tests): Wrap in with_test_prefix.
19756 (test_step): New procedure, factored out from duplicate top level
19757 code.
19758 (top level): Test "step" in combination with all scheduler-locking
19759 modes. Test "next" in combination with all scheduler-locking
19760 modes, and in combination with stepping over a function call or
19761 not.
19762 * gdb.threads/next-bp-other-thread.c: New file.
19763 * gdb.threads/next-bp-other-thread.exp: New file.
19764
d3d4baed
PA
197652014-10-29 Pedro Alves <palves@redhat.com>
19766
19767 PR python/17372
19768 * gdb.python/python.exp: Test a multi-line command that spawns
19769 interactive Python.
19770 * gdb.base/multi-line-starts-subshell.exp: New file.
19771
563e8d85
YQ
197722014-10-29 Yao Qi <yao@codesourcery.com>
19773
19774 * gdb.base/fileio.exp: Make directories on host.
19775
0ea4d52e
YQ
197762014-10-29 Yao Qi <yao@codesourcery.com>
19777
19778 * gdb.base/fileio.c (test_write): Close the file.
19779
7f5ef605
PA
197802014-10-28 Pedro Alves <palves@redhat.com>
19781
19782 PR gdb/12623
19783 * gdb.base/sigstep.c (no_handler): New global.
19784 (main): If 'no_handler is true, set the signal handlers to
19785 SIG_IGN.
19786 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19787 with_sw_watch and no_handler parameters. Handle them.
19788 (top level) <stepping over handler when stopped at a breakpoint
19789 test>: Add a test axis for testing with a software watchpoint, and
19790 another for testing with the signal handler set to SIG_IGN.
19791 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19792 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19793
abbdbd03
PA
197942014-10-28 Pedro Alves <palves@redhat.com>
19795
19796 PR gdb/17511
19797 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19798 * gdb.base/sigstep.exp (other_handler_location): New global.
19799 (advance): Support stepping into the signal handler, and running
19800 commands while in the handler.
19801 (in_handler_map): New global.
19802 (top level): In the advance test, add combinations for getting
19803 into the handler with stepping commands, and for running commands
19804 in the handler. Add comment descripting the advancei tests.
19805
1df4399f
PA
198062014-10-28 Pedro Alves <palves@redhat.com>
19807
19808 * gdb.base/sigstep.exp: Use build_executable instead of
19809 prepare_for_testing.
19810 (top level): Move code that starts GDB, runs to main and creates a
19811 display to ...
19812 (restart): ... this new procedure.
19813 (top level): Move backtrace from signal handler test to ...
19814 (validate_backtrace): ... this new procedure.
19815 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19816 with_test_prefix. Always restart GDB.
19817 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19818 with_test_prefix. Always restart GDB. No need to delete
19819 breakpoints after the test.
19820 (test_skip_handler): Remove prefix parameter.
19821 (skip_over_handler, breakpoint_to_handler)
19822 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19823 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19824 restart GDB. No need to delete breakpoints after the test.
19825 (top level): Use foreach to call the test procedures with
19826 different commands.
19827
a5b6e449
PA
198282014-10-28 Pedro Alves <palves@redhat.com>
19829
19830 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19831 instead of GNATS numbers.
19832 * gdb.base/sigbpt.exp: Likewise.
19833 * gdb.base/siginfo.exp: Likewise.
19834 * gdb.base/sigstep.exp: Likewise.
19835
e5f8a7cc
PA
198362014-10-27 Pedro Alves <palves@redhat.com>
19837
19838 * gdb.base/sigstep.c (dummy): New global.
19839 (main): Issue a couple writes to the new global.
19840 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19841 procedures.
19842 (skip_over_handler): Use test_skip_handler.
19843 (top level): Call skip_over_handler for stepi and nexti too.
19844 (breakpoint_over_handler): Use test_skip_handler.
19845 (top level): Call breakpoint_over_handler for stepi and nexti too.
19846
763905a3
YQ
198472014-10-27 Yao Qi <yao@codesourcery.com>
19848
19849 * gdb.trace/tfile.c (adjust_function_address)
19850 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19851 function descriptor.
19852
6f259a23
DB
198532014-10-24 Don Breazeal <donb@codesourcery.com>
19854
19855 * gdb.base/foll-fork.exp (test_follow_fork,
19856 catch_fork_child_follow): Check for updated fork messages emitted
19857 from infrun.c.
19858 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19859 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19860 vfork_and_exec_child_follow_through_step): Check for updated vfork
19861 messages emitted from infrun.c.
19862
09dd9a69
PA
198632014-10-24 Pedro Alves <palves@redhat.com>
19864
19865 * gdb.base/corefile.exp: Remove references to ultrix.
19866 * gdb.base/interrupt.exp: Likewise.
19867 * gdb.base/whatis.exp: Likewise.
19868 * gdb.gdb/selftest.exp: Likewise.
19869 * gdb.threads/manythreads.exp: Likewise.
19870 * gdb.threads/print-threads.exp: Likewise.
19871 * gdb.threads/pthreads.exp:: Likewise.
19872 * gdb.threads/schedlock.exp: Likewise.
19873
3433cfa5
SC
198742014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19875
19876 * gdb.cp/non-trivial-retval.cc: Add a test case.
19877 * gdb.cp/non-trivial-retval.exp: Add a test.
19878
092f880b
YQ
198792014-10-20 Yao Qi <yao@codesourcery.com>
19880
19881 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19882 * gdb.python/py-objfile-script-gdb.py: New file.
19883 * gdb.python/py-objfile-script.exp: Update reference to
19884 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19885 of remote_download. Remove the dest file.
19886
acbdb7f3
YQ
198872014-10-20 Yao Qi <yao@codesourcery.com>
19888
19889 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19890 * gdb.base/step-line.exp: Likewise.
19891 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19892 * gdb.dwarf2/dw2-basic.exp: Likewise.
19893 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19894 * gdb.dwarf2/dw2-filename.exp: Likewise.
19895 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19896 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19897 * gdb.dwarf2/dw2-producer.exp: Likewise.
19898 * gdb.dwarf2/mac-fileno.exp: Likewise.
19899 * gdb.python/py-frame-args.exp: Likewise.
19900 * gdb.python/py-framefilter.exp: Likewise.
19901 * gdb.python/py-mi.exp: Likewise.
19902 * gdb.python/py-objfile-script.exp: Likewise
19903 * gdb.python/py-pp-integral.exp: Likewise.
19904 * gdb.python/py-pp-re-notag.exp: Likewise.
19905 * gdb.python/py-prettyprint.exp: Likewise.
19906 * gdb.python/py-section-script.exp: Likewise.
19907 * gdb.python/py-typeprint.exp: Likewise.
19908 * gdb.python/py-xmethods.exp: Likewise.
19909 * gdb.stabs/weird.exp: Likewise.
19910 * gdb.xml/tdesc-regs.exp: Likewise.
19911
bd286a29
KCY
199122014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19913
19914 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19915 (out_cu): Use addr_len for the size of addresses.
19916 (out_line): Likewise. Size DW_LNE_set_address instruction
19917 according to addr_len.
19918 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19919 (FUNC): Add START_INSNS to definition.
19920
673dc4a0
YQ
199212014-10-18 Yao Qi <yao@codesourcery.com>
19922
19923 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19924 gdb_has_argv0 return true.
19925 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19926 check [target_info exists noargs], check [gdb_has_argv0]
19927 instead.
19928 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19929 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19930 procedures.
19931
4ffbba72
DE
199322014-10-17 Doug Evans <dje@google.com>
19933
19934 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19935 event.
19936 * gdb.python/py-events.py: Add clear_objfiles event.
19937
d096d8c1
DE
199382014-10-17 Doug Evans <dje@google.com>
19939
19940 * gdb.python/py-objfile.exp: Test progspace attribute.
19941
a80db015
LM
199422014-10-17 Luis Machado <lgustavo@codesourcery.com>
19943
19944 * gdb.guile/scm-breakpoint.exp: Do not assume any
19945 directory separators when matching source file paths.
19946 * gdb.python/py-breakpoint.exp: Likewise.
19947 * gdb.reverse/break-precsave.exp: Likewise.
19948 * gdb.reverse/break-reverse.exp: Likewise.
19949 * gdb.reverse/consecutive-precsave.exp: Likewise.
19950 * gdb.reverse/finish-precsave.exp: Likewise.
19951 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19952 * gdb.reverse/finish-reverse.exp: Likewise.
19953 * gdb.reverse/i386-precsave.exp: Likewise.
19954 * gdb.reverse/i387-env-reverse.exp: Likewise.
19955 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19956 * gdb.reverse/machinestate-precsave.exp: Likewise.
19957 * gdb.reverse/machinestate.exp: Likewise.
19958 * gdb.reverse/sigall-precsave.exp: Likewise.
19959 * gdb.reverse/solib-precsave.exp: Likewise.
19960 * gdb.reverse/step-precsave.exp: Likewise.
19961 * gdb.reverse/until-precsave.exp: Likewise.
19962 * gdb.reverse/watch-precsave.exp: Likewise.
19963 * gdb.reverse/watch-reverse.exp: Likewise.
19964
b22089ab
YQ
199652014-10-17 Yao Qi <yao@codesourcery.com>
19966
19967 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19968 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19969
6c4486e6
PA
199702014-10-17 Pedro Alves <palves@redhat.com>
19971
19972 PR gdb/17471
19973 * gdb.base/bg-execution-repeat.c: New file.
19974 * gdb.base/bg-execution-repeat.exp: New file.
19975
0ff33695
PA
199762014-10-17 Pedro Alves <palves@redhat.com>
19977
19978 PR gdb/17300
19979 * gdb.base/continue-all-already-running.c: New file.
19980 * gdb.base/continue-all-already-running.exp: New file.
19981
6fdebc3d
PA
199822014-10-17 Pedro Alves <palves@redhat.com>
19983
19984 PR gdb/17472
19985 * gdb.base/annota-input-while-running.c: New file.
19986 * gdb.base/annota-input-while-running.exp: New file.
19987
32a8097b
PA
199882014-10-17 Pedro Alves <palves@redhat.com>
19989
19990 * gdb.base/callfuncs.exp: emove references to osf.
19991 * gdb.base/sigall.exp: Likewise.
19992 * gdb.gdb/selftest.exp: Likewise.
19993 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19994 * gdb.mi/non-stop.c: Likewise.
19995 * gdb.mi/pthreads.c: Likewise.
19996 * gdb.reverse/sigall-precsave.exp: Likewise.
19997 * gdb.reverse/sigall-reverse.exp: Likewise.
19998 * gdb.threads/pthreads.c: Likewise.
19999 * gdb.threads/pthreads.exp: Likewise.
20000
7a3517ff
YQ
200012014-10-17 Yao Qi <yao@codesourcery.com>
20002
20003 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20004 check 'target_info exists noargs'.
20005 (test_command_prompt_position): Likewise.
20006 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20007 Remove "set args".
20008 (progvar_simple_while_test): Likewise.
20009 (progvar_complex_if_while_test): Likewise.
20010 (if_while_breakpoint_command_test): Likewise.
20011 (infrun_breakpoint_command_test): Likewise.
20012 (breakpoint_command_test): Likewise.
20013 (watchpoint_command_test): Likewise.
20014 (bp_deleted_in_command_test): Likewise.
20015 (temporary_breakpoint_commands): Likewise.
20016
bb99c472
YQ
200172014-10-16 Yao Qi <yao@codesourcery.com>
20018
20019 * gdb.base/remotetimeout.exp: Remove noargs checking.
20020
7c16b83e
PA
200212014-10-15 Pedro Alves <palves@redhat.com>
20022
20023 PR breakpoints/9649
20024 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20025 * gdb.base/breakpoint-in-ro-region.exp
20026 (probe_target_hardware_step): New procedure.
20027 (top level): Probe hardware stepping and hardware breakpoint
20028 support. Test stepping through a read-only region, with both
20029 "breakpoint auto-hw" on and off and both "always-inserted" on and
20030 off.
20031
35a49624
IB
200322014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20033
20034 * gdb.dlang/demangle.exp: Update for demangling changes.
20035
2d1c107c
SC
200362014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20037
20038 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20039 * gdb.cp/non-trivial-retval.exp: Add new tests.
20040
778811d5
SC
200412014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20042
20043 PR c++/13403
20044 PR c++/15154
20045 * gdb.cp/non-trivial-retval.cc: New file.
20046 * gdb.cp/non-trivial-retval.exp: New file.
20047
10c5f0a8
YQ
200482014-10-15 Yao Qi <yao@codesourcery.com>
20049
20050 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20051 remote host.
20052
65d7b369
YQ
200532014-10-15 Yao Qi <yao@codesourcery.com>
20054
20055 * gdb.python/py-symbol.exp: Match file base name if host is
20056 remote, otherwise match file name with dir name.
20057 * gdb.python/py-symtab.exp: Likewise.
20058 * gdb.python/python.exp: Likewise.
20059
46dc1394
YQ
200602014-10-15 Yao Qi <yao@codesourcery.com>
20061
20062 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20063 pattern.
20064 * gdb.python/py-symtab.exp: Likewise.
20065 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20066 locationn.
20067
c40cc657
JB
200682014-10-14 Joel Brobecker <brobecker@adacore.com>
20069
20070 * gdb.ada/addr_arith: New testcase.
20071
2abf49e1
MR
200722014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20073
20074 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20075 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20076 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20077 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20078
f7088df3
SDJ
200792014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20080
20081 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20082 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20083 * gdb.arch/stap-eval-lang-ada.exp: New file.
20084
4dc06805
YQ
200852014-10-14 Yao Qi <yao@codesourcery.com>
20086
20087 * gdb.mi/mi-var-child.c (nothing1): New function.
20088 (nothing2): New function.
20089 (do_children_tests): Set function pointers by nothing1 and
20090 nothing2.
20091 * gdb.mi/mi-var-child.exp: Step over new added statements.
20092 Update test to match the new output.
20093 * gdb.mi/var-cmd.c (nothing1): New function.
20094 (nothing2): New function.
20095 (do_children_tests): Set function pointers by nothing1 and
20096 nothing2.
20097 * gdb.mi/mi-var-display.exp: Update test to match output.
20098 Step to the line specified by $line_dct_nothing.
20099 Increase the number of lines to step.
20100
46a93de2
YQ
201012014-10-14 Yao Qi <yao@codesourcery.com>
20102
20103 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20104 tests.
20105 * gdb.mi/mi2-var-child.exp: Likewise.
20106
14ea52ee
DE
201072014-10-13 Doug Evans <dje@google.com>
20108
20109 * gdb.python/py-objfile.exp: Change name of file name test.
20110
e5c6e92b
DE
201112014-10-13 Doug Evans <dje@google.com>
20112
20113 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20114 from the start of the CU.
20115
c780cc2f
JK
201162014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20117 Yao Qi <yao@codesourcery.com>
20118
20119 Fix "save breakpoints" for "catch" command.
20120 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20121 Remove -nonewline. Match also the added "main" line.
20122
99894e11
JK
201232014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20124
20125 Fix "save breakpoints" for "disable $bpnum" command.
20126 * gdb.base/save-bp.c (main): Add label.
20127 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20128
6e1ac5a3
JK
201292014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20130
20131 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20132
754dd2b0
YQ
201332014-10-11 Yao Qi <yao@codesourcery.com>
20134
20135 * gdb.server/server-kill.exp: Execute command
20136 "set remote trace-status-packet on" before "tstatus".
20137
f90183d7
YQ
201382014-10-11 Yao Qi <yao@codesourcery.com>
20139
20140 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20141 (main): Call getppid.
20142 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20143 and continue to it. Read variable "server_pid".
20144
bf40a607
YQ
201452014-10-11 Yao Qi <yao@codesourcery.com>
20146
20147 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20148
052ca370
YQ
201492014-10-11 Yao Qi <yao@codesourcery.com>
20150
20151 * gdb.threads/thread-find.exp: Don't execute command
20152 "info threads".
20153 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20154 * gdb.threads/linux-dp.exp: Don't check the condition
20155 $threads_created equals to zero.
20156
3831839c
PA
201572014-10-10 Pedro Alves <palves@redhat.com>
20158
20159 * gdb.base/bigcore.exp: Remove references to IRIX.
20160 * gdb.base/funcargs.exp: Likewise.
20161 * gdb.base/interrupt.exp: Likewise.
20162 * gdb.base/mips_pro.exp: Likewise.
20163 * gdb.base/nodebug.exp: Likewise.
20164 * gdb.base/setvar.exp: Likewise.
20165 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20166
8b9a549d
PA
201672014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20168 Pedro Alves <palves@redhat.com>
20169
20170 PR symtab/14466
20171 * gdb.base/vdso-warning.c: New file.
20172 * gdb.base/vdso-warning.exp: New file.
20173
d48ba5e8
DE
201742014-10-02 Doug Evans <dje@google.com>
20175
20176 * gdb.base/structs.c (main): Don't run forever.
20177
2278c276
PA
201782014-10-02 Pedro Alves <palves@redhat.com>
20179
20180 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20181 (top level) <stop threads 1, stop threads 2>: Use it.
20182
b57bacec
PA
201832014-10-02 Pedro Alves <palves@redhat.com>
20184
20185 * gdb.threads/break-while-running.exp (test): Add new
20186 'update_thread_list' argument. Skip "info threads" if false.
20187 (top level): Add new 'update_thread_list' axis.
20188
13fd3ff3
PA
201892014-10-02 Pedro Alves <palves@redhat.com>
20190
20191 PR breakpoints/17431
20192 * gdb.base/execl-update-breakpoints.c: New file.
20193 * gdb.base/execl-update-breakpoints.exp: New file.
20194
0fec99e8
PA
201952014-10-01 Pedro Alves <palves@redhat.com>
20196
20197 * gdb.base/breakpoint-in-ro-region.c: New file.
20198 * gdb.base/breakpoint-in-ro-region.exp: New file.
20199
2ddf4301
SM
202002014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20201
20202 * gdb.mi/mi-exit-code.exp: New file.
20203 * gdb.mi/mi-exit-code.c: New file.
20204
6a5f3f43
YQ
202052014-09-30 Yao Qi <yao@codesourcery.com>
20206
20207 * lib/prelink-support.exp (build_executable_own_libs): Error if
20208 the target isn't native.
20209
345bcc73
YQ
202102014-09-30 Yao Qi <yao@codesourcery.com>
20211
20212 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20213 false.
20214
a25a5a45
PA
202152014-09-22 Pedro Alves <palves@redhat.com>
20216
20217 * gdb.threads/break-while-running.exp: New file.
20218 * gdb.threads/break-while-running.c: New file.
20219
00ba3162
YQ
202202014-09-19 Yao Qi <yao@codesourcery.com>
20221
20222 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20223 Invoke test. Restart GDB with --readnow and invoke test again.
20224
c3b7b696
YQ
202252014-09-19 Yao Qi <yao@codesourcery.com>
20226
20227 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20228 proc set_breakpoint_on_gcd_function. Invoke
20229 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20230 invoke set_breakpoint_on_gcd_function again.
20231
2b4fd423
DE
202322014-09-18 Doug Evans <dje@google.com>
20233
20234 * gdb.dwarf2/symtab-producer.exp: New file.
20235
a5947601
SDJ
202362014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20237
20238 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20239 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20240 * gdb.base/global-var-nested-by-dso.c: Likewise.
20241 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20242
91c19059
SDJ
202432014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20244 Pedro Alves <palves@redhat.com>
20245
20246 * gdb.base/watch-bitfields.exp: Pass string other than test file
20247 name to prepare_for_testing.
20248 (watch): New procedure.
20249 (expect_watchpoint): Use with_test_prefix.
20250 (top level): Factor out tests to ...
20251 (test_watch_location, test_regular_watch): ... these new
20252 procedures, and use with_test_prefix and gdb_continue_to_end.
20253
bb9d5f81
PP
202542014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20255
20256 PR breakpoints/12526
20257 * gdb.base/watch-bitfields.exp: New file.
20258 * gdb.base/watch-bitfields.c: New file.
20259
635856f5
PA
202602014-09-16 Pedro Alves <palves@redhat.com>
20261
20262 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20263 software and hardware addresses, not software address against
20264 itself.
20265
7280ceea
PA
202662014-09-16 Pedro Alves <palves@redhat.com>
20267
20268 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20269 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20270
428b16bd
PA
202712014-09-16 Pedro Alves <palves@redhat.com>
20272
20273 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20274 files.
20275 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20276 "*-*-vxworks*" throughout.
20277 * gdb.base/break.exp: Likewise.
20278 * gdb.base/default.exp: Likewise.
20279 * gdb.base/scope.exp: Likewise.
20280 * gdb.base/sepdebug.exp: Likewise.
20281 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20282 throughout.
20283 * gdb.base/run.c: Likewise.
20284 * gdb.base/sepdebug.c: Likewise.
20285 * gdb.hp/gdb.aCC/run.c: Likewise.
20286 * gdb.reverse/until-reverse.c: Likewise.
20287 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20288
666d413c
YQ
202892014-09-16 Yao Qi <yao@codesourcery.com>
20290
20291 * boards/local-remote-host-native.exp: New file.
20292
57cbd724
DE
202932014-09-14 Doug Evans <xdje42@gmail.com>
20294
20295 * gdb.threads/queue-signal.c (thread_count): New variable.
20296 (thread_count_mutex, thread_count_condvar): New variables.
20297 (incr_thread_count, wait_all_threads_running): New functions.
20298 (main): Wait for all threads to be in their thread functions.
20299
81219e53
DE
203002014-09-13 Doug Evans <xdje42@gmail.com>
20301
20302 * gdb.threads/queue-signal.c: New file.
20303 * gdb.threads/queue-signal.exp: New file.
20304
3714cea7
DE
203052014-09-13 Doug Evans <xdje42@gmail.com>
20306
20307 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20308 be consistent with what default_gdb_init uses.
20309 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20310 the plain text of the prompt. Add some logging printfs.
20311 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20312
fa43b1d7
PA
203132014-09-12 Pedro Alves <palves@redhat.com>
20314
20315 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20316 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20317 * gdb.arch/i386-size-overlap.exp: Likewise.
20318 * gdb.arch/i386-size.exp: Likewise.
20319 * gdb.arch/i386-unwind.exp: Likewise.
20320 * gdb.base/a2-run.exp: Likewise.
20321 * gdb.base/break.exp: Likewise.
20322 * gdb.base/charset.exp: Likewise.
20323 * gdb.base/chng-syms.exp: Likewise.
20324 * gdb.base/commands.exp: Likewise.
20325 * gdb.base/dbx.exp: Likewise.
20326 * gdb.base/find.exp: Likewise.
20327 * gdb.base/funcargs.exp: Likewise.
20328 * gdb.base/jit-simple.exp: Likewise.
20329 * gdb.base/reread.exp: Likewise.
20330 * gdb.base/sepdebug.exp: Likewise.
20331 * gdb.base/step-bt.exp: Likewise.
20332 * gdb.cp/mb-inline.exp: Likewise.
20333 * gdb.cp/mb-templates.exp: Likewise.
20334 * gdb.objc/basicclass.exp: Likewise.
20335 * gdb.threads/killed.exp: Likewise.
20336
9d9bf2df
EBM
203372014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20338
20339 PR tdep/17379
20340 * gdb.arch/powerpc-stackless.S: New file.
20341 * gdb.arch/powerpc-stackless.exp: New file.
20342
1cf2f1b0
JK
203432014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20344
20345 * gdb.base/attach.c: Include unistd.h.
20346 (main): Call alarm. Add label postloop.
20347 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20348 gdb_breakpoint, gdb_continue_to_breakpoint.
20349 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20350
98880d46
PA
203512014-09-11 Pedro Alves <palves@redhat.com>
20352
20353 PR gdb/17347
20354 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20355 * gdb.base/attach.exp (test_command_line_attach_run): New
20356 procedure.
20357 (top level): Call it.
20358
4c92ff2c
PA
203592014-09-11 Pedro Alves <palves@redhat.com>
20360
20361 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20362 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20363 (do_command_attach_tests): Use spawn_wait_for_attach.
20364 * gdb.base/solib-overlap.exp: Likewise.
20365 * gdb.multi/multi-attach.exp: Likewise.
20366 * gdb.python/py-prompt.exp: Likewise.
20367 * gdb.python/py-sync-interp.exp: Likewise.
20368 * gdb.server/ext-attach.exp: Likewise.
20369
3adc1a7d
GKB
203702014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20371
20372 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20373 command in testcase. Simplify testcase.
20374
96334934
JB
203752014-09-10 Joel Brobecker <brobecker@adacore.com>
20376
20377 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20378
eb479039
JB
203792014-09-10 Joel Brobecker <brobecker@adacore.com>
20380
20381 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20382
deede10c
JB
203832014-09-10 Joel Brobecker <brobecker@adacore.com>
20384
20385 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20386
7828a5f5
JB
203872014-09-10 Joel Brobecker <brobecker@adacore.com>
20388
20389 * gdb.dwarf2/dynarr-ptr.c: New file.
20390 * gdb.dwarf2/dynarr-ptr.exp: New file.
20391
33aeebcf
MR
203922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20393
20394 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20395 of 30 rather than hardcoding 120 for a slow test case. Take the
20396 `gdb,timeout' target setting into account for this calculation.
20397 Don't extend the timeout for the test cases that don't need it.
20398
7b415901
MR
203992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20400
20401 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20402 a factor of 2 for a slow test case. Take the `gdb,timeout'
20403 target setting into account for this calculation.
20404 * gdb.reverse/until-precsave.exp: Increase the timeout by
20405 a factor of 15 and 3 respectively rather than adding 120
20406 for a pair of slow test cases. Take the `gdb,timeout'
20407 target setting into account for this calculation.
20408
4a40f85a
MR
204092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20410
20411 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20412 timeout, don't pass one down to gdb_expect.
20413 (gdb_expect): Rework timeout selection.
20414
09635af7
MR
204152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20416
20417 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20418 exception on timeout.
20419 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20420 (gdbserver_start_extended): Catch any `gdbserver_start' error
20421 exceptions.
20422 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20423 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20424 `gdbserver_gdb_load' error exceptions.
20425
2bdd10b7
MR
204262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20427
20428 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20429 120 on waiting for the TCP socket to open.
20430
316935f0
DE
204312014-09-09 Doug Evans <xdje42@gmail.com>
20432
20433 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20434 _caller_matches, _any_caller_is, _any_caller_matches.
20435
83740597
DE
204362014-09-09 Doug Evans <xdje42@gmail.com>
20437
20438 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20439
4c122fc3
YQ
204402014-09-09 Yao Qi <yao@codesourcery.com>
20441
20442 * gdb.mi/mi-var-display.exp: Set print symbol off.
20443
a9f116cb
GKB
204442014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20445
20446 PR gdb/17035
20447 * gdb.base/commands.exp: Add tests to verify user-defined
20448 commands with empty bodies.
20449 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20450 python commands in `show user command`.
20451 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20452 scheme commands in `show user command`.
20453
c75bd3a2
JK
204542014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20455
20456 PR python/17355
20457 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20458 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20459 * gdb.python/py-framefilter-invalidarg.exp: New file.
20460 * gdb.python/py-framefilter-invalidarg.py: New file.
20461
faa42425
DE
204622014-09-06 Doug Evans <xdje42@gmail.com>
20463
20464 PR 15276
20465 * gdb.python/py-caller-is.c: New file.
20466 * gdb.python/py-caller-is.exp: New file.
20467
474ca4f6
SDJ
204682014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20469
20470 PR gdb/17235
20471 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20472 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20473
eb0b0463
SDJ
204742014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20475
20476 PR fortran/17237
20477 * gdb.fortran/print-formatted.exp: New file.
20478 * gdb.fortran/print-formatted.f90: Likewise.
20479
5f3b99cf
SS
204802014-09-03 Sasha Smundak <asmundak@google.com>
20481
20482 * gdb.python/py-frame.exp: Test Frame.read_register.
20483
7d793aa9
SDJ
204842014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20485
20486 PR python/16699
20487 * gdb.python/py-completion.exp: New file.
20488 * gdb.python/py-completion.py: Likewise.
20489
fb0576e9
DE
204902014-08-28 Doug Evans <dje@google.com>
20491
20492 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20493 eax,etc. are live with values set by gdb and thus the compiler can't
20494 use them.
20495 * gdb.arch/i386-pseudo.c (main): Ditto.
20496
ee92b0dd
DE
204972014-08-27 Doug Evans <dje@google.com>
20498
20499 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20500
6649db35
DE
205012014-08-25 Doug Evans <dje@google.com>
20502
20503 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20504 (main): Ditto.
20505
564b7600
DE
205062014-08-25 Doug Evans <dje@google.com>
20507
20508 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20509
3881fb67
YQ
205102014-08-24 Yao Qi <yao@codesourcery.com>
20511
20512 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20513 symbol off.
20514 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20515
a05a36a5
DE
205162014-08-22 Doug Evans <dje@google.com>
20517
20518 PR 17276
20519 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20520 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20521 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20522
7c343b48
YQ
205232014-08-22 Yao Qi <yao@codesourcery.com>
20524
20525 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20526 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20527 * gdb.python/python.exp: Likewise. Use .py file on the host
20528 instead of the build.
20529
22fd09ae
JK
205302014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20531
20532 * gdb.threads/gcore-stale-thread.c: New file.
20533 * gdb.threads/gcore-stale-thread.exp: New file.
20534
a8454a7c
PA
205352014-08-21 Pedro Alves <palves@redhat.com>
20536
20537 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20538 * gdb.base/gcore-relro-pie.exp: Likewise.
20539 * gdb.base/gcore-relro.exp: Likewise.
20540 * gdb.base/gcore.exp: Likewise.
20541 * gdb.base/print-symbol-loading.exp: Likewise.
20542 * gdb.threads/gcore-thread.exp: Likewise.
20543 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20544
2a31c623
PA
205452014-08-20 Pedro Alves <palves@redhat.com>
20546 Jan Kratochvil <jan.kratochvil@redhat.com>
20547
20548 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20549 configure.
20550 (EXPECT): Handle READ1 being set.
20551 (all): Depend on EXTRA_RULES.
20552 (check-read1, expect-read1, read1.so, read1): New rules.
20553 * README (Testsuite Parameters): Document the READ1 make variable.
20554 (Race detection): New section.
20555 * configure: Regenerate.
20556 * configure.ac: If build==host==target, and running under a
20557 GNU/glibc system, add read1 to the extra Makefile rules.
20558 (EXTRA_RULES): AC_SUBST it.
20559 * lib/read1.c: New file.
20560
d36430db
JB
205612014-08-20 Joel Brobecker <brobecker@adacore.com>
20562
20563 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20564 the handling of variables declared as a typedef to an array
20565 which a DW_AT_data_location attribute.
20566
9a0dc9e3
PA
205672014-08-19 Andrew Burgess <aburgess@broadcom.com>
20568 Pedro Alves <palves@redhat.com>
20569
20570 PR symtab/14604
20571 PR symtab/14605
20572 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20573 gdb_test.
20574
0718a8da
PA
205752014-08-19 Pedro Alves <palves@redhat.com>
20576
20577 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20578
13b448cd
YQ
205792014-08-19 Yao Qi <yao@codesourcery.com>
20580
20581 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20582 right line.
20583
1cbf5077
DB
205842014-08-18 David Blaikie <dblaikie@gmail.com>
20585
20586 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20587
bf0fae19
JB
205882014-08-18 Joel Brobecker <brobecker@adacore.com>
20589
20590 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20591 attribute in array range.
20592
3c8c5dcc
JB
205932014-08-18 Joel Brobecker <brobecker@adacore.com>
20594
20595 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20596
e66d4446
SC
205972014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20598
20599 PR c++/17132
20600 * gdb.cp/pr17132.cc: New file.
20601 * gdb.cp/pr17132.exp: New file.
20602
940df408
SC
206032014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20604
20605 * gdb.python/py-xmethods.py (A_getarrayind)
20606 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20607 Use 'print' with function call syntax.
20608 (E_method_matcher.match): Fix tab vs space indentation mixup.
20609
ebcc6c3a
YQ
206102014-08-15 Yao Qi <yao@codesourcery.com>
20611
20612 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20613 false.
20614
775e0f04
YQ
206152014-08-15 Yao Qi <yao@codesourcery.com>
20616
20617 * gdb.cp/casts.exp: Set print symbol off.
20618 * gdb.cp/class2.exp: Likewise.
20619 * gdb.cp/overload.exp: Likewise.
20620 * gdb.cp/templates.exp: Likewise.
20621
d769e349
DE
206222014-08-11 Doug Evans <dje@google.com>
20623
20624 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20625 (test_load_shlib): Update.
20626
20c6f1e1
YQ
206272014-08-09 Yao Qi <yao@codesourcery.com>
20628
20629 * gdb.base/display.exp: Invoke is_address_zero_readable.
20630 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20631 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20632 * gdb.base/hbreak-unmapped.exp: Return if
20633 is_address_zero_readable returns true.
20634 * gdb.base/signest.exp: Likewise.
20635 * gdb.base/signull.exp: Likewise.
20636 * gdb.base/sigbpt.exp: Likewise.
20637 * gdb.guile/scm-disasm.exp: Do the test if
20638 is_address_zero_readable returns false.
20639 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20640 * gdb.python/py-arch.exp: Likewise.
20641 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20642 * lib/gdb.exp (is_address_zero_readable): New proc.
20643
5792e8e3
YQ
206442014-08-09 Yao Qi <yao@codesourcery.com>
20645
20646 PR testsuite/13443
20647 * gdb.mi/mi-var-display.exp: Make test messages unique.
20648
3cecbbbe
TT
206492014-08-04 Tom Tromey <tromey@redhat.com>
20650
20651 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20652 target 0".
20653
00b51ff5
TT
206542014-08-04 Tom Tromey <tromey@redhat.com>
20655
20656 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20657 "target_resume".
20658
6908c509
JB
206592014-08-01 Joel Brobecker <brobecker@adacore.com>
20660
20661 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20662 inner_vla_struct_object_size.
20663 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20664 as xfail.
20665
cc6563d2
PA
206662014-07-30 Pedro Alves <palves@redhat.com>
20667
20668 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20669 comment.
20670
7e09a223
YQ
206712014-07-29 Yao Qi <yao@codesourcery.com>
20672
20673 PR gdb/17206
20674 * gdb.base/until-nodebug.exp: New.
20675
7ebdbe92
DE
206762014-07-28 Doug Evans <xdje42@gmail.com>
20677
20678 PR guile/17203
20679 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20680 previously existing parameter, and previously ambiguously spelled
20681 parameter.
20682
fdb1adc6
WN
206832014-07-28 Will Newton <will.newton@linaro.org>
20684
20685 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20686
186fcde0
DE
206872014-07-26 Ludovic Courtès <ludo@gnu.org>
20688 Doug Evans <xdje42@gmail.com>
20689
20690 PR guile/17146
20691 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20692
70509625
PA
206932014-07-25 Pedro Alves <palves@redhat.com>
20694
20695 * gdb.threads/signal-command-handle-nopass.c: New file.
20696 * gdb.threads/signal-command-handle-nopass.exp: New file.
20697 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20698 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20699 * gdb.threads/signal-delivered-right-thread.c: New file.
20700 * gdb.threads/signal-delivered-right-thread.exp: New file.
20701
c3f814a1
PA
207022014-07-25 Pedro Alves <palves@redhat.com>
20703
20704 * gdb.base/double-prompt-target-event-error.exp
20705 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20706 match.
20707 (cancel_pagination_in_target_event): Rework double prompt
20708 detection.
20709 * gdb.base/paginate-after-ctrl-c-running.exp
20710 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20711 <return>' match.
20712 * gdb.base/paginate-bg-execution.exp
20713 (test_bg_execution_pagination_return)
20714 (test_bg_execution_pagination_cancel): Remove '-notransfer
20715 <return>' matches.
20716 * gdb.base/paginate-execution-startup.exp
20717 (test_fg_execution_pagination_return)
20718 (test_fg_execution_pagination_cancel): Remove '-notransfer
20719 <return>' matches.
20720 * gdb.base/paginate-inferior-exit.exp
20721 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20722 match.
20723 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20724 * lib/gdb.exp (pagination_prompt): Run text through
20725 string_to_regexp.
20726 (gdb_test_multiple): Match $pagination_prompt instead of
20727 "<return>".
20728 (string_to_regexp): Move to lib/gdb-utils.exp.
20729
e214cf6c
JK
207302014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20731
20732 * gdb.arch/amd64-entry-value-paramref.S: New file.
20733 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20734 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20735 * gdb.arch/amd64-optimout-repeat.S: New file.
20736 * gdb.arch/amd64-optimout-repeat.c: New file.
20737 * gdb.arch/amd64-optimout-repeat.exp: New file.
20738
17d0c5c8
JK
207392014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20740
20741 PR gdb/17170
20742 * gdb.base/statistics.exp: New file.
20743
b8b8facf
DE
207442014-07-17 Doug Evans <dje@google.com>
20745
74b49205 20746 PR gdb/17170
b8b8facf
DE
20747 * gdb.base/maint.exp: Update testing of per-command stats.
20748
1b5d0ab3
PA
207492014-07-16 Pedro Alves <palves@redhat.com>
20750
20751 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20752 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20753 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20754 (tfile_write_buf): New functions.
20755 (add_memory_block): Rewrite using the above.
20756 (adjust_function_address): New function.
20757 (FUNCTION_ADDRESS): New macro.
20758 (write_basic_trace_file): Remove short_x local, and use
20759 tfile_write_16. Change type of func_addr local to unsigned long
20760 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20761 here. Cast argument of add_memory_block to char pointer.
20762 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20763 (main): Remove parameters.
20764 * gdb.trace/tfile.exp: Remove nowarnings.
20765
4d974e88
SM
207662014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20767
20768 * gdb.base/debug-expr.exp: Test string evaluation with
20769 "debug expression" on.
20770
41e99568
PA
207712014-07-15 Pedro Alves <palves@redhat.com>
20772
20773 * gdb.base/reread.exp: Use clean_restart.
20774
487d9753
PL
207752014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20776
20777 * gdb.arch/avr-flash-qualifer.c: New.
20778 * gdb.arch/avr-flash-qualifer.exp: New.
20779
cc1c52ad
PA
207802014-07-14 Pedro Alves <palves@redhat.com>
20781
20782 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20783 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20784
1e973570
PA
207852014-07-14 Pedro Alves <palves@redhat.com>
20786
20787 * gdb.base/double-prompt-target-event-error.c: New file.
20788 * gdb.base/double-prompt-target-event-error.exp: New file.
20789
93d6eb10
PA
207902014-07-14 Pedro Alves <palves@redhat.com>
20791
20792 PR gdb/17072
20793 * gdb.base/paginate-inferior-exit.c: New file.
20794 * gdb.base/paginate-inferior-exit.exp: New file.
20795
0017922d
PA
207962014-07-14 Pedro Alves <palves@redhat.com>
20797
20798 PR gdb/17072
20799 * gdb.base/paginate-bg-execution.c: New file.
20800 * gdb.base/paginate-bg-execution.exp: New file.
20801
94696ad3
PA
208022014-07-14 Pedro Alves <palves@redhat.com>
20803
20804 PR gdb/17072
20805 * gdb.base/paginate-execution-startup.c: New file.
20806 * gdb.base/paginate-execution-startup.exp: New file.
20807 * lib/gdb.exp (pagination_prompt): New global.
20808 (default_gdb_spawn): New procedure, factored out from
20809 default_gdb_spawn.
20810 (default_gdb_start): Adjust to call default_gdb_spawn.
20811 (gdb_spawn): New procedure.
20812
bd293940
PA
208132014-07-14 Pedro Alves <palves@redhat.com>
20814
20815 * lib/gdb.exp (gdb_assert): New procedure.
20816 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20817
c933f875
PA
208182014-07-14 Pedro Alves <palves@redhat.com>
20819
20820 * gdb.base/execution-termios.c: New file.
20821 * gdb.base/execution-termios.exp: New file.
20822
d98b7a16
TT
208232014-07-14 Tom Tromey <tromey@redhat.com>
20824
20825 * gdb.cp/vla-cxx.cc: New file.
20826 * gdb.cp/vla-cxx.exp: New file.
20827
548740d6
TT
208282014-07-14 Tom Tromey <tromey@redhat.com>
20829
20830 * gdb.reverse/rerun-prec.c: New file.
20831 * gdb.reverse/rerun-prec.exp: New file.
20832
a25eb028
MR
208332014-07-12 Maciej W. Rozycki <macro@mips.com>
20834 Maciej W. Rozycki <macro@codesourcery.com>
20835
20836 * lib/gdb-utils.exp: New file.
20837 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20838 inline `gdb_init_command' processing.
20839 (gdb_start_cmd): Likewise.
20840 * lib/mi-support.exp (mi_run_cmd): Likewise.
20841 * README: Document `gdb_init_command' and `gdb_init_commands'.
20842
218c2655
JK
208432014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20844
20845 Fix false FAIL running under a very long directory name.
20846 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20847 and "set print elements 10000". Twice.
20848
5401fde3
YQ
208492014-07-11 Yao Qi <yao@codesourcery.com>
20850
20851 * gdb.base/exprs.exp: "set print symbol off".
20852
e76126e8
PA
208532014-07-11 Pedro Alves <palves@redhat.com>
20854
20855 * gdb.threads/kill.c: New file.
20856 * gdb.threads/kill.exp: New file.
20857
2d6f0de6
YQ
208582014-07-10 Yao Qi <yao@codesourcery.com>
20859
20860 * gdb.trace/tfile.c (write_basic_trace_file)
20861 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20862 address written to trace file.
20863
7180e04a
PA
208642014-07-09 Pedro Alves <palves@redhat.com>
20865
20866 * gdb.base/attach-wait-input.exp: New file.
20867 * gdb.base/attach-wait-input.c: New file.
20868
9a9a7608
AB
208692014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20870
20871 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20872 setting up test structures.
20873 (main): Call new test function.
20874 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20875 test function, continue into test function and walk test
20876 structures.
20877
161ac41e
YQ
208782014-07-02 Yao Qi <yao@codesourcery.com>
20879
20880 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20881 'bar_start' at the beginning of functions 'foo' and 'bar'
20882 respectively.
20883 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20884 instead of 'foo' and 'bar'.
20885
1f267ae3
MM
208862014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20887
20888 * gdb.btrace/segv.exp: New.
20889 * gdb.btrace/segv.c: New.
20890
2b239efb
LM
208912014-07-02 Luis Machado <lgustavo@codesourcery.com>
20892
20893 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20894 instruction.
20895
cf363f18
MW
208962014-06-30 Mark Wielaard <mjw@redhat.com>
20897
20898 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20899 vulture, vilify, villar): New volatile array constants.
20900 (vindictive, vegetation): New const volatile array constants.
20901 * gdb.base/volatile.exp: Test volatile and const volatile array
20902 types.
20903
aebf9d24
AA
209042014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20905
20906 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20907 target lacks support for awatch, rwatch, or hbreak.
20908
b67a2c6f
YQ
209092014-06-27 Yao Qi <yao@codesourcery.com>
20910
20911 * gdb.multi/dummy-frame-restore.exp: New.
20912 * gdb.multi/dummy-frame-restore.c: New.
20913
aef92902
MM
209142014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20915
20916 * gdb.btrace/gcore.exp: New.
20917
8e9db26e
PA
209182014-06-23 Pedro Alves <palves@redhat.com>
20919
20920 * gdb.base/watchpoint-reuse-slot.c: New file.
20921 * gdb.base/watchpoint-reuse-slot.exp: New file.
20922
70afc5b7
SC
209232014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20924
20925 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20926 progspace's filename in 'info', 'enable' and 'disable' command
20927 tests.
20928
b972bd9c
JK
209292014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20930
20931 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20932 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20933 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20934
125f8a3d
GB
209352014-06-20 Gary Benson <gbenson@redhat.com>
20936
20937 * gdb.arch/i386-avx.exp: Fix include file location.
20938 * gdb.arch/i386-sse.exp: Likewise.
20939
3ed9baed
IB
209402014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20941
20942 * gdb.dlang/expression.exp: New file.
20943
034f788c
PA
209442014-06-19 Pedro Alves <palves@redhat.com>
20945
20946 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20947 out from ...
20948 (top level): ... here. Iterate running tests under different
20949 scheduler-locking settings.
20950
45371d0c
LM
209512014-06-18 Luis Machado <lgustavo@codesourcery.com>
20952
20953 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20954 to DW_FORM_addr and use non-zero addresses.
20955
5d376983
SC
209562014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20957
20958 PR gdb/17017
20959 * gdb.python/py-xmethods.cc: Add global function call counters and
20960 increment them in their respective functions. Remove "cout"
20961 statements.
20962 * gdb.python/py-xmethods.exp: Make tests check the global function
20963 call counters instead of depending on inferior IO.
20964
a1aa2221
LM
209652014-06-18 Don Breazeal <donb@codesourcery.com>
20966
20967 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20968 Deleted procedure.
20969 (explicit_fork_parent_follow): Deleted procedure.
20970 (explicit_fork_child_follow): Deleted procedure.
20971 (test_follow_fork): New procedure.
20972 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 20973 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
20974 procedure calls.
20975
0fc05997
YQ
209762014-06-17 Yao Qi <yao@codesourcery.com>
20977
20978 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20979 CP1252.
20980
70795c52
LM
209812014-06-17 Luis Machado <lgustavo@codesourcery.com>
20982
20983 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20984 Initialize ptr and S explicitly.
20985 (skip_type_update_when_not_use_rtti_test): Likewise.
20986
6be47f0c
KS
209872014-06-16 Keith Seitz <keiths@redhat.com>
20988
20989 PR mi/15863
20990 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20991 the inferior is started.
20992
d03de421
PA
209932014-06-16 Pedro Alves <palves@redhat.com>
20994
20995 * gdb.base/break-main-file-remove-fail.c: New file.
20996 * gdb.base/break-main-file-remove-fail.exp: New file.
20997 * gdb.base/break-unload-file.exp: Use build_executable instead of
20998 prepare_for_testing.
20999 (test_break): New parameter "initial_load". Handle it.
21000 (top level): Add initial_load cmdline/file axis.
21001
f9579b99
TT
210022014-06-12 Tom Tromey <tromey@redhat.com>
21003
21004 * gdb.base/completion.exp: Don't use directory name in test.
21005
3657956b
GB
210062014-06-09 Gary Benson <gbenson@redhat.com>
21007
21008 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21009 separate the always-available ANSI-standard signals from the
21010 signals that require checking.
21011 (main): Likewise.
21012 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21013 Likewise.
21014 (main): Likewise.
21015
4186eb54
KS
210162014-06-07 Keith Seitz <keiths@redhat.com>
21017
21018 Revert:
21019 PR c++/16253
21020 * gdb.cp/var-tag.cc: New file.
21021 * gdb.cp/var-tag.exp: New file.
21022 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21023 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21024 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21025 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21026
25326a28 210272014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21028
21029 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21030
829155c9
PA
210312014-06-06 Pedro Alves <palves@redhat.com>
21032
21033 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21034 in target debug output instead of looking at RSP packets,
21035 disabling the test on any target that uses hardware stepping.
21036 Update comments.
21037
61c8d22e
PA
210382014-06-06 Pedro Alves <palves@redhat.com>
21039
21040 * gdb.base/break-unload-file.exp: Fix typo.
21041
d9a47287
YQ
210422014-06-06 Yao Qi <yao@codesourcery.com>
21043
21044 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21045 from "jit_function" to "^jit_function".
21046
e5e01dbf
YQ
210472014-06-06 Yao Qi <yao@codesourcery.com>
21048
21049 * gdb.base/async.c (foo): Add one statement.
21050 * gdb.base/async.exp: Get the next instruction address and
21051 match the output of "nexti" by instruction address. Match
21052 the hex address in the output of "finish".
21053
73ba372c
GB
210542014-06-06 Gary Benson <gbenson@redhat.com>
21055
21056 * gdb.base/call-signals.c: Remove preprocessor conditionals
21057 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21058 SIGSEGV and SIGTERM.
21059 * gdb.base/sigall.c: Likewise.
21060 * gdb.base/unwindonsignal.c: Likewise.
21061 * gdb.reverse/sigall-reverse.c: Likewise.
21062
831517df
YQ
210632014-06-06 Yao Qi <yao@codesourcery.com>
21064
21065 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21066 readable, skip the test.
21067
b8b91e98
YQ
210682014-06-06 Yao Qi <yao@codesourcery.com>
21069
21070 * gdb.threads/staticthreads.c (thread_function): Move the line
21071 setting breakpoint on forward.
21072 * gdb.threads/staticthreads.exp: Update comments.
21073
fb934770
LC
210742014-06-05 Ludovic Courtès <ludo@gnu.org>
21075
21076 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21077 "history-append! type error".
21078
6ef284bd
SM
210792014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21080
21081 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21082 erroneous dprintf expected input.
21083
a872e241
DE
210842014-06-04 Doug Evans <xdje42@gmail.com>
21085
21086 * gdb.guile/scm-generics.exp: Delete.
21087
16f691fb
DE
210882014-06-04 Doug Evans <xdje42@gmail.com>
21089
21090 * gdb.guile/scm-breakpoint.exp: Update.
21091 Add tests for breakpoint registration.
21092
012370f6
TT
210932014-06-04 Tom Tromey <tromey@redhat.com>
21094
21095 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21096 VLA-in-union.
21097 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21098 inner_vla_struct, vla_union types. Initialize objects of those
21099 types and compute their sizes.
21100
9f5a4cef
HZ
211012014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21102 Hui Zhu <hui@codesourcery.com>
21103
21104 * gdb.base/fileio.exp: Add test for shell not available as well as
21105 available.
21106 * gdb.base/fileio.c (test_system): Check for shell twice.
21107
90a45c4d
YQ
211082014-06-04 Yao Qi <yao@codesourcery.com>
21109
21110 * gdb.base/auto-connect-native-target.exp: Remove redundant
21111 space from the regexp pattern.
21112
70017e41
YQ
211132014-06-04 Yao Qi <yao@codesourcery.com>
21114
21115 * gdb.base/default.exp: Replace "child" with "native" in
21116 regexp pattern.
21117
883964a7
SC
211182014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21119
21120 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21121 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21122 * gdb.python/py-xmethods.py: Python script supporting the
21123 new testcase and tests.
21124
ef370185
JB
211252014-06-03 Joel Brobecker <brobecker@adacore.com>
21126 Pedro Alves <palves@redhat.com>
21127
21128 PR breakpoints/17000
21129 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21130 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21131
1e2ccb61
BM
211322014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21133
21134 * gdb.base/subst.exp: Add tests to verify partial path matching
21135 output.
21136
c6ec5ab2
PA
211372014-06-03 Pedro Alves <palves@redhat.com>
21138
21139 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21140 target that doesn't use software single-stepping.
21141
835c559f
PA
211422014-06-03 Pedro Alves <palves@redhat.com>
21143
21144 PR breakpoints/17000
21145 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21146 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21147
06eb1586
DE
211482014-06-02 Doug Evans <xdje42@gmail.com>
21149
21150 * gdb.guile/scm-parameter.exp: New file.
21151
e698b8c4
DE
211522014-06-02 Doug Evans <xdje42@gmail.com>
21153
21154 * gdb.guile/scm-cmd.c: New file.
21155 * gdb.guile/scm-cmd.exp: New file.
21156
ded03782
DE
211572014-06-02 Doug Evans <xdje42@gmail.com>
21158
21159 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21160 pretty-printer lookup.
21161 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21162 (make-pp_s-printer): Call it.
21163 (make-pretty-printer-from-dict): New function.
21164 (lookup-pretty-printer-maker-from-dict): New function.
21165 (*pretty-printer*): Simplify.
21166 (make-objfile-pp_s-printer): New function.
21167 (install-objfile-pretty-printers!): New function.
21168 (make-progspace-pp_s-printer): New function.
21169 (install-progspace-pretty-printers!): New function.
21170 * gdb.guile/scm-progspace.c: New file.
21171 * gdb.guile/scm-progspace.exp: New file.
21172
41fac0cf
PA
211732014-06-02 Pedro Alves <palves@redhat.com>
21174
21175 * gdb.base/dprintf-bp-same-addr.c: New file.
21176 * gdb.base/dprintf-bp-same-addr.exp: New file.
21177
96ae5695
EBM
211782014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21179
21180 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21181 * gdb.arch/powerpc-power.s: Likewise.
21182
da02b3a8
JB
211832014-06-02 Joel Brobecker <brobecker@adacore.com>
21184
21185 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21186
c72b2e7b
YQ
211872014-06-01 Yao Qi <yao@codesourcery.com>
21188
21189 * gdb.base/watchpoint.exp (test_watch_location): Check null
21190 pointer can be dereferenced. If not, do the test, otherwise
21191 skip it.
21192
53e8a631
AB
211932014-05-30 Andrew Burgess <aburgess@broadcom.com>
21194
21195 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21196 results.
21197 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21198
938f0e2f
AB
211992014-05-30 Andrew Burgess <aburgess@broadcom.com>
21200
21201 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21202 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21203 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21204 * gdb.arch/amd64-invalid-stack-top.c: New file.
21205 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21206
9ba6657a
PA
212072014-05-30 Pedro Alves <palves@redhat.com>
21208
21209 PR breakpoints/17000
21210 * gdb.base/sss-bp-on-user-bp.c: New file.
21211 * gdb.base/sss-bp-on-user-bp.exp: New file.
21212
522c09bf
DB
212132014-05-30 David Blaikie <dblaikie@gmail.com>
21214
21215 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21216 gnu_inline semantics via attribute.
21217 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21218 source explicitly specifies the required semantics.
21219
bf4ef81e
MR
212202014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21221
21222 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21223
329ea579
PA
212242014-05-29 Pedro Alves <palves@redhat.com>
21225 Tom Tromey <tromey@redhat.com>
21226
21227 * gdb.base/async-shell.exp: Don't enable target-async.
21228 * gdb.base/async.exp
21229 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21230 parameter. Adjust.
21231 (top level): Don't test with "target-async".
21232 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21233 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21234 * gdb.base/inferior-died.exp: Don't enable target-async.
21235 * gdb.base/interrupt-noterm.exp: Likewise.
21236 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21237 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21238 * gdb.mi/mi-nonstop.exp: Likewise.
21239 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21240 * gdb.mi/mi-nsintrall.exp: Likewise.
21241 * gdb.mi/mi-nsmoribund.exp: Likewise.
21242 * gdb.mi/mi-nsthrexec.exp: Likewise.
21243 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21244 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21245 * gdb.python/py-evsignal.exp: Don't enable target-async.
21246 * gdb.python/py-evthreads.exp: Likewise.
21247 * gdb.python/py-prompt.exp: Likewise.
21248 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21249 * gdb.server/solib-list.exp: Don't enable target-async.
21250 * gdb.threads/thread-specific-bp.exp: Likewise.
21251 * lib/mi-support.exp: Adjust to use mi-async.
21252
fd664c91
PA
212532014-05-29 Pedro Alves <palves@redhat.com>
21254
21255 PR gdb/13860
21256 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21257 reason, even in sync mode.
21258
251bde03
PA
212592014-05-29 Pedro Alves <palves@redhat.com>
21260 Hui Zhu <hui@codesourcery.com>
21261
21262 PR PR15693
21263 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21264 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21265 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21266 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21267
7f3c0343
JB
212682014-05-28 Joel Brobecker <brobecker@adacore.com>
21269
21270 * config/monitor.exp (gdb_target_monitor): Replace use of
21271 "set remotebaud" by "set serial baud".
21272
b2715b27
AW
212732014-05-26 Andy Wingo <wingo@igalia.com>
21274
21275 * gdb.guile/scm-breakpoint.exp:
21276 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21277 properties instead of gdb-object-properties.
21278
498a4489
YQ
212792014-05-26 Yao Qi <yao@codesourcery.com>
21280
21281 * gdb.server/no-thread-db.exp: Specify source file name
21282 explicitly when setting a breakpoint.
21283
589fdceb
MM
212842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21285
21286 * gdb.btrace/vdso.c: New.
21287 * gdb.btrace/vdso.exp: New.
21288
e9089e05
MM
212892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21290
21291 * gdb.base/gcore.exp (capture_command_output): Move ...
21292 * lib/gdb.exp (capture_command_output): ... here.
21293
67b5c0c1
MM
212942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21295
21296 * gdb.btrace/data.exp: Test memory access during btrace replay.
21297
a2199296
SM
212982014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21299
21300 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21301
17b2616c
PA
213022014-05-21 Pedro Alves <palves@redhat.com>
21303
21304 PR gdb/13860
21305 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21306 (top level): Test that output related to execution commands is
21307 sent to the console with CLI commands, but not with MI commands.
21308 Test that breakpoint events are always mirrored to the console.
21309 Also expect the new source line to be output after a "next" in
21310 async mode too. Make it a pass/fail test.
21311 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21312 output.
21313 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21314
5166082f
PA
213152014-05-21 Pedro Alves <palves@redhat.com>
21316
21317 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21318 Use them to test variations of "list" after reaching a breakpoint.
21319 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21320 Test "list" with listsize 10 after reaching a breakpoint.
21321 * gdb.python/python.exp (decode_line current location line
21322 number): Adjust expected line number.
21323
2f25d70f
SM
213242014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21325
21326 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21327 behavior for $args, pass it directly to "run".
21328
ff604a67
MR
213292014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21330
21331 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21332 30000 to 65536.
21333
6a3cb8e8
PA
213342014-05-21 Pedro Alves <palves@redhat.com>
21335
21336 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21337 auto-connect-native-target off".
21338 * gdb.base/auto-connect-native-target.c: New file.
21339 * gdb.base/auto-connect-native-target.exp: New file.
21340
4ebfc96e
PA
213412014-05-21 Pedro Alves <palves@redhat.com>
21342
21343 * gdb.base/default.exp: Test "target native" instead of "target
21344 child".
21345
36d46afb
MW
213462014-05-21 Mark Wielaard <mjw@redhat.com>
21347
21348 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21349
5876f503
JK
213502014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21351
21352 Fix TLS access for -static -pthread.
21353 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21354 <HAVE_TLS> (thread_function, main): Initialize it.
21355 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21356 Add clean_restart.
21357 <$have_tls != "">: Check TLSVAR.
21358
0256a6ac
PA
213592014-05-21 Pedro Alves <palves@redhat.com>
21360
21361 * gdb.base/dcache-line-read-error.c: New.
21362 * gdb.base/dcache-line-read-error.exp: New.
21363
936d2992
PA
213642014-05-20 Pedro Alves <palves@redhat.com>
21365
21366 * gdb.base/compare-sections.c: New file.
21367 * gdb.base/compare-sections.exp: New file.
21368
802e8e6d
PA
213692014-05-20 Pedro Alves <palves@redhat.com>
21370
21371 * gdb.base/break-idempotent.c: New file.
21372 * gdb.base/break-idempotent.exp: New file.
21373
e59fa00f
MM
213742014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21375
21376 * gdb.btrace/nohist.exp: New.
21377
8b696e31
YQ
213782014-05-20 Yao Qi <yao@codesourcery.com>
21379
21380 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21381 gdb.reverse directory and gdb_reverse_timeout exists in board
21382 setting.
21383 * README: Document gdb_reverse_timeout.
21384
73c9764f
YQ
213852014-05-20 Yao Qi <yao@codesourcery.com>
21386
21387 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21388 'test_file_name'. Treat args as a string instead of a list.
21389 (gdb_init): Rename argument 'args' by 'test_file_name'.
21390
f1f4348a
JK
213912014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21392
21393 * gdb.arch/powerpc-power.exp: New file.
21394 * gdb.arch/powerpc-power.s: New file.
21395
0dbe70ce
DE
213962014-05-16 Doug Evans <dje@google.com>
21397
21398 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
21399 * gdb.base/completion.exp: Check that all expected files exist
21400 before doing file completion.
0dbe70ce 21401
8d551b02
DE
214022014-05-16 Doug Evans <dje@google.com>
21403
21404 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
21405 Update.
21406 (do_syscall_tests_without_xml): Update.
21407
73eb7709
PA
214082014-05-16 Pedro Alves <palves@redhat.com>
21409
21410 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21411 instead of "unknown output after running".
21412
3fae92fc
YQ
214132014-05-16 Yao Qi <yao@codesourcery.com>
21414
21415 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21416 file1.txt from host at the end.
21417 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21418
c2b2ccc5
DE
214192014-05-15 Doug Evans <dje@google.com>
21420
21421 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21422 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21423 loading file. Add test for TU lookup.
21424
8c217a4b
SM
214252014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21426
21427 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21428 calling "-exec-arguments" or "set args" before running the
21429 inferior.
21430
3deb39c6
SM
214312014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21432
21433 * lib/mi-support.exp (mi_expect_stop): Expect message for
21434 inferiors that exit with non-zero exit code.
21435
71a79f8c
YQ
214362014-05-14 Yao Qi <yao@codesourcery.com>
21437
21438 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21439 match absolute path on remote host.
21440 (test_file_list_exec_source_files): Remove "/" from the
21441 pattern.
21442
f23fcd46
YQ
214432014-05-14 Yao Qi <yao@codesourcery.com>
21444
21445 * boards/local-remote-host-notty.exp (${board}_file): New
21446 proc.
21447
9404b58f
KM
214482014-05-07 Kyle McMartin <kyle@redhat.com>
21449
21450 Pushed by Joel Brobecker <brobecker@adacore.com>.
21451 * gdb.arch/aarch64-atomic-inst.c: New file.
21452 * gdb.arch/aarch64-atomic-inst.exp: New file.
21453
5e45f04c
YQ
214542014-05-07 Yao Qi <yao@codesourcery.com>
21455
21456 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21457 in current context" too.
21458
c888a17d
KS
214592014-05-05 Keith Seitz <keiths@redhat.com>
21460
21461 * gdb.linespec/ls-dollar.exp: Add test for linespec
21462 file:convenience_variable.
21463
290a839c
YQ
214642014-05-05 Yao Qi <yao@codesourcery.com>
21465
21466 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21467 traceframes into tfile and ctf trace files. Read data from
21468 trace file and test collected data.
21469 (gdb_collect_locals_test): Likewise.
21470 (gdb_unavailable_registers_test): Likewise.
21471 (gdb_unavailable_floats): Likewise.
21472 (gdb_collect_globals_test): Likewise.
21473 (top-level): Append "ctf" to trace_file_targets if GDB
21474 supports.
21475
b5262cd0
YQ
214762014-05-05 Yao Qi <yao@codesourcery.com>
21477
21478 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21479 code to ...
21480 (gdb_collect_args_test_1): ... it. New proc.
21481 (gdb_collect_locals_test): Move some code to ...
21482 (gdb_collect_locals_test_1): ... it. New proc.
21483 (gdb_unavailable_registers_test): Move some code to ...
21484 (gdb_unavailable_registers_test_1): ... it. New proc.
21485 (gdb_unavailable_floats): Move some code to ...
21486 (gdb_unavailable_floats_1): ... it. New proc.
21487
30a1e6cc
SDJ
214882014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21489
21490 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21491 probes to test for bitness recognition.
21492 * gdb.arch/amd64-stap-optional-prefix.exp
21493 (test_probe_value_without_reg): New procedure.
21494 Add code to test for different kinds of bitness.
21495
f33da99a
SDJ
214962014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21497
21498 PR breakpoints/16889
21499 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21500 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21501
5b80f00d
PA
215022014-05-01 Pedro Alves <palves@redhat.com>
21503
21504 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21505 gdb_file_cmd if no file is specified.
21506 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21507 last_loaded_file to set the remote exec-file.
21508
f8c2a73c
PA
215092014-05-01 Pedro Alves <palves@redhat.com>
21510
21511 * boards/local-remote-host.exp: New file.
21512
be6e8ac7
PA
215132014-05-01 Pedro Alves <palves@redhat.com>
21514
21515 * boards/local-remote-host.exp: Rename to ...
21516 * boards/local-remote-host-notty.exp: ... this.
21517
cac0dc8f
JB
215182014-04-28 Joel Brobecker <brobecker@adacore.com>
21519
21520 * gdb.ada/dyn_arrayidx: New testcase.
21521
9730e6cc
YQ
215222014-04-26 Yao Qi <yao@codesourcery.com>
21523
21524 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21525 and compute the length of function main. Save it in
21526 $main_length.
21527 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21528 (top-level): Use gdb_compile to compile objects into
21529 executable and restart GDB. Remove invocation to
21530 prepare_for_testing.
21531
7ae1a6a6
PA
215322014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21533 Pedro Alves <palves@redhat.com>
21534
21535 PR server/16255
21536 * gdb.multi/multi-attach.c: New file.
21537 * gdb.multi/multi-attach.exp: New file.
21538
4082afcc
PA
215392014-04-25 Pedro Alves <palves@redhat.com>
21540
21541 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21542 user.
21543 (top level): Test that "set remote conditional-breakpoints-packet
21544 off" works as intended.
21545 * gdb.base/dprintf.exp: Test that "set remote
21546 breakpoint-commands-packet off" works as intended.
21547 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21548 New function.
21549 (top level): Call it.
21550 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21551 remote fast-tracepoints-packet off" works as intended.
21552 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21553 * lib/gdb.exp (gdb_is_target_remote): ... here.
21554
2abc3f8d
DB
215552014-04-24 David Blaikie <dblaikie@gmail.com>
21556
21557 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21558 ensure clang would not discard them.
21559 * gdb.base/gdbvars.c: Ditto.
21560 * gdb.base/memattr.c: Ditto.
21561 * gdb.base/whatis.c: Ditto.
21562 * gdb.python/py-prettyprint.c: Ditto.
21563 * gdb.trace/actions.c: Ditto.
21564 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21565 ensure clang would not discard it.
21566
bfd39632
DB
215672014-04-24 David Blaikie <dblaikie@gmail.com>
21568
21569 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21570 clang to emit the full definition of type required by the test
21571 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21572
22842ff6
DB
215732014-04-24 David Blaikie <dblaikie@gmail.com>
21574
21575 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21576 coax Clang into emitting the definition of the type.
21577 * gdb.cp/pr10728-x.h (y): Ditto.
21578 * gdb.cp/pr10728-y.cc (y): Ditto.
21579
c2e827ad
DB
215802014-04-24 David Blaikie <dblaikie@gmail.com>
21581
21582 * gdb.base/label.exp: XFAIL label related tests under Clang.
21583 * gdb.cp/cplabel.exp: Ditto.
21584 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21585 under Clang those using labels.
21586
4c2d33e7
YQ
215872014-04-25 Yao Qi <yao@codesourcery.com>
21588
21589 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21590 double_label.
21591 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21592 partial_label and double_label.
21593
56083b99
DB
215942014-04-24 David Blaikie <dblaikie@gmail.com>
21595
21596 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21597
25d4e99d
DB
215982014-04-24 David Blaikie <dblaikie@gmail.com>
21599
21600 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21601 of the function to work across GCC and Clang.
21602 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21603 pointer types (const void ** const V void **).
21604
01f9f808
MS
216052014-04-24 Michael Sturm <michael.sturm@mintel.com>
21606 Walfred Tedeschi <walfred.tedeschi@intel.com>
21607
21608 * Makefile.in (EXECUTABLES): Added i386-avx512.
21609 * gdb.arch/i386-avx512.c: New file.
21610 * gdb.arch/i386-avx512.exp: Likewise.
21611
4b48d439
KS
216122014-04-23 Keith Seitz <keiths@redhat.com>
21613
21614 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21615 (mi_make_breakpoint_table): New procedure.
21616 (mi_create_breakpoint): Use mi_make_breakpoint
21617 and return the result.
21618 (mi_make_breakpoint): New procedure.
21619 (mi_build_kv_pairs): New procedure.
21620
21621 * gdb.mi/mi-break.exp: Remove unused globals,
21622 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21623 All callers updated.
21624 * gdb.mi/mi-dprintf.exp: Use variable to track command
21625 number.
21626 Update all callers of mi_create_breakpoint and use
21627 mi_make_breakpoint_table.
21628 Remove any unused global variables.
21629 * gdb.mi/mi-nonstop.exp: Likewise.
21630 * gdb.mi/mi-nsintrall.exp: Likewise.
21631 * gdb.mi/mi-nsmoribund.exp: Likewise.
21632 * gdb.mi/mi-nsthrexec.exp: Likewise.
21633 * gdb.mi/mi-reverse.exp: Likewise.
21634 * gdb.mi/mi-simplerun.exp: Likewise.
21635 * gdb.mi/mi-stepn.exp: Likewise.
21636 * gdb.mi/mi-syn-frame.exp: Likewise.
21637 * gdb.mi/mi-until.exp: Likewise.
21638 * gdb.mi/mi-var-cp.exp: Likewise.
21639 * gdb.mi/mi-var-display.exp: Likewise.
21640 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21641 * gdb.mi/mi2-var-child.exp: Likewise.
21642 * gdb.mi/mi-vla-c99.exp: Likewise.
21643 * lib/mi-support.exp: Likewise.
21644
21645 From Ian Lance Taylor <iant@cygnus.com>:
21646 * lib/gdb.exp (parse_args): New procedure.
21647
08351840
PA
216482014-04-23 Pedro Alves <palves@redhat.com>
21649
21650 * gdb.base/break-unload-file.c: New file.
21651 * gdb.base/break-unload-file.exp: New file.
21652 * gdb.base/sym-file-lib.c (baz): New function.
21653 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21654 field.
21655 (load): Store the segment's mapped size.
21656 (unload): New function.
21657 (unload_shlib): New function.
21658 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21659 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21660 set a breakpoint at baz, and call it.
21661 * gdb.base/sym-file.exp: New tests for stale breakpoint
21662 instructions.
21663
076855f9
PA
216642014-04-23 Pedro Alves <palves@redhat.com>
21665
21666 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21667 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21668 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21669 * gdb.base/hbreak-unmapped.c: New file.
21670 * gdb.base/hbreak-unmapped.exp: New file.
21671 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21672 * lib/gdb.exp (gdb_is_target_remote): ... here.
21673
483805cf
PA
216742014-04-22 Pedro Alves <palves@redhat.com>
21675
21676 * gdb.base/consecutive-step-over.c: New file.
21677 * gdb.base/consecutive-step-over.exp: New file.
21678
06d97543
PA
216792014-04-22 Pedro Alves <palves@redhat.com>
21680
21681 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21682 instead of send_gdb/gdb_expect.
21683
b4429ea2
YQ
216842014-04-22 Yao Qi <yao@codesourcery.com>
21685
21686 * lib/trace-support.exp (generate_tracefile): New procedure.
21687 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21688 return 0.
21689 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21690 if generate_tracefile returns 1.
21691
51d48146
PA
216922014-04-18 Tom Tromey <palves@redhat.com>
21693 Pedro alves <tromey@redhat.com>
21694
21695 PR backtrace/15558
21696 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21697 with a backtrace limit.
21698 * gdb.python/py-frame-inline.exp: Test running to an inline
21699 function with a backtrace limit, and printing the newest frame.
21700 * gdb.python/py-frame-inline.c (main): Call f.
21701
bd1dce5f
MS
217022014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21703
21704 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21705
40d1a503
MS
217062014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21707
21708 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21709 Drop prefix from unsupported source file path.
21710
389b98f7
YQ
217112014-04-17 Yao Qi <yao@codesourcery.com>
21712
21713 * lib/gdb.exp (with_target_charset): New proc.
21714 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21715 with_target_charset.
21716 (test_print_strings): Likewise.
21717 (test_repeat_bytes): Likewise.
21718 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21719 for some tests.
21720
22869d73
KS
217212014-04-16 Keith Seitz <keiths@redhat.com>
21722
21723 PR gdb/15827
21724 * gdb.dwarf2/corrupt.c: New file.
21725 * gdb.dwarf2/corrupt.exp: New file.
21726
c4f87ca6
KS
217272014-04-16 Keith Seitz <keiths@redhat.com>
21728
21729 PR c++/16597
21730 * gdb.cp/namelessclass.cc: New file.
21731 * gdb.cp/namelessclass.exp: New file.
21732 * gdb.cp/namelessclass.S: New file.
21733
ab19de87
DE
217342014-04-16 Doug Evans <dje@google.com>
21735
21736 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21737 Add comment.
21738 (gdbserver_default_get_comm_port): New function.
21739 (gdbserver_start): Check if board file provided
21740 "gdbserver,get_comm_port" and use it if so.
21741 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21742 (gdb,socketport): Set to "stdio".
21743 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21744 (stdio_gdbserver_template): Delete.
21745 (${board}_get_remote_address): Update.
21746 (${board}_build_remote_cmd): Delete.
21747 (${board}_get_comm_port): New function.
21748 (${board}_spawn): Update.
21749 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21750 Delete.
21751 (${board}_get_remote_address): Update.
21752 (${board}_get_comm_port): New function.
21753
fc98a809
AB
217542014-04-16 Andrew Burgess <aburgess@broadcom.com>
21755
21756 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21757 appearing in any order.
21758
87fd9e6e
DE
217592014-04-15 Doug Evans <dje@google.com>
21760
21761 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21762 uninitialized value of "description".
21763
099fc3ea
KS
217642014-04-15 Keith Seitz <keiths@redhat.com>
21765
21766 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21767 Remove unused globals.
21768 (test_running_the_program): Likewise.
21769 (test_controlled_execution): Likewise.
21770 (test_controlling_breakpoints): Likewise.
21771 (test_program_termination): Likewise.
21772
5da151d4
KS
217732014-04-15 Keith Seitz <keiths@redhat.com>
21774
21775 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21776 unused globals.
21777 (test_rbreak_creation_and_listing): Likewise.
21778 (test_ignore_count): Likewise.
21779 (test_error): Likewise.
21780
35e5d2f0
PA
217812014-04-15 Pedro Alves <palves@redhat.com>
21782
21783 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21784 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21785 sym-file-loader.c.
21786 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21787 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21788 to sym-file-loader.c.
21789 (struct library): Forward declare.
21790 (load_shlib, lookup_function): Change prototypes.
21791 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21792 (translate_offset): Remove declarations.
21793 (get_text_addr): New declaration.
21794 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21795 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21796 sym-file-loader.h.
21797 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21798 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21799 here from sym-file-loader.h.
21800 (struct library): New structure.
21801 (load_shlib, lookup_function): Change prototypes and adjust to
21802 work with a struct library.
21803 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21804 (translate_offset): Make static.
21805 (get_text_addr): New function.
21806 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21807
eb4c1710
PA
218082014-04-15 Pedro Alves <palves@redhat.com>
21809
21810 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21811
2d1baf52
PA
218122014-04-15 Pedro Alves <palves@redhat.com>
21813
21814 * gdb.base/sym-file-loader.c: Include <limits.h>.
21815 (SELF_LINK): New define.
21816 (get_origin): New function.
21817 (load_shlib): Use it.
21818 * gdb.base/sym-file.exp: Don't early return if the target is
21819 remote. Use runto_main, and issue fail is that fails. Use
21820 gdb_load_shlibs.
21821 (shlib_name): Delete.
21822 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21823
7dd6df01
PA
218242014-04-15 Pedro Alves <palves@redhat.com>
21825
21826 * gdb.base/sym-file.exp: Remove regex characters from test
21827 message. Don't refer to breakpoint numbers in test messages.
21828
b50c8614
KS
218292014-04-14 Keith Seitz <keiths@redhat.com>
21830
21831 PR c++/16253
21832 * gdb.cp/var-tag.cc: New file.
21833 * gdb.cp/var-tag.exp: New file.
21834 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21835 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21836 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21837 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21838
3d567982
TT
218392014-04-14 Tom Tromey <tromey@redhat.com>
21840
21841 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21842 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21843 type.
21844 * gdb.cp/enum-class.exp: New file.
21845 * gdb.cp/enum-class.cc: New file.
21846
0626fc76
TT
218472014-04-14 Tom Tromey <tromey@redhat.com>
21848
21849 * gdb.dwarf2/enum-type.exp: New file.
21850
dca325b3
SA
218512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21852
21853 * gdb.mi/mi-vla-c99.exp: New file.
21854 * gdb.mi/vla.c: New file.
21855
5854b38a
SA
218562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21857
21858 * gdb.base/vla-datatypes.c: New file.
21859 * gdb.base/vla-datatypes.exp: New file.
21860
463bb957
SA
218612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21862
21863 * gdb.base/vla-ptr.c: New file.
21864 * gdb.base/vla-ptr.exp: New file.
21865
3dd170be
SA
218662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21867
21868 * gdb.dwarf2/count.exp: New file.
21869
5ecaaa66
SA
218702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21871
21872 * gdb.base/vla-sideeffect.c: New file.
21873 * gdb.base/vla-sideeffect.exp: New file.
21874
41f1ada5
DB
218752014-04-14 David Blaikie <dblaikie@gmail.com>
21876
21877 * gdb.mi/non-stop.c: Add return value for non-void function return
21878 statement.
21879 * gdb.threads/staticthreads.c: Ditto.
21880
0be03e84
DE
218812014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21882 Doug Evans <xdje42@gmail.com>
21883
21884 * gdb.guile/scm-value.c: Improve test case.
21885 * gdb.guile/scm-value.exp: Add new test.
21886
f180a1fb
DB
218872014-04-11 David Blaikie <dblaikie@gmail.com>
21888
21889 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21890 override Clang's default.
21891
6b662e19
JB
218922014-04-11 Joel Brobecker <brobecker@adacore.com>
21893
21894 Revert the following changes (regressions):
21895
21896 * gdb.base/vla-sideeffect.c: New file.
21897 * gdb.base/vla-sideeffect.exp: New file.
21898
21899 * gdb.dwarf2/count.exp: New file.
21900
21901 * gdb.base/vla-multi.c: New file.
21902 * gdb.base/vla-multi.exp: New file.
21903
21904 * gdb.base/vla-ptr.c: New file.
21905 * gdb.base/vla-ptr.exp: New file.
21906
21907 * gdb.base/vla-datatypes.c: New file.
21908 * gdb.base/vla-datatypes.exp: New file.
21909
21910 * gdb.mi/mi-vla-c99.exp: New file.
21911 * gdb.mi/vla.c: New file.
21912
245a5f0b
KS
219132014-04-11 Keith Seitz <keiths@redhat.com>
21914
21915 PR c++/16675
21916 * gdb.cp/cpsizeof.exp: New file.
21917 * gdb.cp/cpsizeof.cc: New file.
21918
58a84dcf
SA
219192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21920
191a8a90
JB
21921 * gdb.mi/mi-vla-c99.exp: New file.
21922 * gdb.mi/vla.c: New file.
58a84dcf 21923
c8655f75
SA
219242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21925
21926 * gdb.base/vla-datatypes.c: New file.
21927 * gdb.base/vla-datatypes.exp: New file.
21928
024e13b4
SA
219292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21930
21931 * gdb.base/vla-ptr.c: New file.
21932 * gdb.base/vla-ptr.exp: New file.
21933
1a237e0e
SA
219342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21935
21936 * gdb.base/vla-multi.c: New file.
21937 * gdb.base/vla-multi.exp: New file.
21938
504f3432
SA
219392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21940
21941 * gdb.dwarf2/count.exp: New file.
21942
3bce8237
SA
219432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21944
191a8a90
JB
21945 * gdb.base/vla-sideeffect.c: New file.
21946 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 21947
322f9c21
YQ
219482014-04-11 Yao Qi <yao@codesourcery.com>
21949
21950 * gdb.base/completion.exp: Check file exists before running tests
21951 on file completion.
21952
d708bcd1
PA
219532014-04-10 Pedro Alves <palves@redhat.com>
21954
21955 * gdb.base/cond-eval-mode.c: New file.
21956 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21957 prepare_for_testing to build the new file. Check result of
21958 runto_main.
21959 (test_break, test_watch): New procedures.
21960 (top level): Use them.
21961
ae1d2761
PM
219622014-04-08 Pierre Muller <muller@sourceware.org>
21963
21964 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21965 Ctrl-V use for mingw hosts.
21966
7af389b8
SC
219672014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21968
21969 * gdb.python/py-value.c: Improve test case.
21970 * gdb.python/py-value.exp: Add new test.
21971
5e703181
DE
219722014-04-07 David Blaikie <dblaikie@gmail.com>
21973
21974 * lib/compiler.c: Identify the clang compiler.
21975 * lib/compiler.cc: Ditto.
21976
9810b410
YQ
219772014-04-03 Yao Qi <yao@codesourcery.com>
21978
21979 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21980
98d1b8dc
AB
219812014-04-01 Anton Blanchard <anton@samba.org>
21982
21983 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21984 messages unique.
21985
3114cea1
AB
219862014-04-01 Anton Blanchard <anton@samba.org>
21987
21988 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21989 prepare_for_testing.
21990
62f7182c
AB
219912014-04-01 Anton Blanchard <anton@samba.org>
21992
21993 * gdb.arch/ppc64-atomic-inst.c: Remove.
21994 * gdb.arch/ppc64-atomic-inst.S: New file.
21995 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21996
770e7fc7
DE
219972014-03-31 Doug Evans <dje@google.com>
21998
21999 * gdb.base/print-symbol-loading-lib.c: New file.
22000 * gdb.base/print-symbol-loading-main.c: New file.
22001 * gdb.base/print-symbol-loading.exp: New file.
22002
46e2bafa
YQ
220032014-03-31 Yao Qi <yao@codesourcery.com>
22004
22005 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22006
8776cfe9
JB
220072014-03-28 Joel Brobecker <brobecker@adacore.com>
22008
22009 * gdb.ada/mi_dyn_arr: New testcase.
22010
5d1ef361
DE
220112014-03-27 Doug Evans <dje@google.com>
22012
22013 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22014
b5bee914
YQ
220152014-03-27 Yao Qi <yao@codesourcery.com>
22016
22017 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22018 if target is nios2-*-*.
22019
0d4d0e77
YQ
220202014-03-26 Yao Qi <yao@codesourcery.com>
22021
22022 * lib/gdb.exp (readline_is_used): New proc.
22023 * gdb.base/completion.exp: Move tests on command complete up.
22024 Skip the rest of tests if readline is not used.
22025 * gdb.ada/complete.exp: Skp the test if readline is not
22026 used.
22027 * gdb.base/filesym.exp: Likewise.
22028 * gdb.base/macscp.exp: Likewise.
22029 * gdb.base/readline-ask.exp: Likewise.
22030 * gdb.base/readline.exp: Likewise.
22031 * gdb.python/py-cmd.exp: Likewise.
22032 * gdb.trace/tfile.exp: Likewise.
22033
29361eee
YQ
220342014-03-26 Yao Qi <yao@codesourcery.com>
22035
22036 * gdb.base/macscp.exp: Fix code format issues.
22037
bc9a5525
UW
220382014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22039
22040 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22041 * gdb.asm/powerpc64le.inc: New file.
22042
d3839ede
PA
220432014-03-25 Pedro Alves <palves@redhat.com>
22044 Doug Evans <dje@google.com>
22045
22046 * gdb.base/source-execution.c: New file.
22047 * gdb.base/source-execution.exp: New file.
22048 * gdb.base/source-execution.gdb: New file.
22049
01672a57
DE
220502014-03-24 Doug Evans <dje@google.com>
22051
22052 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22053 using fission.
22054
88bbeca9
HZ
220552014-03-24 Hui Zhu <hui@codesourcery.com>
22056 Pedro Alves <palves@redhat.com>
22057
22058 PR breakpoints/16101
22059 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22060 test pass/fail messages. Detect missing support for dprintf when
22061 breakpoints are actually inserted.
22062 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22063 breakpoints are actually inserted.
22064 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22065 fails.
22066
d2348791
JK
220672014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22068
22069 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22070
feef67ab
DE
220712014-03-22 Doug Evans <xdje42@gmail.com>
22072
22073 * gdb.python/python.exp (python not supported): Verify multi-line
22074 python command issues an error.
25d743f9 22075 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22076 guile command issues an error.
feef67ab 22077
ecebef6a
MR
220782014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22079
22080 * gdb.threads/thread-specific.exp: Handle the lack of usable
22081 $this_breakpoint and $this_thread.
22082
ccdd1909
HZ
220832014-03-21 Hui Zhu <hui@codesourcery.com>
22084
22085 * gdb.base/attach.exp (do_command_attach_tests): New.
22086
beb460e8
PA
220872014-03-20 Tom Tromey <tromey@redhat.com>
22088 Pedro Alves <palves@redhat.com>
22089
22090 PR cli/15718
22091 * gdb.base/condbreak-call-false.c: New file.
22092 * gdb.base/condbreak-call-false.exp: New file.
22093
40acf43a
PA
220942014-03-20 Pedro Alves <palves@redhat.com>
22095
22096 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22097 Delete.
22098 (block_signals, unblock_signals): Delete.
22099 (child_function_2, main): Remove references to deleted variable
22100 and functions.
22101
9f5e1e02
PA
221022014-03-20 Pedro Alves <palves@redhat.com>
22103
22104 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22105 Use pthread_kill to signal thread 2.
22106 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22107 Adjust to make the test send itself a signal rather than using the
22108 host's "kill" command.
22109
99619bea
PA
221102014-03-20 Pedro Alves <palves@redhat.com>
22111
22112 * gdb.threads/multiple-step-overs.c: New file.
22113 * gdb.threads/multiple-step-overs.exp: New file.
22114 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22115 Adjust expected infrun debug output.
22116
2adfaa28
PA
221172014-03-20 Pedro Alves <palves@redhat.com>
22118
22119 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22120 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22121
31e77af2
PA
221222014-03-20 Pedro Alves <palves@redhat.com>
22123
22124 PR breakpoints/7143
22125 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22126 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22127 of gdb_test_multiple.
22128 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22129 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22130
b9f437de
PA
221312014-03-20 Pedro Alves <palves@redhat.com>
22132
22133 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22134 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22135
05adc73e
PA
221362014-03-19 Pedro Alves <palves@redhat.com>
22137
22138 * gdb.base/async.exp: Remove early return.
22139
6048b950
PA
221402014-03-19 Pedro Alves <palves@redhat.com>
22141
22142 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22143
8bcfb00a
PA
221442014-03-19 Pedro Alves <palves@redhat.com>
22145
22146 * gdb.base/async.exp (test_background): Expect \r\n after
22147 "completed." in the fail pattern.
22148
884e37dc
PA
221492014-03-19 Pedro Alves <palves@redhat.com>
22150
22151 * gdb.base/async.exp (test_background): New procedure.
22152 Use it for all background execution command tests.
22153
148e57e2
PA
221542014-03-19 Pedro Alves <palves@redhat.com>
22155
22156 * gdb.base/async.exp: Use prepare_for_testing.
22157
f48088c7
PA
221582014-03-19 Pedro Alves <palves@redhat.com>
22159
22160 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22161 the same line.
22162
e2f6c966
PA
221632014-03-19 Pedro Alves <palves@redhat.com>
22164
22165 * gdb.base/async.c (main): Add "jump here" and "until here" line
22166 marker comments.
22167 * gdb.base/async.exp (jump_here): New global.
22168 (jump& test): Use it.
22169 (until_here): New global.
22170 (until& test): Use it.
22171
c30568d4
PA
221722014-03-19 Pedro Alves <palves@redhat.com>
22173
22174 * gdb.base/async.exp: Don't frob gdb_protocol.
22175
0172b6a7
DE
221762014-03-18 Doug Evans <xdje42@gmail.com>
22177
22178 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22179 Fix spelling of exec-done-display.
22180
06c868a8
JK
221812014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22182
22183 PR gdb/15358
22184 * gdb.base/gdb-sigterm.c: New file.
22185 * gdb.base/gdb-sigterm.exp: New file.
22186
0c7e1a46
PA
221872014-03-18 Pedro Alves <palves@redhat.com>
22188
22189 PR gdb/13860
22190 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22191 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22192 solib-event.
22193
f7c77d93
JB
221942014-03-17 Joel Brobecker <brobecker@adacore.com>
22195
22196 * gdb.ada/pckd_arr_ren: New testcase.
22197
5a1e8c7a
DE
221982014-03-13 Doug Evans <xdje42@gmail.com>
22199
22200 PR guile/16612
22201 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22202 collect after discarding symbols.
22203
350e1a76
DE
222042014-03-13 Ludovic Courtès <ludo@gnu.org>
22205 Doug Evans <xdje42@gmail.com>
22206
22207 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22208 to history survives a gc.
22209
a69900ae
PA
222102014-03-13 Pedro Alves <palves@redhat.com>
22211
22212 * gdb.base/default.exp: Don't test "target procfs".
22213
5db9f0bd
PA
222142014-03-13 Pedro Alves <palves@redhat.com>
22215
22216 * gdb.base/default.exp: Update "target child" and "target procfs"
22217 tests to not expect "Unix".
22218
b3ccfe11
TT
222192014-03-12 Tom Tromey <tromey@redhat.com>
22220
22221 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22222 New procs. Add target-async tests.
22223 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22224 Add target-async tests.
22225
646f4417
AA
222262014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22227
22228 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22229 'func_start' and 'func_end' for the beginning and end of the
22230 function code, respectively.
22231 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22232 'func_end' instead of 'func' and 'main'.
22233
288c211f
AA
222342014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22235
22236 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22237 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22238 generate the debug info assembler source.
22239
e0c0f156
AA
222402014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22241
22242 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22243 * gdb.dwarf2/arr-subrange.exp: Likewise.
22244 * gdb.dwarf2/dwz.exp: Likewise.
22245 * gdb.dwarf2/method-ptr.exp: Likewise.
22246 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22247 * gdb.dwarf2/subrange.exp: Likewise.
22248 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22249 * gdb.dwarf2/implptrpiece.exp: Likewise.
22250 * gdb.dwarf2/nostaticblock.exp: Likewise.
22251
0e5c4555
AA
222522014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22253
22254 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22255 directory to absolute path name arguments.
22256
5ec18f2b
JG
222572014-03-10 Joel Brobecker <brobecker@adacore.com>
22258
22259 * gdb.ada/tagged_access: New testcase.
22260
847fc4f2
MM
222612014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22262
22263 * gdb.btrace/data.exp: Update expected output.
22264
cc3da688
YQ
222652014-03-06 Yao Qi <yao@codesourcery.com>
22266
22267 * gdb.trace/pr16508.exp: New file.
22268
0f26cec1
PA
222692014-03-05 Pedro Alves <palves@redhat.com>
22270
22271 PR gdb/16575
22272 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22273 procedure.
22274 (top level): Adjust to use it. Add tests that exercise breakpoint
22275 interaction with the code-cache.
22276
7a5a839f
LC
222772014-02-26 Ludovic Courtès <ludo@gnu.org>
22278
22279 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22280 test for 'history-append!'.
22281
31aa7e4e
JB
222822014-02-26 Joel Brobecker <brobecker@adacore.com>
22283
22284 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22285 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22286 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22287 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22288 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22289 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22290
1b588015
JB
222912014-02-26 Joel Brobecker <brobecker@adacore.com>
22292
22293 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22294 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22295 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22296
55426c9d
JB
222972014-02-26 Joel Brobecker <brobecker@adacore.com>
22298
22299 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22300
dc53a7ad
JB
223012014-02-26 Joel Brobecker <brobecker@adacore.com>
22302
22303 * gdb.dwarf2/arr-stride.c: New file.
22304 * gdb.dwarf2/arr-stride.exp: New file.
22305
12ab52e9
PA
223062014-02-26 Pedro Alves <palves@redhat.com>
22307
22308 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22309 that won't ever trigger. Make sure that GDB reports the correct
22310 breakpoint that caused the stop.
22311
849c862e
JK
223122014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22313
22314 PR gdb/16626
22315 * gdb.base/auto-load-script: New file.
22316 * gdb.base/auto-load.c: New file.
22317 * gdb.base/auto-load.exp: New file.
22318
71b7d793
JK
22319 PR gdb/16626
22320 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22321
e2f0d509
JK
223222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22323
22324 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22325 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22326
50cc37c8
DE
223272014-02-24 Doug Evans <dje@google.com>
22328
22329 * lib/gdb.exp (run_on_host): Log error output if program fails.
22330
ea4758f2
PA
223312014-02-21 Pedro Alves <palves@redhat.com>
22332
22333 * gdb.threads/step-after-sr-lock.c: Rename to ...
22334 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22335 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22336 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22337 ... this.
22338
d7b30f67
SDJ
223392014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22340
22341 PR tdep/16397
22342 * gdb.arch/amd64-stap-special-operands.exp: New file.
22343 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22344 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22345 * gdb.arch/amd64-stap-triplet.S: Likewise.
22346 * gdb.arch/amd64-stap-triplet.c: Likewise.
22347
83deb43f
JB
223482014-02-20 Joel Brobecker <brobecker@adacore.com>
22349
22350 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22351 in .section pseudo-op.
22352
adde2bff
DE
223532014-02-20 lin zuojian <manjian2006@gmail.com>
22354 Joel Brobecker <brobecker@adacore.com>
22355 Doug Evans <xdje42@gmail.com>
22356
22357 PR symtab/16581
22358 * gdb.dwarf2/dw2-icycle.S: New file.
22359 * gdb.dwarf2/dw2-icycle.c: New file.
22360 * gdb.dwarf2/dw2-icycle.exp: New file.
22361
f7bd0f78
SC
223622014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22363
22364 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22365 operations on gdb.Value objects.
22366 * gdb.python/py-value-cc.exp: Add new test to test operations on
22367 gdb.Value objects.
22368
c17ef0d5
DE
223692014-02-18 Doug Evans <dje@google.com>
22370
22371 * Makefile.in (TESTS): New variable.
22372 (expanded_tests, expanded_tests_or_none): New variables
22373 (check-single): Pass $(expanded_tests_or_none) to runtest.
22374 (check-parallel): Only run tests in $(TESTS) if non-empty.
22375 (check/no-matching-tests-found): New rule.
22376 * README: Document TESTS makefile variable.
22377
5dd3176f
DE
223782014-02-18 Doug Evans <dje@google.com>
22379
22380 * Makefile.in (check-parallel): rm -rf outputs temp.
22381
0b10be4f
JK
223822014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22383
22384 Fix "ERROR: no fileid for" in the testsuite.
22385 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22386
85f224e7
DE
223872014-02-12 Doug Evans <dje@google.com>
22388
22389 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22390 (MISCELLANEOUS): New variable.
22391 (clean): rm -rf $(MISCELLANEOUS).
22392 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22393 dwp live in the same directory as symlinks, with each symlink pointed
22394 to a differently named file in a different directory.
22395
149b30ff
DE
223962014-02-11 Doug Evans <dje@google.com>
22397
22398 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22399 of Tcl file commands.
22400
1dfdac32
MK
224012014-02-10 Mark Kettenis <kettenis@gnu.org>
22402
22403 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22404 "kill -SIGUSR1 -1".
22405
aa4fb036
JB
224062014-02-10 Joel Brobecker <brobecker@adacore.com>
22407
22408 * gdb.ada/tick_length_array_enum_idx: New testcase.
22409
ed3ef339
DE
224102014-02-10 Doug Evans <xdje42@gmail.com>
22411
22412 * configure.ac (AC_OUTPUT): Add gdb.guile.
22413 * configure: Regenerate.
22414 * lib/gdb-guile.exp: New file.
22415 * lib/gdb.exp (get_target_charset): New function.
22416 * gdb.base/help.exp: Update expected output from "apropos apropos".
22417 * gdb.guile/Makefile.in: New file.
22418 * gdb.guile/guile.exp: New file.
22419 * gdb.guile/scm-arch.c: New file.
22420 * gdb.guile/scm-arch.exp: New file.
22421 * gdb.guile/scm-block.c: New file.
22422 * gdb.guile/scm-block.exp: New file.
22423 * gdb.guile/scm-breakpoint.c: New file.
22424 * gdb.guile/scm-breakpoint.exp: New file.
22425 * gdb.guile/scm-disasm.c: New file.
22426 * gdb.guile/scm-disasm.exp: New file.
22427 * gdb.guile/scm-equal.c: New file.
22428 * gdb.guile/scm-equal.exp: New file.
22429 * gdb.guile/scm-error.exp: New file.
22430 * gdb.guile/scm-error.scm: New file.
22431 * gdb.guile/scm-frame-args.c: New file.
22432 * gdb.guile/scm-frame-args.exp: New file.
22433 * gdb.guile/scm-frame-args.scm: New file.
22434 * gdb.guile/scm-frame-inline.c: New file.
22435 * gdb.guile/scm-frame-inline.exp: New file.
22436 * gdb.guile/scm-frame.c: New file.
22437 * gdb.guile/scm-frame.exp: New file.
22438 * gdb.guile/scm-generics.exp: New file.
22439 * gdb.guile/scm-gsmob.exp: New file.
22440 * gdb.guile/scm-iterator.c: New file.
22441 * gdb.guile/scm-iterator.exp: New file.
22442 * gdb.guile/scm-math.c: New file.
22443 * gdb.guile/scm-math.exp: New file.
22444 * gdb.guile/scm-objfile-script-gdb.in: New file.
22445 * gdb.guile/scm-objfile-script.c: New file.
22446 * gdb.guile/scm-objfile-script.exp: New file.
22447 * gdb.guile/scm-objfile.c: New file.
22448 * gdb.guile/scm-objfile.exp: New file.
22449 * gdb.guile/scm-ports.exp: New file.
22450 * gdb.guile/scm-pretty-print.c: New file.
22451 * gdb.guile/scm-pretty-print.exp: New file.
22452 * gdb.guile/scm-pretty-print.scm: New file.
22453 * gdb.guile/scm-section-script.c: New file.
22454 * gdb.guile/scm-section-script.exp: New file.
22455 * gdb.guile/scm-section-script.scm: New file.
22456 * gdb.guile/scm-symbol.c: New file.
22457 * gdb.guile/scm-symbol.exp: New file.
22458 * gdb.guile/scm-symtab-2.c: New file.
22459 * gdb.guile/scm-symtab.c: New file.
22460 * gdb.guile/scm-symtab.exp: New file.
22461 * gdb.guile/scm-type.c: New file.
22462 * gdb.guile/scm-type.exp: New file.
22463 * gdb.guile/scm-value-cc.cc: New file.
22464 * gdb.guile/scm-value-cc.exp: New file.
22465 * gdb.guile/scm-value.c: New file.
22466 * gdb.guile/scm-value.exp: New file.
22467 * gdb.guile/source2.scm: New file.
22468 * gdb.guile/types-module.cc: New file.
22469 * gdb.guile/types-module.exp: New file.
22470
7026a7c1
YQ
224712014-02-10 Yao Qi <yao@codesourcery.com>
22472
22473 PR testsuite/16543
22474 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22475 * configure: Regenerated.
22476 * Makefile.in: New file.
22477
6c466447
AS
224782014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22479
22480 * gdb.python/py-framefilter.exp: Fix typo.
22481
6e854735
YQ
224822014-02-08 Yao Qi <yao@codesourcery.com>
22483
22484 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22485 that no =breakpoint-modified is emitted when breakpoints are
22486 modified through MI commands.
22487
d137e6dc
PA
224882014-02-07 Pedro Alves <pedro@codesourcery.com>
22489 Pedro Alves <palves@redhat.com>
22490
22491 * gdb.threads/step-after-sr-lock.c: New file.
22492 * gdb.threads/step-after-sr-lock.exp: New file.
22493
b5ee5a50
PA
224942014-02-07 Pedro Alves <palves@redhat.com>
22495
22496 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22497
3c77faf3
JK
224982014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22499
22500 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22501 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22502
6dddc817
DE
225032014-02-06 Doug Evans <xdje42@gmail.com>
22504
22505 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22506 output.
22507
22508 * gdb.gdb/python-interrupts.exp: New file.
22509
de7b2893
YQ
225102014-02-05 Yao Qi <yao@codesourcery.com>
22511
22512 * gdb.trace/report.exp (use_collected_data): Test the output
22513 of "info threads" and "info inferiors".
22514
66d032ac
YQ
225152014-02-05 Yao Qi <yao@codesourcery.com>
22516
22517 Revert this patch:
22518
22519 2013-05-24 Yao Qi <yao@codesourcery.com>
22520
22521 * gdb.trace/tfile.exp: Test inferior and thread.
22522
591a12a1
UW
225232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22524
22525 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22526 on a function.
22527 * gdb.base/step-bt.c: Call hello via function pointer to make
22528 sure its first instruction is executed on powerpc64le-linux.
22529
0ff3e01f
UW
225302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22531
22532 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22533
084ee545
UW
225342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22535
22536 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22537 of the test patterns for use on little-endian systems.
22538
6ed14ff3
UW
225392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22540
22541 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22542 (decimal_vector): Fix for little-endian.
22543
401e27fd
JM
225442014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22545
22546 * gdb.arch/sparc-sysstep.exp: New file.
22547 * gdb.arch/sparc-sysstep.c: Likewise.
22548
22549 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22550
8b924729
EBM
225512014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22552
22553 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22554
fb151210
JB
225552014-01-23 Tom Tromey <tromey@redhat.com>
22556
22557 * gdb.ada/array_char_idx: New testcase.
22558
0740f8d8
TT
225592014-01-23 Tom Tromey <tromey@redhat.com>
22560
22561 PR python/16487:
22562 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22563 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22564 classes.
22565
21909fa1
TT
225662014-01-23 Tom Tromey <tromey@redhat.com>
22567
22568 PR python/16491:
22569 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22570 string from an inferior frame.
22571 * gdb.python/py-framefilter-mi.exp: Update.
22572
87ce2a04
DE
225732014-01-22 Doug Evans <dje@google.com>
22574
22575 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22576
237b092b
AA
225772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22578
22579 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22580
d674a709
AA
225812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22582
22583 * gdb.trace/entry-values.exp: Remove excess space character from
22584 regex patterns. Handle s390 call instruction.
22585
20fa3390
AA
225862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22587
22588 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22589 define "*_start" label. Make "name" static.
22590 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22591 ${name} by references to ${name}_start.
22592
78466714
AA
225932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22594
22595 * gdb.base/info-macros.exp: Remove "debug" from the compile
22596 options.
22597
ec9f644a
IB
225982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22599
22600 * gdb.dlang/demangle.exp: New file.
22601
94b1b47e
IB
226022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22603
22604 * gdb.dlang/primitive-types.exp: New file.
22605
7f420862
IB
226062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22607
22608 * configure.ac: Create gdb.dlang/Makefile.
22609 * configure: Regenerate.
22610 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22611 * gdb.dlang/Makefile.in: New file.
22612 * lib/d-support.exp: New file.
22613 * lib/gdb.exp (skip_d_tests): New proc.
22614
52834460
MM
226152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22616
22617 * gdb.btrace/delta.exp: Check reverse stepi.
22618 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22619 * gdb.btrace/finish.exp: New.
22620 * gdb.btrace/next.exp: New.
22621 * gdb.btrace/nexti.exp: New.
22622 * gdb.btrace/record_goto.c: Add comments.
22623 * gdb.btrace/step.exp: New.
22624 * gdb.btrace/stepi.exp: New.
22625 * gdb.btrace/multi-thread-step.c: New.
22626 * gdb.btrace/multi-thread-step.exp: New.
22627 * gdb.btrace/rn-dl-bind.c: New.
22628 * gdb.btrace/rn-dl-bind.exp: New.
22629 * gdb.btrace/data.c: New.
22630 * gdb.btrace/data.exp: New.
22631 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22632
6e07b1d2
MM
226332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22634
22635 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22636 * gdb.btrace/exception.exp: Update.
22637 * gdb.btrace/instruction_history.exp: Update.
22638 * gdb.btrace/record_goto.exp: Update.
22639 * gdb.btrace/tailcall.exp: Update.
22640 * gdb.btrace/unknown_functions.exp: Update.
22641 * gdb.btrace/delta.exp: New.
22642
0b722aec
MM
226432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22644
22645 * gdb.btrace/record_goto.exp: Add backtrace test.
22646 * gdb.btrace/tailcall.exp: Add backtrace test.
22647
066ce621
MM
226482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22649
22650 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22651 * gdb.btrace/record_goto.c: New.
22652 * gdb.btrace/record_goto.exp: New.
22653 * gdb.btrace/x86-record_goto.S: New.
22654
0688d04e
MM
226552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22656
22657 * gdb.btrace/function_call_history.exp: Update tests.
22658 * gdb.btrace/instruction_history.exp: Update tests.
22659
8710b709
MM
226602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22661
22662 * gdb.btrace/function_call_history.exp: Fix expected field
22663 order for "record function-call-history".
22664 Add new tests for "record function-call-history /c".
22665 * gdb.btrace/exception.cc: New.
22666 * gdb.btrace/exception.exp: New.
22667 * gdb.btrace/tailcall.exp: New.
22668 * gdb.btrace/x86-tailcall.S: New.
22669 * gdb.btrace/x86-tailcall.c: New.
22670 * gdb.btrace/unknown_functions.c: New.
22671 * gdb.btrace/unknown_functions.exp: New.
22672 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22673
5de9129b
MM
226742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22675
22676 * gdb.btrace/instruction_history.exp: Update.
22677 * gdb.btrace/function_call_history.exp: Update.
22678
23a7fe75
MM
226792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22680
22681 * gdb.btrace/function_call_history.exp: Fix expected function
22682 trace.
22683 * gdb.btrace/instruction_history.exp: Initialize traced.
22684 Remove traced_functions.
22685
724c7dd8
MM
226862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22687
22688 * gdb.btrace/function_call_history.exp: Update
22689 * gdb.btrace/instruction_history.exp: Update.
22690
6d78d93b
MM
226912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22692
22693 * gdb.btrace/enable.exp: Update expected text.
22694
93a360cc
OJ
226952014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22696
22697 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22698 bytes.
22699
3772b53f
MR
227002014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22701
22702 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22703
596662fa
OJ
227042014-01-15 Omair Javaid <omair.javaid@linaro.org>
22705
22706 * lib/gdb.exp (supports_process_record): Return true for
22707 arm*-linux*. (supports_reverse): Likewise.
22708
b5b08fb4
SC
227092014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22710
22711 PR python/15464
22712 PR python/16113
22713 * gdb.python/py-type.c: Enhance test case.
22714 * gdb.python/py-value-cc.cc: Likewise
22715 * gdb.python/py-type.exp: Add new tests.
22716 * gdb.python/py-value-cc.exp: Likewise
22717
52d7fb13
AA
227182014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22719 Pedro Alves <palves@redhat.com>
22720
22721 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22722 Make "name" extern.
22723 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22724 references to ${name}_start by references to ${name}.
22725
a2cd8cfe
JB
227262014-01-10 Joel Brobecker <brobecker@adacore.com>
22727
22728 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22729
4e23fced
JB
227302014-01-10 Joel Brobecker <brobecker@adacore.com>
22731
22732 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22733
c6a9e42c
PA
227342014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22735 Pedro Alves <palves@redhat.com>
22736
22737 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 22738 mi_gdb_target_load.
c6a9e42c 22739
b7ea362b
PA
227402014-01-08 Pedro Alves <palves@redhat.com>
22741
22742 * gdb.threads/reconnect-signal.c: New file.
22743 * gdb.threads/reconnect-signal.exp: New file.
22744
5e3f4fab
EBM
227452014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22746
22747 * gdb.base/source-dir.exp: New file.
22748
79301218
JB
227492014-01-07 Joel Brobecker <brobecker@adacore.com>
22750
22751 * gdb.ada/mi_interface: New testcase.
22752
8e355c5d
JB
227532014-01-07 Joel Brobecker <brobecker@adacore.com>
22754
22755 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22756 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22757 gdb.ada/pp-rec-component/pck.ads: New files.
22758
c0d48811
JB
227592014-01-07 Joel Brobecker <brobecker@adacore.com>
22760
22761 * gdb.python/py-pp-integral.c: New file.
22762 * gdb.python/py-pp-integral.py: New file.
22763 * gdb.python/py-pp-integral.exp: New file.
22764
17b609c3 22765For older changes see ChangeLog-1993-2013.
c906108c 22766\f
8d8cb839
EZ
22767;; Local Variables:
22768;; mode: change-log
22769;; left-margin: 8
22770;; fill-column: 74
22771;; version-control: never
22772;; End:
902f2ccb 22773
b811d2c2 22774 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
22775 Copying and distribution of this file, with or without modification,
22776 are permitted provided the copyright notice and this notice are preserved.