]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
x86-64: don't accept supposedly disabled MOVQ forms
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
323fd5b9
PA
12021-03-25 Pedro Alves <pedro@palves.net>
2
3 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
4 "target_non_stop" parameter and use it.
5 (top level): Add "maint set target-non-stop on/off" testing axis.
6
ba3c61fc
AB
72021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
8
9 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
10 gdb_test_multiple.
11
bf0aecce
LM
122021-03-24 Luis Machado <luis.machado@linaro.org>
13
14 * gdb.arch/aarch64-mte.c: New file.
15 * gdb.arch/aarch64-mte.exp: New test.
16 * gdb.base/memtag.c: New file.
17 * gdb.base/memtag.exp: New test.
18 * lib/gdb.exp (supports_memtag): New function.
19
bef382e6
LM
202021-03-24 Luis Machado <luis.machado@linaro.org>
21
22 * gdb.base/options.exp: Adjust for new print options.
23 * gdb.base/with.exp: Likewise.
24
702cf3f5
AB
252021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
26
27 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
28 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
29
1e7fcccb
AB
302021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
31
32 * gdb.dwarf2/dw2-using-debug-str.c: New file.
33 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
34 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
35 not .debug_string.
36
4829711b
TT
372021-03-20 Tom Tromey <tom@tromey.com>
38
39 * gdb.base/maint.exp: Update "maint print statistics" output.
40
e0d6d274
KB
412021-03-19 Kevin Buettner <kevinb@redhat.com>
42
43 * lib/gdbserver-support.exp (gdbserver_exit): Use the
44 "-nowait" flag when waiting for gdbserver to exit.
45
a088215a
SST
462021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
47
48 * gdb.base/info-macros.exp: Append -fdebug-macro to
49 additional_flags for clang.
50 * gdb.base/macscp.exp: Likewise.
51 * gdb.base/style.exp: Likewise.
52 * gdb.linespec/macro-relative.exp: Likewise.
53
d0c99a23
SM
542021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
55 Pedro Alves <pedro@palves.net>
56
57 * gdb.base/run-attach-while-running.exp: New.
58 * gdb.base/run-attach-while-running.c: New.
59
7807d76a
AB
602021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
61
62 * gdb.python/py-framefilter-addr.c: New file.
63 * gdb.python/py-framefilter-addr.exp: New file.
64 * gdb.python/py-framefilter-addr.py: New file.
65
f302f9e2
AB
662021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
69 Make use of $gdb_test_name instead of creating a separate $test
70 variable.
71 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
72 adding a '($name)' at the end of each test. This also catches the
73 one place where '($name)' was missing, and so caused a duplicate
74 test name.
75 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
76 duplicate test names based on the command being tested.
77 * gdb.threads/signal-command-multiple-signals-pending.exp:
78 Likewise.
79 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
80 avoid duplicate testnames when a test script uses this proc and
81 also gdb_compile_pthreads.
82 * lib/prelink-support.exp (build_executable_own_libs): Use
83 with_test_prefix to avoid duplicate test names when we call
84 build_executable twice.
85
6813ceb0
TT
862021-03-15 Tom Tromey <tromey@adacore.com>
87
88 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
89
3b5c4de0
TT
902021-03-15 Tom Tromey <tromey@adacore.com>
91
92 * gdb.ada/varsize_limit.exp: Add new test.
93 * gdb.ada/varsize_limit/vsizelim.adb: Update.
94
c04da66c
TT
952021-03-15 Tom Tromey <tromey@adacore.com>
96
97 * gdb.ada/operator_call/twovecs.ads: New file.
98 * gdb.ada/operator_call/twovecs.adb: New file.
99 * gdb.ada/operator_call/opcall.adb: New file.
100 * gdb.ada/operator_call.exp: New file.
101
1ac74522
TT
1022021-03-15 Tom Tromey <tromey@adacore.com>
103
104 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
105 * gdb.ada/enums_overload/enums_overload.ads: New file.
106 * gdb.ada/enums_overload/enums_overload.adb: New file.
107 * gdb.ada/enums_overload.exp: New file.
108
207582c0
TT
1092021-03-15 Tom Tromey <tromey@adacore.com>
110
111 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
112 Declare.
113 * gdb.ada/assign_arr/target_wrapper.adb: New file.
114 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
115 Call Put.
116 * gdb.ada/assign_arr.exp: Update.
117
ba6a0ef3
AB
1182021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
119
120 * gdb.python/py-auto-load-chaining-f1.c: New file.
121 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
122 * gdb.python/py-auto-load-chaining-f2.c: New file.
123 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
124 * gdb.python/py-auto-load-chaining.c: New file.
125 * gdb.python/py-auto-load-chaining.exp: New file.
126
7f99d636
AB
1272021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
128
129 * gdb.python/py-bad-printers.exp: Extend test names to make them
130 unique.
131 * gdb.python/py-events.exp: Likewise.
132 * gdb.python/py-finish-breakpoint2.exp: Likewise.
133 * gdb.python/py-frame-inline.exp: Likewise.
134 * gdb.python/py-frame.exp: Likewise.
135 * gdb.python/py-infthread.exp: Likewise.
136
323b848c
AB
1372021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
138
139 * gdb.python/py-value-cc.exp: Remove a duplicate test.
140
8a4efb36
AB
1412021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
142
143 * gdb.python/lib-types.exp: Update the test to check the correct
144 python variable.
145
66bb1dd9
AB
1462021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
147
148 * gdb.python/py-explore-cc.exp: Extend test names to make them
149 unique.
150
0125fabc
AB
1512021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
152
153 * gdb.python/py-lookup-type.exp: Remove duplicate test.
154
79d04157
AB
1552021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
156
157 * gdb.python/py-symtab.exp: Extend test names to make them
158 unique.
159
e3e48d8f
AB
1602021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
161
162 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
163 names unique.
164
2cb60e74
AB
1652021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
166
167 * gdb.python/py-block.exp: Give tests unique names.
168
8b12ded4
AB
1692021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
170
171 * gdb.python/py-pp-maint.exp: Extend test names to make them
172 unique.
173
93598ea4
AB
1742021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * gdb.python/py-explore.exp: Add with_test_prefix to make test
177 names unique.
178
f35d6971
AB
1792021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
180
181 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
182
22d3e7f6
AB
1832021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
184
185 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
186 names unique.
187
5fc5a1b8
AB
1882021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
189
190 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
191 test names unique.
192
e3141a4d
AB
1932021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
194
195 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
196 unique.
197
ccdc02ed
TT
1982021-03-09 Tom Tromey <tromey@adacore.com>
199
200 * gdb.base/cast-call.exp: New file.
201 * gdb.base/cast-call.c: New file.
202
fbb1aace
AB
2032021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
204
205 * gdb.gdb/python-helper.exp: New file.
206
611aa09d
FW
2072020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
208
209 * gdb.fortran/intrinsics.exp: Add LOC tests.
210
eef32f59
AB
2112021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
212
213 * gdb.fortran/shape.exp: New file.
214 * gdb.fortran/shape.f90: New file.
215
7ba155b3
AB
2162021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
217
218 * gdb.fortran/size.exp: New file.
219 * gdb.fortran/size.f90: New file.
220
e14816a8
AB
2212021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
222
223 * gdb.fortran/rank.exp: New file.
224 * gdb.fortran/rank.f90: New file.
225
d308ba78
TT
2262021-03-08 Tom Tromey <tom@tromey.com>
227
228 * gdb.fortran/debug-expr.exp: Update tests.
229
d182f279
TT
2302021-03-08 Tom Tromey <tom@tromey.com>
231
232 * gdb.base/debug-expr.exp: Update expected dump output.
233
a7308ce0
TT
2342021-03-06 Tom Tromey <tom@tromey.com>
235
236 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
237 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
238 * gdb.dwarf2/dwznolink.exp: New file.
239
b0a8c2ff
MW
2402021-03-05 Mark Wielaard <mark@klomp.org>
241
242 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
243
844be3f2
WP
2442021-03-06 Weimin Pan <weimin.pan@oracle.com>
245
246 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
247
82333781
MM
2482021-03-03 Markus Metzger <markus.t.metzger@intel.com>
249
250 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
251
32c52999
MM
2522021-03-03 Markus Metzger <markus.t.metzger@intel.com>
253
254 * gdb.btrace/non-stop.exp: Adjust expected source lines.
255
26ed1478
MM
2562021-03-03 Markus Metzger <markus.t.metzger@intel.com>
257
258 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
259
d2c5f24e
MM
2602021-03-03 Markus Metzger <markus.t.metzger@intel.com>
261
262 * gdb.btrace/exception.cc (main): Update test source.
263 * gdb.btrace/exception.exp: Update patterns.
264 * gdb.btrace/function_call_history.exp: Likewise.
265
c7c7253a
MM
2662021-03-03 Markus Metzger <markus.t.metzger@intel.com>
267
268 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
269
f0778fc1
MM
2702021-03-03 Markus Metzger <markus.t.metzger@intel.com>
271
272 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
273 reverse-continue to breakpoint.
274
e71dbd03
MM
2752021-03-03 Markus Metzger <markus.t.metzger@intel.com>
276
277 * gdb.btrace/delta.exp: Remove instruction-history and
278 function-call-history checks.
279
b93a3ed0
MM
2802021-03-03 Markus Metzger <markus.t.metzger@intel.com>
281
282 * README (Note): Add nopie_ldflag.
283 * lib/gdb.exp (gdb_compile): Extend nopie handling.
284
bbcdf9ab
TT
2852021-03-02 Tom Tromey <tromey@adacore.com>
286
287 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
288 encodings.
289
bb3a4efe
LS
2902021-02-27 Lancelot Six <lsix@lancelotix.com>
291
292 PR gdb/27393
293 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
294
295
573dc0cc
TT
2962021-02-26 Tom Tromey <tom@tromey.com>
297
298 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
299
f8218786
JV
3002021-02-26 Jan Vrany <jan.vrany@labware.com>
301
302 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
303 Remove trailing \n from expected output.
304
cb51b708
MM
3052021-02-26 Markus Metzger <markus.t.metzger@intel.com>
306
307 * lib/gdb.exp (use_gdb_stub): Extend comment.
308
64d38fdd
JM
3092021-02-25 Jan Matyas <jmatyas@codasip.com>
310
311 PR gdb/26819
312 * gdb.server/stop-reply-no-thread.exp: Add two test
313 scenarios that cover remote targets which do not have
314 the concept of threads.
315
d4ff3cbf
AB
3162021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
317
318 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
319
68337b8b
AB
3202021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
321
322 PR fortran/26155
323 * gdb.fortran/call-no-debug-func.f90: New file.
324 * gdb.fortran/call-no-debug-prog.f90: New file.
325 * gdb.fortran/call-no-debug.exp: New file.
326
faeb9f13
AB
3272021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
328
329 * gdb.fortran/associated.exp: New file.
330 * gdb.fortran/associated.f90: New file.
331
170f4b23
AB
3322021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
333
334 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
335
dd80d750
AB
3362021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
337
338 * gdb.base/sect-cmd.exp: Update expected results.
339
b91919ac
AB
3402021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
341
342 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
343 techniques. Enable the test for all targets.
344
02a79309
AB
3452021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 * gdb.base/maint-info-sections.exp: Add new tests.
348 (check_maint_info_target_sections_output): New proc.
349
895b7b4e
AB
3502021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
351
352 * gdb.arch/riscv-default-tdesc.exp: New file.
353
bc3c0632
AB
3542021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
355
356 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
357
acde2092
AB
3582021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
359
360 * gdb.arch/i386-biarch-core.exp: Add target check.
361
7d2e5095
AKS
3622021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
363
364 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
365
96df3e28
AB
3662021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
367
368 * gdb.fortran/allocated.exp: New file.
369 * gdb.fortran/allocated.f90: New file.
370
a1670b72
AB
3712021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
372
373 * gdb.fortran/lbound-ubound.exp: Remove old comment.
374
bf3386f0
AB
3752021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.base/maint-info-sections.exp: Update expected output, and
378 add additional tests. Again.
379
4790db14
AB
3802021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * gdb.base/maint-info-sections.exp: Update expected output, and
383 add additional tests.
384
f4be6772
AB
3852021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
386
387 * gdb.base/maint-info-sections.exp: New file, content is moved
388 from gdb.base/maint.exp and cleaned up to use latest testsuite
389 techniques.
390 * gdb.base/maint.exp: Tests moved out to
391 gdb.base/maint-info-sections.exp.
392
25ad1e83
SM
3932021-02-10 Simon Marchi <simon.marchi@efficios.com>
394
395 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
396 GDBFLAGS.
397
e92c8eb8
AB
3982021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
399
400 * gdb.fortran/lbound-ubound.F90: New file.
401 * gdb.fortran/lbound-ubound.exp: New file.
402
ee4c3d88
TV
4032021-02-10 Tom de Vries <tdevries@suse.de>
404
405 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
406 "Restore saved setting of complaints".
407
cf2b2075
TV
4082021-02-09 Tom de Vries <tdevries@suse.de>
409
410 PR symtab/27341
411 * lib/gdb.exp (with_complaints): New proc, factored out of ...
412 (gdb_load_no_complaints): ... here.
413 * gdb.fortran/function-calls.exp: Add test-case.
414
b61f7811
HAQ
4152021-02-09 Abid Qadeer <abidh@codesourcery.com>
416
417 * gdb.threads/signal-command-handle-nopass.exp: Call
418 'standard_testfile' before using 'testfile'.
419 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
420 * gdb.threads/signal-delivered-right-thread.exp: Likewise
421 * gdb.threads/signal-sigtrap.exp: Likewise
422
3d4aae48
LM
4232021-02-08 Luis Machado <luis.machado@linaro.org>
424
425 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
426
4001d90d
TV
4272021-02-08 Tom de Vries <tdevries@suse.de>
428
429 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
430
29db1eb3
AB
4312021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * gdb.python/tui-window-disabled.c: New file.
434 * gdb.python/tui-window-disabled.exp: New file.
435 * gdb.python/tui-window-disabled.py: New file.
436
e0c23e11
AB
4372021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
438
439 * gdb.python/tui-window.exp: Add new tests.
440 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
441 TestWindow object into global the_window.
442 <remote_title>: New method.
443 (delete_window_title): New function.
444
1cf23996
AB
4452021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
446
447 * gdb.tui/winheight.exp: Add more tests.
448
2708dbbd
AB
4492021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
450
451 * gdb.python/py-framefilter.exp: Update expected results.
452 * gdb.python/python.exp: Update expected results.
453
cd074e04
AB
4542021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
455
456 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
457 about bug in GDB, update expected results, and add more tests.
458
5fb97639
AB
4592021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
460
461 * gdb.tui/scroll.exp: New file.
462 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
463 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
464 remaining lines up.
465 (Term::check_region_contents): New proc.
466 (Term::check_box_contents): Use check_region_contents.
467
c0e56745
TV
4682021-02-06 Tom de Vries <tdevries@suse.de>
469
470 PR testsuite/26922
471 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
472 scrolling.
473
0e857c82
TV
4742021-02-05 Tom de Vries <tdevries@suse.de>
475
476 PR breakpoints/27313
477 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
478 rejected.
479
a22ec6e8
TV
4802021-02-05 Tom de Vries <tdevries@suse.de>
481
482 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
483 * gdb.fortran/mixed-lang-stack.exp: Same.
484
ae710496
TV
4852021-02-05 Tom de Vries <tdevries@suse.de>
486
487 PR exp/27265
488 * gdb.base/complex-parts.exp: Add tests.
489
d3b54e63
TV
4902021-02-05 Tom de Vries <tdevries@suse.de>
491
492 PR symtab/27307
493 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
494
3eccb1c8
SV
4952021-02-04 Shahab Vahedi <shahab@synopsys.com>
496
497 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
498
a71501e2
PA
4992021-02-03 Pedro Alves <pedro@palves.net>
500
501 * gdb.threads/detach-step-over.c: New file.
502 * gdb.threads/detach-step-over.exp: New file.
503
92234eb1
PA
5042021-02-03 Pedro Alves <pedro@palves.net>
505
506 * gdb.threads/attach-non-stop.c: New file.
507 * gdb.threads/attach-non-stop.exp: New file.
508
2e3773ff
LS
5092021-02-02 Lancelot SIX <lsix@lancelotsix.com>
510
511 * gdb.base/inferior-noarg.c: New test.
512 * gdb.base/inferior-noarg.exp: New test.
513
e0bd9202
SM
5142021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
515
516 * gdb.base/scope.exp: Use proc_with_prefix.
517
9307efbe
SM
5182021-02-02 Simon Marchi <simon.marchi@efficios.com>
519
520 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
521 table proc.
522 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
523 .debug_rnglists table without offset array.
524 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
525 .debug_loclists table without offset array.
526
2b0c7f41
SM
5272021-02-02 Simon Marchi <simon.marchi@efficios.com>
528
529 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
530 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
531 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
532 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
533 attribute
534
ecfda20d
SM
5352021-02-02 Simon Marchi <simon.marchi@efficios.com>
536
537 PR gdb/26813
538 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
539 (loclists): New proc.
540 * gdb.dwarf2/loclists-multiple-cus.c: New.
541 * gdb.dwarf2/loclists-multiple-cus.exp: New.
542 * gdb.dwarf2/loclists-sec-offset.c: New.
543 * gdb.dwarf2/loclists-sec-offset.exp: New.
544
6b0933da
SM
5452021-02-02 Simon Marchi <simon.marchi@efficios.com>
546
547 * lib/dwarf.exp (_location): Add parameters.
548 (_handle_DW_FORM): Adjust.
549
962effa7
SM
5502021-02-02 Simon Marchi <simon.marchi@efficios.com>
551
552 PR gdb/26813
553 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
554 (cu): Generate header for DWARF 5.
555 (rnglists): New proc.
556 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
557 * gdb.dwarf2/rnglists-sec-offset.exp: New.
558
2bd3e4b8
TV
5592021-02-02 Tom de Vries <tdevries@suse.de>
560
561 PR symtab/24620
562 * gdb.dwarf2/fission-reread.exp: Add test-case.
563
c39c8637
TV
5642021-02-01 Tom de Vries <tdevries@suse.de>
565
566 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
567 * gdb.dwarf2/fission-loclists-pie.S: Same.
568 * gdb.dwarf2/fission-loclists.S: Same.
569 * gdb.dwarf2/fission-multi-cu.S: Same.
570 * gdb.dwarf2/fission-reread.S: Same.
571 * gdb.dwarf2/fission-base.exp: Use DWO.
572 * gdb.dwarf2/fission-loclists-pie.exp: Same.
573 * gdb.dwarf2/fission-loclists.exp: Same.
574 * gdb.dwarf2/fission-multi-cu.exp: Same.
575 * gdb.dwarf2/fission-reread.exp: Same.
576
ebde6f2d
TV
5772021-01-29 Tom de Vries <tdevries@suse.de>
578
579 PR breakpoints/26063
580 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
581 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
582
620ec3ca
TV
5832021-01-29 Tom de Vries <tdevries@suse.de>
584
585 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
586
cdeba395
TV
5872021-01-28 Tom de Vries <tdevries@suse.de>
588
589 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
590 in the backtrace, and use that in the rest of the test instead of
591 hardcoded constant 3. Use "frame" instead of "up" for robustness.
592
c47b145e
TV
5932021-01-28 Tom de Vries <tdevries@suse.de>
594
595 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
596 * gdb.arch/i386-sse-stack-align.c: Same.
597 * gdb.arch/i386-sse-stack-align.exp: Same.
598
47918cca
AB
5992021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
600
601 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
602
2f985dd1
TV
6032021-01-28 Tom de Vries <tdevries@suse.de>
604
605 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
606
22efa3d3
TV
6072021-01-28 Tom de Vries <tdevries@suse.de>
608
609 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
610 "maint info line-table". Make PASS pattern more specific. Make
611 FAIL pattern work for -m32.
612
59b59f08
LS
6132021-01-27 Lancelot SIX <lsix@lancelotsix.com>
614
615 PR gdb/27133
616 * gdb.base/ui-redirect.exp: Add test case that ensures that
617 redirecting both logging and debug does not cause gdb to crash.
618
619
807f647c
MM
6202021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
621
622 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
623
4ca40594
TV
6242021-01-26 Tom de Vries <tdevries@suse.de>
625
626 * gdb.threads/killed-outside.exp: Allow regular output.
627
d0021af3
TV
6282021-01-26 Tom de Vries <tdevries@suse.de>
629
630 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
631
9f6c202e
TV
6322021-01-25 Tom de Vries <tdevries@suse.de>
633
634 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
635 * lib/gdb.exp: Use gdb_load_no_complaints.
636
a625a8c9
TT
6372021-01-25 Tom Tromey <tromey@adacore.com>
638
639 * gdb.ada/fixed_points.exp: Add regression test.
640 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
641 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
642
19184910
TT
6432021-01-25 Tom Tromey <tromey@adacore.com>
644
645 * gdb.ada/local-enum.exp: Add enumerator resolution test.
646
acd6125f
TT
6472021-01-25 Tom Tromey <tromey@adacore.com>
648
649 * gdb.ada/local-enum.exp: New file.
650 * gdb.ada/local-enum/local.adb: New file.
651
1af4c9c4
TT
6522021-01-23 Tom Tromey <tom@tromey.com>
653
654 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
655
705646c0
BE
6562021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
657
658 * gdb.base/line65535.exp: Fix test expectation.
659
0ac85db5
SM
6602021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
661
662 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
663 suppression.
664 (default_gdb_exit): Likewise.
665 (default_gdb_spawn): Likewise.
666 (send_gdb): Likewise.
667 (gdb_expect): Likewise.
668 (gdb_expect_list): Likewise.
669 (default_gdb_init): Likewise.
670 (gdb_suppress_entire_file): Remove.
671 (gdb_suppress_tests): Remove.
672 (gdb_stop_suppressing_tests): Remove.
673 (gdb_clear_suppressed): Remove.
674 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
675 related to test suppression.
676 (default_mi_gdb_start): Likewise.
677 (mi_gdb_reinitialize_dir): Likewise.
678 (mi_gdb_test): Likewise.
679 (mi_run_cmd_full): Likewise.
680 (mi_runto_helper): Likewise.
681 (mi_execute_to): Likewise.
682 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
683 * gdb.base/bitfields.exp: Likewise.
684 * gdb.base/bitfields2.exp: Likewise.
685 * gdb.base/break.exp: Likewise.
686 * gdb.base/call-sc.exp: Likewise.
687 * gdb.base/callfuncs.exp: Likewise.
688 * gdb.base/dfp-test.exp: Likewise.
689 * gdb.base/endian.exp: Likewise.
690 * gdb.base/exprs.exp: Likewise.
691 * gdb.base/funcargs.exp: Likewise.
692 * gdb.base/hbreak2.exp: Likewise.
693 * gdb.base/recurse.exp: Likewise.
694 * gdb.base/scope.exp: Likewise.
695 * gdb.base/sepdebug.exp: Likewise.
696 * gdb.base/structs.exp: Likewise.
697 * gdb.base/until.exp: Likewise.
698 * gdb.cp/misc.exp: Likewise.
699
9d2d8a16
AB
7002021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
701
702 PR cli/25956
703 * gdb.base/style.exp (run_style_tests): Add version string test.
704 (test_startup_version_string): Use version style name.
705 * lib/gdb-utils.exp (style): Handle version style name.
706
e7b43072
AB
7072021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
708
709 * gdb.base/style.exp (limited_style): New proc.
710 (clean_restart_and_disable): New proc.
711 (run_style_tests): New proc. Most of the old tests from this file
712 are now in this proc.
713 (test_startup_version_string): New proc. Reamining test from the
714 old file is in this proc.
715
2189c312
SM
7162021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
717
718 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
719 Adjust to "set debug remote" changes.
720
cd211c75
LM
7212021-01-21 Luis Machado <luis.machado@linaro.org>
722
723 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
724 message.
725
730af663
SM
7262021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
727
728 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
729
325d39e4
HD
7302021-01-21 Hannes Domani <ssbssa@yahoo.de>
731
732 PR python/19151
733 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
734
c3e96aa7
SM
7352021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
736
737 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
738
6571ffc6
SM
7392021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
740
741 * lib/tuiterm.exp: Add links in comments.
742
7c794afd
TV
7432021-01-20 Tom de Vries <tdevries@suse.de>
744
745 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
746 offset.
747
1402665c
TV
7482021-01-20 Tom de Vries <tdevries@suse.de>
749
750 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
751
6f52fdf4
SDJ
7522021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
753
754 * gdb.arch/amd64-stap-expressions.S: New file.
755 * gdb.arch/amd64-stap-expressions.exp: New file.
756
14852123
TV
7572021-01-19 Tom de Vries <tdevries@suse.de>
758
759 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
760 sequence.
761
0c4e2c6c
TV
7622021-01-19 Tom de Vries <tdevries@suse.de>
763
764 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
765
02baa133
AB
7662021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
767
768 * gdb.fortran/array-slices.exp (run_test): Avoid including
769 addresses in test names.
770
10f92414
TV
7712021-01-15 Tom de Vries <tdevries@suse.de>
772
773 PR testsuite/26997
774 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
775 when adding sizeof.
776
116d0cf1
TV
7772021-01-14 Tom de Vries <tdevries@suse.de>
778
779 PR testsuite/24590
780 * gdb.base/style.exp: Handle shorter argv in frame command output.
781
8f66807b
AB
7822021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 PR gdb/26819
785 * gdb.server/stop-reply-no-thread-multi.c: New file.
786 * gdb.server/stop-reply-no-thread-multi.exp: New file.
787
3f94e588
TV
7882021-01-12 Tom de Vries <tdevries@suse.de>
789
790 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
791 (main): Remove call to have_mpx.
792 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
793 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
794 (main): Remote call to have_mpx.
795 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
796 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
797 (main): Remove call to have_mpx.
798 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
799 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
800 (main): Remove call to have_mpx.
801 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
802 * gdb.arch/i386-mpx.c (have_mpx): Remove.
803 (main): Remote call to have_mpx.
804 * gdb.arch/i386-mpx.exp: Use have_mpx.
805 * lib/gdb.exp (have_mpx): New proc.
806
5291fe3c
SP
8072021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
808
809 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
810
18bfb505
TV
8112021-01-12 Tom de Vries <tdevries@suse.de>
812
813 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
814
ce38f5ed
AB
8152021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
816
817 * gdb.fortran/debug-expr.exp: Add new tests.
818
7c654b71
AB
8192021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
820
821 * gdb.fortran/dot-ops.exp: Add new tests.
822
10dadadc
TV
8232021-01-11 Tom de Vries <tdevries@suse.de>
824
825 PR testsuite/26968
826 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
827 Move insn setting $eax to before probe point.
828
66beed02
TT
8292021-01-09 Tom Tromey <tom@tromey.com>
830
831 * gdb.trace/ax.exp: Do not require an "ext".
832
8fc48b79
TT
8332021-01-08 Tom Tromey <tromey@adacore.com>
834
835 * gdb.ada/voidctx/pck.adb: New file.
836 * gdb.ada/voidctx/pck.ads: New file.
837 * gdb.ada/voidctx/voidctx.adb: New file.
838 * gdb.ada/voidctx.exp: New file.
839
6abd4cf2
SM
8402021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
841
842 PR gdb/27157
843 * gdb.base/empty-host-env-vars.exp: New test.
844
d00f0868
AB
8452021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
846
847 * gdb.base/completion.exp: Add a new test.
848
3c8c6de2
AB
8492021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
850
851 * gdb.fortran/intvar-dynamic-types.exp: New file.
852 * gdb.fortran/intvar-dynamic-types.f90: New file.
853
e3436813
AB
8542021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
855
856 * gdb.fortran/intvar-array.exp: New file.
857 * gdb.fortran/intvar-array.f90: New file.
858
d4813f10
TT
8592021-01-07 Tom Tromey <tromey@adacore.com>
860
861 * gdb.ada/assign_arr.exp: Add 'others' test.
862
b49180ac
TT
8632021-01-06 Tom Tromey <tromey@adacore.com>
864
865 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
866 (FP4_Type): New type.
867 (FP4_Var): New variable.
868 * gdb.ada/fixed_points/fixed_points.adb: Update.
869 * gdb.ada/fixed_points.exp: Add tests for binary operators.
870
3c55062c
SM
8712021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
872
873 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
874 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
875 Pass prompt containing debug print to gdb_test_sequence.
876
e4ad960a
TV
8772021-01-04 Tom de Vries <tdevries@suse.de>
878
879 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
880
3ec3145c
SM
8812021-01-04 Simon Marchi <simon.marchi@efficios.com>
882
883
884
8dc558a0
SM
8852021-01-04 Simon Marchi <simon.marchi@efficios.com>
886
887 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
888 * gdb.server/connect-without-multi-process.exp: Likewise.
889 * gdb.server/exit-multiple-threads.exp: Likewise.
890 * gdb.server/ext-attach.exp: Likewise.
891 * gdb.server/ext-restart.exp: Likewise.
892 * gdb.server/ext-run.exp: Likewise.
893 * gdb.server/ext-wrapper.exp: Likewise.
894 * gdb.server/multi-ui-errors.exp: Likewise.
895 * gdb.server/no-thread-db.exp: Likewise.
896 * gdb.server/reconnect-ctrl-c.exp: Likewise.
897 * gdb.server/run-without-local-binary.exp: Likewise.
898 * gdb.server/server-kill.exp: Likewise.
899 * gdb.server/server-run.exp: Likewise.
900 * gdb.server/solib-list.exp: Likewise.
901 * gdb.server/stop-reply-no-thread.exp: Likewise.
902 * gdb.server/wrapper.exp: Likewise.
903 * gdb.server/sysroot.exp: Increase timeout when testing the
904 target: sysroot.
905
d8387cc8
SM
9062021-01-04 Simon Marchi <simon.marchi@efficios.com>
907
908 * gdb.server/server-run.exp: Use clean_restart.
909
5169ae34
SM
9102021-01-04 Simon Marchi <simon.marchi@efficios.com>
911
912 * gdb.server/ext-run.exp: Use clean_restart.
913
7b0ff8a2
SM
9142021-01-04 Simon Marchi <simon.marchi@efficios.com>
915
916 * gdb.server/stop-reply-no-thread.exp: Use build_executable
917 instead of prepare_for_testing.
918
a754fbdf
SM
9192021-01-04 Simon Marchi <simon.marchi@efficios.com>
920
921 * gdb.server/solib-list.exp: Use clean_restart.
922
c5e71b33
TV
9232021-01-04 Tom de Vries <tdevries@suse.de>
924
925 * gdb.base/morestack.c: Remove printf.
926 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
927
9b243007
TT
9282020-12-31 Tom Tromey <tom@tromey.com>
929
930 * gdb.rust/simple.exp: Update output for Rust 1.49.
931
4ff509e7
BE
9322020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
933
934 * gdb.cp/step-and-next-inline.exp: Fix test case.
935
391750c3
SM
9362020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
937
938 * gdb.python/py-frame-args.exp: De-duplicate test names.
939
b7874836
AB
9402020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
941
942 PR gdb/27059
943 * gdb.dwarf2/dyn-type-unallocated.c: New file.
944 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
945
e1ff6226
PW
9462020-12-21 Peter Waller <p@pwaller.net>
947
948 * gdb.base/style-interp-exec-mi.exp: New.
949 * gdb.base/style-interp-exec-mi.c: New.
950
ca01f1bf
SM
9512020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
952
953 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
954 gdb_test. Use proc_with_prefix.
955
0fe69a94
MM
9562020-12-21 Markus Metzger <markus.t.metzger@intel.com>
957
958 * gdb.btrace/exception.exp: Build with nopie.
959 * gdb.btrace/function_call_history.exp: Likewise.
960 * gdb.btrace/unknown_functions.exp: Likewise.
961
806e7575
MM
9622020-12-21 Markus Metzger <markus.t.metzger@intel.com>
963
964 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
965
493d2172
MM
9662020-12-21 Markus Metzger <markus.t.metzger@intel.com>
967
968 * gdb.python/py-record-btrace.exp: Make test names unique.
969 * gdb.python/py-record-full.exp: Likewise.
970
1a1c0afc
MM
9712020-12-21 Markus Metzger <markus.t.metzger@intel.com>
972
973 * gdb.btrace/data.exp: Make test names unique.
974 * gdb.btrace/delta.exp: Likewise.
975 * gdb.btrace/enable.exp: Likewise.
976 * gdb.btrace/function_call_history.exp: Likewise.
977 * gdb.btrace/nohist.exp: Likewise.
978 * gdb.btrace/non-stop.exp: Likewise.
979 * gdb.btrace/rn-dl-bind.exp: Likewise.
980 * gdb.btrace/step.exp: Likewise.
981 * gdb.btrace/stepi.exp: Likewise.
982 * gdb.btrace/tailcall.exp: Likewise.
983
98d837f0
MM
9842020-12-21 Markus Metzger <markus.t.metzger@intel.com>
985
986 * gdb.btrace/enable.exp: Update error message.
987 * gdb.btrace/multi-inferior.exp: Likewise.
988 * gdb.btrace/reconnect.exp: Likewise.
989 * gdb.python/py-record-btrace.exp: Likewise.
990 * gdb.python/py-record-full.exp: Likewise.
991
c541fa7c
TV
9922020-12-20 Tom de Vries <tdevries@suse.de>
993
994 * lib/gdb.exp (save_target_board_info): New proc.
995 (gdb_compile_shlib): Use save_target_board_info.
996
60108e47
TV
9972020-12-19 Tom de Vries <tdevries@suse.de>
998
999 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1000 (supports_gnuc): New proc.
1001 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1002 test_compiler_info calls. Add unsupported message.
1003 * gdb.base/endianity.c: Use TEST_SSO.
1004
fa639f55
HD
10052020-12-19 Hannes Domani <ssbssa@yahoo.de>
1006
1007 PR exp/27070
1008 * gdb.python/compare-enum-type-a.c: New test.
1009 * gdb.python/compare-enum-type-b.c: New test.
1010 * gdb.python/compare-enum-type.exp: New file.
1011 * gdb.python/compare-enum-type.h: New test.
1012
4aea001f
HD
10132020-12-18 Hannes Domani <ssbssa@yahoo.de>
1014
1015 * gdb.python/py-format-string.exp: Add tests for address keyword.
1016
b3f9469b
HD
10172020-12-18 Hannes Domani <ssbssa@yahoo.de>
1018
1019 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1020
86ef42bd
TT
10212020-12-18 Tom Tromey <tromey@adacore.com>
1022
1023 * gdb.ada/fixed_points.exp: Also run with
1024 -fgnat-encodings=minimal. Update expected output.
1025
93df4a1d
SM
10262020-12-16 Simon Marchi <simon.marchi@efficios.com>
1027
1028 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1029 * gdb.base/continue-all-already-running.exp: Likewise.
1030 * gdb.base/moribund-step.exp: Likewise.
1031 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1032
592995fa
TV
10332020-12-16 Tom de Vries <tdevries@suse.de>
1034
1035 * gdb.base/batch-preserve-term-settings.exp:
1036
1e61189d
TV
10372020-12-16 Tom de Vries <tdevries@suse.de>
1038
1039 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1040 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1041
19007d95
LM
10422020-12-16 Luis Machado <luis.machado@linaro.org>
1043
1044 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1045 pointer-based memory accesses.
1046 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1047 hw watchpoint cases.
1048
a33fc9ae
RK
10492020-12-15 Rae Kim <rae.kim@gmail.com>
1050
1051 * gdb.base/document.exp: New test.
1052
0e5ad442
TT
10532020-12-15 Tom Tromey <tromey@adacore.com>
1054
1055 * gdb.base/style.exp: Add deprecation tests.
1056
60598dbd
SM
10572020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1058
1059 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1060
8cd6d968
MW
10612020-12-14 Mark Wielaard <mark@klomp.org>
1062
1063 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1064 specially, set attr_form_comment to the actual FORM string used.
1065
eab9267c
MW
10662020-12-14 Mark Wielaard <mark@klomp.org>
1067
1068 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1069 _constants(SPECIAL_expr) here, but set it...
1070 (Dwarf::cu): ...here based on _cu_version.
1071
2f413264
TV
10722020-12-14 Tom de Vries <tdevries@suse.de>
1073
1074 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1075 pass -fPIC.
1076 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1077 * gdb.base/break-probes.exp: Same.
1078 * gdb.base/ctxobj.exp: Same.
1079 * gdb.base/dso2dso.exp: Same.
1080 * gdb.base/global-var-nested-by-dso.exp: Same.
1081 * gdb.base/info-shared.exp: Same.
1082 * gdb.base/jit-reader-simple.exp: Same.
1083 * gdb.base/print-file-var.exp: Same.
1084 * gdb.base/skip-solib.exp: Same.
1085 * gdb.btrace/dlopen.exp: Same.
1086
18f1cb1f
TV
10872020-12-14 Tom de Vries <tdevries@suse.de>
1088
1089 PR testsuite/26963
1090 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1091
519155c9
TV
10922020-12-14 Tom de Vries <tdevries@suse.de>
1093
1094 PR testsuite/26962
1095 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1096 cast it to its declared type".
1097
153f6e6c
TV
10982020-12-14 Tom de Vries <tdevries@suse.de>
1099
1100 PR testsuite/26951
1101 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1102 shell prompt.
1103
86b44259
TT
11042020-12-14 Tom Tromey <tromey@adacore.com>
1105
1106 * gdb.ada/nested.exp: Add new tests.
1107 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1108
e26624c6
TT
11092020-12-14 Tom Tromey <tromey@adacore.com>
1110
1111 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1112
a3bdae4e
TT
11132020-12-14 Tom Tromey <tromey@adacore.com>
1114
1115 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1116
862fcbd8
TV
11172020-12-13 Tom de Vries <tdevries@suse.de>
1118
1119 PR testsuite/26953
1120 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1121 attribute support if compiler doesn't support it.
1122
a406a98e
TV
11232020-12-13 Tom de Vries <tdevries@suse.de>
1124
1125 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1126 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1127 source to shared lib. Add ada to options.
1128
5d7e6ed0
TV
11292020-12-13 Tom de Vries <tdevries@suse.de>
1130
1131 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1132 calling gnatbind and gnatlink.
1133
ee9812a0
AB
11342020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1135
1136 * gdb.base/dcache-flush.c: New file.
1137 * gdb.base/dcache-flush.exp: New file.
1138
50a5f187
AB
11392020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1140
1141 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1142 commands.
1143 * gdb.base/killed-outside.exp: Likewise.
1144 * gdb.opt/inline-bt.exp: Likewise.
1145 * gdb.perf/gmonster-null-lookup.py: Likewise.
1146 * gdb.perf/gmonster-print-cerr.py: Likewise.
1147 * gdb.perf/gmonster-ptype-string.py: Likewise.
1148 * gdb.python/py-unwind.exp: Likewise.
1149
19c659f1
AB
11502020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1151
1152 * gdb.base/commands.exp: Update expected results.
1153
9ef6d4a1
AB
11542020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1155
1156 PR cli/15104
1157 * gdb.base/commands.exp: Add additional tests.
1158 * gdb.base/completion.exp: Add additional tests.
1159
1536146f
AB
11602020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1161
1162 * gdb.base/completion.exp: Add additional tests.
1163
346e7e19
TV
11642020-12-11 Tom de Vries <tdevries@suse.de>
1165
1166 PR testsuite/26991
1167 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1168 violations by setting bounds registers if the bounds are passed in the
1169 Bounds Table.
1170
9cd7a95a
TV
11712020-12-11 Tom de Vries <tdevries@suse.de>
1172
1173 PR testsuite/26954
1174 * gdb.base/float128.exp: Detect and handle no mpfr support.
1175
4483a8e7
SM
11762020-12-10 Simon Marchi <simon.marchi@efficios.com>
1177
1178 PR gdb/24694
1179 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1180 calls.
1181
10067028
TV
11822020-12-10 Tom de Vries <tdevries@suse.de>
1183
1184 PR testsuite/26947
1185 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1186 braces for tcl 8.5 and earlier.
1187
5b56203a
SM
11882020-12-09 Simon Marchi <simon.marchi@efficios.com>
1189
1190 PR 26875, PR 26901
1191 * gdb.base/flexible-array-member.c: New test.
1192 * gdb.base/flexible-array-member.exp: New test.
1193
b46551b2
TV
11942020-12-08 Tom de Vries <tdevries@suse.de>
1195
1196 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1197 using is_amd64_regs_target.
1198
8439f446
TV
11992020-12-08 Tom de Vries <tdevries@suse.de>
1200
1201 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1202 self_id.
1203
bc545da7
PA
12042020-12-07 Pedro Alves <pedro@palves.net>
1205
1206 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1207 'additional_flags' variable.
1208
1f58f6c2
TBA
12092020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1210
1211 * gdb.linespec/explicit.exp: Extend with a test to check completing
1212 '-' after seemingly complete options.
1213
5759831a
TBA
12142020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1215
1216 * gdb.linespec/keywords.exp: Add tests to check positional
1217 flexibility of "-force-condition".
1218
21e051b3
TBA
12192020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1220
1221 * gdb.base/bp-cmds-run-with-ex.c: New file.
1222 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1223 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1224 * gdb.gdb/python-interrupts.exp: Update the call to
1225 'catch_command_errors' with the new argument.
1226 * gdb.gdb/python-selftest.exp: Ditto.
1227
187b041e
SM
12282020-12-04 Simon Marchi <simon.marchi@efficios.com>
1229
1230 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1231 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1232 * gdb.threads/non-stop-fair-events.exp: Likewise.
1233
3b7a962d
SM
12342020-12-04 Simon Marchi <simon.marchi@efficios.com>
1235
1236 * gdb.threads/step-over-exec.exp: New.
1237 * gdb.threads/step-over-exec.c: New.
1238 * gdb.threads/step-over-exec-execd.c: New.
1239 * lib/my-syscalls.S: New.
1240 * lib/my-syscalls.h: New.
1241
e633b117
SM
12422020-12-04 Simon Marchi <simon.marchi@efficios.com>
1243
1244 * lib/dwarf.exp (declare_labels): Use name as text if text is
1245 not provided.
1246
67748e0f
TV
12472020-12-04 Tom de Vries <tdevries@suse.de>
1248
1249 PR testsuite/26990
1250 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1251 are unsupported.
1252
a8d13675
TV
12532020-12-04 Tom de Vries <tdevries@suse.de>
1254
1255 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1256 clause.
1257
f17727b3
TV
12582020-12-04 Tom de Vries <tdevries@suse.de>
1259
1260 * gdb.reverse/insn-reverse.exp: Fix count handling.
1261
a1499830
TV
12622020-12-04 Tom de Vries <tdevries@suse.de>
1263
1264 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1265 __x86_64__.
1266
9c027c2f
TV
12672020-12-04 Tom de Vries <tdevries@suse.de>
1268
1269 * gdb.reverse/insn-reverse.c (test_nr): New var.
1270 (usage, parse_args): New function.
1271 (main): Call parse_args. Only run test for test_nr.
1272 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1273 and bail out. Run subtests individually, using an inferior arg
1274 specifying the subtest.
1275
533b2ae0
AB
12762020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1277
1278 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1279
e4502042
AB
12802020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1281
1282 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1283 update test to use this.
1284
f55a9a37
SM
12852020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1286
1287 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1288
0a6155a0
SM
12892020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1290
1291 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1292 (do_test): Don't use with_test_prefix.
1293 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1294 (do_test): Don't use with_test_prefix.
1295 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1296 (do_test): Don't use with_test_prefix.
1297 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1298 (do_test): Don't use with_test_prefix.
1299
4d56d64a
SM
13002020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1301
1302 * gdb.threads/non-ldr-exit.exp: Fix comment.
1303
54e75f29
AB
13042020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1305
1306 * gdb.xml/maint-xml-dump-03.xml: New file.
1307
7ce05d21
TV
13082020-11-30 Tom de Vries <tdevries@suse.de>
1309
1310 PR symtab/26905
1311 * gdb.dwarf2/count.exp: Remove kfails.
1312
50757f95
TBA
13132020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1314
1315 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1316 indices.
1317
4afa9fd9
JB
13182020-11-24 Joel Brobecker <brobecker@adacore.com>
1319
1320 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1321 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1322 languages. Remove the associated setup_xfail.
1323
15a491af
SM
13242020-11-23 Simon Marchi <simon.marchi@efficios.com>
1325
1326 * lib/gdb.exp (gdb_assert): Show error message on error.
1327
891615f0
TV
13282020-11-23 Tom de Vries <tdevries@suse.de>
1329
1330 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1331 * gdb.ada/mod_from_name.exp: Same.
1332 * gdb.ada/pckd_arr_ren.exp: Same.
1333
19922582
SM
13342020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1335
1336 * gdb.base/template.exp: New.
1337 * gdb.base/template.c: New.
1338
117c628d
GB
13392020-11-22 Gary Benson <gbenson@redhat.com>
1340
1341 PR gdb/26905
1342 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1343 is defined using a DW_AT_count which references another DIE.
1344
da39d3ba
TV
13452020-11-21 Tom de Vries <tdevries@suse.de>
1346
1347 * gdb.base/vla-ptr.exp: Add XFAIL.
1348
a5c641b5
AB
13492020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1350
1351 * gdb.fortran/array-slices-bad.exp: New file.
1352 * gdb.fortran/array-slices-bad.f90: New file.
1353 * gdb.fortran/array-slices-sub-slices.exp: New file.
1354 * gdb.fortran/array-slices-sub-slices.f90: New file.
1355 * gdb.fortran/array-slices.exp: Rewrite tests.
1356 * gdb.fortran/array-slices.f90: Rewrite tests.
1357 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1358
a15a5258
AB
13592020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1360
1361 * gdb.base/completion.exp: Add new completion tests.
1362
7cb2893d
SM
13632020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1364
1365 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1366 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1367 * gdb.mi/mi-nsintrall.exp: Likewise.
1368 * gdb.mi/mi-nsmoribund.exp: Likewise.
1369 * gdb.mi/mi-nsthrexec.exp: Likewise.
1370 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1371
cf144ec8
SM
13722020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1373
1374 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1375 of perror.
1376
6b6a3e05
JM
13772020-11-18 Joseph Myers <joseph@codesourcery.com>
1378
1379 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1380 $arg.exe exists but $arg does not.
1381
811bdca0
GB
13822020-11-17 Gary Benson <gbenson@redhat.com>
1383
1384 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1385 __attribute__ ((used)).
1386
c72e3136
AB
13872020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1388
1389 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1390
037d7135
AB
13912020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1392
1393 * gdb.base/completion.exp: Add new tests.
1394
119e99bb
TT
13952020-11-16 Tom Tromey <tromey@adacore.com>
1396
1397 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1398 tests.
1399
b74dbc20
JB
14002020-11-15 Joel Brobecker <brobecker@adacore.com>
1401
1402 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1403 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1404 (main): Add reference to pck__fp1_var2.
1405 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1406
0a12719e
JB
14072020-11-15 Joel Brobecker <brobecker@adacore.com>
1408
1409 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1410
0c9150e4
JB
14112020-11-15 Joel Brobecker <brobecker@adacore.com>
1412
1413 * gdb.ada/fixed_points.exp: Add ptype tests.
1414 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1415
b26daff9
JB
14162020-11-15 Joel Brobecker <brobecker@adacore.com>
1417
1418 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1419
09584414
JB
14202020-11-15 Joel Brobecker <brobecker@adacore.com>
1421
1422 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1423 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1424 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1425 New files.
1426 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1427
1428 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1429 New files.
1430
9dd02fc0
AB
14312020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1432
1433 PR cli/26879
1434 * gdb.fortran/completion.exp: New file.
1435 * gdb.fortran/completion.f90: New file.
1436
5643c500
JM
14372020-11-12 Joseph Myers <joseph@codesourcery.com>
1438
1439 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1440 but $arg does not.
1441
7bea47f0
AB
14422020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1443
1444 * gdb.fortran/types.exp: Add more tests.
1445
1f2624a3
TT
14462020-11-12 Tom Tromey <tom@tromey.com>
1447
1448 PR rust/26799:
1449 * gdb.rust/traits.exp: Remove kfails.
1450
9e74f0ae
GB
14512020-11-12 Gary Benson <gbenson@redhat.com>
1452
1453 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1454 statement.
1455
acb994fa
SM
14562020-11-11 Simon Marchi <simon.marchi@efficios.com>
1457
1458 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1459 always-inserted" axis.
1460 (do_test): Add breakpoint_always_inserted parameter.
1461
95016fd2
TT
14622020-11-10 Tom Tromey <tromey@adacore.com>
1463
1464 * gdb.ada/bias.exp: Update.
1465 * gdb.ada/bias/bias.adb (X): Change value.
1466
83100a74
GB
14672020-11-10 Gary Benson <gbenson@redhat.com>
1468
1469 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1470 regexp fragment in parentheses to prevent false matching.
1471
6ff174a7
GB
14722020-11-10 Gary Benson <gbenson@redhat.com>
1473
1474 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1475
eb24648c
GB
14762020-11-10 Gary Benson <gbenson@redhat.com>
1477
1478 * gdb.cp/step-and-next-inline.exp: Only require
1479 -gstatement-frontiers when building with GCC.
1480 Only setup KFAIL's for GCC issues when using
1481 a GCC-built executable.
1482
86775fab
AB
14832020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1484
1485 * gdb.base/debug-expr.c: Add extra function to allow for an
1486 additional test.
1487 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1488 to this proc with gdb_test_debug_expr. Add an extra test.
1489 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1490 to this proc with gdb_test_debug_expr, give the tests names
1491 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1492 calls to this proc with gdb_test_debug_expr, give the tests names
1493 * gdb.fortran/debug-expr.exp: New file.
1494 * gdb.fortran/debug-expr.f90: New file.
1495 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1496
a1945bd4
SM
14972020-11-06 Simon Marchi <simon.marchi@efficios.com>
1498
1499 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1500 proceduresu.
1501 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1502 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1503 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1504 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1505 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1506 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1507 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1508 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1509
9c91c725
TT
15102020-11-04 Tom Tromey <tromey@adacore.com>
1511
1512 * gdb.ada/funcall_ref.exp: Update.
1513 * gdb.ada/var_rec_arr.exp: Update.
1514
8d9fd3a1
TT
15152020-11-04 Tom Tromey <tromey@adacore.com>
1516
1517 * gdb.ada/rec_ptype.exp: New file.
1518 * gdb.ada/rec_ptype/main.adb: New file.
1519 * gdb.ada/rec_ptype/p.ads: New file.
1520
d8f62e84
TT
15212020-11-04 Tom Tromey <tromey@adacore.com>
1522
1523 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1524 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1525 (PT_Full): New variable.
1526 * gdb.ada/tick_length_array_enum_idx/pck.adb
1527 (Full_PT): New type.
1528
7ff5b937
TT
15292020-11-04 Tom Tromey <tromey@adacore.com>
1530
1531 * gdb.ada/array_of_variant.exp: New file.
1532 * gdb.ada/array_of_variant/p.adb: New file.
1533 * gdb.ada/array_of_variant/pck.ads: New file.
1534 * gdb.ada/array_of_variant/pck.adb: New file.
1535
10f6a3ad
TT
15362020-11-04 Tom Tromey <tromey@adacore.com>
1537
1538 * gdb.ada/enum_idx_packed.exp: Add test.
1539 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1540 New variable.
1541 * gdb.ada/enum_idx_packed/pck.ads (Short)
1542 (Multi_Dimension, Multi_Dimension_Access): New types.
1543
b72795a8
TT
15442020-11-04 Tom Tromey <tromey@adacore.com>
1545
1546 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1547
24aa1b02
TT
15482020-11-04 Tom Tromey <tromey@adacore.com>
1549
1550 * gdb.ada/set_pckd_arr_elt.exp: Also test
1551 -fgnat-encodings=minimal. Add tests.
1552 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1553 Call Update_Small a second time.
1554 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1555 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1556 (Variant_Access): New types.
1557 (New_Variant): Declare.
1558
c9a28cbe
TT
15592020-11-04 Tom Tromey <tromey@adacore.com>
1560
1561 * gdb.ada/mod_from_name.exp: Test printing slice.
1562
57567375
TT
15632020-11-04 Tom Tromey <tromey@adacore.com>
1564
1565 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1566 values.
1567 * gdb.ada/access_to_unbounded_array.exp: Test different
1568 -fgnat-encodings values.
1569 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1570 values.
1571 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1572 values.
1573 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1574 values.
1575 * gdb.ada/array_of_variable_length.exp: Test different
1576 -fgnat-encodings values.
1577 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1578 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1579 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1580 change.
1581 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1582 values.
1583 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1584 * gdb.ada/out_of_line_in_inlined.exp: Test different
1585 -fgnat-encodings values.
1586 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1587 values.
1588 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1589 values.
1590 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1591 -fgnat-encodings values.
1592 * gdb.ada/variant_record_packed_array.exp: Test different
1593 -fgnat-encodings values.
1594
a7400e44
TT
15952020-11-04 Tom Tromey <tromey@adacore.com>
1596
1597 * gdb.ada/enum_idx_packed.exp: Add tests.
1598 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1599 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1600 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1601 declarations.
1602
c40907bf
TV
16032020-11-03 Tom de Vries <tdevries@suse.de>
1604
1605 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1606 terminator comments.
1607 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1608 terminator.
1609
f468977a
SM
16102020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1611
1612 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1613 integer format test with regexp.
1614
1c2bec19
GB
16152020-11-02 Gary Benson <gbenson@redhat.com>
1616
1617 * gdb.base/print-file-var.exp (test): Separate compiler and
1618 linker options, and build using build_executable_from_specs
1619 to accommodate this.
1620
6539a36d
GB
16212020-11-02 Gary Benson <gbenson@redhat.com>
1622
1623 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1624 for .c files compiled as C++ with Clang if any shared
1625 libraries are specified.
1626
7ea44a51
GB
16272020-11-02 Gary Benson <gbenson@redhat.com>
1628
1629 * lib/attributes.h: New header.
1630 * gdb.base/backtrace.c: Include the above. Replace
1631 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1632 * gdb.base/infcall-nested-structs.c: Likewise.
1633 * gdb.base/vla-optimized-out.c: Likewise.
1634
ab8f783d
TV
16352020-11-02 Tom de Vries <tdevries@suse.de>
1636
1637 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1638
d77c9224
JB
16392020-11-01 Joel Brobecker <brobecker@adacore.com>
1640
1641 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1642 System.Min_Int and System.Max_Int with smaller hardcoded
1643 constants.
1644
0e5b0dd0
SM
16452020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1646
1647 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1648 * configure: Re-generate.
1649
136821d9
SM
16502020-10-30 Simon Marchi <simon.marchi@efficios.com>
1651
1652 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1653 expected output.
1654
b78b3a29
TBA
16552020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1656
1657 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1658 behavior.
1659 * gdb.base/paginate-bg-execution.exp: Ditto.
1660 * gdb.base/paginate-inferior-exit.exp: Ditto.
1661 * gdb.base/double-prompt-target-event-error.c: Remove.
1662 * gdb.base/double-prompt-target-event-error.exp: Remove.
1663
cfaa8f76
TBA
16642020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1665
1666 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1667 inferiors' and 'detach inferiors' do not change the current
1668 inferior.
1669
0ad0e70c
TV
16702020-10-29 Tom de Vries <tdevries@suse.de>
1671
1672 * gdb.threads/tls.exp: Fix DUPLICATEs.
1673
99cc6b2a
TV
16742020-10-28 Tom de Vries <tdevries@suse.de>
1675
1676 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1677
efe9b873
TV
16782020-10-28 Tom de Vries <tdevries@suse.de>
1679
1680 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1681 * gdb.base/reread.exp: Same.
1682
6b68fd45
TV
16832020-10-28 Tom de Vries <tdevries@suse.de>
1684
1685 * lib/gdb.exp (readnow): Handle arg.
1686 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1687
32a5f98a
TV
16882020-10-28 Tom de Vries <tdevries@suse.de>
1689
1690 * gdb.base/relocate.exp: Update regexp for -readnow.
1691
f93b8760
TV
16922020-10-28 Tom de Vries <tdevries@suse.de>
1693
1694 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1695 -readnow.
1696
1b00ef06
TV
16972020-10-28 Tom de Vries <tdevries@suse.de>
1698
1699 PR symtab/26772
1700 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1701 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1702
364bb903
TV
17032020-10-28 Tom de Vries <tdevries@suse.de>
1704
1705 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1706 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1707 complaint during file command for -readnow.
1708
445a033f
TV
17092020-10-28 Tom de Vries <tdevries@suse.de>
1710
1711 * gdb.cp/nsalias.exp: Fix typo in test name.
1712
fdd67a42
TV
17132020-10-28 Tom de Vries <tdevries@suse.de>
1714
1715 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1716
706baf4c
TV
17172020-10-28 Tom de Vries <tdevries@suse.de>
1718
1719 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1720 -readnow.
1721
b448cca5
TV
17222020-10-27 Tom de Vries <tdevries@suse.de>
1723
1724 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1725
5868da03
TV
17262020-10-27 Tom de Vries <tdevries@suse.de>
1727
1728 * gdb.base/maint.exp: Update for -readnow.
1729
06db6ec3
TV
17302020-10-27 Tom de Vries <tdevries@suse.de>
1731
1732 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1733 -readnow.
1734
934a1764
GB
17352020-10-14 Gary Benson <gbenson@redhat.com>
1736
1737 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1738 "_vptr$Base" as correct, in addition to "_vptr.Base".
1739 (test_mixed): Likewise.
1740
0bf21fbd
GB
17412020-10-27 Gary Benson <gbenson@redhat.com>
1742
1743 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1744 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1745
b1d4d8d1
TBA
17462020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1747
1748 * gdb.base/condbreak.exp: Update the completion tests to
1749 consider the '-force' flag.
1750
bd24c5d6
TV
17512020-10-27 Tom de Vries <tdevries@suse.de>
1752
1753 * gdb.base/list-ambiguous-readnow.exp: New file.
1754
733d554a
TBA
17552020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1756
1757 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1758 the condition.
1759 * gdb.linespec/cpcompletion.exp: Update to consider the
1760 '-force-condition' keyword.
1761 * gdb.linespec/explicit.exp: Ditto.
1762 * lib/completion-support.exp: Ditto.
1763
b5fa468f
TBA
17642020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1765
1766 * gdb.base/condbreak-multi-context.cc: New file.
1767 * gdb.base/condbreak-multi-context.exp: New file.
1768
b3247276
TT
17692020-10-26 Tom Tromey <tom@tromey.com>
1770
1771 * lib/mi-support.exp (default_mi_gdb_start): Call
1772 gdb_stdin_log_init.
1773 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1774 subtract one from gdb_instances.
1775 (gdb_stdin_log_write): Flush in_file.
1776
1c47ec3e
TV
17772020-10-26 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1780
6390859c
TT
17812020-10-26 Tom Tromey <tromey@adacore.com>
1782
1783 * gdb.ada/unsigned_range/foo.adb: New file.
1784 * gdb.ada/unsigned_range/pack.adb: New file.
1785 * gdb.ada/unsigned_range/pack.ads: New file.
1786 * gdb.ada/unsigned_range.exp: New file.
1787
55c3ad88
TV
17882020-10-26 Tom de Vries <tdevries@suse.de>
1789
1790 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1791
1612c4bb
TV
17922020-10-26 Tom de Vries <tdevries@suse.de>
1793
1794 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1795 for CU.
1796 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1797
7d72802b
TV
17982020-10-23 Tom de Vries <tdevries@suse.de>
1799
1800 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1801 DW_FORM_string.
1802 (Dwarf::_default_form): New proc.
1803 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1804 guessed.
1805
9476b583
TV
18062020-10-23 Tom de Vries <tdevries@suse.de>
1807
1808 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1809 * gdb.dwarf2/atomic-type.exp: Same.
1810 * gdb.dwarf2/bad-regnum.exp: Same.
1811 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1812 * gdb.dwarf2/dw2-align.exp: Same.
1813 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1814 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1815 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1816 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1817 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1818 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1819 * gdb.dwarf2/enum-type.exp: Same.
1820 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1821 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1822 * gdb.dwarf2/main-subprogram.exp: Same.
1823 * gdb.dwarf2/missing-type-name.exp: Same.
1824 * gdb.dwarf2/nonvar-access.exp: Same.
1825 * gdb.dwarf2/typedef-void-finish.exp: Same.
1826 * gdb.dwarf2/var-access.exp: Same.
1827 * gdb.dwarf2/void-type.exp: Same.
1828
4a636814
SM
18292020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1830
1831 PR gdb/26693
1832 * gdb.dwarf2/template-specification-full-name.exp: New test.
1833
557fc257
LM
18342020-10-22 Luis Machado <luis.machado@linaro.org>
1835
1836 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1837 expected an offset from the function.
1838 * gdb.base/msym-bp.exp (test): Likewise.
1839
6b4c676c
AB
18402020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1841
1842 * gdb.fortran/array-slices.exp: Add a new test.
1843
98cec4f6
GB
18442020-10-21 Gary Benson <gbenson@redhat.com>
1845
1846 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1847 fullname test with Clang. Also expand comments generally.
1848
ae86f581
TV
18492020-10-20 Tom de Vries <tdevries@suse.de>
1850
1851 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1852
8c161360
TV
18532020-10-20 Tom de Vries <tdevries@suse.de>
1854
1855 * gdb.dwarf2/arr-stride.c: Remove.
1856 * gdb.dwarf2/arr-stride.exp: Use main.c.
1857 * gdb.dwarf2/arr-subrange.c: Remove.
1858 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1859 * gdb.dwarf2/bad-regnum.c: Remove.
1860 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1861 * gdb.dwarf2/corrupt.c: Remove.
1862 * gdb.dwarf2/corrupt.exp: Use main.c.
1863 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1864 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1865 * gdb.dwarf2/dw2-icycle.c: Remove.
1866 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1867 * gdb.dwarf2/formdata16.c: Remove.
1868 * gdb.dwarf2/formdata16.exp: Use main.c.
1869 * gdb.dwarf2/implptrconst.c: Remove.
1870 * gdb.dwarf2/implptrconst.exp: Use main.c.
1871 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1872 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1873 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1874 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1875
9c2412ec
TV
18762020-10-20 Tom de Vries <tdevries@suse.de>
1877
1878 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1879 file.
1880 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1881
0cd2ad78
TV
18822020-10-20 Tom de Vries <tdevries@suse.de>
1883
1884 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1885 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1886 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1887 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1888 * gdb.dwarf2/dw2-ranges.exp: Same.
1889 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1890 * gdb.dwarf2/var-access.exp: Same.
1891
22cc388e
TT
18922020-10-19 Tom Tromey <tromey@adacore.com>
1893
1894 PR tui/26719
1895 * gdb.tui/list.exp: Check source window contents after focus
1896 change.
1897
520596f2
TV
18982020-10-17 Tom de Vries <tdevries@suse.de>
1899
1900 PR symtab/26317
1901 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1902
d1c8a76d
TV
19032020-10-17 Tom de Vries <tdevries@suse.de>
1904
1905 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1906 as suffix.
1907 * gdb.dwarf2/atomic.c: Rename to ...
1908 * gdb.dwarf2/atomic-type.c: ... this.
1909 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1910 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1911 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1912 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1913 * gdb.dwarf2/fission-mix2.c: Rename to ...
1914 * gdb.dwarf2/fission-mix-2.c: ... this.
1915 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1916 standard_testfile.
1917 * gdb.dwarf2/ada-valprint-error.exp: Same.
1918 * gdb.dwarf2/arr-stride.exp: Same.
1919 * gdb.dwarf2/arr-subrange.exp: Same.
1920 * gdb.dwarf2/atomic-type.exp: Same.
1921 * gdb.dwarf2/bad-regnum.exp: Same.
1922 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1923 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1924 * gdb.dwarf2/clang-debug-names.exp: Same.
1925 * gdb.dwarf2/comp-unit-lang.exp: Same.
1926 * gdb.dwarf2/corrupt.exp: Same.
1927 * gdb.dwarf2/count.exp: Same.
1928 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1929 * gdb.dwarf2/data-loc.exp: Same.
1930 * gdb.dwarf2/dw2-align.exp: Same.
1931 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1932 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1933 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1934 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1935 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1936 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1937 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1938 * gdb.dwarf2/dw2-inline-param.exp: Same.
1939 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1940 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1941 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1942 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1943 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1944 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1945 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1946 * gdb.dwarf2/dw2-param-error.exp: Same.
1947 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1948 * gdb.dwarf2/dw2-ranges.exp: Same.
1949 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1950 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1951 * gdb.dwarf2/dw4-sig-types.exp: Same.
1952 * gdb.dwarf2/dynarr-ptr.exp: Same.
1953 * gdb.dwarf2/enum-type.exp: Same.
1954 * gdb.dwarf2/fission-mix.exp: Same.
1955 * gdb.dwarf2/formdata16.exp: Same.
1956 * gdb.dwarf2/implptrconst.exp: Same.
1957 * gdb.dwarf2/implptrpiece.exp: Same.
1958 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1959 * gdb.dwarf2/main-subprogram.exp: Same.
1960 * gdb.dwarf2/method-ptr.exp: Same.
1961 * gdb.dwarf2/missing-sig-type.exp: Same.
1962 * gdb.dwarf2/nonvar-access.exp: Same.
1963 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1964 * gdb.dwarf2/shortpiece.exp: Same.
1965 * gdb.dwarf2/staticvirtual.exp: Same.
1966 * gdb.dwarf2/subrange.exp: Same.
1967 * gdb.dwarf2/symtab-producer.exp: Same.
1968 * gdb.dwarf2/typedef-void-finish.exp: Same.
1969 * gdb.dwarf2/var-access.exp: Same.
1970 * gdb.dwarf2/variant.exp: Same.
1971 * gdb.dwarf2/void-type.exp: Same.
1972 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1973 dw2-ranges-main.c.
1974 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1975
472d09c1
TV
19762020-10-16 Tom de Vries <tdevries@suse.de>
1977
1978 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1979
afe75f6d
TV
19802020-10-16 Tom de Vries <tdevries@suse.de>
1981
1982 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1983
8c8bd0ba
TV
19842020-10-14 Tom de Vries <tdevries@suse.de>
1985
1986 PR testsuite/26732
1987 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1988 scenario 2.
1989 * gdb.ada/mi_catch_ex_hand.exp: Same.
1990
b75d55d4
PA
19912020-10-13 Pedro Alves <pedro@palves.net>
1992
1993 * lib/mi-support.exp (mi_clean_restart): New.
1994 (mi_run_to_main): Delete.
1995 All callers adjust to use mi_clean_restart / mi_runto_main.
1996
e777225b
PA
19972020-10-13 Pedro Alves <pedro@palves.net>
1998
1999 * config/monitor.exp: Use "list -q".
2000 * gdb.arch/gdb1558.exp: Use "break -q".
2001 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2002 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2003 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2004 * gdb.base/commands.exp: Use "break -q".
2005 * gdb.base/condbreak.exp: Use "break -q".
2006 * gdb.base/ctf-ptype.exp: Use "list -q".
2007 * gdb.base/define.exp: Use "break -q".
2008 * gdb.base/del.exp: Use "break -q".
2009 * gdb.base/fullname.exp: Use "break -q".
2010 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2011 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2012 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2013 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2014 "hbreak -q".
2015 * gdb.base/included.exp: Use "list -q".
2016 * gdb.base/label.exp: Use "break -q".
2017 * gdb.base/lineinc.exp: Use "break -q".
2018 * gdb.base/list.exp: Use "list -q".
2019 * gdb.base/macscp.exp: Use "list -q".
2020 * gdb.base/pending.exp: Use "break -q".
2021 * gdb.base/prologue-include.exp: Use "break -q".
2022 * gdb.base/ptype.exp: Use "list -q".
2023 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2024 * gdb.base/server-del-break.exp: Use "break -q".
2025 * gdb.base/style.exp: Use "break -q".
2026 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2027 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2028 * gdb.cp/exception.exp: Use "tbreak -q".
2029 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2030 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2031 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2032 * gdb.dwarf2/pr13961.exp: Use "break -q".
2033 * gdb.linespec/explicit.exp: Use "list -q".
2034 * gdb.linespec/linespec.exp: Use "break -q".
2035 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2036 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2037 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2038 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2039 * gdb.trace/change-loc.exp: Use "break -q".
2040 * gdb.trace/pending.exp: Use "break -q".
2041 * gdb.tui/basic.exp: Use "list -q".
2042 * gdb.tui/list-before.exp: Use "list -q".
2043 * gdb.tui/list.exp: Use "list -q".
2044 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2045
8abd8ee8
PA
20462020-10-13 Pedro Alves <pedro@palves.net>
2047
2048 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2049 saved breakpoints file.
2050 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2051 inspecting breakpoint list.
2052 * lib/gdb.exp (runto_main): Add "qualified" to options.
2053 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2054 and handle it.
2055 (mi_runto_main): Pass 1 as qualified argument.
2056
f71e6719
PA
20572020-10-13 Pedro Alves <pedro@palves.net>
2058
2059 * lib/mi-support.exp (mi_runto_main): New proc.
2060 (mi_run_to_main): Use it.
2061 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2062 * gdb.mi/mi-var-cmd.exp: Likewise.
2063 * gdb.mi/mi-var-invalidate.exp: Likewise.
2064 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2065 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2066 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2067 * gdb.mi/user-selected-context-sync.exp: Likewise.
2068 * gdb.opt/inline-cmds.exp: Likewise.
2069 * gdb.python/py-framefilter-mi.exp: Likewise.
2070 * gdb.python/py-mi.exp: Likewise.
2071
50441f0f
PA
20722020-10-13 Pedro Alves <pedro@palves.net>
2073
2074 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2075 "runto main".
2076 * gdb.ada/small_reg_param.exp: Likewise.
2077 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2078 * gdb.base/annota1.exp: Likewise.
2079 * gdb.base/anon.exp: Likewise.
2080 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2081 * gdb.base/dprintf-non-stop.exp: Likewise.
2082 * gdb.base/dprintf.exp: Likewise.
2083 * gdb.base/gdb11530.exp: Likewise.
2084 * gdb.base/gdb11531.exp: Likewise.
2085 * gdb.base/gnu_vector.exp: Likewise.
2086 * gdb.base/interrupt-noterm.exp: Likewise.
2087 * gdb.base/memattr.exp: Likewise.
2088 * gdb.base/step-over-syscall.exp: Likewise.
2089 * gdb.base/watch-cond-infcall.exp: Likewise.
2090 * gdb.base/watch-read.exp: Likewise.
2091 * gdb.base/watch-vfork.exp: Likewise.
2092 * gdb.base/watch_thread_num.exp: Likewise.
2093 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2094 * gdb.guile/scm-frame-inline.exp: Likewise.
2095 * gdb.linespec/explicit.exp: Likewise.
2096 * gdb.opt/inline-break.exp: Likewise.
2097 * gdb.python/py-frame-inline.exp: Likewise.
2098 * gdb.reverse/break-precsave.exp: Likewise.
2099 * gdb.reverse/break-reverse.exp: Likewise.
2100 * gdb.reverse/consecutive-precsave.exp: Likewise.
2101 * gdb.reverse/consecutive-reverse.exp: Likewise.
2102 * gdb.reverse/finish-precsave.exp: Likewise.
2103 * gdb.reverse/finish-reverse.exp: Likewise.
2104 * gdb.reverse/fstatat-reverse.exp: Likewise.
2105 * gdb.reverse/getresuid-reverse.exp: Likewise.
2106 * gdb.reverse/i386-precsave.exp: Likewise.
2107 * gdb.reverse/i386-reverse.exp: Likewise.
2108 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2109 * gdb.reverse/i387-env-reverse.exp: Likewise.
2110 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2111 * gdb.reverse/insn-reverse.exp: Likewise.
2112 * gdb.reverse/machinestate-precsave.exp: Likewise.
2113 * gdb.reverse/machinestate.exp: Likewise.
2114 * gdb.reverse/pipe-reverse.exp: Likewise.
2115 * gdb.reverse/readv-reverse.exp: Likewise.
2116 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2117 * gdb.reverse/rerun-prec.exp: Likewise.
2118 * gdb.reverse/s390-mvcle.exp: Likewise.
2119 * gdb.reverse/solib-precsave.exp: Likewise.
2120 * gdb.reverse/solib-reverse.exp: Likewise.
2121 * gdb.reverse/step-precsave.exp: Likewise.
2122 * gdb.reverse/step-reverse.exp: Likewise.
2123 * gdb.reverse/time-reverse.exp: Likewise.
2124 * gdb.reverse/until-precsave.exp: Likewise.
2125 * gdb.reverse/until-reverse.exp: Likewise.
2126 * gdb.reverse/waitpid-reverse.exp: Likewise.
2127 * gdb.reverse/watch-precsave.exp: Likewise.
2128 * gdb.reverse/watch-reverse.exp: Likewise.
2129 * gdb.threads/kill.exp: Likewise.
2130 * gdb.threads/tid-reuse.exp: Likewise.
2131
d3a07122
SM
21322020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2133
2134 PR gdb/26642
2135 * gdb.base/maint-target-async-off.c: New test.
2136 * gdb.base/maint-target-async-off.exp: New test.
2137
c65c6c42
AM
21382020-10-13 Alan Modra <amodra@gmail.com>
2139
2140 * gdb.arch/powerpc-altivec.s,
2141 * gdb.arch/powerpc-power7.s,
2142 * gdb.arch/powerpc-power8.s,
2143 * gdb.arch/powerpc-power9.s,
2144 * gdb.arch/powerpc-vsx.s,
2145 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2146 * gdb.arch/powerpc-altivec.exp,
2147 * gdb.arch/powerpc-power7.exp,
2148 * gdb.arch/powerpc-power8.exp,
2149 * gdb.arch/powerpc-power9.exp,
2150 * gdb.arch/powerpc-vsx.exp,
2151 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2152 disassembly of mfvsrd/mtvsrd.
2153
f4a0f710
AM
21542020-10-13 Alan Modra <amodra@gmail.com>
2155
2156 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2157 "target architecture" output.
2158 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2159 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2160 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2161 * gdb.arch/s390-disassembler-options.exp: Likewise.
2162
87a37e5e
PA
21632020-10-12 Pedro Alves <pedro@palves.net>
2164
2165 PR exp/26602
2166 PR c++/26550
2167 * gdb.cp/ambiguous.cc (marker1): Delete.
2168 (main): Initialize all the fields of the locals. Replace marker1
2169 call with a "set breakpoint here" marker.
2170 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2171 instead of running to marker1. Add tests printing all the
2172 variables and all the fields of the variables.
2173 (test_ambiguous): New proc, expecting the new GDB output when a
2174 field access is ambiguous. Change all "warning: X ambiguous"
2175 tests to use it.
2176
71e1b6b0
GB
21772020-10-12 Gary Benson <gbenson@redhat.com>
2178
2179 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2180 * gdb.base/msym-bp-2.c (foo): Likewise.
2181 * gdb.base/msym-lang.c (foo): Likewise.
2182 * gdb.base/msym-lang-main.c (foo): Likewise.
2183 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2184 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2185 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2186 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2187 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2188 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2189 * gdb.python/py-objfile.c (static_var): Likewise.
2190 * gdb.python/py-symbol.c (rr): Likewise.
2191 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2192 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2193
9370fd51
AB
21942020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2195
2196 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2197 output of backtrace.
2198
7c184d33
TT
21992020-10-09 Tom Tromey <tromey@adacore.com>
2200
2201 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2202 (Rec): Add field. Fix range.
2203 * gdb.ada/scalar_storage.exp: Update.
2204
3d87245c
HD
22052020-10-09 Hannes Domani <ssbssa@yahoo.de>
2206
2207 PR exp/26714
2208 * gdb.base/printcmds.exp: Add tests for void results.
2209
f5c4b229
JV
22102020-10-09 Jan Vrany <jan.vrany@labware.com>
2211
2212 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2213 is emmited for both 'set directories' and 'directory' commands.
2214
b2701685
TT
22152020-10-08 Tom Tromey <tom@tromey.com>
2216
2217 * gdb.base/style.exp: Check that "main"'s name is styled.
2218
e86efb33
TT
22192020-10-07 Tom Tromey <tromey@adacore.com>
2220
2221 * gdb.base/find.exp: Rename some tests.
2222
30897591
GB
22232020-10-06 Gary Benson <gbenson@redhat.com>
2224
2225 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2226 * gdb.base/list1.c (unused): Likewise.
2227
ced4a4c1
GB
22282020-10-06 Gary Benson <gbenson@redhat.com>
2229
2230 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2231 __attribute__ ((used)).
2232 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2233
ed3bdac4
AB
22342020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2235
2236 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2237 make use of regions throughout.
2238 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2239 not {...}.
2240 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2241
cd096ec8
HD
22422020-10-05 Hannes Domani <ssbssa@yahoo.de>
2243
2244 * gdb.base/call-sc.c: Fix return struct on stack test case.
2245 * gdb.base/call-sc.exp: Likewise.
2246
3ee6f75d
GB
22472020-10-02 Gary Benson <gbenson@redhat.com>
2248
2249 * README: Fix "paralell".
2250
f65825ec
GB
22512020-09-30 Gary Benson <gbenson@redhat.com>
2252
2253 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2254 Convert directive to lowercase.
2255 (.Labbrev1_begin): Add missing label.
2256 (abbrev code 0x1): Remove DW_AT_stmt_list.
2257 (.Ldie_b): Likewise.
2258
5f278258
TT
22592020-09-27 Tom Tromey <tom@tromey.com>
2260
2261 * gdb.tui/new-layout.exp: Use with_test_prefix.
2262
8f9929bb
GR
22632020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2264
2265 PR python/26586
2266 * gdb.python/python.exp: add test cases for the from_tty
2267 argument to gdb.execute.
2268
c20c017b
GB
22692020-09-25 Gary Benson <gbenson@redhat.com>
2270
2271 * gdb.base/infcall-nested-structs.exp.tcl: Add
2272 additional_flags=-Wno-tautological-compare for C++
2273 tests when compiling using Clang.
2274
68d654af
GB
22752020-09-25 Gary Benson <gbenson@redhat.com>
2276
2277 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2278 for .c files.
2279
b551a89f
TT
22802020-09-24 Tom Tromey <tromey@adacore.com>
2281
2282 PR tui/26638:
2283 * gdb.tui/list.exp: Check output of "focus next".
2284
20a5fcbd
TT
22852020-09-23 Tom Tromey <tom@tromey.com>
2286
2287 * gdb.dwarf2/intbits.exp: New file.
2288 * gdb.dwarf2/intbits.c: New file.
2289
b167e53f
PA
22902020-09-20 Pedro Alves <pedro@palves.net>
2291
2292 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2293 spawn_id before calling remote_close. Close secondary MI channel.
2294
dbc49e9f
PA
22952020-09-20 Pedro Alves <pedro@palves.net>
2296
2297 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2298 fails.
2299
c8d5abea
AB
23002020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2301
2302 * gdb.fortran/array-slices.exp: Update expected results.
2303 * gdb.fortran/class-allocatable-array.exp: Likewise.
2304 * gdb.fortran/multi-dim.exp: Likewise.
2305 * gdb.fortran/vla-type.exp: Likewise.
2306 * gdb.mi/mi-vla-fortran.exp: Likewise.
2307
14f9473c
VC
23082020-09-18 Victor Collod <vcollod@nvidia.com>
2309
2310 PR gdb/26635
2311 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2312 compatible with i386, and move it to...
2313 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2314 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2315 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2316
e8ef12b9
PA
23172020-09-18 Pedro Alves <pedro@palves.net>
2318
2319 PR gdb/26631
2320 * gdb.multi/multi-target-thread-find.exp: New file.
2321
e11daf7a
PA
23222020-09-18 Pedro Alves <pedro@palves.net>
2323
2324 * gdb.multi/multi-target-continue.exp: New file, factored out from
2325 multi-target.exp.
2326 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2327 multi-target.exp.
2328 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2329 multi-target.exp.
2330 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2331 multi-target.exp.
2332 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2333 multi-target.exp.
2334 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2335 multi-target.exp.
2336 * gdb.multi/multi-target.exp: Delete.
2337
d0edc2b8
AB
23382020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2339
2340 * gdb.fortran/array-slices.exp: Add missing message data.
2341
7474326c
PA
23422020-09-17 Pedro Alves <pedro@palves.net>
2343
2344 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2345
dd23068d
PA
23462020-09-17 Pedro Alves <pedro@palves.net>
2347
2348 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2349 full prototype.
2350
0640a543
PA
23512020-09-17 Pedro Alves <pedro@palves.net>
2352
2353 * gdb.python/py-as-string.c: Add cast.
2354
ef0cdbc1
PA
23552020-09-17 Pedro Alves <pedro@palves.net>
2356
2357 * gdb.base/sizeof.c (fill): Add cast.
2358
3a5eeb8b
PA
23592020-09-17 Pedro Alves <pedro@palves.net>
2360
2361 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2362
a8129512
PA
23632020-09-17 Pedro Alves <pedro@palves.net>
2364
2365 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2366 linkage name.
2367 * gdb.base/prologue.exp: Use print /d.
2368 * gdb.base/symbol-alias.exp: Handle C++ output.
2369 * gdb.base/symbol-alias2.c: Handle C++ output.
2370 [__cplusplus] (func): Explicitly specify linkage name.
2371
a83cdcb6
PA
23722020-09-17 Pedro Alves <pedro@palves.net>
2373
2374 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2375 (struct my_key_t): ... this. Adjust all references.
2376 (struct value_t): Rename to ...
2377 (struct my_value_t): ... this. Adjust all references.
2378 (create_map, add_map_element, create_map_map)
2379 (add_map_map_element): Add casts.
2380
d4bcee5c
PA
23812020-09-17 Pedro Alves <pedro@palves.net>
2382
2383 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2384 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2385
81f90489
PA
23862020-09-17 Pedro Alves <pedro@palves.net>
2387
2388 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2389
0a229804
PA
23902020-09-17 Pedro Alves <pedro@palves.net>
2391
2392 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2393 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2394 (charfoo, intfoo): Define full prototype.
2395 * gdb.base/ptype1.c (charfoo): Define full prototype.
2396 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2397 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2398
c3e5138d
PA
23992020-09-17 Pedro Alves <pedro@palves.net>
2400
2401 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2402 Don't define.
2403 (utf_32_string): Compile for both C and C++.
2404 * gdb.base/charset.exp: Use "print /d".
2405
151fdbad
PA
24062020-09-17 Pedro Alves <pedro@palves.net>
2407
2408 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2409 (nullptr): Rename to ...
2410 (null_ptr): ... this.
2411 * gdb.base/watchpoint.exp: Adjust to rename.
2412
18a25b64
PA
24132020-09-17 Pedro Alves <pedro@palves.net>
2414
2415 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2416 (three_not_flag): Add casts.
2417
11fac337
PA
24182020-09-17 Pedro Alves <pedro@palves.net>
2419
2420 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2421 char array.
2422 (main): Add references to Barrier, TestStrings, TestStringsH and
2423 TestStringsW.
2424 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2425 and expect a full prototype in C++.
2426
52626c58
PA
24272020-09-17 Pedro Alves <pedro@palves.net>
2428
2429 * gdb.base/nested-addr.c (main): Add cast.
2430 * gdb.base/nested-addr.exp: Use "print /d".
2431
52bb0902
PA
24322020-09-17 Pedro Alves <pedro@palves.net>
2433
2434 * gdb.base/break.exp (func): New. Use it throughout when
2435 expecting a function name.
2436
73e18ac9
PA
24372020-09-17 Pedro Alves <pedro@palves.net>
2438
2439 * gdb.base/display.exp: Issue "set print asm-demangle on".
2440
c8b18808
PA
24412020-09-17 Pedro Alves <pedro@palves.net>
2442
2443 * gdb.base/find.c: Include <string.h>.
2444 (init_bufs): Add cast.
2445 * gdb.base/find.exp: Issue "set print asm-demangle on".
2446
fe830662
TT
24472020-09-16 Tom Tromey <tromey@adacore.com>
2448
2449 PR gdb/26598:
2450 * gdb.base/skipcxx.exp: New file.
2451 * gdb.base/skipcxx.cc: New file.
2452
945ff6e2
TV
24532020-09-16 Tom de Vries <tdevries@suse.de>
2454
2455 PR testsuite/26617
2456 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2457 WITH_DEBUG_SECTIONS is defined.
2458 (xstr, str): New macro.
2459 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2460 to get start and size of _Dmain.
2461 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2462 using additional_flags.
2463
da1df1db
TBA
24642020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2465
2466 * gdb.base/bp-cmds-sourced-script.c: New file.
2467 * gdb.base/bp-cmds-sourced-script.exp: New test.
2468 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2469
337882d4
TV
24702020-09-16 Tom de Vries <tdevries@suse.de>
2471
2472 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2473 get the gdb prompt after issuing "monitor exit".
2474
7361f908
TV
24752020-09-16 Tom de Vries <tdevries@suse.de>
2476
2477 PR testsuite/26624
2478 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2479
4d91ddd3
TV
24802020-09-16 Tom de Vries <tdevries@suse.de>
2481
2482 PR testsuite/26618
2483 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2484
08cc37dd
TT
24852020-09-15 Tom Tromey <tromey@adacore.com>
2486
2487 PR rust/26197:
2488 * lib/rust-support.exp (rust_llvm_version): New proc.
2489 * gdb.rust/simple.exp: Check rust_llvm_version.
2490
ee6372f2
TV
24912020-09-14 Tom de Vries <tdevries@suse.de>
2492
2493 * gdb.rust/traits.exp: Fix PATH warning.
2494
dc3a371e
PA
24952020-09-13 Pedro Alves <pedro@palves.net>
2496
2497 * gdb.base/catch-follow-exec.c (main): Add explicit return
2498 statement.
2499 * gdb.base/catch-signal.c (main): Likewise.
2500 * gdb.base/condbreak-call-false.c (main): Likewise.
2501 * gdb.base/consecutive.c (main): Add explicit return
2502 statement and return type.
2503 * gdb.base/cursal.c (main): Add explicit return statement.
2504 * gdb.base/cvexpr.c (main): Likewise.
2505 * gdb.base/display.c (main): Add explicit return statement and
2506 return type.
2507 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2508 * gdb.base/endianity.c (main): Likewise.
2509 * gdb.base/execd-prog.c (main): Likewise.
2510 * gdb.base/gdb1090.c (main): Likewise.
2511 * gdb.base/info_qt.c (main): Likewise.
2512 * gdb.base/lineinc.c (main): Likewise.
2513 * gdb.base/load-command.c (main): Likewise.
2514 * gdb.base/macscp1.c (main): Likewise.
2515 * gdb.base/pr10179-a.c (main): Likewise.
2516 * gdb.base/quit-live.c (main): Likewise.
2517 * gdb.base/scope0.c (main): Likewise.
2518 * gdb.base/settings.c (main): Likewise.
2519 * gdb.base/stack-checking.c (main): Return int.
2520 * gdb.base/varargs.c (main): Add explicit return statement.
2521 * gdb.cp/ambiguous.cc (main): Likewise.
2522 * gdb.cp/anon-struct.cc (main): Likewise.
2523 * gdb.cp/anon-union.cc (main): Likewise.
2524 * gdb.cp/bool.cc (main): Likewise.
2525 * gdb.cp/bs15503.cc (main): Likewise.
2526 * gdb.cp/cplusfuncs.cc (main): Likewise.
2527 * gdb.cp/cttiadd.cc (main): Likewise.
2528 * gdb.cp/extern-c.cc (main): Likewise.
2529 * gdb.cp/filename.cc (main): Likewise.
2530 * gdb.cp/formatted-ref.cc (main): Likewise.
2531 * gdb.cp/mb-ctor.cc (main): Likewise.
2532 * gdb.cp/member-ptr.cc (main): Likewise.
2533 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2534 * gdb.cp/overload-const.cc (main): Likewise.
2535 * gdb.cp/paren-type.cc (main): Likewise.
2536 * gdb.cp/parse-lang.cc (main): Likewise.
2537 * gdb.cp/pr-1023.cc (main): Likewise.
2538 * gdb.cp/psmang1.cc (main): Likewise.
2539 * gdb.cp/readnow-language.cc (main): Likewise.
2540 * gdb.cp/ref-params.cc (main): Likewise.
2541 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2542 * gdb.cp/virtbase2.cc (main): Likewise.
2543 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2544 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2545 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2546 * gdb.mi/mi-console.c (main): Likewise.
2547 * gdb.mi/mi-read-memory.c (main): Likewise.
2548 * gdb.modula2/multidim.c (main): Likewise.
2549 * gdb.opt/inline-small-func.c (main): Likewise.
2550 * gdb.python/py-rbreak.c (main): Likewise.
2551 * gdb.stabs/exclfwd1.c (main): Likewise.
2552 * gdb.trace/qtro.c (main): Likewise.
2553
af26601c
PA
25542020-09-13 Pedro Alves <pedro@palves.net>
2555
2556 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2557 instead of getenv.
2558
2f4b83cd
PA
25592020-09-13 Pedro Alves <pedro@palves.net>
2560
2561 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2562 instead of spawning GDB with remote_spawn.
2563 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2564 gdb_spawn instead of spawning GDB with remote_spawn.
2565
c49da0e4
PA
25662020-09-13 Pedro Alves <pedro@palves.net>
2567
2568 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2569 file and add calls to first and second.
2570 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2571 add call to f.
2572
6791b117
PA
25732020-09-13 Pedro Alves <pedro@palves.net>
2574
2575 * gdb.mi/mi-break-qualified.cc: New file.
2576 * gdb.mi/mi-break-qualified.exp: New file.
2577 * lib/mi-support.exp (mi_create_breakpoint_multi)
2578 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2579 procedures.
2580 (mi_create_breakpoint_1): New, factored out from
2581 mi_create_breakpoint.
2582
3b8d4c5c
PA
25832020-09-13 Pedro Alves <pedro@palves.net>
2584
2585 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2586 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2587 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2588 (register_class): Delete.
2589 (main): Don't call register_class.
2590
d5f96005
PA
25912020-09-13 Pedro Alves <pedro@palves.net>
2592
2593 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2594 (do_tests): Remove "calling method for small class" test.
2595 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2596 (register_class): Delete.
2597 (main): Don't call register_class.
2598 * gdb.cp/call-method-register.exp: New file, based on bits removed
2599 from classes.exp.
2600 * gdb.cp/call-method-register.cc: New file, based on bits removed
2601 from classes.cc.
2602
77f2120b
PA
26032020-09-13 Pedro Alves <pedro@palves.net>
2604
2605 * gdb.base/msym-bp-2.c: New.
2606 * gdb.base/msym-bp-shl-lib.c: New file.
2607 * gdb.base/msym-bp-shl-main-2.c: New file.
2608 * gdb.base/msym-bp-shl-main.c: New file.
2609 * gdb.base/msym-bp-shl.exp: New file.
2610 * gdb.base/msym-bp.c: New file.
2611 * gdb.base/msym-bp.exp: New file.
2612
32aea73e
JB
26132020-09-13 Joel Brobecker <brobecker@adacore.com>
2614
2615 * gdb.base/default.exp: Change $_gdb_major to 11.
2616
2a67f09d
FW
26172020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2618 Felix Willgerodt <Felix.Willgerodt@intel.com>
2619
2620 * x86-avx512bf16.c: New file.
2621 * x86-avx512bf16.exp: Likewise.
2622 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2623
ad570dd7
TV
26242020-09-11 Tom de Vries <tdevries@suse.de>
2625
2626 PR exp/26602
2627 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2628
a56f7391
TBA
26292020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2630
2631 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2632
918619e5
AM
26332020-09-10 Alan Modra <amodra@gmail.com>
2634
2635 PR 26597
2636 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2637
cac1e71d
TV
26382020-09-08 Tom de Vries <tdevries@suse.de>
2639
2640 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2641 after gdb_starti_cmd.
2642
c5cd900e
AKS
26432020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2644
2645 * lib/fortran.exp (fortran_complex8): New proc.
2646 (fortran_complex16): New proc.
2647 * gdb.fortran/complex.exp: Use routines from fortran.exp
2648 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2649 * gdb.fortran/vla-ptr-info.exp: Likewise.
2650
8f5c6526
TV
26512020-09-03 Tom de Vries <tdevries@suse.de>
2652
2653 PR breakpoint/26546
2654 * gdb.base/label-without-address.exp: Runto main first.
2655
02c6f3f1
TT
26562020-09-02 Tom Tromey <tromey@adacore.com>
2657
2658 * gdb.ada/mi_var_access.exp: Test children of access variable.
2659 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2660 * gdb.ada/mi_var_array.exp: Update.
2661
efe24f05
KB
26622020-08-31 Kevin Buettner <kevinb@redhat.com>
2663
2664 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2665 on docker w/ AUFS storage driver.
2666
973695d6
KB
26672020-08-31 Kevin Buettner <kevinb@redhat.com>
2668
2669 * gdb.base/corefile2.exp (renamed binfile): New tests.
2670
f3bd50f1
SM
26712020-08-31 Simon Marchi <simon.marchi@efficios.com>
2672
2673 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2674
22b9b4b0
SL
26752020-08-31 Simon Marchi <simon.marchi@efficios.com>
2676
2677 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2678 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2679
8efaf6b3
SM
26802020-08-31 Simon Marchi <simon.marchi@efficios.com>
2681
2682 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2683 output, printing a "not saved" value from history and printing a
2684 convenience variable created from a "not saved" value.
2685
e840f2e3
TV
26862020-08-31 Tom de Vries <tdevries@suse.de>
2687
2688 * gdb.base/eh_return.exp: Use nopie.
2689
8f57f343
PA
26902020-08-28 Pedro Alves <pedro@palves.net>
2691
2692 * gdb.base/advance-until-multiple-locations.exp
2693 (advance_overload, until_overload): Adjust to match the
2694 frame/function header instead of the source line text.
2695
626d2320
TV
26962020-08-28 Tom de Vries <tdevries@suse.de>
2697
2698 * gdb.base/label-without-address.c: New test.
2699 * gdb.base/label-without-address.exp: New file.
2700
df631783
PA
27012020-08-27 Pedro Alves <pedro@palves.net>
2702
2703 PR gdb/26523
2704 PR gdb/26524
2705 * gdb.base/advance-until-multiple-locations.cc: New.
2706 * gdb.base/advance-until-multiple-locations.exp: New.
2707
48b076bb
SM
27082020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2709
2710 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2711
c2015ce4
AB
27122020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2713
2714 * gdb.arch/amd64-byte.exp: Make test names unique, use
2715 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2716 * gdb.arch/amd64-dword.exp: Likewise.
2717 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2718 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2719 unique.
2720 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2721 * gdb.arch/amd64-word.exp: Make test names unique, use
2722 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2723 * gdb.arch/i386-byte.exp: Make test names unique, use
2724 gdb_breakpoint.
2725 * gdb.arch/i386-word.exp: Likewise.
2726
995d3a19
SV
27272020-08-25 Shahab Vahedi <shahab@synopsys.com>
2728
2729 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2730
8cac2b31
SM
27312020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2732
2733 PR gdb/26532
2734 * gdb.threads/stepi-random-signal.exp: Update pattern.
2735
2bc19622
SM
27362020-08-25 Simon Marchi <simon.marchi@efficios.com>
2737
2738 PR gdb/26532
2739 * gdb.base/ui-redirect.exp: Update pattern.
2740
b04aa1fc
GB
27412020-08-25 Gary Benson <gbenson@redhat.com>
2742
2743 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2744 when compiling with clang.
8571e9c8 2745 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2746
9f68b453
GB
27472020-08-25 Gary Benson <gbenson@redhat.com>
2748
2749 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2750 Add additional_flags=-Wno-inaccessible-base when compiling
2751 with GCC >= 10.1 or clang. Add additional_flags=-w when
2752 compiling with GCC < 10.
2753
3945d2d7
GM
27542020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2755
2756 PR m2/26372
fc5d6901
SM
2757 * gdb.modula2/multidim.c: New file.
2758 * gdb.modula2/multidim.exp: New file.
3945d2d7 2759
60122dbe
SM
27602020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2761
2762 * lib/gdb.exp (runto): Always emit fail on internal error.
2763
1eb8556f
SM
27642020-08-24 Simon Marchi <simon.marchi@efficios.com>
2765
2766 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2767 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2768 Likewise.
2769 * gdb.threads/stepi-random-signal.exp: Likewise.
2770
33bf4c5c
TBA
27712020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2772
2773 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2774 * gdb.trace/strace.exp: Ditto.
2775
c2fd7fae
AKS
27762020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2777
2778 * gdb.fortran/vla-type.exp: Skip commands not required for
2779 the Flang compiled binaries after prologue fix.
2780
326afb72
TT
27812020-08-17 Tom de Vries <tdevries@suse.de>
2782 Tom Tromey <tromey@adacore.com>
2783
2784 PR rust/26197:
2785 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2786
3ae7ab99
TT
27872020-08-17 Tom Tromey <tromey@adacore.com>
2788
2789 * gdb.ada/mi_var_access.exp: New file.
2790 * gdb.ada/mi_var_access/mi_access.adb: New file.
2791 * gdb.ada/mi_var_access/pck.adb: New file.
2792 * gdb.ada/mi_var_access/pck.ads: New file.
2793
f569c1c5
TV
27942020-08-16 Tom de Vries <tdevries@suse.de>
2795
2796 PR gdb/25350
2797 * gdb.base/eh_return.c: New test.
2798 * gdb.base/eh_return.exp: New file.
2799
3d11c30a
TV
28002020-08-15 Tom de Vries <tdevries@suse.de>
2801
2802 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2803 (mixed_func_1d_): Use fortran_charlen_t in decl.
2804
547ce8f0
TV
28052020-08-15 Tom de Vries <tdevries@suse.de>
2806
2807 PR backtrace/26390
2808 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2809 Update expected pattern.
2810
a54a7f13
PA
28112020-08-13 Pedro Alves <pedro@palves.net>
2812
2813 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2814 * gdb.fortran/library-module.exp: Likewise.
2815 * gdb.fortran/logical.exp: Likewise.
2816 * gdb.fortran/module.exp: Likewise.
2817 * gdb.fortran/print_type.exp: Likewise.
2818 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2819 * gdb.fortran/vla-datatypes.exp: Likewise.
2820 * gdb.fortran/vla-history.exp: Likewise.
2821 * gdb.fortran/vla-ptr-info.exp: Likewise.
2822 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2823 * gdb.fortran/vla-ptype.exp: Likewise.
2824 * gdb.fortran/vla-sizeof.exp: Likewise.
2825 * gdb.fortran/vla-type.exp: Likewise.
2826 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2827 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2828 * gdb.fortran/vla-value-sub.exp: Likewise.
2829 * gdb.fortran/vla-value.exp: Likewise.
2830
7a82e903
PA
28312020-08-13 Pedro Alves <pedro@palves.net>
2832
2833 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2834 * gdb.ada/access_to_packed_array.exp: Likewise.
2835 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2836 * gdb.ada/addr_arith.exp: Likewise.
2837 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2838 * gdb.ada/arr_arr.exp: Likewise.
2839 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2840 * gdb.ada/array_bounds.exp: Likewise.
2841 * gdb.ada/array_of_variable_length.exp: Likewise.
2842 * gdb.ada/array_ptr_renaming.exp: Likewise.
2843 * gdb.ada/array_subscript_addr.exp: Likewise.
2844 * gdb.ada/arraydim.exp: Likewise.
2845 * gdb.ada/arrayparam.exp: Likewise.
2846 * gdb.ada/arrayptr.exp: Likewise.
2847 * gdb.ada/assign_1.exp: Likewise.
2848 * gdb.ada/assign_arr.exp: Likewise.
2849 * gdb.ada/atomic_enum.exp: Likewise.
2850 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2851 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2852 * gdb.ada/bias.exp: Likewise.
2853 * gdb.ada/boolean_expr.exp: Likewise.
2854 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2855 * gdb.ada/bp_enum_homonym.exp: Likewise.
2856 * gdb.ada/bp_inlined_func.exp: Likewise.
2857 * gdb.ada/bp_on_var.exp: Likewise.
2858 * gdb.ada/bp_range_type.exp: Likewise.
2859 * gdb.ada/bp_reset.exp: Likewise.
2860 * gdb.ada/call_pn.exp: Likewise.
2861 * gdb.ada/catch_assert_if.exp: Likewise.
2862 * gdb.ada/catch_ex.exp: Likewise.
2863 * gdb.ada/catch_ex_std.exp: Likewise.
2864 * gdb.ada/char_enum.exp: Likewise.
2865 * gdb.ada/char_param.exp: Likewise.
2866 * gdb.ada/complete.exp: Likewise.
2867 * gdb.ada/cond_lang.exp: Likewise.
2868 * gdb.ada/convvar_comp.exp: Likewise.
2869 * gdb.ada/dgopt.exp: Likewise.
2870 * gdb.ada/disc_arr_bound.exp: Likewise.
2871 * gdb.ada/display_nested.exp: Likewise.
2872 * gdb.ada/dot_all.exp: Likewise.
2873 * gdb.ada/dyn_loc.exp: Likewise.
2874 * gdb.ada/dyn_stride.exp: Likewise.
2875 * gdb.ada/excep_handle.exp: Likewise.
2876 * gdb.ada/expr_delims.exp: Likewise.
2877 * gdb.ada/expr_with_funcall.exp: Likewise.
2878 * gdb.ada/exprs.exp: Likewise.
2879 * gdb.ada/fin_fun_out.exp: Likewise.
2880 * gdb.ada/fixed_cmp.exp: Likewise.
2881 * gdb.ada/formatted_ref.exp: Likewise.
2882 * gdb.ada/frame_arg_lang.exp: Likewise.
2883 * gdb.ada/frame_args.exp: Likewise.
2884 * gdb.ada/fullname_bp.exp: Likewise.
2885 * gdb.ada/fun_addr.exp: Likewise.
2886 * gdb.ada/fun_in_declare.exp: Likewise.
2887 * gdb.ada/fun_overload_menu.exp: Likewise.
2888 * gdb.ada/fun_renaming.exp: Likewise.
2889 * gdb.ada/funcall_char.exp: Likewise.
2890 * gdb.ada/funcall_param.exp: Likewise.
2891 * gdb.ada/funcall_ptr.exp: Likewise.
2892 * gdb.ada/funcall_ref.exp: Likewise.
2893 * gdb.ada/homonym.exp: Likewise.
2894 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2895 * gdb.ada/info_auto_lang.exp: Likewise.
2896 * gdb.ada/info_exc.exp: Likewise.
2897 * gdb.ada/info_types.exp: Likewise.
2898 * gdb.ada/int_deref.exp: Likewise.
2899 * gdb.ada/interface.exp: Likewise.
2900 * gdb.ada/iwide.exp: Likewise.
2901 * gdb.ada/lang_switch.exp: Likewise.
2902 * gdb.ada/length_cond.exp: Likewise.
2903 * gdb.ada/maint_with_ada.exp: Likewise.
2904 * gdb.ada/mi_catch_assert.exp: Likewise.
2905 * gdb.ada/mi_catch_ex.exp: Likewise.
2906 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2907 * gdb.ada/mi_dyn_arr.exp: Likewise.
2908 * gdb.ada/mi_ex_cond.exp: Likewise.
2909 * gdb.ada/mi_exc_info.exp: Likewise.
2910 * gdb.ada/mi_interface.exp: Likewise.
2911 * gdb.ada/mi_prot.exp: Likewise.
2912 * gdb.ada/mi_ref_changeable.exp: Likewise.
2913 * gdb.ada/mi_string_access.exp: Likewise.
2914 * gdb.ada/mi_task_arg.exp: Likewise.
2915 * gdb.ada/mi_task_info.exp: Likewise.
2916 * gdb.ada/mi_var_array.exp: Likewise.
2917 * gdb.ada/mi_var_union.exp: Likewise.
2918 * gdb.ada/mi_variant.exp: Likewise.
2919 * gdb.ada/minsyms.exp: Likewise.
2920 * gdb.ada/mod_from_name.exp: Likewise.
2921 * gdb.ada/nested.exp: Likewise.
2922 * gdb.ada/null_array.exp: Likewise.
2923 * gdb.ada/optim_drec.exp: Likewise.
2924 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2925 * gdb.ada/packed_array_assign.exp: Likewise.
2926 * gdb.ada/packed_tagged.exp: Likewise.
2927 * gdb.ada/pp-rec-component.exp: Likewise.
2928 * gdb.ada/print_chars.exp: Likewise.
2929 * gdb.ada/print_pc.exp: Likewise.
2930 * gdb.ada/ptr_typedef.exp: Likewise.
2931 * gdb.ada/ptype_arith_binop.exp: Likewise.
2932 * gdb.ada/ptype_array.exp: Likewise.
2933 * gdb.ada/ptype_field.exp: Likewise.
2934 * gdb.ada/ptype_tagged_param.exp: Likewise.
2935 * gdb.ada/ptype_union.exp: Likewise.
2936 * gdb.ada/py_range.exp: Likewise.
2937 * gdb.ada/py_taft.exp: Likewise.
2938 * gdb.ada/rdv_wait.exp: Likewise.
2939 * gdb.ada/rec_comp.exp: Likewise.
2940 * gdb.ada/rec_return.exp: Likewise.
2941 * gdb.ada/ref_param.exp: Likewise.
2942 * gdb.ada/ref_tick_size.exp: Likewise.
2943 * gdb.ada/rename_subscript_param.exp: Likewise.
2944 * gdb.ada/repeat_dyn.exp: Likewise.
2945 * gdb.ada/same_component_name.exp: Likewise.
2946 * gdb.ada/same_enum.exp: Likewise.
2947 * gdb.ada/scalar_storage.exp: Likewise.
2948 * gdb.ada/set_wstr.exp: Likewise.
2949 * gdb.ada/small_reg_param.exp: Likewise.
2950 * gdb.ada/str_binop_equal.exp: Likewise.
2951 * gdb.ada/str_ref_cmp.exp: Likewise.
2952 * gdb.ada/str_uninit.exp: Likewise.
2953 * gdb.ada/sub_variant.exp: Likewise.
2954 * gdb.ada/sym_print_name.exp: Likewise.
2955 * gdb.ada/taft_type.exp: Likewise.
2956 * gdb.ada/tagged.exp: Likewise.
2957 * gdb.ada/tagged_access.exp: Likewise.
2958 * gdb.ada/task_bp.exp: Likewise.
2959 * gdb.ada/task_switch_in_core.exp: Likewise.
2960 * gdb.ada/tasks.exp: Likewise.
2961 * gdb.ada/tick_last_segv.exp: Likewise.
2962 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2963 * gdb.ada/type_coercion.exp: Likewise.
2964 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2965 * gdb.ada/unchecked_union.exp: Likewise.
2966 * gdb.ada/uninitialized_vars.exp: Likewise.
2967 * gdb.ada/var_arr_attrs.exp: Likewise.
2968 * gdb.ada/var_arr_typedef.exp: Likewise.
2969 * gdb.ada/var_rec_arr.exp: Likewise.
2970 * gdb.ada/variant-record.exp: Likewise.
2971 * gdb.ada/variant.exp: Likewise.
2972 * gdb.ada/variant_record_packed_array.exp: Likewise.
2973 * gdb.ada/varsize_limit.exp: Likewise.
2974 * gdb.ada/whatis_array_val.exp: Likewise.
2975 * gdb.ada/widewide.exp: Likewise.
2976 * gdb.ada/win_fu_syms.exp: Likewise.
2977
29782020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2979
2980 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2981
10c381b5
AB
29822020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2983
2984 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2985 unset the array variable.
2986
8f34b746
TV
29872020-08-03 Tom de Vries <tdevries@suse.de>
2988
2989 PR symtab/26333
2990 * lib/dwarf.exp (DW_LNE_user): New proc.
2991 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2992 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2993
0245e136
KB
29942020-07-31 Kevin Buettner <kevinb@redhat.com>
2995
2996 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2997 to 'uintptr_t'
2998 (inttypes.h): Include.
2999
9ef1ec5d
KB
30002020-07-31 Kevin Buettner <kevinb@redhat.com>
3001
3002 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3003 (C5_24k): Delete.
3004 (C5_8k, C5_64k, C5_256k): New macros.
3005 (buf_ro): Allocate 256 KiB of initialized data.
3006
4c55e970
TBA
30072020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3008
3009 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3010 that attempt to overwrite an existing condition with a condition
3011 that fails parsing and also with a condition that parses fine
3012 but contains junk at the end.
3013
1e620590
TBA
30142020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3015
3016 * gdb.base/condbreak-bad.c: New test.
3017 * gdb.base/condbreak-bad.exp: New file.
3018
e12dcc50
TV
30192020-07-30 Tom de Vries <tdevries@suse.de>
3020
3021 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3022 out of ...
3023 (GDBInfoModuleSymbols::check_entry): ... here.
3024 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3025 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3026 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3027
6cc64caa
TV
30282020-07-30 Tom de Vries <tdevries@suse.de>
3029
3030 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3031 "__class_some_module_Number_t" optional.
3032
90fd07fc
TV
30332020-07-29 Tom de Vries <tdevries@suse.de>
3034
3035 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3036 multiple locations.
3037
f5c79e97
TV
30382020-07-29 Tom de Vries <tdevries@suse.de>
3039
3040 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3041 rather than function name.
3042
f75a0693
AB
30432020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3044
3045 PR symtab/26270:
3046 * gdb.cp/disasm-func-name.cc: New file.
3047 * gdb.cp/disasm-func-name.exp: New file.
3048
4888741a
TT
30492020-07-28 Tom Tromey <tromey@adacore.com>
3050
3051 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3052 'varval' location.
3053
43d5901d
AB
30542020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3055
3056 * gdb.python/py-unwind.py: Update to make use of a register
3057 descriptor.
3058
14fa8fb3
AB
30592020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3060
3061 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3062
e79eb02f
AB
30632020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3064
3065 PR fortran/23051
3066 PR fortran/26139
3067 * gdb.fortran/class-allocatable-array.exp: New file.
3068 * gdb.fortran/class-allocatable-array.f90: New file.
3069 * gdb.fortran/pointer-to-pointer.exp: New file.
3070 * gdb.fortran/pointer-to-pointer.f90: New file.
3071
876518dd
TV
30722020-07-25 Tom de Vries <tdevries@suse.de>
3073
3074 PR symtab/26243
3075 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3076 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3077
6dcfb80a
TV
30782020-07-24 Tom de Vries <tdevries@suse.de>
3079
3080 PR testsuite/26293
3081 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3082
e7bc9db8
PA
30832020-07-23 Pedro Alves <pedro@palves.net>
3084
3085 * gdb.server/server-kill.exp (prepare): New, factored out from the
3086 top level.
3087 (kill_server): New.
3088 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3089 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3090
78344df7
AB
30912020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3092
3093 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3094
25dfed24
SL
30952020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3096
3097 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3098 Initialize to empty string at top level.
3099 (gdb_wrapper_init): Revert check for file existence on build.
3100 Build the wrapper in its default place, not a build-specific
3101 location. When host == build, make the pathname absolute.
3102 (gdb_compile): Delete leftover declaration of
3103 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3104 string instead of uninitialized.
3105
7da515fd
KB
31062020-07-22 Kevin Buettner <kevinb@redhat.com>
3107
3108 * gdb.base/corefile2.exp: New file.
3109 * gdb.base/coremaker2.exp: New file.
3110
9c5ec5c2
KB
31112020-07-22 Kevin Buettner <kevinb@redhat.com>
3112
3113 * gdb.base/coredump-filter.exp: Add second
3114 non-Private-Shared-Anon-File test.
3115 (test_disasm): Rename binfile for test which is expected
3116 to fail.
3117
f9e233c9
KB
31182020-07-22 Kevin Buettner <kevinb@redhat.com>
3119
3120 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3121 data in core file".
3122 * gdb.base/coremaker.c (buf2ro): New global.
3123 (mmapdata): Add a read-only mmap mapping.
3124
94c265d7
KB
31252020-07-22 Kevin Buettner <kevinb@redhat.com>
3126
3127 PR corefiles/25631
3128 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3129 New test.
3130 * gdb.base/coremaker.c (buf3): New global.
3131 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3132 flags.
3133
31342020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3135
3136 * gdb.base/coremaker.c (filler_ro): New global constant.
3137
32fa152e
TT
31382020-07-22 Tom Tromey <tromey@adacore.com>
3139
3140 * gdb.ada/mi_prot.exp: New file.
3141 * gdb.ada/mi_prot/pkg.adb: New file.
3142 * gdb.ada/mi_prot/pkg.ads: New file.
3143 * gdb.ada/mi_prot/prot.adb: New file.
3144
c8474dc3
TBA
31452020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3146
3147 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3148 loads two JITers.
3149
baf8791e
AB
31502020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3151
3152 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3153
f7306dac
AB
31542020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3155
3156 * gdb.python/py-arch-reg-names.exp: Additional tests.
3157
6d3d6e4b
TV
31582020-07-21 Tom de Vries <tdevries@suse.de>
3159
3160 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3161 breakpoint locations".
3162 * gdb.reverse/solib-reverse.exp: Same.
3163
803d0592
TV
31642020-07-21 Tom de Vries <tdevries@suse.de>
3165
3166 * gdb.reverse/step-reverse.c (callee): Merge statements.
3167
e9bdc510
TV
31682020-07-21 Tom de Vries <tdevries@suse.de>
3169
3170 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3171 line numbers for some variables.
3172
f0f9e75a
TV
31732020-07-21 Tom de Vries <tdevries@suse.de>
3174
3175 * gdb.opt/inline-locals.c (init_array): New func.
3176 (func1): Use init_array.
3177 * gdb.opt/inline-locals.exp: Update pattern.
3178
bd460ecb
TV
31792020-07-21 Tom de Vries <tdevries@suse.de>
3180
3181 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3182 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3183
ae5369e7
LC
31842020-07-20 Ludovic Courtès <ludo@gnu.org>
3185
3186 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3187 * gdb.guile/types-module.exp: Remove "ERROR:" from
3188 regexps since Guile 3.0 no longer prints that.
3189
68cf161c
LC
31902020-07-20 Ludovic Courtès <ludo@gnu.org>
3191
3192 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3193 error regexp to match on Guile 2.2.
3194
c14b4913
GB
31952020-07-20 Gary Benson <gbenson@redhat.com>
3196
3197 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3198 with clang.
3199
b243ba58
TV
32002020-07-20 Tom de Vries <tdevries@suse.de>
3201
3202 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3203 (omp_set_lock_in_order): New function.
3204 (single_scope, multi_scope, nested_func, nested_parallel): Use
3205 omp_set_lock_in_order and omp_unset_lock.
3206 (main): Init and destroy lock and lock2.
3207
c06ad8b5
TV
32082020-07-20 Tom de Vries <tdevries@suse.de>
3209
3210 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3211
6e22f117
TV
32122020-07-20 Tom de Vries <tdevries@suse.de>
3213
3214 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3215
33176ea7
TV
32162020-07-17 Tom de Vries <tdevries@suse.de>
3217
3218 * gdb.base/valgrind-infcall-2.c: New test.
3219 * gdb.base/valgrind-infcall-2.exp: New file.
3220 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3221
90c3ec2d
TV
32222020-07-17 Tom de Vries <tdevries@suse.de>
3223
3224 * gdb.dlang/circular.c (found): Use found_label as label name.
3225 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3226 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3227 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3228 * gdb.dwarf2/ada-linkage-name.exp: Same.
3229 * gdb.dwarf2/arr-subrange.exp: Same.
3230 * gdb.dwarf2/atomic-type.exp: Same.
3231 * gdb.dwarf2/comp-unit-lang.exp: Same.
3232 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3233 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3234 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3235 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3236 * gdb.dwarf2/implptr-64bit.exp: Same.
3237 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3238 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3239 * gdb.dwarf2/imported-unit.exp: Same.
3240 * gdb.dwarf2/main-subprogram.exp: Same.
3241 * gdb.dwarf2/missing-type-name.exp: Same.
3242 * gdb.dwarf2/nonvar-access.exp: Same.
3243 * gdb.dwarf2/struct-with-sig.exp: Same.
3244 * gdb.dwarf2/typedef-void-finish.exp: Same.
3245 * gdb.dwarf2/void-type.exp: Same.
3246
10da644d
TV
32472020-07-17 Tom de Vries <tdevries@suse.de>
3248
3249 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3250 src parameter.
3251 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3252 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3253 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3254 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3255 * gdb.dwarf2/dwz.exp: Same.
3256 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3257 * gdb.dwarf2/implref-array.exp: Same.
3258 * gdb.dwarf2/implref-const.exp: Same.
3259 * gdb.dwarf2/implref-global.exp: Same.
3260 * gdb.dwarf2/implref-struct.exp: Same.
3261 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3262 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3263 * gdb.dwarf2/var-access.exp: Same.
3264 * gdb.dwarf2/varval.exp: Same.
3265 * gdb.trace/entry-values.exp: Same.
3266
315e6afc
TV
32672020-07-17 Tom de Vries <tdevries@suse.de>
3268
3269 * lib/dwarf.exp (Dwarf::extern): Remove.
3270 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3271 * gdb.dlang/circular.exp: Same.
3272 * gdb.dwarf2/comp-unit-lang.exp: Same.
3273 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3274 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3275 * gdb.dwarf2/dwz.exp: Same.
3276 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3277 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3278 * gdb.dwarf2/imported-unit.exp: Same.
3279 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3280
5597c940
SL
32812020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3282
3283 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3284 Use double quotes instead of single quotes.
3285
d0ce17d8
CT
32862020-07-16 Caroline Tice <cmtice@google.com>
3287
3288 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3289 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3290
853772cc
TV
32912020-07-16 Tom de Vries <tdevries@suse.de>
3292
3293 * lib/dwarf.exp (program): Initialize _line.
3294 (DW_LNE_end_sequence): Reinitialize _line.
3295 (DW_LNS_advance_line): Update _line.
3296 (line): New proc.
3297 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3298 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3299 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3300 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3301 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3302 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3303
fe07b572
AB
33042020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3305
3306 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3307 generic.
3308
52781cce
TV
33092020-07-15 Tom de Vries <tdevries@suse.de>
3310
3311 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3312 is_amd64_regs_target.
3313
3dcc261c
AB
33142020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3315
3316 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3317 * gdb.fortran/ptype-on-functions.f90: Likewise.
3318
054a0959
SM
33192020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3320
3321 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3322 values in documentation for addr_size to 4 and 8.
3323
ccb9eba6
AB
33242020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3325
3326 * gdb.arch/amd64-osabi.exp: Update.
3327 * gdb.arch/arm-disassembler-options.exp: Update.
3328 * gdb.arch/powerpc-disassembler-options.exp: Update.
3329 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3330 * gdb.arch/s390-disassembler-options.exp: Update.
3331 * gdb.base/all-architectures.exp.tcl: Update.
3332 * gdb.base/attach-pie-noexec.exp: Update.
3333 * gdb.base/catch-syscall.exp: Update.
3334 * gdb.xml/tdesc-arch.exp: Update.
3335
025a39a7
TV
33362020-07-14 Tom de Vries <tdevries@suse.de>
3337
3338 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3339 (local_gettid): ... this.
3340 (fn): Update.
3341
74e4b667
SL
33422020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3343
3344 * gdb.base/info_sources.exp: Skip directory match tests on
3345 remote hosts.
3346
f413dd74
GB
33472020-07-13 Gary Benson <gbenson@redhat.com>
3348
3349 * gdb.base/savedregs.exp (caller): Use parentheses to
3350 make expected expression evaluation ordering explicit.
3351
915771bb
GB
33522020-07-13 Gary Benson <gbenson@redhat.com>
3353
3354 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3355
2a122642
GB
33562020-07-13 Gary Benson <gbenson@redhat.com>
3357
3358 * gdb.base/bigcore.c (main): Use a volatile pointer when
3359 attempting to trigger a SIGSEGV.
3360 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3361 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3362 * gdb.base/savedregs.c (thrower): Likewise.
3363 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3364
3f00c730
GB
33652020-07-13 Gary Benson <gbenson@redhat.com>
3366
3367 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3368 defining and using VLA structure fields into...
3369 * gdb.base/vla-struct-fields.c: New file.
3370 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3371 tests into...
3372 * gdb.base/vla-struct-fields.exp: New file.
3373
963eeee4
TV
33742020-07-13 Tom de Vries <tdevries@suse.de>
3375
3376 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3377 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3378 * gdb.base/gold-gdb-index.exp: Same.
3379 * gdb.base/morestack.exp: Same.
3380
0ed35c9a
DX
33812020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3382
3383 PR rust/26121
3384 * gdb.rust/modules.rs: Prevent linker from discarding test
3385 symbol.
3386
4fdba23d
PA
33872020-07-10 Pedro Alves <pedro@palves.net>
3388
3389 PR gdb/26199
3390 * gdb.multi/multi-target.c (exit_thread): New.
3391 (thread_start): Break loop if EXIT_THREAD.
3392 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3393 (top level) Call test_no_resumed.
3394
15f3b077
TT
33952020-07-08 Tom Tromey <tromey@adacore.com>
3396
3397 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3398 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3399
9fc501fd
AB
34002020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3401
3402 PR python/22748
3403 * gdb.opt/inline-frame-tailcall.c: New file.
3404 * gdb.opt/inline-frame-tailcall.exp: New file.
3405 * gdb.python/py-unwind-inline.c: New file.
3406 * gdb.python/py-unwind-inline.exp: New file.
3407 * gdb.python/py-unwind-inline.py: New file.
3408
64cb3757
AB
34092020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3410
3411 * gdb.python/py-arch-reg-groups.exp: New file.
3412
0f767f94
AB
34132020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3414
3415 * gdb.python/py-arch-reg-names.exp: New file.
3416
87dbc774
AB
34172020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3418
3419 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3420 gdb.PendingFrame.architecture method.
3421
d8cc8af6
TV
34222020-07-06 Tom de Vries <tdevries@suse.de>
3423
3424 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3425
3c8ea5be
PA
34262020-07-03 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3429 explicitly write negative numbers.
3430 * gdb.base/structs2.exp: Adjust expected output.
3431
bf90c83a
PA
34322020-07-03 Pedro Alves <palves@redhat.com>
3433
3434 * gdb.base/charset.c (init_string): Change all char parameters to
3435 unsigned char parameters.
3436
2eb82157
PA
34372020-07-03 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.base/call-sc.exp (start_scalars_test): Use
3440 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3441 * gdb.base/overlays.c: Remove references to PARAMS.
3442 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3443 * gdb.base/reread.exp: Don't set 'prototypes' global.
3444 * gdb.base/structs.exp (start_structs_test): Use
3445 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3446 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3447 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3448 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3449 call.
3450 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3451
9adda7af
PA
34522020-07-03 Pedro Alves <palves@redhat.com>
3453
3454 * gdb.base/m32rovly.c: Delete.
3455 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3456
2a17c803
PW
34572020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3458
3459 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3460 of gdb_py_test_multiple.
3461 * gdb.python/py-cmd.exp: Likewise.
3462 * gdb.python/py-events.exp: Likewise.
3463 * gdb.python/py-function.exp: Likewise.
3464 * gdb.python/py-inferior.exp: Likewise.
3465 * gdb.python/py-infthread.exp: Likewise.
3466 * gdb.python/py-linetable.exp: Likewise.
3467 * gdb.python/py-parameter.exp: Likewise.
3468 * gdb.python/py-value.exp: Likewise.
3469
b011fe1a
TV
34702020-06-30 Tom de Vries <tdevries@suse.de>
3471
3472 PR testsuite/26175
3473 * lib/future.exp (gdb_default_target_compile): Detect and handle
3474 early_flags.
3475
df5b8876
SM
34762020-06-29 Simon Marchi <simon.marchi@efficios.com>
3477
3478 * boards/simavr.exp (gdb_load): Catch errors when closing
3479 previous connection. Close connection, wait for process and
3480 unset simavr_spawn_id on failure.
3481
a3ca48cd
TV
34822020-06-29 Tom de Vries <tdevries@suse.de>
3483
3484 * lib/gdb.exp (unknown): Make test-case unresolved.
3485
b0237c0e
TV
34862020-06-29 Tom de Vries <tdevries@suse.de>
3487
3488 PR gdb/25475
3489 * gdb.server/solib-list.exp: Verify that the symbol reload
3490 confirmation question is asked.
3491
c0b3b3bd
PW
34922020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3493
3494 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3495 have a input seq nr in each pass message.
fe4c3d43 3496 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3497 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3498 * gdb.python/python.exp: Make test names unique,
3499 use gdb_test_multiline instead of gdb_py_test_multiple,
3500 use $gdb_test_name.
3501 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3502
1776e3e5
NA
35032020-06-26 Nick Alcock <nick.alcock@oracle.com>
3504
3505 * configure.ac: Add --enable-libctf.
3506 * aclocal.m4: sinclude ../config/enable.m4.
3507 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3508 * lib/gdb.exp (skip_ctf_tests): Use it.
3509 * gdb.base/ctf-constvars.exp: Error message tweak.
3510 * gdb.base/ctf-ptype.exp: Likewise.
3511 * configure: Regenerate.
3512
f53b3eeb
GB
35132020-06-26 Gary Benson <gbenson@redhat.com>
3514
3515 * gdb.cp/try_catch.cc: Include string.h.
3516 (main): Replace comparison against string literal with
3517 strcmp, avoiding build failure with -Wstring-compare.
3518 Add "marker test-complete".
3519 * gdb.cp/try_catch.exp: Run the test to the above marker,
3520 then verify that the value of "test" is still true.
3521
6d74da72
AB
35222020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3523
3524 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3525
2e52d038
AB
35262020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3527
3528 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3529
3b9fce96
AB
35302020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3531
3532 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3533 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3534 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3535 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3536 * gdb.arch/riscv-tdesc-loading.exp: New file.
3537
ed69cbc8
AB
35382020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3539
3540 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3541
767a879e
AB
35422020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3543
3544 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3545 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3546 * gdb.arch/riscv-tdesc-regs.c: New file.
3547 * gdb.arch/riscv-tdesc-regs.exp: New file.
3548
221db974
PA
35492020-06-24 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.arch/amd64-entry-value-paramref.exp: Use
3552 prepare_for_testing_full and don't pass "c++" for the .S file
3553 build spec.
3554 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3555 $options, since it's an assembly file. Remove -Wno-deprecated.
3556 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3557 compiling C++ programs.
3558
331733cd
PA
35592020-06-24 Pedro Alves <palves@redhat.com>
3560
3561 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3562 Clang, add "-Wno-unknown-warning-option" to the options.
3563
caa7fd04
AB
35642020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3565
3566 * gdb.xml/tdesc-reload.c: New file.
3567 * gdb.xml/tdesc-reload.exp: New file.
3568 * gdb.xml/maint-xml-dump-01.xml: New file.
3569 * gdb.xml/maint-xml-dump-02.xml: New file.
3570 * gdb.xml/maint-xml-dump.exp: New file.
3571
bb8d1260
SL
35722020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3573
3574 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3575 Adjust for omitted commands when TUI is disabled.
3576
7e4b9c4c
GB
35772020-06-23 Gary Benson <gbenson@redhat.com>
3578 Pedro Alves <palves@redhat.com>
3579
3580 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3581 * gdb.cp/nsimport.cc: Likewise.
3582 * gdb.cp/nsnested.cc: Likewise.
3583 * gdb.cp/nsnoimports.cc: Likewise.
3584 * gdb.cp/nsusing.cc: Likewise.
3585 * gdb.cp/smartp.cc: Likewise.
3586 * gdb.python/py-pp-integral.c: Likewise.
3587 * gdb.python/py-pp-re-notag.c: Likewise.
3588
2e573c0a
GB
35892020-06-23 Gary Benson <gbenson@redhat.com>
3590
3591 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3592 * gdb.cp/nsimport.cc: Likewise.
3593 * gdb.cp/nsnested.cc: Likewise.
3594 * gdb.cp/nsnoimports.cc: Likewise.
3595 * gdb.cp/nsusing.cc: Likewise.
3596 * gdb.cp/smartp.cc: Likewise.
3597 * gdb.python/py-pp-integral.c: Likewise.
3598 * gdb.python/py-pp-re-notag.c: Likewise.
3599
746ebfe8
PW
36002020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3601
3602 * gdb.base/default-args.exp: New test.
3603 * gdb.base/default-args.c: New file.
3604 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3605 * gdb.base/default.exp: Update to new help text.
3606 * gdb.base/help.exp: Likewise.
3607 * gdb.base/page.exp: Likewise.
3608 * gdb.base/style.exp: Likewise.
3609 * gdb.guile/guile.exp: Likewise.
3610 * gdb.python/python.exp: Likewise.
3611
e822f2cd
SL
36122020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3613
3614 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3615 remote host. Fix search path syntax on Windows host.
3616
48e9cc84
PW
36172020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3618
3619 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3620 over 'exec-file-mismatch'.
3621 * gdb.base/attach.c: Mark should_exit volatile.
3622 * gdb.base/attach2.c: Likewise. Add a comment explaining
3623 why the sleep cannot be big.
3624 * gdb.base/attach3.c: New file.
3625
160f8a8f
SL
36262020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3627
3628 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3629 prefix optional.
3630
4d91c2a4
SL
36312020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3632
3633 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3634 for remote host.
3635
87f83f20
SL
36362020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3637 Hafiz Abid Qadeer <abidh@codesourcery.com>
3638
3639 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3640 file sent to remote host.
3641 (top level): Allow int32_t as type of 32-bit register.
3642
37ab8655
TV
36432020-06-19 Tom de Vries <tdevries@suse.de>
3644
3645 * lib/gdb.exp (gdb_note): New proc.
3646 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3647 (gdb_default_target_compile): ... here. Only call
3648 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3649 (use_gdb_compile): Change to array.
3650 (toplevel): Update sets of use_gdb_compile to specify language.
3651 Warn about default_target_compile override. Store dejagnu's version
3652 of default_target_compile in dejagnu_default_target_compile.
3653
a8a56685
TV
36542020-06-18 Tom de Vries <tdevries@suse.de>
3655
3656 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3657 (default_gdb_init): ... here.
3658
581bea2c
SL
36592020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3660
3661 Fix TUI support checks in gdb.tui tests.
3662
3663 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3664 just say UNSUPPORTED.
3665 * gdb.tui/corefile-run.exp: Likewise.
3666 * gdb.tui/empty.exp: Likewise.
3667 * gdb.tui/list-before.exp: Likewise.
3668 * gdb.tui/list.exp: Likewise.
3669 * gdb.tui/main.exp: Likewise.
3670 * gdb.tui/regs.exp: Likewise.
3671 * gdb.tui/resize.exp: Likewise.
3672 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3673 * gdb.tui/tui-layout-asm.exp: Likewise.
3674 * gdb.tui/tui-missing-src.exp: Likewise.
3675 * gdb.tui/winheight.exp: Likewise.
3676 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3677
05e682e3
SL
36782020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3679
3680 Fix TCL error in gdb.python/py-format-string.exp.
3681
3682 * gdb.python/py-format-string.exp: Move test for python support
3683 earlier, out of function body.
3684
efb763a5
SM
36852020-06-15 Simon Marchi <simon.marchi@efficios.com>
3686
3687 * gdb.base/index-cache-load-twice.c: New.
3688 * gdb.base/index-cache-load-twice.exp: New.
3689
43327b20
KS
36902020-06-17 Keith Seitz <keiths@redhat.com>
3691
99cf27cf 3692 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3693 when executing "gdb --configuration".
3694
081e778c
TV
36952020-06-17 Tom de Vries <tdevries@suse.de>
3696
3697 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3698 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3699 conditional on presence of gdb_tcl_unknown.
3700 (gdb_finish): Make override undo conditional on presence of
3701 gdb_tcl_unknown.
3702
d2d1ea20
TT
37032020-06-16 Tom Tromey <tom@tromey.com>
3704
3705 * gdb.python/tui-window.py (failwin): New function. Register it
3706 as a TUI window type.
3707 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3708
c802e8a7
GB
37092020-06-16 Gary Benson <gbenson@redhat.com>
3710
3711 * gdb.python/py-nested-maps.c (create_map): Add missing return
3712 value.
3713 (create_map_map): Likewise.
3714
ff08abb8
TBA
37152020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3716
3717 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3718 variable.
3719 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3720 and use the already-defined 'options' variable.
3721
a29d5112
AB
37222020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3723 Tom de Vries <tdevries@suse.de>
3724
3725 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3726 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3727 (gdb_setup_known_globals): New proc.
3728 (gdb_cleanup_globals): New proc.
3729 * lib/gdb.exp (load_lib): New override proc.
3730 (gdb_stdin_log_init): Set var in_file as persistent global.
3731 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3732 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3733 fpc_compiler as persistent global.
3734
8c74a764
TV
37352020-06-12 Tom de Vries <tdevries@suse.de>
3736
3737 * lib/tuiterm.exp (spawn): Rename to ...
3738 (tui_spawn): ... this.
3739 (toplevel): Move rename of spawn ...
3740 (gdb_init_tuiterm): ... here. New proc.
3741 (gdb_finish_tuiterm): New proc.
3742 * lib/gdb.exp (gdb_finish_hooks): New global var.
3743 (gdb_finish): Handle gdb_finish_hooks.
3744 (tuiterm_env): New proc.
3745 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3746 tuiterm_env.
3747 * gdb.tui/basic.exp: Same.
3748 * gdb.tui/corefile-run.exp: Same.
3749 * gdb.tui/empty.exp: Same.
3750 * gdb.tui/list-before.exp: Same.
3751 * gdb.tui/list.exp: Same.
3752 * gdb.tui/main.exp: Same.
3753 * gdb.tui/new-layout.exp: Same.
3754 * gdb.tui/regs.exp: Same.
3755 * gdb.tui/resize.exp: Same.
3756 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3757 * gdb.tui/tui-layout-asm.exp: Same.
3758 * gdb.tui/tui-missing-src.exp: Same.
3759 * gdb.tui/winheight.exp: Same.
3760
26783bce
TV
37612020-06-12 Tom de Vries <tdevries@suse.de>
3762
3763 PR testsuite/26110
3764 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3765 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3766
2b4e6a3f
TT
37672020-06-11 Tom Tromey <tom@tromey.com>
3768
3769 PR gdb/18318:
3770 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3771 floating point tests.
3772
2f33032a
KS
37732020-06-11 Keith Seitz <keiths@redhat.com>
3774
3775 PR gdb/21356
3776 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3777 vla_struct.
3778 Add new struct vla_typedef and union vla_typedef_union and
3779 corresponding instantiation objects.
3780 Initialize new objects.
3781 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3782 and vla_typedef_union_object.
3783 Fixup type for vla_struct_object.
3784
a8baf0a3
TV
37852020-06-11 Tom de Vries <tdevries@suse.de>
3786
3787 * lib/gdb.exp (with_override): New proc, factored out of ...
3788 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3789
7ab96794
TV
37902020-06-10 Tom de Vries <tdevries@suse.de>
3791
3792 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3793
cab5c3b7
SM
37942020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3795
3796 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3797 parameter, update callers.
3798
f8c41851
SM
37992020-06-04 Simon Marchi <simon.marchi@efficios.com>
3800
3801 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3802 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3803 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3804
1c07a73f
TV
38052020-06-04 Tom de Vries <tdevries@suse.de>
3806
3807 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3808
95146b5d
TV
38092020-06-04 Tom de Vries <tdevries@suse.de>
3810
3811 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3812 exp_continue.
3813
0cfcd4f0
TV
38142020-06-04 Tom de Vries <tdevries@suse.de>
3815
3816 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3817
f9b5d5ea
TV
38182020-06-03 Tom de Vries <tdevries@suse.de>
3819
3820 PR symtab/26046
3821 * gdb.cp/breakpoint-locs-2.cc: New test.
3822 * gdb.cp/breakpoint-locs.cc: New test.
3823 * gdb.cp/breakpoint-locs.exp: New file.
3824 * gdb.cp/breakpoint-locs.h: New test.
3825
5144dfba
TV
38262020-06-03 Tom de Vries <tdevries@suse.de>
3827
3828 PR testsuite/25609
3829 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3830 value of global verbose.
3831 * gdb.base/jit-elf.exp: Same.
3832 * gdb.base/jit-reader.exp: Same.
3833
621eacdf
TV
38342020-06-02 Tom de Vries <tdevries@suse.de>
3835
3836 * gdb.dwarf2/multidictionary.exp: Don't use
3837 gdb_spawn_with_cmdline_opts.
3838
1313c56e
AB
38392020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3840
3841 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3842 use_header case.
3843 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3844 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3845 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3846 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3847 * gdb.dwarf2/dw2-inline-header.c: New file.
3848 * gdb.dwarf2/dw2-inline-header.h: New file.
3849
f68f85b5
PA
38502020-05-30 Pedro Alves <palves@redhat.com>
3851
3852 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3853 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3854
678048e8
GB
38552020-05-29 Gary Benson <gbenson@redhat.com>
3856
3857 * gdb.compile/compile-cplus.exp (additional_flags): Also
3858 set when building with clang.
3859 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3860 when building with clang.
3861
9fcafd23
GB
38622020-05-29 Gary Benson <gbenson@redhat.com>
3863
3864 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3865 building with clang.
3866 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3867
735d5a07
GB
38682020-05-29 Gary Benson <gbenson@redhat.com>
3869
3870 * gdb.cp/koenig.exp (prepare_for_testing): Add
3871 additional_flags=-Wno-unused-comparison.
3872 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3873
4ad2c6a0
GB
38742020-05-28 Gary Benson <gbenson@redhat.com>
3875
3876 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3877 statement.
3878
09fe663e
GB
38792020-05-28 Gary Benson <gbenson@redhat.com>
3880
3881 * gdb.cp/classes.exp (prepare_for_testing): Add
3882 additional_flags=-Wno-deprecated-register.
3883 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3884 * gdb.cp/misc.exp: Likewise.
3885
cee00f17
GB
38862020-05-28 Gary Benson <gbenson@redhat.com>
3887
3888 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3889 (test_op_new::operator new): Add return statement.
3890 (test_op_new_array::operator new[]): Likewise.
3891
636edd00
PA
38922020-05-27 Pedro Alves <palves@redhat.com>
3893
3894 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3895 check. Use test_gdb_complete_unique instead of
3896 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3897 test_gdb_complete_multiple instead of
3898 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3899
c2b75043
LM
39002020-05-27 Luis Machado <luis.machado@linaro.org>
3901
3902 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3903 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3904 * gdb.arch/arm-disassembler-options.exp: Likewise.
3905 * gdb.arch/arm-disp-step.exp: Likewise.
3906 * gdb.arch/thumb-prologue.exp: Likewise.
3907 * gdb.base/async.exp: Likewise.
3908 * gdb.base/auxv.exp: Likewise.
3909 * gdb.base/complex-parts.exp: Likewise.
3910 * gdb.base/ena-dis-br.exp: Likewise.
3911 * gdb.base/foll-exec.exp: Likewise.
3912 * gdb.base/permissions.exp: Likewise.
3913 * gdb.base/relocate.exp: Likewise.
3914 * gdb.base/return2.exp: Likewise.
3915 * gdb.base/sigbpt.exp: Likewise.
3916 * gdb.base/siginfo-obj.exp: Likewise.
3917 * gdb.cp/converts.exp: Likewise.
3918 * gdb.cp/exceptprint.exp: Likewise.
3919 * gdb.cp/inherit.exp: Likewise.
3920 * gdb.cp/nsnoimports.exp: Likewise.
3921 * gdb.cp/virtbase2.exp: Likewise.
3922 * gdb.mi/mi-var-cmd.exp: Likewise.
3923 * gdb.mi/var-cmd.c: Likewise.
3924
53a47a3e
TT
39252020-05-26 Tom Tromey <tromey@adacore.com>
3926
3927 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3928
0bc2354b
TT
39292020-05-26 Tom Tromey <tromey@adacore.com>
3930
3931 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3932 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3933 type.
3934 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3935 variable.
3936
0db49895
CBG
39372020-05-26 Christian Biesinger <cbiesinger@google.com>
3938
3939 * Makefile.in: Use = instead of == for the test command
3940 for portability.
3941
40d22035
TV
39422020-05-26 Tom de Vries <tdevries@suse.de>
3943
3944 * gdb.base/gold-gdb-index-2.c: New test.
3945 * gdb.base/gold-gdb-index.c: New test.
3946 * gdb.base/gold-gdb-index.exp: New file.
3947 * gdb.base/gold-gdb-index.h: New test.
3948
043e2e02
TV
39492020-05-25 Tom de Vries <tdevries@suse.de>
3950
3951 * boards/gold-gdb-index.exp: New file.
3952
462f72c5
SM
39532020-05-25 Simon Marchi <simon.marchi@efficios.com>
3954
3955 * boards/simavr.exp: New file.
3956
6cf66e76
SM
39572020-05-25 Simon Marchi <simon.marchi@efficios.com>
3958
3959 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3960 * gdb.base/inferior-args.exp: New file.
3961 * gdb.base/inferior-args.c: New file.
3962
75d04512
SM
39632020-05-25 Simon Marchi <simon.marchi@efficios.com>
3964
3965 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3966 inferior_args. Pass it to gdb_reload.
3967 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3968 inferior_args.
3969 (gdb_reload): Add inferior_args argument.
3970 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3971 pass it to gdbserver_run.
3972 * boards/native-gdbserver.exp: Do not set noargs.
3973 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3974 inferior_args argument.
3975 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3976 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3977 * gdb.base/args.exp: Likewise.
3978
42cf1844
TV
39792020-05-25 Tom de Vries <tdevries@suse.de>
3980
3981 * lib/gdb.exp (exec_is_pie): Add comment.
3982
8f7d38ef
TV
39832020-05-25 Tom de Vries <tdevries@suse.de>
3984
3985 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3986 instead of $binfile in the untested message.
3987
465e1b0f
TV
39882020-05-25 Tom de Vries <tdevries@suse.de>
3989
3990 PR testsuite/26031
3991 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3992
3c5a0e02
TV
39932020-05-25 Tom de Vries <tdevries@suse.de>
3994
3995 * boards/gold.exp: New file.
3996
0a4f5f8c
TT
39972020-05-23 Tom Tromey <tom@tromey.com>
3998
3999 * gdb.base/style.exp: Remove completion styling test.
4000 * lib/gdb-utils.exp (style): Remove completion styles.
4001
eca1f90c
TT
40022020-05-23 Tom Tromey <tom@tromey.com>
4003
4004 * gdb.base/style.exp: Add completion styling test.
4005 * lib/gdb-utils.exp (style): Add completion styles.
4006
7c13f4e8
AB
40072020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4008
4009 * gdb.base/annota1.exp: Update expected results.
4010 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4011 test name.
4012 * gdb.cp/annota3.exp: Update expected results.
4013
41977d16
SM
40142020-05-20 Simon Marchi <simon.marchi@efficios.com>
4015
4016 PR gdb/26016
4017 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4018 against MAP_FAILED.
4019 * gdb.base/coremaker.c (mmapdata): Likewise.
4020 * gdb.base/jit-reader-host.c (main): Likewise.
4021 * gdb.base/sym-file-loader.c (load): Likewise.
4022 (load_shlib): Likewise.
4023
b4757f2e
TT
40242020-05-20 Tom Tromey <tromey@adacore.com>
4025
4026 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4027
9a0bacfb
TV
40282020-05-20 Tom de Vries <tdevries@suse.de>
4029
4030 PR symtab/25833
4031 * gdb.base/with-mf-inc.c: New test.
4032 * gdb.base/with-mf-main.c: New test.
4033 * gdb.base/with-mf.exp: New file.
4034
76571211
TT
40352020-05-19 Tom Tromey <tromey@adacore.com>
4036
4037 * gdb.rust/simple.exp: Restore missing test result.
4038
4cd9f3d5
TV
40392020-05-19 Tom de Vries <tdevries@suse.de>
4040
4041 * gdb.base/gdb-caching-proc.exp: Fix typo.
4042
7d874253
TT
40432020-05-19 Tom Tromey <tromey@adacore.com>
4044
4045 * gdb.rust/simple.exp: Add some test descriptions.
4046 (test_one_slice): Use with_test_prefix.
4047
1d727695
TV
40482020-05-18 Tom de Vries <tdevries@suse.de>
4049
4050 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4051
7f32a4d5
PA
40522020-05-17 Pedro Alves <palves@redhat.com>
4053
4054 PR gdb/25741
4055 * gdb.base/hw-sw-break-same-address.exp: New file.
4056
7cfd74cf
PA
40572020-05-16 Pedro Alves <palves@redhat.com>
4058
4059 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4060 LAST_LOADED_FILE accordingly.
4061
57b4f16e
PW
40622020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4063
4064 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4065
7c05caf7
PW
40662020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4067
4068 * gdb.base/help.exp: Test apropos and help for commands
4069 having aliases. Fixed comments not starting with an
4070 upper-case letter or not finishing with a dot.
4071
7aa1b46f
PW
40722020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4073
3b3aaacb
PW
4074 * gdb.base/alias.exp: Update help output check.
4075
57b4f16e 40762020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4077
7aa1b46f
PW
4078 * gdb.base/default.exp: Update output following fixes.
4079
0605465f
PW
40802020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4081
4082 * gdb.base/alias.exp: Test aliases starting with a prefix of
4083 another alias.
4084
86e4e63d
GB
40852020-05-15 Gary Benson <gbenson@redhat.com>
4086
4087 * gdb.base/info-os.c (main): Add return statement.
4088 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4089 * gdb.base/large-frame-2.c (func): Likewise.
4090 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4091 * gdb.base/pr10179-b.c (foo2): Likewise.
4092 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4093 * gdb.base/watch-cond.c (func): Likewise.
4094 * gdb.multi/goodbye.c (verylongfun): Likewise.
4095 * gdb.multi/hello.c (commonfun): Likewise.
4096 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4097 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4098 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4099 Likewise.
4100 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4101 * gdb.threads/interrupt-while-step-over.c (child_function):
4102 Likewise.
4103 * gdb.trace/actions-changed.c (end): Likewise.
4104
163df4df
GB
41052020-05-15 Gary Benson <gbenson@redhat.com>
4106
4107 * gdb.opencl/callfuncs.exp: Report when test skipped.
4108 * gdb.opencl/convs_casts.exp: Likewise.
4109 * gdb.opencl/datatypes.exp: Likewise.
4110 * gdb.opencl/operators.exp: Likewise.
4111 * gdb.opencl/vec_comps.exp: Likewise.
4112
6dbc505a
TV
41132020-05-15 Tom de Vries <tdevries@suse.de>
4114
4115 * gdb.base/align.exp.in: Rename to ...
4116 * gdb.base/align.exp.tcl: ... this.
4117 * gdb.base/align-c++.exp: Update.
4118 * gdb.base/align-c.exp: Update.
4119 * gdb.base/all-architectures.exp.in: Rename to ...
4120 * gdb.base/all-architectures.exp: ... this.
4121 * gdb.base/all-architectures-0.exp: Update.
4122 * gdb.base/all-architectures-1.exp: Update.
4123 * gdb.base/all-architectures-2.exp: Update.
4124 * gdb.base/all-architectures-3.exp: Update.
4125 * gdb.base/all-architectures-4.exp: Update.
4126 * gdb.base/all-architectures-5.exp: Update.
4127 * gdb.base/all-architectures-6.exp: Update.
4128 * gdb.base/all-architectures-7.exp: Update.
4129 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4130 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4131 * gdb.base/infcall-nested-structs-c++.exp: Update.
4132 * gdb.base/infcall-nested-structs-c.exp: Update.
4133 * gdb.base/info-types.exp.in: Rename to ...
4134 * gdb.base/info-types.exp.tcl: ... this.
4135 * gdb.base/info-types-c++.exp: Update.
4136 * gdb.base/info-types-c.exp: Update.
4137 * gdb.base/max-depth.exp.in: Rename to ...
4138 * gdb.base/max-depth.exp.tcl: ... this.
4139 * gdb.base/max-depth-c++.exp: Update.
4140 * gdb.base/max-depth-c.exp: Update.
4141 * gdb.cp/cpexprs.exp.in: Rename to ...
4142 * gdb.cp/cpexprs.exp.tcl: ... this.
4143 * gdb.cp/cpexprs-debug-types.exp: Update.
4144 * gdb.cp/cpexprs.exp: Update.
4145 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4146 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4147 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4148 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4149 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4150 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4151 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4152 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4153 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4154 * gdb.dwarf2/clang-debug-names.exp: Update.
4155
d1034d78
AB
41562020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4157
4158 * lib/check-test-names.exp: Remove code that prevents this file
4159 loading when tests are run in parallel.
4160
3c5c3649
PA
41612020-05-15 Pedro Alves <palves@redhat.com>
4162
4163 * gdb.multi/multi-kill.exp (start_inferior): Remove
4164 'testpid' parameter. Refer to namespace variable directly.
4165 (testpid): Declare as namespace variable.
4166
272c36b8
PA
41672020-05-15 Pedro Alves <palves@redhat.com>
4168
4169 * gdb.multi/multi-kill.exp: Wrap in namespace.
4170 (start_inferior): Add TESTPID parameter. Use it instead of the
4171 testpid global.
4172 (top level): Define empty TESTPID array, and pass it down to
4173 start_inferior.
4174
02eba61a
TV
41752020-05-14 Tom de Vries <tdevries@suse.de>
4176
4177 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4178 output.
4179
971a3747
TV
41802020-05-14 Tom de Vries <tdevries@suse.de>
4181
4182 * gdb.base/align.exp: Split into ...
4183 * gdb.base/align.exp.in: ...
4184 * gdb.base/align-c++.exp: ...
4185 * gdb.base/align-c.exp: ... these.
4186 * gdb.base/infcall-nested-structs.exp: Split into ...
4187 * gdb.base/infcall-nested-structs.exp.in: ...
4188 * gdb.base/infcall-nested-structs-c++.exp: ...
4189 * gdb.base/infcall-nested-structs-c.exp: ... these.
4190 * gdb.base/info-types.exp: Split into ...
4191 * gdb.base/info-types.exp.in: ...
4192 * gdb.base/info-types-c++.exp: ...
4193 * gdb.base/info-types-c.exp: ... these.
4194 * gdb.base/max-depth.exp: Split into ...
4195 * gdb.base/max-depth.exp.in: ...
4196 * gdb.base/max-depth-c++.exp: ...
4197 * gdb.base/max-depth-c.exp: ... these.
4198 * gdb.cp/infcall-nodebug.exp: Split into ...
4199 * gdb.cp/infcall-nodebug.exp.in: ...
4200 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4201 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4202 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4203 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4204
a05575d3
TBA
42052020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4206 Pedro Alves <palves@redhat.com>
4207
4208 * gdb.multi/multi-exit.c: New file.
4209 * gdb.multi/multi-exit.exp: New file.
4210 * gdb.multi/multi-kill.c: New file.
4211 * gdb.multi/multi-kill.exp: New file.
4212
6ad82919
TBA
42132020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4214
4215 * gdb.base/annota1.exp: Update the expected output.
4216 * gdb.cp/annota2.exp: Ditto.
4217
843f4d93
AB
42182020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4219
4220 * lib/check-test-names.exp: Disable when testing is being run in
4221 parallel.
4222
c7c66341
TV
42232020-05-12 Tom de Vries <tdevries@suse.de>
4224
4225 * gdb.base/jit-elf.exp: Fix string concat.
4226
1b59ca1c
TV
42272020-05-12 Tom de Vries <tdevries@suse.de>
4228
4229 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4230 messages.
4231
b4991d29
TV
42322020-05-12 Tom de Vries <tdevries@suse.de>
4233
4234 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4235
dbb0ab10
TV
42362020-05-12 Tom de Vries <tdevries@suse.de>
4237
4238 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4239 * gdb.ada/mi_catch_ex.exp: Same.
4240 * gdb.ada/mi_catch_ex_hand.exp: Same.
4241
7549fed8
TV
42422020-05-12 Tom de Vries <tdevries@suse.de>
4243
4244 * gdb.fortran/complex.exp: Use with_test_prefix.
4245
af2d5cd8
TV
42462020-05-12 Tom de Vries <tdevries@suse.de>
4247
4248 * gdb.trace/passcount.exp: Fix test-names.
4249
7c121311
TV
42502020-05-12 Tom de Vries <tdevries@suse.de>
4251
4252 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4253
c9f3b40e
TV
42542020-05-12 Tom de Vries <tdevries@suse.de>
4255
4256 * gdb.gdb/complaints.exp: Use with_test_prefix.
4257 * gdb.xml/tdesc-regs.exp: Same.
4258 * gdb.opt/inline-locals.exp: Fix test name.
4259
111b33f0
TV
42602020-05-12 Tom de Vries <tdevries@suse.de>
4261
4262 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4263 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4264 * gdb.dwarf2/implref-struct.exp: Same.
4265 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4266 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4267
ebf47080
SM
42682020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4269
4270 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4271
d30dcd12
AB
42722020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4273
4274 * lib/check-test-names.exp (all_test_names): New module variable.
4275 (counts): Add 'duplicates' field.
4276 (_check_duplicates): New procedure.
4277 (check): Also check for duplicates.
4278 (do_log_summary): Print duplicates count.
4279 (do_reset_vars): Reset counter for duplicate test names, and
4280 discard all know test names.
4281
34584c09
AB
42822020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4283
4284 * lib/gdb.exp: Include check-test-names.exp library.
4285 * lib/check-test-names.exp: New file.
4286
e0002117
TV
42872020-05-11 Tom de Vries <tdevries@suse.de>
4288
4289 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4290
53f539a3
KS
42912020-05-11 Keith Seitz <keiths@redhat.com>
4292
4293 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4294
113ee09a
TV
42952020-05-11 Tom de Vries <tdevries@suse.de>
4296
4297 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4298 * gdb.cp/cpexprs.exp.in: .. here.
4299 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4300 cpexprs.exp.
4301
ba3e70b0
KS
43022020-05-11 Keith Seitz <keiths@redhat.com>
4303
4304 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4305 test names.
4306 * gdb.ada/arrayptr.exp: Likewise.
4307 * gdb.ada/assign_arr.exp: Likewise.
4308 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4309 * gdb.ada/bp_on_var.exp: Likewise.
4310 * gdb.ada/call_pn.exp: Likewise.
4311 * gdb.ada/complete.exp: Likewise.
4312 * gdb.ada/fun_overload_menu.exp: Likewise.
4313 * gdb.ada/funcall_param.exp: Likewise.
4314 * gdb.ada/funcall_ref.exp: Likewise.
4315 * gdb.ada/packed_array_assign.exp: Likewise.
4316 * gdb.ada/same_component_name.exp: Likewise.
4317 * gdb.ada/type_coercion.exp: Likewise.
4318 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4319 * gdb.ada/variant_record_packed_array.exp: Likewise.
4320
3ee6bb11
TV
43212020-05-11 Tom de Vries <tdevries@suse.de>
4322
4323 PR symtab/25941
4324 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4325 out of ...
4326 * gdb.dwarf2/clang-debug-names.exp: ... here.
4327 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4328 clang-debug-names.exp.in.
4329 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4330 * gdb.dwarf2/clang-debug-names-2.c: New test.
4331
86cd6bc8
AKS
43322020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4333
4334 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4335 (fortran_runto_main): New Proc, fortran version of runto_main.
4336 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4337 * gdb.fortran/array-bounds.exp: Likewise.
4338 * gdb.fortran/array-slices.exp: Likewise.
4339 * gdb.fortran/block-data.exp: Likewise.
4340 * gdb.fortran/charset.exp: Likewise.
4341 * gdb.fortran/common-block.exp: Likewise.
4342 * gdb.fortran/complex.exp: Likewise.
4343 * gdb.fortran/derived-type-function.exp: Likewise.
4344 * gdb.fortran/derived-type.exp: Likewise.
4345 * gdb.fortran/info-modules.exp: Likewise.
4346 * gdb.fortran/info-types.exp: Likewise.
4347 * gdb.fortran/intrinsics.exp: Likewise.
4348 * gdb.fortran/library-module.exp: Likewise.
4349 * gdb.fortran/logical.exp: Likewise.
4350 * gdb.fortran/max-depth.exp: Likewise.
4351 * gdb.fortran/module.exp: Likewise.
4352 * gdb.fortran/multi-dim.exp: Likewise.
4353 * gdb.fortran/nested-funcs.exp: Likewise.
4354 * gdb.fortran/print-formatted.exp: Likewise.
4355 * gdb.fortran/print_type.exp: Likewise.
4356 * gdb.fortran/printing-types.exp: Likewise.
4357 * gdb.fortran/ptr-indentation.exp: Likewise.
4358 * gdb.fortran/ptype-on-functions.exp: Likewise.
4359 * gdb.fortran/subarray.exp: Likewise.
4360 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4361 * gdb.fortran/vla-datatypes.exp: Likewise.
4362 * gdb.fortran/vla-history.exp: Likewise.
4363 * gdb.fortran/vla-ptr-info.exp: Likewise.
4364 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4365 * gdb.fortran/vla-ptype.exp: Likewise.
4366 * gdb.fortran/vla-sizeof.exp: Likewise.
4367 * gdb.fortran/vla-type.exp: Likewise.
4368 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4369 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4370 * gdb.fortran/vla-value-sub.exp: Likewise.
4371 * gdb.fortran/vla-value.exp: Likewise.
4372 * gdb.fortran/whatis_type.exp: Likewise.
4373 * gdb.mi/mi-var-child-f.exp: Likewise.
4374
6dc55ce9 43752020-05-09 Tom de Vries <tdevries@suse.de>
4376
4377 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4378
283cb58c
TV
43792020-05-08 Tom de Vries <tdevries@suse.de>
4380
4381 * gdb.dwarf2/clang-debug-names.c: New test.
4382 * gdb.dwarf2/clang-debug-names.exp: New file.
4383
ac4a4f1c
SM
43842020-05-06 Simon Marchi <simon.marchi@efficios.com>
4385
4386 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4387 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4388
24fe640b
TV
43892020-05-06 Tom de Vries <tdevries@suse.de>
4390
4391 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4392 breakpoint is at a "recommended breakpoint location".
4393 * gdb.reverse/consecutive-reverse.exp: Same.
4394
0d8683a3
TV
43952020-05-06 Tom de Vries <tdevries@suse.de>
4396
4397 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4398 address.
4399
b8983c46
TV
44002020-05-06 Tom de Vries <tdevries@suse.de>
4401
4402 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4403
abf6d805
TV
44042020-05-06 Tom de Vries <tdevries@suse.de>
4405
4406 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4407 info for r.
4408
0fc2a808
TV
44092020-05-06 Tom de Vries <tdevries@suse.de>
4410
4411 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4412 necessary.
4413
873dd427
TV
44142020-05-06 Tom de Vries <tdevries@suse.de>
4415
4416 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4417 void.
4418
7c99e7e2
TV
44192020-05-06 Tom de Vries <tdevries@suse.de>
4420
4421 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4422 of ...
4423 * gdb.base/async.exp: ... here.
4424 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4425 "recommended breakpoint location".
4426
6173d6a6
TV
44272020-05-06 Tom de Vries <tdevries@suse.de>
4428
4429 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4430
6015a067
TV
44312020-05-04 Tom de Vries <tdevries@suse.de>
4432
4433 * gdb.base/async.exp: Check whether instruction addresses are a
4434 "recommended breakpoint location".
4435
3b6acaee
TT
44362020-05-03 Tom Tromey <tom@tromey.com>
4437
4438 * gdb.base/sepdebug.exp: Remove "catch" test.
4439 * gdb.base/break.exp: Remove "catch" test.
4440 * gdb.base/default.exp: Update expected output.
4441
5beb4d17
TV
44422020-05-02 Tom de Vries <tdevries@suse.de>
4443
4444 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4445 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4446 * gdb.arch/i386-mpx-map.exp: Same.
4447 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4448 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4449 * gdb.arch/i386-mpx.exp: Same.
4450
8caf140d
TV
44512020-05-02 Tom de Vries <tdevries@suse.de>
4452
4453 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4454
693196cb
TV
44552020-05-01 Tom de Vries <tdevries@suse.de>
4456
4457 * gdb.ada/operator_bp.exp: Allow more than required amount of
4458 breakpoint.
4459
53ae0aa9
TV
44602020-05-01 Tom de Vries <tdevries@suse.de>
4461
4462 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4463
ee9d1e5f
HD
44642020-04-30 Hannes Domani <ssbssa@yahoo.de>
4465
4466 PR gdb/18706
4467 * gdb.cp/stub-array-size.cc: New test.
4468 * gdb.cp/stub-array-size.exp: New file.
4469 * gdb.cp/stub-array-size.h: New test.
4470 * gdb.cp/stub-array-size2.cc: New test.
4471
d5cf82c0
HD
44722020-04-30 Hannes Domani <ssbssa@yahoo.de>
4473
4474 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4475 output to the new format.
4476
42e165c3
SM
44772020-04-29 Simon Marchi <simon.marchi@efficios.com>
4478
4479 * gdb.base/break.exp: Use with_test_prefix.
4480
6e4e3fe1
TV
44812020-04-29 Tom de Vries <tdevries@suse.de>
4482
4483 * lib/gdb.exp (debug_types): New proc.
4484 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4485 * gdb.python/py-symtab.exp: Same.
4486
d642b692
HD
44872020-04-29 Hannes Domani <ssbssa@yahoo.de>
4488
4489 PR gdb/17320
4490 * gdb.base/pretty-array.c: New test.
4491 * gdb.base/pretty-array.exp: New file.
4492
ea90f227
TV
44932020-04-29 Tom de Vries <tdevries@suse.de>
4494
4495 PR symtab/25889
4496 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4497 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4498 and include cpexprs.exp.
4499
a65189c9
TV
45002020-04-28 Mark Williams <mark@myosotissp.com>
4501
4502 PR gdb/24480
4503 * dw4-toplevel-types.exp: Test for top level types.
4504 * dw4-toplevel-types.cc: Test for top level types.
4505
32d1f47a
TBA
45062020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4507
4508 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4509 (theads -> threads).
4510
56a4f5a1
TV
45112020-04-28 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4514
0b2f8a3b
TV
45152020-04-28 Tom de Vries <tdevries@suse.de>
4516
4517 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4518
5390c717
TV
45192020-04-28 Tom de Vries <tdevries@suse.de>
4520
4521 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4522
15cd93d0
TV
45232020-04-28 Tom de Vries <tdevries@suse.de>
4524
4525 * gdb.dwarf2/main-foo.c: New test.
4526 * gdb.dwarf2/struct-with-sig.exp: New file.
4527
d472f0fb
TV
45282020-04-25 Tom de Vries <tdevries@suse.de>
4529
4530 * boards/debug-types.exp: New file.
4531
8d840e05
AB
45322020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4533
4534 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4535
bcfe6157
TT
45362020-04-24 Tom Tromey <tom@tromey.com>
4537
4538 PR symtab/12707:
4539 * gdb.python/py-symbol.exp: Update expected results for
4540 linkage_name test.
4541 * gdb.cp/print-demangle.exp: New file.
4542 * gdb.base/c-linkage-name.exp: Fix test.
4543 * gdb.guile/scm-symbol.exp: Update expected results for
4544 linkage_name test.
4545
f049a313
TT
45462020-04-24 Tom Tromey <tom@tromey.com>
4547
4548 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4549 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4550 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4551 assembler.
4552
7cf28874
TV
45532020-04-24 Tom de Vries <tdevries@suse.de>
4554
4555 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4556 C++.
4557
dac2fef7
TT
45582020-04-24 Tom Tromey <tromey@adacore.com>
4559
4560 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4561 values.
4562 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4563 values. Update test for minimal encodings.
4564 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4565 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4566 values. Update test for minimal encodings.
4567
1acda803
TT
45682020-04-24 Tom Tromey <tromey@adacore.com>
4569
4570 PR python/23662:
4571 * gdb.ada/variant.exp: Add Python checks.
4572 * gdb.rust/simple.exp: Add dynamic type checks.
4573
adfb9815
TT
45742020-04-24 Tom Tromey <tromey@adacore.com>
4575
4576 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4577 Make array type matching more lax.
4578 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4579 * gdb.ada/mi_variant.exp: New file.
4580 * gdb.ada/mi_variant/pck.ads: New file.
4581 * gdb.ada/mi_variant/pkg.adb: New file.
4582 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4583 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4584
7d79de9a
TT
45852020-04-24 Tom Tromey <tromey@adacore.com>
4586
4587 * gdb.ada/variant.exp: Add dynamic field offset tests.
4588 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4589 * gdb.ada/variant/pkg.adb: Add new variables.
4590
f8e89861
TT
45912020-04-24 Tom Tromey <tromey@adacore.com>
4592
4593 * gdb.ada/variant.exp: New file
4594 * gdb.ada/variant/pkg.adb: New file
4595 * gdb.ada/variant/pck.adb: New file
4596
86e887ae
TV
45972020-04-24 Tom de Vries <tdevries@suse.de>
4598
4599 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4600
88428775
TV
46012020-04-24 Tom de Vries <tdevries@suse.de>
4602
4603 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4604 flags.
4605
4e86f6e7
TV
46062020-04-24 Tom de Vries <tdevries@suse.de>
4607
4608 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4609
2016d3e6
TV
46102020-04-24 Tom de Vries <tdevries@suse.de>
4611
4612 * lib/gdb.exp (default_gdb_start): Handle eof.
4613 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4614 failure.
4615 * gdb.base/readnever.exp: Handle clean_restart failure.
4616
70bc38f5
TV
46172020-04-23 Tom de Vries <tdevries@suse.de>
4618
4619 * gdb.base/decl-before-def.exp: Run to main and print a again.
4620
de82891c
TV
46212020-04-23 Tom de Vries <tdevries@suse.de>
4622
4623 * gdb.base/decl-before-def-decl.c: New test.
4624 * gdb.base/decl-before-def-def.c: New test.
4625 * gdb.base/decl-before-def.exp: New file.
4626
96038148
TV
46272020-04-23 Tom de Vries <tdevries@suse.de>
4628
4629 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4630
54ac3df1
TV
46312020-04-22 Tom de Vries <tdevries@suse.de>
4632
4633 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4634 debug_info_offset.
4635 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4636 before $objsfile in the line line.
4637
714534e1
TV
46382020-04-22 Tom de Vries <tdevries@suse.de>
4639
4640 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4641
16a7dbf4
MS
46422020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4643
4644 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4645 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4646 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4647 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4648 * gdb.base/jit-protocol.h: Update definitions to match all usage
4649 contexts.
4650
46512020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4652
4653 * gdb.base: Rename all jit related test and source files.
4654
46552020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4656
4657 * gdb.base/jit-reader.exp: Relax register output check.
4658
317d2668
TV
46592020-04-22 Tom de Vries <tdevries@suse.de>
4660
4661 PR symtab/25764
4662 * gdb.base/psym-external-decl-2.c: New test.
4663 * gdb.base/psym-external-decl.c: New test.
4664 * gdb.base/psym-external-decl.exp: New file.
4665 * gdb.threads/tls.exp: Add PR25807 kfail.
4666
eea9e357
TV
46672020-04-22 Tom de Vries <tdevries@suse.de>
4668
4669 PR symtab/25801
4670 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4671 in "info source" output.
4672
3d5afab3
TV
46732020-04-22 Tom de Vries <tdevries@suse.de>
4674
4675 PR symtab/25700
4676 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4677 symtab for imported_unit.c.
4678
b32102f6
GB
46792020-04-21 Gary Benson <gbenson@redhat.com>
4680
4681 * gdb.base/advance.c (func): New argument, to match call site.
4682 (func2, func3): Add return statements.
4683
d43b7a2d
TBA
46842020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4685
4686 * gdb.multi/run-only-second-inf.c: New file.
4687 * gdb.multi/run-only-second-inf.exp: New file.
4688
d89edf9b
MM
46892020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4690
4691 * gdb.btrace/multi-inferior.c: New test.
4692 * gdb.btrace/multi-inferior.exp: New file.
4693
1a476b6d
MM
46942020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4695
4696 * gdb.btrace/enable-new-thread.c: New test.
4697 * gdb.btrace/enable-new-thread.exp: New file.
4698
4778a5f8
TV
46992020-04-21 Tom de Vries <tdevries@suse.de>
4700
4701 PR gdb/25471
4702 * gdb.threads/killed-outside.c: New test.
4703 * gdb.threads/killed-outside.exp: New file.
4704
9b2c992c
GB
47052020-04-20 Gary Benson <gbenson@redhat.com>
4706
4707 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4708 * gdb.base/nested-subp2.exp: Likewise.
4709 * gdb.base/nested-subp3.exp: Likewise.
4710
b5d1d6f7
GB
47112020-04-20 Gary Benson <gbenson@redhat.com>
4712
4713 * gdb.base/nested-subp1.exp: Disable test when using clang.
4714 * gdb.base/nested-subp2.exp: Likewise.
4715 * gdb.base/nested-subp3.exp: Likewise.
4716
25230285
GB
47172020-04-20 Gary Benson <gbenson@redhat.com>
4718
4719 * gdb.cp/exception.cc: Fix compilation error with clang.
4720
fa93cc8f
GB
47212020-04-20 Gary Benson <gbenson@redhat.com>
4722
809730f3 4723 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4724
e0c45f30
GB
47252020-04-20 Gary Benson <gbenson@redhat.com>
4726
4727 * gdb.base/jit-main.c: Fix compilation error with clang.
4728
4ddfec93
KR
47292020-04-17 Kamil Rytarowski <n54@gmx.com>
4730
4731 * gdb.base/attach-twice.c: Include "sys/types.h".
4732 (PTRACE_ATTACH): Add fallback definition.
4733 (main): Pass `0' to the 4th argument of `ptrace'.
4734
2bed205e
KR
47352020-04-17 Kamil Rytarowski <n54@gmx.com>
4736
4737 * gdb.base/fork-running-state.c: Include "signal.h".
4738
0743fc83
TT
47392020-04-17 Tom Tromey <tromey@adacore.com>
4740
4741 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4742 Update tests.
4743 * gdb.btrace/cpu.exp: Update tests.
4744 * gdb.base/maint.exp: Update tests.
4745 * gdb.base/default.exp: Update tests.
4746 * gdb.base/completion.exp: Update tests.
4747
efba5c23
TV
47482020-04-16 Tom de Vries <tdevries@suse.de>
4749
4750 PR symtab/25791
4751 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4752 (ensure_gdb_index): and factor out and move ...
4753 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4754 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4755
d191d716
TV
47562020-04-16 Tom de Vries <tdevries@suse.de>
4757
4758 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4759 loading exec.
4760
99f1bc6a
AB
47612020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4762
4763 * gdb.base/many-completions.exp: New file.
4764
194d088f
TV
47652020-04-14 Tom de Vries <tdevries@suse.de>
4766
4767 PR symtab/25718
4768 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4769
c1a66c06
TV
47702020-04-14 Tom de Vries <tdevries@suse.de>
4771
4772 PR symtab/25720
4773 * gdb.base/maint-expand-symbols-header-file.c: New test.
4774 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4775 * gdb.base/maint-expand-symbols-header-file.h: New test.
4776
21b0982c
AB
47772020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4778
4779 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4780 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4781 get_func_info.
4782 (get_func_info): Delete.
4783 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4784 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4785 * lib/dwarf.exp (get_func_info): New function.
4786
dd1cab06
TV
47872020-04-13 Tom de Vries <tdevries@suse.de>
4788
4789 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4790 to what find_gnatmake does.
4791
71ea2b6b
TV
47922020-04-10 Tom de Vries <tdevries@suse.de>
4793
4794 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4795 -readnow.
4796
bdfc1e8a
TV
47972020-04-10 Tom de Vries <tdevries@suse.de>
4798
4799 PR cli/25808
4800 * gdb.base/style.c: Add leading newlines.
4801 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4802 Check listing of main's one-line body.
4803
14ca8ecf
TV
48042020-04-08 Tom de Vries <tdevries@suse.de>
4805
4806 * lib/gdb.exp (psymtabs_p): New proc.
4807 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4808 importing unit" unsupported if there are no partial symbols.
4809
e21d048f
TV
48102020-04-08 Tom de Vries <tdevries@suse.de>
4811
4812 PR testsuite/25760
4813 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4814
25c11aca
TV
48152020-04-07 Tom de Vries <tdevries@suse.de>
4816
4817 PR symtab/25796
4818 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4819
5707e24b
TV
48202020-04-07 Tom de Vries <tdevries@suse.de>
4821
4822 * gdb.base/check-psymtab.c: New test.
4823 * gdb.base/check-psymtab.exp: New file.
4824
6ee448cc
TT
48252020-04-06 Tom Tromey <tromey@adacore.com>
4826
4827 * gdb.ada/variant-record/proc.adb: New file.
4828 * gdb.ada/variant-record/value.adb: New file.
4829 * gdb.ada/variant-record/value.s: New file.
4830 * gdb.ada/variant-record.exp: New file.
4831
9e7c9a03
HD
48322020-04-03 Hannes Domani <ssbssa@yahoo.de>
4833
4834 PR gdb/25325
4835 * gdb.cp/typed-enum.cc: New test.
4836 * gdb.cp/typed-enum.exp: New file.
4837
c90d28ac
AB
48382020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4839
4840 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4841 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4842 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4843 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4844 * gdb.opt/inline-small-func.c: New file.
4845 * gdb.opt/inline-small-func.exp: New file.
4846 * gdb.opt/inline-small-func.h: New file.
4847
34e9a9fa
AB
48482020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4849
4850 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4851 function.
4852
6a354911
AB
48532020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4854
4855 * lib/dwarf.exp (function_range): Allow compiler options to be
4856 specified.
4857
880d9777
TV
48582020-04-02 Tom de Vries <tdevries@suse.de>
4859
4860 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4861 __attribute__((always_inline)).
4862 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4863
f32682ea
TV
48642020-04-02 Tom de Vries <tdevries@suse.de>
4865
4866 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4867 (gdbserver_gdb_exit): ... here. Add timeout warning.
4868 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4869 (connect_target_extended_remote): Append new server_spawn_id to
4870 server_spawn_ids.
4871 (cleanup): New proc.
4872 (setup, <toplevel>): Call cleanup.
4873
d3214198
TV
48742020-04-02 Tom de Vries <tdevries@suse.de>
4875
4876 * gdb.base/main-psymtab.exp: New file.
4877
cc77ed24
TV
48782020-04-02 Tom de Vries <tdevries@suse.de>
4879
4880 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4881
3638a098
TT
48822020-04-01 Tom Tromey <tom@tromey.com>
4883
4884 * gdb.base/complex-parts.exp: Add type tests.
4885
c34e8714
TT
48862020-04-01 Tom Tromey <tom@tromey.com>
4887
4888 * gdb.base/complex-parts.exp: Add arithmetic tests.
4889
981c08ce
TT
48902020-04-01 Tom Tromey <tom@tromey.com>
4891
4892 * gdb.compile/compile.exp: Update.
4893 * gdb.compile/compile-cplus.exp: Update.
4894 * gdb.base/varargs.exp: Update.
4895 * gdb.base/floatn.exp: Update.
4896 * gdb.base/endianity.exp: Update.
4897 * gdb.base/callfuncs.exp (do_function_calls): Update.
4898 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4899 (complex_float_integral_args): Update.
4900 * gdb.base/complex.exp: Update.
4901 * gdb.base/complex-parts.exp: Update.
4902
3d1cfd43
TT
49032020-04-01 Tom Tromey <tromey@adacore.com>
4904
4905 * gdb.rust/union.rs: New file.
4906 * gdb.rust/union.exp: New file.
4907 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4908 (main): Update.
4909 * gdb.rust/simple.exp: Move union tests to union.exp.
4910
e033dfa9
TT
49112020-04-01 Tom Tromey <tromey@adacore.com>
4912
4913 * gdb.rust/simple.rs (main): Remove "y0".
4914
53cccef1
TBA
49152020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4916
4917 * gdb.multi/stop-all-on-exit.c: New test.
4918 * gdb.multi/stop-all-on-exit.exp: New file.
4919
60e22c1e
HD
49202020-04-01 Hannes Domani <ssbssa@yahoo.de>
4921
4922 PR gdb/24789
4923 * gdb.cp/misc.cc: Add integer reference variable.
4924 * gdb.cp/misc.exp: Add test.
4925
e139a727
TBA
49262020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4927
4928 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4929 scenario to cover execution until the end and also the case
4930
16b0db75
TV
49312020-03-31 Tom de Vries <tdevries@suse.de>
4932
4933 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4934 c. Use "maint info symtabs" to check symtab expansion.
4935
c0502da6
TV
49362020-03-30 Tom de Vries <tdevries@suse.de>
4937
4938 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4939 unsupported.
4940 (verify_psymtab_expanded): Move ...
4941 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4942 test.
4943 (readnow): New proc.
4944
5935fd15
AB
49452020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4946
4947 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4948 with $hex.
4949
1773be9e
TT
49502020-03-20 Tom Tromey <tromey@adacore.com>
4951
4952 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4953
70304be9
TT
49542020-03-20 Tom Tromey <tromey@adacore.com>
4955
4956 * gdb.ada/sub_variant/subv.adb: New file.
4957 * gdb.ada/sub_variant.exp: New file.
4958
0dd7b8f7
TV
49592020-03-20 Tom de Vries <tdevries@suse.de>
4960
4961 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4962 first break fails.
4963 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4964
cada5fc9
AB
49652020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4966
4967 * gdb.server/exit-multiple-threads.c: New file.
4968 * gdb.server/exit-multiple-threads.exp: New file.
4969
6b8c53f2
AB
49702020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4971
4972 * gdb.fortran/mixed-lang-stack.c: New file.
4973 * gdb.fortran/mixed-lang-stack.cpp: New file.
4974 * gdb.fortran/mixed-lang-stack.exp: New file.
4975 * gdb.fortran/mixed-lang-stack.f90: New file.
4976
19a2740f
AB
49772020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4978
4979 * gdb.linespec/cp-completion-aliases.cc: New file.
4980 * gdb.linespec/cp-completion-aliases.exp: New file.
4981
d8c8b848
TV
49822020-03-19 Tom de Vries <tdevries@suse.de>
4983
4984 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4985 more precise.
4986
a9933ccf
TV
49872020-03-18 Tom de Vries <tdevries@suse.de>
4988
4989 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4990 * gdb.dwarf2/break-inline-psymtab.c: New test.
4991 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4992
2f89101f
TV
49932020-03-16 Tom de Vries <tdevries@suse.de>
4994
4995 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4996 cache_verify and cache_verify_proc.
4997
6b9374f1
TV
49982020-03-15 Tom de Vries <tdevries@suse.de>
4999
5000 * gdb.server/solib-list.exp: Handle
5001 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5002
eaeaf44c
TV
50032020-03-15 Tom de Vries <tdevries@suse.de>
5004
5005 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5006 objfiles".
5007
3293bbaf
TT
50082020-03-14 Tom Tromey <tom@tromey.com>
5009
5010 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5011
ab44624c
TV
50122020-03-14 Tom de Vries <tdevries@suse.de>
5013
5014 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5015
54c43825
TV
50162020-03-14 Tom de Vries <tdevries@suse.de>
5017
5018 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5019 result in line-by-line fashion.
5020
2ac70237
TV
50212020-03-14 Tom de Vries <tdevries@suse.de>
5022
5023 * lib/gdb.exp (supports_statement_frontiers): New proc.
5024 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5025
09546b56
TV
50262020-03-14 Tom de Vries <tdevries@suse.de>
5027
5028 * gdb.base/printcmds.exp: Add missing quoting for "print
5029 teststring2".
5030
a1f6a07c
TT
50312020-03-13 Tom Tromey <tom@tromey.com>
5032
5033 * gdb.base/printcmds.exp (test_print_strings): Add regression
5034 test.
5035 * gdb.base/printcmds.c (charptr): New typedef.
5036 (teststring2): New global.
5037
1b83d09c
AB
50382020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5039
5040 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5041 full path in the test name.
5042 (test_ld): Add some with_test_prefix blocks to make test names
5043 unique.
5044
2d61316c
TV
50452020-03-13 Tom de Vries <tdevries@suse.de>
5046
5047 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5048
2e9145ac
TV
50492020-03-13 Tom de Vries <tdevries@suse.de>
5050
5051 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5052
96c7f873
TV
50532020-03-13 Tom de Vries <tdevries@suse.de>
5054
5055 PR symtab/25646
5056 * gdb.dwarf2/imported-unit.exp: Add test.
5057
49ba92c0
TV
50582020-03-13 Tom de Vries <tdevries@suse.de>
5059
5060 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5061 (var1, var2): New variable.
5062 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5063 matching symbols.
5064
301b21e0
TV
50652020-03-13 Tom de Vries <tdevries@suse.de>
5066
5067 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5068 (Term::command): Use prompt prefix.
5069 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5070 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5071 command_no_prompt_prefix instead of prefix.
5072 * gdb.tui/tui-layout-asm.exp: Same.
5073
3f512721
SM
50742020-03-12 Simon Marchi <simon.marchi@efficios.com>
5075
5076 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5077
40310f30
SM
50782020-03-12 Simon Marchi <simon.marchi@efficios.com>
5079
5080 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5081 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5082 on" while stepping over the test instruction, match printed
5083 message.
5084
09252140
TV
50852020-03-12 Tom de Vries <tdevries@suse.de>
5086
5087 * gdb.base/info-types.exp: Use exp_continue during matching of output
5088 of "info types".
5089
14e9c72c
TV
50902020-03-12 Tom de Vries <tdevries@suse.de>
5091
5092 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5093
e515d67e
TV
50942020-03-12 Tom de Vries <tdevries@suse.de>
5095
5096 * gdb.fortran/module.exp: Use exp_continue during matching of output
5097 of "info variable -n".
5098
307eafd8
TV
50992020-03-12 Tom de Vries <tdevries@suse.de>
5100
5101 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5102 gdb.dwarf2/dw2-ranges-base.c.
5103
9a2de3fc
TV
51042020-03-12 Tom de Vries <tdevries@suse.de>
5105
5106 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5107 in presence of GLIBC debuginfo.
5108
3217502e
TV
51092020-03-12 Tom de Vries <tdevries@suse.de>
5110
5111 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5112 $core.
5113
1281424c
TV
51142020-03-12 Tom de Vries <tdevries@suse.de>
5115
5116 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5117 more precise.
5118
038b97fc
SM
51192020-03-11 Simon Marchi <simon.marchi@efficios.com>
5120
5121 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5122 from Unix to Windows path.
5123
5308d1e7
TV
51242020-03-11 Tom de Vries <tdevries@suse.de>
5125
5126 * gdb.ada/minsyms.exp: Set language to ada.
5127
f870f78f
TV
51282020-03-11 Tom de Vries <tdevries@suse.de>
5129
5130 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5131
5a13315d
TV
51322020-03-11 Tom de Vries <tdevries@suse.de>
5133
5134 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5135
976862ed
TT
51362020-03-11 Tom Tromey <tromey@adacore.com>
5137
5138 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5139
7462c383
TV
51402020-03-11 Tom de Vries <tdevries@suse.de>
5141
5142 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5143
1c6c46a0
TV
51442020-03-11 Tom de Vries <tdevries@suse.de>
5145
5146 * gdb.base/break-interp.exp: Limit verbose scope.
5147
44f41bb7
TV
51482020-03-11 Tom de Vries <tdevries@suse.de>
5149
5150 * gdb.fortran/logical.f90: Define variable with character type.
5151 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5152
b76f3a42
TV
51532020-03-11 Tom de Vries <tdevries@suse.de>
5154
5155 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5156
1c33af77
TV
51572020-03-11 Tom de Vries <tdevries@suse.de>
5158
5159 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5160 symtabs.
5161
8c95582d
AB
51622020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5163 Bernd Edlinger <bernd.edlinger@hotmail.de>
5164
5165 * gdb.cp/step-and-next-inline.cc: New file.
5166 * gdb.cp/step-and-next-inline.exp: New file.
5167 * gdb.cp/step-and-next-inline.h: New file.
5168 * gdb.dwarf2/dw2-is-stmt.c: New file.
5169 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5170 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5171 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5172 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5173
cecf8547
AB
51742020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5175
5176 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5177 is-stmt flag in the line table.
5178
0ba678c9
TV
51792020-03-09 Tom de Vries <tdevries@suse.de>
5180
5181 * lib/gdb.exp (cached_file): Create cache dir.
5182
72fbdf83
TV
51832020-03-07 Tom de Vries <tdevries@suse.de>
5184
5185 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5186 * gdb.cp/rvalue-ref-params.exp: Same.
5187
436b5e99
TV
51882020-03-06 Tom de Vries <tdevries@suse.de>
5189
5190 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5191 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5192
09f2921c
TV
51932020-03-06 Tom de Vries <tdevries@suse.de>
5194
5195 * README: Fix "the the".
5196 * gdb.base/dprintf.exp: Same.
5197
50a3cc5d
TV
51982020-03-05 Tom de Vries <tdevries@suse.de>
5199
5200 * gdb.base/maint.exp: Update "main print statistics" expected output.
5201
0a709cba
AKS
52022020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5203
5204 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5205 (fortran_int8): Likewise.
5206 (fortran_real4): Likewise.
5207 (fortran_real8): Likewise.
5208 (fortran_complex4): Likewise.
5209 (fortran_logical4): Likewise.
5210 (fortran_character1): Likewise.
5211
5e5d66b6
AB
52122020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5213
5214 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5215 printed as true.
5216
7b973adc
SDJ
52172020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5218
5219 * gdb.base/printcmds.exp: Add test to verify printf of a
5220 variable holding an address.
5221
478e490a
TV
52222020-03-03 Tom de Vries <tdevries@suse.de>
5223
5224 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5225
1ef44e86
TV
52262020-03-03 Tom de Vries <tdevries@suse.de>
5227
5228 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5229 gdb_test_multiple call.
5230
b98cc2cf
TV
52312020-03-03 Tom de Vries <tdevries@suse.de>
5232
5233 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5234 gdb_test_multiple calls.
5235
63e163f2
AB
52362020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5237
5238 * gdb.base/default.exp: Remove test of 'set history filename'.
5239 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5240 filename to the empty string.
5241 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5242 and GDBHISTSIZE.
5243
24ed6739
AB
52442020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5245
5246 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5247 disabled.
5248
590003dc 52492020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5250 Tom de Vries <tdevries@suse.de>
590003dc
TV
5251
5252 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5253 -prompt prefix, before user_code argument. Add -lbl option likewise.
5254 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5255 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5256 argument.
5257 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5258 have "\r\n" at start-of-line, instead of at end-of-line.
5259
f5e46084
SM
52602020-02-28 Simon Marchi <simon.marchi@efficios.com>
5261
5262 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5263 libinproctrace.so.
5264
f7a7000d
LM
52652020-02-28 Luis Machado <luis.machado@linaro.org>
5266
5267 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5268 to "p/x".
5269
718e0816
LM
52702020-02-28 Luis Machado <luis.machado@linaro.org>
5271
5272 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5273 asm/ptrace.h and error.h.
5274
13c3a74a
TV
52752020-02-28 Tom de Vries <tdevries@suse.de>
5276
5277 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5278 (struct wrapper, do_something, mundane/symada__cS): Move ...
5279 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5280 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5281 Update "print symada__cS before partial symtab expansion" regexp.
5282 Update breakpoint location. Flush symbol cache after expansion.
5283
85d2d5bb
LM
52842020-02-28 Luis Machado <luis.machado@linaro.org>
5285
5286 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5287
3608f86c
TV
52882020-02-27 Tom de Vries <tdevries@suse.de>
5289
5290 * config/sid.exp: Remove unused globals.
5291 * gdb.base/attach.exp: Same.
5292 * gdb.base/catch-load.exp: Same.
5293 * gdb.base/dbx.exp: Same.
5294 * lib/gdb.exp: Same.
5295 * lib/mi-support.exp: Same.
5296 * lib/prompt.exp: Same.
5297
c8d4f6df
TV
52982020-02-27 Tom de Vries <tdevries@suse.de>
5299
5300 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5301 not set.
5302
0d79cdc4
AM
53032020-02-26 Aaron Merey <amerey@redhat.com>
5304
5305 * gdb.debuginfod: New directory for debuginfod tests.
5306 * gdb.debuginfod/main.c: New test file.
5307 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5308
0dce4280
TV
53092020-02-26 Tom de Vries <tdevries@suse.de>
5310
5311 PR gdb/25603
5312 * gdb.base/persistent-lang.cc: New test.
5313 * gdb.base/persistent-lang.exp: New file.
5314
9e80cfa1
AB
53152020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5316
5317 * gdb.fortran/derived-type-striding.exp: Add a new test.
5318 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5319 new test.
5320
2078dbb2
AB
53212020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5322
5323 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5324 names.
5325
70d49700
TV
53262020-02-25 Tom de Vries <tdevries@suse.de>
5327
5328 PR go/18926
5329 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5330
a88ef40d
TV
53312020-02-24 Tom de Vries <tdevries@suse.de>
5332
5333 PR gdb/25592
5334 * gdb.base/info-locals-unused-static-var.c: New test.
5335 * gdb.base/info-locals-unused-static-var.exp: New file.
5336
01b1af32
TT
53372020-02-22 Tom Tromey <tom@tromey.com>
5338
5339 * gdb.python/tui-window.exp: New file.
5340 * gdb.python/tui-window.py: New file.
5341
7c043ba6
TT
53422020-02-22 Tom Tromey <tom@tromey.com>
5343
5344 PR tui/17850:
5345 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5346 tests.
5347
c22fef7e
TT
53482020-02-22 Tom Tromey <tom@tromey.com>
5349
5350 * gdb.tui/new-layout.exp: Add sub-layout tests.
5351
ee325b61
TT
53522020-02-22 Tom Tromey <tom@tromey.com>
5353
5354 * gdb.tui/new-layout.exp: New file.
5355
3f0cbb04
TT
53562020-02-22 Tom Tromey <tom@tromey.com>
5357
5358 * gdb.rust/rust-style.rs: New file.
5359 * gdb.rust/rust-style.exp: New file.
5360 * gdb.base/style.exp: Test structure printing.
5361 * gdb.base/style.c (struct some_struct): New type.
5362 (enum etype): New type.
5363 (struct_value): New global.
5364
75525152
TV
53652020-02-21 Tom de Vries <tdevries@suse.de>
5366
5367 PR go/18926
5368 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5369 Remove blanket xfails. Use message argument for gdb_breakpoint.
5370 Make continuing to breakpoint test conditional on setting breakpoint.
5371 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5372 DW_AT_name attribute. Add xfail for GCC PR93866.
5373
bd360d30
AB
53742020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5375
5376 * gdb.dwarf2/cpp-linkage-name.c: New file.
5377 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5378
c7adb09f 53792020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5380
5381 * lib/gdb.exp (gdb_wrapper_init): Reset
5382 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5383 not exist.
5384
a9c79803
TV
53852020-02-20 Tom de Vries <tdevries@suse.de>
5386
5387 PR go/17018
5388 * gdb.go/hello.exp: Copy ...
5389 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5390 print of st to print value of global definition. Add xfail for GCC
5391 PR93844.
5392 * gdb.go/hello.exp: Remove printing of st before definition.
5393 * gdb.go/hello.go: Copy ...
5394 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5395 to st.
5396 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5397
d7445728
TV
53982020-02-20 Tom de Vries <tdevries@suse.de>
5399
5400 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5401 (gdb_simple_compile): Handle compile_flags go by using .go extension
5402 for source file.
5403 * gdb.go/chan.exp: Use support_go_compile.
5404 * gdb.go/handcall.exp: Same.
5405 * gdb.go/hello.exp: Same.
5406 * gdb.go/integers.exp: Same.
5407 * gdb.go/max-depth.exp: Same.
5408 * gdb.go/methods.exp: Same.
5409 * gdb.go/package.exp: Same.
5410 * gdb.go/strings.exp: Same.
5411 * gdb.go/types.exp: Same.
5412 * gdb.go/unsafe.exp: Same.
5413
c9c41e6d
TV
54142020-02-19 Tom de Vries <tdevries@suse.de>
5415
5416 * gdb.python/lib-types.exp: Make xfail more strict.
5417
f20ff837
TV
54182020-02-19 Tom de Vries <tdevries@suse.de>
5419
5420 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5421
08410482
DE
54222020-02-19 Doug Evans <dje@google.com>
5423
5424 PR rust/25535
5425 * gdb.rust/simple.exp: Add test.
5426 * gdb.rust/simple.rs: Add test.
5427
623563f7
TV
54282020-02-19 Tom de Vries <tdevries@suse.de>
5429
5430 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5431 output line-by-line.
5432
d3308cfd
TV
54332020-02-19 Tom de Vries <tdevries@suse.de>
5434
5435 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5436
86cbc5dc
TV
54372020-02-19 Tom de Vries <tdevries@suse.de>
5438
5439 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5440 prelink.
5441
9db2b96b
TV
54422020-02-19 Tom de Vries <tdevries@suse.de>
5443
5444 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5445 (gdb_do_cache): Use gdb_do_cache_wrap.
5446 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5447
89e2fdc5
TV
54482020-02-19 Tom de Vries <tdevries@suse.de>
5449
5450 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5451 gdb_compile option.
5452
373d7ac0
SM
54532020-02-18 Simon Marchi <simon.marchi@efficios.com>
5454
5455 * gdb.base/printcmds.exp (test_print_enums): Update expected
5456 output.
5457
b29a2df0
SM
54582020-02-18 Simon Marchi <simon.marchi@efficios.com>
5459
5460 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5461 for "unknown".
5462
6740f0cc
SM
54632020-02-18 Simon Marchi <simon.marchi@efficios.com>
5464
5465 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5466 enumerator.
5467
edd45eb0
SM
54682020-02-18 Simon Marchi <simon.marchi@efficios.com>
5469
5470 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5471 FE_, add FE_NONE.
5472 (three): Update.
5473 (enum flag_enum_without_zero): New enum.
5474 (flag_enum_without_zero): New variable.
5475 (enum not_flag_enum): New enum.
5476 (three_not_flag): New variable.
5477 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5478 (test_print_enums): Add more tests for printing flag enums.
5479
d4295de4
TV
54802020-02-18 Tom de Vries <tdevries@suse.de>
5481
5482 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5483 (gdb_compile_ada): ... here.
5484 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5485 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5486
f251f505
TT
54872020-02-14 Tom Tromey <tom@tromey.com>
5488
5489 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5490 build directory.
5491 * boards/gdbserver-base.exp: Update path to gdbserver.
5492
8f432634
TV
54932020-02-13 Tom de Vries <tdevries@suse.de>
5494
5495 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5496
92b6eaf7
TV
54972020-02-13 Tom de Vries <tdevries@suse.de>
5498
5499 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5500 are missing.
5501
f3b0f7fe
TV
55022020-02-13 Tom de Vries <tdevries@suse.de>
5503
5504 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5505 call.
5506
f6be8713
SDJ
55072020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5508
5509 PR tui/25126
5510 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5511 * gdb.base/cached-source-file.c: New file.
5512 * gdb.base/cached-source-file.exp: New file.
5513
b2770d5e
TV
55142020-02-11 Tom de Vries <tdevries@suse.de>
5515
5516 PR testsuite/25488
5517 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5518
44f6938e
TV
55192020-02-10 Tom de Vries <tdevries@suse.de>
5520
5521 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5522
5f0e2eb7
MR
55232020-02-10 Maciej W. Rozycki <macro@wdc.com>
5524
5525 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5526 and $after_addr are both integers before making a comparison.
5527
46ce2b6f
TV
55282020-02-09 Tom de Vries <tdevries@suse.de>
5529
5530 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5531 command output and paste it into gdb.log. If any, paste catch message
5532 to gdb.log.
5533
5abbbe1d
TT
55342020-02-07 Tom Tromey <tromey@adacore.com>
5535
5536 PR breakpoints/24915:
5537 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5538
1d5d29e7
SV
55392020-02-06 Shahab Vahedi <shahab@synopsys.com>
5540
5541 * gdb.tui/tui-missing-src.exp: Add the "missing source
5542 file" test for the TUI.
5543
b0999b9b
AB
55442020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5545
5546 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5547 including a port number in the output.
5548
c3b149eb
AKS
55492020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5550
5551 * lib/fortran.exp (fortran_int4): Handle clang.
5552 (fortran_int8): Likewise.
5553 (fortran_real4): Likewise.
5554 (fortran_real8): Likewise.
5555 (fortran_complex4): Likewise.
5556 (fortran_logical4): Likewise.
5557 (fortran_character1): Likewise.
5558
f8dcc90b
TV
55592020-02-04 Tom de Vries <tdevries@suse.de>
5560
5561 * README (Race detection): Add note.
5562
f90ac7c2
TV
55632020-02-04 Tom de Vries <tdevries@suse.de>
5564
5565 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5566
780636ae
TV
55672020-02-04 Tom de Vries <tdevries@suse.de>
5568
5569 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5570
5d2e1193
RA
55712020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5572
5573 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5574 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5575 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5576 blttar, bnetarl.
5577 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5578 binary for blttar, bnetarl.
5579 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5580 wait instruction. Delete ldmx test.
5581 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5582
e409c542
AKS
55832020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5584
5585 * gdb.fortran/array-bounds-high.exp: New file.
5586 * gdb.fortran/array-bounds-high.f90: New file.
5587
b0029748
LD
55882020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5589
5590 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5591 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5592
195a8287
TV
55932020-02-01 Tom de Vries <tdevries@suse.de>
5594
5595 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5596
42330a68
AB
55972020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5598
5599 PR tui/9765
5600 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5601 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5602
b62a8028
LM
56032020-01-29 Luis Machado <luis.machado@linaro.org>
5604
5605 * gdb.arch/aarch64-brk-patterns.c: New source file.
5606 * gdb.arch/aarch64-brk-patterns.exp: New test.
5607
5f440116
TBA
56082020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5609
5610 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5611 GCC/Clang version.
5612 * gdb.cp/pass-by-ref.exp: Ditto.
5613
ee2a6fc6
TV
56142020-01-29 Tom de Vries <tdevries@suse.de>
5615
5616 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5617 * gdb.threads/watchpoint-fork-mt.c: Same.
5618 * gdb.threads/watchpoint-fork-parent.c: Same.
5619 * gdb.threads/watchpoint-fork-st.c: Same.
5620 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5621
16b10d6e
LM
56222020-01-27 Luis Machado <luis.machado@linaro.org>
5623
5624 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5625 sitting at a syscall instruction when we hit the syscall function's
5626 breakpoint.
5627 Check PC against one obtained with the x command.
5628 Validate syscall number.
5629 (step_over_syscall): Don't continue to the syscall instruction if
5630 we're already there.
5631
b1468492
PW
56322020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5633
5634 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5635
7ffa82e1
AB
56362020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5637
5638 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5639 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5640
3d92a3e3
AB
56412020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5642
5643 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5644 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5645
94a72be7
AB
56462020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5647
5648 * gdb.base/maint.exp: Update line table parsing test.
5649 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5650
53af73bf
PA
56512020-01-24 Pedro Alves <palves@redhat.com>
5652
5653 PR gdb/25410
5654 * gdb.multi/multi-re-run-1.c: New.
5655 * gdb.multi/multi-re-run-2.c: New.
5656 * gdb.multi/multi-re-run.exp: New.
5657
1ba1ac88
AB
56582020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5659
5660 PR gdb/23718
5661 * gdb.server/server-kill-python.exp: New file.
5662
f3364a6d
AB
56632020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5664
5665 * gdb.server/multi-ui-errors.c: New file.
5666 * gdb.server/multi-ui-errors.exp: New file.
5667
733d0a67
AB
56682020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5669
5670 PR tui/9765
5671 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5672
4f13c1c0
TT
56732020-01-19 Tom Tromey <tom@tromey.com>
5674
5675 * gdb.tui/main.exp: Add check for plain "file".
5676
40c94099
CB
56772020-01-16 Christian Biesinger <cbiesinger@google.com>
5678
5679 * lib/gdb.exp: Fix spelling error (seperatelly).
5680
ff47f4f0
TT
56812020-01-14 Tom Tromey <tom@tromey.com>
5682
5683 PR symtab/12535:
5684 * gdb.python/python.exp: Test decode_line with empty string
5685 argument.
5686
717c684d
BE
56872020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5688
5689 * gdb.base/skip-inline.exp: Extend test.
5690
44e4c775
AB
56912020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5692
5693 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5694 * gdb.dwarf2/dw2-bad-elf.c: New file.
5695 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5696
d93c6db7
AB
56972020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5698
5699 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5700 _line_saw_file.
5701
9a6d629c
AB
57022020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5703
5704 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5705 border.
5706
d9ebdab7
TBA
57072020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5708
5709 * gdb.multi/multi-target.exp (setup): Factor out "info
5710 connections" and "info inferiors" tests to ...
5711 (test_info_inferiors): ... this new procedure.
5712 (top level): Run new "info-inferiors" tests.
5713
f3c469b9
PA
57142020-01-10 Pedro Alves <palves@redhat.com>
5715
5716 * gdb.server/bkpt-other-inferior.exp: New file.
5717
121b3efd
PA
57182020-01-10 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5721 of "add-inferior".
5722 * gdb.base/quit-live.exp: Likewise.
5723 * gdb.base/remote-exec-file.exp: Likewise.
5724 * gdb.guile/scm-progspace.exp: Likewise.
5725 * gdb.linespec/linespec.exp: Likewise.
5726 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5727 * gdb.mi/user-selected-context-sync.exp: Likewise.
5728 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5729 "info inferiors" tests.
5730 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5731 "add-inferior".
5732 * gdb.multi/watchpoint-multi.exp: Likewise.
5733 * gdb.python/py-inferior.exp: Likewise.
5734 * gdb.server/extended-remote-restart.exp: Likewise.
5735 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5736 "info inferiors".
5737 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5738 * gdb.trace/report.exp: Likewise.
5739
1dadb1dd
PA
57402020-01-10 Pedro Alves <palves@redhat.com>
5741
5742 * gdb.multi/multi-target.c: New file.
5743 * gdb.multi/multi-target.exp: New file.
5744 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5745 mode requested, but remote does not support non-stop".
5746
78f2c40a
PA
57472020-01-10 Pedro Alves <palves@redhat.com>
5748
5749 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5750 disconnect before reconnecting.
5751
e7af6c70
TBA
57522020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5753 Pedro Alves <palves@redhat.com>
5754
5755 * gdb.server/connect-without-multi-process.exp: Also test
5756 continuing to end.
5757
acdf84a6
PA
57582020-01-10 Pedro Alves <palves@redhat.com>
5759
5760 * gdb.base/remote-exec-file.exp: New file.
5761
873657b9
PA
57622020-01-10 Pedro Alves <palves@redhat.com>
5763
5764 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5765 output.
5766 * gdb.threads/async.c: New.
5767 * gdb.threads/async.exp: New.
5768 * gdb.multi/tids-gid-reset.c: New.
5769 * gdb.multi/tids-gid-reset.exp: New.
5770
7f0ae84c
GB
57712020-01-10 George Barrett <bob@bob131.so>
5772
5773 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5774 to help in finding the image relocation offset.
5775 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5776 options in arguments.
5777 (stap_test_no_debuginfo): Likewise.
5778 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5779 test variants.
5780 (stap_test): Add null semaphore relocation test.
5781
47e9d49d
GB
57822020-01-10 George Barrett <bob@bob131.so>
5783
5784 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5785 * gdb.base/stap-probe.exp: Likewise.
5786 (stap_test): Pass argument as an additional flag.
5787 (stap_test_no_debuginfo): Likewise.
5788 (stap_test): Check `info probes stap' output for semaphore
5789 addresses if the test binary is supposed to have them.
5790
f5a7c406
AB
57912020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5792
5793 * gdb.tui/basic.exp: Add more scrolling tests.
5794
9ae6bf64
TT
57952020-01-09 Tom Tromey <tom@tromey.com>
5796
5797 PR tui/18932:
5798 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5799 meangingful value.
5800 (Term::command, Term::resize): Update.
5801 * gdb.tui/basic.exp: Add scrolling test.
5802
b2efe70c
AB
58032020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5804
5805 * gdb.tui/tui-layout-asm.exp: New file.
5806
3804da7e
AB
58072020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5808
5809 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5810
b40aa28f
AB
58112020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5812
5813 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5814 (Term::enter_tui): Use Term::prepare_for_tui.
5815
63ffd7c9
AB
58162020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5817
5818 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5819 called.
5820
3be966f6
AB
58212020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5822
5823 * gdb.base/skip.exp: Fix race condition in test.
5824
153d79c4
AB
58252020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5826
5827 * gdb.base/backtrace.c: New file.
5828 * gdb.base/backtrace.exp: New file.
5829
f2302a34
AB
58302020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5831
5832 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5833
6ec1d75e
PW
58342020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5835
5836 * gdb.base/style.exp: Test that warnings are styled.
5837
c296cbe6
BE
58382019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5839
5840 * gdb.base/line65535.exp: New file.
5841 * gdb.base/line65535.c: New file.
5842
b28a729d
SM
58432019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5844
5845 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5846 * lib/gnat_debug_info_test.adb: New file.
5847 * gdb.ada/ptype_tagged_param.exp: Use
5848 gnat_runtime_has_debug_info, expect a different output if
5849 runtime does not have debug info.
5850
7f2d7a0d
SM
58512019-12-20 Simon Marchi <simon.marchi@efficios.com>
5852
5853 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5854 (another) quote in test name.
5855
f3bce483
SM
58562019-12-20 Simon Marchi <simon.marchi@efficios.com>
5857
5858 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5859 Add quote in test name.
5860
c855a912
TBA
58612019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5862
5863 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5864 directory instead.
5865 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5866 * gdb.cp/pass-by-ref-2.cc: New file.
5867 * gdb.cp/pass-by-ref-2.exp: New file.
5868
fc9d2d72
TT
58692019-12-20 Tom Tromey <tom@tromey.com>
5870
5871 * gdb.tui/list-before.exp: New file.
5872
77b97e00
TT
58732019-12-20 Tom Tromey <tom@tromey.com>
5874
5875 * gdb.tui/list.exp: Check for source on initial listing.
5876
f69656d0
TT
58772019-12-11 Tom Tromey <tromey@adacore.com>
5878
5879 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5880 Add crlf test.
5881
99a55965
SM
58822019-12-18 Simon Marchi <simon.marchi@efficios.com>
5883
5884 * gdb.base/default.exp: Update value of $_gdb_major.
5885
5024637f
BE
58862019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5887
5888 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5889
b63634be
BE
58902019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5891
5892 * gdb.base/skip.exp: Whitespace fix.
5893
45d73523
BE
58942019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5895
5896 * gdb.base/skip-inline.c: New file.
5897 * gdb.base/skip-inline.exp: New file.
5898
d043f8c8
SM
58992019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5900
5901 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5902 jit_function_00 to jit_function_stack_mangle.
5903 * gdb.base/jithost.c (jit_function_t): Rename to...
5904 (jit_function_stack_mangle_t): ... this.
5905 (jit_function_add_t): New typedef.
5906 (jit_function_00_code): Rename to...
5907 (jit_function_stack_mangle_code): ... this, make static.
5908 (jit_function_add_code): New.
5909 (main): Generate "add" function and call it. Adjust to changes
5910 in jithost_abi.
5911 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5912 (struct jithost_abi) <begin, end>: Remove fields.
5913 <object, function_stack_mangle, function_add>: New fields.
5914 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5915 code_end>: Remove fields.
5916 <func_stack_mangle>: New field.
5917 (read_debug_info): Adjust to renaming, create block for "add"
5918 function.
5919 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5920
873de05c
TT
59212019-12-11 Tom Tromey <tom@tromey.com>
5922
5923 * gdb.tui/resize.exp: Fix regexp.
5924 * gdb.tui/regs.exp: Fix regexps.
5925 * gdb.tui/main.exp: Fix regexp.
5926
3d979945
TT
59272019-12-11 Tom Tromey <tom@tromey.com>
5928
5929 * gdb.tui/resize.exp: Update.
5930 * gdb.tui/empty.exp (layouts): Update.
5931
2192a9d3
TT
59322019-12-11 Tom Tromey <tom@tromey.com>
5933
5934 * gdb.tui/regs.exp: Update.
5935 * gdb.tui/empty.exp (layouts): Update.
5936 * gdb.tui/basic.exp: Update.
5937 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5938
d8edc8b7
PW
59392019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5940
5941 * gdb.base/options.exp: Add -raw-values in the print completion list.
5942 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5943
4c12d936
KB
59442019-12-10 Kevin Buettner <kevinb@redhat.com>
5945
5946 * gdb.threads/omp-par-scope.c: New file.
5947 * gdb/threads/omp-par-scope.exp: New file.
5948
26b911fb
KB
59492019-12-10 Kevin Buettner <kevinb@redhat.com>
5950
bb47f919
KB
5951 * lib/gdb.exp (support_nested_function_tests): New proc.
5952
59532019-12-10 Kevin Buettner <kevinb@redhat.com>
5954
5955 * lib/gdb.exp (gdb_compile_openmp): New proc.
5956 (build_executable_from_specs): Add an "openmp" option.
5957 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5958
6c71eb7d
TT
59592019-12-10 Tom Tromey <tromey@adacore.com>
5960
5961 * gdb.ada/unchecked_union.exp: New file.
5962 * gdb.ada/unchecked_union/pck.adb: New file.
5963 * gdb.ada/unchecked_union/pck.ads: New file.
5964 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5965 * gdb-utils.exp (string_to_regexp): Also quote "?".
5966
bac7c5cf
GB
59672019-12-10 George Barrett <bob@bob131.so>
5968
5969 Test scripted probe breakpoints.
5970 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5971 * gdb.python/py-breakpoint.c (main): Likewise.
5972 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5973 specifier test.
5974 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5975
330f1d38
TBA
59762019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5977
5978 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5979 an rvalue parameter.
5980 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5981 parameter.
5982
b43315e2
AB
59832019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5984
5985 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5986 modules.
5987
54f73dad
AB
59882019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5989
5990 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5991 broken version of GCC.
5992
d57cbee9
AB
59932019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5994
5995 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5996 sym-info-cmds library.
5997 * gdb.fortran/info-types.exp: Likewise.
5998 * lib/sym-info-cmds.exp: New file.
5999
c14aab8c
TV
60002019-12-08 Tom de Vries <tdevries@suse.de>
6001
6002 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6003
aa2d5a42
KS
60042019-12-07 Keith Seitz <keiths@redhat.com>
6005
6006 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6007 * gdb.base/corefile-buildid-shlib.c: New file.
6008 * gdb.base/corefile-buildid.c: New file.
6009 * gdb.base/corefile-buildid.exp: New file.
6010
93e55f0a
TV
60112019-12-06 Tom de Vries <tdevries@suse.de>
6012
6013 * gdb.dwarf2/varval.exp: Add decl before def test.
6014
c7d12402
TBA
60152019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6016
6017 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6018
06acc08f
TBA
60192019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6020
6021 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6022 CV and reference conversion for overload resolution.
6023 * gdb.cp/rvalue-ref-overload.exp: Test it.
6024
e0fad1ea
PW
60252019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6026
6027 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6028 * gdb.base/frameapply.exp: Test faas without command.
6029
8d70a9f0
AB
60302019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6031
6032 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6033 Fortran tests.
6034 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6035 order.
6036
36c8fb93
AB
60372019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6038
6039 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6040 casting to type with no kind specified.
6041 (test_basic_parsing_of_type_kinds): Additional tests for types
6042 with no kind specified, and add tests for single/double
6043 precision/complex types.
6044
4139ff00
TT
60452019-12-04 Tom Tromey <tromey@adacore.com>
6046
6047 * gdb.base/endianity.c (struct other) <x>: New field.
6048 (main): Initialize it.
6049 * gdb.base/endianity.exp: Update.
6050
a05cf17a
TT
60512019-12-04 Tom Tromey <tromey@adacore.com>
6052
6053 * gdb.ada/scalar_storage/storage.adb: New file.
6054 * gdb.ada/scalar_storage/pck.adb: New file.
6055 * gdb.ada/scalar_storage/pck.ads: New file.
6056 * gdb.ada/scalar_storage.exp: New file.
6057
103a685e
TT
60582019-12-04 Tom Tromey <tromey@adacore.com>
6059
6060 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6061 (main): Initialize it.
6062 * gdb.base/endianity.exp: Update.
6063
c2512106
AB
60642019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6065
6066 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6067
293b38d6
AB
60682019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6069
6070 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6071 -symbol-info-module-functions and -symbol-info-module-variables.
6072
216a7e6b
AB
60732019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6074
6075 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6076
5bbd8269
AB
60772019-12-01 Richard Bunt <richard.bunt@arm.com>
6078 Andrew Burgess <andrew.burgess@embecosm.com>
6079
6080 * gdb.fortran/derived-type-striding.exp: New file.
6081 * gdb.fortran/derived-type-striding.f90: New file.
6082 * gdb.fortran/array-slices.exp: New file.
6083 * gdb.fortran/array-slices.f90: New file.
6084
be09caf1
PW
60852019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6086
6087 * gdb.base/define.exp: Test . in command names.
6088 * gdb.base/setshow.exp: Update test, as . is now part of
6089 command name.
6090
643c0cbe
PW
60912019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6092
6093 * gdb.base/define-prefix.exp: New file.
6094
dcdec678
AB
60952019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6096
6097 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6098 compile.
6099 (skip_btrace_pt_tests): Likewise.
6100
640ab947
AB
61012019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6102
6103 * gdb.fortran/info-modules.exp: Compile source files in correct
6104 order.
6105
d22670f0
KB
61062019-11-27 Kevin Buettner <kevinb@redhat.com>
6107
6108 * gdb.dwarf2/imported-unit.exp: New file.
6109 * gdb.dwarf2/imported-unit.c: New file.
6110
db5960b4
AB
61112019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6112
6113 * gdb.mi/mi-fortran-modules-2.f90: New file.
6114 * gdb.mi/mi-fortran-modules.exp: New file.
6115 * gdb.mi/mi-fortran-modules.f90: New file.
6116
7dc42066
AB
61172019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6118
6119 * gdb.mi/mi-sym-info-1.c: New file.
6120 * gdb.mi/mi-sym-info-2.c: New file.
6121 * gdb.mi/mi-sym-info.exp: New file.
6122
0dfeecca
TT
61232019-11-22 Tom Tromey <tromey@adacore.com>
6124
6125 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6126 * gdb.ada/tasks/foo.adb: Add another stopping location.
6127
34877895
PJ
61282019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6129
6130 * gdb.base/endianity.c: New test.
6131 * gdb.base/endianity.exp: New file.
6132
2e84f897
LD
61332019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6134
6135 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6136
65d1cd5f
TV
61372019-11-21 Tom de Vries <tdevries@suse.de>
6138
6139 PR gdb/24956
6140 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6141
4f22c3f4
SDJ
61422019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6143
6144 * gdb.python/py-progspace.exp: Add missing parentheses on some
6145 'print' commands.
6146
9f6ad286
TT
61472019-11-19 Tom Tromey <tom@tromey.com>
6148
6149 * gdb.tui/winheight.exp: New file.
6150
0b8dbf3f
AB
61512019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6152
6153 * gdb.base/ctf-whatis.c: Delete.
6154 * gdb.base/ctf-whatis.exp: Delete.
6155 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6156
f833b7a7
AB
61572019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6158
6159 * gdb.base/ctf-cvexpr.exp: Delete.
6160 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6161
30d0a636
AB
61622019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6163
6164 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6165 the compiler. Clean up header comment a little.
6166 * gdb.base/ctf-ptype.exp: Likewise.
6167 * gdb.base/ctf-whatis.exp: Likewise.
6168 * lib/gdb.exp (skip_ctf_tests): New proc.
6169
494409bb
SDJ
61702019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6171
6172 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6173 * gdb.tui/corefile-run.exp: New file.
6174
55708e99
TT
61752019-11-14 Tom Tromey <tromey@adacore.com>
6176
6177 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6178 regression tests.
6179
45e42163
TT
61802019-11-12 Tom Tromey <tom@tromey.com>
6181
6182 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6183 after any command. Expect prompt after WAIT_FOR is seen.
6184 (enter_tui): Enable resize messages.
6185 (command): Expect command in output.
6186 (get_line): Avoid error when cursor appears to be off-screen.
6187 (dump_screen): Include screen size in title.
6188 (_do_resize): New proc, from "resize".
6189 (resize): Rewrite. Do resize in two steps.
6190 * gdb.tui/empty.exp (layouts): Fix entries.
6191 (check_boxes): Remove xfail.
6192 (check_text): Dump screen on failure.
6193
086baaf1
AB
61942019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6195
6196 * gdb.python/py-symbol.exp: Add test for
6197 gdb.lookup_static_symbols.
6198
09ff83af
AB
61992019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6200
6201 * gdb.python/py-symbol.c: Declare and call function from new
6202 py-symbol-2.c file.
6203 * gdb.python/py-symbol.exp: Compile both source files, and add new
6204 tests for gdb.lookup_static_symbol.
6205 * gdb.python/py-symbol-2.c: New file.
6206
11af934b
TV
62072019-11-02 Tom de Vries <tdevries@suse.de>
6208
6209 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6210 * gdb.base/anon.exp: Same.
6211 * gdb.base/auto-connect-native-target.exp: Same.
6212 * gdb.base/call-ar-st.exp: Same.
6213 * gdb.base/catch-syscall.exp: Same.
6214 * gdb.base/commands.exp: Same.
6215 * gdb.base/default.exp: Same.
6216 * gdb.base/display.exp: Same.
6217 * gdb.base/float.exp: Same.
6218 * gdb.base/foll-fork.exp: Same.
6219 * gdb.base/help.exp: Same.
6220 * gdb.base/info-macros.exp: Same.
6221 * gdb.base/info-proc.exp: Same.
6222 * gdb.base/info-target.exp: Same.
6223 * gdb.base/long_long.exp: Same.
6224 * gdb.base/macscp.exp: Same.
6225 * gdb.base/memattr.exp: Same.
6226 * gdb.base/nofield.exp: Same.
6227 * gdb.base/pointers.exp: Same.
6228 * gdb.base/printcmds.exp: Same.
6229 * gdb.base/ptype.exp: Same.
6230 * gdb.base/restore.exp: Same.
6231 * gdb.base/return.exp: Same.
6232 * gdb.base/scope.exp: Same.
6233 * gdb.base/set-noassign.exp: Same.
6234 * gdb.base/setshow.exp: Same.
6235 * gdb.base/shlib-call.exp: Same.
6236 * gdb.base/signals.exp: Same.
6237 * gdb.base/sigstep.exp: Same.
6238 * gdb.base/skip.exp: Same.
6239 * gdb.base/solib-symbol.exp: Same.
6240 * gdb.base/stap-probe.exp: Same.
6241 * gdb.base/step-line.exp: Same.
6242 * gdb.base/step-test.exp: Same.
6243 * gdb.base/style.exp: Same.
6244 * gdb.base/varargs.exp: Same.
6245 * gdb.base/vla-datatypes.exp: Same.
6246 * gdb.base/vla-ptr.exp: Same.
6247 * gdb.base/vla-sideeffect.exp: Same.
6248 * gdb.base/volatile.exp: Same.
6249 * gdb.base/watch-cond-infcall.exp: Same.
6250 * gdb.base/watchpoint.exp: Same.
6251
e96ec2ba
TV
62522019-11-02 Tom de Vries <tdevries@suse.de>
6253
6254 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6255 * gdb.cp/cpexprs.exp: Same.
6256 * gdb.cp/except-multi-location.exp: Same.
6257 * gdb.cp/exceptprint.exp: Same.
6258 * gdb.cp/gdb2384.exp: Same.
6259 * gdb.cp/inherit.exp: Same.
6260 * gdb.cp/m-static.exp: Same.
6261 * gdb.cp/meth-typedefs.exp: Same.
6262 * gdb.cp/misc.exp: Same.
6263 * gdb.cp/namespace.exp: Same.
6264 * gdb.cp/non-trivial-retval.exp: Same.
6265 * gdb.cp/overload.exp: Same.
6266 * gdb.cp/pr17132.exp: Same.
6267 * gdb.cp/re-set-overloaded.exp: Same.
6268 * gdb.cp/rvalue-ref-types.exp: Same.
6269 * gdb.cp/templates.exp: Same.
6270
bd5766ec
LM
62712019-11-01 Luis Machado <luis.machado@linaro.org>
6272
6273 PR gdb/25124
6274
6275 * gdb.arch/pr25124.S: New file.
6276 * gdb.arch/pr25124.exp: New file.
6277
165f8965
AB
62782019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6279
6280 * gdb.fortran/info-modules.exp: Update expected results, and add
6281 additional tests for 'info module functinos', and 'info module
6282 variables'.
6283 * gdb.fortran/info-types.exp: Update expected results.
6284 * gdb.fortran/info-types.f90: Extend testcase with additional
6285 module variables and functions.
6286
59c35742
AB
62872019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6288
6289 * gdb.fortran/info-modules.exp: New file.
6290 * gdb.fortran/info-types.exp: Build with new file.
6291 * gdb.fortran/info-types.f90: Include and use new module.
6292 * gdb.fortran/info-types-2.f90: New file.
6293
f3fb2519
PW
62942019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6295
6296 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6297 * gdb.base/settings.exp: Test all settings types using
6298 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6299 that now verifies that the value of "maint show" is the same as
6300 returned by the settings functions. Test the type of the
6301 maintenance settings.
6302 * gdb.base/default.exp: Update show_conv_list.
6303
d1e36019
TV
63042019-10-31 Tom de Vries <tdevries@suse.de>
6305
6306 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6307 gdb_test.
6308 * gdb.arch/amd64-disp-step.exp: Same.
6309 * gdb.asm/asm-source.exp: Same.
6310 * gdb.btrace/buffer-size.exp: Same.
6311 * gdb.btrace/cpu.exp: Same.
6312 * gdb.btrace/enable.exp: Same.
6313 * gdb.dwarf2/count.exp: Same.
6314 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6315 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6316 * gdb.fortran/vla-datatypes.exp: Same.
6317 * gdb.fortran/vla-history.exp: Same.
6318 * gdb.fortran/vla-ptype.exp: Same.
6319 * gdb.fortran/vla-value.exp: Same.
6320 * gdb.fortran/whatis_type.exp: Same.
6321 * gdb.guile/guile.exp: Same.
6322 * gdb.multi/tids.exp: Same.
6323 * gdb.python/py-finish-breakpoint.exp: Same.
6324 * gdb.python/py-framefilter.exp: Same.
6325 * gdb.python/py-pp-registration.exp: Same.
6326 * gdb.python/py-xmethods.exp: Same.
6327 * gdb.python/python.exp: Same.
6328 * gdb.server/connect-with-no-symbol-file.exp: Same.
6329 * gdb.server/no-thread-db.exp: Same.
6330 * gdb.server/run-without-local-binary.exp: Same.
6331 * gdb.stabs/weird.exp: Same.
6332 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6333 * gdb.threads/thread-find.exp: Same.
6334 * gdb.threads/tls-shared.exp: Same.
6335 * gdb.threads/tls.exp: Same.
6336 * gdb.threads/wp-replication.exp: Same.
6337 * gdb.trace/ax.exp: Same.
6338 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6339
3d11e68e
TV
63402019-10-31 Tom de Vries <tdevries@suse.de>
6341
6342 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6343 * gdb.ada/array_subscript_addr.exp: Same.
6344 * gdb.ada/arrayidx.exp: Same.
6345 * gdb.ada/arrayparam.exp: Same.
6346 * gdb.ada/arrayptr.exp: Same.
6347 * gdb.ada/boolean_expr.exp: Same.
6348 * gdb.ada/call_pn.exp: Same.
6349 * gdb.ada/complete.exp: Same.
6350 * gdb.ada/fixed_cmp.exp: Same.
6351 * gdb.ada/fun_addr.exp: Same.
6352 * gdb.ada/funcall_param.exp: Same.
6353 * gdb.ada/interface.exp: Same.
6354 * gdb.ada/mod_from_name.exp: Same.
6355 * gdb.ada/null_array.exp: Same.
6356 * gdb.ada/packed_array.exp: Same.
6357 * gdb.ada/packed_tagged.exp: Same.
6358 * gdb.ada/print_chars.exp: Same.
6359 * gdb.ada/print_pc.exp: Same.
6360 * gdb.ada/ptype_arith_binop.exp: Same.
6361 * gdb.ada/ptype_field.exp: Same.
6362 * gdb.ada/ptype_tagged_param.exp: Same.
6363 * gdb.ada/rec_return.exp: Same.
6364 * gdb.ada/ref_tick_size.exp: Same.
6365 * gdb.ada/str_ref_cmp.exp: Same.
6366 * gdb.ada/taft_type.exp: Same.
6367 * gdb.ada/tagged.exp: Same.
6368 * gdb.ada/type_coercion.exp: Same.
6369 * gdb.ada/uninitialized_vars.exp: Same.
6370
60b6ede8
TV
63712019-10-30 Tom de Vries <tdevries@suse.de>
6372
6373 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6374
30baf67b
TV
63752019-10-26 Tom de Vries <tdevries@suse.de>
6376
6377 * gdb.base/bigcore.c: Fix typos in comments.
6378 * gdb.base/ctf-ptype.c: Same.
6379 * gdb.base/long_long.c: Same.
6380 * gdb.dwarf2/dw2-op-out-param.S: Same.
6381 * gdb.python/py-evthreads.c: Same.
6382 * gdb.reverse/i387-stack-reverse.c: Same.
6383 * gdb.trace/tfile.c: Same.
6384 * lib/compiler.c: Same.
6385 * lib/compiler.cc: Same.
6386
158da0d1
TV
63872019-10-25 Tom de Vries <tdevries@suse.de>
6388
6389 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6390 gdb_test_multiple calls.
6391 * gdb.reverse/sigall-reverse.exp: Same.
6392 * gdb.reverse/solib-precsave.exp: Same.
6393 * gdb.reverse/solib-reverse.exp: Same.
6394 * gdb.reverse/until-precsave.exp: Same.
6395 * gdb.reverse/until-reverse.exp: Same.
6396
4ccdfbec
TV
63972019-10-24 Tom de Vries <tdevries@suse.de>
6398
6399 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6400 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6401 kfail using -wrap pattern flag and convenience variable
6402 gdb_test_name.
6403
33d569b7
AB
64042019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6405
6406 * gdb.python/py-progspace.exp: Add tests for the
6407 Progspace.block_for_pc method.
6408
4d0b984b
TT
64092019-10-23 Tom Tromey <tom@tromey.com>
6410
6411 * configure: Rebuild.
6412 * aclocal.m4: Use m4_include, not sinclude.
6413
94cb3754
TV
64142019-10-21 Tom de Vries <tdevries@suse.de>
6415
6416 * gdb.base/infcall-nested-structs.c: Add
6417 __attribute__((noinline,noclone)) to all functions.
6418 (call_all): Add missing variable initialization. Simplify return value.
6419 (breakpt): Increment volatile variable, to prevent call from being
6420 optimized out.
6421 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6422
062f1fc1
TV
64232019-10-17 Tom de Vries <tdevries@suse.de>
6424
6425 * gdb.fortran/module.exp: Allow info variables to print info for files
6426 other than module.f90.
6427
0b54364d
AB
64282019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6429
6430 * gdb.fortran/module.exp: Extend with 'info variables' test.
6431
7ff5fae7
AB
64322019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6433
6434 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6435 F77_FOR_TARGET.
6436
d10eccaa
TV
64372019-10-16 Tom de Vries <tdevries@suse.de>
6438
6439 PR tdep/25096
6440 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6441
745ff14e
TV
64422019-10-16 Tom de Vries <tdevries@suse.de>
6443
6444 PR tdep/24104
6445 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6446 Add KFAIL for PR tdep/25096.
6447
03e1ab94
TV
64482019-10-16 Tom de Vries <tdevries@suse.de>
6449
6450 PR testsuite/25059
6451 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6452
b17fcc10
TV
64532019-10-16 Tom de Vries <tdevries@suse.de>
6454
6455 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6456 as signed.
6457
9223170f
SM
64582019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6459
6460 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6461 one instead of increasing timeout.
6462
d6e76313
TV
64632019-10-13 Tom de Vries <tdevries@suse.de>
6464
6465 PR record/25038
6466 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6467 * gdb.reverse/sigall-reverse.exp: Same.
6468 * gdb.reverse/solib-precsave.exp: Same.
6469 * gdb.reverse/solib-reverse.exp: Same.
6470 * gdb.reverse/step-precsave.exp: Same.
6471 * gdb.reverse/until-precsave.exp: Same.
6472 * gdb.reverse/until-reverse.exp: Same.
6473 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6474
6dfc0041
AA
64752019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6476
6477 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6478 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6479 (cmp_struct_05_01, cmp_struct_static_02_01)
6480 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6481 comparisons.
6482
abcf2cc8
TV
64832019-10-10 Tom de Vries <tdevries@suse.de>
6484
6485 PR testsuite/24888
6486 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6487 gnatlink.
6488
a50faaf6
TV
64892019-10-09 Tom de Vries <tdevries@suse.de>
6490
6491 PR testsuite/25048
6492 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6493
60ff3cd7
AB
64942019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6495
6496 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6497 exceptions due to missing debug information.
6498
dfee8566
TV
64992019-10-07 Tom de Vries <tdevries@suse.de>
6500
6501 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6502
3d63690a
AB
65032019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6504
6505 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6506 * gdb.base/annota1.exp: Update to use gdb_test_name.
6507
30d1f018
WP
65082019-10-07 Weimin Pan <weimin.pan@oracle.com>
6509
6510 * gdb.base/ctf-whatis.exp: New file.
6511 * gdb.base/ctf-whatis.c: New file.
6512 * gdb.base/ctf-ptype.exp: New file.
6513 * gdb.base/ctf-ptype.c: New file.
6514 * gdb.base/ctf-constvars.exp: New file.
6515 * gdb.base/ctf-constvars.c: New file.
6516 * gdb.base/ctf-cvexpr.exp: New file.
6517
4dbbb47c
TV
65182019-10-04 Tom de Vries <tdevries@suse.de>
6519
6520 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6521 for loop.
6522
77c2dba3
TT
65232019-10-03 Tom Tromey <tom@tromey.com>
6524
6525 PR rust/24976:
6526 * gdb.rust/simple.rs (Union2): New type.
6527 (main): Use Union2.
6528 * gdb.rust/simple.exp: Add test.
6529
179aed7f
AB
65302019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6531
6532 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6533 nested function prefix.
6534
0a4b0913
AB
65352019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6536 Richard Bunt <richard.bunt@arm.com>
6537 Andrew Burgess <andrew.burgess@embecosm.com>
6538
6539 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6540 nested functions.
6541 * gdb.fortran/nested-funcs.f90: Update expected results.
6542 * gdb.fortran/nested-funcs-2.exp: New file.
6543 * gdb.fortran/nested-funcs-2.f90: New file.
6544
082cce05
AB
65452019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6546
6547 * gdb.python/py-parameter.exp: Make test names unique.
6548 * gdb.python/py-template.exp: Likewise.
6549 * gdb.python/py-value.exp: Likewise.
6550
2b74ba5a
AB
65512019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6552
6553 * gdb.base/break-interp.exp: Reduce test name duplication.
6554 * gdb.base/call-sc.exp: Likewise.
6555 * gdb.base/callfuncs.exp: Likewise.
6556 * gdb.base/charset.exp: Likewise.
6557 * gdb.base/dump.exp: Likewise.
6558 * gdb.base/ena-dis-br.exp: Likewise.
6559 * gdb.base/relational.exp: Likewise.
6560 * gdb.base/step-over-syscall.exp: Likewise.
6561 * gdb.base/structs.exp: Likewise.
6562
58eb20d5
AB
65632019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6564
6565 * gdb.linespec/explicit.exp: Make test names unique.
6566 * gdb.linespec/ls-errs.exp: Likewise.
6567
4d421147
AB
65682019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6569
6570 * gdb.reverse/break-precsave.exp: Make test names unique.
6571 * gdb.reverse/break-reverse.exp: Likewise.
6572 * gdb.reverse/finish-precsave.exp: Likewise.
6573 * gdb.reverse/finish-reverse.exp: Likewise.
6574 * gdb.reverse/machinestate-precsave.exp: Likewise.
6575 * gdb.reverse/machinestate.exp: Likewise.
6576 * gdb.reverse/readv-reverse.exp: Likewise.
6577 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6578 * gdb.reverse/sigall-precsave.exp: Likewise.
6579 * gdb.reverse/sigall-reverse.exp: Likewise.
6580 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6581 * gdb.reverse/watch-precsave.exp: Likewise.
6582 * gdb.reverse/watch-reverse.exp: Likewise.
6583
d8c06f22
AB
65842019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6585
6586 * gdb.threads/stop-with-handle.c: New file.
6587 * gdb.threads/stop-with-handle.exp: New file.
6588
3a56ed86
TV
65892019-10-03 Tom de Vries <tdevries@suse.de>
6590
6591 PR testsuite/25059
6592 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6593 directory" line to be missing.
6594
42275044
TV
65952019-10-03 Tom de Vries <tdevries@suse.de>
6596
6597 PR testsuite/25059
6598 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6599 type optional.
6600
9ef62df0
AA
66012019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6602
6603 * gdb.python/py-format-string.c (string.h): New include.
6604 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6605 the same value, for endianness-independence.
6606 * gdb.python/py-format-string.exp (default_regexp_dict)
6607 (test_pretty_structs, test_format): Adjust expected output to the
6608 changed initialization.
6609
37f6a7f4
TT
66102019-10-02 Tom Tromey <tromey@adacore.com>
6611
6612 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6613
1d58d6a2
PA
66142019-10-02 Pedro Alves <palves@redhat.com>
6615 Andrew Burgess <andrew.burgess@embecosm.com>
6616
6617 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6618 "print-file-var.h".
6619 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6620 (get_version_1): Print this_version_id and its address.
6621 Add extern "C" wrappers around interface functions.
6622 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6623 "print-file-var.h".
6624 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6625 (get_version_2): Print this_version_id and its address.
6626 Add extern "C" wrappers around interface functions.
6627 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6628 <stddef.h> and "print-file-var.h".
6629 Add extern "C" wrappers around interface functions.
6630 [VERSION_ID_MAIN] (this_version_id): Define.
6631 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6632 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6633 up extern "C" blocks.
6634 * gdb.base/print-file-var.exp (test): New, factored out from top
6635 level.
6636 (top level): Test all combinations of attribute hidden or not,
6637 dlopen or not, and this_version_id symbol in main file or not.
6638 Compile tests as both C++ and C, make test names unique.
6639
d770d56f
TT
66402019-10-01 Tom Tromey <tom@tromey.com>
6641
6642 * gdb.base/style.exp: Test "show logging filename".
6643
7f6aba03
TT
66442019-10-01 Tom Tromey <tom@tromey.com>
6645
6646 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6647 * gdb.base/style.exp: Add metadata style test.
6648
14309bb6
TT
66492019-10-01 Tom Tromey <tom@tromey.com>
6650
6651 * gdb.base/style.exp: Test "pwd".
6652
2a3c1174
PA
66532019-10-01 Tom Tromey <tom@tromey.com>
6654
6655 * gdb.base/style.exp: Update tests.
6656
53d666ec
AA
66572019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6658
6659 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6660 'six' to unsigned.
6661 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6662 'five'. Use an all-ones bit pattern for each.
6663 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6664 to its changed values.
6665
4a56a520
TT
66662019-09-30 Tom Tromey <tromey@adacore.com>
6667
6668 * gdb.rust/traits.rs: Disable all warnings.
6669
0df0352a
TV
66702019-09-29 Tom de Vries <tdevries@suse.de>
6671
aac66a4c 6672 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6673
73d9a918
TV
66742019-09-29 Tom de Vries <tdevries@suse.de>
6675
6676 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6677
060b3ab4
TV
66782019-09-27 Tom de Vries <tdevries@suse.de>
6679
6680 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6681
68f7d34d
TV
66822019-09-27 Tom de Vries <tdevries@suse.de>
6683
6684 PR record/23188
6685 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6686
5d63b30a
TT
66872019-09-26 Tom Tromey <tromey@adacore.com>
6688
6689 * gdb.ada/py_taft.exp: New file.
6690 * gdb.ada/py_taft/main.adb: New file.
6691 * gdb.ada/py_taft/pkg.adb: New file.
6692 * gdb.ada/py_taft/pkg.ads: New file.
6693
3d435220
TV
66942019-09-24 Tom de Vries <tdevries@suse.de>
6695
6696 PR gdb/24598
6697 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6698
77d03678
TV
66992019-09-22 Tom de Vries <tdevries@suse.de>
6700
6701 * gdb.base/restore.exp: Allow register variables to be optimized out at
6702 -O0.
6703
abf516c6
UW
67042019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6705
6706 * gdb.arch/spu-info.exp: Remove file.
6707 * gdb.arch/spu-info.c: Remove file.
6708 * gdb.arch/spu-ls.exp: Remove file.
6709 * gdb.arch/spu-ls.c: Remove file.
6710
6711 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6712 * gdb.asm/spu.inc: Remove file.
6713
6714 * gdb.base/dump.exp: Remove support for spu*-*-*.
6715 * gdb.base/stack-checking.exp: Likewise.
6716 * gdb.base/overlays.exp: Likewise.
6717 * gdb.base/ovlymgr.c: Likewise.
6718 * gdb.base/spu.ld: Remove file.
6719
6720 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6721 * gdb.cp/cpexprs.exp: Likewise.
6722 * gdb.cp/exception.exp: Likewise.
6723 * gdb.cp/gdb2495.exp: Likewise.
6724 * gdb.cp/mb-templates.exp: Likewise.
6725 * gdb.cp/pr9167.exp: Likewise.
6726 * gdb.cp/userdef.exp: Likewise.
6727
6728 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6729
6730 * gdb.cell: Remove directory.
6731 * lib/cell.exp: Remove file.
6732
e452e88f
TV
67332019-09-19 Tom de Vries <tdevries@suse.de>
6734
6735 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6736
8a625130
TV
67372019-09-19 Tom de Vries <tdevries@suse.de>
6738
6739 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6740
81dc3ab5
TV
67412019-09-19 Tom de Vries <tdevries@suse.de>
6742
6743 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6744 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6745 (gdb_target_cmd): ... here.
6746 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6747 value 2.
6748
b078f3ac
AB
67492019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6750
6751 * gdb.base/source-dir.exp: Avoid having directory names in test
6752 names.
6753
f1b620e9
MG
67542019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6755
6756 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6757 directory.
6758
67f3ed6a
AB
67592019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6760
6761 * gdb.base/list-missing-source.exp: New file.
6762
d1b70248
TV
67632019-09-14 Tom de Vries <tdevries@suse.de>
6764
6765 PR teststuite/24599
6766 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6767 * lib/ada.exp (gnatmake_version_at_least): New proc.
6768
5fabdcd6
AB
67692019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6770
6771 * gdb.base/maint.exp: Use exec_has_index_section.
6772
aa17805f
AB
67732019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6774
6775 * gdb.base/maint.exp: Add test for 'maint info sections'.
6776
25e5c209
TV
67772019-09-12 Tom de Vries <tdevries@suse.de>
6778
6779 * gdb.base/store.exp: Allow register variables to be optimized out at
6780 -O0.
6781
4993045d
PW
67822019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6783
6784 * gdb.ada/rdv_wait.exp: Update to new task names.
6785 * gdb.base/task_switch_in_core.exp: Likewise.
6786 * gdb.base/info_sources_base.c: Likewise.
6787
8a516164
TT
67882019-09-10 Tom Tromey <tromey@adacore.com>
6789
6790 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6791
aa391654
TT
67922019-09-10 Tom Tromey <tromey@adacore.com>
6793
6794 * gdb.ada/dgopt.exp: New file.
6795 * gdb.ada/dgopt/x.adb: New file.
6796
8634b462
TT
67972019-09-08 Tom Tromey <tom@tromey.com>
6798
6799 * gdb.tui/resize.exp: Remove setup_xfail.
6800 * gdb.tui/regs.exp: Remove setup_xfail.
6801 * gdb.tui/basic.exp: Remove setup_xfail.
6802
736b0f76
DB
68032019-09-06 David Blaikie <dblaikie@gmail.com>
6804
6805 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6806 * gdb.cp/cplabel.exp: Ditto.
6807 * gdb.linespec/ls-errs.exp: Ditto.
6808
30331a6c
TV
68092019-09-05 Tom de Vries <tdevries@suse.de>
6810
6811 * lib/gdb.exp (cmp_file_string): New proc.
6812 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6813 runto_main. Verify save breakpoints output.
6814
98b0ebab
PW
68152019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6816
6817 * gdb.base/info-var.exp: Test info variables without running
6818 to main, to avoid expect's buffer overflow.
6819
4e962e74
TT
68202019-09-03 Tom Tromey <tromey@adacore.com>
6821
6822 * gdb.ada/bias.exp: New file.
6823 * gdb.ada/bias/bias.adb: New file.
6824 * gdb.ada/print_chars.exp: Add regression test.
6825 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6826 (MC): New variable.
6827
2ea1a07a
SL
68282019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6829
6830 * gdb.base/argv0-symlink.exp: Run only on native target
6831 and local host.
6832
8077c50d
TV
68332019-08-29 Tom de Vries <tdevries@suse.de>
6834
6835 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6836 diverse debug info.
6837 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6838
48352473
TV
68392019-08-28 Tom de Vries <tdevries@suse.de>
6840
6841 * gdb.base/info-var.exp: Allow info variables to print info for files
6842 other than info-var-f1.c and info-var-f2.c.
6843
d8f27c60
AB
68442019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6845
6846 * gdb.fortran/info-types.exp: Add module.
6847 * gdb.fortran/info-types.f90: Update expected results.
6848
1f20c35e
AB
68492019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6850
6851 * gdb.fortran/info-types.exp: New file.
6852 * gdb.fortran/info-types.f90: New file.
6853 * lib/fortran.exp (fortran_character1): New proc.
6854
4acfdd20
AB
68552019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6856
6857 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6858 functions'. Reindent as needed.
6859 * gdb.base/info-var-f1.c: New file.
6860 * gdb.base/info-var-f2.c: New file.
6861 * gdb.base/info-var.exp: New file.
6862 * gdb.base/info-var.h: New file.
6863
5c31b358
TV
68642019-08-26 Tom de Vries <tdevries@suse.de>
6865
6866 PR c++/24852
6867 * gdb.cp/no-libstdcxx-probe.exp: New test.
6868
b694989f
TV
68692019-08-26 Tom de Vries <tdevries@suse.de>
6870
6871 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6872 * tests need to be skipped.
6873 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6874 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6875 mi_skip_libstdcxx_probe_tests.
6876
d9c4ba53
SDJ
68772019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6878
6879 * gdb.python/py-xmethods.exp: Use raw strings when passing
6880 arguments to SimpleXMethodMatcher.
6881
395fad09
TV
68822019-08-22 Tom de Vries <tdevries@suse.de>
6883
6884 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6885 more informative.
6886
26c957f1
PA
68872019-08-21 Pedro Alves <palves@redhat.com>
6888
6889 * gdb.base/with.exp: Test "with" with no arguments.
6890
61f80d5d
TV
68912019-08-21 Tom de Vries <tdevries@suse.de>
6892
6893 * gdb.base/gdb-caching-proc.exp: Sort files.
6894
d7a11d13
TV
68952019-08-20 Tom de Vries <tdevries@suse.de>
6896
6897 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6898 compilation.
6899
34dafe9f
TV
69002019-08-16 Tom de Vries <tdevries@suse.de>
6901
6902 * gdb.base/compare-sections.exp ("after run to main"): Allow
6903 mismatched read-only sections for PIE executables.
6904
398fdd60
TT
69052019-08-16 Tom Tromey <tom@tromey.com>
6906
6907 * lib/tuiterm.exp (_csi_Z): New proc.
6908 * gdb.tui/basic.exp: Update window positions.
6909 * gdb.tui/empty.exp: Update window positions.
6910
d8f9e51c
SL
69112019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6912
6913 * gdb.base/examine-backward.exp: Correct regexp for
6914 "examine 3 bytes backward from ${address_zero}".
6915
3df505f6
TT
69162019-08-15 Tom Tromey <tom@tromey.com>
6917
6918 * gdb.tui/empty.exp: Enable resizing tests.
6919
272560b5
TT
69202019-08-15 Tom Tromey <tromey@adacore.com>
6921
6922 * gdb.ada/char_enum.exp: Add regression tests.
6923 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6924 and '0'.
6925 (Char, Gchar): Update.
6926 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6927
08235187
CB
69282019-08-15 Christian Biesinger <cbiesinger@google.com>
6929
6930 * gdb.python/python.exp: Expect a leading underscore on
6931 GdbOutput{,Error}File.
6932
22a2ab04
SL
69332019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6934
6935 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6936 Windows host.
6937
835b995b
SL
69382019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6939
6940 * gdb.base/batch-preserve-term-settings.exp
6941 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6942
97dd8e07
CB
69432019-08-15 Christian Biesinger <cbiesinger@google.com>
6944
6945 * lib/gdb.exp: When running on a mingw target, replace
6946 /x/ with x:/.
6947
75faf5c4
AH
69482019-08-14 Alan Hayward <alan.hayward@arm.com>
6949
6950 * gdb.arch/aarch64-prologue.c: New test.
6951 * gdb.arch/aarch64-prologue.exp: New file.
6952
abc6c00f
TV
69532019-08-13 Tom de Vries <tdevries@suse.de>
6954
6955 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6956 Thread.
6957
74c2c1f4
SL
69582019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6959
6960 * gdb.python/py-completion.exp: Download the .py file to the host
6961 and use its host pathname. Conditionalize tests that use
6962 tab completion and manipulate files on the build machine.
6963 * gdb.python/py-events.exp: Download the .py file to the host
6964 and use its host pathname.
6965 * gdb.python/py-evsignal.exp: Likewise.
6966 * gdb.python/py-evthreads.exp: Likewise.
6967 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6968 pathname syntax.
6969 * gdb.python/py-framefilter.exp: Download the .py file to the right
6970 place on the host. Match Windows pathname syntax.
6971 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6972 .py file to the host and use its host pathname.
6973 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6974 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6975 build pathname. Skip symlink test on Windows host. Add missing
6976 newline at end of file.
6977 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6978 and use its host pathname.
6979 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6980 * gdb.python/py-section-script.exp: Use host location of binfile
6981 on safe-path. Use correct path separator on Windows host.
6982 Reorder alternatives in gdb_test_multiple to prevent matching
6983 the wrong alternative on success.
6984 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6985
ca2589f3
PP
69862019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6987
6988 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6989 expect the GDB inferior to no longer immediately stop after
6990 being resumed with "signal SIGINT".
6991
020a839d
SL
69922019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6993
6994 * gdb.linespec/break-ask.exp: Generalize regexps to match
6995 Windows pathnames too.
6996
128d6509
TV
69972019-08-08 Tom de Vries <tdevries@suse.de>
6998
6999 PR testsuite/24862
7000 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7001
590042fc
PW
70022019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7003
7004 * gdb.base/style.exp: Update tests for help doc new invariants.
7005 * gdb.base/help.exp: Likewise.
7006
046bebe1
TT
70072019-08-06 Tom Tromey <tom@tromey.com>
7008
7009 * gdb.base/style.exp: Add disassemble test.
7010 * gdb.base/style.c (some_called_function): New function.
7011 (main): Use it.
7012
0b27c27d
CB
70132019-08-05 Christian Biesinger <cbiesinger@google.com>
7014
7015 * gdb.python/py-block.exp: Test dictionary access on blocks.
7016
580f1034
SM
70172019-08-05 Simon Marchi <simon.marchi@efficios.com>
7018
7019 PR gdb/24863
7020 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7021 -list-thread-groups --available test when running under
7022 check-read1.
7023
d86bd7cb
TV
70242019-08-05 Tom de Vries <tdevries@suse.de>
7025
7026 PR testsuite/24863
7027 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7028 * gdb.base/help.exp: Use with_read1_timeout_factor.
7029 * gdb.base/info-macros.exp: Same.
7030 * gdb.cp/nested-types.exp: Same.
7031
a80cf5d8
TV
70322019-08-05 Tom de Vries <tdevries@suse.de>
7033
7034 * lib/gdb.exp (version_at_least): Factor out of ...
7035 (tcl_version_at_least): ... here.
7036 (gdb_compile): Fail if pie results in non-PIE executable.
7037 (readelf_version, readelf_prints_pie): New proc.
7038 (exec_is_pie): Return -1 if unknown.
7039
d0962838
TV
70402019-08-05 Tom de Vries <tdevries@suse.de>
7041
7042 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7043
2252ff3d
SL
70442019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7045
7046 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7047
26655f53
SL
70482019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7049
7050 * lib/completion-support.exp (test_gdb_complete_none): Skip
7051 tab completion tests if no readline support.
7052 (test_gdb_complete_unique_re): Likewise.
7053 (test_gdb_complete_multiple): Likewise.
7054
db4dc13e
PW
70552019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7056
7057 * gdb.base/info_sources.exp: New file.
7058 * gdb.base/info_sources.c: New file.
7059 * gdb.base/info_sources_base.c: New file.
7060
0eba165a
PFC
70612019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7062
7063 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7064 prefix argument.
7065 (test_exit_status): Add prefix argument.
7066
59bd512b
TV
70672019-08-01 Tom de Vries <tdevries@suse.de>
7068
7069 PR testsuite/24863
7070 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7071 calling exp_continue for new thread and thread exited messages.
7072
2a3ad588
TV
70732019-08-01 Tom de Vries <tdevries@suse.de>
7074
7075 PR testsuite/24863
7076 * gdb.base/structs.exp: Fix check-read1 timeout using
7077 gdb_test_sequence.
7078 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7079
117eb594
TV
70802019-08-01 Tom de Vries <tdevries@suse.de>
7081
7082 PR testsuite/24863
7083 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7084 line.
7085
ed591340
TV
70862019-08-01 Tom de Vries <tdevries@suse.de>
7087
7088 PR testsuite/24863
7089 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7090
aa3b6533
TT
70912019-07-30 Tom Tromey <tromey@adacore.com>
7092
7093 * gdb.ada/display_nested.exp: New file.
7094 * gdb.ada/display_nested/foo.adb: New file.
7095 * gdb.ada/display_nested/pack.adb: New file.
7096 * gdb.ada/display_nested/pack.ads: New file.
7097
2906593f
CB
70982019-07-30 Christian Biesinger <cbiesinger@google.com>
7099
7100 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7101 namespace.
7102 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7103
0f575925
TV
71042019-07-30 Tom de Vries <tdevries@suse.de>
7105
7106 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7107 instead.
7108
b13057d9
TV
71092019-07-30 Tom de Vries <tdevries@suse.de>
7110
7111 PR testsuite/24834
7112 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7113 (exec_is_pie): New proc.
7114
5c4dde85
CB
71152019-07-29 Christian Biesinger <cbiesinger@google.com>
7116
7117 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7118
c620ed88
CB
71192019-07-29 Christian Biesinger <cbiesinger@google.com>
7120
7121 * gdb.python/py-objfile.c: Add global and static vars.
7122 * gdb.python/py-objfile.exp: Test new functions Objfile.
7123 lookup_global_symbol and lookup_static_symbol.
7124
3d235706
TT
71252019-07-29 Tom Tromey <tom@tromey.com>
7126
7127 * lib/tuiterm.exp (Term::_csi_@): New proc.
7128 (Term::_csi_X): Don't move cursor.
7129
c7e4c0a6
PW
71302019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7131
7132 * gdb.base/options.exp: Update backtrace - completion to
7133 new option -frame-info.
7134 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7135 Test new 'set print frame-info'. Test backtrace -frame-info
7136 overriding 'set print frame-info'.
7137 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7138 Test new 'set print frame-info'.
7139 Verify consistency of backtrace with and without filters, with and
7140 without -no-filters.
7141 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7142 default.
7143
de28a3b7
TV
71442019-07-29 Tom de Vries <tdevries@suse.de>
7145
7146 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7147 no arguments".
7148
507dd60e
TV
71492019-07-29 Tom de Vries <tdevries@suse.de>
7150
7151 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7152 is a substring of the first for "complete non-unique file name".
7153
5beafce9
TV
71542019-07-29 Tom de Vries <tdevries@suse.de>
7155
7156 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7157 with ".*".
7158
2d274232
TV
71592019-07-29 Tom de Vries <tdevries@suse.de>
7160
7161 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7162 Pass prompt_regexp parameter to gdb_test_multiple calls.
7163
9197cd8b
TV
71642019-07-29 Tom de Vries <tdevries@suse.de>
7165
7166 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7167 print registers" regexps.
9197cd8b 7168
b528dae0
TV
71692019-07-29 Tom de Vries <tdevries@suse.de>
7170
7171 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7172
d17725d7
TV
71732019-07-29 Tom de Vries <tdevries@suse.de>
7174
7175 PR gdb/24855
7176 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7177 (skip_python_tests_prompt): Add prompt_regexp argument to
7178 gdb_test_multiple calls.
7179
52b75bf1
TT
71802019-07-27 Tom Tromey <tom@tromey.com>
7181
7182 * gdb.tui/main.exp: New file.
7183
2b1d00c2
TT
71842019-07-27 Tom Tromey <tom@tromey.com>
7185
7186 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7187 optional.
7188 * gdb.tui/empty.exp: New file.
7189
ded631d5
TT
71902019-07-27 Tom Tromey <tom@tromey.com>
7191
7192 * lib/tuiterm.exp (spawn): New proc.
7193 (Term::resize): New proc.
7194 * gdb.tui/resize.exp: New file.
7195
58ac439d
TT
71962019-07-27 Tom Tromey <tom@tromey.com>
7197
7198 * gdb.tui/list.exp: New file.
7199
fe1f56ee
TT
72002019-07-27 Tom Tromey <tom@tromey.com>
7201
7202 * gdb.tui/regs.exp: New file.
7203
f790b310
TT
72042019-07-27 Tom Tromey <tom@tromey.com>
7205
7206 * gdb.tui/basic.exp: Add "layout split" test.
7207
d95fc6ee
TT
72082019-07-27 Tom Tromey <tom@tromey.com>
7209
7210 * gdb.tui/basic.exp: Add "layout asm" test.
7211
c3786b3a
TT
72122019-07-27 Tom Tromey <tom@tromey.com>
7213
7214 * lib/tuiterm.exp: New file.
7215 * gdb.tui/basic.exp: New file.
7216
98a617f8
KB
72172019-07-27 Kevin Buettner <kevinb@redhat.com>
7218
7219 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7220 Enable tests associated with this flag. Adjust regex
7221 referencing "foo_low" to now refer to "foo_cold" instead.
7222
5c076da4
KB
72232019-07-27 Kevin Buettner <kevinb@redhat.com>
7224
7225 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7226 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7227 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7228 foo_cold. Revise comments to match.
7229 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7230 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7231 were wrapped into this proc; Call do_test in loop from outermost
7232 level.
7233 (foo_low): Rename all occurrences to "foo_cold".
7234 (backtrace from baz): New test.
7235 (x2/i foo_cold): New test.
7236 (info line *foo_cold): New test.
7237
1512d3b7
TV
72382019-07-26 Tom de Vries <tdevries@suse.de>
7239
7240 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7241
297989a1
TV
72422019-07-25 Tom de Vries <tdevries@suse.de>
7243
7244 PR testsuite/24830
7245 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7246 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7247 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7248 (skip_libstdcxx_probe_tests): ... here.
7249 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7250
b3b965fb
TV
72512019-07-24 Tom de Vries <tdevries@suse.de>
7252
7253 PR testsuite/24807
7254 * gdb.objc/basicclass.m: Include stdio.h.
7255 * gdb.objc/nondebug.m: Same.
7256 * gdb.objc/objcdecode.m: Same.
7257
4625b4d0
TV
72582019-07-24 Tom de Vries <tdevries@suse.de>
7259
7260 PR testsuite/24612
7261 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7262 additional_flags.
7263
024a5840
TV
72642019-07-24 Tom de Vries <tdevries@suse.de>
7265
7266 PR testsuite/24831
7267 * gdb.multi/tids.exp: Update error messages for info threads.
7268
c76ddaa3
TV
72692019-07-24 Tom de Vries <tdevries@suse.de>
7270
7271 * gdb.base/info-types.exp: Allow info types to print info for more than
7272 one file.
7273
9a618ef6
TV
72742019-07-23 Tom de Vries <tdevries@suse.de>
7275
7276 PR testsuite/24842
7277 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7278 gdb_spawn_with_cmdline_opts.
7279
40eadf04
SP
72802019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7281
7282 * gdb.arch/arm-cmse-sgstubs.c: New test.
7283 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7284
5ba29434
TV
72852019-07-23 Tom de Vries <tdevries@suse.de>
7286
7287 PR testsuite/24711
7288 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7289 issuing next command.
7290
a8e9d247
AB
72912019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7292
7293 * gdb.ada/info_auto_lang.exp: Update expected results.
7294 * gdb.base/info-types.c: Add additional types to check.
7295 * gdb.base/info-types.exp: Update expected results.
7296
eb86c5e2
AB
72972019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7298
7299 * gdb.base/info-types.c: New file.
7300 * gdb.base/info-types.exp: New file.
7301
01e175fe
AB
73022019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7303
7304 * gdb.arch/riscv-bp-infcall.c: New file.
7305 * gdb.arch/riscv-bp-infcall.exp: New file.
7306
6b78c3f8
AB
73072019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7308
7309 PR breakpoints/24541
7310 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7311
da738167
TV
73122019-07-14 Tom de Vries <tdevries@suse.de>
7313
7314 PR testsuite/24760
7315 * gdb.objc/basicclass.exp: Fix unterminated string.
7316
0d4e84ed
AB
73172019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7318 Andrew Burgess <andrew.burgess@embecosm.com>
7319
7320 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7321 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7322 negative bounds.
7323 * gdb.fortran/vla-value.exp: Print elements of an array with
7324 negative bounds.
7325 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7326 testing.
7327
021d8588
AB
73282019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7329
7330 * gdb.base/options.exp (expect_string): Dequote strings in
7331 results.
7332 (test-string): Test strings with different quoting and reindent.
7333
f06f1252
TT
73342019-07-10 Tom Tromey <tromey@adacore.com>
7335
7336 * gdb.ada/mi_ex_cond.exp: Update expected results.
7337 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7338 * gdb.ada/mi_catch_ex.exp: Update expected results.
7339 * gdb.ada/mi_catch_assert.exp: Update expected results.
7340 * gdb.ada/catch_ex.exp (catch_exception_info)
7341 (catch_exception_entry, catch_assert_entry)
7342 (catch_unhandled_entry): Update.
7343 * gdb.ada/catch_assert_if.exp: Update expected results.
7344
b863685d
RB
73452019-07-10 Richard Bunt <richard.bunt@arm.com>
7346 Stephen Roberts <stephen.roberts@arm.com>
7347
7348 * gdb.base/define.exp: Restore original prompt.
7349
cb1e4e32
PA
73502019-07-09 Pedro Alves <palves@redhat.com>
7351
7352 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7353 breakpoints" output.
7354 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7355 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7356 throw" creates breakpoint.
7357 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7358 'type="catchpoint"'.
7359
b58a68fe
PA
73602019-07-09 Pedro Alves <palves@redhat.com>
7361
7362 PR c++/15468
7363 * gdb.cp/except-multi-location-lib.cc: New.
7364 * gdb.cp/except-multi-location-main.cc: New.
7365 * gdb.cp/except-multi-location.exp: New.
7366
0826779b
PW
73672019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7368
7369 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7370 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7371 argument and update callers.
7372
5b0e2db4
AB
73732019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7374
7375 * gdb.arch/amd64-break-on-asm-line.S: New file.
7376 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7377
1f6f6e21
PW
73782019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7379
7380 * gdb.base/printcmds.exp: Test printing C string and
7381 C wide string convenience vars without transiting via the inferior.
7382 Also make test names unique.
7383
ea142fbf
AH
73842019-07-08 Alan Hayward <alan.hayward@arm.com>
7385
5862c886 7386 PR breakpoints/25011
ea142fbf
AH
7387 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7388
213fd9fa
PA
73892019-07-04 Pedro Alves <palves@redhat.com>
7390
7391 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7392 body returned ok(0), break(3) or continue(4).
7393 * gdb.testsuite/foreach_with_prefix.exp: New file.
7394
2b40fda7
AH
73952019-07-04 Alan Hayward <alan.hayward@arm.com>
7396
7397 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7398
a26c8de0
PA
73992019-07-03 Pedro Alves <palves@redhat.com>
7400
7401 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7402 "return -code".
7403
5f4ba3e7
PA
74042019-07-03 Pedro Alves <palves@redhat.com>
7405
7406 PR cli/24732
7407 * gdb.base/shell.exp: Load completion-support.exp.
7408 Adjust expected error output. Add completion tests.
7409
a994424f
PA
74102019-07-03 Pedro Alves <palves@redhat.com>
7411
7412 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7413 string_to_regexp.
7414
3d9be6f5
PA
74152019-07-03 Pedro Alves <palves@redhat.com>
7416
7417 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7418 (expect_integer): Adjust to expect "-string".
7419 (expect_string): New.
7420 (all_options): Expect "-string".
7421 (test-flag, test-boolean): Adjust to expect "-string".
7422 (test-string): New proc.
7423 (top level): Call it.
7424
41fc454c
PA
74252019-07-03 Pedro Alves <palves@redhat.com>
7426
7427 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7428 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7429 the expected output in the success.
7430
b2b2a215
PA
74312019-07-03 Pedro Alves <palves@redhat.com>
7432
7433 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7434 Split one gdb_test_multiple call in two to avoid a race.
7435
fdbc9870
PA
74362019-07-03 Pedro Alves <palves@redhat.com>
7437
7438 * gdb.base/with.c: New file.
7439 * gdb.base/with.exp: New file.
7440
c6ac8931
PA
74412019-07-03 Pedro Alves <palves@redhat.com>
7442
7443 * gdb.base/settings.exp: Replace all references to "maint
7444 test-settings set" with references to "maint set test-settings",
7445 and all references to "maint test-settings show" with references
7446 to "maint show test-settings".
7447
970f9d09
PA
74482019-07-03 Pedro Alves <palves@redhat.com>
7449
7450 * gdb.base/settings.exp (test-string): Adjust expected out when
7451 testing "maint test-settings show filename"
7452
54d66006
PA
74532019-07-02 Pedro Alves <palves@redhat.com>
7454
7455 * gdb.base/options.exp (test-info-threads): New procedure.
7456 (top level): Call it.
7457
10d06d82
TT
74582019-06-28 Tom Tromey <tromey@adacore.com>
7459
7460 * gdb.dwarf2/ada-linkage-name.c: New file.
7461 * gdb.dwarf2/ada-linkage-name.exp: New file.
7462
3d507ff2
TT
74632019-06-27 Tom Tromey <tromey@adacore.com>
7464
d039f014 7465 PR c++/20020:
3d507ff2
TT
7466 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7467
8af58ffe
TV
74682019-06-26 Tom de Vries <tdevries@suse.de>
7469
7470 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7471
22e21752
TV
74722019-06-26 Tom de Vries <tdevries@suse.de>
7473
7474 * gdb.base/index-cache.exp: Add back missing debug option.
7475
b65b566c
PW
74762019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7477
7478 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7479
5c2c8c69
TV
74802019-06-25 Tom de Vries <tdevries@suse.de>
7481
7482 PR testsuite/24727
7483 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7484
164e3873
TV
74852019-06-24 Tom de Vries <tdevries@suse.de>
7486
7487 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7488
824eacee
TV
74892019-06-24 Tom de Vries <tdevries@suse.de>
7490
7491 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7492 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7493 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7494
385b97d3
TV
74952019-06-24 Tom de Vries <tdevries@suse.de>
7496
7497 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7498
c596f180
TV
74992019-06-21 Tom de Vries <tdevries@suse.de>
7500
7501 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7502
b13a7d03
TV
75032019-06-21 Tom de Vries <tdevries@suse.de>
7504
7505 PR testsuite/24518
7506 PR ada/24713
7507 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7508 index.
7509
899277ae
TT
75102019-06-19 Tom Tromey <tromey@adacore.com>
7511
7512 * gdb.ada/length_cond.exp: Add intro comment.
7513
680e1bee
TT
75142019-06-19 Tom Tromey <tromey@adacore.com>
7515
7516 * gdb.ada/length_cond.exp: New file.
7517 * gdb.ada/length_cond/length_cond.adb: New file.
7518 * gdb.ada/length_cond/pck.adb: New file.
7519 * gdb.ada/length_cond/pck.ads: New file.
7520
0ed4690a
TV
75212019-06-18 Tom de Vries <tdevries@suse.de>
7522
7523 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7524
d20ed5fd
TT
75252019-06-18 Tom Tromey <tromey@adacore.com>
7526
7527 * gdb.base/list0.h: Add comment explaining control character.
7528
86e04673
TV
75292019-06-18 Tom de Vries <tdevries@suse.de>
7530
7531 * boards/fission.exp: Break up long debug_flags line.
7532
c4973306
SM
75332019-06-16 Tom de Vries <tdevries@suse.de>
7534
7535 PR gdb/24445
7536 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7537 generated index.
7538
93cb9841
AB
75392019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7540
7541 PR gdb/24686
7542 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7543 improve detection of bug gdb/24541.
7544
399aaebd
SM
75452019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7546
7547 PR gdb/24669
7548 * gdb.base/index-cache.exp (uses_readnow,
7549 expecting_index_cache_use): Define global variable.
7550 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7551 expecting_index_cache_use.
7552
584a927c
AB
75532019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7554 Andrew Burgess <andrew.burgess@embecosm.com>
7555
7556 * gdb.fortran/pointers.f90: New file.
7557 * gdb.fortran/print_type.exp: New file.
7558 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7559 * gdb.fortran/vla-type.exp: Likewise.
7560 * gdb.fortran/vla-value.exp: Likewise.
7561 * gdb.mi/mi-vla-fortran.exp: Likewise.
7562
30056ea0
AB
75632019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7564
7565 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7566 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7567 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7568 as a stop reason.
7569
ec8e2b6d
AB
75702019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7571
7572 * gdb.base/annota1.exp: Update expected results.
7573 * gdb.cp/annota2.exp: Likewise.
7574 * gdb.cp/annota3.exp: Likewise.
7575
09e4c4e1
AB
75762019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7577
7578 * gdb.base/style-logging.exp: Remove path from test name.
7579
0735b091
TT
75802019-06-14 Tom Tromey <tromey@adacore.com>
7581
7582 PR gdb/24502:
7583 * gdb.base/style-logging.exp: New file.
7584
f5686554
TT
75852019-06-14 Tom Tromey <tromey@adacore.com>
7586
7587 * gdb.base/symfile-warn.exp: New file.
7588 * gdb.base/symfile-warn.c: New file.
7589
a0c1ffed
TT
75902019-06-14 Tom Tromey <tromey@adacore.com>
7591
7592 * gdb.base/annotate-symlink.exp: New file.
7593
f411722c
TT
75942019-06-14 Tom Tromey <tromey@adacore.com>
7595
7596 * gdb.ada/set_wstr.exp: Add reassignment test.
7597
4268ec18
TT
75982019-06-14 Tom Tromey <tromey@adacore.com>
7599
7600 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7601 'unchecked_access and 'unrestricted_access as well.
7602
9a9e394b
TT
76032019-06-14 Tom Tromey <tromey@adacore.com>
7604
7605 PR ada/24539:
7606 * gdb.ada/vla.exp: Update tests.
7607 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7608 pragma.
7609
4c048731
PA
76102019-06-13 Pedro Alves <palves@redhat.com>
7611
7612 * gdb.base/settings.exp (test-integer): Test junk after
7613 "unlimited".
7614
6665660a
PA
76152019-06-13 Pedro Alves <palves@redhat.com>
7616
7617 * gdb.base/options.exp (test-thread-apply): New.
7618 (top level): Call it.
7619
5d707134
PA
76202019-06-13 Pedro Alves <palves@redhat.com>
7621
7622 * gdb.base/options.exp (test-frame-apply): New.
7623 (top level): Test print commands with different "frame apply"
7624 prefixes.
7625
e2a689da
PA
76262019-06-13 Pedro Alves <palves@redhat.com>
7627
e79be6e5 7628 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7629 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7630 'max_completions' parameter and handle it.
7631 (test_gdb_completion_offers_commands): New.
7632
90a1ef87
PA
76332019-06-13 Pedro Alves <palves@redhat.com>
7634
7635 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7636
d4c16835
PA
76372019-06-13 Pedro Alves <palves@redhat.com>
7638
7639 * gdb.base/options.exp (test-backtrace): New.
7640 (top level): Call it.
7641
2daf894e
PA
76422019-06-13 Pedro Alves <palves@redhat.com>
7643
7644 * gdb.guile/scm-frame-args.exp: Use "set print
7645 raw-frame-arguments" instead of "set print raw frame-arguments".
7646 * gdb.python/py-frame-args.exp: Likewise.
7647
e6ed716c
PA
76482019-06-13 Pedro Alves <palves@redhat.com>
7649
7650 * gdb.compile/compile.exp: Adjust expected output to option
7651 processing changes.
7652
7d8062de
PA
76532019-06-13 Pedro Alves <palves@redhat.com>
7654
7655 * gdb.base/options.exp: Build executable.
7656 (test-print): New procedure.
7657 (top level): Call it, once for "print" and another for "compile
7658 print".
7659
9d0faba9
PA
76602019-06-13 Pedro Alves <palves@redhat.com>
7661
7662 * gdb.base/options.c: New file.
7663 * gdb.base/options.exp: New file.
7664
dee7b4c8
PA
76652019-06-13 Pedro Alves <palves@redhat.com>
7666
7667 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7668 that "o" is ambiguous.
7669
dca0f6c0
PA
76702019-06-13 Pedro Alves <palves@redhat.com>
7671
7672 * gdb.base/settings.c: New file.
7673 * gdb.base/settings.exp: New file.
7674
ccf46844
PA
76752019-06-13 Pedro Alves <palves@redhat.com>
7676
7677 * gdb.base/completion.exp: Fix comment typo.
7678
b9a3f842
PA
76792019-06-13 Pedro Alves <palves@redhat.com>
7680
7681 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7682 foo --1" test.
7683
d106773e
PA
76842019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7685
7686 * gdb.fortran/block-data.f: New.
7687 * gdb.fortran/block-data.exp: New.
7688
fea82da0
TV
76892019-06-11 Tom de Vries <tdevries@suse.de>
7690
7691 PR testsuite/24521
7692 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7693 message.
7694
8c2e74f1
TV
76952019-06-11 Tom de Vries <tdevries@suse.de>
7696
7697 PR testsuite/24521
7698 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7699
b49851c8
TV
77002019-06-11 Tom de Vries <tdevries@suse.de>
7701
7702 * boards/readnow.exp: New file.
7703
a7067863
AB
77042019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7705
7706 * gdb.fortran/vla-sizeof.exp: Update expected results.
7707
1a3da2cd
AB
77082019-06-06 Amos Bird <amosbird@gmail.com>
7709
7710 * gdb.base/annota1.exp (thread_switch): Add test for
7711 thread-exited annotation.
7712
3847a7bf
TT
77132019-06-06 Tom Tromey <tromey@adacore.com>
7714
7715 * gdb.base/maint.exp: Expect command started/finished output.
7716
0088ba59
AB
77172019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7718
7719 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7720 comment.
7721 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7722
312617a3
AB
77232019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7724
7725 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7726 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7727 * gdb.arch/riscv-unwind-long-insn.c: New file.
7728 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7729
e1f2e1a2
CB
77302019-06-04 Christian Biesinger <cbiesinger@google.com>
7731
d3238f7d 7732 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7733
206584bd
PW
77342019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7735
7736 * lib/gdb.exp (help_list_trailer): New regexp variable
7737 factorizing the help trailer message.
7738 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7739 arg to allow to better factorize various tests.
7740 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7741 (test_prefix_command_help): Use help_list_trailer.
7742 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7743 * gdb.guile/scm-cmd.exp: Likewise.
7744 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7745 * gdb.base/help.exp: Use test_user_defined_class_help.
7746 * gdb.base/style.exp: Add tests for styling of help and apropos.
7747 * lib/gdb-utils.exp (style): Add title and highlight styles.
7748
708dc93e
PW
77492019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7750
7751 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7752 $_shell_exitsignal.
7753 * gdb.base/default.exp: Update for new convenience variables.
7754
f49055a5
TT
77552019-05-29 Tom Tromey <tromey@adacore.com>
7756
7757 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7758 to "break complete ada" test case's regexp.
7759
4330d61d
TT
77602019-05-29 Tom Tromey <tromey@adacore.com>
7761
7762 PR c++/20020:
7763 * gdb.cp/constexpr-field.exp: New file.
7764 * gdb.cp/constexpr-field.cc: New file.
7765
000439d5
TT
77662019-05-29 Tom Tromey <tromey@adacore.com>
7767
7768 * gdb.base/finish.exp (finish_no_print): New proc.
7769 (finish_tests): Call it.
7770
5a01c34c
TV
77712019-05-24 Tom de Vries <tdevries@suse.de>
7772
7773 * gdb.dwarf2/gdb-add-index.exp: New file.
7774
18125b16
TT
77752019-05-22 Tom Tromey <tromey@adacore.com>
7776
7777 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7778 * gdb.base/style.exp: Use "style".
7779 * lib/gdb-utils.exp (style): New proc.
7780
af1a8d03
TV
77812019-05-22 Tom de Vries <tdevries@suse.de>
7782
7783 * gdb.base/align.exp: Require c++11.
7784
e7fe496b
TV
77852019-05-22 Tom de Vries <tdevries@suse.de>
7786
7787 PR testsuite/24586
7788 * gdb.python/py-mi-var-info-path-expression.exp: Call
7789 mi_skip_python_tests to check if python is supported.
7790
8fca4da0
AH
77912019-05-22 Alan Hayward <alan.hayward@arm.com>
7792
7793 * gdb.arch/aarch64-pauth.c: New test.
7794 * gdb.arch/aarch64-pauth.exp: New file.
7795
b7060614
AH
77962019-05-22 Alan Hayward <alan.hayward@arm.com>
7797
7798 * README (Re-running Tests Outside The Testsuite): New section.
7799
669d0468
TV
78002019-05-21 Tom de Vries <tdevries@suse.de>
7801
7802 * gdb.arch/amd64-eval.exp: Require c++11.
7803 * gdb.base/max-depth.exp: Same.
7804 * gdb.compile/compile-cplus-array-decay.exp: Same.
7805 * gdb.cp/meth-typedefs.exp: Same.
7806 * gdb.cp/subtypes.exp: Same.
7807 * gdb.cp/temargs.exp: Same.
7808
ce3ebcaa
AH
78092019-05-21 Alan Hayward <alan.hayward@arm.com>
7810
7811 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7812
34d11c68
AB
78132019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7814
7815 PR gdb/18644
7816 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7817 * gdb.fortran/printing-types.exp: Add new test.
7818 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7819 testing.
7820 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7821 setup_kfail call.
7822
87781e84
AH
78232019-05-17 Alan Hayward <alan.hayward@arm.com>
7824
7825 * README (Running the Testsuite): Change example.
7826 (Testsuite Parameters): Remove TRANSCRIPT.
7827 * lib/gdb.exp: Remove TRANSCRIPT check.
7828
b420b89e
AH
78292019-05-17 Alan Hayward <alan.hayward@arm.com>
7830
7831 * README (Testsuite Parameters): Add replay logging to
7832 GDBSERVER_DEBUG.
7833 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7834 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7835 as a comma separated list.
7836 (gdb_debug_init): Override procedure.
7837
408e9b8b
AH
78382019-05-17 Alan Hayward <alan.hayward@arm.com>
7839
7840 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7841 (gdb_write_cmd_file): New procedure.
7842 * lib/gdbserver-support.exp (gdbserver_start): Call
7843 gdbserver_write_cmd_file.
7844 (gdbserver_write_cmd_file): New procedure.
7845
f9e2e39d
AH
78462019-05-17 Alan Hayward <alan.hayward@arm.com>
7847
7848 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7849 (delete_breakpoints): Likewise.
7850 (gdb_run_cmd): Likewise.
7851 (gdb_start_cmd): Likewise.
7852 (gdb_starti_cmd): Likewise.
7853 (gdb_internal_error_resync): Likewise.
7854 (gdb_test_multiple): Likewise.
7855 (gdb_reinitialize_dir): Likewise.
7856 (default_gdb_exit): Likewise.
7857 (gdb_file_cmd): Mark kill as optional.
7858 (default_gdb_start): Call gdb_stdin_log_init.
7859 (send_gdb): Call gdb_stdin_log_write.
7860 (rerun_to_main): Mark Y as an answer.
7861 (gdb_stdin_log_init): New function.
7862 (gdb_stdin_log_write): Likewise.
7863
81f47ac2
AH
78642019-05-17 Alan Hayward <alan.hayward@arm.com>
7865
7866 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7867 * gdb.base/debug-expr.exp: Likewise.
7868 * gdb.base/foll-fork.exp: Likewise.
7869 * gdb.base/foll-vfork.exp: Likewise.
7870 * gdb.base/fork-print-inferior-events.exp: Likewise.
7871 * gdb.base/gdb-sigterm.exp: Likewise.
7872 * gdb.base/gdbinit-history.exp: Likewise.
7873 * gdb.base/osabi.exp: Likewise.
7874 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7875 * gdb.base/ui-redirect.exp: Likewise.
7876 * gdb.gdb/unittest.exp: Likewise.
7877 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7878 * gdb.mi/mi-watch.exp: Likewise.
7879 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7880 * gdb.mi/user-selected-context-sync.exp: Likewise.
7881 * gdb.python/python.exp: Disable debug test when debugging.
7882 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7883 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7884 Likewise.
7885 * gdb.threads/stepi-random-signal.exp: Likewise.
7886
29b52314
AH
78872019-05-17 Alan Hayward <alan.hayward@arm.com>
7888
7889 * Makefile.in: Pass through GDB_DEBUG.
7890 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7891 (gdb,debug): Add board setting.
7892 * lib/gdb.exp (default_gdb_start): Start debugging.
7893 (gdb_debug_enabled): New procedure.
7894 (gdb_debug_init): Likewise.
29b52314
AH
7895
78962019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7897
29b52314
AH
7898 * Makefile.in: Pass through GDB_DEBUG.
7899 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7900 (gdb,debug): Add board setting.
7901 * lib/gdb.exp (default_gdb_start): Start debugging.
7902 (gdb_debug_enabled): New procedure.
7903 (gdb_debug_init): Likewise.
29b52314 7904
ca1285d1
AH
79052019-05-17 Alan Hayward <alan.hayward@arm.com>
7906
7907 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7908
f3a09c80
AH
79092019-05-17 Alan Hayward <alan.hayward@arm.com>
7910
7911 * gdb.base/ui-redirect.exp: Test redirection.
7912
26648588
JV
79132019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7914
7915 * gdb.mi/mi-complete.exp: New file.
7916 * gdb.mi/mi-complete.cc: Likewise.
7917
14237686
AB
79182019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7919
7920 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7921 indexed and sliced arrays, and pointers to arrays.
7922
e7bd7fba
TT
79232019-05-14 Tom Tromey <tromey@adacore.com>
7924
7925 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7926 styling test.
7927
2764128d
TV
79282019-05-14 Tom de Vries <tdevries@suse.de>
7929
7930 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7931 selection entry encoding.
7932
71bed2db
TT
79332019-05-10 Tom Tromey <tromey@adacore.com>
7934
7935 * gdb.ada/info_exc.exp: Add "complete" test.
7936
63b667ad
TV
79372019-05-09 Tom de Vries <tdevries@suse.de>
7938
7939 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7940 CU-relative.
7941
9cfd2b89
TV
79422019-05-09 Tom de Vries <tdevries@suse.de>
7943
7944 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7945 CU-relative.
7946
2228ef77
XR
79472019-05-08 Joel Brobecker <brobecker@adacore.com>
7948
7949 * gdb.ada/frame_arg_lang.exp: New testcase.
7950 * gdb.ada/frame_arg_lang/bla.adb: New file.
7951 * gdb.ada/frame_arg_lang/pck.ads: New file.
7952 * gdb.ada/frame_arg_lang/pck.adb: New file.
7953 * gdb.ada/frame_arg_lang/foo.c: New file.
7954
80e55b13
TT
79552019-05-08 Tom Tromey <tromey@adacore.com>
7956
7957 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7958
9d3421af
TT
79592019-05-08 Tom Tromey <tromey@adacore.com>
7960
7961 * gdb.base/ptype-offsets.exp: Update tests.
7962
844333e2
TT
79632019-05-08 Tom Tromey <tromey@adacore.com>
7964
7965 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7966 cases.
7967 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7968 "short".
7969
988915ee
TT
79702019-05-08 Tom Tromey <tromey@adacore.com>
7971
7972 * gdb.ada/vla.exp: New file.
7973 * gdb.ada/vla/vla.adb: New file.
7974
7bd55dac
TV
79752019-05-07 Tom de Vries <tdevries@suse.de>
7976
7977 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7978
75f06e9d
TV
79792019-05-07 Tom de Vries <tdevries@suse.de>
7980
7981 PR testsuite/24522
7982 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7983 section.
7984
77e7aaa4
TV
79852019-05-07 Tom de Vries <tdevries@suse.de>
7986
7987 PR testsuite/24522
7988 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7989 .debug_aranges section.
7990
456ba0fa
TV
79912019-05-07 Tom de Vries <tdevries@suse.de>
7992
7993 PR testsuite/24159
7994 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7995
5a56d6a6
TV
79962019-05-06 Tom de Vries <tdevries@suse.de>
7997
7998 * lib/gdb.exp (exec_has_index_section): New proc.
7999 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8000 section.
8001
9d6d4be8
TV
80022019-05-04 Tom de Vries <tdevries@suse.de>
8003
8004 * boards/cc-with-debug-names.exp: New file.
8005
222a8d25
TT
80062019-05-03 Tom Tromey <tromey@adacore.com>
8007
8008 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8009 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8010 * gdb.ada/char_enum.exp: Add test.
8011
0fdfd794
TV
80122019-05-03 Tom de Vries <tdevries@suse.de>
8013
8014 * boards/cc-with-gdb-index.exp: New file.
8015
80062eb9
AB
80162019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8017
8018 * gdb.rust/simple.exp: Add new test case.
8019 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8020 (main): Initialise an instance of the new struct.
8021
4504bbde
TT
80222019-05-01 Tom Tromey <tromey@adacore.com>
8023
8024 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8025 record.
8026 (NPR): New variable.
8027 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8028 test.
8029
d48e62f4
TT
80302019-05-01 Tom Tromey <tromey@adacore.com>
8031
8032 * gdb.ada/packed_array_assign.exp: Add packed assignment
8033 regression test.
8034
f59f30f5
TV
80352019-05-01 Tom de Vries <tdevries@suse.de>
8036
8037 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8038
b70bfc54
TV
80392019-05-01 Tom de Vries <tdevries@suse.de>
8040
8041 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8042
15f18d14
AT
80432019-04-30 Ali Tamur <tamur@google.com>
8044
8045 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8046
2ff0a947
TT
80472019-04-30 Tom Tromey <tromey@adacore.com>
8048
8049 * lib/ada.exp (find_ada_tool): New proc.
8050 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8051 * gdb.ada/catch_ex_std.exp: New file.
8052 * gdb.ada/catch_ex_std/foo.adb: New file.
8053 * gdb.ada/catch_ex_std/some_package.adb: New file.
8054 * gdb.ada/catch_ex_std/some_package.ads: New file.
8055
a776957c
TT
80562019-04-30 Tom Tromey <tromey@adacore.com>
8057
8058 PR c++/24470:
8059 * gdb.cp/temargs.cc: Add test code from PR.
8060
bc68014d
AB
80612019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8062
8063 * gdb.fortran/vla-datatypes.exp: Update expected results.
8064 * gdb.fortran/vla-ptype.exp: Likewise.
8065 * gdb.fortran/vla-type.exp: Likewise.
8066 * gdb.fortran/vla-value.exp: Likewise.
8067
f1fdc960
AB
80682019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8069
8070 * gdb.fortran/ptr-indentation.exp: Update expected results.
8071 * gdb.fortran/ptype-on-functions.exp: Likewise.
8072 * gdb.fortran/vla-ptr-info.exp: Likewise.
8073 * gdb.fortran/vla-value.exp: Likewise.
8074
bf7a4de1
AB
80752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8076
8077 * gdb.fortran/ptype-on-functions.exp: New file.
8078 * gdb.fortran/ptype-on-functions.f90: New file.
8079
bbe75b9d
AB
80802019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8081
8082 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8083 case void string.
8084
1db455a7
AB
80852019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8086
8087 * gdb.fortran/complex.exp: Expand.
8088 * gdb.fortran/complex.f: Renamed to...
8089 * gdb.fortran/complex.f90: ...this, and extended to add more
8090 complex values.
8091
b6d03bb2
AB
80922019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8093
8094 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8095 MODULO, CMPLX.
8096
2e62ab40
AB
80972019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8098 Richard Bunt <richard.bunt@arm.com>
8099
8100 * gdb.base/max-depth.c: New file.
8101 * gdb.base/max-depth.exp: New file.
8102 * gdb.python/py-nested-maps.c: New file.
8103 * gdb.python/py-nested-maps.exp: New file.
8104 * gdb.python/py-nested-maps.py: New file.
8105 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8106 (test_all_common): Call test_max_depth.
8107 * gdb.fortran/max-depth.exp: New file.
8108 * gdb.fortran/max-depth.f90: New file.
8109 * gdb.go/max-depth.exp: New file.
8110 * gdb.go/max-depth.go: New file.
8111 * gdb.modula2/max-depth.exp: New file.
8112 * gdb.modula2/max-depth.c: New file.
8113 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8114
d2b584a5
TV
81152019-04-29 Tom de Vries <tdevries@suse.de>
8116
8117 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8118
136afab8
PW
81192019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8120
8121 * gdb.base/callexit.exp: Test may-call-functions off.
8122
725cbb63
KS
81232019-04-25 Keith Seitz <keiths@redhat.com>
8124
8125 PR c++/24367
8126 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8127 (another_incomplete_struct, test_incomplete): New definitions.
8128 (main): Use new definitions.
8129 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8130 functions.
8131
701adfb0
PA
81322019-04-25 Ali Tamur <tamur@google.com>
8133
8134 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8135
82433e3e
SDJ
81362019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8137
8138 PR corefiles/11608
8139 PR corefiles/18187
8140 * gdb.base/coredump-filter-build-id.exp: New file.
8141
dd06d4d6
AH
81422019-04-25 Alan Hayward <alan.hayward@arm.com>
8143
e79be6e5
SM
8144 * Makefile.in: Pass through GDBSERVER_DEBUG.
8145 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8146 (gdbserver,debug): Add board setting.
8147 * gdb.trace/tspeed.exp: Skip when debugging.
8148 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8149 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8150
1670072e
TT
81512019-04-24 Tom Tromey <tromey@adacore.com>
8152
8153 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8154 Rust.
8155
a59240a4
TT
81562019-04-24 Tom Tromey <tromey@adacore.com>
8157
8158 * gdb.arch/amd64-eval.exp: Test bitfield return.
8159 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8160 (class Foo) <return_bitfields>: New method.
8161 (main): Call it.
8162
b907456c
AB
81632019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8164
8165 * gdb.cp/many-args.cc: New file.
8166 * gdb.cp/many-args.exp: New file.
8167
5c565afd
TV
81682019-04-23 Tom de Vries <tdevries@suse.de>
8169
8170 PR gdb/24433
8171 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8172
ba22ff86
AH
81732019-04-23 Alan Hayward <alan.hayward@arm.com>
8174
8175 * gdb.trace/backtrace.exp: Use nopie flag.
8176 * gdb.trace/circ.exp: Likewise.
8177 * gdb.trace/collection.exp: Likewise.
8178 * gdb.trace/ftrace.exp: Likewise.
8179 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8180 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8181 * gdb.trace/qtro.exp: Likewise.
8182 * gdb.trace/read-memory.exp: Likewise.
8183 * gdb.trace/report.exp: Likewise.
8184 * gdb.trace/tfile.exp: Likewise.
8185 * gdb.trace/tfind.exp: Likewise.
8186 * gdb.trace/unavailable.exp: Likewise.
8187
7905fc35
PA
81882019-04-22 Pedro Alves <palves@redhat.com>
8189
8190 * gdb.base/solib-probes-nosharedlibrary.c,
8191 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8192
8ecb59f8
TT
81932019-04-19 Tom Tromey <tromey@adacore.com>
8194
8195 * gdb.ada/ptype_union.c: New file.
8196 * gdb.ada/ptype_union.exp: New file.
8197
62160ec9
TT
81982019-04-19 Tom Tromey <tromey@adacore.com>
8199
8200 PR symtab/24423:
8201 * gdb.base/list0.h (foo): Add a control-l character.
8202
36cd4ba5
TV
82032019-04-18 Tom de Vries <tdevries@suse.de>
8204
8205 PR gdb/24433
8206 * boards/local-board.exp: Set sysroot to "".
8207
b73715df
TV
82082019-04-18 Tom de Vries <tdevries@suse.de>
8209 Pedro Alves <palves@redhat.com>
8210
8211 PR gdb/24454
8212 * gdb.threads/vfork-follow-child-exec.c: New file.
8213 * gdb.threads/vfork-follow-child-exec.exp: New file.
8214 * gdb.threads/vfork-follow-child-exit.c: New file.
8215 * gdb.threads/vfork-follow-child-exit.exp: New file.
8216
4aa866af
LS
82172019-04-15 Leszek Swirski <leszeks@google.com>
8218
8219 * gdb.arch/amd64-eval.cc: New file.
8220 * gdb.arch/amd64-eval.exp: New file.
8221
e5a1a79a
AH
82222019-04-11 Alan Hayward <alan.hayward@arm.com>
8223
8224 * gdb.server/sysroot.c: New test.
8225 * gdb.server/sysroot.exp: New file.
8226 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8227 matching param.
8228
41077b66
AB
82292019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8230
8231 * gdb.base/align.exp: Extend test to cover structures containing
8232 only static fields.
8233
c30391f8
TV
82342019-04-11 Tom de Vries <tdevries@suse.de>
8235
8236 * boards/cc-with-dwz-m.exp: New file.
8237 * boards/cc-with-dwz.exp: New file.
8238 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8239
e242fd12
SM
82402019-04-09 Simon Marchi <simon.marchi@efficios.com>
8241
8242 * gdb.base/start-cpp.exp: New file.
8243 * gdb.base/start-cpp.cc: New file.
8244
2b0c8b01
KB
82452019-04-08 Kevin Buettner <kevinb@redhat.com>
8246
8247 * gdb.python/py-thrhandle.exp: Adjust tests to call
8248 thread_from_handle instead of thread_from_thread_handle.
8249
947210e5
KB
82502019-04-08 Kevin Buettner <kevinb@redhat.com>
8251
8252 * gdb.python/py-thrhandle.exp: Add tests for
8253 gdb.InferiorThread.handle.
8254
d7df6549
AB
82552019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8256
8257 * gdb.python/py-function.exp: Check calling helper function from
8258 all languages.
8259 * lib/gdb.exp (gdb_supported_languages): New proc.
8260
8bdc1658
AB
82612019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8262
8263 * gdb.base/complex-parts.c: New file.
8264 * gdb.base/complex-parts.exp: New file.
8265
05caa1d2
TT
82662019-04-01 Tom Tromey <tromey@adacore.com>
8267
8268 PR symtab/23331:
8269 * gdb.dwarf2/dw2-ranges-main.c: New file.
8270 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8271 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8272
7734102d
EZ
82732019-03-30 Simon Marchi <simark@simark.ca>
8274
8275 * gdb.base/default.exp: Add values for $_gdb_major and
8276 $_gdb_minor.
8277
188e1fa9
TT
82782019-03-29 Tom Tromey <tromey@adacore.com>
8279
8280 * gdb.base/help.exp: Tighten apropos regexp.
8281
2880242d
KS
82822019-03-29 Keith Seitz <keiths@redhat.com>
8283
8284 * gdb.fortran/array-bounds.exp: New file.
8285 * gdb.fortran/array-bounds.f90: New file.
8286
077cad8e
PW
82872019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8288
8289 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8290
80047cfc
PW
82912019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8292
8293 * gdb.multi/hello.c (main): Increase alarm timer.
8294
f489207e
SL
82952019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8296
8297 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8298 factor when no hardware watchpoint support.
8299
c92df149
AH
83002019-03-28 Alan Hayward <alan.hayward@arm.com>
8301 Pedro Alves <palves@redhat.com>
8302
8303 * boards/local-board.exp: set sysroot to /.
8304
933aebfa
AH
83052019-03-27 Alan Hayward <alan.hayward@arm.com>
8306
8307 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8308 in child.
8309
9f9aa852
AB
83102019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8311
8312 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8313 field.
8314 (make_container): Initialise new field.
8315 * gdb.python/py-prettyprint.exp: Add new tests.
8316 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8317 <display_hint>: New method.
8318
3714a195
AB
83192019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8320
8321 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8322 gdb_continue_to_breakpoint more throughout this test.
8323 (run_lang_tests) Supply unique test names, and use
8324 gdb_test_no_output.
8325
18c77628
AB
83262019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8327
8328 * gdb.base/finish-pretty.exp: Update expected results.
8329 * gdb.base/pretty-print.c: New file.
8330 * gdb.base/pretty-print.exp: New file.
8331
9a93502f
PA
83322019-03-25 Pedro Alves <palves@redhat.com>
8333
8334 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8335 move comments outside list. Append '-i "" eof' section.
8336
968aa7ae
AH
83372019-03-22 Alan Hayward <alan.hayward@arm.com>
8338
34a7f2a4 8339 PR testsuite/25016
968aa7ae
AH
8340 * README: Add pie options.
8341 * gdb.base/break-interp.exp: Ensure pie is disabled.
8342 * gdb.base/dump.exp: Likewise.
8343 * lib/gdb.exp (gdb_compile): Add pie option.
8344
4c7d57e7
TT
83452019-03-19 Tom Tromey <tromey@adacore.com>
8346
8347 * gdb.mi/mi2-cli-display.c: New file.
8348 * gdb.mi/mi2-cli-display.exp: New file.
8349
bff8c71f
TT
83502019-03-18 Joel Brobecker <brobecker@adacore.com>
8351 Tom Tromey <tromey@adacore.com>
8352
8353 * gdb.ada/ptype_array/pck.adb: New file.
8354 * gdb.ada/ptype_array/pck.ads: New file.
8355 * gdb.ada/ptype_array/foo.adb: New file.
8356 * gdb.ada/ptype_array.exp: New file.
8357
d085f989
TT
83582019-03-14 Tom Tromey <tromey@adacore.com>
8359
8360 * gdb.base/style.exp: Add "set style sources" test.
8361
b4be1b06
SM
83622019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8363
8364 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8365 * mi-breakpoint-multiple-locations.exp: ... this.
8366 (make_breakpoints_pattern): New proc.
8367 (do_test): Add mi_version parameter, test -break-insert,
8368 -break-info and =breakpoint-created.
8369
7cde5fc2
AB
83702019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8371
8372 * config/default.exp: Remove 'load_lib gdb.exp'.
8373 * config/monitor.exp: Likewise.
8374 * config/sid.exp: Likewise.
8375 * config/sim.exp: Likewise.
8376 * config/slite.exp: Likewise.
8377 * config/unix.exp: Likewise.
8378 * gdb.base/default.exp: Remove unhelpful comment.
8379
efbecbc1
AB
83802019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8381
8382 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8383
0841c79a
AB
83842019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8385
8386 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8387
4a270568
AB
83882019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8389
8390 * gdb.fortran/type-kinds.exp: Update expected results.
8391
067630bd
AB
83922019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8393
8394 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8395
3be47f7a
AB
83962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8397
8398 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8399 function.
8400 (test_basic_parsing_of_type_kinds): Expand types tested.
8401 (test_parsing_invalid_type_kinds): New function.
8402
4d00f5d8
AB
84032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8404
8405 * gdb.fortran/intrinsics.exp: New file.
8406 * gdb.fortran/intrinsics.f90: New file.
8407 * gdb.fortran/type-kinds.exp: New file.
8408
c8f91604
AB
84092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8410
8411 * gdb.fortran/dot-ops.exp: New file.
8412
dd9f2c76
AB
84132019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8414
8415 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8416 Check upper and lower case logical literals.
8417
84ec9724
AB
84182019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8419
8420 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8421 Remove duplicate tests.
8422
c3734e09
AH
84232019-03-06 Alan Hayward <alan.hayward@arm.com>
8424
8425 * lib/gdb.exp (builtin_cd): rename of cd.
8426 (cd): Override builtin.
8427
aa3cfbda
RB
84282019-03-06 Richard Bunt <richard.bunt@arm.com>
8429
8430 * gdb.fortran/function-calls.exp: New file.
8431 * gdb.fortran/function-calls.f90: New test.
8432
7b63ad86
RB
84332019-03-04 Richard Bunt <richard.bunt@arm.com>
8434
8435 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8436 on user program standard output.
8437 * gdb.fortran/short-circuit-argument-list.f90: Record function
8438 calls.
8439
01abb042
AH
84402019-02-28 Alan Hayward <alan.hayward@arm.com>
8441
c3734e09
AH
8442 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8443 failure.
01abb042 8444
92137da0
RO
84452019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8446
8447 PR gdb/8527
8448 * gdb.base/interrupt-daemon-attach.c,
8449 gdb.base/interrupt-daemon-attach.exp: New test.
8450
5862844d
PA
84512019-02-27 Pedro Alves <palves@redhat.com>
8452
8453 * gdb.base/page.exp: Add tests for "set width/height -1".
8454
8ed25214
PA
84552019-02-27 Pedro Alves <palves@redhat.com>
8456
8457 * gdb.base/page.exp: Add tests for "set/show width/height" with
8458 "infinite" values.
8459
6c28e44a
TT
84602019-02-27 Tom Tromey <tromey@adacore.com>
8461
8462 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8463 2.4.
8464 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8465 workaround.
8466
bf9a735e
AB
84672019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8468
8469 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8470 tests for structs with static members.
8471
8791793c
TT
84722019-02-26 Tom Tromey <tromey@adacore.com>
8473
8474 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8475 ValueError, not TypeError.
8476
bc2a507e
KB
84772019-02-26 Kevin Buettner <kevinb@redhat.com>
8478
8479 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8480 call from main program.
8481
e0e7d3bd
JB
84822019-02-23 Joel Brobecker <brobecker@adacore.com>
8483
8484 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8485 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8486 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8487 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8488 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8489
9600246d
KS
84902019-02-22 Keith Seitz <keiths@redhat.com>
8491
8492 PR symtab/23853
8493 * gdb.base/symlink-sourcefile.c: New file.
8494 * gdb.base/symlink-sourcefile.exp: New file.
8495
0c95f9ed
TT
84962019-02-20 Tom Tromey <tom@tromey.com>
8497
8498 * gdb.base/info_qt.exp: Update.
8499
6caa91b6
SM
85002019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8501
8502 * gdb.base/source.exp: Move "error in sourced script" code to
8503 the end.
8504 * gdb.base/source-error.gdb: Move contents to
8505 source-error-1.gdb. Add new code to source source-error-1.gdb.
8506 * gdb.base/source-error-1.gdb: New file, from previous
8507 source-error.gdb.
8508
6506371f
TT
85092019-02-17 Tom Tromey <tom@tromey.com>
8510
8511 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8512 for macro styling.
8513 * gdb.base/style.c (SOME_MACRO): New macro.
8514
a0087920
TT
85152019-02-17 Tom Tromey <tom@tromey.com>
8516
8517 * gdb.base/style.exp: Add line-wrapping tests.
8518 * gdb.base/page.exp: Add test for quitting during pagination.
8519
a2cd4f14
JB
85202019-02-17 Joel Brobecker <brobecker@adacore.com>
8521
8522 * gdb.ada/big_packed_array: New testcase.
8523 * gdb.ada/homonym.exp: Fix incorrect expected output for
8524 "break <homonym__get_value>" test.
8525
9d70ffbc
WP
85262019-02-13 Weimin Pan <weimin.pan@oracle.com>
8527
8528 PR breakpoints/21870
8529 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8530 and prepare_for_testing. Add comment.
8531 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8532 redundant cleanup call. Clean up comment.
8533
01c7ae81
WP
85342019-02-12 Weimin Pan <weimin.pan@oracle.com>
8535
8536 PR breakpoints/21870
8537 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8538 * gdb.arch/aarch64-dbreg-contents.c: New file.
8539
aff29d1c
JB
85402019-02-10 Joel Brobecker <brobecker@adacore.com>
8541
8542 * gdb.ada/mi_ref_changeable: New testcase.
8543
df0da8a2
AH
85442019-02-07 Alan Hayward <alan.hayward@arm.com>
8545
8546 * gdb.base/attach.exp: Add double attach test.
8547
bd447abb
SM
85482019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8549
8550 * lib/gdb.exp (default_gdb_start): Don't match pagination
8551 prompt.
8552 (gdb_init): Set stty_init.
8553
1dbc40b9
TT
85542019-01-27 Tom Tromey <tom@tromey.com>
8555
8556 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8557 skip_python_tests.
8558
353229bf
AH
85592019-01-24 Alan Hayward <alan.hayward@arm.com>
8560
8561 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8562 New structure.
8563 (struct struct_static_02_02): Likewise.
8564 (struct struct_static_02_03): Likewise.
8565 (struct struct_static_02_04): Likewise.
8566 (struct struct_static_04_01): Likewise.
8567 (struct struct_static_04_02): Likewise.
8568 (struct struct_static_04_03): Likewise.
8569 (struct struct_static_04_04): Likewise.
8570 (struct struct_static_06_01): Likewise.
8571 (struct struct_static_06_02): Likewise.
8572 (struct struct_static_06_03): Likewise.
8573 (struct struct_static_06_04): Likewise.
8574 (cmp_struct_static_02_01): Likewise.
8575 (cmp_struct_static_02_02): Likewise.
8576 (cmp_struct_static_02_03): Likewise.
8577 (cmp_struct_static_02_04): Likewise.
8578 (cmp_struct_static_04_01): Likewise.
8579 (cmp_struct_static_04_02): Likewise.
8580 (cmp_struct_static_04_03): Likewise.
8581 (cmp_struct_static_04_04): Likewise.
8582 (cmp_struct_static_06_01): Likewise.
8583 (cmp_struct_static_06_02): Likewise.
8584 (cmp_struct_static_06_03): Likewise.
8585 (cmp_struct_static_06_04): Likewise.
8586 (call_all): Test new structs.
8587 * gdb.base/infcall-nested-structs.exp: Likewise.
8588
73021deb
AH
85892019-01-21 Alan Hayward <alan.hayward@arm.com>
8590 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8591
fc65c7db
AH
85922019-01-21 Alan Hayward <alan.hayward@arm.com>
8593 * gdb.base/stack-protector.c: New test.
8594 * gdb.base/stack-protector.exp: New file.
8595 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8596 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8597 option.
8598 (gdb_compile): Remove stack protector for GCC and prevent
8599 recursion.
8600
c24bdb02
KS
86012019-01-16 Keith Seitz <keiths@redhat.com>
8602
8603 PR gdb/23773
8604 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8605
6f072a10
PFC
86062019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8607
8608 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8609 aliases.
8610 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8611 tests.
8612 * gdb.arch/powerpc-vector-regs.c: New file.
8613 * gdb.arch/powerpc-vector-regs.exp: New file.
8614
a7b8d682
PFC
86152019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8616
8617 * gdb.arch/altivec-regs.exp: Fix the list passed to
8618 gdb_expect_list when testing "info vector".
8619
6eb6fb67
AB
86202019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8621
8622 * gdb.base/style.exp: Don't include path in testname.
8623
b56f80d8
KS
86242019-01-10 Keith Seitz <keiths@redhat.com>
8625
8626 PR gdb/23712
8627 PR symtab/23010
8628 * gdb.dwarf2/multidictionary.exp: New file.
8629
041be526
SM
86302019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8631
8632 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8633 (test_gnuv3_style_demangling): ... this.
8634 (test_lucid_style_demangling): Remove.
8635 (test_arm_style_demangling): Remove.
8636 (test_hp_style_demangling): Remove.
8637 (do_tests): Remove calls to the above.
8638
d820d0c3
AB
86392019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8640
8641 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8642 case.
8643
f097f5ad
TT
86442019-01-06 Tom Tromey <tom@tromey.com>
8645
8646 PR gdb/28155:
8647 * gdb.dwarf2/typedef-void-finish.exp: New file.
8648
2cd8cc0b
TT
86492018-12-28 Tom Tromey <tom@tromey.com>
8650 Simon Marchi <simark@simark.ca>
8651
8652 * gdb.base/jit-exec.exp: New file.
8653 * gdb.base/jit-exec.c: New file.
8654 * gdb.base/jit-execd.c: New file.
8655
35fb8261
TT
86562018-12-28 Tom Tromey <tom@tromey.com>
8657
8658 * gdb.base/style.exp: Update test to check for address styling.
8659
47fd17cd
TT
86602018-12-28 Tom Tromey <tom@tromey.com>
8661
8662 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8663 message.
8664
d47032b7
TT
86652018-12-28 Tom Tromey <tom@tromey.com>
8666
8667 * gdb.base/style.exp: Add test for version number styling.
8668
af79b68d
TT
86692018-12-28 Tom Tromey <tom@tromey.com>
8670
8671 * gdb.base/style.exp: Add test for print_address_symbolic.
8672
0bb296cb
TT
86732018-12-28 Tom Tromey <tom@tromey.com>
8674
8675 * gdb.base/style.exp: Add test for breakpoint setting.
8676
80ae2043
TT
86772018-12-28 Tom Tromey <tom@tromey.com>
8678
8679 * gdb.base/style.exp: Add test for variable names.
8680
cbe56571
TT
86812018-12-28 Tom Tromey <tom@tromey.com>
8682
8683 * gdb.base/style.exp: New file.
8684 * gdb.base/style.c: New file.
8685
9162a27c
TT
86862018-12-28 Tom Tromey <tom@tromey.com>
8687
8688 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8689 "dumb".
8690 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8691 the TERM environment variable.
8692
bc543c90
TT
86932018-12-27 Tom Tromey <tom@tromey.com>
8694
8695 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8696 pagination test.
8697
6f0ffe50
AB
86982018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8699
8700 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8701 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8702
b5a1e557
PW
87032018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8704
8705 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8706 Filename a.adb changed to bp_fun_addr.adb.
8707 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8708
6e8b1ab2
JV
87092018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8710
8711 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8712 non-PIE executables.
8713 * README: Mention the gdb,nopie_flag board setting.
8714 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8715 non-PIE executable.
8716 * gdb.arch/amd64-entry-value.exp: Likewise.
8717 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8718 * gdb.arch/i386-float.exp: Likewise.
8719 * gdb.arch/i386-signal.exp: Likewise.
8720 * gdb.mi/mi-reg-undefined.exp: Likewise.
8721
d00a27c5
PM
87222018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8723
8724 PR gdb/23974
8725 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8726
161d081c
PW
87272018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8728
8729 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8730 Update order of results accordingly.
8731
b001de23
AB
87322018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8733
8734 * gdb.base/annota1.exp: Update a test regexp.
8735
99e1a184
AB
87362018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8737
8738 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8739
7a81c1e2
PW
87402018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8741
8742 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8743 (reuse_time): Initialize to REUSE_TIME_CAP.
8744 (check_rc): New function.
8745 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8746 Check pthread_create rc.
8747 (spawner_thread_func): Check pthread_create and pthread_join rc.
8748
73e8dc90
PA
87492018-12-08 Pedro Alves <palves@redhat.com>
8750
8751 * gdb.base/list.exp (test_forward_search): Rename to ...
8752 (test_forward_reverse_search): ... this. Also test reverse-search
8753 and the forward-search alias.
8754
13f2ed32
AB
87552018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8756
8757 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8758 local timeout variable before return, and remove all local timeout
8759 variable entirely.
8760 (gdb_load): Likewise.
8761
64d27cfc
TV
87622018-12-01 Tom de Vries <tdevries@suse.de>
8763
8764 * gdb.base/gdb-caching-proc.exp: New file.
8765
f63c03b4
SDJ
87662018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8767
8768 * Makefile.in (TIMESTAMP): New variable.
8769 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8770 command.
8771 (check-single-racy): Likewise.
8772 (check/%.exp): Likewise.
8773 (check-racy/%.exp): Likewise.
8774 (workers/%.worker): Likewise.
8775 (build-perf): Likewise.
8776 (check-perf): Likewise.
8777 * README: Describe new "TS" and "TS_FORMAT" variables.
8778 * print-ts.py: New file.
8779
1c97054b
BF
87802018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8781
8782 PR python/23714
8783 * gdb.python/python.exp: Test command repetition after
8784 gdb.execute.
8785
1871a62d
AB
87862018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8787
8788 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8789 is correctly aligned.
8790
fb5e1ed9
PW
87912018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8792
8793 * gdb.ada/info_auto_lang.exp: New testcase.
8794 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8795 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8796 * gdb.ada/info_auto_lang/some_c.c: New file.
8797
43d397ca
PW
87982018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8799
8800 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8801 FUNC_lang language syntax.
8802
beddd671
PW
88032018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8804
8805 * gdb.base/info_minsym.c: New file.
8806 * gdb.base/info_minsym.exp: New file.
8807
73fc52c4
TT
88082018-11-19 Tom Tromey <tom@tromey.com>
8809
8810 PR rust/23625:
8811 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8812 * gdb.rust/expr.exp: Update expected output. Change one test.
8813
994b876a
TT
88142018-11-19 Tom Tromey <tom@tromey.com>
8815
8816 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8817
6769f276
PA
88182018-11-19 Pedro Alves <palves@redhat.com>
8819
8820 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8821 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8822 see the expected warning.
8823
38a72da0
AH
88242018-11-16 Alan Hayward <alan.hayward@arm.com>
8825
8826 PR gdb/22736:
8827 * gdb.cp/infcall-nodebug-lib.c: New test.
8828 * gdb.cp/infcall-nodebug-main.c: New test.
8829 * gdb.cp/infcall-nodebug.exp: New file.
8830
53a89d6e
SM
88312018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8832
8833 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8834 completer tests.
8835
9325300d
TV
88362018-11-09 Tom de Vries <tdevries@suse.de>
8837
8838 * gdb.base/msym-lang.c: New test.
8839 * gdb.base/msym-lang.exp: New file.
8840 * gdb.base/msym-lang-main.c: New test.
8841
20f0d60d
TT
88422018-11-08 Tom Tromey <tom@tromey.com>
8843
8844 PR gdb/23555:
8845 PR gdb/23838:
8846 * gdb.base/warning.exp: New file.
8847
b5420128
JB
88482018-11-08 Jan Beulich <jbeulich@suse.com>
8849
8850 * testsuite/gdb.arch/i386-avx512.c,
8851 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8852
cd115d61
AB
88532018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8854
8855 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8856 point hardware.
8857
35ee2dc2
AB
88582018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8859
8860 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8861 * gdb.dwarf2/missing-type-name.exp: New file.
8862
31aceee8
TV
88632018-11-06 Tom de Vries <tdevries@suse.de>
8864
8865 * gdb.base/many-headers.c: New test.
8866 * gdb.base/many-headers.exp: New file.
8867
109be305
JW
88682018-11-06 Jim Wilson <jimw@sifive.com>
8869
8870 * gdb.base/code_elim.exp: For riscv, set additional_flags
8871 to include -msmall-data-limit=0.
8872
e2b7af72
JB
88732018-11-01 Joel Brobecker <brobecker@adacore.com>
8874
8875 * gdb.ada/watch_minus_l: New testcase.
8876
cdcda965
SM
88772018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8878
8879 * gdb.arch/aix-sighandle.c: New file.
8880 * gdb.arch/aix-sighandle.exp: New file.
8881
92dcebf3
AB
88822018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8883
8884 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8885 registers being unions.
8886
68b9ac18
TV
88872018-10-31 Tom de Vries <tdevries@suse.de>
8888
8889 * lib/valgrind.exp: New file.
8890 (vgdb_start, vgdb_stop): New procs, factored out of ...
8891 * gdb.base/valgrind-bt.exp: ... here, ...
8892 * gdb.base/valgrind-disp-step.exp: ... here and ...
8893 * gdb.base/valgrind-infcall.exp: ... here.
8894
1443936e
TV
88952018-10-31 Tom de Vries <tdevries@suse.de>
8896
8897 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8898
eb77c9df
AB
88992018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8900
8901 * gdb.dwarf2/void-type.c: New file.
8902 * gdb.dwarf2/void-type.exp: New file.
8903
82b5e646
PW
89042018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8905
8906 * gdb.base/info_qt.c: New file.
8907 * gdb.base/info_qt.exp: New file.
8908
8d619c01
EBM
89092018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8910
8911 * gdb.arch/powerpc-htm-regs.c: New file.
8912 * gdb.arch/powerpc-htm-regs.exp: New file.
8913
f2cf6173
EBM
89142018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8915
8916 * gdb.arch/powerpc-tar.c: New file.
8917 * gdb.arch/powerpc-tar.exp: New file.
8918
7ca18ed6
EBM
89192018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8920
8921 * gdb.arch/powerpc-ppr-dscr.c: New file.
8922 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8923
bfcc0eba
TV
89242018-10-25 Tom de Vries <tdevries@suse.de>
8925
8926 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8927
fe1a5cad
TV
89282018-10-24 Tom de Vries <tdevries@suse.de>
8929
8930 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8931 longer exists error.
8932
a76dc3b7
TV
89332018-10-24 Tom de Vries <tdevries@suse.de>
8934
8935 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8936
4df46df7
TV
89372018-10-24 Tom de Vries <tdevries@suse.de>
8938
8939 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8940 --db-attach in valgrind.
8941
0dbfcfff
AB
89422018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8943
8944 * gdb.arch/riscv-reg-aliases.c: New file.
8945 * gdb.arch/riscv-reg-aliases.exp: New file.
8946
b04480b1
AH
89472018-10-19 Alan Hayward <alan.hayward@arm.com>
8948
8949 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8950
2c6ac8d7
AH
89512018-10-19 Alan Hayward <alan.hayward@arm.com>
8952
8953 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8954
2bc69f25
AH
89552018-10-19 Alan Hayward <alan.hayward@arm.com>
8956
8957 * gdb.cp/ovldbreak.exp: Fix regexps.
8958
1f1ae3a3
AH
89592018-10-19 Alan Hayward <alan.hayward@arm.com>
8960
8961 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8962
94c18618
SDJ
89632018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8964
8965 PR cli/23785
8966 * gdb.base/restore.exp: New test to check if "restore" with an
8967 invalid file doesn't segfault.
8968
812cd6eb
TV
89692018-10-18 Tom de Vries <tdevries@suse.de>
8970
8971 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8972 * gdb.ada/excep_handle.exp: Same.
8973 * gdb.ada/mi_string_access.exp: Same.
8974 * gdb.ada/mi_var_union.exp: Same.
8975 * gdb.arch/arc-analyze-prologue.exp: Same.
8976 * gdb.arch/arc-decode-insn.exp: Same.
8977 * gdb.base/readnever.exp: Same.
8978 * gdb.fortran/printing-types.exp: Same.
8979 * gdb.guile/scm-lazy-string.exp: Same.
8980
c4b90788
TV
89812018-10-16 Tom de Vries <tdevries@suse.de>
8982
8983 PR gdb/23730
8984 * gdb.base/catch-follow-exec.c: Add copyright notice.
8985 * gdb.base/catch-follow-exec.exp: Rewrite to use
8986 gdb_spawn_with_cmdline_opts. Require gdb-native.
8987
8bca2978
SL
89882018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8989
8990 * gdb.trace/actions-changed.exp: Check for arch support.
8991 * gdb.trace/actions.exp: Likewise.
8992 * gdb.trace/ax.exp: Likewise.
8993 * gdb.trace/backtrace.exp: Likewise.
8994 * gdb.trace/change-loc.exp: Likewise.
8995 * gdb.trace/deltrace.exp: Likewise.
8996 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8997 * gdb.trace/ftrace.exp: Likewise.
8998 * gdb.trace/infotrace.exp: Check for arch support.
8999 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9000 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9001 * gdb.trace/mi-tsv-changed.exp: Likewise.
9002 * gdb.trace/packetlen.exp: Likewise.
9003 * gdb.trace/passc-dyn.exp: Likewise.
9004 * gdb.trace/passcount.exp: Likewise.
9005 * gdb.trace/pending.exp: Likewise.
9006 * gdb.trace/range-stepping.exp: Check for shlib support.
9007 * gdb.trace/report.exp: Check for arch support.
9008 * gdb.trace/save-trace.exp: Likewise.
9009 * gdb.trace/signal.exp: Check for signal support.
9010 * gdb.trace/tfind.exp: Check for arch support.
9011 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9012 * gdb.trace/trace-common.h: Add comment.
9013 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9014 * gdb.trace/trace-enable-disable.exp: Likewise.
9015 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9016 * gdb.trace/tracecmd.exp: Check for arch support.
9017 * gdb.trace/tspeed.exp: Check for shlib and target support.
9018 * gdb.trace/tstatus.exp: Check for arch support.
9019 * gdb.trace/tsv.exp: Likewise.
9020 * gdb.trace/while-dyn.exp: Likewise.
9021 * gdb.trace/while-stepping.exp: Likewise.
9022 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9023
f9c49bff
SM
90242018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9025
9026 * gdb.trace/tspeed.exp: Remove nowarnings.
9027 (prepare_for_trace_test): Declare "global ipalib".
9028 * gdb.trace/tspeed.c: Include unistd.h.
9029 (main): Remove superfluous printf argument.
9030
d4330bde
SL
90312018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9032
9033 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9034 directory prefix on the filename.
9035
8ecfd7bd
SDJ
90362018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9037
9038 * gdb.gdb/unittest.exp: Update expected message informing that
9039 selftests have been disabled.
9040 * gdb.server/unittest.exp: Likewise.
9041
58bbcd02
TV
90422018-10-09 Tom de Vries <tdevries@suse.de>
9043
9044 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9045 with runto_main.
9046
9f6b697b
WP
90472018-10-08 Weimin Pan <weimin.pan@oracle.com>
9048
9049 PR c++/16841
9050 * gdb.cp/virtbase2.cc: New file.
9051 * gdb.cp/virtbase2.exp: New file.
9052
add5ded5
TT
90532018-10-06 Tom Tromey <tom@tromey.com>
9054
9055 PR python/19399:
9056 * gdb.python/py-inferior.exp: Add architecture test.
9057
f9e48344
TT
90582018-10-06 Tom Tromey <tom@tromey.com>
9059
9060 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9061 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9062
2a8be203
TT
90632018-10-06 Tom Tromey <tom@tromey.com>
9064
9065 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9066 of a "throw" catchpoint.
9067
e04caa70
SDJ
90682018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9069
9070 * gdb.base/info-proc.exp: Update string expected from "help info
9071 proc".
9072
5ca8c39f
TT
90732018-10-04 Tom Tromey <tom@tromey.com>
9074
9075 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9076 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9077 (test_initial_complaints, test_empty_complaints): Update.
9078 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9079
3453e7e4
TT
90802018-10-04 Tom Tromey <tom@tromey.com>
9081
9082 PR cli/19551:
9083 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9084 * lib/gdb.exp (gdb_file_cmd): Update.
9085 * gdb.stabs/weird.exp (print_weird_var): Update.
9086 * gdb.server/solib-list.exp: Update.
9087 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9088 * gdb.mi/mi-cli.exp: Update.
9089 * gdb.linespec/linespec.exp: Update.
9090 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9091 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9092 * gdb.cp/cp-relocate.exp: Update.
9093 * gdb.base/sym-file.exp: Update.
9094 * gdb.base/relocate.exp: Update.
9095 * gdb.base/readnever.exp: Update.
9096 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9097 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9098 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9099 * gdb.base/code_elim.exp: Update.
9100 * gdb.base/break-unload-file.exp (test_break): Update.
9101 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9102 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9103 Update.
9104 * gdb.base/attach.exp (do_attach_tests): Update.
9105 * gdb.base/sepdebug.exp: Update.
9106 * gdb.python/py-section-script.exp: Update.
9107
6afcf761
TT
91082018-10-04 Tom Tromey <tom@tromey.com>
9109
9110 PR cli/22234:
9111 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9112 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9113 output.
9114
fef1b293
TT
91152018-10-04 Tom Tromey <tom@tromey.com>
9116
9117 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9118 set width and height to 0.
9119 (test_command_line_attach_run): Use -quiet.
9120
ca98345e
SL
91212018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9122
9123 * lib/gdb.exp (skip_ifunc_tests): New.
9124 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9125 other compile failures.
9126 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9127
ff34e6ae
SM
91282018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9129
9130 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9131 is_amd64_regs_target.
9132
6bb8890e
AH
91332018-10-01 Alan Hayward <alan.hayward@arm.com>
9134
9135 * gdb.arch/aarch64-sighandler-regs.c: New test.
9136 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9137 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9138
224d30d3
MM
91392018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9140
9141 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9142 assembly.
9143
f67ffa6a
AB
91442018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9145
9146 * gdb.base/frame-selection.exp: New file.
9147 * gdb.base/frame-selection.c: New file.
9148
9fc3183f
AH
91492018-09-27 Alan Hayward <alan.hayward@arm.com>
9150
9151 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9152 pthread barrier.
9153 (main): Likewise.
9154
d354055e
AB
91552018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9156
9157 * gdb.base/large-frame-1.c: New file.
9158 * gdb.base/large-frame-2.c: New file.
9159 * gdb.base/large-frame.exp: New file.
9160 * gdb.base/large-frame.h: New file.
9161
db727370
JL
91622018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9163
9164 PR gdb/20948
9165 * gdb.base/write_mem.exp: New test.
9166 * gdb.base/write_mem.c: Likewise.
9167
ae778caf
TT
91682018-09-23 Tom Tromey <tom@tromey.com>
9169
9170 PR python/18852:
9171 * gdb.python/py-parameter.exp: Add test for parameter that throws
9172 on "set".
9173
fd3ba736
TT
91742018-09-23 Tom Tromey <tom@tromey.com>
9175
9176 PR python/17284:
9177 * gdb.python/py-template.exp (test_template_arg): Add test for
9178 negative template argument number.
9179
39a24317
TT
91802018-09-23 Tom Tromey <tom@tromey.com>
9181
9182 PR python/14062:
9183 * gdb.python/python.exp: Add test for post_event error.
9184
f5769a2c
TT
91852018-09-23 Tom Tromey <tom@tromey.com>
9186
9187 PR python/18170:
9188 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9189 convert pointers to int and long.
9190
1c1e54f6
TT
91912018-09-23 Tom Tromey <tom@tromey.com>
9192
9193 PR python/20126:
9194 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9195 signed-ness conversion tests.
9196
fb4fa946
TT
91972018-09-23 Tom Tromey <tom@tromey.com>
9198
9199 PR python/18352;
9200 * gdb.python/py-value.exp (test_float_conversion): New proc.
9201 Use it.
9202
a466edac
HAQ
92032018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9204
9205 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9206
4ee9b0c5
SL
92072018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9208
9209 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9210 no readline.
9211 * gdb.base/utf8-identifiers.exp: Likewise.
9212 * gdb.cp/cpcompletion.exp: Likewise.
9213 * gdb.linespec/cpcompletion.exp: Likewise.
9214 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9215 * gdb.linespec/cpls-ops.exp: Likewise.
9216
23be8da7
RB
92172018-09-19 Richard Bunt <richard.bunt@arm.com>
9218 Chris January <chris.january@arm.com>
9219
9220 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9221 * gdb.fortran/short-circuit-argument-list.exp: New file.
9222 * gdb.fortran/short-circuit-argument-list.f90: New test.
9223
5031d0ae
SDJ
92242018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9225
9226 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9227 "arch=" keyword when executing "-stack-list-frames".
9228
b4c0d1a4
SDJ
92292018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9230
9231 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9232 "arch=" keyword when executing "-stack-list-frames".
9233
7a6d2b45
SDJ
92342018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9235
9236 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9237 break ada".
9238
8588b356
SM
92392018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9240
9241 PR python/23669
9242 * gdb.python/python.exp: Test gdb.execute("show commands").
9243
65e65158
TT
92442018-09-16 Tom Tromey <tom@tromey.com>
9245
9246 * gdb.base/new-ui.exp (do_execution_tests): Update.
9247 * gdb.base/dbx.exp (test_breakpoints): Update.
9248
bf326452
AH
92492018-09-14 Alan Hayward <alan.hayward@arm.com>
9250
9251 * lib/gdb.exp (gdb_simple_compile): Add proc.
9252 (is_elf_target): Use gdb_simple_compile.
9253 (skip_altivec_tests): Likewise.
9254 (skip_vsx_tests): Likewise.
9255 (skip_tsx_tests): Likewise.
9256 (skip_btrace_tests): Likewise.
9257 (skip_btrace_pt_tests): Likewise.
9258 (gdb_can_simple_compile): Likewise.
9259 (gdb_has_argv0): Likewise.
9260 (gdb_target_symbol_prefix): Likewise.
9261 (target_supports_scheduler_locking): Likewise.
9262
2361b0fb
TT
92632018-09-13 Tom Tromey <tom@tromey.com>
9264
9265 * Makefile.in (TAGS): Recognize proc_with_prefix and
9266 gdb_caching_proc.
9267
0ae1a321
SM
92682018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9269
9270 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9271 method.
9272
a40bf0c2
SM
92732018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9274
9275 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9276 and a few other Inferior properties when the Inferior is no
9277 longer valid.
9278
4a3fe98f
TT
92792018-09-13 Tom Tromey <tom@tromey.com>
9280
9281 PR rust/23650:
9282 * gdb.rust/simple.exp: Add test for enum field access error.
9283
098b2108
TT
92842018-09-13 Tom Tromey <tom@tromey.com>
9285
9286 PR rust/23626:
9287 * gdb.rust/simple.rs (EmptyEnum): New type.
9288 (main): Use it.
9289 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9290
1256af7d
SM
92912018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9292
9293 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9294 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9295 * gdb.python/py-symtab.exp: Update test printing an objfile.
9296
4aa8e6c2
SM
92972018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9298
9299 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9300 object.
9301
c221b2f7
AH
93022018-09-12 Alan Hayward <alan.hayward@arm.com>
9303
9304 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9305 (support_complex_tests): Use gdb_can_simple_compile.
9306 (is_ilp32_target): Likewise.
9307 (is_lp64_target): Likewise.
9308 (is_64_target): Likewise.
9309 (is_amd64_regs_target): Likewise.
9310 (is_aarch32_target): Likewise.
9311 (gdb_int128_helper): Likewise.
9312
6f1107b5
JK
93132018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9314
9315 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9316
1f5d1570
JG
93172018-09-10 Jerome Guitton <guitton@adacore.com>
9318
9319 * gdb.ada/same_component_name: Add test for case of tagged record
9320 with variable-length fields.
9321
cc330e39
XR
93222018-09-10 Xavier Roirand <roirand@adacore.com>
9323
9324 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9325 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9326 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9327 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9328
b9c50e9a
XR
93292018-09-10 Xavier Roirand <roirand@adacore.com>
9330
9331 * gdb.ada/mi_string_access.exp: New testcase.
9332 * gdb.ada/mi_string_access/bar.adb: New file.
9333 * gdb.ada/mi_string_access/pck.adb: New file.
9334 * gdb.ada/mi_string_access/pck.asd: New file.
9335
2963898f
XR
93362018-09-10 Xavier Roirand <roirand@adacore.com>
9337
9338 * gdb.ada/mi_var_union.exp: New testcase.
9339 * gdb.ada/mi_var_union/bar.adb: New file.
9340 * gdb.ada/mi_var_union/pck.adb: New file.
9341 * gdb.ada/mi_var_union/pck.asd: New file.
9342
1aac008f
TT
93432018-09-08 Tom Tromey <tom@tromey.com>
9344
9345 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9346
332cf4c9
TT
93472018-09-08 Tom Tromey <tom@tromey.com>
9348
9349 PR python/16047:
9350 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9351 (register_pretty_printers): Register new printer.
9352 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9353 test.
9354 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9355 (an_int_type3): New global.
9356
424da6cf
JB
93572018-09-08 Joel Brobecker <brobecker@adacore.com>
9358
9359 * gdb.ada/expr_with_funcall: New testcase.
9360
2a62dfa9
JB
93612018-09-08 Joel Brobecker <brobecker@adacore.com>
9362
9363 * gdb.ada/packed_array_assign: New testcase.
9364
96b6697f
AB
93652018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9366
9367 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9368 names, and add test prefixes to make test names unique.
9369
e4a62c65
TV
93702018-09-05 Tom de Vries <tdevries@suse.de>
9371
9372 * gdb.dwarf2/varval.exp: Add test.
9373
dd083ee2
GB
93742018-09-04 Gary Benson <gbenson@redhat.com>
9375
9376 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9377 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9378
aef9346c
TT
93792018-08-31 Tom Tromey <tom@tromey.com>
9380
9381 * gdb.rust/simple.rs: Rename second variable "v".
9382
c67f2e15
AB
93832018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9384
9385 * gdb.base/funcargs.c (use_a): New function.
9386 (recurse): Call use_a.
9387
078a0207
KS
93882018-08-29 Keith Seitz <keiths@redhat.com>
9389
9390 * gdb.compile/compile-cplus-anonymous.cc: New file.
9391 * gdb.compile/compile-cplus-anonymous.exp: New file.
9392 * gdb.compile/compile-cplus-array-decay.cc: New file.
9393 * gdb.compile/compile-cplus-array-decay.exp: New file.
9394 * gdb.compile/compile-cplus-inherit.cc: New file.
9395 * gdb.compile/compile-cplus-inherit.exp: New file.
9396 * gdb.compile/compile-cplus-member.cc: New file.
9397 * gdb.compile/compile-cplus-member.exp: New file.
9398 * gdb.compile/compile-cplus-method.cc: New file.
9399 * gdb.compile/compile-cplus-method.exp: New file.
9400 * gdb.compile/compile-cplus-mod.c: "New" file.
9401 * gdb.compile/compile-cplus-namespace.cc: New file.
9402 * gdb.compile/compile-cplus-namespace.exp: New file.
9403 * gdb.compile/compile-cplus-nested.cc: New file.
9404 * gdb.compile/compile-cplus-nested.exp: New file.
9405 * gdb.compile/compile-cplus-print.c: "New" file.
9406 * gdb.compile/compile-cplus-print.exp: "New" file.
9407 * gdb.compile/compile-cplus-virtual.cc: New file.
9408 * gdb.compile/compile-cplus-virtual.exp: New file.
9409 * gdb.compile/compile-cplus.c: "New" file.
9410 * gdb.compile/compile-cplus.exp: "New" file.
9411 * lib/compile-support.exp: New file.
9412
b0f492b9
GB
94132018-08-16 Gary Benson <gbenson@redhat.com>
9414
9415 PR gdb/13000:
9416 * gdb.base/batch-exit-status.exp: New file.
9417 * gdb.base/batch-exit-status.good-commands: Likewise.
9418 * gdb.base/batch-exit-status.bad-commands: Likewise.
9419
36eb4c5f
AH
94202018-08-29 Alan Hayward <alan.hayward@arm.com>
9421
9422 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9423 (struct struct02): Likewise.
9424 (struct struct03): Likewise.
9425 (struct struct04): Likewise.
9426 (struct struct_01_01): New struct.
9427 (struct struct_01_02): Likewise.
9428 (struct struct_01_03): Likewise.
9429 (struct struct_01_04): Likewise.
9430 (struct struct_02_01): Likewise.
9431 (struct struct_02_02): Likewise.
9432 (struct struct_02_03): Likewise.
9433 (struct struct_02_04): Likewise.
9434 (struct struct_04_01): Likewise.
9435 (struct struct_04_02): Likewise.
9436 (struct struct_04_03): Likewise.
9437 (struct struct_04_04): Likewise.
9438 (struct struct_05_01): Likewise.
9439 (struct struct_05_02): Likewise.
9440 (struct struct_05_03): Likewise.
9441 (struct struct_05_04): Likewise.
9442 (cmp_struct01): Remove function.
9443 (cmp_struct02): Likewise.
9444 (cmp_struct03): Likewise.
9445 (cmp_struct04): Likewise.
9446 (cmp_struct_01_01): Add Function.
9447 (cmp_struct_01_02): Likewise.
9448 (cmp_struct_01_03): Likewise.
9449 (cmp_struct_01_04): Likewise.
9450 (cmp_struct_02_01): Likewise.
9451 (cmp_struct_02_02): Likewise.
9452 (cmp_struct_02_03): Likewise.
9453 (cmp_struct_02_04): Likewise.
9454 (cmp_struct_04_01): Likewise.
9455 (cmp_struct_04_02): Likewise.
9456 (cmp_struct_04_03): Likewise.
9457 (cmp_struct_04_04): Likewise.
9458 (cmp_struct_05_01): Likewise.
9459 (cmp_struct_05_02): Likewise.
9460 (cmp_struct_05_03): Likewise.
9461 (cmp_struct_05_04): Likewise.
9462 (call_all): Add new structs.
9463 * gdb.base/infcall-nested-structs.exp: Likewise.
9464
3bf9c013
JV
94652018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9466
9467 * gdb.python/py-framefilter-mi.exp: Update regexp to
9468 check for "arch" field in frame output.
9469
450d1e88
KB
94702018-08-23 Kevin Buettner <kevinb@redhat.com>
9471
9472 * gdb.dwarf2/dw2-ranges-func.c: New file.
9473 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9474
ae739fe7
SM
94752018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9476
9477 * gdb.base/term.exp: Compare terminal settings with values from
9478 the inferior.
9479 * gdb.base/term.c: Get and set terminal settings.
9480
6d52907e
JV
94812018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9482
9483 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9484 accommodate new "arch" field in frame output.
9485 * gdb.mi/mi-return.exp: Likewise.
9486 * gdb.mi/mi-stack.exp: Likewise.
9487 * gdb.mi/mi-syn-frame.exp: Likewise.
9488 * gdb.mi/user-selected-context-sync.exp: Likewise.
9489
be2d111a
MS
94902018-08-19 Michael Spang <spang@google.com>
9491
9492 PR gdb/11786
9493 * gdb.base/gcore-tls-pie.c: New file.
9494 * gdb.base/gcore-tls-pie.exp: New file.
9495
ae3a7c47
KB
94962018-08-18 Kevin Buettner <kevinb@redhat.com>
9497
9498 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9499 * gdb.dwarf2/varval.c: New file.
9500 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9501
2ecae92e
AH
95022018-08-17 Alan Hayward <alan.hayward@arm.com>
9503
9504 PR gdb/18931
9505 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9506
c1854f1d
KS
95072018-08-16 Keith Seitz <keiths@redhat.com>
9508
9509 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9510 tests expected to pass.
9511
26fb3983
JV
95122018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9513
9514 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9515 -data-disassemble -a.
9516 (test_disassembly_bogus_args): Likewise.
9517
67943c00
AB
95182018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9519
9520 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9521
5ff2bbae
AB
95222018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9523
9524 * gdb.base/vla-optimized-out.exp: Add new test.
9525
e5bbcd0f
AB
95262018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9527
9528 * gdb.base/vla-optimized-out-o3.exp: Delete.
9529 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9530 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9531 deleted tests.
9532
9d4a934c
AB
95332018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9534
9535 PR gdb/18050:
9536 * gdb.server/extended-remote-restart.c: New file.
9537 * gdb.server/extended-remote-restart.exp: New file.
9538
045cf012
SM
95392018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9540
9541 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9542 "set variable index = 42".
9543
87d6a7aa
SM
95442018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9545
9546 * boards/index-cache-gdb.exp: New file.
9547 * gdb.dwarf2/index-cache.exp: New file.
9548 * gdb.dwarf2/index-cache.c: New file.
9549 * gdb.base/maint.exp: Check if we are using the index cache.
9550
96d68bd4
RO
95512018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9552
9553 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9554 MAKEFLAGS.
9555
5a699617
RO
95562018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9557
9558 * dg-extract-results.sh: Move to toplevel contrib.
9559 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9560 * Makefile.in (check-parallel-racy): Likewise.
9561
5bd18990
AB
95622018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9563
9564 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9565 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9566 tests if the target supports scheduler locking.
9567
3fbbcf47
TV
95682018-08-04 Tom de Vries <tdevries@suse.de>
9569
9570 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9571
3e1d3d8c
TT
95722018-08-02 Tom Tromey <tom@tromey.com>
9573
9574 PR symtab/16842.
9575 * gdb.cp/temargs.exp: Test "info address" of a template
9576 parameter.
9577
5abe0f0c
JV
95782018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9579
9580 * gdb.python/py-mi-var-info-path-expression.c: New file.
9581 * gdb.python/py-mi-var-info-path-expression.py: New file.
9582 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9583
fb66cde8
SDJ
95842018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9585
9586 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9587 error after "cannot resolve name" string.
9588
c708f4d2
AB
95892018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9590
9591 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9592 started.
9593 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9594
37cc0cae
TV
95952018-07-28 Tom de Vries <tdevries@suse.de>
9596
9597 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9598
63b4ecf7
TV
95992018-07-26 Tom de Vries <tdevries@suse.de>
9600
9601 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9602
3c3bb058
AB
96032018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9604
9605 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9606 is visible.
9607
9e7f3bbb
TV
96082018-07-26 Tom de Vries <tdevries@suse.de>
9609
9610 PR breakpoints/23366
9611 * gdb.base/catch-follow-exec.c: New test.
9612 * gdb.base/catch-follow-exec.exp: New file.
9613
16f808ec
TV
96142018-07-25 Tom de Vries <tdevries@suse.de>
9615
9616 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9617 vla-optimized-out.c.
9618
d7154a8d
JV
96192018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9620
9621 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9622 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9623
232a0032
TV
96242018-07-20 Tom de Vries <tdevries@suse.de>
9625
9626 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9627 NOCLONE macro.
9628 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9629
fbb1d502
TV
96302018-07-19 Tom de Vries <tdevries@suse.de>
9631
9632 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9633 regular expression.
9634
42dc7699
TV
96352018-07-18 Tom de Vries <tdevries@suse.de>
9636
9637 * gdb.base/vla-optimized-out.c: New test.
9638 * gdb.base/vla-optimized-out.exp: New file.
9639
7f1f7e23
SDJ
96402018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9641
9642 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9643 message "No address associated with hostname" when gdbserver
9644 cannot resolve the hostname.
9645
5759ebb3
PW
96462018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9647
9648 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9649 Add some test prefixes to make tests unique.
9650
3606ccab
PW
96512018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9652
9653 * gdb.base/frameapply.c: New file.
9654 * gdb.base/frameapply.exp: New file.
9655
529c08b2
PW
96562018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9657
9658 * gdb.base/skip.exp: Update expected error message.
9659
c7ab0aef
SDJ
96602018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9661 Jan Kratochvil <jan.kratochvil@redhat.com>
9662 Paul Fertser <fercerpav@gmail.com>
9663 Tsutomu Seki <sekiriki@gmail.com>
9664
9665 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9666 parameter.
9667 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9668 by default.
9669 * boards/native-gdbserver.exp: Likewise.
9670 * gdb.server/run-without-local-binary.exp: Improve regexp used
9671 for detecting when a remote debugging connection succeeds.
9672 * gdb.server/server-connect.exp: New file.
9673 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9674 Do not prefix the port number with ":".
9675 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9676 support for detecting and using it. Add '$debughost_gdbserver'
9677 to the list of arguments used to start gdbserver. Handle case
9678 when gdbserver cannot resolve a network name.
9679
16ff70dd
SDJ
96802018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9681
9682 PR c++/23373
9683 * gdb.base/ptype-offsets.cc (struct static_member): New
9684 struct.
9685 (main) <stmember>: New variable.
9686 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9687 with a static member in it.
9688
3541979f
AB
96892018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9690
9691 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9692 watchpoints enabled and disabled.
9693
c8ad9b9a
AB
96942018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9695
9696 * gdb.base/examine-backward.exp: Still run tests around address
9697 0x0, even if address 0x0 is not readable. Update the pattern for
9698 matching address 0x0 in expected output.
9699
e0e5e971
AB
97002018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9701
9702 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9703 malloc/free.
9704
1ea5da02
TV
97052018-07-04 Tom de Vries <tdevries@suse.de>
9706
9707 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9708
471b9d15
MR
97092018-07-02 Maciej W. Rozycki <macro@mips.com>
9710
9711 PR tdep/8282
9712 * gdb.arch/mips-disassembler-options.exp: New test.
9713 * gdb.arch/mips-disassembler-options.s: New test source.
9714
75acb486
PA
97152018-06-29 Pedro Alves <palves@redhat.com>
9716
9717 * gdb.threads/names.exp: Adjust expected "info threads" output.
9718
cd2bb709
PA
97192018-06-29 Pedro Alves <palves@redhat.com>
9720
9721 * gdb.opt/inline-break.exp (line number, address): Add "info
9722 break" tests.
9723
991ff292
PA
97242018-06-29 Pedro Alves <palves@redhat.com>
9725
9726 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9727 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9728 number and address and running to them.
9729
356819b6 97302018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9731
9732 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9733
2512d7ef
JK
97342018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9735
9736 * lib/compiler.c: Remove executable permission flag.
9737
be1b6474
RB
97382018-06-28 Richard Bunt <richard.bunt@arm.com>
9739
9740 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9741 code.
9742 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9743
291f9a96
PT
97442018-06-28 Petr Tesarik <ptesarik@suse.cz>
9745
9746 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9747
ed6dfe51
PT
97482018-06-28 Petr Tesarik <ptesarik@suse.cz>
9749
9750 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9751 address argument is omitted.
9752
d4d429d5
PT
97532018-06-28 Petr Tesarik <ptesarik@suse.cz>
9754
9755 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9756
7ab6656f
OJ
97572018-06-27 Omair Javaid <omair.javaid@linaro.org>
9758
9759 PR gdb/21695
9760 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9761 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9762
a33ccfc7
TT
97632018-06-26 Tom Tromey <tom@tromey.com>
9764
9765 PR rust/22574:
9766 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9767 * gdb.rust/simple.rs (struct SimpleLayout): New.
9768
6d72d289
SM
97692018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9770
9771 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9772 "info registers" output.
9773
8363f9d5
RB
97742018-06-21 Richard Bunt <richard.bunt@arm.com>
9775
9776 * gdb.base/watchpoint-hw-attach.c: New test.
9777 * gdb.base/watchpoint-hw-attach.exp: New file.
9778
f00674fe
SM
97792018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9780
9781 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9782 through /bin/sh.
9783 * boards/dwarf4-gdb-index.exp: Likewise.
9784 * boards/fission-dwp.exp: Likewise.
9785
1d554008
UW
97862018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9787
9788 * gdb.base/float128.exp: Add comment and improved fail message
9789 to the failure case of "print large128" test.
9790
d0ac1c44
SM
97912018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9792
9793 * configure.ac: Remove AC_PREREQ.
9794 * configure: Re-generate.
9795
61b04dd0
PA
97962018-06-19 Pedro Alves <palves@redhat.com>
9797
9798 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9799 (func_extern_caller): New.
9800 (main): Call func_extern_caller.
9801 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9802 logic change.
9803
f63b508a
SM
98042018-06-18 Weimin Pan <weimin.pan@oracle.com>
9805
9806 PR gdb/16841
9807 * gdb.cp/typedef-base.cc: New file.
9808 * gdb.cp/typedef-base.exp: New file.
9809
0fe3a558
TV
98102018-06-18 Tom de Vries <tdevries@suse.de>
9811
9812 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9813
7010835a
AB
98142018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9815 Richard Bunt <Richard.Bunt@arm.com>
9816
9817 * gdb.threads/attach-slow-waitpid.c: New file.
9818 * gdb.threads/attach-slow-waitpid.exp: New file.
9819 * gdb.threads/slow-waitpid.c: New file.
9820
14897d65
PA
98212018-06-14 Pedro Alves <palves@redhat.com>
9822
9823 * gdb.base/fork-running-state.c: Include <errno.h>.
9824 (exit_if_relative_exits): New.
9825 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9826 exits.
9827 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9828 child exits.
9829
5d9a0608
TV
98302018-06-14 Tom de Vries <tdevries@suse.de>
9831
9832 PR cli/22573
9833 * gdb.base/finish-pretty.c: New test.
9834 * gdb.base/finish-pretty.exp: New file.
9835
11ae5818
PA
98362018-06-14 Pedro Alves <palves@redhat.com>
9837
9838 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9839 gdb's expected startup output.
9840
1d39de44
PA
98412018-06-14 Pedro Alves <palves@redhat.com>
9842
9843 * lib/selftest-support.exp (selftest_setup): Remove inlined
9844 function handling.
9845
70ee0000
TV
98462018-06-14 Tom de Vries <tdevries@suse.de>
9847
9848 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9849 matching of breakpoint printing.
9850
11f4b608
TV
98512018-06-13 Tom de Vries <tdevries@suse.de>
9852
9853 PR testsuite/23269
9854 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9855 (fork_child): ... here, and ...
9856 (fork_parent): ... here.
9857
98582018-06-12 Tom de Vries <tdevries@suse.de>
9859
9860 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9861
9516f85a
AB
98622018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9863 Stephen Roberts <stephen.roberts@arm.com>
9864
9865 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9866 rewrite test to describe action performed, rather than possible
9867 failure.
9868
5045b3d7
GB
98692018-06-08 Gary Benson <gbenson@redhat.com>
9870
9871 * gdb.threads/check-libthread-db.exp: New file.
9872 * gdb.threads/check-libthread-db.c: Likewise.
9873
c61b06a1
TT
98742018-06-05 Tom Tromey <tom@tromey.com>
9875
9876 * gdb.base/default.exp: Update expected "show version" output.
9877
eb6af809
TT
98782018-06-05 Tom Tromey <tom@tromey.com>
9879
9880 PR cli/12326:
9881 * gdb.cp/static-print-quit.exp: Update.
9882 * lib/gdb.exp (pagination_prompt): Update.
9883 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9884 * gdb.python/python.exp: Update.
9885
178d6a63
JB
98862018-06-04 Joel Brobecker <brobecker@adacore.com>
9887
9888 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9889
8e817061
JB
98902018-06-01 Joel Brobecker <brobecker@adacore.com>
9891
9892 * gdb.ada/bp_fun_addr: New testcase.
9893
e86ca25f
TT
98942018-06-01 Tom Tromey <tom@tromey.com>
9895
9896 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9897 results.
9898 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9899 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9900 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9901 * gdb.base/maint.exp (maint_pass_if): Update.
9902
4b2dfa9d
MR
99032018-05-31 Maciej W. Rozycki <macro@mips.com>
9904
9905 * gdb.base/endian.exp: New test.
9906 * gdb.base/endian.c: New test source.
9907
45f25d6c
AB
99082018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9909
9910 PR gdb/23203
9911 * gdb.base/bt-selected-frame.c: New file.
9912 * gdb.base/bt-selected-frame.exp: New file.
9913 * lib/gdb.exp (get_current_frame_number): New function.
9914
d9f6d7f8
MR
99152018-05-24 Maciej W. Rozycki <macro@mips.com>
9916 Pedro Alves <palves@redhat.com>
9917
9918 * gdb.threads/tls-core.c: Include <stdlib.h>
9919 (thread_proc): Call `abort'.
9920 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9921 (tls_core_test): New procedure, bits factored out from ...
9922 (top level): ... here. Test both native cores and gcore cores.
9923
ff1cf532
TT
99242018-05-23 Tom Tromey <tom@tromey.com>
9925
9926 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9927
b98664d3
TT
99282018-05-23 Tom Tromey <tom@tromey.com>
9929
9930 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9931 symfile_complaints.
9932 (test_short_complaints): Likewise.
9933 (test_empty_complaints): Likewise.
9934 (test_initial_complaints): Update.
9935
4e9668d0
TT
99362018-05-23 Tom Tromey <tom@tromey.com>
9937
9938 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9939
43ba33c7
TT
99402018-05-23 Tom Tromey <tom@tromey.com>
9941
9942 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9943 (test_short_complaints): Update.
9944
035522c0
PA
99452018-05-22 Pedro Alves <palves@redhat.com>
9946
9947 * gdb.base/remote.exp: Only gdb_start after compiling the
9948 testcase. Issue "disconnect" before testing "set remote" command
9949 defaults. Issue clean_restart before running to main.
9950
cc0be08f
PA
99512018-05-22 Pedro Alves <palves@redhat.com>
9952
9953 * gdb.base/remote.exp: Adjust expected output of "show remote
9954 memory-write-packet-size". Add tests for "set remote
9955 memory-write-packet-size 0" and "set remote
9956 memory-write-packet-size fixed/limit".
9957
b1b60145
PA
99582018-05-22 Pedro Alves <palves@redhat.com>
9959
9960 PR gdb/22973
9961 * gdb.base/utf8-identifiers.c: New file.
9962 * gdb.base/utf8-identifiers.exp: New file.
9963
0ec848ad
PFC
99642018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9965
9966 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9967
2c3305f6
PFC
99682018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9969
9970 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9971
ce1e8424
TT
99722018-05-18 Tom Tromey <tom@tromey.com>
9973
9974 * gdb.base/ptype-offsets.exp: Update.
9975
ddfe970e
KS
99762018-05-17 Keith Seitz <keiths@redhat.com>
9977
9978 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9979 in expected breakpoint stop locations.
9980 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9981 move to proper scope to test variable values.
9982 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9983 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9984 New functions.
9985 (main): Call not_inline_func3.
9986 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9987 inline_func1, inline_func2, and inline_func3. Test that when each
9988 breakpoint is hit, GDB properly reports both the stop location
9989 and the backtrace. Repeat tests for temporary breakpoints.
9990
0726fcc6
MR
99912018-05-15 Maciej W. Rozycki <macro@mips.com>
9992
9993 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9994 rather then trying to access it in determining whether the PID
9995 of `gdbserver' could have been retrieved.
9996
8ee22052
AB
99972018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9998
9999 * gdb.arch/amd64-init-x87-values.S: New file.
10000 * gdb.arch/amd64-init-x87-values.exp: New file.
10001
7785df48
JK
100022018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10003
10004 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10005
56bcdbea
TT
100062018-05-04 Tom Tromey <tom@tromey.com>
10007
10008 PR python/22730:
10009 * gdb.python/python.exp: Test multi-line execute.
10010
a913fffb
TT
100112018-05-04 Tom Tromey <tom@tromey.com>
10012
10013 PR python/22731:
10014 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10015
7a2c85f2
TT
100162018-05-04 Tom Tromey <tom@tromey.com>
10017
10018 PR gdb/11750:
10019 * gdb.base/define.exp: Test defining a user command inside a user
10020 command.
10021 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10022
a3b60e45
JK
100232018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10024 Pedro Alves <palves@redhat.com>
10025
10026 PR breakpoints/19806 and support for PR external/20207.
10027 * gdb.base/watchpoint-unaligned.c: New file.
10028 * gdb.base/watchpoint-unaligned.exp: New file.
10029
45fe4a03
AB
100302018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10031
10032 * gdb.base/maint.exp: Make test names unique, use
10033 test_prefix_command_help to test 'help maint info', and remove
10034 repeated test of 'help maint'.
10035
9be2ae8f
TT
100362018-05-04 Tom Tromey <tom@tromey.com>
10037
10038 PR gdb/22619:
10039 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10040 behavior.
10041
11859c31
AB
100422018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10043
10044 * gdb.base/maint.exp: Process output from 'maint print registers'
10045 line at a time.
10046
089a9490
AB
100472018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10048
10049 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10050 timeout.
10051
9b0797e2
AB
100522018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10053
10054 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10055 filter pattern.
10056
f6ac5f3d
PA
100572018-05-02 Pedro Alves <palves@redhat.com>
10058
10059 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10060 to_log_command renames.
10061 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10062
77d3c63b
TT
100632018-05-02 Tom Tromey <tom@tromey.com>
10064
10065 * gdb.python/py-parameter.exp: Set test message.
10066
0489430a
TT
100672018-05-02 Tom Tromey <tom@tromey.com>
10068
10069 PR python/20084:
10070 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10071 PARAM_ZUINTEGER_UNLIMITED tests.
10072
1632f8ba
DR
100732018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10074
10075 PR rust/23124
10076 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10077 when casting.
10078
6d7bb824
TT
100792018-04-30 Tom Tromey <tom@tromey.com>
10080
10081 * gdb.python/py-type.exp: Check align attribute.
10082 * gdb.python/py-type.c: New "aligncheck" global.
10083
007e1530
TT
100842018-04-30 Tom Tromey <tom@tromey.com>
10085
10086 PR exp/17095:
10087 * gdb.dwarf2/dw2-align.exp: New file.
10088 * gdb.cp/align.exp: New file.
10089 * gdb.base/align.exp: New file.
10090 * lib/gdb.exp (gdb_int128_helper): New proc.
10091 (has_int128_c, has_int128_cxx): New caching procs.
10092
6873858b
TT
100932018-04-27 Tom Tromey <tom@tromey.com>
10094
10095 PR rust/22545:
10096 * gdb.rust/simple.exp: Add inclusive range tests.
10097
79188d8d
PA
100982018-04-26 Pedro Alves <palves@redhat.com>
10099
10100 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10101 ifunc breakpoint locations correctly of ifunc breakpoints set
10102 while the program resolves the ifunc.
10103
c7075ad5
PA
101042018-04-26 Pedro Alves <palves@redhat.com>
10105
10106 * gdb.base/gnu-ifunc-final.c: New file.
10107 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10108 * gdb.base/gnu-ifunc.exp (executable): Delete.
10109 (staticexecutable): Adjust.
10110 (lib_opts, exec_opts): Delete.
10111 (make_binsuffix, build, set-break): New procedures.
10112 (misc_tests): New, with tests factored out from the top level.
10113 (top level): Test different combinations of ifunc resolver name,
10114 resolver with and with debug info, and ifunc target with and
10115 without debug info. Wrap static tests with with_target_prefix.
10116
8388016d
PA
101172018-04-26 Pedro Alves <palves@redhat.com>
10118
10119 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10120 return type" warnings.
10121
249b5733
PA
101222018-04-25 Pedro Alves <palves@redhat.com>
10123
10124 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10125 killed".
10126 * gdb.base/kill-after-signal.exp: Likewise.
10127 * gdb.threads/kill.exp: Likewise.
10128
f67c0c91
SDJ
101292018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10130 Sergio Durigan Junior <sergiodj@redhat.com>
10131 Pedro Alves <palves@redhat.com>
10132
10133 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10134 regexps to expect for '[Inferior ... detached]' as well.
10135 * gdb.base/attach.exp: Likewise.
10136 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10137 "gdb_continue_to_end".
10138 (test_catch_syscall_with_wrong_args): Likewise.
10139 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10140 ']'. Don't set 'verbose' on.
10141 * gdb.base/foll-vfork.exp: Likewise.
10142 * gdb.base/fork-print-inferior-events.c: New file.
10143 * gdb.base/fork-print-inferior-events.exp: New file.
10144 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10145 '[Inferior ... has been killed]' message.
10146 * gdb.base/kill-after-signal.exp: Likewise.
10147 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10148 detach message.
10149 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10150 message.
10151 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10152 regexps to expect for '[Inferior ... detached]' as well.
10153 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10154
0a8ddac4
SM
101552018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10156
10157 PR gdb/23104
10158 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10159
701adfb0
PA
101602018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10161
10162 PR gdb/23095
10163 * gdb.base/break-probes.exp: Pass shlib_load to
10164 prepare_for_testing. Set normal_bp to r_debug_state if target is
10165 bsd.
10166
d27d16bf
RB
101672018-04-19 Richard Bunt <richard.bunt@arm.com>
10168
10169 * gdb.threads/multiple-successive-infcall.c: New test.
10170 * gdb.threads/multiple-successive-infcall.exp: New file.
10171
a037790e
TT
101722018-04-17 Tom Tromey <tom@tromey.com>
10173
10174 * gdb.rust/simple.rs (Union): New type.
10175 (main): New local "u".
10176 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10177
e3a91079
AA
101782018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10179
10180 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10181 number information in output of "whereis" command.
10182 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10183
b744723f
AA
101842018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10185
10186 * gdb.ada/info_types.exp: Adjust expected output to the line
10187 numbers now printed by "info var/func/type".
10188 * gdb.base/completion.exp: Likewise.
10189 * gdb.base/included.exp: Likewise.
10190 * gdb.cp/cp-relocate.exp: Likewise.
10191 * gdb.cp/cplusfuncs.exp: Likewise.
10192 * gdb.cp/namespace.exp: Likewise.
10193 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10194
4a4495d6
MM
101952018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10196
10197 * gdb.btrace/cpu.exp: New.
10198
1d509aa6
MM
101992018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10200
10201 * gdb.base/step-indirect-call-thunk.exp: New.
10202 * gdb.base/step-indirect-call-thunk.c: New.
10203 * gdb.reverse/step-indirect-call-thunk.exp: New.
10204 * gdb.reverse/step-indirect-call-thunk.c: New.
10205
6295b6da
SM
102062018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10207
10208 * gdb.base/pie-fork.c: New file.
10209 * gdb.base/pie-fork.exp: New file.
10210
50146e70
TT
102112018-04-11 Tom Tromey <tom@tromey.com>
10212
10213 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10214
f50d8a2e
PA
102152018-04-10 Pedro Alves <palves@redhat.com>
10216
10217 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10218 exits. Instead loop running forever.
10219 (fork_parent): Run forever too.
10220
a0be7a36
SM
102212018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10222
10223 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10224 mi_continue_to_line.
10225 * gdb.mi/mi-stack.c (callee4): Add comment.
10226
9b73db36
SM
102272018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10228
10229 * gdb.mi/mi-stack.exp: Fix indentation.
10230
c912f608
SM
102312018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10232
10233 PR gdb/22979
10234 * gdb.arch/amd64-osabi.exp: New file.
10235
26540402
SM
102362018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10237
10238 PR gdb/22980
10239 * gdb.base/osabi.exp: New file.
10240
121ad66c 102412018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10242
10243 * gdb.cp/static-typedef-print.exp: New file.
10244 * gdb.cp/static-typedef-print.cc: New file.
10245
3fcded8f
JB
102462018-03-27 Joel Brobecker <brobecker@adacore.com>
10247
10248 * gdb.ada/varsize_limit: New testcase.
10249
59cc4834
JB
102502018-03-27 Joel Brobecker <brobecker@adacore.com>
10251
10252 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10253
10254 * gdb.ada/notcplusplus: New testcase.
10255
10256 * gdb.base/c-linkage-name.c: New file.
10257 * gdb.base/c-linkage-name.exp: New testcase.
10258
4ca59a9f
TT
102592018-03-26 Tom Tromey <tom@tromey.com>
10260
10261 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10262 * gdb.python/py-framefilter.py (name_error): New global.
10263 (ErrorInName.function): Use name_error.
10264
978d6c75
TT
102652018-03-26 Tom Tromey <tom@tromey.com>
10266
10267 PR backtrace/15582:
10268 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10269
b7fee5a3
KS
102702018-03-23 Keith Seitz <keiths@redhat.com>
10271
10272 PR c++/22968
10273 * gdb.cp/subtypes.exp: New file.
10274 * gdb.cp/subtypes.h: New file.
10275 * gdb.cp/subtypes.cc: New file.
10276 * gdb.cp/subtypes-2.cc: New file.
10277
376be529
AB
102782018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10279
10280 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10281 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10282 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10283 -nostartfiles when compiling the test. Confirm that all registers
10284 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10285
066cfa98
AB
102862018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10287
10288 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10289 option, syntax was wrong anyway.
10290 * gdb.arch/arm-disp-step.exp: Likewise.
10291 * gdb.arch/sparc64-regs.exp: Likewise.
10292 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10293 option, syntax was wrong anyway, switch to use
10294 prepare_for_testing.
10295 * gdb.arch/i386-disp-step.exp: Likewise.
10296
079670b9
AA
102972018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10298
10299 * gdb.ada/exec_changed.exp: Replace "target_info exists
10300 use_gdb_stub" by "use_gdb_stub".
10301 * gdb.ada/start.exp: Likewise.
10302 * gdb.base/async-shell.exp: Likewise.
10303 * gdb.base/attach-pie-misread.exp: Likewise.
10304 * gdb.base/attach-wait-input.exp: Likewise.
10305 * gdb.base/break-entry.exp: Likewise.
10306 * gdb.base/break-interp.exp: Likewise.
10307 * gdb.base/dprintf-detach.exp: Likewise.
10308 * gdb.base/nostdlib.exp: Likewise.
10309 * gdb.base/solib-nodir.exp: Likewise.
10310 * gdb.base/statistics.exp: Likewise.
10311 * gdb.base/testenv.exp: Likewise.
10312 * gdb.mi/mi-exec-run.exp: Likewise.
10313 * gdb.mi/mi-start.exp: Likewise.
10314 * gdb.multi/dummy-frame-restore.exp: Likewise.
10315 * gdb.multi/multi-arch-exec.exp: Likewise.
10316 * gdb.multi/multi-arch.exp: Likewise.
10317 * gdb.multi/tids.exp: Likewise.
10318 * gdb.multi/watchpoint-multi.exp: Likewise.
10319 * gdb.python/py-events.exp: Likewise.
10320 * gdb.threads/attach-into-signal.exp: Likewise.
10321 * gdb.threads/attach-stopped.exp: Likewise.
10322 * gdb.threads/threadapply.exp: Likewise.
10323 * lib/selftest-support.exp: Likewise.
10324
26d6cec4
AA
103252018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10326
10327 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10328
4ee89e90
SR
103292018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10330
10331 * gdb.perf/template-breakpoints.cc: New file.
10332 * gdb.perf/template-breakpoints.exp: New file.
10333 * gdb.perf/template-breakpoints.py: New file.
10334
92630041
TT
103352018-03-19 Tom Tromey <tom@tromey.com>
10336
10337 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10338 y0.
10339 * gdb.rust/simple.exp: Test bare identifier form of struct
10340 initializer.
10341
76727919
TT
103422018-03-19 Tom Tromey <tom@tromey.com>
10343
10344 * gdb.gdb/observer.exp: Remove.
10345
194ed413
AA
103462018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10347
10348 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10349 "qualified" option when setting breakpoints.
10350 * gdb.trace/backtrace.exp: Likewise.
10351 * gdb.trace/circ.exp: Likewise.
10352 * gdb.trace/collection.exp: Likewise.
10353 * gdb.trace/disconnected-tracing.exp: Likewise.
10354 * gdb.trace/ftrace-lock.exp: Likewise.
10355 * gdb.trace/ftrace.exp: Likewise.
10356 * gdb.trace/infotrace.exp: Likewise.
10357 * gdb.trace/packetlen.exp: Likewise.
10358 * gdb.trace/passc-dyn.exp: Likewise.
10359 * gdb.trace/qtro.exp: Likewise.
10360 * gdb.trace/read-memory.exp: Likewise.
10361 * gdb.trace/report.exp: Likewise.
10362 * gdb.trace/signal.exp: Likewise.
10363 * gdb.trace/status-stop.exp: Likewise.
10364 * gdb.trace/strace.exp: Likewise.
10365 * gdb.trace/tfind.exp: Likewise.
10366 * gdb.trace/trace-break.exp: Likewise.
10367 * gdb.trace/trace-condition.exp: Likewise.
10368 * gdb.trace/trace-mt.exp: Likewise.
10369 * gdb.trace/tstatus.exp: Likewise.
10370 * gdb.trace/tsv.exp: Likewise.
10371 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10372 * gdb.trace/unavailable.exp: Likewise.
10373 * gdb.trace/while-dyn.exp: Likewise.
10374
8b067d2c
AA
103752018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10376
10377 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10378 that libinproctrace is copied to the target.
10379
3ae9ce5d
TT
103802018-03-14 Tom Tromey <tom@tromey.com>
10381
10382 PR cli/14977:
10383 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10384 a null pointer.
10385 * gdb.base/wchar.exp: Likewise.
10386
b8c2339b
TT
103872018-03-14 Tom Tromey <tom@tromey.com>
10388
10389 PR cli/19918:
10390 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10391 flag.
10392
4872dc46
SM
103932018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10394
10395 PR gdb/22841
10396 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10397 "target" to remote_exec.
10398
e4fe3756
SM
103992018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10400
10401 PR gdb/22841
10402 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10403 ${board}_upload): Remove.
10404
e95a97d4
AA
104052018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10406
10407 * gdb.cp/watch-cp.cc: New test.
10408 * gdb.cp/watch-cp.exp: New file.
10409
dbbb1059
AB
104102018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10411
10412 * gdb.base/infcall-nested-structs.exp: New file.
10413 * gdb.base/infcall-nested-structs.c: New file.
10414 * gdb.base/float.exp: Add riscv support.
10415
ecc054c0
TP
104162018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10417
10418 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10419 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10420
25e3c82c
SDJ
104212018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10422
10423 * gdb.server/abspath.exp: New file.
10424 * lib/gdb.exp (with_cwd): New procedure.
10425
3083294d
SM
104262018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10427
10428 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10429 use it.
10430 (gdb_is_target_remote_prompt): New proc.
10431 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10432 (gdb_is_target_native): Pass prompt parameter to
10433 gdb_is_target_1.
10434
3275ef47
SM
104352018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10436
10437 * gdb.base/load-command.c: New file.
10438 * gdb.base/load-command.exp: New file.
10439 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10440 (gdb_is_target_1): ...this, and generalize for other targets
10441 than just remote.
10442 (gdb_is_target_remote): Use gdb_is_target_1.
10443 (gdb_is_target_native): use gdb_is_target_1.
10444
6893c19a
TT
104452018-02-26 Tom Tromey <tom@tromey.com>
10446
10447 PR python/16497:
10448 * gdb.python/py-framefilter.exp: Update test.
10449
2ddeaf8a
TT
104502018-02-26 Tom Tromey <tom@tromey.com>
10451
10452 * gdb.dwarf2/variant.c: New file.
10453 * gdb.dwarf2/variant.exp: New file.
10454
c9317f21
TT
104552018-02-26 Tom Tromey <tom@tromey.com>
10456
10457 * gdb.rust/simple.exp: Accept more possible results in enum test.
10458
6f6d0c26
SM
104592018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10460
10461 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10462 parentheses.
10463
11b03145
MR
104642018-02-23 Maciej W. Rozycki <macro@mips.com>
10465
10466 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10467 name of a variable: $actual_linejj -> $actual_line.
10468
54a27fe5
JB
104692018-02-21 John Baldwin <jhb@FreeBSD.org>
10470
10471 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10472
de65820c
MM
104732018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10474
10475 * gdb.btrace/buffer-size.exp: Do not force BTS.
10476
980548fd
PA
104772018-02-14 Pedro Alves <palves@redhat.com>
10478
10479 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10480 getting a "Quit".
10481
c4e12631
MM
104822018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10483
10484 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10485 Fix test name.
10486
c2e0e465
SM
104872018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10488
10489 * gdb.cp/m-static.exp: Check type of optimized out static
10490 member.
10491
f7216783
AB
104922018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10493
10494 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10495 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10496
0625771b
LS
104972018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10498 Leszek Swirski <leszeks@google.com>
10499
10500 * gdb.python/py-prettyprint.c
10501 (struct to_string_returns_value_inner,
10502 struct to_string_returns_value_wrapper): New.
10503 (main): Add tsrvw variable.
10504 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10505 ToStringReturnsValueWrapper): New classes.
10506 (register_pretty_printers): Register new pretty-printers.
10507 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10508 recursive pretty printer.
10509 * gdb.python/py-mi.exp: Likewise.
10510
59498c30
LS
105112018-02-01 Leszek Swirski <leszeks@google.com>
10512
10513 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10514 functions with the same name as an include file are parsed
10515 correctly.
10516
d4d38844
YQ
105172018-02-01 Yao Qi <yao.qi@linaro.org>
10518
10519 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10520 "\[^\r\n\]*".
10521
07e5f5cf
NP
105222018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10523
10524 * gdb.arch/powerpc-prologue-frame.s: New file.
10525 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10526 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10527
929b5ad4
JB
105282018-01-31 Joel Brobecker <brobecker@adacore.com>
10529
10530 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10531
e671cd59
PA
105322018-01-30 Pedro Alves <palves@redhat.com>
10533
10534 PR gdb/13211
10535 * gdb.base/interrupt-daemon.c: New.
10536 * gdb.base/interrupt-daemon.exp: New.
10537 * gdb.multi/multi-term-settings.c: New.
10538 * gdb.multi/multi-term-settings.exp: New.
10539
fc413dc4
JB
105402018-01-30 Joel Brobecker <brobecker@adacore.com>
10541
10542 * gdb.base/break.exp: Save the location where the breakpoint
10543 on break.c:47 was actually inserted when debugging the version
10544 compiled at -O2 and use it in the expected output of the "info
10545 break" test performed soon after.
10546
5c319bb2
PA
105472018-01-22 Pedro Alves <palves@redhat.com>
10548 Sergio Durigan Junior <sergiodj@redhat.com>
10549
10550 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10551 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10552
a9e40818
JB
105532018-01-22 Joel Brobecker <brobecker@adacore.com>
10554
10555 * gdb.base/break-include.c, gdb.base/break-include.inc,
10556 gdb.base/break-include.exp: New files.
10557 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10558 line number now being the actual line number where the breakpoint
10559 was inserted.
10560 * gdb.mi/mi-break.exp: Likewise.
10561 * gdb.mi/mi-reverse.exp: Likewise.
10562 * gdb.mi/mi-simplerun.exp: Ditto.
10563
e707fc44
AB
105642018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10565
10566 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10567 varobj.
10568 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10569
ae451627
AB
105702018-01-21 Don Breazeal <donb@codesourcery.com>
10571 Andrew Burgess <andrew.burgess@embecosm.com>
10572
10573 * gdb.mi/basics.c: Add new global.
10574 * gdb.mi/mi-frame-regs.exp: New file.
10575 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10576 case.
10577
b1b189e0
AB
105782018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10579
10580 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10581 non-parameter, and on an unknown symbol.
10582
fcfcc376
TT
105832018-01-19 Tom Tromey <tom@tromey.com>
10584
10585 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10586 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10587
634c1c31
AA
105882018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10589
10590 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10591 setrlimit and chdir to int.
10592
d6ad07fd
AA
105932018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10594
10595 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10596 function.
10597 (my_tend): Likewise.
10598 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10599 rationale of avoiding FP- and vector instructions.
10600
adf8243b
RK
106012018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10602
10603 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10604 "info reg" with "\[ \t\]*".
10605 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10606 "\[ \t\]+".
10607 * gdb.arch/s390-multiarch.exp: Ditto.
10608 * gdb.base/pc-fp.exp: Ditto.
10609 * gdb.reverse/i386-precsave.exp: Ditto.
10610 * gdb.reverse/i386-reverse.exp: Ditto.
10611 * gdb.reverse/i387-env-reverse.exp: Ditto.
10612 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10613
dcc06925
AA
106142018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10615
10616 * lib/gdb.exp (gdb_compile): Re-enable use of
10617 universal_compile_options for languages other than Rust.
10618
25d4fd80
AA
106192018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10620
10621 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10622
ee7f689e 106232018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10624
10625 PR gdb/16577
10626 * gdb.base/solib-vanish.exp: New.
10627 * gdb.base/solib-vanish-main.c: New.
10628 * gdb.base/solib-vanish-lib1.c: New.
10629 * gdb.base/solib-vanish-lib2.c: New.
10630
d8447b6b
YQ
106312018-01-17 Yao Qi <yao.qi@linaro.org>
10632
10633 * gdb.compile/compile.exp: Match the address printed for
10634 frame in the output of command "bt".
10635
86d6a90c
TT
106362018-01-15 Tom Tromey <tom@tromey.com>
10637
10638 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10639 compute sp_reg.
10640
cbcdb1aa
AB
106412018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10642
10643 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10644 to prepare.
10645 (prepare): Return 0 on error, 1 on success.
10646
eea61984
PA
106472018-01-12 Pedro Alves <palves@redhat.com>
10648
10649 * gdb.base/continue-after-aborted-step-over.c: New.
10650 * gdb.base/continue-after-aborted-step-over.exp: New.
10651
6181e9c2
SM
106522018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10653
10654 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10655 options when not creating an executable.
10656
3cada740
PA
106572018-01-11 Pedro Alves <palves@redhat.com>
10658
10659 PR remote/22597
10660 * gdb.server/stop-reply-no-thread.c: New file.
10661 * gdb.server/stop-reply-no-thread.exp: New file.
10662
c63d3e8d
PA
106632018-01-10 Pedro Alves <palves@redhat.com>
10664
10665 PR gdb/22670
10666 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10667 functions too. Test setting breakpoints and printing C functions
10668 with no debug info too.
10669 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10670
d4c2a405
PA
106712018-01-10 Pedro Alves <palves@redhat.com>
10672
10673 PR gdb/22670
10674 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10675 a fail.
10676
8825213e
PA
106772018-01-10 Pedro Alves <palves@redhat.com>
10678
10679 PR gdb/22670
10680 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10681
605fd3c6
YQ
106822018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10683
10684 * gdb.server/unittest.exp: Match the output in non-development
10685 mode.
10686
1e5ded6c
YQ
106872018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10688
10689 * gdb.gdb/unittest.exp: Match output in non-development mode.
10690
30066b0b
JB
106912018-01-08 Joel Brobecker <brobecker@adacore.com>
10692
10693 * gdb.ada/access_tagged_param.exp: Relax expected output
10694 for value of "ObjL" in "continue" to pck.inspect breakpoint
10695 test.
10696
04bafb1e
XR
106972018-01-08 Joel Brobecker <brobecker@adacore.com>
10698
9f86398b
JB
10699 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10700 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10701
e379cee6
PA
107022018-01-05 Pedro Alves <palves@redhat.com>
10703
10704 PR gdb/18653
10705 * gdb.base/libsegfault.exp: New.
10706
de63c46b
PA
107072018-01-05 Joel Brobecker <brobecker@adacore.com>
10708
10709 PR gdb/22670
10710 * gdb.ada/access_tagged_param.exp: New file.
10711 * gdb.ada/access_tagged_param/foo.adb: New file.
10712
f98fc17b
PA
107132018-01-05 Pedro Alves <palves@redhat.com>
10714
10715 PR gdb/22670
10716 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10717 exercise lower case too, and to exercise both full matching and
10718 wild matching.
10719
342f8240
JB
107202018-01-05 Joel Brobecker <brobecker@adacore.com>
10721
10722 * gdb.ada/rename_subscript_param: New testcase.
10723
7150d33c
JG
107242018-01-05 Jerome Guitton <guitton@adacore.com>
10725
10726 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10727
cc0e770c
JB
107282018-01-05 Joel Brobecker <brobecker@adacore.com>
10729
10730 * gdb.ada/convvar_comp: New testcase.
10731
672a41aa 107322018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10733
10734 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10735 (My_Table): New global variable.
10736 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10737
7365ec2f
JB
107382018-01-04 Joel Brobecker <brobecker@adacore.com>
10739
10740 PR gdb/22670
10741 * gdb.ada/maint_with_ada: New testcase.
10742
289483b6
JB
107432018-01-04 Joel Brobecker <brobecker@adacore.com>
10744
10745 PR gdb/22670
10746 * gdb.ada/bp_c_mixed_case: New testcase.
10747
344420da
JB
107482018-01-04 Joel Brobecker <brobecker@adacore.com>
10749
10750 PR gdb/22670
10751 * gdb.ada/complete.exp: Add "complete break ada" test.
10752
66fc87a0
JB
107532018-01-04 Joel Brobecker <brobecker@adacore.com>
10754
10755 PR gdb/22670
10756 * gdb.ada/info_addr_mixed_case: New testcase.
10757
9f757bf7
XR
107582018-01-03 Xavier Roirand <roirand@adacore.com>
10759
10760 * gdb.ada/excep_handle.exp: New testcase.
10761 * gdb.ada/excep_handle/foo.adb: New file.
10762 * gdb.ada/excep_handle/pck.ads: New file.
10763
bd570f80
JB
107642018-01-03 Joel Brobecker <brobecker@adacore.com>
10765
10766 * gdb.base/step-line.c: Add extra empty line in copyright header.
10767 * gdb.base/step-line.inp: Likewise.
10768
9fe561ab
JB
107692018-01-02 Joel Brobecker <brobecker@adacore.com>
10770
10771 * gdb.ada/dyn_stride.exp: Add slice test.
10772
a405673c
JB
107732018-01-02 Joel Brobecker <brobecker@adacore.com>
10774
10775 * gdb.ada/dyn_stride: New testcase.
10776
cef0f868
SH
107772017-12-27 Stafford Horne <shorne@gmail.com>
10778
10779 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10780 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10781
b67d92b0
SH
107822017-12-27 Stafford Horne <shorne@gmail.com>
10783
10784 * gdb.base/reggroups.c: New file.
10785 * gdb.base/reggroups.exp: New file.
10786
eccab96d
JB
107872017-12-18 Joel Brobecker <brobecker@adacore.com>
10788
10789 * gdb.dwarf2/ada-valprint-error.c: New file.
10790 * gdb.dwarf2/ada-valprint-error.exp: New file.
10791
0e2da9f0
JB
107922017-12-18 Joel Brobecker <brobecker@adacore.com>
10793
10794 * gdb.ada/assign_arr: New testcase.
10795
cb923fcc
XR
107962017-12-18 Xavier Roirand <roirand@adacore.com>
10797
10798 * gdb.ada/funcall_ptr: New testcase.
10799
7c161838
SDJ
108002017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10801
10802 PR cli/16224
10803 * gdb.base/ptype-offsets.cc: New file.
10804 * gdb.base/ptype-offsets.exp: New file.
10805
1af17fd9
YQ
108062017-12-15 Yao Qi <yao.qi@linaro.org>
10807
10808 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10809 if XML is disabled.
10810
828d5846
XR
108112017-12-15 Xavier Roirand <roirand@adacore.com>
10812
10813 * gdb.ada/same_component_name: New testcase.
10814
79e8fcaa
JB
108152017-12-14 Joel Brobecker <brobecker@adacore.com>
10816
10817 * gdb.ada/str_binop_equal: New testcase.
10818
e05fa6f9
JB
108192017-12-14 Joel Brobecker <brobecker@adacore.com>
10820
10821 * gdb.ada/task_switch_in_core: New testcase.
10822
b89641ba
SM
108232017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10824
10825 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10826 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10827 call test_bkpt_qualified.
10828 (test_bkpt_qualified): New proc.
10829
6892d2e4
PA
108302017-12-13 Pedro Alves <palves@redhat.com>
10831
10832 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10833 Tighten regexp by matching with an anchor.
10834
a22ecf70
PA
108352017-12-13 Pedro Alves <palves@redhat.com>
10836
10837 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10838 ("expression with namespace"): New set of tests.
10839 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10840 (Nested::Test_NS::qux): New.
10841 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10842 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10843
9937536c
JB
108442017-12-13 Joel Brobecker <brobecker@adacore.com>
10845
10846 * gdb.base/server-del-break.c: New file.
10847 * gdb.base/server-del-break.exp: New file.
10848
fe49c6f5
SH
108492017-12-12 Stafford Horne <shorne@gmail.com>
10850
10851 * gdb.xml/tdesc-regs.exp: Add or1k support.
10852
c3d18620
SH
108532017-12-12 Stafford Horne <shorne@gmail.com>
10854
10855 * gdb.base/bp-permanent.c: Define nop of or1k.
10856
c5f9cfc8
JB
108572017-12-11 Joel Brobecker <brobecker@adacore.com>
10858
10859 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10860 output with components being reordered.
10861
a9c135fc
JB
108622017-12-11 Joel Brobecker <brobecker@adacore.com>
10863
10864 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10865 output with components being reordered.
10866
927aa2e7
JK
108672017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10868 Pedro Alves <palves@redhat.com>
10869
10870 * gdb.base/maint.exp (check for .gdb_index): Check also for
10871 .debug_names.
10872 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10873 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10874 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10875 (.gdb_index used after symbol reloading): Support also .debug_names.
10876 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10877
f17d9474
YQ
108782017-12-08 Yao Qi <yao.qi@linaro.org>
10879
10880 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10881 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10882
a0de8c21
YQ
108832017-12-08 Yao Qi <yao.qi@linaro.org>
10884
10885 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10886 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10887
a738ea1d
YQ
108882017-12-08 Yao Qi <yao.qi@linaro.org>
10889
10890 * gdb.arch/aarch64-tagged-pointer.c: New file.
10891 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10892
1cd9a73b
SDJ
108932017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10894
10895 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10896 "int".
10897
fa6eb693
KS
108982017-12-07 Keith Seitz <keiths@redhat.com>
10899
10900 PR breakpoints/22569
10901 * gdb.linespec/ls-errs.exp: Change expected result of "break
10902 -source this file has spaces.c -line 3".
10903 Check that an explicit source file followed by whitespace is
10904 identified as an invalid explicit location.
10905
883fd55a
KS
109062017-12-07 Keith Seitz <keiths@redhat.com>
10907
10908 * gdb.cp/nested-types.cc: New file.
10909 * gdb.cp/nested-types.exp: New file.
10910 * lib/cp-support.exp: Load data-structures.exp library.
10911 (debug_cp_test_ptype_class): New global.
10912 (cp_ptype_class_verbose, next_line): New procedures.
10913 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10914 Add and document new return value.
10915 Switch the list of lines to a queue.
10916 Add support for new `type' key for nested type definitions.
10917 Add debugging/troubleshooting messages.
10918 * lib/data-structures.exp: New file.
10919
ec72db3e
SM
109202017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10921
10922 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10923 with proc_with_prefix, don't use with_test_prefix.
10924
99598d71
TT
109252017-12-07 Tom Tromey <tom@tromey.com>
10926
10927 * gdb.base/break.exp: Add test for empty "commands".
10928
a8806230
YQ
109292017-12-07 Yao Qi <yao.qi@linaro.org>
10930
10931 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10932 malloc and catch syscall.
10933
824cc835
PM
109342017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10935
e79be6e5 10936 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10937 tests for explicit locations.
10938
7cc244de
PA
109392017-12-06 Pedro Alves <palves@redhat.com>
10940
10941 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10942 force-disabling XML descriptions.
10943
50a1fdd5
PA
109442017-12-04 Pedro Alves <palves@redhat.com>
10945
10946 PR gdb/22499
10947 * gdb.arch/amd64-disp-step-avx.S: New file.
10948 * gdb.arch/amd64-disp-step-avx.exp: New file.
10949
f0fb2488
PA
109502017-12-03 Pedro Alves <palves@redhat.com>
10951
10952 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10953 and <string.h>.
10954 (parent_function): Print distinct messages when waitpid fails, or
10955 the child exits with a signal, or the child exits for an unhandled
10956 reason.
10957 * gdb.threads/process-dies-while-detaching.exp
10958 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10959 it. Wait for both inferior output and GDB's prompt. Use an
10960 indirect spawn id list.
10961 (do_detach): New parameter 'child_exit'. Use it to compute
10962 expected inferior output.
10963 (test_detach, test_detach_watch, test_detach_killed_outside):
10964 Adjust to pass down the expected child exit kind.
10965
97cbe998
SDJ
109662017-12-01 Joel Brobecker <brobecker@adacore.com>
10967 Sergio Durigan Junior <sergiodj@redhat.com>
10968 Pedro Alves <palves@redhat.com>
10969
10970 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10971
40fc416f
SDJ
109722017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10973
10974 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10975 to 'symbol-file' and 'add-symbol-file' can be
10976 position-independent.
10977
1cc75e92
YQ
109782017-12-01 Yao Qi <yao.qi@linaro.org>
10979
10980 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10981 the URL in copyright header.
10982 * gdb.arch/aarch64-fp.exp: Likewise.
10983 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10984 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10985 * gdb.base/expand-psymtabs.exp: Likewise.
10986 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10987 * gdb.fortran/common-block.exp: Likewise.
10988 * gdb.fortran/common-block.f90: Likewise.
10989 * gdb.fortran/logical.exp: Likewise.
10990 * gdb.fortran/vla-datatypes.f90: Likewise.
10991 * gdb.fortran/vla-sub.f90: Likewise.
10992
875fb7a7
JB
109932017-11-30 Joel Brobecker <brobecker@adacore.com>
10994
10995 * gdb.ada/repeat_dyn: New testcase.
10996
6f14765f
UW
109972017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10998
10999 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11000 Update for changed thread numbering.
11001 * gdb.cell/bt.exp: Update for changed GDB output.
11002
f1af7b94
SM
110032017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11004
11005 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11006 setting isremote by hand.
11007 * boards/dwarf4-gdb-index.exp: Likewise.
11008 * boards/fission.exp: Likewise.
11009 * boards/stabs.exp: Likewise.
11010
e3919f3e
PA
110112017-11-30 Pedro Alves <palves@redhat.com>
11012
11013 * gdb.linespec/cpls-ops.exp
11014 (check_explicit_skips_function_argument): Extract the underlying
11015 type of size_t instead of hardcoding it.
11016
bd69330d
PA
110172017-11-29 Pedro Alves <palves@redhat.com>
11018
11019 PR c++/19436
11020 * gdb.linespec/cpls-abi-tag.cc: New file.
11021 * gdb.linespec/cpls-abi-tag.exp: New file.
11022
a20714ff
PA
110232017-11-29 Pedro Alves <palves@redhat.com>
11024
11025 * gdb.base/langs.exp: Use -qualified.
11026 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11027 it.
11028 * gdb.cp/namespace.exp: Use -qualified.
11029 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11030 (overload-3, template-overload, template-ret-type, const-overload)
11031 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11032 procedures.
11033 (test_driver): Call them.
11034 * gdb.cp/save-bp-qualified.cc: New.
11035 * gdb.cp/save-bp-qualified.exp: New.
11036 * gdb.linespec/explicit.exp: Test -qualified.
11037 * lib/completion-support.exp (completion::explicit_opts_list): Add
11038 "-qualified".
11039 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11040
f6f1d339
PM
110412017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11042
11043 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11044
02ca603a
TT
110452017-11-29 Tom Tromey <tom@tromey.com>
11046
11047 * gdb.base/relocate.exp: Update invalid argument test.
11048 Add new tests for invalid arguments.
11049
ed6c0bfb
TP
110502017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11051
11052 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11053 Return 0 as a long.
11054 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11055
f106e10e
TP
110562017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11057
11058 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11059 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11060 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11061 func ().
11062 * gdb.cp/shadow.cc (B.func): Return 0.
11063
10329bb2
JB
110642017-11-27 Joel Brobecker <brobecker@adacore.com>
11065
11066 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11067 expected output in gdb_expect call to allow the exception
11068 message to be present as well. Fix syntax confusion to avoid
11069 TCL thinking that exception_name is an array.
11070
617cd4bc
UW
110712017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11072
11073 * gdb.arch/spu-info.c: Include <unistd.h>.
11074 (do_signal_test): Fix broken calls to write.
11075 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11076 Fix checks for empty mailboxes. Update signal tests for corrected
11077 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11078 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11079 * gdb.cell/arch.exp: Use standard_output_file.
11080 * gdb.cell/break.exp: Likewise.
11081 * gdb.cell/bt.exp: Likewise.
11082 * gdb.cell/core.exp: Likewise.
11083 * gdb.cell/dwarfaddr.exp: Likewise.
11084 * gdb.cell/ea-cache.exp: Likewise.
11085 * gdb.cell/ea-standalone.exp: Likewise.
11086 * gdb.cell/f-regs.exp: Likewise.
11087 * gdb.cell/fork.exp: Likewise.
11088 * gdb.cell/gcore.exp: Likewise.
11089 * gdb.cell/mem-access.exp: Likewise.
11090 * gdb.cell/ptype.exp: Likewise.
11091 * gdb.cell/registers.exp: Likewise.
11092 * gdb.cell/sizeof.exp: Likewise.
11093 * gdb.cell/solib-symbol.exp: Likewise.
11094 * gdb.cell/solib.exp: Likewise.
617cd4bc 11095
a81aaca0
PA
110962017-11-25 Pedro Alves <palves@redhat.com>
11097
11098 * gdb.base/complete-empty.exp: New file.
11099 * gdb.base/completion.exp: Adjust.
11100
6a3c6ee4
PA
111012017-11-25 Pedro Alves <palves@redhat.com>
11102
11103 * gdb.linespec/cpls-ops.cc: New file.
11104 * gdb.linespec/cpls-ops.exp: New file.
11105 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11106 factored out from ...
11107 (test_complete_prefix_range): ... this.
11108
8955eb2d
PA
111092017-11-24 Pedro Alves <palves@redhat.com>
11110
11111 * gdb.linespec/cpcompletion.exp: New file.
11112 * gdb.linespec/cpls-hyphen.cc: New file.
11113 * gdb.linespec/cpls.cc: New file.
11114 * gdb.linespec/cpls2.cc: New file.
11115 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11116 test to use test_gdb_complete_unique. Add label completion,
11117 keyword completion and explicit location completion tests.
11118 * lib/completion-support.exp: New file.
11119
e547c119
JB
111202017-11-24 Joel Brobecker <brobecker@adacore.com>
11121
11122 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11123 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11124 when hitting an exception catchpoint.
11125
7c3c1aa8
YQ
111262017-11-22 Yao Qi <yao.qi@linaro.org>
11127
11128 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11129
41bd68f5
SM
111302017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11131
11132 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11133 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11134 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11135
1daad298
YQ
111362017-11-22 Yao Qi <yao.qi@linaro.org>
11137
11138 * gdb.base/info-os.exp: Pass pthreads.
11139 * gdb.multi/multi-attach.exp: Likewise.
11140
88465e87
YQ
111412017-11-22 Yao Qi <yao.qi@linaro.org>
11142
11143 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11144 compiler.
11145
dc196b23
YQ
111462017-11-22 Yao Qi <yao.qi@linaro.org>
11147
11148 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11149 * gdb.base/break-interp.exp: Likewise.
11150 * gdb.base/jit-attach-pie.exp: Likewise.
11151
2400729e
UW
111522017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11153
11154 * gdb.base/float128.c (large128): New variable.
11155 * gdb.base/float128.exp: Add test to print largest __float128 value.
11156
7a26362d
UW
111572017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11158
11159 * gdb.arch/vsx-regs.exp: Update register content checks.
11160
ed0f4273
UW
111612017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11162
11163 * gdb.arch/ppc-longdouble.exp: New file.
11164 * gdb.arch/ppc-longdouble.c: Likewise.
11165
a25d69c6
PA
111662017-11-21 Pedro Alves <palves@redhat.com>
11167
11168 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11169
73fcf641
PA
111702017-11-20 Pedro Alves <palves@redhat.com>
11171
11172 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11173 (long_double_typedef): New typedefs.
11174 Use DEF on double and long double.
11175 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11176 cases.
11177 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11178 and 'long_double_ptr_same_size' locals. Use them to decide
11179 whether cast from array/function to float is valid/invalid.
11180
71a3c369
TT
111812017-11-17 Tom Tromey <tom@tromey.com>
11182
11183 * gdb.rust/traits.rs: New file.
11184 * gdb.rust/traits.exp: New file.
11185
ced9779b
JB
111862017-11-17 Joel Brobecker <brobecker@adacore.com>
11187
11188 * gdb.ada/minsyms: New testcase.
11189
a0922d80
PA
111902017-11-16 Pedro Alves <palves@redhat.com>
11191
11192 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11193 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11194
ea04e54c
PA
111952017-11-16 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11198 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11199
e849ea89
PA
112002017-11-16 Pedro Alves <palves@redhat.com>
11201
11202 * gdb.server/reconnect-ctrl-c.c: New file.
11203 * gdb.server/reconnect-ctrl-c.exp: New file.
11204
d8ae99a7
PM
112052017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11206
11207 * gdb.python/py-rbreak.exp: New file.
11208 * gdb.python/py-rbreak.c: New file.
11209 * gdb.python/py-rbreak-func2.c: New file.
11210
968a13f8
PA
112112017-11-16 Pedro Alves <palves@redhat.com>
11212
11213 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11214 pattern.
11215 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11216 GDB.
11217
71774bc9
SM
112182017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11219
11220 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11221 regex.
11222
ddbb44cf
SM
112232017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11224
11225 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11226 test names.
11227
584a564f
PA
112282017-11-09 Pedro Alves <palves@redhat.com>
11229
11230 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11231 factored out from ...
11232 (top level): ... here, and adjusted to avoid expecting beyond the
11233 prompt in a single gdb_test_multiple.
11234
5ed7a928
PA
112352017-11-09 Pedro Alves <palves@redhat.com>
11236
11237 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11238 output.
11239 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11240 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11241 * gdb.server/ext-run.exp ("kill" test): Likewise.
11242 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11243
a60e0738
PA
112442017-11-09 Pedro Alves <palves@redhat.com>
11245
11246 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11247 match till end of line.
11248
2c88253f
PA
112492017-11-09 Pedro Alves <palves@redhat.com>
11250
11251 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11252
c7a38517
PA
112532017-11-09 Pedro Alves <palves@redhat.com>
11254
11255 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11256 New procedures, factored out from ...
11257 (top level): ... here, and adjusted to avoid expecting beyond the
11258 prompt in one go.
11259
f29f4b6b
PA
112602017-11-09 Pedro Alves <palves@redhat.com>
11261
11262 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11263 output. Fix '?' match.
11264
286acbb5
JB
112652017-11-08 Joel Brobecker <brobecker@adacore.com>
11266
11267 * gdb.ada/scoped_watch: New testcase.
11268 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11269 which is actually correct.
11270 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11271 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11272
62d7ae92
PA
112732017-11-08 Pedro Alves <palves@redhat.com>
11274
11275 * gdb.gdb/complaints.exp (test_initial_complaints)
11276 (test_serial_complaints, test_short_complaints): Call
11277 complaint_internal instead of complaint.
11278
280ca31f
DT
112792017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11280
11281 * gdb.threads/tls-core.c: New file.
11282 * gdb.threads/tls-core.exp: Likewise.
11283
b5ec771e
PA
112842017-11-08 Pedro Alves <palves@redhat.com>
11285
11286 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11287 (p Exported_Capitalized): New test.
11288 (p exported_capitalized): New test.
11289
a02b41a7
PA
112902017-11-07 Pedro Alves <palves@redhat.com>
11291
11292 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11293
95e95a6d
PA
112942017-11-07 Pedro Alves <palves@redhat.com>
11295
11296 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11297 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11298 (disable_invalid, disable_inverted, disable_negative): New
11299 procedures.
11300 ("bad numbers"): New set of tests.
11301
cee62dbd
PA
113022017-11-07 Pedro Alves <palves@redhat.com>
11303
11304 * gdb.cp/ena-dis-br-range.exp: Add tests.
11305
cc638e86
PA
113062017-11-07 Pedro Alves <palves@redhat.com>
11307
11308 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11309
d0fe4701
XR
113102017-11-07 Xavier Roirand <roirand@adacore.com>
11311 Pedro Alves <palves@redhat.com>
11312
11313 * gdb.base/ena-dis-br.exp: Add reference to
11314 gdb.cp/ena-dis-br-range.exp.
11315 * gdb.cp/ena-dis-br-range.exp: New file.
11316 * gdb.cp/ena-dis-br-range.cc: New file.
11317
46f67f80
PA
113182017-11-06 Pedro Alves <palves@redhat.com>
11319
11320 * gdb.base/attach-non-pgrp-leader.c: New.
11321 * gdb.base/attach-non-pgrp-leader.exp: New.
11322
726e1356
PA
113232017-11-06 Pedro Alves <palves@redhat.com>
11324
11325 * configure.ac: No longer check for termio.h and sgtty.h.
11326 * configure: Regenerate.
11327 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11328 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11329 Remove termio and sgtty code.
11330
50ab6ace
YQ
113312017-11-03 Yao Qi <yao.qi@linaro.org>
11332
11333 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11334 in GDB is disabled.
11335
8e68731c
YQ
113362017-11-03 Yao Qi <yao.qi@linaro.org>
11337
11338 * gdb.python/py-thrhandle.exp: Skip it if python is not
11339 enabled.
11340
3a87ae65
SM
113412017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11342
11343 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11344 as a breakpoint command.
11345
484d8d36
MD
113462017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11347
11348 PR python/21213
11349 * gdb.python/py-infthread.exp: Test calling
11350 InferiorThread.inferior () multiple times in a row.
11351
4a27f119
KS
113522017-10-27 Keith Seitz <keiths@redhat.com>
11353
11354 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11355 Test "info break" for every inlined function breakpoint.
11356
bb11dd58
YQ
113572017-10-27 Yao Qi <yao.qi@linaro.org>
11358
11359 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11360
a43f3893
PF
113612017-10-26 Patrick Frants <osscontribute@gmail.com>
11362
11363 * gdb.cp/classes.exp (test_static_members): Test printing
11364 Outer::instance.
11365 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11366 (Inner::instance, Outer::instance): New.
11367
792ccf00
PA
113682017-10-24 Pedro Alves <palves@redhat.com>
11369
11370 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11371 extra console" test in two stages.
11372
eb2bfbad
PA
113732017-10-24 Pedro Alves <palves@redhat.com>
11374
11375 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11376
1f75a651
PA
113772017-10-24 Pedro Alves <palves@redhat.com>
11378
11379 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11380 loop.
11381
779990d9
PA
113822017-10-24 Pedro Alves <palves@redhat.com>
11383
11384 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11385 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11386
ad9b8f5d
PA
113872017-10-24 Pedro Alves <palves@redhat.com>
11388
11389 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11390 parameter and handle it. Don't output read value in test name.
11391
fee6da6e
PA
113922017-10-24 Pedro Alves <palves@redhat.com>
11393
11394 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11395 custom test name.
11396
10389c2c
PA
113972017-10-24 Pedro Alves <palves@redhat.com>
11398
11399 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11400 include the unstable output directory name in the test's name.
11401 (initial_setup_simple) <'set args'>: Use custom test name.
11402
a80e65a9
PA
114032017-10-24 Pedro Alves <palves@redhat.com>
11404
11405 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11406 with explicit test name.
11407
15763a09
PA
114082017-10-20 Pedro Alves <palves@redhat.com>
11409
11410 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11411 'wait -i'. Use gdb_assert and remote_close.
11412
49a4ce2e
AB
114132017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11414
11415 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11416 number from variable rather than hard-coded.
11417
a75868f5
PA
114182017-10-19 Pedro Alves <palves@redhat.com>
11419
11420 * gdb.base/long-inferior-output.c: New file.
11421 * gdb.base/long-inferior-output.exp: New file.
11422
c8ba13ad
KS
114232017-11-18 Keith Seitz <keiths@redhat.com>
11424
11425 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11426 method.
11427 (main): Call it.
11428 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11429 Add additional user-defined conversion operator tests.
11430
b27de576
PA
114312017-10-17 Pedro Alves <palves@redhat.com>
11432
11433 * boards/native-stdio-gdbserver.exp: Load "local-board".
11434
8484c955
PA
114352017-10-17 Pedro Alves <palves@redhat.com>
11436
11437 * gdb.base/quit-live.c: New file.
11438 * gdb.base/quit-live.exp: New file.
11439
83d5a34d
KS
114402017-10-16 Keith Seitz <keiths@redhat.com>
11441
11442 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11443 (class_with_protected_typedef, class_with_private_typedef)
11444 (struct_with_public_typedef, struct_with_protected_typedef)
11445 (struct_with_private_typedef): New classes/structs.
11446 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11447 typedefs and access specifiers.
11448
739b3f1d
PA
114492017-10-16 Pedro Alves <palves@redhat.com>
11450 Simon Marchi <simon.marchi@polymtl.ca>
11451
11452 * README (Local vs Remote vs Native): New section.
11453 * boards/local-board.exp: New file, with bits factored out from
11454 ...
11455 * boards/native-extended-gdbserver.exp: ... here. Load
11456 "local-board".
11457 * boards/native-gdbserver.exp: Load "local-board".
11458 (${board}_spawn, ${board}_exec): Delete.
11459 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11460 ...
11461 * boards/stdio-gdbserver-base.exp: ... this new file.
11462 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11463 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11464 procedure.
11465 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11466 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11467 stdio_gdbserver_command.
11468 (${board}_get_remote_address, ${board}_get_comm_port)
11469 (${board}_download, ${board}_upload): Delete.
11470 (get_target_remote_pipe_cmd): New.
11471
fe68b953
SM
114722017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11473
11474 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11475 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11476 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11477 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11478 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11479 remove with_test_prefix.
11480
300b6685
PA
114812017-10-13 Pedro Alves <palves@redhat.com>
11482
11483 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11484 * gdb.base/annota1.exp: Use it instead of is_remote.
11485 * gdb.base/annota3.exp: Use it instead of is_remote.
11486 * gdb.cp/annota2.exp: Use it instead of is_remote.
11487 * gdb.cp/annota3.exp: Use it instead of is_remote.
11488 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11489
50500caf
PA
114902017-10-13 Pedro Alves <palves@redhat.com>
11491
11492 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11493 (test_num_test_vars, run_and_count_vars, find_env)
11494 (test_set_unset_env, test_inherit_env_var): New procedures.
11495 (top level): Use them.
11496
dad0c6d2
PA
114972017-10-13 Pedro Alves <palves@redhat.com>
11498
11499 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11500 also skip on stub-like targets.
11501
8b0553c1
PA
115022017-10-13 Pedro Alves <palves@redhat.com>
11503
11504 PR gdb/22293
11505 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11506 (top level): Move some tests to ...
11507 (test_not_found): ... this new procedure.
11508 (top level): Call it.
11509
7594f623
PA
115102017-10-13 Pedro Alves <palves@redhat.com>
11511
11512 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11513 expect different "info terminal" output if testing with a
11514 non-native target.
11515
ebe3b402
PA
115162017-10-13 Pedro Alves <palves@redhat.com>
11517 Simon Marchi <simon.marchi@polymtl.ca>
11518
11519 PR python/12966
11520 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11521
42f1b161
PA
115222017-10-13 Pedro Alves <palves@redhat.com>
11523
11524 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11525 already.
11526
8d6ef72b
PA
115272017-10-13 Pedro Alves <palves@redhat.com>
11528
11529 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11530 is_remote.
11531
d7bcd5b8
PA
115322017-10-13 Pedro Alves <palves@redhat.com>
11533
11534 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11535 is_remote.
11536
df479dc6
PA
115372017-10-13 Pedro Alves <palves@redhat.com>
11538
11539 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11540 is set.
11541 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11542 instead of is_remote.
11543
23fb630a
PA
115442017-10-13 Pedro Alves <palves@redhat.com>
11545
11546 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11547 (top level): Add comment.
11548
cc77b1dc
PA
115492017-10-13 Pedro Alves <palves@redhat.com>
11550
11551 * gdb.base/remote.exp (top level): Fix comment typo and add
11552 missing return.
11553
27c9e813
PA
115542017-10-13 Pedro Alves <palves@redhat.com>
11555 Simon Marchi <simon.marchi@polymtl.ca>
11556
11557 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11558 calls and add comments. Skip test if use_gdb_stub is set.
11559 (top level): Use "set cwd" command instead of "cd" command.
11560
5e830d98
PA
115612017-10-13 Pedro Alves <palves@redhat.com>
11562
11563 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11564 is_remote target check.
11565
f5ca0032
PA
115662017-10-13 Pedro Alves <palves@redhat.com>
11567
11568 * gdb.base/scope.exp: Use build_executable + clean_restart +
11569 gdb_file_cmd instead of prepare_for_testing and no longer skip
11570 "before run" tests on is_remote target boards. Update comments.
11571 * boards/native-extended-gdbserver.exp
11572 (extended_gdbserver_load_last_file): New, factored out from ...
11573 (gdb_load): ... this. Move further below and add comment.
11574 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11575
8aed1c0d
PA
115762017-10-12 Pedro Alves <palves@redhat.com>
11577
11578 * gdb.base/attach.exp: Remove references to gdb64.
11579 * gdb.base/dbx.exp: Remove references to gdb64.
11580
cfa34c87
SM
115812017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11582 Pedro Alves <palves@redhat.com>
11583
11584 * gdb.base/label.exp: Remove is_remote target check.
11585
9192b7de
PA
115862017-10-12 Pedro Alves <palves@redhat.com>
11587
11588 * gdb.base/auvx.exp (coredir): Update comment.
11589 (top level) <core_works>: Use "set cwd" command instead of "cd"
11590 command.
11591
6bf0052d
PA
115922017-10-12 Pedro Alves <palves@redhat.com>
11593 Simon Marchi <simon.marchi@polymtl.ca>
11594
11595 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11596 target boards.
11597
e48ef82d
PA
115982017-10-12 Pedro Alves <palves@redhat.com>
11599 Simon Marchi <simon.marchi@polymtl.ca>
11600
11601 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11602 Instead skip if there's any gdb_protocol set.
11603
8d7aea57
SM
116042017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11605 Pedro Alves <palves@redhat.com>
11606
11607 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11608
30440677
PA
116092017-10-12 Pedro Alves <palves@redhat.com>
11610 Simon Marchi <simon.marchi@polymtl.ca>
11611
11612 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11613 instead of on dejagnu remote boards.
11614
4e04f045 116152017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11616 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11617
11618 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11619 checks. Use build_executable + clean_restart instead of
11620 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11621 of enabling non-stop after starting gdb.
11622
871a186e
PA
116232017-10-12 Pedro Alves <palves@redhat.com>
11624
11625 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11626 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11627 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11628 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11629
56d704da
AK
116302017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11631
11632 * gdb.arch/arc-tdesc-cpu.exp: New file.
11633 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11634
2f20e312
SM
116352017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11636
11637 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11638
65630365
PA
116392017-10-10 Pedro Alves <palves@redhat.com>
11640
11641 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11642 expect CLI output.
11643
bf469271
PA
116442017-10-10 Pedro Alves <palves@redhat.com>
11645
11646 * lib/selftest-support.exp (selftest_setup): Update for
11647 captured_command_loop's prototype change.
11648
777a42f1
PA
116492017-10-09 Pedro Alves <palves@redhat.com>
11650
11651 Test both arch1=>arch2 and arch2=>arch1.
11652
11653 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11654 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11655 factored out to...
11656 (append_arch1_options, append_arch2_options, append_arch_options)
11657 (build_executables): New procedures.
11658 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11659 local.
11660 (top level): Add new 'first_arch' testing axis.
11661
cbd2b4e3
PA
116622017-10-09 Pedro Alves <palves@redhat.com>
11663
11664 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11665 (barrier): New.
11666 (thread_start, all_started): New functions.
11667 (main): Spawn new thread and wait until it is scheduled.
11668 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11669 option.
11670 (do_test): Add 'selected_thread' parameter. Run to all_started
11671 instead of main. Explicitly set the breakpoint at main. Switch
11672 to the SELECTED_THREAD thread.
11673 (top level): Test handling the exec event with either the main
11674 thread or the second thread selected.
11675
5c9e4427
PA
116762017-10-09 Pedro Alves <palves@redhat.com>
11677
11678 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11679 logic. Move STOP marker after the value checks.
11680 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11681 regexp.
11682
b3b7c423
SL
116832017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11684
11685 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11686
3b4b2f16
UW
116872017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11688
11689 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11690 integer-to-dfp conversion.
11691 * gdb.base/dfp-test.exp: Likewise.
11692
5cd63fda
PA
116932017-10-04 Pedro Alves <palves@redhat.com>
11694
11695 * gdb.multi/hangout.c: Include <unistd.h>.
11696 (hangout_loop): New function.
11697 (main): Call alarm. Call hangout_loop in a loop.
11698 * gdb.multi/hello.c: Include <unistd.h>.
11699 (hello_loop): New function.
11700 (main): Call alarm. Call hangout_loop in a loop.
11701 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11702 inferior with the other selected.
11703
4c71c105
SM
117042017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11705
11706 * gdb.mi/list-thread-groups-available.exp: New file.
11707 * gdb.mi/list-thread-groups-available.c: New file.
11708
bc3b087d
SDJ
117092017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11710
11711 * gdb.base/set-cwd.exp: Make it available on
11712 native-extended-gdbserver.
11713
d092c5a2
SDJ
117142017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11715
11716 * gdb.base/set-cwd.c: New file.
11717 * gdb.base/set-cwd.exp: Likewise.
11718
45320ffa
TT
117192017-10-02 Tom Tromey <tom@tromey.com>
11720
11721 PR rust/22236:
11722 * gdb.rust/simple.rs (main): New variable "fslice".
11723 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11724
b3e3859b
TT
117252017-10-02 Tom Tromey <tom@tromey.com>
11726
11727 * gdb.rust/simple.exp: Test ptype of a slice.
11728
01af5e0d
TT
117292017-10-02 Tom Tromey <tom@tromey.com>
11730
11731 * gdb.rust/simple.exp: Test index of slice.
11732
a9bbfbd8
TT
117332017-09-27 Tom Tromey <tom@tromey.com>
11734
11735 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11736
df8899e5
TP
117372017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11738 Pedro Alves <palves@redhat.com>
11739
11740 * gdb.base/compare-sections.exp (get value of read-only section): Read
11741 as unsigned value.
11742 (corrupt read-only section): Likewise and don't set written if patching
11743 failed.
11744
757bf54b
KB
117452017-09-21 Kevin Buettner <kevinb@redhat.com>
11746
11747 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11748 files.
11749
06871ae8
PA
117502017-09-20 Pedro Alves <palves@redhat.com>
11751
11752 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11753 symbol names in gdb's output.
11754 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11755
e5f25bc5
PA
117562017-09-20 Pedro Alves <palves@redhat.com>
11757
11758 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11759 Rename to ...
11760 (test_list_ambiguous_symbol): ... this and add a symbol name
11761 parameter. Adjust.
11762 (test_list_ambiguous_function): Reimplement on top of
11763 test_list_ambiguous_symbol and also test listing ambiguous
11764 variables.
11765 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11766 (ambiguous_fun): ... this.
11767 (ambiguous_var): New.
11768 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11769 (ambiguous_fun): ... this.
11770 (ambiguous_var): New.
11771
4e5a4f58
JB
117722017-09-19 John Baldwin <jhb@FreeBSD.org>
11773
11774 * gdb.base/starti.c: New file.
11775 * gdb.base/starti.exp: New file.
11776 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11777
26e53f3e
PA
117782017-09-14 Pedro Alves <palves@redhat.com>
11779
11780 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11781 (top level): Use it instead of runto.
11782
cb791d59
TT
117832017-09-11 Tom Tromey <tom@tromey.com>
11784
11785 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11786
7c96f8c1
TT
117872017-09-11 Tom Tromey <tom@tromey.com>
11788
11789 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11790 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11791
469412dd
CW
117922017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11793
11794 * gdb.fortran/printing-types.exp: New file.
11795 * gdb.fortran/printing-types.exp: New file.
11796
e0f86435
BH
117972017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11798
11799 * gdb.fortran/vla-ptype.exp: Fix typos.
11800 * gdb.fortran/vla-value.exp: Same.
11801
9e9af4be
BH
118022017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11803
11804 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11805 * gdb.mi/mi-var-child-f.exp: Likewise.
11806 * gdb.mi/mi-vla-fortran.exp: Likewise.
11807
a5ad232b 118082017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11809 Christoph Weinmann <christoph.t.weinmann@intel.com>
11810 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11811
11812 * gdb.fortran/ptr-indentation.f90: New file.
11813 * gdb.fortran/ptr-indentation.exp: New file.
11814
5aec60eb
TT
118152017-09-05 Tom Tromey <tom@tromey.com>
11816
11817 PR gdb/22010:
11818 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11819
8f8f8152
TP
118202017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11821
11822 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11823
fbd1b771
JK
118242017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11825
11826 * gdb.threads/tls-nodebug-pie.c: New file.
11827 * gdb.threads/tls-nodebug-pie.exp: New file.
11828
5eb5f850
TT
118292017-09-05 Tom Tromey <tom@tromey.com>
11830
11831 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11832 for rust.
11833
ae780a21
SM
118342017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11835
11836 * gdb.multi/multi-arch-exec.exp: Test with different
11837 "follow-exec-mode" settings.
11838 (do_test): New procedure.
11839
3693fdb3
PA
118402017-09-04 Pedro Alves <palves@redhat.com>
11841
11842 * gdb.base/func-static.c (S::method const, S::method volatile)
11843 (S::method volatile const): New methods.
11844 (c_s, v_s, cv_s): New instances.
11845 (main): Call method() on them.
11846 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11847 (cannot_resolve): New procedure.
11848 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11849 print-quote-unquoted columns.
11850 (do_test): Test printing each scope too.
11851
e68cb8e0
PA
118522017-09-04 Pedro Alves <palves@redhat.com>
11853
11854 * gdb.base/local-static.exp: Also test with
11855 class::method::variable wholly quoted.
11856 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11857
858be34c
PA
118582017-09-04 Pedro Alves <palves@redhat.com>
11859
11860 * gdb.base/local-static.c: New.
11861 * gdb.base/local-static.cc: New.
11862 * gdb.base/local-static.exp: New.
11863
46a4882b
PA
118642017-09-04 Pedro Alves <palves@redhat.com>
11865
11866 * gdb.asm/asm-source.exp: Add casts to int.
11867 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11868 (dataglobal64_1, dataglobal64_2): New globals.
11869 * gdb.base/nodebug.exp: Test different expressions involving the
11870 new globals, with print, whatis and ptype. Add casts to int.
11871 * gdb.base/solib-display.exp: Add casts to int.
11872 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11873 * gdb.cp/m-static.exp: Add cast to int.
11874 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11875 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11876 tls variable with no debug info without a cast. Test with a cast
11877 to int too.
11878 * gdb.trace/entry-values.exp: Add casts.
11879
2c5a2be1
PA
118802017-09-04 Pedro Alves <palves@redhat.com>
11881
11882 * gdb.base/nodebug.exp: Test that ptype's error about functions
11883 with unknown return type includes the function name too.
11884
7022349d
PA
118852017-09-04 Pedro Alves <palves@redhat.com>
11886
11887 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11888 return type of munmap in infcall.
11889 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11890 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11891 type of ftell in infcall.
11892 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11893 type of getpid in infcall.
11894 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11895 infcall.
11896 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11897 Bail on failure to extract the pid.
11898 * gdb.base/nodebug.c: #include <stdint.h>.
11899 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11900 New functions.
11901 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11902 Change expected output of print/whatis/ptype with functions with
11903 no debug info. Test all supported languages. Call
11904 test_call_promotion.
11905 * gdb.compile/compile.exp: Adjust expected output to expect
11906 warning.
11907 * gdb.threads/siginfo-threads.exp: Likewise.
11908
54990598
PA
119092017-09-04 Pedro Alves <palves@redhat.com>
11910
11911 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11912 "prototypes". Test calling float functions via prototyped and
11913 unprototyped function pointers.
11914 (perform_all_tests): New parameter "prototypes". Pass it down.
11915 (top level): Pass down "prototypes" parameter to
11916 perform_all_tests.
11917
34d16ea2
SM
119182017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11919
11920 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11921 Test with nested loops.
11922
9521ecda
SM
119232017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11924
11925 * gdb.base/commands.exp: Call the new procedures.
11926 (loop_break_test, loop_continue_test): New procedures.
11927
80a65e9b
SM
119282017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11929
11930 * gdb.base/commands.exp: Call new procedure.
11931 (define_if_without_arg_test): New procedure.
11932
e439fa14
PA
119332017-09-04 Pedro Alves <palves@redhat.com>
11934
11935 * gdb.base/list-ambiguous.exp: New file.
11936 * gdb.base/list-ambiguous0.c: New file.
11937 * gdb.base/list-ambiguous1.c: New file.
11938 * gdb.base/list.exp (test_list_range): Adjust expected output.
11939
0a2dde4a
SDJ
119402017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11941
11942 * gdb.base/share-env-with-gdbserver.c: New file.
11943 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11944
5e89eb3a
SM
119452017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11946
11947 * gdb.base/commands.exp (gdbvar_simple_if_test,
11948 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11949 progvar_simple_if_test, progvar_simple_while_test,
11950 progvar_complex_if_while_test, user_defined_command_test,
11951 user_defined_command_args_eval,
11952 user_defined_command_args_stack_test,
11953 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11954 temporary_breakpoint_commands,
11955 gdb_test_no_prompt, redefine_hook_test,
11956 redefine_backtrace_test): Remove "global gdb_prompt".
11957
fd437cbc
SM
119582017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11959
11960 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11961 New proc, call it from toplevel.
11962
87215ad1
SDJ
119632017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11964
11965 PR remote/21852
11966 * gdb.server/normal.c: New file, copied from gdb.base.
11967 * gdb.server/run-without-local-binary.exp: New file.
11968
58afddc6
WP
119692017-08-07 Weimin Pan <weimin.pan@oracle.com>
11970
11971 * gdb.arch/sparc64-adi.exp: New file.
11972 * gdb.arch/sparc64-adi.c: New file.
11973
5277199a
PA
119742017-08-22 Pedro Alves <palves@redhat.com>
11975
11976 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11977 (top level): Add "list all overloads" tests.
11978
14278e1f
TT
119792017-08-22 Tom Tromey <tom@tromey.com>
11980
11981 * gdb.gdb/xfullpath.exp: Remove.
11982
bf223d3e
PA
119832017-08-21 Pedro Alves <palves@redhat.com>
11984
11985 PR gdb/19487
11986 * gdb.base/symbol-alias.c: New.
11987 * gdb.base/symbol-alias2.c: New.
11988 * gdb.base/symbol-alias.exp: New.
11989
c973d0aa
PA
119902017-08-21 Pedro Alves <palves@redhat.com>
11991
11992 * gdb.base/dfp-test.c
11993 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11994 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11995 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11996 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11997 * gdb.base/whatis-ptype-typedefs.c: New.
11998 * gdb.base/whatis-ptype-typedefs.exp: New.
11999 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12000 (an_int, an_int_type, an_int_type2): New globals.
12001 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12002 involving typedefs and cast expressions.
12003 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12004 (lookup_typedefs_function): New.
12005 (typedefs_pretty_printers_dict): New.
12006 (top level): Register lookup_typedefs_function in
12007 gdb.pretty_printers.
12008
6d580b63
YQ
120092017-08-18 Yao Qi <yao.qi@linaro.org>
12010
12011 * gdb.server/unittest.exp: New.
12012
206726fb
SDJ
120132017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12014
12015 PR gdb/21954
12016 * gdb.base/environ.exp: Add test to check if 'unset environment'
12017 works.
12018
bf0ec4c2
AA
120192017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12020
12021 * lib/gdb.exp (universal_compile_options): New caching proc.
12022 (gdb_compile): Suppress GCC's coloring of messages.
12023
d6382fff
TT
120242017-08-14 Tom Tromey <tom@tromey.com>
12025
12026 PR gdb/21675:
12027 * gdb.base/printcmds.exp (test_radices): New function.
12028 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12029 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12030 * lib/gdb.exp (get_integer_valueof): Use p/d.
12031
c2c2dd9f
SM
120322017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12033
12034 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12035 characters.
12036
fdffd6f4
TT
120372017-08-05 Tom Tromey <tom@tromey.com>
12038
12039 * gdb.rust/simple.exp: Allow String to appear in a different
12040 namespace.
12041
27d41eac
YQ
120422017-07-26 Yao Qi <yao.qi@linaro.org>
12043
12044 * gdb.gdb/unittest.exp: Invoke command
12045 "maintenance check xml-descriptions".
12046
031ed05d
AA
120472017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12048
12049 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12050 calling context.
12051 (hex128): Drop erroneous calculation of parameters.
12052
dcd27ddf
SM
120532017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12054
12055 * gdb.python/py-unwind.exp: Disable stack protection when
12056 building test file.
12057
47e77640
PA
120582017-07-20 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.base/default.exp (set language): Adjust expected output.
12061
62d2a18a
PA
120622017-07-20 Pedro Alves <palves@redhat.com>
12063
12064 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12065 (test_minsym): ... this, and make static.
12066 (get_pck__foo__bar__minsym): Rename to ...
12067 (get_test_minsym): ... this.
12068 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12069 symbol names and comments.
12070 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12071 (get_test_minsym): ... this.
12072 (pck__foo__bar__minsym__2): Rename to ...
12073 (test_minsym): ... this.
12074 (main): Adjust.
12075
c45ec17c
PA
120762017-07-17 Pedro Alves <palves@redhat.com>
12077
12078 * gdb.base/completion.exp: Adjust expected output.
12079 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12080 the completer works.
12081
c6756f62
PA
120822017-07-17 Pedro Alves <palves@redhat.com>
12083
12084 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12085
5bd68487
AB
120862017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12087
12088 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12089
8880f2a9
TT
120902017-07-14 Tom Tromey <tom@tromey.com>
12091
12092 PR rust/21764:
12093 * gdb.rust/simple.exp: Add tests.
12094
65547233
TT
120952017-07-14 Tom Tromey <tom@tromey.com>
12096
12097 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12098
8f14146e
PA
120992017-07-14 Pedro Alves <palves@redhat.com>
12100
12101 * gdb.linespec/base/one/thefile.cc (z1): New function.
12102 * gdb.linespec/base/two/thefile.cc (z2): New function.
12103 * gdb.linespec/linespec.exp: Add tests.
12104
b4365d02
AB
121052017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12106
12107 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12108 to mi_create_breakpoint.
12109
5d2cbaa5
AB
121102017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12111
12112 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12113 mi_create_breakpoint.
12114
11cb5716
IB
121152017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12116
12117 * gdb.dlang/demangle.exp: Update for demangling changes.
12118
03278692
TT
121192017-07-09 Tom Tromey <tom@tromey.com>
12120
12121 * gdb.dwarf2/shortpiece.exp: New file.
12122
33c5cd75
DB
121232017-07-06 David Blaikie <dblaikie@gmail.com>
12124
12125 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12126 built from fissiont-multi-cu{1,2}.c.
12127 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12128 except putting 'main' and 'func' in separate CUs in the same DWO file.
12129 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12130 test.
12131 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12132 test.
12133
8455d262
PA
121342017-07-06 Pedro Alves <palves@redhat.com>
12135
12136 * gdb.python/py-unwind.exp: Test flushregs.
12137
dc4bde35
SDJ
121382017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12139
12140 PR cli/21688
12141 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12142 tests for alias commands and trailing whitespace.
12143
51ed89aa
SDJ
121442017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12145
12146 PR cli/21688
12147 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12148 procedure. Call it.
12149
eb17d413
PA
121502017-06-29 Pedro Alves <palves@redhat.com>
12151
12152 * gdb.base/printcmds.exp: Add tests.
12153
41664b45
DG
121542017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12155
12156 PR gdb/21337
12157 * gdb.base/reread-readsym.exp: New file.
12158 * gdb.base/reread-readsym.c: New file.
12159
75312ae3
KB
121602017-06-21 Kevin Buettner <kevinb@redhat.com>
12161
12162 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12163 subpattern.
12164
66953522
PB
121652017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12166
12167 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12168 extended mnemonic.
12169 * gdb.arch/powerpc-power9.s: Likewise.
12170
5524b525
AA
121712017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12172
12173 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12174 on 32-bit x86 targets. Exploit is_*_target macros where
12175 appropriate.
12176
03c8af18
AA
121772017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12178
12179 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12180 register pieces.
12181
3bf31011
AA
121822017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12183
12184 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12185 located in one or more DWARF pieces.
12186
805acca0
AA
121872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12188
12189 * lib/gdb.exp (get_endianness): New proc.
12190 * gdb.arch/aarch64-fp.exp: Use it.
12191 * gdb.arch/altivec-regs.exp: Likewise.
12192 * gdb.arch/e500-regs.exp: Likewise.
12193 * gdb.arch/vsx-regs.exp: Likewise.
12194 * gdb.base/dump.exp: Likewise.
12195 * gdb.base/funcargs.exp: Likewise.
12196 * gdb.base/gnu_vector.exp: Likewise.
12197 * gdb.dwarf2/formdata16.exp: Likewise.
12198 * gdb.dwarf2/implptrpiece.exp: Likewise.
12199 * gdb.dwarf2/nonvar-access.exp: Likewise.
12200 * gdb.python/py-inferior.exp: Likewise.
12201 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12202
e9352324
AA
122032017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12204
12205 PR gdb/21226
12206 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12207 stack value pieces are taken from the LSB end.
12208
d5d1163e
AA
122092017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12210
12211 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12212 variable at nonzero offset.
12213
0567c986
AA
122142017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12215
12216 * gdb.dwarf2/var-access.c: New file.
12217 * gdb.dwarf2/var-access.exp: New test.
12218 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12219
973e9aab
TT
122202017-06-12 Tom Tromey <tom@tromey.com>
12221
12222 * gdb.dwarf2/formdata16.exp: Add tests.
12223
d9109c80
TT
122242017-06-12 Tom Tromey <tom@tromey.com>
12225
12226 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12227
30a25466
TT
122282017-06-12 Tom Tromey <tom@tromey.com>
12229
12230 PR exp/16225:
12231 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12232 * gdb.arch/vsx-regs.exp: Update tests.
12233 * gdb.arch/s390-vregs.exp (hex128): New proc.
12234 Update test.
12235 * gdb.arch/altivec-regs.exp: Update tests.
12236
aefd8b33
SDJ
122372017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12238
12239 * gdb.base/startup-with-shell.c: New file.
12240 * gdb.base/startup-with-shell.exp: Likewise.
12241
2090129c
SDJ
122422017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12243
12244 * gdb.server/non-existing-program.exp: Update regex in order to
12245 reflect the fact that gdbserver is now using fork_inferior (with a
12246 shell) to startup the inferior.
12247
8e86a419
SM
122482017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12249
12250 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12251 support function calls from GDB.
12252
e6cf65f2
TT
122532017-05-21 Tom Tromey <tom@tromey.com>
12254
12255 PR rust/21466:
12256 * gdb.rust/unsized.exp: New file.
12257 * gdb.rust/unsized.rs: New file.
12258
43cc5389
TT
122592017-05-19 Tom Tromey <tom@tromey.com>
12260
12261 PR rust/21484:
12262 * gdb.rust/watch.exp: New file.
12263 * gdb.rust/watch.rs: New file.
12264
ec8df234
TT
122652017-05-18 Tom Tromey <tom@tromey.com>
12266
12267 * gdb.rust/simple.exp: Allow Box to be qualified.
12268
3e3e7fae
TP
122692017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12270
12271 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12272
59cc050d
PA
122732017-05-18 Pedro Alves <palves@redhat.com>
12274
12275 * gdb.base/fileio.c (test_write, test_read, test_close)
12276 (test_fstat): Don't print 'ret' in the fail path.
12277
c8f6abd1
PA
122782017-05-18 Pedro Alves <palves@redhat.com>
12279
12280 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12281 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12282 (test_system, test_rename, test_unlink, test_time): Change
12283 prototypes.
12284 * gdb.base/fileio.exp (stop_msg): Adjust.
12285
d2a03b77
PA
122862017-05-18 Pedro Alves <palves@redhat.com>
12287
12288 * gdb.base/fileio.c (null_str): New global.
12289 (test_stat): Use it.
12290 * gdb.base/fileio.exp: Remove nowarnings.
12291
0d5c6999
YQ
122922017-05-17 Yao Qi <yao.qi@linaro.org>
12293
12294 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12295
21873064
YQ
122962017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12297
12298 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12299 argument command.
12300 (top-level): Invoke test_set_inferior_tty.
12301
d512d31c
PA
123022017-05-04 Pedro Alves <palves@redhat.com>
12303
12304 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12305 Add parens to print call for Python 3.
12306
90cef2ed
KS
123072017-05-03 Keith Seitz <keiths@redhat.com>
12308
12309 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12310 (main): Call it.
12311
14f819c8
TW
123122017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12313
12314 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12315 to prev and next.
12316
913aeadd
TW
123172017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12318
12319 * gdb.python/py-record-btrace.exp: Remove test for
12320 gdb.BtraceInstruction.error.
12321
a3be24ad
TW
123222017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12323
12324 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12325
ae20e79a
TW
123262017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12327
12328 * gdb.python/py-record-btrace-threads.c: New file.
12329 * gdb.python/py-record-btrace-threads.exp: New file.
12330
45ce1b47
SDJ
123312017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12332
12333 PR testsuite/8595
12334 * gdb.base/environ.exp: Make test available in all architectures.
12335 Move bits related to "info program" testing to
12336 gdb.base/info-program.exp. Rewrite tests to use the two new
12337 procedures mentione below.
12338 (test_set_show_env_var) New procedure.
12339 (test_set_show_env_var_equal): Likewise.
12340 * gdb.base/info-program.exp: New file.
12341
e15c3eb4
KS
123422017-04-27 Keith Seitz <keiths@redhat.com>
12343
12344 * gdb.cp/oranking.cc (test15): New function.
12345 (main): Call test15 and declare additional variables for testing.
12346 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12347 "p foo101('abc')" tests.
12348 Add tests for cv qualifier overloads.
12349 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12350 "lvalue reference overload" test.
12351 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12352 "print value of f1 on Child&& in f2" test.
12353
3a3fd0fd
PA
123542017-04-19 Pedro Alves <palves@redhat.com>
12355
12356 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12357 procedure.
12358 (top level): Call it.
12359 * lib/gdb.exp (gdb_define_cmd): New procedure.
12360
53375380
PA
123612017-04-12 Pedro Alves <palves@redhat.com>
12362
12363 PR gdb/21323
12364 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12365 (wchar): New global.
12366 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12367 (do_test_wide_char, wide_char_types_no_program, top level): Add
12368 wchar_t testing.
12369
53e710ac
PA
123702017-04-12 Pedro Alves <palves@redhat.com>
12371
12372 PR c++/21323
12373 * gdb.cp/wide_char_types.c: New file.
12374 * gdb.cp/wide_char_types.exp: New file.
12375
0ad9d8c7
SDJ
123762017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12377
12378 PR gdb/21352
12379 * gdb.trace/tsv.exp: Add test for "tsave -r".
12380
b1b45502
IB
123812017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12382
12383 * gdb.dlang/watch-loc.c: New file.
12384 * gdb.dlang/watch-loc.exp: New file.
12385
ec13808e
JK
123862017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12387
12388 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12389
fe5f7374
AK
123902017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12391
12392 * gdb.arch/arc-analyze-prologue.S: New file.
12393 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12394
eea78757
AK
123952017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12396
12397 * gdb.arch/arc-decode-insn.S: New file.
12398 * gdb.arch/arc-decode-insn.exp: Likewise.
12399
5badf10a
IR
124002017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12401
12402 PR tdep/20928
12403 * gdb.arch/sparc64-regs.exp: New file.
12404 * gdb.arch/sparc64-regs.S: Likewise.
12405
cee59b3f
TW
124062017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12407
12408 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12409 and memory view on Python 3.
12410
c0f55cc6
AV
124112017-03-20 Artemiy Volkov <artemiyv@acm.org>
12412 Keith Seitz <keiths@redhat.com>
12413
12414 PR gdb/14441
12415 * gdb.cp/demangle.exp: Add rvalue reference tests.
12416 * gdb.cp/rvalue-ref-casts.cc: New file.
12417 * gdb.cp/rvalue-ref-casts.exp: New file.
12418 * gdb.cp/rvalue-ref-overload.cc: New file.
12419 * gdb.cp/rvalue-ref-overload.exp: New file.
12420 * gdb.cp/rvalue-ref-params.cc: New file.
12421 * gdb.cp/rvalue-ref-params.exp: New file.
12422 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12423 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12424 * gdb.cp/rvalue-ref-types.cc: New file.
12425 * gdb.cp/rvalue-ref-types.exp: New file.
12426 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12427 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12428
51457a05
MAL
124292017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12430
12431 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12432 New procedure.
12433
5b291c04
MAL
124342017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12435
12436 * lib/mi-support.exp (mi_gdb_test): Add additional message
12437 for unexpected output.
12438
59a56148
AA
124392017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12440
12441 * gdb.base/examine-backward.c (Barrier): New character array
12442 constant, to ensure that TestStrings is preceded by a string
12443 terminator.
12444
7942e96e
AA
124452017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12446
12447 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12448 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12449 and implicit pointer into such a location.
12450
6ebac3fb
DE
124512017-03-16 Doug Evans <dje@google.com>
12452
12453 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12454
ec3b243d
TP
124552017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12456
12457 * gdb.cp/m-static.exp: Fix expectation for prototype of
12458 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12459
124602017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12461
12462 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12463 * gdb.guile/scm-lazy-string.c: New file.
12464 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12465 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12466 for pointer, array, typedef lazy strings.
12467
2cc36e25 124682017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12469
12470 PR python/17728, python/18439, python/18779
12471 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12472 * gdb.python/py-lazy-string.c (pointer): New typedef.
12473 (main): New locals ptr, array, typedef_ptr.
12474 * gdb.python/py-value.exp: Move lazy string tests to ...
12475 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12476 array, typedef lazy strings.
ec3b243d 12477
0efcde63
AK
124782017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12479
12480 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12481 Add optional 'test' parameter.
12482
7978d7c3
SM
124832017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12484
12485 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12486 Skip for versions of DejaGnu < 1.5.
12487
896c0c1e
SM
124882017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12489
12490 * lib/gdb.exp (dejagnu_version): New proc.
12491 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12492 Use dejagnu_version.
12493
5f4d1085
KS
124942017-03-10 Keith Seitz <keiths@redhat.com>
12495
12496 PR c++/8128
12497 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12498 type from destructor regexps.
12499 Add a branch which actually passes the test.
12500 Adjust "ptype t5i" test names.
12501
1de05205
PA
125022017-03-08 Pedro Alves <palves@redhat.com>
12503
12504 * gdb.base/step-over-exit.exp: Add explicit test message.
12505
c65d6b55
PA
125062017-03-08 Pedro Alves <palves@redhat.com>
12507
12508 PR gdb/18360
12509 * gdb.threads/interrupt-while-step-over.c: New file.
12510 * gdb.threads/interrupt-while-step-over.exp: New file.
12511
2e86a283
PA
125122017-03-08 Pedro Alves <palves@redhat.com>
12513
12514 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12515 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12516
25dcbff6
PA
125172017-03-08 Pedro Alves <palves@redhat.com>
12518
12519 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12520 PKRU as not supported as a PASS.
12521
dc9366eb
PA
125222017-03-08 Pedro Alves <palves@redhat.com>
12523
12524 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12525 prefix instead of $binfile1/$binfile2.
12526 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12527 in test message.
12528 * gdb.python/py-completion.exp: Use "load python file" as test
12529 messages instead of unstable path names.
12530
6e5d74e7
PA
125312017-03-08 Pedro Alves <palves@redhat.com>
12532 Jan Kratochvil <jan.kratochvil@redhat.com>
12533
12534 PR cli/21218
12535 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12536 New proc.
12537 (top level): Call it.
12538
9753a2f6
PA
125392017-03-08 Pedro Alves <palves@redhat.com>
12540
12541 PR tui/21216
12542 * gdb.tui/tui-nl-filtered-output.exp: New file.
12543
1a4dd9dd
PA
125442017-03-08 Pedro Alves <palves@redhat.com>
12545
12546 * gdb.base/completion.exp: Move TUI completion tests to ...
12547 * gdb.tui/completion.exp: ... this new file.
12548
7cbbff33
PA
125492017-03-08 Pedro Alves <palves@redhat.com>
12550
12551 * gdb.base/tui-disasm-long-lines.c,
12552 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12553 gdb.base/tui-layout.exp: Move to ...
12554 * gdb.tui/: ... this new directory.
12555
5f6fd321
PA
125562017-03-07 Pedro Alves <palves@redhat.com>
12557
12558 * gdb.base/tui-layout.c: New file.
12559 * gdb.base/tui-layout.exp: New file.
12560
44959fa8
PA
125612017-03-07 Pedro Alves <palves@redhat.com>
12562
12563 * gdb.base/tui-layout.c: Rename to ...
12564 * gdb.base/tui-disasm-long-lines.c: ... this.
12565 * gdb.base/tui-layout.exp: Rename to ...
12566 * gdb.base/tui-disasm-long-lines.exp: ... this.
12567
f8c4e718
PA
125682017-03-07 Pedro Alves <palves@redhat.com>
12569
12570 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12571
6dbb839a 125722017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12573
12574 * i386-mpx-call.c: New file.
12575 * i386-mpx-call.exp: New file.
12576
65b48a81
PB
125772017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12578
12579 * gdb.arch/powerpc-power.exp: Delete test.
12580 * gdb.arch/powerpc-power.s: Likewise.
12581 * gdb.disasm/disassembler-options.exp: New test.
12582 * gdb.arch/powerpc-altivec.exp: Likewise.
12583 * gdb.arch/powerpc-altivec.s: Likewise.
12584 * gdb.arch/powerpc-altivec2.exp: Likewise.
12585 * gdb.arch/powerpc-altivec2.s: Likewise.
12586 * gdb.arch/powerpc-altivec3.exp: Likewise.
12587 * gdb.arch/powerpc-altivec3.s: Likewise.
12588 * gdb.arch/powerpc-power7.exp: Likewise.
12589 * gdb.arch/powerpc-power7.s: Likewise.
12590 * gdb.arch/powerpc-power8.exp: Likewise.
12591 * gdb.arch/powerpc-power8.s: Likewise.
12592 * gdb.arch/powerpc-power9.exp: Likewise.
12593 * gdb.arch/powerpc-power9.s: Likewise.
12594 * gdb.arch/powerpc-vsx.exp: Likewise.
12595 * gdb.arch/powerpc-vsx.s: Likewise.
12596 * gdb.arch/powerpc-vsx2.exp: Likewise.
12597 * gdb.arch/powerpc-vsx2.s: Likewise.
12598 * gdb.arch/powerpc-vsx3.exp: Likewise.
12599 * gdb.arch/powerpc-vsx3.s: Likewise.
12600 * gdb.arch/arm-disassembler-options.exp: Likewise.
12601 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12602 * gdb.arch/s390-disassembler-options.exp: Likewise.
12603
17cd4947
LM
126042017-02-23 Luis Machado <lgustavo@codesourcery.com>
12605
12606 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12607 (check_supported_features): ... this. Changed return type to void.
12608 (supports_rdseed): New static global.
12609 (rdseed): Check supports_rdseed.
12610 (initialize): Call check_supported_features.
12611
2039d74e
EBM
126122017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12613
12614 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12615 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12616 and lqarx/stqcx.
12617 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12618 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12619
a51d7ecf
EBM
126202017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12621
12622 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12623 uppercase.
12624
0224619f
JK
126252017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12626
12627 * gdb.dwarf2/formdata16.c: New file.
12628 * gdb.dwarf2/formdata16.exp: New file.
12629 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12630
216f72a1
JK
126312017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12632
12633 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12634 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12635 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12636 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12637 DW_AT_GNU_*.
12638
43988095
JK
126392017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12640
12641 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12642
99e8a4f9
SDJ
126432017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12644
12645 PR gdb/21164
12646 * gdb.base/maint.exp: Add testcases for when the commands do
12647 not have arguments.
12648
b58a8c0c
TP
126492017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12650
12651 * gdb.cp/chained-calls.exp: Use p instead of P.
12652
4e746bb6
TW
126532017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12654
12655 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12656 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12657
3f77c769
TT
126582017-02-14 Tom Tromey <tom@tromey.com>
12659
12660 PR python/13598:
12661 * gdb.python/py-events.exp: Add before_prompt event tests.
12662
075beec0
AA
126632017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12664
12665 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12666
bf5f525c
LM
126672017-02-13 Luis Machado <lgustavo@codesourcery.com>
12668
12669 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12670 (main): Call my_unique_function_name.
12671 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12672 completion of patterns with a single match.
12673 Add missing -re switches to gdb_test_multiple calls.
12674
13a66184
LM
126752017-02-13 Luis Machado <lgustavo@codesourcery.com>
12676
12677 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12678 return if core file is not recognized.
12679
26a06916
SM
126802017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12681
12682 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12683 and extra UIs.
12684
b761ca9e
SM
126852017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12686
12687 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12688 proc_with_prefix.
12689
b964bee0
TT
126902017-02-10 Tom Tromey <tom@tromey.com>
12691
12692 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12693
18da0c51
MG
126942017-02-10 Martin Galvan <martingalvan@sourceware.org>
12695
12696 PR gdb/21122
12697 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12698
604c4576
JG
126992017-02-08 Jerome Guitton <guitton@adacore.com>
12700
12701 * gdb.base/define.exp: Add test for command abbreviations
12702 in define.
12703
20b477a7
LM
127042017-02-06 Luis Machado <lgustavo@codesourcery.com>
12705
12706 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12707 * gdb.reverse/insn-reverse-x86.c: New file.
12708
3f7b46f2
IR
127092017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12710
12711 PR tdep/20936
12712 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12713
f0fd41c1
TT
127142017-02-03 Tom Tromey <tom@tromey.com>
12715
12716 PR rust/21097:
12717 * gdb.rust/simple.exp: Add new tests.
12718
5be5dbf0
PA
127192017-02-02 Pedro Alves <palves@redhat.com>
12720
12721 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12722 tests.
12723
7346ef59
AA
127242017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12725
12726 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12727 taking a 2-byte value out of a 4-byte DWARF implicit value on
12728 big-endian targets.
12729 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12730 logic. Add test cases for DW_OP_implicit.
12731
787f0025
MM
127322017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12733
12734 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12735
68777c29
MM
127362017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12737
12738 * gdb.btrace/enable.exp: Call gdb_exit before
12739 skip_gdbserver_tests.
12740
0a1c7e28
MM
127412017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12742
12743 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12744 GDBFLAGS.
12745
b5ac99b0
MM
127462017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12747
12748 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12749 the test is skipped.
12750 * gdb.btrace/data.exp: Likewise.
12751 * gdb.btrace/delta.exp: Likewise.
12752 * gdb.btrace/dlopen.exp: Likewise.
12753 * gdb.btrace/enable-running.exp: Likewise.
12754 * gdb.btrace/enable.exp: Likewise.
12755 * gdb.btrace/exception.exp: Likewise.
12756 * gdb.btrace/function_call_history.exp: Likewise.
12757 * gdb.btrace/gcore.exp: Likewise.
12758 * gdb.btrace/instruction_history.exp: Likewise.
12759 * gdb.btrace/multi-thread-step.exp: Likewise.
12760 * gdb.btrace/nohist.exp: Likewise.
12761 * gdb.btrace/non-stop.exp: Likewise.
12762 * gdb.btrace/reconnect.exp: Likewise.
12763 * gdb.btrace/record_goto-step.exp: Likewise.
12764 * gdb.btrace/record_goto.exp: Likewise.
12765 * gdb.btrace/rn-dl-bind.exp: Likewise.
12766 * gdb.btrace/segv.exp: Likewise.
12767 * gdb.btrace/step.exp: Likewise.
12768 * gdb.btrace/stepi.exp: Likewise.
12769 * gdb.btrace/tailcall-only.exp: Likewise.
12770 * gdb.btrace/tailcall.exp: Likewise.
12771 * gdb.btrace/tsx.exp: Likewise.
12772 * gdb.btrace/unknown_functions.exp: Likewise.
12773 * gdb.btrace/vdso.exp: Likewise.
12774
cd4007e4
MM
127752017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12776
12777 * gdb.btrace/enable-running.c: New.
12778 * gdb.btrace/enable-running.exp: New.
12779
2735833d
WT
127802017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12781
12782 * gdb.arch/amd64-gs_base.c: New file.
12783 * gdb.arch/amd64-gs_base.exp: New file.
12784
b51e1e94
LM
127852017-01-26 Luis Machado <lgustavo@codesourcery.com>
12786
12787 * lib/memory.exp: Remove spurious empty newlines.
12788
72ca0410
SM
127892017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12790
12791 * gdb.python/py-bad-printers.exp: Load python file using "source".
12792 * gdb.python/py-events.exp: Likewise.
12793 * gdb.python/py-evsignal.exp: Likewise.
12794 * gdb.python/py-evthreads.exp: Likewise.
12795 * gdb.python/py-frame-args.exp: Likewise.
12796 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12797 * gdb.python/py-framefilter-mi.exp: Likewise.
12798 * gdb.python/py-framefilter.exp: Likewise.
12799 * gdb.python/py-mi.exp: Likewise.
12800 * gdb.python/py-pp-maint.exp: Likewise.
12801 * gdb.python/py-pp-registration.exp: Likewise.
12802 * gdb.python/py-prettyprint.exp: Likewise.
12803 (run_lang_tests): Likewise.
12804 * gdb.python/py-typeprint.exp: Likewise.
12805
e309aa65
LM
128062017-01-26 Luis Machado <lgustavo@codesourcery.com>
12807
12808 * lib/memory.exp: New file.
12809 * lib/gdb.exp: Load memory.exp.
12810 * gdb.base/memattr.exp (delete_memory): Move proc to
12811 lib/memory.exp and rename to delete_memory_regions.
12812 Replace delete_memory with delete_memory_regions.
12813 Cleanup memory regions before tests.
12814 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12815 before tests.
12816
515aff23
LM
128172017-01-26 Luis Machado <lgustavo@codesourcery.com>
12818
12819 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12820 files.
12821 (initialize): New function conditionally defined.
12822 (testcases): Move within conditional block.
12823 (main): Call initialize.
12824 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12825 of gdb.reverse/insn-reverse.c.
12826 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12827 gdb.reverse/insn-reverse.c.
12828
d8b49cf0
YQ
128292017-01-26 Yao Qi <yao.qi@linaro.org>
12830
12831 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12832 disassemble on address 0.
12833
f13a9a0c
YQ
128342017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12835 Yao Qi <yao.qi@linaro.org>
12836
12837 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12838 * gdb.dwarf2/implptr-64bit.S: Remove.
12839 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12840 variables in caller's context. Add DW_OP_implicit_value.
12841
5ac95241
YQ
128422017-01-25 Yao Qi <yao.qi@linaro.org>
12843
12844 * lib/dwarf.exp (Dwarf::_location): Handle
12845 DW_OP_GNU_implicit_pointer with proper size.
12846
23e82930
LM
128472017-01-20 Luis Machado <lgustavo@codesourcery.com>
12848
12849 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12850 and add untested calls.
12851
d334ae25
LM
128522017-01-20 Luis Machado <lgustavo@codesourcery.com>
12853
12854 * gdb.python/python.exp: Check line number against what GDB thinks
12855 the line number is for func1.
12856
f5e6296e
IB
128572017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12858
12859 * gdb.dlang/debug-expr.exp: New file.
12860
5b362f04
LM
128612016-12-23 Luis Machado <lgustavo@codesourcery.com>
12862
12863 Fix test names for the following files:
12864
12865 * gdb.ada/exec_changed.exp
12866 * gdb.ada/info_types.exp
12867 * gdb.arch/aarch64-atomic-inst.exp
12868 * gdb.arch/aarch64-fp.exp
12869 * gdb.arch/altivec-abi.exp
12870 * gdb.arch/altivec-regs.exp
12871 * gdb.arch/amd64-byte.exp
12872 * gdb.arch/amd64-disp-step.exp
12873 * gdb.arch/amd64-dword.exp
12874 * gdb.arch/amd64-entry-value-inline.exp
12875 * gdb.arch/amd64-entry-value-param.exp
12876 * gdb.arch/amd64-entry-value-paramref.exp
12877 * gdb.arch/amd64-entry-value.exp
12878 * gdb.arch/amd64-i386-address.exp
12879 * gdb.arch/amd64-invalid-stack-middle.exp
12880 * gdb.arch/amd64-invalid-stack-top.exp
12881 * gdb.arch/amd64-optimout-repeat.exp
12882 * gdb.arch/amd64-prologue-skip.exp
12883 * gdb.arch/amd64-prologue-xmm.exp
12884 * gdb.arch/amd64-stap-special-operands.exp
12885 * gdb.arch/amd64-stap-wrong-subexp.exp
12886 * gdb.arch/amd64-tailcall-cxx.exp
12887 * gdb.arch/amd64-tailcall-noret.exp
12888 * gdb.arch/amd64-tailcall-ret.exp
12889 * gdb.arch/amd64-tailcall-self.exp
12890 * gdb.arch/amd64-word.exp
12891 * gdb.arch/arm-bl-branch-dest.exp
12892 * gdb.arch/arm-disp-step.exp
12893 * gdb.arch/arm-neon.exp
12894 * gdb.arch/arm-single-step-kernel-helper.exp
12895 * gdb.arch/avr-flash-qualifier.exp
12896 * gdb.arch/disp-step-insn-reloc.exp
12897 * gdb.arch/e500-abi.exp
12898 * gdb.arch/e500-regs.exp
12899 * gdb.arch/ftrace-insn-reloc.exp
12900 * gdb.arch/i386-avx512.exp
12901 * gdb.arch/i386-bp_permanent.exp
12902 * gdb.arch/i386-byte.exp
12903 * gdb.arch/i386-cfi-notcurrent.exp
12904 * gdb.arch/i386-disp-step.exp
12905 * gdb.arch/i386-dr3-watch.exp
12906 * gdb.arch/i386-float.exp
12907 * gdb.arch/i386-gnu-cfi.exp
12908 * gdb.arch/i386-mpx-map.exp
12909 * gdb.arch/i386-mpx-sigsegv.exp
12910 * gdb.arch/i386-mpx-simple_segv.exp
12911 * gdb.arch/i386-mpx.exp
12912 * gdb.arch/i386-permbkpt.exp
12913 * gdb.arch/i386-prologue.exp
12914 * gdb.arch/i386-signal.exp
12915 * gdb.arch/i386-size-overlap.exp
12916 * gdb.arch/i386-unwind.exp
12917 * gdb.arch/i386-word.exp
12918 * gdb.arch/mips-fcr.exp
12919 * gdb.arch/powerpc-d128-regs.exp
12920 * gdb.arch/powerpc-stackless.exp
12921 * gdb.arch/ppc64-atomic-inst.exp
12922 * gdb.arch/s390-stackless.exp
12923 * gdb.arch/s390-tdbregs.exp
12924 * gdb.arch/s390-vregs.exp
12925 * gdb.arch/sparc-sysstep.exp
12926 * gdb.arch/thumb-bx-pc.exp
12927 * gdb.arch/thumb-singlestep.exp
12928 * gdb.arch/thumb2-it.exp
12929 * gdb.arch/vsx-regs.exp
12930 * gdb.asm/asm-source.exp
12931 * gdb.base/a2-run.exp
12932 * gdb.base/advance.exp
12933 * gdb.base/all-bin.exp
12934 * gdb.base/anon.exp
12935 * gdb.base/args.exp
12936 * gdb.base/arithmet.exp
12937 * gdb.base/async-shell.exp
12938 * gdb.base/async.exp
12939 * gdb.base/attach-pie-noexec.exp
12940 * gdb.base/attach-twice.exp
12941 * gdb.base/auto-load.exp
12942 * gdb.base/bang.exp
12943 * gdb.base/bitfields.exp
12944 * gdb.base/break-always.exp
12945 * gdb.base/break-caller-line.exp
12946 * gdb.base/break-entry.exp
12947 * gdb.base/break-inline.exp
12948 * gdb.base/break-on-linker-gcd-function.exp
12949 * gdb.base/break-probes.exp
12950 * gdb.base/break.exp
12951 * gdb.base/breakpoint-shadow.exp
12952 * gdb.base/call-ar-st.exp
12953 * gdb.base/call-sc.exp
12954 * gdb.base/call-signal-resume.exp
12955 * gdb.base/call-strs.exp
12956 * gdb.base/callfuncs.exp
12957 * gdb.base/catch-fork-static.exp
12958 * gdb.base/catch-gdb-caused-signals.exp
12959 * gdb.base/catch-load.exp
12960 * gdb.base/catch-signal-fork.exp
12961 * gdb.base/catch-signal.exp
12962 * gdb.base/catch-syscall.exp
12963 * gdb.base/charset.exp
12964 * gdb.base/checkpoint.exp
12965 * gdb.base/chng-syms.exp
12966 * gdb.base/code-expr.exp
12967 * gdb.base/code_elim.exp
12968 * gdb.base/commands.exp
12969 * gdb.base/completion.exp
12970 * gdb.base/complex.exp
12971 * gdb.base/cond-expr.exp
12972 * gdb.base/condbreak.exp
12973 * gdb.base/consecutive.exp
12974 * gdb.base/continue-all-already-running.exp
12975 * gdb.base/coredump-filter.exp
12976 * gdb.base/corefile.exp
12977 * gdb.base/dbx.exp
12978 * gdb.base/debug-expr.exp
12979 * gdb.base/define.exp
12980 * gdb.base/del.exp
12981 * gdb.base/disabled-location.exp
12982 * gdb.base/disasm-end-cu.exp
12983 * gdb.base/disasm-optim.exp
12984 * gdb.base/display.exp
12985 * gdb.base/duplicate-bp.exp
12986 * gdb.base/ena-dis-br.exp
12987 * gdb.base/ending-run.exp
12988 * gdb.base/enumval.exp
12989 * gdb.base/environ.exp
12990 * gdb.base/eu-strip-infcall.exp
12991 * gdb.base/eval-avoid-side-effects.exp
12992 * gdb.base/eval-skip.exp
12993 * gdb.base/exitsignal.exp
12994 * gdb.base/expand-psymtabs.exp
12995 * gdb.base/filesym.exp
12996 * gdb.base/find-unmapped.exp
12997 * gdb.base/finish.exp
12998 * gdb.base/float.exp
12999 * gdb.base/foll-exec-mode.exp
13000 * gdb.base/foll-exec.exp
13001 * gdb.base/foll-fork.exp
13002 * gdb.base/fortran-sym-case.exp
13003 * gdb.base/freebpcmd.exp
13004 * gdb.base/func-ptr.exp
13005 * gdb.base/func-ptrs.exp
13006 * gdb.base/funcargs.exp
13007 * gdb.base/gcore-buffer-overflow.exp
13008 * gdb.base/gcore-relro-pie.exp
13009 * gdb.base/gcore-relro.exp
13010 * gdb.base/gcore.exp
13011 * gdb.base/gdb1090.exp
13012 * gdb.base/gdb11530.exp
13013 * gdb.base/gdb11531.exp
13014 * gdb.base/gdb1821.exp
13015 * gdb.base/gdbindex-stabs.exp
13016 * gdb.base/gdbvars.exp
13017 * gdb.base/hbreak.exp
13018 * gdb.base/hbreak2.exp
13019 * gdb.base/included.exp
13020 * gdb.base/infcall-input.exp
13021 * gdb.base/inferior-died.exp
13022 * gdb.base/infnan.exp
13023 * gdb.base/info-macros.exp
13024 * gdb.base/info-os.exp
13025 * gdb.base/info-proc.exp
13026 * gdb.base/info-shared.exp
13027 * gdb.base/info-target.exp
13028 * gdb.base/infoline.exp
13029 * gdb.base/interp.exp
13030 * gdb.base/interrupt.exp
13031 * gdb.base/jit-reader.exp
13032 * gdb.base/jit-simple.exp
13033 * gdb.base/kill-after-signal.exp
13034 * gdb.base/kill-detach-inferiors-cmd.exp
13035 * gdb.base/label.exp
13036 * gdb.base/langs.exp
13037 * gdb.base/ldbl_e308.exp
13038 * gdb.base/line-symtabs.exp
13039 * gdb.base/linespecs.exp
13040 * gdb.base/list.exp
13041 * gdb.base/long_long.exp
13042 * gdb.base/longest-types.exp
13043 * gdb.base/maint.exp
13044 * gdb.base/max-value-size.exp
13045 * gdb.base/memattr.exp
13046 * gdb.base/mips_pro.exp
13047 * gdb.base/morestack.exp
13048 * gdb.base/moribund-step.exp
13049 * gdb.base/multi-forks.exp
13050 * gdb.base/nested-addr.exp
13051 * gdb.base/nextoverexit.exp
13052 * gdb.base/noreturn-finish.exp
13053 * gdb.base/noreturn-return.exp
13054 * gdb.base/nostdlib.exp
13055 * gdb.base/offsets.exp
13056 * gdb.base/opaque.exp
13057 * gdb.base/pc-fp.exp
13058 * gdb.base/permissions.exp
13059 * gdb.base/print-symbol-loading.exp
13060 * gdb.base/prologue-include.exp
13061 * gdb.base/psymtab.exp
13062 * gdb.base/ptype.exp
13063 * gdb.base/random-signal.exp
13064 * gdb.base/randomize.exp
13065 * gdb.base/range-stepping.exp
13066 * gdb.base/readline-ask.exp
13067 * gdb.base/recpar.exp
13068 * gdb.base/recurse.exp
13069 * gdb.base/relational.exp
13070 * gdb.base/restore.exp
13071 * gdb.base/return-nodebug.exp
13072 * gdb.base/return.exp
13073 * gdb.base/run-after-attach.exp
13074 * gdb.base/save-bp.exp
13075 * gdb.base/scope.exp
13076 * gdb.base/sect-cmd.exp
13077 * gdb.base/set-lang-auto.exp
13078 * gdb.base/set-noassign.exp
13079 * gdb.base/setvar.exp
13080 * gdb.base/sigall.exp
13081 * gdb.base/sigbpt.exp
13082 * gdb.base/siginfo-addr.exp
13083 * gdb.base/siginfo-infcall.exp
13084 * gdb.base/siginfo-obj.exp
13085 * gdb.base/siginfo.exp
13086 * gdb.base/signals-state-child.exp
13087 * gdb.base/signest.exp
13088 * gdb.base/sigstep.exp
13089 * gdb.base/sizeof.exp
13090 * gdb.base/skip.exp
13091 * gdb.base/solib-corrupted.exp
13092 * gdb.base/solib-nodir.exp
13093 * gdb.base/solib-search.exp
13094 * gdb.base/stack-checking.exp
13095 * gdb.base/stale-infcall.exp
13096 * gdb.base/stap-probe.exp
13097 * gdb.base/start.exp
13098 * gdb.base/step-break.exp
13099 * gdb.base/step-bt.exp
13100 * gdb.base/step-line.exp
13101 * gdb.base/step-over-exit.exp
13102 * gdb.base/step-over-syscall.exp
13103 * gdb.base/step-resume-infcall.exp
13104 * gdb.base/step-test.exp
13105 * gdb.base/store.exp
13106 * gdb.base/structs3.exp
13107 * gdb.base/sym-file.exp
13108 * gdb.base/symbol-without-target_section.exp
13109 * gdb.base/term.exp
13110 * gdb.base/testenv.exp
13111 * gdb.base/ui-redirect.exp
13112 * gdb.base/until.exp
13113 * gdb.base/unwindonsignal.exp
13114 * gdb.base/value-double-free.exp
13115 * gdb.base/vla-datatypes.exp
13116 * gdb.base/vla-ptr.exp
13117 * gdb.base/vla-sideeffect.exp
13118 * gdb.base/volatile.exp
13119 * gdb.base/watch-cond-infcall.exp
13120 * gdb.base/watch-cond.exp
13121 * gdb.base/watch-non-mem.exp
13122 * gdb.base/watch-read.exp
13123 * gdb.base/watch-vfork.exp
13124 * gdb.base/watchpoint-cond-gone.exp
13125 * gdb.base/watchpoint-delete.exp
13126 * gdb.base/watchpoint-hw-hit-once.exp
13127 * gdb.base/watchpoint-hw.exp
13128 * gdb.base/watchpoint-stops-at-right-insn.exp
13129 * gdb.base/watchpoints.exp
13130 * gdb.base/wchar.exp
13131 * gdb.base/whatis-exp.exp
13132 * gdb.btrace/buffer-size.exp
13133 * gdb.btrace/data.exp
13134 * gdb.btrace/delta.exp
13135 * gdb.btrace/dlopen.exp
13136 * gdb.btrace/enable.exp
13137 * gdb.btrace/exception.exp
13138 * gdb.btrace/function_call_history.exp
13139 * gdb.btrace/gcore.exp
13140 * gdb.btrace/instruction_history.exp
13141 * gdb.btrace/nohist.exp
13142 * gdb.btrace/reconnect.exp
13143 * gdb.btrace/record_goto-step.exp
13144 * gdb.btrace/record_goto.exp
13145 * gdb.btrace/rn-dl-bind.exp
13146 * gdb.btrace/segv.exp
13147 * gdb.btrace/step.exp
13148 * gdb.btrace/stepi.exp
13149 * gdb.btrace/tailcall-only.exp
13150 * gdb.btrace/tailcall.exp
13151 * gdb.btrace/tsx.exp
13152 * gdb.btrace/unknown_functions.exp
13153 * gdb.btrace/vdso.exp
13154 * gdb.compile/compile-ifunc.exp
13155 * gdb.compile/compile-ops.exp
13156 * gdb.compile/compile-print.exp
13157 * gdb.compile/compile-setjmp.exp
13158 * gdb.cp/abstract-origin.exp
13159 * gdb.cp/ambiguous.exp
13160 * gdb.cp/annota2.exp
13161 * gdb.cp/annota3.exp
13162 * gdb.cp/anon-ns.exp
13163 * gdb.cp/anon-struct.exp
13164 * gdb.cp/anon-union.exp
13165 * gdb.cp/arg-reference.exp
13166 * gdb.cp/baseenum.exp
13167 * gdb.cp/bool.exp
13168 * gdb.cp/breakpoint.exp
13169 * gdb.cp/bs15503.exp
13170 * gdb.cp/call-c.exp
13171 * gdb.cp/casts.exp
13172 * gdb.cp/chained-calls.exp
13173 * gdb.cp/class2.exp
13174 * gdb.cp/classes.exp
13175 * gdb.cp/cmpd-minsyms.exp
13176 * gdb.cp/converts.exp
13177 * gdb.cp/cp-relocate.exp
13178 * gdb.cp/cpcompletion.exp
13179 * gdb.cp/cpexprs.exp
13180 * gdb.cp/cplabel.exp
13181 * gdb.cp/cplusfuncs.exp
13182 * gdb.cp/cpsizeof.exp
13183 * gdb.cp/ctti.exp
13184 * gdb.cp/derivation.exp
13185 * gdb.cp/destrprint.exp
13186 * gdb.cp/dispcxx.exp
13187 * gdb.cp/enum-class.exp
13188 * gdb.cp/exception.exp
13189 * gdb.cp/exceptprint.exp
13190 * gdb.cp/expand-psymtabs-cxx.exp
13191 * gdb.cp/expand-sals.exp
13192 * gdb.cp/extern-c.exp
13193 * gdb.cp/filename.exp
13194 * gdb.cp/formatted-ref.exp
13195 * gdb.cp/fpointer.exp
13196 * gdb.cp/gdb1355.exp
13197 * gdb.cp/gdb2495.exp
13198 * gdb.cp/hang.exp
13199 * gdb.cp/impl-this.exp
13200 * gdb.cp/infcall-dlopen.exp
13201 * gdb.cp/inherit.exp
13202 * gdb.cp/iostream.exp
13203 * gdb.cp/koenig.exp
13204 * gdb.cp/local.exp
13205 * gdb.cp/m-data.exp
13206 * gdb.cp/m-static.exp
13207 * gdb.cp/mb-ctor.exp
13208 * gdb.cp/mb-inline.exp
13209 * gdb.cp/mb-templates.exp
13210 * gdb.cp/member-name.exp
13211 * gdb.cp/member-ptr.exp
13212 * gdb.cp/meth-typedefs.exp
13213 * gdb.cp/method.exp
13214 * gdb.cp/method2.exp
13215 * gdb.cp/minsym-fallback.exp
13216 * gdb.cp/misc.exp
13217 * gdb.cp/namelessclass.exp
13218 * gdb.cp/namespace-enum.exp
13219 * gdb.cp/namespace-nested-import.exp
13220 * gdb.cp/namespace.exp
13221 * gdb.cp/nextoverthrow.exp
13222 * gdb.cp/no-dmgl-verbose.exp
13223 * gdb.cp/non-trivial-retval.exp
13224 * gdb.cp/noparam.exp
13225 * gdb.cp/nsdecl.exp
13226 * gdb.cp/nsimport.exp
13227 * gdb.cp/nsnested.exp
13228 * gdb.cp/nsnoimports.exp
13229 * gdb.cp/nsrecurs.exp
13230 * gdb.cp/nsstress.exp
13231 * gdb.cp/nsusing.exp
13232 * gdb.cp/operator.exp
13233 * gdb.cp/oranking.exp
13234 * gdb.cp/overload-const.exp
13235 * gdb.cp/overload.exp
13236 * gdb.cp/ovldbreak.exp
13237 * gdb.cp/ovsrch.exp
13238 * gdb.cp/paren-type.exp
13239 * gdb.cp/parse-lang.exp
13240 * gdb.cp/pass-by-ref.exp
13241 * gdb.cp/pr-1023.exp
13242 * gdb.cp/pr-1210.exp
13243 * gdb.cp/pr-574.exp
13244 * gdb.cp/pr10687.exp
13245 * gdb.cp/pr12028.exp
13246 * gdb.cp/pr17132.exp
13247 * gdb.cp/pr17494.exp
13248 * gdb.cp/pr9067.exp
13249 * gdb.cp/pr9167.exp
13250 * gdb.cp/pr9631.exp
13251 * gdb.cp/printmethod.exp
13252 * gdb.cp/psmang.exp
13253 * gdb.cp/psymtab-parameter.exp
13254 * gdb.cp/ptype-cv-cp.exp
13255 * gdb.cp/ptype-flags.exp
13256 * gdb.cp/re-set-overloaded.exp
13257 * gdb.cp/ref-types.exp
13258 * gdb.cp/rtti.exp
13259 * gdb.cp/scope-err.exp
13260 * gdb.cp/shadow.exp
13261 * gdb.cp/smartp.exp
13262 * gdb.cp/static-method.exp
13263 * gdb.cp/static-print-quit.exp
13264 * gdb.cp/temargs.exp
13265 * gdb.cp/templates.exp
13266 * gdb.cp/try_catch.exp
13267 * gdb.cp/typedef-operator.exp
13268 * gdb.cp/typeid.exp
13269 * gdb.cp/userdef.exp
13270 * gdb.cp/using-crash.exp
13271 * gdb.cp/var-tag.exp
13272 * gdb.cp/virtbase.exp
13273 * gdb.cp/virtfunc.exp
13274 * gdb.cp/virtfunc2.exp
13275 * gdb.cp/vla-cxx.exp
13276 * gdb.disasm/t01_mov.exp
13277 * gdb.disasm/t02_mova.exp
13278 * gdb.disasm/t03_add.exp
13279 * gdb.disasm/t04_sub.exp
13280 * gdb.disasm/t05_cmp.exp
13281 * gdb.disasm/t06_ari2.exp
13282 * gdb.disasm/t07_ari3.exp
13283 * gdb.disasm/t08_or.exp
13284 * gdb.disasm/t09_xor.exp
13285 * gdb.disasm/t10_and.exp
13286 * gdb.disasm/t11_logs.exp
13287 * gdb.disasm/t12_bit.exp
13288 * gdb.disasm/t13_otr.exp
13289 * gdb.dlang/circular.exp
13290 * gdb.dwarf2/arr-stride.exp
13291 * gdb.dwarf2/arr-subrange.exp
13292 * gdb.dwarf2/atomic-type.exp
13293 * gdb.dwarf2/bad-regnum.exp
13294 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13295 * gdb.dwarf2/callframecfa.exp
13296 * gdb.dwarf2/clztest.exp
13297 * gdb.dwarf2/corrupt.exp
13298 * gdb.dwarf2/data-loc.exp
13299 * gdb.dwarf2/dup-psym.exp
13300 * gdb.dwarf2/dw2-anon-mptr.exp
13301 * gdb.dwarf2/dw2-anonymous-func.exp
13302 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13303 * gdb.dwarf2/dw2-bad-unresolved.exp
13304 * gdb.dwarf2/dw2-basic.exp
13305 * gdb.dwarf2/dw2-canonicalize-type.exp
13306 * gdb.dwarf2/dw2-case-insensitive.exp
13307 * gdb.dwarf2/dw2-common-block.exp
13308 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13309 * gdb.dwarf2/dw2-compressed.exp
13310 * gdb.dwarf2/dw2-const.exp
13311 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13312 * gdb.dwarf2/dw2-cu-size.exp
13313 * gdb.dwarf2/dw2-dup-frame.exp
13314 * gdb.dwarf2/dw2-entry-value.exp
13315 * gdb.dwarf2/dw2-icycle.exp
13316 * gdb.dwarf2/dw2-ifort-parameter.exp
13317 * gdb.dwarf2/dw2-inline-break.exp
13318 * gdb.dwarf2/dw2-inline-param.exp
13319 * gdb.dwarf2/dw2-intercu.exp
13320 * gdb.dwarf2/dw2-intermix.exp
13321 * gdb.dwarf2/dw2-lexical-block-bare.exp
13322 * gdb.dwarf2/dw2-linkage-name-trust.exp
13323 * gdb.dwarf2/dw2-minsym-in-cu.exp
13324 * gdb.dwarf2/dw2-noloc.exp
13325 * gdb.dwarf2/dw2-op-call.exp
13326 * gdb.dwarf2/dw2-op-out-param.exp
13327 * gdb.dwarf2/dw2-opt-structptr.exp
13328 * gdb.dwarf2/dw2-param-error.exp
13329 * gdb.dwarf2/dw2-producer.exp
13330 * gdb.dwarf2/dw2-ranges-base.exp
13331 * gdb.dwarf2/dw2-ref-missing-frame.exp
13332 * gdb.dwarf2/dw2-reg-undefined.exp
13333 * gdb.dwarf2/dw2-regno-invalid.exp
13334 * gdb.dwarf2/dw2-restore.exp
13335 * gdb.dwarf2/dw2-restrict.exp
13336 * gdb.dwarf2/dw2-single-line-discriminators.exp
13337 * gdb.dwarf2/dw2-strp.exp
13338 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13339 * gdb.dwarf2/dw2-unresolved.exp
13340 * gdb.dwarf2/dw2-var-zero-addr.exp
13341 * gdb.dwarf2/dw4-sig-types.exp
13342 * gdb.dwarf2/dwz.exp
13343 * gdb.dwarf2/dynarr-ptr.exp
13344 * gdb.dwarf2/enum-type.exp
13345 * gdb.dwarf2/gdb-index.exp
13346 * gdb.dwarf2/implptr-64bit.exp
13347 * gdb.dwarf2/implptr-optimized-out.exp
13348 * gdb.dwarf2/implptr.exp
13349 * gdb.dwarf2/implref-array.exp
13350 * gdb.dwarf2/implref-const.exp
13351 * gdb.dwarf2/implref-global.exp
13352 * gdb.dwarf2/implref-struct.exp
13353 * gdb.dwarf2/mac-fileno.exp
13354 * gdb.dwarf2/main-subprogram.exp
13355 * gdb.dwarf2/member-ptr-forwardref.exp
13356 * gdb.dwarf2/method-ptr.exp
13357 * gdb.dwarf2/missing-sig-type.exp
13358 * gdb.dwarf2/nonvar-access.exp
13359 * gdb.dwarf2/opaque-type-lookup.exp
13360 * gdb.dwarf2/pieces-optimized-out.exp
13361 * gdb.dwarf2/pieces.exp
13362 * gdb.dwarf2/pr10770.exp
13363 * gdb.dwarf2/pr13961.exp
13364 * gdb.dwarf2/staticvirtual.exp
13365 * gdb.dwarf2/subrange.exp
13366 * gdb.dwarf2/symtab-producer.exp
13367 * gdb.dwarf2/trace-crash.exp
13368 * gdb.dwarf2/typeddwarf.exp
13369 * gdb.dwarf2/valop.exp
13370 * gdb.dwarf2/watch-notconst.exp
13371 * gdb.fortran/array-element.exp
13372 * gdb.fortran/charset.exp
13373 * gdb.fortran/common-block.exp
13374 * gdb.fortran/complex.exp
13375 * gdb.fortran/derived-type-function.exp
13376 * gdb.fortran/derived-type.exp
13377 * gdb.fortran/logical.exp
13378 * gdb.fortran/module.exp
13379 * gdb.fortran/multi-dim.exp
13380 * gdb.fortran/nested-funcs.exp
13381 * gdb.fortran/print-formatted.exp
13382 * gdb.fortran/subarray.exp
13383 * gdb.fortran/vla-alloc-assoc.exp
13384 * gdb.fortran/vla-datatypes.exp
13385 * gdb.fortran/vla-history.exp
13386 * gdb.fortran/vla-ptr-info.exp
13387 * gdb.fortran/vla-ptype-sub.exp
13388 * gdb.fortran/vla-ptype.exp
13389 * gdb.fortran/vla-sizeof.exp
13390 * gdb.fortran/vla-type.exp
13391 * gdb.fortran/vla-value-sub-arbitrary.exp
13392 * gdb.fortran/vla-value-sub-finish.exp
13393 * gdb.fortran/vla-value-sub.exp
13394 * gdb.fortran/vla-value.exp
13395 * gdb.fortran/whatis_type.exp
13396 * gdb.go/chan.exp
13397 * gdb.go/handcall.exp
13398 * gdb.go/hello.exp
13399 * gdb.go/integers.exp
13400 * gdb.go/methods.exp
13401 * gdb.go/package.exp
13402 * gdb.go/strings.exp
13403 * gdb.go/types.exp
13404 * gdb.go/unsafe.exp
13405 * gdb.guile/scm-arch.exp
13406 * gdb.guile/scm-block.exp
13407 * gdb.guile/scm-breakpoint.exp
13408 * gdb.guile/scm-cmd.exp
13409 * gdb.guile/scm-disasm.exp
13410 * gdb.guile/scm-equal.exp
13411 * gdb.guile/scm-frame-args.exp
13412 * gdb.guile/scm-frame-inline.exp
13413 * gdb.guile/scm-frame.exp
13414 * gdb.guile/scm-iterator.exp
13415 * gdb.guile/scm-math.exp
13416 * gdb.guile/scm-objfile.exp
13417 * gdb.guile/scm-ports.exp
13418 * gdb.guile/scm-symbol.exp
13419 * gdb.guile/scm-symtab.exp
13420 * gdb.guile/scm-value-cc.exp
13421 * gdb.guile/types-module.exp
13422 * gdb.linespec/break-ask.exp
13423 * gdb.linespec/cpexplicit.exp
13424 * gdb.linespec/explicit.exp
13425 * gdb.linespec/keywords.exp
13426 * gdb.linespec/linespec.exp
13427 * gdb.linespec/ls-dollar.exp
13428 * gdb.linespec/ls-errs.exp
13429 * gdb.linespec/skip-two.exp
13430 * gdb.linespec/thread.exp
13431 * gdb.mi/mi-async.exp
13432 * gdb.mi/mi-basics.exp
13433 * gdb.mi/mi-break.exp
13434 * gdb.mi/mi-catch-load.exp
13435 * gdb.mi/mi-cli.exp
13436 * gdb.mi/mi-cmd-param-changed.exp
13437 * gdb.mi/mi-console.exp
13438 * gdb.mi/mi-detach.exp
13439 * gdb.mi/mi-disassemble.exp
13440 * gdb.mi/mi-eval.exp
13441 * gdb.mi/mi-file-transfer.exp
13442 * gdb.mi/mi-file.exp
13443 * gdb.mi/mi-fill-memory.exp
13444 * gdb.mi/mi-inheritance-syntax-error.exp
13445 * gdb.mi/mi-linespec-err-cp.exp
13446 * gdb.mi/mi-logging.exp
13447 * gdb.mi/mi-memory-changed.exp
13448 * gdb.mi/mi-read-memory.exp
13449 * gdb.mi/mi-record-changed.exp
13450 * gdb.mi/mi-reg-undefined.exp
13451 * gdb.mi/mi-regs.exp
13452 * gdb.mi/mi-return.exp
13453 * gdb.mi/mi-reverse.exp
13454 * gdb.mi/mi-simplerun.exp
13455 * gdb.mi/mi-solib.exp
13456 * gdb.mi/mi-stack.exp
13457 * gdb.mi/mi-stepi.exp
13458 * gdb.mi/mi-syn-frame.exp
13459 * gdb.mi/mi-until.exp
13460 * gdb.mi/mi-var-block.exp
13461 * gdb.mi/mi-var-child.exp
13462 * gdb.mi/mi-var-cmd.exp
13463 * gdb.mi/mi-var-cp.exp
13464 * gdb.mi/mi-var-display.exp
13465 * gdb.mi/mi-var-invalidate.exp
13466 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13467 * gdb.mi/mi-vla-fortran.exp
13468 * gdb.mi/mi-watch.exp
13469 * gdb.mi/mi2-var-child.exp
13470 * gdb.mi/user-selected-context-sync.exp
13471 * gdb.modula2/unbounded-array.exp
13472 * gdb.multi/dummy-frame-restore.exp
13473 * gdb.multi/multi-arch-exec.exp
13474 * gdb.multi/multi-arch.exp
13475 * gdb.multi/tids.exp
13476 * gdb.multi/watchpoint-multi.exp
13477 * gdb.opencl/callfuncs.exp
13478 * gdb.opencl/convs_casts.exp
13479 * gdb.opencl/datatypes.exp
13480 * gdb.opencl/operators.exp
13481 * gdb.opencl/vec_comps.exp
13482 * gdb.opt/clobbered-registers-O2.exp
13483 * gdb.opt/inline-break.exp
13484 * gdb.opt/inline-bt.exp
13485 * gdb.opt/inline-cmds.exp
13486 * gdb.opt/inline-locals.exp
13487 * gdb.pascal/case-insensitive-symbols.exp
13488 * gdb.pascal/floats.exp
13489 * gdb.pascal/gdb11492.exp
13490 * gdb.python/lib-types.exp
13491 * gdb.python/py-arch.exp
13492 * gdb.python/py-as-string.exp
13493 * gdb.python/py-bad-printers.exp
13494 * gdb.python/py-block.exp
13495 * gdb.python/py-breakpoint-create-fail.exp
13496 * gdb.python/py-breakpoint.exp
13497 * gdb.python/py-caller-is.exp
13498 * gdb.python/py-cmd.exp
13499 * gdb.python/py-explore-cc.exp
13500 * gdb.python/py-explore.exp
13501 * gdb.python/py-finish-breakpoint.exp
13502 * gdb.python/py-finish-breakpoint2.exp
13503 * gdb.python/py-frame-args.exp
13504 * gdb.python/py-frame-inline.exp
13505 * gdb.python/py-frame.exp
13506 * gdb.python/py-framefilter-mi.exp
13507 * gdb.python/py-infthread.exp
13508 * gdb.python/py-lazy-string.exp
13509 * gdb.python/py-linetable.exp
13510 * gdb.python/py-mi-events.exp
13511 * gdb.python/py-mi-objfile.exp
13512 * gdb.python/py-mi.exp
13513 * gdb.python/py-objfile.exp
13514 * gdb.python/py-pp-integral.exp
13515 * gdb.python/py-pp-maint.exp
13516 * gdb.python/py-pp-re-notag.exp
13517 * gdb.python/py-pp-registration.exp
13518 * gdb.python/py-recurse-unwind.exp
13519 * gdb.python/py-strfns.exp
13520 * gdb.python/py-symbol.exp
13521 * gdb.python/py-symtab.exp
13522 * gdb.python/py-sync-interp.exp
13523 * gdb.python/py-typeprint.exp
13524 * gdb.python/py-unwind-maint.exp
13525 * gdb.python/py-unwind.exp
13526 * gdb.python/py-value-cc.exp
13527 * gdb.python/py-xmethods.exp
13528 * gdb.reverse/amd64-tailcall-reverse.exp
13529 * gdb.reverse/break-precsave.exp
13530 * gdb.reverse/break-reverse.exp
13531 * gdb.reverse/consecutive-precsave.exp
13532 * gdb.reverse/consecutive-reverse.exp
13533 * gdb.reverse/finish-precsave.exp
13534 * gdb.reverse/finish-reverse-bkpt.exp
13535 * gdb.reverse/finish-reverse.exp
13536 * gdb.reverse/fstatat-reverse.exp
13537 * gdb.reverse/getresuid-reverse.exp
13538 * gdb.reverse/i386-precsave.exp
13539 * gdb.reverse/i386-reverse.exp
13540 * gdb.reverse/i386-sse-reverse.exp
13541 * gdb.reverse/i387-env-reverse.exp
13542 * gdb.reverse/i387-stack-reverse.exp
13543 * gdb.reverse/insn-reverse.exp
13544 * gdb.reverse/machinestate-precsave.exp
13545 * gdb.reverse/machinestate.exp
13546 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13547 * gdb.reverse/pipe-reverse.exp
13548 * gdb.reverse/readv-reverse.exp
13549 * gdb.reverse/recvmsg-reverse.exp
13550 * gdb.reverse/rerun-prec.exp
13551 * gdb.reverse/s390-mvcle.exp
13552 * gdb.reverse/step-precsave.exp
13553 * gdb.reverse/step-reverse.exp
13554 * gdb.reverse/time-reverse.exp
13555 * gdb.reverse/until-precsave.exp
13556 * gdb.reverse/until-reverse.exp
13557 * gdb.reverse/waitpid-reverse.exp
13558 * gdb.reverse/watch-precsave.exp
13559 * gdb.reverse/watch-reverse.exp
13560 * gdb.rust/generics.exp
13561 * gdb.rust/methods.exp
13562 * gdb.rust/modules.exp
13563 * gdb.rust/simple.exp
13564 * gdb.server/connect-with-no-symbol-file.exp
13565 * gdb.server/ext-attach.exp
13566 * gdb.server/ext-restart.exp
13567 * gdb.server/ext-wrapper.exp
13568 * gdb.server/file-transfer.exp
13569 * gdb.server/server-exec-info.exp
13570 * gdb.server/server-kill.exp
13571 * gdb.server/server-mon.exp
13572 * gdb.server/wrapper.exp
13573 * gdb.stabs/exclfwd.exp
13574 * gdb.stabs/gdb11479.exp
13575 * gdb.threads/clone-new-thread-event.exp
13576 * gdb.threads/corethreads.exp
13577 * gdb.threads/current-lwp-dead.exp
13578 * gdb.threads/dlopen-libpthread.exp
13579 * gdb.threads/gcore-thread.exp
13580 * gdb.threads/sigstep-threads.exp
13581 * gdb.threads/watchpoint-fork.exp
13582 * gdb.trace/actions-changed.exp
13583 * gdb.trace/backtrace.exp
13584 * gdb.trace/change-loc.exp
13585 * gdb.trace/circ.exp
13586 * gdb.trace/collection.exp
13587 * gdb.trace/disconnected-tracing.exp
13588 * gdb.trace/ftrace.exp
13589 * gdb.trace/mi-trace-frame-collected.exp
13590 * gdb.trace/mi-trace-unavailable.exp
13591 * gdb.trace/mi-traceframe-changed.exp
13592 * gdb.trace/mi-tsv-changed.exp
13593 * gdb.trace/no-attach-trace.exp
13594 * gdb.trace/passc-dyn.exp
13595 * gdb.trace/qtro.exp
13596 * gdb.trace/range-stepping.exp
13597 * gdb.trace/read-memory.exp
13598 * gdb.trace/save-trace.exp
13599 * gdb.trace/signal.exp
13600 * gdb.trace/status-stop.exp
13601 * gdb.trace/tfile.exp
13602 * gdb.trace/trace-break.exp
13603 * gdb.trace/trace-buffer-size.exp
13604 * gdb.trace/trace-condition.exp
13605 * gdb.trace/tracefile-pseudo-reg.exp
13606 * gdb.trace/tstatus.exp
13607 * gdb.trace/unavailable.exp
13608 * gdb.trace/while-dyn.exp
13609 * gdb.trace/while-stepping.exp
13610
34c41c68
DE
136112016-12-22 Doug Evans <xdje42@gmail.com>
13612
13613 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13614 and msymbols.
13615
16e69324
YQ
136162016-12-19 Yao Qi <yao.qi@linaro.org>
13617
13618 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13619 (test_with_self): Don't call do_steps_and_nexts, and remove
13620 code about stepping into xmalloc.
13621
f94f411b
YQ
136222016-12-09 Yao Qi <yao.qi@linaro.org>
13623
13624 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13625
136262016-12-09 Yao Qi <yao.qi@linaro.org>
13627
13628 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13629
f1b5deee
PA
136302016-12-09 Pedro Alves <palves@redhat.com>
13631
13632 * gdb.base/all-architectures-0.exp: New file.
13633 * gdb.base/all-architectures-1.exp: New file.
13634 * gdb.base/all-architectures-2.exp: New file.
13635 * gdb.base/all-architectures-3.exp: New file.
13636 * gdb.base/all-architectures-4.exp: New file.
13637 * gdb.base/all-architectures-5.exp: New file.
13638 * gdb.base/all-architectures-6.exp: New file.
13639 * gdb.base/all-architectures-7.exp: New file.
13640 * gdb.base/all-architectures.exp.in: New file.
13641
364ca42e
YQ
136422016-12-09 Yao Qi <yao.qi@linaro.org>
13643
13644 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13645
107c2d62
LM
136462016-12-02 Luis Machado <lgustavo@codesourcery.com>
13647
13648 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13649 possible.
13650 Remove useless pattern-matching code.
13651
df3ee9ca
PA
136522016-12-02 Pedro Alves <palves@redhat.com>
13653
13654 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13655 procedure.
13656 (top level): Call it.
13657
ec835369
PA
136582016-12-02 Pedro Alves <palves@redhat.com>
13659
13660 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13661 New procedure.
13662 (top level): Call it.
13663
01770bbd
PA
136642016-12-02 Pedro Alves <palves@redhat.com>
13665
13666 PR cli/20559
13667 * gdb.base/commands.exp (user_defined_command_args_eval): New
13668 procedure.
13669 (top level): Call it.
13670
008459ea
LM
136712016-12-02 Luis Machado <lgustavo@codesourcery.com>
13672
13673 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13674 timeout handling.
13675
0c1b455e
TT
136762016-12-02 Tom Tromey <tom@tromey.com>
13677
13678 * gdb.dwarf2/main-subprogram.c: New file.
13679 * gdb.dwarf2/main-subprogram.exp: New file.
13680
018572b8
LM
136812016-12-01 Luis Machado <lgustavo@codesourcery.com>
13682
13683 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13684 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13685 gdb_test_no_output for a couple of cases.
13686 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13687
84c93cd5
LM
136882016-12-01 Luis Machado <lgustavo@codesourcery.com>
13689
13690 Fix test names and standardize compilation error messages throughout
13691 the following files:
13692
13693 * gdb.ada/start.exp
13694 * gdb.arch/alpha-step.exp
13695 * gdb.arch/e500-prologue.exp
13696 * gdb.arch/ftrace-insn-reloc.exp
13697 * gdb.arch/gdb1291.exp
13698 * gdb.arch/gdb1431.exp
13699 * gdb.arch/gdb1558.exp
13700 * gdb.arch/i386-dr3-watch.exp
13701 * gdb.arch/i386-sse-stack-align.exp
13702 * gdb.arch/ia64-breakpoint-shadow.exp
13703 * gdb.arch/pa-nullify.exp
13704 * gdb.arch/powerpc-aix-prologue.exp
13705 * gdb.arch/thumb-bx-pc.exp
13706 * gdb.base/annota1.exp
13707 * gdb.base/annota3.exp
13708 * gdb.base/arrayidx.exp
13709 * gdb.base/assign.exp
13710 * gdb.base/attach.exp
13711 * gdb.base/auxv.exp
13712 * gdb.base/bang.exp
13713 * gdb.base/bfp-test.exp
13714 * gdb.base/bigcore.exp
13715 * gdb.base/bitfields2.exp
13716 * gdb.base/break-fun-addr.exp
13717 * gdb.base/break-probes.exp
13718 * gdb.base/call-rt-st.exp
13719 * gdb.base/callexit.exp
13720 * gdb.base/catch-fork-kill.exp
13721 * gdb.base/charset.exp
13722 * gdb.base/checkpoint.exp
13723 * gdb.base/comprdebug.exp
13724 * gdb.base/constvars.exp
13725 * gdb.base/coredump-filter.exp
13726 * gdb.base/cursal.exp
13727 * gdb.base/cvexpr.exp
13728 * gdb.base/detach.exp
13729 * gdb.base/display.exp
13730 * gdb.base/dmsym.exp
13731 * gdb.base/dprintf-pending.exp
13732 * gdb.base/dso2dso.exp
13733 * gdb.base/dtrace-probe.exp
13734 * gdb.base/dump.exp
13735 * gdb.base/enum_cond.exp
13736 * gdb.base/exe-lock.exp
13737 * gdb.base/exec-invalid-sysroot.exp
13738 * gdb.base/execl-update-breakpoints.exp
13739 * gdb.base/exprs.exp
13740 * gdb.base/fileio.exp
13741 * gdb.base/find.exp
13742 * gdb.base/finish.exp
13743 * gdb.base/fixsection.exp
13744 * gdb.base/foll-vfork.exp
13745 * gdb.base/frame-args.exp
13746 * gdb.base/gcore.exp
13747 * gdb.base/gdb1250.exp
13748 * gdb.base/global-var-nested-by-dso.exp
13749 * gdb.base/gnu-ifunc.exp
13750 * gdb.base/hashline1.exp
13751 * gdb.base/hashline2.exp
13752 * gdb.base/hashline3.exp
13753 * gdb.base/hbreak-in-shr-unsupported.exp
13754 * gdb.base/huge.exp
13755 * gdb.base/infcall-input.exp
13756 * gdb.base/info-fun.exp
13757 * gdb.base/info-shared.exp
13758 * gdb.base/jit-simple.exp
13759 * gdb.base/jit-so.exp
13760 * gdb.base/jit.exp
13761 * gdb.base/jump.exp
13762 * gdb.base/label.exp
13763 * gdb.base/lineinc.exp
13764 * gdb.base/logical.exp
13765 * gdb.base/longjmp.exp
13766 * gdb.base/macscp.exp
13767 * gdb.base/miscexprs.exp
13768 * gdb.base/new-ui-echo.exp
13769 * gdb.base/new-ui-pending-input.exp
13770 * gdb.base/new-ui.exp
13771 * gdb.base/nodebug.exp
13772 * gdb.base/nofield.exp
13773 * gdb.base/offsets.exp
13774 * gdb.base/overlays.exp
13775 * gdb.base/pending.exp
13776 * gdb.base/pointers.exp
13777 * gdb.base/pr11022.exp
13778 * gdb.base/printcmds.exp
13779 * gdb.base/prologue.exp
13780 * gdb.base/ptr-typedef.exp
13781 * gdb.base/realname-expand.exp
13782 * gdb.base/relativedebug.exp
13783 * gdb.base/relocate.exp
13784 * gdb.base/remote.exp
13785 * gdb.base/reread.exp
13786 * gdb.base/return2.exp
13787 * gdb.base/savedregs.exp
13788 * gdb.base/sep.exp
13789 * gdb.base/sepdebug.exp
13790 * gdb.base/sepsymtab.exp
13791 * gdb.base/set-inferior-tty.exp
13792 * gdb.base/setshow.exp
13793 * gdb.base/shlib-call.exp
13794 * gdb.base/sigaltstack.exp
13795 * gdb.base/siginfo-addr.exp
13796 * gdb.base/signals.exp
13797 * gdb.base/signull.exp
13798 * gdb.base/sigrepeat.exp
13799 * gdb.base/so-impl-ld.exp
13800 * gdb.base/solib-display.exp
13801 * gdb.base/solib-overlap.exp
13802 * gdb.base/solib-search.exp
13803 * gdb.base/solib-symbol.exp
13804 * gdb.base/structs.exp
13805 * gdb.base/structs2.exp
13806 * gdb.base/symtab-search-order.exp
13807 * gdb.base/twice.exp
13808 * gdb.base/unload.exp
13809 * gdb.base/varargs.exp
13810 * gdb.base/watchpoint-solib.exp
13811 * gdb.base/watchpoint.exp
13812 * gdb.base/whatis.exp
13813 * gdb.base/wrong_frame_bt_full.exp
13814 * gdb.btrace/dlopen.exp
13815 * gdb.cell/ea-standalone.exp
13816 * gdb.cell/ea-test.exp
13817 * gdb.cp/dispcxx.exp
13818 * gdb.cp/gdb2384.exp
13819 * gdb.cp/method2.exp
13820 * gdb.cp/nextoverthrow.exp
13821 * gdb.cp/pr10728.exp
13822 * gdb.disasm/am33.exp
13823 * gdb.disasm/h8300s.exp
13824 * gdb.disasm/mn10300.exp
13825 * gdb.disasm/sh3.exp
13826 * gdb.dwarf2/dw2-dir-file-name.exp
13827 * gdb.fortran/complex.exp
13828 * gdb.fortran/library-module.exp
13829 * gdb.guile/scm-pretty-print.exp
13830 * gdb.guile/scm-symbol.exp
13831 * gdb.guile/scm-type.exp
13832 * gdb.guile/scm-value.exp
13833 * gdb.linespec/linespec.exp
13834 * gdb.mi/gdb701.exp
13835 * gdb.mi/gdb792.exp
13836 * gdb.mi/mi-breakpoint-changed.exp
13837 * gdb.mi/mi-dprintf-pending.exp
13838 * gdb.mi/mi-dprintf.exp
13839 * gdb.mi/mi-exit-code.exp
13840 * gdb.mi/mi-pending.exp
13841 * gdb.mi/mi-solib.exp
13842 * gdb.mi/new-ui-mi-sync.exp
13843 * gdb.mi/pr11022.exp
13844 * gdb.mi/user-selected-context-sync.exp
13845 * gdb.opt/solib-intra-step.exp
13846 * gdb.python/py-events.exp
13847 * gdb.python/py-finish-breakpoint.exp
13848 * gdb.python/py-mi.exp
13849 * gdb.python/py-prettyprint.exp
13850 * gdb.python/py-shared.exp
13851 * gdb.python/py-symbol.exp
13852 * gdb.python/py-template.exp
13853 * gdb.python/py-type.exp
13854 * gdb.python/py-value.exp
13855 * gdb.reverse/solib-precsave.exp
13856 * gdb.reverse/solib-reverse.exp
13857 * gdb.server/solib-list.exp
13858 * gdb.stabs/weird.exp
13859 * gdb.threads/reconnect-signal.exp
13860 * gdb.threads/stepi-random-signal.exp
13861 * gdb.trace/actions.exp
13862 * gdb.trace/ax.exp
13863 * gdb.trace/backtrace.exp
13864 * gdb.trace/change-loc.exp
13865 * gdb.trace/deltrace.exp
13866 * gdb.trace/ftrace-lock.exp
13867 * gdb.trace/ftrace.exp
13868 * gdb.trace/infotrace.exp
13869 * gdb.trace/mi-tracepoint-changed.exp
13870 * gdb.trace/packetlen.exp
13871 * gdb.trace/passcount.exp
13872 * gdb.trace/pending.exp
13873 * gdb.trace/range-stepping.exp
13874 * gdb.trace/report.exp
13875 * gdb.trace/stap-trace.exp
13876 * gdb.trace/tfind.exp
13877 * gdb.trace/trace-break.exp
13878 * gdb.trace/trace-condition.exp
13879 * gdb.trace/trace-enable-disable.exp
13880 * gdb.trace/trace-mt.exp
13881 * gdb.trace/tracecmd.exp
13882 * gdb.trace/tspeed.exp
13883 * gdb.trace/tsv.exp
13884 * lib/perftest.exp
13885
fb9feb35
LM
138862016-12-01 Luis Machado <lgustavo@codesourcery.com>
13887
13888 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13889 with gdb_test_no_output.
13890 Use command as test name.
13891
cd2ddb6c
LM
138922016-12-01 Luis Machado <lgustavo@codesourcery.com>
13893
13894 Fix test names starting with uppercase throughout the files.
13895
13896 * gdb.ada/assign_1.exp
13897 * gdb.ada/boolean_expr.exp
13898 * gdb.base/arrayidx.exp
13899 * gdb.base/del.exp
13900 * gdb.base/gcore-buffer-overflow.exp
13901 * gdb.base/testenv.exp
13902 * gdb.compile/compile.exp
13903 * gdb.python/py-framefilter-invalidarg.exp
13904 * gdb.python/py-framefilter.exp
13905
bb95117e
LM
139062016-12-01 Luis Machado <lgustavo@codesourcery.com>
13907
13908 Fix test names starting with uppercase throughout the files.
13909
13910 * gdb.ada/array_return.exp
13911 * gdb.ada/expr_delims.exp
13912 * gdb.ada/mi_dyn_arr.exp
13913 * gdb.ada/mi_interface.exp
13914 * gdb.ada/mi_var_array.exp
13915 * gdb.ada/watch_arg.exp
13916 * gdb.arch/alpha-step.exp
13917 * gdb.arch/altivec-regs.exp
13918 * gdb.arch/e500-regs.exp
13919 * gdb.arch/powerpc-d128-regs.exp
13920 * gdb.base/arrayidx.exp
13921 * gdb.base/break.exp
13922 * gdb.base/checkpoint.exp
13923 * gdb.base/debug-expr.exp
13924 * gdb.base/dmsym.exp
13925 * gdb.base/radix.exp
13926 * gdb.base/sepdebug.exp
13927 * gdb.base/testenv.exp
13928 * gdb.base/watch_thread_num.exp
13929 * gdb.base/watchpoint-cond-gone.exp
13930 * gdb.cell/break.exp
13931 * gdb.cell/ea-cache.exp
13932 * gdb.compile/compile.exp
13933 * gdb.cp/gdb2495.exp
13934 * gdb.gdb/selftest.exp
13935 * gdb.gdb/xfullpath.exp
13936 * gdb.go/hello.exp
13937 * gdb.go/integers.exp
13938 * gdb.objc/basicclass.exp
13939 * gdb.pascal/hello.exp
13940 * gdb.pascal/integers.exp
13941 * gdb.python/py-breakpoint.exp
13942 * gdb.python/py-cmd.exp
13943 * gdb.python/py-linetable.exp
13944 * gdb.python/py-xmethods.exp
13945 * gdb.python/python.exp
13946 * gdb.reverse/consecutive-precsave.exp
13947 * gdb.reverse/finish-precsave.exp
13948 * gdb.reverse/i386-precsave.exp
13949 * gdb.reverse/machinestate-precsave.exp
13950 * gdb.reverse/sigall-precsave.exp
13951 * gdb.reverse/solib-precsave.exp
13952 * gdb.reverse/step-precsave.exp
13953 * gdb.reverse/until-precsave.exp
13954 * gdb.reverse/watch-precsave.exp
13955 * gdb.threads/leader-exit.exp
13956 * gdb.threads/pthreads.exp
13957 * gdb.threads/wp-replication.exp
13958 * gdb.trace/actions.exp
13959 * gdb.trace/mi-tsv-changed.exp
13960 * gdb.trace/tsv.exp
13961
de97fdd4
LM
139622016-12-01 Luis Machado <lgustavo@codesourcery.com>
13963
13964 Fix test names starting with uppercase throughout the files.
13965
13966 * gdb.arch/i386-bp_permanent.exp
13967 * gdb.arch/i386-gnu-cfi.exp
13968 * gdb.base/disasm-end-cu.exp
13969 * gdb.base/macscp.exp
13970 * gdb.base/pending.exp
13971 * gdb.base/watch_thread_num.exp
13972 * gdb.cp/exception.exp
13973 * gdb.cp/gdb2495.exp
13974 * gdb.cp/local.exp
13975 * gdb.python/py-evsignal.exp
13976 * gdb.python/python.exp
13977 * gdb.trace/tracecmd.exp
13978
9f058c10
LM
139792016-12-01 Luis Machado <lgustavo@codesourcery.com>
13980
13981 Fix test names starting with uppercase throughout the files.
13982
13983 * gdb.base/charset.exp
13984 * gdb.base/eval.exp
13985 * gdb.base/multi-forks.exp
13986 * gdb.guile/scm-progspace.exp
13987 * gdb.opencl/datatypes.exp
13988 * gdb.python/py-block.exp
13989 * gdb.python/py-function.exp
13990 * gdb.python/py-symbol.exp
13991 * gdb.python/py-symtab.exp
13992 * gdb.python/py-xmethods.exp
13993 * gdb.reverse/break-precsave.exp
13994 * gdb.reverse/break-reverse.exp
13995 * gdb.reverse/consecutive-precsave.exp
13996 * gdb.reverse/consecutive-reverse.exp
13997 * gdb.reverse/finish-precsave.exp
13998 * gdb.reverse/finish-reverse-bkpt.exp
13999 * gdb.reverse/finish-reverse.exp
14000 * gdb.reverse/fstatat-reverse.exp
14001 * gdb.reverse/getresuid-reverse.exp
14002 * gdb.reverse/i386-precsave.exp
14003 * gdb.reverse/i386-reverse.exp
14004 * gdb.reverse/i386-sse-reverse.exp
14005 * gdb.reverse/i387-stack-reverse.exp
14006 * gdb.reverse/insn-reverse.exp
14007 * gdb.reverse/machinestate-precsave.exp
14008 * gdb.reverse/machinestate.exp
14009 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14010 * gdb.reverse/pipe-reverse.exp
14011 * gdb.reverse/readv-reverse.exp
14012 * gdb.reverse/recvmsg-reverse.exp
14013 * gdb.reverse/rerun-prec.exp
14014 * gdb.reverse/s390-mvcle.exp
14015 * gdb.reverse/sigall-precsave.exp
14016 * gdb.reverse/sigall-reverse.exp
14017 * gdb.reverse/solib-precsave.exp
14018 * gdb.reverse/solib-reverse.exp
14019 * gdb.reverse/step-precsave.exp
14020 * gdb.reverse/step-reverse.exp
14021 * gdb.reverse/time-reverse.exp
14022 * gdb.reverse/until-precsave.exp
14023 * gdb.reverse/until-reverse.exp
14024 * gdb.reverse/waitpid-reverse.exp
14025 * gdb.reverse/watch-precsave.exp
14026 * gdb.reverse/watch-reverse.exp
14027
cdc7edd7
LM
140282016-12-01 Luis Machado <lgustavo@codesourcery.com>
14029
14030 Fix test names starting with uppercase throughout the files.
14031
14032 * gdb.arch/i386-mpx-simple_segv.exp
14033 * gdb.arch/i386-mpx.exp
14034 * gdb.arch/i386-permbkpt.exp
14035 * gdb.arch/pa-nullify.exp
14036 * gdb.arch/powerpc-d128-regs.exp
14037 * gdb.arch/vsx-regs.exp
14038 * gdb.base/bfp-test.exp
14039 * gdb.base/break.exp
14040 * gdb.base/breakpoint-shadow.exp
14041 * gdb.base/callfuncs.exp
14042 * gdb.base/charset.exp
14043 * gdb.base/commands.exp
14044 * gdb.base/completion.exp
14045 * gdb.base/dfp-test.exp
14046 * gdb.base/echo.exp
14047 * gdb.base/ending-run.exp
14048 * gdb.base/eval.exp
14049 * gdb.base/expand-psymtabs.exp
14050 * gdb.base/float128.exp
14051 * gdb.base/floatn.exp
14052 * gdb.base/foll-exec-mode.exp
14053 * gdb.base/gdb1056.exp
14054 * gdb.base/gdb11531.exp
14055 * gdb.base/kill-after-signal.exp
14056 * gdb.base/multi-forks.exp
14057 * gdb.base/overlays.exp
14058 * gdb.base/pending.exp
14059 * gdb.base/sepdebug.exp
14060 * gdb.base/testenv.exp
14061 * gdb.base/valgrind-db-attach.exp
14062 * gdb.base/watch_thread_num.exp
14063 * gdb.base/watchpoint-cond-gone.exp
14064 * gdb.base/watchpoint.exp
14065 * gdb.base/watchpoints.exp
14066 * gdb.cp/arg-reference.exp
14067 * gdb.cp/baseenum.exp
14068 * gdb.cp/operator.exp
14069 * gdb.cp/shadow.exp
14070 * gdb.dwarf2/dw2-op-out-param.exp
14071 * gdb.dwarf2/dw2-reg-undefined.exp
14072 * gdb.go/chan.exp
14073 * gdb.go/hello.exp
14074 * gdb.go/integers.exp
14075 * gdb.go/methods.exp
14076 * gdb.go/package.exp
14077 * gdb.guile/scm-parameter.exp
14078 * gdb.guile/scm-progspace.exp
14079 * gdb.guile/scm-value.exp
14080 * gdb.mi/mi-pending.exp
14081 * gdb.mi/user-selected-context-sync.exp
14082 * gdb.multi/multi-attach.exp
14083 * gdb.multi/tids.exp
14084 * gdb.opt/clobbered-registers-O2.exp
14085 * gdb.pascal/floats.exp
14086 * gdb.pascal/integers.exp
14087 * gdb.python/py-block.exp
14088 * gdb.python/py-events.exp
14089 * gdb.python/py-parameter.exp
14090 * gdb.python/py-symbol.exp
14091 * gdb.python/py-symtab.exp
14092 * gdb.python/py-type.exp
14093 * gdb.python/py-value.exp
14094 * gdb.python/py-xmethods.exp
14095 * gdb.python/python.exp
14096 * gdb.reverse/break-precsave.exp
14097 * gdb.reverse/consecutive-precsave.exp
14098 * gdb.reverse/finish-precsave.exp
14099 * gdb.reverse/i386-precsave.exp
14100 * gdb.reverse/machinestate-precsave.exp
14101 * gdb.reverse/sigall-precsave.exp
14102 * gdb.reverse/solib-precsave.exp
14103 * gdb.reverse/step-precsave.exp
14104 * gdb.reverse/until-precsave.exp
14105 * gdb.reverse/watch-precsave.exp
14106 * gdb.server/ext-attach.exp
14107 * gdb.server/ext-restart.exp
14108 * gdb.server/ext-run.exp
14109 * gdb.server/ext-wrapper.exp
14110 * gdb.stabs/gdb11479.exp
14111 * gdb.stabs/weird.exp
14112 * gdb.threads/attach-many-short-lived-threads.exp
14113 * gdb.threads/kill.exp
14114 * gdb.threads/watchpoint-fork.exp
14115
bc6c7af4
LM
141162016-12-01 Luis Machado <lgustavo@codesourcery.com>
14117
14118 Fix test names starting with uppercase throughout all the files below.
14119
14120 * gdb.ada/array_return.exp
14121 * gdb.ada/catch_ex.exp
14122 * gdb.ada/info_exc.exp
14123 * gdb.ada/mi_catch_ex.exp
14124 * gdb.ada/mi_dyn_arr.exp
14125 * gdb.ada/mi_ex_cond.exp
14126 * gdb.ada/mi_exc_info.exp
14127 * gdb.ada/mi_interface.exp
14128 * gdb.ada/mi_task_arg.exp
14129 * gdb.ada/mi_task_info.exp
14130 * gdb.ada/mi_var_array.exp
14131 * gdb.arch/alpha-step.exp
14132 * gdb.arch/amd64-disp-step.exp
14133 * gdb.arch/arm-disp-step.exp
14134 * gdb.arch/disp-step-insn-reloc.exp
14135 * gdb.arch/e500-prologue.exp
14136 * gdb.arch/ftrace-insn-reloc.exp
14137 * gdb.arch/gdb1558.exp
14138 * gdb.arch/i386-bp_permanent.exp
14139 * gdb.arch/i386-disp-step.exp
14140 * gdb.arch/i386-float.exp
14141 * gdb.arch/i386-gnu-cfi.exp
14142 * gdb.arch/ia64-breakpoint-shadow.exp
14143 * gdb.arch/mips16-thunks.exp
14144 * gdb.arch/pa-nullify.exp
14145 * gdb.arch/powerpc-aix-prologue.exp
14146 * gdb.arch/powerpc-power.exp
14147 * gdb.arch/ppc-dfp.exp
14148 * gdb.arch/s390-tdbregs.exp
14149 * gdb.arch/spu-info.exp
14150 * gdb.arch/spu-ls.exp
14151 * gdb.arch/thumb-bx-pc.exp
14152 * gdb.base/advance.exp
14153 * gdb.base/annota-input-while-running.exp
14154 * gdb.base/arrayidx.exp
14155 * gdb.base/asmlabel.exp
14156 * gdb.base/async.exp
14157 * gdb.base/attach-wait-input.exp
14158 * gdb.base/auto-connect-native-target.exp
14159 * gdb.base/batch-preserve-term-settings.exp
14160 * gdb.base/bfp-test.exp
14161 * gdb.base/bigcore.exp
14162 * gdb.base/bp-permanent.exp
14163 * gdb.base/break-always.exp
14164 * gdb.base/break-fun-addr.exp
14165 * gdb.base/break-idempotent.exp
14166 * gdb.base/break-main-file-remove-fail.exp
14167 * gdb.base/break-probes.exp
14168 * gdb.base/break-unload-file.exp
14169 * gdb.base/break.exp
14170 * gdb.base/call-ar-st.exp
14171 * gdb.base/call-rt-st.exp
14172 * gdb.base/call-sc.exp
14173 * gdb.base/call-signal-resume.exp
14174 * gdb.base/call-strs.exp
14175 * gdb.base/callexit.exp
14176 * gdb.base/callfuncs.exp
14177 * gdb.base/catch-gdb-caused-signals.exp
14178 * gdb.base/catch-signal-siginfo-cond.exp
14179 * gdb.base/catch-syscall.exp
14180 * gdb.base/compare-sections.exp
14181 * gdb.base/cond-eval-mode.exp
14182 * gdb.base/condbreak-call-false.exp
14183 * gdb.base/consecutive-step-over.exp
14184 * gdb.base/cursal.exp
14185 * gdb.base/disabled-location.exp
14186 * gdb.base/disasm-end-cu.exp
14187 * gdb.base/display.exp
14188 * gdb.base/double-prompt-target-event-error.exp
14189 * gdb.base/dprintf-bp-same-addr.exp
14190 * gdb.base/dprintf-detach.exp
14191 * gdb.base/dprintf-next.exp
14192 * gdb.base/dprintf-non-stop.exp
14193 * gdb.base/dprintf-pending.exp
14194 * gdb.base/dso2dso.exp
14195 * gdb.base/ending-run.exp
14196 * gdb.base/enum_cond.exp
14197 * gdb.base/examine-backward.exp
14198 * gdb.base/exe-lock.exp
14199 * gdb.base/exec-invalid-sysroot.exp
14200 * gdb.base/execl-update-breakpoints.exp
14201 * gdb.base/execution-termios.exp
14202 * gdb.base/fileio.exp
14203 * gdb.base/fixsection.exp
14204 * gdb.base/foll-exec-mode.exp
14205 * gdb.base/foll-exec.exp
14206 * gdb.base/fork-running-state.exp
14207 * gdb.base/frame-args.exp
14208 * gdb.base/fullpath-expand.exp
14209 * gdb.base/func-ptr.exp
14210 * gdb.base/gcore-relro-pie.exp
14211 * gdb.base/gdb1090.exp
14212 * gdb.base/gdb1555.exp
14213 * gdb.base/global-var-nested-by-dso.exp
14214 * gdb.base/gnu-ifunc.exp
14215 * gdb.base/hbreak-in-shr-unsupported.exp
14216 * gdb.base/hbreak-unmapped.exp
14217 * gdb.base/hook-stop.exp
14218 * gdb.base/infcall-input.exp
14219 * gdb.base/info-fun.exp
14220 * gdb.base/info-shared.exp
14221 * gdb.base/interrupt-noterm.exp
14222 * gdb.base/jit-so.exp
14223 * gdb.base/jit.exp
14224 * gdb.base/line-symtabs.exp
14225 * gdb.base/list.exp
14226 * gdb.base/longjmp.exp
14227 * gdb.base/macscp.exp
14228 * gdb.base/max-value-size.exp
14229 * gdb.base/nodebug.exp
14230 * gdb.base/nofield.exp
14231 * gdb.base/overlays.exp
14232 * gdb.base/paginate-after-ctrl-c-running.exp
14233 * gdb.base/paginate-bg-execution.exp
14234 * gdb.base/paginate-inferior-exit.exp
14235 * gdb.base/pending.exp
14236 * gdb.base/pr11022.exp
14237 * gdb.base/printcmds.exp
14238 * gdb.base/ptr-typedef.exp
14239 * gdb.base/ptype.exp
14240 * gdb.base/randomize.exp
14241 * gdb.base/range-stepping.exp
14242 * gdb.base/realname-expand.exp
14243 * gdb.base/relativedebug.exp
14244 * gdb.base/remote.exp
14245 * gdb.base/savedregs.exp
14246 * gdb.base/sepdebug.exp
14247 * gdb.base/set-noassign.exp
14248 * gdb.base/shlib-call.exp
14249 * gdb.base/shreloc.exp
14250 * gdb.base/sigaltstack.exp
14251 * gdb.base/sigbpt.exp
14252 * gdb.base/siginfo-addr.exp
14253 * gdb.base/siginfo-obj.exp
14254 * gdb.base/siginfo-thread.exp
14255 * gdb.base/signest.exp
14256 * gdb.base/signull.exp
14257 * gdb.base/sigrepeat.exp
14258 * gdb.base/skip.exp
14259 * gdb.base/so-impl-ld.exp
14260 * gdb.base/solib-corrupted.exp
14261 * gdb.base/solib-disc.exp
14262 * gdb.base/solib-display.exp
14263 * gdb.base/solib-overlap.exp
14264 * gdb.base/solib-search.exp
14265 * gdb.base/solib-symbol.exp
14266 * gdb.base/source-execution.exp
14267 * gdb.base/sss-bp-on-user-bp-2.exp
14268 * gdb.base/sss-bp-on-user-bp.exp
14269 * gdb.base/stack-checking.exp
14270 * gdb.base/stale-infcall.exp
14271 * gdb.base/step-break.exp
14272 * gdb.base/step-line.exp
14273 * gdb.base/step-over-exit.exp
14274 * gdb.base/step-test.exp
14275 * gdb.base/structs.exp
14276 * gdb.base/sym-file.exp
14277 * gdb.base/symtab-search-order.exp
14278 * gdb.base/term.exp
14279 * gdb.base/type-opaque.exp
14280 * gdb.base/unload.exp
14281 * gdb.base/until-nodebug.exp
14282 * gdb.base/until.exp
14283 * gdb.base/unwindonsignal.exp
14284 * gdb.base/watch-cond.exp
14285 * gdb.base/watch-non-mem.exp
14286 * gdb.base/watch_thread_num.exp
14287 * gdb.base/watchpoint-reuse-slot.exp
14288 * gdb.base/watchpoint-solib.exp
14289 * gdb.base/watchpoint.exp
14290 * gdb.btrace/dlopen.exp
14291 * gdb.cell/arch.exp
14292 * gdb.cell/break.exp
14293 * gdb.cell/bt.exp
14294 * gdb.cell/core.exp
14295 * gdb.cell/data.exp
14296 * gdb.cell/dwarfaddr.exp
14297 * gdb.cell/ea-cache.exp
14298 * gdb.cell/ea-standalone.exp
14299 * gdb.cell/ea-test.exp
14300 * gdb.cell/f-regs.exp
14301 * gdb.cell/fork.exp
14302 * gdb.cell/gcore.exp
14303 * gdb.cell/mem-access.exp
14304 * gdb.cell/ptype.exp
14305 * gdb.cell/registers.exp
14306 * gdb.cell/sizeof.exp
14307 * gdb.cell/solib-symbol.exp
14308 * gdb.cell/solib.exp
14309 * gdb.compile/compile-tls.exp
14310 * gdb.cp/exception.exp
14311 * gdb.cp/gdb2495.exp
14312 * gdb.cp/local.exp
14313 * gdb.cp/mb-inline.exp
14314 * gdb.cp/mb-templates.exp
14315 * gdb.cp/pr10687.exp
14316 * gdb.cp/pr9167.exp
14317 * gdb.cp/scope-err.exp
14318 * gdb.cp/templates.exp
14319 * gdb.cp/virtfunc.exp
14320 * gdb.dwarf2/dw2-dir-file-name.exp
14321 * gdb.dwarf2/dw2-single-line-discriminators.exp
14322 * gdb.fortran/complex.exp
14323 * gdb.fortran/library-module.exp
14324 * gdb.guile/guile.exp
14325 * gdb.guile/scm-cmd.exp
14326 * gdb.guile/scm-frame-inline.exp
14327 * gdb.guile/scm-objfile.exp
14328 * gdb.guile/scm-pretty-print.exp
14329 * gdb.guile/scm-symbol.exp
14330 * gdb.guile/scm-type.exp
14331 * gdb.guile/scm-value.exp
14332 * gdb.linespec/keywords.exp
14333 * gdb.linespec/ls-errs.exp
14334 * gdb.linespec/macro-relative.exp
14335 * gdb.linespec/thread.exp
14336 * gdb.mi/mi-breakpoint-changed.exp
14337 * gdb.mi/mi-dprintf-pending.exp
14338 * gdb.mi/mi-fullname-deleted.exp
14339 * gdb.mi/mi-logging.exp
14340 * gdb.mi/mi-pending.exp
14341 * gdb.mi/mi-solib.exp
14342 * gdb.mi/new-ui-mi-sync.exp
14343 * gdb.mi/user-selected-context-sync.exp
14344 * gdb.multi/dummy-frame-restore.exp
14345 * gdb.multi/multi-arch-exec.exp
14346 * gdb.multi/remove-inferiors.exp
14347 * gdb.multi/watchpoint-multi-exit.exp
14348 * gdb.opt/solib-intra-step.exp
14349 * gdb.perf/backtrace.exp
14350 * gdb.perf/single-step.exp
14351 * gdb.perf/skip-command.exp
14352 * gdb.perf/skip-prologue.exp
14353 * gdb.perf/solib.exp
14354 * gdb.python/lib-types.exp
14355 * gdb.python/py-as-string.exp
14356 * gdb.python/py-bad-printers.exp
14357 * gdb.python/py-block.exp
14358 * gdb.python/py-breakpoint.exp
14359 * gdb.python/py-cmd.exp
14360 * gdb.python/py-events.exp
14361 * gdb.python/py-evthreads.exp
14362 * gdb.python/py-finish-breakpoint.exp
14363 * gdb.python/py-finish-breakpoint2.exp
14364 * gdb.python/py-frame-inline.exp
14365 * gdb.python/py-frame.exp
14366 * gdb.python/py-inferior.exp
14367 * gdb.python/py-infthread.exp
14368 * gdb.python/py-mi.exp
14369 * gdb.python/py-objfile.exp
14370 * gdb.python/py-pp-maint.exp
14371 * gdb.python/py-pp-registration.exp
14372 * gdb.python/py-prettyprint.exp
14373 * gdb.python/py-recurse-unwind.exp
14374 * gdb.python/py-shared.exp
14375 * gdb.python/py-symbol.exp
14376 * gdb.python/py-symtab.exp
14377 * gdb.python/py-template.exp
14378 * gdb.python/py-type.exp
14379 * gdb.python/py-unwind-maint.exp
14380 * gdb.python/py-unwind.exp
14381 * gdb.python/py-value.exp
14382 * gdb.python/python.exp
14383 * gdb.reverse/finish-reverse-bkpt.exp
14384 * gdb.reverse/insn-reverse.exp
14385 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14386 * gdb.reverse/solib-precsave.exp
14387 * gdb.reverse/solib-reverse.exp
14388 * gdb.stabs/gdb11479.exp
14389 * gdb.stabs/weird.exp
14390 * gdb.threads/fork-child-threads.exp
14391 * gdb.threads/fork-plus-threads.exp
14392 * gdb.threads/fork-thread-pending.exp
14393 * gdb.threads/forking-threads-plus-breakpoint.exp
14394 * gdb.threads/hand-call-in-threads.exp
14395 * gdb.threads/interrupted-hand-call.exp
14396 * gdb.threads/linux-dp.exp
14397 * gdb.threads/local-watch-wrong-thread.exp
14398 * gdb.threads/next-while-other-thread-longjmps.exp
14399 * gdb.threads/non-ldr-exit.exp
14400 * gdb.threads/pending-step.exp
14401 * gdb.threads/print-threads.exp
14402 * gdb.threads/process-dies-while-detaching.exp
14403 * gdb.threads/process-dies-while-handling-bp.exp
14404 * gdb.threads/pthreads.exp
14405 * gdb.threads/queue-signal.exp
14406 * gdb.threads/reconnect-signal.exp
14407 * gdb.threads/signal-command-handle-nopass.exp
14408 * gdb.threads/signal-command-multiple-signals-pending.exp
14409 * gdb.threads/signal-delivered-right-thread.exp
14410 * gdb.threads/signal-sigtrap.exp
14411 * gdb.threads/sigthread.exp
14412 * gdb.threads/staticthreads.exp
14413 * gdb.threads/stepi-random-signal.exp
14414 * gdb.threads/thread-unwindonsignal.exp
14415 * gdb.threads/thread_check.exp
14416 * gdb.threads/thread_events.exp
14417 * gdb.threads/tid-reuse.exp
14418 * gdb.threads/tls-nodebug.exp
14419 * gdb.threads/tls-shared.exp
14420 * gdb.threads/tls-so_extern.exp
14421 * gdb.threads/tls.exp
14422 * gdb.threads/wp-replication.exp
14423 * gdb.trace/actions-changed.exp
14424 * gdb.trace/actions.exp
14425 * gdb.trace/backtrace.exp
14426 * gdb.trace/change-loc.exp
14427 * gdb.trace/collection.exp
14428 * gdb.trace/deltrace.exp
14429 * gdb.trace/disconnected-tracing.exp
14430 * gdb.trace/entry-values.exp
14431 * gdb.trace/ftrace-lock.exp
14432 * gdb.trace/ftrace.exp
14433 * gdb.trace/infotrace.exp
14434 * gdb.trace/mi-trace-frame-collected.exp
14435 * gdb.trace/mi-trace-unavailable.exp
14436 * gdb.trace/mi-traceframe-changed.exp
14437 * gdb.trace/mi-tracepoint-changed.exp
14438 * gdb.trace/mi-tsv-changed.exp
14439 * gdb.trace/no-attach-trace.exp
14440 * gdb.trace/packetlen.exp
14441 * gdb.trace/passc-dyn.exp
14442 * gdb.trace/passcount.exp
14443 * gdb.trace/pending.exp
14444 * gdb.trace/pr16508.exp
14445 * gdb.trace/qtro.exp
14446 * gdb.trace/range-stepping.exp
14447 * gdb.trace/read-memory.exp
14448 * gdb.trace/report.exp
14449 * gdb.trace/save-trace.exp
14450 * gdb.trace/signal.exp
14451 * gdb.trace/stap-trace.exp
14452 * gdb.trace/status-stop.exp
14453 * gdb.trace/strace.exp
14454 * gdb.trace/tfile.exp
14455 * gdb.trace/tfind.exp
14456 * gdb.trace/trace-break.exp
14457 * gdb.trace/trace-condition.exp
14458 * gdb.trace/trace-enable-disable.exp
14459 * gdb.trace/trace-mt.exp
14460 * gdb.trace/tracecmd.exp
14461 * gdb.trace/tracefile-pseudo-reg.exp
14462 * gdb.trace/tspeed.exp
14463 * gdb.trace/tstatus.exp
14464 * gdb.trace/tsv.exp
14465 * gdb.trace/unavailable.exp
14466 * gdb.trace/while-dyn.exp
14467 * gdb.trace/while-stepping.exp
14468 * lib/gdb-guile.exp
14469 * lib/gdb.exp
14470 * lib/mi-support.exp
14471 * lib/pascal.exp
14472 * lib/perftest.exp
14473 * lib/prelink-support.exp
14474 * lib/selftest-support.exp
14475
ad02e4fe
SM
144762016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14477
14478 * Makefile.in: Include disable-implicit-rules.mk.
14479
22347e55
AA
144802016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14481
14482 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14483 non-byte-aligned bit fields.
14484
da5b30da
AA
144852016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14486
14487 PR gdb/12616
14488 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14489 respects the DW_AT_data_bit_offset attribute.
14490
b593ecca
SM
144912016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14492
14493 * gdb.base/default.exp: Fix output of "set language".
14494
3b165252
SM
144952016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14496
14497 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14498 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14499 make.
14500 * configure.ac: Remove checks for the make program.
14501 * configure: Re-generate.
14502
1a2f3d7f
KB
145032016-11-16 Kevin Buettner <kevinb@redhat.com>
14504
14505 * gdb.python/py-recurse-unwind.c (main): Add loop.
14506 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14507 to read_register() and gdb.parse_and_eval(). Make each code
14508 call a separate case that can be individually tested.
14509 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14510 proc. Call cont_and_backtrace for each of the code paths that
14511 we want to test in the unwinder.
14512
b7f38fda
AA
145132016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14514
14515 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14516 the definition of struct S.
14517
1f8db343
CM
145182016-11-11 Catherine Moore <clm@codesourcery.com>
14519
14520 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14521
fad0c9fb
PA
145222016-11-09 Pedro Alves <palves@redhat.com>
14523
14524 * gdb.base/commands.exp (runto_or_return): New procedure.
14525 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14526 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14527 (progvar_simple_while_test, progvar_complex_if_while_test)
14528 (if_while_breakpoint_command_test)
14529 (infrun_breakpoint_command_test, breakpoint_command_test)
14530 (user_defined_command_test, watchpoint_command_test)
14531 (test_command_prompt_position, redefine_hook_test)
14532 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14533 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14534 multi_line_input and multi_line. Remove gdb_expect and
14535 gdb_stop_suppressing_tests uses.
14536 * lib/gdb.exp (valnum_re): New global.
14537 (multi_line_input): New procedure.
14538
8354c62c
SM
145392016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14540
14541 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14542 Remove.
14543 (test_setup): Define with proc_with_prefix.
14544 (test_cli_inferior): Likewise.
14545 (test_cli_thread): Likewise.
14546 (test_cli_frame): Likewise.
14547 (test_cli_select_frame): Likewise.
14548 (test_cli_up_down): Likewise.
14549 (test_mi_thread_select): Likewise.
14550 (test_mi_stack_select_frame): Likewise.
14551 (test_cli_in_mi_inferior): Likewise.
14552 (test_cli_in_mi_thread): Likewise.
14553 (test_cli_in_mi_frame): Likewise.
14554 (top level): Do not use with_test_prefix_procname.
14555
64f367a2
PA
145562016-11-09 Pedro Alves <palves@redhat.com>
14557
14558 * gdb.base/commands.exp (gdbvar_simple_if_test)
14559 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14560 (progvar_simple_if_test, progvar_simple_while_test)
14561 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14562 (infrun_breakpoint_command_test, breakpoint_command_test)
14563 (user_defined_command_test, watchpoint_command_test)
14564 (test_command_prompt_position, deprecated_command_test)
14565 (bp_deleted_in_command, temporary_breakpoint_commands)
14566 (stray_arg0_test, source_file_with_indented_comment)
14567 (recursive_source_test, if_commands_test)
14568 (error_clears_commands_left, redefine_hook_test)
14569 (redefine_backtrace_test): Use proc_with_prefix.
14570 * lib/gdb.exp (proc_with_prefix): New proc.
14571
0bb65f1e
AA
145722016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14573
14574 * gdb.base/tui-layout.c: New file.
14575 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14576 disassembly window contains very long lines.
14577
7353f247
TT
145782016-11-08 Tom Tromey <tom@tromey.com>
14579
14580 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14581 depend on Python 2.
14582
30a7bb83
TT
145832016-11-08 Tom Tromey <tom@tromey.com>
14584
14585 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14586 New method.
14587
cdf5a07c
MG
145882016-10-29 Manish Goregaokar <manish@mozilla.com>
14589
2806dc7e 14590 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14591
51a789c3
MG
145922016-10-27 Manish Goregaokar <manish@mozilla.com>
14593
2806dc7e
PA
14594 * gdb.rust/simple.rs: Add test for univariant enums without
14595 discriminants and for encoded struct-like enums.
51a789c3 14596
f610ab6d
PA
145972016-10-28 Pedro Alves <palves@redhat.com>
14598
14599 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14600 gdb_test_multiple, tighten regexps and match symtabs and line
14601 tables incrementally.
14602
b129b0ca
LM
146032016-10-28 Luis Machado <lgustavo@codesourcery.com>
14604
14605 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14606 general.
14607
ecf45d2c
SL
146082016-10-25 Luis Machado <lgustavo@codesourcery.com>
14609
14610 * gdb.base/exec-invalid-sysroot.exp: New file.
14611
b8d38ee4
JK
146122016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14613
14614 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14615
f90fd8c2
JK
146162016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14617
14618 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14619
2d2476aa
MR
146202016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14621
2806dc7e
PA
14622 * gdb.base/killed-outside.exp: Remove $options from a call to
14623 `prepare_for_testing'.
2d2476aa 14624
e42b25a0
SM
146252016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14626
14627 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14628 Change test message.
14629
3ccdb432
SM
146302016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14631
14632 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14633 Update comment.
14634
5bad3170
SM
146352016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14636
14637 * gdb.trace/mi-trace-save.exp: New file.
14638
5ad9dba7
YQ
146392016-10-13 Yao Qi <yao.qi@linaro.org>
14640
14641 * gdb.base/code_elim.exp (get_var_address): Remove.
14642 * gdb.base/relocate.exp: Likewise.
14643 * gdb.base/shreloc.exp: Likewise.
14644 * lib/gdb.exp (get_var_address): New.
14645
62df7e21
YQ
146462016-10-13 Yao Qi <yao.qi@linaro.org>
14647
14648 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14649 floating point tests if $skip_float_test is false.
14650
4dac951e
LM
146512016-10-12 Luis Machado <lgustavo@codesourcery.com>
14652
14653 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14654 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14655 argc values.
14656 Add 1 to argc so we guarantee distinct initial/modified argc values.
14657
8f1a8fc4
JK
146582016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14659
14660 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14661
16c85b5d
JK
146622016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14663
14664 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14665 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14666 * gdb.arch/vsx-regs.exp: Likewise.
14667
1d0e042a
YQ
146682016-10-07 Yao Qi <yao.qi@linaro.org>
14669
14670 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14671
68dadef5
MM
146722016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14673
14674 * gdb.python/python.exp: Test decode_line("*0").
14675
33fa2c6e
DE
146762016-10-06 Doug Evans <dje@google.com>
14677
14678 * gdb.python/py-value.exp (test_value_creation): Add test for large
14679 unsigned 64-bit value.
14680
9c37b5ae
TT
146812016-10-06 Tom Tromey <tom@tromey.com>
14682
14683 * gdb.compile/compile.exp: Change java tests to rust.
14684 * gdb.base/setshow.exp: Change java tests to rust.
14685 * gdb.base/default.exp: Remove java from language list.
14686 * README (Examples): Update language example.
14687 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14688 test.
14689 * lib/gdb.exp (skip_java_tests): Remove.
14690 * lib/java.exp: Remove.
14691 * gdb.java: Remove.
14692
78b86327
MR
146932016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14694
14695 * gdb.arch/mips-fcr.exp: New test.
14696 * gdb.arch/mips-fcr.c: Source for the new test.
14697
7470adbb
MR
146982016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14699
14700 * gdb.base/solib-disc.exp: Use `standard_output_file'
14701 throughout.
14702
4a556533
PA
147032016-10-06 Pedro Alves <palves@redhat.com>
14704
14705 * gdb.base/jit-simple-dl.c: New file.
14706 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14707 * gdb.base/jit-simple.c: ... this.
14708 * gdb.base/jit-simple.exp (jit_run): Delete.
14709 (build_jit): New proc.
14710 (jit_test_reread): Recompile either the main program or the shared
14711 library, depending on what is being tested. Skip changing address
14712 if caller wants to. Compare before/after addresses. If testing
14713 standalone, explicitly load the binary. Test "maint info
14714 breakpoints".
14715 (top level): Add "standalone vs shared lib" and "change address"
14716 vs "same address" axes.
14717
5a122fbc
PA
147182016-10-06 Pedro Alves <palves@redhat.com>
14719
14720 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14721 call.
14722 (jit_run): Delete.
14723 (jit_test_reread): Use with_test_prefix. Reload the main binary
14724 explicitly. Compare the before/after addresses of the JIT
14725 descriptor.
14726
ee8da4b8
DE
147272016-08-15 Doug Evans <dje@google.com>
14728
14729 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14730 for single bitfields is bool.
14731 * gdb.xml/tdesc-regs.exp: Ditto.
14732
f389f6fe
JK
147332016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14734
14735 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14736
fdebf1a4
YQ
147372016-10-05 Yao Qi <yao.qi@linaro.org>
14738
14739 * lib/gdb.exp (support_complex_tests): Return zero if
14740 gdb_skip_float_test return true.
14741
9c36d954 147422016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14743 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14744
14745 PR gdb/20487
14746 * gdb.mi/user-selected-context-sync.exp: New file.
14747 * gdb.mi/user-selected-context-sync.c: New file.
14748
4034d0ff 147492016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14750 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14751
14752 PR gdb/20487
14753 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14754 =thread-select-event check.
14755
a4297203
PB
147562016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14757
14758 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14759 the compulsory L operand changes.
14760 * gdb.arch/powerpc-power.s: Likewise.
14761
bb805577
JK
147622016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14763
14764 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14765 * gdb.base/jit-attach-pie.c: New file.
14766 * gdb.base/jit-attach-pie.exp: New file.
14767
6d61dee5
PA
147682016-09-28 Pedro Alves <palves@redhat.com>
14769
14770 * gdb.base/infcall-input.c: New file.
14771 * gdb.base/infcall-input.exp: New file.
14772
f73842fc
YQ
147732016-09-22 Yao Qi <yao.qi@linaro.org>
14774
14775 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14776 (gdb_exit): Rename it to ...
14777 (gdbserver_gdb_exit): ... Close GDBserver.
14778 (gdb_exit): New proc, call gdbserver_gdb_exit.
14779 (mi_gdb_exit): Likewise.
14780
90681dab
YQ
147812016-09-22 Yao Qi <yao.qi@linaro.org>
14782
14783 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14784 path.
14785 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14786 Remove duplication.
14787
9c211fd8
YQ
147882016-09-22 Yao Qi <yao.qi@linaro.org>
14789
14790 * lib/gdbserver-support.exp: Check the existence of
14791 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14792
ad0a504f
AK
147932016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14794
14795 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14796
36cf1806
TT
147972016-09-21 Tom Tromey <tom@tromey.com>
14798
14799 PR gdb/20604:
14800 * gdb.base/quit.exp: New file.
14801
74172ecf
SM
148022016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14803
14804 * .gitignore: New file.
14805
3d0ec882
MR
148062016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14807
14808 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14809 throughout.
14810
8193adea
AA
148112016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14812
14813 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14814
d41a5c09
JK
148152016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14816
14817 * gdb.cp/casts.cc (decltype): Move it ...
14818 (main): ... with its call to ...
14819 * gdb.cp/casts03.cc: ... a new file.
14820 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14821
d2dfe700
JK
148222016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14823
14824 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14825
e2a92b16
PB
148262016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14827
14828 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14829 and sync up the test with tests in gas/testsuite/gas/ppc.
14830 * gdb.arch/powerpc-power.exp: Likewise.
14831
49b4de64
JK
148322016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14833
14834 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14835
2c29df25
SDJ
148362016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14837 Jan Kratochvil <jan.kratochvil@redhat.com>
14838
14839 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14840 make m1's definition to be different from m2's. Use 'dummy' as an
14841 argument for probe 'two'.
14842
cc3c2846
JB
148432016-09-10 Jon Beniston <jon@beniston.com>
14844
14845 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14846 for sim target.
14847
e1b2624a
AA
148482016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14849
14850 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14851 variable declaration.
14852 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14853 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14854 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14855 received HWCAP as its argument.
14856
4295e285
PA
148572016-09-06 Pedro Alves <palves@redhat.com>
14858
14859 * gdb.base/new-ui-pending-input.c: New file.
14860 * gdb.base/new-ui-pending-input.exp: New file.
14861 * gdb.exp (clear_gdb_spawn_id): New procedure.
14862 (with_spawn_id): Check whether gdb_spawn_id exists before
14863 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14864 on exit.
14865
00d5215e
UW
148662016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14867
14868 * gdb.base/float128.c: New file.
14869 * gdb.base/float128.exp: Likewise.
14870 * gdb.base/floatn.c: Likewise.
14871 * gdb.base/floatn.exp: Likewise.
14872
a9ff5f12
UW
148732016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14874
14875 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14876
f245535c
PA
148772016-09-05 Pedro Alves <palves@redhat.com>
14878
14879 PR backtrace/19927
14880 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14881 unwinders are immediately called as side effect of "source" or
14882 "disable unwinder" commands.
14883 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14884
ae9cf263
YQ
148852016-09-02 Yao Qi <yao.qi@linaro.org>
14886
14887 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14888 is true and $type is "float" or "double".
14889
27aba047
YQ
148902016-09-02 Yao Qi <yao.qi@linaro.org>
14891
14892 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14893 true.
14894 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14895 * gdb.base/call-rt-st.exp: Likewise.
14896 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14897 return value instead of gdb,skip_float_test.
14898 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14899 (do_function_calls): Use its return value instead of
14900 gdb,skip_float_test.
14901 * gdb.base/finish.exp: Likewise.
14902 * gdb.base/funcargs.exp: Likewise.
14903 * gdb.base/return.exp: Likewise.
14904 * gdb.base/return2.exp: Likewise.
14905 * gdb.base/varargs.exp: Likewise.
14906 * lib/gdb.exp (gdb_skip_float_test): Change it to
14907 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14908
5af962df
AA
149092016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14910
14911 * gdb.multi/tids.exp: Test "thread apply all".
14912
7fac6910
JK
149132016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14914
14915 * gdb.base/default.exp (tty): Remove.
14916
bb1fe4ac
KB
149172016-08-24 Kevin Buettner <kevinb@redhat.com>
14918
2806dc7e
PA
14919 * gdb.python/py-recurse-unwind.c: New file.
14920 * gdb.python/py-recurse-unwind.py: New file.
14921 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14922
0a1ddfa6
SM
149232016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14924
14925 * gdb.base/set-inferior-tty.exp: New file.
14926 * gdb.base/set-inferior-tty.c: New file.
14927
d9de1fe3
PA
149282016-08-23 Pedro Alves <palves@redhat.com>
14929
14930 PR gdb/20494
14931 * gdb.base/new-ui-echo.c: New file.
14932 * gdb.base/new-ui-echo.exp: New file.
14933
e9d9abd7
YQ
149342016-08-23 Yao Qi <yao.qi@linaro.org>
14935
14936 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14937 gdbserver_spawn.
14938 * gdb.server/connect-without-multi-process.exp (do_test):
14939 Likewise.
14940
3589529e
YQ
149412016-08-23 Yao Qi <yao.qi@linaro.org>
14942
14943 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14944 standalone_txt. Delete gdb_txt and standalone_txt on host
14945 and target. Spawn the binary on target. Copy files from
14946 target to host.
14947
6bb90213
PA
149482016-08-22 Pedro Alves <palves@redhat.com>
14949
14950 PR gdb/20505
14951 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14952 with_test_prefix. Factor out bits to ...
14953 (test_no_vdso): ... this new procedure.
14954
20c2c024
CL
149552016-08-19 Carl Love <cel@us.ibm.com>
14956
14957 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14958 maintaining separate logic for constructing the output path.
14959 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14960 * gdb.arch/ppc-dfp.exp: Likewise.
14961 * gdb.arch/ppc-fp.exp: Likewise.
14962 * gdb.arch/vsx-regs.exp: Likewise.
14963 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14964 binprefix for generating the additional binary files.
14965
0646e07d
PA
149662016-08-19 Pedro Alves <palves@redhat.com>
14967
14968 * gdb.trace/mi-trace-frame-collected.exp
14969 (test_trace_frame_collected): On x32, expect two registers.
14970
46da9242
CL
149712016-08-18 Carl Love <cel@us.ibm.com>
14972
14973 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14974 and sync up the test with tests in gas/testsuite/gas/ppc.
14975 * gdb.arch/powerpc-power.exp: Likewise.
14976
eb2332d7
SM
149772016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14978
14979 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14980 expected error message.
14981
63c61e04
SM
149822016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14983
14984 * gdb.multi/remove-inferiors.exp: New file.
14985 * gdb.multi/remove-inferiors.c: New file.
14986
7b17065f
YQ
149872016-08-12 Yao Qi <yao.qi@linaro.org>
14988
14989 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14990 argument list.
14991
01d3dedf
PA
149922016-08-10 Pedro Alves <palves@redhat.com>
14993
14994 PR gdb/19187
14995 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14996 setup_kfails.
14997
3eb7562a
PA
149982016-08-09 Pedro Alves <palves@redhat.com>
14999 Simon Marchi <simon.marchi@ericsson.com>
15000
15001 PR gdb/20418
15002 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15003 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15004
80614914
PA
150052016-08-09 Pedro Alves <palves@redhat.com>
15006
15007 PR mi/20431
15008 * gdb.mi/mi-cmd-error.exp: New file.
15009
f348d89a
PA
150102016-08-09 Pedro Alves <palves@redhat.com>
15011
15012 PR gdb/18653
15013 * gdb.base/signals-state-child.c: New file.
15014 * gdb.base/signals-state-child.exp: New file.
15015 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15016
e5ca03b4
PA
150172016-08-09 Pedro Alves <palves@redhat.com>
15018
15019 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15020
282a0691
TT
150212016-08-03 Tom Tromey <tom@tromey.com>
15022
15023 PR python/18565:
15024 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15025
41bfcd63
YQ
150262016-08-01 Yao Qi <yao.qi@linaro.org>
15027
15028 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15029 variable mode to "multi-process" if $multi_process is 1, otherwise
15030 set it to "single-process".
15031
e3465b24
YQ
150322016-08-01 Yao Qi <yao.qi@linaro.org>
15033
15034 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15035 * gdb.cp/cpexprs.exp: Likewise.
15036 * gdb.cp/m-static.exp: Likewise.
15037
0b31a4bc
TT
150382016-07-26 Tom Tromey <tom@tromey.com>
15039
15040 PR python/20190:
15041 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15042 test.
15043
e0461dbb
MM
150442016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15045
15046 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15047 selecting assembly source files.
15048 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15049 assembly source files.
15050 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15051 assembly source files.
15052 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15053 selecting assembly source files.
15054
8194e927
SM
150552016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15056
15057 * gdb.base/new-ui.exp (do_test_invalid_args): New
15058 procedure.
15059
c0272db5
TW
150602016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15061
15062 * gdb.btrace/reconnect.c: New file.
15063 * gdb.btrace/reconnect.exp: New file.
15064
e3487908
GKB
150652016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15066
15067 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15068 to test_catch_syscall_group.
15069 (test_catch_syscall_group): New.
15070
12df5c00
TT
150712016-07-21 Tom Tromey <tom@tromey.com>
15072
15073 * gdb.rust/simple.rs (main): Use empty struct expression.
15074 * gdb.rust/simple.exp: Add tests for empty struct expression.
15075
bae62ee2
YQ
150762016-07-21 Yao Qi <yao.qi@linaro.org>
15077
15078 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15079 if gdb_skip_xml_test is true on some targets.
15080
b1b53fb3
YQ
150812016-07-21 Yao Qi <yao.qi@linaro.org>
15082
15083 * gdb.server/solib-list.exp: Unset last_loaded_file.
15084
027d97f8
JK
150852016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15086
15087 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15088 "step into captured_main (args)".
15089
7674d381
JK
150902016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15091
15092 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15093
72b5d099
JK
150942016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15095
15096 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15097
1f960ced
PA
150982016-07-19 Pedro Alves <palves@redhat.com>
15099
15100 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15101 * gdb.opt/inline-bt.exp: Likewise.
15102 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15103 additional_flags=-Winline.
15104 * gdb.opt/inline-locals.exp: Likewise.
15105 * gdb.opt/inline-markers.c (ATTR): Define.
15106 (inlined_fn): Use it.
15107
f25827c1
YQ
151082016-07-19 Yao Qi <yao.qi@linaro.org>
15109
15110 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15111 (test_with_self): Remove some code. Remove argument executable.
15112 (top-level): Use do_self_tests.
15113
37539ebe
DB
151142016-07-15 Zachary Welch <zwelch@codesourcery.com>
15115 Don Breazeal <donb@codesourcery.com>
15116
15117 * gdb.base/maint.exp: Escape paths used in regular expressions.
15118 * gdb.stabs/weird.exp: Likewise.
15119
dac790e1
TT
151202016-07-13 Tom Tromey <tom@tromey.com>
15121
15122 PR python/15620, PR python/18620:
15123 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15124 (test_bkpt_events): New procs.
15125
93daf339
TT
151262016-07-13 Tom Tromey <tom@tromey.com>
15127
15128 PR python/17698:
15129 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15130 test.
15131 (test_watchpoints): Likewise.
15132 (test_bkpt_pending): New proc.
15133
6571a381
TT
151342016-07-13 Tom Tromey <tom@tromey.com>
15135
15136 PR cli/18053:
15137 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15138 completion test.
15139
e8732474
JK
151402016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15141
15142 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15143 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15144 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15145 f_label.
15146 (g): Rename g_end_lbl to g_label.
15147 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15148 low_pc and high_pc.
15149 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15150
e0f3fd7c
TT
151512016-07-12 Tom Tromey <tom@tromey.com>
15152
15153 PR python/19293:
15154 * gdb.python/py-unwind-maint.exp: Update tests.
15155
3cfe46b6
YQ
151562016-07-12 Yao Qi <yao.qi@linaro.org>
15157
15158 * lib/selftest-support.exp (selftest_setup): Match the output
15159 when captured_main is inlined.
15160
4f19a0e6
WT
151612016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15162
15163 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15164 New variables.
15165 (print this%a, print this%b, print this): New tests.
15166 * gdb.fortran/derived-types.f90 (this): New object and
15167 initialization.
15168
986cf455
SM
151692016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15170
15171 * gdb.ada/arraydim.exp: Remove extra directory level in build
15172 directory.
15173
f0464b23
SM
151742016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15175
15176 * lib/ada.exp: Remove extra directory level in build directory.
15177 * gdb.ada/cond_lang.exp: Likewise.
15178 * gdb.ada/exec_changed.exp: Likewise.
15179 * gdb.ada/lang_switch.exp: Likewise.
15180
42d94011
MG
151812016-07-06 Manish Goregaokar <manish@mozilla.com>
15182
2806dc7e
PA
15183 * simple.rs: Add test for raw pointer subscripting.
15184 * simple.exp: Add test expectations.
42d94011 15185
647c264c
YQ
151862016-07-05 Yao Qi <yao.qi@linaro.org>
15187
15188 * gdb.mi/mi-reverse.exp: Match =record-started output.
15189
20aa2c60
PA
151902016-07-01 Pedro Alves <palves@redhat.com>
15191
15192 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15193 procedure.
15194 (jit_reader_test): Test the jit reader's unwinder.
15195 * gdb.base/jithost.c (jit_function_00_code): New global.
15196 (main): Use memcpy to fill in the mmapped code, instead of poking
15197 bytes manually here.
15198 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15199 value.
15200 (read_debug_info): Save the function's range.
15201 (read_sp): New function.
15202 (unwind_frame): Use it. Also unwind RBP.
15203 (get_frame_id): Use read_sp.
15204 (gdb_init_reader): Use calloc instead of malloc.
15205 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15206 parameter. Use gdb_test_multiple.
15207
ced2dffb
PA
152082016-07-01 Pedro Alves <palves@redhat.com>
15209 Antoine Tremblay <antoine.tremblay@ericsson.com>
15210
15211 * gdb.threads/process-dies-while-detaching.c: New file.
15212 * gdb.threads/process-dies-while-detaching.exp: New file.
15213
63000888
PA
152142016-07-01 Pedro Alves <palves@redhat.com>
15215
15216 * gdb.multi/watchpoint-multi-exit.c: New file.
15217 * gdb.multi/watchpoint-multi-exit.exp: New file.
15218
038d4868
PA
152192016-06-30 Pedro Alves <palves@redhat.com>
15220
15221 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15222 unset inferior_spawn_id.
15223
994e9c83
PA
152242016-06-30 Pedro Alves <palves@redhat.com>
15225
15226 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15227 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15228
e5653468
YQ
152292016-06-29 Yao Qi <yao.qi@linaro.org>
15230
15231 * gdb.base/return.c: Add copyright header.
15232
803b47e5
TT
152332016-06-29 Tom Tromey <tom@tromey.com>
15234
15235 PR python/20129:
15236 * gdb.python/py-framefilter.exp: Add tests for setting priority
15237 and disabling of non-existent frame filter.
15238
28244707
YQ
152392016-06-29 Yao Qi <yao.qi@linaro.org>
15240
15241 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15242 0x0f07ff.
15243
a31d2f06
YQ
152442016-06-28 Yao Qi <yao.qi@linaro.org>
15245
15246 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15247 triplets. Start gdb, execute catch syscall, and continue. Check
15248 gdb's output to determine catch syscall is supported.
15249
921d8f54
MG
152502016-06-27 Manish Goregaokar <manish@mozilla.com>
15251
25d49b86
PA
15252 * gdb.rust/simple.rs: Add test for returning unit in a function.
15253 * gdb.rust/simple.exp: Add expectation for functions returning
15254 unit.
921d8f54 15255
f4952523
PMR
152562016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15257
15258 * gdb.python/py-breakpoint-create-fail.c,
15259 gdb.python/py-breakpoint-create-fail.exp,
15260 gdb.python/py-breakpoint-create-fail.py: New testcase.
15261
fccb08f8
MG
152622016-06-25 Manish Goregaokar <manish@mozilla.com>
15263
15264 PR gdb/20239
15265 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15266 * gdb.rust/simple.exp: Add test expectations for new NonZero
15267 tests.
fccb08f8 15268
6b850546
DT
152692016-06-24 David Taylor <dtaylor@emc.com>
15270
15271 * gdb.base/offsets.exp: New file.
15272 * gdb.base/offsets.c: New file.
15273
17621150
TT
152742016-06-23 Tom Tromey <tom@tromey.com>
15275
15276 PR gdb/16483:
15277 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15278 before any filters are loaded.
15279
04d59df6
WT
152802016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15281
15282 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15283 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15284 structs.
15285 * gdb.fortran/derived-type-function.exp: New file.
15286 * gdb.fortran/derived-type-function.f90: New file.
15287
15288
ac69f786
PA
152892016-06-21 Pedro Alves <palves@redhat.com>
15290
15291 * gdb.base/new-ui.exp: New file.
15292 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15293 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15294 (with_spawn_id): New procedure.
15295
49940788
PA
152962016-06-21 Pedro Alves <palves@redhat.com>
15297
15298 * gdb.mi/mi-exec-run.exp: New file.
15299
ef274d26
PA
153002016-06-21 Pedro Alves <palves@redhat.com>
15301
15302 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15303 breakpoint command's output on the main UI.
15304 (test_break): New procedure, factored out from calls in the top
15305 level.
15306 (top level): Use foreach_with_prefix to test MI as main UI and as
15307 separate UI.
15308
468afe6c
PA
153092016-06-21 Pedro Alves <palves@redhat.com>
15310
15311 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15312 (test_awatch_creation_and_listing)
15313 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15314 Remove 'type' parameter.
15315 (test_watchpoint_all): New parameter mi_mode. Remove
15316 with_test_prefix.
15317 (top level): Use foreach_with_prefix, and add main/separate UI MI
15318 testing axis.
15319
51f77c37
PA
153202016-06-21 Pedro Alves <palves@redhat.com>
15321
15322 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15323 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15324 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15325 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15326 (gdb_main_spawn_id, mi_spawn_id): Declare and
15327 comment.
15328 (mi_create_inferior_pty): New procedure,
15329 factored out from default_mi_gdb_start.
15330 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15331 procedures.
15332 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15333 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15334 Use mi_create_inferior_pty.
15335 (mi_gdb_start): Use eval to pass down args list.
15336
8980e177
PA
153372016-06-21 Pedro Alves <palves@redhat.com>
15338
15339 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15340 * gdb.opt/inline-cmds.exp: Add MI tests.
15341
f38d3ad1
PA
153422016-06-21 Pedro Alves <palves@redhat.com>
15343
15344 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15345
45db7c09
PA
153462016-06-21 Pedro Alves <palves@redhat.com>
15347
15348 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15349 (top level): Use it instead of mi_execute_to.
15350
5a069ab3
PA
153512016-06-21 Pedro Alves <palves@redhat.com>
15352
15353 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15354 (cont_handler_str): New.
15355 (signal_stop_handler): Set stop_handler_str instead of printing to
15356 stdout.
15357 (continue_handler): Set cont_handler_str instead of printing to
15358 stdout.
15359 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15360 mi_send_resuming_command. Print stop_handler_str and
15361 cont_handler_str instead of expecting the python events print
15362 directly.
15363
2838cc1d
SD
153642016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15365
15366 * gdb.base/jit-reader.exp: New file.
15367 * gdb.base/jithost.c: New file.
15368 * gdb.base/jithost.h: New file.
15369 * gdb.base/jitreader.c : New file.
15370 * gdb.base/jit-protocol.h: New file.
15371
21a77091
YQ
153722016-06-17 Yao Qi <yao.qi@linaro.org>
15373
15374 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15375 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15376 and detach-on-fork. Adjust tests.
15377 (top level): Invoke break_cond_on_syscall with combinations of
15378 syscall, follow-fork-mode and detach-on-fork.
15379
f50bf8e5
YQ
153802016-06-17 Yao Qi <yao.qi@linaro.org>
15381
15382 * gdb.base/step-over-exit.c: New.
15383 * gdb.base/step-over-exit.exp: New.
15384
a28d8e50
YTL
153852016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15386
15387 * gdb.base/float.exp: Add target check for nds32*-*-*.
15388 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15389
cad8e26d
AB
153902016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15391
15392 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15393 for unsupported target features.
15394 * gdb.base/call-rt-st.exp: Likewise.
15395 * gdb.base/call-sc.exp: Likewise.
15396 * gdb.base/call-signal-resume.exp: Likewise.
15397 * gdb.base/call-strs.exp: Likewise.
15398 * gdb.base/callexit.exp: Likewise.
15399 * gdb.base/callfuncs.exp: Likewise.
15400 * gdb.base/nodebug.exp: Likewise.
15401 * gdb.base/printcmds.exp: Likewise.
15402 * gdb.base/ptype.exp: Likewise.
15403 * gdb.base/structs.exp: Likewise.
15404 * gdb.base/unwindonsignal.exp: Likewise.
15405 * gdb.cp/gdb2495.exp: Likewise.
15406 * gdb.cp/templates.exp: Likewise.
15407 * gdb.cp/virtfunc.exp: Likewise.
15408 * gdb.threads/hand-call-in-threads.exp: Likewise.
15409 * gdb.threads/interrupted-hand-call.exp: Likewise.
15410 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15411
347dc102
TT
154122016-06-10 Tom Tromey <tom@tromey.com>
15413
15414 PR rust/20110:
15415 * gdb.rust/expr.exp: Add test for integer constant larger than
15416 i32.
15417
5e13cf25
BH
154182016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15419
15420 * gdb.fortran/nested-funcs.exp: New.
15421 * gdb.fortran/nested-funcs.f90: New.
15422
bb556f1f
TK
154232016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15424
15425 * gdb.base/examine-backward.c: New file.
15426 * gdb.base/examine-backward.exp: New file.
15427
38b022b4
SM
154282016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15429
15430 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15431 matching.
15432
1b40ec05
TT
154332016-06-02 Tom Tromey <tom@tromey.com>
15434
15435 PR python/18984:
15436 * gdb.python/py-shared.exp: Add solib_name test.
15437
193bd378
SM
154382016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15439
15440 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15441
3326303b
MG
154422016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15443
15444 PR c++/19893
15445 * gdb.dwarf2/implref.exp: Rename to...
15446 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15447 * gdb.dwarf2/implref-array.c: New file.
15448 * gdb.dwarf2/implref-array.exp: Likewise.
15449 * gdb.dwarf2/implref-global.c: Likewise.
15450 * gdb.dwarf2/implref-global.exp: Likewise.
15451 * gdb.dwarf2/implref-struct.c: Likewise.
15452 * gdb.dwarf2/implref-struct.exp: Likewise.
15453
825c8ef2
AT
154542016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15455
15456 * gdb.trace/trace-condition.exp: Add 64bit tests.
15457
2320162a
AT
154582016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15459
15460 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15461 bits types.
15462 (main): Adapt to 8 to 64 bits types.
15463 * gdb.trace/trace-condition.exp: Add new tests.
15464
a7818233
AT
154652016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15466
15467 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15468
0d336466
AT
154692016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15470
15471 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15472 Move condition tests...
15473 * gdb.trace/trace-condition.exp: Here.
15474
7faeb45a
AT
154752016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15476
15477 * gdb.trace/trace-condition.exp: Add counter-case tests.
15478
e385593e
JK
154792016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15480
15481 PR c++/15231
15482 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15483 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15484
744608cc
PA
154852016-05-27 Pedro Alves <palves@redhat.com>
15486
15487 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15488 New procedure.
15489 (top level): Call it, and bail out of DejaGnu is known to be bad.
15490
ac775bf4
AB
154912016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15492
15493 * gdb.base/whatis.c: Extend the test case.
15494 * gdb.base/whatis.exp: Add additional tests.
15495
2bbad2ea
BH
154962016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15497
15498* gdb.fortran/type.f90: Add pointer variable.
15499* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15500
8b70175d
BH
155012016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15502
15503 * gdb.fortran/vla-type.exp: Fix testcase name.
15504
86d8a848
BH
155052016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15506
15507 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15508
e188eb36
BH
155092016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15510
15511 * gdb.fortran/type.f90: Add nested structures.
15512 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15513 * gdb.fortran/derived-type.exp: Adapt expected output.
15514 * gdb.fortran/vla-type.exp: Adapt expected output.
15515
9b2db1fd
BH
155162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15517
15518 * gdb.fortran/whatis_type.exp: Adapt expected output.
15519
72b17055
BH
155202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15521
15522 * gdb.fortran/print_type.exp: Fix expected output.
15523 * gdb.fortran/whatis_type.exp: Fix expected output.
15524
3cd81d8d
BH
155252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15526
15527 * gdb.fortran/whatis_type.exp: Use multi_line.
15528
ddae9462
TT
155292016-05-24 Tom Tromey <tom@tromey.com>
15530
15531 PR python/17386:
15532 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15533 use value as an index.
15534
1957f6b8
TT
155352016-05-23 Tom Tromey <tom@tromey.com>
15536
15537 PR python/17981:
15538 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15539 no-breakpoint case.
15540
026a9174
PA
155412016-05-24 Pedro Alves <palves@redhat.com>
15542
15543 PR gdb/19828
15544 * gdb.threads/clone-attach-detach.c: New file.
15545 * gdb.threads/clone-attach-detach.exp: New file.
15546
e70a7231
FR
155472016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15548
15549 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15550
0f6ed0e0
TT
155512016-05-23 Tom Tromey <tom@tromey.com>
15552
15553 PR python/19438, PR python/18393:
15554 * gdb.python/py-progspace.exp: Add "dir" test.
15555 * gdb.python/py-objfile.exp: Add "dir" test.
15556
ffd19d61
YQ
155572016-05-23 Yao Qi <yao.qi@linaro.org>
15558
15559 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15560 * gdb.arch/thumb2-it.exp: Likewise.
15561
9e8f9b05
SM
155622016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15563
15564 * gdb.mi/mi-threads-interrupt.c: New file.
15565 * gdb.mi/mi-threads-interrupt.exp: New file.
15566
61c6156d
SM
155672016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15568
15569 PR gdb/18077
15570 * gdb.mi/mi-async-run.exp: New file.
15571 * gdb.mi/mi-async-run.c: New file.
15572
67218854
TT
155732016-05-17 Tom Tromey <tom@tromey.com>
15574 Manish Goregaokar <manishsmail@gmail.com>
15575
15576 * lib/rust-support.exp: New file.
15577 * lib/gdb.exp (skip_rust_tests): New proc.
15578 (build_executable_from_specs): Handle rust.
15579 * lib/future.exp (gdb_find_rustc): New proc.
15580 (gdb_default_target_compile): Handle rust.
15581 * gdb.rust/expr.exp: New file.
15582 * gdb.rust/generics.exp: New file.
15583 * gdb.rust/generics.rs: New file.
15584 * gdb.rust/methods.exp: New file.
15585 * gdb.rust/methods.rs: New file.
15586 * gdb.rust/modules.exp: New file.
15587 * gdb.rust/modules.rs: New file.
15588 * gdb.rust/simple.exp: New file.
15589 * gdb.rust/simple.rs: New file.
15590
c44af4eb
TT
155912016-05-17 Tom Tromey <tom@tromey.com>
15592
15593 * gdb.base/default.exp (set language): Add rust.
15594
dcd1f979
TT
155952016-05-17 Tom Tromey <tom@tromey.com>
15596
15597 * gdb.gdb/unittest.exp: New file.
15598
155b7f57
YQ
155992016-05-16 Yao Qi <yao.qi@linaro.org>
15600
15601 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15602 shell_prompt. Update shell_prompt_re.
15603
8ddd5a6c
DE
156042016-05-12 Doug Evans <dje@google.com>
15605
15606 PR symtab/19999
15607 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15608 $options when building executable.
15609 * gdb.dwarf2/fission-loclists-pie.S: New file.
15610 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15611
02e370d9
SM
156122016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15613
15614 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15615 of [is_remote target],
15616
8929ad8b
SM
156172016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15618
15619 * lib/gdb.exp (use_gdb_stub): New procedure.
15620
6c447423
DE
156212016-05-03 Yunlian Jiang <yunlian@google.com>
15622 Doug Evans <dje@google.com>
15623
15624 PR symtab/19914
15625 * gdb.dwarf2/dwp-sepdebug.c: New file.
15626 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15627
444e826c
SM
156282016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15629
15630 * gdb.base/detach.exp: Remove is_remote check.
15631
740feeaa
SM
156322016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15633
15634 * gdb.base/annota-input-while-running.exp: Don't check for
15635 [is_remote target]. Enable annotations after running to main.
15636 Remove unused "set test..." line.
15637
9080ac9d
SM
156382016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15639
15640 * gdb.trace/trace-enable-disable.exp: New file.
15641 * gdb.trace/trace-enable-disable.c: New file.
15642
952ebca5
SM
156432016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15644
15645 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15646 use it in info sharedlibrary test.
15647 * gdb.trace/ftrace-lock.exp: Likewise.
15648 * gdb.trace/ftrace.exp: Likewise.
15649 * gdb.trace/range-stepping.exp: Likewise.
15650 * gdb.trace/trace-break.exp: Likewise.
15651 * gdb.trace/trace-condition.exp: Likewise.
15652 * gdb.trace/trace-mt.exp: Likewise.
15653
d9019901
SM
156542016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15655
15656 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15657 (gdb_load_shlib): ... this.
15658 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15659 gdb_load_shlib.
15660 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15661 * gdb.base/ctxobj.exp: Likewise.
15662 * gdb.base/dprintf-pending.exp: Likewise.
15663 * gdb.base/dso2dso.exp: Likewise.
15664 * gdb.base/fixsection.exp: Likewise.
15665 * gdb.base/gcore-relro.exp: Likewise.
15666 * gdb.base/gdb1555.exp: Likewise.
15667 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15668 * gdb.base/gnu-ifunc.exp: Likewise.
15669 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15670 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15671 * gdb.base/pending.exp: Likewise.
15672 * gdb.base/print-file-var.exp: Likewise.
15673 * gdb.base/print-symbol-loading.exp: Likewise.
15674 * gdb.base/shlib-call.exp: Likewise.
15675 * gdb.base/shreloc.exp: Likewise.
15676 * gdb.base/so-impl-ld.exp: Likewise.
15677 * gdb.base/solib-disc.exp: Likewise.
15678 * gdb.base/solib-nodir.exp: Likewise.
15679 * gdb.base/solib-overlap.exp: Likewise.
15680 * gdb.base/solib-symbol.exp: Likewise.
15681 * gdb.base/solib-weak.exp (do_test): Likewise.
15682 * gdb.base/sym-file.exp: Likewise.
15683 * gdb.base/symtab-search-order.exp: Likewise.
15684 * gdb.base/type-opaque.exp: Likewise.
15685 * gdb.base/unload.exp: Likewise.
15686 * gdb.base/watchpoint-solib.exp: Likewise.
15687 * gdb.compile/compile.exp: Likewise.
15688 * gdb.cp/gdb2384.exp: Likewise.
15689 * gdb.cp/infcall-dlopen.exp: Likewise.
15690 * gdb.cp/re-set-overloaded.exp: Likewise.
15691 * gdb.fortran/library-module.exp: Likewise.
15692 * gdb.opt/solib-intra-step.exp: Likewise.
15693 * gdb.python/py-finish-breakpoint.exp: Likewise.
15694 * gdb.python/py-shared.exp: Likewise.
15695 * gdb.reverse/solib-precsave.exp: Likewise.
15696 * gdb.reverse/solib-reverse.exp: Likewise.
15697 * gdb.server/solib-list.exp: Likewise.
15698 * gdb.threads/dlopen-libpthread.exp: Likewise.
15699 * gdb.threads/tls-shared.exp: Likewise.
15700 * gdb.threads/tls-so_extern.exp: Likewise.
15701 * gdb.trace/change-loc.exp: Likewise.
15702 * gdb.trace/ftrace-lock.exp: Likewise.
15703 * gdb.trace/ftrace.exp: Likewise.
15704 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15705 * gdb.trace/pending.exp: Likewise.
15706 * gdb.trace/range-stepping.exp: Likewise.
15707 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15708 (strace_info_marker): Likewise.
15709 (strace_probe_marker): Likewise.
15710 (strace_trace_on_same_addr): Likewise.
15711 (strace_trace_on_diff_addr): Likewise.
15712 * gdb.trace/trace-break.exp: Likewise.
15713 * gdb.trace/trace-condition.exp: Likewise.
15714 * gdb.trace/trace-mt.exp: Likewise.
15715
fca4cfd9
SM
157162016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15717
15718 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15719 result of gdb_remote_download.
15720 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15721 * gdb.base/dso2dso.exp: Likewise.
15722 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15723 * gdb.base/print-file-var.exp: Likewise.
15724 * gdb.base/shlib-call.exp: Likewise.
15725 * gdb.base/shreloc.exp: Likewise.
15726 * gdb.base/solib-overlap.exp: Likewise.
15727 * gdb.base/solib-weak.exp (do_test): Likewise.
15728 * gdb.base/unload.exp: Likewise.
15729
11cf4ffb
YQ
157302016-04-27 Yao Qi <yao.qi@linaro.org>
15731
15732 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15733 exists.
15734
3e2e34f8
KB
157352016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15736
15737 * vla-type.exp: Print structure from toplevel.
15738
8f07e298
BH
157392016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15740
15741 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15742 of dynamic types.
15743 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15744 of dynamic types.
15745
9920b434
BH
157462016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15747
15748 * gdb.fortran/vla-type.f90: New file.
15749 * gdb.fortran/vla-type.exp: New file.
15750
f3abeff5
YQ
157512016-04-25 Yao Qi <yao.qi@linaro.org>
15752
15753 * gdb.base/branch-to-self.c: New file.
15754 * gdb.base/branch-to-self.exp: New file.
15755
0a5d52f0
YQ
157562016-04-22 Yao Qi <yao.qi@linaro.org>
15757
15758 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15759 more after $hex.
15760
495346f6
YQ
157612016-04-22 Yao Qi <yao.qi@linaro.org>
15762
15763 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15764 * gdb.base/annota3.exp: Likewise.
15765
4a7e075c
YQ
157662016-04-22 Yao Qi <yao.qi@linaro.org>
15767
15768 * gdb.reverse/step-precsave.exp: Do one step and test program
15769 stops in "callee" and do multiple steps until program goes out
15770 of "callee".
15771 * gdb.reverse/step-reverse.exp: Likewise.
15772
5b061e98
YQ
157732016-04-22 Yao Qi <yao.qi@linaro.org>
15774
15775 * gdb.trace/signal.exp: Also pass if
15776 $tracepoint_hits($i) > $iterations.
15777
5c5dc57f
YQ
157782016-04-22 Yao Qi <yao.qi@linaro.org>
15779
15780 * gdb.trace/signal.c: New file.
15781 * gdb.trace/signal.exp: New file.
15782
a55411b9
DE
157832016-04-19 Doug Evans <xdje42@gmail.com>
15784
15785 * gdb.base/bad-file.exp: New file.
15786
a22df60a
MG
157872016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15788
15789 * gdb.dwarf2/implref.exp: New file.
15790
0c13f7e5
BH
157912016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15792
15793 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15794 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15795 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15796 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15797 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15798 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15799 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15800 * lib/fortran.exp (fortran_int4): New procedure.
15801 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15802 (fortran_logical4): Likewise.
15803
9b9b09e9
BH
158042016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15805
15806 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15807
a14d1f4d
BH
158082016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15809
15810 * lib/compiler.c: Add Intel specific preprocessor macros.
15811 * lib/compiler.cc: Likewise.
25d49b86 15812
7d49b1d0
LM
158132016-04-13 Luis Machado <lgustavo@codesourcery.com>
15814
15815 * gdb.server/connect-with-no-symbol-file.c: New file.
15816 * gdb.server/connect-with-no-symbol-file.exp: New file.
15817
8392fa22
SM
158182016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15819
15820 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15821
8c4c4aeb
SM
158222016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15823
15824 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15825 standard output directory.
15826
45e3745e
AT
158272016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15828
15829 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15830
e26b7e41
MM
158312016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15832
15833 * gdb.btrace/instruction_history.c (loop): Add declaration.
15834
8ce09462
AT
158352016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15836
15837 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15838
2e88a1ea
SM
158392016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15840
15841 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15842 parentheses to print.
15843 (continue_handler): Likewise.
15844
f48e22e3
SM
158452016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15846
15847 * gdb.server/solib-list.exp: Remove is_remote check.
15848 Pass shlib= to gdb_compile. Don't link shared library with
15849 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15850 Run binary filename through "readlink -f" on the target.
15851
096be756
PA
158522016-04-08 Pedro Alves <palves@redhat.com>
15853
15854 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15855 interpreter filename as argument to gdbserver_spawn.
15856 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15857 Return empty if $last_loaded_file does not exist.
15858
06500533
JK
158592016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15860
15861 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15862 * gdb.base/jit-main.c: Use exit after usage.
15863
2d35e871
JK
158642016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15865
15866 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15867 GDBHISTSIZE prior to the tests.
15868 * gdb.base/gdbinit-history.exp: Likewise.
15869
158702016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15871
15872 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15873 instead of build_executable. Use gdb_load_shlibs.
15874
c8064e7e
YQ
158752016-04-07 Yao Qi <yao.qi@linaro.org>
15876
15877 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15878 Execute "si" command.
15879
bde47561
YQ
158802016-04-07 Yao Qi <yao.qi@linaro.org>
15881
15882 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15883 number instead of the comments on some line.
15884
b16f8a3b
DB
158852016-04-06 Don Breazeal <donb@codesourcery.com>
15886
15887 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15888 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15889
c2f901df
SM
158902016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15891
15892 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15893 standard_output_file. Remove unused binfile variable.
15894
ac17fda0
CU
158952016-04-05 Catalin Udma <catalin.udma@freescale.com>
15896
15897 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15898 * gdb.python/py-mi-objfile.exp: Match "list main" output
15899 in console format.
15900
03a8c4df
SM
159012016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15902
15903 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15904 absolute.
15905
6e774b13
SM
159062016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15907
15908 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15909 absolute.
15910 * gdb.trace/ftrace.exp: Likewise.
15911 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15912 targets as well.
15913 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15914 (gdb_load_shlibs): Copy libraries to test directory when testing
15915 natively. Only set solib-search-path if testing remotely.
15916 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15917
7817ea46
SM
159182016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15919
15920 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15921 gdb_download. Use it even if the target is not remote.
15922 * gdb.base/jit.exp (compile_jit_test): Likewise.
15923 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15924 output directory if the destination board is local, otherwise use
15925 the standard remote_download from DejaGnu.
15926 (gdb_download): Remove.
15927 (gdb_load_shlibs): Use gdb_remote_download instead of
15928 gdb_download.
15929 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15930 Use gdb_remote_download instead of gdb_download. Use it even if
15931 the target is not remote.
15932 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15933 instead of gdb_download.
15934
7beb7f68
SM
159352016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15936
15937 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15938 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15939 run.
15940
cc63428a
AV
159412016-04-01 Artemiy Volkov <artemiyv@acm.org>
15942
15943 PR gdb/19820
15944 * gdb.base/printcmds.exp: Add artificial arrays tests.
15945
64cdf930
PA
159462016-03-31 Pedro Alves <palves@redhat.com>
15947
15948 PR gdb/19858
15949 * gdb.base/jit-main.c: Include unistd.h.
15950 (ATTACH): Define to 0 if not already defined.
15951 (wait_for_gdb, mypid): New globals.
15952 (WAIT_FOR_GDB): New macro.
15953 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15954 some breakpoint locations.
15955 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15956 New procedures.
15957 (one_jit_test): Add REATTACH parameter, and handle it. Use
15958 continue_to_test_location.
15959 (top level): Test attach, and adjusts calls to one_jit_test.
15960
40dea8cb
PA
159612016-03-31 Pedro Alves <palves@redhat.com>
15962
15963 PR gdb/19858
15964 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15965 BINSUFFIX parameter, and handle it.
15966 (top level): Adjust calls compile_jit_test.
15967
e7ea3ec7
CU
159682016-03-31 Catalin Udma <catalin.udma@freescale.com>
15969
15970 PR python/19743
15971 * gdb.python/py-mi-events-gdb.py: New file.
15972 * gdb.python/py-mi-events.c: New file.
15973 * gdb.python/py-mi-events.exp: New file.
15974
e6359af3
YQ
159752016-03-30 Yao Qi <yao.qi@linaro.org>
15976
15977 * gdb.reverse/until-precsave.exp: Match function name only.
15978 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15979 Move malloc to a condition block.
15980 * gdb.reverse/until-reverse.exp: Match function name only.
15981
a4105d04
MK
159822016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15983
15984 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15985 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15986 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15987 variable for GPR 0 instead of assuming it is register 0.
15988 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15989 * lib/trace-support.exp: Add s390 registers.
15990
bfa6adb9
YQ
159912016-03-29 Yao Qi <yao.qi@linaro.org>
15992
15993 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15994
1e6697ea
YQ
159952016-03-24 Yao Qi <yao.qi@linaro.org>
15996
15997 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15998 test message.
15999
64bcd522
AA
160002016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16001
16002 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16003 maintaining separate logic for constructing the output path.
16004
7868401b
DB
160052016-03-16 Don Breazeal <donb@codesourcery.com>
16006
16007 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16008 Retry fork and waitpid on interrupted system call errors.
16009 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16010 Use with_timeout_factor to increase timeout by factor of 10.
16011
1cafadb4
DB
160122016-03-15 Don Breazeal <donb@codesourcery.com>
16013
16014 * gdb.cp/scope-err.cc: New test program.
16015 * gdb.cp/scope-err.exp: New test script.
16016 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16017 lines and "set breakpoint here" comment.
16018 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16019 Fixed some whitespace and format issues.
16020 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16021 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16022
81516450
DE
160232016-03-15 Doug Evans <dje@google.com>
16024
16025 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16026 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16027 All callers updated. Add tests for enums, mixed flags register.
16028
aa52b601
DE
160292016-03-15 Doug Evans <dje@google.com>
16030
16031 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16032 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16033
fa4ff313
SM
160342016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16035
16036 * gdb.base/default.exp: Add $_as_string to the list of expected
16037 convenience functions.
16038
f2403c39
AB
160392016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16040
16041 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16042
f2f3ccb9
SM
160432016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16044
16045 * gdb.python/py-as-string.exp: New file.
16046 * gdb.python/py-as-string.c: New file.
16047
00dbd492
PA
160482016-03-09 Pedro Alves <palves@redhat.com>
16049
16050 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16051 signal" -> "Thread NN received signal" output change.
16052 * gdb.threads/ia64-sigill.exp: Likewise.
16053 * gdb.threads/linux-dp.exp: Likewise.
16054 * gdb.threads/manythreads.exp: Likewise.
16055 * gdb.threads/pending-step.exp: Likewise.
16056 * gdb.threads/print-threads.exp: Likewise.
16057 * gdb.threads/sigstep-threads.exp: Likewise.
16058 * gdb.threads/staticthreads.exp: Likewise.
16059 * gdb.threads/tls.exp: Likewise.
16060
1e6697ea
YQ
160612016-03-09 Pedro Alves <palves@redhat.com>
16062
16063 * gdb.base/command-line-input.exp: New file.
16064
b04fd3be
MK
160652016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16066
16067 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16068 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16069 * gdb.trace/pending.exp: Accept leading dot before function name.
16070 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16071 * lib/trace-support.exp: Set registers for ppc.
16072
98fa59e9
MK
160732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16074
16075 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16076 use it for disassembly; accept .main in addition to main in backtrace.
16077
f77198c8
MK
160782016-03-09 Wei-cheng Wang <cole945@gmail.com>
16079 Marcin Kościelnicki <koriakin@0x04.net>
16080
16081 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16082 (gdb_recursion_test_ptr): New global variable.
16083 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16084 gdb_recursion_test.
16085 (gdb_c_test): Ditto.
16086
ba84e0da
MK
160872016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16088
16089 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16090 ordering.
16091
4366d36e
MK
160922016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16093
16094 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16095 (bar): Add bar_start_lbl label.
16096 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16097 of foo/bar for emitting DWARF and tracing.
16098
5eb264df
SDJ
160992016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16100
16101 * analyze-racy-logs.py: Set executable bit.
16102
fb6a751f
SDJ
161032016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16104
16105 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16106 (CHECK_TARGET_TMP): Likewise.
16107 (check-single-racy): New rule.
16108 (check-parallel-racy): Likewise.
16109 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16110 (do-check-parallel-racy): New rule.
16111 (check-racy/%.exp): Likewise.
16112 * README (Racy testcases): New section.
16113 * analyze-racy-logs.py: New file.
16114
bdf7e230
DE
161152016-03-03 Doug Evans <dje@google.com>
16116
16117 * gdb.base/skip.exp: Use with_test_prefix.
16118
4719d415
YQ
161192016-03-03 Yao Qi <yao.qi@linaro.org>
16120
16121 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16122 Invoke step_over_syscall "clone" and break_cond_on_syscall
16123 "clone".
16124 * gdb.base/step-over-clone.c: New file.
16125
ea507862
YQ
161262016-03-03 Yao Qi <yao.qi@linaro.org>
16127
16128 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16129 code format.
16130
8fc8cbda
YQ
161312016-03-03 Yao Qi <yao.qi@linaro.org>
16132
16133 * gdb.base/disp-step-fork.c: Rename to ...
16134 * gdb.base/step-over-fork.c: ... it. New file.
16135 * gdb.base/disp-step-vfork.c: Rename to ...
16136 * gdb.base/step-over-vfork.c: ... it. New file.
16137 * gdb.base/disp-step-syscall.exp: Rename to ...
16138 * gdb.base/step-over-syscall.exp: ... it. New file.
16139 (disp_step_cross_syscall): Rename to ...
16140 (step_over_syscall): ... it.
16141
92fa70b0
YQ
161422016-03-03 Yao Qi <yao.qi@linaro.org>
16143
16144 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16145 If target supports condition evaluation on target, invoke
16146 break_cond_on_syscall for fork and vfork.
16147
e197ad3c
YQ
161482016-03-03 Yao Qi <yao.qi@linaro.org>
16149
16150 * gdb.base/disp-step-syscall.exp: Don't invoke
16151 support_displaced_stepping.
16152 (disp_step_cross_syscall): Test with displaced stepping off and
16153 on if supported.
16154
0b47da9f
YQ
161552016-03-03 Yao Qi <yao.qi@linaro.org>
16156
16157 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16158 proc.
16159 (setup): New proc.
16160 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16161 and setup.
16162
065ab6dc
BH
161632016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16164
16165 * gdb.fortran/vla-history.exp: Remove breakpoint.
16166
07e448ad 161672016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16168
25d49b86
PA
16169 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16170 exceeds timeout.
07e448ad 16171
9ac2d526 161722016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16173
25d49b86
PA
16174 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16175 breakpoint.
9ac2d526 16176
17807369
BH
161772016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16178
16179 * gdb.mi/vla.f90: Nullify pointer after declaration.
16180
86e501af
PA
161812016-03-01 Pedro Alves <palves@redhat.com>
16182
16183 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16184
1e903e32
PA
161852016-03-01 Pedro Alves <palves@redhat.com>
16186
16187 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16188 before anything else.
16189 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16190 _GNU_SOURCE here.
16191 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16192 before anything else.
16193 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16194
6ccb54e2
PA
161952016-03-01 Pedro Alves <palves@redhat.com>
16196
16197 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16198
30ca9da1
YQ
161992016-03-01 Yao Qi <yao.qi@linaro.org>
16200
16201 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16202 prepare_for_testing.
16203
dc856b38
YQ
162042016-03-01 Yao Qi <yao.qi@linaro.org>
16205
16206 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16207
4a932159
AA
162082016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16209
16210 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16211 manually constructing the output path.
16212
f2489477
AA
162132016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16214
16215 * gdb.arch/s390-stackless.S: New.
16216 * gdb.arch/s390-stackless.exp: New.
16217
38899f16
IB
162182016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16219
16220 * gdb.dlang/circular.c: New file.
16221 * gdb.dlang/circular.exp: New file.
16222
9fde51ed
YQ
162232016-02-26 Yao Qi <yao.qi@linaro.org>
16224
16225 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16226 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16227 (testcases): Update.
16228
ce90fefe
YQ
162292016-02-26 Yao Qi <yao.qi@linaro.org>
16230
16231 * gdb.reverse/aarch64.c: Rename to ...
16232 * gdb.reverse/insn-reverse.c: ... it.
16233 * gdb.reverse/aarch64.exp: Rename to ...
16234 * gdb.reverse/insn-reverse.exp: ... it.
16235
3263bceb
YQ
162362016-02-26 Yao Qi <yao.qi@linaro.org>
16237
16238 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16239 (testcase_ftype): New.
16240 (testcases): New array.
16241 (n_testcases): New.
16242 (main): Call each element in testcases.
16243 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16244 (read_testcase): New.
16245 Do the tests in a loop.
16246
6cb59ff1
YQ
162472016-02-25 Yao Qi <yao.qi@linaro.org>
16248
16249 * gdb.base/branches.c: Remove.
16250
ae91f625
MK
162512016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16252
16253 PR gdb/13808
16254 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16255
678b48b7
MK
162562016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16257
16258 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16259
7337a6f2
MK
162602016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16261
16262 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16263 change x86_64 call_insn to 'callq'.
16264
861ca91f
AT
162652016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16266
16267 * gdb.trace/tfile-avx.c: Move to...
16268 * gdb.trace/tracefile-pseudo-reg.c: Here.
16269 * gdb.trace/tfile-avx.exp: Move to...
16270 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16271
bf74e428
GB
162722016-02-24 Gary Benson <gbenson@redhat.com>
16273
16274 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16275 message on attach.
16276
cce0e923
DE
162772016-02-23 Doug Evans <dje@google.com>
16278
16279 * gdb.base/skip.c (test_skip): New function.
16280 (end_test_skip_file_and_function): New function.
16281 (test_skip_file_and_function): New function.
16282 * gdb.base/skip1.c (test_skip): New function.
16283 (skip1_test_skip_file_and_function): New function.
16284 * gdb.base/skip.exp: Add tests for new skip options.
16285 * gdb.base/skip-solib.exp: Update expected output.
16286 * gdb.perf/skip-command.cc: New file.
16287 * gdb.perf/skip-command.exp: New file.
16288 * gdb.perf/skip-command.py: New file.
16289
4000e47e
MK
162902016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16291
16292 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16293 info registers pattern.
16294
24f75ead
IB
162952016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16296
16297 * lib/future.exp: Add D support.
16298 (gdb_find_gdc): New proc.
16299 (gdb_default_target_compile): Add D support.
16300
fbb7bcbe
WW
163012016-02-18 Wei-cheng Wang <cole945@gmail.com>
16302
16303 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16304 user+system time.
16305 (trace_speed_test): Determine the iteration count for a time
16306 between 15..30 seconds.
16307
012b3a21
WT
163082016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16309
16310 * gdb.arch/i386-mpx-sigsegv.c: New file.
16311 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16312 * gdb.arch/i386-mpx-simple_segv.c: New file.
16313 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16314
2d5189bd
YQ
163152016-02-18 Yao Qi <yao.qi@linaro.org>
16316
16317 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16318 Don't call setup_kfail.
16319
40fb20d0
YQ
163202016-02-18 Yao Qi <yao.qi@linaro.org>
16321
16322 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16323 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16324
21b1f8d2
DE
163252016-02-16 Doug Evans <dje@google.com>
16326
16327 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16328 * gdb.base/skip1.c: Ditto.
16329 * gdb.base/skip.exp: Whitespace cleanup.
16330
4041ed77
DB
163312016-02-16 Don Breazeal <donb@codesourcery.com>
16332
16333 PR remote/19496
16334 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16335 Remove kfail for PR remote/19496.
16336
c4ef31bf
SM
163372016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16338
16339 * lib/gdb.exp (standard_temp_file): Return a path specific to
16340 the runtest invocation.
16341
266b65b3
SM
163422016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16343
16344 * gdb.trace/save-trace.exp: Change relative path to be in the
16345 standard output directory.
16346
a7a0a6a9
JK
163472016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16348
16349 * gdb.arch/i386-prologue.c: Add missing prototypes.
16350
c99dbb42
JK
163512016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16352
16353 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16354 * gdb.arch/i386-prologue.exp: Likewise.
16355 * gdb.arch/i386-size.exp: Likewise.
16356
aa480355
SM
163572016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16358
16359 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16360 define object file path.
16361 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16362 file path.
16363 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16364 standard_output_file to define binfile.
16365
ba881f50
JK
163662016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16367
16368 Fix compatibility with recent gfortran-5.3.1.
16369 * gdb.fortran/vla-history.exp (print vla1 allocated)
16370 (print vla2 allocated, print $2, print $3): Remove
16371 (print $4): Rename to ...
16372 (print $2): ... here.
16373 (print $9): Rename to ...
16374 (print $5): ... here.
16375 (print $10): Rename to ...
16376 (print $6): ... here.
16377 * gdb.fortran/vla.f90: Add pvla initialization.
16378
e9fb005c
JK
163792016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16380
16381 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16382 New test.
16383 * gdb.fortran/vla-value-sub.exp: Likewise.
16384
e44e00ff
MK
163852016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16386
16387 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16388
97e94151
SM
163892016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16390
16391 * i386-biarch-core.exp: Define corefile using
16392 standard_output_file.
16393
01113bc1
YQ
163942016-02-12 Yao Qi <yao.qi@linaro.org>
16395
16396 * gdb.arch/arm-single-step-kernel-helper.c: New.
16397 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16398
33b4777c
MM
163992016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16400
16401 * gdb.btrace/tailcall-only.exp: New.
16402 * gdb.btrace/tailcall-only.c: New.
16403 * gdb.btrace/x86_64-tailcall-only.S: New.
16404 * gdb.btrace/i686-tailcall-only.S: New.
16405
acc23c11
PA
164062016-02-11 Pedro Alves <palves@redhat.com>
16407
16408 * README (Parallel testing): Add missing double quotes.
16409
e352bf0a
PA
164102016-02-11 Pedro Alves <palves@redhat.com>
16411
16412 * README (Parallel testing): New section.
16413 (GDB_PARALLEL): Rewrite.
16414 (FORCE_PARALLEL): Document.
16415
9f5fed78
MK
164162016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16417
16418 * gdb.trace/tfile-avx.c: New test.
16419 * gdb.trace/tfile-avx.exp: New test.
16420
9ef9e6a6
KS
164212016-02-09 Keith Seitz <keiths@redhat.com>
16422
16423 PR breakpoints/19546
16424 * gdb.base/infcall-exec.c: New file.
16425 * gdb.base/infcall-exec2.c: New file.
16426 * gdb.base/infcall-exec.exp: New file.
16427
a96e36da
KS
164282016-02-09 Keith Seitz <keiths@redhat.com>
16429
16430 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16431 (toplevel): Call test_bkpt_address.
16432
9f61929f
KS
164332016-02-09 Keith Seitz <keiths@redhat.com>
16434
16435 PR python/19506
16436 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16437 (toplevel): Call test_bkpt_address.
16438
1e94266c
SM
164392016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16440
16441 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16442 to AC_OUTPUT.
16443 * configure: Regenerate.
16444
2a7f3dff
PA
164452016-02-09 Pedro Alves <palves@redhat.com>
16446
16447 PR breakpoints/19548
16448 * gdb.base/execl-update-breakpoints.c (some_function): New
16449 function.
16450 (main): Call it.
16451 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16452 Tighten expected GDB output.
16453
2151ccc5
SM
164542016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16455
16456 * Makefile.in (ALL_SUBDIRS): Remove.
16457 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16458 (distclean maintainer-clean realclean): Likewise.
16459 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16460 * configure: Regenerate.
16461 * gdb.ada/Makefile.in: Delete.
16462 * gdb.arch/Makefile.in: Likewise.
16463 * gdb.asm/Makefile.in: Likewise.
16464 * gdb.base/Makefile.in: Likewise.
16465 * gdb.btrace/Makefile.in: Likewise.
16466 * gdb.cell/Makefile.in: Likewise.
16467 * gdb.compile/Makefile.in: Likewise.
16468 * gdb.cp/Makefile.in: Likewise.
16469 * gdb.disasm/Makefile.in: Likewise.
16470 * gdb.dlang/Makefile.in: Likewise.
16471 * gdb.dwarf2/Makefile.in: Likewise.
16472 * gdb.fortran/Makefile.in: Likewise.
16473 * gdb.gdb/Makefile.in: Likewise.
16474 * gdb.go/Makefile.in: Likewise.
16475 * gdb.guile/Makefile.in: Likewise.
16476 * gdb.java/Makefile.in: Likewise.
16477 * gdb.linespec/Makefile.in: Likewise.
16478 * gdb.mi/Makefile.in: Likewise.
16479 * gdb.modula2/Makefile.in: Likewise.
16480 * gdb.multi/Makefile.in: Likewise.
16481 * gdb.objc/Makefile.in: Likewise.
16482 * gdb.opencl/Makefile.in: Likewise.
16483 * gdb.opt/Makefile.in: Likewise.
16484 * gdb.pascal/Makefile.in: Likewise.
16485 * gdb.perf/Makefile.in: Likewise.
16486 * gdb.python/Makefile.in: Likewise.
16487 * gdb.reverse/Makefile.in: Likewise.
16488 * gdb.server/Makefile.in: Likewise.
16489 * gdb.stabs/Makefile.in: Likewise.
16490 * gdb.threads/Makefile.in: Likewise.
16491 * gdb.trace/Makefile.in: Likewise.
16492 * gdb.xml/Makefile.in: Likewise.
16493 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16494 GDB_PARALLEL.
16495 (standard_output_file): Remove check for GDB_PARALLEL, always
16496 return path in outputs/$subdir/$testname.
16497
437277d4
SM
164982016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16499
16500 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16501 (site.exp): Assign abs_srcdir to tcl's srcdir.
16502
31d913c7
YQ
165032016-02-04 Yao Qi <yao.qi@linaro.org>
16504
16505 * gdb.base/foll-exec-mode.c: Include limits.h.
16506 (main): Add parameters argc and argv. Get directory from
16507 argv[0].
16508 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16509 compilation.
16510 * gdb.base/foll-exec.c: Include limits.h.
16511 (main): Add parameters argc and argv.
16512 Get directory from argv[0].
16513 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16514 Adjust tests on the number of lines as source code changed.
16515 * gdb.base/foll-vfork-exit.c: Include limits.h.
16516 (main): Add one line of statement before vfork.
16517 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16518 (main): Add parameters argc and argv. Get directory from
16519 argv[0].
16520 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16521 (setup_gdb): Set tbreak to skip some source lines.
16522 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16523 (main): Add parameters argc and argv. Get directory from
16524 argv[0].
16525 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16526 compilation.
16527 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16528 (main): Add parameters argc and argv. Get directory from
16529 argv[0].
16530 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16531 compilation.
16532
9482b9fb
DE
165332016-02-01 Doug Evans <dje@google.com>
16534
16535 * gdb.base/skip.exp: Clean up multiple references to same test name.
16536
6b2e4f10
PA
165372016-02-01 Pedro Alves <palves@redhat.com>
16538
ccb6afd6 16539 PR remote/19496
6b2e4f10
PA
16540 * gdb.threads/forking-threads-plus-breakpoint.exp
16541 (displaced_stepping_supported): New global.
16542 (probe_displaced_stepping_support): New procedure.
16543 (do_test): Add 'displaced' parameter, and use it.
16544 (top level): Check for displaced stepping support. Add displaced
16545 stepping on/off testing axis.
16546
37a8db1a
AB
165472016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16548
16549 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16550 pointer. Don't perform further tests on the unassociated pointer
16551 if the first test fails.
16552
5fdf6324
AB
165532016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16554
16555 * gdb.base/max-value-size.c: New file.
16556 * gdb.base/max-value-size.exp: New file.
16557 * gdb.base/huge.exp: Disable max-value-size for this test.
16558
935c6144
IB
165592016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16560
16561 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16562
7fe8399d
YQ
165632016-01-28 Yao Qi <yao.qi@linaro.org>
16564
16565 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16566
a2077e25
PA
165672016-01-25 Pedro Alves <palves@redhat.com>
16568
16569 PR threads/19461
16570 * gdb.base/fork-running-state.c: New file.
16571 * gdb.base/fork-running-state.exp: New file.
16572
1d2736d4
PA
165732016-01-25 Pedro Alves <palves@redhat.com>
16574
16575 PR gdb/19494
16576 * gdb.base/catch-fork-kill.c: New file.
16577 * gdb.base/catch-fork-kill.exp: New file.
16578
f1da4b11
PA
165792016-01-25 Pedro Alves <palves@redhat.com>
16580
16581 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16582 Delete, moved to lib/gdb.exp.
16583 * gdb.threads/forking-threads-plus-breakpoint.exp
16584 (foreach_with_prefix): Likewise.
16585 * gdb.threads/process-dies-while-handling-bp.exp
16586 (foreach_with_prefix): Likewise.
16587 * lib/gdb.exp (foreach_with_prefix): New procedure.
16588
45f38546
MK
165892016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16590
16591 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16592 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16593
dc29a1ce
MK
165942016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16595
16596 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16597 endian targets.
16598
092127d7
JK
165992016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16600 Pedro Alves <palves@redhat.com>
16601
16602 Fix testsuite compatibility with Guile.
16603 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16604 number.
16605
31d765d3
JK
166062016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16607
16608 Fix testsuite compatibility with Guile.
16609 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16610 (thread 1): New test for backtrace through signal handler.
16611
1ac78c04
YQ
166122016-01-22 Yao Qi <yao.qi@linaro.org>
16613
16614 PR testsuite/19491
16615 * gdb.base/multi-forks.c: Include
16616 ../lib/unbuffer_output.c
16617 (main): Call gdb_unbuffer_output.
16618
4f5946a8
DE
166192016-01-21 Doug Evans <dje@google.com>
16620
16621 * lib/ada.exp (gdb_compile_ada): Fix typo.
16622
305e13e6
JB
166232016-01-21 Joel Brobecker <brobecker@adacore.com>
16624
16625 * gdb.base/break-fun-addr.exp: New file.
16626 * gdb.base/break-fun-addr1.c: New file.
16627 * gdb.base/break-fun-addr2.c: New file.
16628
5f5dfff6
SM
166292016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16630
16631 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16632 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16633 enum flag values.
16634
fd356fa2
AA
166352016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16636
16637 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16638 when GDB can not set the vector return value. Add more comments
16639 for clarification.
16640
9df22175
AT
166412016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16642
16643 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16644 command.
16645
41d1845e
SM
166462016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16647
16648 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16649
01ac6840
SM
166502016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16651
16652 * Makefile.in (check-single): Pass --status to runtest.
16653 (check/%.exp): Likewise.
16654
166552016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16656
16657 * Makefile.in (check-parallel): Propagate return code from make
16658 do-check-parallel.
16659
bd0a71fa
MK
166602016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16661
16662 * gdb.trace/ftrace.exp: Fix expected message on continue.
16663 * gdb.trace/pending.exp: Fix expected message on continue.
16664 * gdb.trace/trace-break.exp: Fix expected message on continue.
16665
8bcbad33
SM
166662016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16667
16668 * lib/gdb.exp (gdb_test): Remove unused global references.
16669
f303dbd6
PA
166702016-01-18 Pedro Alves <palves@redhat.com>
16671
16672 * gdb.base/async-shell.exp: Adjust expected output.
16673 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16674 * gdb.base/siginfo-thread.exp: Adjust expected output.
16675 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16676 * gdb.java/jnpe.exp: Adjust expected output.
16677 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16678 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16679 * gdb.threads/leader-exit.exp: Adjust expected output.
16680 * gdb.threads/manythreads.exp: Adjust expected output.
16681 * gdb.threads/pthreads.exp: Adjust expected output.
16682 * gdb.threads/schedlock.exp: Adjust expected output.
16683 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16684 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16685 expected output.
16686 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16687 output.
16688 * gdb.threads/sigthread.exp: Adjust expected output.
16689 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16690
b2789696
YQ
166912016-01-18 Yao Qi <yao.qi@linaro.org>
16692
16693 * gdb.guile/scm-section-script.c: Replace @progbits with
16694 %progbits.
16695 * gdb.python/py-section-script.c: Likewise.
16696
71ef29a8
PA
166972016-01-15 Pedro Alves <palves@redhat.com>
16698
16699 * gdb.multi/tids.exp: Test star wildcard ranges.
16700
3f5b7598
PA
167012016-01-15 Pedro Alves <palves@redhat.com>
16702
16703 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16704 command from "thread apply" invocation.
16705 (thr_apply_info_thr_invalid): Default the expected output to the
16706 input tid list.
16707 (top level): Add tests that use convenience variables. Add tests
16708 for "thread apply" with a valid TID list, but missing the command.
16709
663f6d42
PA
167102016-01-13 Pedro Alves <palves@redhat.com>
16711
16712 * gdb.base/default.exp: Expect $_gthread as well.
16713 * gdb.multi/tids.exp: Test $_gthread.
16714 * gdb.threads/thread-specific.exp: Test $_gthread.
16715
c84f6bbf
PA
167162016-01-13 Pedro Alves <palves@redhat.com>
16717
16718 * gdb.multi/tids.exp: Test "info threads -gid".
16719
22a02324
PA
167202016-01-13 Pedro Alves <palves@redhat.com>
16721
16722 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16723 Breakpoint.thread.
16724 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16725
5d5658a1
PA
167262016-01-07 Pedro Alves <palves@redhat.com>
16727
16728 * gdb.base/break.exp: Adjust to output changes.
16729 * gdb.base/hbreak2.exp: Likewise.
16730 * gdb.base/sepdebug.exp: Likewise.
16731 * gdb.base/watch_thread_num.exp: Likewise.
16732 * gdb.linespec/keywords.exp: Likewise.
16733 * gdb.multi/info-threads.exp: Likewise.
16734 * gdb.threads/thread-find.exp: Likewise.
16735 * gdb.multi/tids.c: New file.
16736 * gdb.multi/tids.exp: New file.
16737
84654457
PA
167382016-01-13 Pedro Alves <palves@redhat.com>
16739
16740 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16741
e3940304
PA
167422016-01-13 Pedro Alves <palves@redhat.com>
16743
16744 * gdb.base/default.exp: Expect $_inferior as well.
16745 * gdb.multi/base.exp: Test $_inferior.
16746
a911d87a
PA
167472016-01-13 Pedro Alves <palves@redhat.com>
16748
16749 PR breakpoints/19388
16750 * gdb.base/catch-signal-siginfo-cond.c: New file.
16751 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16752
82075af2
JS
167532016-01-12 Josh Stone <jistone@redhat.com>
16754 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16755
16756 * gdb.base/catch-syscall.c (do_execve): New variable.
16757 (main): Conditionally trigger an execve.
16758 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16759 (test_catch_syscall_execve): New, check entry/return across execve.
16760 (do_syscall_tests): Call test_catch_syscall_execve.
16761
e46eeedd
PA
167622016-01-12 Pedro Alves <palves@redhat.com>
16763
16764 * gdb.base/random-signal.exp (do_test): New procedure, with body
16765 of testcase moved in.
16766
01d8c27e
JK
167672016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16768 Pedro Alves <palves@redhat.com>
16769
16770 * gdb.base/funcargs.exp (finish from indirectly called function):
16771 Reintroduce the case for 'First'.
16772
9a706302
JK
167732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16774 Pedro Alves <palves@redhat.com>
16775
16776 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16777 (tcatch_vfork_then_child_follow_exec)
16778 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16779 identification.
16780
c0ecb95f
JK
167812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16782
16783 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16784 and repeats to unlimited.
16785 * gdb.python/py-value.exp: Likewise.
16786 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16787 and repeats to unlimited.
16788
6cfc1fcb
JK
167892016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16790
16791 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16792 and reordering the functions.
16793 * gdb.multi/hangout.c: Likewise.
16794 * gdb.multi/hello.c: Likewise.
16795
582a1b00
SM
167962016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16797
16798 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16799 absolute.
16800 (SingleStatisticTestResult.report): Use dict.keys instead of
16801 dict.iterkeys.
16802
79bc59cb
PA
168032016-01-06 Pedro Alves <palves@redhat.com>
16804
16805 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16806
43368e1d
MM
168072016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16808
16809 * gdb.btrace/dlopen.exp: New.
16810 * gdb.btrace/dlopen.c: New.
16811 * gdb.btrace/dlopen-dso.c: New.
16812
79fad5b8
SL
168132015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16814
16815 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16816 PATTERN argument is optional.
16817
ab8314b3
JB
168182015-12-24 Joel Brobecker <brobecker@adacore.com>
16819
16820 * lib/ada.exp (target_compile_ada_from_dir): New function.
16821 (gdb_compile_ada): Reimplement avoiding the use of project files.
16822 * gdb.ada/gnat_ada.gpr: Delete.
16823 * gdb.ada/cond_lang.exp: Adjust test to make path before
16824 filename optional.
16825 * gdb.ada/small_reg_param.exp: Likewise.
16826
fe33faff
SM
168272015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16828
16829 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16830
6d265cb4
TP
168312015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16832
16833 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16834 case.
16835
10125099
SM
168362015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16837
16838 * gdb.base/break.exp: Remove dead code.
16839 * gdb.base/sepdebug.exp: Likewise.
16840
3ca22649
SM
168412015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16842
16843 * gdb.asm/asm-source.exp: Remove HP-UX references.
16844 * gdb.base/annota1.exp: Likewise.
16845 * gdb.base/annota3.exp: Likewise.
16846 * gdb.base/attach.exp: Likewise.
16847 * gdb.base/bigcore.exp: Likewise.
16848 * gdb.base/break.exp: Likewise.
16849 * gdb.base/call-ar-st.exp: Likewise.
16850 * gdb.base/callfuncs.exp: Likewise.
16851 * gdb.base/catch-fork-static.exp: Likewise.
16852 * gdb.base/display.exp: Likewise.
16853 * gdb.base/foll-exec-mode.exp: Likewise.
16854 * gdb.base/foll-exec.exp: Likewise.
16855 * gdb.base/foll-fork.exp: Likewise.
16856 * gdb.base/foll-vfork.exp: Likewise.
16857 * gdb.base/funcargs.exp: Likewise.
16858 * gdb.base/hbreak2.exp: Likewise.
16859 * gdb.base/inferior-died.exp: Likewise.
16860 * gdb.base/interrupt.exp: Likewise.
16861 * gdb.base/multi-forks.exp: Likewise.
16862 * gdb.base/nodebug.exp: Likewise.
16863 * gdb.base/sepdebug.exp: Likewise.
16864 * gdb.base/solib1.c: Likewise.
16865 * gdb.base/step-test.exp: Likewise.
16866 * gdb.mi/non-stop.c: Likewise.
16867 * gdb.mi/pthreads.c: Likewise.
16868 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16869 * gdb.threads/pthreads.c: Likewise.
16870 * gdb.threads/staticthreads.exp: Likewise.
16871 * lib/future.exp: Likewise.
16872 * lib/gdb.exp: Likewise.
16873 * gdb.base/so-indr-cl.c: Remove.
16874 * gdb.base/so-indr-cl.exp: Likewise.
16875 * gdb.base/solib.c: Likewise.
16876 * gdb.base/solib.exp: Likewise.
16877 * gdb.base/solib2.c: Likewise.
16878
b6304613
SM
168792015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16880
16881 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16882 * gdb.base/call-ar-st.exp: Likewise.
16883 * gdb.base/callfuncs.exp: Likewise.
16884 * gdb.base/condbreak.exp: Likewise.
16885 * gdb.base/constvars.exp: Likewise.
16886 * gdb.base/hbreak2.exp: Likewise.
16887 * gdb.base/langs.exp: Likewise.
16888 * gdb.base/list.exp: Likewise.
16889 * gdb.base/long_long.exp: Likewise.
16890 * gdb.base/ptype.exp: Likewise.
16891 * gdb.base/scope.exp: Likewise.
16892 * gdb.base/signals.exp: Likewise.
16893 * gdb.base/so-impl-ld.exp: Likewise.
16894 * gdb.base/varargs.exp: Likewise.
16895 * gdb.base/volatile.exp: Likewise.
16896 * gdb.base/whatis.exp: Likewise.
16897 * gdb.cp/cplusfuncs.exp: Likewise.
16898 * gdb.cp/inherit.exp: Likewise.
16899 * gdb.cp/local.exp: Likewise.
16900 * gdb.cp/member-ptr.exp: Likewise.
16901 * gdb.cp/method.exp: Likewise.
16902 * gdb.cp/overload.exp: Likewise.
16903 * gdb.cp/templates.exp: Likewise.
16904 * gdb.stabs/weird.exp: Likewise.
16905 * lib/compiler.c: Likewise.
16906 * lib/compiler.cc: Likewise.
16907 * lib/cp-support.exp: Likewise.
16908 * lib/gdb.exp: Likewise.
16909
bf401b07
SM
169102015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16911
16912 * configure.ac: Remove HP-UX case.
16913 * configure: Regenerate.
16914
aff9c0f8
SM
169152015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16916
16917 * lib/gdb.exp (gdb_compile): Add function doc.
16918
a6904d5a
PA
169192015-12-17 Pedro Alves <palves@redhat.com>
16920
16921 PR threads/19354
16922 * gdb.multi/info-threads.exp: New file.
16923
a22279dd
YQ
169242015-12-15 Yao Qi <yao.qi@linaro.org>
16925
16926 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16927 is aarch64*-*-*.
16928
0588c796
SL
169292015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16930
16931 * gdb.base/history-duplicates.exp: Skip if no readline support.
16932
5d978e17
SL
169332015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16934
16935 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16936
7e763b86
SL
169372015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16938
16939 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16940
87a3a92c
SL
169412015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16942
16943 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16944 ctrl-C if nointerrupts target property is set.
16945 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16946 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16947 * gdb.base/paginate-bg-execution.exp: Likewise.
16948 * gdb.base/paginate-execution-startup.exp: Likewise.
16949 * gdb.base/random-signal.exp: Likewise.
16950 * gdb.base/range-stepping.exp: Likewise.
16951 * gdb.cp/annota2.exp: Likewise.
16952 * gdb.cp/annota3.exp: Likewise.
16953 * gdb.gdb/selftest.exp: Likewise.
16954 * gdb.threads/continue-pending-status.exp: Likewise.
16955 * gdb.threads/leader-exit.exp: Likewise.
16956 * gdb.threads/manythreads.exp: Likewise.
16957 * gdb.threads/pthreads.exp: Likewise.
16958 * gdb.threads/schedlock.exp: Likewise.
16959 * gdb.threads/sigthread.exp: Likewise.
16960
a8f077dc
DB
169612015-12-11 Don Breazeal <donb@codesourcery.com>
16962
16963 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16964 remote.
16965 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16966 * gdb.base/foll-exec.exp (main): Enable for target remote.
16967 * gdb.base/foll-fork.exp (main): Likewise.
16968 * gdb.base/foll-vfork.exp (main): Likewise.
16969 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16970 (proc continue_to_exit_bp_loc): Use clean_restart.
16971 * gdb.base/pie-execl.exp (main): Disable for target remote.
16972 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16973 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16974 * gdb.threads/execl.exp (main): Likewise.
16975 * gdb.threads/fork-child-threads.exp (main): Likewise.
16976 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16977 remote.
16978 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16979 remote.
16980 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16981 pid.tid style ptids, instead of just tid.
16982 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16983 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16984 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16985 ptids, instead of just tid.
16986
3b2464a8
AB
169872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16988
16989 * gdb.base/list.exp (test_list_forward): Add end of file error
16990 test.
16991 (test_repeat_list_command): Add end of file error test.
16992 (test_list_backwards): Add beginning of file error test.
16993
a0def019
AB
169942015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16995
16996 * gdb.base/list.exp (test_list_invalid_args): New function,
16997 defined, and called.
16998
5c000dff
AB
169992015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17000
17001 * gdb.base/list.exp (test_list): Make test names unique.
17002
f1637ebe
YQ
170032015-12-11 Yao Qi <yao.qi@linaro.org>
17004
17005 * gdb.base/coremaker2.c: Remove.
17006
36d6fc0a
PA
170072015-12-10 Pedro Alves <palves@redhat.com>
17008
17009 * gdb.multi/base.exp: Remove stale "spaces" references.
17010
762f7747
PA
170112015-12-10 Pedro Alves <palves@redhat.com>
17012
17013 * gdb.multi/base.exp: Don't use nowarnings.
17014 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17015 * gdb.multi/hangout.c: Include stdio.h.
17016 * gdb.multi/hello.c: Include stdlib.h.
17017 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17018 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17019 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17020
28d2bfb9
AB
170212015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17022
17023 * gdb.dwarf2/dw2-ranges-base.c: New file.
17024 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17025 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17026 support additional line table, and debug ranges generation.
17027 (Dwarf::ranges): New function, generate .debug_ranges.
17028 (Dwarf::lines): Support generating simple line table programs.
17029 (Dwarf::assemble): Initialise new namespace variables.
17030
5fc2beac
KB
170312015-12-09 Kevin Buettner <kevinb@redhat.com>
17032
17033 * gdb.base/async.exp (proc test_background): Add case for
17034 asynchronous execution not supported.
17035
1c35a88f
LM
170362015-12-09 Luis Machado <lgustavo@codesourcery.com>
17037
17038 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17039 format and change test names to make them unique.
17040
b593e3d9
RK
170412015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17042 Pedro Alves <pedro@redhat.com>
17043
17044 PR gdb/18702
17045 Add checking of floatformats setup on x86_64 hosts.
17046 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17047 (smallval, bigval): New labels/constants.
17048 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17049 float" after loading bigval and smallval.
17050
d72413e6
PMR
170512015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17052
17053 * gdb.ada/fun_overload_menu.exp: New testcase.
17054 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17055
ece66d65
JS
170562015-12-04 Josh Stone <jistone@redhat.com>
17057
17058 * gdb.base/catch-fork-static.exp: New.
17059
41d0efca
YQ
170602015-12-03 Yao Qi <yao.qi@linaro.org>
17061
17062 * gdb.base/sizeof.c: Don't include stdio.h and
17063 ../lib/unbuffer_output.c.
17064 (main): New variable 'size' and 'value'. Remove printf and
17065 gdb_unbuffer_output. Assign return value to size and value.
17066 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17067 at the beginning.
17068 (check_sizeof): Check the result by printing variable 'size'.
17069 (check_valueof): Check the result by printing variable 'value'.
17070
99fd02d9
YQ
170712015-12-01 Yao Qi <yao.qi@linaro.org>
17072
17073 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17074 for aarch64*-*-linux* target.
17075
f2faf941
PA
170762015-11-30 Pedro Alves <palves@redhat.com>
17077
17078 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17079
04bf20c5
PA
170802015-11-30 Pedro Alves <palves@redhat.com>
17081
17082 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17083 Handle non-stop mode vCont replies.
17084
09df4675
PA
170852015-11-30 Pedro Alves <palves@redhat.com>
17086
17087 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17088 prepare_for_testing. Start gdb with "set non-stop on" appended to
17089 GDBFLAGS. Lax expected stop output.
17090
58b584af
YQ
170912015-11-27 Yao Qi <yao.qi@linaro.org>
17092
17093 * gdb.arch/arm-neon.exp: New.
17094 * gdb.arch/arm-neon.c: New.
17095
dfcb77a8
YQ
170962015-11-27 Yao Qi <yao.qi@linaro.org>
17097
17098 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17099
88e8ec1b
YQ
171002015-11-27 Yao Qi <yao.qi@linaro.org>
17101
17102 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17103 frames-invalid annotation.
17104
bfde72c2
YQ
171052015-11-27 Yao Qi <yao.qi@linaro.org>
17106
17107 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17108
f6512a69
SM
171092015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17110
17111 * gdb.threads/names.exp: New file.
17112 * gdb.threads/names.c: New file.
17113 * README: Mention gdb,no_thread_names.
17114
46a3515b
MM
171152015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17116
17117 PR 19297
17118 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17119 support" error.
17120
62147a22
PA
171212015-11-24 Pedro Alves <palves@redhat.com>
17122
17123 PR 17539
17124 * gdb.base/display.exp: Expect displays to be sorted in ascending
17125 order. Use multi_line.
17126 * gdb.base/solib-display.exp: Likewise.
17127
2f341b6e
PA
171282015-11-24 Pedro Alves <palves@redhat.com>
17129
17130 PR 17539
25d49b86
PA
17131 * gdb.base/display.exp: Expect displays to be sorted in ascending
17132 order. Use multi_line.
17133 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17134
7e0aa6aa
PA
171352015-11-24 Pedro Alves <palves@redhat.com>
17136
17137 PR 17539
17138 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17139 threads in ascending order.
17140 * gdb.base/foll-fork.exp: Likewise.
17141 * gdb.base/foll-vfork.exp: Likewise.
17142 * gdb.base/multi-forks.exp: Likewise.
17143 * gdb.mi/mi-nonstop.exp: Likewise.
17144 * gdb.mi/mi-nsintrall.exp: Likewise.
17145 * gdb.multi/base.exp: Likewise.
17146 * gdb.multi/multi-arch.exp: Likewise.
17147 * gdb.python/py-inferior.exp: Likewise.
17148 * gdb.threads/break-while-running.exp: Likewise.
17149 * gdb.threads/execl.exp: Likewise.
17150 * gdb.threads/gcore-thread.exp: Likewise.
17151 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17152 * gdb.threads/kill.exp: Likewise.
17153 * gdb.threads/linux-dp.exp: Likewise.
17154 * gdb.threads/multiple-step-overs.exp: Likewise.
17155 * gdb.threads/next-bp-other-thread.exp: Likewise.
17156 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17157 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17158 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17159 * gdb.threads/thread-find.exp: Likewise.
17160 * gdb.threads/tls.exp: Likewise.
17161 * lib/mi-support.exp (mi_reverse_list): Delete.
17162 (mi_check_thread_states): No longer reverse list.
17163
2cc57ad8
PA
171642015-11-24 Pedro Alves <palves@redhat.com>
17165
17166 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17167 use lowercase.
17168
c93e8391
SM
171692015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17170
17171 * gdb.trace/actions.c: Include trace-common.h.
17172 (main): Add a location for a fast tracepoint.
17173 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17174 the normal tracepoints.
17175 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17176
045ccf91
SM
171772015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17178
17179 * save-trace.exp: Factor out code to these...
17180 (gdb_save_tracepoints): New.
17181 (gdb_load_tracepoints): New.
17182 (do_save_load_test): New.
17183
5506f9f6
KB
171842015-11-23 Kevin Buettner <kevinb@redhat.com>
17185
17186 * gdb.base/asmlabel.exp: New test.
17187 * gdb.base/asmlabel.c: New test case.
17188
16c3b12f
JB
171892015-11-23 Joel Brobecker <brobecker@adacore.com>
17190
17191 * gdb.base/wrong_frame_bt_full-main.c: New file.
17192 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17193 * gdb.base/wrong_frame_bt_full.exp: New file.
17194
155bfbd3
JB
171952015-11-23 Joel Brobecker <brobecker@adacore.com>
17196
17197 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17198
bb097445
JM
171992015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17200
206853a0 17201 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17202 pstate register when comparing registers values in
17203 sparc64-*-linux-gnu targets to avoid spurious differences.
17204
9c88ed8f
JM
172052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17206
206853a0 17207 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17208
96161e25
SL
172092015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17210
17211 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17212 as type argument to gdb_compile.
17213 * gdb.base/nested-subp2.exp: Likewise.
17214 * gdb.base/nested-subp3.exp: Likewise.
17215
340c2830
DV
172162015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17217
17218 * lib/dwarf.exp (_note): Fix left shift of negative value.
17219 * gdb.trace/trace-condition.exp: Likewise.
17220
c1862d0f
YQ
172212015-11-13 Yao Qi <yao.qi@linaro.org>
17222
17223 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17224 comments about d10v.
17225 (test_scalar_returns): Likewise.
17226 * gdb.base/d10v.ld: Remove.
17227 * gdb.base/overlays.exp: Remove the target triplet checking for
17228 d10v-*-*.
17229 * gdb.base/structs.exp (test_struct_returns): Remove the
17230 comments about d10v.
17231 (test_struct_calls): Likewise.
17232
77ae9c19
YQ
172332015-11-13 Yao Qi <yao.qi@linaro.org>
17234
17235 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17236 * gdb.base/gnu_vector.c: Don't include stdio.h.
17237 (main): Don't print res and call add_some_intvecs.
17238
430e004e
MK
172392015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17240
17241 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17242 macro.
17243 (func5): Removed.
17244 (func4): Use FAST_TRACEPOINT_LABEL.
17245 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17246 macro.
17247 (func): Removed.
17248 (thread_function): Use FAST_TRACEPOINT_LABEL.
17249 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17250 (func): Remove.
17251 (marker): Use FAST_TRACEPOINT_LABEL.
17252 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17253 (pendfunc1): Remove.
17254 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17255 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17256 (foo): Remove.
17257 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17258 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17259 macro.
17260 (func): Remove.
17261 (marker): Use FAST_TRACEPOINT_LABEL.
17262 * gdb.trace/trace-common.h: New header.
17263 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17264 macro.
17265 (func): Remove.
17266 (marker): Use FAST_TRACEPOINT_LABEL.
17267 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17268 (func): Remove.
17269 (thread_function): Use FAST_TRACEPOINT_LABEL.
17270
6e7675a7
MK
172712015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17272
17273 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17274 in front.
17275 * gdb.trace/change-loc.exp: Use global pcreg definition.
17276 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17277 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17278 in front.
17279 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17280 * gdb.trace/pending.exp: Likewise.
17281 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17282 * gdb.trace/trace-break.exp: Likewise.
17283 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17284 in front.
17285 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17286 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17287 in front.
17288 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17289
dddc0e16
JB
172902015-11-09 Joel Brobecker <brobecker@adacore.com>
17291
17292 * gdb.ada/fin_fun_out: New testcase.
17293
c6f0b406
KB
172942015-11-07 Kevin Buettner <kevinb@redhat.com>
17295
17296 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17297 value associated with DW_AT_byte_size.
17298 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17299 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17300 DW_AT_upper_bound.
17301
f01dcfd9
KB
173022015-11-07 Kevin Buettner <kevinb@redhat.com>
17303
17304 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17305 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17306 version.
17307 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17308 gdb.dwarf2/dw2-canonicalize-type.exp,
17309 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17310 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17311 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17312 provided by gdb_target_symbol_prefix_flags_asm.
17313 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17314 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17315 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17316 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17317 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17318 macros where needed). Use this macro for symbols which require
17319 the prefix provided by SYMBOL_PREFIX.
17320
2223449a
KB
173212015-11-05 Kevin Buettner <kevinb@redhat.com>
17322
17323 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17324 New procs.
17325 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17326 representing expressions, of more than one list element.
17327 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17328 to prepend linker symbol prefix to f.
17329 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17330 table_1 and table_2.
17331 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17332 Likewise, for f and g.
17333 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17334 for ptr.
17335 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17336 for main.
17337 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17338 table_1_ptr and table_2_ptr.
17339
6f2f1a3a
JK
173402015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17341 Joel Brobecker <brobecker@adacore.com>
17342
17343 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17344
566c56c9
MK
173452015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17346
17347 * gdb.reverse/s390-mvcle.c: New test.
17348 * gdb.reverse/s390-mvcle.exp: New file.
17349 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17350
d5f0636b
MK
173512015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17352
17353 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17354
7ad8b86c
MK
173552015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17356
17357 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17358 reaching marker2.
17359 * gdb.reverse/getresuid-reverse.exp: Likewise.
17360 * gdb.reverse/pipe-reverse.exp: Likewise.
17361 * gdb.reverse/readv-reverse.exp: Likewise.
17362 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17363 * gdb.reverse/time-reverse.exp: Likewise.
17364 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17365
4081c0f1
YQ
173662015-10-30 Yao Qi <yao.qi@linaro.org>
17367
17368 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17369 (empty_cycle): Remove.
17370 (main): Don't call empty_cycle. Don't use watch_count_done.
17371 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17372 empty_cycle. Rewrite the code counting HW watchpoints.
17373
452b4ba5
MK
173742015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17375
17376 * gdb.reverse/fstatat-reverse.c: New test.
17377 * gdb.reverse/fstatat-reverse.exp: New file.
17378 * gdb.reverse/getresuid-reverse.c: New test.
17379 * gdb.reverse/getresuid-reverse.exp: New file.
17380 * gdb.reverse/pipe-reverse.c: New test.
17381 * gdb.reverse/pipe-reverse.exp: New file.
17382 * gdb.reverse/readv-reverse.c: New test.
17383 * gdb.reverse/readv-reverse.exp: New file.
17384 * gdb.reverse/recvmsg-reverse.c: New test.
17385 * gdb.reverse/recvmsg-reverse.exp: New file.
17386 * gdb.reverse/time-reverse.c: New test.
17387 * gdb.reverse/time-reverse.exp: New file.
17388 * gdb.reverse/waitpid-reverse.c: New test.
17389 * gdb.reverse/waitpid-reverse.exp: New file.
17390
5e2e7507
JK
173912015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17392
17393 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17394
0fde2c53
DE
173952015-10-26 Doug Evans <dje@google.com>
17396
17397 PR symtab/17391
17398 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17399 * gdb.dwarf2/bad-regnum.c: New file.
17400 * gdb.dwarf2/bad-regnum.exp: New file.
17401
1a70ae97
DE
174022015-10-26 Doug Evans <dje@google.com>
17403
17404 PR python/18938
17405 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17406 file.
17407
27dc26ab
JK
174082015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17409
17410 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17411 for a change by "Mention language in compile error message".
17412
bed91f4d
SM
174132015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17414
17415 PR python/18073
17416 * gdb.python/py-type.c (C::a_method): New.
17417 (C::a_const_method): New.
17418 (C::a_static_method): New.
17419 (a_function): New.
17420 * gdb.python/py-type.exp (test_fields): Test getting fields
17421 from function and method.
17422
3f2f83dd
KB
174232015-10-21 Keven Boell <keven.boell@intel.com>
17424
17425 * gdb.fortran/vla-alloc-assoc.exp: New file.
17426 * gdb.fortran/vla-datatypes.exp: New file.
17427 * gdb.fortran/vla-datatypes.f90: New file.
17428 * gdb.fortran/vla-history.exp: New file.
17429 * gdb.fortran/vla-ptype-sub.exp: New file.
17430 * gdb.fortran/vla-ptype.exp: New file.
17431 * gdb.fortran/vla-sizeof.exp: New file.
17432 * gdb.fortran/vla-sub.f90: New file.
17433 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17434 * gdb.fortran/vla-value-sub-finish.exp: New file.
17435 * gdb.fortran/vla-value-sub.exp: New file.
17436 * gdb.fortran/vla-value.exp: New file.
17437 * gdb.fortran/vla-ptr-info.exp: New file.
17438 * gdb.mi/mi-vla-fortran.exp: New file.
17439 * gdb.mi/vla.f90: New file.
17440
27145d50
SL
174412015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17442
17443 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17444 of hardwired timeout value.
17445
5f3ff4f8
JK
174462015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17447 Pedro Alves <palves@redhat.com>
17448
17449 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17450 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17451
bfd09d20
JS
174522015-10-19 Josh Stone <jistone@redhat.com>
17453
17454 * gdb.base/catch-syscall.c: Include <sched.h>.
17455 (unknown_syscall): New variable.
17456 (main): Trigger a vfork and an unknown syscall.
17457 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17458 (unknown_syscall_number): Likewise.
17459 (check_call_to_syscall): Accept an optional syscall pattern.
17460 (check_return_from_syscall): Likewise.
17461 (check_continue): Likewise.
17462 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17463 (test_catch_syscall_skipping_return): New test toggling off 'catch
17464 syscall' to step over the syscall return, then toggling back on.
17465 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17466 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17467 (do_syscall_tests): Call test_catch_syscall_without_args and
17468 test_catch_syscall_mid_vfork.
17469 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17470 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17471
b32b93c6
AS
174722015-10-19 Andrew Stubbs <ams@codesourcery.com>
17473
17474 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17475 print g_vE): Add new pass patterns.
17476 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17477 print various symbol names for vptr fields.
17478
9d622bda
AB
174792015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17480
17481 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17482 results.
17483
0fd8ac1c
YQ
174842015-10-12 Yao Qi <yao.qi@linaro.org>
17485
17486 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17487
34240514
YQ
174882015-10-12 Yao Qi <yao.qi@linaro.org>
17489
17490 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17491 is aarch64*-*-linux*.
17492
8240f442
YQ
174932015-10-12 Yao Qi <yao.qi@linaro.org>
17494
17495 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17496 (can_relocate_bcond_true): ... it.
17497 (can_relocate_bcond_false): New function.
17498 (foo): Likewise.
17499 (can_relocate_bl): Likewise.
17500 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17501 can_relocate_bl.
17502
2520f728
PMR
175032015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17504
17505 * gdb.base/nested-addr.c: New file.
17506 * gdb.base/nested-addr.exp: New testcase.
17507
abcef95a
MM
175082015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17509
17510 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17511 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17512 its output. Ignore the output of "record goto begin" and instead
17513 check that GDB is replaying.
17514
145e3ddb
PA
175152015-10-09 Pedro Alves <palves@redhat.com>
17516
17517 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17518 (top level): Use it in the run with no args test.
17519
d5d8c4e1
IB
175202015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17521
17522 * gdb.dlang/properties.exp: New file.
17523
06e635ef
SL
175242015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17525
17526 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17527 whether or not address 0x1000 is mapped on the target.
17528
e019fd1d
SM
175292015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17530
17531 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17532 build.
17533
77ba2a67
MM
175342015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17535
17536 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17537 instruction-history test.
17538
c60eb31f
DE
175392015-09-28 Doug Evans <dje@google.com>
17540
17541 * gdb.base/gcore.c (array_func): Add reference to static_array.
17542
9a3c8263
SM
175432015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17544
17545 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17546 source line.
17547
9720e656
SL
175482015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17549
17550 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17551 short or char as base type.
17552
938d3bf2
SL
175532015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17554
17555 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17556 to allow any size enum.
17557
e6c2c623
PMR
175582015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17559
17560 * gdb.ada/array_ptr_renaming.exp: New testcase.
17561 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17562 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17563
06da0f77
PL
175642015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17565
17566 * gdb.trace/ftrace-lock.c: New file.
17567 * gdb.trace/ftrace-lock.exp: New file.
17568
4f51c22a
PL
175692015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17570
17571 * gdb.arch/insn-reloc.c: New file.
17572 * gdb.arch/ftrace-insn-reloc.exp: New file.
17573
7041adf4
PL
175742015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17575
17576 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17577 instruction.
17578 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17579 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17580 * gdb.trace/range-stepping.c: Likewise.
17581 * gdb.trace/trace-break.c: Likewise.
17582 * gdb.trace/trace-mt.c (thread_function): Likewise.
17583 * gdb.trace/ftrace.c (marker): Likewise.
17584 * gdb.trace/trace-condition.c (marker): Likewise.
17585 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17586 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17587 is_aarch64_target.
17588
015d2e7e
DE
175892015-09-18 Doug Evans <xdje42@gmail.com>
17590
17591 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17592 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17593
26b188a2
SL
175942015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17595
17596 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17597 the breakpoint.
17598
79dc332b
SL
175992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17600
17601 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17602 the pending breakpoint. Remove timeout override for "Run till
17603 MI pending breakpoint on pendfunc3 on thread 2" test.
17604
f57929f2
SL
176052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17606
17607 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17608 filename pattern.
17609
3f469b17
SL
176102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17611
17612 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17613 in breakpoint filename pattern.
17614
515b89b3
SL
176152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17616
7800dbe4
SL
17617 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17618
176192015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17620
515b89b3
SL
17621 * gdb.linespec/explicit.exp: Check for readline support for
17622 tab-completion tests. Fix obvious typo.
17623
d2939ba2
MM
176242015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17625
17626 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17627 and replay.
17628
cbb55fa7
MM
176292015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17630
17631 * gdb.btrace/non-stop.c: New.
17632 * gdb.btrace/non-stop.exp: New.
17633
43691ca1
PL
176342015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17635 Yao Qi <yao.qi@linaro.org>
17636
17637 * gdb.trace/trace-condition.c: New file.
17638 * gdb.trace/trace-condition.exp: New file.
17639
d78908cf
WW
176402015-09-16 Wei-cheng Wang <cole945@gmail.com>
17641
17642 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17643 for testing bytecode compilation.
17644
1ed415e2
PA
176452015-09-16 Pedro Alves <palves@redhat.com>
17646 Sandra Loosemore <sandra@codesourcery.com>
17647
17648 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17649 (SECONDS): Redefine.
17650 (main): Call pthread_kill and alarm early.
17651 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17652 support.
17653 (test): If the target can't hardware step and doesn't support
17654 displaced stepping, increase the timeout.
17655
d136eff5
PA
176562015-09-16 Pedro Alves <palves@redhat.com>
17657
17658 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17659 (enable_debug): New procedures.
17660 (test): Use them. Bail out if waiting for threads fails.
17661 (top level): Bail out if a test fails.
17662
991f019c
YQ
176632015-09-16 Yao Qi <yao.qi@linaro.org>
17664
17665 * gdb.asm/asm-source.exp: Set asm-arch for
17666 aarch64*-*-* target.
17667 * gdb.asm/aarch64.inc: New file.
17668
bfca584f
PMR
176692015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17670
17671 * gdb.ada/array_of_variable_length.exp: New testcase.
17672 * gdb.ada/array_of_variable_length/foo.adb: New file.
17673 * gdb.ada/array_of_variable_length/pck.adb: New file.
17674 * gdb.ada/array_of_variable_length/pck.ads: New file.
17675
b326e587
DE
176762015-09-15 Doug Evans <dje@google.com>
17677
17678 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17679 of function static local variable.
17680
5382cfab
PW
176812015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17682
17683 * gdb.threads/tls-so_extern.exp: New test file.
17684 * gdb.threads/tls-so_extern.c: New test file.
17685 * gdb.threads/tls-so_extern_main.c: New test file.
17686
141c5cc4
JK
176872015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17688
17689 * gdb.opt/solib-intra-step-lib.c: New file.
17690 * gdb.opt/solib-intra-step-main.c: New file.
17691 * gdb.opt/solib-intra-step.exp: New file.
17692
d15dcecd
PA
176932015-09-15 Pedro Alves <palves@redhat.com>
17694
17695 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17696 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17697
4c2f2a79
PA
176982015-09-14 Pedro Alves <palves@redhat.com>
17699
17700 * gdb.base/hook-stop-continue.c: Delete.
17701 * gdb.base/hook-stop-continue.exp: Delete.
17702 * gdb.base/hook-stop-frame.c: Delete.
17703 * gdb.base/hook-stop-frame.exp: Delete.
17704 * gdb.base/hook-stop.c: New file.
17705 * gdb.base/hook-stop.exp: New file.
17706
919e6dbe
PMR
177072015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17708
17709 * gdb.ada/access_to_packed_array.exp: New testcase.
17710 * gdb.ada/access_to_packed_array/foo.adb: New file.
17711 * gdb.ada/access_to_packed_array/pack.adb: New file.
17712 * gdb.ada/access_to_packed_array/pack.ads: New file.
17713
157280a4
MM
177142015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17715
17716 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17717 buffer size test.
17718
2fd33e94
DB
177192015-09-11 Don Breazeal <donb@codesourcery.com>
17720
17721 * gdb.base/foll-exec.c: Add copyright header. Fix
17722 formatting issues.
17723 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17724 (do_exec_tests): Use clean_restart in place of zap_session,
17725 and for test initialization. Fix formatting issues. Use
17726 fail in place of perror.
17727 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17728 an expect statement to match an expression with output from
17729 the program under debug.
17730 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17731 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17732 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17733 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17734 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17735
e70b6e8e
DE
177362015-09-09 Doug Evans <dje@google.com>
17737
17738 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17739
7a551a51
DE
177402015-09-09 Doug Evans <dje@google.com>
17741
17742 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17743
4c666f84
DE
177442015-09-09 Doug Evans <dje@google.com>
17745
17746 * gdb.base/savedregs.exp: Fix typo.
17747
243a9253
PA
177482015-09-09 Pedro Alves <palves@redhat.com>
17749
17750 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17751
c0fa8fbd
SL
177522015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17753
17754 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17755 command actually switches threads. Give up on remaining
17756 tests if target fails to stop at breakpoint.
17757
cd7c1778
PMR
177582015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17759
17760 * gdb.ada/funcall_char.exp: New testcase.
17761 * gdb.ada/funcall_char/foo.adb: New file.
17762
dc5c8746
PMR
177632015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17764
17765 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17766 expected outputs. Add two testcases for completing ambiguous
17767 functions.
17768 * gdb.ada/complete/aux_pck.adb: New file.
17769 * gdb.ada/complete/aux_pck.ads: New file.
17770 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17771 Ambiguous_Func functions.
17772 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17773 * gdb.ada/complete/pck.adb: Likewise.
17774
4e83a1e7
UW
177752015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17776
17777 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17778 failures to run the test program under GDB.
17779
8ce74153
LM
177802015-08-26 Luis Machado <lgustavo@codesourcery.com>
17781
17782 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17783 to C.
17784
e9756d52
PP
177852015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17786
17787 * gdb.base/run-after-attach.exp: New test file.
17788 * gdb.base/run-after-attach.c: New test file.
17789
8d37573b
DB
177902015-08-26 Don Breazeal <donb@codesourcery.com>
17791
17792 * gdb.base/foll-exec-2.c: New test program.
17793 * gdb.base/foll-exec-2.exp: New test.
17794
63e43d3a
PMR
177952015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17796
17797 * gdb.base/nested-subp1.exp: New file.
17798 * gdb.base/nested-subp1.c: New file.
17799 * gdb.base/nested-subp2.exp: New file.
17800 * gdb.base/nested-subp2.c: New file.
17801 * gdb.base/nested-subp3.exp: New file.
17802 * gdb.base/nested-subp3.c: New file.
17803
3d40fbb5
PA
178042015-08-24 Pedro Alves <palves@redhat.com>
17805
17806 * gdb.server/connect-without-multi-process.c: New file.
17807 * gdb.server/connect-without-multi-process.exp: New file.
17808
4422ac93
LM
178092015-08-24 Luis Machado <lgustavo@codesourcery.com>
17810
17811 * gdb.opt/inline-markers.c: Make z int.
17812
91dddb86
LM
178132015-08-24 Luis Machado <lgustavo@codesourcery.com>
17814
17815 * gdb.opt/inline-markers.c: Make z volatile.
17816
a48847ee
LM
178172015-08-24 Luis Machado <lgustavo@codesourcery.com>
17818
17819 * gdb.opt/inline-bt.c: New volatile global z.
17820 * gdb.opt/inline-cmds.c: Likewise.
17821 * gdb.opt/inline-locals.c: Likewise.
17822 * gdb.opt/inline-markers.c: New extern global z.
17823 (marker): Use z.
17824 (inline_fn): Likewise.
17825
0ebbc52b
PA
178262015-08-24 Pedro Alves <palves@redhat.com>
17827
17828 * config/m32r-stub.exp: Remove file.
17829 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17830 * gdb.base/call-rt-st.exp: Likewise.
17831 * gdb.base/call-strs.exp: Likewise.
17832 * gdb.base/default.exp: Remove references to h8300-*-hms and
17833 *-*-udi*.
17834 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17835
77c365df
AA
178362015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17837
17838 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17839 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17840 and "return" use KFAIL when GDB can not read/write the vector
17841 return value.
17842
4313b8c0
GB
178432015-08-21 Gary Benson <gbenson@redhat.com>
17844
17845 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17846
0e433b32
PA
178472015-08-20 Pedro Alves <palves@redhat.com>
17848
17849 * gdb.server/solib-list.exp: No longer expect an interior stop in
17850 non-stop mode.
17851
221e1a37
PA
178522015-08-20 Pedro Alves <palves@redhat.com>
17853
17854 * gdb.server/connect-stopped-target.c: New file.
17855 * gdb.server/connect-stopped-target.exp: New file.
17856
40e3ad0e
PA
178572015-08-20 Pedro Alves <palves@redhat.com>
17858
17859 * gdb.dwarf2/comp-unit-lang.exp: New file.
17860 * gdb.dwarf2/comp-unit-lang.c: New file.
17861
af39b327
PMR
178622015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17863
17864 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17865 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17866
7d45c7c3 178672015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17868
7d45c7c3
KB
17869 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17870 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17871
4d6cceb4
DE
178722015-08-18 Doug Evans <dje@google.com>
17873 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17874
17875 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17876 skip_python_tests. New arg prompt_regexp.
17877 (skip_python_tests): New function.
17878 * lib/mi-support.exp (mi_skip_python_tests): New function.
17879 * gdb.python/py-mi-objfile-gdb.py: New file.
17880 * gdb.python/py-mi-objfile.c: New file.
17881 * gdb.python/py-mi-objfile.exp: New file.
17882
ad89c2aa
KS
178832015-08-17 Keith Seitz <keiths@redhat.com>
17884
17885 * gdb.linespec/explicit.exp: Move strace test from here ...
17886 * gdb.trace/strace.exp: ... to here.
17887
e3ae3c43
PP
178882015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17889
17890 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17891 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17892
604b2636
DE
178932015-08-14 Doug Evans <xdje42@gmail.com>
17894
17895 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17896 inferior before selecting a new file.
17897
6ff0ba5f
DE
178982015-08-14 Doug Evans <xdje42@gmail.com>
17899
17900 * gdb.mi/mi-disassemble.exp: Update.
17901 * gdb.base/disasm-optim.S: New file.
17902 * gdb.base/disasm-optim.c: New file.
17903 * gdb.base/disasm-optim.h: New file.
17904 * gdb.base/disasm-optim.exp: New file.
17905
9ca98f92
KS
179062015-08-14 Keith Seitz <keiths@redhat.com>
17907
17908 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17909 "evaluated-by".
17910
52bbc560
JB
179112015-08-13 Joel Brobecker <brobecker@adacore.com>
17912
17913 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17914
5d8c3ed3
PMR
179152015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17916
17917 * gdb.ada/fun_renaming.exp: New testcase.
17918 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17919 * gdb.ada/fun_renaming/pack.adb: New file.
17920 * gdb.ada/fun_renaming/pack.ads: New file.
17921
ea8812bc
KS
179222015-08-12 Keith Seitz <keiths@redhat.com>
17923
17924 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17925 gdb_get_line_number.
17926
4dafcdeb
JB
179272015-08-12 Joel Brobecker <brobecker@adacore.com>
17928
17929 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17930 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17931 gdb.base/dso2dso.exp: New files.
17932
5ba32597
SDJ
179332015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17934 Pedro Alves <palves@redhat.com>
17935 Keith Seitz <keiths@redhat.com>
17936
17937 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17938 GDBFLAGS.
17939
b6dafabf
PP
179402015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17941
17942 * gdb.base/gdbhistsize-history.exp
17943 (test_histsize_history_setting): Use save_vars.
17944 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17945 Use save_vars.
17946 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17947 * gdb.base/readline.exp: Use save_vars.
17948
abe8e607
PP
179492015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17950
17951 * lib/gdb.exp (save_vars): New proc.
17952
629500fa
KS
179532015-08-11 Keith Seitz <keiths@redhat.com>
17954
17955 * gdb.base/help.exp: Update help_breakpoint_text.
17956
eb8c4e2e
KS
179572015-08-11 Keith Seitz <keiths@redhat.com>
17958
17959 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17960 (at toplevel): Call test_explicit_breakpoints.
17961 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17962 breakpoints.
17963 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17964 breakpoint conditions, "-cond".
17965
87f0e720
KS
179662015-08-11 Keith Seitz <keiths@redhat.com>
17967
17968 * gdb.linespec/3explicit.c: New file.
17969 * gdb.linespec/cpexplicit.cc: New file.
17970 * gdb.linespec/cpexplicit.exp: New file.
17971 * gdb.linespec/explicit.c: New file.
17972 * gdb.linespec/explicit.exp: New file.
17973 * gdb.linespec/explicit2.c: New file.
17974 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17975 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17976 before using in the matching pattern.
17977 Clarify that `prefix' is a regular expression.
17978
f00aae0f
KS
179792015-08-11 Keith Seitz <keiths@redhat.com>
17980
17981 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17982 test.
17983 Add tests for missing ",FMT" and ",".
17984
e27852be
DE
179852015-08-10 Doug Evans <dje@google.com>
17986 Keith Seitz <keiths@redhat.com>
17987
17988 PR gdb/17960
17989 * gdb.base/completion.exp: Add location completer tests.
17990
7f03bd92
PA
179912015-08-07 Pedro Alves <palves@redhat.com>
17992
17993 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17994 tests here.
17995 (top level): Run do_test with and without displaced stepping.
17996
3fc8eb30
PA
179972015-08-07 Pedro Alves <palves@redhat.com>
17998
17999 * gdb.base/valgrind-disp-step.c: New file.
18000 * gdb.base/valgrind-disp-step.exp: New file.
18001
d4569d7b
PA
180022015-08-07 Pedro Alves <palves@redhat.com>
18003
18004 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18005 Delete function.
18006 (main): Add alarm. Run an infinite loop instead of calling
18007 wait_threads.
18008 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18009 comment.
18010 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18011 Delete function.
18012 (main): Add alarm. Run an infinite loop instead of calling
18013 wait_threads.
18014 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18015 comment.
18016
e1316e60
PA
180172015-08-07 Pedro Alves <palves@redhat.com>
18018
18019 * gdb.base/checkpoint-ns.exp: New file.
18020 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18021 standard_testfile.
18022
da8c46d2
MM
180232015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18024
18025 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18026 * gdb.btrace/instruction_history.exp: Update.
18027 * gdb.btrace/tsx.exp: New.
18028 * gdb.btrace/tsx.c: New.
18029
de1c2c52
PA
180302015-08-06 Pedro Alves <palves@redhat.com>
18031
18032 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18033 increase timeout.
18034 * gdb.reverse/until-precsave.exp: Bump timeouts.
18035
782e0bf4
PA
180362015-08-06 Pedro Alves <palves@redhat.com>
18037
18038 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18039
83e97ed0
PA
180402015-08-06 Pedro Alves <palves@redhat.com>
18041
18042 PR gdb/18749
18043 * gdb.threads/process-dies-while-handling-bp.c: New file.
18044 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18045
863d01bd
PA
180462015-08-06 Pedro Alves <palves@redhat.com>
18047
18048 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18049 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18050
0a39bb32
PA
180512015-08-05 Pedro Alves <palves@redhat.com>
18052
18053 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18054 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18055
ee2d2b10
SL
180562015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18057
18058 * gdb.base/bp-permanent.exp: Report test as unsupported if
18059 the target cannot stop at the permanent breakpoint.
18060
4e1bdb00
DE
180612015-08-03 Doug Evans <dje@google.com>
18062
18063 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18064 10000.
18065
3d338901
DE
180662015-08-03 Doug Evans <dje@google.com>
18067
18068 * Makefile.in (workers/%.worker, build-perf): New rule.
18069 (GDB_PERFTEST_MODE): New variable.
18070 (check-perf): Use it.
18071 (clean): Clean up gdb.perf parallel build subdirs.
18072 * lib/build-piece.exp: New file.
18073 * lib/gdb.exp (make_gdb_parallel_path): New function
18074 (standard_output_file, standard_temp_file): Call it.
18075 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18076 of $GDB_PARALLEL.
18077 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18078
af061d3e
DE
180792015-08-03 Doug Evans <dje@google.com>
18080
8e1afc81 18081 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18082 (LOG_FILE_NAME): New global.
18083 (TextReporter.__init__): Initialize self.txt_sum.
18084 (TextReporter.report): Add support for multiple data-points.
18085 Move report to perftest.sum, put raw data in perftest.log.
18086 (TextReporter.start): Open sum and log files.
18087 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18088 * gdb.perf/lib/perftest/testresult.py
18089 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18090
2c8c5d37
PA
180912015-07-31 Pedro Alves <palves@redhat.com>
18092
18093 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18094 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18095 kill_wait_spawned_process instead of explicit "kill -9".
18096 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18097 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18098 kill_wait_spawned_process.
18099 * gdb.base/attach-twice.exp: Likewise.
18100 * gdb.base/attach.exp: Likewise.
18101 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18102 gdb_test_multiple.
18103 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18104 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18105 kill_wait_spawned_process.
18106 * gdb.base/valgrind-infcall.exp: Likewise.
18107 * gdb.multi/multi-attach.exp: Likewise.
18108 * gdb.python/py-prompt.exp: Likewise.
18109 * gdb.python/py-sync-interp.exp: Likewise.
18110 * gdb.server/ext-attach.exp: Likewise.
18111 * gdb.threads/attach-into-signal.exp (corefunc): Use
18112 spawn_wait_for_attach, spawn_id_get_pid and
18113 kill_wait_spawned_process.
18114 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18115 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18116 spawn_id_get_pid and kill_wait_spawned_process.
18117 * gdb.threads/attach-stopped.exp (corefunc): Use
18118 spawn_wait_for_attach, spawn_id_get_pid and
18119 kill_wait_spawned_process.
18120 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18121 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18122 kill_wait_spawned_process instead of explicit "kill -9".
18123 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18124 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18125 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18126 processes. Don't map cygwin/windows pids here. Now returns a
18127 spawn id list.
18128
032a0fca
SL
181292015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18130
18131 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18132 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18133 correct patch.
18134
61a934ca
SL
181352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18136
18137 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18138
4bc4d428
SL
181392015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18140
18141 Reapply:
18142 2014-05-21 Mark Wielaard <mjw@redhat.com>
18143
18144 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18145
998d452a
PA
181462015-07-30 Pedro Alves <palves@redhat.com>
18147
18148 * linux-low.c (handle_extended_wait): Set the child's last
18149 reported status to TARGET_WAITKIND_STOPPED.
18150
69dde7dc
PA
181512015-07-30 Pedro Alves <palves@redhat.com>
18152
18153 PR threads/18600
18154 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18155 only shows inferior 1.
18156
4dd63d48
PA
181572015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18158 Pedro Alves <palves@redhat.com>
18159
18160 PR threads/18600
18161 * gdb.threads/fork-plus-threads.c: New file.
18162 * gdb.threads/fork-plus-threads.exp: New file.
18163
d618e4c5
PP
181642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18165
18166 * gdb.base/batch-preserve-term-settings.exp
18167 (test_terminal_settings_preserved_after_cli_exit): Use
18168 send_quit_command.
18169
1eef6428
PA
181702015-07-29 Pedro Alves <palves@redhat.com>
18171 Don Breazeal <donb@codesourcery.com>
18172
18173 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18174 output from both inferior_spawn_id and gdb_spawn_id.
18175
7da5b897
SDJ
181762015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18177
18178 * gdb.threads/attach-into-signal.exp (corefunc): Use
18179 with_test_prefix on nested loops, uniquefying the test messages.
18180
dac804df
SDJ
181812015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18182
18183 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18184 commit.
18185
06265e53
PP
181862015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18187
18188 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18189 New proc.
18190 (test_terminal_settings_preserved_after_sigterm): New test.
18191
18206ca3
PP
181922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18193
18194 * gdb.base/batch-preserve-term-settings.exp
18195 (test_terminal_settings_preserved_after_cli_exit): New test.
18196
90074d11
PP
181972015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18198
18199 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18200 manipulation of saved_gdbflags.
18201 (test_terminal_settings_preserved): Remove global declaration of
18202 the unused variable pagination_prompt. Remove manipulation of
18203 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18204 GDBFLAGS.
18205
eb1a7902
PA
182062015-07-29 Pedro Alves <palves@redhat.com>
18207
18208 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18209
8b75dd3b
PA
182102015-07-29 Pedro Alves <palves@redhat.com>
18211
18212 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18213 at the top.
18214
dedad4e3
PA
182152015-07-29 Pedro Alves <palves@redhat.com>
18216
18217 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18218 (main): Call gdb_unbuffer_output.
18219 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18220 (main): Call gdb_unbuffer_output.
18221 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18222 (main): Call gdb_unbuffer_output.
18223 * gdb.base/call-strs.exp: Adjust to step over the
18224 gdb_unbuffer_output call.
18225 * gdb.base/catch-gdb-caused-signals.c: Include
18226 "../lib/unbuffer_output.c".
18227 (main): Call gdb_unbuffer_output.
18228 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18229 (main): Call gdb_unbuffer_output.
18230 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18231 (main): Call gdb_unbuffer_output.
18232 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18233 (main): Call gdb_unbuffer_output.
18234 * gdb.base/shlib-call.exp: Adjust to step over the
18235 gdb_unbuffer_output call.
18236 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18237 (main): Call gdb_unbuffer_output.
18238 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18239 (main): Call gdb_unbuffer_output.
18240 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18241 (main): Rename to ...
18242 (test): ... this.
18243 (main): Reimplement.
18244 * gdb.base/varargs.exp: Run to test instead of to main.
18245 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18246 (main): Call gdb_unbuffer_output.
18247
58789a91
PA
182482015-07-29 Pedro Alves <palves@redhat.com>
18249
18250 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18251 factore out from mi_continue_dprintf. For call-style dprintfs,
18252 expect dprintf output out of $inferior_spawn_id.
18253 (mi_continue_dprintf): Use mi_expect_dprintf.
18254 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18255 (main): Call gdb_unbuffer_output.
18256
e8376742
PA
182572015-07-29 Pedro Alves <palves@redhat.com>
18258
18259 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18260 (default_mi_gdb_start): Set inferior_spawn_id instead of
18261 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18262 gdb_spawn_id.
18263 (mi_gdb_test): Always expect inferior output from both
18264 $inferior_spawn_id and $gdb_spawn_id.
18265
08280010
PA
182662015-07-29 Pedro Alves <palves@redhat.com>
18267
18268 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18269 send_inferior and $inferior_spawn_id.
18270
4d30e432
PA
182712015-07-29 Pedro Alves <palves@redhat.com>
18272
18273 * gdb.gdb/complaints.exp (test_initial_complaints)
18274 (test_serial_complaints, test_short_complaints): Use
18275 gdb_test_stdio.
18276 (test_empty_complaint): Handle $inferior_spawn_id !=
18277 $gdb_spawn_id.
18278
0d30a335
PA
182792015-07-29 Pedro Alves <palves@redhat.com>
18280
18281 * gdb.base/varargs.exp: Use gdb_test_stdio.
18282
39413b29
PA
182832015-07-29 Pedro Alves <palves@redhat.com>
18284
18285 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18286
7cb000a9
PA
182872015-07-29 Pedro Alves <palves@redhat.com>
18288
18289 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18290
d7b8ac82
PA
182912015-07-29 Pedro Alves <palves@redhat.com>
18292
18293 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18294 parameter into two new parameters, "inf_result" and "gdb_result".
18295 Expect inferior output and gdb output from $inferior_spawn_id and
18296 $gdb_spawn_id, respectively. Adjust all callers.
18297
789c3a0c
PA
182982015-07-29 Pedro Alves <palves@redhat.com>
18299
18300 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18301 of gdb_test_sequence.
18302
77e760c3
PA
183032015-07-29 Pedro Alves <palves@redhat.com>
18304
18305 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18306 (saw_spurious_output): Expect inferior output from
18307 $inferior_spawn_id. Use gdb_test_stdio.
18308
8396d2cd
PA
183092015-07-29 Pedro Alves <palves@redhat.com>
18310
18311 * gdb.base/dprintf.exp: Use standard_testfile. Change
18312 prepare_for_testing call.
18313 (srcfile): Don't set.
18314 (restart): New procedure.
18315 (test_dprintf): New procecure, use to continue over dprintfs.
18316 (test_call, test_agent): New procedures, tests moved here.
18317 Restart gdb and recreate dprintfs. Adjust expected output.
18318
2051d61f
PA
183192015-07-29 Pedro Alves <palves@redhat.com>
18320
18321 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18322
452397af
PA
183232015-07-29 Pedro Alves <palves@redhat.com>
18324
18325 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18326
8aed9555
PA
183272015-07-29 Pedro Alves <palves@redhat.com>
18328
18329 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18330 gdb_test_stdio.
18331
188a61b4
PA
183322015-07-29 Pedro Alves <palves@redhat.com>
18333
18334 * lib/gdb.exp (gdb_test_stdio): New procedure.
18335
12264a45
PA
183362015-07-29 Pedro Alves <palves@redhat.com>
18337
18338 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18339
23ffc893
PA
183402015-07-29 Pedro Alves <palves@redhat.com>
18341
18342 * gdb.base/call-signal-resume.exp: Remove check for
18343 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18344 * gdb.base/unwindonsignal.exp: Likewise.
18345 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18346 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18347
65566918
PA
183482015-07-29 Pedro Alves <palves@redhat.com>
18349
18350 * gdb.base/siginfo-addr.c (pass): New function.
18351 (handler): Call it iff si_addr is correct.
18352 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18353 Set a breakpoint at "pass" and continue to it.
18354
d60a9221
SDJ
183552015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18356
18357 * gdb.python/py-objfile.exp: Make some tests have unique names.
18358 * gdb.python/py-pp-registration.exp: Likewise.
18359
bde40b8f
PA
183602015-07-28 Pedro Alves <palves@redhat.com>
18361
18362 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18363
13e1dec8
SM
183642015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18365
18366 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18367
da33c9a7
SM
183682015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18369
18370 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18371
077836f7
PP
183722015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18373
18374 * gdb.base/gdb-sigterm-2.exp: New test.
18375
b8cc7b2e
DE
183762015-07-25 Doug Evans <xdje42@gmail.com>
18377
18378 Revert:
18379 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18380 (workers/%.worker, build-perf): New rule.
18381 (GDB_PERFTEST_MODE): New variable.
18382 (check-perf): Use it.
18383 (clean): Clean up gdb.perf parallel build subdirs.
18384 * lib/build-piece.exp: New file.
18385 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18386 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18387 name.
18388 (standard_temp_file): Ditto.
18389 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18390 of $GDB_PARALLEL.
18391
c8bd4544
DE
183922015-07-24 Doug Evans <dje@google.com>
18393
18394 * gdb.perf/lib/perftest/utils.py: New file.
18395 * gdb.perf/gm-hello.cc: New file.
18396 * gdb.perf/gm-pervasive-typedef.cc: New file.
18397 * gdb.perf/gm-pervasive-typedef.h: New file.
18398 * gdb.perf/gm-std.cc: New file.
18399 * gdb.perf/gm-std.h: New file.
18400 * gdb.perf/gm-use-cerr.cc: New file.
18401 * gdb.perf/gm-utils.h: New file.
18402 * gdb.perf/gmonster-null-lookup.py: New file.
18403 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18404 * gdb.perf/gmonster-print-cerr.py: New file.
18405 * gdb.perf/gmonster-ptype-string.py: New file.
18406 * gdb.perf/gmonster-runto-main.py: New file.
18407 * gdb.perf/gmonster-select-file.py: New file.
18408 * gdb.perf/gmonster1-null-lookup.exp: New file.
18409 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18410 * gdb.perf/gmonster1-print-cerr.exp: New file.
18411 * gdb.perf/gmonster1-ptype-string.exp: New file.
18412 * gdb.perf/gmonster1-runto-main.exp: New file.
18413 * gdb.perf/gmonster1-select-file.exp: New file.
18414 * gdb.perf/gmonster1.cc: New file.
18415 * gdb.perf/gmonster1.exp: New file.
18416 * gdb.perf/gmonster2-null-lookup.exp: New file.
18417 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18418 * gdb.perf/gmonster2-print-cerr.exp: New file.
18419 * gdb.perf/gmonster2-ptype-string.exp: New file.
18420 * gdb.perf/gmonster2-runto-main.exp: New file.
18421 * gdb.perf/gmonster2-select-file.exp: New file.
18422 * gdb.perf/gmonster2.cc: New file.
18423 * gdb.perf/gmonster2.exp: New file.
18424
6eab34f3
DE
184252015-07-24 Doug Evans <dje@google.com>
18426
18427 * gdb.perf/README: New file.
18428 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18429 * lib/gen-perf-test.exp: New file.
18430
63738bfd
DE
184312015-07-24 Doug Evans <dje@google.com>
18432
18433 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18434 (PerfTest::startup): New function.
18435 (PerfTest::run): Return result of calling body.
18436 (PerfTest::assemble): Rewrite.
18437 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18438 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18439 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18440 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18441 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18442
7b606f95
DE
184432015-07-24 Doug Evans <dje@google.com>
18444
18445 * lib/gdb.exp (clean_restart): Make executable optional.
18446
a97b16b8
DE
184472015-07-24 Doug Evans <dje@google.com>
18448
18449 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18450 compiler_info references.
18451 * gdb.cp/temargs.exp: Ditto.
18452 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18453 (get_compiler_info): Early exit if already computed. Set compiler_info
18454 to "unknown" if there was a problem.
18455 (test_compiler_info): Add function comment. Call get_compiler_info.
18456
35baa57f
DE
184572015-07-24 Doug Evans <dje@google.com>
18458
18459 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18460 (workers/%.worker, build-perf): New rule.
18461 (GDB_PERFTEST_MODE): New variable.
18462 (check-perf): Use it.
18463 (clean): Clean up gdb.perf parallel build subdirs.
18464 * lib/build-piece.exp: New file.
18465 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18466 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18467 name.
18468 (standard_temp_file): Ditto.
18469 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18470 of $GDB_PARALLEL.
18471
6ebea266
DE
184722015-07-24 Doug Evans <dje@google.com>
18473
18474 * lib/future.exp (gdb_default_target_compile): New option
18475 "early_flags".
18476 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18477 --as-needed.
18478
1e76a7e9
SDJ
184792015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18480
18481 * gdb.base/catch-syscall.exp: Call gdb_exit before
18482 gdb_skip_xml_test.
18483
5068630a
PA
184842015-07-24 Pedro Alves <palves@redhat.com>
18485
18486 * gdb.python/py-events.exp: Accept output between the stop event
18487 and the prompt.
18488 * gdb.python/py-evsignal.exp: Likewise.
18489 * gdb.python/py-evthreads.exp: Likewise.
18490
77598427
PA
184912015-07-24 Pedro Alves <palves@redhat.com>
18492
18493 PR gdb/18717
18494 * gdb.threads/non-ldr-exit.c: New file.
18495 * gdb.threads/non-ldr-exit.exp: New file.
18496
11e6c98f
YQ
184972015-07-24 Yao Qi <yao.qi@linaro.org>
18498
18499 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18500 restarting process.
18501
51aee833
YQ
185022015-07-24 Yao Qi <yao.qi@linaro.org>
18503
18504 * gdb.server/ext-restart.exp: New file.
18505
8cfe207c
YQ
185062015-07-24 Yao Qi <yao.qi@linaro.org>
18507
18508 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18509 argument options.
18510 * gdb.server/ext-wrapper.exp: New file.
18511
cc12ce38
DE
185122015-07-23 Doug Evans <dje@google.com>
18513
18514 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18515 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18516
d0d84780
PMR
185172015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18518
18519 * gdb.ada/var_arr_typedef.exp: New testcase.
18520 * gdb.ada/var_arr_typedef/pack.adb: New file.
18521 * gdb.ada/var_arr_typedef/pack.ads: New file.
18522 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18523
8b558f79
JB
185242015-07-20 Joel Brobecker <brobecker@adacore.com>
18525
18526 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18527
775a3298
JK
185282015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18529
18530 * gdb.arch/i386-biarch-core.exp: Replace istarget
18531 by "complete set gnutarget". Remove expectation for the "core-file"
18532 command.
18533
db1ff28b
JK
185342015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18535
18536 Revert the previous commit:
18537 Tests for validate symbol file using build-id.
18538
0a94970d
JK
185392015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18540
18541 Tests for validate symbol file using build-id.
18542 * gdb.base/solib-mismatch-lib.c: New file.
18543 * gdb.base/solib-mismatch-libmod.c: New file.
18544 * gdb.base/solib-mismatch.c: New file.
18545 * gdb.base/solib-mismatch.exp: New file.
18546
03346981
SL
185472015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18548
18549 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18550 nios2-*-linux*.
18551 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18552 * gdb.base/siginfo.exp: Likewise.
18553 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18554
42422cc7
PL
185552015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18556
18557 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18558 Move it to ...
18559 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18560 ... here.
18561 * gdb.trace/range-stepping.exp: Check that the target supports
18562 range stepping.
18563
cfa68bae
JK
185642015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18565
18566 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18567
8ffdba26
PA
185682015-07-14 Pedro Alves <palves@redhat.com>
18569
18570 * gdb.base/killed-outside.exp: New file.
18571 * gdb.base/killed-outside.c: New file.
18572
218a5a11
JK
185732015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18574
18575 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18576 (n at main): New.
18577 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18578
e03ed3c6
AA
185792015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18580
18581 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18582 infcall tests instead of setting up for KFAIL.
18583
485668e5
MM
185842015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18585
18586 * gdb.btrace/record_goto-step.exp: New.
18587
08464196
JK
185882015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18589
18590 PR compile/18484
18591 * gdb.compile/compile.c (struct struct_type): Add volatile to
18592 selffield's type.
18593 * gdb.compile/compile.exp
18594 (compile code struct_object.selffield = &struct_object): Skip further
18595 struct_object tests if this one xfails.
18596
bcf5c1d9
RC
185972015-07-08 Robert O'Callahan <robert@ocallahan.org>
18598
18599 PR exp/18617
18600 * gdb.trace/ax.exp: Add test.
18601
4931af25
YQ
186022015-07-07 Yao Qi <yao.qi@linaro.org>
18603
18604 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18605 instead of istarget "aarch64*-*-*".
18606 * gdb.arch/aarch64-fp.exp: Likewise.
18607 * gdb.base/float.exp: Likewise.
18608 * gdb.reverse/aarch64.exp: Likewise.
18609 * lib/gdb.exp (is_aarch64_target): New proc.
18610
9fcf688e
YQ
186112015-07-07 Yao Qi <yao.qi@linaro.org>
18612
18613 * lib/gdb.exp (is_aarch32_target): New proc.
18614 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18615 instead of "istarget "arm*-*-*"".
18616 * gdb.arch/arm-disp-step.exp: Likewise.
18617 * gdb.arch/thumb-bx-pc.exp: Likewise.
18618 * gdb.arch/thumb-prologue.exp: Likewise.
18619 * gdb.arch/thumb-singlestep.exp: Likewise.
18620 * gdb.base/disp-step-syscall.exp: Likewise.
18621 * gdb.base/float.exp: Likewise.
18622
fbd8d50d
YQ
186232015-07-07 Yao Qi <yao.qi@linaro.org>
18624
18625 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18626 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18627
71be1fdc
YQ
186282015-07-07 Yao Qi <yao.qi@linaro.org>
18629
18630 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18631 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18632 if it exists.
18633 * gdb.multi/multi-arch.exp: Likewise.
18634
3e221d36
SM
186352015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18636
18637 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18638 print.
18639
d441430b
YQ
186402015-07-07 Yao Qi <yao.qi@linaro.org>
18641
18642 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18643
06f810bd
MG
186442015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18645
18646 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18647 '[' and ']' characters.
18648
5e61e7c0
IB
186492015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18650
18651 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18652
28bf096c
PA
186532015-06-29 Pedro Alves <palves@redhat.com>
18654
18655 PR threads/18127
18656 * gdb.threads/hand-call-new-thread.c: New file.
18657 * gdb.threads/hand-call-new-thread.c: New file.
18658
ee93cd5e
KS
186592015-06-26 Keith Seitz <keiths@redhat.com>
18660 Doug Evans <dje@google.com>
18661
18662 PR 16253
18663 * gdb.cp/var-tag-2.cc: New file.
18664 * gdb.cp/var-tag-3.cc: New file.
18665 * gdb.cp/var-tag-4.cc: New file.
18666 * gdb.cp/var-tag.cc: New file.
18667 * gdb.cp/var-tag.exp: New file.
18668
fc637f04
PP
186692015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18670
18671 * gdb.base/history-duplicates.exp: New test.
18672
2e52ae68
PP
186732015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18674
18675 * gdb.base/completion.exp: Test the completion of the "focus"
18676 command.
18677
6e22494e
JK
186782015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18679
18680 * gdb.arch/amd64-prologue-skip.S: New file.
18681 * gdb.arch/amd64-prologue-skip.exp: New file.
18682
bf7b9cd9
SM
186832015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18684
18685 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18686 is_address_zero_readable check.
18687
201e8dfd
PB
186882015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18689
18690 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18691 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18692
5cd867b4
YQ
186932015-06-24 Yao Qi <yao.qi@linaro.org>
18694
18695 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18696 linux targets.
18697
4d7be007
YQ
186982015-06-24 Yao Qi <yao.qi@linaro.org>
18699
18700 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18701 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18702 * gdb.base/siginfo-thread.exp: Likewise.
18703
07fcd301
YQ
187042015-06-22 Yao Qi <yao.qi@linaro.org>
18705
18706 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18707
52042a00
YQ
187082015-06-22 Yao Qi <yao.qi@linaro.org>
18709
18710 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18711 aarch64*-*-*.
18712 (skip_hw_watchpoint_tests): Likewise.
18713
74bd41ce
PP
187142015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18715
18716 * gdb.base/gdbinit-history.exp: Test the interaction between
18717 setting GDBHISTSIZE and setting the history size via .gdbinit.
18718
bc460514
PP
187192015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18720
18721 PR gdb/16999
18722 * gdb.base/gdbhistsize-history.exp: New test.
18723
b58c513b
PP
187242015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18725
18726 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18727 with GDBHISTSIZE.
18728 * gdb.base/readline.exp: Likewise.
18729
92046791
YQ
187302015-06-17 Yao Qi <yao.qi@linaro.org>
18731
18732 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18733 line.
18734
2093d2d3
PP
187352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18736
18737 * gdb.base/gdbinit-history.exp: Add test case to check that
18738 an unlimited history file does not get truncated on exit.
18739
e6c693af
AA
187402015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18741
18742 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18743 (VECTOR): New macro. Use it...
18744 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18745 ...for these typedefs.
18746 (int8, char1, int1, double1): New typedefs.
18747 (struct just_int2, struct two_int2): New structures.
18748 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18749 (add_structvecs, add_singlevecs): New functions.
18750 (main): Call add_some_intvecs twice.
18751 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18752 the compile and exit upon failure. Try compiling for the "native"
18753 architecture. Test inferior function calls with vector arguments
18754 and vector return value handling with "finish" and "return".
18755
c74f7d1c
JT
187562015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18757
18758 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18759 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18760 PE file.
18761 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18762
98aa42ee
AT
187632015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18764
18765 PR breakpoints/16465
18766 * gdb.mi/mi-dprintf-pending.c: New file.
18767 * gdb.mi/mi-dprintf-pending.exp: New test.
18768 * gdb.mi/mi-dprintf-pendshr.c: New file.
18769
7d73c23c 187702015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18771 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18772
18773 * gdb.arch/i386-mpx-map.c: New file.
18774 * gdb.arch/i386-mpx-map.exp: New File.
18775
187762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18777
18778 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18779 * gdb.arch/i386-mpx.exp: Indentation fixed.
18780
187812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18782
18783 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18784 function and improved indentation.
18785 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18786 gdb_test_multiple. Added additional tests to skip the test.
18787
187882015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18789
18790 * gdb.arch/i386-avx512.c: Change path in include file.
18791 * gdb.arch/i386-avx512.exp: Change include dir path
18792 compilation flag.
18793 * gdb.arch/i386-mpx.c: Change path in include file.
18794 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18795 flag.
18796
d5eba19a
JK
187972015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18798
18799 * gdb.compile/compile-print.exp (compile print *vararray@3)
18800 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18801
7f361056
JK
188022015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18803
18804 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18805 (do not keep jit in memory): ... this.
18806 (expect 5): Change it to ...
18807 (expect no 5): ... this.
18808
3b462ec2
SM
188092015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18810
18811 PR gdb/15564
18812 * gdb.mi/mi-detach.exp: New file.
18813
e0619de6
JK
188142015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18815
18816 PR symtab/18392
18817 * gdb.arch/amd64-tailcall-self.S: New file.
18818 * gdb.arch/amd64-tailcall-self.c: New file.
18819 * gdb.arch/amd64-tailcall-self.exp: New file.
18820
e970cb34
DB
188212015-05-28 Don Breazeal <donb@codesourcery.com>
18822
18823 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18824 tests for remote targets by checking is_target_gdbserver.
18825
b2e2f908
DE
188262015-05-27 Doug Evans <dje@google.com>
18827
18828 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18829 * gdb.dwarf2/opaque-type-lookup.c: New file.
18830 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18831
82c7be31
DE
188322015-05-26 Doug Evans <dje@google.com>
18833
18834 * gdb.cp/iostream.cc: New file.
18835 * gdb.cp/iostream.exp: New file.
18836
b4f54984
DE
188372015-05-26 Doug Evans <dje@google.com>
18838
18839 * gdb.dwarf2/dw2-op-call.exp: Update.
18840 * gdb.dwarf2/dw4-sig-types.exp: Update.
18841 * gdb.dwarf2/implptr.exp: Update.
18842 * gdb.mi/mi-cmd-param-changed.exp: Update.
18843
4ea6efe9
DE
188442015-05-26 Doug Evans <dje@google.com>
18845
18846 * gdb.python/py-lazy-string.c: New file.
18847 * gdb.python/py-lazy-string.exp: New file.
18848 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18849 (main): Update. Add estring3.
18850 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18851 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18852
f6bb7db3
YQ
188532015-05-26 Omair Javaid <omair.javaid@linaro.org>
18854 Yao Qi <yao.qi@linaro.org>
18855
18856 * gdb.reverse/aarch64.c: New.
18857 * gdb.reverse/aarch64.exp: New.
18858
a81bfbd0
OJ
188592015-05-26 Omair Javaid <omair.javaid@linaro.org>
18860
25d49b86
PA
18861 * lib/gdb.exp (supports_process_record): Return true for
18862 aarch64*-linux*.
a81bfbd0
OJ
18863 (supports_reverse): Likewise.
18864
158bf1b4
PP
188652015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18866
18867 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18868 Use with_test_prefix.
18869
a0145030
AB
188702015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18871
18872 * gdb.base/completion.exp: Add test for completion of layout
18873 names.
18874
ebe3b578
AB
188752015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18876
18877 * lib/gdb.exp (skip_tui_tests): New proc.
18878 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18879
84204ed7
PA
188802015-05-19 Pedro Alves <palves@redhat.com>
18881
18882 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18883 Save the whole env array instead of just HOME. Unset HISTSIZE in
18884 the environment while testing. Restore whole environment
18885 afterwards.
18886
37442ce1
DE
188872015-05-16 Doug Evans <xdje42@gmail.com>
18888
18889 * gdb.guile/scm-ports.c: New file.
18890 * gdb.guile/scm-ports.exp: Add memory port tests.
18891
36de76f9
JK
188922015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18893
18894 * gdb.compile/compile-print.c: New file.
18895 * gdb.compile/compile-print.exp: New file.
18896
3a9558c4
JK
188972015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18898
18899 * gdb.compile/compile-ops.exp: Cast param to void.
18900 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18901 (compile code struct_object.selffield = &struct_object): Add xfail.
18902
aa715135
JG
189032015-05-15 Joel Brobecker <brobecker@adacore.com>
18904
18905 * gdb.ada/arr_enum_with_gap: New testcase.
18906
931e5bc3
JG
189072015-05-15 Joel Brobecker <brobecker@adacore.com>
18908
18909 * gdb.ada/byte_packed_arr: New testcase.
18910
9cd4d857
JB
189112015-05-15 Joel Brobecker <brobecker@adacore.com>
18912
18913 * gdb.ada/pckd_neg: New testcase.
18914
ebfd00d2
PP
189152015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18916
18917 PR gdb/17820
18918 * gdb.base/gdbinit-history.exp: New test.
18919 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18920 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18921
4c082a81
SC
189222015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18923
18924 * gdb.python/py-xmethods.cc: Enhance test case.
18925 * gdb.python/py-xmethods.exp: New tests.
18926 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18927 function.
18928 (B_indexoper): Likewise.
18929 (global_dm_list) : Add new xmethod worker functions.
18930
f7797074
SDJ
189312015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18932
18933 * gdb.base/coredump-filter.exp: Correctly unset
18934 "coredump_var_addr" array.
18935
a4674e4e
PA
189362015-05-08 Pedro Alves <palves@redhat.com>
18937
18938 * gdb.server/non-existing-program.exp: Unset spawn_id.
18939
df2eb078
SC
189402015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18941
18942 PR python/18291
18943 * gdb.python/py-xmethods.exp: Add tests.
18944
422349a3
YQ
189452015-05-08 Yao Qi <yao.qi@linaro.org>
18946
18947 PR gdb/18208
18948 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18949 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18950 function set_coredump_filter, and remove remote_exec call.
18951 Remove argument ipid. Callers update.
18952 (top level): Don't get inferior's PID.
18953
63fc80ce
AA
189542015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18955
18956 * gdb.base/watch_thread_num.exp: Skip test on targets without
18957 access watchpoints.
18958
80ad801e
PA
189592015-05-06 Pedro Alves <palves@redhat.com>
18960
18961 PR server/18081
18962 * gdb.server/non-existing-program.exp: New file.
18963
0fa7fe50
JB
189642015-05-05 Joel Brobecker <brobecker@adacore.com>
18965
18966 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18967
3ea89b92
PMR
189682015-05-05 Joel Brobecker <brobecker@adacore.com>
18969
18970 * gdb.ada/out_of_line_in_inlined: New testcase.
18971
87b8eff0
JB
189722015-05-05 Joel Brobecker <brobecker@adacore.com>
18973
18974 * gdb.ada/var_rec_arr: New testcase.
18975
5fccc635
YQ
189762015-04-30 Yao Qi <yao.qi@linaro.org>
18977
18978 * gdb.base/break-idempotent.exp: If
18979 skip_hw_watchpoint_multi_tests returns true, skip the tests
18980 on "rwatch" and "awatch".
18981
42d38f42
YQ
189822015-04-30 Yao Qi <yao.qi@linaro.org>
18983
18984 * gdb.base/relativedebug.exp: Invoke gdb command
18985 "info sharedlibrary", and if libc.so doesn't have debug info,
18986 skip the test.
18987
2ce1cdbf
DE
189882015-04-29 Doug Evans <dje@google.com>
18989
18990 * gdb.python/py-xmethods.exp: Add ptype tests.
18991 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18992 get_result_type method.
18993
f24a38c5
LM
189942015-04-29 Luis Machado <lgustavo@codesourcery.com>
18995
18996 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18997 the target does not support hardware watchpoints.
18998
ecbf2b3c
LM
189992015-04-29 Luis Machado <lgustavo@codesourcery.com>
19000
19001 * gdb.base/break-always.exp: Abort testing if writing to memory
19002 causes an error.
19003
34f5f757
DE
190042015-04-28 Doug Evans <dje@google.com>
19005
19006 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19007 * gdb.python/py-pp-registration.exp: ... here. New file.
19008 * gdb.python/py-pp-registration.c: New file.
19009 * gdb.python/py-pp-registration.py: New file.
19010
69b4374a
DE
190112015-04-28 Doug Evans <dje@google.com>
19012
19013 * gdb.python/py-bad-printers.c: New file.
19014 * gdb.python/py-bad-printers.py: New file.
19015 * gdb.python/py-bad-printers.exp: New file.
19016
59fb7612
SS
190172015-04-28 Sasha Smundak <asmundak@google.com>
19018
19019 * gdb.python/py-type.exp: New test.
19020
2631b16a
AW
190212015-04-28 Andy Wingo <wingo@igalia.com>
19022
19023 * gdb.python/py-parameter.exp:
19024 * gdb.guile/scm-parameter.exp: Escape the path that we are
19025 matching against, as it might contain characters that are special
19026 to regular expressions.
19027
460efde1
JB
190282015-04-27 Joel Brobecker <brobecker@adacore.com>
19029
19030 * gdb.ada/rec_comp: New testcase.
19031
2d369d8e
SDJ
190322015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19033
19034 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19035 before using it.
19036
cf75d6c3
AB
190372015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19038
19039 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19040 new tests for verilog output.
19041
8dbe7ca5
YQ
190422015-04-24 Yao Qi <yao.qi@linaro.org>
19043
19044 * boards/remote-gdbserver-on-localhost.exp: New file.
19045
4ef9fb2f
PA
190462015-04-23 Pedro Alves <palves@redhat.com>
19047
19048 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19049 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19050 "end of file", remove $inferior_spawn_id from the indirect list.
19051
0a803169
PA
190522015-04-23 Pedro Alves <palves@redhat.com>
19053
19054 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19055
749ef8f8
PA
190562015-04-23 Pedro Alves <palves@redhat.com>
19057
19058 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19059 on $any_spawn_id instead of only on $gdb_spawn_id.
19060
8aae4344
PM
190612015-04-21 Pierre Muller <muller@sourceware.org>
19062
19063 PR pascal/17815
19064 * lib/pascal.exp (gpc_compile): Add new option "class".
19065 (fpc_compile): Likewise.
19066 * gdb.pascal/case-insensitive-symbols.pas: New file.
19067 * gdb.pascal/case-insensitive-symbols.exp: New file.
19068
1586c8fb
GB
190692015-04-20 Gary Benson <gbenson@redhat.com>
19070
19071 * gdb.base/attach.exp: Fix three extended remote failures.
19072
1b6e6f5c
GB
190732015-04-17 Gary Benson <gbenson@redhat.com>
19074
19075 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19076 the main executable over the remote protocol.
19077
e797481d
PA
190782015-04-16 Pedro Alves <palves@redhat.com>
19079
19080 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19081 a new gdbserver if gdbserver_reconnect_p is set.
19082
1ca99c42
PA
190832015-04-16 Pedro Alves <palves@redhat.com>
19084
19085 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19086 is set, don't exit gdbserver.
19087
af9fd6f8
AA
190882015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19089
19090 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19091 appropriate .insn, such that an older assembler can be used.
19092 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19093 the z/Architecture instruction set on 31-bit targets as well.
19094
04ff1e61
AA
190952015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19096
19097 * gdb.go/handcall.exp: Remove all logic related to the first
19098 breakpoint and rely on go_runto_main instead.
19099 * gdb.go/strings.exp: Likewise.
19100 * gdb.go/unsafe.exp: Likewise.
19101 * gdb.go/hello.exp: Likewise. Also rename the remaining
19102 breakpoint marker to "breakpoint 1".
19103 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19104 * gdb.go/strings.go: Likewise.
19105 * gdb.go/unsafe.go: Likewise.
19106 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19107 "set breakpoint 2 here" and rename the remaining breakpoint marker
19108 to "breakpoint 1".
19109
40d2f8d6
SM
191102015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19111
19112 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19113 if itertools.imap is not present.
19114 * gdb.python/py-objfile.exp: Add parentheses.
19115 * gdb.python/py-type.exp: Same.
19116 * gdb.python/py-unwind-maint.py: Same.
19117
8cbc97c6
YQ
191182015-04-15 Yao Qi <yao.qi@linaro.org>
19119
19120 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19121 of ":$ptr_size" and set its form explicitly.
19122
45fd756c
YQ
191232015-04-15 Pedro Alves <palves@redhat.com>
19124 Yao Qi <yao.qi@linaro.org>
19125
19126 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19127 timeout by factor of 4.
19128 (test_regular_watch): Likewise.
19129 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19130 * gdb.reverse/sigall-reverse.exp: Likewise.
19131 * gdb.reverse/until-precsave.exp: Likewise.
19132 * lib/gdb.exp (with_timeout_factor): New proc.
19133 (gdb_expect): Move some code to ...
19134 (get_largest_timeout): ... here. New procedure.
19135
9e811bc3
LM
191362015-04-14 Luis Machado <lgustavo@codesourcery.com>
19137
19138 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19139
0ff6fcb2
LM
191402015-04-13 Luis Machado <lgustavo@codesourcery.com>
19141
19142 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19143 to write to the .text section.
19144
7578d5f7
LM
191452015-04-13 Luis Machado <lgustavo@codesourcery.com>
19146
19147 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19148 Handle the case of targets that do not provide PID information.
19149
2efe15c4
YQ
191502015-04-13 Yao Qi <yao.qi@linaro.org>
19151
19152 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19153 and use expect instead of gdb_expect.
19154
8cd8f2f8
SDJ
191552015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19156
19157 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19158 "coredump_var_addr" to avoid naming conflict with other testcases.
19159
9ee41772
PA
191602015-04-10 Pedro Alves <palves@redhat.com>
19161
19162 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19163 gdb_test_sequence and gdb_assert.
19164
07473109
PA
191652015-04-10 Pedro Alves <palves@redhat.com>
19166
19167 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19168 test messages that don't include the breakpoint address.
19169
de3db44c
YQ
191702015-04-10 Yao Qi <yao.qi@linaro.org>
19171
19172 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19173 false for some offset and width combinations which aren't
19174 supported by linux kernel.
19175
c79d856c
PA
191762015-04-10 Pedro Alves <palves@redhat.com>
19177
19178 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19179 procedure, factored out from ...
19180 (top level): ... here. Add "set displaced-stepping" testing axis.
19181 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19182 parameter "displaced". Use it.
19183 (top level): Use foreach and add "set displaced-stepping" testing
19184 axis.
19185
ebc90b50
PA
191862015-04-10 Pedro Alves <palves@redhat.com>
19187
19188 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19189 Remove comment.
19190 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19191 both the address of the instruction that triggers the watchpoint
19192 and the address of the instruction immediately after, and use
19193 those addresses for the test. Fix comment.
19194
8f572e5c
PA
191952015-04-10 Pedro Alves <palves@redhat.com>
19196
19197 * gdb.base/sigstep.exp (breakpoint_to_handler)
19198 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19199 Test "backtrace" in handler.
19200 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19201 (top level): Add new "displaced" test axis to
19202 breakpoint_to_handler, breakpoint_to_handler_entry and
19203 breakpoint_over_handler.
19204
8d707a12
PA
192052015-04-10 Pedro Alves <palves@redhat.com>
19206
19207 PR gdb/18216
19208 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19209
ef713951
YQ
192102015-04-10 Yao Qi <yao.qi@linaro.org>
19211
19212 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19213 (test_add_rn_pc): New function.
19214 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19215 (top level): Invoke test_add_rn_pc.
19216
906d60cf
PA
192172015-04-10 Pedro Alves <palves@redhat.com>
19218
19219 PR gdb/13858
19220 * gdb.base/step-over-no-symbols.exp: New file.
19221
f2983cc3
AW
192222015-04-09 Andy Wingo <wingo@igalia.com>
19223
19224 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19225 after the Python tests.
19226
6d62641c
SDJ
192272015-04-08 Keith Seitz <keiths@redhat.com>
19228
19229 PR python/16699
19230 * gdb.python/py-completion.exp: New tests for completion.
19231 * gdb.python/py-completion.py (CompleteLimit1): New class.
19232 (CompleteLimit2): Likewise.
19233 (CompleteLimit3): Likewise.
19234 (CompleteLimit4): Likewise.
19235 (CompleteLimit5): Likewise.
19236 (CompleteLimit6): Likewise.
19237 (CompleteLimit7): Likewise.
19238
f3770638
PA
192392015-04-08 Pedro Alves <palves@redhat.com>
19240
19241 PR gdb/18214
19242 PR gdb/18216
19243 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19244 function.
19245 (main): Install it as SIGUSR1 handler.
19246 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19247 parameter. Always use "setup" as prefix. Toggle "set
19248 displaced-stepping" off/on depending on global. Don't switch to
19249 thread 1 here.
19250 (top level): Add displaced stepping "off/on" test axis. Update
19251 "setup" calls. Wrap each subtest with with_test_prefix. Test
19252 continuing with a queued signal in each thread.
19253
4496bed7
PA
192542015-04-08 Pedro Alves <palves@redhat.com>
19255
19256 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19257 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19258 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19259 Return early if running to main fails.
19260 * gdb.trace/while-stepping.exp: Likewise.
19261
b97fde92
PA
192622015-04-07 Pedro Alves <palves@redhat.com>
19263
19264 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19265 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19266 interact with inferior program.
19267
f71c18e7
PA
192682015-04-07 Pedro Alves <palves@redhat.com>
19269
19270 * lib/gdb.exp (inferior_spawn_id): New global.
19271 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19272 spawn id after processing the user code.
19273 (default_gdb_start): Set inferior_spawn_id.
19274 (send_inferior): New procedure.
19275 * lib/gdbserver-support.exp (gdbserver_start): Set
19276 inferior_spawn_id.
19277 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19278
6423214f
PA
192792015-04-07 Pedro Alves <palves@redhat.com>
19280
19281 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19282 * lib/gdbserver-support.exp (gdbserver_start): Make
19283 $server_spawn_id global.
19284 (gdbserver_start): Don't wait for gdbserver's spawn id with
19285 expect_background.
19286 (close_gdbserver): New procedure.
19287 (gdb_exit): Rename the default version and reimplement.
19288
71c0ee8c
PA
192892015-04-07 Pedro Alves <palves@redhat.com>
19290
72f4393d 19291 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19292 append the substituted item, not the original item.
19293
203bc29b
PA
192942015-04-07 Pedro Alves <palves@redhat.com>
19295
19296 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19297 gdb_expect.
19298
508a3ddf
PA
192992015-04-07 Pedro Alves <palves@redhat.com>
19300
19301 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19302 output appearing once only.
19303
9f6dbe2b
PA
193042015-04-07 Pedro Alves <palves@redhat.com>
19305
19306 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19307 that doesn't expect anything. Return early if running to main
19308 fails.
19309
337532fa
YQ
193102015-04-07 Yao Qi <yao.qi@linaro.org>
19311
19312 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19313 (child_function): Call alarm.
19314 (main): Move call to alarm into the loop.
19315 * gdb.threads/non-stop-fair-events.exp: Build program with
19316 -DTIMEOUT=$timeout.
19317
01b622d4
DE
193182015-04-06 Doug Evans <xdje42@gmail.com>
19319
19320 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19321 Fix dest parameter to board_info.
19322 (fpc_compile): Ditto.
19323 (gdb_compile_pascal): Rename dest arg to destfile.
19324
961f4160
PMR
193252015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19326
19327 * gdb.ada/funcall_ref.exp: New file.
19328 * gdb.ada/funcall_ref/foo.adb: New file.
19329
cafda597
YQ
193302015-04-02 Yao Qi <yao.qi@linaro.org>
19331
19332 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19333 is remote.
19334
fed040c6
GB
193352015-04-02 Gary Benson <gbenson@redhat.com>
19336
19337 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19338
d11916aa
SS
193392015-04-01 Sasha Smundak <asmundak@google.com>
19340
19341 * gdb.python/py-unwind-maint.c: New file.
19342 * gdb.python/py-unwind-maint.exp: New test.
19343 * gdb.python/py-unwind-maint.py: New file.
19344 * gdb.python/py-unwind.c: New file.
19345 * gdb.python/py-unwind.exp: New test.
19346 * gdb.python/py-unwind.py: New test.
19347
a1471180
PA
193482015-04-01 Pedro Alves <palves@redhat.com>
19349
19350 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19351 to fail instead of non-existent $test.
19352
0bbeccb1
PA
193532015-04-01 Pedro Alves <palves@redhat.com>
19354
19355 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19356 GDBFLAGS if not empty.
19357
3c724c8c
PMR
193582015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19359
19360 * gdb.ada/complete.exp: Remove "multi_line".
19361 * gdb.ada/info_exc.exp: Remove "multi_line".
19362 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19363 * gdb.ada/ptype_field.exp: Remove "multi_line".
19364 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19365 * gdb.ada/tagged.exp: Remove "multi_line".
19366 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19367 [multi_line ...]
19368 * gdb.btrace/delta.exp: Likewise.
19369 * gdb.btrace/exception.exp: Likewise.
19370 * gdb.btrace/function_call_history.exp: Likewise.
19371 * gdb.btrace/instruction_history.exp: Likewise.
19372 * gdb.btrace/nohist.exp: Likewise.
19373 * gdb.btrace/record_goto.exp: Likewise.
19374 * gdb.btrace/segv.exp: Likewise.
19375 * gdb.btrace/stepi.exp: Likewise.
19376 * gdb.btrace/tailcall.exp: Likewise.
19377 * gdb.btrace/unknown_functions.exp: Likewise.
19378 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19379 * lib/gdb.exp: Add the "multi_line" helper.
19380
4eec2deb
PA
193812015-04-01 Pedro Alves <palves@redhat.com>
19382
19383 * gdb.threads/tid-reuse.c: New file.
19384 * gdb.threads/tid-reuse.exp: New file.
19385
df8411da
SDJ
193862015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19387
19388 PR corefiles/16092
19389 * gdb.base/coredump-filter.c: New file.
19390 * gdb.base/coredump-filter.exp: Likewise.
19391
6ef37366
PM
193922015-03-27 Petr Machata <pmachata@redhat.com>
19393
19394 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19395 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19396 (Dwarf::assemble): Initialize them.
19397 (Dwarf::lines): New function.
19398
7ec911b0
JT
193992015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19400
19401 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19402 SYMBOL_PREFIX for x86_64-*-cygwin.
19403
ff908ebf
AW
194042015-03-26 Andy Wingo <wingo@igalia.com>
19405
19406 PR symtab/18148
19407 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19408 const_value but not a location.
19409 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19410 location defined in non-main CUs are visible.
19411
6d5f0679
YQ
194122015-03-26 Yao Qi <yao.qi@linaro.org>
19413
19414 PR testsuite/18139
19415 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19416 Add a line number entry for the same line.
19417 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19418 Add a line number entry for the same line.
19419
2898689b
YQ
194202015-03-26 Yao Qi <yao.qi@linaro.org>
19421
19422 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19423 .int 0.
19424 (func): Likewise. Add .Lfunc_1 label.
19425 Use .Lfunc_1 label.
19426 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19427 .int 0.
19428 (func): Likewise.
19429 Use .Lfunc_1 label.
19430
85180498
YQ
194312015-03-26 Yao Qi <yao.qi@linaro.org>
19432
19433 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19434 Call gdb_compile instead to compile each .s files without debug
19435 information.
19436
8aa08a8d
YQ
194372015-03-26 Yao Qi <yao.qi@linaro.org>
19438
19439 * gdb.base/savedregs.exp (process_saved_regs): Make
19440 "Saved registers:" optional in the pattern.
19441
66849923
MM
194422015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19443
19444 * gdb.btrace/next.exp: Merged into step.exp.
19445 * gdb.btrace/finish.exp: Merged into step.exp.
19446 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19447 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19448 "record goto" and checking the exact replay position.
19449 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19450 check for "Recording format" in "info record" output.
19451 * gdb.btrace/record_goto.exp: Choose test file based on target.
19452 * gdb.btrace/x86-record_goto.S: Renamed into ...
19453 * gdb.btrace/x86_64-record_goto.S: ... this.
19454 * gdb.btrace/i686-record_goto.S: New.
19455 * gdb.btrace/x86-tailcall.S: Renamed into ...
19456 * gdb.btrace/x86_64-tailcall.S: ... this.
19457 * gdb.btrace/i686-tailcall.S: New.
19458 * gdb.btrace/x86-tailcall.c: Renamed into ...
19459 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19460 separate statements. Update test.
19461 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19462 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19463 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19464 * gdb.btrace/tailcall.exp: Choose test file based on target.
19465 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19466
11cc1b74
MM
194672015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19468
19469 * gdb.btrace/exception.exp: Increase BTS buffer size.
19470
a25d8bf9
PA
194712015-03-24 Pedro Alves <palves@redhat.com>
19472
19473 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19474
856e7dd6
PA
194752015-03-24 Pedro Alves <palves@redhat.com>
19476
19477 * gdb.threads/schedlock.exp (test_step): No longer expect that
19478 "set scheduler-locking step" with "next" over a function call runs
19479 threads unlocked.
19480
ad235a41
AT
194812015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19482
19483 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19484
15630549
AT
194852015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19486
19487 PR breakpoints/16466
19488 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19489 * gdb.mi/mi-pending.c (thread_func): New function.
19490 (int main): Add threading support required.
19491 * gdb.mi/mi-pending.exp: Add tests for this issue.
19492 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19493 (pendfunc2): Remove stdio dependency.
19494 * gdb.mi/mi-pendshr2.c: New file.
19495
693dca06
KS
194962015-03-23 Keith Seitz <keiths@redhat.com>
19497
19498 * gdb.linespec/keywords.c: New file.
19499 * gdb.linespec/keywords.exp: New file.
19500
7e993ebf
KS
195012015-03-23 Keith Seitz <keiths@redhat.com>
19502
19503 PR gdb/18021
19504 * gdb.dwarf2/staticvirtual.exp: New test.
19505
bc23328c
JK
195062015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19507
19508 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19509 * README: Remove HP-UX and gdb.hp.
19510 (configuration):
19511 * configure: Regenerate.
19512 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19513 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19514 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19515 gdb.hp/gdb.defects/Makefile.
19516 * gdb.hp/Makefile.in: File deleted.
19517 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19518 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19519 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19520 * gdb.hp/gdb.aCC/run.c: File deleted.
19521 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19522 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19523 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19524 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19525 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19526 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19527 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19528 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19529 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19530 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19531 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19532 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19533 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19534 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19535 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19536 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19537 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19538 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19539 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19540 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19541 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19542 * gdb.hp/gdb.compat/average.c: File deleted.
19543 * gdb.hp/gdb.compat/sum.c: File deleted.
19544 * gdb.hp/gdb.compat/xdb.c: File deleted.
19545 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19546 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19547 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19548 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19549 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19550 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19551 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19552 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19553 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19554 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19555 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19556 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19557 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19558 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19559 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19560 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19561 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19562 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19563 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19564 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19565 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19566 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19567 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19568 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19569 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19570 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19571 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19572 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19573 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19574 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19575 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19576 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19577 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19578 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19579 * gdb.hp/tools/odump: File deleted.
19580
8bf3b159
PA
195812015-03-19 Pedro Alves <palves@redhat.com>
19582
19583 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19584 (saw_thread_3): New globals.
19585 (top level): Increment them when an event for the corresponding
19586 thread is seen.
19587 (no thread starvation): New test.
19588
eb54c8bf
PA
195892015-03-19 Pedro Alves <palves@redhat.com>
19590
19591 * gdb.threads/continue-pending-status.c: New file.
19592 * gdb.threads/continue-pending-status.exp: New file.
19593
32d2e5d6
PA
195942015-03-18 Pedro Alves <palves@redhat.com>
19595
19596 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19597 Use gdb_is_target_remote instead of is_remote. Use
19598 gdb_test_multiple instead of gdb_expect. Exit early if
19599 gdb_test_multiple hits its internal matches. Tighten stepi tests
19600 expected output. Fail on exit with any signal, instead of just
19601 SIGILL.
19602
f68f11b7
YQ
196032015-03-18 Yao Qi <yao.qi@linaro.org>
19604
19605 PR tdep/18107
19606 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19607 variable.
19608 * gdb.base/catch-syscall.exp: Don't skip it on
19609 aarch64*-*-linux* target. Remove elements in all_syscalls.
19610 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19611 target.
19612 (setup_all_syscalls): New proc.
19613
ca5fd19b
YQ
196142015-03-16 Yao Qi <yao.qi@linaro.org>
19615
19616 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19617 (top level): Skip tests if valid_addr_p returns false for
19618 $cmd1 or $cmd2.
19619
85642ba0
AW
196202015-03-11 Andy Wingo <wingo@igalia.com>
19621
19622 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19623
e03f9645
YQ
196242015-03-11 Yao Qi <yao.qi@linaro.org>
19625
19626 * gdb.base/catch-syscall.exp: Fix typo in comments.
19627
5d0962b2
YQ
196282015-03-11 Yao Qi <yao.qi@linaro.org>
19629
19630 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19631
b2df3cef
PA
196322015-03-09 Pedro Alves <palves@redhat.com>
19633
19634 * dg-extract-results.py: Delete.
19635
ef878e53
PA
196362015-03-09 Pedro Alves <palves@redhat.com>
19637
19638 Merge dg-extract-results.sh from GCC upstream (r218843).
19639
19640 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19641 * dg-extract-results.sh: Use --text with grep to avoid issues with
19642 binary files. Fall back to cat -v, if that doesn't work.
19643
9494d219
PA
196442015-03-05 Pedro Alves <palves@redhat.com>
19645
19646 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19647
a8d9763a
SM
196482015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19649
19650 * lib/mi-support.exp (mi_expect_interrupt): Accept
19651 alternative event for when in all-stop mode.
19652
be9957b8
PA
196532015-03-04 Pedro Alves <palves@redhat.com>
19654
19655 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19656
d57be0f4 196572015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19658
19659 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19660
c214c7cf
AA
196612015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19662
19663 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19664 regexps for GDB's current line display, accept a hex address
19665 preceding the line number.
19666
6d74a497
AA
196672015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19668
19669 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19670 the 'arch1' variable for "s390*-linux*" targets.
19671
511aee7c
PA
196722015-03-04 Pedro Alves <palves@redhat.com>
19673
19674 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19675 (main): Pass missing retval argument to pthread_join call.
19676
95e50b27
PA
196772015-03-02 Pedro Alves <palves@redhat.com>
19678
19679 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19680 (top level): Call do_test with non-stop as well.
19681
28054d69
PA
196822015-03-02 Pedro Alves <palves@redhat.com>
19683
19684 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19685 -1.
19686
4fa5d7b4
AA
196872015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19688
19689 * gdb.arch/s390-vregs.exp: New test.
19690 * gdb.arch/s390-vregs.S: New file.
19691
97c18565
PA
196922015-02-27 Pedro Alves <palves@redhat.com>
19693
19694 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19695 call to catch_command_errors.
19696 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19697 catch_command_errors.
19698
a37bfa30
PA
196992015-02-27 Pedro Alves <palves@redhat.com>
19700
19701 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19702 "true" for boolean result.
19703 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19704 prototype of main.
19705
6f98576f
PA
197062015-02-27 Pedro Alves <palves@redhat.com>
19707
19708 * lib/unbuffer_output.c: New file.
19709 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19710 (main): Call gdb_unbuffer_output.
19711
eba5ab56
YQ
197122015-02-27 Yao Qi <yao.qi@linaro.org>
19713
19714 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19715 target.
19716
0def5aaa
DE
197172015-02-26 Doug Evans <dje@google.com>
19718
19719 * gdb.cp/class2.cc (Dbase, D): New classes.
19720 (main): New local delta.
19721 * gdb.cp/class2.exp: Test printing delta.
19722 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19723 (dynbar): New global.
19724 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19725
081a1c2c
JK
197262015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19727
19728 * gdb.compile/compile-ifunc.c: New file.
19729 * gdb.compile/compile-ifunc.exp: New file.
19730
2f41223f
AT
197312015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19732
19733 * gdb.base/structs.exp: Check for correct struct on finish.
19734
03eddd80
YQ
197352015-02-26 Yao Qi <yao.qi@linaro.org>
19736
19737 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19738 is zero.
19739
80c57053
JK
197402015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19741
19742 * gdb.arch/cordic.ko.bz2: New file.
19743 * gdb.arch/cordic.ko.debug.bz2: New file.
19744 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19745
21613c12
YQ
197462015-02-25 Yao Qi <yao.qi@linaro.org>
19747
19748 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19749 aarch64*-*-* target.
19750
d8b901ed
PA
197512015-02-23 Pedro Alves <palves@redhat.com>
19752
19753 * lib/gdb.exp (delete_breakpoints): Rewrite using
19754 gdb_test_multiple.
19755
e5b85ead
PA
197562015-02-23 Pedro Alves <palves@redhat.com>
19757
19758 * gdb.base/info-os.c: Include stdlib.h.
19759
85c3a371
DE
197602015-02-22 Doug Evans <xdje42@gmail.com>
19761
19762 PR symtab/17855
19763 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19764 is read after symbols have been re-read.
19765 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19766 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19767
96553a0c
DE
197682015-02-21 Doug Evans <dje@google.com>
19769
19770 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19771
97a0c697
JK
197722015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19773
19774 PR corefiles/17808
19775 * gdb.arch/i386-biarch-core.core.bz2: New file.
19776 * gdb.arch/i386-biarch-core.exp: New file.
19777
a47cd6e9
PA
197782015-02-21 Pedro Alves <palves@redhat.com>
19779
19780 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19781 runto_main fails.
19782
c5facdc4
PA
197832015-02-20 Pedro Alves <palves@redhat.com>
19784
19785 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19786 info probes.
19787
2db9a427
PA
197882015-02-20 Pedro Alves <palves@redhat.com>
19789
19790 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19791
60fb7e9e
PA
197922015-02-20 Pedro Alves <palves@redhat.com>
19793
19794 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19795 clean_restart before gdb_target_supports_trace.
19796
5c5019c2
PA
197972015-02-20 Pedro Alves <palves@redhat.com>
19798
19799 PR threads/18006
19800 * gdb.threads/clone-thread_db.c: New file.
19801 * gdb.threads/clone-thread_db.exp: New file.
19802
c9587f88
AT
198032015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19804
19805 PR breakpoints/16812
19806 * gdb.base/catch-gdb-caused-signals.c: New file.
19807 * gdb.base/catch-gdb-caused-signals.exp: New file.
19808
f6a88844
JM
198092015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19810
19811 * configure: Regenerated.
19812 * configure.ac: Use GDB_AC_TRANSFORM.
19813 * aclocal.m4: sinclude ../transform.m4.
19814
497c491b
JM
198152015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19816
19817 * lib/dtrace.exp: New file.
19818 * gdb.base/dtrace-probe.exp: Likewise.
19819 * gdb.base/dtrace-probe.d: Likewise.
19820 * gdb.base/dtrace-probe.c: Likewise.
19821 * lib/pdtrace.in: Likewise.
19822 * configure.ac: Output variables with the transformed names of
19823 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19824 * configure: Regenerated.
19825
03e98035
JM
198262015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19827
19828 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19829 expected message when trying to access $_probe_* convenience
19830 variables while not on a probe.
19831
63cc30e9
JK
198322015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19833
19834 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19835
0703599a
PA
198362015-02-11 Pedro Alves <pedro@codesourcery.com>
19837
19838 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19839 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19840
7e60a48e
DE
198412015-02-10 Doug Evans <xdje42@gmail.com>
19842
19843 * lib/gdb.exp (gdb_load): Always return a result.
19844
01b088bc
PA
198452015-02-10 Pedro Alves <palves@redhat.com>
19846
19847 * gdb.threads/signal-sigtrap.c: New file.
19848 * gdb.threads/signal-sigtrap.exp: New file.
19849
b05ec7a5
AT
198502015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19851
19852 * gdb.trace/no-attach-trace.c: New file.
19853 * gdb.trace/no-attach-trace.exp: New file.
19854
a2c2acaf
MW
198552015-02-09 Mark Wielaard <mjw@redhat.com>
19856
19857 * gdb.dwarf2/atomic.c: New file.
19858 * gdb.dwarf2/atomic-type.exp: Likewise.
19859
31fd9caa
MM
198602015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19861
19862 * gdb.btrace/buffer-size.exp: Update "info record" output.
19863 * gdb.btrace/delta.exp: Update "info record" output.
19864 * gdb.btrace/enable.exp: Update "info record" output.
19865 * gdb.btrace/finish.exp: Update "info record" output.
19866 * gdb.btrace/instruction_history.exp: Update "info record" output.
19867 * gdb.btrace/next.exp: Update "info record" output.
19868 * gdb.btrace/nexti.exp: Update "info record" output.
19869 * gdb.btrace/step.exp: Update "info record" output.
19870 * gdb.btrace/stepi.exp: Update "info record" output.
19871 * gdb.btrace/nohist.exp: Update "info record" output.
19872
d33501a5
MM
198732015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19874
19875 * gdb.btrace/buffer-size: New.
19876
f4abbc16
MM
198772015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19878
19879 * gdb.btrace/delta.exp: Update "info record" output.
19880 * gdb.btrace/enable.exp: Update "info record" output.
19881 * gdb.btrace/finish.exp: Update "info record" output.
19882 * gdb.btrace/instruction_history.exp: Update "info record" output.
19883 * gdb.btrace/next.exp: Update "info record" output.
19884 * gdb.btrace/nexti.exp: Update "info record" output.
19885 * gdb.btrace/step.exp: Update "info record" output.
19886 * gdb.btrace/stepi.exp: Update "info record" output.
19887 * gdb.btrace/nohist.exp: Update "info record" output.
19888
b9d61307
SM
198892015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19890
19891 PR gdb/15678
19892 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19893
e584fdbc
PA
198942015-02-06 Pedro Alves <palves@redhat.com>
19895
19896 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19897 macro.
19898 (seconds_left, again): New globals.
19899 (main): Wait seconds_left in a 1-second sleep loop instead of
19900 sleeping 180 seconds. If 'again' is set, reset the seconds
19901 counter.
19902 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19903 'again' in the inferior before detaching. Print the seconds left.
19904 (options): New global.
19905 (top level): Build program with -DTIMEOUT=$timeout.
19906
77f41761
PA
199072015-02-06 Pedro Alves <palves@redhat.com>
19908
19909 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19910 determine how many seconds to pass to 'alarm'.
19911 * gdb.base/gdb-sigterm.exp (top level): Build program with
19912 -DTIMEOUT=$timeout.
19913 (do_test): Return success/failure indication. Add more verbose
19914 logging. Don't fail if 200 single steps are seen. Instead, fail
19915 when the test times out.
19916 (passes): New global.
19917 (top level): Break the testing loop if testing fails on any
19918 iteration. Use gdb_assert.
19919
b9394193
DB
199202015-02-04 Don Breazeal <donb@codesourcery.com>
19921
19922 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19923 and initialize them.
19924 (ipc_cleanup): New function.
19925 (main): Don't declare shmid, semid, and msqid. Add a call to
19926 atexit so that we call ipc_cleanup on exit.
19927
42d9e528
PA
199282015-02-04 Pedro Alves <palves@redhat.com>
19929
19930 * boards/native-extended-gdbserver.exp: Remove any target variant
19931 specifications from the board name before clearing the isremote
19932 flag from board_info.
19933
ae6ae975
DE
199342015-01-31 Doug Evans <xdje42@gmail.com>
19935
19936 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19937
cfb069a8
GB
199382015-01-31 Gary Benson <gbenson@redhat.com>
19939
19940 * gdb.base/completion.exp: Disable completion limiting for
19941 existing tests. Add new tests to check completion limiting.
19942 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19943
5dd31d79
DE
199442015-01-31 Doug Evans <xdje42@gmail.com>
19945
19946 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19947
9f050062
DE
199482015-01-31 Doug Evans <xdje42@gmail.com>
19949
19950 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19951 entries. Duplicate file section script entries.
19952 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19953 inlined entries. Add test for safe-path rejection.
19954 * gdb.python/py-section-script.c: Add duplicate inlined section script
19955 entries. Duplicate file section script entries.
19956 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19957 inlined entries. Add test for safe-path rejection.
19958
df25ebbd
JB
199592015-01-29 Joel Brobecker <brobecker@adacore.com>
19960
19961 * gdb.ada/disc_arr_bound: New testcase.
19962
4a0ca9ec
JB
199632015-01-29 Joel Brobecker <brobecker@adacore.com>
19964
19965 * gdb.ada/mi_var_array: New testcase.
19966
3a8b707a
DE
199672015-01-27 Doug Evans <dje@google.com>
19968
19969 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19970 Add test for objfile.filename, objfile.username after objfile
19971 has been unloaded.
19972
f8313f6e
JB
199732015-01-26 Joel Brobecker <brobecker@adacore.com>
19974
19975 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19976 the second test to print the name attribute of value
19977 returned by the call to gdb.lookup_type, and adjust
19978 the expected output accordingly.
19979
37bc665e
MW
199802015-01-25 Mark Wielaard <mjw@redhat.com>
19981
19982 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19983 * gdb.base/disp-step-fork.c: Include unistd.h.
19984 * gdb.base/siginfo-obj.c: Include stdio.h.
19985 * gdb.base/siginfo-thread.c: Likewise.
19986 * gdb.mi/non-stop.c: Include unistd.h.
19987 * gdb.mi/nsthrexec.c: Include stdio.h.
19988 * gdb.mi/pthreads.c: Include unistd.h.
19989 * gdb.modula2/unbounded1.c (main): Declare returns int.
19990 * gdb.reverse/consecutive-reverse.c: Likewise.
19991 * gdb.threads/create-fail.c: Include unistd.h.
19992 * gdb.threads/killed.c: Likewise.
19993 * gdb.threads/linux-dp.c: Likewise.
19994 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19995 * gdb.threads/non-ldr-exc-2.c: Likewise.
19996 * gdb.threads/non-ldr-exc-3.c: Likewise.
19997 * gdb.threads/non-ldr-exc-4.c: Likewise.
19998 * gdb.threads/pthreads.c: Include unistd.h.
19999 (main): Declare returns int.
20000 * gdb.threads/tls-main.c (foo): New declaration.
20001 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20002
f7e5394d
SM
200032015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20004
20005 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20006 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20007
743649fd
MW
200082015-01-15 Mark Wielaard <mjw@redhat.com>
20009
20010 * gdb.base/noreturn-return.c: New file.
20011 * gdb.base/noreturn-return.exp: New file.
20012 * gdb.base/noreturn-finish.c: New file.
20013 * gdb.base/noreturn-finish.exp: New file.
20014
198297aa
PA
200152015-01-23 Pedro Alves <palves@redhat.com>
20016
20017 * gdb.threads/continue-pending-after-query.c: New file.
20018 * gdb.threads/continue-pending-after-query.exp: New file.
20019
717cf30c
AG
200202015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20021 Simon Marchi <simon.marchi@ericsson.com>
20022
20023 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20024 * gdb.base/valgrind-db-attach.exp: Same.
20025 * gdb.base/valgrind-infcall.exp: Same.
20026 * lib/mi-support.exp (default_mi_gdb_start): Same.
20027 * lib/prompt.exp (default_prompt_gdb_start): Same.
20028 * lib/gdb.exp (default_gdb_spawn): Same.
20029 (gdb_interact): New.
20030
20031
4b62a76e
JK
200322015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20033
20034 * gdb.compile/compile.exp (pointer to jit function): New test.
20035
b4cdae6f
WW
200362015-01-17 Wei-cheng Wang <cole945@gmail.com>
20037
20038 * lib/gdb.exp (supports_process_record): Return true for
20039 powerpc*-*-linux*.
20040 (supports_reverse): Likewise.
20041
d221e7ef
DB
200422015-01-15 Don Breazeal <donb@codesourcery.com>
20043
20044 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20045 instead of checking whether the target board is remote and
20046 use spawn_wait_for_attach instead of exec/sleep.
20047 * gdb.base/attach-twice.exp: Likewise.
20048
bafffb51
JB
200492015-01-15 Joel Brobecker <brobecker@adacore.com>
20050
20051 * gdb.ada/var_arr_attrs: New testcase.
20052
5589af0e
PA
200532015-01-14 Pedro Alves <palves@redhat.com>
20054 Joel Brobecker <brobecker@adacore.com>
20055
20056 PR gdb/17525
20057 * gdb.base/bp-cmds-execution-x-script.c: New file.
20058 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20059 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20060
6c400b59
PA
200612015-01-14 Pedro Alves <palves@redhat.com>
20062
20063 PR cli/17828
20064 * gdb.base/batch-preserve-term-settings.c: New file.
20065 * gdb.base/batch-preserve-term-settings.exp: New file.
20066
e02c96a7
DE
200672015-01-13 Doug Evans <dje@google.com>
20068
20069 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20070 binary.
20071
576fd14c
JB
200722015-01-13 Joel Brobecker <brobecker@adacore.com>
20073
20074 * Makefile.in (clean mostlyclean): Do not delete *.py.
20075
04dccad0
JB
200762015-01-13 Joel Brobecker <brobecker@adacore.com>
20077
20078 * gdb.python/py-lookup-type.exp: New file.
20079
3d230f71
PA
200802015-01-12 Pedro Alves <palves@redhat.com>
20081
20082 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20083 restore GDBFLAGS before returning.
20084
7e67715d
JK
200852015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20086
20087 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20088 is_amd64_regs_target and is_x86_like_target.
20089
f2e0d4b4
DE
200902015-01-11 Doug Evans <xdje42@gmail.com>
20091
20092 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20093 is given without an explicit form.
20094 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20095 attributes.
20096 * gdb.dwarf/corrupt.exp: Ditto.
20097 * gdb.dwarf2/enum-type.exp: Ditto.
20098 * gdb.trace/entry-values.exp: Ditto.
20099 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20100
439250fb
DE
201012015-01-11 Doug Evans <xdje42@gmail.com>
20102
20103 PR gdb/15830
20104 * gdb.base/maint.exp: Remove references to "maint demangle".
20105 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20106 Add tests for explicitly specifying language to demangle.
20107 * gdb.dlang/demangle.exp: Ditto.
20108
ede9f622
PA
201092015-01-09 Pedro Alves <palves@redhat.com>
20110
20111 * gdb.threads/non-stop-fair-events.c: New file.
20112 * gdb.threads/non-stop-fair-events.exp: New file.
20113
a7b796db
PA
201142015-01-09 Pedro Alves <palves@redhat.com>
20115
20116 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20117 the global scope. Set a breakpoint after all threads are started
20118 rather than stepping over two source lines. Expect the prompt.
20119 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20120 global.
20121 (NUM): Now 15.
20122 (main): Use threads_started_barrier to wait for all threads to
20123 start. Main thread no longer calls thread_function. Exit after
20124 180 seconds.
20125 (loop): New function.
20126 (thread_function): Wait on threads_started_barrier barrier. Call
20127 'loop' at each iteration.
20128 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20129 threads have started, instead of hardcoding number of "next"
20130 steps. Use an access watchpoint instead of a write watchpoint.
20131
9665ffdd
PA
201322015-01-09 Pedro Alves <palves@redhat.com>
20133
20134 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20135 (thread_func): Wait on barrier.
20136 (main): Wait for all threads to start before stopping GDB.
20137 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20138 global.
20139 (thread1_func, thread2_func): Wait on barrier.
20140 (main): Wait for all threads to start before stopping GDB.
20141 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20142 New global.
20143 (thread1_func, thread2_func): Wait on barrier.
20144 (main): Wait for all threads to start before stopping GDB.
20145
c945a99f
PA
201462015-01-09 Pedro Alves <palves@redhat.com>
20147
20148 * gdb.threads/attach-many-short-lived-threads.c: New file.
20149 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20150
c1a747c1
PA
201512014-01-09 Pedro Alves <palves@redhat.com>
20152
20153 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20154 instead of to thread 2.
20155 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20156 Add barrier around each pthread_create call instead of around all
20157 calls.
20158 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20159 Set a break on thread_function and have the child threads hit it
20160 one at at a time.
20161
60b3033e
PA
201622015-01-09 Pedro Alves <palves@redhat.com>
20163
20164 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20165 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20166 false.
20167 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20168 checking whether the target board is remote.
20169 * gdb.multi/multi-attach.exp: Likewise.
20170 * gdb.python/py-sync-interp.exp: Likewise.
20171 * gdb.server/ext-attach.exp: Likewise.
20172 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20173 tests that need to attach, instead of checking whether the target
20174 board is remote at the top of the file.
20175
acc018ac
YQ
201762015-01-08 Yao Qi <yao@codesourcery.com>
20177
20178 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20179
50a18af8
JK
201802015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20181
20182 Fix testcase compilation.
20183 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20184
8503d6e1
JB
201852015-01-06 Joel Brobecker <brobecker@adacore.com>
20186
20187 * gdb.python/py-type.exp: Add a couple test about empty
20188 array creation, and negative-length array creation.
20189
cc73dbcc
DE
201902015-01-02 Doug Evans <xdje42@gmail.com>
20191
20192 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20193
0300bbc7
DE
201942015-01-02 Doug Evans <dje@google.com>
20195
20196 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20197
9d85a0ec
YQ
201982014-12-29 Yao Qi <yao@codesourcery.com>
20199
20200 * gdb.trace/entry-values.exp: Update comments. Rename variable
20201 bar_call_foo to returned_from_foo.
20202
87186c6a
MMN
202032014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20204
20205 PR gdb/17394
20206 * gdb.linespec/break-asm-file.c: New file.
20207 * gdb.linespec/break-asm-file.exp: New file.
20208 * gdb.linespec/break-asm-file0.s: New file.
20209 * gdb.linespec/break-asm-file1.s: New file.
20210
1bab7383
YQ
202112014-12-18 Nigel Stephens <nigel@mips.com>
20212 Maciej W. Rozycki <macro@codesourcery.com>
20213
20214 * gdb.base/float.exp: Handle the new output from "info float" on
20215 MIPS targets.
20216
1bc1068a
JK
202172014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20218
20219 Fix MinGW compilation.
20220 * gdb.compile/compile-ops.exp: Update untested message if
20221 !skip_compile_feature_tests.
20222 * gdb.compile/compile-setjmp.exp: Likewise.
20223 * gdb.compile/compile-tls.exp: Likewise.
20224 * gdb.compile/compile.exp: Likewise.
20225 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20226 supported on this host".
20227
b6615d10
DE
202282014-12-16 Doug Evans <xdje42@gmail.com>
20229
20230 * boards/stabs.exp: New file.
20231
25dda427
AA
202322014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20233
20234 * gdb.base/completion.exp: Adjust to format changes of "maint
20235 print user-registers".
20236
bf330350
CU
202372014-12-16 Catalin Udma <catalin.udma@freescale.com>
20238
20239 PR server/17457
20240 * gdb.arch/aarch64-fp.c: New file.
20241 * gdb.arch/aarch64-fp.exp: New file.
20242
395cf596
SDJ
202432014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20244
20245 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20246 r210637, r210913, r211666, r215400, r215817).
20247
20248 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20249 * dg-extract-results.py: New file.
20250 * dg-extract-results.sh: Use it if the environment seems
20251 suitable.
20252
20253 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20254
20255 * dg-extract-results.py (parse_run): Handle warnings that
20256 are printed before a test harness is run.
20257
20258 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20259
20260 * dg-extract-results.py (Named): Remove __cmp__ method.
20261 (output_variation): Use a key to sort variation.harnesses.
20262
20263 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20264
20265 * dg-extract-results.py: For Python 3, force sys.stdout to
20266 handle surrogate escape sequences.
20267 (safe_open): New function.
20268 (output_segment, main): Use it.
20269
20270 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20271
20272 * dg-extract-results.py (Prog.result_re): Include options
20273 in test name.
20274
20275 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20276
20277 * dg-extract-results.py (output_variation): Always sort if
20278 do_sum.
20279
e882ef3c
SM
202802014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20281
20282 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20283 as long as we get pagination notifications.
20284
4992aa20
JM
202852014-12-15 Jason Merrill <jason@redhat.com>
20286
20287 * Makefile.in (check-gdb.%): Restore.
20288 * README: Mention it.
20289
c1b5a1a6
JB
202902014-12-13 Joel Brobecker <brobecker@adacore.com>
20291
20292 * gdb.ada/str_uninit: New testcase.
20293
5537b577
JK
202942014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20295
20296 PR symtab/17642
20297 * gdb.base/vla-stub-define.c: New file.
20298 * gdb.base/vla-stub.c: New file.
20299 * gdb.base/vla-stub.exp: New file.
20300
bb2ec1b3
TT
203012014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20302 Jan Kratochvil <jan.kratochvil@redhat.com>
20303 Tom Tromey <tromey@redhat.com>
20304
20305 * configure.ac: Add gdb.compile/.
20306 * configure: Regenerate.
20307 * gdb.compile/Makefile.in: New file.
20308 * gdb.compile/compile-ops.exp: New file.
20309 * gdb.compile/compile-ops.c: New file.
20310 * gdb.compile/compile-tls.c: New file.
20311 * gdb.compile/compile-tls.exp: New file.
20312 * gdb.compile/compile-constvar.S: New file.
20313 * gdb.compile/compile-constvar.c: New file.
20314 * gdb.compile/compile-mod.c: New file.
20315 * gdb.compile/compile-nodebug.c: New file.
20316 * gdb.compile/compile-setjmp-mod.c: New file.
20317 * gdb.compile/compile-setjmp.c: New file.
20318 * gdb.compile/compile-setjmp.exp: New file.
20319 * gdb.compile/compile-shlib.c: New file.
20320 * gdb.compile/compile.c: New file.
20321 * gdb.compile/compile.exp: New file.
20322 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20323
4ff709eb
TT
203242014-12-12 Tom Tromey <tromey@redhat.com>
20325
20326 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20327 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20328
6dddd6a5
DE
203292014-12-12 Doug Evans <dje@google.com>
20330
20331 * lib/gdb-python.exp (get_python_valueof): New function.
20332 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20333
71c24708
AA
203342014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20335
20336 * gdb.base/completion.exp: Add test for completion of "info
20337 registers ".
20338
3e29f34a
MR
203392014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20340
20341 * gdb.base/func-ptrs.c: New file.
20342 * gdb.base/func-ptrs.exp: New file.
20343
fc126975
SM
203442014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20345
20346 PR breakpoints/17012
20347 * gdb.base/dprintf-detach.c: New file.
20348 * gdb.base/dprintf-detach.exp: New file.
20349
0a46d518
SM
203502014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20351
20352 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20353 * lib/gdb.exp (target_is_gdbserver): New procedure.
20354
a0be3e44
DE
203552014-12-08 Doug Evans <dje@google.com>
20356
20357 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20358
df1b803a
YQ
203592014-12-05 Yao Qi <yao@codesourcery.com>
20360
20361 * gdb.guile/scm-error.exp: Remove the third argument to
20362 gdb_remote_download.
20363 * gdb.guile/scm-frame-args.exp: Likewise.
20364 * gdb.guile/scm-section-script.exp: Likewise.
20365
ddb9f679
YQ
203662014-12-05 Yao Qi <yao@codesourcery.com>
20367
20368 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20369
86e4ed39
DE
203702014-12-04 Doug Evans <dje@google.com>
20371
20372 * gdb.python/py-objfile.exp: Add tests for
20373 objfile.add_separate_debug_file.
20374
7c50a931
DE
203752014-12-04 Doug Evans <dje@google.com>
20376
20377 * lib/gdb.exp (get_build_id): New function.
20378 (build_id_debug_filename_get): Rewrite to use it.
20379 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20380
621661e3
MR
203812014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20382
20383 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20384 `method(long)', not just 0x0.
20385 * gdb.cp/nsalias.exp: Align code labels to 4.
20386 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20387 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20388 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20389 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20390 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20391 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20392
29f0c3b7
DE
203932014-12-02 Doug Evans <dje@google.com>
20394
e1e061e7 20395 PR symtab/17602
29f0c3b7 20396 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20397 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20398 * gdb.cp/anon-ns.exp: Update.
20399
162078c8
NB
204002014-12-02 Nick Bull <nicholaspbull@gmail.com>
20401
20402 * gdb.python/py-events.py (inferior_call_handler): New.
20403 (register_changed_handler, memory_changed_handler): New.
20404 (test_events.invoke): Register new handlers.
20405 * gdb.python/py-events.exp: Add tests for inferior call,
20406 memory_changed and register_changed events.
20407
fdb09caf
AA
204082014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20409
20410 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20411 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20412 if the linker doesn't understand this.
20413
55cfb2c4
SM
204142014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20415
20416 * gdb.python/python.exp: Change expected reply to help().
20417
9e8cd6df
YQ
204182014-12-01 Yao Qi <yao@codesourcery.com>
20419
20420 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20421 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20422 * configure: Re-generated.
20423
6c659fc2
SC
204242014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20425
20426 * gdb.cp/chained-calls.cc: New file.
20427 * gdb.cp/chained-calls.exp: New file.
20428 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20429
d7fc3181
SM
204302014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20431
20432 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20433 * gdb.dwarf2/symtab-producer.exp: Same.
20434 * gdb.gdb/python-interrupts.exp: Same.
20435 * gdb.gdb/python-selftest.exp: Same.
20436 * gdb.python/py-linetable.exp: Same.
20437 * gdb.python/py-type.exp: Same.
20438 * gdb.python/py-value-cc.exp: Same.
20439 * gdb.python/py-value.exp: Same.
20440
10e79639
YQ
204412014-11-28 Yao Qi <yao@codesourcery.com>
20442
20443 * gdb.base/break-probes.exp: Match library name prefixed with
20444 sysroot.
20445
f28a0564
SM
204462014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20447
20448 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20449 test expected output. Add parentheses for the call to print.
20450 Remove L suffix from integers.
20451
3fe1ce1d
DE
204522014-11-26 Doug Evans <dje@google.com>
20453
20454 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20455
84429e27
YQ
204562014-11-22 Yao Qi <yao@codesourcery.com>
20457
20458 * gdb.trace/entry-values.c: Remove asms.
20459 (foo): Add foo_label.
20460 (bar): Add bar_label.
20461 * gdb.trace/entry-values.exp: Remove code computing foo's
20462 length and bar's length.
20463 (Dwarf::assemble): Invoke function_range for bar and use
20464 MACRO_AT_func for foo.
20465
26741859
YQ
204662014-11-22 Yao Qi <yao@codesourcery.com>
20467
20468 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20469 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20470 Use .Lgcc43_procstart instead of gcc43.
20471
45e44d27
JB
204722014-11-21 Joel Brobecker <brobecker@adacore.com>
20473
20474 * gdb.ada/n_arr_bound: New testcase.
20475
458c8db8
SDJ
204762014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20477
20478 PR breakpoints/10737
20479 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20480 test_catch_syscall_multi_arch.
20481 (test_catch_syscall_multi_arch): New function.
20482
43f3e411
DE
204832014-11-20 Doug Evans <xdje42@gmail.com>
20484
20485 * gdb.base/maint.exp: Update expected output.
20486
0d7b2549
AA
204872014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20488
20489 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20490 4-byte instruction on S390.
20491
8908fca5
JB
204922014-11-19 Joel Brobecker <brobecker@adacore.com>
20493
20494 * gdb.ada/arr_arr: New testcase.
20495
4a46959e
JB
204962014-11-19 Joel Brobecker <brobecker@adacore.com>
20497
20498 * gdb.ada/pkd_arr_elem: New Testcase.
20499
470e2f4e
LM
205002014-11-18 Luis Machado <lgustavo@codesourcery.com>
20501
20502 * gdb.reverse/break-precsave: Expect completion message for
20503 core file reads.
20504 * gdb.reverse/consecutive-precsave.exp: Likewise.
20505 * gdb.reverse/finish-precsave.exp: Likewise.
20506 * gdb.reverse/i386-precsave.exp: Likewise.
20507 * gdb.reverse/machinestate-precsave.exp: Likewise.
20508 * gdb.reverse/sigall-precsave.exp: Likewise.
20509 * gdb.reverse/solib-precsave.exp: Likewise.
20510 * gdb.reverse/step-precsave.exp: Likewise.
20511 * gdb.reverse/until-precsave.exp: Likewise.
20512 * gdb.reverse/watch-precsave.exp: Likewise.
20513
a267f3ad
AA
205142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20515
20516 * gdb.base/bp-permanent.c: Include unistd.h.
20517 * gdb.python/py-framefilter-mi.c (main): Add return type.
20518 * gdb.python/py-framefilter.c (main): Likewise.
20519 * gdb.trace/actions-changed.c (main): Likewise.
20520
12084a9a
AA
205212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20522
20523 * gdb.mi/until.c: Add eye-catchers.
20524 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20525 line numbers.
20526
dc7e1a77
AA
205272014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20528
20529 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20530 function header variants in break1.c.
20531 * gdb.base/ena-dis-br.exp: Likewise.
20532 * gdb.base/hbreak2.exp: Likewise.
20533 * gdb.reverse/until-precsave.exp: Drop references to removed
20534 non-prototype function header variants in ur1.c.
20535 * gdb.reverse/until-reverse.exp: Likewise.
20536
41c77605
PM
205372014-11-17 Petr Machata <pmachata@redhat.com>
20538
20539 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20540 ${_cu_offset_size} bytes abbrev offset.
20541
34248c3a
DE
205422014-11-15 Doug Evans <xdje42@gmail.com>
20543
20544 PR symtab/17559
20545 * gdb.base/line-symtabs.exp: New file.
20546 * gdb.base/line-symtabs.c: New file.
20547 * gdb.base/line-symtabs.h: New file.
20548
646da059
YQ
205492014-11-14 Yao Qi <yao@codesourcery.com>
20550
20551 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20552 (func): Add label func_label.
20553 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20554 Replace low_pc and high_pc with MACRO_AT_range.
20555 Replace name, low_pc and high_pc with MACRO_AT_func.
20556
9301ebe6
YQ
205572014-11-14 Yao Qi <yao@codesourcery.com>
20558
20559 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20560 Replace name, low_pc and high_pc with MACRO_AT_func.
20561
f166b542
YQ
205622014-11-14 Yao Qi <yao@codesourcery.com>
20563
20564 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20565 produce debug information.
20566 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20567
0f6e71e3
YQ
205682014-11-14 Yao Qi <yao@codesourcery.com>
20569
20570 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20571 object and get function length.
20572 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20573 with MACRO_AT_func.
20574 (top-level): Replace gdb_compile and clean_restart with
20575 prepare_for_testing.
20576 * gdb.dwarf2/main.c (main): Add label main_label.
20577
876c4df9
YQ
205782014-11-14 Yao Qi <yao@codesourcery.com>
20579
20580 * lib/dwarf.exp (function_range): New procedure.
20581 (Dwarf::_handle_macro_at_func): New procedure.
20582 (Dwarf::_handle_macro_at_range): New procedure.
20583 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20584
02ad9cf1
YQ
205852014-11-14 Yao Qi <yao@codesourcery.com>
20586
20587 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20588 (_handle_attribute): New procedure.
20589
a59add0c
AA
205902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20591
20592 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20593 * gdb.base/call-sc.c (zed): Likewise.
20594 * gdb.base/checkpoint.c (main): Likewise.
20595 * gdb.base/dump.c (main): Likewise.
20596 * gdb.base/gcore.c (main): Likewise.
20597 * gdb.base/huge.c (main): Likewise.
20598 * gdb.base/multi-forks.c (main): Likewise.
20599 * gdb.base/pr10179-a.c (main): Likewise.
20600 * gdb.base/savedregs.c (main): Likewise.
20601 * gdb.base/sigaltstack.c (main): Likewise.
20602 * gdb.base/siginfo.c (main): Likewise.
20603 * gdb.base/structs.c (zed): Likewise.
20604 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20605 * gdb.mi/mi-syn-frame.c (main): Likewise.
20606 * gdb.mi/until.c (foo, main): Likewise.
20607 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20608 * gdb.base/solib-weak.c (foo): Declare.
20609 * gdb.base/attach-twice.c: Include stdio.h.
20610 * gdb.base/weaklib1.c: Likewise.
20611 * gdb.base/weaklib2.c: Likewise.
20612 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20613 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20614 unistd.h.
20615 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20616 * gdb.mi/mi-exit-code.c: Likewise.
20617 * gdb.base/break-interp-lib.c: Include string.h.
20618 * gdb.base/coremaker.c: Likewise.
20619 * gdb.base/testenv.c: Likewise.
20620 * gdb.python/py-finish-breakpoint.c: Likewise.
20621 * gdb.base/inferior-died.c: Include sys/wait.h.
20622 * gdb.base/fileio.c: Include time.h.
20623 * gdb.base/async-shell.c: Include unistd.h.
20624 * gdb.base/dprintf-non-stop.c: Likewise.
20625 * gdb.base/info-os.c: Likewise.
20626 * gdb.mi/mi-console.c: Likewise.
20627 * gdb.mi/watch-nonstop.c: Likewise.
20628 * gdb.python/py-events.c: Likewise.
20629 * gdb.base/async.c (baz): Move up before its invocation.
20630 * gdb.base/code_elim2.c (my_global_func): Likewise.
20631 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20632 * gdb.base/advance.c (func2): Likewise.
20633
3b5d5997
AA
206342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20635
20636 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20637 variant.
20638 * gdb.base/annota3.c: Likewise.
20639 * gdb.base/async.c: Likewise.
20640 * gdb.base/average.c: Likewise.
20641 * gdb.base/call-ar-st.c: Likewise.
20642 * gdb.base/call-rt-st.c: Likewise.
20643 * gdb.base/call-sc.c: Likewise.
20644 * gdb.base/call-strs.c: Likewise.
20645 * gdb.base/ending-run.c: Likewise.
20646 * gdb.base/execd-prog.c: Likewise.
20647 * gdb.base/exprs.c: Likewise.
20648 * gdb.base/foll-exec.c: Likewise.
20649 * gdb.base/foll-fork.c: Likewise.
20650 * gdb.base/foll-vfork.c: Likewise.
20651 * gdb.base/funcargs.c: Likewise.
20652 * gdb.base/gcore.c: Likewise.
20653 * gdb.base/jump.c: Likewise.
20654 * gdb.base/langs0.c: Likewise.
20655 * gdb.base/langs1.c: Likewise.
20656 * gdb.base/langs2.c: Likewise.
20657 * gdb.base/mips_pro.c: Likewise.
20658 * gdb.base/nodebug.c: Likewise.
20659 * gdb.base/opaque0.c: Likewise.
20660 * gdb.base/opaque1.c: Likewise.
20661 * gdb.base/recurse.c: Likewise.
20662 * gdb.base/run.c: Likewise.
20663 * gdb.base/scope0.c: Likewise.
20664 * gdb.base/scope1.c: Likewise.
20665 * gdb.base/setshow.c: Likewise.
20666 * gdb.base/setvar.c: Likewise.
20667 * gdb.base/shmain.c: Likewise.
20668 * gdb.base/shr1.c: Likewise.
20669 * gdb.base/shr2.c: Likewise.
20670 * gdb.base/sigall.c: Likewise.
20671 * gdb.base/signals.c: Likewise.
20672 * gdb.base/so-indr-cl.c: Likewise.
20673 * gdb.base/solib2.c: Likewise.
20674 * gdb.base/structs.c: Likewise.
20675 * gdb.base/sum.c: Likewise.
20676 * gdb.base/vforked-prog.c: Likewise.
20677 * gdb.base/watchpoint.c: Likewise.
20678 * gdb.reverse/shr2.c: Likewise.
20679 * gdb.reverse/until-reverse.c: Likewise.
20680 * gdb.reverse/ur1.c: Likewise.
20681 * gdb.reverse/watch-reverse.c: Likewise.
20682
066a77c5
AA
206832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20684
20685 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20686 variant.
20687 * gdb.base/sepdebug.exp: Drop references to removed code.
20688
4f204ea5
AA
206892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20690
20691 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20692 variant. Preserve original line numbering.
20693 * gdb.base/list1.c: Likewise.
20694
3b377a3a
AA
206952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20696
20697 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20698 variant.
20699 * gdb.base/break1.c: Likewise.
20700 * gdb.base/break.exp: Drop references to removed code.
20701
e444df73
AA
207022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20703
20704 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20705 variant.
20706
8008f2a7
AA
207072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20708
20709 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20710
a5a06887
AA
207112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20712
20713 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20714 logic into perform_all_tests() and invoke it with and without
20715 function header prototypes.
20716 (do_function_calls): Remove conditional XFAIL for PR 5318.
20717 (rerun_and_prepare): Remove duplicate code.
20718 (perform_all_tests): New. Main logic moved here.
20719
44dba9b9
AA
207202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20721
20722 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20723 code guarded by #ifdef NO_PROTOTYPES.
20724 (t_double_many_args): Likewise.
20725 (DEF_FUNC_MANY_ARGS_1): Likewise.
20726 (DEF_FUNC_VALUES_1): Likewise.
20727 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20728 guarded by #ifdef PROTOTYPES.
20729
d1fbcd56
AA
207302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20731
20732 * gdb.mi/mi-console.c: Add eye-catcher.
20733 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20734 instead of literal line number.
20735
b0e59b8f
AA
207362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20737
20738 * gdb.base/shr2.c: Add eye-catcher.
20739 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20740 line number.
20741
78f98cca
AA
207422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20743
20744 * gdb.base/jump.c: Add eye-catchers.
20745 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20746 numbers.
20747
58fa2af0
AA
207482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20749
20750 * gdb.base/execd-prog.c: Add eye-catchers.
20751 * gdb.base/foll-exec.c: Likewise.
20752 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20753 line numbers.
20754
04e5059b
AA
207552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20756
20757 * gdb.base/ending-run.c: Add eye-catchers.
20758 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20759 literal line numbers.
20760
dbfdb174
AA
207612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20762
20763 * gdb.base/call-rt-st.c: Add eye-catchers.
20764 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20765 literal line numbers.
20766
888a2ade
AA
207672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20768
20769 * gdb.base/call-ar-st.c: Add eye-catchers.
20770 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20771 literal line numbers.
20772
6acc2dde
AA
207732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20774
20775 * gdb.base/average.c: Add eye-catchers.
20776 * gdb.base/sum.c: Likewise.
20777 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20778 regexps dynamically.
20779
9ecfcd1d
AA
207802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20781
20782 * gdb.base/solib1.c: Add eye-catchers.
20783 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20784 literal line numbers.
20785
78708b7c
PA
207862014-11-12 Pedro Alves <palves@redhat.com>
20787
20788 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20789 leader has exited.
20790
af48d08f
PA
207912014-11-12 Pedro Alves <palves@redhat.com>
20792
20793 * gdb.arch/i386-bp_permanent.c: New file.
20794 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20795 (srcfile): Set to i386-bp_permanent.c.
20796 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20797 that stepi does not execute the 'leave' instruction, instead of
20798 testing it does execute.
20799 * gdb.base/bp-permanent.c: New file.
20800 * gdb.base/bp-permanent.exp: New file.
20801
af3768e9
DE
208022014-11-10 Doug Evans <xdje42@gmail.com>
20803
20804 PR symtab/17564
20805 * gdb.base/symtab-search-order.exp: New file.
20806 * gdb.base/symtab-search-order.c: New file.
20807 * gdb.base/symtab-search-order-1.c: New file.
20808 * gdb.base/symtab-search-order-shlib-1.c: New file.
20809
9de00a4a
PA
208102014-11-07 Pedro Alves <palves@redhat.com>
20811
20812 PR gdb/17511
20813 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20814 i?86-*-linux*.
20815
e0f52461
SC
208162014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20817
20818 PR c++/17494
20819 * gdb.cp/pr17494.cc: New file.
20820 * gdb.cp/pr17494.exp: New file.
20821
6ce8c980
YQ
208222014-11-02 Yao Qi <yao@codesourcery.com>
20823
20824 * gdb.python/python.exp: Get working directory and match the
20825 output of "set extended-prompt \\w " with it.
20826
02be9a71
DE
208272014-10-30 Doug Evans <dje@google.com>
20828
20829 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20830 in objfiles.
20831 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20832 in progspaces.
20833
3bdff46b
LM
208342014-10-30 Janis Johnson <janisjo@codesourcery.com>
20835
20836 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20837 * gdb.base/realname-expand.exp: Likewise.
20838 * gdb.linespec/macro-relative.exp: Likewise.
20839
ab917dfb
PA
208402014-10-29 Pedro Alves <palves@redhat.com>
20841
20842 PR gdb/17408
20843 * gdb.threads/schedlock.c (some_function): New function.
20844 (call_function): New global.
20845 (MAYBE_CALL_SOME_FUNCTION): New macro.
20846 (thread_function): Call it.
20847 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20848 and use it instead of a global counter. Adjust all callers.
20849 (get_current_thread): Use "find current thread" for test message
20850 here rather than having all callers pass down the same string.
20851 (goto_loop): New procedure, factored out from ...
20852 (my_continue): ... this.
20853 (step_ten_loops): Change parameter from test message to command to
20854 use. Adjust.
20855 (list_count): Delete global.
20856 (check_result): New procedure, factored out from duplicate top
20857 level code.
20858 (continue tests): Wrap in with_test_prefix.
20859 (test_step): New procedure, factored out from duplicate top level
20860 code.
20861 (top level): Test "step" in combination with all scheduler-locking
20862 modes. Test "next" in combination with all scheduler-locking
20863 modes, and in combination with stepping over a function call or
20864 not.
20865 * gdb.threads/next-bp-other-thread.c: New file.
20866 * gdb.threads/next-bp-other-thread.exp: New file.
20867
d3d4baed
PA
208682014-10-29 Pedro Alves <palves@redhat.com>
20869
20870 PR python/17372
20871 * gdb.python/python.exp: Test a multi-line command that spawns
20872 interactive Python.
20873 * gdb.base/multi-line-starts-subshell.exp: New file.
20874
563e8d85
YQ
208752014-10-29 Yao Qi <yao@codesourcery.com>
20876
20877 * gdb.base/fileio.exp: Make directories on host.
20878
0ea4d52e
YQ
208792014-10-29 Yao Qi <yao@codesourcery.com>
20880
20881 * gdb.base/fileio.c (test_write): Close the file.
20882
7f5ef605
PA
208832014-10-28 Pedro Alves <palves@redhat.com>
20884
20885 PR gdb/12623
20886 * gdb.base/sigstep.c (no_handler): New global.
20887 (main): If 'no_handler is true, set the signal handlers to
20888 SIG_IGN.
20889 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20890 with_sw_watch and no_handler parameters. Handle them.
20891 (top level) <stepping over handler when stopped at a breakpoint
20892 test>: Add a test axis for testing with a software watchpoint, and
20893 another for testing with the signal handler set to SIG_IGN.
20894 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20895 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20896
abbdbd03
PA
208972014-10-28 Pedro Alves <palves@redhat.com>
20898
20899 PR gdb/17511
20900 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20901 * gdb.base/sigstep.exp (other_handler_location): New global.
20902 (advance): Support stepping into the signal handler, and running
20903 commands while in the handler.
20904 (in_handler_map): New global.
20905 (top level): In the advance test, add combinations for getting
20906 into the handler with stepping commands, and for running commands
20907 in the handler. Add comment descripting the advancei tests.
20908
1df4399f
PA
209092014-10-28 Pedro Alves <palves@redhat.com>
20910
20911 * gdb.base/sigstep.exp: Use build_executable instead of
20912 prepare_for_testing.
20913 (top level): Move code that starts GDB, runs to main and creates a
20914 display to ...
20915 (restart): ... this new procedure.
20916 (top level): Move backtrace from signal handler test to ...
20917 (validate_backtrace): ... this new procedure.
20918 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20919 with_test_prefix. Always restart GDB.
20920 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20921 with_test_prefix. Always restart GDB. No need to delete
20922 breakpoints after the test.
20923 (test_skip_handler): Remove prefix parameter.
20924 (skip_over_handler, breakpoint_to_handler)
20925 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20926 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20927 restart GDB. No need to delete breakpoints after the test.
20928 (top level): Use foreach to call the test procedures with
20929 different commands.
20930
a5b6e449
PA
209312014-10-28 Pedro Alves <palves@redhat.com>
20932
20933 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20934 instead of GNATS numbers.
20935 * gdb.base/sigbpt.exp: Likewise.
20936 * gdb.base/siginfo.exp: Likewise.
20937 * gdb.base/sigstep.exp: Likewise.
20938
e5f8a7cc
PA
209392014-10-27 Pedro Alves <palves@redhat.com>
20940
20941 * gdb.base/sigstep.c (dummy): New global.
20942 (main): Issue a couple writes to the new global.
20943 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20944 procedures.
20945 (skip_over_handler): Use test_skip_handler.
20946 (top level): Call skip_over_handler for stepi and nexti too.
20947 (breakpoint_over_handler): Use test_skip_handler.
20948 (top level): Call breakpoint_over_handler for stepi and nexti too.
20949
763905a3
YQ
209502014-10-27 Yao Qi <yao@codesourcery.com>
20951
20952 * gdb.trace/tfile.c (adjust_function_address)
20953 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20954 function descriptor.
20955
6f259a23
DB
209562014-10-24 Don Breazeal <donb@codesourcery.com>
20957
20958 * gdb.base/foll-fork.exp (test_follow_fork,
20959 catch_fork_child_follow): Check for updated fork messages emitted
20960 from infrun.c.
20961 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20962 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20963 vfork_and_exec_child_follow_through_step): Check for updated vfork
20964 messages emitted from infrun.c.
20965
09dd9a69
PA
209662014-10-24 Pedro Alves <palves@redhat.com>
20967
20968 * gdb.base/corefile.exp: Remove references to ultrix.
20969 * gdb.base/interrupt.exp: Likewise.
20970 * gdb.base/whatis.exp: Likewise.
20971 * gdb.gdb/selftest.exp: Likewise.
20972 * gdb.threads/manythreads.exp: Likewise.
20973 * gdb.threads/print-threads.exp: Likewise.
20974 * gdb.threads/pthreads.exp:: Likewise.
20975 * gdb.threads/schedlock.exp: Likewise.
20976
3433cfa5
SC
209772014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20978
20979 * gdb.cp/non-trivial-retval.cc: Add a test case.
20980 * gdb.cp/non-trivial-retval.exp: Add a test.
20981
092f880b
YQ
209822014-10-20 Yao Qi <yao@codesourcery.com>
20983
20984 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20985 * gdb.python/py-objfile-script-gdb.py: New file.
20986 * gdb.python/py-objfile-script.exp: Update reference to
20987 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20988 of remote_download. Remove the dest file.
20989
acbdb7f3
YQ
209902014-10-20 Yao Qi <yao@codesourcery.com>
20991
20992 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20993 * gdb.base/step-line.exp: Likewise.
20994 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20995 * gdb.dwarf2/dw2-basic.exp: Likewise.
20996 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20997 * gdb.dwarf2/dw2-filename.exp: Likewise.
20998 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20999 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21000 * gdb.dwarf2/dw2-producer.exp: Likewise.
21001 * gdb.dwarf2/mac-fileno.exp: Likewise.
21002 * gdb.python/py-frame-args.exp: Likewise.
21003 * gdb.python/py-framefilter.exp: Likewise.
21004 * gdb.python/py-mi.exp: Likewise.
21005 * gdb.python/py-objfile-script.exp: Likewise
21006 * gdb.python/py-pp-integral.exp: Likewise.
21007 * gdb.python/py-pp-re-notag.exp: Likewise.
21008 * gdb.python/py-prettyprint.exp: Likewise.
21009 * gdb.python/py-section-script.exp: Likewise.
21010 * gdb.python/py-typeprint.exp: Likewise.
21011 * gdb.python/py-xmethods.exp: Likewise.
21012 * gdb.stabs/weird.exp: Likewise.
21013 * gdb.xml/tdesc-regs.exp: Likewise.
21014
bd286a29
KCY
210152014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21016
21017 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21018 (out_cu): Use addr_len for the size of addresses.
21019 (out_line): Likewise. Size DW_LNE_set_address instruction
21020 according to addr_len.
21021 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21022 (FUNC): Add START_INSNS to definition.
21023
673dc4a0
YQ
210242014-10-18 Yao Qi <yao@codesourcery.com>
21025
21026 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21027 gdb_has_argv0 return true.
21028 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21029 check [target_info exists noargs], check [gdb_has_argv0]
21030 instead.
21031 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21032 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21033 procedures.
21034
4ffbba72
DE
210352014-10-17 Doug Evans <dje@google.com>
21036
21037 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21038 event.
21039 * gdb.python/py-events.py: Add clear_objfiles event.
21040
d096d8c1
DE
210412014-10-17 Doug Evans <dje@google.com>
21042
21043 * gdb.python/py-objfile.exp: Test progspace attribute.
21044
a80db015
LM
210452014-10-17 Luis Machado <lgustavo@codesourcery.com>
21046
21047 * gdb.guile/scm-breakpoint.exp: Do not assume any
21048 directory separators when matching source file paths.
21049 * gdb.python/py-breakpoint.exp: Likewise.
21050 * gdb.reverse/break-precsave.exp: Likewise.
21051 * gdb.reverse/break-reverse.exp: Likewise.
21052 * gdb.reverse/consecutive-precsave.exp: Likewise.
21053 * gdb.reverse/finish-precsave.exp: Likewise.
21054 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21055 * gdb.reverse/finish-reverse.exp: Likewise.
21056 * gdb.reverse/i386-precsave.exp: Likewise.
21057 * gdb.reverse/i387-env-reverse.exp: Likewise.
21058 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21059 * gdb.reverse/machinestate-precsave.exp: Likewise.
21060 * gdb.reverse/machinestate.exp: Likewise.
21061 * gdb.reverse/sigall-precsave.exp: Likewise.
21062 * gdb.reverse/solib-precsave.exp: Likewise.
21063 * gdb.reverse/step-precsave.exp: Likewise.
21064 * gdb.reverse/until-precsave.exp: Likewise.
21065 * gdb.reverse/watch-precsave.exp: Likewise.
21066 * gdb.reverse/watch-reverse.exp: Likewise.
21067
b22089ab
YQ
210682014-10-17 Yao Qi <yao@codesourcery.com>
21069
21070 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21071 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21072
6c4486e6
PA
210732014-10-17 Pedro Alves <palves@redhat.com>
21074
21075 PR gdb/17471
21076 * gdb.base/bg-execution-repeat.c: New file.
21077 * gdb.base/bg-execution-repeat.exp: New file.
21078
0ff33695
PA
210792014-10-17 Pedro Alves <palves@redhat.com>
21080
21081 PR gdb/17300
21082 * gdb.base/continue-all-already-running.c: New file.
21083 * gdb.base/continue-all-already-running.exp: New file.
21084
6fdebc3d
PA
210852014-10-17 Pedro Alves <palves@redhat.com>
21086
21087 PR gdb/17472
21088 * gdb.base/annota-input-while-running.c: New file.
21089 * gdb.base/annota-input-while-running.exp: New file.
21090
32a8097b
PA
210912014-10-17 Pedro Alves <palves@redhat.com>
21092
21093 * gdb.base/callfuncs.exp: emove references to osf.
21094 * gdb.base/sigall.exp: Likewise.
21095 * gdb.gdb/selftest.exp: Likewise.
21096 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21097 * gdb.mi/non-stop.c: Likewise.
21098 * gdb.mi/pthreads.c: Likewise.
21099 * gdb.reverse/sigall-precsave.exp: Likewise.
21100 * gdb.reverse/sigall-reverse.exp: Likewise.
21101 * gdb.threads/pthreads.c: Likewise.
21102 * gdb.threads/pthreads.exp: Likewise.
21103
7a3517ff
YQ
211042014-10-17 Yao Qi <yao@codesourcery.com>
21105
21106 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21107 check 'target_info exists noargs'.
21108 (test_command_prompt_position): Likewise.
21109 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21110 Remove "set args".
21111 (progvar_simple_while_test): Likewise.
21112 (progvar_complex_if_while_test): Likewise.
21113 (if_while_breakpoint_command_test): Likewise.
21114 (infrun_breakpoint_command_test): Likewise.
21115 (breakpoint_command_test): Likewise.
21116 (watchpoint_command_test): Likewise.
21117 (bp_deleted_in_command_test): Likewise.
21118 (temporary_breakpoint_commands): Likewise.
21119
bb99c472
YQ
211202014-10-16 Yao Qi <yao@codesourcery.com>
21121
21122 * gdb.base/remotetimeout.exp: Remove noargs checking.
21123
7c16b83e
PA
211242014-10-15 Pedro Alves <palves@redhat.com>
21125
21126 PR breakpoints/9649
21127 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21128 * gdb.base/breakpoint-in-ro-region.exp
21129 (probe_target_hardware_step): New procedure.
21130 (top level): Probe hardware stepping and hardware breakpoint
21131 support. Test stepping through a read-only region, with both
21132 "breakpoint auto-hw" on and off and both "always-inserted" on and
21133 off.
21134
35a49624
IB
211352014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21136
21137 * gdb.dlang/demangle.exp: Update for demangling changes.
21138
2d1c107c
SC
211392014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21140
21141 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21142 * gdb.cp/non-trivial-retval.exp: Add new tests.
21143
778811d5
SC
211442014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21145
21146 PR c++/13403
21147 PR c++/15154
21148 * gdb.cp/non-trivial-retval.cc: New file.
21149 * gdb.cp/non-trivial-retval.exp: New file.
21150
10c5f0a8
YQ
211512014-10-15 Yao Qi <yao@codesourcery.com>
21152
21153 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21154 remote host.
21155
65d7b369
YQ
211562014-10-15 Yao Qi <yao@codesourcery.com>
21157
21158 * gdb.python/py-symbol.exp: Match file base name if host is
21159 remote, otherwise match file name with dir name.
21160 * gdb.python/py-symtab.exp: Likewise.
21161 * gdb.python/python.exp: Likewise.
21162
46dc1394
YQ
211632014-10-15 Yao Qi <yao@codesourcery.com>
21164
21165 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21166 pattern.
21167 * gdb.python/py-symtab.exp: Likewise.
21168 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21169 locationn.
21170
c40cc657
JB
211712014-10-14 Joel Brobecker <brobecker@adacore.com>
21172
21173 * gdb.ada/addr_arith: New testcase.
21174
2abf49e1
MR
211752014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21176
21177 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21178 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21179 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21180 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21181
f7088df3
SDJ
211822014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21183
21184 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21185 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21186 * gdb.arch/stap-eval-lang-ada.exp: New file.
21187
4dc06805
YQ
211882014-10-14 Yao Qi <yao@codesourcery.com>
21189
21190 * gdb.mi/mi-var-child.c (nothing1): New function.
21191 (nothing2): New function.
21192 (do_children_tests): Set function pointers by nothing1 and
21193 nothing2.
21194 * gdb.mi/mi-var-child.exp: Step over new added statements.
21195 Update test to match the new output.
21196 * gdb.mi/var-cmd.c (nothing1): New function.
21197 (nothing2): New function.
21198 (do_children_tests): Set function pointers by nothing1 and
21199 nothing2.
21200 * gdb.mi/mi-var-display.exp: Update test to match output.
21201 Step to the line specified by $line_dct_nothing.
21202 Increase the number of lines to step.
21203
46a93de2
YQ
212042014-10-14 Yao Qi <yao@codesourcery.com>
21205
21206 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21207 tests.
21208 * gdb.mi/mi2-var-child.exp: Likewise.
21209
14ea52ee
DE
212102014-10-13 Doug Evans <dje@google.com>
21211
21212 * gdb.python/py-objfile.exp: Change name of file name test.
21213
e5c6e92b
DE
212142014-10-13 Doug Evans <dje@google.com>
21215
21216 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21217 from the start of the CU.
21218
c780cc2f
JK
212192014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21220 Yao Qi <yao@codesourcery.com>
21221
21222 Fix "save breakpoints" for "catch" command.
21223 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21224 Remove -nonewline. Match also the added "main" line.
21225
99894e11
JK
212262014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21227
21228 Fix "save breakpoints" for "disable $bpnum" command.
21229 * gdb.base/save-bp.c (main): Add label.
21230 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21231
6e1ac5a3
JK
212322014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21233
21234 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21235
754dd2b0
YQ
212362014-10-11 Yao Qi <yao@codesourcery.com>
21237
21238 * gdb.server/server-kill.exp: Execute command
21239 "set remote trace-status-packet on" before "tstatus".
21240
f90183d7
YQ
212412014-10-11 Yao Qi <yao@codesourcery.com>
21242
21243 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21244 (main): Call getppid.
21245 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21246 and continue to it. Read variable "server_pid".
21247
bf40a607
YQ
212482014-10-11 Yao Qi <yao@codesourcery.com>
21249
21250 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21251
052ca370
YQ
212522014-10-11 Yao Qi <yao@codesourcery.com>
21253
21254 * gdb.threads/thread-find.exp: Don't execute command
21255 "info threads".
21256 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21257 * gdb.threads/linux-dp.exp: Don't check the condition
21258 $threads_created equals to zero.
21259
3831839c
PA
212602014-10-10 Pedro Alves <palves@redhat.com>
21261
21262 * gdb.base/bigcore.exp: Remove references to IRIX.
21263 * gdb.base/funcargs.exp: Likewise.
21264 * gdb.base/interrupt.exp: Likewise.
21265 * gdb.base/mips_pro.exp: Likewise.
21266 * gdb.base/nodebug.exp: Likewise.
21267 * gdb.base/setvar.exp: Likewise.
21268 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21269
8b9a549d
PA
212702014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21271 Pedro Alves <palves@redhat.com>
21272
21273 PR symtab/14466
21274 * gdb.base/vdso-warning.c: New file.
21275 * gdb.base/vdso-warning.exp: New file.
21276
d48ba5e8
DE
212772014-10-02 Doug Evans <dje@google.com>
21278
21279 * gdb.base/structs.c (main): Don't run forever.
21280
2278c276
PA
212812014-10-02 Pedro Alves <palves@redhat.com>
21282
21283 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21284 (top level) <stop threads 1, stop threads 2>: Use it.
21285
b57bacec
PA
212862014-10-02 Pedro Alves <palves@redhat.com>
21287
21288 * gdb.threads/break-while-running.exp (test): Add new
21289 'update_thread_list' argument. Skip "info threads" if false.
21290 (top level): Add new 'update_thread_list' axis.
21291
13fd3ff3
PA
212922014-10-02 Pedro Alves <palves@redhat.com>
21293
21294 PR breakpoints/17431
21295 * gdb.base/execl-update-breakpoints.c: New file.
21296 * gdb.base/execl-update-breakpoints.exp: New file.
21297
0fec99e8
PA
212982014-10-01 Pedro Alves <palves@redhat.com>
21299
21300 * gdb.base/breakpoint-in-ro-region.c: New file.
21301 * gdb.base/breakpoint-in-ro-region.exp: New file.
21302
2ddf4301
SM
213032014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21304
21305 * gdb.mi/mi-exit-code.exp: New file.
21306 * gdb.mi/mi-exit-code.c: New file.
21307
6a5f3f43
YQ
213082014-09-30 Yao Qi <yao@codesourcery.com>
21309
21310 * lib/prelink-support.exp (build_executable_own_libs): Error if
21311 the target isn't native.
21312
345bcc73
YQ
213132014-09-30 Yao Qi <yao@codesourcery.com>
21314
21315 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21316 false.
21317
a25a5a45
PA
213182014-09-22 Pedro Alves <palves@redhat.com>
21319
21320 * gdb.threads/break-while-running.exp: New file.
21321 * gdb.threads/break-while-running.c: New file.
21322
00ba3162
YQ
213232014-09-19 Yao Qi <yao@codesourcery.com>
21324
21325 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21326 Invoke test. Restart GDB with --readnow and invoke test again.
21327
c3b7b696
YQ
213282014-09-19 Yao Qi <yao@codesourcery.com>
21329
21330 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21331 proc set_breakpoint_on_gcd_function. Invoke
21332 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21333 invoke set_breakpoint_on_gcd_function again.
21334
2b4fd423
DE
213352014-09-18 Doug Evans <dje@google.com>
21336
21337 * gdb.dwarf2/symtab-producer.exp: New file.
21338
a5947601
SDJ
213392014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21340
21341 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21342 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21343 * gdb.base/global-var-nested-by-dso.c: Likewise.
21344 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21345
91c19059
SDJ
213462014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21347 Pedro Alves <palves@redhat.com>
21348
21349 * gdb.base/watch-bitfields.exp: Pass string other than test file
21350 name to prepare_for_testing.
21351 (watch): New procedure.
21352 (expect_watchpoint): Use with_test_prefix.
21353 (top level): Factor out tests to ...
21354 (test_watch_location, test_regular_watch): ... these new
21355 procedures, and use with_test_prefix and gdb_continue_to_end.
21356
bb9d5f81
PP
213572014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21358
21359 PR breakpoints/12526
21360 * gdb.base/watch-bitfields.exp: New file.
21361 * gdb.base/watch-bitfields.c: New file.
21362
635856f5
PA
213632014-09-16 Pedro Alves <palves@redhat.com>
21364
21365 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21366 software and hardware addresses, not software address against
21367 itself.
21368
7280ceea
PA
213692014-09-16 Pedro Alves <palves@redhat.com>
21370
21371 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21372 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21373
428b16bd
PA
213742014-09-16 Pedro Alves <palves@redhat.com>
21375
21376 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21377 files.
21378 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21379 "*-*-vxworks*" throughout.
21380 * gdb.base/break.exp: Likewise.
21381 * gdb.base/default.exp: Likewise.
21382 * gdb.base/scope.exp: Likewise.
21383 * gdb.base/sepdebug.exp: Likewise.
21384 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21385 throughout.
21386 * gdb.base/run.c: Likewise.
21387 * gdb.base/sepdebug.c: Likewise.
21388 * gdb.hp/gdb.aCC/run.c: Likewise.
21389 * gdb.reverse/until-reverse.c: Likewise.
21390 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21391
666d413c
YQ
213922014-09-16 Yao Qi <yao@codesourcery.com>
21393
21394 * boards/local-remote-host-native.exp: New file.
21395
57cbd724
DE
213962014-09-14 Doug Evans <xdje42@gmail.com>
21397
21398 * gdb.threads/queue-signal.c (thread_count): New variable.
21399 (thread_count_mutex, thread_count_condvar): New variables.
21400 (incr_thread_count, wait_all_threads_running): New functions.
21401 (main): Wait for all threads to be in their thread functions.
21402
81219e53
DE
214032014-09-13 Doug Evans <xdje42@gmail.com>
21404
21405 * gdb.threads/queue-signal.c: New file.
21406 * gdb.threads/queue-signal.exp: New file.
21407
3714cea7
DE
214082014-09-13 Doug Evans <xdje42@gmail.com>
21409
21410 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21411 be consistent with what default_gdb_init uses.
21412 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21413 the plain text of the prompt. Add some logging printfs.
21414 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21415
fa43b1d7
PA
214162014-09-12 Pedro Alves <palves@redhat.com>
21417
21418 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21419 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21420 * gdb.arch/i386-size-overlap.exp: Likewise.
21421 * gdb.arch/i386-size.exp: Likewise.
21422 * gdb.arch/i386-unwind.exp: Likewise.
21423 * gdb.base/a2-run.exp: Likewise.
21424 * gdb.base/break.exp: Likewise.
21425 * gdb.base/charset.exp: Likewise.
21426 * gdb.base/chng-syms.exp: Likewise.
21427 * gdb.base/commands.exp: Likewise.
21428 * gdb.base/dbx.exp: Likewise.
21429 * gdb.base/find.exp: Likewise.
21430 * gdb.base/funcargs.exp: Likewise.
21431 * gdb.base/jit-simple.exp: Likewise.
21432 * gdb.base/reread.exp: Likewise.
21433 * gdb.base/sepdebug.exp: Likewise.
21434 * gdb.base/step-bt.exp: Likewise.
21435 * gdb.cp/mb-inline.exp: Likewise.
21436 * gdb.cp/mb-templates.exp: Likewise.
21437 * gdb.objc/basicclass.exp: Likewise.
21438 * gdb.threads/killed.exp: Likewise.
21439
9d9bf2df
EBM
214402014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21441
21442 PR tdep/17379
21443 * gdb.arch/powerpc-stackless.S: New file.
21444 * gdb.arch/powerpc-stackless.exp: New file.
21445
1cf2f1b0
JK
214462014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21447
21448 * gdb.base/attach.c: Include unistd.h.
21449 (main): Call alarm. Add label postloop.
21450 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21451 gdb_breakpoint, gdb_continue_to_breakpoint.
21452 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21453
98880d46
PA
214542014-09-11 Pedro Alves <palves@redhat.com>
21455
21456 PR gdb/17347
21457 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21458 * gdb.base/attach.exp (test_command_line_attach_run): New
21459 procedure.
21460 (top level): Call it.
21461
4c92ff2c
PA
214622014-09-11 Pedro Alves <palves@redhat.com>
21463
21464 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21465 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21466 (do_command_attach_tests): Use spawn_wait_for_attach.
21467 * gdb.base/solib-overlap.exp: Likewise.
21468 * gdb.multi/multi-attach.exp: Likewise.
21469 * gdb.python/py-prompt.exp: Likewise.
21470 * gdb.python/py-sync-interp.exp: Likewise.
21471 * gdb.server/ext-attach.exp: Likewise.
21472
3adc1a7d
GKB
214732014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21474
21475 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21476 command in testcase. Simplify testcase.
21477
96334934
JB
214782014-09-10 Joel Brobecker <brobecker@adacore.com>
21479
21480 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21481
eb479039
JB
214822014-09-10 Joel Brobecker <brobecker@adacore.com>
21483
21484 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21485
deede10c
JB
214862014-09-10 Joel Brobecker <brobecker@adacore.com>
21487
21488 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21489
7828a5f5
JB
214902014-09-10 Joel Brobecker <brobecker@adacore.com>
21491
21492 * gdb.dwarf2/dynarr-ptr.c: New file.
21493 * gdb.dwarf2/dynarr-ptr.exp: New file.
21494
33aeebcf
MR
214952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21496
21497 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21498 of 30 rather than hardcoding 120 for a slow test case. Take the
21499 `gdb,timeout' target setting into account for this calculation.
21500 Don't extend the timeout for the test cases that don't need it.
21501
7b415901
MR
215022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21503
21504 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21505 a factor of 2 for a slow test case. Take the `gdb,timeout'
21506 target setting into account for this calculation.
21507 * gdb.reverse/until-precsave.exp: Increase the timeout by
21508 a factor of 15 and 3 respectively rather than adding 120
21509 for a pair of slow test cases. Take the `gdb,timeout'
21510 target setting into account for this calculation.
21511
4a40f85a
MR
215122014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21513
21514 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21515 timeout, don't pass one down to gdb_expect.
21516 (gdb_expect): Rework timeout selection.
21517
09635af7
MR
215182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21519
21520 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21521 exception on timeout.
21522 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21523 (gdbserver_start_extended): Catch any `gdbserver_start' error
21524 exceptions.
21525 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21526 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21527 `gdbserver_gdb_load' error exceptions.
21528
2bdd10b7
MR
215292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21530
21531 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21532 120 on waiting for the TCP socket to open.
21533
316935f0
DE
215342014-09-09 Doug Evans <xdje42@gmail.com>
21535
21536 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21537 _caller_matches, _any_caller_is, _any_caller_matches.
21538
83740597
DE
215392014-09-09 Doug Evans <xdje42@gmail.com>
21540
21541 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21542
4c122fc3
YQ
215432014-09-09 Yao Qi <yao@codesourcery.com>
21544
21545 * gdb.mi/mi-var-display.exp: Set print symbol off.
21546
a9f116cb
GKB
215472014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21548
21549 PR gdb/17035
21550 * gdb.base/commands.exp: Add tests to verify user-defined
21551 commands with empty bodies.
21552 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21553 python commands in `show user command`.
21554 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21555 scheme commands in `show user command`.
21556
c75bd3a2
JK
215572014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21558
21559 PR python/17355
21560 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21561 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21562 * gdb.python/py-framefilter-invalidarg.exp: New file.
21563 * gdb.python/py-framefilter-invalidarg.py: New file.
21564
faa42425
DE
215652014-09-06 Doug Evans <xdje42@gmail.com>
21566
21567 PR 15276
21568 * gdb.python/py-caller-is.c: New file.
21569 * gdb.python/py-caller-is.exp: New file.
21570
474ca4f6
SDJ
215712014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21572
21573 PR gdb/17235
21574 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21575 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21576
eb0b0463
SDJ
215772014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21578
21579 PR fortran/17237
21580 * gdb.fortran/print-formatted.exp: New file.
21581 * gdb.fortran/print-formatted.f90: Likewise.
21582
5f3b99cf
SS
215832014-09-03 Sasha Smundak <asmundak@google.com>
21584
21585 * gdb.python/py-frame.exp: Test Frame.read_register.
21586
7d793aa9
SDJ
215872014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21588
21589 PR python/16699
21590 * gdb.python/py-completion.exp: New file.
21591 * gdb.python/py-completion.py: Likewise.
21592
fb0576e9
DE
215932014-08-28 Doug Evans <dje@google.com>
21594
21595 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21596 eax,etc. are live with values set by gdb and thus the compiler can't
21597 use them.
21598 * gdb.arch/i386-pseudo.c (main): Ditto.
21599
ee92b0dd
DE
216002014-08-27 Doug Evans <dje@google.com>
21601
21602 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21603
6649db35
DE
216042014-08-25 Doug Evans <dje@google.com>
21605
21606 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21607 (main): Ditto.
21608
564b7600
DE
216092014-08-25 Doug Evans <dje@google.com>
21610
21611 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21612
3881fb67
YQ
216132014-08-24 Yao Qi <yao@codesourcery.com>
21614
21615 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21616 symbol off.
21617 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21618
a05a36a5
DE
216192014-08-22 Doug Evans <dje@google.com>
21620
21621 PR 17276
21622 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21623 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21624 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21625
7c343b48
YQ
216262014-08-22 Yao Qi <yao@codesourcery.com>
21627
21628 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21629 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21630 * gdb.python/python.exp: Likewise. Use .py file on the host
21631 instead of the build.
21632
22fd09ae
JK
216332014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21634
21635 * gdb.threads/gcore-stale-thread.c: New file.
21636 * gdb.threads/gcore-stale-thread.exp: New file.
21637
a8454a7c
PA
216382014-08-21 Pedro Alves <palves@redhat.com>
21639
21640 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21641 * gdb.base/gcore-relro-pie.exp: Likewise.
21642 * gdb.base/gcore-relro.exp: Likewise.
21643 * gdb.base/gcore.exp: Likewise.
21644 * gdb.base/print-symbol-loading.exp: Likewise.
21645 * gdb.threads/gcore-thread.exp: Likewise.
21646 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21647
2a31c623
PA
216482014-08-20 Pedro Alves <palves@redhat.com>
21649 Jan Kratochvil <jan.kratochvil@redhat.com>
21650
21651 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21652 configure.
21653 (EXPECT): Handle READ1 being set.
21654 (all): Depend on EXTRA_RULES.
21655 (check-read1, expect-read1, read1.so, read1): New rules.
21656 * README (Testsuite Parameters): Document the READ1 make variable.
21657 (Race detection): New section.
21658 * configure: Regenerate.
21659 * configure.ac: If build==host==target, and running under a
21660 GNU/glibc system, add read1 to the extra Makefile rules.
21661 (EXTRA_RULES): AC_SUBST it.
21662 * lib/read1.c: New file.
21663
d36430db
JB
216642014-08-20 Joel Brobecker <brobecker@adacore.com>
21665
21666 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21667 the handling of variables declared as a typedef to an array
21668 which a DW_AT_data_location attribute.
21669
9a0dc9e3
PA
216702014-08-19 Andrew Burgess <aburgess@broadcom.com>
21671 Pedro Alves <palves@redhat.com>
21672
21673 PR symtab/14604
21674 PR symtab/14605
21675 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21676 gdb_test.
21677
0718a8da
PA
216782014-08-19 Pedro Alves <palves@redhat.com>
21679
21680 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21681
13b448cd
YQ
216822014-08-19 Yao Qi <yao@codesourcery.com>
21683
21684 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21685 right line.
21686
1cbf5077
DB
216872014-08-18 David Blaikie <dblaikie@gmail.com>
21688
21689 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21690
bf0fae19
JB
216912014-08-18 Joel Brobecker <brobecker@adacore.com>
21692
21693 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21694 attribute in array range.
21695
3c8c5dcc
JB
216962014-08-18 Joel Brobecker <brobecker@adacore.com>
21697
21698 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21699
e66d4446
SC
217002014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21701
21702 PR c++/17132
21703 * gdb.cp/pr17132.cc: New file.
21704 * gdb.cp/pr17132.exp: New file.
21705
940df408
SC
217062014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21707
21708 * gdb.python/py-xmethods.py (A_getarrayind)
21709 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21710 Use 'print' with function call syntax.
21711 (E_method_matcher.match): Fix tab vs space indentation mixup.
21712
ebcc6c3a
YQ
217132014-08-15 Yao Qi <yao@codesourcery.com>
21714
21715 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21716 false.
21717
775e0f04
YQ
217182014-08-15 Yao Qi <yao@codesourcery.com>
21719
21720 * gdb.cp/casts.exp: Set print symbol off.
21721 * gdb.cp/class2.exp: Likewise.
21722 * gdb.cp/overload.exp: Likewise.
21723 * gdb.cp/templates.exp: Likewise.
21724
d769e349
DE
217252014-08-11 Doug Evans <dje@google.com>
21726
21727 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21728 (test_load_shlib): Update.
21729
20c6f1e1
YQ
217302014-08-09 Yao Qi <yao@codesourcery.com>
21731
21732 * gdb.base/display.exp: Invoke is_address_zero_readable.
21733 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21734 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21735 * gdb.base/hbreak-unmapped.exp: Return if
21736 is_address_zero_readable returns true.
21737 * gdb.base/signest.exp: Likewise.
21738 * gdb.base/signull.exp: Likewise.
21739 * gdb.base/sigbpt.exp: Likewise.
21740 * gdb.guile/scm-disasm.exp: Do the test if
21741 is_address_zero_readable returns false.
21742 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21743 * gdb.python/py-arch.exp: Likewise.
21744 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21745 * lib/gdb.exp (is_address_zero_readable): New proc.
21746
5792e8e3
YQ
217472014-08-09 Yao Qi <yao@codesourcery.com>
21748
21749 PR testsuite/13443
21750 * gdb.mi/mi-var-display.exp: Make test messages unique.
21751
3cecbbbe
TT
217522014-08-04 Tom Tromey <tromey@redhat.com>
21753
21754 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21755 target 0".
21756
00b51ff5
TT
217572014-08-04 Tom Tromey <tromey@redhat.com>
21758
21759 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21760 "target_resume".
21761
6908c509
JB
217622014-08-01 Joel Brobecker <brobecker@adacore.com>
21763
21764 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21765 inner_vla_struct_object_size.
21766 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21767 as xfail.
21768
cc6563d2
PA
217692014-07-30 Pedro Alves <palves@redhat.com>
21770
21771 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21772 comment.
21773
7e09a223
YQ
217742014-07-29 Yao Qi <yao@codesourcery.com>
21775
21776 PR gdb/17206
21777 * gdb.base/until-nodebug.exp: New.
21778
7ebdbe92
DE
217792014-07-28 Doug Evans <xdje42@gmail.com>
21780
21781 PR guile/17203
21782 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21783 previously existing parameter, and previously ambiguously spelled
21784 parameter.
21785
fdb1adc6
WN
217862014-07-28 Will Newton <will.newton@linaro.org>
21787
21788 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21789
186fcde0
DE
217902014-07-26 Ludovic Courtès <ludo@gnu.org>
21791 Doug Evans <xdje42@gmail.com>
21792
21793 PR guile/17146
21794 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21795
70509625
PA
217962014-07-25 Pedro Alves <palves@redhat.com>
21797
21798 * gdb.threads/signal-command-handle-nopass.c: New file.
21799 * gdb.threads/signal-command-handle-nopass.exp: New file.
21800 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21801 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21802 * gdb.threads/signal-delivered-right-thread.c: New file.
21803 * gdb.threads/signal-delivered-right-thread.exp: New file.
21804
c3f814a1
PA
218052014-07-25 Pedro Alves <palves@redhat.com>
21806
21807 * gdb.base/double-prompt-target-event-error.exp
21808 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21809 match.
21810 (cancel_pagination_in_target_event): Rework double prompt
21811 detection.
21812 * gdb.base/paginate-after-ctrl-c-running.exp
21813 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21814 <return>' match.
21815 * gdb.base/paginate-bg-execution.exp
21816 (test_bg_execution_pagination_return)
21817 (test_bg_execution_pagination_cancel): Remove '-notransfer
21818 <return>' matches.
21819 * gdb.base/paginate-execution-startup.exp
21820 (test_fg_execution_pagination_return)
21821 (test_fg_execution_pagination_cancel): Remove '-notransfer
21822 <return>' matches.
21823 * gdb.base/paginate-inferior-exit.exp
21824 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21825 match.
21826 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21827 * lib/gdb.exp (pagination_prompt): Run text through
21828 string_to_regexp.
21829 (gdb_test_multiple): Match $pagination_prompt instead of
21830 "<return>".
21831 (string_to_regexp): Move to lib/gdb-utils.exp.
21832
e214cf6c
JK
218332014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21834
21835 * gdb.arch/amd64-entry-value-paramref.S: New file.
21836 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21837 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21838 * gdb.arch/amd64-optimout-repeat.S: New file.
21839 * gdb.arch/amd64-optimout-repeat.c: New file.
21840 * gdb.arch/amd64-optimout-repeat.exp: New file.
21841
17d0c5c8
JK
218422014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21843
21844 PR gdb/17170
21845 * gdb.base/statistics.exp: New file.
21846
b8b8facf
DE
218472014-07-17 Doug Evans <dje@google.com>
21848
74b49205 21849 PR gdb/17170
b8b8facf
DE
21850 * gdb.base/maint.exp: Update testing of per-command stats.
21851
1b5d0ab3
PA
218522014-07-16 Pedro Alves <palves@redhat.com>
21853
21854 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21855 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21856 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21857 (tfile_write_buf): New functions.
21858 (add_memory_block): Rewrite using the above.
21859 (adjust_function_address): New function.
21860 (FUNCTION_ADDRESS): New macro.
21861 (write_basic_trace_file): Remove short_x local, and use
21862 tfile_write_16. Change type of func_addr local to unsigned long
21863 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21864 here. Cast argument of add_memory_block to char pointer.
21865 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21866 (main): Remove parameters.
21867 * gdb.trace/tfile.exp: Remove nowarnings.
21868
4d974e88
SM
218692014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21870
21871 * gdb.base/debug-expr.exp: Test string evaluation with
21872 "debug expression" on.
21873
41e99568
PA
218742014-07-15 Pedro Alves <palves@redhat.com>
21875
21876 * gdb.base/reread.exp: Use clean_restart.
21877
487d9753
PL
218782014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21879
21880 * gdb.arch/avr-flash-qualifer.c: New.
21881 * gdb.arch/avr-flash-qualifer.exp: New.
21882
cc1c52ad
PA
218832014-07-14 Pedro Alves <palves@redhat.com>
21884
21885 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21886 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21887
1e973570
PA
218882014-07-14 Pedro Alves <palves@redhat.com>
21889
21890 * gdb.base/double-prompt-target-event-error.c: New file.
21891 * gdb.base/double-prompt-target-event-error.exp: New file.
21892
93d6eb10
PA
218932014-07-14 Pedro Alves <palves@redhat.com>
21894
21895 PR gdb/17072
21896 * gdb.base/paginate-inferior-exit.c: New file.
21897 * gdb.base/paginate-inferior-exit.exp: New file.
21898
0017922d
PA
218992014-07-14 Pedro Alves <palves@redhat.com>
21900
21901 PR gdb/17072
21902 * gdb.base/paginate-bg-execution.c: New file.
21903 * gdb.base/paginate-bg-execution.exp: New file.
21904
94696ad3
PA
219052014-07-14 Pedro Alves <palves@redhat.com>
21906
21907 PR gdb/17072
21908 * gdb.base/paginate-execution-startup.c: New file.
21909 * gdb.base/paginate-execution-startup.exp: New file.
21910 * lib/gdb.exp (pagination_prompt): New global.
21911 (default_gdb_spawn): New procedure, factored out from
21912 default_gdb_spawn.
21913 (default_gdb_start): Adjust to call default_gdb_spawn.
21914 (gdb_spawn): New procedure.
21915
bd293940
PA
219162014-07-14 Pedro Alves <palves@redhat.com>
21917
21918 * lib/gdb.exp (gdb_assert): New procedure.
21919 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21920
c933f875
PA
219212014-07-14 Pedro Alves <palves@redhat.com>
21922
21923 * gdb.base/execution-termios.c: New file.
21924 * gdb.base/execution-termios.exp: New file.
21925
d98b7a16
TT
219262014-07-14 Tom Tromey <tromey@redhat.com>
21927
21928 * gdb.cp/vla-cxx.cc: New file.
21929 * gdb.cp/vla-cxx.exp: New file.
21930
548740d6
TT
219312014-07-14 Tom Tromey <tromey@redhat.com>
21932
21933 * gdb.reverse/rerun-prec.c: New file.
21934 * gdb.reverse/rerun-prec.exp: New file.
21935
a25eb028
MR
219362014-07-12 Maciej W. Rozycki <macro@mips.com>
21937 Maciej W. Rozycki <macro@codesourcery.com>
21938
21939 * lib/gdb-utils.exp: New file.
21940 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21941 inline `gdb_init_command' processing.
21942 (gdb_start_cmd): Likewise.
21943 * lib/mi-support.exp (mi_run_cmd): Likewise.
21944 * README: Document `gdb_init_command' and `gdb_init_commands'.
21945
218c2655
JK
219462014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21947
21948 Fix false FAIL running under a very long directory name.
21949 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21950 and "set print elements 10000". Twice.
21951
5401fde3
YQ
219522014-07-11 Yao Qi <yao@codesourcery.com>
21953
21954 * gdb.base/exprs.exp: "set print symbol off".
21955
e76126e8
PA
219562014-07-11 Pedro Alves <palves@redhat.com>
21957
21958 * gdb.threads/kill.c: New file.
21959 * gdb.threads/kill.exp: New file.
21960
2d6f0de6
YQ
219612014-07-10 Yao Qi <yao@codesourcery.com>
21962
21963 * gdb.trace/tfile.c (write_basic_trace_file)
21964 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21965 address written to trace file.
21966
7180e04a
PA
219672014-07-09 Pedro Alves <palves@redhat.com>
21968
21969 * gdb.base/attach-wait-input.exp: New file.
21970 * gdb.base/attach-wait-input.c: New file.
21971
9a9a7608
AB
219722014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21973
21974 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21975 setting up test structures.
21976 (main): Call new test function.
21977 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21978 test function, continue into test function and walk test
21979 structures.
21980
161ac41e
YQ
219812014-07-02 Yao Qi <yao@codesourcery.com>
21982
21983 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21984 'bar_start' at the beginning of functions 'foo' and 'bar'
21985 respectively.
21986 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21987 instead of 'foo' and 'bar'.
21988
1f267ae3
MM
219892014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21990
21991 * gdb.btrace/segv.exp: New.
21992 * gdb.btrace/segv.c: New.
21993
2b239efb
LM
219942014-07-02 Luis Machado <lgustavo@codesourcery.com>
21995
21996 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21997 instruction.
21998
cf363f18
MW
219992014-06-30 Mark Wielaard <mjw@redhat.com>
22000
22001 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22002 vulture, vilify, villar): New volatile array constants.
22003 (vindictive, vegetation): New const volatile array constants.
22004 * gdb.base/volatile.exp: Test volatile and const volatile array
22005 types.
22006
aebf9d24
AA
220072014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22008
22009 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22010 target lacks support for awatch, rwatch, or hbreak.
22011
b67a2c6f
YQ
220122014-06-27 Yao Qi <yao@codesourcery.com>
22013
22014 * gdb.multi/dummy-frame-restore.exp: New.
22015 * gdb.multi/dummy-frame-restore.c: New.
22016
aef92902
MM
220172014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22018
22019 * gdb.btrace/gcore.exp: New.
22020
8e9db26e
PA
220212014-06-23 Pedro Alves <palves@redhat.com>
22022
22023 * gdb.base/watchpoint-reuse-slot.c: New file.
22024 * gdb.base/watchpoint-reuse-slot.exp: New file.
22025
70afc5b7
SC
220262014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22027
22028 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22029 progspace's filename in 'info', 'enable' and 'disable' command
22030 tests.
22031
b972bd9c
JK
220322014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22033
22034 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22035 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22036 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22037
125f8a3d
GB
220382014-06-20 Gary Benson <gbenson@redhat.com>
22039
22040 * gdb.arch/i386-avx.exp: Fix include file location.
22041 * gdb.arch/i386-sse.exp: Likewise.
22042
3ed9baed
IB
220432014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22044
22045 * gdb.dlang/expression.exp: New file.
22046
034f788c
PA
220472014-06-19 Pedro Alves <palves@redhat.com>
22048
22049 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22050 out from ...
22051 (top level): ... here. Iterate running tests under different
22052 scheduler-locking settings.
22053
45371d0c
LM
220542014-06-18 Luis Machado <lgustavo@codesourcery.com>
22055
22056 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22057 to DW_FORM_addr and use non-zero addresses.
22058
5d376983
SC
220592014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22060
22061 PR gdb/17017
22062 * gdb.python/py-xmethods.cc: Add global function call counters and
22063 increment them in their respective functions. Remove "cout"
22064 statements.
22065 * gdb.python/py-xmethods.exp: Make tests check the global function
22066 call counters instead of depending on inferior IO.
22067
a1aa2221
LM
220682014-06-18 Don Breazeal <donb@codesourcery.com>
22069
22070 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22071 Deleted procedure.
22072 (explicit_fork_parent_follow): Deleted procedure.
22073 (explicit_fork_child_follow): Deleted procedure.
22074 (test_follow_fork): New procedure.
22075 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22076 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22077 procedure calls.
22078
0fc05997
YQ
220792014-06-17 Yao Qi <yao@codesourcery.com>
22080
22081 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22082 CP1252.
22083
70795c52
LM
220842014-06-17 Luis Machado <lgustavo@codesourcery.com>
22085
22086 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22087 Initialize ptr and S explicitly.
22088 (skip_type_update_when_not_use_rtti_test): Likewise.
22089
6be47f0c
KS
220902014-06-16 Keith Seitz <keiths@redhat.com>
22091
22092 PR mi/15863
22093 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22094 the inferior is started.
22095
d03de421
PA
220962014-06-16 Pedro Alves <palves@redhat.com>
22097
22098 * gdb.base/break-main-file-remove-fail.c: New file.
22099 * gdb.base/break-main-file-remove-fail.exp: New file.
22100 * gdb.base/break-unload-file.exp: Use build_executable instead of
22101 prepare_for_testing.
22102 (test_break): New parameter "initial_load". Handle it.
22103 (top level): Add initial_load cmdline/file axis.
22104
f9579b99
TT
221052014-06-12 Tom Tromey <tromey@redhat.com>
22106
22107 * gdb.base/completion.exp: Don't use directory name in test.
22108
3657956b
GB
221092014-06-09 Gary Benson <gbenson@redhat.com>
22110
22111 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22112 separate the always-available ANSI-standard signals from the
22113 signals that require checking.
22114 (main): Likewise.
22115 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22116 Likewise.
22117 (main): Likewise.
22118
4186eb54
KS
221192014-06-07 Keith Seitz <keiths@redhat.com>
22120
22121 Revert:
22122 PR c++/16253
22123 * gdb.cp/var-tag.cc: New file.
22124 * gdb.cp/var-tag.exp: New file.
22125 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22126 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22127 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22128 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22129
25326a28 221302014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22131
22132 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22133
829155c9
PA
221342014-06-06 Pedro Alves <palves@redhat.com>
22135
22136 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22137 in target debug output instead of looking at RSP packets,
22138 disabling the test on any target that uses hardware stepping.
22139 Update comments.
22140
61c8d22e
PA
221412014-06-06 Pedro Alves <palves@redhat.com>
22142
22143 * gdb.base/break-unload-file.exp: Fix typo.
22144
d9a47287
YQ
221452014-06-06 Yao Qi <yao@codesourcery.com>
22146
22147 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22148 from "jit_function" to "^jit_function".
22149
e5e01dbf
YQ
221502014-06-06 Yao Qi <yao@codesourcery.com>
22151
22152 * gdb.base/async.c (foo): Add one statement.
22153 * gdb.base/async.exp: Get the next instruction address and
22154 match the output of "nexti" by instruction address. Match
22155 the hex address in the output of "finish".
22156
73ba372c
GB
221572014-06-06 Gary Benson <gbenson@redhat.com>
22158
22159 * gdb.base/call-signals.c: Remove preprocessor conditionals
22160 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22161 SIGSEGV and SIGTERM.
22162 * gdb.base/sigall.c: Likewise.
22163 * gdb.base/unwindonsignal.c: Likewise.
22164 * gdb.reverse/sigall-reverse.c: Likewise.
22165
831517df
YQ
221662014-06-06 Yao Qi <yao@codesourcery.com>
22167
22168 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22169 readable, skip the test.
22170
b8b91e98
YQ
221712014-06-06 Yao Qi <yao@codesourcery.com>
22172
22173 * gdb.threads/staticthreads.c (thread_function): Move the line
22174 setting breakpoint on forward.
22175 * gdb.threads/staticthreads.exp: Update comments.
22176
fb934770
LC
221772014-06-05 Ludovic Courtès <ludo@gnu.org>
22178
22179 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22180 "history-append! type error".
22181
6ef284bd
SM
221822014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22183
22184 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22185 erroneous dprintf expected input.
22186
a872e241
DE
221872014-06-04 Doug Evans <xdje42@gmail.com>
22188
22189 * gdb.guile/scm-generics.exp: Delete.
22190
16f691fb
DE
221912014-06-04 Doug Evans <xdje42@gmail.com>
22192
22193 * gdb.guile/scm-breakpoint.exp: Update.
22194 Add tests for breakpoint registration.
22195
012370f6
TT
221962014-06-04 Tom Tromey <tromey@redhat.com>
22197
22198 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22199 VLA-in-union.
22200 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22201 inner_vla_struct, vla_union types. Initialize objects of those
22202 types and compute their sizes.
22203
9f5a4cef
HZ
222042014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22205 Hui Zhu <hui@codesourcery.com>
22206
22207 * gdb.base/fileio.exp: Add test for shell not available as well as
22208 available.
22209 * gdb.base/fileio.c (test_system): Check for shell twice.
22210
90a45c4d
YQ
222112014-06-04 Yao Qi <yao@codesourcery.com>
22212
22213 * gdb.base/auto-connect-native-target.exp: Remove redundant
22214 space from the regexp pattern.
22215
70017e41
YQ
222162014-06-04 Yao Qi <yao@codesourcery.com>
22217
22218 * gdb.base/default.exp: Replace "child" with "native" in
22219 regexp pattern.
22220
883964a7
SC
222212014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22222
22223 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22224 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22225 * gdb.python/py-xmethods.py: Python script supporting the
22226 new testcase and tests.
22227
ef370185
JB
222282014-06-03 Joel Brobecker <brobecker@adacore.com>
22229 Pedro Alves <palves@redhat.com>
22230
22231 PR breakpoints/17000
22232 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22233 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22234
1e2ccb61
BM
222352014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22236
22237 * gdb.base/subst.exp: Add tests to verify partial path matching
22238 output.
22239
c6ec5ab2
PA
222402014-06-03 Pedro Alves <palves@redhat.com>
22241
22242 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22243 target that doesn't use software single-stepping.
22244
835c559f
PA
222452014-06-03 Pedro Alves <palves@redhat.com>
22246
22247 PR breakpoints/17000
22248 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22249 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22250
06eb1586
DE
222512014-06-02 Doug Evans <xdje42@gmail.com>
22252
22253 * gdb.guile/scm-parameter.exp: New file.
22254
e698b8c4
DE
222552014-06-02 Doug Evans <xdje42@gmail.com>
22256
22257 * gdb.guile/scm-cmd.c: New file.
22258 * gdb.guile/scm-cmd.exp: New file.
22259
ded03782
DE
222602014-06-02 Doug Evans <xdje42@gmail.com>
22261
22262 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22263 pretty-printer lookup.
22264 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22265 (make-pp_s-printer): Call it.
22266 (make-pretty-printer-from-dict): New function.
22267 (lookup-pretty-printer-maker-from-dict): New function.
22268 (*pretty-printer*): Simplify.
22269 (make-objfile-pp_s-printer): New function.
22270 (install-objfile-pretty-printers!): New function.
22271 (make-progspace-pp_s-printer): New function.
22272 (install-progspace-pretty-printers!): New function.
22273 * gdb.guile/scm-progspace.c: New file.
22274 * gdb.guile/scm-progspace.exp: New file.
22275
41fac0cf
PA
222762014-06-02 Pedro Alves <palves@redhat.com>
22277
22278 * gdb.base/dprintf-bp-same-addr.c: New file.
22279 * gdb.base/dprintf-bp-same-addr.exp: New file.
22280
96ae5695
EBM
222812014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22282
22283 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22284 * gdb.arch/powerpc-power.s: Likewise.
22285
da02b3a8
JB
222862014-06-02 Joel Brobecker <brobecker@adacore.com>
22287
22288 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22289
c72b2e7b
YQ
222902014-06-01 Yao Qi <yao@codesourcery.com>
22291
22292 * gdb.base/watchpoint.exp (test_watch_location): Check null
22293 pointer can be dereferenced. If not, do the test, otherwise
22294 skip it.
22295
53e8a631
AB
222962014-05-30 Andrew Burgess <aburgess@broadcom.com>
22297
22298 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22299 results.
22300 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22301
938f0e2f
AB
223022014-05-30 Andrew Burgess <aburgess@broadcom.com>
22303
22304 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22305 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22306 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22307 * gdb.arch/amd64-invalid-stack-top.c: New file.
22308 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22309
9ba6657a
PA
223102014-05-30 Pedro Alves <palves@redhat.com>
22311
22312 PR breakpoints/17000
22313 * gdb.base/sss-bp-on-user-bp.c: New file.
22314 * gdb.base/sss-bp-on-user-bp.exp: New file.
22315
522c09bf
DB
223162014-05-30 David Blaikie <dblaikie@gmail.com>
22317
22318 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22319 gnu_inline semantics via attribute.
22320 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22321 source explicitly specifies the required semantics.
22322
bf4ef81e
MR
223232014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22324
22325 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22326
329ea579
PA
223272014-05-29 Pedro Alves <palves@redhat.com>
22328 Tom Tromey <tromey@redhat.com>
22329
22330 * gdb.base/async-shell.exp: Don't enable target-async.
22331 * gdb.base/async.exp
22332 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22333 parameter. Adjust.
22334 (top level): Don't test with "target-async".
22335 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22336 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22337 * gdb.base/inferior-died.exp: Don't enable target-async.
22338 * gdb.base/interrupt-noterm.exp: Likewise.
22339 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22340 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22341 * gdb.mi/mi-nonstop.exp: Likewise.
22342 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22343 * gdb.mi/mi-nsintrall.exp: Likewise.
22344 * gdb.mi/mi-nsmoribund.exp: Likewise.
22345 * gdb.mi/mi-nsthrexec.exp: Likewise.
22346 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22347 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22348 * gdb.python/py-evsignal.exp: Don't enable target-async.
22349 * gdb.python/py-evthreads.exp: Likewise.
22350 * gdb.python/py-prompt.exp: Likewise.
22351 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22352 * gdb.server/solib-list.exp: Don't enable target-async.
22353 * gdb.threads/thread-specific-bp.exp: Likewise.
22354 * lib/mi-support.exp: Adjust to use mi-async.
22355
fd664c91
PA
223562014-05-29 Pedro Alves <palves@redhat.com>
22357
22358 PR gdb/13860
22359 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22360 reason, even in sync mode.
22361
251bde03
PA
223622014-05-29 Pedro Alves <palves@redhat.com>
22363 Hui Zhu <hui@codesourcery.com>
22364
22365 PR PR15693
22366 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22367 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22368 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22369 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22370
7f3c0343
JB
223712014-05-28 Joel Brobecker <brobecker@adacore.com>
22372
22373 * config/monitor.exp (gdb_target_monitor): Replace use of
22374 "set remotebaud" by "set serial baud".
22375
b2715b27
AW
223762014-05-26 Andy Wingo <wingo@igalia.com>
22377
22378 * gdb.guile/scm-breakpoint.exp:
22379 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22380 properties instead of gdb-object-properties.
22381
498a4489
YQ
223822014-05-26 Yao Qi <yao@codesourcery.com>
22383
22384 * gdb.server/no-thread-db.exp: Specify source file name
22385 explicitly when setting a breakpoint.
22386
589fdceb
MM
223872014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22388
22389 * gdb.btrace/vdso.c: New.
22390 * gdb.btrace/vdso.exp: New.
22391
e9089e05
MM
223922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22393
22394 * gdb.base/gcore.exp (capture_command_output): Move ...
22395 * lib/gdb.exp (capture_command_output): ... here.
22396
67b5c0c1
MM
223972014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22398
22399 * gdb.btrace/data.exp: Test memory access during btrace replay.
22400
a2199296
SM
224012014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22402
22403 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22404
17b2616c
PA
224052014-05-21 Pedro Alves <palves@redhat.com>
22406
22407 PR gdb/13860
22408 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22409 (top level): Test that output related to execution commands is
22410 sent to the console with CLI commands, but not with MI commands.
22411 Test that breakpoint events are always mirrored to the console.
22412 Also expect the new source line to be output after a "next" in
22413 async mode too. Make it a pass/fail test.
22414 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22415 output.
22416 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22417
5166082f
PA
224182014-05-21 Pedro Alves <palves@redhat.com>
22419
22420 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22421 Use them to test variations of "list" after reaching a breakpoint.
22422 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22423 Test "list" with listsize 10 after reaching a breakpoint.
22424 * gdb.python/python.exp (decode_line current location line
22425 number): Adjust expected line number.
22426
2f25d70f
SM
224272014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22428
22429 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22430 behavior for $args, pass it directly to "run".
22431
ff604a67
MR
224322014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22433
22434 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22435 30000 to 65536.
22436
6a3cb8e8
PA
224372014-05-21 Pedro Alves <palves@redhat.com>
22438
22439 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22440 auto-connect-native-target off".
22441 * gdb.base/auto-connect-native-target.c: New file.
22442 * gdb.base/auto-connect-native-target.exp: New file.
22443
4ebfc96e
PA
224442014-05-21 Pedro Alves <palves@redhat.com>
22445
22446 * gdb.base/default.exp: Test "target native" instead of "target
22447 child".
22448
36d46afb
MW
224492014-05-21 Mark Wielaard <mjw@redhat.com>
22450
22451 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22452
5876f503
JK
224532014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22454
22455 Fix TLS access for -static -pthread.
22456 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22457 <HAVE_TLS> (thread_function, main): Initialize it.
22458 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22459 Add clean_restart.
22460 <$have_tls != "">: Check TLSVAR.
22461
0256a6ac
PA
224622014-05-21 Pedro Alves <palves@redhat.com>
22463
22464 * gdb.base/dcache-line-read-error.c: New.
22465 * gdb.base/dcache-line-read-error.exp: New.
22466
936d2992
PA
224672014-05-20 Pedro Alves <palves@redhat.com>
22468
22469 * gdb.base/compare-sections.c: New file.
22470 * gdb.base/compare-sections.exp: New file.
22471
802e8e6d
PA
224722014-05-20 Pedro Alves <palves@redhat.com>
22473
22474 * gdb.base/break-idempotent.c: New file.
22475 * gdb.base/break-idempotent.exp: New file.
22476
e59fa00f
MM
224772014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22478
22479 * gdb.btrace/nohist.exp: New.
22480
8b696e31
YQ
224812014-05-20 Yao Qi <yao@codesourcery.com>
22482
22483 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22484 gdb.reverse directory and gdb_reverse_timeout exists in board
22485 setting.
22486 * README: Document gdb_reverse_timeout.
22487
73c9764f
YQ
224882014-05-20 Yao Qi <yao@codesourcery.com>
22489
22490 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22491 'test_file_name'. Treat args as a string instead of a list.
22492 (gdb_init): Rename argument 'args' by 'test_file_name'.
22493
f1f4348a
JK
224942014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22495
22496 * gdb.arch/powerpc-power.exp: New file.
22497 * gdb.arch/powerpc-power.s: New file.
22498
0dbe70ce
DE
224992014-05-16 Doug Evans <dje@google.com>
22500
22501 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22502 * gdb.base/completion.exp: Check that all expected files exist
22503 before doing file completion.
0dbe70ce 22504
8d551b02
DE
225052014-05-16 Doug Evans <dje@google.com>
22506
22507 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22508 Update.
22509 (do_syscall_tests_without_xml): Update.
22510
73eb7709
PA
225112014-05-16 Pedro Alves <palves@redhat.com>
22512
22513 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22514 instead of "unknown output after running".
22515
3fae92fc
YQ
225162014-05-16 Yao Qi <yao@codesourcery.com>
22517
22518 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22519 file1.txt from host at the end.
22520 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22521
c2b2ccc5
DE
225222014-05-15 Doug Evans <dje@google.com>
22523
22524 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22525 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22526 loading file. Add test for TU lookup.
22527
8c217a4b
SM
225282014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22529
22530 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22531 calling "-exec-arguments" or "set args" before running the
22532 inferior.
22533
3deb39c6
SM
225342014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22535
22536 * lib/mi-support.exp (mi_expect_stop): Expect message for
22537 inferiors that exit with non-zero exit code.
22538
71a79f8c
YQ
225392014-05-14 Yao Qi <yao@codesourcery.com>
22540
22541 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22542 match absolute path on remote host.
22543 (test_file_list_exec_source_files): Remove "/" from the
22544 pattern.
22545
f23fcd46
YQ
225462014-05-14 Yao Qi <yao@codesourcery.com>
22547
22548 * boards/local-remote-host-notty.exp (${board}_file): New
22549 proc.
22550
9404b58f
KM
225512014-05-07 Kyle McMartin <kyle@redhat.com>
22552
22553 Pushed by Joel Brobecker <brobecker@adacore.com>.
22554 * gdb.arch/aarch64-atomic-inst.c: New file.
22555 * gdb.arch/aarch64-atomic-inst.exp: New file.
22556
5e45f04c
YQ
225572014-05-07 Yao Qi <yao@codesourcery.com>
22558
22559 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22560 in current context" too.
22561
c888a17d
KS
225622014-05-05 Keith Seitz <keiths@redhat.com>
22563
22564 * gdb.linespec/ls-dollar.exp: Add test for linespec
22565 file:convenience_variable.
22566
290a839c
YQ
225672014-05-05 Yao Qi <yao@codesourcery.com>
22568
22569 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22570 traceframes into tfile and ctf trace files. Read data from
22571 trace file and test collected data.
22572 (gdb_collect_locals_test): Likewise.
22573 (gdb_unavailable_registers_test): Likewise.
22574 (gdb_unavailable_floats): Likewise.
22575 (gdb_collect_globals_test): Likewise.
22576 (top-level): Append "ctf" to trace_file_targets if GDB
22577 supports.
22578
b5262cd0
YQ
225792014-05-05 Yao Qi <yao@codesourcery.com>
22580
22581 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22582 code to ...
22583 (gdb_collect_args_test_1): ... it. New proc.
22584 (gdb_collect_locals_test): Move some code to ...
22585 (gdb_collect_locals_test_1): ... it. New proc.
22586 (gdb_unavailable_registers_test): Move some code to ...
22587 (gdb_unavailable_registers_test_1): ... it. New proc.
22588 (gdb_unavailable_floats): Move some code to ...
22589 (gdb_unavailable_floats_1): ... it. New proc.
22590
30a1e6cc
SDJ
225912014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22592
22593 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22594 probes to test for bitness recognition.
22595 * gdb.arch/amd64-stap-optional-prefix.exp
22596 (test_probe_value_without_reg): New procedure.
22597 Add code to test for different kinds of bitness.
22598
f33da99a
SDJ
225992014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22600
22601 PR breakpoints/16889
22602 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22603 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22604
5b80f00d
PA
226052014-05-01 Pedro Alves <palves@redhat.com>
22606
22607 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22608 gdb_file_cmd if no file is specified.
22609 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22610 last_loaded_file to set the remote exec-file.
22611
f8c2a73c
PA
226122014-05-01 Pedro Alves <palves@redhat.com>
22613
22614 * boards/local-remote-host.exp: New file.
22615
be6e8ac7
PA
226162014-05-01 Pedro Alves <palves@redhat.com>
22617
22618 * boards/local-remote-host.exp: Rename to ...
22619 * boards/local-remote-host-notty.exp: ... this.
22620
cac0dc8f
JB
226212014-04-28 Joel Brobecker <brobecker@adacore.com>
22622
22623 * gdb.ada/dyn_arrayidx: New testcase.
22624
9730e6cc
YQ
226252014-04-26 Yao Qi <yao@codesourcery.com>
22626
22627 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22628 and compute the length of function main. Save it in
22629 $main_length.
22630 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22631 (top-level): Use gdb_compile to compile objects into
22632 executable and restart GDB. Remove invocation to
22633 prepare_for_testing.
22634
7ae1a6a6
PA
226352014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22636 Pedro Alves <palves@redhat.com>
22637
22638 PR server/16255
22639 * gdb.multi/multi-attach.c: New file.
22640 * gdb.multi/multi-attach.exp: New file.
22641
4082afcc
PA
226422014-04-25 Pedro Alves <palves@redhat.com>
22643
22644 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22645 user.
22646 (top level): Test that "set remote conditional-breakpoints-packet
22647 off" works as intended.
22648 * gdb.base/dprintf.exp: Test that "set remote
22649 breakpoint-commands-packet off" works as intended.
22650 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22651 New function.
22652 (top level): Call it.
22653 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22654 remote fast-tracepoints-packet off" works as intended.
22655 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22656 * lib/gdb.exp (gdb_is_target_remote): ... here.
22657
2abc3f8d
DB
226582014-04-24 David Blaikie <dblaikie@gmail.com>
22659
22660 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22661 ensure clang would not discard them.
22662 * gdb.base/gdbvars.c: Ditto.
22663 * gdb.base/memattr.c: Ditto.
22664 * gdb.base/whatis.c: Ditto.
22665 * gdb.python/py-prettyprint.c: Ditto.
22666 * gdb.trace/actions.c: Ditto.
22667 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22668 ensure clang would not discard it.
22669
bfd39632
DB
226702014-04-24 David Blaikie <dblaikie@gmail.com>
22671
22672 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22673 clang to emit the full definition of type required by the test
22674 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22675
22842ff6
DB
226762014-04-24 David Blaikie <dblaikie@gmail.com>
22677
22678 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22679 coax Clang into emitting the definition of the type.
22680 * gdb.cp/pr10728-x.h (y): Ditto.
22681 * gdb.cp/pr10728-y.cc (y): Ditto.
22682
c2e827ad
DB
226832014-04-24 David Blaikie <dblaikie@gmail.com>
22684
22685 * gdb.base/label.exp: XFAIL label related tests under Clang.
22686 * gdb.cp/cplabel.exp: Ditto.
22687 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22688 under Clang those using labels.
22689
4c2d33e7
YQ
226902014-04-25 Yao Qi <yao@codesourcery.com>
22691
22692 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22693 double_label.
22694 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22695 partial_label and double_label.
22696
56083b99
DB
226972014-04-24 David Blaikie <dblaikie@gmail.com>
22698
22699 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22700
25d4e99d
DB
227012014-04-24 David Blaikie <dblaikie@gmail.com>
22702
22703 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22704 of the function to work across GCC and Clang.
22705 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22706 pointer types (const void ** const V void **).
22707
01f9f808
MS
227082014-04-24 Michael Sturm <michael.sturm@mintel.com>
22709 Walfred Tedeschi <walfred.tedeschi@intel.com>
22710
22711 * Makefile.in (EXECUTABLES): Added i386-avx512.
22712 * gdb.arch/i386-avx512.c: New file.
22713 * gdb.arch/i386-avx512.exp: Likewise.
22714
4b48d439
KS
227152014-04-23 Keith Seitz <keiths@redhat.com>
22716
22717 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22718 (mi_make_breakpoint_table): New procedure.
22719 (mi_create_breakpoint): Use mi_make_breakpoint
22720 and return the result.
22721 (mi_make_breakpoint): New procedure.
22722 (mi_build_kv_pairs): New procedure.
22723
22724 * gdb.mi/mi-break.exp: Remove unused globals,
22725 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22726 All callers updated.
22727 * gdb.mi/mi-dprintf.exp: Use variable to track command
22728 number.
22729 Update all callers of mi_create_breakpoint and use
22730 mi_make_breakpoint_table.
22731 Remove any unused global variables.
22732 * gdb.mi/mi-nonstop.exp: Likewise.
22733 * gdb.mi/mi-nsintrall.exp: Likewise.
22734 * gdb.mi/mi-nsmoribund.exp: Likewise.
22735 * gdb.mi/mi-nsthrexec.exp: Likewise.
22736 * gdb.mi/mi-reverse.exp: Likewise.
22737 * gdb.mi/mi-simplerun.exp: Likewise.
22738 * gdb.mi/mi-stepn.exp: Likewise.
22739 * gdb.mi/mi-syn-frame.exp: Likewise.
22740 * gdb.mi/mi-until.exp: Likewise.
22741 * gdb.mi/mi-var-cp.exp: Likewise.
22742 * gdb.mi/mi-var-display.exp: Likewise.
22743 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22744 * gdb.mi/mi2-var-child.exp: Likewise.
22745 * gdb.mi/mi-vla-c99.exp: Likewise.
22746 * lib/mi-support.exp: Likewise.
22747
22748 From Ian Lance Taylor <iant@cygnus.com>:
22749 * lib/gdb.exp (parse_args): New procedure.
22750
08351840
PA
227512014-04-23 Pedro Alves <palves@redhat.com>
22752
22753 * gdb.base/break-unload-file.c: New file.
22754 * gdb.base/break-unload-file.exp: New file.
22755 * gdb.base/sym-file-lib.c (baz): New function.
22756 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22757 field.
22758 (load): Store the segment's mapped size.
22759 (unload): New function.
22760 (unload_shlib): New function.
22761 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22762 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22763 set a breakpoint at baz, and call it.
22764 * gdb.base/sym-file.exp: New tests for stale breakpoint
22765 instructions.
22766
076855f9
PA
227672014-04-23 Pedro Alves <palves@redhat.com>
22768
22769 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22770 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22771 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22772 * gdb.base/hbreak-unmapped.c: New file.
22773 * gdb.base/hbreak-unmapped.exp: New file.
22774 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22775 * lib/gdb.exp (gdb_is_target_remote): ... here.
22776
483805cf
PA
227772014-04-22 Pedro Alves <palves@redhat.com>
22778
22779 * gdb.base/consecutive-step-over.c: New file.
22780 * gdb.base/consecutive-step-over.exp: New file.
22781
06d97543
PA
227822014-04-22 Pedro Alves <palves@redhat.com>
22783
22784 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22785 instead of send_gdb/gdb_expect.
22786
b4429ea2
YQ
227872014-04-22 Yao Qi <yao@codesourcery.com>
22788
22789 * lib/trace-support.exp (generate_tracefile): New procedure.
22790 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22791 return 0.
22792 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22793 if generate_tracefile returns 1.
22794
51d48146
PA
227952014-04-18 Tom Tromey <palves@redhat.com>
22796 Pedro alves <tromey@redhat.com>
22797
22798 PR backtrace/15558
22799 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22800 with a backtrace limit.
22801 * gdb.python/py-frame-inline.exp: Test running to an inline
22802 function with a backtrace limit, and printing the newest frame.
22803 * gdb.python/py-frame-inline.c (main): Call f.
22804
bd1dce5f
MS
228052014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22806
22807 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22808
40d1a503
MS
228092014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22810
22811 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22812 Drop prefix from unsupported source file path.
22813
389b98f7
YQ
228142014-04-17 Yao Qi <yao@codesourcery.com>
22815
22816 * lib/gdb.exp (with_target_charset): New proc.
22817 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22818 with_target_charset.
22819 (test_print_strings): Likewise.
22820 (test_repeat_bytes): Likewise.
22821 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22822 for some tests.
22823
22869d73
KS
228242014-04-16 Keith Seitz <keiths@redhat.com>
22825
22826 PR gdb/15827
22827 * gdb.dwarf2/corrupt.c: New file.
22828 * gdb.dwarf2/corrupt.exp: New file.
22829
c4f87ca6
KS
228302014-04-16 Keith Seitz <keiths@redhat.com>
22831
22832 PR c++/16597
22833 * gdb.cp/namelessclass.cc: New file.
22834 * gdb.cp/namelessclass.exp: New file.
22835 * gdb.cp/namelessclass.S: New file.
22836
ab19de87
DE
228372014-04-16 Doug Evans <dje@google.com>
22838
22839 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22840 Add comment.
22841 (gdbserver_default_get_comm_port): New function.
22842 (gdbserver_start): Check if board file provided
22843 "gdbserver,get_comm_port" and use it if so.
22844 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22845 (gdb,socketport): Set to "stdio".
22846 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22847 (stdio_gdbserver_template): Delete.
22848 (${board}_get_remote_address): Update.
22849 (${board}_build_remote_cmd): Delete.
22850 (${board}_get_comm_port): New function.
22851 (${board}_spawn): Update.
22852 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22853 Delete.
22854 (${board}_get_remote_address): Update.
22855 (${board}_get_comm_port): New function.
22856
fc98a809
AB
228572014-04-16 Andrew Burgess <aburgess@broadcom.com>
22858
22859 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22860 appearing in any order.
22861
87fd9e6e
DE
228622014-04-15 Doug Evans <dje@google.com>
22863
22864 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22865 uninitialized value of "description".
22866
099fc3ea
KS
228672014-04-15 Keith Seitz <keiths@redhat.com>
22868
22869 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22870 Remove unused globals.
22871 (test_running_the_program): Likewise.
22872 (test_controlled_execution): Likewise.
22873 (test_controlling_breakpoints): Likewise.
22874 (test_program_termination): Likewise.
22875
5da151d4
KS
228762014-04-15 Keith Seitz <keiths@redhat.com>
22877
22878 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22879 unused globals.
22880 (test_rbreak_creation_and_listing): Likewise.
22881 (test_ignore_count): Likewise.
22882 (test_error): Likewise.
22883
35e5d2f0
PA
228842014-04-15 Pedro Alves <palves@redhat.com>
22885
22886 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22887 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22888 sym-file-loader.c.
22889 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22890 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22891 to sym-file-loader.c.
22892 (struct library): Forward declare.
22893 (load_shlib, lookup_function): Change prototypes.
22894 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22895 (translate_offset): Remove declarations.
22896 (get_text_addr): New declaration.
22897 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22898 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22899 sym-file-loader.h.
22900 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22901 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22902 here from sym-file-loader.h.
22903 (struct library): New structure.
22904 (load_shlib, lookup_function): Change prototypes and adjust to
22905 work with a struct library.
22906 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22907 (translate_offset): Make static.
22908 (get_text_addr): New function.
22909 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22910
eb4c1710
PA
229112014-04-15 Pedro Alves <palves@redhat.com>
22912
22913 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22914
2d1baf52
PA
229152014-04-15 Pedro Alves <palves@redhat.com>
22916
22917 * gdb.base/sym-file-loader.c: Include <limits.h>.
22918 (SELF_LINK): New define.
22919 (get_origin): New function.
22920 (load_shlib): Use it.
22921 * gdb.base/sym-file.exp: Don't early return if the target is
22922 remote. Use runto_main, and issue fail is that fails. Use
22923 gdb_load_shlibs.
22924 (shlib_name): Delete.
22925 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22926
7dd6df01
PA
229272014-04-15 Pedro Alves <palves@redhat.com>
22928
22929 * gdb.base/sym-file.exp: Remove regex characters from test
22930 message. Don't refer to breakpoint numbers in test messages.
22931
b50c8614
KS
229322014-04-14 Keith Seitz <keiths@redhat.com>
22933
22934 PR c++/16253
22935 * gdb.cp/var-tag.cc: New file.
22936 * gdb.cp/var-tag.exp: New file.
22937 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22938 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22939 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22940 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22941
3d567982
TT
229422014-04-14 Tom Tromey <tromey@redhat.com>
22943
22944 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22945 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22946 type.
22947 * gdb.cp/enum-class.exp: New file.
22948 * gdb.cp/enum-class.cc: New file.
22949
0626fc76
TT
229502014-04-14 Tom Tromey <tromey@redhat.com>
22951
22952 * gdb.dwarf2/enum-type.exp: New file.
22953
dca325b3
SA
229542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22955
22956 * gdb.mi/mi-vla-c99.exp: New file.
22957 * gdb.mi/vla.c: New file.
22958
5854b38a
SA
229592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22960
22961 * gdb.base/vla-datatypes.c: New file.
22962 * gdb.base/vla-datatypes.exp: New file.
22963
463bb957
SA
229642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22965
22966 * gdb.base/vla-ptr.c: New file.
22967 * gdb.base/vla-ptr.exp: New file.
22968
3dd170be
SA
229692014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22970
22971 * gdb.dwarf2/count.exp: New file.
22972
5ecaaa66
SA
229732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22974
22975 * gdb.base/vla-sideeffect.c: New file.
22976 * gdb.base/vla-sideeffect.exp: New file.
22977
41f1ada5
DB
229782014-04-14 David Blaikie <dblaikie@gmail.com>
22979
22980 * gdb.mi/non-stop.c: Add return value for non-void function return
22981 statement.
22982 * gdb.threads/staticthreads.c: Ditto.
22983
0be03e84
DE
229842014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22985 Doug Evans <xdje42@gmail.com>
22986
22987 * gdb.guile/scm-value.c: Improve test case.
22988 * gdb.guile/scm-value.exp: Add new test.
22989
f180a1fb
DB
229902014-04-11 David Blaikie <dblaikie@gmail.com>
22991
22992 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22993 override Clang's default.
22994
6b662e19
JB
229952014-04-11 Joel Brobecker <brobecker@adacore.com>
22996
22997 Revert the following changes (regressions):
22998
22999 * gdb.base/vla-sideeffect.c: New file.
23000 * gdb.base/vla-sideeffect.exp: New file.
23001
23002 * gdb.dwarf2/count.exp: New file.
23003
23004 * gdb.base/vla-multi.c: New file.
23005 * gdb.base/vla-multi.exp: New file.
23006
23007 * gdb.base/vla-ptr.c: New file.
23008 * gdb.base/vla-ptr.exp: New file.
23009
23010 * gdb.base/vla-datatypes.c: New file.
23011 * gdb.base/vla-datatypes.exp: New file.
23012
23013 * gdb.mi/mi-vla-c99.exp: New file.
23014 * gdb.mi/vla.c: New file.
23015
245a5f0b
KS
230162014-04-11 Keith Seitz <keiths@redhat.com>
23017
23018 PR c++/16675
23019 * gdb.cp/cpsizeof.exp: New file.
23020 * gdb.cp/cpsizeof.cc: New file.
23021
58a84dcf
SA
230222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23023
191a8a90
JB
23024 * gdb.mi/mi-vla-c99.exp: New file.
23025 * gdb.mi/vla.c: New file.
58a84dcf 23026
c8655f75
SA
230272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23028
23029 * gdb.base/vla-datatypes.c: New file.
23030 * gdb.base/vla-datatypes.exp: New file.
23031
024e13b4
SA
230322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23033
23034 * gdb.base/vla-ptr.c: New file.
23035 * gdb.base/vla-ptr.exp: New file.
23036
1a237e0e
SA
230372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23038
23039 * gdb.base/vla-multi.c: New file.
23040 * gdb.base/vla-multi.exp: New file.
23041
504f3432
SA
230422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23043
23044 * gdb.dwarf2/count.exp: New file.
23045
3bce8237
SA
230462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23047
191a8a90
JB
23048 * gdb.base/vla-sideeffect.c: New file.
23049 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23050
322f9c21
YQ
230512014-04-11 Yao Qi <yao@codesourcery.com>
23052
23053 * gdb.base/completion.exp: Check file exists before running tests
23054 on file completion.
23055
d708bcd1
PA
230562014-04-10 Pedro Alves <palves@redhat.com>
23057
23058 * gdb.base/cond-eval-mode.c: New file.
23059 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23060 prepare_for_testing to build the new file. Check result of
23061 runto_main.
23062 (test_break, test_watch): New procedures.
23063 (top level): Use them.
23064
ae1d2761
PM
230652014-04-08 Pierre Muller <muller@sourceware.org>
23066
23067 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23068 Ctrl-V use for mingw hosts.
23069
7af389b8
SC
230702014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23071
23072 * gdb.python/py-value.c: Improve test case.
23073 * gdb.python/py-value.exp: Add new test.
23074
5e703181
DE
230752014-04-07 David Blaikie <dblaikie@gmail.com>
23076
23077 * lib/compiler.c: Identify the clang compiler.
23078 * lib/compiler.cc: Ditto.
23079
9810b410
YQ
230802014-04-03 Yao Qi <yao@codesourcery.com>
23081
23082 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23083
98d1b8dc
AB
230842014-04-01 Anton Blanchard <anton@samba.org>
23085
23086 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23087 messages unique.
23088
3114cea1
AB
230892014-04-01 Anton Blanchard <anton@samba.org>
23090
23091 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23092 prepare_for_testing.
23093
62f7182c
AB
230942014-04-01 Anton Blanchard <anton@samba.org>
23095
23096 * gdb.arch/ppc64-atomic-inst.c: Remove.
23097 * gdb.arch/ppc64-atomic-inst.S: New file.
23098 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23099
770e7fc7
DE
231002014-03-31 Doug Evans <dje@google.com>
23101
23102 * gdb.base/print-symbol-loading-lib.c: New file.
23103 * gdb.base/print-symbol-loading-main.c: New file.
23104 * gdb.base/print-symbol-loading.exp: New file.
23105
46e2bafa
YQ
231062014-03-31 Yao Qi <yao@codesourcery.com>
23107
23108 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23109
8776cfe9
JB
231102014-03-28 Joel Brobecker <brobecker@adacore.com>
23111
23112 * gdb.ada/mi_dyn_arr: New testcase.
23113
5d1ef361
DE
231142014-03-27 Doug Evans <dje@google.com>
23115
23116 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23117
b5bee914
YQ
231182014-03-27 Yao Qi <yao@codesourcery.com>
23119
23120 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23121 if target is nios2-*-*.
23122
0d4d0e77
YQ
231232014-03-26 Yao Qi <yao@codesourcery.com>
23124
23125 * lib/gdb.exp (readline_is_used): New proc.
23126 * gdb.base/completion.exp: Move tests on command complete up.
23127 Skip the rest of tests if readline is not used.
23128 * gdb.ada/complete.exp: Skp the test if readline is not
23129 used.
23130 * gdb.base/filesym.exp: Likewise.
23131 * gdb.base/macscp.exp: Likewise.
23132 * gdb.base/readline-ask.exp: Likewise.
23133 * gdb.base/readline.exp: Likewise.
23134 * gdb.python/py-cmd.exp: Likewise.
23135 * gdb.trace/tfile.exp: Likewise.
23136
29361eee
YQ
231372014-03-26 Yao Qi <yao@codesourcery.com>
23138
23139 * gdb.base/macscp.exp: Fix code format issues.
23140
bc9a5525
UW
231412014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23142
23143 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23144 * gdb.asm/powerpc64le.inc: New file.
23145
d3839ede
PA
231462014-03-25 Pedro Alves <palves@redhat.com>
23147 Doug Evans <dje@google.com>
23148
23149 * gdb.base/source-execution.c: New file.
23150 * gdb.base/source-execution.exp: New file.
23151 * gdb.base/source-execution.gdb: New file.
23152
01672a57
DE
231532014-03-24 Doug Evans <dje@google.com>
23154
23155 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23156 using fission.
23157
88bbeca9
HZ
231582014-03-24 Hui Zhu <hui@codesourcery.com>
23159 Pedro Alves <palves@redhat.com>
23160
23161 PR breakpoints/16101
23162 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23163 test pass/fail messages. Detect missing support for dprintf when
23164 breakpoints are actually inserted.
23165 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23166 breakpoints are actually inserted.
23167 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23168 fails.
23169
d2348791
JK
231702014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23171
23172 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23173
feef67ab
DE
231742014-03-22 Doug Evans <xdje42@gmail.com>
23175
23176 * gdb.python/python.exp (python not supported): Verify multi-line
23177 python command issues an error.
25d743f9 23178 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23179 guile command issues an error.
feef67ab 23180
ecebef6a
MR
231812014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23182
23183 * gdb.threads/thread-specific.exp: Handle the lack of usable
23184 $this_breakpoint and $this_thread.
23185
ccdd1909
HZ
231862014-03-21 Hui Zhu <hui@codesourcery.com>
23187
23188 * gdb.base/attach.exp (do_command_attach_tests): New.
23189
beb460e8
PA
231902014-03-20 Tom Tromey <tromey@redhat.com>
23191 Pedro Alves <palves@redhat.com>
23192
23193 PR cli/15718
23194 * gdb.base/condbreak-call-false.c: New file.
23195 * gdb.base/condbreak-call-false.exp: New file.
23196
40acf43a
PA
231972014-03-20 Pedro Alves <palves@redhat.com>
23198
23199 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23200 Delete.
23201 (block_signals, unblock_signals): Delete.
23202 (child_function_2, main): Remove references to deleted variable
23203 and functions.
23204
9f5e1e02
PA
232052014-03-20 Pedro Alves <palves@redhat.com>
23206
23207 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23208 Use pthread_kill to signal thread 2.
23209 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23210 Adjust to make the test send itself a signal rather than using the
23211 host's "kill" command.
23212
99619bea
PA
232132014-03-20 Pedro Alves <palves@redhat.com>
23214
23215 * gdb.threads/multiple-step-overs.c: New file.
23216 * gdb.threads/multiple-step-overs.exp: New file.
23217 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23218 Adjust expected infrun debug output.
23219
2adfaa28
PA
232202014-03-20 Pedro Alves <palves@redhat.com>
23221
23222 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23223 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23224
31e77af2
PA
232252014-03-20 Pedro Alves <palves@redhat.com>
23226
23227 PR breakpoints/7143
23228 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23229 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23230 of gdb_test_multiple.
23231 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23232 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23233
b9f437de
PA
232342014-03-20 Pedro Alves <palves@redhat.com>
23235
23236 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23237 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23238
05adc73e
PA
232392014-03-19 Pedro Alves <palves@redhat.com>
23240
23241 * gdb.base/async.exp: Remove early return.
23242
6048b950
PA
232432014-03-19 Pedro Alves <palves@redhat.com>
23244
23245 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23246
8bcfb00a
PA
232472014-03-19 Pedro Alves <palves@redhat.com>
23248
23249 * gdb.base/async.exp (test_background): Expect \r\n after
23250 "completed." in the fail pattern.
23251
884e37dc
PA
232522014-03-19 Pedro Alves <palves@redhat.com>
23253
23254 * gdb.base/async.exp (test_background): New procedure.
23255 Use it for all background execution command tests.
23256
148e57e2
PA
232572014-03-19 Pedro Alves <palves@redhat.com>
23258
23259 * gdb.base/async.exp: Use prepare_for_testing.
23260
f48088c7
PA
232612014-03-19 Pedro Alves <palves@redhat.com>
23262
23263 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23264 the same line.
23265
e2f6c966
PA
232662014-03-19 Pedro Alves <palves@redhat.com>
23267
23268 * gdb.base/async.c (main): Add "jump here" and "until here" line
23269 marker comments.
23270 * gdb.base/async.exp (jump_here): New global.
23271 (jump& test): Use it.
23272 (until_here): New global.
23273 (until& test): Use it.
23274
c30568d4
PA
232752014-03-19 Pedro Alves <palves@redhat.com>
23276
23277 * gdb.base/async.exp: Don't frob gdb_protocol.
23278
0172b6a7
DE
232792014-03-18 Doug Evans <xdje42@gmail.com>
23280
23281 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23282 Fix spelling of exec-done-display.
23283
06c868a8
JK
232842014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23285
23286 PR gdb/15358
23287 * gdb.base/gdb-sigterm.c: New file.
23288 * gdb.base/gdb-sigterm.exp: New file.
23289
0c7e1a46
PA
232902014-03-18 Pedro Alves <palves@redhat.com>
23291
23292 PR gdb/13860
23293 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23294 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23295 solib-event.
23296
f7c77d93
JB
232972014-03-17 Joel Brobecker <brobecker@adacore.com>
23298
23299 * gdb.ada/pckd_arr_ren: New testcase.
23300
5a1e8c7a
DE
233012014-03-13 Doug Evans <xdje42@gmail.com>
23302
23303 PR guile/16612
23304 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23305 collect after discarding symbols.
23306
350e1a76
DE
233072014-03-13 Ludovic Courtès <ludo@gnu.org>
23308 Doug Evans <xdje42@gmail.com>
23309
23310 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23311 to history survives a gc.
23312
a69900ae
PA
233132014-03-13 Pedro Alves <palves@redhat.com>
23314
23315 * gdb.base/default.exp: Don't test "target procfs".
23316
5db9f0bd
PA
233172014-03-13 Pedro Alves <palves@redhat.com>
23318
23319 * gdb.base/default.exp: Update "target child" and "target procfs"
23320 tests to not expect "Unix".
23321
b3ccfe11
TT
233222014-03-12 Tom Tromey <tromey@redhat.com>
23323
23324 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23325 New procs. Add target-async tests.
23326 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23327 Add target-async tests.
23328
646f4417
AA
233292014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23330
23331 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23332 'func_start' and 'func_end' for the beginning and end of the
23333 function code, respectively.
23334 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23335 'func_end' instead of 'func' and 'main'.
23336
288c211f
AA
233372014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23338
23339 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23340 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23341 generate the debug info assembler source.
23342
e0c0f156
AA
233432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23344
23345 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23346 * gdb.dwarf2/arr-subrange.exp: Likewise.
23347 * gdb.dwarf2/dwz.exp: Likewise.
23348 * gdb.dwarf2/method-ptr.exp: Likewise.
23349 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23350 * gdb.dwarf2/subrange.exp: Likewise.
23351 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23352 * gdb.dwarf2/implptrpiece.exp: Likewise.
23353 * gdb.dwarf2/nostaticblock.exp: Likewise.
23354
0e5c4555
AA
233552014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23356
23357 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23358 directory to absolute path name arguments.
23359
5ec18f2b
JG
233602014-03-10 Joel Brobecker <brobecker@adacore.com>
23361
23362 * gdb.ada/tagged_access: New testcase.
23363
847fc4f2
MM
233642014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23365
23366 * gdb.btrace/data.exp: Update expected output.
23367
cc3da688
YQ
233682014-03-06 Yao Qi <yao@codesourcery.com>
23369
23370 * gdb.trace/pr16508.exp: New file.
23371
0f26cec1
PA
233722014-03-05 Pedro Alves <palves@redhat.com>
23373
23374 PR gdb/16575
23375 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23376 procedure.
23377 (top level): Adjust to use it. Add tests that exercise breakpoint
23378 interaction with the code-cache.
23379
7a5a839f
LC
233802014-02-26 Ludovic Courtès <ludo@gnu.org>
23381
23382 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23383 test for 'history-append!'.
23384
31aa7e4e
JB
233852014-02-26 Joel Brobecker <brobecker@adacore.com>
23386
23387 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23388 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23389 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23390 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23391 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23392 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23393
1b588015
JB
233942014-02-26 Joel Brobecker <brobecker@adacore.com>
23395
23396 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23397 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23398 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23399
55426c9d
JB
234002014-02-26 Joel Brobecker <brobecker@adacore.com>
23401
23402 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23403
dc53a7ad
JB
234042014-02-26 Joel Brobecker <brobecker@adacore.com>
23405
23406 * gdb.dwarf2/arr-stride.c: New file.
23407 * gdb.dwarf2/arr-stride.exp: New file.
23408
12ab52e9
PA
234092014-02-26 Pedro Alves <palves@redhat.com>
23410
23411 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23412 that won't ever trigger. Make sure that GDB reports the correct
23413 breakpoint that caused the stop.
23414
849c862e
JK
234152014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23416
23417 PR gdb/16626
23418 * gdb.base/auto-load-script: New file.
23419 * gdb.base/auto-load.c: New file.
23420 * gdb.base/auto-load.exp: New file.
23421
71b7d793
JK
23422 PR gdb/16626
23423 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23424
e2f0d509
JK
234252014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23426
23427 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23428 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23429
50cc37c8
DE
234302014-02-24 Doug Evans <dje@google.com>
23431
23432 * lib/gdb.exp (run_on_host): Log error output if program fails.
23433
ea4758f2
PA
234342014-02-21 Pedro Alves <palves@redhat.com>
23435
23436 * gdb.threads/step-after-sr-lock.c: Rename to ...
23437 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23438 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23439 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23440 ... this.
23441
d7b30f67
SDJ
234422014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23443
23444 PR tdep/16397
23445 * gdb.arch/amd64-stap-special-operands.exp: New file.
23446 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23447 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23448 * gdb.arch/amd64-stap-triplet.S: Likewise.
23449 * gdb.arch/amd64-stap-triplet.c: Likewise.
23450
83deb43f
JB
234512014-02-20 Joel Brobecker <brobecker@adacore.com>
23452
23453 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23454 in .section pseudo-op.
23455
adde2bff
DE
234562014-02-20 lin zuojian <manjian2006@gmail.com>
23457 Joel Brobecker <brobecker@adacore.com>
23458 Doug Evans <xdje42@gmail.com>
23459
23460 PR symtab/16581
23461 * gdb.dwarf2/dw2-icycle.S: New file.
23462 * gdb.dwarf2/dw2-icycle.c: New file.
23463 * gdb.dwarf2/dw2-icycle.exp: New file.
23464
f7bd0f78
SC
234652014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23466
23467 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23468 operations on gdb.Value objects.
23469 * gdb.python/py-value-cc.exp: Add new test to test operations on
23470 gdb.Value objects.
23471
c17ef0d5
DE
234722014-02-18 Doug Evans <dje@google.com>
23473
23474 * Makefile.in (TESTS): New variable.
23475 (expanded_tests, expanded_tests_or_none): New variables
23476 (check-single): Pass $(expanded_tests_or_none) to runtest.
23477 (check-parallel): Only run tests in $(TESTS) if non-empty.
23478 (check/no-matching-tests-found): New rule.
23479 * README: Document TESTS makefile variable.
23480
5dd3176f
DE
234812014-02-18 Doug Evans <dje@google.com>
23482
23483 * Makefile.in (check-parallel): rm -rf outputs temp.
23484
0b10be4f
JK
234852014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23486
23487 Fix "ERROR: no fileid for" in the testsuite.
23488 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23489
85f224e7
DE
234902014-02-12 Doug Evans <dje@google.com>
23491
23492 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23493 (MISCELLANEOUS): New variable.
23494 (clean): rm -rf $(MISCELLANEOUS).
23495 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23496 dwp live in the same directory as symlinks, with each symlink pointed
23497 to a differently named file in a different directory.
23498
149b30ff
DE
234992014-02-11 Doug Evans <dje@google.com>
23500
23501 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23502 of Tcl file commands.
23503
1dfdac32
MK
235042014-02-10 Mark Kettenis <kettenis@gnu.org>
23505
23506 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23507 "kill -SIGUSR1 -1".
23508
aa4fb036
JB
235092014-02-10 Joel Brobecker <brobecker@adacore.com>
23510
23511 * gdb.ada/tick_length_array_enum_idx: New testcase.
23512
ed3ef339
DE
235132014-02-10 Doug Evans <xdje42@gmail.com>
23514
23515 * configure.ac (AC_OUTPUT): Add gdb.guile.
23516 * configure: Regenerate.
23517 * lib/gdb-guile.exp: New file.
23518 * lib/gdb.exp (get_target_charset): New function.
23519 * gdb.base/help.exp: Update expected output from "apropos apropos".
23520 * gdb.guile/Makefile.in: New file.
23521 * gdb.guile/guile.exp: New file.
23522 * gdb.guile/scm-arch.c: New file.
23523 * gdb.guile/scm-arch.exp: New file.
23524 * gdb.guile/scm-block.c: New file.
23525 * gdb.guile/scm-block.exp: New file.
23526 * gdb.guile/scm-breakpoint.c: New file.
23527 * gdb.guile/scm-breakpoint.exp: New file.
23528 * gdb.guile/scm-disasm.c: New file.
23529 * gdb.guile/scm-disasm.exp: New file.
23530 * gdb.guile/scm-equal.c: New file.
23531 * gdb.guile/scm-equal.exp: New file.
23532 * gdb.guile/scm-error.exp: New file.
23533 * gdb.guile/scm-error.scm: New file.
23534 * gdb.guile/scm-frame-args.c: New file.
23535 * gdb.guile/scm-frame-args.exp: New file.
23536 * gdb.guile/scm-frame-args.scm: New file.
23537 * gdb.guile/scm-frame-inline.c: New file.
23538 * gdb.guile/scm-frame-inline.exp: New file.
23539 * gdb.guile/scm-frame.c: New file.
23540 * gdb.guile/scm-frame.exp: New file.
23541 * gdb.guile/scm-generics.exp: New file.
23542 * gdb.guile/scm-gsmob.exp: New file.
23543 * gdb.guile/scm-iterator.c: New file.
23544 * gdb.guile/scm-iterator.exp: New file.
23545 * gdb.guile/scm-math.c: New file.
23546 * gdb.guile/scm-math.exp: New file.
23547 * gdb.guile/scm-objfile-script-gdb.in: New file.
23548 * gdb.guile/scm-objfile-script.c: New file.
23549 * gdb.guile/scm-objfile-script.exp: New file.
23550 * gdb.guile/scm-objfile.c: New file.
23551 * gdb.guile/scm-objfile.exp: New file.
23552 * gdb.guile/scm-ports.exp: New file.
23553 * gdb.guile/scm-pretty-print.c: New file.
23554 * gdb.guile/scm-pretty-print.exp: New file.
23555 * gdb.guile/scm-pretty-print.scm: New file.
23556 * gdb.guile/scm-section-script.c: New file.
23557 * gdb.guile/scm-section-script.exp: New file.
23558 * gdb.guile/scm-section-script.scm: New file.
23559 * gdb.guile/scm-symbol.c: New file.
23560 * gdb.guile/scm-symbol.exp: New file.
23561 * gdb.guile/scm-symtab-2.c: New file.
23562 * gdb.guile/scm-symtab.c: New file.
23563 * gdb.guile/scm-symtab.exp: New file.
23564 * gdb.guile/scm-type.c: New file.
23565 * gdb.guile/scm-type.exp: New file.
23566 * gdb.guile/scm-value-cc.cc: New file.
23567 * gdb.guile/scm-value-cc.exp: New file.
23568 * gdb.guile/scm-value.c: New file.
23569 * gdb.guile/scm-value.exp: New file.
23570 * gdb.guile/source2.scm: New file.
23571 * gdb.guile/types-module.cc: New file.
23572 * gdb.guile/types-module.exp: New file.
23573
7026a7c1
YQ
235742014-02-10 Yao Qi <yao@codesourcery.com>
23575
23576 PR testsuite/16543
23577 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23578 * configure: Regenerated.
23579 * Makefile.in: New file.
23580
6c466447
AS
235812014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23582
23583 * gdb.python/py-framefilter.exp: Fix typo.
23584
6e854735
YQ
235852014-02-08 Yao Qi <yao@codesourcery.com>
23586
23587 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23588 that no =breakpoint-modified is emitted when breakpoints are
23589 modified through MI commands.
23590
d137e6dc
PA
235912014-02-07 Pedro Alves <pedro@codesourcery.com>
23592 Pedro Alves <palves@redhat.com>
23593
23594 * gdb.threads/step-after-sr-lock.c: New file.
23595 * gdb.threads/step-after-sr-lock.exp: New file.
23596
b5ee5a50
PA
235972014-02-07 Pedro Alves <palves@redhat.com>
23598
23599 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23600
3c77faf3
JK
236012014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23602
23603 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23604 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23605
6dddc817
DE
236062014-02-06 Doug Evans <xdje42@gmail.com>
23607
23608 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23609 output.
23610
23611 * gdb.gdb/python-interrupts.exp: New file.
23612
de7b2893
YQ
236132014-02-05 Yao Qi <yao@codesourcery.com>
23614
23615 * gdb.trace/report.exp (use_collected_data): Test the output
23616 of "info threads" and "info inferiors".
23617
66d032ac
YQ
236182014-02-05 Yao Qi <yao@codesourcery.com>
23619
23620 Revert this patch:
23621
23622 2013-05-24 Yao Qi <yao@codesourcery.com>
23623
23624 * gdb.trace/tfile.exp: Test inferior and thread.
23625
591a12a1
UW
236262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23627
23628 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23629 on a function.
23630 * gdb.base/step-bt.c: Call hello via function pointer to make
23631 sure its first instruction is executed on powerpc64le-linux.
23632
0ff3e01f
UW
236332014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23634
23635 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23636
084ee545
UW
236372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23638
23639 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23640 of the test patterns for use on little-endian systems.
23641
6ed14ff3
UW
236422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23643
23644 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23645 (decimal_vector): Fix for little-endian.
23646
401e27fd
JM
236472014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23648
23649 * gdb.arch/sparc-sysstep.exp: New file.
23650 * gdb.arch/sparc-sysstep.c: Likewise.
23651
23652 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23653
8b924729
EBM
236542014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23655
23656 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23657
fb151210
JB
236582014-01-23 Tom Tromey <tromey@redhat.com>
23659
23660 * gdb.ada/array_char_idx: New testcase.
23661
0740f8d8
TT
236622014-01-23 Tom Tromey <tromey@redhat.com>
23663
23664 PR python/16487:
23665 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23666 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23667 classes.
23668
21909fa1
TT
236692014-01-23 Tom Tromey <tromey@redhat.com>
23670
23671 PR python/16491:
23672 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23673 string from an inferior frame.
23674 * gdb.python/py-framefilter-mi.exp: Update.
23675
87ce2a04
DE
236762014-01-22 Doug Evans <dje@google.com>
23677
23678 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23679
237b092b
AA
236802014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23681
23682 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23683
d674a709
AA
236842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23685
23686 * gdb.trace/entry-values.exp: Remove excess space character from
23687 regex patterns. Handle s390 call instruction.
23688
20fa3390
AA
236892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23690
23691 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23692 define "*_start" label. Make "name" static.
23693 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23694 ${name} by references to ${name}_start.
23695
78466714
AA
236962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23697
23698 * gdb.base/info-macros.exp: Remove "debug" from the compile
23699 options.
23700
ec9f644a
IB
237012014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23702
23703 * gdb.dlang/demangle.exp: New file.
23704
94b1b47e
IB
237052014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23706
23707 * gdb.dlang/primitive-types.exp: New file.
23708
7f420862
IB
237092014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23710
23711 * configure.ac: Create gdb.dlang/Makefile.
23712 * configure: Regenerate.
23713 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23714 * gdb.dlang/Makefile.in: New file.
23715 * lib/d-support.exp: New file.
23716 * lib/gdb.exp (skip_d_tests): New proc.
23717
52834460
MM
237182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23719
23720 * gdb.btrace/delta.exp: Check reverse stepi.
23721 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23722 * gdb.btrace/finish.exp: New.
23723 * gdb.btrace/next.exp: New.
23724 * gdb.btrace/nexti.exp: New.
23725 * gdb.btrace/record_goto.c: Add comments.
23726 * gdb.btrace/step.exp: New.
23727 * gdb.btrace/stepi.exp: New.
23728 * gdb.btrace/multi-thread-step.c: New.
23729 * gdb.btrace/multi-thread-step.exp: New.
23730 * gdb.btrace/rn-dl-bind.c: New.
23731 * gdb.btrace/rn-dl-bind.exp: New.
23732 * gdb.btrace/data.c: New.
23733 * gdb.btrace/data.exp: New.
23734 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23735
6e07b1d2
MM
237362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23737
23738 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23739 * gdb.btrace/exception.exp: Update.
23740 * gdb.btrace/instruction_history.exp: Update.
23741 * gdb.btrace/record_goto.exp: Update.
23742 * gdb.btrace/tailcall.exp: Update.
23743 * gdb.btrace/unknown_functions.exp: Update.
23744 * gdb.btrace/delta.exp: New.
23745
0b722aec
MM
237462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23747
23748 * gdb.btrace/record_goto.exp: Add backtrace test.
23749 * gdb.btrace/tailcall.exp: Add backtrace test.
23750
066ce621
MM
237512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23752
23753 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23754 * gdb.btrace/record_goto.c: New.
23755 * gdb.btrace/record_goto.exp: New.
23756 * gdb.btrace/x86-record_goto.S: New.
23757
0688d04e
MM
237582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23759
23760 * gdb.btrace/function_call_history.exp: Update tests.
23761 * gdb.btrace/instruction_history.exp: Update tests.
23762
8710b709
MM
237632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23764
23765 * gdb.btrace/function_call_history.exp: Fix expected field
23766 order for "record function-call-history".
23767 Add new tests for "record function-call-history /c".
23768 * gdb.btrace/exception.cc: New.
23769 * gdb.btrace/exception.exp: New.
23770 * gdb.btrace/tailcall.exp: New.
23771 * gdb.btrace/x86-tailcall.S: New.
23772 * gdb.btrace/x86-tailcall.c: New.
23773 * gdb.btrace/unknown_functions.c: New.
23774 * gdb.btrace/unknown_functions.exp: New.
23775 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23776
5de9129b
MM
237772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23778
23779 * gdb.btrace/instruction_history.exp: Update.
23780 * gdb.btrace/function_call_history.exp: Update.
23781
23a7fe75
MM
237822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23783
23784 * gdb.btrace/function_call_history.exp: Fix expected function
23785 trace.
23786 * gdb.btrace/instruction_history.exp: Initialize traced.
23787 Remove traced_functions.
23788
724c7dd8
MM
237892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23790
23791 * gdb.btrace/function_call_history.exp: Update
23792 * gdb.btrace/instruction_history.exp: Update.
23793
6d78d93b
MM
237942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23795
23796 * gdb.btrace/enable.exp: Update expected text.
23797
93a360cc
OJ
237982014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23799
23800 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23801 bytes.
23802
3772b53f
MR
238032014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23804
23805 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23806
596662fa
OJ
238072014-01-15 Omair Javaid <omair.javaid@linaro.org>
23808
23809 * lib/gdb.exp (supports_process_record): Return true for
23810 arm*-linux*. (supports_reverse): Likewise.
23811
b5b08fb4
SC
238122014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23813
23814 PR python/15464
23815 PR python/16113
23816 * gdb.python/py-type.c: Enhance test case.
23817 * gdb.python/py-value-cc.cc: Likewise
23818 * gdb.python/py-type.exp: Add new tests.
23819 * gdb.python/py-value-cc.exp: Likewise
23820
52d7fb13
AA
238212014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23822 Pedro Alves <palves@redhat.com>
23823
23824 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23825 Make "name" extern.
23826 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23827 references to ${name}_start by references to ${name}.
23828
a2cd8cfe
JB
238292014-01-10 Joel Brobecker <brobecker@adacore.com>
23830
23831 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23832
4e23fced
JB
238332014-01-10 Joel Brobecker <brobecker@adacore.com>
23834
23835 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23836
c6a9e42c
PA
238372014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23838 Pedro Alves <palves@redhat.com>
23839
23840 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23841 mi_gdb_target_load.
c6a9e42c 23842
b7ea362b
PA
238432014-01-08 Pedro Alves <palves@redhat.com>
23844
23845 * gdb.threads/reconnect-signal.c: New file.
23846 * gdb.threads/reconnect-signal.exp: New file.
23847
5e3f4fab
EBM
238482014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23849
23850 * gdb.base/source-dir.exp: New file.
23851
79301218
JB
238522014-01-07 Joel Brobecker <brobecker@adacore.com>
23853
23854 * gdb.ada/mi_interface: New testcase.
23855
8e355c5d
JB
238562014-01-07 Joel Brobecker <brobecker@adacore.com>
23857
23858 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23859 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23860 gdb.ada/pp-rec-component/pck.ads: New files.
23861
c0d48811
JB
238622014-01-07 Joel Brobecker <brobecker@adacore.com>
23863
23864 * gdb.python/py-pp-integral.c: New file.
23865 * gdb.python/py-pp-integral.py: New file.
23866 * gdb.python/py-pp-integral.exp: New file.
23867
17b609c3 23868For older changes see ChangeLog-1993-2013.
c906108c 23869\f
8d8cb839
EZ
23870;; Local Variables:
23871;; mode: change-log
23872;; left-margin: 8
23873;; fill-column: 74
23874;; version-control: never
23875;; End:
902f2ccb 23876
3666a048 23877 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23878 Copying and distribution of this file, with or without modification,
23879 are permitted provided the copyright notice and this notice are preserved.