Change how DWARF indices use addrmap
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
e0d6d274
KB
12021-03-19 Kevin Buettner <kevinb@redhat.com>
2
3 * lib/gdbserver-support.exp (gdbserver_exit): Use the
4 "-nowait" flag when waiting for gdbserver to exit.
5
a088215a
SST
62021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
7
8 * gdb.base/info-macros.exp: Append -fdebug-macro to
9 additional_flags for clang.
10 * gdb.base/macscp.exp: Likewise.
11 * gdb.base/style.exp: Likewise.
12 * gdb.linespec/macro-relative.exp: Likewise.
13
d0c99a23
SM
142021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
15 Pedro Alves <pedro@palves.net>
16
17 * gdb.base/run-attach-while-running.exp: New.
18 * gdb.base/run-attach-while-running.c: New.
19
7807d76a
AB
202021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * gdb.python/py-framefilter-addr.c: New file.
23 * gdb.python/py-framefilter-addr.exp: New file.
24 * gdb.python/py-framefilter-addr.py: New file.
25
f302f9e2
AB
262021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
27
28 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
29 Make use of $gdb_test_name instead of creating a separate $test
30 variable.
31 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
32 adding a '($name)' at the end of each test. This also catches the
33 one place where '($name)' was missing, and so caused a duplicate
34 test name.
35 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
36 duplicate test names based on the command being tested.
37 * gdb.threads/signal-command-multiple-signals-pending.exp:
38 Likewise.
39 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
40 avoid duplicate testnames when a test script uses this proc and
41 also gdb_compile_pthreads.
42 * lib/prelink-support.exp (build_executable_own_libs): Use
43 with_test_prefix to avoid duplicate test names when we call
44 build_executable twice.
45
6813ceb0
TT
462021-03-15 Tom Tromey <tromey@adacore.com>
47
48 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
49
3b5c4de0
TT
502021-03-15 Tom Tromey <tromey@adacore.com>
51
52 * gdb.ada/varsize_limit.exp: Add new test.
53 * gdb.ada/varsize_limit/vsizelim.adb: Update.
54
c04da66c
TT
552021-03-15 Tom Tromey <tromey@adacore.com>
56
57 * gdb.ada/operator_call/twovecs.ads: New file.
58 * gdb.ada/operator_call/twovecs.adb: New file.
59 * gdb.ada/operator_call/opcall.adb: New file.
60 * gdb.ada/operator_call.exp: New file.
61
1ac74522
TT
622021-03-15 Tom Tromey <tromey@adacore.com>
63
64 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
65 * gdb.ada/enums_overload/enums_overload.ads: New file.
66 * gdb.ada/enums_overload/enums_overload.adb: New file.
67 * gdb.ada/enums_overload.exp: New file.
68
207582c0
TT
692021-03-15 Tom Tromey <tromey@adacore.com>
70
71 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
72 Declare.
73 * gdb.ada/assign_arr/target_wrapper.adb: New file.
74 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
75 Call Put.
76 * gdb.ada/assign_arr.exp: Update.
77
ba6a0ef3
AB
782021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
79
80 * gdb.python/py-auto-load-chaining-f1.c: New file.
81 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
82 * gdb.python/py-auto-load-chaining-f2.c: New file.
83 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
84 * gdb.python/py-auto-load-chaining.c: New file.
85 * gdb.python/py-auto-load-chaining.exp: New file.
86
7f99d636
AB
872021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
88
89 * gdb.python/py-bad-printers.exp: Extend test names to make them
90 unique.
91 * gdb.python/py-events.exp: Likewise.
92 * gdb.python/py-finish-breakpoint2.exp: Likewise.
93 * gdb.python/py-frame-inline.exp: Likewise.
94 * gdb.python/py-frame.exp: Likewise.
95 * gdb.python/py-infthread.exp: Likewise.
96
323b848c
AB
972021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
98
99 * gdb.python/py-value-cc.exp: Remove a duplicate test.
100
8a4efb36
AB
1012021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
102
103 * gdb.python/lib-types.exp: Update the test to check the correct
104 python variable.
105
66bb1dd9
AB
1062021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * gdb.python/py-explore-cc.exp: Extend test names to make them
109 unique.
110
0125fabc
AB
1112021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
112
113 * gdb.python/py-lookup-type.exp: Remove duplicate test.
114
79d04157
AB
1152021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
116
117 * gdb.python/py-symtab.exp: Extend test names to make them
118 unique.
119
e3e48d8f
AB
1202021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
123 names unique.
124
2cb60e74
AB
1252021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
126
127 * gdb.python/py-block.exp: Give tests unique names.
128
8b12ded4
AB
1292021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
130
131 * gdb.python/py-pp-maint.exp: Extend test names to make them
132 unique.
133
93598ea4
AB
1342021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
135
136 * gdb.python/py-explore.exp: Add with_test_prefix to make test
137 names unique.
138
f35d6971
AB
1392021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
140
141 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
142
22d3e7f6
AB
1432021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
144
145 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
146 names unique.
147
5fc5a1b8
AB
1482021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
151 test names unique.
152
e3141a4d
AB
1532021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
156 unique.
157
ccdc02ed
TT
1582021-03-09 Tom Tromey <tromey@adacore.com>
159
160 * gdb.base/cast-call.exp: New file.
161 * gdb.base/cast-call.c: New file.
162
fbb1aace
AB
1632021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
164
165 * gdb.gdb/python-helper.exp: New file.
166
611aa09d
FW
1672020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
168
169 * gdb.fortran/intrinsics.exp: Add LOC tests.
170
eef32f59
AB
1712021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
172
173 * gdb.fortran/shape.exp: New file.
174 * gdb.fortran/shape.f90: New file.
175
7ba155b3
AB
1762021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
177
178 * gdb.fortran/size.exp: New file.
179 * gdb.fortran/size.f90: New file.
180
e14816a8
AB
1812021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
182
183 * gdb.fortran/rank.exp: New file.
184 * gdb.fortran/rank.f90: New file.
185
d308ba78
TT
1862021-03-08 Tom Tromey <tom@tromey.com>
187
188 * gdb.fortran/debug-expr.exp: Update tests.
189
d182f279
TT
1902021-03-08 Tom Tromey <tom@tromey.com>
191
192 * gdb.base/debug-expr.exp: Update expected dump output.
193
a7308ce0
TT
1942021-03-06 Tom Tromey <tom@tromey.com>
195
196 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
197 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
198 * gdb.dwarf2/dwznolink.exp: New file.
199
b0a8c2ff
MW
2002021-03-05 Mark Wielaard <mark@klomp.org>
201
202 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
203
844be3f2
WP
2042021-03-06 Weimin Pan <weimin.pan@oracle.com>
205
206 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
207
82333781
MM
2082021-03-03 Markus Metzger <markus.t.metzger@intel.com>
209
210 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
211
32c52999
MM
2122021-03-03 Markus Metzger <markus.t.metzger@intel.com>
213
214 * gdb.btrace/non-stop.exp: Adjust expected source lines.
215
26ed1478
MM
2162021-03-03 Markus Metzger <markus.t.metzger@intel.com>
217
218 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
219
d2c5f24e
MM
2202021-03-03 Markus Metzger <markus.t.metzger@intel.com>
221
222 * gdb.btrace/exception.cc (main): Update test source.
223 * gdb.btrace/exception.exp: Update patterns.
224 * gdb.btrace/function_call_history.exp: Likewise.
225
c7c7253a
MM
2262021-03-03 Markus Metzger <markus.t.metzger@intel.com>
227
228 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
229
f0778fc1
MM
2302021-03-03 Markus Metzger <markus.t.metzger@intel.com>
231
232 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
233 reverse-continue to breakpoint.
234
e71dbd03
MM
2352021-03-03 Markus Metzger <markus.t.metzger@intel.com>
236
237 * gdb.btrace/delta.exp: Remove instruction-history and
238 function-call-history checks.
239
b93a3ed0
MM
2402021-03-03 Markus Metzger <markus.t.metzger@intel.com>
241
242 * README (Note): Add nopie_ldflag.
243 * lib/gdb.exp (gdb_compile): Extend nopie handling.
244
bbcdf9ab
TT
2452021-03-02 Tom Tromey <tromey@adacore.com>
246
247 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
248 encodings.
249
bb3a4efe
LS
2502021-02-27 Lancelot Six <lsix@lancelotix.com>
251
252 PR gdb/27393
253 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
254
255
573dc0cc
TT
2562021-02-26 Tom Tromey <tom@tromey.com>
257
258 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
259
f8218786
JV
2602021-02-26 Jan Vrany <jan.vrany@labware.com>
261
262 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
263 Remove trailing \n from expected output.
264
cb51b708
MM
2652021-02-26 Markus Metzger <markus.t.metzger@intel.com>
266
267 * lib/gdb.exp (use_gdb_stub): Extend comment.
268
64d38fdd
JM
2692021-02-25 Jan Matyas <jmatyas@codasip.com>
270
271 PR gdb/26819
272 * gdb.server/stop-reply-no-thread.exp: Add two test
273 scenarios that cover remote targets which do not have
274 the concept of threads.
275
d4ff3cbf
AB
2762021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
277
278 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
279
68337b8b
AB
2802021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
281
282 PR fortran/26155
283 * gdb.fortran/call-no-debug-func.f90: New file.
284 * gdb.fortran/call-no-debug-prog.f90: New file.
285 * gdb.fortran/call-no-debug.exp: New file.
286
faeb9f13
AB
2872021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
288
289 * gdb.fortran/associated.exp: New file.
290 * gdb.fortran/associated.f90: New file.
291
170f4b23
AB
2922021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
293
294 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
295
dd80d750
AB
2962021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
297
298 * gdb.base/sect-cmd.exp: Update expected results.
299
b91919ac
AB
3002021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
301
302 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
303 techniques. Enable the test for all targets.
304
02a79309
AB
3052021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
306
307 * gdb.base/maint-info-sections.exp: Add new tests.
308 (check_maint_info_target_sections_output): New proc.
309
895b7b4e
AB
3102021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
311
312 * gdb.arch/riscv-default-tdesc.exp: New file.
313
bc3c0632
AB
3142021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
315
316 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
317
acde2092
AB
3182021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
319
320 * gdb.arch/i386-biarch-core.exp: Add target check.
321
7d2e5095
AKS
3222021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
323
324 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
325
96df3e28
AB
3262021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.fortran/allocated.exp: New file.
329 * gdb.fortran/allocated.f90: New file.
330
a1670b72
AB
3312021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
332
333 * gdb.fortran/lbound-ubound.exp: Remove old comment.
334
bf3386f0
AB
3352021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
336
337 * gdb.base/maint-info-sections.exp: Update expected output, and
338 add additional tests. Again.
339
4790db14
AB
3402021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
341
342 * gdb.base/maint-info-sections.exp: Update expected output, and
343 add additional tests.
344
f4be6772
AB
3452021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
346
347 * gdb.base/maint-info-sections.exp: New file, content is moved
348 from gdb.base/maint.exp and cleaned up to use latest testsuite
349 techniques.
350 * gdb.base/maint.exp: Tests moved out to
351 gdb.base/maint-info-sections.exp.
352
25ad1e83
SM
3532021-02-10 Simon Marchi <simon.marchi@efficios.com>
354
355 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
356 GDBFLAGS.
357
e92c8eb8
AB
3582021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
359
360 * gdb.fortran/lbound-ubound.F90: New file.
361 * gdb.fortran/lbound-ubound.exp: New file.
362
ee4c3d88
TV
3632021-02-10 Tom de Vries <tdevries@suse.de>
364
365 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
366 "Restore saved setting of complaints".
367
cf2b2075
TV
3682021-02-09 Tom de Vries <tdevries@suse.de>
369
370 PR symtab/27341
371 * lib/gdb.exp (with_complaints): New proc, factored out of ...
372 (gdb_load_no_complaints): ... here.
373 * gdb.fortran/function-calls.exp: Add test-case.
374
b61f7811
HAQ
3752021-02-09 Abid Qadeer <abidh@codesourcery.com>
376
377 * gdb.threads/signal-command-handle-nopass.exp: Call
378 'standard_testfile' before using 'testfile'.
379 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
380 * gdb.threads/signal-delivered-right-thread.exp: Likewise
381 * gdb.threads/signal-sigtrap.exp: Likewise
382
3d4aae48
LM
3832021-02-08 Luis Machado <luis.machado@linaro.org>
384
385 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
386
4001d90d
TV
3872021-02-08 Tom de Vries <tdevries@suse.de>
388
389 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
390
29db1eb3
AB
3912021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
392
393 * gdb.python/tui-window-disabled.c: New file.
394 * gdb.python/tui-window-disabled.exp: New file.
395 * gdb.python/tui-window-disabled.py: New file.
396
e0c23e11
AB
3972021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
398
399 * gdb.python/tui-window.exp: Add new tests.
400 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
401 TestWindow object into global the_window.
402 <remote_title>: New method.
403 (delete_window_title): New function.
404
1cf23996
AB
4052021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
406
407 * gdb.tui/winheight.exp: Add more tests.
408
2708dbbd
AB
4092021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
410
411 * gdb.python/py-framefilter.exp: Update expected results.
412 * gdb.python/python.exp: Update expected results.
413
cd074e04
AB
4142021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
415
416 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
417 about bug in GDB, update expected results, and add more tests.
418
5fb97639
AB
4192021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
420
421 * gdb.tui/scroll.exp: New file.
422 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
423 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
424 remaining lines up.
425 (Term::check_region_contents): New proc.
426 (Term::check_box_contents): Use check_region_contents.
427
c0e56745
TV
4282021-02-06 Tom de Vries <tdevries@suse.de>
429
430 PR testsuite/26922
431 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
432 scrolling.
433
0e857c82
TV
4342021-02-05 Tom de Vries <tdevries@suse.de>
435
436 PR breakpoints/27313
437 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
438 rejected.
439
a22ec6e8
TV
4402021-02-05 Tom de Vries <tdevries@suse.de>
441
442 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
443 * gdb.fortran/mixed-lang-stack.exp: Same.
444
ae710496
TV
4452021-02-05 Tom de Vries <tdevries@suse.de>
446
447 PR exp/27265
448 * gdb.base/complex-parts.exp: Add tests.
449
d3b54e63
TV
4502021-02-05 Tom de Vries <tdevries@suse.de>
451
452 PR symtab/27307
453 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
454
3eccb1c8
SV
4552021-02-04 Shahab Vahedi <shahab@synopsys.com>
456
457 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
458
a71501e2
PA
4592021-02-03 Pedro Alves <pedro@palves.net>
460
461 * gdb.threads/detach-step-over.c: New file.
462 * gdb.threads/detach-step-over.exp: New file.
463
92234eb1
PA
4642021-02-03 Pedro Alves <pedro@palves.net>
465
466 * gdb.threads/attach-non-stop.c: New file.
467 * gdb.threads/attach-non-stop.exp: New file.
468
2e3773ff
LS
4692021-02-02 Lancelot SIX <lsix@lancelotsix.com>
470
471 * gdb.base/inferior-noarg.c: New test.
472 * gdb.base/inferior-noarg.exp: New test.
473
e0bd9202
SM
4742021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
475
476 * gdb.base/scope.exp: Use proc_with_prefix.
477
9307efbe
SM
4782021-02-02 Simon Marchi <simon.marchi@efficios.com>
479
480 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
481 table proc.
482 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
483 .debug_rnglists table without offset array.
484 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
485 .debug_loclists table without offset array.
486
2b0c7f41
SM
4872021-02-02 Simon Marchi <simon.marchi@efficios.com>
488
489 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
490 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
491 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
492 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
493 attribute
494
ecfda20d
SM
4952021-02-02 Simon Marchi <simon.marchi@efficios.com>
496
497 PR gdb/26813
498 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
499 (loclists): New proc.
500 * gdb.dwarf2/loclists-multiple-cus.c: New.
501 * gdb.dwarf2/loclists-multiple-cus.exp: New.
502 * gdb.dwarf2/loclists-sec-offset.c: New.
503 * gdb.dwarf2/loclists-sec-offset.exp: New.
504
6b0933da
SM
5052021-02-02 Simon Marchi <simon.marchi@efficios.com>
506
507 * lib/dwarf.exp (_location): Add parameters.
508 (_handle_DW_FORM): Adjust.
509
962effa7
SM
5102021-02-02 Simon Marchi <simon.marchi@efficios.com>
511
512 PR gdb/26813
513 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
514 (cu): Generate header for DWARF 5.
515 (rnglists): New proc.
516 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
517 * gdb.dwarf2/rnglists-sec-offset.exp: New.
518
2bd3e4b8
TV
5192021-02-02 Tom de Vries <tdevries@suse.de>
520
521 PR symtab/24620
522 * gdb.dwarf2/fission-reread.exp: Add test-case.
523
c39c8637
TV
5242021-02-01 Tom de Vries <tdevries@suse.de>
525
526 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
527 * gdb.dwarf2/fission-loclists-pie.S: Same.
528 * gdb.dwarf2/fission-loclists.S: Same.
529 * gdb.dwarf2/fission-multi-cu.S: Same.
530 * gdb.dwarf2/fission-reread.S: Same.
531 * gdb.dwarf2/fission-base.exp: Use DWO.
532 * gdb.dwarf2/fission-loclists-pie.exp: Same.
533 * gdb.dwarf2/fission-loclists.exp: Same.
534 * gdb.dwarf2/fission-multi-cu.exp: Same.
535 * gdb.dwarf2/fission-reread.exp: Same.
536
ebde6f2d
TV
5372021-01-29 Tom de Vries <tdevries@suse.de>
538
539 PR breakpoints/26063
540 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
541 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
542
620ec3ca
TV
5432021-01-29 Tom de Vries <tdevries@suse.de>
544
545 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
546
cdeba395
TV
5472021-01-28 Tom de Vries <tdevries@suse.de>
548
549 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
550 in the backtrace, and use that in the rest of the test instead of
551 hardcoded constant 3. Use "frame" instead of "up" for robustness.
552
c47b145e
TV
5532021-01-28 Tom de Vries <tdevries@suse.de>
554
555 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
556 * gdb.arch/i386-sse-stack-align.c: Same.
557 * gdb.arch/i386-sse-stack-align.exp: Same.
558
47918cca
AB
5592021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
560
561 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
562
2f985dd1
TV
5632021-01-28 Tom de Vries <tdevries@suse.de>
564
565 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
566
22efa3d3
TV
5672021-01-28 Tom de Vries <tdevries@suse.de>
568
569 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
570 "maint info line-table". Make PASS pattern more specific. Make
571 FAIL pattern work for -m32.
572
59b59f08
LS
5732021-01-27 Lancelot SIX <lsix@lancelotsix.com>
574
575 PR gdb/27133
576 * gdb.base/ui-redirect.exp: Add test case that ensures that
577 redirecting both logging and debug does not cause gdb to crash.
578
579
807f647c
MM
5802021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
581
582 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
583
4ca40594
TV
5842021-01-26 Tom de Vries <tdevries@suse.de>
585
586 * gdb.threads/killed-outside.exp: Allow regular output.
587
d0021af3
TV
5882021-01-26 Tom de Vries <tdevries@suse.de>
589
590 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
591
9f6c202e
TV
5922021-01-25 Tom de Vries <tdevries@suse.de>
593
594 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
595 * lib/gdb.exp: Use gdb_load_no_complaints.
596
a625a8c9
TT
5972021-01-25 Tom Tromey <tromey@adacore.com>
598
599 * gdb.ada/fixed_points.exp: Add regression test.
600 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
601 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
602
19184910
TT
6032021-01-25 Tom Tromey <tromey@adacore.com>
604
605 * gdb.ada/local-enum.exp: Add enumerator resolution test.
606
acd6125f
TT
6072021-01-25 Tom Tromey <tromey@adacore.com>
608
609 * gdb.ada/local-enum.exp: New file.
610 * gdb.ada/local-enum/local.adb: New file.
611
1af4c9c4
TT
6122021-01-23 Tom Tromey <tom@tromey.com>
613
614 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
615
705646c0
BE
6162021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
617
618 * gdb.base/line65535.exp: Fix test expectation.
619
0ac85db5
SM
6202021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
621
622 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
623 suppression.
624 (default_gdb_exit): Likewise.
625 (default_gdb_spawn): Likewise.
626 (send_gdb): Likewise.
627 (gdb_expect): Likewise.
628 (gdb_expect_list): Likewise.
629 (default_gdb_init): Likewise.
630 (gdb_suppress_entire_file): Remove.
631 (gdb_suppress_tests): Remove.
632 (gdb_stop_suppressing_tests): Remove.
633 (gdb_clear_suppressed): Remove.
634 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
635 related to test suppression.
636 (default_mi_gdb_start): Likewise.
637 (mi_gdb_reinitialize_dir): Likewise.
638 (mi_gdb_test): Likewise.
639 (mi_run_cmd_full): Likewise.
640 (mi_runto_helper): Likewise.
641 (mi_execute_to): Likewise.
642 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
643 * gdb.base/bitfields.exp: Likewise.
644 * gdb.base/bitfields2.exp: Likewise.
645 * gdb.base/break.exp: Likewise.
646 * gdb.base/call-sc.exp: Likewise.
647 * gdb.base/callfuncs.exp: Likewise.
648 * gdb.base/dfp-test.exp: Likewise.
649 * gdb.base/endian.exp: Likewise.
650 * gdb.base/exprs.exp: Likewise.
651 * gdb.base/funcargs.exp: Likewise.
652 * gdb.base/hbreak2.exp: Likewise.
653 * gdb.base/recurse.exp: Likewise.
654 * gdb.base/scope.exp: Likewise.
655 * gdb.base/sepdebug.exp: Likewise.
656 * gdb.base/structs.exp: Likewise.
657 * gdb.base/until.exp: Likewise.
658 * gdb.cp/misc.exp: Likewise.
659
9d2d8a16
AB
6602021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
661
662 PR cli/25956
663 * gdb.base/style.exp (run_style_tests): Add version string test.
664 (test_startup_version_string): Use version style name.
665 * lib/gdb-utils.exp (style): Handle version style name.
666
e7b43072
AB
6672021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
668
669 * gdb.base/style.exp (limited_style): New proc.
670 (clean_restart_and_disable): New proc.
671 (run_style_tests): New proc. Most of the old tests from this file
672 are now in this proc.
673 (test_startup_version_string): New proc. Reamining test from the
674 old file is in this proc.
675
2189c312
SM
6762021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
677
678 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
679 Adjust to "set debug remote" changes.
680
cd211c75
LM
6812021-01-21 Luis Machado <luis.machado@linaro.org>
682
683 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
684 message.
685
730af663
SM
6862021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
687
688 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
689
325d39e4
HD
6902021-01-21 Hannes Domani <ssbssa@yahoo.de>
691
692 PR python/19151
693 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
694
c3e96aa7
SM
6952021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
696
697 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
698
6571ffc6
SM
6992021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
700
701 * lib/tuiterm.exp: Add links in comments.
702
7c794afd
TV
7032021-01-20 Tom de Vries <tdevries@suse.de>
704
705 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
706 offset.
707
1402665c
TV
7082021-01-20 Tom de Vries <tdevries@suse.de>
709
710 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
711
6f52fdf4
SDJ
7122021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
713
714 * gdb.arch/amd64-stap-expressions.S: New file.
715 * gdb.arch/amd64-stap-expressions.exp: New file.
716
14852123
TV
7172021-01-19 Tom de Vries <tdevries@suse.de>
718
719 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
720 sequence.
721
0c4e2c6c
TV
7222021-01-19 Tom de Vries <tdevries@suse.de>
723
724 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
725
02baa133
AB
7262021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
727
728 * gdb.fortran/array-slices.exp (run_test): Avoid including
729 addresses in test names.
730
10f92414
TV
7312021-01-15 Tom de Vries <tdevries@suse.de>
732
733 PR testsuite/26997
734 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
735 when adding sizeof.
736
116d0cf1
TV
7372021-01-14 Tom de Vries <tdevries@suse.de>
738
739 PR testsuite/24590
740 * gdb.base/style.exp: Handle shorter argv in frame command output.
741
8f66807b
AB
7422021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
743
744 PR gdb/26819
745 * gdb.server/stop-reply-no-thread-multi.c: New file.
746 * gdb.server/stop-reply-no-thread-multi.exp: New file.
747
3f94e588
TV
7482021-01-12 Tom de Vries <tdevries@suse.de>
749
750 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
751 (main): Remove call to have_mpx.
752 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
753 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
754 (main): Remote call to have_mpx.
755 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
756 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
757 (main): Remove call to have_mpx.
758 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
759 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
760 (main): Remove call to have_mpx.
761 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
762 * gdb.arch/i386-mpx.c (have_mpx): Remove.
763 (main): Remote call to have_mpx.
764 * gdb.arch/i386-mpx.exp: Use have_mpx.
765 * lib/gdb.exp (have_mpx): New proc.
766
5291fe3c
SP
7672021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
768
769 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
770
18bfb505
TV
7712021-01-12 Tom de Vries <tdevries@suse.de>
772
773 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
774
ce38f5ed
AB
7752021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
776
777 * gdb.fortran/debug-expr.exp: Add new tests.
778
7c654b71
AB
7792021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
780
781 * gdb.fortran/dot-ops.exp: Add new tests.
782
10dadadc
TV
7832021-01-11 Tom de Vries <tdevries@suse.de>
784
785 PR testsuite/26968
786 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
787 Move insn setting $eax to before probe point.
788
66beed02
TT
7892021-01-09 Tom Tromey <tom@tromey.com>
790
791 * gdb.trace/ax.exp: Do not require an "ext".
792
8fc48b79
TT
7932021-01-08 Tom Tromey <tromey@adacore.com>
794
795 * gdb.ada/voidctx/pck.adb: New file.
796 * gdb.ada/voidctx/pck.ads: New file.
797 * gdb.ada/voidctx/voidctx.adb: New file.
798 * gdb.ada/voidctx.exp: New file.
799
6abd4cf2
SM
8002021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
801
802 PR gdb/27157
803 * gdb.base/empty-host-env-vars.exp: New test.
804
d00f0868
AB
8052021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
806
807 * gdb.base/completion.exp: Add a new test.
808
3c8c6de2
AB
8092021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
810
811 * gdb.fortran/intvar-dynamic-types.exp: New file.
812 * gdb.fortran/intvar-dynamic-types.f90: New file.
813
e3436813
AB
8142021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
815
816 * gdb.fortran/intvar-array.exp: New file.
817 * gdb.fortran/intvar-array.f90: New file.
818
d4813f10
TT
8192021-01-07 Tom Tromey <tromey@adacore.com>
820
821 * gdb.ada/assign_arr.exp: Add 'others' test.
822
b49180ac
TT
8232021-01-06 Tom Tromey <tromey@adacore.com>
824
825 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
826 (FP4_Type): New type.
827 (FP4_Var): New variable.
828 * gdb.ada/fixed_points/fixed_points.adb: Update.
829 * gdb.ada/fixed_points.exp: Add tests for binary operators.
830
3c55062c
SM
8312021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
832
833 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
834 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
835 Pass prompt containing debug print to gdb_test_sequence.
836
e4ad960a
TV
8372021-01-04 Tom de Vries <tdevries@suse.de>
838
839 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
840
3ec3145c
SM
8412021-01-04 Simon Marchi <simon.marchi@efficios.com>
842
843
844
8dc558a0
SM
8452021-01-04 Simon Marchi <simon.marchi@efficios.com>
846
847 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
848 * gdb.server/connect-without-multi-process.exp: Likewise.
849 * gdb.server/exit-multiple-threads.exp: Likewise.
850 * gdb.server/ext-attach.exp: Likewise.
851 * gdb.server/ext-restart.exp: Likewise.
852 * gdb.server/ext-run.exp: Likewise.
853 * gdb.server/ext-wrapper.exp: Likewise.
854 * gdb.server/multi-ui-errors.exp: Likewise.
855 * gdb.server/no-thread-db.exp: Likewise.
856 * gdb.server/reconnect-ctrl-c.exp: Likewise.
857 * gdb.server/run-without-local-binary.exp: Likewise.
858 * gdb.server/server-kill.exp: Likewise.
859 * gdb.server/server-run.exp: Likewise.
860 * gdb.server/solib-list.exp: Likewise.
861 * gdb.server/stop-reply-no-thread.exp: Likewise.
862 * gdb.server/wrapper.exp: Likewise.
863 * gdb.server/sysroot.exp: Increase timeout when testing the
864 target: sysroot.
865
d8387cc8
SM
8662021-01-04 Simon Marchi <simon.marchi@efficios.com>
867
868 * gdb.server/server-run.exp: Use clean_restart.
869
5169ae34
SM
8702021-01-04 Simon Marchi <simon.marchi@efficios.com>
871
872 * gdb.server/ext-run.exp: Use clean_restart.
873
7b0ff8a2
SM
8742021-01-04 Simon Marchi <simon.marchi@efficios.com>
875
876 * gdb.server/stop-reply-no-thread.exp: Use build_executable
877 instead of prepare_for_testing.
878
a754fbdf
SM
8792021-01-04 Simon Marchi <simon.marchi@efficios.com>
880
881 * gdb.server/solib-list.exp: Use clean_restart.
882
c5e71b33
TV
8832021-01-04 Tom de Vries <tdevries@suse.de>
884
885 * gdb.base/morestack.c: Remove printf.
886 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
887
9b243007
TT
8882020-12-31 Tom Tromey <tom@tromey.com>
889
890 * gdb.rust/simple.exp: Update output for Rust 1.49.
891
4ff509e7
BE
8922020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
893
894 * gdb.cp/step-and-next-inline.exp: Fix test case.
895
391750c3
SM
8962020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
897
898 * gdb.python/py-frame-args.exp: De-duplicate test names.
899
b7874836
AB
9002020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
901
902 PR gdb/27059
903 * gdb.dwarf2/dyn-type-unallocated.c: New file.
904 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
905
e1ff6226
PW
9062020-12-21 Peter Waller <p@pwaller.net>
907
908 * gdb.base/style-interp-exec-mi.exp: New.
909 * gdb.base/style-interp-exec-mi.c: New.
910
ca01f1bf
SM
9112020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
912
913 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
914 gdb_test. Use proc_with_prefix.
915
0fe69a94
MM
9162020-12-21 Markus Metzger <markus.t.metzger@intel.com>
917
918 * gdb.btrace/exception.exp: Build with nopie.
919 * gdb.btrace/function_call_history.exp: Likewise.
920 * gdb.btrace/unknown_functions.exp: Likewise.
921
806e7575
MM
9222020-12-21 Markus Metzger <markus.t.metzger@intel.com>
923
924 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
925
493d2172
MM
9262020-12-21 Markus Metzger <markus.t.metzger@intel.com>
927
928 * gdb.python/py-record-btrace.exp: Make test names unique.
929 * gdb.python/py-record-full.exp: Likewise.
930
1a1c0afc
MM
9312020-12-21 Markus Metzger <markus.t.metzger@intel.com>
932
933 * gdb.btrace/data.exp: Make test names unique.
934 * gdb.btrace/delta.exp: Likewise.
935 * gdb.btrace/enable.exp: Likewise.
936 * gdb.btrace/function_call_history.exp: Likewise.
937 * gdb.btrace/nohist.exp: Likewise.
938 * gdb.btrace/non-stop.exp: Likewise.
939 * gdb.btrace/rn-dl-bind.exp: Likewise.
940 * gdb.btrace/step.exp: Likewise.
941 * gdb.btrace/stepi.exp: Likewise.
942 * gdb.btrace/tailcall.exp: Likewise.
943
98d837f0
MM
9442020-12-21 Markus Metzger <markus.t.metzger@intel.com>
945
946 * gdb.btrace/enable.exp: Update error message.
947 * gdb.btrace/multi-inferior.exp: Likewise.
948 * gdb.btrace/reconnect.exp: Likewise.
949 * gdb.python/py-record-btrace.exp: Likewise.
950 * gdb.python/py-record-full.exp: Likewise.
951
c541fa7c
TV
9522020-12-20 Tom de Vries <tdevries@suse.de>
953
954 * lib/gdb.exp (save_target_board_info): New proc.
955 (gdb_compile_shlib): Use save_target_board_info.
956
60108e47
TV
9572020-12-19 Tom de Vries <tdevries@suse.de>
958
959 * lib/gdb.exp (supports_scalar_storage_order_attribute)
960 (supports_gnuc): New proc.
961 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
962 test_compiler_info calls. Add unsupported message.
963 * gdb.base/endianity.c: Use TEST_SSO.
964
fa639f55
HD
9652020-12-19 Hannes Domani <ssbssa@yahoo.de>
966
967 PR exp/27070
968 * gdb.python/compare-enum-type-a.c: New test.
969 * gdb.python/compare-enum-type-b.c: New test.
970 * gdb.python/compare-enum-type.exp: New file.
971 * gdb.python/compare-enum-type.h: New test.
972
4aea001f
HD
9732020-12-18 Hannes Domani <ssbssa@yahoo.de>
974
975 * gdb.python/py-format-string.exp: Add tests for address keyword.
976
b3f9469b
HD
9772020-12-18 Hannes Domani <ssbssa@yahoo.de>
978
979 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
980
86ef42bd
TT
9812020-12-18 Tom Tromey <tromey@adacore.com>
982
983 * gdb.ada/fixed_points.exp: Also run with
984 -fgnat-encodings=minimal. Update expected output.
985
93df4a1d
SM
9862020-12-16 Simon Marchi <simon.marchi@efficios.com>
987
988 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
989 * gdb.base/continue-all-already-running.exp: Likewise.
990 * gdb.base/moribund-step.exp: Likewise.
991 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
992
592995fa
TV
9932020-12-16 Tom de Vries <tdevries@suse.de>
994
995 * gdb.base/batch-preserve-term-settings.exp:
996
1e61189d
TV
9972020-12-16 Tom de Vries <tdevries@suse.de>
998
999 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1000 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1001
19007d95
LM
10022020-12-16 Luis Machado <luis.machado@linaro.org>
1003
1004 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1005 pointer-based memory accesses.
1006 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1007 hw watchpoint cases.
1008
a33fc9ae
RK
10092020-12-15 Rae Kim <rae.kim@gmail.com>
1010
1011 * gdb.base/document.exp: New test.
1012
0e5ad442
TT
10132020-12-15 Tom Tromey <tromey@adacore.com>
1014
1015 * gdb.base/style.exp: Add deprecation tests.
1016
60598dbd
SM
10172020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1018
1019 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1020
8cd6d968
MW
10212020-12-14 Mark Wielaard <mark@klomp.org>
1022
1023 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1024 specially, set attr_form_comment to the actual FORM string used.
1025
eab9267c
MW
10262020-12-14 Mark Wielaard <mark@klomp.org>
1027
1028 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1029 _constants(SPECIAL_expr) here, but set it...
1030 (Dwarf::cu): ...here based on _cu_version.
1031
2f413264
TV
10322020-12-14 Tom de Vries <tdevries@suse.de>
1033
1034 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1035 pass -fPIC.
1036 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1037 * gdb.base/break-probes.exp: Same.
1038 * gdb.base/ctxobj.exp: Same.
1039 * gdb.base/dso2dso.exp: Same.
1040 * gdb.base/global-var-nested-by-dso.exp: Same.
1041 * gdb.base/info-shared.exp: Same.
1042 * gdb.base/jit-reader-simple.exp: Same.
1043 * gdb.base/print-file-var.exp: Same.
1044 * gdb.base/skip-solib.exp: Same.
1045 * gdb.btrace/dlopen.exp: Same.
1046
18f1cb1f
TV
10472020-12-14 Tom de Vries <tdevries@suse.de>
1048
1049 PR testsuite/26963
1050 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1051
519155c9
TV
10522020-12-14 Tom de Vries <tdevries@suse.de>
1053
1054 PR testsuite/26962
1055 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1056 cast it to its declared type".
1057
153f6e6c
TV
10582020-12-14 Tom de Vries <tdevries@suse.de>
1059
1060 PR testsuite/26951
1061 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1062 shell prompt.
1063
86b44259
TT
10642020-12-14 Tom Tromey <tromey@adacore.com>
1065
1066 * gdb.ada/nested.exp: Add new tests.
1067 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1068
e26624c6
TT
10692020-12-14 Tom Tromey <tromey@adacore.com>
1070
1071 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1072
a3bdae4e
TT
10732020-12-14 Tom Tromey <tromey@adacore.com>
1074
1075 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1076
862fcbd8
TV
10772020-12-13 Tom de Vries <tdevries@suse.de>
1078
1079 PR testsuite/26953
1080 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1081 attribute support if compiler doesn't support it.
1082
a406a98e
TV
10832020-12-13 Tom de Vries <tdevries@suse.de>
1084
1085 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1086 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1087 source to shared lib. Add ada to options.
1088
5d7e6ed0
TV
10892020-12-13 Tom de Vries <tdevries@suse.de>
1090
1091 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1092 calling gnatbind and gnatlink.
1093
ee9812a0
AB
10942020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * gdb.base/dcache-flush.c: New file.
1097 * gdb.base/dcache-flush.exp: New file.
1098
50a5f187
AB
10992020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1100
1101 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1102 commands.
1103 * gdb.base/killed-outside.exp: Likewise.
1104 * gdb.opt/inline-bt.exp: Likewise.
1105 * gdb.perf/gmonster-null-lookup.py: Likewise.
1106 * gdb.perf/gmonster-print-cerr.py: Likewise.
1107 * gdb.perf/gmonster-ptype-string.py: Likewise.
1108 * gdb.python/py-unwind.exp: Likewise.
1109
19c659f1
AB
11102020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1111
1112 * gdb.base/commands.exp: Update expected results.
1113
9ef6d4a1
AB
11142020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1115
1116 PR cli/15104
1117 * gdb.base/commands.exp: Add additional tests.
1118 * gdb.base/completion.exp: Add additional tests.
1119
1536146f
AB
11202020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 * gdb.base/completion.exp: Add additional tests.
1123
346e7e19
TV
11242020-12-11 Tom de Vries <tdevries@suse.de>
1125
1126 PR testsuite/26991
1127 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1128 violations by setting bounds registers if the bounds are passed in the
1129 Bounds Table.
1130
9cd7a95a
TV
11312020-12-11 Tom de Vries <tdevries@suse.de>
1132
1133 PR testsuite/26954
1134 * gdb.base/float128.exp: Detect and handle no mpfr support.
1135
4483a8e7
SM
11362020-12-10 Simon Marchi <simon.marchi@efficios.com>
1137
1138 PR gdb/24694
1139 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1140 calls.
1141
10067028
TV
11422020-12-10 Tom de Vries <tdevries@suse.de>
1143
1144 PR testsuite/26947
1145 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1146 braces for tcl 8.5 and earlier.
1147
5b56203a
SM
11482020-12-09 Simon Marchi <simon.marchi@efficios.com>
1149
1150 PR 26875, PR 26901
1151 * gdb.base/flexible-array-member.c: New test.
1152 * gdb.base/flexible-array-member.exp: New test.
1153
b46551b2
TV
11542020-12-08 Tom de Vries <tdevries@suse.de>
1155
1156 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1157 using is_amd64_regs_target.
1158
8439f446
TV
11592020-12-08 Tom de Vries <tdevries@suse.de>
1160
1161 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1162 self_id.
1163
bc545da7
PA
11642020-12-07 Pedro Alves <pedro@palves.net>
1165
1166 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1167 'additional_flags' variable.
1168
1f58f6c2
TBA
11692020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1170
1171 * gdb.linespec/explicit.exp: Extend with a test to check completing
1172 '-' after seemingly complete options.
1173
5759831a
TBA
11742020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1175
1176 * gdb.linespec/keywords.exp: Add tests to check positional
1177 flexibility of "-force-condition".
1178
21e051b3
TBA
11792020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1180
1181 * gdb.base/bp-cmds-run-with-ex.c: New file.
1182 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1183 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1184 * gdb.gdb/python-interrupts.exp: Update the call to
1185 'catch_command_errors' with the new argument.
1186 * gdb.gdb/python-selftest.exp: Ditto.
1187
187b041e
SM
11882020-12-04 Simon Marchi <simon.marchi@efficios.com>
1189
1190 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1191 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1192 * gdb.threads/non-stop-fair-events.exp: Likewise.
1193
3b7a962d
SM
11942020-12-04 Simon Marchi <simon.marchi@efficios.com>
1195
1196 * gdb.threads/step-over-exec.exp: New.
1197 * gdb.threads/step-over-exec.c: New.
1198 * gdb.threads/step-over-exec-execd.c: New.
1199 * lib/my-syscalls.S: New.
1200 * lib/my-syscalls.h: New.
1201
e633b117
SM
12022020-12-04 Simon Marchi <simon.marchi@efficios.com>
1203
1204 * lib/dwarf.exp (declare_labels): Use name as text if text is
1205 not provided.
1206
67748e0f
TV
12072020-12-04 Tom de Vries <tdevries@suse.de>
1208
1209 PR testsuite/26990
1210 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1211 are unsupported.
1212
a8d13675
TV
12132020-12-04 Tom de Vries <tdevries@suse.de>
1214
1215 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1216 clause.
1217
f17727b3
TV
12182020-12-04 Tom de Vries <tdevries@suse.de>
1219
1220 * gdb.reverse/insn-reverse.exp: Fix count handling.
1221
a1499830
TV
12222020-12-04 Tom de Vries <tdevries@suse.de>
1223
1224 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1225 __x86_64__.
1226
9c027c2f
TV
12272020-12-04 Tom de Vries <tdevries@suse.de>
1228
1229 * gdb.reverse/insn-reverse.c (test_nr): New var.
1230 (usage, parse_args): New function.
1231 (main): Call parse_args. Only run test for test_nr.
1232 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1233 and bail out. Run subtests individually, using an inferior arg
1234 specifying the subtest.
1235
533b2ae0
AB
12362020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1237
1238 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1239
e4502042
AB
12402020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1241
1242 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1243 update test to use this.
1244
f55a9a37
SM
12452020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1246
1247 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1248
0a6155a0
SM
12492020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1250
1251 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1252 (do_test): Don't use with_test_prefix.
1253 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1254 (do_test): Don't use with_test_prefix.
1255 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1256 (do_test): Don't use with_test_prefix.
1257 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1258 (do_test): Don't use with_test_prefix.
1259
4d56d64a
SM
12602020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1261
1262 * gdb.threads/non-ldr-exit.exp: Fix comment.
1263
54e75f29
AB
12642020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1265
1266 * gdb.xml/maint-xml-dump-03.xml: New file.
1267
7ce05d21
TV
12682020-11-30 Tom de Vries <tdevries@suse.de>
1269
1270 PR symtab/26905
1271 * gdb.dwarf2/count.exp: Remove kfails.
1272
50757f95
TBA
12732020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1274
1275 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1276 indices.
1277
4afa9fd9
JB
12782020-11-24 Joel Brobecker <brobecker@adacore.com>
1279
1280 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1281 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1282 languages. Remove the associated setup_xfail.
1283
15a491af
SM
12842020-11-23 Simon Marchi <simon.marchi@efficios.com>
1285
1286 * lib/gdb.exp (gdb_assert): Show error message on error.
1287
891615f0
TV
12882020-11-23 Tom de Vries <tdevries@suse.de>
1289
1290 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1291 * gdb.ada/mod_from_name.exp: Same.
1292 * gdb.ada/pckd_arr_ren.exp: Same.
1293
19922582
SM
12942020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1295
1296 * gdb.base/template.exp: New.
1297 * gdb.base/template.c: New.
1298
117c628d
GB
12992020-11-22 Gary Benson <gbenson@redhat.com>
1300
1301 PR gdb/26905
1302 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1303 is defined using a DW_AT_count which references another DIE.
1304
da39d3ba
TV
13052020-11-21 Tom de Vries <tdevries@suse.de>
1306
1307 * gdb.base/vla-ptr.exp: Add XFAIL.
1308
a5c641b5
AB
13092020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1310
1311 * gdb.fortran/array-slices-bad.exp: New file.
1312 * gdb.fortran/array-slices-bad.f90: New file.
1313 * gdb.fortran/array-slices-sub-slices.exp: New file.
1314 * gdb.fortran/array-slices-sub-slices.f90: New file.
1315 * gdb.fortran/array-slices.exp: Rewrite tests.
1316 * gdb.fortran/array-slices.f90: Rewrite tests.
1317 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1318
a15a5258
AB
13192020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1320
1321 * gdb.base/completion.exp: Add new completion tests.
1322
7cb2893d
SM
13232020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1324
1325 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1326 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1327 * gdb.mi/mi-nsintrall.exp: Likewise.
1328 * gdb.mi/mi-nsmoribund.exp: Likewise.
1329 * gdb.mi/mi-nsthrexec.exp: Likewise.
1330 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1331
cf144ec8
SM
13322020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1333
1334 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1335 of perror.
1336
6b6a3e05
JM
13372020-11-18 Joseph Myers <joseph@codesourcery.com>
1338
1339 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1340 $arg.exe exists but $arg does not.
1341
811bdca0
GB
13422020-11-17 Gary Benson <gbenson@redhat.com>
1343
1344 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1345 __attribute__ ((used)).
1346
c72e3136
AB
13472020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1348
1349 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1350
037d7135
AB
13512020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1352
1353 * gdb.base/completion.exp: Add new tests.
1354
119e99bb
TT
13552020-11-16 Tom Tromey <tromey@adacore.com>
1356
1357 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1358 tests.
1359
b74dbc20
JB
13602020-11-15 Joel Brobecker <brobecker@adacore.com>
1361
1362 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1363 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1364 (main): Add reference to pck__fp1_var2.
1365 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1366
0a12719e
JB
13672020-11-15 Joel Brobecker <brobecker@adacore.com>
1368
1369 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1370
0c9150e4
JB
13712020-11-15 Joel Brobecker <brobecker@adacore.com>
1372
1373 * gdb.ada/fixed_points.exp: Add ptype tests.
1374 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1375
b26daff9
JB
13762020-11-15 Joel Brobecker <brobecker@adacore.com>
1377
1378 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1379
09584414
JB
13802020-11-15 Joel Brobecker <brobecker@adacore.com>
1381
1382 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1383 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1384 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1385 New files.
1386 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1387
1388 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1389 New files.
1390
9dd02fc0
AB
13912020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1392
1393 PR cli/26879
1394 * gdb.fortran/completion.exp: New file.
1395 * gdb.fortran/completion.f90: New file.
1396
5643c500
JM
13972020-11-12 Joseph Myers <joseph@codesourcery.com>
1398
1399 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1400 but $arg does not.
1401
7bea47f0
AB
14022020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1403
1404 * gdb.fortran/types.exp: Add more tests.
1405
1f2624a3
TT
14062020-11-12 Tom Tromey <tom@tromey.com>
1407
1408 PR rust/26799:
1409 * gdb.rust/traits.exp: Remove kfails.
1410
9e74f0ae
GB
14112020-11-12 Gary Benson <gbenson@redhat.com>
1412
1413 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1414 statement.
1415
acb994fa
SM
14162020-11-11 Simon Marchi <simon.marchi@efficios.com>
1417
1418 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1419 always-inserted" axis.
1420 (do_test): Add breakpoint_always_inserted parameter.
1421
95016fd2
TT
14222020-11-10 Tom Tromey <tromey@adacore.com>
1423
1424 * gdb.ada/bias.exp: Update.
1425 * gdb.ada/bias/bias.adb (X): Change value.
1426
83100a74
GB
14272020-11-10 Gary Benson <gbenson@redhat.com>
1428
1429 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1430 regexp fragment in parentheses to prevent false matching.
1431
6ff174a7
GB
14322020-11-10 Gary Benson <gbenson@redhat.com>
1433
1434 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1435
eb24648c
GB
14362020-11-10 Gary Benson <gbenson@redhat.com>
1437
1438 * gdb.cp/step-and-next-inline.exp: Only require
1439 -gstatement-frontiers when building with GCC.
1440 Only setup KFAIL's for GCC issues when using
1441 a GCC-built executable.
1442
86775fab
AB
14432020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1444
1445 * gdb.base/debug-expr.c: Add extra function to allow for an
1446 additional test.
1447 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1448 to this proc with gdb_test_debug_expr. Add an extra test.
1449 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1450 to this proc with gdb_test_debug_expr, give the tests names
1451 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1452 calls to this proc with gdb_test_debug_expr, give the tests names
1453 * gdb.fortran/debug-expr.exp: New file.
1454 * gdb.fortran/debug-expr.f90: New file.
1455 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1456
a1945bd4
SM
14572020-11-06 Simon Marchi <simon.marchi@efficios.com>
1458
1459 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1460 proceduresu.
1461 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1462 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1463 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1464 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1465 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1466 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1467 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1468 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1469
9c91c725
TT
14702020-11-04 Tom Tromey <tromey@adacore.com>
1471
1472 * gdb.ada/funcall_ref.exp: Update.
1473 * gdb.ada/var_rec_arr.exp: Update.
1474
8d9fd3a1
TT
14752020-11-04 Tom Tromey <tromey@adacore.com>
1476
1477 * gdb.ada/rec_ptype.exp: New file.
1478 * gdb.ada/rec_ptype/main.adb: New file.
1479 * gdb.ada/rec_ptype/p.ads: New file.
1480
d8f62e84
TT
14812020-11-04 Tom Tromey <tromey@adacore.com>
1482
1483 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1484 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1485 (PT_Full): New variable.
1486 * gdb.ada/tick_length_array_enum_idx/pck.adb
1487 (Full_PT): New type.
1488
7ff5b937
TT
14892020-11-04 Tom Tromey <tromey@adacore.com>
1490
1491 * gdb.ada/array_of_variant.exp: New file.
1492 * gdb.ada/array_of_variant/p.adb: New file.
1493 * gdb.ada/array_of_variant/pck.ads: New file.
1494 * gdb.ada/array_of_variant/pck.adb: New file.
1495
10f6a3ad
TT
14962020-11-04 Tom Tromey <tromey@adacore.com>
1497
1498 * gdb.ada/enum_idx_packed.exp: Add test.
1499 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1500 New variable.
1501 * gdb.ada/enum_idx_packed/pck.ads (Short)
1502 (Multi_Dimension, Multi_Dimension_Access): New types.
1503
b72795a8
TT
15042020-11-04 Tom Tromey <tromey@adacore.com>
1505
1506 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1507
24aa1b02
TT
15082020-11-04 Tom Tromey <tromey@adacore.com>
1509
1510 * gdb.ada/set_pckd_arr_elt.exp: Also test
1511 -fgnat-encodings=minimal. Add tests.
1512 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1513 Call Update_Small a second time.
1514 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1515 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1516 (Variant_Access): New types.
1517 (New_Variant): Declare.
1518
c9a28cbe
TT
15192020-11-04 Tom Tromey <tromey@adacore.com>
1520
1521 * gdb.ada/mod_from_name.exp: Test printing slice.
1522
57567375
TT
15232020-11-04 Tom Tromey <tromey@adacore.com>
1524
1525 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1526 values.
1527 * gdb.ada/access_to_unbounded_array.exp: Test different
1528 -fgnat-encodings values.
1529 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1530 values.
1531 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1532 values.
1533 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1534 values.
1535 * gdb.ada/array_of_variable_length.exp: Test different
1536 -fgnat-encodings values.
1537 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1538 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1539 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1540 change.
1541 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1542 values.
1543 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1544 * gdb.ada/out_of_line_in_inlined.exp: Test different
1545 -fgnat-encodings values.
1546 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1547 values.
1548 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1549 values.
1550 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1551 -fgnat-encodings values.
1552 * gdb.ada/variant_record_packed_array.exp: Test different
1553 -fgnat-encodings values.
1554
a7400e44
TT
15552020-11-04 Tom Tromey <tromey@adacore.com>
1556
1557 * gdb.ada/enum_idx_packed.exp: Add tests.
1558 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1559 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1560 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1561 declarations.
1562
c40907bf
TV
15632020-11-03 Tom de Vries <tdevries@suse.de>
1564
1565 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1566 terminator comments.
1567 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1568 terminator.
1569
f468977a
SM
15702020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1571
1572 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1573 integer format test with regexp.
1574
1c2bec19
GB
15752020-11-02 Gary Benson <gbenson@redhat.com>
1576
1577 * gdb.base/print-file-var.exp (test): Separate compiler and
1578 linker options, and build using build_executable_from_specs
1579 to accommodate this.
1580
6539a36d
GB
15812020-11-02 Gary Benson <gbenson@redhat.com>
1582
1583 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1584 for .c files compiled as C++ with Clang if any shared
1585 libraries are specified.
1586
7ea44a51
GB
15872020-11-02 Gary Benson <gbenson@redhat.com>
1588
1589 * lib/attributes.h: New header.
1590 * gdb.base/backtrace.c: Include the above. Replace
1591 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1592 * gdb.base/infcall-nested-structs.c: Likewise.
1593 * gdb.base/vla-optimized-out.c: Likewise.
1594
ab8f783d
TV
15952020-11-02 Tom de Vries <tdevries@suse.de>
1596
1597 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1598
d77c9224
JB
15992020-11-01 Joel Brobecker <brobecker@adacore.com>
1600
1601 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1602 System.Min_Int and System.Max_Int with smaller hardcoded
1603 constants.
1604
0e5b0dd0
SM
16052020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1606
1607 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1608 * configure: Re-generate.
1609
136821d9
SM
16102020-10-30 Simon Marchi <simon.marchi@efficios.com>
1611
1612 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1613 expected output.
1614
b78b3a29
TBA
16152020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1616
1617 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1618 behavior.
1619 * gdb.base/paginate-bg-execution.exp: Ditto.
1620 * gdb.base/paginate-inferior-exit.exp: Ditto.
1621 * gdb.base/double-prompt-target-event-error.c: Remove.
1622 * gdb.base/double-prompt-target-event-error.exp: Remove.
1623
cfaa8f76
TBA
16242020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1625
1626 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1627 inferiors' and 'detach inferiors' do not change the current
1628 inferior.
1629
0ad0e70c
TV
16302020-10-29 Tom de Vries <tdevries@suse.de>
1631
1632 * gdb.threads/tls.exp: Fix DUPLICATEs.
1633
99cc6b2a
TV
16342020-10-28 Tom de Vries <tdevries@suse.de>
1635
1636 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1637
efe9b873
TV
16382020-10-28 Tom de Vries <tdevries@suse.de>
1639
1640 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1641 * gdb.base/reread.exp: Same.
1642
6b68fd45
TV
16432020-10-28 Tom de Vries <tdevries@suse.de>
1644
1645 * lib/gdb.exp (readnow): Handle arg.
1646 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1647
32a5f98a
TV
16482020-10-28 Tom de Vries <tdevries@suse.de>
1649
1650 * gdb.base/relocate.exp: Update regexp for -readnow.
1651
f93b8760
TV
16522020-10-28 Tom de Vries <tdevries@suse.de>
1653
1654 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1655 -readnow.
1656
1b00ef06
TV
16572020-10-28 Tom de Vries <tdevries@suse.de>
1658
1659 PR symtab/26772
1660 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1661 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1662
364bb903
TV
16632020-10-28 Tom de Vries <tdevries@suse.de>
1664
1665 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1666 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1667 complaint during file command for -readnow.
1668
445a033f
TV
16692020-10-28 Tom de Vries <tdevries@suse.de>
1670
1671 * gdb.cp/nsalias.exp: Fix typo in test name.
1672
fdd67a42
TV
16732020-10-28 Tom de Vries <tdevries@suse.de>
1674
1675 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1676
706baf4c
TV
16772020-10-28 Tom de Vries <tdevries@suse.de>
1678
1679 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1680 -readnow.
1681
b448cca5
TV
16822020-10-27 Tom de Vries <tdevries@suse.de>
1683
1684 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1685
5868da03
TV
16862020-10-27 Tom de Vries <tdevries@suse.de>
1687
1688 * gdb.base/maint.exp: Update for -readnow.
1689
06db6ec3
TV
16902020-10-27 Tom de Vries <tdevries@suse.de>
1691
1692 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1693 -readnow.
1694
934a1764
GB
16952020-10-14 Gary Benson <gbenson@redhat.com>
1696
1697 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1698 "_vptr$Base" as correct, in addition to "_vptr.Base".
1699 (test_mixed): Likewise.
1700
0bf21fbd
GB
17012020-10-27 Gary Benson <gbenson@redhat.com>
1702
1703 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1704 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1705
b1d4d8d1
TBA
17062020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1707
1708 * gdb.base/condbreak.exp: Update the completion tests to
1709 consider the '-force' flag.
1710
bd24c5d6
TV
17112020-10-27 Tom de Vries <tdevries@suse.de>
1712
1713 * gdb.base/list-ambiguous-readnow.exp: New file.
1714
733d554a
TBA
17152020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1716
1717 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1718 the condition.
1719 * gdb.linespec/cpcompletion.exp: Update to consider the
1720 '-force-condition' keyword.
1721 * gdb.linespec/explicit.exp: Ditto.
1722 * lib/completion-support.exp: Ditto.
1723
b5fa468f
TBA
17242020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1725
1726 * gdb.base/condbreak-multi-context.cc: New file.
1727 * gdb.base/condbreak-multi-context.exp: New file.
1728
b3247276
TT
17292020-10-26 Tom Tromey <tom@tromey.com>
1730
1731 * lib/mi-support.exp (default_mi_gdb_start): Call
1732 gdb_stdin_log_init.
1733 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1734 subtract one from gdb_instances.
1735 (gdb_stdin_log_write): Flush in_file.
1736
1c47ec3e
TV
17372020-10-26 Tom de Vries <tdevries@suse.de>
1738
1739 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1740
6390859c
TT
17412020-10-26 Tom Tromey <tromey@adacore.com>
1742
1743 * gdb.ada/unsigned_range/foo.adb: New file.
1744 * gdb.ada/unsigned_range/pack.adb: New file.
1745 * gdb.ada/unsigned_range/pack.ads: New file.
1746 * gdb.ada/unsigned_range.exp: New file.
1747
55c3ad88
TV
17482020-10-26 Tom de Vries <tdevries@suse.de>
1749
1750 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1751
1612c4bb
TV
17522020-10-26 Tom de Vries <tdevries@suse.de>
1753
1754 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1755 for CU.
1756 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1757
7d72802b
TV
17582020-10-23 Tom de Vries <tdevries@suse.de>
1759
1760 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1761 DW_FORM_string.
1762 (Dwarf::_default_form): New proc.
1763 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1764 guessed.
1765
9476b583
TV
17662020-10-23 Tom de Vries <tdevries@suse.de>
1767
1768 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1769 * gdb.dwarf2/atomic-type.exp: Same.
1770 * gdb.dwarf2/bad-regnum.exp: Same.
1771 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1772 * gdb.dwarf2/dw2-align.exp: Same.
1773 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1774 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1775 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1776 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1777 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1778 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1779 * gdb.dwarf2/enum-type.exp: Same.
1780 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1781 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1782 * gdb.dwarf2/main-subprogram.exp: Same.
1783 * gdb.dwarf2/missing-type-name.exp: Same.
1784 * gdb.dwarf2/nonvar-access.exp: Same.
1785 * gdb.dwarf2/typedef-void-finish.exp: Same.
1786 * gdb.dwarf2/var-access.exp: Same.
1787 * gdb.dwarf2/void-type.exp: Same.
1788
4a636814
SM
17892020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1790
1791 PR gdb/26693
1792 * gdb.dwarf2/template-specification-full-name.exp: New test.
1793
557fc257
LM
17942020-10-22 Luis Machado <luis.machado@linaro.org>
1795
1796 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1797 expected an offset from the function.
1798 * gdb.base/msym-bp.exp (test): Likewise.
1799
6b4c676c
AB
18002020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1801
1802 * gdb.fortran/array-slices.exp: Add a new test.
1803
98cec4f6
GB
18042020-10-21 Gary Benson <gbenson@redhat.com>
1805
1806 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1807 fullname test with Clang. Also expand comments generally.
1808
ae86f581
TV
18092020-10-20 Tom de Vries <tdevries@suse.de>
1810
1811 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1812
8c161360
TV
18132020-10-20 Tom de Vries <tdevries@suse.de>
1814
1815 * gdb.dwarf2/arr-stride.c: Remove.
1816 * gdb.dwarf2/arr-stride.exp: Use main.c.
1817 * gdb.dwarf2/arr-subrange.c: Remove.
1818 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1819 * gdb.dwarf2/bad-regnum.c: Remove.
1820 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1821 * gdb.dwarf2/corrupt.c: Remove.
1822 * gdb.dwarf2/corrupt.exp: Use main.c.
1823 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1824 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1825 * gdb.dwarf2/dw2-icycle.c: Remove.
1826 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1827 * gdb.dwarf2/formdata16.c: Remove.
1828 * gdb.dwarf2/formdata16.exp: Use main.c.
1829 * gdb.dwarf2/implptrconst.c: Remove.
1830 * gdb.dwarf2/implptrconst.exp: Use main.c.
1831 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1832 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1833 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1834 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1835
9c2412ec
TV
18362020-10-20 Tom de Vries <tdevries@suse.de>
1837
1838 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1839 file.
1840 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1841
0cd2ad78
TV
18422020-10-20 Tom de Vries <tdevries@suse.de>
1843
1844 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1845 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1846 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1847 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1848 * gdb.dwarf2/dw2-ranges.exp: Same.
1849 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1850 * gdb.dwarf2/var-access.exp: Same.
1851
22cc388e
TT
18522020-10-19 Tom Tromey <tromey@adacore.com>
1853
1854 PR tui/26719
1855 * gdb.tui/list.exp: Check source window contents after focus
1856 change.
1857
520596f2
TV
18582020-10-17 Tom de Vries <tdevries@suse.de>
1859
1860 PR symtab/26317
1861 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1862
d1c8a76d
TV
18632020-10-17 Tom de Vries <tdevries@suse.de>
1864
1865 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1866 as suffix.
1867 * gdb.dwarf2/atomic.c: Rename to ...
1868 * gdb.dwarf2/atomic-type.c: ... this.
1869 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1870 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1871 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1872 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1873 * gdb.dwarf2/fission-mix2.c: Rename to ...
1874 * gdb.dwarf2/fission-mix-2.c: ... this.
1875 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1876 standard_testfile.
1877 * gdb.dwarf2/ada-valprint-error.exp: Same.
1878 * gdb.dwarf2/arr-stride.exp: Same.
1879 * gdb.dwarf2/arr-subrange.exp: Same.
1880 * gdb.dwarf2/atomic-type.exp: Same.
1881 * gdb.dwarf2/bad-regnum.exp: Same.
1882 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1883 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1884 * gdb.dwarf2/clang-debug-names.exp: Same.
1885 * gdb.dwarf2/comp-unit-lang.exp: Same.
1886 * gdb.dwarf2/corrupt.exp: Same.
1887 * gdb.dwarf2/count.exp: Same.
1888 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1889 * gdb.dwarf2/data-loc.exp: Same.
1890 * gdb.dwarf2/dw2-align.exp: Same.
1891 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1892 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1893 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1894 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1895 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1896 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1897 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1898 * gdb.dwarf2/dw2-inline-param.exp: Same.
1899 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1900 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1901 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1902 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1903 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1904 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1905 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1906 * gdb.dwarf2/dw2-param-error.exp: Same.
1907 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1908 * gdb.dwarf2/dw2-ranges.exp: Same.
1909 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1910 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1911 * gdb.dwarf2/dw4-sig-types.exp: Same.
1912 * gdb.dwarf2/dynarr-ptr.exp: Same.
1913 * gdb.dwarf2/enum-type.exp: Same.
1914 * gdb.dwarf2/fission-mix.exp: Same.
1915 * gdb.dwarf2/formdata16.exp: Same.
1916 * gdb.dwarf2/implptrconst.exp: Same.
1917 * gdb.dwarf2/implptrpiece.exp: Same.
1918 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1919 * gdb.dwarf2/main-subprogram.exp: Same.
1920 * gdb.dwarf2/method-ptr.exp: Same.
1921 * gdb.dwarf2/missing-sig-type.exp: Same.
1922 * gdb.dwarf2/nonvar-access.exp: Same.
1923 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1924 * gdb.dwarf2/shortpiece.exp: Same.
1925 * gdb.dwarf2/staticvirtual.exp: Same.
1926 * gdb.dwarf2/subrange.exp: Same.
1927 * gdb.dwarf2/symtab-producer.exp: Same.
1928 * gdb.dwarf2/typedef-void-finish.exp: Same.
1929 * gdb.dwarf2/var-access.exp: Same.
1930 * gdb.dwarf2/variant.exp: Same.
1931 * gdb.dwarf2/void-type.exp: Same.
1932 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1933 dw2-ranges-main.c.
1934 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1935
472d09c1
TV
19362020-10-16 Tom de Vries <tdevries@suse.de>
1937
1938 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1939
afe75f6d
TV
19402020-10-16 Tom de Vries <tdevries@suse.de>
1941
1942 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1943
8c8bd0ba
TV
19442020-10-14 Tom de Vries <tdevries@suse.de>
1945
1946 PR testsuite/26732
1947 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1948 scenario 2.
1949 * gdb.ada/mi_catch_ex_hand.exp: Same.
1950
b75d55d4
PA
19512020-10-13 Pedro Alves <pedro@palves.net>
1952
1953 * lib/mi-support.exp (mi_clean_restart): New.
1954 (mi_run_to_main): Delete.
1955 All callers adjust to use mi_clean_restart / mi_runto_main.
1956
e777225b
PA
19572020-10-13 Pedro Alves <pedro@palves.net>
1958
1959 * config/monitor.exp: Use "list -q".
1960 * gdb.arch/gdb1558.exp: Use "break -q".
1961 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1962 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1963 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1964 * gdb.base/commands.exp: Use "break -q".
1965 * gdb.base/condbreak.exp: Use "break -q".
1966 * gdb.base/ctf-ptype.exp: Use "list -q".
1967 * gdb.base/define.exp: Use "break -q".
1968 * gdb.base/del.exp: Use "break -q".
1969 * gdb.base/fullname.exp: Use "break -q".
1970 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1971 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1972 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1973 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1974 "hbreak -q".
1975 * gdb.base/included.exp: Use "list -q".
1976 * gdb.base/label.exp: Use "break -q".
1977 * gdb.base/lineinc.exp: Use "break -q".
1978 * gdb.base/list.exp: Use "list -q".
1979 * gdb.base/macscp.exp: Use "list -q".
1980 * gdb.base/pending.exp: Use "break -q".
1981 * gdb.base/prologue-include.exp: Use "break -q".
1982 * gdb.base/ptype.exp: Use "list -q".
1983 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1984 * gdb.base/server-del-break.exp: Use "break -q".
1985 * gdb.base/style.exp: Use "break -q".
1986 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1987 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1988 * gdb.cp/exception.exp: Use "tbreak -q".
1989 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1990 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1991 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1992 * gdb.dwarf2/pr13961.exp: Use "break -q".
1993 * gdb.linespec/explicit.exp: Use "list -q".
1994 * gdb.linespec/linespec.exp: Use "break -q".
1995 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1996 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1997 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1998 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1999 * gdb.trace/change-loc.exp: Use "break -q".
2000 * gdb.trace/pending.exp: Use "break -q".
2001 * gdb.tui/basic.exp: Use "list -q".
2002 * gdb.tui/list-before.exp: Use "list -q".
2003 * gdb.tui/list.exp: Use "list -q".
2004 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2005
8abd8ee8
PA
20062020-10-13 Pedro Alves <pedro@palves.net>
2007
2008 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2009 saved breakpoints file.
2010 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2011 inspecting breakpoint list.
2012 * lib/gdb.exp (runto_main): Add "qualified" to options.
2013 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2014 and handle it.
2015 (mi_runto_main): Pass 1 as qualified argument.
2016
f71e6719
PA
20172020-10-13 Pedro Alves <pedro@palves.net>
2018
2019 * lib/mi-support.exp (mi_runto_main): New proc.
2020 (mi_run_to_main): Use it.
2021 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2022 * gdb.mi/mi-var-cmd.exp: Likewise.
2023 * gdb.mi/mi-var-invalidate.exp: Likewise.
2024 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2025 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2026 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2027 * gdb.mi/user-selected-context-sync.exp: Likewise.
2028 * gdb.opt/inline-cmds.exp: Likewise.
2029 * gdb.python/py-framefilter-mi.exp: Likewise.
2030 * gdb.python/py-mi.exp: Likewise.
2031
50441f0f
PA
20322020-10-13 Pedro Alves <pedro@palves.net>
2033
2034 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2035 "runto main".
2036 * gdb.ada/small_reg_param.exp: Likewise.
2037 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2038 * gdb.base/annota1.exp: Likewise.
2039 * gdb.base/anon.exp: Likewise.
2040 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2041 * gdb.base/dprintf-non-stop.exp: Likewise.
2042 * gdb.base/dprintf.exp: Likewise.
2043 * gdb.base/gdb11530.exp: Likewise.
2044 * gdb.base/gdb11531.exp: Likewise.
2045 * gdb.base/gnu_vector.exp: Likewise.
2046 * gdb.base/interrupt-noterm.exp: Likewise.
2047 * gdb.base/memattr.exp: Likewise.
2048 * gdb.base/step-over-syscall.exp: Likewise.
2049 * gdb.base/watch-cond-infcall.exp: Likewise.
2050 * gdb.base/watch-read.exp: Likewise.
2051 * gdb.base/watch-vfork.exp: Likewise.
2052 * gdb.base/watch_thread_num.exp: Likewise.
2053 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2054 * gdb.guile/scm-frame-inline.exp: Likewise.
2055 * gdb.linespec/explicit.exp: Likewise.
2056 * gdb.opt/inline-break.exp: Likewise.
2057 * gdb.python/py-frame-inline.exp: Likewise.
2058 * gdb.reverse/break-precsave.exp: Likewise.
2059 * gdb.reverse/break-reverse.exp: Likewise.
2060 * gdb.reverse/consecutive-precsave.exp: Likewise.
2061 * gdb.reverse/consecutive-reverse.exp: Likewise.
2062 * gdb.reverse/finish-precsave.exp: Likewise.
2063 * gdb.reverse/finish-reverse.exp: Likewise.
2064 * gdb.reverse/fstatat-reverse.exp: Likewise.
2065 * gdb.reverse/getresuid-reverse.exp: Likewise.
2066 * gdb.reverse/i386-precsave.exp: Likewise.
2067 * gdb.reverse/i386-reverse.exp: Likewise.
2068 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2069 * gdb.reverse/i387-env-reverse.exp: Likewise.
2070 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2071 * gdb.reverse/insn-reverse.exp: Likewise.
2072 * gdb.reverse/machinestate-precsave.exp: Likewise.
2073 * gdb.reverse/machinestate.exp: Likewise.
2074 * gdb.reverse/pipe-reverse.exp: Likewise.
2075 * gdb.reverse/readv-reverse.exp: Likewise.
2076 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2077 * gdb.reverse/rerun-prec.exp: Likewise.
2078 * gdb.reverse/s390-mvcle.exp: Likewise.
2079 * gdb.reverse/solib-precsave.exp: Likewise.
2080 * gdb.reverse/solib-reverse.exp: Likewise.
2081 * gdb.reverse/step-precsave.exp: Likewise.
2082 * gdb.reverse/step-reverse.exp: Likewise.
2083 * gdb.reverse/time-reverse.exp: Likewise.
2084 * gdb.reverse/until-precsave.exp: Likewise.
2085 * gdb.reverse/until-reverse.exp: Likewise.
2086 * gdb.reverse/waitpid-reverse.exp: Likewise.
2087 * gdb.reverse/watch-precsave.exp: Likewise.
2088 * gdb.reverse/watch-reverse.exp: Likewise.
2089 * gdb.threads/kill.exp: Likewise.
2090 * gdb.threads/tid-reuse.exp: Likewise.
2091
d3a07122
SM
20922020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2093
2094 PR gdb/26642
2095 * gdb.base/maint-target-async-off.c: New test.
2096 * gdb.base/maint-target-async-off.exp: New test.
2097
c65c6c42
AM
20982020-10-13 Alan Modra <amodra@gmail.com>
2099
2100 * gdb.arch/powerpc-altivec.s,
2101 * gdb.arch/powerpc-power7.s,
2102 * gdb.arch/powerpc-power8.s,
2103 * gdb.arch/powerpc-power9.s,
2104 * gdb.arch/powerpc-vsx.s,
2105 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2106 * gdb.arch/powerpc-altivec.exp,
2107 * gdb.arch/powerpc-power7.exp,
2108 * gdb.arch/powerpc-power8.exp,
2109 * gdb.arch/powerpc-power9.exp,
2110 * gdb.arch/powerpc-vsx.exp,
2111 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2112 disassembly of mfvsrd/mtvsrd.
2113
f4a0f710
AM
21142020-10-13 Alan Modra <amodra@gmail.com>
2115
2116 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2117 "target architecture" output.
2118 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2119 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2120 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2121 * gdb.arch/s390-disassembler-options.exp: Likewise.
2122
87a37e5e
PA
21232020-10-12 Pedro Alves <pedro@palves.net>
2124
2125 PR exp/26602
2126 PR c++/26550
2127 * gdb.cp/ambiguous.cc (marker1): Delete.
2128 (main): Initialize all the fields of the locals. Replace marker1
2129 call with a "set breakpoint here" marker.
2130 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2131 instead of running to marker1. Add tests printing all the
2132 variables and all the fields of the variables.
2133 (test_ambiguous): New proc, expecting the new GDB output when a
2134 field access is ambiguous. Change all "warning: X ambiguous"
2135 tests to use it.
2136
71e1b6b0
GB
21372020-10-12 Gary Benson <gbenson@redhat.com>
2138
2139 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2140 * gdb.base/msym-bp-2.c (foo): Likewise.
2141 * gdb.base/msym-lang.c (foo): Likewise.
2142 * gdb.base/msym-lang-main.c (foo): Likewise.
2143 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2144 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2145 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2146 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2147 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2148 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2149 * gdb.python/py-objfile.c (static_var): Likewise.
2150 * gdb.python/py-symbol.c (rr): Likewise.
2151 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2152 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2153
9370fd51
AB
21542020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2155
2156 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2157 output of backtrace.
2158
7c184d33
TT
21592020-10-09 Tom Tromey <tromey@adacore.com>
2160
2161 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2162 (Rec): Add field. Fix range.
2163 * gdb.ada/scalar_storage.exp: Update.
2164
3d87245c
HD
21652020-10-09 Hannes Domani <ssbssa@yahoo.de>
2166
2167 PR exp/26714
2168 * gdb.base/printcmds.exp: Add tests for void results.
2169
f5c4b229
JV
21702020-10-09 Jan Vrany <jan.vrany@labware.com>
2171
2172 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2173 is emmited for both 'set directories' and 'directory' commands.
2174
b2701685
TT
21752020-10-08 Tom Tromey <tom@tromey.com>
2176
2177 * gdb.base/style.exp: Check that "main"'s name is styled.
2178
e86efb33
TT
21792020-10-07 Tom Tromey <tromey@adacore.com>
2180
2181 * gdb.base/find.exp: Rename some tests.
2182
30897591
GB
21832020-10-06 Gary Benson <gbenson@redhat.com>
2184
2185 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2186 * gdb.base/list1.c (unused): Likewise.
2187
ced4a4c1
GB
21882020-10-06 Gary Benson <gbenson@redhat.com>
2189
2190 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2191 __attribute__ ((used)).
2192 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2193
ed3bdac4
AB
21942020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2195
2196 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2197 make use of regions throughout.
2198 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2199 not {...}.
2200 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2201
cd096ec8
HD
22022020-10-05 Hannes Domani <ssbssa@yahoo.de>
2203
2204 * gdb.base/call-sc.c: Fix return struct on stack test case.
2205 * gdb.base/call-sc.exp: Likewise.
2206
3ee6f75d
GB
22072020-10-02 Gary Benson <gbenson@redhat.com>
2208
2209 * README: Fix "paralell".
2210
f65825ec
GB
22112020-09-30 Gary Benson <gbenson@redhat.com>
2212
2213 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2214 Convert directive to lowercase.
2215 (.Labbrev1_begin): Add missing label.
2216 (abbrev code 0x1): Remove DW_AT_stmt_list.
2217 (.Ldie_b): Likewise.
2218
5f278258
TT
22192020-09-27 Tom Tromey <tom@tromey.com>
2220
2221 * gdb.tui/new-layout.exp: Use with_test_prefix.
2222
8f9929bb
GR
22232020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2224
2225 PR python/26586
2226 * gdb.python/python.exp: add test cases for the from_tty
2227 argument to gdb.execute.
2228
c20c017b
GB
22292020-09-25 Gary Benson <gbenson@redhat.com>
2230
2231 * gdb.base/infcall-nested-structs.exp.tcl: Add
2232 additional_flags=-Wno-tautological-compare for C++
2233 tests when compiling using Clang.
2234
68d654af
GB
22352020-09-25 Gary Benson <gbenson@redhat.com>
2236
2237 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2238 for .c files.
2239
b551a89f
TT
22402020-09-24 Tom Tromey <tromey@adacore.com>
2241
2242 PR tui/26638:
2243 * gdb.tui/list.exp: Check output of "focus next".
2244
20a5fcbd
TT
22452020-09-23 Tom Tromey <tom@tromey.com>
2246
2247 * gdb.dwarf2/intbits.exp: New file.
2248 * gdb.dwarf2/intbits.c: New file.
2249
b167e53f
PA
22502020-09-20 Pedro Alves <pedro@palves.net>
2251
2252 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2253 spawn_id before calling remote_close. Close secondary MI channel.
2254
dbc49e9f
PA
22552020-09-20 Pedro Alves <pedro@palves.net>
2256
2257 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2258 fails.
2259
c8d5abea
AB
22602020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2261
2262 * gdb.fortran/array-slices.exp: Update expected results.
2263 * gdb.fortran/class-allocatable-array.exp: Likewise.
2264 * gdb.fortran/multi-dim.exp: Likewise.
2265 * gdb.fortran/vla-type.exp: Likewise.
2266 * gdb.mi/mi-vla-fortran.exp: Likewise.
2267
14f9473c
VC
22682020-09-18 Victor Collod <vcollod@nvidia.com>
2269
2270 PR gdb/26635
2271 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2272 compatible with i386, and move it to...
2273 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2274 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2275 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2276
e8ef12b9
PA
22772020-09-18 Pedro Alves <pedro@palves.net>
2278
2279 PR gdb/26631
2280 * gdb.multi/multi-target-thread-find.exp: New file.
2281
e11daf7a
PA
22822020-09-18 Pedro Alves <pedro@palves.net>
2283
2284 * gdb.multi/multi-target-continue.exp: New file, factored out from
2285 multi-target.exp.
2286 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2287 multi-target.exp.
2288 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2289 multi-target.exp.
2290 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2291 multi-target.exp.
2292 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2293 multi-target.exp.
2294 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2295 multi-target.exp.
2296 * gdb.multi/multi-target.exp: Delete.
2297
d0edc2b8
AB
22982020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2299
2300 * gdb.fortran/array-slices.exp: Add missing message data.
2301
7474326c
PA
23022020-09-17 Pedro Alves <pedro@palves.net>
2303
2304 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2305
dd23068d
PA
23062020-09-17 Pedro Alves <pedro@palves.net>
2307
2308 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2309 full prototype.
2310
0640a543
PA
23112020-09-17 Pedro Alves <pedro@palves.net>
2312
2313 * gdb.python/py-as-string.c: Add cast.
2314
ef0cdbc1
PA
23152020-09-17 Pedro Alves <pedro@palves.net>
2316
2317 * gdb.base/sizeof.c (fill): Add cast.
2318
3a5eeb8b
PA
23192020-09-17 Pedro Alves <pedro@palves.net>
2320
2321 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2322
a8129512
PA
23232020-09-17 Pedro Alves <pedro@palves.net>
2324
2325 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2326 linkage name.
2327 * gdb.base/prologue.exp: Use print /d.
2328 * gdb.base/symbol-alias.exp: Handle C++ output.
2329 * gdb.base/symbol-alias2.c: Handle C++ output.
2330 [__cplusplus] (func): Explicitly specify linkage name.
2331
a83cdcb6
PA
23322020-09-17 Pedro Alves <pedro@palves.net>
2333
2334 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2335 (struct my_key_t): ... this. Adjust all references.
2336 (struct value_t): Rename to ...
2337 (struct my_value_t): ... this. Adjust all references.
2338 (create_map, add_map_element, create_map_map)
2339 (add_map_map_element): Add casts.
2340
d4bcee5c
PA
23412020-09-17 Pedro Alves <pedro@palves.net>
2342
2343 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2344 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2345
81f90489
PA
23462020-09-17 Pedro Alves <pedro@palves.net>
2347
2348 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2349
0a229804
PA
23502020-09-17 Pedro Alves <pedro@palves.net>
2351
2352 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2353 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2354 (charfoo, intfoo): Define full prototype.
2355 * gdb.base/ptype1.c (charfoo): Define full prototype.
2356 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2357 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2358
c3e5138d
PA
23592020-09-17 Pedro Alves <pedro@palves.net>
2360
2361 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2362 Don't define.
2363 (utf_32_string): Compile for both C and C++.
2364 * gdb.base/charset.exp: Use "print /d".
2365
151fdbad
PA
23662020-09-17 Pedro Alves <pedro@palves.net>
2367
2368 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2369 (nullptr): Rename to ...
2370 (null_ptr): ... this.
2371 * gdb.base/watchpoint.exp: Adjust to rename.
2372
18a25b64
PA
23732020-09-17 Pedro Alves <pedro@palves.net>
2374
2375 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2376 (three_not_flag): Add casts.
2377
11fac337
PA
23782020-09-17 Pedro Alves <pedro@palves.net>
2379
2380 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2381 char array.
2382 (main): Add references to Barrier, TestStrings, TestStringsH and
2383 TestStringsW.
2384 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2385 and expect a full prototype in C++.
2386
52626c58
PA
23872020-09-17 Pedro Alves <pedro@palves.net>
2388
2389 * gdb.base/nested-addr.c (main): Add cast.
2390 * gdb.base/nested-addr.exp: Use "print /d".
2391
52bb0902
PA
23922020-09-17 Pedro Alves <pedro@palves.net>
2393
2394 * gdb.base/break.exp (func): New. Use it throughout when
2395 expecting a function name.
2396
73e18ac9
PA
23972020-09-17 Pedro Alves <pedro@palves.net>
2398
2399 * gdb.base/display.exp: Issue "set print asm-demangle on".
2400
c8b18808
PA
24012020-09-17 Pedro Alves <pedro@palves.net>
2402
2403 * gdb.base/find.c: Include <string.h>.
2404 (init_bufs): Add cast.
2405 * gdb.base/find.exp: Issue "set print asm-demangle on".
2406
fe830662
TT
24072020-09-16 Tom Tromey <tromey@adacore.com>
2408
2409 PR gdb/26598:
2410 * gdb.base/skipcxx.exp: New file.
2411 * gdb.base/skipcxx.cc: New file.
2412
945ff6e2
TV
24132020-09-16 Tom de Vries <tdevries@suse.de>
2414
2415 PR testsuite/26617
2416 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2417 WITH_DEBUG_SECTIONS is defined.
2418 (xstr, str): New macro.
2419 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2420 to get start and size of _Dmain.
2421 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2422 using additional_flags.
2423
da1df1db
TBA
24242020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2425
2426 * gdb.base/bp-cmds-sourced-script.c: New file.
2427 * gdb.base/bp-cmds-sourced-script.exp: New test.
2428 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2429
337882d4
TV
24302020-09-16 Tom de Vries <tdevries@suse.de>
2431
2432 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2433 get the gdb prompt after issuing "monitor exit".
2434
7361f908
TV
24352020-09-16 Tom de Vries <tdevries@suse.de>
2436
2437 PR testsuite/26624
2438 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2439
4d91ddd3
TV
24402020-09-16 Tom de Vries <tdevries@suse.de>
2441
2442 PR testsuite/26618
2443 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2444
08cc37dd
TT
24452020-09-15 Tom Tromey <tromey@adacore.com>
2446
2447 PR rust/26197:
2448 * lib/rust-support.exp (rust_llvm_version): New proc.
2449 * gdb.rust/simple.exp: Check rust_llvm_version.
2450
ee6372f2
TV
24512020-09-14 Tom de Vries <tdevries@suse.de>
2452
2453 * gdb.rust/traits.exp: Fix PATH warning.
2454
dc3a371e
PA
24552020-09-13 Pedro Alves <pedro@palves.net>
2456
2457 * gdb.base/catch-follow-exec.c (main): Add explicit return
2458 statement.
2459 * gdb.base/catch-signal.c (main): Likewise.
2460 * gdb.base/condbreak-call-false.c (main): Likewise.
2461 * gdb.base/consecutive.c (main): Add explicit return
2462 statement and return type.
2463 * gdb.base/cursal.c (main): Add explicit return statement.
2464 * gdb.base/cvexpr.c (main): Likewise.
2465 * gdb.base/display.c (main): Add explicit return statement and
2466 return type.
2467 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2468 * gdb.base/endianity.c (main): Likewise.
2469 * gdb.base/execd-prog.c (main): Likewise.
2470 * gdb.base/gdb1090.c (main): Likewise.
2471 * gdb.base/info_qt.c (main): Likewise.
2472 * gdb.base/lineinc.c (main): Likewise.
2473 * gdb.base/load-command.c (main): Likewise.
2474 * gdb.base/macscp1.c (main): Likewise.
2475 * gdb.base/pr10179-a.c (main): Likewise.
2476 * gdb.base/quit-live.c (main): Likewise.
2477 * gdb.base/scope0.c (main): Likewise.
2478 * gdb.base/settings.c (main): Likewise.
2479 * gdb.base/stack-checking.c (main): Return int.
2480 * gdb.base/varargs.c (main): Add explicit return statement.
2481 * gdb.cp/ambiguous.cc (main): Likewise.
2482 * gdb.cp/anon-struct.cc (main): Likewise.
2483 * gdb.cp/anon-union.cc (main): Likewise.
2484 * gdb.cp/bool.cc (main): Likewise.
2485 * gdb.cp/bs15503.cc (main): Likewise.
2486 * gdb.cp/cplusfuncs.cc (main): Likewise.
2487 * gdb.cp/cttiadd.cc (main): Likewise.
2488 * gdb.cp/extern-c.cc (main): Likewise.
2489 * gdb.cp/filename.cc (main): Likewise.
2490 * gdb.cp/formatted-ref.cc (main): Likewise.
2491 * gdb.cp/mb-ctor.cc (main): Likewise.
2492 * gdb.cp/member-ptr.cc (main): Likewise.
2493 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2494 * gdb.cp/overload-const.cc (main): Likewise.
2495 * gdb.cp/paren-type.cc (main): Likewise.
2496 * gdb.cp/parse-lang.cc (main): Likewise.
2497 * gdb.cp/pr-1023.cc (main): Likewise.
2498 * gdb.cp/psmang1.cc (main): Likewise.
2499 * gdb.cp/readnow-language.cc (main): Likewise.
2500 * gdb.cp/ref-params.cc (main): Likewise.
2501 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2502 * gdb.cp/virtbase2.cc (main): Likewise.
2503 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2504 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2505 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2506 * gdb.mi/mi-console.c (main): Likewise.
2507 * gdb.mi/mi-read-memory.c (main): Likewise.
2508 * gdb.modula2/multidim.c (main): Likewise.
2509 * gdb.opt/inline-small-func.c (main): Likewise.
2510 * gdb.python/py-rbreak.c (main): Likewise.
2511 * gdb.stabs/exclfwd1.c (main): Likewise.
2512 * gdb.trace/qtro.c (main): Likewise.
2513
af26601c
PA
25142020-09-13 Pedro Alves <pedro@palves.net>
2515
2516 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2517 instead of getenv.
2518
2f4b83cd
PA
25192020-09-13 Pedro Alves <pedro@palves.net>
2520
2521 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2522 instead of spawning GDB with remote_spawn.
2523 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2524 gdb_spawn instead of spawning GDB with remote_spawn.
2525
c49da0e4
PA
25262020-09-13 Pedro Alves <pedro@palves.net>
2527
2528 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2529 file and add calls to first and second.
2530 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2531 add call to f.
2532
6791b117
PA
25332020-09-13 Pedro Alves <pedro@palves.net>
2534
2535 * gdb.mi/mi-break-qualified.cc: New file.
2536 * gdb.mi/mi-break-qualified.exp: New file.
2537 * lib/mi-support.exp (mi_create_breakpoint_multi)
2538 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2539 procedures.
2540 (mi_create_breakpoint_1): New, factored out from
2541 mi_create_breakpoint.
2542
3b8d4c5c
PA
25432020-09-13 Pedro Alves <pedro@palves.net>
2544
2545 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2546 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2547 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2548 (register_class): Delete.
2549 (main): Don't call register_class.
2550
d5f96005
PA
25512020-09-13 Pedro Alves <pedro@palves.net>
2552
2553 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2554 (do_tests): Remove "calling method for small class" test.
2555 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2556 (register_class): Delete.
2557 (main): Don't call register_class.
2558 * gdb.cp/call-method-register.exp: New file, based on bits removed
2559 from classes.exp.
2560 * gdb.cp/call-method-register.cc: New file, based on bits removed
2561 from classes.cc.
2562
77f2120b
PA
25632020-09-13 Pedro Alves <pedro@palves.net>
2564
2565 * gdb.base/msym-bp-2.c: New.
2566 * gdb.base/msym-bp-shl-lib.c: New file.
2567 * gdb.base/msym-bp-shl-main-2.c: New file.
2568 * gdb.base/msym-bp-shl-main.c: New file.
2569 * gdb.base/msym-bp-shl.exp: New file.
2570 * gdb.base/msym-bp.c: New file.
2571 * gdb.base/msym-bp.exp: New file.
2572
32aea73e
JB
25732020-09-13 Joel Brobecker <brobecker@adacore.com>
2574
2575 * gdb.base/default.exp: Change $_gdb_major to 11.
2576
2a67f09d
FW
25772020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2578 Felix Willgerodt <Felix.Willgerodt@intel.com>
2579
2580 * x86-avx512bf16.c: New file.
2581 * x86-avx512bf16.exp: Likewise.
2582 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2583
ad570dd7
TV
25842020-09-11 Tom de Vries <tdevries@suse.de>
2585
2586 PR exp/26602
2587 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2588
a56f7391
TBA
25892020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2590
2591 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2592
918619e5
AM
25932020-09-10 Alan Modra <amodra@gmail.com>
2594
2595 PR 26597
2596 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2597
cac1e71d
TV
25982020-09-08 Tom de Vries <tdevries@suse.de>
2599
2600 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2601 after gdb_starti_cmd.
2602
c5cd900e
AKS
26032020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2604
2605 * lib/fortran.exp (fortran_complex8): New proc.
2606 (fortran_complex16): New proc.
2607 * gdb.fortran/complex.exp: Use routines from fortran.exp
2608 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2609 * gdb.fortran/vla-ptr-info.exp: Likewise.
2610
8f5c6526
TV
26112020-09-03 Tom de Vries <tdevries@suse.de>
2612
2613 PR breakpoint/26546
2614 * gdb.base/label-without-address.exp: Runto main first.
2615
02c6f3f1
TT
26162020-09-02 Tom Tromey <tromey@adacore.com>
2617
2618 * gdb.ada/mi_var_access.exp: Test children of access variable.
2619 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2620 * gdb.ada/mi_var_array.exp: Update.
2621
efe24f05
KB
26222020-08-31 Kevin Buettner <kevinb@redhat.com>
2623
2624 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2625 on docker w/ AUFS storage driver.
2626
973695d6
KB
26272020-08-31 Kevin Buettner <kevinb@redhat.com>
2628
2629 * gdb.base/corefile2.exp (renamed binfile): New tests.
2630
f3bd50f1
SM
26312020-08-31 Simon Marchi <simon.marchi@efficios.com>
2632
2633 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2634
22b9b4b0
SL
26352020-08-31 Simon Marchi <simon.marchi@efficios.com>
2636
2637 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2638 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2639
8efaf6b3
SM
26402020-08-31 Simon Marchi <simon.marchi@efficios.com>
2641
2642 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2643 output, printing a "not saved" value from history and printing a
2644 convenience variable created from a "not saved" value.
2645
e840f2e3
TV
26462020-08-31 Tom de Vries <tdevries@suse.de>
2647
2648 * gdb.base/eh_return.exp: Use nopie.
2649
8f57f343
PA
26502020-08-28 Pedro Alves <pedro@palves.net>
2651
2652 * gdb.base/advance-until-multiple-locations.exp
2653 (advance_overload, until_overload): Adjust to match the
2654 frame/function header instead of the source line text.
2655
626d2320
TV
26562020-08-28 Tom de Vries <tdevries@suse.de>
2657
2658 * gdb.base/label-without-address.c: New test.
2659 * gdb.base/label-without-address.exp: New file.
2660
df631783
PA
26612020-08-27 Pedro Alves <pedro@palves.net>
2662
2663 PR gdb/26523
2664 PR gdb/26524
2665 * gdb.base/advance-until-multiple-locations.cc: New.
2666 * gdb.base/advance-until-multiple-locations.exp: New.
2667
48b076bb
SM
26682020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2669
2670 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2671
c2015ce4
AB
26722020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2673
2674 * gdb.arch/amd64-byte.exp: Make test names unique, use
2675 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2676 * gdb.arch/amd64-dword.exp: Likewise.
2677 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2678 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2679 unique.
2680 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2681 * gdb.arch/amd64-word.exp: Make test names unique, use
2682 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2683 * gdb.arch/i386-byte.exp: Make test names unique, use
2684 gdb_breakpoint.
2685 * gdb.arch/i386-word.exp: Likewise.
2686
995d3a19
SV
26872020-08-25 Shahab Vahedi <shahab@synopsys.com>
2688
2689 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2690
8cac2b31
SM
26912020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2692
2693 PR gdb/26532
2694 * gdb.threads/stepi-random-signal.exp: Update pattern.
2695
2bc19622
SM
26962020-08-25 Simon Marchi <simon.marchi@efficios.com>
2697
2698 PR gdb/26532
2699 * gdb.base/ui-redirect.exp: Update pattern.
2700
b04aa1fc
GB
27012020-08-25 Gary Benson <gbenson@redhat.com>
2702
2703 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2704 when compiling with clang.
8571e9c8 2705 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2706
9f68b453
GB
27072020-08-25 Gary Benson <gbenson@redhat.com>
2708
2709 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2710 Add additional_flags=-Wno-inaccessible-base when compiling
2711 with GCC >= 10.1 or clang. Add additional_flags=-w when
2712 compiling with GCC < 10.
2713
3945d2d7
GM
27142020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2715
2716 PR m2/26372
fc5d6901
SM
2717 * gdb.modula2/multidim.c: New file.
2718 * gdb.modula2/multidim.exp: New file.
3945d2d7 2719
60122dbe
SM
27202020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2721
2722 * lib/gdb.exp (runto): Always emit fail on internal error.
2723
1eb8556f
SM
27242020-08-24 Simon Marchi <simon.marchi@efficios.com>
2725
2726 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2727 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2728 Likewise.
2729 * gdb.threads/stepi-random-signal.exp: Likewise.
2730
33bf4c5c
TBA
27312020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2732
2733 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2734 * gdb.trace/strace.exp: Ditto.
2735
c2fd7fae
AKS
27362020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2737
2738 * gdb.fortran/vla-type.exp: Skip commands not required for
2739 the Flang compiled binaries after prologue fix.
2740
326afb72
TT
27412020-08-17 Tom de Vries <tdevries@suse.de>
2742 Tom Tromey <tromey@adacore.com>
2743
2744 PR rust/26197:
2745 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2746
3ae7ab99
TT
27472020-08-17 Tom Tromey <tromey@adacore.com>
2748
2749 * gdb.ada/mi_var_access.exp: New file.
2750 * gdb.ada/mi_var_access/mi_access.adb: New file.
2751 * gdb.ada/mi_var_access/pck.adb: New file.
2752 * gdb.ada/mi_var_access/pck.ads: New file.
2753
f569c1c5
TV
27542020-08-16 Tom de Vries <tdevries@suse.de>
2755
2756 PR gdb/25350
2757 * gdb.base/eh_return.c: New test.
2758 * gdb.base/eh_return.exp: New file.
2759
3d11c30a
TV
27602020-08-15 Tom de Vries <tdevries@suse.de>
2761
2762 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2763 (mixed_func_1d_): Use fortran_charlen_t in decl.
2764
547ce8f0
TV
27652020-08-15 Tom de Vries <tdevries@suse.de>
2766
2767 PR backtrace/26390
2768 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2769 Update expected pattern.
2770
a54a7f13
PA
27712020-08-13 Pedro Alves <pedro@palves.net>
2772
2773 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2774 * gdb.fortran/library-module.exp: Likewise.
2775 * gdb.fortran/logical.exp: Likewise.
2776 * gdb.fortran/module.exp: Likewise.
2777 * gdb.fortran/print_type.exp: Likewise.
2778 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2779 * gdb.fortran/vla-datatypes.exp: Likewise.
2780 * gdb.fortran/vla-history.exp: Likewise.
2781 * gdb.fortran/vla-ptr-info.exp: Likewise.
2782 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2783 * gdb.fortran/vla-ptype.exp: Likewise.
2784 * gdb.fortran/vla-sizeof.exp: Likewise.
2785 * gdb.fortran/vla-type.exp: Likewise.
2786 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2787 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2788 * gdb.fortran/vla-value-sub.exp: Likewise.
2789 * gdb.fortran/vla-value.exp: Likewise.
2790
7a82e903
PA
27912020-08-13 Pedro Alves <pedro@palves.net>
2792
2793 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2794 * gdb.ada/access_to_packed_array.exp: Likewise.
2795 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2796 * gdb.ada/addr_arith.exp: Likewise.
2797 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2798 * gdb.ada/arr_arr.exp: Likewise.
2799 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2800 * gdb.ada/array_bounds.exp: Likewise.
2801 * gdb.ada/array_of_variable_length.exp: Likewise.
2802 * gdb.ada/array_ptr_renaming.exp: Likewise.
2803 * gdb.ada/array_subscript_addr.exp: Likewise.
2804 * gdb.ada/arraydim.exp: Likewise.
2805 * gdb.ada/arrayparam.exp: Likewise.
2806 * gdb.ada/arrayptr.exp: Likewise.
2807 * gdb.ada/assign_1.exp: Likewise.
2808 * gdb.ada/assign_arr.exp: Likewise.
2809 * gdb.ada/atomic_enum.exp: Likewise.
2810 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2811 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2812 * gdb.ada/bias.exp: Likewise.
2813 * gdb.ada/boolean_expr.exp: Likewise.
2814 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2815 * gdb.ada/bp_enum_homonym.exp: Likewise.
2816 * gdb.ada/bp_inlined_func.exp: Likewise.
2817 * gdb.ada/bp_on_var.exp: Likewise.
2818 * gdb.ada/bp_range_type.exp: Likewise.
2819 * gdb.ada/bp_reset.exp: Likewise.
2820 * gdb.ada/call_pn.exp: Likewise.
2821 * gdb.ada/catch_assert_if.exp: Likewise.
2822 * gdb.ada/catch_ex.exp: Likewise.
2823 * gdb.ada/catch_ex_std.exp: Likewise.
2824 * gdb.ada/char_enum.exp: Likewise.
2825 * gdb.ada/char_param.exp: Likewise.
2826 * gdb.ada/complete.exp: Likewise.
2827 * gdb.ada/cond_lang.exp: Likewise.
2828 * gdb.ada/convvar_comp.exp: Likewise.
2829 * gdb.ada/dgopt.exp: Likewise.
2830 * gdb.ada/disc_arr_bound.exp: Likewise.
2831 * gdb.ada/display_nested.exp: Likewise.
2832 * gdb.ada/dot_all.exp: Likewise.
2833 * gdb.ada/dyn_loc.exp: Likewise.
2834 * gdb.ada/dyn_stride.exp: Likewise.
2835 * gdb.ada/excep_handle.exp: Likewise.
2836 * gdb.ada/expr_delims.exp: Likewise.
2837 * gdb.ada/expr_with_funcall.exp: Likewise.
2838 * gdb.ada/exprs.exp: Likewise.
2839 * gdb.ada/fin_fun_out.exp: Likewise.
2840 * gdb.ada/fixed_cmp.exp: Likewise.
2841 * gdb.ada/formatted_ref.exp: Likewise.
2842 * gdb.ada/frame_arg_lang.exp: Likewise.
2843 * gdb.ada/frame_args.exp: Likewise.
2844 * gdb.ada/fullname_bp.exp: Likewise.
2845 * gdb.ada/fun_addr.exp: Likewise.
2846 * gdb.ada/fun_in_declare.exp: Likewise.
2847 * gdb.ada/fun_overload_menu.exp: Likewise.
2848 * gdb.ada/fun_renaming.exp: Likewise.
2849 * gdb.ada/funcall_char.exp: Likewise.
2850 * gdb.ada/funcall_param.exp: Likewise.
2851 * gdb.ada/funcall_ptr.exp: Likewise.
2852 * gdb.ada/funcall_ref.exp: Likewise.
2853 * gdb.ada/homonym.exp: Likewise.
2854 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2855 * gdb.ada/info_auto_lang.exp: Likewise.
2856 * gdb.ada/info_exc.exp: Likewise.
2857 * gdb.ada/info_types.exp: Likewise.
2858 * gdb.ada/int_deref.exp: Likewise.
2859 * gdb.ada/interface.exp: Likewise.
2860 * gdb.ada/iwide.exp: Likewise.
2861 * gdb.ada/lang_switch.exp: Likewise.
2862 * gdb.ada/length_cond.exp: Likewise.
2863 * gdb.ada/maint_with_ada.exp: Likewise.
2864 * gdb.ada/mi_catch_assert.exp: Likewise.
2865 * gdb.ada/mi_catch_ex.exp: Likewise.
2866 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2867 * gdb.ada/mi_dyn_arr.exp: Likewise.
2868 * gdb.ada/mi_ex_cond.exp: Likewise.
2869 * gdb.ada/mi_exc_info.exp: Likewise.
2870 * gdb.ada/mi_interface.exp: Likewise.
2871 * gdb.ada/mi_prot.exp: Likewise.
2872 * gdb.ada/mi_ref_changeable.exp: Likewise.
2873 * gdb.ada/mi_string_access.exp: Likewise.
2874 * gdb.ada/mi_task_arg.exp: Likewise.
2875 * gdb.ada/mi_task_info.exp: Likewise.
2876 * gdb.ada/mi_var_array.exp: Likewise.
2877 * gdb.ada/mi_var_union.exp: Likewise.
2878 * gdb.ada/mi_variant.exp: Likewise.
2879 * gdb.ada/minsyms.exp: Likewise.
2880 * gdb.ada/mod_from_name.exp: Likewise.
2881 * gdb.ada/nested.exp: Likewise.
2882 * gdb.ada/null_array.exp: Likewise.
2883 * gdb.ada/optim_drec.exp: Likewise.
2884 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2885 * gdb.ada/packed_array_assign.exp: Likewise.
2886 * gdb.ada/packed_tagged.exp: Likewise.
2887 * gdb.ada/pp-rec-component.exp: Likewise.
2888 * gdb.ada/print_chars.exp: Likewise.
2889 * gdb.ada/print_pc.exp: Likewise.
2890 * gdb.ada/ptr_typedef.exp: Likewise.
2891 * gdb.ada/ptype_arith_binop.exp: Likewise.
2892 * gdb.ada/ptype_array.exp: Likewise.
2893 * gdb.ada/ptype_field.exp: Likewise.
2894 * gdb.ada/ptype_tagged_param.exp: Likewise.
2895 * gdb.ada/ptype_union.exp: Likewise.
2896 * gdb.ada/py_range.exp: Likewise.
2897 * gdb.ada/py_taft.exp: Likewise.
2898 * gdb.ada/rdv_wait.exp: Likewise.
2899 * gdb.ada/rec_comp.exp: Likewise.
2900 * gdb.ada/rec_return.exp: Likewise.
2901 * gdb.ada/ref_param.exp: Likewise.
2902 * gdb.ada/ref_tick_size.exp: Likewise.
2903 * gdb.ada/rename_subscript_param.exp: Likewise.
2904 * gdb.ada/repeat_dyn.exp: Likewise.
2905 * gdb.ada/same_component_name.exp: Likewise.
2906 * gdb.ada/same_enum.exp: Likewise.
2907 * gdb.ada/scalar_storage.exp: Likewise.
2908 * gdb.ada/set_wstr.exp: Likewise.
2909 * gdb.ada/small_reg_param.exp: Likewise.
2910 * gdb.ada/str_binop_equal.exp: Likewise.
2911 * gdb.ada/str_ref_cmp.exp: Likewise.
2912 * gdb.ada/str_uninit.exp: Likewise.
2913 * gdb.ada/sub_variant.exp: Likewise.
2914 * gdb.ada/sym_print_name.exp: Likewise.
2915 * gdb.ada/taft_type.exp: Likewise.
2916 * gdb.ada/tagged.exp: Likewise.
2917 * gdb.ada/tagged_access.exp: Likewise.
2918 * gdb.ada/task_bp.exp: Likewise.
2919 * gdb.ada/task_switch_in_core.exp: Likewise.
2920 * gdb.ada/tasks.exp: Likewise.
2921 * gdb.ada/tick_last_segv.exp: Likewise.
2922 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2923 * gdb.ada/type_coercion.exp: Likewise.
2924 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2925 * gdb.ada/unchecked_union.exp: Likewise.
2926 * gdb.ada/uninitialized_vars.exp: Likewise.
2927 * gdb.ada/var_arr_attrs.exp: Likewise.
2928 * gdb.ada/var_arr_typedef.exp: Likewise.
2929 * gdb.ada/var_rec_arr.exp: Likewise.
2930 * gdb.ada/variant-record.exp: Likewise.
2931 * gdb.ada/variant.exp: Likewise.
2932 * gdb.ada/variant_record_packed_array.exp: Likewise.
2933 * gdb.ada/varsize_limit.exp: Likewise.
2934 * gdb.ada/whatis_array_val.exp: Likewise.
2935 * gdb.ada/widewide.exp: Likewise.
2936 * gdb.ada/win_fu_syms.exp: Likewise.
2937
29382020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2939
2940 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2941
10c381b5
AB
29422020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2943
2944 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2945 unset the array variable.
2946
8f34b746
TV
29472020-08-03 Tom de Vries <tdevries@suse.de>
2948
2949 PR symtab/26333
2950 * lib/dwarf.exp (DW_LNE_user): New proc.
2951 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2952 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2953
0245e136
KB
29542020-07-31 Kevin Buettner <kevinb@redhat.com>
2955
2956 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2957 to 'uintptr_t'
2958 (inttypes.h): Include.
2959
9ef1ec5d
KB
29602020-07-31 Kevin Buettner <kevinb@redhat.com>
2961
2962 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2963 (C5_24k): Delete.
2964 (C5_8k, C5_64k, C5_256k): New macros.
2965 (buf_ro): Allocate 256 KiB of initialized data.
2966
4c55e970
TBA
29672020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2968
2969 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2970 that attempt to overwrite an existing condition with a condition
2971 that fails parsing and also with a condition that parses fine
2972 but contains junk at the end.
2973
1e620590
TBA
29742020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2975
2976 * gdb.base/condbreak-bad.c: New test.
2977 * gdb.base/condbreak-bad.exp: New file.
2978
e12dcc50
TV
29792020-07-30 Tom de Vries <tdevries@suse.de>
2980
2981 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2982 out of ...
2983 (GDBInfoModuleSymbols::check_entry): ... here.
2984 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2985 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2986 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2987
6cc64caa
TV
29882020-07-30 Tom de Vries <tdevries@suse.de>
2989
2990 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2991 "__class_some_module_Number_t" optional.
2992
90fd07fc
TV
29932020-07-29 Tom de Vries <tdevries@suse.de>
2994
2995 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2996 multiple locations.
2997
f5c79e97
TV
29982020-07-29 Tom de Vries <tdevries@suse.de>
2999
3000 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3001 rather than function name.
3002
f75a0693
AB
30032020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3004
3005 PR symtab/26270:
3006 * gdb.cp/disasm-func-name.cc: New file.
3007 * gdb.cp/disasm-func-name.exp: New file.
3008
4888741a
TT
30092020-07-28 Tom Tromey <tromey@adacore.com>
3010
3011 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3012 'varval' location.
3013
43d5901d
AB
30142020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3015
3016 * gdb.python/py-unwind.py: Update to make use of a register
3017 descriptor.
3018
14fa8fb3
AB
30192020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3020
3021 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3022
e79eb02f
AB
30232020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3024
3025 PR fortran/23051
3026 PR fortran/26139
3027 * gdb.fortran/class-allocatable-array.exp: New file.
3028 * gdb.fortran/class-allocatable-array.f90: New file.
3029 * gdb.fortran/pointer-to-pointer.exp: New file.
3030 * gdb.fortran/pointer-to-pointer.f90: New file.
3031
876518dd
TV
30322020-07-25 Tom de Vries <tdevries@suse.de>
3033
3034 PR symtab/26243
3035 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3036 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3037
6dcfb80a
TV
30382020-07-24 Tom de Vries <tdevries@suse.de>
3039
3040 PR testsuite/26293
3041 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3042
e7bc9db8
PA
30432020-07-23 Pedro Alves <pedro@palves.net>
3044
3045 * gdb.server/server-kill.exp (prepare): New, factored out from the
3046 top level.
3047 (kill_server): New.
3048 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3049 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3050
78344df7
AB
30512020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3052
3053 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3054
25dfed24
SL
30552020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3056
3057 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3058 Initialize to empty string at top level.
3059 (gdb_wrapper_init): Revert check for file existence on build.
3060 Build the wrapper in its default place, not a build-specific
3061 location. When host == build, make the pathname absolute.
3062 (gdb_compile): Delete leftover declaration of
3063 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3064 string instead of uninitialized.
3065
7da515fd
KB
30662020-07-22 Kevin Buettner <kevinb@redhat.com>
3067
3068 * gdb.base/corefile2.exp: New file.
3069 * gdb.base/coremaker2.exp: New file.
3070
9c5ec5c2
KB
30712020-07-22 Kevin Buettner <kevinb@redhat.com>
3072
3073 * gdb.base/coredump-filter.exp: Add second
3074 non-Private-Shared-Anon-File test.
3075 (test_disasm): Rename binfile for test which is expected
3076 to fail.
3077
f9e233c9
KB
30782020-07-22 Kevin Buettner <kevinb@redhat.com>
3079
3080 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3081 data in core file".
3082 * gdb.base/coremaker.c (buf2ro): New global.
3083 (mmapdata): Add a read-only mmap mapping.
3084
94c265d7
KB
30852020-07-22 Kevin Buettner <kevinb@redhat.com>
3086
3087 PR corefiles/25631
3088 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3089 New test.
3090 * gdb.base/coremaker.c (buf3): New global.
3091 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3092 flags.
3093
30942020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
3095
3096 * gdb.base/coremaker.c (filler_ro): New global constant.
3097
32fa152e
TT
30982020-07-22 Tom Tromey <tromey@adacore.com>
3099
3100 * gdb.ada/mi_prot.exp: New file.
3101 * gdb.ada/mi_prot/pkg.adb: New file.
3102 * gdb.ada/mi_prot/pkg.ads: New file.
3103 * gdb.ada/mi_prot/prot.adb: New file.
3104
c8474dc3
TBA
31052020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3106
3107 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3108 loads two JITers.
3109
baf8791e
AB
31102020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3111
3112 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3113
f7306dac
AB
31142020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3115
3116 * gdb.python/py-arch-reg-names.exp: Additional tests.
3117
6d3d6e4b
TV
31182020-07-21 Tom de Vries <tdevries@suse.de>
3119
3120 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3121 breakpoint locations".
3122 * gdb.reverse/solib-reverse.exp: Same.
3123
803d0592
TV
31242020-07-21 Tom de Vries <tdevries@suse.de>
3125
3126 * gdb.reverse/step-reverse.c (callee): Merge statements.
3127
e9bdc510
TV
31282020-07-21 Tom de Vries <tdevries@suse.de>
3129
3130 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3131 line numbers for some variables.
3132
f0f9e75a
TV
31332020-07-21 Tom de Vries <tdevries@suse.de>
3134
3135 * gdb.opt/inline-locals.c (init_array): New func.
3136 (func1): Use init_array.
3137 * gdb.opt/inline-locals.exp: Update pattern.
3138
bd460ecb
TV
31392020-07-21 Tom de Vries <tdevries@suse.de>
3140
3141 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3142 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3143
ae5369e7
LC
31442020-07-20 Ludovic Courtès <ludo@gnu.org>
3145
3146 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3147 * gdb.guile/types-module.exp: Remove "ERROR:" from
3148 regexps since Guile 3.0 no longer prints that.
3149
68cf161c
LC
31502020-07-20 Ludovic Courtès <ludo@gnu.org>
3151
3152 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3153 error regexp to match on Guile 2.2.
3154
c14b4913
GB
31552020-07-20 Gary Benson <gbenson@redhat.com>
3156
3157 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3158 with clang.
3159
b243ba58
TV
31602020-07-20 Tom de Vries <tdevries@suse.de>
3161
3162 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3163 (omp_set_lock_in_order): New function.
3164 (single_scope, multi_scope, nested_func, nested_parallel): Use
3165 omp_set_lock_in_order and omp_unset_lock.
3166 (main): Init and destroy lock and lock2.
3167
c06ad8b5
TV
31682020-07-20 Tom de Vries <tdevries@suse.de>
3169
3170 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3171
6e22f117
TV
31722020-07-20 Tom de Vries <tdevries@suse.de>
3173
3174 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3175
33176ea7
TV
31762020-07-17 Tom de Vries <tdevries@suse.de>
3177
3178 * gdb.base/valgrind-infcall-2.c: New test.
3179 * gdb.base/valgrind-infcall-2.exp: New file.
3180 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3181
90c3ec2d
TV
31822020-07-17 Tom de Vries <tdevries@suse.de>
3183
3184 * gdb.dlang/circular.c (found): Use found_label as label name.
3185 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3186 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3187 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3188 * gdb.dwarf2/ada-linkage-name.exp: Same.
3189 * gdb.dwarf2/arr-subrange.exp: Same.
3190 * gdb.dwarf2/atomic-type.exp: Same.
3191 * gdb.dwarf2/comp-unit-lang.exp: Same.
3192 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3193 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3194 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3195 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3196 * gdb.dwarf2/implptr-64bit.exp: Same.
3197 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3198 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3199 * gdb.dwarf2/imported-unit.exp: Same.
3200 * gdb.dwarf2/main-subprogram.exp: Same.
3201 * gdb.dwarf2/missing-type-name.exp: Same.
3202 * gdb.dwarf2/nonvar-access.exp: Same.
3203 * gdb.dwarf2/struct-with-sig.exp: Same.
3204 * gdb.dwarf2/typedef-void-finish.exp: Same.
3205 * gdb.dwarf2/void-type.exp: Same.
3206
10da644d
TV
32072020-07-17 Tom de Vries <tdevries@suse.de>
3208
3209 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3210 src parameter.
3211 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3212 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3213 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3214 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3215 * gdb.dwarf2/dwz.exp: Same.
3216 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3217 * gdb.dwarf2/implref-array.exp: Same.
3218 * gdb.dwarf2/implref-const.exp: Same.
3219 * gdb.dwarf2/implref-global.exp: Same.
3220 * gdb.dwarf2/implref-struct.exp: Same.
3221 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3222 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3223 * gdb.dwarf2/var-access.exp: Same.
3224 * gdb.dwarf2/varval.exp: Same.
3225 * gdb.trace/entry-values.exp: Same.
3226
315e6afc
TV
32272020-07-17 Tom de Vries <tdevries@suse.de>
3228
3229 * lib/dwarf.exp (Dwarf::extern): Remove.
3230 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3231 * gdb.dlang/circular.exp: Same.
3232 * gdb.dwarf2/comp-unit-lang.exp: Same.
3233 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3234 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3235 * gdb.dwarf2/dwz.exp: Same.
3236 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3237 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3238 * gdb.dwarf2/imported-unit.exp: Same.
3239 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3240
5597c940
SL
32412020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3242
3243 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3244 Use double quotes instead of single quotes.
3245
d0ce17d8
CT
32462020-07-16 Caroline Tice <cmtice@google.com>
3247
3248 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3249 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3250
853772cc
TV
32512020-07-16 Tom de Vries <tdevries@suse.de>
3252
3253 * lib/dwarf.exp (program): Initialize _line.
3254 (DW_LNE_end_sequence): Reinitialize _line.
3255 (DW_LNS_advance_line): Update _line.
3256 (line): New proc.
3257 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3258 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3259 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3260 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3261 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3262 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3263
fe07b572
AB
32642020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3265
3266 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3267 generic.
3268
52781cce
TV
32692020-07-15 Tom de Vries <tdevries@suse.de>
3270
3271 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3272 is_amd64_regs_target.
3273
3dcc261c
AB
32742020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3275
3276 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3277 * gdb.fortran/ptype-on-functions.f90: Likewise.
3278
054a0959
SM
32792020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3280
3281 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3282 values in documentation for addr_size to 4 and 8.
3283
ccb9eba6
AB
32842020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3285
3286 * gdb.arch/amd64-osabi.exp: Update.
3287 * gdb.arch/arm-disassembler-options.exp: Update.
3288 * gdb.arch/powerpc-disassembler-options.exp: Update.
3289 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3290 * gdb.arch/s390-disassembler-options.exp: Update.
3291 * gdb.base/all-architectures.exp.tcl: Update.
3292 * gdb.base/attach-pie-noexec.exp: Update.
3293 * gdb.base/catch-syscall.exp: Update.
3294 * gdb.xml/tdesc-arch.exp: Update.
3295
025a39a7
TV
32962020-07-14 Tom de Vries <tdevries@suse.de>
3297
3298 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3299 (local_gettid): ... this.
3300 (fn): Update.
3301
74e4b667
SL
33022020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3303
3304 * gdb.base/info_sources.exp: Skip directory match tests on
3305 remote hosts.
3306
f413dd74
GB
33072020-07-13 Gary Benson <gbenson@redhat.com>
3308
3309 * gdb.base/savedregs.exp (caller): Use parentheses to
3310 make expected expression evaluation ordering explicit.
3311
915771bb
GB
33122020-07-13 Gary Benson <gbenson@redhat.com>
3313
3314 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3315
2a122642
GB
33162020-07-13 Gary Benson <gbenson@redhat.com>
3317
3318 * gdb.base/bigcore.c (main): Use a volatile pointer when
3319 attempting to trigger a SIGSEGV.
3320 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3321 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3322 * gdb.base/savedregs.c (thrower): Likewise.
3323 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3324
3f00c730
GB
33252020-07-13 Gary Benson <gbenson@redhat.com>
3326
3327 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3328 defining and using VLA structure fields into...
3329 * gdb.base/vla-struct-fields.c: New file.
3330 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3331 tests into...
3332 * gdb.base/vla-struct-fields.exp: New file.
3333
963eeee4
TV
33342020-07-13 Tom de Vries <tdevries@suse.de>
3335
3336 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3337 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3338 * gdb.base/gold-gdb-index.exp: Same.
3339 * gdb.base/morestack.exp: Same.
3340
0ed35c9a
DX
33412020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3342
3343 PR rust/26121
3344 * gdb.rust/modules.rs: Prevent linker from discarding test
3345 symbol.
3346
4fdba23d
PA
33472020-07-10 Pedro Alves <pedro@palves.net>
3348
3349 PR gdb/26199
3350 * gdb.multi/multi-target.c (exit_thread): New.
3351 (thread_start): Break loop if EXIT_THREAD.
3352 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3353 (top level) Call test_no_resumed.
3354
15f3b077
TT
33552020-07-08 Tom Tromey <tromey@adacore.com>
3356
3357 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3358 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3359
9fc501fd
AB
33602020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3361
3362 PR python/22748
3363 * gdb.opt/inline-frame-tailcall.c: New file.
3364 * gdb.opt/inline-frame-tailcall.exp: New file.
3365 * gdb.python/py-unwind-inline.c: New file.
3366 * gdb.python/py-unwind-inline.exp: New file.
3367 * gdb.python/py-unwind-inline.py: New file.
3368
64cb3757
AB
33692020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3370
3371 * gdb.python/py-arch-reg-groups.exp: New file.
3372
0f767f94
AB
33732020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3374
3375 * gdb.python/py-arch-reg-names.exp: New file.
3376
87dbc774
AB
33772020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3378
3379 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3380 gdb.PendingFrame.architecture method.
3381
d8cc8af6
TV
33822020-07-06 Tom de Vries <tdevries@suse.de>
3383
3384 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3385
3c8ea5be
PA
33862020-07-03 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3389 explicitly write negative numbers.
3390 * gdb.base/structs2.exp: Adjust expected output.
3391
bf90c83a
PA
33922020-07-03 Pedro Alves <palves@redhat.com>
3393
3394 * gdb.base/charset.c (init_string): Change all char parameters to
3395 unsigned char parameters.
3396
2eb82157
PA
33972020-07-03 Pedro Alves <palves@redhat.com>
3398
3399 * gdb.base/call-sc.exp (start_scalars_test): Use
3400 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3401 * gdb.base/overlays.c: Remove references to PARAMS.
3402 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3403 * gdb.base/reread.exp: Don't set 'prototypes' global.
3404 * gdb.base/structs.exp (start_structs_test): Use
3405 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3406 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3407 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3408 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3409 call.
3410 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3411
9adda7af
PA
34122020-07-03 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.base/m32rovly.c: Delete.
3415 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3416
2a17c803
PW
34172020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3418
3419 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3420 of gdb_py_test_multiple.
3421 * gdb.python/py-cmd.exp: Likewise.
3422 * gdb.python/py-events.exp: Likewise.
3423 * gdb.python/py-function.exp: Likewise.
3424 * gdb.python/py-inferior.exp: Likewise.
3425 * gdb.python/py-infthread.exp: Likewise.
3426 * gdb.python/py-linetable.exp: Likewise.
3427 * gdb.python/py-parameter.exp: Likewise.
3428 * gdb.python/py-value.exp: Likewise.
3429
b011fe1a
TV
34302020-06-30 Tom de Vries <tdevries@suse.de>
3431
3432 PR testsuite/26175
3433 * lib/future.exp (gdb_default_target_compile): Detect and handle
3434 early_flags.
3435
df5b8876
SM
34362020-06-29 Simon Marchi <simon.marchi@efficios.com>
3437
3438 * boards/simavr.exp (gdb_load): Catch errors when closing
3439 previous connection. Close connection, wait for process and
3440 unset simavr_spawn_id on failure.
3441
a3ca48cd
TV
34422020-06-29 Tom de Vries <tdevries@suse.de>
3443
3444 * lib/gdb.exp (unknown): Make test-case unresolved.
3445
b0237c0e
TV
34462020-06-29 Tom de Vries <tdevries@suse.de>
3447
3448 PR gdb/25475
3449 * gdb.server/solib-list.exp: Verify that the symbol reload
3450 confirmation question is asked.
3451
c0b3b3bd
PW
34522020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3453
3454 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3455 have a input seq nr in each pass message.
fe4c3d43 3456 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3457 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3458 * gdb.python/python.exp: Make test names unique,
3459 use gdb_test_multiline instead of gdb_py_test_multiple,
3460 use $gdb_test_name.
3461 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3462
1776e3e5
NA
34632020-06-26 Nick Alcock <nick.alcock@oracle.com>
3464
3465 * configure.ac: Add --enable-libctf.
3466 * aclocal.m4: sinclude ../config/enable.m4.
3467 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3468 * lib/gdb.exp (skip_ctf_tests): Use it.
3469 * gdb.base/ctf-constvars.exp: Error message tweak.
3470 * gdb.base/ctf-ptype.exp: Likewise.
3471 * configure: Regenerate.
3472
f53b3eeb
GB
34732020-06-26 Gary Benson <gbenson@redhat.com>
3474
3475 * gdb.cp/try_catch.cc: Include string.h.
3476 (main): Replace comparison against string literal with
3477 strcmp, avoiding build failure with -Wstring-compare.
3478 Add "marker test-complete".
3479 * gdb.cp/try_catch.exp: Run the test to the above marker,
3480 then verify that the value of "test" is still true.
3481
6d74da72
AB
34822020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3483
3484 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3485
2e52d038
AB
34862020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3487
3488 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3489
3b9fce96
AB
34902020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3491
3492 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3493 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3494 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3495 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3496 * gdb.arch/riscv-tdesc-loading.exp: New file.
3497
ed69cbc8
AB
34982020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3499
3500 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3501
767a879e
AB
35022020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3503
3504 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3505 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3506 * gdb.arch/riscv-tdesc-regs.c: New file.
3507 * gdb.arch/riscv-tdesc-regs.exp: New file.
3508
221db974
PA
35092020-06-24 Pedro Alves <palves@redhat.com>
3510
3511 * gdb.arch/amd64-entry-value-paramref.exp: Use
3512 prepare_for_testing_full and don't pass "c++" for the .S file
3513 build spec.
3514 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3515 $options, since it's an assembly file. Remove -Wno-deprecated.
3516 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3517 compiling C++ programs.
3518
331733cd
PA
35192020-06-24 Pedro Alves <palves@redhat.com>
3520
3521 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3522 Clang, add "-Wno-unknown-warning-option" to the options.
3523
caa7fd04
AB
35242020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3525
3526 * gdb.xml/tdesc-reload.c: New file.
3527 * gdb.xml/tdesc-reload.exp: New file.
3528 * gdb.xml/maint-xml-dump-01.xml: New file.
3529 * gdb.xml/maint-xml-dump-02.xml: New file.
3530 * gdb.xml/maint-xml-dump.exp: New file.
3531
bb8d1260
SL
35322020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3533
3534 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3535 Adjust for omitted commands when TUI is disabled.
3536
7e4b9c4c
GB
35372020-06-23 Gary Benson <gbenson@redhat.com>
3538 Pedro Alves <palves@redhat.com>
3539
3540 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3541 * gdb.cp/nsimport.cc: Likewise.
3542 * gdb.cp/nsnested.cc: Likewise.
3543 * gdb.cp/nsnoimports.cc: Likewise.
3544 * gdb.cp/nsusing.cc: Likewise.
3545 * gdb.cp/smartp.cc: Likewise.
3546 * gdb.python/py-pp-integral.c: Likewise.
3547 * gdb.python/py-pp-re-notag.c: Likewise.
3548
2e573c0a
GB
35492020-06-23 Gary Benson <gbenson@redhat.com>
3550
3551 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3552 * gdb.cp/nsimport.cc: Likewise.
3553 * gdb.cp/nsnested.cc: Likewise.
3554 * gdb.cp/nsnoimports.cc: Likewise.
3555 * gdb.cp/nsusing.cc: Likewise.
3556 * gdb.cp/smartp.cc: Likewise.
3557 * gdb.python/py-pp-integral.c: Likewise.
3558 * gdb.python/py-pp-re-notag.c: Likewise.
3559
746ebfe8
PW
35602020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3561
3562 * gdb.base/default-args.exp: New test.
3563 * gdb.base/default-args.c: New file.
3564 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3565 * gdb.base/default.exp: Update to new help text.
3566 * gdb.base/help.exp: Likewise.
3567 * gdb.base/page.exp: Likewise.
3568 * gdb.base/style.exp: Likewise.
3569 * gdb.guile/guile.exp: Likewise.
3570 * gdb.python/python.exp: Likewise.
3571
e822f2cd
SL
35722020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3573
3574 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3575 remote host. Fix search path syntax on Windows host.
3576
48e9cc84
PW
35772020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3578
3579 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3580 over 'exec-file-mismatch'.
3581 * gdb.base/attach.c: Mark should_exit volatile.
3582 * gdb.base/attach2.c: Likewise. Add a comment explaining
3583 why the sleep cannot be big.
3584 * gdb.base/attach3.c: New file.
3585
160f8a8f
SL
35862020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3587
3588 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3589 prefix optional.
3590
4d91c2a4
SL
35912020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3592
3593 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3594 for remote host.
3595
87f83f20
SL
35962020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3597 Hafiz Abid Qadeer <abidh@codesourcery.com>
3598
3599 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3600 file sent to remote host.
3601 (top level): Allow int32_t as type of 32-bit register.
3602
37ab8655
TV
36032020-06-19 Tom de Vries <tdevries@suse.de>
3604
3605 * lib/gdb.exp (gdb_note): New proc.
3606 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3607 (gdb_default_target_compile): ... here. Only call
3608 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3609 (use_gdb_compile): Change to array.
3610 (toplevel): Update sets of use_gdb_compile to specify language.
3611 Warn about default_target_compile override. Store dejagnu's version
3612 of default_target_compile in dejagnu_default_target_compile.
3613
a8a56685
TV
36142020-06-18 Tom de Vries <tdevries@suse.de>
3615
3616 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3617 (default_gdb_init): ... here.
3618
581bea2c
SL
36192020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3620
3621 Fix TUI support checks in gdb.tui tests.
3622
3623 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3624 just say UNSUPPORTED.
3625 * gdb.tui/corefile-run.exp: Likewise.
3626 * gdb.tui/empty.exp: Likewise.
3627 * gdb.tui/list-before.exp: Likewise.
3628 * gdb.tui/list.exp: Likewise.
3629 * gdb.tui/main.exp: Likewise.
3630 * gdb.tui/regs.exp: Likewise.
3631 * gdb.tui/resize.exp: Likewise.
3632 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3633 * gdb.tui/tui-layout-asm.exp: Likewise.
3634 * gdb.tui/tui-missing-src.exp: Likewise.
3635 * gdb.tui/winheight.exp: Likewise.
3636 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3637
05e682e3
SL
36382020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3639
3640 Fix TCL error in gdb.python/py-format-string.exp.
3641
3642 * gdb.python/py-format-string.exp: Move test for python support
3643 earlier, out of function body.
3644
efb763a5
SM
36452020-06-15 Simon Marchi <simon.marchi@efficios.com>
3646
3647 * gdb.base/index-cache-load-twice.c: New.
3648 * gdb.base/index-cache-load-twice.exp: New.
3649
43327b20
KS
36502020-06-17 Keith Seitz <keiths@redhat.com>
3651
99cf27cf 3652 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3653 when executing "gdb --configuration".
3654
081e778c
TV
36552020-06-17 Tom de Vries <tdevries@suse.de>
3656
3657 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3658 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3659 conditional on presence of gdb_tcl_unknown.
3660 (gdb_finish): Make override undo conditional on presence of
3661 gdb_tcl_unknown.
3662
d2d1ea20
TT
36632020-06-16 Tom Tromey <tom@tromey.com>
3664
3665 * gdb.python/tui-window.py (failwin): New function. Register it
3666 as a TUI window type.
3667 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3668
c802e8a7
GB
36692020-06-16 Gary Benson <gbenson@redhat.com>
3670
3671 * gdb.python/py-nested-maps.c (create_map): Add missing return
3672 value.
3673 (create_map_map): Likewise.
3674
ff08abb8
TBA
36752020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3676
3677 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3678 variable.
3679 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3680 and use the already-defined 'options' variable.
3681
a29d5112
AB
36822020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3683 Tom de Vries <tdevries@suse.de>
3684
3685 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3686 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3687 (gdb_setup_known_globals): New proc.
3688 (gdb_cleanup_globals): New proc.
3689 * lib/gdb.exp (load_lib): New override proc.
3690 (gdb_stdin_log_init): Set var in_file as persistent global.
3691 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3692 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3693 fpc_compiler as persistent global.
3694
8c74a764
TV
36952020-06-12 Tom de Vries <tdevries@suse.de>
3696
3697 * lib/tuiterm.exp (spawn): Rename to ...
3698 (tui_spawn): ... this.
3699 (toplevel): Move rename of spawn ...
3700 (gdb_init_tuiterm): ... here. New proc.
3701 (gdb_finish_tuiterm): New proc.
3702 * lib/gdb.exp (gdb_finish_hooks): New global var.
3703 (gdb_finish): Handle gdb_finish_hooks.
3704 (tuiterm_env): New proc.
3705 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3706 tuiterm_env.
3707 * gdb.tui/basic.exp: Same.
3708 * gdb.tui/corefile-run.exp: Same.
3709 * gdb.tui/empty.exp: Same.
3710 * gdb.tui/list-before.exp: Same.
3711 * gdb.tui/list.exp: Same.
3712 * gdb.tui/main.exp: Same.
3713 * gdb.tui/new-layout.exp: Same.
3714 * gdb.tui/regs.exp: Same.
3715 * gdb.tui/resize.exp: Same.
3716 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3717 * gdb.tui/tui-layout-asm.exp: Same.
3718 * gdb.tui/tui-missing-src.exp: Same.
3719 * gdb.tui/winheight.exp: Same.
3720
26783bce
TV
37212020-06-12 Tom de Vries <tdevries@suse.de>
3722
3723 PR testsuite/26110
3724 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3725 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3726
2b4e6a3f
TT
37272020-06-11 Tom Tromey <tom@tromey.com>
3728
3729 PR gdb/18318:
3730 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3731 floating point tests.
3732
2f33032a
KS
37332020-06-11 Keith Seitz <keiths@redhat.com>
3734
3735 PR gdb/21356
3736 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3737 vla_struct.
3738 Add new struct vla_typedef and union vla_typedef_union and
3739 corresponding instantiation objects.
3740 Initialize new objects.
3741 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3742 and vla_typedef_union_object.
3743 Fixup type for vla_struct_object.
3744
a8baf0a3
TV
37452020-06-11 Tom de Vries <tdevries@suse.de>
3746
3747 * lib/gdb.exp (with_override): New proc, factored out of ...
3748 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3749
7ab96794
TV
37502020-06-10 Tom de Vries <tdevries@suse.de>
3751
3752 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3753
cab5c3b7
SM
37542020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3755
3756 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3757 parameter, update callers.
3758
f8c41851
SM
37592020-06-04 Simon Marchi <simon.marchi@efficios.com>
3760
3761 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3762 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3763 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3764
1c07a73f
TV
37652020-06-04 Tom de Vries <tdevries@suse.de>
3766
3767 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3768
95146b5d
TV
37692020-06-04 Tom de Vries <tdevries@suse.de>
3770
3771 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3772 exp_continue.
3773
0cfcd4f0
TV
37742020-06-04 Tom de Vries <tdevries@suse.de>
3775
3776 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3777
f9b5d5ea
TV
37782020-06-03 Tom de Vries <tdevries@suse.de>
3779
3780 PR symtab/26046
3781 * gdb.cp/breakpoint-locs-2.cc: New test.
3782 * gdb.cp/breakpoint-locs.cc: New test.
3783 * gdb.cp/breakpoint-locs.exp: New file.
3784 * gdb.cp/breakpoint-locs.h: New test.
3785
5144dfba
TV
37862020-06-03 Tom de Vries <tdevries@suse.de>
3787
3788 PR testsuite/25609
3789 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3790 value of global verbose.
3791 * gdb.base/jit-elf.exp: Same.
3792 * gdb.base/jit-reader.exp: Same.
3793
621eacdf
TV
37942020-06-02 Tom de Vries <tdevries@suse.de>
3795
3796 * gdb.dwarf2/multidictionary.exp: Don't use
3797 gdb_spawn_with_cmdline_opts.
3798
1313c56e
AB
37992020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3800
3801 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3802 use_header case.
3803 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3804 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3805 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3806 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3807 * gdb.dwarf2/dw2-inline-header.c: New file.
3808 * gdb.dwarf2/dw2-inline-header.h: New file.
3809
f68f85b5
PA
38102020-05-30 Pedro Alves <palves@redhat.com>
3811
3812 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3813 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3814
678048e8
GB
38152020-05-29 Gary Benson <gbenson@redhat.com>
3816
3817 * gdb.compile/compile-cplus.exp (additional_flags): Also
3818 set when building with clang.
3819 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3820 when building with clang.
3821
9fcafd23
GB
38222020-05-29 Gary Benson <gbenson@redhat.com>
3823
3824 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3825 building with clang.
3826 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3827
735d5a07
GB
38282020-05-29 Gary Benson <gbenson@redhat.com>
3829
3830 * gdb.cp/koenig.exp (prepare_for_testing): Add
3831 additional_flags=-Wno-unused-comparison.
3832 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3833
4ad2c6a0
GB
38342020-05-28 Gary Benson <gbenson@redhat.com>
3835
3836 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3837 statement.
3838
09fe663e
GB
38392020-05-28 Gary Benson <gbenson@redhat.com>
3840
3841 * gdb.cp/classes.exp (prepare_for_testing): Add
3842 additional_flags=-Wno-deprecated-register.
3843 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3844 * gdb.cp/misc.exp: Likewise.
3845
cee00f17
GB
38462020-05-28 Gary Benson <gbenson@redhat.com>
3847
3848 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3849 (test_op_new::operator new): Add return statement.
3850 (test_op_new_array::operator new[]): Likewise.
3851
636edd00
PA
38522020-05-27 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3855 check. Use test_gdb_complete_unique instead of
3856 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3857 test_gdb_complete_multiple instead of
3858 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3859
c2b75043
LM
38602020-05-27 Luis Machado <luis.machado@linaro.org>
3861
3862 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3863 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3864 * gdb.arch/arm-disassembler-options.exp: Likewise.
3865 * gdb.arch/arm-disp-step.exp: Likewise.
3866 * gdb.arch/thumb-prologue.exp: Likewise.
3867 * gdb.base/async.exp: Likewise.
3868 * gdb.base/auxv.exp: Likewise.
3869 * gdb.base/complex-parts.exp: Likewise.
3870 * gdb.base/ena-dis-br.exp: Likewise.
3871 * gdb.base/foll-exec.exp: Likewise.
3872 * gdb.base/permissions.exp: Likewise.
3873 * gdb.base/relocate.exp: Likewise.
3874 * gdb.base/return2.exp: Likewise.
3875 * gdb.base/sigbpt.exp: Likewise.
3876 * gdb.base/siginfo-obj.exp: Likewise.
3877 * gdb.cp/converts.exp: Likewise.
3878 * gdb.cp/exceptprint.exp: Likewise.
3879 * gdb.cp/inherit.exp: Likewise.
3880 * gdb.cp/nsnoimports.exp: Likewise.
3881 * gdb.cp/virtbase2.exp: Likewise.
3882 * gdb.mi/mi-var-cmd.exp: Likewise.
3883 * gdb.mi/var-cmd.c: Likewise.
3884
53a47a3e
TT
38852020-05-26 Tom Tromey <tromey@adacore.com>
3886
3887 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3888
0bc2354b
TT
38892020-05-26 Tom Tromey <tromey@adacore.com>
3890
3891 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3892 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3893 type.
3894 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3895 variable.
3896
0db49895
CBG
38972020-05-26 Christian Biesinger <cbiesinger@google.com>
3898
3899 * Makefile.in: Use = instead of == for the test command
3900 for portability.
3901
40d22035
TV
39022020-05-26 Tom de Vries <tdevries@suse.de>
3903
3904 * gdb.base/gold-gdb-index-2.c: New test.
3905 * gdb.base/gold-gdb-index.c: New test.
3906 * gdb.base/gold-gdb-index.exp: New file.
3907 * gdb.base/gold-gdb-index.h: New test.
3908
043e2e02
TV
39092020-05-25 Tom de Vries <tdevries@suse.de>
3910
3911 * boards/gold-gdb-index.exp: New file.
3912
462f72c5
SM
39132020-05-25 Simon Marchi <simon.marchi@efficios.com>
3914
3915 * boards/simavr.exp: New file.
3916
6cf66e76
SM
39172020-05-25 Simon Marchi <simon.marchi@efficios.com>
3918
3919 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3920 * gdb.base/inferior-args.exp: New file.
3921 * gdb.base/inferior-args.c: New file.
3922
75d04512
SM
39232020-05-25 Simon Marchi <simon.marchi@efficios.com>
3924
3925 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3926 inferior_args. Pass it to gdb_reload.
3927 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3928 inferior_args.
3929 (gdb_reload): Add inferior_args argument.
3930 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3931 pass it to gdbserver_run.
3932 * boards/native-gdbserver.exp: Do not set noargs.
3933 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3934 inferior_args argument.
3935 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3936 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3937 * gdb.base/args.exp: Likewise.
3938
42cf1844
TV
39392020-05-25 Tom de Vries <tdevries@suse.de>
3940
3941 * lib/gdb.exp (exec_is_pie): Add comment.
3942
8f7d38ef
TV
39432020-05-25 Tom de Vries <tdevries@suse.de>
3944
3945 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3946 instead of $binfile in the untested message.
3947
465e1b0f
TV
39482020-05-25 Tom de Vries <tdevries@suse.de>
3949
3950 PR testsuite/26031
3951 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3952
3c5a0e02
TV
39532020-05-25 Tom de Vries <tdevries@suse.de>
3954
3955 * boards/gold.exp: New file.
3956
0a4f5f8c
TT
39572020-05-23 Tom Tromey <tom@tromey.com>
3958
3959 * gdb.base/style.exp: Remove completion styling test.
3960 * lib/gdb-utils.exp (style): Remove completion styles.
3961
eca1f90c
TT
39622020-05-23 Tom Tromey <tom@tromey.com>
3963
3964 * gdb.base/style.exp: Add completion styling test.
3965 * lib/gdb-utils.exp (style): Add completion styles.
3966
7c13f4e8
AB
39672020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3968
3969 * gdb.base/annota1.exp: Update expected results.
3970 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3971 test name.
3972 * gdb.cp/annota3.exp: Update expected results.
3973
41977d16
SM
39742020-05-20 Simon Marchi <simon.marchi@efficios.com>
3975
3976 PR gdb/26016
3977 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3978 against MAP_FAILED.
3979 * gdb.base/coremaker.c (mmapdata): Likewise.
3980 * gdb.base/jit-reader-host.c (main): Likewise.
3981 * gdb.base/sym-file-loader.c (load): Likewise.
3982 (load_shlib): Likewise.
3983
b4757f2e
TT
39842020-05-20 Tom Tromey <tromey@adacore.com>
3985
3986 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3987
9a0bacfb
TV
39882020-05-20 Tom de Vries <tdevries@suse.de>
3989
3990 PR symtab/25833
3991 * gdb.base/with-mf-inc.c: New test.
3992 * gdb.base/with-mf-main.c: New test.
3993 * gdb.base/with-mf.exp: New file.
3994
76571211
TT
39952020-05-19 Tom Tromey <tromey@adacore.com>
3996
3997 * gdb.rust/simple.exp: Restore missing test result.
3998
4cd9f3d5
TV
39992020-05-19 Tom de Vries <tdevries@suse.de>
4000
4001 * gdb.base/gdb-caching-proc.exp: Fix typo.
4002
7d874253
TT
40032020-05-19 Tom Tromey <tromey@adacore.com>
4004
4005 * gdb.rust/simple.exp: Add some test descriptions.
4006 (test_one_slice): Use with_test_prefix.
4007
1d727695
TV
40082020-05-18 Tom de Vries <tdevries@suse.de>
4009
4010 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4011
7f32a4d5
PA
40122020-05-17 Pedro Alves <palves@redhat.com>
4013
4014 PR gdb/25741
4015 * gdb.base/hw-sw-break-same-address.exp: New file.
4016
7cfd74cf
PA
40172020-05-16 Pedro Alves <palves@redhat.com>
4018
4019 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4020 LAST_LOADED_FILE accordingly.
4021
57b4f16e
PW
40222020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4023
4024 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4025
7c05caf7
PW
40262020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4027
4028 * gdb.base/help.exp: Test apropos and help for commands
4029 having aliases. Fixed comments not starting with an
4030 upper-case letter or not finishing with a dot.
4031
7aa1b46f
PW
40322020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4033
3b3aaacb
PW
4034 * gdb.base/alias.exp: Update help output check.
4035
57b4f16e 40362020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 4037
7aa1b46f
PW
4038 * gdb.base/default.exp: Update output following fixes.
4039
0605465f
PW
40402020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4041
4042 * gdb.base/alias.exp: Test aliases starting with a prefix of
4043 another alias.
4044
86e4e63d
GB
40452020-05-15 Gary Benson <gbenson@redhat.com>
4046
4047 * gdb.base/info-os.c (main): Add return statement.
4048 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4049 * gdb.base/large-frame-2.c (func): Likewise.
4050 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4051 * gdb.base/pr10179-b.c (foo2): Likewise.
4052 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4053 * gdb.base/watch-cond.c (func): Likewise.
4054 * gdb.multi/goodbye.c (verylongfun): Likewise.
4055 * gdb.multi/hello.c (commonfun): Likewise.
4056 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4057 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4058 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4059 Likewise.
4060 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4061 * gdb.threads/interrupt-while-step-over.c (child_function):
4062 Likewise.
4063 * gdb.trace/actions-changed.c (end): Likewise.
4064
163df4df
GB
40652020-05-15 Gary Benson <gbenson@redhat.com>
4066
4067 * gdb.opencl/callfuncs.exp: Report when test skipped.
4068 * gdb.opencl/convs_casts.exp: Likewise.
4069 * gdb.opencl/datatypes.exp: Likewise.
4070 * gdb.opencl/operators.exp: Likewise.
4071 * gdb.opencl/vec_comps.exp: Likewise.
4072
6dbc505a
TV
40732020-05-15 Tom de Vries <tdevries@suse.de>
4074
4075 * gdb.base/align.exp.in: Rename to ...
4076 * gdb.base/align.exp.tcl: ... this.
4077 * gdb.base/align-c++.exp: Update.
4078 * gdb.base/align-c.exp: Update.
4079 * gdb.base/all-architectures.exp.in: Rename to ...
4080 * gdb.base/all-architectures.exp: ... this.
4081 * gdb.base/all-architectures-0.exp: Update.
4082 * gdb.base/all-architectures-1.exp: Update.
4083 * gdb.base/all-architectures-2.exp: Update.
4084 * gdb.base/all-architectures-3.exp: Update.
4085 * gdb.base/all-architectures-4.exp: Update.
4086 * gdb.base/all-architectures-5.exp: Update.
4087 * gdb.base/all-architectures-6.exp: Update.
4088 * gdb.base/all-architectures-7.exp: Update.
4089 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4090 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4091 * gdb.base/infcall-nested-structs-c++.exp: Update.
4092 * gdb.base/infcall-nested-structs-c.exp: Update.
4093 * gdb.base/info-types.exp.in: Rename to ...
4094 * gdb.base/info-types.exp.tcl: ... this.
4095 * gdb.base/info-types-c++.exp: Update.
4096 * gdb.base/info-types-c.exp: Update.
4097 * gdb.base/max-depth.exp.in: Rename to ...
4098 * gdb.base/max-depth.exp.tcl: ... this.
4099 * gdb.base/max-depth-c++.exp: Update.
4100 * gdb.base/max-depth-c.exp: Update.
4101 * gdb.cp/cpexprs.exp.in: Rename to ...
4102 * gdb.cp/cpexprs.exp.tcl: ... this.
4103 * gdb.cp/cpexprs-debug-types.exp: Update.
4104 * gdb.cp/cpexprs.exp: Update.
4105 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4106 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4107 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4108 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4109 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4110 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4111 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4112 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4113 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4114 * gdb.dwarf2/clang-debug-names.exp: Update.
4115
d1034d78
AB
41162020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4117
4118 * lib/check-test-names.exp: Remove code that prevents this file
4119 loading when tests are run in parallel.
4120
3c5c3649
PA
41212020-05-15 Pedro Alves <palves@redhat.com>
4122
4123 * gdb.multi/multi-kill.exp (start_inferior): Remove
4124 'testpid' parameter. Refer to namespace variable directly.
4125 (testpid): Declare as namespace variable.
4126
272c36b8
PA
41272020-05-15 Pedro Alves <palves@redhat.com>
4128
4129 * gdb.multi/multi-kill.exp: Wrap in namespace.
4130 (start_inferior): Add TESTPID parameter. Use it instead of the
4131 testpid global.
4132 (top level): Define empty TESTPID array, and pass it down to
4133 start_inferior.
4134
02eba61a
TV
41352020-05-14 Tom de Vries <tdevries@suse.de>
4136
4137 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4138 output.
4139
971a3747
TV
41402020-05-14 Tom de Vries <tdevries@suse.de>
4141
4142 * gdb.base/align.exp: Split into ...
4143 * gdb.base/align.exp.in: ...
4144 * gdb.base/align-c++.exp: ...
4145 * gdb.base/align-c.exp: ... these.
4146 * gdb.base/infcall-nested-structs.exp: Split into ...
4147 * gdb.base/infcall-nested-structs.exp.in: ...
4148 * gdb.base/infcall-nested-structs-c++.exp: ...
4149 * gdb.base/infcall-nested-structs-c.exp: ... these.
4150 * gdb.base/info-types.exp: Split into ...
4151 * gdb.base/info-types.exp.in: ...
4152 * gdb.base/info-types-c++.exp: ...
4153 * gdb.base/info-types-c.exp: ... these.
4154 * gdb.base/max-depth.exp: Split into ...
4155 * gdb.base/max-depth.exp.in: ...
4156 * gdb.base/max-depth-c++.exp: ...
4157 * gdb.base/max-depth-c.exp: ... these.
4158 * gdb.cp/infcall-nodebug.exp: Split into ...
4159 * gdb.cp/infcall-nodebug.exp.in: ...
4160 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4161 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4162 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4163 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4164
a05575d3
TBA
41652020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4166 Pedro Alves <palves@redhat.com>
4167
4168 * gdb.multi/multi-exit.c: New file.
4169 * gdb.multi/multi-exit.exp: New file.
4170 * gdb.multi/multi-kill.c: New file.
4171 * gdb.multi/multi-kill.exp: New file.
4172
6ad82919
TBA
41732020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4174
4175 * gdb.base/annota1.exp: Update the expected output.
4176 * gdb.cp/annota2.exp: Ditto.
4177
843f4d93
AB
41782020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4179
4180 * lib/check-test-names.exp: Disable when testing is being run in
4181 parallel.
4182
c7c66341
TV
41832020-05-12 Tom de Vries <tdevries@suse.de>
4184
4185 * gdb.base/jit-elf.exp: Fix string concat.
4186
1b59ca1c
TV
41872020-05-12 Tom de Vries <tdevries@suse.de>
4188
4189 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4190 messages.
4191
b4991d29
TV
41922020-05-12 Tom de Vries <tdevries@suse.de>
4193
4194 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4195
dbb0ab10
TV
41962020-05-12 Tom de Vries <tdevries@suse.de>
4197
4198 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4199 * gdb.ada/mi_catch_ex.exp: Same.
4200 * gdb.ada/mi_catch_ex_hand.exp: Same.
4201
7549fed8
TV
42022020-05-12 Tom de Vries <tdevries@suse.de>
4203
4204 * gdb.fortran/complex.exp: Use with_test_prefix.
4205
af2d5cd8
TV
42062020-05-12 Tom de Vries <tdevries@suse.de>
4207
4208 * gdb.trace/passcount.exp: Fix test-names.
4209
7c121311
TV
42102020-05-12 Tom de Vries <tdevries@suse.de>
4211
4212 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4213
c9f3b40e
TV
42142020-05-12 Tom de Vries <tdevries@suse.de>
4215
4216 * gdb.gdb/complaints.exp: Use with_test_prefix.
4217 * gdb.xml/tdesc-regs.exp: Same.
4218 * gdb.opt/inline-locals.exp: Fix test name.
4219
111b33f0
TV
42202020-05-12 Tom de Vries <tdevries@suse.de>
4221
4222 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4223 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4224 * gdb.dwarf2/implref-struct.exp: Same.
4225 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4226 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4227
ebf47080
SM
42282020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4229
4230 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4231
d30dcd12
AB
42322020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4233
4234 * lib/check-test-names.exp (all_test_names): New module variable.
4235 (counts): Add 'duplicates' field.
4236 (_check_duplicates): New procedure.
4237 (check): Also check for duplicates.
4238 (do_log_summary): Print duplicates count.
4239 (do_reset_vars): Reset counter for duplicate test names, and
4240 discard all know test names.
4241
34584c09
AB
42422020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4243
4244 * lib/gdb.exp: Include check-test-names.exp library.
4245 * lib/check-test-names.exp: New file.
4246
e0002117
TV
42472020-05-11 Tom de Vries <tdevries@suse.de>
4248
4249 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4250
53f539a3
KS
42512020-05-11 Keith Seitz <keiths@redhat.com>
4252
4253 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4254
113ee09a
TV
42552020-05-11 Tom de Vries <tdevries@suse.de>
4256
4257 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4258 * gdb.cp/cpexprs.exp.in: .. here.
4259 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4260 cpexprs.exp.
4261
ba3e70b0
KS
42622020-05-11 Keith Seitz <keiths@redhat.com>
4263
4264 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4265 test names.
4266 * gdb.ada/arrayptr.exp: Likewise.
4267 * gdb.ada/assign_arr.exp: Likewise.
4268 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4269 * gdb.ada/bp_on_var.exp: Likewise.
4270 * gdb.ada/call_pn.exp: Likewise.
4271 * gdb.ada/complete.exp: Likewise.
4272 * gdb.ada/fun_overload_menu.exp: Likewise.
4273 * gdb.ada/funcall_param.exp: Likewise.
4274 * gdb.ada/funcall_ref.exp: Likewise.
4275 * gdb.ada/packed_array_assign.exp: Likewise.
4276 * gdb.ada/same_component_name.exp: Likewise.
4277 * gdb.ada/type_coercion.exp: Likewise.
4278 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4279 * gdb.ada/variant_record_packed_array.exp: Likewise.
4280
3ee6bb11
TV
42812020-05-11 Tom de Vries <tdevries@suse.de>
4282
4283 PR symtab/25941
4284 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4285 out of ...
4286 * gdb.dwarf2/clang-debug-names.exp: ... here.
4287 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4288 clang-debug-names.exp.in.
4289 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4290 * gdb.dwarf2/clang-debug-names-2.c: New test.
4291
86cd6bc8
AKS
42922020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4293
4294 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4295 (fortran_runto_main): New Proc, fortran version of runto_main.
4296 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4297 * gdb.fortran/array-bounds.exp: Likewise.
4298 * gdb.fortran/array-slices.exp: Likewise.
4299 * gdb.fortran/block-data.exp: Likewise.
4300 * gdb.fortran/charset.exp: Likewise.
4301 * gdb.fortran/common-block.exp: Likewise.
4302 * gdb.fortran/complex.exp: Likewise.
4303 * gdb.fortran/derived-type-function.exp: Likewise.
4304 * gdb.fortran/derived-type.exp: Likewise.
4305 * gdb.fortran/info-modules.exp: Likewise.
4306 * gdb.fortran/info-types.exp: Likewise.
4307 * gdb.fortran/intrinsics.exp: Likewise.
4308 * gdb.fortran/library-module.exp: Likewise.
4309 * gdb.fortran/logical.exp: Likewise.
4310 * gdb.fortran/max-depth.exp: Likewise.
4311 * gdb.fortran/module.exp: Likewise.
4312 * gdb.fortran/multi-dim.exp: Likewise.
4313 * gdb.fortran/nested-funcs.exp: Likewise.
4314 * gdb.fortran/print-formatted.exp: Likewise.
4315 * gdb.fortran/print_type.exp: Likewise.
4316 * gdb.fortran/printing-types.exp: Likewise.
4317 * gdb.fortran/ptr-indentation.exp: Likewise.
4318 * gdb.fortran/ptype-on-functions.exp: Likewise.
4319 * gdb.fortran/subarray.exp: Likewise.
4320 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4321 * gdb.fortran/vla-datatypes.exp: Likewise.
4322 * gdb.fortran/vla-history.exp: Likewise.
4323 * gdb.fortran/vla-ptr-info.exp: Likewise.
4324 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4325 * gdb.fortran/vla-ptype.exp: Likewise.
4326 * gdb.fortran/vla-sizeof.exp: Likewise.
4327 * gdb.fortran/vla-type.exp: Likewise.
4328 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4329 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4330 * gdb.fortran/vla-value-sub.exp: Likewise.
4331 * gdb.fortran/vla-value.exp: Likewise.
4332 * gdb.fortran/whatis_type.exp: Likewise.
4333 * gdb.mi/mi-var-child-f.exp: Likewise.
4334
6dc55ce9 43352020-05-09 Tom de Vries <tdevries@suse.de>
4336
4337 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4338
283cb58c
TV
43392020-05-08 Tom de Vries <tdevries@suse.de>
4340
4341 * gdb.dwarf2/clang-debug-names.c: New test.
4342 * gdb.dwarf2/clang-debug-names.exp: New file.
4343
ac4a4f1c
SM
43442020-05-06 Simon Marchi <simon.marchi@efficios.com>
4345
4346 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4347 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4348
24fe640b
TV
43492020-05-06 Tom de Vries <tdevries@suse.de>
4350
4351 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4352 breakpoint is at a "recommended breakpoint location".
4353 * gdb.reverse/consecutive-reverse.exp: Same.
4354
0d8683a3
TV
43552020-05-06 Tom de Vries <tdevries@suse.de>
4356
4357 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4358 address.
4359
b8983c46
TV
43602020-05-06 Tom de Vries <tdevries@suse.de>
4361
4362 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4363
abf6d805
TV
43642020-05-06 Tom de Vries <tdevries@suse.de>
4365
4366 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4367 info for r.
4368
0fc2a808
TV
43692020-05-06 Tom de Vries <tdevries@suse.de>
4370
4371 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4372 necessary.
4373
873dd427
TV
43742020-05-06 Tom de Vries <tdevries@suse.de>
4375
4376 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4377 void.
4378
7c99e7e2
TV
43792020-05-06 Tom de Vries <tdevries@suse.de>
4380
4381 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4382 of ...
4383 * gdb.base/async.exp: ... here.
4384 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4385 "recommended breakpoint location".
4386
6173d6a6
TV
43872020-05-06 Tom de Vries <tdevries@suse.de>
4388
4389 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4390
6015a067
TV
43912020-05-04 Tom de Vries <tdevries@suse.de>
4392
4393 * gdb.base/async.exp: Check whether instruction addresses are a
4394 "recommended breakpoint location".
4395
3b6acaee
TT
43962020-05-03 Tom Tromey <tom@tromey.com>
4397
4398 * gdb.base/sepdebug.exp: Remove "catch" test.
4399 * gdb.base/break.exp: Remove "catch" test.
4400 * gdb.base/default.exp: Update expected output.
4401
5beb4d17
TV
44022020-05-02 Tom de Vries <tdevries@suse.de>
4403
4404 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4405 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4406 * gdb.arch/i386-mpx-map.exp: Same.
4407 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4408 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4409 * gdb.arch/i386-mpx.exp: Same.
4410
8caf140d
TV
44112020-05-02 Tom de Vries <tdevries@suse.de>
4412
4413 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4414
693196cb
TV
44152020-05-01 Tom de Vries <tdevries@suse.de>
4416
4417 * gdb.ada/operator_bp.exp: Allow more than required amount of
4418 breakpoint.
4419
53ae0aa9
TV
44202020-05-01 Tom de Vries <tdevries@suse.de>
4421
4422 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4423
ee9d1e5f
HD
44242020-04-30 Hannes Domani <ssbssa@yahoo.de>
4425
4426 PR gdb/18706
4427 * gdb.cp/stub-array-size.cc: New test.
4428 * gdb.cp/stub-array-size.exp: New file.
4429 * gdb.cp/stub-array-size.h: New test.
4430 * gdb.cp/stub-array-size2.cc: New test.
4431
d5cf82c0
HD
44322020-04-30 Hannes Domani <ssbssa@yahoo.de>
4433
4434 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4435 output to the new format.
4436
42e165c3
SM
44372020-04-29 Simon Marchi <simon.marchi@efficios.com>
4438
4439 * gdb.base/break.exp: Use with_test_prefix.
4440
6e4e3fe1
TV
44412020-04-29 Tom de Vries <tdevries@suse.de>
4442
4443 * lib/gdb.exp (debug_types): New proc.
4444 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4445 * gdb.python/py-symtab.exp: Same.
4446
d642b692
HD
44472020-04-29 Hannes Domani <ssbssa@yahoo.de>
4448
4449 PR gdb/17320
4450 * gdb.base/pretty-array.c: New test.
4451 * gdb.base/pretty-array.exp: New file.
4452
ea90f227
TV
44532020-04-29 Tom de Vries <tdevries@suse.de>
4454
4455 PR symtab/25889
4456 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4457 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4458 and include cpexprs.exp.
4459
a65189c9
TV
44602020-04-28 Mark Williams <mark@myosotissp.com>
4461
4462 PR gdb/24480
4463 * dw4-toplevel-types.exp: Test for top level types.
4464 * dw4-toplevel-types.cc: Test for top level types.
4465
32d1f47a
TBA
44662020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4467
4468 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4469 (theads -> threads).
4470
56a4f5a1
TV
44712020-04-28 Tom de Vries <tdevries@suse.de>
4472
4473 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4474
0b2f8a3b
TV
44752020-04-28 Tom de Vries <tdevries@suse.de>
4476
4477 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4478
5390c717
TV
44792020-04-28 Tom de Vries <tdevries@suse.de>
4480
4481 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4482
15cd93d0
TV
44832020-04-28 Tom de Vries <tdevries@suse.de>
4484
4485 * gdb.dwarf2/main-foo.c: New test.
4486 * gdb.dwarf2/struct-with-sig.exp: New file.
4487
d472f0fb
TV
44882020-04-25 Tom de Vries <tdevries@suse.de>
4489
4490 * boards/debug-types.exp: New file.
4491
8d840e05
AB
44922020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4493
4494 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4495
bcfe6157
TT
44962020-04-24 Tom Tromey <tom@tromey.com>
4497
4498 PR symtab/12707:
4499 * gdb.python/py-symbol.exp: Update expected results for
4500 linkage_name test.
4501 * gdb.cp/print-demangle.exp: New file.
4502 * gdb.base/c-linkage-name.exp: Fix test.
4503 * gdb.guile/scm-symbol.exp: Update expected results for
4504 linkage_name test.
4505
f049a313
TT
45062020-04-24 Tom Tromey <tom@tromey.com>
4507
4508 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4509 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4510 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4511 assembler.
4512
7cf28874
TV
45132020-04-24 Tom de Vries <tdevries@suse.de>
4514
4515 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4516 C++.
4517
dac2fef7
TT
45182020-04-24 Tom Tromey <tromey@adacore.com>
4519
4520 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4521 values.
4522 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4523 values. Update test for minimal encodings.
4524 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4525 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4526 values. Update test for minimal encodings.
4527
1acda803
TT
45282020-04-24 Tom Tromey <tromey@adacore.com>
4529
4530 PR python/23662:
4531 * gdb.ada/variant.exp: Add Python checks.
4532 * gdb.rust/simple.exp: Add dynamic type checks.
4533
adfb9815
TT
45342020-04-24 Tom Tromey <tromey@adacore.com>
4535
4536 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4537 Make array type matching more lax.
4538 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4539 * gdb.ada/mi_variant.exp: New file.
4540 * gdb.ada/mi_variant/pck.ads: New file.
4541 * gdb.ada/mi_variant/pkg.adb: New file.
4542 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4543 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4544
7d79de9a
TT
45452020-04-24 Tom Tromey <tromey@adacore.com>
4546
4547 * gdb.ada/variant.exp: Add dynamic field offset tests.
4548 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4549 * gdb.ada/variant/pkg.adb: Add new variables.
4550
f8e89861
TT
45512020-04-24 Tom Tromey <tromey@adacore.com>
4552
4553 * gdb.ada/variant.exp: New file
4554 * gdb.ada/variant/pkg.adb: New file
4555 * gdb.ada/variant/pck.adb: New file
4556
86e887ae
TV
45572020-04-24 Tom de Vries <tdevries@suse.de>
4558
4559 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4560
88428775
TV
45612020-04-24 Tom de Vries <tdevries@suse.de>
4562
4563 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4564 flags.
4565
4e86f6e7
TV
45662020-04-24 Tom de Vries <tdevries@suse.de>
4567
4568 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4569
2016d3e6
TV
45702020-04-24 Tom de Vries <tdevries@suse.de>
4571
4572 * lib/gdb.exp (default_gdb_start): Handle eof.
4573 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4574 failure.
4575 * gdb.base/readnever.exp: Handle clean_restart failure.
4576
70bc38f5
TV
45772020-04-23 Tom de Vries <tdevries@suse.de>
4578
4579 * gdb.base/decl-before-def.exp: Run to main and print a again.
4580
de82891c
TV
45812020-04-23 Tom de Vries <tdevries@suse.de>
4582
4583 * gdb.base/decl-before-def-decl.c: New test.
4584 * gdb.base/decl-before-def-def.c: New test.
4585 * gdb.base/decl-before-def.exp: New file.
4586
96038148
TV
45872020-04-23 Tom de Vries <tdevries@suse.de>
4588
4589 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4590
54ac3df1
TV
45912020-04-22 Tom de Vries <tdevries@suse.de>
4592
4593 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4594 debug_info_offset.
4595 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4596 before $objsfile in the line line.
4597
714534e1
TV
45982020-04-22 Tom de Vries <tdevries@suse.de>
4599
4600 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4601
16a7dbf4
MS
46022020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4603
4604 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4605 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4606 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4607 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4608 * gdb.base/jit-protocol.h: Update definitions to match all usage
4609 contexts.
4610
46112020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4612
4613 * gdb.base: Rename all jit related test and source files.
4614
46152020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4616
4617 * gdb.base/jit-reader.exp: Relax register output check.
4618
317d2668
TV
46192020-04-22 Tom de Vries <tdevries@suse.de>
4620
4621 PR symtab/25764
4622 * gdb.base/psym-external-decl-2.c: New test.
4623 * gdb.base/psym-external-decl.c: New test.
4624 * gdb.base/psym-external-decl.exp: New file.
4625 * gdb.threads/tls.exp: Add PR25807 kfail.
4626
eea9e357
TV
46272020-04-22 Tom de Vries <tdevries@suse.de>
4628
4629 PR symtab/25801
4630 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4631 in "info source" output.
4632
3d5afab3
TV
46332020-04-22 Tom de Vries <tdevries@suse.de>
4634
4635 PR symtab/25700
4636 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4637 symtab for imported_unit.c.
4638
b32102f6
GB
46392020-04-21 Gary Benson <gbenson@redhat.com>
4640
4641 * gdb.base/advance.c (func): New argument, to match call site.
4642 (func2, func3): Add return statements.
4643
d43b7a2d
TBA
46442020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4645
4646 * gdb.multi/run-only-second-inf.c: New file.
4647 * gdb.multi/run-only-second-inf.exp: New file.
4648
d89edf9b
MM
46492020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4650
4651 * gdb.btrace/multi-inferior.c: New test.
4652 * gdb.btrace/multi-inferior.exp: New file.
4653
1a476b6d
MM
46542020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4655
4656 * gdb.btrace/enable-new-thread.c: New test.
4657 * gdb.btrace/enable-new-thread.exp: New file.
4658
4778a5f8
TV
46592020-04-21 Tom de Vries <tdevries@suse.de>
4660
4661 PR gdb/25471
4662 * gdb.threads/killed-outside.c: New test.
4663 * gdb.threads/killed-outside.exp: New file.
4664
9b2c992c
GB
46652020-04-20 Gary Benson <gbenson@redhat.com>
4666
4667 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4668 * gdb.base/nested-subp2.exp: Likewise.
4669 * gdb.base/nested-subp3.exp: Likewise.
4670
b5d1d6f7
GB
46712020-04-20 Gary Benson <gbenson@redhat.com>
4672
4673 * gdb.base/nested-subp1.exp: Disable test when using clang.
4674 * gdb.base/nested-subp2.exp: Likewise.
4675 * gdb.base/nested-subp3.exp: Likewise.
4676
25230285
GB
46772020-04-20 Gary Benson <gbenson@redhat.com>
4678
4679 * gdb.cp/exception.cc: Fix compilation error with clang.
4680
fa93cc8f
GB
46812020-04-20 Gary Benson <gbenson@redhat.com>
4682
809730f3 4683 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4684
e0c45f30
GB
46852020-04-20 Gary Benson <gbenson@redhat.com>
4686
4687 * gdb.base/jit-main.c: Fix compilation error with clang.
4688
4ddfec93
KR
46892020-04-17 Kamil Rytarowski <n54@gmx.com>
4690
4691 * gdb.base/attach-twice.c: Include "sys/types.h".
4692 (PTRACE_ATTACH): Add fallback definition.
4693 (main): Pass `0' to the 4th argument of `ptrace'.
4694
2bed205e
KR
46952020-04-17 Kamil Rytarowski <n54@gmx.com>
4696
4697 * gdb.base/fork-running-state.c: Include "signal.h".
4698
0743fc83
TT
46992020-04-17 Tom Tromey <tromey@adacore.com>
4700
4701 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4702 Update tests.
4703 * gdb.btrace/cpu.exp: Update tests.
4704 * gdb.base/maint.exp: Update tests.
4705 * gdb.base/default.exp: Update tests.
4706 * gdb.base/completion.exp: Update tests.
4707
efba5c23
TV
47082020-04-16 Tom de Vries <tdevries@suse.de>
4709
4710 PR symtab/25791
4711 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4712 (ensure_gdb_index): and factor out and move ...
4713 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4714 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4715
d191d716
TV
47162020-04-16 Tom de Vries <tdevries@suse.de>
4717
4718 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4719 loading exec.
4720
99f1bc6a
AB
47212020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4722
4723 * gdb.base/many-completions.exp: New file.
4724
194d088f
TV
47252020-04-14 Tom de Vries <tdevries@suse.de>
4726
4727 PR symtab/25718
4728 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4729
c1a66c06
TV
47302020-04-14 Tom de Vries <tdevries@suse.de>
4731
4732 PR symtab/25720
4733 * gdb.base/maint-expand-symbols-header-file.c: New test.
4734 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4735 * gdb.base/maint-expand-symbols-header-file.h: New test.
4736
21b0982c
AB
47372020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4738
4739 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4740 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4741 get_func_info.
4742 (get_func_info): Delete.
4743 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4744 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4745 * lib/dwarf.exp (get_func_info): New function.
4746
dd1cab06
TV
47472020-04-13 Tom de Vries <tdevries@suse.de>
4748
4749 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4750 to what find_gnatmake does.
4751
71ea2b6b
TV
47522020-04-10 Tom de Vries <tdevries@suse.de>
4753
4754 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4755 -readnow.
4756
bdfc1e8a
TV
47572020-04-10 Tom de Vries <tdevries@suse.de>
4758
4759 PR cli/25808
4760 * gdb.base/style.c: Add leading newlines.
4761 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4762 Check listing of main's one-line body.
4763
14ca8ecf
TV
47642020-04-08 Tom de Vries <tdevries@suse.de>
4765
4766 * lib/gdb.exp (psymtabs_p): New proc.
4767 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4768 importing unit" unsupported if there are no partial symbols.
4769
e21d048f
TV
47702020-04-08 Tom de Vries <tdevries@suse.de>
4771
4772 PR testsuite/25760
4773 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4774
25c11aca
TV
47752020-04-07 Tom de Vries <tdevries@suse.de>
4776
4777 PR symtab/25796
4778 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4779
5707e24b
TV
47802020-04-07 Tom de Vries <tdevries@suse.de>
4781
4782 * gdb.base/check-psymtab.c: New test.
4783 * gdb.base/check-psymtab.exp: New file.
4784
6ee448cc
TT
47852020-04-06 Tom Tromey <tromey@adacore.com>
4786
4787 * gdb.ada/variant-record/proc.adb: New file.
4788 * gdb.ada/variant-record/value.adb: New file.
4789 * gdb.ada/variant-record/value.s: New file.
4790 * gdb.ada/variant-record.exp: New file.
4791
9e7c9a03
HD
47922020-04-03 Hannes Domani <ssbssa@yahoo.de>
4793
4794 PR gdb/25325
4795 * gdb.cp/typed-enum.cc: New test.
4796 * gdb.cp/typed-enum.exp: New file.
4797
c90d28ac
AB
47982020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4799
4800 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4801 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4802 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4803 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4804 * gdb.opt/inline-small-func.c: New file.
4805 * gdb.opt/inline-small-func.exp: New file.
4806 * gdb.opt/inline-small-func.h: New file.
4807
34e9a9fa
AB
48082020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4809
4810 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4811 function.
4812
6a354911
AB
48132020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4814
4815 * lib/dwarf.exp (function_range): Allow compiler options to be
4816 specified.
4817
880d9777
TV
48182020-04-02 Tom de Vries <tdevries@suse.de>
4819
4820 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4821 __attribute__((always_inline)).
4822 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4823
f32682ea
TV
48242020-04-02 Tom de Vries <tdevries@suse.de>
4825
4826 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4827 (gdbserver_gdb_exit): ... here. Add timeout warning.
4828 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4829 (connect_target_extended_remote): Append new server_spawn_id to
4830 server_spawn_ids.
4831 (cleanup): New proc.
4832 (setup, <toplevel>): Call cleanup.
4833
d3214198
TV
48342020-04-02 Tom de Vries <tdevries@suse.de>
4835
4836 * gdb.base/main-psymtab.exp: New file.
4837
cc77ed24
TV
48382020-04-02 Tom de Vries <tdevries@suse.de>
4839
4840 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4841
3638a098
TT
48422020-04-01 Tom Tromey <tom@tromey.com>
4843
4844 * gdb.base/complex-parts.exp: Add type tests.
4845
c34e8714
TT
48462020-04-01 Tom Tromey <tom@tromey.com>
4847
4848 * gdb.base/complex-parts.exp: Add arithmetic tests.
4849
981c08ce
TT
48502020-04-01 Tom Tromey <tom@tromey.com>
4851
4852 * gdb.compile/compile.exp: Update.
4853 * gdb.compile/compile-cplus.exp: Update.
4854 * gdb.base/varargs.exp: Update.
4855 * gdb.base/floatn.exp: Update.
4856 * gdb.base/endianity.exp: Update.
4857 * gdb.base/callfuncs.exp (do_function_calls): Update.
4858 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4859 (complex_float_integral_args): Update.
4860 * gdb.base/complex.exp: Update.
4861 * gdb.base/complex-parts.exp: Update.
4862
3d1cfd43
TT
48632020-04-01 Tom Tromey <tromey@adacore.com>
4864
4865 * gdb.rust/union.rs: New file.
4866 * gdb.rust/union.exp: New file.
4867 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4868 (main): Update.
4869 * gdb.rust/simple.exp: Move union tests to union.exp.
4870
e033dfa9
TT
48712020-04-01 Tom Tromey <tromey@adacore.com>
4872
4873 * gdb.rust/simple.rs (main): Remove "y0".
4874
53cccef1
TBA
48752020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4876
4877 * gdb.multi/stop-all-on-exit.c: New test.
4878 * gdb.multi/stop-all-on-exit.exp: New file.
4879
60e22c1e
HD
48802020-04-01 Hannes Domani <ssbssa@yahoo.de>
4881
4882 PR gdb/24789
4883 * gdb.cp/misc.cc: Add integer reference variable.
4884 * gdb.cp/misc.exp: Add test.
4885
e139a727
TBA
48862020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4887
4888 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4889 scenario to cover execution until the end and also the case
4890
16b0db75
TV
48912020-03-31 Tom de Vries <tdevries@suse.de>
4892
4893 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4894 c. Use "maint info symtabs" to check symtab expansion.
4895
c0502da6
TV
48962020-03-30 Tom de Vries <tdevries@suse.de>
4897
4898 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4899 unsupported.
4900 (verify_psymtab_expanded): Move ...
4901 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4902 test.
4903 (readnow): New proc.
4904
5935fd15
AB
49052020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4906
4907 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4908 with $hex.
4909
1773be9e
TT
49102020-03-20 Tom Tromey <tromey@adacore.com>
4911
4912 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4913
70304be9
TT
49142020-03-20 Tom Tromey <tromey@adacore.com>
4915
4916 * gdb.ada/sub_variant/subv.adb: New file.
4917 * gdb.ada/sub_variant.exp: New file.
4918
0dd7b8f7
TV
49192020-03-20 Tom de Vries <tdevries@suse.de>
4920
4921 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4922 first break fails.
4923 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4924
cada5fc9
AB
49252020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4926
4927 * gdb.server/exit-multiple-threads.c: New file.
4928 * gdb.server/exit-multiple-threads.exp: New file.
4929
6b8c53f2
AB
49302020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4931
4932 * gdb.fortran/mixed-lang-stack.c: New file.
4933 * gdb.fortran/mixed-lang-stack.cpp: New file.
4934 * gdb.fortran/mixed-lang-stack.exp: New file.
4935 * gdb.fortran/mixed-lang-stack.f90: New file.
4936
19a2740f
AB
49372020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4938
4939 * gdb.linespec/cp-completion-aliases.cc: New file.
4940 * gdb.linespec/cp-completion-aliases.exp: New file.
4941
d8c8b848
TV
49422020-03-19 Tom de Vries <tdevries@suse.de>
4943
4944 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4945 more precise.
4946
a9933ccf
TV
49472020-03-18 Tom de Vries <tdevries@suse.de>
4948
4949 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4950 * gdb.dwarf2/break-inline-psymtab.c: New test.
4951 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4952
2f89101f
TV
49532020-03-16 Tom de Vries <tdevries@suse.de>
4954
4955 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4956 cache_verify and cache_verify_proc.
4957
6b9374f1
TV
49582020-03-15 Tom de Vries <tdevries@suse.de>
4959
4960 * gdb.server/solib-list.exp: Handle
4961 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4962
eaeaf44c
TV
49632020-03-15 Tom de Vries <tdevries@suse.de>
4964
4965 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4966 objfiles".
4967
3293bbaf
TT
49682020-03-14 Tom Tromey <tom@tromey.com>
4969
4970 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4971
ab44624c
TV
49722020-03-14 Tom de Vries <tdevries@suse.de>
4973
4974 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4975
54c43825
TV
49762020-03-14 Tom de Vries <tdevries@suse.de>
4977
4978 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4979 result in line-by-line fashion.
4980
2ac70237
TV
49812020-03-14 Tom de Vries <tdevries@suse.de>
4982
4983 * lib/gdb.exp (supports_statement_frontiers): New proc.
4984 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4985
09546b56
TV
49862020-03-14 Tom de Vries <tdevries@suse.de>
4987
4988 * gdb.base/printcmds.exp: Add missing quoting for "print
4989 teststring2".
4990
a1f6a07c
TT
49912020-03-13 Tom Tromey <tom@tromey.com>
4992
4993 * gdb.base/printcmds.exp (test_print_strings): Add regression
4994 test.
4995 * gdb.base/printcmds.c (charptr): New typedef.
4996 (teststring2): New global.
4997
1b83d09c
AB
49982020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4999
5000 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5001 full path in the test name.
5002 (test_ld): Add some with_test_prefix blocks to make test names
5003 unique.
5004
2d61316c
TV
50052020-03-13 Tom de Vries <tdevries@suse.de>
5006
5007 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5008
2e9145ac
TV
50092020-03-13 Tom de Vries <tdevries@suse.de>
5010
5011 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5012
96c7f873
TV
50132020-03-13 Tom de Vries <tdevries@suse.de>
5014
5015 PR symtab/25646
5016 * gdb.dwarf2/imported-unit.exp: Add test.
5017
49ba92c0
TV
50182020-03-13 Tom de Vries <tdevries@suse.de>
5019
5020 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5021 (var1, var2): New variable.
5022 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5023 matching symbols.
5024
301b21e0
TV
50252020-03-13 Tom de Vries <tdevries@suse.de>
5026
5027 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5028 (Term::command): Use prompt prefix.
5029 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5030 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5031 command_no_prompt_prefix instead of prefix.
5032 * gdb.tui/tui-layout-asm.exp: Same.
5033
3f512721
SM
50342020-03-12 Simon Marchi <simon.marchi@efficios.com>
5035
5036 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5037
40310f30
SM
50382020-03-12 Simon Marchi <simon.marchi@efficios.com>
5039
5040 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5041 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5042 on" while stepping over the test instruction, match printed
5043 message.
5044
09252140
TV
50452020-03-12 Tom de Vries <tdevries@suse.de>
5046
5047 * gdb.base/info-types.exp: Use exp_continue during matching of output
5048 of "info types".
5049
14e9c72c
TV
50502020-03-12 Tom de Vries <tdevries@suse.de>
5051
5052 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5053
e515d67e
TV
50542020-03-12 Tom de Vries <tdevries@suse.de>
5055
5056 * gdb.fortran/module.exp: Use exp_continue during matching of output
5057 of "info variable -n".
5058
307eafd8
TV
50592020-03-12 Tom de Vries <tdevries@suse.de>
5060
5061 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5062 gdb.dwarf2/dw2-ranges-base.c.
5063
9a2de3fc
TV
50642020-03-12 Tom de Vries <tdevries@suse.de>
5065
5066 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5067 in presence of GLIBC debuginfo.
5068
3217502e
TV
50692020-03-12 Tom de Vries <tdevries@suse.de>
5070
5071 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5072 $core.
5073
1281424c
TV
50742020-03-12 Tom de Vries <tdevries@suse.de>
5075
5076 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5077 more precise.
5078
038b97fc
SM
50792020-03-11 Simon Marchi <simon.marchi@efficios.com>
5080
5081 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5082 from Unix to Windows path.
5083
5308d1e7
TV
50842020-03-11 Tom de Vries <tdevries@suse.de>
5085
5086 * gdb.ada/minsyms.exp: Set language to ada.
5087
f870f78f
TV
50882020-03-11 Tom de Vries <tdevries@suse.de>
5089
5090 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5091
5a13315d
TV
50922020-03-11 Tom de Vries <tdevries@suse.de>
5093
5094 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5095
976862ed
TT
50962020-03-11 Tom Tromey <tromey@adacore.com>
5097
5098 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5099
7462c383
TV
51002020-03-11 Tom de Vries <tdevries@suse.de>
5101
5102 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5103
1c6c46a0
TV
51042020-03-11 Tom de Vries <tdevries@suse.de>
5105
5106 * gdb.base/break-interp.exp: Limit verbose scope.
5107
44f41bb7
TV
51082020-03-11 Tom de Vries <tdevries@suse.de>
5109
5110 * gdb.fortran/logical.f90: Define variable with character type.
5111 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5112
b76f3a42
TV
51132020-03-11 Tom de Vries <tdevries@suse.de>
5114
5115 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5116
1c33af77
TV
51172020-03-11 Tom de Vries <tdevries@suse.de>
5118
5119 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5120 symtabs.
5121
8c95582d
AB
51222020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5123 Bernd Edlinger <bernd.edlinger@hotmail.de>
5124
5125 * gdb.cp/step-and-next-inline.cc: New file.
5126 * gdb.cp/step-and-next-inline.exp: New file.
5127 * gdb.cp/step-and-next-inline.h: New file.
5128 * gdb.dwarf2/dw2-is-stmt.c: New file.
5129 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5130 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5131 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5132 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5133
cecf8547
AB
51342020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5135
5136 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5137 is-stmt flag in the line table.
5138
0ba678c9
TV
51392020-03-09 Tom de Vries <tdevries@suse.de>
5140
5141 * lib/gdb.exp (cached_file): Create cache dir.
5142
72fbdf83
TV
51432020-03-07 Tom de Vries <tdevries@suse.de>
5144
5145 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5146 * gdb.cp/rvalue-ref-params.exp: Same.
5147
436b5e99
TV
51482020-03-06 Tom de Vries <tdevries@suse.de>
5149
5150 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5151 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5152
09f2921c
TV
51532020-03-06 Tom de Vries <tdevries@suse.de>
5154
5155 * README: Fix "the the".
5156 * gdb.base/dprintf.exp: Same.
5157
50a3cc5d
TV
51582020-03-05 Tom de Vries <tdevries@suse.de>
5159
5160 * gdb.base/maint.exp: Update "main print statistics" expected output.
5161
0a709cba
AKS
51622020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5163
5164 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5165 (fortran_int8): Likewise.
5166 (fortran_real4): Likewise.
5167 (fortran_real8): Likewise.
5168 (fortran_complex4): Likewise.
5169 (fortran_logical4): Likewise.
5170 (fortran_character1): Likewise.
5171
5e5d66b6
AB
51722020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5173
5174 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5175 printed as true.
5176
7b973adc
SDJ
51772020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5178
5179 * gdb.base/printcmds.exp: Add test to verify printf of a
5180 variable holding an address.
5181
478e490a
TV
51822020-03-03 Tom de Vries <tdevries@suse.de>
5183
5184 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5185
1ef44e86
TV
51862020-03-03 Tom de Vries <tdevries@suse.de>
5187
5188 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5189 gdb_test_multiple call.
5190
b98cc2cf
TV
51912020-03-03 Tom de Vries <tdevries@suse.de>
5192
5193 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5194 gdb_test_multiple calls.
5195
63e163f2
AB
51962020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5197
5198 * gdb.base/default.exp: Remove test of 'set history filename'.
5199 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5200 filename to the empty string.
5201 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5202 and GDBHISTSIZE.
5203
24ed6739
AB
52042020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5205
5206 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5207 disabled.
5208
590003dc 52092020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5210 Tom de Vries <tdevries@suse.de>
590003dc
TV
5211
5212 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5213 -prompt prefix, before user_code argument. Add -lbl option likewise.
5214 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5215 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5216 argument.
5217 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5218 have "\r\n" at start-of-line, instead of at end-of-line.
5219
f5e46084
SM
52202020-02-28 Simon Marchi <simon.marchi@efficios.com>
5221
5222 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5223 libinproctrace.so.
5224
f7a7000d
LM
52252020-02-28 Luis Machado <luis.machado@linaro.org>
5226
5227 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5228 to "p/x".
5229
718e0816
LM
52302020-02-28 Luis Machado <luis.machado@linaro.org>
5231
5232 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5233 asm/ptrace.h and error.h.
5234
13c3a74a
TV
52352020-02-28 Tom de Vries <tdevries@suse.de>
5236
5237 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5238 (struct wrapper, do_something, mundane/symada__cS): Move ...
5239 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5240 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5241 Update "print symada__cS before partial symtab expansion" regexp.
5242 Update breakpoint location. Flush symbol cache after expansion.
5243
85d2d5bb
LM
52442020-02-28 Luis Machado <luis.machado@linaro.org>
5245
5246 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5247
3608f86c
TV
52482020-02-27 Tom de Vries <tdevries@suse.de>
5249
5250 * config/sid.exp: Remove unused globals.
5251 * gdb.base/attach.exp: Same.
5252 * gdb.base/catch-load.exp: Same.
5253 * gdb.base/dbx.exp: Same.
5254 * lib/gdb.exp: Same.
5255 * lib/mi-support.exp: Same.
5256 * lib/prompt.exp: Same.
5257
c8d4f6df
TV
52582020-02-27 Tom de Vries <tdevries@suse.de>
5259
5260 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5261 not set.
5262
0d79cdc4
AM
52632020-02-26 Aaron Merey <amerey@redhat.com>
5264
5265 * gdb.debuginfod: New directory for debuginfod tests.
5266 * gdb.debuginfod/main.c: New test file.
5267 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5268
0dce4280
TV
52692020-02-26 Tom de Vries <tdevries@suse.de>
5270
5271 PR gdb/25603
5272 * gdb.base/persistent-lang.cc: New test.
5273 * gdb.base/persistent-lang.exp: New file.
5274
9e80cfa1
AB
52752020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5276
5277 * gdb.fortran/derived-type-striding.exp: Add a new test.
5278 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5279 new test.
5280
2078dbb2
AB
52812020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5282
5283 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5284 names.
5285
70d49700
TV
52862020-02-25 Tom de Vries <tdevries@suse.de>
5287
5288 PR go/18926
5289 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5290
a88ef40d
TV
52912020-02-24 Tom de Vries <tdevries@suse.de>
5292
5293 PR gdb/25592
5294 * gdb.base/info-locals-unused-static-var.c: New test.
5295 * gdb.base/info-locals-unused-static-var.exp: New file.
5296
01b1af32
TT
52972020-02-22 Tom Tromey <tom@tromey.com>
5298
5299 * gdb.python/tui-window.exp: New file.
5300 * gdb.python/tui-window.py: New file.
5301
7c043ba6
TT
53022020-02-22 Tom Tromey <tom@tromey.com>
5303
5304 PR tui/17850:
5305 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5306 tests.
5307
c22fef7e
TT
53082020-02-22 Tom Tromey <tom@tromey.com>
5309
5310 * gdb.tui/new-layout.exp: Add sub-layout tests.
5311
ee325b61
TT
53122020-02-22 Tom Tromey <tom@tromey.com>
5313
5314 * gdb.tui/new-layout.exp: New file.
5315
3f0cbb04
TT
53162020-02-22 Tom Tromey <tom@tromey.com>
5317
5318 * gdb.rust/rust-style.rs: New file.
5319 * gdb.rust/rust-style.exp: New file.
5320 * gdb.base/style.exp: Test structure printing.
5321 * gdb.base/style.c (struct some_struct): New type.
5322 (enum etype): New type.
5323 (struct_value): New global.
5324
75525152
TV
53252020-02-21 Tom de Vries <tdevries@suse.de>
5326
5327 PR go/18926
5328 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5329 Remove blanket xfails. Use message argument for gdb_breakpoint.
5330 Make continuing to breakpoint test conditional on setting breakpoint.
5331 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5332 DW_AT_name attribute. Add xfail for GCC PR93866.
5333
bd360d30
AB
53342020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5335
5336 * gdb.dwarf2/cpp-linkage-name.c: New file.
5337 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5338
c7adb09f 53392020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5340
5341 * lib/gdb.exp (gdb_wrapper_init): Reset
5342 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5343 not exist.
5344
a9c79803
TV
53452020-02-20 Tom de Vries <tdevries@suse.de>
5346
5347 PR go/17018
5348 * gdb.go/hello.exp: Copy ...
5349 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5350 print of st to print value of global definition. Add xfail for GCC
5351 PR93844.
5352 * gdb.go/hello.exp: Remove printing of st before definition.
5353 * gdb.go/hello.go: Copy ...
5354 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5355 to st.
5356 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5357
d7445728
TV
53582020-02-20 Tom de Vries <tdevries@suse.de>
5359
5360 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5361 (gdb_simple_compile): Handle compile_flags go by using .go extension
5362 for source file.
5363 * gdb.go/chan.exp: Use support_go_compile.
5364 * gdb.go/handcall.exp: Same.
5365 * gdb.go/hello.exp: Same.
5366 * gdb.go/integers.exp: Same.
5367 * gdb.go/max-depth.exp: Same.
5368 * gdb.go/methods.exp: Same.
5369 * gdb.go/package.exp: Same.
5370 * gdb.go/strings.exp: Same.
5371 * gdb.go/types.exp: Same.
5372 * gdb.go/unsafe.exp: Same.
5373
c9c41e6d
TV
53742020-02-19 Tom de Vries <tdevries@suse.de>
5375
5376 * gdb.python/lib-types.exp: Make xfail more strict.
5377
f20ff837
TV
53782020-02-19 Tom de Vries <tdevries@suse.de>
5379
5380 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5381
08410482
DE
53822020-02-19 Doug Evans <dje@google.com>
5383
5384 PR rust/25535
5385 * gdb.rust/simple.exp: Add test.
5386 * gdb.rust/simple.rs: Add test.
5387
623563f7
TV
53882020-02-19 Tom de Vries <tdevries@suse.de>
5389
5390 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5391 output line-by-line.
5392
d3308cfd
TV
53932020-02-19 Tom de Vries <tdevries@suse.de>
5394
5395 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5396
86cbc5dc
TV
53972020-02-19 Tom de Vries <tdevries@suse.de>
5398
5399 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5400 prelink.
5401
9db2b96b
TV
54022020-02-19 Tom de Vries <tdevries@suse.de>
5403
5404 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5405 (gdb_do_cache): Use gdb_do_cache_wrap.
5406 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5407
89e2fdc5
TV
54082020-02-19 Tom de Vries <tdevries@suse.de>
5409
5410 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5411 gdb_compile option.
5412
373d7ac0
SM
54132020-02-18 Simon Marchi <simon.marchi@efficios.com>
5414
5415 * gdb.base/printcmds.exp (test_print_enums): Update expected
5416 output.
5417
b29a2df0
SM
54182020-02-18 Simon Marchi <simon.marchi@efficios.com>
5419
5420 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5421 for "unknown".
5422
6740f0cc
SM
54232020-02-18 Simon Marchi <simon.marchi@efficios.com>
5424
5425 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5426 enumerator.
5427
edd45eb0
SM
54282020-02-18 Simon Marchi <simon.marchi@efficios.com>
5429
5430 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5431 FE_, add FE_NONE.
5432 (three): Update.
5433 (enum flag_enum_without_zero): New enum.
5434 (flag_enum_without_zero): New variable.
5435 (enum not_flag_enum): New enum.
5436 (three_not_flag): New variable.
5437 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5438 (test_print_enums): Add more tests for printing flag enums.
5439
d4295de4
TV
54402020-02-18 Tom de Vries <tdevries@suse.de>
5441
5442 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5443 (gdb_compile_ada): ... here.
5444 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5445 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5446
f251f505
TT
54472020-02-14 Tom Tromey <tom@tromey.com>
5448
5449 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5450 build directory.
5451 * boards/gdbserver-base.exp: Update path to gdbserver.
5452
8f432634
TV
54532020-02-13 Tom de Vries <tdevries@suse.de>
5454
5455 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5456
92b6eaf7
TV
54572020-02-13 Tom de Vries <tdevries@suse.de>
5458
5459 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5460 are missing.
5461
f3b0f7fe
TV
54622020-02-13 Tom de Vries <tdevries@suse.de>
5463
5464 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5465 call.
5466
f6be8713
SDJ
54672020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5468
5469 PR tui/25126
5470 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5471 * gdb.base/cached-source-file.c: New file.
5472 * gdb.base/cached-source-file.exp: New file.
5473
b2770d5e
TV
54742020-02-11 Tom de Vries <tdevries@suse.de>
5475
5476 PR testsuite/25488
5477 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5478
44f6938e
TV
54792020-02-10 Tom de Vries <tdevries@suse.de>
5480
5481 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5482
5f0e2eb7
MR
54832020-02-10 Maciej W. Rozycki <macro@wdc.com>
5484
5485 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5486 and $after_addr are both integers before making a comparison.
5487
46ce2b6f
TV
54882020-02-09 Tom de Vries <tdevries@suse.de>
5489
5490 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5491 command output and paste it into gdb.log. If any, paste catch message
5492 to gdb.log.
5493
5abbbe1d
TT
54942020-02-07 Tom Tromey <tromey@adacore.com>
5495
5496 PR breakpoints/24915:
5497 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5498
1d5d29e7
SV
54992020-02-06 Shahab Vahedi <shahab@synopsys.com>
5500
5501 * gdb.tui/tui-missing-src.exp: Add the "missing source
5502 file" test for the TUI.
5503
b0999b9b
AB
55042020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5505
5506 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5507 including a port number in the output.
5508
c3b149eb
AKS
55092020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5510
5511 * lib/fortran.exp (fortran_int4): Handle clang.
5512 (fortran_int8): Likewise.
5513 (fortran_real4): Likewise.
5514 (fortran_real8): Likewise.
5515 (fortran_complex4): Likewise.
5516 (fortran_logical4): Likewise.
5517 (fortran_character1): Likewise.
5518
f8dcc90b
TV
55192020-02-04 Tom de Vries <tdevries@suse.de>
5520
5521 * README (Race detection): Add note.
5522
f90ac7c2
TV
55232020-02-04 Tom de Vries <tdevries@suse.de>
5524
5525 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5526
780636ae
TV
55272020-02-04 Tom de Vries <tdevries@suse.de>
5528
5529 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5530
5d2e1193
RA
55312020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5532
5533 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5534 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5535 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5536 blttar, bnetarl.
5537 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5538 binary for blttar, bnetarl.
5539 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5540 wait instruction. Delete ldmx test.
5541 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5542
e409c542
AKS
55432020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5544
5545 * gdb.fortran/array-bounds-high.exp: New file.
5546 * gdb.fortran/array-bounds-high.f90: New file.
5547
b0029748
LD
55482020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5549
5550 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5551 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5552
195a8287
TV
55532020-02-01 Tom de Vries <tdevries@suse.de>
5554
5555 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5556
42330a68
AB
55572020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5558
5559 PR tui/9765
5560 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5561 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5562
b62a8028
LM
55632020-01-29 Luis Machado <luis.machado@linaro.org>
5564
5565 * gdb.arch/aarch64-brk-patterns.c: New source file.
5566 * gdb.arch/aarch64-brk-patterns.exp: New test.
5567
5f440116
TBA
55682020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5569
5570 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5571 GCC/Clang version.
5572 * gdb.cp/pass-by-ref.exp: Ditto.
5573
ee2a6fc6
TV
55742020-01-29 Tom de Vries <tdevries@suse.de>
5575
5576 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5577 * gdb.threads/watchpoint-fork-mt.c: Same.
5578 * gdb.threads/watchpoint-fork-parent.c: Same.
5579 * gdb.threads/watchpoint-fork-st.c: Same.
5580 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5581
16b10d6e
LM
55822020-01-27 Luis Machado <luis.machado@linaro.org>
5583
5584 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5585 sitting at a syscall instruction when we hit the syscall function's
5586 breakpoint.
5587 Check PC against one obtained with the x command.
5588 Validate syscall number.
5589 (step_over_syscall): Don't continue to the syscall instruction if
5590 we're already there.
5591
b1468492
PW
55922020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5593
5594 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5595
7ffa82e1
AB
55962020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5597
5598 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5599 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5600
3d92a3e3
AB
56012020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5602
5603 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5604 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5605
94a72be7
AB
56062020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5607
5608 * gdb.base/maint.exp: Update line table parsing test.
5609 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5610
53af73bf
PA
56112020-01-24 Pedro Alves <palves@redhat.com>
5612
5613 PR gdb/25410
5614 * gdb.multi/multi-re-run-1.c: New.
5615 * gdb.multi/multi-re-run-2.c: New.
5616 * gdb.multi/multi-re-run.exp: New.
5617
1ba1ac88
AB
56182020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5619
5620 PR gdb/23718
5621 * gdb.server/server-kill-python.exp: New file.
5622
f3364a6d
AB
56232020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5624
5625 * gdb.server/multi-ui-errors.c: New file.
5626 * gdb.server/multi-ui-errors.exp: New file.
5627
733d0a67
AB
56282020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5629
5630 PR tui/9765
5631 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5632
4f13c1c0
TT
56332020-01-19 Tom Tromey <tom@tromey.com>
5634
5635 * gdb.tui/main.exp: Add check for plain "file".
5636
40c94099
CB
56372020-01-16 Christian Biesinger <cbiesinger@google.com>
5638
5639 * lib/gdb.exp: Fix spelling error (seperatelly).
5640
ff47f4f0
TT
56412020-01-14 Tom Tromey <tom@tromey.com>
5642
5643 PR symtab/12535:
5644 * gdb.python/python.exp: Test decode_line with empty string
5645 argument.
5646
717c684d
BE
56472020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5648
5649 * gdb.base/skip-inline.exp: Extend test.
5650
44e4c775
AB
56512020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5652
5653 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5654 * gdb.dwarf2/dw2-bad-elf.c: New file.
5655 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5656
d93c6db7
AB
56572020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5658
5659 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5660 _line_saw_file.
5661
9a6d629c
AB
56622020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5663
5664 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5665 border.
5666
d9ebdab7
TBA
56672020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5668
5669 * gdb.multi/multi-target.exp (setup): Factor out "info
5670 connections" and "info inferiors" tests to ...
5671 (test_info_inferiors): ... this new procedure.
5672 (top level): Run new "info-inferiors" tests.
5673
f3c469b9
PA
56742020-01-10 Pedro Alves <palves@redhat.com>
5675
5676 * gdb.server/bkpt-other-inferior.exp: New file.
5677
121b3efd
PA
56782020-01-10 Pedro Alves <palves@redhat.com>
5679
5680 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5681 of "add-inferior".
5682 * gdb.base/quit-live.exp: Likewise.
5683 * gdb.base/remote-exec-file.exp: Likewise.
5684 * gdb.guile/scm-progspace.exp: Likewise.
5685 * gdb.linespec/linespec.exp: Likewise.
5686 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5687 * gdb.mi/user-selected-context-sync.exp: Likewise.
5688 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5689 "info inferiors" tests.
5690 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5691 "add-inferior".
5692 * gdb.multi/watchpoint-multi.exp: Likewise.
5693 * gdb.python/py-inferior.exp: Likewise.
5694 * gdb.server/extended-remote-restart.exp: Likewise.
5695 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5696 "info inferiors".
5697 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5698 * gdb.trace/report.exp: Likewise.
5699
1dadb1dd
PA
57002020-01-10 Pedro Alves <palves@redhat.com>
5701
5702 * gdb.multi/multi-target.c: New file.
5703 * gdb.multi/multi-target.exp: New file.
5704 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5705 mode requested, but remote does not support non-stop".
5706
78f2c40a
PA
57072020-01-10 Pedro Alves <palves@redhat.com>
5708
5709 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5710 disconnect before reconnecting.
5711
e7af6c70
TBA
57122020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5713 Pedro Alves <palves@redhat.com>
5714
5715 * gdb.server/connect-without-multi-process.exp: Also test
5716 continuing to end.
5717
acdf84a6
PA
57182020-01-10 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.base/remote-exec-file.exp: New file.
5721
873657b9
PA
57222020-01-10 Pedro Alves <palves@redhat.com>
5723
5724 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5725 output.
5726 * gdb.threads/async.c: New.
5727 * gdb.threads/async.exp: New.
5728 * gdb.multi/tids-gid-reset.c: New.
5729 * gdb.multi/tids-gid-reset.exp: New.
5730
7f0ae84c
GB
57312020-01-10 George Barrett <bob@bob131.so>
5732
5733 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5734 to help in finding the image relocation offset.
5735 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5736 options in arguments.
5737 (stap_test_no_debuginfo): Likewise.
5738 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5739 test variants.
5740 (stap_test): Add null semaphore relocation test.
5741
47e9d49d
GB
57422020-01-10 George Barrett <bob@bob131.so>
5743
5744 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5745 * gdb.base/stap-probe.exp: Likewise.
5746 (stap_test): Pass argument as an additional flag.
5747 (stap_test_no_debuginfo): Likewise.
5748 (stap_test): Check `info probes stap' output for semaphore
5749 addresses if the test binary is supposed to have them.
5750
f5a7c406
AB
57512020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5752
5753 * gdb.tui/basic.exp: Add more scrolling tests.
5754
9ae6bf64
TT
57552020-01-09 Tom Tromey <tom@tromey.com>
5756
5757 PR tui/18932:
5758 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5759 meangingful value.
5760 (Term::command, Term::resize): Update.
5761 * gdb.tui/basic.exp: Add scrolling test.
5762
b2efe70c
AB
57632020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5764
5765 * gdb.tui/tui-layout-asm.exp: New file.
5766
3804da7e
AB
57672020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5768
5769 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5770
b40aa28f
AB
57712020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5772
5773 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5774 (Term::enter_tui): Use Term::prepare_for_tui.
5775
63ffd7c9
AB
57762020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5777
5778 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5779 called.
5780
3be966f6
AB
57812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5782
5783 * gdb.base/skip.exp: Fix race condition in test.
5784
153d79c4
AB
57852020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5786
5787 * gdb.base/backtrace.c: New file.
5788 * gdb.base/backtrace.exp: New file.
5789
f2302a34
AB
57902020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5791
5792 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5793
6ec1d75e
PW
57942020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5795
5796 * gdb.base/style.exp: Test that warnings are styled.
5797
c296cbe6
BE
57982019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5799
5800 * gdb.base/line65535.exp: New file.
5801 * gdb.base/line65535.c: New file.
5802
b28a729d
SM
58032019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5804
5805 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5806 * lib/gnat_debug_info_test.adb: New file.
5807 * gdb.ada/ptype_tagged_param.exp: Use
5808 gnat_runtime_has_debug_info, expect a different output if
5809 runtime does not have debug info.
5810
7f2d7a0d
SM
58112019-12-20 Simon Marchi <simon.marchi@efficios.com>
5812
5813 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5814 (another) quote in test name.
5815
f3bce483
SM
58162019-12-20 Simon Marchi <simon.marchi@efficios.com>
5817
5818 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5819 Add quote in test name.
5820
c855a912
TBA
58212019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5822
5823 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5824 directory instead.
5825 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5826 * gdb.cp/pass-by-ref-2.cc: New file.
5827 * gdb.cp/pass-by-ref-2.exp: New file.
5828
fc9d2d72
TT
58292019-12-20 Tom Tromey <tom@tromey.com>
5830
5831 * gdb.tui/list-before.exp: New file.
5832
77b97e00
TT
58332019-12-20 Tom Tromey <tom@tromey.com>
5834
5835 * gdb.tui/list.exp: Check for source on initial listing.
5836
f69656d0
TT
58372019-12-11 Tom Tromey <tromey@adacore.com>
5838
5839 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5840 Add crlf test.
5841
99a55965
SM
58422019-12-18 Simon Marchi <simon.marchi@efficios.com>
5843
5844 * gdb.base/default.exp: Update value of $_gdb_major.
5845
5024637f
BE
58462019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5847
5848 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5849
b63634be
BE
58502019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5851
5852 * gdb.base/skip.exp: Whitespace fix.
5853
45d73523
BE
58542019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5855
5856 * gdb.base/skip-inline.c: New file.
5857 * gdb.base/skip-inline.exp: New file.
5858
d043f8c8
SM
58592019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5860
5861 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5862 jit_function_00 to jit_function_stack_mangle.
5863 * gdb.base/jithost.c (jit_function_t): Rename to...
5864 (jit_function_stack_mangle_t): ... this.
5865 (jit_function_add_t): New typedef.
5866 (jit_function_00_code): Rename to...
5867 (jit_function_stack_mangle_code): ... this, make static.
5868 (jit_function_add_code): New.
5869 (main): Generate "add" function and call it. Adjust to changes
5870 in jithost_abi.
5871 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5872 (struct jithost_abi) <begin, end>: Remove fields.
5873 <object, function_stack_mangle, function_add>: New fields.
5874 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5875 code_end>: Remove fields.
5876 <func_stack_mangle>: New field.
5877 (read_debug_info): Adjust to renaming, create block for "add"
5878 function.
5879 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5880
873de05c
TT
58812019-12-11 Tom Tromey <tom@tromey.com>
5882
5883 * gdb.tui/resize.exp: Fix regexp.
5884 * gdb.tui/regs.exp: Fix regexps.
5885 * gdb.tui/main.exp: Fix regexp.
5886
3d979945
TT
58872019-12-11 Tom Tromey <tom@tromey.com>
5888
5889 * gdb.tui/resize.exp: Update.
5890 * gdb.tui/empty.exp (layouts): Update.
5891
2192a9d3
TT
58922019-12-11 Tom Tromey <tom@tromey.com>
5893
5894 * gdb.tui/regs.exp: Update.
5895 * gdb.tui/empty.exp (layouts): Update.
5896 * gdb.tui/basic.exp: Update.
5897 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5898
d8edc8b7
PW
58992019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5900
5901 * gdb.base/options.exp: Add -raw-values in the print completion list.
5902 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5903
4c12d936
KB
59042019-12-10 Kevin Buettner <kevinb@redhat.com>
5905
5906 * gdb.threads/omp-par-scope.c: New file.
5907 * gdb/threads/omp-par-scope.exp: New file.
5908
26b911fb
KB
59092019-12-10 Kevin Buettner <kevinb@redhat.com>
5910
bb47f919
KB
5911 * lib/gdb.exp (support_nested_function_tests): New proc.
5912
59132019-12-10 Kevin Buettner <kevinb@redhat.com>
5914
5915 * lib/gdb.exp (gdb_compile_openmp): New proc.
5916 (build_executable_from_specs): Add an "openmp" option.
5917 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5918
6c71eb7d
TT
59192019-12-10 Tom Tromey <tromey@adacore.com>
5920
5921 * gdb.ada/unchecked_union.exp: New file.
5922 * gdb.ada/unchecked_union/pck.adb: New file.
5923 * gdb.ada/unchecked_union/pck.ads: New file.
5924 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5925 * gdb-utils.exp (string_to_regexp): Also quote "?".
5926
bac7c5cf
GB
59272019-12-10 George Barrett <bob@bob131.so>
5928
5929 Test scripted probe breakpoints.
5930 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5931 * gdb.python/py-breakpoint.c (main): Likewise.
5932 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5933 specifier test.
5934 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5935
330f1d38
TBA
59362019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5937
5938 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5939 an rvalue parameter.
5940 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5941 parameter.
5942
b43315e2
AB
59432019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5944
5945 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5946 modules.
5947
54f73dad
AB
59482019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5949
5950 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5951 broken version of GCC.
5952
d57cbee9
AB
59532019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5954
5955 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5956 sym-info-cmds library.
5957 * gdb.fortran/info-types.exp: Likewise.
5958 * lib/sym-info-cmds.exp: New file.
5959
c14aab8c
TV
59602019-12-08 Tom de Vries <tdevries@suse.de>
5961
5962 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5963
aa2d5a42
KS
59642019-12-07 Keith Seitz <keiths@redhat.com>
5965
5966 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5967 * gdb.base/corefile-buildid-shlib.c: New file.
5968 * gdb.base/corefile-buildid.c: New file.
5969 * gdb.base/corefile-buildid.exp: New file.
5970
93e55f0a
TV
59712019-12-06 Tom de Vries <tdevries@suse.de>
5972
5973 * gdb.dwarf2/varval.exp: Add decl before def test.
5974
c7d12402
TBA
59752019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5976
5977 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5978
06acc08f
TBA
59792019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5980
5981 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5982 CV and reference conversion for overload resolution.
5983 * gdb.cp/rvalue-ref-overload.exp: Test it.
5984
e0fad1ea
PW
59852019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5986
5987 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5988 * gdb.base/frameapply.exp: Test faas without command.
5989
8d70a9f0
AB
59902019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5991
5992 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5993 Fortran tests.
5994 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5995 order.
5996
36c8fb93
AB
59972019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5998
5999 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6000 casting to type with no kind specified.
6001 (test_basic_parsing_of_type_kinds): Additional tests for types
6002 with no kind specified, and add tests for single/double
6003 precision/complex types.
6004
4139ff00
TT
60052019-12-04 Tom Tromey <tromey@adacore.com>
6006
6007 * gdb.base/endianity.c (struct other) <x>: New field.
6008 (main): Initialize it.
6009 * gdb.base/endianity.exp: Update.
6010
a05cf17a
TT
60112019-12-04 Tom Tromey <tromey@adacore.com>
6012
6013 * gdb.ada/scalar_storage/storage.adb: New file.
6014 * gdb.ada/scalar_storage/pck.adb: New file.
6015 * gdb.ada/scalar_storage/pck.ads: New file.
6016 * gdb.ada/scalar_storage.exp: New file.
6017
103a685e
TT
60182019-12-04 Tom Tromey <tromey@adacore.com>
6019
6020 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6021 (main): Initialize it.
6022 * gdb.base/endianity.exp: Update.
6023
c2512106
AB
60242019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6025
6026 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6027
293b38d6
AB
60282019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6029
6030 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6031 -symbol-info-module-functions and -symbol-info-module-variables.
6032
216a7e6b
AB
60332019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6034
6035 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6036
5bbd8269
AB
60372019-12-01 Richard Bunt <richard.bunt@arm.com>
6038 Andrew Burgess <andrew.burgess@embecosm.com>
6039
6040 * gdb.fortran/derived-type-striding.exp: New file.
6041 * gdb.fortran/derived-type-striding.f90: New file.
6042 * gdb.fortran/array-slices.exp: New file.
6043 * gdb.fortran/array-slices.f90: New file.
6044
be09caf1
PW
60452019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6046
6047 * gdb.base/define.exp: Test . in command names.
6048 * gdb.base/setshow.exp: Update test, as . is now part of
6049 command name.
6050
643c0cbe
PW
60512019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6052
6053 * gdb.base/define-prefix.exp: New file.
6054
dcdec678
AB
60552019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6056
6057 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6058 compile.
6059 (skip_btrace_pt_tests): Likewise.
6060
640ab947
AB
60612019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6062
6063 * gdb.fortran/info-modules.exp: Compile source files in correct
6064 order.
6065
d22670f0
KB
60662019-11-27 Kevin Buettner <kevinb@redhat.com>
6067
6068 * gdb.dwarf2/imported-unit.exp: New file.
6069 * gdb.dwarf2/imported-unit.c: New file.
6070
db5960b4
AB
60712019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6072
6073 * gdb.mi/mi-fortran-modules-2.f90: New file.
6074 * gdb.mi/mi-fortran-modules.exp: New file.
6075 * gdb.mi/mi-fortran-modules.f90: New file.
6076
7dc42066
AB
60772019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6078
6079 * gdb.mi/mi-sym-info-1.c: New file.
6080 * gdb.mi/mi-sym-info-2.c: New file.
6081 * gdb.mi/mi-sym-info.exp: New file.
6082
0dfeecca
TT
60832019-11-22 Tom Tromey <tromey@adacore.com>
6084
6085 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6086 * gdb.ada/tasks/foo.adb: Add another stopping location.
6087
34877895
PJ
60882019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6089
6090 * gdb.base/endianity.c: New test.
6091 * gdb.base/endianity.exp: New file.
6092
2e84f897
LD
60932019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6094
6095 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6096
65d1cd5f
TV
60972019-11-21 Tom de Vries <tdevries@suse.de>
6098
6099 PR gdb/24956
6100 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6101
4f22c3f4
SDJ
61022019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6103
6104 * gdb.python/py-progspace.exp: Add missing parentheses on some
6105 'print' commands.
6106
9f6ad286
TT
61072019-11-19 Tom Tromey <tom@tromey.com>
6108
6109 * gdb.tui/winheight.exp: New file.
6110
0b8dbf3f
AB
61112019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6112
6113 * gdb.base/ctf-whatis.c: Delete.
6114 * gdb.base/ctf-whatis.exp: Delete.
6115 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6116
f833b7a7
AB
61172019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6118
6119 * gdb.base/ctf-cvexpr.exp: Delete.
6120 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6121
30d0a636
AB
61222019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6123
6124 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6125 the compiler. Clean up header comment a little.
6126 * gdb.base/ctf-ptype.exp: Likewise.
6127 * gdb.base/ctf-whatis.exp: Likewise.
6128 * lib/gdb.exp (skip_ctf_tests): New proc.
6129
494409bb
SDJ
61302019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6131
6132 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6133 * gdb.tui/corefile-run.exp: New file.
6134
55708e99
TT
61352019-11-14 Tom Tromey <tromey@adacore.com>
6136
6137 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6138 regression tests.
6139
45e42163
TT
61402019-11-12 Tom Tromey <tom@tromey.com>
6141
6142 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6143 after any command. Expect prompt after WAIT_FOR is seen.
6144 (enter_tui): Enable resize messages.
6145 (command): Expect command in output.
6146 (get_line): Avoid error when cursor appears to be off-screen.
6147 (dump_screen): Include screen size in title.
6148 (_do_resize): New proc, from "resize".
6149 (resize): Rewrite. Do resize in two steps.
6150 * gdb.tui/empty.exp (layouts): Fix entries.
6151 (check_boxes): Remove xfail.
6152 (check_text): Dump screen on failure.
6153
086baaf1
AB
61542019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6155
6156 * gdb.python/py-symbol.exp: Add test for
6157 gdb.lookup_static_symbols.
6158
09ff83af
AB
61592019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6160
6161 * gdb.python/py-symbol.c: Declare and call function from new
6162 py-symbol-2.c file.
6163 * gdb.python/py-symbol.exp: Compile both source files, and add new
6164 tests for gdb.lookup_static_symbol.
6165 * gdb.python/py-symbol-2.c: New file.
6166
11af934b
TV
61672019-11-02 Tom de Vries <tdevries@suse.de>
6168
6169 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6170 * gdb.base/anon.exp: Same.
6171 * gdb.base/auto-connect-native-target.exp: Same.
6172 * gdb.base/call-ar-st.exp: Same.
6173 * gdb.base/catch-syscall.exp: Same.
6174 * gdb.base/commands.exp: Same.
6175 * gdb.base/default.exp: Same.
6176 * gdb.base/display.exp: Same.
6177 * gdb.base/float.exp: Same.
6178 * gdb.base/foll-fork.exp: Same.
6179 * gdb.base/help.exp: Same.
6180 * gdb.base/info-macros.exp: Same.
6181 * gdb.base/info-proc.exp: Same.
6182 * gdb.base/info-target.exp: Same.
6183 * gdb.base/long_long.exp: Same.
6184 * gdb.base/macscp.exp: Same.
6185 * gdb.base/memattr.exp: Same.
6186 * gdb.base/nofield.exp: Same.
6187 * gdb.base/pointers.exp: Same.
6188 * gdb.base/printcmds.exp: Same.
6189 * gdb.base/ptype.exp: Same.
6190 * gdb.base/restore.exp: Same.
6191 * gdb.base/return.exp: Same.
6192 * gdb.base/scope.exp: Same.
6193 * gdb.base/set-noassign.exp: Same.
6194 * gdb.base/setshow.exp: Same.
6195 * gdb.base/shlib-call.exp: Same.
6196 * gdb.base/signals.exp: Same.
6197 * gdb.base/sigstep.exp: Same.
6198 * gdb.base/skip.exp: Same.
6199 * gdb.base/solib-symbol.exp: Same.
6200 * gdb.base/stap-probe.exp: Same.
6201 * gdb.base/step-line.exp: Same.
6202 * gdb.base/step-test.exp: Same.
6203 * gdb.base/style.exp: Same.
6204 * gdb.base/varargs.exp: Same.
6205 * gdb.base/vla-datatypes.exp: Same.
6206 * gdb.base/vla-ptr.exp: Same.
6207 * gdb.base/vla-sideeffect.exp: Same.
6208 * gdb.base/volatile.exp: Same.
6209 * gdb.base/watch-cond-infcall.exp: Same.
6210 * gdb.base/watchpoint.exp: Same.
6211
e96ec2ba
TV
62122019-11-02 Tom de Vries <tdevries@suse.de>
6213
6214 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6215 * gdb.cp/cpexprs.exp: Same.
6216 * gdb.cp/except-multi-location.exp: Same.
6217 * gdb.cp/exceptprint.exp: Same.
6218 * gdb.cp/gdb2384.exp: Same.
6219 * gdb.cp/inherit.exp: Same.
6220 * gdb.cp/m-static.exp: Same.
6221 * gdb.cp/meth-typedefs.exp: Same.
6222 * gdb.cp/misc.exp: Same.
6223 * gdb.cp/namespace.exp: Same.
6224 * gdb.cp/non-trivial-retval.exp: Same.
6225 * gdb.cp/overload.exp: Same.
6226 * gdb.cp/pr17132.exp: Same.
6227 * gdb.cp/re-set-overloaded.exp: Same.
6228 * gdb.cp/rvalue-ref-types.exp: Same.
6229 * gdb.cp/templates.exp: Same.
6230
bd5766ec
LM
62312019-11-01 Luis Machado <luis.machado@linaro.org>
6232
6233 PR gdb/25124
6234
6235 * gdb.arch/pr25124.S: New file.
6236 * gdb.arch/pr25124.exp: New file.
6237
165f8965
AB
62382019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6239
6240 * gdb.fortran/info-modules.exp: Update expected results, and add
6241 additional tests for 'info module functinos', and 'info module
6242 variables'.
6243 * gdb.fortran/info-types.exp: Update expected results.
6244 * gdb.fortran/info-types.f90: Extend testcase with additional
6245 module variables and functions.
6246
59c35742
AB
62472019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6248
6249 * gdb.fortran/info-modules.exp: New file.
6250 * gdb.fortran/info-types.exp: Build with new file.
6251 * gdb.fortran/info-types.f90: Include and use new module.
6252 * gdb.fortran/info-types-2.f90: New file.
6253
f3fb2519
PW
62542019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6255
6256 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6257 * gdb.base/settings.exp: Test all settings types using
6258 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6259 that now verifies that the value of "maint show" is the same as
6260 returned by the settings functions. Test the type of the
6261 maintenance settings.
6262 * gdb.base/default.exp: Update show_conv_list.
6263
d1e36019
TV
62642019-10-31 Tom de Vries <tdevries@suse.de>
6265
6266 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6267 gdb_test.
6268 * gdb.arch/amd64-disp-step.exp: Same.
6269 * gdb.asm/asm-source.exp: Same.
6270 * gdb.btrace/buffer-size.exp: Same.
6271 * gdb.btrace/cpu.exp: Same.
6272 * gdb.btrace/enable.exp: Same.
6273 * gdb.dwarf2/count.exp: Same.
6274 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6275 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6276 * gdb.fortran/vla-datatypes.exp: Same.
6277 * gdb.fortran/vla-history.exp: Same.
6278 * gdb.fortran/vla-ptype.exp: Same.
6279 * gdb.fortran/vla-value.exp: Same.
6280 * gdb.fortran/whatis_type.exp: Same.
6281 * gdb.guile/guile.exp: Same.
6282 * gdb.multi/tids.exp: Same.
6283 * gdb.python/py-finish-breakpoint.exp: Same.
6284 * gdb.python/py-framefilter.exp: Same.
6285 * gdb.python/py-pp-registration.exp: Same.
6286 * gdb.python/py-xmethods.exp: Same.
6287 * gdb.python/python.exp: Same.
6288 * gdb.server/connect-with-no-symbol-file.exp: Same.
6289 * gdb.server/no-thread-db.exp: Same.
6290 * gdb.server/run-without-local-binary.exp: Same.
6291 * gdb.stabs/weird.exp: Same.
6292 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6293 * gdb.threads/thread-find.exp: Same.
6294 * gdb.threads/tls-shared.exp: Same.
6295 * gdb.threads/tls.exp: Same.
6296 * gdb.threads/wp-replication.exp: Same.
6297 * gdb.trace/ax.exp: Same.
6298 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6299
3d11e68e
TV
63002019-10-31 Tom de Vries <tdevries@suse.de>
6301
6302 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6303 * gdb.ada/array_subscript_addr.exp: Same.
6304 * gdb.ada/arrayidx.exp: Same.
6305 * gdb.ada/arrayparam.exp: Same.
6306 * gdb.ada/arrayptr.exp: Same.
6307 * gdb.ada/boolean_expr.exp: Same.
6308 * gdb.ada/call_pn.exp: Same.
6309 * gdb.ada/complete.exp: Same.
6310 * gdb.ada/fixed_cmp.exp: Same.
6311 * gdb.ada/fun_addr.exp: Same.
6312 * gdb.ada/funcall_param.exp: Same.
6313 * gdb.ada/interface.exp: Same.
6314 * gdb.ada/mod_from_name.exp: Same.
6315 * gdb.ada/null_array.exp: Same.
6316 * gdb.ada/packed_array.exp: Same.
6317 * gdb.ada/packed_tagged.exp: Same.
6318 * gdb.ada/print_chars.exp: Same.
6319 * gdb.ada/print_pc.exp: Same.
6320 * gdb.ada/ptype_arith_binop.exp: Same.
6321 * gdb.ada/ptype_field.exp: Same.
6322 * gdb.ada/ptype_tagged_param.exp: Same.
6323 * gdb.ada/rec_return.exp: Same.
6324 * gdb.ada/ref_tick_size.exp: Same.
6325 * gdb.ada/str_ref_cmp.exp: Same.
6326 * gdb.ada/taft_type.exp: Same.
6327 * gdb.ada/tagged.exp: Same.
6328 * gdb.ada/type_coercion.exp: Same.
6329 * gdb.ada/uninitialized_vars.exp: Same.
6330
60b6ede8
TV
63312019-10-30 Tom de Vries <tdevries@suse.de>
6332
6333 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6334
30baf67b
TV
63352019-10-26 Tom de Vries <tdevries@suse.de>
6336
6337 * gdb.base/bigcore.c: Fix typos in comments.
6338 * gdb.base/ctf-ptype.c: Same.
6339 * gdb.base/long_long.c: Same.
6340 * gdb.dwarf2/dw2-op-out-param.S: Same.
6341 * gdb.python/py-evthreads.c: Same.
6342 * gdb.reverse/i387-stack-reverse.c: Same.
6343 * gdb.trace/tfile.c: Same.
6344 * lib/compiler.c: Same.
6345 * lib/compiler.cc: Same.
6346
158da0d1
TV
63472019-10-25 Tom de Vries <tdevries@suse.de>
6348
6349 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6350 gdb_test_multiple calls.
6351 * gdb.reverse/sigall-reverse.exp: Same.
6352 * gdb.reverse/solib-precsave.exp: Same.
6353 * gdb.reverse/solib-reverse.exp: Same.
6354 * gdb.reverse/until-precsave.exp: Same.
6355 * gdb.reverse/until-reverse.exp: Same.
6356
4ccdfbec
TV
63572019-10-24 Tom de Vries <tdevries@suse.de>
6358
6359 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6360 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6361 kfail using -wrap pattern flag and convenience variable
6362 gdb_test_name.
6363
33d569b7
AB
63642019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6365
6366 * gdb.python/py-progspace.exp: Add tests for the
6367 Progspace.block_for_pc method.
6368
4d0b984b
TT
63692019-10-23 Tom Tromey <tom@tromey.com>
6370
6371 * configure: Rebuild.
6372 * aclocal.m4: Use m4_include, not sinclude.
6373
94cb3754
TV
63742019-10-21 Tom de Vries <tdevries@suse.de>
6375
6376 * gdb.base/infcall-nested-structs.c: Add
6377 __attribute__((noinline,noclone)) to all functions.
6378 (call_all): Add missing variable initialization. Simplify return value.
6379 (breakpt): Increment volatile variable, to prevent call from being
6380 optimized out.
6381 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6382
062f1fc1
TV
63832019-10-17 Tom de Vries <tdevries@suse.de>
6384
6385 * gdb.fortran/module.exp: Allow info variables to print info for files
6386 other than module.f90.
6387
0b54364d
AB
63882019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6389
6390 * gdb.fortran/module.exp: Extend with 'info variables' test.
6391
7ff5fae7
AB
63922019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6393
6394 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6395 F77_FOR_TARGET.
6396
d10eccaa
TV
63972019-10-16 Tom de Vries <tdevries@suse.de>
6398
6399 PR tdep/25096
6400 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6401
745ff14e
TV
64022019-10-16 Tom de Vries <tdevries@suse.de>
6403
6404 PR tdep/24104
6405 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6406 Add KFAIL for PR tdep/25096.
6407
03e1ab94
TV
64082019-10-16 Tom de Vries <tdevries@suse.de>
6409
6410 PR testsuite/25059
6411 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6412
b17fcc10
TV
64132019-10-16 Tom de Vries <tdevries@suse.de>
6414
6415 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6416 as signed.
6417
9223170f
SM
64182019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6419
6420 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6421 one instead of increasing timeout.
6422
d6e76313
TV
64232019-10-13 Tom de Vries <tdevries@suse.de>
6424
6425 PR record/25038
6426 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6427 * gdb.reverse/sigall-reverse.exp: Same.
6428 * gdb.reverse/solib-precsave.exp: Same.
6429 * gdb.reverse/solib-reverse.exp: Same.
6430 * gdb.reverse/step-precsave.exp: Same.
6431 * gdb.reverse/until-precsave.exp: Same.
6432 * gdb.reverse/until-reverse.exp: Same.
6433 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6434
6dfc0041
AA
64352019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6436
6437 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6438 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6439 (cmp_struct_05_01, cmp_struct_static_02_01)
6440 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6441 comparisons.
6442
abcf2cc8
TV
64432019-10-10 Tom de Vries <tdevries@suse.de>
6444
6445 PR testsuite/24888
6446 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6447 gnatlink.
6448
a50faaf6
TV
64492019-10-09 Tom de Vries <tdevries@suse.de>
6450
6451 PR testsuite/25048
6452 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6453
60ff3cd7
AB
64542019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6455
6456 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6457 exceptions due to missing debug information.
6458
dfee8566
TV
64592019-10-07 Tom de Vries <tdevries@suse.de>
6460
6461 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6462
3d63690a
AB
64632019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6464
6465 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6466 * gdb.base/annota1.exp: Update to use gdb_test_name.
6467
30d1f018
WP
64682019-10-07 Weimin Pan <weimin.pan@oracle.com>
6469
6470 * gdb.base/ctf-whatis.exp: New file.
6471 * gdb.base/ctf-whatis.c: New file.
6472 * gdb.base/ctf-ptype.exp: New file.
6473 * gdb.base/ctf-ptype.c: New file.
6474 * gdb.base/ctf-constvars.exp: New file.
6475 * gdb.base/ctf-constvars.c: New file.
6476 * gdb.base/ctf-cvexpr.exp: New file.
6477
4dbbb47c
TV
64782019-10-04 Tom de Vries <tdevries@suse.de>
6479
6480 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6481 for loop.
6482
77c2dba3
TT
64832019-10-03 Tom Tromey <tom@tromey.com>
6484
6485 PR rust/24976:
6486 * gdb.rust/simple.rs (Union2): New type.
6487 (main): Use Union2.
6488 * gdb.rust/simple.exp: Add test.
6489
179aed7f
AB
64902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6491
6492 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6493 nested function prefix.
6494
0a4b0913
AB
64952019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6496 Richard Bunt <richard.bunt@arm.com>
6497 Andrew Burgess <andrew.burgess@embecosm.com>
6498
6499 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6500 nested functions.
6501 * gdb.fortran/nested-funcs.f90: Update expected results.
6502 * gdb.fortran/nested-funcs-2.exp: New file.
6503 * gdb.fortran/nested-funcs-2.f90: New file.
6504
082cce05
AB
65052019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6506
6507 * gdb.python/py-parameter.exp: Make test names unique.
6508 * gdb.python/py-template.exp: Likewise.
6509 * gdb.python/py-value.exp: Likewise.
6510
2b74ba5a
AB
65112019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6512
6513 * gdb.base/break-interp.exp: Reduce test name duplication.
6514 * gdb.base/call-sc.exp: Likewise.
6515 * gdb.base/callfuncs.exp: Likewise.
6516 * gdb.base/charset.exp: Likewise.
6517 * gdb.base/dump.exp: Likewise.
6518 * gdb.base/ena-dis-br.exp: Likewise.
6519 * gdb.base/relational.exp: Likewise.
6520 * gdb.base/step-over-syscall.exp: Likewise.
6521 * gdb.base/structs.exp: Likewise.
6522
58eb20d5
AB
65232019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6524
6525 * gdb.linespec/explicit.exp: Make test names unique.
6526 * gdb.linespec/ls-errs.exp: Likewise.
6527
4d421147
AB
65282019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6529
6530 * gdb.reverse/break-precsave.exp: Make test names unique.
6531 * gdb.reverse/break-reverse.exp: Likewise.
6532 * gdb.reverse/finish-precsave.exp: Likewise.
6533 * gdb.reverse/finish-reverse.exp: Likewise.
6534 * gdb.reverse/machinestate-precsave.exp: Likewise.
6535 * gdb.reverse/machinestate.exp: Likewise.
6536 * gdb.reverse/readv-reverse.exp: Likewise.
6537 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6538 * gdb.reverse/sigall-precsave.exp: Likewise.
6539 * gdb.reverse/sigall-reverse.exp: Likewise.
6540 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6541 * gdb.reverse/watch-precsave.exp: Likewise.
6542 * gdb.reverse/watch-reverse.exp: Likewise.
6543
d8c06f22
AB
65442019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6545
6546 * gdb.threads/stop-with-handle.c: New file.
6547 * gdb.threads/stop-with-handle.exp: New file.
6548
3a56ed86
TV
65492019-10-03 Tom de Vries <tdevries@suse.de>
6550
6551 PR testsuite/25059
6552 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6553 directory" line to be missing.
6554
42275044
TV
65552019-10-03 Tom de Vries <tdevries@suse.de>
6556
6557 PR testsuite/25059
6558 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6559 type optional.
6560
9ef62df0
AA
65612019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6562
6563 * gdb.python/py-format-string.c (string.h): New include.
6564 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6565 the same value, for endianness-independence.
6566 * gdb.python/py-format-string.exp (default_regexp_dict)
6567 (test_pretty_structs, test_format): Adjust expected output to the
6568 changed initialization.
6569
37f6a7f4
TT
65702019-10-02 Tom Tromey <tromey@adacore.com>
6571
6572 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6573
1d58d6a2
PA
65742019-10-02 Pedro Alves <palves@redhat.com>
6575 Andrew Burgess <andrew.burgess@embecosm.com>
6576
6577 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6578 "print-file-var.h".
6579 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6580 (get_version_1): Print this_version_id and its address.
6581 Add extern "C" wrappers around interface functions.
6582 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6583 "print-file-var.h".
6584 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6585 (get_version_2): Print this_version_id and its address.
6586 Add extern "C" wrappers around interface functions.
6587 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6588 <stddef.h> and "print-file-var.h".
6589 Add extern "C" wrappers around interface functions.
6590 [VERSION_ID_MAIN] (this_version_id): Define.
6591 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6592 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6593 up extern "C" blocks.
6594 * gdb.base/print-file-var.exp (test): New, factored out from top
6595 level.
6596 (top level): Test all combinations of attribute hidden or not,
6597 dlopen or not, and this_version_id symbol in main file or not.
6598 Compile tests as both C++ and C, make test names unique.
6599
d770d56f
TT
66002019-10-01 Tom Tromey <tom@tromey.com>
6601
6602 * gdb.base/style.exp: Test "show logging filename".
6603
7f6aba03
TT
66042019-10-01 Tom Tromey <tom@tromey.com>
6605
6606 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6607 * gdb.base/style.exp: Add metadata style test.
6608
14309bb6
TT
66092019-10-01 Tom Tromey <tom@tromey.com>
6610
6611 * gdb.base/style.exp: Test "pwd".
6612
2a3c1174
PA
66132019-10-01 Tom Tromey <tom@tromey.com>
6614
6615 * gdb.base/style.exp: Update tests.
6616
53d666ec
AA
66172019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6618
6619 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6620 'six' to unsigned.
6621 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6622 'five'. Use an all-ones bit pattern for each.
6623 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6624 to its changed values.
6625
4a56a520
TT
66262019-09-30 Tom Tromey <tromey@adacore.com>
6627
6628 * gdb.rust/traits.rs: Disable all warnings.
6629
0df0352a
TV
66302019-09-29 Tom de Vries <tdevries@suse.de>
6631
aac66a4c 6632 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6633
73d9a918
TV
66342019-09-29 Tom de Vries <tdevries@suse.de>
6635
6636 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6637
060b3ab4
TV
66382019-09-27 Tom de Vries <tdevries@suse.de>
6639
6640 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6641
68f7d34d
TV
66422019-09-27 Tom de Vries <tdevries@suse.de>
6643
6644 PR record/23188
6645 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6646
5d63b30a
TT
66472019-09-26 Tom Tromey <tromey@adacore.com>
6648
6649 * gdb.ada/py_taft.exp: New file.
6650 * gdb.ada/py_taft/main.adb: New file.
6651 * gdb.ada/py_taft/pkg.adb: New file.
6652 * gdb.ada/py_taft/pkg.ads: New file.
6653
3d435220
TV
66542019-09-24 Tom de Vries <tdevries@suse.de>
6655
6656 PR gdb/24598
6657 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6658
77d03678
TV
66592019-09-22 Tom de Vries <tdevries@suse.de>
6660
6661 * gdb.base/restore.exp: Allow register variables to be optimized out at
6662 -O0.
6663
abf516c6
UW
66642019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6665
6666 * gdb.arch/spu-info.exp: Remove file.
6667 * gdb.arch/spu-info.c: Remove file.
6668 * gdb.arch/spu-ls.exp: Remove file.
6669 * gdb.arch/spu-ls.c: Remove file.
6670
6671 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6672 * gdb.asm/spu.inc: Remove file.
6673
6674 * gdb.base/dump.exp: Remove support for spu*-*-*.
6675 * gdb.base/stack-checking.exp: Likewise.
6676 * gdb.base/overlays.exp: Likewise.
6677 * gdb.base/ovlymgr.c: Likewise.
6678 * gdb.base/spu.ld: Remove file.
6679
6680 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6681 * gdb.cp/cpexprs.exp: Likewise.
6682 * gdb.cp/exception.exp: Likewise.
6683 * gdb.cp/gdb2495.exp: Likewise.
6684 * gdb.cp/mb-templates.exp: Likewise.
6685 * gdb.cp/pr9167.exp: Likewise.
6686 * gdb.cp/userdef.exp: Likewise.
6687
6688 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6689
6690 * gdb.cell: Remove directory.
6691 * lib/cell.exp: Remove file.
6692
e452e88f
TV
66932019-09-19 Tom de Vries <tdevries@suse.de>
6694
6695 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6696
8a625130
TV
66972019-09-19 Tom de Vries <tdevries@suse.de>
6698
6699 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6700
81dc3ab5
TV
67012019-09-19 Tom de Vries <tdevries@suse.de>
6702
6703 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6704 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6705 (gdb_target_cmd): ... here.
6706 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6707 value 2.
6708
b078f3ac
AB
67092019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6710
6711 * gdb.base/source-dir.exp: Avoid having directory names in test
6712 names.
6713
f1b620e9
MG
67142019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6715
6716 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6717 directory.
6718
67f3ed6a
AB
67192019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6720
6721 * gdb.base/list-missing-source.exp: New file.
6722
d1b70248
TV
67232019-09-14 Tom de Vries <tdevries@suse.de>
6724
6725 PR teststuite/24599
6726 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6727 * lib/ada.exp (gnatmake_version_at_least): New proc.
6728
5fabdcd6
AB
67292019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6730
6731 * gdb.base/maint.exp: Use exec_has_index_section.
6732
aa17805f
AB
67332019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6734
6735 * gdb.base/maint.exp: Add test for 'maint info sections'.
6736
25e5c209
TV
67372019-09-12 Tom de Vries <tdevries@suse.de>
6738
6739 * gdb.base/store.exp: Allow register variables to be optimized out at
6740 -O0.
6741
4993045d
PW
67422019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6743
6744 * gdb.ada/rdv_wait.exp: Update to new task names.
6745 * gdb.base/task_switch_in_core.exp: Likewise.
6746 * gdb.base/info_sources_base.c: Likewise.
6747
8a516164
TT
67482019-09-10 Tom Tromey <tromey@adacore.com>
6749
6750 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6751
aa391654
TT
67522019-09-10 Tom Tromey <tromey@adacore.com>
6753
6754 * gdb.ada/dgopt.exp: New file.
6755 * gdb.ada/dgopt/x.adb: New file.
6756
8634b462
TT
67572019-09-08 Tom Tromey <tom@tromey.com>
6758
6759 * gdb.tui/resize.exp: Remove setup_xfail.
6760 * gdb.tui/regs.exp: Remove setup_xfail.
6761 * gdb.tui/basic.exp: Remove setup_xfail.
6762
736b0f76
DB
67632019-09-06 David Blaikie <dblaikie@gmail.com>
6764
6765 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6766 * gdb.cp/cplabel.exp: Ditto.
6767 * gdb.linespec/ls-errs.exp: Ditto.
6768
30331a6c
TV
67692019-09-05 Tom de Vries <tdevries@suse.de>
6770
6771 * lib/gdb.exp (cmp_file_string): New proc.
6772 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6773 runto_main. Verify save breakpoints output.
6774
98b0ebab
PW
67752019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6776
6777 * gdb.base/info-var.exp: Test info variables without running
6778 to main, to avoid expect's buffer overflow.
6779
4e962e74
TT
67802019-09-03 Tom Tromey <tromey@adacore.com>
6781
6782 * gdb.ada/bias.exp: New file.
6783 * gdb.ada/bias/bias.adb: New file.
6784 * gdb.ada/print_chars.exp: Add regression test.
6785 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6786 (MC): New variable.
6787
2ea1a07a
SL
67882019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6789
6790 * gdb.base/argv0-symlink.exp: Run only on native target
6791 and local host.
6792
8077c50d
TV
67932019-08-29 Tom de Vries <tdevries@suse.de>
6794
6795 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6796 diverse debug info.
6797 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6798
48352473
TV
67992019-08-28 Tom de Vries <tdevries@suse.de>
6800
6801 * gdb.base/info-var.exp: Allow info variables to print info for files
6802 other than info-var-f1.c and info-var-f2.c.
6803
d8f27c60
AB
68042019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6805
6806 * gdb.fortran/info-types.exp: Add module.
6807 * gdb.fortran/info-types.f90: Update expected results.
6808
1f20c35e
AB
68092019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6810
6811 * gdb.fortran/info-types.exp: New file.
6812 * gdb.fortran/info-types.f90: New file.
6813 * lib/fortran.exp (fortran_character1): New proc.
6814
4acfdd20
AB
68152019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6816
6817 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6818 functions'. Reindent as needed.
6819 * gdb.base/info-var-f1.c: New file.
6820 * gdb.base/info-var-f2.c: New file.
6821 * gdb.base/info-var.exp: New file.
6822 * gdb.base/info-var.h: New file.
6823
5c31b358
TV
68242019-08-26 Tom de Vries <tdevries@suse.de>
6825
6826 PR c++/24852
6827 * gdb.cp/no-libstdcxx-probe.exp: New test.
6828
b694989f
TV
68292019-08-26 Tom de Vries <tdevries@suse.de>
6830
6831 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6832 * tests need to be skipped.
6833 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6834 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6835 mi_skip_libstdcxx_probe_tests.
6836
d9c4ba53
SDJ
68372019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6838
6839 * gdb.python/py-xmethods.exp: Use raw strings when passing
6840 arguments to SimpleXMethodMatcher.
6841
395fad09
TV
68422019-08-22 Tom de Vries <tdevries@suse.de>
6843
6844 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6845 more informative.
6846
26c957f1
PA
68472019-08-21 Pedro Alves <palves@redhat.com>
6848
6849 * gdb.base/with.exp: Test "with" with no arguments.
6850
61f80d5d
TV
68512019-08-21 Tom de Vries <tdevries@suse.de>
6852
6853 * gdb.base/gdb-caching-proc.exp: Sort files.
6854
d7a11d13
TV
68552019-08-20 Tom de Vries <tdevries@suse.de>
6856
6857 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6858 compilation.
6859
34dafe9f
TV
68602019-08-16 Tom de Vries <tdevries@suse.de>
6861
6862 * gdb.base/compare-sections.exp ("after run to main"): Allow
6863 mismatched read-only sections for PIE executables.
6864
398fdd60
TT
68652019-08-16 Tom Tromey <tom@tromey.com>
6866
6867 * lib/tuiterm.exp (_csi_Z): New proc.
6868 * gdb.tui/basic.exp: Update window positions.
6869 * gdb.tui/empty.exp: Update window positions.
6870
d8f9e51c
SL
68712019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6872
6873 * gdb.base/examine-backward.exp: Correct regexp for
6874 "examine 3 bytes backward from ${address_zero}".
6875
3df505f6
TT
68762019-08-15 Tom Tromey <tom@tromey.com>
6877
6878 * gdb.tui/empty.exp: Enable resizing tests.
6879
272560b5
TT
68802019-08-15 Tom Tromey <tromey@adacore.com>
6881
6882 * gdb.ada/char_enum.exp: Add regression tests.
6883 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6884 and '0'.
6885 (Char, Gchar): Update.
6886 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6887
08235187
CB
68882019-08-15 Christian Biesinger <cbiesinger@google.com>
6889
6890 * gdb.python/python.exp: Expect a leading underscore on
6891 GdbOutput{,Error}File.
6892
22a2ab04
SL
68932019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6894
6895 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6896 Windows host.
6897
835b995b
SL
68982019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6899
6900 * gdb.base/batch-preserve-term-settings.exp
6901 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6902
97dd8e07
CB
69032019-08-15 Christian Biesinger <cbiesinger@google.com>
6904
6905 * lib/gdb.exp: When running on a mingw target, replace
6906 /x/ with x:/.
6907
75faf5c4
AH
69082019-08-14 Alan Hayward <alan.hayward@arm.com>
6909
6910 * gdb.arch/aarch64-prologue.c: New test.
6911 * gdb.arch/aarch64-prologue.exp: New file.
6912
abc6c00f
TV
69132019-08-13 Tom de Vries <tdevries@suse.de>
6914
6915 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6916 Thread.
6917
74c2c1f4
SL
69182019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6919
6920 * gdb.python/py-completion.exp: Download the .py file to the host
6921 and use its host pathname. Conditionalize tests that use
6922 tab completion and manipulate files on the build machine.
6923 * gdb.python/py-events.exp: Download the .py file to the host
6924 and use its host pathname.
6925 * gdb.python/py-evsignal.exp: Likewise.
6926 * gdb.python/py-evthreads.exp: Likewise.
6927 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6928 pathname syntax.
6929 * gdb.python/py-framefilter.exp: Download the .py file to the right
6930 place on the host. Match Windows pathname syntax.
6931 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6932 .py file to the host and use its host pathname.
6933 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6934 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6935 build pathname. Skip symlink test on Windows host. Add missing
6936 newline at end of file.
6937 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6938 and use its host pathname.
6939 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6940 * gdb.python/py-section-script.exp: Use host location of binfile
6941 on safe-path. Use correct path separator on Windows host.
6942 Reorder alternatives in gdb_test_multiple to prevent matching
6943 the wrong alternative on success.
6944 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6945
ca2589f3
PP
69462019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6947
6948 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6949 expect the GDB inferior to no longer immediately stop after
6950 being resumed with "signal SIGINT".
6951
020a839d
SL
69522019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6953
6954 * gdb.linespec/break-ask.exp: Generalize regexps to match
6955 Windows pathnames too.
6956
128d6509
TV
69572019-08-08 Tom de Vries <tdevries@suse.de>
6958
6959 PR testsuite/24862
6960 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6961
590042fc
PW
69622019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6963
6964 * gdb.base/style.exp: Update tests for help doc new invariants.
6965 * gdb.base/help.exp: Likewise.
6966
046bebe1
TT
69672019-08-06 Tom Tromey <tom@tromey.com>
6968
6969 * gdb.base/style.exp: Add disassemble test.
6970 * gdb.base/style.c (some_called_function): New function.
6971 (main): Use it.
6972
0b27c27d
CB
69732019-08-05 Christian Biesinger <cbiesinger@google.com>
6974
6975 * gdb.python/py-block.exp: Test dictionary access on blocks.
6976
580f1034
SM
69772019-08-05 Simon Marchi <simon.marchi@efficios.com>
6978
6979 PR gdb/24863
6980 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6981 -list-thread-groups --available test when running under
6982 check-read1.
6983
d86bd7cb
TV
69842019-08-05 Tom de Vries <tdevries@suse.de>
6985
6986 PR testsuite/24863
6987 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6988 * gdb.base/help.exp: Use with_read1_timeout_factor.
6989 * gdb.base/info-macros.exp: Same.
6990 * gdb.cp/nested-types.exp: Same.
6991
a80cf5d8
TV
69922019-08-05 Tom de Vries <tdevries@suse.de>
6993
6994 * lib/gdb.exp (version_at_least): Factor out of ...
6995 (tcl_version_at_least): ... here.
6996 (gdb_compile): Fail if pie results in non-PIE executable.
6997 (readelf_version, readelf_prints_pie): New proc.
6998 (exec_is_pie): Return -1 if unknown.
6999
d0962838
TV
70002019-08-05 Tom de Vries <tdevries@suse.de>
7001
7002 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7003
2252ff3d
SL
70042019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7005
7006 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7007
26655f53
SL
70082019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7009
7010 * lib/completion-support.exp (test_gdb_complete_none): Skip
7011 tab completion tests if no readline support.
7012 (test_gdb_complete_unique_re): Likewise.
7013 (test_gdb_complete_multiple): Likewise.
7014
db4dc13e
PW
70152019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7016
7017 * gdb.base/info_sources.exp: New file.
7018 * gdb.base/info_sources.c: New file.
7019 * gdb.base/info_sources_base.c: New file.
7020
0eba165a
PFC
70212019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7022
7023 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7024 prefix argument.
7025 (test_exit_status): Add prefix argument.
7026
59bd512b
TV
70272019-08-01 Tom de Vries <tdevries@suse.de>
7028
7029 PR testsuite/24863
7030 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7031 calling exp_continue for new thread and thread exited messages.
7032
2a3ad588
TV
70332019-08-01 Tom de Vries <tdevries@suse.de>
7034
7035 PR testsuite/24863
7036 * gdb.base/structs.exp: Fix check-read1 timeout using
7037 gdb_test_sequence.
7038 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7039
117eb594
TV
70402019-08-01 Tom de Vries <tdevries@suse.de>
7041
7042 PR testsuite/24863
7043 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7044 line.
7045
ed591340
TV
70462019-08-01 Tom de Vries <tdevries@suse.de>
7047
7048 PR testsuite/24863
7049 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7050
aa3b6533
TT
70512019-07-30 Tom Tromey <tromey@adacore.com>
7052
7053 * gdb.ada/display_nested.exp: New file.
7054 * gdb.ada/display_nested/foo.adb: New file.
7055 * gdb.ada/display_nested/pack.adb: New file.
7056 * gdb.ada/display_nested/pack.ads: New file.
7057
2906593f
CB
70582019-07-30 Christian Biesinger <cbiesinger@google.com>
7059
7060 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7061 namespace.
7062 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7063
0f575925
TV
70642019-07-30 Tom de Vries <tdevries@suse.de>
7065
7066 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7067 instead.
7068
b13057d9
TV
70692019-07-30 Tom de Vries <tdevries@suse.de>
7070
7071 PR testsuite/24834
7072 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7073 (exec_is_pie): New proc.
7074
5c4dde85
CB
70752019-07-29 Christian Biesinger <cbiesinger@google.com>
7076
7077 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7078
c620ed88
CB
70792019-07-29 Christian Biesinger <cbiesinger@google.com>
7080
7081 * gdb.python/py-objfile.c: Add global and static vars.
7082 * gdb.python/py-objfile.exp: Test new functions Objfile.
7083 lookup_global_symbol and lookup_static_symbol.
7084
3d235706
TT
70852019-07-29 Tom Tromey <tom@tromey.com>
7086
7087 * lib/tuiterm.exp (Term::_csi_@): New proc.
7088 (Term::_csi_X): Don't move cursor.
7089
c7e4c0a6
PW
70902019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7091
7092 * gdb.base/options.exp: Update backtrace - completion to
7093 new option -frame-info.
7094 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7095 Test new 'set print frame-info'. Test backtrace -frame-info
7096 overriding 'set print frame-info'.
7097 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7098 Test new 'set print frame-info'.
7099 Verify consistency of backtrace with and without filters, with and
7100 without -no-filters.
7101 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7102 default.
7103
de28a3b7
TV
71042019-07-29 Tom de Vries <tdevries@suse.de>
7105
7106 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7107 no arguments".
7108
507dd60e
TV
71092019-07-29 Tom de Vries <tdevries@suse.de>
7110
7111 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7112 is a substring of the first for "complete non-unique file name".
7113
5beafce9
TV
71142019-07-29 Tom de Vries <tdevries@suse.de>
7115
7116 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7117 with ".*".
7118
2d274232
TV
71192019-07-29 Tom de Vries <tdevries@suse.de>
7120
7121 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7122 Pass prompt_regexp parameter to gdb_test_multiple calls.
7123
9197cd8b
TV
71242019-07-29 Tom de Vries <tdevries@suse.de>
7125
7126 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 7127 print registers" regexps.
9197cd8b 7128
b528dae0
TV
71292019-07-29 Tom de Vries <tdevries@suse.de>
7130
7131 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7132
d17725d7
TV
71332019-07-29 Tom de Vries <tdevries@suse.de>
7134
7135 PR gdb/24855
7136 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7137 (skip_python_tests_prompt): Add prompt_regexp argument to
7138 gdb_test_multiple calls.
7139
52b75bf1
TT
71402019-07-27 Tom Tromey <tom@tromey.com>
7141
7142 * gdb.tui/main.exp: New file.
7143
2b1d00c2
TT
71442019-07-27 Tom Tromey <tom@tromey.com>
7145
7146 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7147 optional.
7148 * gdb.tui/empty.exp: New file.
7149
ded631d5
TT
71502019-07-27 Tom Tromey <tom@tromey.com>
7151
7152 * lib/tuiterm.exp (spawn): New proc.
7153 (Term::resize): New proc.
7154 * gdb.tui/resize.exp: New file.
7155
58ac439d
TT
71562019-07-27 Tom Tromey <tom@tromey.com>
7157
7158 * gdb.tui/list.exp: New file.
7159
fe1f56ee
TT
71602019-07-27 Tom Tromey <tom@tromey.com>
7161
7162 * gdb.tui/regs.exp: New file.
7163
f790b310
TT
71642019-07-27 Tom Tromey <tom@tromey.com>
7165
7166 * gdb.tui/basic.exp: Add "layout split" test.
7167
d95fc6ee
TT
71682019-07-27 Tom Tromey <tom@tromey.com>
7169
7170 * gdb.tui/basic.exp: Add "layout asm" test.
7171
c3786b3a
TT
71722019-07-27 Tom Tromey <tom@tromey.com>
7173
7174 * lib/tuiterm.exp: New file.
7175 * gdb.tui/basic.exp: New file.
7176
98a617f8
KB
71772019-07-27 Kevin Buettner <kevinb@redhat.com>
7178
7179 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7180 Enable tests associated with this flag. Adjust regex
7181 referencing "foo_low" to now refer to "foo_cold" instead.
7182
5c076da4
KB
71832019-07-27 Kevin Buettner <kevinb@redhat.com>
7184
7185 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7186 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7187 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7188 foo_cold. Revise comments to match.
7189 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7190 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7191 were wrapped into this proc; Call do_test in loop from outermost
7192 level.
7193 (foo_low): Rename all occurrences to "foo_cold".
7194 (backtrace from baz): New test.
7195 (x2/i foo_cold): New test.
7196 (info line *foo_cold): New test.
7197
1512d3b7
TV
71982019-07-26 Tom de Vries <tdevries@suse.de>
7199
7200 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7201
297989a1
TV
72022019-07-25 Tom de Vries <tdevries@suse.de>
7203
7204 PR testsuite/24830
7205 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7206 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7207 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7208 (skip_libstdcxx_probe_tests): ... here.
7209 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7210
b3b965fb
TV
72112019-07-24 Tom de Vries <tdevries@suse.de>
7212
7213 PR testsuite/24807
7214 * gdb.objc/basicclass.m: Include stdio.h.
7215 * gdb.objc/nondebug.m: Same.
7216 * gdb.objc/objcdecode.m: Same.
7217
4625b4d0
TV
72182019-07-24 Tom de Vries <tdevries@suse.de>
7219
7220 PR testsuite/24612
7221 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7222 additional_flags.
7223
024a5840
TV
72242019-07-24 Tom de Vries <tdevries@suse.de>
7225
7226 PR testsuite/24831
7227 * gdb.multi/tids.exp: Update error messages for info threads.
7228
c76ddaa3
TV
72292019-07-24 Tom de Vries <tdevries@suse.de>
7230
7231 * gdb.base/info-types.exp: Allow info types to print info for more than
7232 one file.
7233
9a618ef6
TV
72342019-07-23 Tom de Vries <tdevries@suse.de>
7235
7236 PR testsuite/24842
7237 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7238 gdb_spawn_with_cmdline_opts.
7239
40eadf04
SP
72402019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7241
7242 * gdb.arch/arm-cmse-sgstubs.c: New test.
7243 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7244
5ba29434
TV
72452019-07-23 Tom de Vries <tdevries@suse.de>
7246
7247 PR testsuite/24711
7248 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7249 issuing next command.
7250
a8e9d247
AB
72512019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7252
7253 * gdb.ada/info_auto_lang.exp: Update expected results.
7254 * gdb.base/info-types.c: Add additional types to check.
7255 * gdb.base/info-types.exp: Update expected results.
7256
eb86c5e2
AB
72572019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7258
7259 * gdb.base/info-types.c: New file.
7260 * gdb.base/info-types.exp: New file.
7261
01e175fe
AB
72622019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7263
7264 * gdb.arch/riscv-bp-infcall.c: New file.
7265 * gdb.arch/riscv-bp-infcall.exp: New file.
7266
6b78c3f8
AB
72672019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7268
7269 PR breakpoints/24541
7270 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7271
da738167
TV
72722019-07-14 Tom de Vries <tdevries@suse.de>
7273
7274 PR testsuite/24760
7275 * gdb.objc/basicclass.exp: Fix unterminated string.
7276
0d4e84ed
AB
72772019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7278 Andrew Burgess <andrew.burgess@embecosm.com>
7279
7280 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7281 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7282 negative bounds.
7283 * gdb.fortran/vla-value.exp: Print elements of an array with
7284 negative bounds.
7285 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7286 testing.
7287
021d8588
AB
72882019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7289
7290 * gdb.base/options.exp (expect_string): Dequote strings in
7291 results.
7292 (test-string): Test strings with different quoting and reindent.
7293
f06f1252
TT
72942019-07-10 Tom Tromey <tromey@adacore.com>
7295
7296 * gdb.ada/mi_ex_cond.exp: Update expected results.
7297 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7298 * gdb.ada/mi_catch_ex.exp: Update expected results.
7299 * gdb.ada/mi_catch_assert.exp: Update expected results.
7300 * gdb.ada/catch_ex.exp (catch_exception_info)
7301 (catch_exception_entry, catch_assert_entry)
7302 (catch_unhandled_entry): Update.
7303 * gdb.ada/catch_assert_if.exp: Update expected results.
7304
b863685d
RB
73052019-07-10 Richard Bunt <richard.bunt@arm.com>
7306 Stephen Roberts <stephen.roberts@arm.com>
7307
7308 * gdb.base/define.exp: Restore original prompt.
7309
cb1e4e32
PA
73102019-07-09 Pedro Alves <palves@redhat.com>
7311
7312 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7313 breakpoints" output.
7314 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7315 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7316 throw" creates breakpoint.
7317 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7318 'type="catchpoint"'.
7319
b58a68fe
PA
73202019-07-09 Pedro Alves <palves@redhat.com>
7321
7322 PR c++/15468
7323 * gdb.cp/except-multi-location-lib.cc: New.
7324 * gdb.cp/except-multi-location-main.cc: New.
7325 * gdb.cp/except-multi-location.exp: New.
7326
0826779b
PW
73272019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7328
7329 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7330 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7331 argument and update callers.
7332
5b0e2db4
AB
73332019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7334
7335 * gdb.arch/amd64-break-on-asm-line.S: New file.
7336 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7337
1f6f6e21
PW
73382019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7339
7340 * gdb.base/printcmds.exp: Test printing C string and
7341 C wide string convenience vars without transiting via the inferior.
7342 Also make test names unique.
7343
ea142fbf
AH
73442019-07-08 Alan Hayward <alan.hayward@arm.com>
7345
5862c886 7346 PR breakpoints/25011
ea142fbf
AH
7347 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7348
213fd9fa
PA
73492019-07-04 Pedro Alves <palves@redhat.com>
7350
7351 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7352 body returned ok(0), break(3) or continue(4).
7353 * gdb.testsuite/foreach_with_prefix.exp: New file.
7354
2b40fda7
AH
73552019-07-04 Alan Hayward <alan.hayward@arm.com>
7356
7357 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7358
a26c8de0
PA
73592019-07-03 Pedro Alves <palves@redhat.com>
7360
7361 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7362 "return -code".
7363
5f4ba3e7
PA
73642019-07-03 Pedro Alves <palves@redhat.com>
7365
7366 PR cli/24732
7367 * gdb.base/shell.exp: Load completion-support.exp.
7368 Adjust expected error output. Add completion tests.
7369
a994424f
PA
73702019-07-03 Pedro Alves <palves@redhat.com>
7371
7372 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7373 string_to_regexp.
7374
3d9be6f5
PA
73752019-07-03 Pedro Alves <palves@redhat.com>
7376
7377 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7378 (expect_integer): Adjust to expect "-string".
7379 (expect_string): New.
7380 (all_options): Expect "-string".
7381 (test-flag, test-boolean): Adjust to expect "-string".
7382 (test-string): New proc.
7383 (top level): Call it.
7384
41fc454c
PA
73852019-07-03 Pedro Alves <palves@redhat.com>
7386
7387 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7388 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7389 the expected output in the success.
7390
b2b2a215
PA
73912019-07-03 Pedro Alves <palves@redhat.com>
7392
7393 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7394 Split one gdb_test_multiple call in two to avoid a race.
7395
fdbc9870
PA
73962019-07-03 Pedro Alves <palves@redhat.com>
7397
7398 * gdb.base/with.c: New file.
7399 * gdb.base/with.exp: New file.
7400
c6ac8931
PA
74012019-07-03 Pedro Alves <palves@redhat.com>
7402
7403 * gdb.base/settings.exp: Replace all references to "maint
7404 test-settings set" with references to "maint set test-settings",
7405 and all references to "maint test-settings show" with references
7406 to "maint show test-settings".
7407
970f9d09
PA
74082019-07-03 Pedro Alves <palves@redhat.com>
7409
7410 * gdb.base/settings.exp (test-string): Adjust expected out when
7411 testing "maint test-settings show filename"
7412
54d66006
PA
74132019-07-02 Pedro Alves <palves@redhat.com>
7414
7415 * gdb.base/options.exp (test-info-threads): New procedure.
7416 (top level): Call it.
7417
10d06d82
TT
74182019-06-28 Tom Tromey <tromey@adacore.com>
7419
7420 * gdb.dwarf2/ada-linkage-name.c: New file.
7421 * gdb.dwarf2/ada-linkage-name.exp: New file.
7422
3d507ff2
TT
74232019-06-27 Tom Tromey <tromey@adacore.com>
7424
d039f014 7425 PR c++/20020:
3d507ff2
TT
7426 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7427
8af58ffe
TV
74282019-06-26 Tom de Vries <tdevries@suse.de>
7429
7430 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7431
22e21752
TV
74322019-06-26 Tom de Vries <tdevries@suse.de>
7433
7434 * gdb.base/index-cache.exp: Add back missing debug option.
7435
b65b566c
PW
74362019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7437
7438 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7439
5c2c8c69
TV
74402019-06-25 Tom de Vries <tdevries@suse.de>
7441
7442 PR testsuite/24727
7443 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7444
164e3873
TV
74452019-06-24 Tom de Vries <tdevries@suse.de>
7446
7447 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7448
824eacee
TV
74492019-06-24 Tom de Vries <tdevries@suse.de>
7450
7451 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7452 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7453 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7454
385b97d3
TV
74552019-06-24 Tom de Vries <tdevries@suse.de>
7456
7457 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7458
c596f180
TV
74592019-06-21 Tom de Vries <tdevries@suse.de>
7460
7461 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7462
b13a7d03
TV
74632019-06-21 Tom de Vries <tdevries@suse.de>
7464
7465 PR testsuite/24518
7466 PR ada/24713
7467 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7468 index.
7469
899277ae
TT
74702019-06-19 Tom Tromey <tromey@adacore.com>
7471
7472 * gdb.ada/length_cond.exp: Add intro comment.
7473
680e1bee
TT
74742019-06-19 Tom Tromey <tromey@adacore.com>
7475
7476 * gdb.ada/length_cond.exp: New file.
7477 * gdb.ada/length_cond/length_cond.adb: New file.
7478 * gdb.ada/length_cond/pck.adb: New file.
7479 * gdb.ada/length_cond/pck.ads: New file.
7480
0ed4690a
TV
74812019-06-18 Tom de Vries <tdevries@suse.de>
7482
7483 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7484
d20ed5fd
TT
74852019-06-18 Tom Tromey <tromey@adacore.com>
7486
7487 * gdb.base/list0.h: Add comment explaining control character.
7488
86e04673
TV
74892019-06-18 Tom de Vries <tdevries@suse.de>
7490
7491 * boards/fission.exp: Break up long debug_flags line.
7492
c4973306
SM
74932019-06-16 Tom de Vries <tdevries@suse.de>
7494
7495 PR gdb/24445
7496 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7497 generated index.
7498
93cb9841
AB
74992019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7500
7501 PR gdb/24686
7502 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7503 improve detection of bug gdb/24541.
7504
399aaebd
SM
75052019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7506
7507 PR gdb/24669
7508 * gdb.base/index-cache.exp (uses_readnow,
7509 expecting_index_cache_use): Define global variable.
7510 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7511 expecting_index_cache_use.
7512
584a927c
AB
75132019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7514 Andrew Burgess <andrew.burgess@embecosm.com>
7515
7516 * gdb.fortran/pointers.f90: New file.
7517 * gdb.fortran/print_type.exp: New file.
7518 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7519 * gdb.fortran/vla-type.exp: Likewise.
7520 * gdb.fortran/vla-value.exp: Likewise.
7521 * gdb.mi/mi-vla-fortran.exp: Likewise.
7522
30056ea0
AB
75232019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7524
7525 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7526 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7527 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7528 as a stop reason.
7529
ec8e2b6d
AB
75302019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7531
7532 * gdb.base/annota1.exp: Update expected results.
7533 * gdb.cp/annota2.exp: Likewise.
7534 * gdb.cp/annota3.exp: Likewise.
7535
09e4c4e1
AB
75362019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7537
7538 * gdb.base/style-logging.exp: Remove path from test name.
7539
0735b091
TT
75402019-06-14 Tom Tromey <tromey@adacore.com>
7541
7542 PR gdb/24502:
7543 * gdb.base/style-logging.exp: New file.
7544
f5686554
TT
75452019-06-14 Tom Tromey <tromey@adacore.com>
7546
7547 * gdb.base/symfile-warn.exp: New file.
7548 * gdb.base/symfile-warn.c: New file.
7549
a0c1ffed
TT
75502019-06-14 Tom Tromey <tromey@adacore.com>
7551
7552 * gdb.base/annotate-symlink.exp: New file.
7553
f411722c
TT
75542019-06-14 Tom Tromey <tromey@adacore.com>
7555
7556 * gdb.ada/set_wstr.exp: Add reassignment test.
7557
4268ec18
TT
75582019-06-14 Tom Tromey <tromey@adacore.com>
7559
7560 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7561 'unchecked_access and 'unrestricted_access as well.
7562
9a9e394b
TT
75632019-06-14 Tom Tromey <tromey@adacore.com>
7564
7565 PR ada/24539:
7566 * gdb.ada/vla.exp: Update tests.
7567 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7568 pragma.
7569
4c048731
PA
75702019-06-13 Pedro Alves <palves@redhat.com>
7571
7572 * gdb.base/settings.exp (test-integer): Test junk after
7573 "unlimited".
7574
6665660a
PA
75752019-06-13 Pedro Alves <palves@redhat.com>
7576
7577 * gdb.base/options.exp (test-thread-apply): New.
7578 (top level): Call it.
7579
5d707134
PA
75802019-06-13 Pedro Alves <palves@redhat.com>
7581
7582 * gdb.base/options.exp (test-frame-apply): New.
7583 (top level): Test print commands with different "frame apply"
7584 prefixes.
7585
e2a689da
PA
75862019-06-13 Pedro Alves <palves@redhat.com>
7587
e79be6e5 7588 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7589 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7590 'max_completions' parameter and handle it.
7591 (test_gdb_completion_offers_commands): New.
7592
90a1ef87
PA
75932019-06-13 Pedro Alves <palves@redhat.com>
7594
7595 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7596
d4c16835
PA
75972019-06-13 Pedro Alves <palves@redhat.com>
7598
7599 * gdb.base/options.exp (test-backtrace): New.
7600 (top level): Call it.
7601
2daf894e
PA
76022019-06-13 Pedro Alves <palves@redhat.com>
7603
7604 * gdb.guile/scm-frame-args.exp: Use "set print
7605 raw-frame-arguments" instead of "set print raw frame-arguments".
7606 * gdb.python/py-frame-args.exp: Likewise.
7607
e6ed716c
PA
76082019-06-13 Pedro Alves <palves@redhat.com>
7609
7610 * gdb.compile/compile.exp: Adjust expected output to option
7611 processing changes.
7612
7d8062de
PA
76132019-06-13 Pedro Alves <palves@redhat.com>
7614
7615 * gdb.base/options.exp: Build executable.
7616 (test-print): New procedure.
7617 (top level): Call it, once for "print" and another for "compile
7618 print".
7619
9d0faba9
PA
76202019-06-13 Pedro Alves <palves@redhat.com>
7621
7622 * gdb.base/options.c: New file.
7623 * gdb.base/options.exp: New file.
7624
dee7b4c8
PA
76252019-06-13 Pedro Alves <palves@redhat.com>
7626
7627 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7628 that "o" is ambiguous.
7629
dca0f6c0
PA
76302019-06-13 Pedro Alves <palves@redhat.com>
7631
7632 * gdb.base/settings.c: New file.
7633 * gdb.base/settings.exp: New file.
7634
ccf46844
PA
76352019-06-13 Pedro Alves <palves@redhat.com>
7636
7637 * gdb.base/completion.exp: Fix comment typo.
7638
b9a3f842
PA
76392019-06-13 Pedro Alves <palves@redhat.com>
7640
7641 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7642 foo --1" test.
7643
d106773e
PA
76442019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7645
7646 * gdb.fortran/block-data.f: New.
7647 * gdb.fortran/block-data.exp: New.
7648
fea82da0
TV
76492019-06-11 Tom de Vries <tdevries@suse.de>
7650
7651 PR testsuite/24521
7652 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7653 message.
7654
8c2e74f1
TV
76552019-06-11 Tom de Vries <tdevries@suse.de>
7656
7657 PR testsuite/24521
7658 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7659
b49851c8
TV
76602019-06-11 Tom de Vries <tdevries@suse.de>
7661
7662 * boards/readnow.exp: New file.
7663
a7067863
AB
76642019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7665
7666 * gdb.fortran/vla-sizeof.exp: Update expected results.
7667
1a3da2cd
AB
76682019-06-06 Amos Bird <amosbird@gmail.com>
7669
7670 * gdb.base/annota1.exp (thread_switch): Add test for
7671 thread-exited annotation.
7672
3847a7bf
TT
76732019-06-06 Tom Tromey <tromey@adacore.com>
7674
7675 * gdb.base/maint.exp: Expect command started/finished output.
7676
0088ba59
AB
76772019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7678
7679 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7680 comment.
7681 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7682
312617a3
AB
76832019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7684
7685 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7686 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7687 * gdb.arch/riscv-unwind-long-insn.c: New file.
7688 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7689
e1f2e1a2
CB
76902019-06-04 Christian Biesinger <cbiesinger@google.com>
7691
d3238f7d 7692 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7693
206584bd
PW
76942019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7695
7696 * lib/gdb.exp (help_list_trailer): New regexp variable
7697 factorizing the help trailer message.
7698 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7699 arg to allow to better factorize various tests.
7700 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7701 (test_prefix_command_help): Use help_list_trailer.
7702 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7703 * gdb.guile/scm-cmd.exp: Likewise.
7704 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7705 * gdb.base/help.exp: Use test_user_defined_class_help.
7706 * gdb.base/style.exp: Add tests for styling of help and apropos.
7707 * lib/gdb-utils.exp (style): Add title and highlight styles.
7708
708dc93e
PW
77092019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7710
7711 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7712 $_shell_exitsignal.
7713 * gdb.base/default.exp: Update for new convenience variables.
7714
f49055a5
TT
77152019-05-29 Tom Tromey <tromey@adacore.com>
7716
7717 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7718 to "break complete ada" test case's regexp.
7719
4330d61d
TT
77202019-05-29 Tom Tromey <tromey@adacore.com>
7721
7722 PR c++/20020:
7723 * gdb.cp/constexpr-field.exp: New file.
7724 * gdb.cp/constexpr-field.cc: New file.
7725
000439d5
TT
77262019-05-29 Tom Tromey <tromey@adacore.com>
7727
7728 * gdb.base/finish.exp (finish_no_print): New proc.
7729 (finish_tests): Call it.
7730
5a01c34c
TV
77312019-05-24 Tom de Vries <tdevries@suse.de>
7732
7733 * gdb.dwarf2/gdb-add-index.exp: New file.
7734
18125b16
TT
77352019-05-22 Tom Tromey <tromey@adacore.com>
7736
7737 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7738 * gdb.base/style.exp: Use "style".
7739 * lib/gdb-utils.exp (style): New proc.
7740
af1a8d03
TV
77412019-05-22 Tom de Vries <tdevries@suse.de>
7742
7743 * gdb.base/align.exp: Require c++11.
7744
e7fe496b
TV
77452019-05-22 Tom de Vries <tdevries@suse.de>
7746
7747 PR testsuite/24586
7748 * gdb.python/py-mi-var-info-path-expression.exp: Call
7749 mi_skip_python_tests to check if python is supported.
7750
8fca4da0
AH
77512019-05-22 Alan Hayward <alan.hayward@arm.com>
7752
7753 * gdb.arch/aarch64-pauth.c: New test.
7754 * gdb.arch/aarch64-pauth.exp: New file.
7755
b7060614
AH
77562019-05-22 Alan Hayward <alan.hayward@arm.com>
7757
7758 * README (Re-running Tests Outside The Testsuite): New section.
7759
669d0468
TV
77602019-05-21 Tom de Vries <tdevries@suse.de>
7761
7762 * gdb.arch/amd64-eval.exp: Require c++11.
7763 * gdb.base/max-depth.exp: Same.
7764 * gdb.compile/compile-cplus-array-decay.exp: Same.
7765 * gdb.cp/meth-typedefs.exp: Same.
7766 * gdb.cp/subtypes.exp: Same.
7767 * gdb.cp/temargs.exp: Same.
7768
ce3ebcaa
AH
77692019-05-21 Alan Hayward <alan.hayward@arm.com>
7770
7771 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7772
34d11c68
AB
77732019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7774
7775 PR gdb/18644
7776 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7777 * gdb.fortran/printing-types.exp: Add new test.
7778 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7779 testing.
7780 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7781 setup_kfail call.
7782
87781e84
AH
77832019-05-17 Alan Hayward <alan.hayward@arm.com>
7784
7785 * README (Running the Testsuite): Change example.
7786 (Testsuite Parameters): Remove TRANSCRIPT.
7787 * lib/gdb.exp: Remove TRANSCRIPT check.
7788
b420b89e
AH
77892019-05-17 Alan Hayward <alan.hayward@arm.com>
7790
7791 * README (Testsuite Parameters): Add replay logging to
7792 GDBSERVER_DEBUG.
7793 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7794 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7795 as a comma separated list.
7796 (gdb_debug_init): Override procedure.
7797
408e9b8b
AH
77982019-05-17 Alan Hayward <alan.hayward@arm.com>
7799
7800 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7801 (gdb_write_cmd_file): New procedure.
7802 * lib/gdbserver-support.exp (gdbserver_start): Call
7803 gdbserver_write_cmd_file.
7804 (gdbserver_write_cmd_file): New procedure.
7805
f9e2e39d
AH
78062019-05-17 Alan Hayward <alan.hayward@arm.com>
7807
7808 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7809 (delete_breakpoints): Likewise.
7810 (gdb_run_cmd): Likewise.
7811 (gdb_start_cmd): Likewise.
7812 (gdb_starti_cmd): Likewise.
7813 (gdb_internal_error_resync): Likewise.
7814 (gdb_test_multiple): Likewise.
7815 (gdb_reinitialize_dir): Likewise.
7816 (default_gdb_exit): Likewise.
7817 (gdb_file_cmd): Mark kill as optional.
7818 (default_gdb_start): Call gdb_stdin_log_init.
7819 (send_gdb): Call gdb_stdin_log_write.
7820 (rerun_to_main): Mark Y as an answer.
7821 (gdb_stdin_log_init): New function.
7822 (gdb_stdin_log_write): Likewise.
7823
81f47ac2
AH
78242019-05-17 Alan Hayward <alan.hayward@arm.com>
7825
7826 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7827 * gdb.base/debug-expr.exp: Likewise.
7828 * gdb.base/foll-fork.exp: Likewise.
7829 * gdb.base/foll-vfork.exp: Likewise.
7830 * gdb.base/fork-print-inferior-events.exp: Likewise.
7831 * gdb.base/gdb-sigterm.exp: Likewise.
7832 * gdb.base/gdbinit-history.exp: Likewise.
7833 * gdb.base/osabi.exp: Likewise.
7834 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7835 * gdb.base/ui-redirect.exp: Likewise.
7836 * gdb.gdb/unittest.exp: Likewise.
7837 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7838 * gdb.mi/mi-watch.exp: Likewise.
7839 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7840 * gdb.mi/user-selected-context-sync.exp: Likewise.
7841 * gdb.python/python.exp: Disable debug test when debugging.
7842 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7843 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7844 Likewise.
7845 * gdb.threads/stepi-random-signal.exp: Likewise.
7846
29b52314
AH
78472019-05-17 Alan Hayward <alan.hayward@arm.com>
7848
7849 * Makefile.in: Pass through GDB_DEBUG.
7850 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7851 (gdb,debug): Add board setting.
7852 * lib/gdb.exp (default_gdb_start): Start debugging.
7853 (gdb_debug_enabled): New procedure.
7854 (gdb_debug_init): Likewise.
29b52314
AH
7855
78562019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7857
29b52314
AH
7858 * Makefile.in: Pass through GDB_DEBUG.
7859 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7860 (gdb,debug): Add board setting.
7861 * lib/gdb.exp (default_gdb_start): Start debugging.
7862 (gdb_debug_enabled): New procedure.
7863 (gdb_debug_init): Likewise.
29b52314 7864
ca1285d1
AH
78652019-05-17 Alan Hayward <alan.hayward@arm.com>
7866
7867 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7868
f3a09c80
AH
78692019-05-17 Alan Hayward <alan.hayward@arm.com>
7870
7871 * gdb.base/ui-redirect.exp: Test redirection.
7872
26648588
JV
78732019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7874
7875 * gdb.mi/mi-complete.exp: New file.
7876 * gdb.mi/mi-complete.cc: Likewise.
7877
14237686
AB
78782019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7879
7880 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7881 indexed and sliced arrays, and pointers to arrays.
7882
e7bd7fba
TT
78832019-05-14 Tom Tromey <tromey@adacore.com>
7884
7885 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7886 styling test.
7887
2764128d
TV
78882019-05-14 Tom de Vries <tdevries@suse.de>
7889
7890 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7891 selection entry encoding.
7892
71bed2db
TT
78932019-05-10 Tom Tromey <tromey@adacore.com>
7894
7895 * gdb.ada/info_exc.exp: Add "complete" test.
7896
63b667ad
TV
78972019-05-09 Tom de Vries <tdevries@suse.de>
7898
7899 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7900 CU-relative.
7901
9cfd2b89
TV
79022019-05-09 Tom de Vries <tdevries@suse.de>
7903
7904 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7905 CU-relative.
7906
2228ef77
XR
79072019-05-08 Joel Brobecker <brobecker@adacore.com>
7908
7909 * gdb.ada/frame_arg_lang.exp: New testcase.
7910 * gdb.ada/frame_arg_lang/bla.adb: New file.
7911 * gdb.ada/frame_arg_lang/pck.ads: New file.
7912 * gdb.ada/frame_arg_lang/pck.adb: New file.
7913 * gdb.ada/frame_arg_lang/foo.c: New file.
7914
80e55b13
TT
79152019-05-08 Tom Tromey <tromey@adacore.com>
7916
7917 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7918
9d3421af
TT
79192019-05-08 Tom Tromey <tromey@adacore.com>
7920
7921 * gdb.base/ptype-offsets.exp: Update tests.
7922
844333e2
TT
79232019-05-08 Tom Tromey <tromey@adacore.com>
7924
7925 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7926 cases.
7927 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7928 "short".
7929
988915ee
TT
79302019-05-08 Tom Tromey <tromey@adacore.com>
7931
7932 * gdb.ada/vla.exp: New file.
7933 * gdb.ada/vla/vla.adb: New file.
7934
7bd55dac
TV
79352019-05-07 Tom de Vries <tdevries@suse.de>
7936
7937 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7938
75f06e9d
TV
79392019-05-07 Tom de Vries <tdevries@suse.de>
7940
7941 PR testsuite/24522
7942 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7943 section.
7944
77e7aaa4
TV
79452019-05-07 Tom de Vries <tdevries@suse.de>
7946
7947 PR testsuite/24522
7948 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7949 .debug_aranges section.
7950
456ba0fa
TV
79512019-05-07 Tom de Vries <tdevries@suse.de>
7952
7953 PR testsuite/24159
7954 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7955
5a56d6a6
TV
79562019-05-06 Tom de Vries <tdevries@suse.de>
7957
7958 * lib/gdb.exp (exec_has_index_section): New proc.
7959 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7960 section.
7961
9d6d4be8
TV
79622019-05-04 Tom de Vries <tdevries@suse.de>
7963
7964 * boards/cc-with-debug-names.exp: New file.
7965
222a8d25
TT
79662019-05-03 Tom Tromey <tromey@adacore.com>
7967
7968 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7969 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7970 * gdb.ada/char_enum.exp: Add test.
7971
0fdfd794
TV
79722019-05-03 Tom de Vries <tdevries@suse.de>
7973
7974 * boards/cc-with-gdb-index.exp: New file.
7975
80062eb9
AB
79762019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7977
7978 * gdb.rust/simple.exp: Add new test case.
7979 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7980 (main): Initialise an instance of the new struct.
7981
4504bbde
TT
79822019-05-01 Tom Tromey <tromey@adacore.com>
7983
7984 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7985 record.
7986 (NPR): New variable.
7987 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7988 test.
7989
d48e62f4
TT
79902019-05-01 Tom Tromey <tromey@adacore.com>
7991
7992 * gdb.ada/packed_array_assign.exp: Add packed assignment
7993 regression test.
7994
f59f30f5
TV
79952019-05-01 Tom de Vries <tdevries@suse.de>
7996
7997 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7998
b70bfc54
TV
79992019-05-01 Tom de Vries <tdevries@suse.de>
8000
8001 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8002
15f18d14
AT
80032019-04-30 Ali Tamur <tamur@google.com>
8004
8005 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8006
2ff0a947
TT
80072019-04-30 Tom Tromey <tromey@adacore.com>
8008
8009 * lib/ada.exp (find_ada_tool): New proc.
8010 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8011 * gdb.ada/catch_ex_std.exp: New file.
8012 * gdb.ada/catch_ex_std/foo.adb: New file.
8013 * gdb.ada/catch_ex_std/some_package.adb: New file.
8014 * gdb.ada/catch_ex_std/some_package.ads: New file.
8015
a776957c
TT
80162019-04-30 Tom Tromey <tromey@adacore.com>
8017
8018 PR c++/24470:
8019 * gdb.cp/temargs.cc: Add test code from PR.
8020
bc68014d
AB
80212019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8022
8023 * gdb.fortran/vla-datatypes.exp: Update expected results.
8024 * gdb.fortran/vla-ptype.exp: Likewise.
8025 * gdb.fortran/vla-type.exp: Likewise.
8026 * gdb.fortran/vla-value.exp: Likewise.
8027
f1fdc960
AB
80282019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8029
8030 * gdb.fortran/ptr-indentation.exp: Update expected results.
8031 * gdb.fortran/ptype-on-functions.exp: Likewise.
8032 * gdb.fortran/vla-ptr-info.exp: Likewise.
8033 * gdb.fortran/vla-value.exp: Likewise.
8034
bf7a4de1
AB
80352019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8036
8037 * gdb.fortran/ptype-on-functions.exp: New file.
8038 * gdb.fortran/ptype-on-functions.f90: New file.
8039
bbe75b9d
AB
80402019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8041
8042 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8043 case void string.
8044
1db455a7
AB
80452019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8046
8047 * gdb.fortran/complex.exp: Expand.
8048 * gdb.fortran/complex.f: Renamed to...
8049 * gdb.fortran/complex.f90: ...this, and extended to add more
8050 complex values.
8051
b6d03bb2
AB
80522019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8053
8054 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8055 MODULO, CMPLX.
8056
2e62ab40
AB
80572019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8058 Richard Bunt <richard.bunt@arm.com>
8059
8060 * gdb.base/max-depth.c: New file.
8061 * gdb.base/max-depth.exp: New file.
8062 * gdb.python/py-nested-maps.c: New file.
8063 * gdb.python/py-nested-maps.exp: New file.
8064 * gdb.python/py-nested-maps.py: New file.
8065 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8066 (test_all_common): Call test_max_depth.
8067 * gdb.fortran/max-depth.exp: New file.
8068 * gdb.fortran/max-depth.f90: New file.
8069 * gdb.go/max-depth.exp: New file.
8070 * gdb.go/max-depth.go: New file.
8071 * gdb.modula2/max-depth.exp: New file.
8072 * gdb.modula2/max-depth.c: New file.
8073 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8074
d2b584a5
TV
80752019-04-29 Tom de Vries <tdevries@suse.de>
8076
8077 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8078
136afab8
PW
80792019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8080
8081 * gdb.base/callexit.exp: Test may-call-functions off.
8082
725cbb63
KS
80832019-04-25 Keith Seitz <keiths@redhat.com>
8084
8085 PR c++/24367
8086 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8087 (another_incomplete_struct, test_incomplete): New definitions.
8088 (main): Use new definitions.
8089 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8090 functions.
8091
701adfb0
PA
80922019-04-25 Ali Tamur <tamur@google.com>
8093
8094 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8095
82433e3e
SDJ
80962019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8097
8098 PR corefiles/11608
8099 PR corefiles/18187
8100 * gdb.base/coredump-filter-build-id.exp: New file.
8101
dd06d4d6
AH
81022019-04-25 Alan Hayward <alan.hayward@arm.com>
8103
e79be6e5
SM
8104 * Makefile.in: Pass through GDBSERVER_DEBUG.
8105 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8106 (gdbserver,debug): Add board setting.
8107 * gdb.trace/tspeed.exp: Skip when debugging.
8108 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8109 * lib/gdbserver-support.exp: Likewise
dd06d4d6 8110
1670072e
TT
81112019-04-24 Tom Tromey <tromey@adacore.com>
8112
8113 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8114 Rust.
8115
a59240a4
TT
81162019-04-24 Tom Tromey <tromey@adacore.com>
8117
8118 * gdb.arch/amd64-eval.exp: Test bitfield return.
8119 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8120 (class Foo) <return_bitfields>: New method.
8121 (main): Call it.
8122
b907456c
AB
81232019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8124
8125 * gdb.cp/many-args.cc: New file.
8126 * gdb.cp/many-args.exp: New file.
8127
5c565afd
TV
81282019-04-23 Tom de Vries <tdevries@suse.de>
8129
8130 PR gdb/24433
8131 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8132
ba22ff86
AH
81332019-04-23 Alan Hayward <alan.hayward@arm.com>
8134
8135 * gdb.trace/backtrace.exp: Use nopie flag.
8136 * gdb.trace/circ.exp: Likewise.
8137 * gdb.trace/collection.exp: Likewise.
8138 * gdb.trace/ftrace.exp: Likewise.
8139 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8140 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8141 * gdb.trace/qtro.exp: Likewise.
8142 * gdb.trace/read-memory.exp: Likewise.
8143 * gdb.trace/report.exp: Likewise.
8144 * gdb.trace/tfile.exp: Likewise.
8145 * gdb.trace/tfind.exp: Likewise.
8146 * gdb.trace/unavailable.exp: Likewise.
8147
7905fc35
PA
81482019-04-22 Pedro Alves <palves@redhat.com>
8149
8150 * gdb.base/solib-probes-nosharedlibrary.c,
8151 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8152
8ecb59f8
TT
81532019-04-19 Tom Tromey <tromey@adacore.com>
8154
8155 * gdb.ada/ptype_union.c: New file.
8156 * gdb.ada/ptype_union.exp: New file.
8157
62160ec9
TT
81582019-04-19 Tom Tromey <tromey@adacore.com>
8159
8160 PR symtab/24423:
8161 * gdb.base/list0.h (foo): Add a control-l character.
8162
36cd4ba5
TV
81632019-04-18 Tom de Vries <tdevries@suse.de>
8164
8165 PR gdb/24433
8166 * boards/local-board.exp: Set sysroot to "".
8167
b73715df
TV
81682019-04-18 Tom de Vries <tdevries@suse.de>
8169 Pedro Alves <palves@redhat.com>
8170
8171 PR gdb/24454
8172 * gdb.threads/vfork-follow-child-exec.c: New file.
8173 * gdb.threads/vfork-follow-child-exec.exp: New file.
8174 * gdb.threads/vfork-follow-child-exit.c: New file.
8175 * gdb.threads/vfork-follow-child-exit.exp: New file.
8176
4aa866af
LS
81772019-04-15 Leszek Swirski <leszeks@google.com>
8178
8179 * gdb.arch/amd64-eval.cc: New file.
8180 * gdb.arch/amd64-eval.exp: New file.
8181
e5a1a79a
AH
81822019-04-11 Alan Hayward <alan.hayward@arm.com>
8183
8184 * gdb.server/sysroot.c: New test.
8185 * gdb.server/sysroot.exp: New file.
8186 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8187 matching param.
8188
41077b66
AB
81892019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8190
8191 * gdb.base/align.exp: Extend test to cover structures containing
8192 only static fields.
8193
c30391f8
TV
81942019-04-11 Tom de Vries <tdevries@suse.de>
8195
8196 * boards/cc-with-dwz-m.exp: New file.
8197 * boards/cc-with-dwz.exp: New file.
8198 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8199
e242fd12
SM
82002019-04-09 Simon Marchi <simon.marchi@efficios.com>
8201
8202 * gdb.base/start-cpp.exp: New file.
8203 * gdb.base/start-cpp.cc: New file.
8204
2b0c8b01
KB
82052019-04-08 Kevin Buettner <kevinb@redhat.com>
8206
8207 * gdb.python/py-thrhandle.exp: Adjust tests to call
8208 thread_from_handle instead of thread_from_thread_handle.
8209
947210e5
KB
82102019-04-08 Kevin Buettner <kevinb@redhat.com>
8211
8212 * gdb.python/py-thrhandle.exp: Add tests for
8213 gdb.InferiorThread.handle.
8214
d7df6549
AB
82152019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8216
8217 * gdb.python/py-function.exp: Check calling helper function from
8218 all languages.
8219 * lib/gdb.exp (gdb_supported_languages): New proc.
8220
8bdc1658
AB
82212019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8222
8223 * gdb.base/complex-parts.c: New file.
8224 * gdb.base/complex-parts.exp: New file.
8225
05caa1d2
TT
82262019-04-01 Tom Tromey <tromey@adacore.com>
8227
8228 PR symtab/23331:
8229 * gdb.dwarf2/dw2-ranges-main.c: New file.
8230 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8231 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8232
7734102d
EZ
82332019-03-30 Simon Marchi <simark@simark.ca>
8234
8235 * gdb.base/default.exp: Add values for $_gdb_major and
8236 $_gdb_minor.
8237
188e1fa9
TT
82382019-03-29 Tom Tromey <tromey@adacore.com>
8239
8240 * gdb.base/help.exp: Tighten apropos regexp.
8241
2880242d
KS
82422019-03-29 Keith Seitz <keiths@redhat.com>
8243
8244 * gdb.fortran/array-bounds.exp: New file.
8245 * gdb.fortran/array-bounds.f90: New file.
8246
077cad8e
PW
82472019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8248
8249 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8250
80047cfc
PW
82512019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8252
8253 * gdb.multi/hello.c (main): Increase alarm timer.
8254
f489207e
SL
82552019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8256
8257 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8258 factor when no hardware watchpoint support.
8259
c92df149
AH
82602019-03-28 Alan Hayward <alan.hayward@arm.com>
8261 Pedro Alves <palves@redhat.com>
8262
8263 * boards/local-board.exp: set sysroot to /.
8264
933aebfa
AH
82652019-03-27 Alan Hayward <alan.hayward@arm.com>
8266
8267 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8268 in child.
8269
9f9aa852
AB
82702019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8271
8272 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8273 field.
8274 (make_container): Initialise new field.
8275 * gdb.python/py-prettyprint.exp: Add new tests.
8276 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8277 <display_hint>: New method.
8278
3714a195
AB
82792019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8280
8281 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8282 gdb_continue_to_breakpoint more throughout this test.
8283 (run_lang_tests) Supply unique test names, and use
8284 gdb_test_no_output.
8285
18c77628
AB
82862019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8287
8288 * gdb.base/finish-pretty.exp: Update expected results.
8289 * gdb.base/pretty-print.c: New file.
8290 * gdb.base/pretty-print.exp: New file.
8291
9a93502f
PA
82922019-03-25 Pedro Alves <palves@redhat.com>
8293
8294 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8295 move comments outside list. Append '-i "" eof' section.
8296
968aa7ae
AH
82972019-03-22 Alan Hayward <alan.hayward@arm.com>
8298
34a7f2a4 8299 PR testsuite/25016
968aa7ae
AH
8300 * README: Add pie options.
8301 * gdb.base/break-interp.exp: Ensure pie is disabled.
8302 * gdb.base/dump.exp: Likewise.
8303 * lib/gdb.exp (gdb_compile): Add pie option.
8304
4c7d57e7
TT
83052019-03-19 Tom Tromey <tromey@adacore.com>
8306
8307 * gdb.mi/mi2-cli-display.c: New file.
8308 * gdb.mi/mi2-cli-display.exp: New file.
8309
bff8c71f
TT
83102019-03-18 Joel Brobecker <brobecker@adacore.com>
8311 Tom Tromey <tromey@adacore.com>
8312
8313 * gdb.ada/ptype_array/pck.adb: New file.
8314 * gdb.ada/ptype_array/pck.ads: New file.
8315 * gdb.ada/ptype_array/foo.adb: New file.
8316 * gdb.ada/ptype_array.exp: New file.
8317
d085f989
TT
83182019-03-14 Tom Tromey <tromey@adacore.com>
8319
8320 * gdb.base/style.exp: Add "set style sources" test.
8321
b4be1b06
SM
83222019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8323
8324 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8325 * mi-breakpoint-multiple-locations.exp: ... this.
8326 (make_breakpoints_pattern): New proc.
8327 (do_test): Add mi_version parameter, test -break-insert,
8328 -break-info and =breakpoint-created.
8329
7cde5fc2
AB
83302019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8331
8332 * config/default.exp: Remove 'load_lib gdb.exp'.
8333 * config/monitor.exp: Likewise.
8334 * config/sid.exp: Likewise.
8335 * config/sim.exp: Likewise.
8336 * config/slite.exp: Likewise.
8337 * config/unix.exp: Likewise.
8338 * gdb.base/default.exp: Remove unhelpful comment.
8339
efbecbc1
AB
83402019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8341
8342 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8343
0841c79a
AB
83442019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8345
8346 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8347
4a270568
AB
83482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8349
8350 * gdb.fortran/type-kinds.exp: Update expected results.
8351
067630bd
AB
83522019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8353
8354 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8355
3be47f7a
AB
83562019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8357
8358 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8359 function.
8360 (test_basic_parsing_of_type_kinds): Expand types tested.
8361 (test_parsing_invalid_type_kinds): New function.
8362
4d00f5d8
AB
83632019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8364
8365 * gdb.fortran/intrinsics.exp: New file.
8366 * gdb.fortran/intrinsics.f90: New file.
8367 * gdb.fortran/type-kinds.exp: New file.
8368
c8f91604
AB
83692019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8370
8371 * gdb.fortran/dot-ops.exp: New file.
8372
dd9f2c76
AB
83732019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8374
8375 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8376 Check upper and lower case logical literals.
8377
84ec9724
AB
83782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8379
8380 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8381 Remove duplicate tests.
8382
c3734e09
AH
83832019-03-06 Alan Hayward <alan.hayward@arm.com>
8384
8385 * lib/gdb.exp (builtin_cd): rename of cd.
8386 (cd): Override builtin.
8387
aa3cfbda
RB
83882019-03-06 Richard Bunt <richard.bunt@arm.com>
8389
8390 * gdb.fortran/function-calls.exp: New file.
8391 * gdb.fortran/function-calls.f90: New test.
8392
7b63ad86
RB
83932019-03-04 Richard Bunt <richard.bunt@arm.com>
8394
8395 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8396 on user program standard output.
8397 * gdb.fortran/short-circuit-argument-list.f90: Record function
8398 calls.
8399
01abb042
AH
84002019-02-28 Alan Hayward <alan.hayward@arm.com>
8401
c3734e09
AH
8402 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8403 failure.
01abb042 8404
92137da0
RO
84052019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8406
8407 PR gdb/8527
8408 * gdb.base/interrupt-daemon-attach.c,
8409 gdb.base/interrupt-daemon-attach.exp: New test.
8410
5862844d
PA
84112019-02-27 Pedro Alves <palves@redhat.com>
8412
8413 * gdb.base/page.exp: Add tests for "set width/height -1".
8414
8ed25214
PA
84152019-02-27 Pedro Alves <palves@redhat.com>
8416
8417 * gdb.base/page.exp: Add tests for "set/show width/height" with
8418 "infinite" values.
8419
6c28e44a
TT
84202019-02-27 Tom Tromey <tromey@adacore.com>
8421
8422 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8423 2.4.
8424 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8425 workaround.
8426
bf9a735e
AB
84272019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8428
8429 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8430 tests for structs with static members.
8431
8791793c
TT
84322019-02-26 Tom Tromey <tromey@adacore.com>
8433
8434 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8435 ValueError, not TypeError.
8436
bc2a507e
KB
84372019-02-26 Kevin Buettner <kevinb@redhat.com>
8438
8439 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8440 call from main program.
8441
e0e7d3bd
JB
84422019-02-23 Joel Brobecker <brobecker@adacore.com>
8443
8444 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8445 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8446 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8447 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8448 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8449
9600246d
KS
84502019-02-22 Keith Seitz <keiths@redhat.com>
8451
8452 PR symtab/23853
8453 * gdb.base/symlink-sourcefile.c: New file.
8454 * gdb.base/symlink-sourcefile.exp: New file.
8455
0c95f9ed
TT
84562019-02-20 Tom Tromey <tom@tromey.com>
8457
8458 * gdb.base/info_qt.exp: Update.
8459
6caa91b6
SM
84602019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8461
8462 * gdb.base/source.exp: Move "error in sourced script" code to
8463 the end.
8464 * gdb.base/source-error.gdb: Move contents to
8465 source-error-1.gdb. Add new code to source source-error-1.gdb.
8466 * gdb.base/source-error-1.gdb: New file, from previous
8467 source-error.gdb.
8468
6506371f
TT
84692019-02-17 Tom Tromey <tom@tromey.com>
8470
8471 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8472 for macro styling.
8473 * gdb.base/style.c (SOME_MACRO): New macro.
8474
a0087920
TT
84752019-02-17 Tom Tromey <tom@tromey.com>
8476
8477 * gdb.base/style.exp: Add line-wrapping tests.
8478 * gdb.base/page.exp: Add test for quitting during pagination.
8479
a2cd4f14
JB
84802019-02-17 Joel Brobecker <brobecker@adacore.com>
8481
8482 * gdb.ada/big_packed_array: New testcase.
8483 * gdb.ada/homonym.exp: Fix incorrect expected output for
8484 "break <homonym__get_value>" test.
8485
9d70ffbc
WP
84862019-02-13 Weimin Pan <weimin.pan@oracle.com>
8487
8488 PR breakpoints/21870
8489 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8490 and prepare_for_testing. Add comment.
8491 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8492 redundant cleanup call. Clean up comment.
8493
01c7ae81
WP
84942019-02-12 Weimin Pan <weimin.pan@oracle.com>
8495
8496 PR breakpoints/21870
8497 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8498 * gdb.arch/aarch64-dbreg-contents.c: New file.
8499
aff29d1c
JB
85002019-02-10 Joel Brobecker <brobecker@adacore.com>
8501
8502 * gdb.ada/mi_ref_changeable: New testcase.
8503
df0da8a2
AH
85042019-02-07 Alan Hayward <alan.hayward@arm.com>
8505
8506 * gdb.base/attach.exp: Add double attach test.
8507
bd447abb
SM
85082019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8509
8510 * lib/gdb.exp (default_gdb_start): Don't match pagination
8511 prompt.
8512 (gdb_init): Set stty_init.
8513
1dbc40b9
TT
85142019-01-27 Tom Tromey <tom@tromey.com>
8515
8516 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8517 skip_python_tests.
8518
353229bf
AH
85192019-01-24 Alan Hayward <alan.hayward@arm.com>
8520
8521 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8522 New structure.
8523 (struct struct_static_02_02): Likewise.
8524 (struct struct_static_02_03): Likewise.
8525 (struct struct_static_02_04): Likewise.
8526 (struct struct_static_04_01): Likewise.
8527 (struct struct_static_04_02): Likewise.
8528 (struct struct_static_04_03): Likewise.
8529 (struct struct_static_04_04): Likewise.
8530 (struct struct_static_06_01): Likewise.
8531 (struct struct_static_06_02): Likewise.
8532 (struct struct_static_06_03): Likewise.
8533 (struct struct_static_06_04): Likewise.
8534 (cmp_struct_static_02_01): Likewise.
8535 (cmp_struct_static_02_02): Likewise.
8536 (cmp_struct_static_02_03): Likewise.
8537 (cmp_struct_static_02_04): Likewise.
8538 (cmp_struct_static_04_01): Likewise.
8539 (cmp_struct_static_04_02): Likewise.
8540 (cmp_struct_static_04_03): Likewise.
8541 (cmp_struct_static_04_04): Likewise.
8542 (cmp_struct_static_06_01): Likewise.
8543 (cmp_struct_static_06_02): Likewise.
8544 (cmp_struct_static_06_03): Likewise.
8545 (cmp_struct_static_06_04): Likewise.
8546 (call_all): Test new structs.
8547 * gdb.base/infcall-nested-structs.exp: Likewise.
8548
73021deb
AH
85492019-01-21 Alan Hayward <alan.hayward@arm.com>
8550 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8551
fc65c7db
AH
85522019-01-21 Alan Hayward <alan.hayward@arm.com>
8553 * gdb.base/stack-protector.c: New test.
8554 * gdb.base/stack-protector.exp: New file.
8555 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8556 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8557 option.
8558 (gdb_compile): Remove stack protector for GCC and prevent
8559 recursion.
8560
c24bdb02
KS
85612019-01-16 Keith Seitz <keiths@redhat.com>
8562
8563 PR gdb/23773
8564 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8565
6f072a10
PFC
85662019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8567
8568 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8569 aliases.
8570 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8571 tests.
8572 * gdb.arch/powerpc-vector-regs.c: New file.
8573 * gdb.arch/powerpc-vector-regs.exp: New file.
8574
a7b8d682
PFC
85752019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8576
8577 * gdb.arch/altivec-regs.exp: Fix the list passed to
8578 gdb_expect_list when testing "info vector".
8579
6eb6fb67
AB
85802019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8581
8582 * gdb.base/style.exp: Don't include path in testname.
8583
b56f80d8
KS
85842019-01-10 Keith Seitz <keiths@redhat.com>
8585
8586 PR gdb/23712
8587 PR symtab/23010
8588 * gdb.dwarf2/multidictionary.exp: New file.
8589
041be526
SM
85902019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8591
8592 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8593 (test_gnuv3_style_demangling): ... this.
8594 (test_lucid_style_demangling): Remove.
8595 (test_arm_style_demangling): Remove.
8596 (test_hp_style_demangling): Remove.
8597 (do_tests): Remove calls to the above.
8598
d820d0c3
AB
85992019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8600
8601 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8602 case.
8603
f097f5ad
TT
86042019-01-06 Tom Tromey <tom@tromey.com>
8605
8606 PR gdb/28155:
8607 * gdb.dwarf2/typedef-void-finish.exp: New file.
8608
2cd8cc0b
TT
86092018-12-28 Tom Tromey <tom@tromey.com>
8610 Simon Marchi <simark@simark.ca>
8611
8612 * gdb.base/jit-exec.exp: New file.
8613 * gdb.base/jit-exec.c: New file.
8614 * gdb.base/jit-execd.c: New file.
8615
35fb8261
TT
86162018-12-28 Tom Tromey <tom@tromey.com>
8617
8618 * gdb.base/style.exp: Update test to check for address styling.
8619
47fd17cd
TT
86202018-12-28 Tom Tromey <tom@tromey.com>
8621
8622 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8623 message.
8624
d47032b7
TT
86252018-12-28 Tom Tromey <tom@tromey.com>
8626
8627 * gdb.base/style.exp: Add test for version number styling.
8628
af79b68d
TT
86292018-12-28 Tom Tromey <tom@tromey.com>
8630
8631 * gdb.base/style.exp: Add test for print_address_symbolic.
8632
0bb296cb
TT
86332018-12-28 Tom Tromey <tom@tromey.com>
8634
8635 * gdb.base/style.exp: Add test for breakpoint setting.
8636
80ae2043
TT
86372018-12-28 Tom Tromey <tom@tromey.com>
8638
8639 * gdb.base/style.exp: Add test for variable names.
8640
cbe56571
TT
86412018-12-28 Tom Tromey <tom@tromey.com>
8642
8643 * gdb.base/style.exp: New file.
8644 * gdb.base/style.c: New file.
8645
9162a27c
TT
86462018-12-28 Tom Tromey <tom@tromey.com>
8647
8648 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8649 "dumb".
8650 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8651 the TERM environment variable.
8652
bc543c90
TT
86532018-12-27 Tom Tromey <tom@tromey.com>
8654
8655 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8656 pagination test.
8657
6f0ffe50
AB
86582018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8659
8660 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8661 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8662
b5a1e557
PW
86632018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8664
8665 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8666 Filename a.adb changed to bp_fun_addr.adb.
8667 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8668
6e8b1ab2
JV
86692018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8670
8671 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8672 non-PIE executables.
8673 * README: Mention the gdb,nopie_flag board setting.
8674 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8675 non-PIE executable.
8676 * gdb.arch/amd64-entry-value.exp: Likewise.
8677 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8678 * gdb.arch/i386-float.exp: Likewise.
8679 * gdb.arch/i386-signal.exp: Likewise.
8680 * gdb.mi/mi-reg-undefined.exp: Likewise.
8681
d00a27c5
PM
86822018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8683
8684 PR gdb/23974
8685 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8686
161d081c
PW
86872018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8688
8689 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8690 Update order of results accordingly.
8691
b001de23
AB
86922018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8693
8694 * gdb.base/annota1.exp: Update a test regexp.
8695
99e1a184
AB
86962018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8697
8698 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8699
7a81c1e2
PW
87002018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8701
8702 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8703 (reuse_time): Initialize to REUSE_TIME_CAP.
8704 (check_rc): New function.
8705 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8706 Check pthread_create rc.
8707 (spawner_thread_func): Check pthread_create and pthread_join rc.
8708
73e8dc90
PA
87092018-12-08 Pedro Alves <palves@redhat.com>
8710
8711 * gdb.base/list.exp (test_forward_search): Rename to ...
8712 (test_forward_reverse_search): ... this. Also test reverse-search
8713 and the forward-search alias.
8714
13f2ed32
AB
87152018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8716
8717 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8718 local timeout variable before return, and remove all local timeout
8719 variable entirely.
8720 (gdb_load): Likewise.
8721
64d27cfc
TV
87222018-12-01 Tom de Vries <tdevries@suse.de>
8723
8724 * gdb.base/gdb-caching-proc.exp: New file.
8725
f63c03b4
SDJ
87262018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8727
8728 * Makefile.in (TIMESTAMP): New variable.
8729 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8730 command.
8731 (check-single-racy): Likewise.
8732 (check/%.exp): Likewise.
8733 (check-racy/%.exp): Likewise.
8734 (workers/%.worker): Likewise.
8735 (build-perf): Likewise.
8736 (check-perf): Likewise.
8737 * README: Describe new "TS" and "TS_FORMAT" variables.
8738 * print-ts.py: New file.
8739
1c97054b
BF
87402018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8741
8742 PR python/23714
8743 * gdb.python/python.exp: Test command repetition after
8744 gdb.execute.
8745
1871a62d
AB
87462018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8747
8748 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8749 is correctly aligned.
8750
fb5e1ed9
PW
87512018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8752
8753 * gdb.ada/info_auto_lang.exp: New testcase.
8754 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8755 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8756 * gdb.ada/info_auto_lang/some_c.c: New file.
8757
43d397ca
PW
87582018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8759
8760 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8761 FUNC_lang language syntax.
8762
beddd671
PW
87632018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8764
8765 * gdb.base/info_minsym.c: New file.
8766 * gdb.base/info_minsym.exp: New file.
8767
73fc52c4
TT
87682018-11-19 Tom Tromey <tom@tromey.com>
8769
8770 PR rust/23625:
8771 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8772 * gdb.rust/expr.exp: Update expected output. Change one test.
8773
994b876a
TT
87742018-11-19 Tom Tromey <tom@tromey.com>
8775
8776 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8777
6769f276
PA
87782018-11-19 Pedro Alves <palves@redhat.com>
8779
8780 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8781 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8782 see the expected warning.
8783
38a72da0
AH
87842018-11-16 Alan Hayward <alan.hayward@arm.com>
8785
8786 PR gdb/22736:
8787 * gdb.cp/infcall-nodebug-lib.c: New test.
8788 * gdb.cp/infcall-nodebug-main.c: New test.
8789 * gdb.cp/infcall-nodebug.exp: New file.
8790
53a89d6e
SM
87912018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8792
8793 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8794 completer tests.
8795
9325300d
TV
87962018-11-09 Tom de Vries <tdevries@suse.de>
8797
8798 * gdb.base/msym-lang.c: New test.
8799 * gdb.base/msym-lang.exp: New file.
8800 * gdb.base/msym-lang-main.c: New test.
8801
20f0d60d
TT
88022018-11-08 Tom Tromey <tom@tromey.com>
8803
8804 PR gdb/23555:
8805 PR gdb/23838:
8806 * gdb.base/warning.exp: New file.
8807
b5420128
JB
88082018-11-08 Jan Beulich <jbeulich@suse.com>
8809
8810 * testsuite/gdb.arch/i386-avx512.c,
8811 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8812
cd115d61
AB
88132018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8814
8815 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8816 point hardware.
8817
35ee2dc2
AB
88182018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8819
8820 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8821 * gdb.dwarf2/missing-type-name.exp: New file.
8822
31aceee8
TV
88232018-11-06 Tom de Vries <tdevries@suse.de>
8824
8825 * gdb.base/many-headers.c: New test.
8826 * gdb.base/many-headers.exp: New file.
8827
109be305
JW
88282018-11-06 Jim Wilson <jimw@sifive.com>
8829
8830 * gdb.base/code_elim.exp: For riscv, set additional_flags
8831 to include -msmall-data-limit=0.
8832
e2b7af72
JB
88332018-11-01 Joel Brobecker <brobecker@adacore.com>
8834
8835 * gdb.ada/watch_minus_l: New testcase.
8836
cdcda965
SM
88372018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8838
8839 * gdb.arch/aix-sighandle.c: New file.
8840 * gdb.arch/aix-sighandle.exp: New file.
8841
92dcebf3
AB
88422018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8843
8844 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8845 registers being unions.
8846
68b9ac18
TV
88472018-10-31 Tom de Vries <tdevries@suse.de>
8848
8849 * lib/valgrind.exp: New file.
8850 (vgdb_start, vgdb_stop): New procs, factored out of ...
8851 * gdb.base/valgrind-bt.exp: ... here, ...
8852 * gdb.base/valgrind-disp-step.exp: ... here and ...
8853 * gdb.base/valgrind-infcall.exp: ... here.
8854
1443936e
TV
88552018-10-31 Tom de Vries <tdevries@suse.de>
8856
8857 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8858
eb77c9df
AB
88592018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8860
8861 * gdb.dwarf2/void-type.c: New file.
8862 * gdb.dwarf2/void-type.exp: New file.
8863
82b5e646
PW
88642018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8865
8866 * gdb.base/info_qt.c: New file.
8867 * gdb.base/info_qt.exp: New file.
8868
8d619c01
EBM
88692018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8870
8871 * gdb.arch/powerpc-htm-regs.c: New file.
8872 * gdb.arch/powerpc-htm-regs.exp: New file.
8873
f2cf6173
EBM
88742018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8875
8876 * gdb.arch/powerpc-tar.c: New file.
8877 * gdb.arch/powerpc-tar.exp: New file.
8878
7ca18ed6
EBM
88792018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8880
8881 * gdb.arch/powerpc-ppr-dscr.c: New file.
8882 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8883
bfcc0eba
TV
88842018-10-25 Tom de Vries <tdevries@suse.de>
8885
8886 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8887
fe1a5cad
TV
88882018-10-24 Tom de Vries <tdevries@suse.de>
8889
8890 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8891 longer exists error.
8892
a76dc3b7
TV
88932018-10-24 Tom de Vries <tdevries@suse.de>
8894
8895 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8896
4df46df7
TV
88972018-10-24 Tom de Vries <tdevries@suse.de>
8898
8899 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8900 --db-attach in valgrind.
8901
0dbfcfff
AB
89022018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8903
8904 * gdb.arch/riscv-reg-aliases.c: New file.
8905 * gdb.arch/riscv-reg-aliases.exp: New file.
8906
b04480b1
AH
89072018-10-19 Alan Hayward <alan.hayward@arm.com>
8908
8909 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8910
2c6ac8d7
AH
89112018-10-19 Alan Hayward <alan.hayward@arm.com>
8912
8913 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8914
2bc69f25
AH
89152018-10-19 Alan Hayward <alan.hayward@arm.com>
8916
8917 * gdb.cp/ovldbreak.exp: Fix regexps.
8918
1f1ae3a3
AH
89192018-10-19 Alan Hayward <alan.hayward@arm.com>
8920
8921 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8922
94c18618
SDJ
89232018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8924
8925 PR cli/23785
8926 * gdb.base/restore.exp: New test to check if "restore" with an
8927 invalid file doesn't segfault.
8928
812cd6eb
TV
89292018-10-18 Tom de Vries <tdevries@suse.de>
8930
8931 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8932 * gdb.ada/excep_handle.exp: Same.
8933 * gdb.ada/mi_string_access.exp: Same.
8934 * gdb.ada/mi_var_union.exp: Same.
8935 * gdb.arch/arc-analyze-prologue.exp: Same.
8936 * gdb.arch/arc-decode-insn.exp: Same.
8937 * gdb.base/readnever.exp: Same.
8938 * gdb.fortran/printing-types.exp: Same.
8939 * gdb.guile/scm-lazy-string.exp: Same.
8940
c4b90788
TV
89412018-10-16 Tom de Vries <tdevries@suse.de>
8942
8943 PR gdb/23730
8944 * gdb.base/catch-follow-exec.c: Add copyright notice.
8945 * gdb.base/catch-follow-exec.exp: Rewrite to use
8946 gdb_spawn_with_cmdline_opts. Require gdb-native.
8947
8bca2978
SL
89482018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8949
8950 * gdb.trace/actions-changed.exp: Check for arch support.
8951 * gdb.trace/actions.exp: Likewise.
8952 * gdb.trace/ax.exp: Likewise.
8953 * gdb.trace/backtrace.exp: Likewise.
8954 * gdb.trace/change-loc.exp: Likewise.
8955 * gdb.trace/deltrace.exp: Likewise.
8956 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8957 * gdb.trace/ftrace.exp: Likewise.
8958 * gdb.trace/infotrace.exp: Check for arch support.
8959 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8960 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8961 * gdb.trace/mi-tsv-changed.exp: Likewise.
8962 * gdb.trace/packetlen.exp: Likewise.
8963 * gdb.trace/passc-dyn.exp: Likewise.
8964 * gdb.trace/passcount.exp: Likewise.
8965 * gdb.trace/pending.exp: Likewise.
8966 * gdb.trace/range-stepping.exp: Check for shlib support.
8967 * gdb.trace/report.exp: Check for arch support.
8968 * gdb.trace/save-trace.exp: Likewise.
8969 * gdb.trace/signal.exp: Check for signal support.
8970 * gdb.trace/tfind.exp: Check for arch support.
8971 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8972 * gdb.trace/trace-common.h: Add comment.
8973 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8974 * gdb.trace/trace-enable-disable.exp: Likewise.
8975 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8976 * gdb.trace/tracecmd.exp: Check for arch support.
8977 * gdb.trace/tspeed.exp: Check for shlib and target support.
8978 * gdb.trace/tstatus.exp: Check for arch support.
8979 * gdb.trace/tsv.exp: Likewise.
8980 * gdb.trace/while-dyn.exp: Likewise.
8981 * gdb.trace/while-stepping.exp: Likewise.
8982 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8983
f9c49bff
SM
89842018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8985
8986 * gdb.trace/tspeed.exp: Remove nowarnings.
8987 (prepare_for_trace_test): Declare "global ipalib".
8988 * gdb.trace/tspeed.c: Include unistd.h.
8989 (main): Remove superfluous printf argument.
8990
d4330bde
SL
89912018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8992
8993 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8994 directory prefix on the filename.
8995
8ecfd7bd
SDJ
89962018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8997
8998 * gdb.gdb/unittest.exp: Update expected message informing that
8999 selftests have been disabled.
9000 * gdb.server/unittest.exp: Likewise.
9001
58bbcd02
TV
90022018-10-09 Tom de Vries <tdevries@suse.de>
9003
9004 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9005 with runto_main.
9006
9f6b697b
WP
90072018-10-08 Weimin Pan <weimin.pan@oracle.com>
9008
9009 PR c++/16841
9010 * gdb.cp/virtbase2.cc: New file.
9011 * gdb.cp/virtbase2.exp: New file.
9012
add5ded5
TT
90132018-10-06 Tom Tromey <tom@tromey.com>
9014
9015 PR python/19399:
9016 * gdb.python/py-inferior.exp: Add architecture test.
9017
f9e48344
TT
90182018-10-06 Tom Tromey <tom@tromey.com>
9019
9020 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9021 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9022
2a8be203
TT
90232018-10-06 Tom Tromey <tom@tromey.com>
9024
9025 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9026 of a "throw" catchpoint.
9027
e04caa70
SDJ
90282018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9029
9030 * gdb.base/info-proc.exp: Update string expected from "help info
9031 proc".
9032
5ca8c39f
TT
90332018-10-04 Tom Tromey <tom@tromey.com>
9034
9035 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9036 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9037 (test_initial_complaints, test_empty_complaints): Update.
9038 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9039
3453e7e4
TT
90402018-10-04 Tom Tromey <tom@tromey.com>
9041
9042 PR cli/19551:
9043 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9044 * lib/gdb.exp (gdb_file_cmd): Update.
9045 * gdb.stabs/weird.exp (print_weird_var): Update.
9046 * gdb.server/solib-list.exp: Update.
9047 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9048 * gdb.mi/mi-cli.exp: Update.
9049 * gdb.linespec/linespec.exp: Update.
9050 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9051 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9052 * gdb.cp/cp-relocate.exp: Update.
9053 * gdb.base/sym-file.exp: Update.
9054 * gdb.base/relocate.exp: Update.
9055 * gdb.base/readnever.exp: Update.
9056 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9057 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9058 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9059 * gdb.base/code_elim.exp: Update.
9060 * gdb.base/break-unload-file.exp (test_break): Update.
9061 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9062 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9063 Update.
9064 * gdb.base/attach.exp (do_attach_tests): Update.
9065 * gdb.base/sepdebug.exp: Update.
9066 * gdb.python/py-section-script.exp: Update.
9067
6afcf761
TT
90682018-10-04 Tom Tromey <tom@tromey.com>
9069
9070 PR cli/22234:
9071 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9072 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9073 output.
9074
fef1b293
TT
90752018-10-04 Tom Tromey <tom@tromey.com>
9076
9077 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9078 set width and height to 0.
9079 (test_command_line_attach_run): Use -quiet.
9080
ca98345e
SL
90812018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9082
9083 * lib/gdb.exp (skip_ifunc_tests): New.
9084 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9085 other compile failures.
9086 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9087
ff34e6ae
SM
90882018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9089
9090 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9091 is_amd64_regs_target.
9092
6bb8890e
AH
90932018-10-01 Alan Hayward <alan.hayward@arm.com>
9094
9095 * gdb.arch/aarch64-sighandler-regs.c: New test.
9096 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9097 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9098
224d30d3
MM
90992018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9100
9101 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9102 assembly.
9103
f67ffa6a
AB
91042018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9105
9106 * gdb.base/frame-selection.exp: New file.
9107 * gdb.base/frame-selection.c: New file.
9108
9fc3183f
AH
91092018-09-27 Alan Hayward <alan.hayward@arm.com>
9110
9111 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9112 pthread barrier.
9113 (main): Likewise.
9114
d354055e
AB
91152018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9116
9117 * gdb.base/large-frame-1.c: New file.
9118 * gdb.base/large-frame-2.c: New file.
9119 * gdb.base/large-frame.exp: New file.
9120 * gdb.base/large-frame.h: New file.
9121
db727370
JL
91222018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9123
9124 PR gdb/20948
9125 * gdb.base/write_mem.exp: New test.
9126 * gdb.base/write_mem.c: Likewise.
9127
ae778caf
TT
91282018-09-23 Tom Tromey <tom@tromey.com>
9129
9130 PR python/18852:
9131 * gdb.python/py-parameter.exp: Add test for parameter that throws
9132 on "set".
9133
fd3ba736
TT
91342018-09-23 Tom Tromey <tom@tromey.com>
9135
9136 PR python/17284:
9137 * gdb.python/py-template.exp (test_template_arg): Add test for
9138 negative template argument number.
9139
39a24317
TT
91402018-09-23 Tom Tromey <tom@tromey.com>
9141
9142 PR python/14062:
9143 * gdb.python/python.exp: Add test for post_event error.
9144
f5769a2c
TT
91452018-09-23 Tom Tromey <tom@tromey.com>
9146
9147 PR python/18170:
9148 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9149 convert pointers to int and long.
9150
1c1e54f6
TT
91512018-09-23 Tom Tromey <tom@tromey.com>
9152
9153 PR python/20126:
9154 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9155 signed-ness conversion tests.
9156
fb4fa946
TT
91572018-09-23 Tom Tromey <tom@tromey.com>
9158
9159 PR python/18352;
9160 * gdb.python/py-value.exp (test_float_conversion): New proc.
9161 Use it.
9162
a466edac
HAQ
91632018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9164
9165 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9166
4ee9b0c5
SL
91672018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9168
9169 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9170 no readline.
9171 * gdb.base/utf8-identifiers.exp: Likewise.
9172 * gdb.cp/cpcompletion.exp: Likewise.
9173 * gdb.linespec/cpcompletion.exp: Likewise.
9174 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9175 * gdb.linespec/cpls-ops.exp: Likewise.
9176
23be8da7
RB
91772018-09-19 Richard Bunt <richard.bunt@arm.com>
9178 Chris January <chris.january@arm.com>
9179
9180 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9181 * gdb.fortran/short-circuit-argument-list.exp: New file.
9182 * gdb.fortran/short-circuit-argument-list.f90: New test.
9183
5031d0ae
SDJ
91842018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9185
9186 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9187 "arch=" keyword when executing "-stack-list-frames".
9188
b4c0d1a4
SDJ
91892018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9190
9191 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9192 "arch=" keyword when executing "-stack-list-frames".
9193
7a6d2b45
SDJ
91942018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9195
9196 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9197 break ada".
9198
8588b356
SM
91992018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9200
9201 PR python/23669
9202 * gdb.python/python.exp: Test gdb.execute("show commands").
9203
65e65158
TT
92042018-09-16 Tom Tromey <tom@tromey.com>
9205
9206 * gdb.base/new-ui.exp (do_execution_tests): Update.
9207 * gdb.base/dbx.exp (test_breakpoints): Update.
9208
bf326452
AH
92092018-09-14 Alan Hayward <alan.hayward@arm.com>
9210
9211 * lib/gdb.exp (gdb_simple_compile): Add proc.
9212 (is_elf_target): Use gdb_simple_compile.
9213 (skip_altivec_tests): Likewise.
9214 (skip_vsx_tests): Likewise.
9215 (skip_tsx_tests): Likewise.
9216 (skip_btrace_tests): Likewise.
9217 (skip_btrace_pt_tests): Likewise.
9218 (gdb_can_simple_compile): Likewise.
9219 (gdb_has_argv0): Likewise.
9220 (gdb_target_symbol_prefix): Likewise.
9221 (target_supports_scheduler_locking): Likewise.
9222
2361b0fb
TT
92232018-09-13 Tom Tromey <tom@tromey.com>
9224
9225 * Makefile.in (TAGS): Recognize proc_with_prefix and
9226 gdb_caching_proc.
9227
0ae1a321
SM
92282018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9229
9230 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9231 method.
9232
a40bf0c2
SM
92332018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9234
9235 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9236 and a few other Inferior properties when the Inferior is no
9237 longer valid.
9238
4a3fe98f
TT
92392018-09-13 Tom Tromey <tom@tromey.com>
9240
9241 PR rust/23650:
9242 * gdb.rust/simple.exp: Add test for enum field access error.
9243
098b2108
TT
92442018-09-13 Tom Tromey <tom@tromey.com>
9245
9246 PR rust/23626:
9247 * gdb.rust/simple.rs (EmptyEnum): New type.
9248 (main): Use it.
9249 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9250
1256af7d
SM
92512018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9252
9253 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9254 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9255 * gdb.python/py-symtab.exp: Update test printing an objfile.
9256
4aa8e6c2
SM
92572018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9258
9259 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9260 object.
9261
c221b2f7
AH
92622018-09-12 Alan Hayward <alan.hayward@arm.com>
9263
9264 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9265 (support_complex_tests): Use gdb_can_simple_compile.
9266 (is_ilp32_target): Likewise.
9267 (is_lp64_target): Likewise.
9268 (is_64_target): Likewise.
9269 (is_amd64_regs_target): Likewise.
9270 (is_aarch32_target): Likewise.
9271 (gdb_int128_helper): Likewise.
9272
6f1107b5
JK
92732018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9274
9275 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9276
1f5d1570
JG
92772018-09-10 Jerome Guitton <guitton@adacore.com>
9278
9279 * gdb.ada/same_component_name: Add test for case of tagged record
9280 with variable-length fields.
9281
cc330e39
XR
92822018-09-10 Xavier Roirand <roirand@adacore.com>
9283
9284 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9285 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9286 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9287 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9288
b9c50e9a
XR
92892018-09-10 Xavier Roirand <roirand@adacore.com>
9290
9291 * gdb.ada/mi_string_access.exp: New testcase.
9292 * gdb.ada/mi_string_access/bar.adb: New file.
9293 * gdb.ada/mi_string_access/pck.adb: New file.
9294 * gdb.ada/mi_string_access/pck.asd: New file.
9295
2963898f
XR
92962018-09-10 Xavier Roirand <roirand@adacore.com>
9297
9298 * gdb.ada/mi_var_union.exp: New testcase.
9299 * gdb.ada/mi_var_union/bar.adb: New file.
9300 * gdb.ada/mi_var_union/pck.adb: New file.
9301 * gdb.ada/mi_var_union/pck.asd: New file.
9302
1aac008f
TT
93032018-09-08 Tom Tromey <tom@tromey.com>
9304
9305 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9306
332cf4c9
TT
93072018-09-08 Tom Tromey <tom@tromey.com>
9308
9309 PR python/16047:
9310 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9311 (register_pretty_printers): Register new printer.
9312 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9313 test.
9314 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9315 (an_int_type3): New global.
9316
424da6cf
JB
93172018-09-08 Joel Brobecker <brobecker@adacore.com>
9318
9319 * gdb.ada/expr_with_funcall: New testcase.
9320
2a62dfa9
JB
93212018-09-08 Joel Brobecker <brobecker@adacore.com>
9322
9323 * gdb.ada/packed_array_assign: New testcase.
9324
96b6697f
AB
93252018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9326
9327 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9328 names, and add test prefixes to make test names unique.
9329
e4a62c65
TV
93302018-09-05 Tom de Vries <tdevries@suse.de>
9331
9332 * gdb.dwarf2/varval.exp: Add test.
9333
dd083ee2
GB
93342018-09-04 Gary Benson <gbenson@redhat.com>
9335
9336 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9337 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9338
aef9346c
TT
93392018-08-31 Tom Tromey <tom@tromey.com>
9340
9341 * gdb.rust/simple.rs: Rename second variable "v".
9342
c67f2e15
AB
93432018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9344
9345 * gdb.base/funcargs.c (use_a): New function.
9346 (recurse): Call use_a.
9347
078a0207
KS
93482018-08-29 Keith Seitz <keiths@redhat.com>
9349
9350 * gdb.compile/compile-cplus-anonymous.cc: New file.
9351 * gdb.compile/compile-cplus-anonymous.exp: New file.
9352 * gdb.compile/compile-cplus-array-decay.cc: New file.
9353 * gdb.compile/compile-cplus-array-decay.exp: New file.
9354 * gdb.compile/compile-cplus-inherit.cc: New file.
9355 * gdb.compile/compile-cplus-inherit.exp: New file.
9356 * gdb.compile/compile-cplus-member.cc: New file.
9357 * gdb.compile/compile-cplus-member.exp: New file.
9358 * gdb.compile/compile-cplus-method.cc: New file.
9359 * gdb.compile/compile-cplus-method.exp: New file.
9360 * gdb.compile/compile-cplus-mod.c: "New" file.
9361 * gdb.compile/compile-cplus-namespace.cc: New file.
9362 * gdb.compile/compile-cplus-namespace.exp: New file.
9363 * gdb.compile/compile-cplus-nested.cc: New file.
9364 * gdb.compile/compile-cplus-nested.exp: New file.
9365 * gdb.compile/compile-cplus-print.c: "New" file.
9366 * gdb.compile/compile-cplus-print.exp: "New" file.
9367 * gdb.compile/compile-cplus-virtual.cc: New file.
9368 * gdb.compile/compile-cplus-virtual.exp: New file.
9369 * gdb.compile/compile-cplus.c: "New" file.
9370 * gdb.compile/compile-cplus.exp: "New" file.
9371 * lib/compile-support.exp: New file.
9372
b0f492b9
GB
93732018-08-16 Gary Benson <gbenson@redhat.com>
9374
9375 PR gdb/13000:
9376 * gdb.base/batch-exit-status.exp: New file.
9377 * gdb.base/batch-exit-status.good-commands: Likewise.
9378 * gdb.base/batch-exit-status.bad-commands: Likewise.
9379
36eb4c5f
AH
93802018-08-29 Alan Hayward <alan.hayward@arm.com>
9381
9382 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9383 (struct struct02): Likewise.
9384 (struct struct03): Likewise.
9385 (struct struct04): Likewise.
9386 (struct struct_01_01): New struct.
9387 (struct struct_01_02): Likewise.
9388 (struct struct_01_03): Likewise.
9389 (struct struct_01_04): Likewise.
9390 (struct struct_02_01): Likewise.
9391 (struct struct_02_02): Likewise.
9392 (struct struct_02_03): Likewise.
9393 (struct struct_02_04): Likewise.
9394 (struct struct_04_01): Likewise.
9395 (struct struct_04_02): Likewise.
9396 (struct struct_04_03): Likewise.
9397 (struct struct_04_04): Likewise.
9398 (struct struct_05_01): Likewise.
9399 (struct struct_05_02): Likewise.
9400 (struct struct_05_03): Likewise.
9401 (struct struct_05_04): Likewise.
9402 (cmp_struct01): Remove function.
9403 (cmp_struct02): Likewise.
9404 (cmp_struct03): Likewise.
9405 (cmp_struct04): Likewise.
9406 (cmp_struct_01_01): Add Function.
9407 (cmp_struct_01_02): Likewise.
9408 (cmp_struct_01_03): Likewise.
9409 (cmp_struct_01_04): Likewise.
9410 (cmp_struct_02_01): Likewise.
9411 (cmp_struct_02_02): Likewise.
9412 (cmp_struct_02_03): Likewise.
9413 (cmp_struct_02_04): Likewise.
9414 (cmp_struct_04_01): Likewise.
9415 (cmp_struct_04_02): Likewise.
9416 (cmp_struct_04_03): Likewise.
9417 (cmp_struct_04_04): Likewise.
9418 (cmp_struct_05_01): Likewise.
9419 (cmp_struct_05_02): Likewise.
9420 (cmp_struct_05_03): Likewise.
9421 (cmp_struct_05_04): Likewise.
9422 (call_all): Add new structs.
9423 * gdb.base/infcall-nested-structs.exp: Likewise.
9424
3bf9c013
JV
94252018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9426
9427 * gdb.python/py-framefilter-mi.exp: Update regexp to
9428 check for "arch" field in frame output.
9429
450d1e88
KB
94302018-08-23 Kevin Buettner <kevinb@redhat.com>
9431
9432 * gdb.dwarf2/dw2-ranges-func.c: New file.
9433 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9434
ae739fe7
SM
94352018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9436
9437 * gdb.base/term.exp: Compare terminal settings with values from
9438 the inferior.
9439 * gdb.base/term.c: Get and set terminal settings.
9440
6d52907e
JV
94412018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9442
9443 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9444 accommodate new "arch" field in frame output.
9445 * gdb.mi/mi-return.exp: Likewise.
9446 * gdb.mi/mi-stack.exp: Likewise.
9447 * gdb.mi/mi-syn-frame.exp: Likewise.
9448 * gdb.mi/user-selected-context-sync.exp: Likewise.
9449
be2d111a
MS
94502018-08-19 Michael Spang <spang@google.com>
9451
9452 PR gdb/11786
9453 * gdb.base/gcore-tls-pie.c: New file.
9454 * gdb.base/gcore-tls-pie.exp: New file.
9455
ae3a7c47
KB
94562018-08-18 Kevin Buettner <kevinb@redhat.com>
9457
9458 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9459 * gdb.dwarf2/varval.c: New file.
9460 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9461
2ecae92e
AH
94622018-08-17 Alan Hayward <alan.hayward@arm.com>
9463
9464 PR gdb/18931
9465 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9466
c1854f1d
KS
94672018-08-16 Keith Seitz <keiths@redhat.com>
9468
9469 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9470 tests expected to pass.
9471
26fb3983
JV
94722018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9473
9474 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9475 -data-disassemble -a.
9476 (test_disassembly_bogus_args): Likewise.
9477
67943c00
AB
94782018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9479
9480 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9481
5ff2bbae
AB
94822018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9483
9484 * gdb.base/vla-optimized-out.exp: Add new test.
9485
e5bbcd0f
AB
94862018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9487
9488 * gdb.base/vla-optimized-out-o3.exp: Delete.
9489 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9490 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9491 deleted tests.
9492
9d4a934c
AB
94932018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9494
9495 PR gdb/18050:
9496 * gdb.server/extended-remote-restart.c: New file.
9497 * gdb.server/extended-remote-restart.exp: New file.
9498
045cf012
SM
94992018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9500
9501 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9502 "set variable index = 42".
9503
87d6a7aa
SM
95042018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9505
9506 * boards/index-cache-gdb.exp: New file.
9507 * gdb.dwarf2/index-cache.exp: New file.
9508 * gdb.dwarf2/index-cache.c: New file.
9509 * gdb.base/maint.exp: Check if we are using the index cache.
9510
96d68bd4
RO
95112018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9512
9513 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9514 MAKEFLAGS.
9515
5a699617
RO
95162018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9517
9518 * dg-extract-results.sh: Move to toplevel contrib.
9519 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9520 * Makefile.in (check-parallel-racy): Likewise.
9521
5bd18990
AB
95222018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9523
9524 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9525 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9526 tests if the target supports scheduler locking.
9527
3fbbcf47
TV
95282018-08-04 Tom de Vries <tdevries@suse.de>
9529
9530 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9531
3e1d3d8c
TT
95322018-08-02 Tom Tromey <tom@tromey.com>
9533
9534 PR symtab/16842.
9535 * gdb.cp/temargs.exp: Test "info address" of a template
9536 parameter.
9537
5abe0f0c
JV
95382018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9539
9540 * gdb.python/py-mi-var-info-path-expression.c: New file.
9541 * gdb.python/py-mi-var-info-path-expression.py: New file.
9542 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9543
fb66cde8
SDJ
95442018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9545
9546 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9547 error after "cannot resolve name" string.
9548
c708f4d2
AB
95492018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9550
9551 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9552 started.
9553 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9554
37cc0cae
TV
95552018-07-28 Tom de Vries <tdevries@suse.de>
9556
9557 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9558
63b4ecf7
TV
95592018-07-26 Tom de Vries <tdevries@suse.de>
9560
9561 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9562
3c3bb058
AB
95632018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9564
9565 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9566 is visible.
9567
9e7f3bbb
TV
95682018-07-26 Tom de Vries <tdevries@suse.de>
9569
9570 PR breakpoints/23366
9571 * gdb.base/catch-follow-exec.c: New test.
9572 * gdb.base/catch-follow-exec.exp: New file.
9573
16f808ec
TV
95742018-07-25 Tom de Vries <tdevries@suse.de>
9575
9576 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9577 vla-optimized-out.c.
9578
d7154a8d
JV
95792018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9580
9581 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9582 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9583
232a0032
TV
95842018-07-20 Tom de Vries <tdevries@suse.de>
9585
9586 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9587 NOCLONE macro.
9588 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9589
fbb1d502
TV
95902018-07-19 Tom de Vries <tdevries@suse.de>
9591
9592 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9593 regular expression.
9594
42dc7699
TV
95952018-07-18 Tom de Vries <tdevries@suse.de>
9596
9597 * gdb.base/vla-optimized-out.c: New test.
9598 * gdb.base/vla-optimized-out.exp: New file.
9599
7f1f7e23
SDJ
96002018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9601
9602 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9603 message "No address associated with hostname" when gdbserver
9604 cannot resolve the hostname.
9605
5759ebb3
PW
96062018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9607
9608 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9609 Add some test prefixes to make tests unique.
9610
3606ccab
PW
96112018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9612
9613 * gdb.base/frameapply.c: New file.
9614 * gdb.base/frameapply.exp: New file.
9615
529c08b2
PW
96162018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9617
9618 * gdb.base/skip.exp: Update expected error message.
9619
c7ab0aef
SDJ
96202018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9621 Jan Kratochvil <jan.kratochvil@redhat.com>
9622 Paul Fertser <fercerpav@gmail.com>
9623 Tsutomu Seki <sekiriki@gmail.com>
9624
9625 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9626 parameter.
9627 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9628 by default.
9629 * boards/native-gdbserver.exp: Likewise.
9630 * gdb.server/run-without-local-binary.exp: Improve regexp used
9631 for detecting when a remote debugging connection succeeds.
9632 * gdb.server/server-connect.exp: New file.
9633 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9634 Do not prefix the port number with ":".
9635 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9636 support for detecting and using it. Add '$debughost_gdbserver'
9637 to the list of arguments used to start gdbserver. Handle case
9638 when gdbserver cannot resolve a network name.
9639
16ff70dd
SDJ
96402018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9641
9642 PR c++/23373
9643 * gdb.base/ptype-offsets.cc (struct static_member): New
9644 struct.
9645 (main) <stmember>: New variable.
9646 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9647 with a static member in it.
9648
3541979f
AB
96492018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9650
9651 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9652 watchpoints enabled and disabled.
9653
c8ad9b9a
AB
96542018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9655
9656 * gdb.base/examine-backward.exp: Still run tests around address
9657 0x0, even if address 0x0 is not readable. Update the pattern for
9658 matching address 0x0 in expected output.
9659
e0e5e971
AB
96602018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9661
9662 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9663 malloc/free.
9664
1ea5da02
TV
96652018-07-04 Tom de Vries <tdevries@suse.de>
9666
9667 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9668
471b9d15
MR
96692018-07-02 Maciej W. Rozycki <macro@mips.com>
9670
9671 PR tdep/8282
9672 * gdb.arch/mips-disassembler-options.exp: New test.
9673 * gdb.arch/mips-disassembler-options.s: New test source.
9674
75acb486
PA
96752018-06-29 Pedro Alves <palves@redhat.com>
9676
9677 * gdb.threads/names.exp: Adjust expected "info threads" output.
9678
cd2bb709
PA
96792018-06-29 Pedro Alves <palves@redhat.com>
9680
9681 * gdb.opt/inline-break.exp (line number, address): Add "info
9682 break" tests.
9683
991ff292
PA
96842018-06-29 Pedro Alves <palves@redhat.com>
9685
9686 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9687 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9688 number and address and running to them.
9689
356819b6 96902018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9691
9692 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9693
2512d7ef
JK
96942018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9695
9696 * lib/compiler.c: Remove executable permission flag.
9697
be1b6474
RB
96982018-06-28 Richard Bunt <richard.bunt@arm.com>
9699
9700 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9701 code.
9702 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9703
291f9a96
PT
97042018-06-28 Petr Tesarik <ptesarik@suse.cz>
9705
9706 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9707
ed6dfe51
PT
97082018-06-28 Petr Tesarik <ptesarik@suse.cz>
9709
9710 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9711 address argument is omitted.
9712
d4d429d5
PT
97132018-06-28 Petr Tesarik <ptesarik@suse.cz>
9714
9715 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9716
7ab6656f
OJ
97172018-06-27 Omair Javaid <omair.javaid@linaro.org>
9718
9719 PR gdb/21695
9720 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9721 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9722
a33ccfc7
TT
97232018-06-26 Tom Tromey <tom@tromey.com>
9724
9725 PR rust/22574:
9726 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9727 * gdb.rust/simple.rs (struct SimpleLayout): New.
9728
6d72d289
SM
97292018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9730
9731 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9732 "info registers" output.
9733
8363f9d5
RB
97342018-06-21 Richard Bunt <richard.bunt@arm.com>
9735
9736 * gdb.base/watchpoint-hw-attach.c: New test.
9737 * gdb.base/watchpoint-hw-attach.exp: New file.
9738
f00674fe
SM
97392018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9740
9741 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9742 through /bin/sh.
9743 * boards/dwarf4-gdb-index.exp: Likewise.
9744 * boards/fission-dwp.exp: Likewise.
9745
1d554008
UW
97462018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9747
9748 * gdb.base/float128.exp: Add comment and improved fail message
9749 to the failure case of "print large128" test.
9750
d0ac1c44
SM
97512018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9752
9753 * configure.ac: Remove AC_PREREQ.
9754 * configure: Re-generate.
9755
61b04dd0
PA
97562018-06-19 Pedro Alves <palves@redhat.com>
9757
9758 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9759 (func_extern_caller): New.
9760 (main): Call func_extern_caller.
9761 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9762 logic change.
9763
f63b508a
SM
97642018-06-18 Weimin Pan <weimin.pan@oracle.com>
9765
9766 PR gdb/16841
9767 * gdb.cp/typedef-base.cc: New file.
9768 * gdb.cp/typedef-base.exp: New file.
9769
0fe3a558
TV
97702018-06-18 Tom de Vries <tdevries@suse.de>
9771
9772 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9773
7010835a
AB
97742018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9775 Richard Bunt <Richard.Bunt@arm.com>
9776
9777 * gdb.threads/attach-slow-waitpid.c: New file.
9778 * gdb.threads/attach-slow-waitpid.exp: New file.
9779 * gdb.threads/slow-waitpid.c: New file.
9780
14897d65
PA
97812018-06-14 Pedro Alves <palves@redhat.com>
9782
9783 * gdb.base/fork-running-state.c: Include <errno.h>.
9784 (exit_if_relative_exits): New.
9785 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9786 exits.
9787 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9788 child exits.
9789
5d9a0608
TV
97902018-06-14 Tom de Vries <tdevries@suse.de>
9791
9792 PR cli/22573
9793 * gdb.base/finish-pretty.c: New test.
9794 * gdb.base/finish-pretty.exp: New file.
9795
11ae5818
PA
97962018-06-14 Pedro Alves <palves@redhat.com>
9797
9798 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9799 gdb's expected startup output.
9800
1d39de44
PA
98012018-06-14 Pedro Alves <palves@redhat.com>
9802
9803 * lib/selftest-support.exp (selftest_setup): Remove inlined
9804 function handling.
9805
70ee0000
TV
98062018-06-14 Tom de Vries <tdevries@suse.de>
9807
9808 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9809 matching of breakpoint printing.
9810
11f4b608
TV
98112018-06-13 Tom de Vries <tdevries@suse.de>
9812
9813 PR testsuite/23269
9814 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9815 (fork_child): ... here, and ...
9816 (fork_parent): ... here.
9817
98182018-06-12 Tom de Vries <tdevries@suse.de>
9819
9820 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9821
9516f85a
AB
98222018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9823 Stephen Roberts <stephen.roberts@arm.com>
9824
9825 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9826 rewrite test to describe action performed, rather than possible
9827 failure.
9828
5045b3d7
GB
98292018-06-08 Gary Benson <gbenson@redhat.com>
9830
9831 * gdb.threads/check-libthread-db.exp: New file.
9832 * gdb.threads/check-libthread-db.c: Likewise.
9833
c61b06a1
TT
98342018-06-05 Tom Tromey <tom@tromey.com>
9835
9836 * gdb.base/default.exp: Update expected "show version" output.
9837
eb6af809
TT
98382018-06-05 Tom Tromey <tom@tromey.com>
9839
9840 PR cli/12326:
9841 * gdb.cp/static-print-quit.exp: Update.
9842 * lib/gdb.exp (pagination_prompt): Update.
9843 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9844 * gdb.python/python.exp: Update.
9845
178d6a63
JB
98462018-06-04 Joel Brobecker <brobecker@adacore.com>
9847
9848 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9849
8e817061
JB
98502018-06-01 Joel Brobecker <brobecker@adacore.com>
9851
9852 * gdb.ada/bp_fun_addr: New testcase.
9853
e86ca25f
TT
98542018-06-01 Tom Tromey <tom@tromey.com>
9855
9856 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9857 results.
9858 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9859 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9860 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9861 * gdb.base/maint.exp (maint_pass_if): Update.
9862
4b2dfa9d
MR
98632018-05-31 Maciej W. Rozycki <macro@mips.com>
9864
9865 * gdb.base/endian.exp: New test.
9866 * gdb.base/endian.c: New test source.
9867
45f25d6c
AB
98682018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9869
9870 PR gdb/23203
9871 * gdb.base/bt-selected-frame.c: New file.
9872 * gdb.base/bt-selected-frame.exp: New file.
9873 * lib/gdb.exp (get_current_frame_number): New function.
9874
d9f6d7f8
MR
98752018-05-24 Maciej W. Rozycki <macro@mips.com>
9876 Pedro Alves <palves@redhat.com>
9877
9878 * gdb.threads/tls-core.c: Include <stdlib.h>
9879 (thread_proc): Call `abort'.
9880 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9881 (tls_core_test): New procedure, bits factored out from ...
9882 (top level): ... here. Test both native cores and gcore cores.
9883
ff1cf532
TT
98842018-05-23 Tom Tromey <tom@tromey.com>
9885
9886 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9887
b98664d3
TT
98882018-05-23 Tom Tromey <tom@tromey.com>
9889
9890 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9891 symfile_complaints.
9892 (test_short_complaints): Likewise.
9893 (test_empty_complaints): Likewise.
9894 (test_initial_complaints): Update.
9895
4e9668d0
TT
98962018-05-23 Tom Tromey <tom@tromey.com>
9897
9898 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9899
43ba33c7
TT
99002018-05-23 Tom Tromey <tom@tromey.com>
9901
9902 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9903 (test_short_complaints): Update.
9904
035522c0
PA
99052018-05-22 Pedro Alves <palves@redhat.com>
9906
9907 * gdb.base/remote.exp: Only gdb_start after compiling the
9908 testcase. Issue "disconnect" before testing "set remote" command
9909 defaults. Issue clean_restart before running to main.
9910
cc0be08f
PA
99112018-05-22 Pedro Alves <palves@redhat.com>
9912
9913 * gdb.base/remote.exp: Adjust expected output of "show remote
9914 memory-write-packet-size". Add tests for "set remote
9915 memory-write-packet-size 0" and "set remote
9916 memory-write-packet-size fixed/limit".
9917
b1b60145
PA
99182018-05-22 Pedro Alves <palves@redhat.com>
9919
9920 PR gdb/22973
9921 * gdb.base/utf8-identifiers.c: New file.
9922 * gdb.base/utf8-identifiers.exp: New file.
9923
0ec848ad
PFC
99242018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9925
9926 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9927
2c3305f6
PFC
99282018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9929
9930 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9931
ce1e8424
TT
99322018-05-18 Tom Tromey <tom@tromey.com>
9933
9934 * gdb.base/ptype-offsets.exp: Update.
9935
ddfe970e
KS
99362018-05-17 Keith Seitz <keiths@redhat.com>
9937
9938 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9939 in expected breakpoint stop locations.
9940 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9941 move to proper scope to test variable values.
9942 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9943 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9944 New functions.
9945 (main): Call not_inline_func3.
9946 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9947 inline_func1, inline_func2, and inline_func3. Test that when each
9948 breakpoint is hit, GDB properly reports both the stop location
9949 and the backtrace. Repeat tests for temporary breakpoints.
9950
0726fcc6
MR
99512018-05-15 Maciej W. Rozycki <macro@mips.com>
9952
9953 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9954 rather then trying to access it in determining whether the PID
9955 of `gdbserver' could have been retrieved.
9956
8ee22052
AB
99572018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9958
9959 * gdb.arch/amd64-init-x87-values.S: New file.
9960 * gdb.arch/amd64-init-x87-values.exp: New file.
9961
7785df48
JK
99622018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9963
9964 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9965
56bcdbea
TT
99662018-05-04 Tom Tromey <tom@tromey.com>
9967
9968 PR python/22730:
9969 * gdb.python/python.exp: Test multi-line execute.
9970
a913fffb
TT
99712018-05-04 Tom Tromey <tom@tromey.com>
9972
9973 PR python/22731:
9974 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9975
7a2c85f2
TT
99762018-05-04 Tom Tromey <tom@tromey.com>
9977
9978 PR gdb/11750:
9979 * gdb.base/define.exp: Test defining a user command inside a user
9980 command.
9981 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9982
a3b60e45
JK
99832018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9984 Pedro Alves <palves@redhat.com>
9985
9986 PR breakpoints/19806 and support for PR external/20207.
9987 * gdb.base/watchpoint-unaligned.c: New file.
9988 * gdb.base/watchpoint-unaligned.exp: New file.
9989
45fe4a03
AB
99902018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9991
9992 * gdb.base/maint.exp: Make test names unique, use
9993 test_prefix_command_help to test 'help maint info', and remove
9994 repeated test of 'help maint'.
9995
9be2ae8f
TT
99962018-05-04 Tom Tromey <tom@tromey.com>
9997
9998 PR gdb/22619:
9999 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10000 behavior.
10001
11859c31
AB
100022018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10003
10004 * gdb.base/maint.exp: Process output from 'maint print registers'
10005 line at a time.
10006
089a9490
AB
100072018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10008
10009 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10010 timeout.
10011
9b0797e2
AB
100122018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10013
10014 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10015 filter pattern.
10016
f6ac5f3d
PA
100172018-05-02 Pedro Alves <palves@redhat.com>
10018
10019 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10020 to_log_command renames.
10021 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10022
77d3c63b
TT
100232018-05-02 Tom Tromey <tom@tromey.com>
10024
10025 * gdb.python/py-parameter.exp: Set test message.
10026
0489430a
TT
100272018-05-02 Tom Tromey <tom@tromey.com>
10028
10029 PR python/20084:
10030 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10031 PARAM_ZUINTEGER_UNLIMITED tests.
10032
1632f8ba
DR
100332018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10034
10035 PR rust/23124
10036 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10037 when casting.
10038
6d7bb824
TT
100392018-04-30 Tom Tromey <tom@tromey.com>
10040
10041 * gdb.python/py-type.exp: Check align attribute.
10042 * gdb.python/py-type.c: New "aligncheck" global.
10043
007e1530
TT
100442018-04-30 Tom Tromey <tom@tromey.com>
10045
10046 PR exp/17095:
10047 * gdb.dwarf2/dw2-align.exp: New file.
10048 * gdb.cp/align.exp: New file.
10049 * gdb.base/align.exp: New file.
10050 * lib/gdb.exp (gdb_int128_helper): New proc.
10051 (has_int128_c, has_int128_cxx): New caching procs.
10052
6873858b
TT
100532018-04-27 Tom Tromey <tom@tromey.com>
10054
10055 PR rust/22545:
10056 * gdb.rust/simple.exp: Add inclusive range tests.
10057
79188d8d
PA
100582018-04-26 Pedro Alves <palves@redhat.com>
10059
10060 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10061 ifunc breakpoint locations correctly of ifunc breakpoints set
10062 while the program resolves the ifunc.
10063
c7075ad5
PA
100642018-04-26 Pedro Alves <palves@redhat.com>
10065
10066 * gdb.base/gnu-ifunc-final.c: New file.
10067 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10068 * gdb.base/gnu-ifunc.exp (executable): Delete.
10069 (staticexecutable): Adjust.
10070 (lib_opts, exec_opts): Delete.
10071 (make_binsuffix, build, set-break): New procedures.
10072 (misc_tests): New, with tests factored out from the top level.
10073 (top level): Test different combinations of ifunc resolver name,
10074 resolver with and with debug info, and ifunc target with and
10075 without debug info. Wrap static tests with with_target_prefix.
10076
8388016d
PA
100772018-04-26 Pedro Alves <palves@redhat.com>
10078
10079 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10080 return type" warnings.
10081
249b5733
PA
100822018-04-25 Pedro Alves <palves@redhat.com>
10083
10084 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10085 killed".
10086 * gdb.base/kill-after-signal.exp: Likewise.
10087 * gdb.threads/kill.exp: Likewise.
10088
f67c0c91
SDJ
100892018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10090 Sergio Durigan Junior <sergiodj@redhat.com>
10091 Pedro Alves <palves@redhat.com>
10092
10093 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10094 regexps to expect for '[Inferior ... detached]' as well.
10095 * gdb.base/attach.exp: Likewise.
10096 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10097 "gdb_continue_to_end".
10098 (test_catch_syscall_with_wrong_args): Likewise.
10099 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10100 ']'. Don't set 'verbose' on.
10101 * gdb.base/foll-vfork.exp: Likewise.
10102 * gdb.base/fork-print-inferior-events.c: New file.
10103 * gdb.base/fork-print-inferior-events.exp: New file.
10104 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10105 '[Inferior ... has been killed]' message.
10106 * gdb.base/kill-after-signal.exp: Likewise.
10107 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10108 detach message.
10109 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10110 message.
10111 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10112 regexps to expect for '[Inferior ... detached]' as well.
10113 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10114
0a8ddac4
SM
101152018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10116
10117 PR gdb/23104
10118 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10119
701adfb0
PA
101202018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10121
10122 PR gdb/23095
10123 * gdb.base/break-probes.exp: Pass shlib_load to
10124 prepare_for_testing. Set normal_bp to r_debug_state if target is
10125 bsd.
10126
d27d16bf
RB
101272018-04-19 Richard Bunt <richard.bunt@arm.com>
10128
10129 * gdb.threads/multiple-successive-infcall.c: New test.
10130 * gdb.threads/multiple-successive-infcall.exp: New file.
10131
a037790e
TT
101322018-04-17 Tom Tromey <tom@tromey.com>
10133
10134 * gdb.rust/simple.rs (Union): New type.
10135 (main): New local "u".
10136 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10137
e3a91079
AA
101382018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10139
10140 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10141 number information in output of "whereis" command.
10142 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10143
b744723f
AA
101442018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10145
10146 * gdb.ada/info_types.exp: Adjust expected output to the line
10147 numbers now printed by "info var/func/type".
10148 * gdb.base/completion.exp: Likewise.
10149 * gdb.base/included.exp: Likewise.
10150 * gdb.cp/cp-relocate.exp: Likewise.
10151 * gdb.cp/cplusfuncs.exp: Likewise.
10152 * gdb.cp/namespace.exp: Likewise.
10153 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10154
4a4495d6
MM
101552018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10156
10157 * gdb.btrace/cpu.exp: New.
10158
1d509aa6
MM
101592018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10160
10161 * gdb.base/step-indirect-call-thunk.exp: New.
10162 * gdb.base/step-indirect-call-thunk.c: New.
10163 * gdb.reverse/step-indirect-call-thunk.exp: New.
10164 * gdb.reverse/step-indirect-call-thunk.c: New.
10165
6295b6da
SM
101662018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10167
10168 * gdb.base/pie-fork.c: New file.
10169 * gdb.base/pie-fork.exp: New file.
10170
50146e70
TT
101712018-04-11 Tom Tromey <tom@tromey.com>
10172
10173 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10174
f50d8a2e
PA
101752018-04-10 Pedro Alves <palves@redhat.com>
10176
10177 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10178 exits. Instead loop running forever.
10179 (fork_parent): Run forever too.
10180
a0be7a36
SM
101812018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10182
10183 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10184 mi_continue_to_line.
10185 * gdb.mi/mi-stack.c (callee4): Add comment.
10186
9b73db36
SM
101872018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10188
10189 * gdb.mi/mi-stack.exp: Fix indentation.
10190
c912f608
SM
101912018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10192
10193 PR gdb/22979
10194 * gdb.arch/amd64-osabi.exp: New file.
10195
26540402
SM
101962018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10197
10198 PR gdb/22980
10199 * gdb.base/osabi.exp: New file.
10200
121ad66c 102012018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10202
10203 * gdb.cp/static-typedef-print.exp: New file.
10204 * gdb.cp/static-typedef-print.cc: New file.
10205
3fcded8f
JB
102062018-03-27 Joel Brobecker <brobecker@adacore.com>
10207
10208 * gdb.ada/varsize_limit: New testcase.
10209
59cc4834
JB
102102018-03-27 Joel Brobecker <brobecker@adacore.com>
10211
10212 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10213
10214 * gdb.ada/notcplusplus: New testcase.
10215
10216 * gdb.base/c-linkage-name.c: New file.
10217 * gdb.base/c-linkage-name.exp: New testcase.
10218
4ca59a9f
TT
102192018-03-26 Tom Tromey <tom@tromey.com>
10220
10221 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10222 * gdb.python/py-framefilter.py (name_error): New global.
10223 (ErrorInName.function): Use name_error.
10224
978d6c75
TT
102252018-03-26 Tom Tromey <tom@tromey.com>
10226
10227 PR backtrace/15582:
10228 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10229
b7fee5a3
KS
102302018-03-23 Keith Seitz <keiths@redhat.com>
10231
10232 PR c++/22968
10233 * gdb.cp/subtypes.exp: New file.
10234 * gdb.cp/subtypes.h: New file.
10235 * gdb.cp/subtypes.cc: New file.
10236 * gdb.cp/subtypes-2.cc: New file.
10237
376be529
AB
102382018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10239
10240 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10241 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10242 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10243 -nostartfiles when compiling the test. Confirm that all registers
10244 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10245
066cfa98
AB
102462018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10247
10248 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10249 option, syntax was wrong anyway.
10250 * gdb.arch/arm-disp-step.exp: Likewise.
10251 * gdb.arch/sparc64-regs.exp: Likewise.
10252 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10253 option, syntax was wrong anyway, switch to use
10254 prepare_for_testing.
10255 * gdb.arch/i386-disp-step.exp: Likewise.
10256
079670b9
AA
102572018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10258
10259 * gdb.ada/exec_changed.exp: Replace "target_info exists
10260 use_gdb_stub" by "use_gdb_stub".
10261 * gdb.ada/start.exp: Likewise.
10262 * gdb.base/async-shell.exp: Likewise.
10263 * gdb.base/attach-pie-misread.exp: Likewise.
10264 * gdb.base/attach-wait-input.exp: Likewise.
10265 * gdb.base/break-entry.exp: Likewise.
10266 * gdb.base/break-interp.exp: Likewise.
10267 * gdb.base/dprintf-detach.exp: Likewise.
10268 * gdb.base/nostdlib.exp: Likewise.
10269 * gdb.base/solib-nodir.exp: Likewise.
10270 * gdb.base/statistics.exp: Likewise.
10271 * gdb.base/testenv.exp: Likewise.
10272 * gdb.mi/mi-exec-run.exp: Likewise.
10273 * gdb.mi/mi-start.exp: Likewise.
10274 * gdb.multi/dummy-frame-restore.exp: Likewise.
10275 * gdb.multi/multi-arch-exec.exp: Likewise.
10276 * gdb.multi/multi-arch.exp: Likewise.
10277 * gdb.multi/tids.exp: Likewise.
10278 * gdb.multi/watchpoint-multi.exp: Likewise.
10279 * gdb.python/py-events.exp: Likewise.
10280 * gdb.threads/attach-into-signal.exp: Likewise.
10281 * gdb.threads/attach-stopped.exp: Likewise.
10282 * gdb.threads/threadapply.exp: Likewise.
10283 * lib/selftest-support.exp: Likewise.
10284
26d6cec4
AA
102852018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10286
10287 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10288
4ee89e90
SR
102892018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10290
10291 * gdb.perf/template-breakpoints.cc: New file.
10292 * gdb.perf/template-breakpoints.exp: New file.
10293 * gdb.perf/template-breakpoints.py: New file.
10294
92630041
TT
102952018-03-19 Tom Tromey <tom@tromey.com>
10296
10297 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10298 y0.
10299 * gdb.rust/simple.exp: Test bare identifier form of struct
10300 initializer.
10301
76727919
TT
103022018-03-19 Tom Tromey <tom@tromey.com>
10303
10304 * gdb.gdb/observer.exp: Remove.
10305
194ed413
AA
103062018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10307
10308 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10309 "qualified" option when setting breakpoints.
10310 * gdb.trace/backtrace.exp: Likewise.
10311 * gdb.trace/circ.exp: Likewise.
10312 * gdb.trace/collection.exp: Likewise.
10313 * gdb.trace/disconnected-tracing.exp: Likewise.
10314 * gdb.trace/ftrace-lock.exp: Likewise.
10315 * gdb.trace/ftrace.exp: Likewise.
10316 * gdb.trace/infotrace.exp: Likewise.
10317 * gdb.trace/packetlen.exp: Likewise.
10318 * gdb.trace/passc-dyn.exp: Likewise.
10319 * gdb.trace/qtro.exp: Likewise.
10320 * gdb.trace/read-memory.exp: Likewise.
10321 * gdb.trace/report.exp: Likewise.
10322 * gdb.trace/signal.exp: Likewise.
10323 * gdb.trace/status-stop.exp: Likewise.
10324 * gdb.trace/strace.exp: Likewise.
10325 * gdb.trace/tfind.exp: Likewise.
10326 * gdb.trace/trace-break.exp: Likewise.
10327 * gdb.trace/trace-condition.exp: Likewise.
10328 * gdb.trace/trace-mt.exp: Likewise.
10329 * gdb.trace/tstatus.exp: Likewise.
10330 * gdb.trace/tsv.exp: Likewise.
10331 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10332 * gdb.trace/unavailable.exp: Likewise.
10333 * gdb.trace/while-dyn.exp: Likewise.
10334
8b067d2c
AA
103352018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10336
10337 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10338 that libinproctrace is copied to the target.
10339
3ae9ce5d
TT
103402018-03-14 Tom Tromey <tom@tromey.com>
10341
10342 PR cli/14977:
10343 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10344 a null pointer.
10345 * gdb.base/wchar.exp: Likewise.
10346
b8c2339b
TT
103472018-03-14 Tom Tromey <tom@tromey.com>
10348
10349 PR cli/19918:
10350 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10351 flag.
10352
4872dc46
SM
103532018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10354
10355 PR gdb/22841
10356 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10357 "target" to remote_exec.
10358
e4fe3756
SM
103592018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10360
10361 PR gdb/22841
10362 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10363 ${board}_upload): Remove.
10364
e95a97d4
AA
103652018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10366
10367 * gdb.cp/watch-cp.cc: New test.
10368 * gdb.cp/watch-cp.exp: New file.
10369
dbbb1059
AB
103702018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10371
10372 * gdb.base/infcall-nested-structs.exp: New file.
10373 * gdb.base/infcall-nested-structs.c: New file.
10374 * gdb.base/float.exp: Add riscv support.
10375
ecc054c0
TP
103762018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10377
10378 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10379 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10380
25e3c82c
SDJ
103812018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10382
10383 * gdb.server/abspath.exp: New file.
10384 * lib/gdb.exp (with_cwd): New procedure.
10385
3083294d
SM
103862018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10387
10388 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10389 use it.
10390 (gdb_is_target_remote_prompt): New proc.
10391 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10392 (gdb_is_target_native): Pass prompt parameter to
10393 gdb_is_target_1.
10394
3275ef47
SM
103952018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10396
10397 * gdb.base/load-command.c: New file.
10398 * gdb.base/load-command.exp: New file.
10399 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10400 (gdb_is_target_1): ...this, and generalize for other targets
10401 than just remote.
10402 (gdb_is_target_remote): Use gdb_is_target_1.
10403 (gdb_is_target_native): use gdb_is_target_1.
10404
6893c19a
TT
104052018-02-26 Tom Tromey <tom@tromey.com>
10406
10407 PR python/16497:
10408 * gdb.python/py-framefilter.exp: Update test.
10409
2ddeaf8a
TT
104102018-02-26 Tom Tromey <tom@tromey.com>
10411
10412 * gdb.dwarf2/variant.c: New file.
10413 * gdb.dwarf2/variant.exp: New file.
10414
c9317f21
TT
104152018-02-26 Tom Tromey <tom@tromey.com>
10416
10417 * gdb.rust/simple.exp: Accept more possible results in enum test.
10418
6f6d0c26
SM
104192018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10420
10421 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10422 parentheses.
10423
11b03145
MR
104242018-02-23 Maciej W. Rozycki <macro@mips.com>
10425
10426 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10427 name of a variable: $actual_linejj -> $actual_line.
10428
54a27fe5
JB
104292018-02-21 John Baldwin <jhb@FreeBSD.org>
10430
10431 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10432
de65820c
MM
104332018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10434
10435 * gdb.btrace/buffer-size.exp: Do not force BTS.
10436
980548fd
PA
104372018-02-14 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10440 getting a "Quit".
10441
c4e12631
MM
104422018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10443
10444 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10445 Fix test name.
10446
c2e0e465
SM
104472018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10448
10449 * gdb.cp/m-static.exp: Check type of optimized out static
10450 member.
10451
f7216783
AB
104522018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10453
10454 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10455 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10456
0625771b
LS
104572018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10458 Leszek Swirski <leszeks@google.com>
10459
10460 * gdb.python/py-prettyprint.c
10461 (struct to_string_returns_value_inner,
10462 struct to_string_returns_value_wrapper): New.
10463 (main): Add tsrvw variable.
10464 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10465 ToStringReturnsValueWrapper): New classes.
10466 (register_pretty_printers): Register new pretty-printers.
10467 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10468 recursive pretty printer.
10469 * gdb.python/py-mi.exp: Likewise.
10470
59498c30
LS
104712018-02-01 Leszek Swirski <leszeks@google.com>
10472
10473 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10474 functions with the same name as an include file are parsed
10475 correctly.
10476
d4d38844
YQ
104772018-02-01 Yao Qi <yao.qi@linaro.org>
10478
10479 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10480 "\[^\r\n\]*".
10481
07e5f5cf
NP
104822018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10483
10484 * gdb.arch/powerpc-prologue-frame.s: New file.
10485 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10486 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10487
929b5ad4
JB
104882018-01-31 Joel Brobecker <brobecker@adacore.com>
10489
10490 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10491
e671cd59
PA
104922018-01-30 Pedro Alves <palves@redhat.com>
10493
10494 PR gdb/13211
10495 * gdb.base/interrupt-daemon.c: New.
10496 * gdb.base/interrupt-daemon.exp: New.
10497 * gdb.multi/multi-term-settings.c: New.
10498 * gdb.multi/multi-term-settings.exp: New.
10499
fc413dc4
JB
105002018-01-30 Joel Brobecker <brobecker@adacore.com>
10501
10502 * gdb.base/break.exp: Save the location where the breakpoint
10503 on break.c:47 was actually inserted when debugging the version
10504 compiled at -O2 and use it in the expected output of the "info
10505 break" test performed soon after.
10506
5c319bb2
PA
105072018-01-22 Pedro Alves <palves@redhat.com>
10508 Sergio Durigan Junior <sergiodj@redhat.com>
10509
10510 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10511 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10512
a9e40818
JB
105132018-01-22 Joel Brobecker <brobecker@adacore.com>
10514
10515 * gdb.base/break-include.c, gdb.base/break-include.inc,
10516 gdb.base/break-include.exp: New files.
10517 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10518 line number now being the actual line number where the breakpoint
10519 was inserted.
10520 * gdb.mi/mi-break.exp: Likewise.
10521 * gdb.mi/mi-reverse.exp: Likewise.
10522 * gdb.mi/mi-simplerun.exp: Ditto.
10523
e707fc44
AB
105242018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10525
10526 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10527 varobj.
10528 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10529
ae451627
AB
105302018-01-21 Don Breazeal <donb@codesourcery.com>
10531 Andrew Burgess <andrew.burgess@embecosm.com>
10532
10533 * gdb.mi/basics.c: Add new global.
10534 * gdb.mi/mi-frame-regs.exp: New file.
10535 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10536 case.
10537
b1b189e0
AB
105382018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10539
10540 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10541 non-parameter, and on an unknown symbol.
10542
fcfcc376
TT
105432018-01-19 Tom Tromey <tom@tromey.com>
10544
10545 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10546 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10547
634c1c31
AA
105482018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10549
10550 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10551 setrlimit and chdir to int.
10552
d6ad07fd
AA
105532018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10554
10555 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10556 function.
10557 (my_tend): Likewise.
10558 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10559 rationale of avoiding FP- and vector instructions.
10560
adf8243b
RK
105612018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10562
10563 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10564 "info reg" with "\[ \t\]*".
10565 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10566 "\[ \t\]+".
10567 * gdb.arch/s390-multiarch.exp: Ditto.
10568 * gdb.base/pc-fp.exp: Ditto.
10569 * gdb.reverse/i386-precsave.exp: Ditto.
10570 * gdb.reverse/i386-reverse.exp: Ditto.
10571 * gdb.reverse/i387-env-reverse.exp: Ditto.
10572 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10573
dcc06925
AA
105742018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10575
10576 * lib/gdb.exp (gdb_compile): Re-enable use of
10577 universal_compile_options for languages other than Rust.
10578
25d4fd80
AA
105792018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10580
10581 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10582
ee7f689e 105832018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10584
10585 PR gdb/16577
10586 * gdb.base/solib-vanish.exp: New.
10587 * gdb.base/solib-vanish-main.c: New.
10588 * gdb.base/solib-vanish-lib1.c: New.
10589 * gdb.base/solib-vanish-lib2.c: New.
10590
d8447b6b
YQ
105912018-01-17 Yao Qi <yao.qi@linaro.org>
10592
10593 * gdb.compile/compile.exp: Match the address printed for
10594 frame in the output of command "bt".
10595
86d6a90c
TT
105962018-01-15 Tom Tromey <tom@tromey.com>
10597
10598 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10599 compute sp_reg.
10600
cbcdb1aa
AB
106012018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10602
10603 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10604 to prepare.
10605 (prepare): Return 0 on error, 1 on success.
10606
eea61984
PA
106072018-01-12 Pedro Alves <palves@redhat.com>
10608
10609 * gdb.base/continue-after-aborted-step-over.c: New.
10610 * gdb.base/continue-after-aborted-step-over.exp: New.
10611
6181e9c2
SM
106122018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10613
10614 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10615 options when not creating an executable.
10616
3cada740
PA
106172018-01-11 Pedro Alves <palves@redhat.com>
10618
10619 PR remote/22597
10620 * gdb.server/stop-reply-no-thread.c: New file.
10621 * gdb.server/stop-reply-no-thread.exp: New file.
10622
c63d3e8d
PA
106232018-01-10 Pedro Alves <palves@redhat.com>
10624
10625 PR gdb/22670
10626 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10627 functions too. Test setting breakpoints and printing C functions
10628 with no debug info too.
10629 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10630
d4c2a405
PA
106312018-01-10 Pedro Alves <palves@redhat.com>
10632
10633 PR gdb/22670
10634 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10635 a fail.
10636
8825213e
PA
106372018-01-10 Pedro Alves <palves@redhat.com>
10638
10639 PR gdb/22670
10640 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10641
605fd3c6
YQ
106422018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10643
10644 * gdb.server/unittest.exp: Match the output in non-development
10645 mode.
10646
1e5ded6c
YQ
106472018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10648
10649 * gdb.gdb/unittest.exp: Match output in non-development mode.
10650
30066b0b
JB
106512018-01-08 Joel Brobecker <brobecker@adacore.com>
10652
10653 * gdb.ada/access_tagged_param.exp: Relax expected output
10654 for value of "ObjL" in "continue" to pck.inspect breakpoint
10655 test.
10656
04bafb1e
XR
106572018-01-08 Joel Brobecker <brobecker@adacore.com>
10658
9f86398b
JB
10659 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10660 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10661
e379cee6
PA
106622018-01-05 Pedro Alves <palves@redhat.com>
10663
10664 PR gdb/18653
10665 * gdb.base/libsegfault.exp: New.
10666
de63c46b
PA
106672018-01-05 Joel Brobecker <brobecker@adacore.com>
10668
10669 PR gdb/22670
10670 * gdb.ada/access_tagged_param.exp: New file.
10671 * gdb.ada/access_tagged_param/foo.adb: New file.
10672
f98fc17b
PA
106732018-01-05 Pedro Alves <palves@redhat.com>
10674
10675 PR gdb/22670
10676 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10677 exercise lower case too, and to exercise both full matching and
10678 wild matching.
10679
342f8240
JB
106802018-01-05 Joel Brobecker <brobecker@adacore.com>
10681
10682 * gdb.ada/rename_subscript_param: New testcase.
10683
7150d33c
JG
106842018-01-05 Jerome Guitton <guitton@adacore.com>
10685
10686 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10687
cc0e770c
JB
106882018-01-05 Joel Brobecker <brobecker@adacore.com>
10689
10690 * gdb.ada/convvar_comp: New testcase.
10691
672a41aa 106922018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10693
10694 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10695 (My_Table): New global variable.
10696 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10697
7365ec2f
JB
106982018-01-04 Joel Brobecker <brobecker@adacore.com>
10699
10700 PR gdb/22670
10701 * gdb.ada/maint_with_ada: New testcase.
10702
289483b6
JB
107032018-01-04 Joel Brobecker <brobecker@adacore.com>
10704
10705 PR gdb/22670
10706 * gdb.ada/bp_c_mixed_case: New testcase.
10707
344420da
JB
107082018-01-04 Joel Brobecker <brobecker@adacore.com>
10709
10710 PR gdb/22670
10711 * gdb.ada/complete.exp: Add "complete break ada" test.
10712
66fc87a0
JB
107132018-01-04 Joel Brobecker <brobecker@adacore.com>
10714
10715 PR gdb/22670
10716 * gdb.ada/info_addr_mixed_case: New testcase.
10717
9f757bf7
XR
107182018-01-03 Xavier Roirand <roirand@adacore.com>
10719
10720 * gdb.ada/excep_handle.exp: New testcase.
10721 * gdb.ada/excep_handle/foo.adb: New file.
10722 * gdb.ada/excep_handle/pck.ads: New file.
10723
bd570f80
JB
107242018-01-03 Joel Brobecker <brobecker@adacore.com>
10725
10726 * gdb.base/step-line.c: Add extra empty line in copyright header.
10727 * gdb.base/step-line.inp: Likewise.
10728
9fe561ab
JB
107292018-01-02 Joel Brobecker <brobecker@adacore.com>
10730
10731 * gdb.ada/dyn_stride.exp: Add slice test.
10732
a405673c
JB
107332018-01-02 Joel Brobecker <brobecker@adacore.com>
10734
10735 * gdb.ada/dyn_stride: New testcase.
10736
cef0f868
SH
107372017-12-27 Stafford Horne <shorne@gmail.com>
10738
10739 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10740 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10741
b67d92b0
SH
107422017-12-27 Stafford Horne <shorne@gmail.com>
10743
10744 * gdb.base/reggroups.c: New file.
10745 * gdb.base/reggroups.exp: New file.
10746
eccab96d
JB
107472017-12-18 Joel Brobecker <brobecker@adacore.com>
10748
10749 * gdb.dwarf2/ada-valprint-error.c: New file.
10750 * gdb.dwarf2/ada-valprint-error.exp: New file.
10751
0e2da9f0
JB
107522017-12-18 Joel Brobecker <brobecker@adacore.com>
10753
10754 * gdb.ada/assign_arr: New testcase.
10755
cb923fcc
XR
107562017-12-18 Xavier Roirand <roirand@adacore.com>
10757
10758 * gdb.ada/funcall_ptr: New testcase.
10759
7c161838
SDJ
107602017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10761
10762 PR cli/16224
10763 * gdb.base/ptype-offsets.cc: New file.
10764 * gdb.base/ptype-offsets.exp: New file.
10765
1af17fd9
YQ
107662017-12-15 Yao Qi <yao.qi@linaro.org>
10767
10768 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10769 if XML is disabled.
10770
828d5846
XR
107712017-12-15 Xavier Roirand <roirand@adacore.com>
10772
10773 * gdb.ada/same_component_name: New testcase.
10774
79e8fcaa
JB
107752017-12-14 Joel Brobecker <brobecker@adacore.com>
10776
10777 * gdb.ada/str_binop_equal: New testcase.
10778
e05fa6f9
JB
107792017-12-14 Joel Brobecker <brobecker@adacore.com>
10780
10781 * gdb.ada/task_switch_in_core: New testcase.
10782
b89641ba
SM
107832017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10784
10785 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10786 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10787 call test_bkpt_qualified.
10788 (test_bkpt_qualified): New proc.
10789
6892d2e4
PA
107902017-12-13 Pedro Alves <palves@redhat.com>
10791
10792 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10793 Tighten regexp by matching with an anchor.
10794
a22ecf70
PA
107952017-12-13 Pedro Alves <palves@redhat.com>
10796
10797 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10798 ("expression with namespace"): New set of tests.
10799 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10800 (Nested::Test_NS::qux): New.
10801 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10802 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10803
9937536c
JB
108042017-12-13 Joel Brobecker <brobecker@adacore.com>
10805
10806 * gdb.base/server-del-break.c: New file.
10807 * gdb.base/server-del-break.exp: New file.
10808
fe49c6f5
SH
108092017-12-12 Stafford Horne <shorne@gmail.com>
10810
10811 * gdb.xml/tdesc-regs.exp: Add or1k support.
10812
c3d18620
SH
108132017-12-12 Stafford Horne <shorne@gmail.com>
10814
10815 * gdb.base/bp-permanent.c: Define nop of or1k.
10816
c5f9cfc8
JB
108172017-12-11 Joel Brobecker <brobecker@adacore.com>
10818
10819 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10820 output with components being reordered.
10821
a9c135fc
JB
108222017-12-11 Joel Brobecker <brobecker@adacore.com>
10823
10824 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10825 output with components being reordered.
10826
927aa2e7
JK
108272017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10828 Pedro Alves <palves@redhat.com>
10829
10830 * gdb.base/maint.exp (check for .gdb_index): Check also for
10831 .debug_names.
10832 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10833 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10834 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10835 (.gdb_index used after symbol reloading): Support also .debug_names.
10836 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10837
f17d9474
YQ
108382017-12-08 Yao Qi <yao.qi@linaro.org>
10839
10840 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10841 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10842
a0de8c21
YQ
108432017-12-08 Yao Qi <yao.qi@linaro.org>
10844
10845 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10846 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10847
a738ea1d
YQ
108482017-12-08 Yao Qi <yao.qi@linaro.org>
10849
10850 * gdb.arch/aarch64-tagged-pointer.c: New file.
10851 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10852
1cd9a73b
SDJ
108532017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10854
10855 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10856 "int".
10857
fa6eb693
KS
108582017-12-07 Keith Seitz <keiths@redhat.com>
10859
10860 PR breakpoints/22569
10861 * gdb.linespec/ls-errs.exp: Change expected result of "break
10862 -source this file has spaces.c -line 3".
10863 Check that an explicit source file followed by whitespace is
10864 identified as an invalid explicit location.
10865
883fd55a
KS
108662017-12-07 Keith Seitz <keiths@redhat.com>
10867
10868 * gdb.cp/nested-types.cc: New file.
10869 * gdb.cp/nested-types.exp: New file.
10870 * lib/cp-support.exp: Load data-structures.exp library.
10871 (debug_cp_test_ptype_class): New global.
10872 (cp_ptype_class_verbose, next_line): New procedures.
10873 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10874 Add and document new return value.
10875 Switch the list of lines to a queue.
10876 Add support for new `type' key for nested type definitions.
10877 Add debugging/troubleshooting messages.
10878 * lib/data-structures.exp: New file.
10879
ec72db3e
SM
108802017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10881
10882 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10883 with proc_with_prefix, don't use with_test_prefix.
10884
99598d71
TT
108852017-12-07 Tom Tromey <tom@tromey.com>
10886
10887 * gdb.base/break.exp: Add test for empty "commands".
10888
a8806230
YQ
108892017-12-07 Yao Qi <yao.qi@linaro.org>
10890
10891 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10892 malloc and catch syscall.
10893
824cc835
PM
108942017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10895
e79be6e5 10896 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10897 tests for explicit locations.
10898
7cc244de
PA
108992017-12-06 Pedro Alves <palves@redhat.com>
10900
10901 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10902 force-disabling XML descriptions.
10903
50a1fdd5
PA
109042017-12-04 Pedro Alves <palves@redhat.com>
10905
10906 PR gdb/22499
10907 * gdb.arch/amd64-disp-step-avx.S: New file.
10908 * gdb.arch/amd64-disp-step-avx.exp: New file.
10909
f0fb2488
PA
109102017-12-03 Pedro Alves <palves@redhat.com>
10911
10912 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10913 and <string.h>.
10914 (parent_function): Print distinct messages when waitpid fails, or
10915 the child exits with a signal, or the child exits for an unhandled
10916 reason.
10917 * gdb.threads/process-dies-while-detaching.exp
10918 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10919 it. Wait for both inferior output and GDB's prompt. Use an
10920 indirect spawn id list.
10921 (do_detach): New parameter 'child_exit'. Use it to compute
10922 expected inferior output.
10923 (test_detach, test_detach_watch, test_detach_killed_outside):
10924 Adjust to pass down the expected child exit kind.
10925
97cbe998
SDJ
109262017-12-01 Joel Brobecker <brobecker@adacore.com>
10927 Sergio Durigan Junior <sergiodj@redhat.com>
10928 Pedro Alves <palves@redhat.com>
10929
10930 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10931
40fc416f
SDJ
109322017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10933
10934 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10935 to 'symbol-file' and 'add-symbol-file' can be
10936 position-independent.
10937
1cc75e92
YQ
109382017-12-01 Yao Qi <yao.qi@linaro.org>
10939
10940 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10941 the URL in copyright header.
10942 * gdb.arch/aarch64-fp.exp: Likewise.
10943 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10944 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10945 * gdb.base/expand-psymtabs.exp: Likewise.
10946 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10947 * gdb.fortran/common-block.exp: Likewise.
10948 * gdb.fortran/common-block.f90: Likewise.
10949 * gdb.fortran/logical.exp: Likewise.
10950 * gdb.fortran/vla-datatypes.f90: Likewise.
10951 * gdb.fortran/vla-sub.f90: Likewise.
10952
875fb7a7
JB
109532017-11-30 Joel Brobecker <brobecker@adacore.com>
10954
10955 * gdb.ada/repeat_dyn: New testcase.
10956
6f14765f
UW
109572017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10958
10959 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10960 Update for changed thread numbering.
10961 * gdb.cell/bt.exp: Update for changed GDB output.
10962
f1af7b94
SM
109632017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10964
10965 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10966 setting isremote by hand.
10967 * boards/dwarf4-gdb-index.exp: Likewise.
10968 * boards/fission.exp: Likewise.
10969 * boards/stabs.exp: Likewise.
10970
e3919f3e
PA
109712017-11-30 Pedro Alves <palves@redhat.com>
10972
10973 * gdb.linespec/cpls-ops.exp
10974 (check_explicit_skips_function_argument): Extract the underlying
10975 type of size_t instead of hardcoding it.
10976
bd69330d
PA
109772017-11-29 Pedro Alves <palves@redhat.com>
10978
10979 PR c++/19436
10980 * gdb.linespec/cpls-abi-tag.cc: New file.
10981 * gdb.linespec/cpls-abi-tag.exp: New file.
10982
a20714ff
PA
109832017-11-29 Pedro Alves <palves@redhat.com>
10984
10985 * gdb.base/langs.exp: Use -qualified.
10986 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10987 it.
10988 * gdb.cp/namespace.exp: Use -qualified.
10989 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10990 (overload-3, template-overload, template-ret-type, const-overload)
10991 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10992 procedures.
10993 (test_driver): Call them.
10994 * gdb.cp/save-bp-qualified.cc: New.
10995 * gdb.cp/save-bp-qualified.exp: New.
10996 * gdb.linespec/explicit.exp: Test -qualified.
10997 * lib/completion-support.exp (completion::explicit_opts_list): Add
10998 "-qualified".
10999 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11000
f6f1d339
PM
110012017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11002
11003 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11004
02ca603a
TT
110052017-11-29 Tom Tromey <tom@tromey.com>
11006
11007 * gdb.base/relocate.exp: Update invalid argument test.
11008 Add new tests for invalid arguments.
11009
ed6c0bfb
TP
110102017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11011
11012 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11013 Return 0 as a long.
11014 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11015
f106e10e
TP
110162017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11017
11018 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11019 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11020 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11021 func ().
11022 * gdb.cp/shadow.cc (B.func): Return 0.
11023
10329bb2
JB
110242017-11-27 Joel Brobecker <brobecker@adacore.com>
11025
11026 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11027 expected output in gdb_expect call to allow the exception
11028 message to be present as well. Fix syntax confusion to avoid
11029 TCL thinking that exception_name is an array.
11030
617cd4bc
UW
110312017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11032
11033 * gdb.arch/spu-info.c: Include <unistd.h>.
11034 (do_signal_test): Fix broken calls to write.
11035 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11036 Fix checks for empty mailboxes. Update signal tests for corrected
11037 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
11038 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11039 * gdb.cell/arch.exp: Use standard_output_file.
11040 * gdb.cell/break.exp: Likewise.
11041 * gdb.cell/bt.exp: Likewise.
11042 * gdb.cell/core.exp: Likewise.
11043 * gdb.cell/dwarfaddr.exp: Likewise.
11044 * gdb.cell/ea-cache.exp: Likewise.
11045 * gdb.cell/ea-standalone.exp: Likewise.
11046 * gdb.cell/f-regs.exp: Likewise.
11047 * gdb.cell/fork.exp: Likewise.
11048 * gdb.cell/gcore.exp: Likewise.
11049 * gdb.cell/mem-access.exp: Likewise.
11050 * gdb.cell/ptype.exp: Likewise.
11051 * gdb.cell/registers.exp: Likewise.
11052 * gdb.cell/sizeof.exp: Likewise.
11053 * gdb.cell/solib-symbol.exp: Likewise.
11054 * gdb.cell/solib.exp: Likewise.
617cd4bc 11055
a81aaca0
PA
110562017-11-25 Pedro Alves <palves@redhat.com>
11057
11058 * gdb.base/complete-empty.exp: New file.
11059 * gdb.base/completion.exp: Adjust.
11060
6a3c6ee4
PA
110612017-11-25 Pedro Alves <palves@redhat.com>
11062
11063 * gdb.linespec/cpls-ops.cc: New file.
11064 * gdb.linespec/cpls-ops.exp: New file.
11065 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11066 factored out from ...
11067 (test_complete_prefix_range): ... this.
11068
8955eb2d
PA
110692017-11-24 Pedro Alves <palves@redhat.com>
11070
11071 * gdb.linespec/cpcompletion.exp: New file.
11072 * gdb.linespec/cpls-hyphen.cc: New file.
11073 * gdb.linespec/cpls.cc: New file.
11074 * gdb.linespec/cpls2.cc: New file.
11075 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11076 test to use test_gdb_complete_unique. Add label completion,
11077 keyword completion and explicit location completion tests.
11078 * lib/completion-support.exp: New file.
11079
e547c119
JB
110802017-11-24 Joel Brobecker <brobecker@adacore.com>
11081
11082 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11083 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11084 when hitting an exception catchpoint.
11085
7c3c1aa8
YQ
110862017-11-22 Yao Qi <yao.qi@linaro.org>
11087
11088 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11089
41bd68f5
SM
110902017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11091
11092 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11093 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11094 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11095
1daad298
YQ
110962017-11-22 Yao Qi <yao.qi@linaro.org>
11097
11098 * gdb.base/info-os.exp: Pass pthreads.
11099 * gdb.multi/multi-attach.exp: Likewise.
11100
88465e87
YQ
111012017-11-22 Yao Qi <yao.qi@linaro.org>
11102
11103 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11104 compiler.
11105
dc196b23
YQ
111062017-11-22 Yao Qi <yao.qi@linaro.org>
11107
11108 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11109 * gdb.base/break-interp.exp: Likewise.
11110 * gdb.base/jit-attach-pie.exp: Likewise.
11111
2400729e
UW
111122017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11113
11114 * gdb.base/float128.c (large128): New variable.
11115 * gdb.base/float128.exp: Add test to print largest __float128 value.
11116
7a26362d
UW
111172017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11118
11119 * gdb.arch/vsx-regs.exp: Update register content checks.
11120
ed0f4273
UW
111212017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11122
11123 * gdb.arch/ppc-longdouble.exp: New file.
11124 * gdb.arch/ppc-longdouble.c: Likewise.
11125
a25d69c6
PA
111262017-11-21 Pedro Alves <palves@redhat.com>
11127
11128 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11129
73fcf641
PA
111302017-11-20 Pedro Alves <palves@redhat.com>
11131
11132 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11133 (long_double_typedef): New typedefs.
11134 Use DEF on double and long double.
11135 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11136 cases.
11137 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11138 and 'long_double_ptr_same_size' locals. Use them to decide
11139 whether cast from array/function to float is valid/invalid.
11140
71a3c369
TT
111412017-11-17 Tom Tromey <tom@tromey.com>
11142
11143 * gdb.rust/traits.rs: New file.
11144 * gdb.rust/traits.exp: New file.
11145
ced9779b
JB
111462017-11-17 Joel Brobecker <brobecker@adacore.com>
11147
11148 * gdb.ada/minsyms: New testcase.
11149
a0922d80
PA
111502017-11-16 Pedro Alves <palves@redhat.com>
11151
11152 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11153 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11154
ea04e54c
PA
111552017-11-16 Pedro Alves <palves@redhat.com>
11156
11157 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11158 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11159
e849ea89
PA
111602017-11-16 Pedro Alves <palves@redhat.com>
11161
11162 * gdb.server/reconnect-ctrl-c.c: New file.
11163 * gdb.server/reconnect-ctrl-c.exp: New file.
11164
d8ae99a7
PM
111652017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11166
11167 * gdb.python/py-rbreak.exp: New file.
11168 * gdb.python/py-rbreak.c: New file.
11169 * gdb.python/py-rbreak-func2.c: New file.
11170
968a13f8
PA
111712017-11-16 Pedro Alves <palves@redhat.com>
11172
11173 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11174 pattern.
11175 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11176 GDB.
11177
71774bc9
SM
111782017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11179
11180 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11181 regex.
11182
ddbb44cf
SM
111832017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11184
11185 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11186 test names.
11187
584a564f
PA
111882017-11-09 Pedro Alves <palves@redhat.com>
11189
11190 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11191 factored out from ...
11192 (top level): ... here, and adjusted to avoid expecting beyond the
11193 prompt in a single gdb_test_multiple.
11194
5ed7a928
PA
111952017-11-09 Pedro Alves <palves@redhat.com>
11196
11197 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11198 output.
11199 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11200 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11201 * gdb.server/ext-run.exp ("kill" test): Likewise.
11202 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11203
a60e0738
PA
112042017-11-09 Pedro Alves <palves@redhat.com>
11205
11206 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11207 match till end of line.
11208
2c88253f
PA
112092017-11-09 Pedro Alves <palves@redhat.com>
11210
11211 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11212
c7a38517
PA
112132017-11-09 Pedro Alves <palves@redhat.com>
11214
11215 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11216 New procedures, factored out from ...
11217 (top level): ... here, and adjusted to avoid expecting beyond the
11218 prompt in one go.
11219
f29f4b6b
PA
112202017-11-09 Pedro Alves <palves@redhat.com>
11221
11222 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11223 output. Fix '?' match.
11224
286acbb5
JB
112252017-11-08 Joel Brobecker <brobecker@adacore.com>
11226
11227 * gdb.ada/scoped_watch: New testcase.
11228 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11229 which is actually correct.
11230 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11231 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11232
62d7ae92
PA
112332017-11-08 Pedro Alves <palves@redhat.com>
11234
11235 * gdb.gdb/complaints.exp (test_initial_complaints)
11236 (test_serial_complaints, test_short_complaints): Call
11237 complaint_internal instead of complaint.
11238
280ca31f
DT
112392017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11240
11241 * gdb.threads/tls-core.c: New file.
11242 * gdb.threads/tls-core.exp: Likewise.
11243
b5ec771e
PA
112442017-11-08 Pedro Alves <palves@redhat.com>
11245
11246 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11247 (p Exported_Capitalized): New test.
11248 (p exported_capitalized): New test.
11249
a02b41a7
PA
112502017-11-07 Pedro Alves <palves@redhat.com>
11251
11252 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11253
95e95a6d
PA
112542017-11-07 Pedro Alves <palves@redhat.com>
11255
11256 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11257 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11258 (disable_invalid, disable_inverted, disable_negative): New
11259 procedures.
11260 ("bad numbers"): New set of tests.
11261
cee62dbd
PA
112622017-11-07 Pedro Alves <palves@redhat.com>
11263
11264 * gdb.cp/ena-dis-br-range.exp: Add tests.
11265
cc638e86
PA
112662017-11-07 Pedro Alves <palves@redhat.com>
11267
11268 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11269
d0fe4701
XR
112702017-11-07 Xavier Roirand <roirand@adacore.com>
11271 Pedro Alves <palves@redhat.com>
11272
11273 * gdb.base/ena-dis-br.exp: Add reference to
11274 gdb.cp/ena-dis-br-range.exp.
11275 * gdb.cp/ena-dis-br-range.exp: New file.
11276 * gdb.cp/ena-dis-br-range.cc: New file.
11277
46f67f80
PA
112782017-11-06 Pedro Alves <palves@redhat.com>
11279
11280 * gdb.base/attach-non-pgrp-leader.c: New.
11281 * gdb.base/attach-non-pgrp-leader.exp: New.
11282
726e1356
PA
112832017-11-06 Pedro Alves <palves@redhat.com>
11284
11285 * configure.ac: No longer check for termio.h and sgtty.h.
11286 * configure: Regenerate.
11287 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11288 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11289 Remove termio and sgtty code.
11290
50ab6ace
YQ
112912017-11-03 Yao Qi <yao.qi@linaro.org>
11292
11293 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11294 in GDB is disabled.
11295
8e68731c
YQ
112962017-11-03 Yao Qi <yao.qi@linaro.org>
11297
11298 * gdb.python/py-thrhandle.exp: Skip it if python is not
11299 enabled.
11300
3a87ae65
SM
113012017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11302
11303 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11304 as a breakpoint command.
11305
484d8d36
MD
113062017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11307
11308 PR python/21213
11309 * gdb.python/py-infthread.exp: Test calling
11310 InferiorThread.inferior () multiple times in a row.
11311
4a27f119
KS
113122017-10-27 Keith Seitz <keiths@redhat.com>
11313
11314 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11315 Test "info break" for every inlined function breakpoint.
11316
bb11dd58
YQ
113172017-10-27 Yao Qi <yao.qi@linaro.org>
11318
11319 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11320
a43f3893
PF
113212017-10-26 Patrick Frants <osscontribute@gmail.com>
11322
11323 * gdb.cp/classes.exp (test_static_members): Test printing
11324 Outer::instance.
11325 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11326 (Inner::instance, Outer::instance): New.
11327
792ccf00
PA
113282017-10-24 Pedro Alves <palves@redhat.com>
11329
11330 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11331 extra console" test in two stages.
11332
eb2bfbad
PA
113332017-10-24 Pedro Alves <palves@redhat.com>
11334
11335 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11336
1f75a651
PA
113372017-10-24 Pedro Alves <palves@redhat.com>
11338
11339 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11340 loop.
11341
779990d9
PA
113422017-10-24 Pedro Alves <palves@redhat.com>
11343
11344 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11345 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11346
ad9b8f5d
PA
113472017-10-24 Pedro Alves <palves@redhat.com>
11348
11349 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11350 parameter and handle it. Don't output read value in test name.
11351
fee6da6e
PA
113522017-10-24 Pedro Alves <palves@redhat.com>
11353
11354 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11355 custom test name.
11356
10389c2c
PA
113572017-10-24 Pedro Alves <palves@redhat.com>
11358
11359 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11360 include the unstable output directory name in the test's name.
11361 (initial_setup_simple) <'set args'>: Use custom test name.
11362
a80e65a9
PA
113632017-10-24 Pedro Alves <palves@redhat.com>
11364
11365 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11366 with explicit test name.
11367
15763a09
PA
113682017-10-20 Pedro Alves <palves@redhat.com>
11369
11370 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11371 'wait -i'. Use gdb_assert and remote_close.
11372
49a4ce2e
AB
113732017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11374
11375 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11376 number from variable rather than hard-coded.
11377
a75868f5
PA
113782017-10-19 Pedro Alves <palves@redhat.com>
11379
11380 * gdb.base/long-inferior-output.c: New file.
11381 * gdb.base/long-inferior-output.exp: New file.
11382
c8ba13ad
KS
113832017-11-18 Keith Seitz <keiths@redhat.com>
11384
11385 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11386 method.
11387 (main): Call it.
11388 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11389 Add additional user-defined conversion operator tests.
11390
b27de576
PA
113912017-10-17 Pedro Alves <palves@redhat.com>
11392
11393 * boards/native-stdio-gdbserver.exp: Load "local-board".
11394
8484c955
PA
113952017-10-17 Pedro Alves <palves@redhat.com>
11396
11397 * gdb.base/quit-live.c: New file.
11398 * gdb.base/quit-live.exp: New file.
11399
83d5a34d
KS
114002017-10-16 Keith Seitz <keiths@redhat.com>
11401
11402 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11403 (class_with_protected_typedef, class_with_private_typedef)
11404 (struct_with_public_typedef, struct_with_protected_typedef)
11405 (struct_with_private_typedef): New classes/structs.
11406 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11407 typedefs and access specifiers.
11408
739b3f1d
PA
114092017-10-16 Pedro Alves <palves@redhat.com>
11410 Simon Marchi <simon.marchi@polymtl.ca>
11411
11412 * README (Local vs Remote vs Native): New section.
11413 * boards/local-board.exp: New file, with bits factored out from
11414 ...
11415 * boards/native-extended-gdbserver.exp: ... here. Load
11416 "local-board".
11417 * boards/native-gdbserver.exp: Load "local-board".
11418 (${board}_spawn, ${board}_exec): Delete.
11419 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11420 ...
11421 * boards/stdio-gdbserver-base.exp: ... this new file.
11422 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11423 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11424 procedure.
11425 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11426 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11427 stdio_gdbserver_command.
11428 (${board}_get_remote_address, ${board}_get_comm_port)
11429 (${board}_download, ${board}_upload): Delete.
11430 (get_target_remote_pipe_cmd): New.
11431
fe68b953
SM
114322017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11433
11434 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11435 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11436 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11437 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11438 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11439 remove with_test_prefix.
11440
300b6685
PA
114412017-10-13 Pedro Alves <palves@redhat.com>
11442
11443 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11444 * gdb.base/annota1.exp: Use it instead of is_remote.
11445 * gdb.base/annota3.exp: Use it instead of is_remote.
11446 * gdb.cp/annota2.exp: Use it instead of is_remote.
11447 * gdb.cp/annota3.exp: Use it instead of is_remote.
11448 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11449
50500caf
PA
114502017-10-13 Pedro Alves <palves@redhat.com>
11451
11452 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11453 (test_num_test_vars, run_and_count_vars, find_env)
11454 (test_set_unset_env, test_inherit_env_var): New procedures.
11455 (top level): Use them.
11456
dad0c6d2
PA
114572017-10-13 Pedro Alves <palves@redhat.com>
11458
11459 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11460 also skip on stub-like targets.
11461
8b0553c1
PA
114622017-10-13 Pedro Alves <palves@redhat.com>
11463
11464 PR gdb/22293
11465 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11466 (top level): Move some tests to ...
11467 (test_not_found): ... this new procedure.
11468 (top level): Call it.
11469
7594f623
PA
114702017-10-13 Pedro Alves <palves@redhat.com>
11471
11472 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11473 expect different "info terminal" output if testing with a
11474 non-native target.
11475
ebe3b402
PA
114762017-10-13 Pedro Alves <palves@redhat.com>
11477 Simon Marchi <simon.marchi@polymtl.ca>
11478
11479 PR python/12966
11480 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11481
42f1b161
PA
114822017-10-13 Pedro Alves <palves@redhat.com>
11483
11484 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11485 already.
11486
8d6ef72b
PA
114872017-10-13 Pedro Alves <palves@redhat.com>
11488
11489 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11490 is_remote.
11491
d7bcd5b8
PA
114922017-10-13 Pedro Alves <palves@redhat.com>
11493
11494 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11495 is_remote.
11496
df479dc6
PA
114972017-10-13 Pedro Alves <palves@redhat.com>
11498
11499 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11500 is set.
11501 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11502 instead of is_remote.
11503
23fb630a
PA
115042017-10-13 Pedro Alves <palves@redhat.com>
11505
11506 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11507 (top level): Add comment.
11508
cc77b1dc
PA
115092017-10-13 Pedro Alves <palves@redhat.com>
11510
11511 * gdb.base/remote.exp (top level): Fix comment typo and add
11512 missing return.
11513
27c9e813
PA
115142017-10-13 Pedro Alves <palves@redhat.com>
11515 Simon Marchi <simon.marchi@polymtl.ca>
11516
11517 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11518 calls and add comments. Skip test if use_gdb_stub is set.
11519 (top level): Use "set cwd" command instead of "cd" command.
11520
5e830d98
PA
115212017-10-13 Pedro Alves <palves@redhat.com>
11522
11523 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11524 is_remote target check.
11525
f5ca0032
PA
115262017-10-13 Pedro Alves <palves@redhat.com>
11527
11528 * gdb.base/scope.exp: Use build_executable + clean_restart +
11529 gdb_file_cmd instead of prepare_for_testing and no longer skip
11530 "before run" tests on is_remote target boards. Update comments.
11531 * boards/native-extended-gdbserver.exp
11532 (extended_gdbserver_load_last_file): New, factored out from ...
11533 (gdb_load): ... this. Move further below and add comment.
11534 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11535
8aed1c0d
PA
115362017-10-12 Pedro Alves <palves@redhat.com>
11537
11538 * gdb.base/attach.exp: Remove references to gdb64.
11539 * gdb.base/dbx.exp: Remove references to gdb64.
11540
cfa34c87
SM
115412017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11542 Pedro Alves <palves@redhat.com>
11543
11544 * gdb.base/label.exp: Remove is_remote target check.
11545
9192b7de
PA
115462017-10-12 Pedro Alves <palves@redhat.com>
11547
11548 * gdb.base/auvx.exp (coredir): Update comment.
11549 (top level) <core_works>: Use "set cwd" command instead of "cd"
11550 command.
11551
6bf0052d
PA
115522017-10-12 Pedro Alves <palves@redhat.com>
11553 Simon Marchi <simon.marchi@polymtl.ca>
11554
11555 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11556 target boards.
11557
e48ef82d
PA
115582017-10-12 Pedro Alves <palves@redhat.com>
11559 Simon Marchi <simon.marchi@polymtl.ca>
11560
11561 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11562 Instead skip if there's any gdb_protocol set.
11563
8d7aea57
SM
115642017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11565 Pedro Alves <palves@redhat.com>
11566
11567 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11568
30440677
PA
115692017-10-12 Pedro Alves <palves@redhat.com>
11570 Simon Marchi <simon.marchi@polymtl.ca>
11571
11572 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11573 instead of on dejagnu remote boards.
11574
4e04f045 115752017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11576 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11577
11578 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11579 checks. Use build_executable + clean_restart instead of
11580 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11581 of enabling non-stop after starting gdb.
11582
871a186e
PA
115832017-10-12 Pedro Alves <palves@redhat.com>
11584
11585 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11586 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11587 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11588 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11589
56d704da
AK
115902017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11591
11592 * gdb.arch/arc-tdesc-cpu.exp: New file.
11593 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11594
2f20e312
SM
115952017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11596
11597 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11598
65630365
PA
115992017-10-10 Pedro Alves <palves@redhat.com>
11600
11601 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11602 expect CLI output.
11603
bf469271
PA
116042017-10-10 Pedro Alves <palves@redhat.com>
11605
11606 * lib/selftest-support.exp (selftest_setup): Update for
11607 captured_command_loop's prototype change.
11608
777a42f1
PA
116092017-10-09 Pedro Alves <palves@redhat.com>
11610
11611 Test both arch1=>arch2 and arch2=>arch1.
11612
11613 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11614 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11615 factored out to...
11616 (append_arch1_options, append_arch2_options, append_arch_options)
11617 (build_executables): New procedures.
11618 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11619 local.
11620 (top level): Add new 'first_arch' testing axis.
11621
cbd2b4e3
PA
116222017-10-09 Pedro Alves <palves@redhat.com>
11623
11624 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11625 (barrier): New.
11626 (thread_start, all_started): New functions.
11627 (main): Spawn new thread and wait until it is scheduled.
11628 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11629 option.
11630 (do_test): Add 'selected_thread' parameter. Run to all_started
11631 instead of main. Explicitly set the breakpoint at main. Switch
11632 to the SELECTED_THREAD thread.
11633 (top level): Test handling the exec event with either the main
11634 thread or the second thread selected.
11635
5c9e4427
PA
116362017-10-09 Pedro Alves <palves@redhat.com>
11637
11638 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11639 logic. Move STOP marker after the value checks.
11640 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11641 regexp.
11642
b3b7c423
SL
116432017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11644
11645 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11646
3b4b2f16
UW
116472017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11648
11649 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11650 integer-to-dfp conversion.
11651 * gdb.base/dfp-test.exp: Likewise.
11652
5cd63fda
PA
116532017-10-04 Pedro Alves <palves@redhat.com>
11654
11655 * gdb.multi/hangout.c: Include <unistd.h>.
11656 (hangout_loop): New function.
11657 (main): Call alarm. Call hangout_loop in a loop.
11658 * gdb.multi/hello.c: Include <unistd.h>.
11659 (hello_loop): New function.
11660 (main): Call alarm. Call hangout_loop in a loop.
11661 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11662 inferior with the other selected.
11663
4c71c105
SM
116642017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11665
11666 * gdb.mi/list-thread-groups-available.exp: New file.
11667 * gdb.mi/list-thread-groups-available.c: New file.
11668
bc3b087d
SDJ
116692017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11670
11671 * gdb.base/set-cwd.exp: Make it available on
11672 native-extended-gdbserver.
11673
d092c5a2
SDJ
116742017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11675
11676 * gdb.base/set-cwd.c: New file.
11677 * gdb.base/set-cwd.exp: Likewise.
11678
45320ffa
TT
116792017-10-02 Tom Tromey <tom@tromey.com>
11680
11681 PR rust/22236:
11682 * gdb.rust/simple.rs (main): New variable "fslice".
11683 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11684
b3e3859b
TT
116852017-10-02 Tom Tromey <tom@tromey.com>
11686
11687 * gdb.rust/simple.exp: Test ptype of a slice.
11688
01af5e0d
TT
116892017-10-02 Tom Tromey <tom@tromey.com>
11690
11691 * gdb.rust/simple.exp: Test index of slice.
11692
a9bbfbd8
TT
116932017-09-27 Tom Tromey <tom@tromey.com>
11694
11695 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11696
df8899e5
TP
116972017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11698 Pedro Alves <palves@redhat.com>
11699
11700 * gdb.base/compare-sections.exp (get value of read-only section): Read
11701 as unsigned value.
11702 (corrupt read-only section): Likewise and don't set written if patching
11703 failed.
11704
757bf54b
KB
117052017-09-21 Kevin Buettner <kevinb@redhat.com>
11706
11707 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11708 files.
11709
06871ae8
PA
117102017-09-20 Pedro Alves <palves@redhat.com>
11711
11712 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11713 symbol names in gdb's output.
11714 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11715
e5f25bc5
PA
117162017-09-20 Pedro Alves <palves@redhat.com>
11717
11718 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11719 Rename to ...
11720 (test_list_ambiguous_symbol): ... this and add a symbol name
11721 parameter. Adjust.
11722 (test_list_ambiguous_function): Reimplement on top of
11723 test_list_ambiguous_symbol and also test listing ambiguous
11724 variables.
11725 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11726 (ambiguous_fun): ... this.
11727 (ambiguous_var): New.
11728 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11729 (ambiguous_fun): ... this.
11730 (ambiguous_var): New.
11731
4e5a4f58
JB
117322017-09-19 John Baldwin <jhb@FreeBSD.org>
11733
11734 * gdb.base/starti.c: New file.
11735 * gdb.base/starti.exp: New file.
11736 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11737
26e53f3e
PA
117382017-09-14 Pedro Alves <palves@redhat.com>
11739
11740 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11741 (top level): Use it instead of runto.
11742
cb791d59
TT
117432017-09-11 Tom Tromey <tom@tromey.com>
11744
11745 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11746
7c96f8c1
TT
117472017-09-11 Tom Tromey <tom@tromey.com>
11748
11749 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11750 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11751
469412dd
CW
117522017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11753
11754 * gdb.fortran/printing-types.exp: New file.
11755 * gdb.fortran/printing-types.exp: New file.
11756
e0f86435
BH
117572017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11758
11759 * gdb.fortran/vla-ptype.exp: Fix typos.
11760 * gdb.fortran/vla-value.exp: Same.
11761
9e9af4be
BH
117622017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11763
11764 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11765 * gdb.mi/mi-var-child-f.exp: Likewise.
11766 * gdb.mi/mi-vla-fortran.exp: Likewise.
11767
a5ad232b 117682017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11769 Christoph Weinmann <christoph.t.weinmann@intel.com>
11770 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11771
11772 * gdb.fortran/ptr-indentation.f90: New file.
11773 * gdb.fortran/ptr-indentation.exp: New file.
11774
5aec60eb
TT
117752017-09-05 Tom Tromey <tom@tromey.com>
11776
11777 PR gdb/22010:
11778 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11779
8f8f8152
TP
117802017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11781
11782 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11783
fbd1b771
JK
117842017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11785
11786 * gdb.threads/tls-nodebug-pie.c: New file.
11787 * gdb.threads/tls-nodebug-pie.exp: New file.
11788
5eb5f850
TT
117892017-09-05 Tom Tromey <tom@tromey.com>
11790
11791 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11792 for rust.
11793
ae780a21
SM
117942017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11795
11796 * gdb.multi/multi-arch-exec.exp: Test with different
11797 "follow-exec-mode" settings.
11798 (do_test): New procedure.
11799
3693fdb3
PA
118002017-09-04 Pedro Alves <palves@redhat.com>
11801
11802 * gdb.base/func-static.c (S::method const, S::method volatile)
11803 (S::method volatile const): New methods.
11804 (c_s, v_s, cv_s): New instances.
11805 (main): Call method() on them.
11806 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11807 (cannot_resolve): New procedure.
11808 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11809 print-quote-unquoted columns.
11810 (do_test): Test printing each scope too.
11811
e68cb8e0
PA
118122017-09-04 Pedro Alves <palves@redhat.com>
11813
11814 * gdb.base/local-static.exp: Also test with
11815 class::method::variable wholly quoted.
11816 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11817
858be34c
PA
118182017-09-04 Pedro Alves <palves@redhat.com>
11819
11820 * gdb.base/local-static.c: New.
11821 * gdb.base/local-static.cc: New.
11822 * gdb.base/local-static.exp: New.
11823
46a4882b
PA
118242017-09-04 Pedro Alves <palves@redhat.com>
11825
11826 * gdb.asm/asm-source.exp: Add casts to int.
11827 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11828 (dataglobal64_1, dataglobal64_2): New globals.
11829 * gdb.base/nodebug.exp: Test different expressions involving the
11830 new globals, with print, whatis and ptype. Add casts to int.
11831 * gdb.base/solib-display.exp: Add casts to int.
11832 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11833 * gdb.cp/m-static.exp: Add cast to int.
11834 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11835 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11836 tls variable with no debug info without a cast. Test with a cast
11837 to int too.
11838 * gdb.trace/entry-values.exp: Add casts.
11839
2c5a2be1
PA
118402017-09-04 Pedro Alves <palves@redhat.com>
11841
11842 * gdb.base/nodebug.exp: Test that ptype's error about functions
11843 with unknown return type includes the function name too.
11844
7022349d
PA
118452017-09-04 Pedro Alves <palves@redhat.com>
11846
11847 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11848 return type of munmap in infcall.
11849 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11850 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11851 type of ftell in infcall.
11852 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11853 type of getpid in infcall.
11854 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11855 infcall.
11856 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11857 Bail on failure to extract the pid.
11858 * gdb.base/nodebug.c: #include <stdint.h>.
11859 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11860 New functions.
11861 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11862 Change expected output of print/whatis/ptype with functions with
11863 no debug info. Test all supported languages. Call
11864 test_call_promotion.
11865 * gdb.compile/compile.exp: Adjust expected output to expect
11866 warning.
11867 * gdb.threads/siginfo-threads.exp: Likewise.
11868
54990598
PA
118692017-09-04 Pedro Alves <palves@redhat.com>
11870
11871 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11872 "prototypes". Test calling float functions via prototyped and
11873 unprototyped function pointers.
11874 (perform_all_tests): New parameter "prototypes". Pass it down.
11875 (top level): Pass down "prototypes" parameter to
11876 perform_all_tests.
11877
34d16ea2
SM
118782017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11879
11880 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11881 Test with nested loops.
11882
9521ecda
SM
118832017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11884
11885 * gdb.base/commands.exp: Call the new procedures.
11886 (loop_break_test, loop_continue_test): New procedures.
11887
80a65e9b
SM
118882017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11889
11890 * gdb.base/commands.exp: Call new procedure.
11891 (define_if_without_arg_test): New procedure.
11892
e439fa14
PA
118932017-09-04 Pedro Alves <palves@redhat.com>
11894
11895 * gdb.base/list-ambiguous.exp: New file.
11896 * gdb.base/list-ambiguous0.c: New file.
11897 * gdb.base/list-ambiguous1.c: New file.
11898 * gdb.base/list.exp (test_list_range): Adjust expected output.
11899
0a2dde4a
SDJ
119002017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11901
11902 * gdb.base/share-env-with-gdbserver.c: New file.
11903 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11904
5e89eb3a
SM
119052017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11906
11907 * gdb.base/commands.exp (gdbvar_simple_if_test,
11908 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11909 progvar_simple_if_test, progvar_simple_while_test,
11910 progvar_complex_if_while_test, user_defined_command_test,
11911 user_defined_command_args_eval,
11912 user_defined_command_args_stack_test,
11913 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11914 temporary_breakpoint_commands,
11915 gdb_test_no_prompt, redefine_hook_test,
11916 redefine_backtrace_test): Remove "global gdb_prompt".
11917
fd437cbc
SM
119182017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11919
11920 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11921 New proc, call it from toplevel.
11922
87215ad1
SDJ
119232017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11924
11925 PR remote/21852
11926 * gdb.server/normal.c: New file, copied from gdb.base.
11927 * gdb.server/run-without-local-binary.exp: New file.
11928
58afddc6
WP
119292017-08-07 Weimin Pan <weimin.pan@oracle.com>
11930
11931 * gdb.arch/sparc64-adi.exp: New file.
11932 * gdb.arch/sparc64-adi.c: New file.
11933
5277199a
PA
119342017-08-22 Pedro Alves <palves@redhat.com>
11935
11936 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11937 (top level): Add "list all overloads" tests.
11938
14278e1f
TT
119392017-08-22 Tom Tromey <tom@tromey.com>
11940
11941 * gdb.gdb/xfullpath.exp: Remove.
11942
bf223d3e
PA
119432017-08-21 Pedro Alves <palves@redhat.com>
11944
11945 PR gdb/19487
11946 * gdb.base/symbol-alias.c: New.
11947 * gdb.base/symbol-alias2.c: New.
11948 * gdb.base/symbol-alias.exp: New.
11949
c973d0aa
PA
119502017-08-21 Pedro Alves <palves@redhat.com>
11951
11952 * gdb.base/dfp-test.c
11953 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11954 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11955 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11956 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11957 * gdb.base/whatis-ptype-typedefs.c: New.
11958 * gdb.base/whatis-ptype-typedefs.exp: New.
11959 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11960 (an_int, an_int_type, an_int_type2): New globals.
11961 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11962 involving typedefs and cast expressions.
11963 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11964 (lookup_typedefs_function): New.
11965 (typedefs_pretty_printers_dict): New.
11966 (top level): Register lookup_typedefs_function in
11967 gdb.pretty_printers.
11968
6d580b63
YQ
119692017-08-18 Yao Qi <yao.qi@linaro.org>
11970
11971 * gdb.server/unittest.exp: New.
11972
206726fb
SDJ
119732017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11974
11975 PR gdb/21954
11976 * gdb.base/environ.exp: Add test to check if 'unset environment'
11977 works.
11978
bf0ec4c2
AA
119792017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11980
11981 * lib/gdb.exp (universal_compile_options): New caching proc.
11982 (gdb_compile): Suppress GCC's coloring of messages.
11983
d6382fff
TT
119842017-08-14 Tom Tromey <tom@tromey.com>
11985
11986 PR gdb/21675:
11987 * gdb.base/printcmds.exp (test_radices): New function.
11988 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11989 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11990 * lib/gdb.exp (get_integer_valueof): Use p/d.
11991
c2c2dd9f
SM
119922017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11993
11994 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11995 characters.
11996
fdffd6f4
TT
119972017-08-05 Tom Tromey <tom@tromey.com>
11998
11999 * gdb.rust/simple.exp: Allow String to appear in a different
12000 namespace.
12001
27d41eac
YQ
120022017-07-26 Yao Qi <yao.qi@linaro.org>
12003
12004 * gdb.gdb/unittest.exp: Invoke command
12005 "maintenance check xml-descriptions".
12006
031ed05d
AA
120072017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12008
12009 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12010 calling context.
12011 (hex128): Drop erroneous calculation of parameters.
12012
dcd27ddf
SM
120132017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12014
12015 * gdb.python/py-unwind.exp: Disable stack protection when
12016 building test file.
12017
47e77640
PA
120182017-07-20 Pedro Alves <palves@redhat.com>
12019
12020 * gdb.base/default.exp (set language): Adjust expected output.
12021
62d2a18a
PA
120222017-07-20 Pedro Alves <palves@redhat.com>
12023
12024 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12025 (test_minsym): ... this, and make static.
12026 (get_pck__foo__bar__minsym): Rename to ...
12027 (get_test_minsym): ... this.
12028 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12029 symbol names and comments.
12030 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12031 (get_test_minsym): ... this.
12032 (pck__foo__bar__minsym__2): Rename to ...
12033 (test_minsym): ... this.
12034 (main): Adjust.
12035
c45ec17c
PA
120362017-07-17 Pedro Alves <palves@redhat.com>
12037
12038 * gdb.base/completion.exp: Adjust expected output.
12039 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12040 the completer works.
12041
c6756f62
PA
120422017-07-17 Pedro Alves <palves@redhat.com>
12043
12044 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12045
5bd68487
AB
120462017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12047
12048 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12049
8880f2a9
TT
120502017-07-14 Tom Tromey <tom@tromey.com>
12051
12052 PR rust/21764:
12053 * gdb.rust/simple.exp: Add tests.
12054
65547233
TT
120552017-07-14 Tom Tromey <tom@tromey.com>
12056
12057 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12058
8f14146e
PA
120592017-07-14 Pedro Alves <palves@redhat.com>
12060
12061 * gdb.linespec/base/one/thefile.cc (z1): New function.
12062 * gdb.linespec/base/two/thefile.cc (z2): New function.
12063 * gdb.linespec/linespec.exp: Add tests.
12064
b4365d02
AB
120652017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12066
12067 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12068 to mi_create_breakpoint.
12069
5d2cbaa5
AB
120702017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12071
12072 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12073 mi_create_breakpoint.
12074
11cb5716
IB
120752017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12076
12077 * gdb.dlang/demangle.exp: Update for demangling changes.
12078
03278692
TT
120792017-07-09 Tom Tromey <tom@tromey.com>
12080
12081 * gdb.dwarf2/shortpiece.exp: New file.
12082
33c5cd75
DB
120832017-07-06 David Blaikie <dblaikie@gmail.com>
12084
12085 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12086 built from fissiont-multi-cu{1,2}.c.
12087 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12088 except putting 'main' and 'func' in separate CUs in the same DWO file.
12089 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12090 test.
12091 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12092 test.
12093
8455d262
PA
120942017-07-06 Pedro Alves <palves@redhat.com>
12095
12096 * gdb.python/py-unwind.exp: Test flushregs.
12097
dc4bde35
SDJ
120982017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12099
12100 PR cli/21688
12101 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12102 tests for alias commands and trailing whitespace.
12103
51ed89aa
SDJ
121042017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12105
12106 PR cli/21688
12107 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12108 procedure. Call it.
12109
eb17d413
PA
121102017-06-29 Pedro Alves <palves@redhat.com>
12111
12112 * gdb.base/printcmds.exp: Add tests.
12113
41664b45
DG
121142017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12115
12116 PR gdb/21337
12117 * gdb.base/reread-readsym.exp: New file.
12118 * gdb.base/reread-readsym.c: New file.
12119
75312ae3
KB
121202017-06-21 Kevin Buettner <kevinb@redhat.com>
12121
12122 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12123 subpattern.
12124
66953522
PB
121252017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12126
12127 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12128 extended mnemonic.
12129 * gdb.arch/powerpc-power9.s: Likewise.
12130
5524b525
AA
121312017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12132
12133 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12134 on 32-bit x86 targets. Exploit is_*_target macros where
12135 appropriate.
12136
03c8af18
AA
121372017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12138
12139 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12140 register pieces.
12141
3bf31011
AA
121422017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12143
12144 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12145 located in one or more DWARF pieces.
12146
805acca0
AA
121472017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12148
12149 * lib/gdb.exp (get_endianness): New proc.
12150 * gdb.arch/aarch64-fp.exp: Use it.
12151 * gdb.arch/altivec-regs.exp: Likewise.
12152 * gdb.arch/e500-regs.exp: Likewise.
12153 * gdb.arch/vsx-regs.exp: Likewise.
12154 * gdb.base/dump.exp: Likewise.
12155 * gdb.base/funcargs.exp: Likewise.
12156 * gdb.base/gnu_vector.exp: Likewise.
12157 * gdb.dwarf2/formdata16.exp: Likewise.
12158 * gdb.dwarf2/implptrpiece.exp: Likewise.
12159 * gdb.dwarf2/nonvar-access.exp: Likewise.
12160 * gdb.python/py-inferior.exp: Likewise.
12161 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12162
e9352324
AA
121632017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12164
12165 PR gdb/21226
12166 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12167 stack value pieces are taken from the LSB end.
12168
d5d1163e
AA
121692017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12170
12171 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12172 variable at nonzero offset.
12173
0567c986
AA
121742017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12175
12176 * gdb.dwarf2/var-access.c: New file.
12177 * gdb.dwarf2/var-access.exp: New test.
12178 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12179
973e9aab
TT
121802017-06-12 Tom Tromey <tom@tromey.com>
12181
12182 * gdb.dwarf2/formdata16.exp: Add tests.
12183
d9109c80
TT
121842017-06-12 Tom Tromey <tom@tromey.com>
12185
12186 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12187
30a25466
TT
121882017-06-12 Tom Tromey <tom@tromey.com>
12189
12190 PR exp/16225:
12191 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12192 * gdb.arch/vsx-regs.exp: Update tests.
12193 * gdb.arch/s390-vregs.exp (hex128): New proc.
12194 Update test.
12195 * gdb.arch/altivec-regs.exp: Update tests.
12196
aefd8b33
SDJ
121972017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12198
12199 * gdb.base/startup-with-shell.c: New file.
12200 * gdb.base/startup-with-shell.exp: Likewise.
12201
2090129c
SDJ
122022017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12203
12204 * gdb.server/non-existing-program.exp: Update regex in order to
12205 reflect the fact that gdbserver is now using fork_inferior (with a
12206 shell) to startup the inferior.
12207
8e86a419
SM
122082017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12209
12210 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12211 support function calls from GDB.
12212
e6cf65f2
TT
122132017-05-21 Tom Tromey <tom@tromey.com>
12214
12215 PR rust/21466:
12216 * gdb.rust/unsized.exp: New file.
12217 * gdb.rust/unsized.rs: New file.
12218
43cc5389
TT
122192017-05-19 Tom Tromey <tom@tromey.com>
12220
12221 PR rust/21484:
12222 * gdb.rust/watch.exp: New file.
12223 * gdb.rust/watch.rs: New file.
12224
ec8df234
TT
122252017-05-18 Tom Tromey <tom@tromey.com>
12226
12227 * gdb.rust/simple.exp: Allow Box to be qualified.
12228
3e3e7fae
TP
122292017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12230
12231 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12232
59cc050d
PA
122332017-05-18 Pedro Alves <palves@redhat.com>
12234
12235 * gdb.base/fileio.c (test_write, test_read, test_close)
12236 (test_fstat): Don't print 'ret' in the fail path.
12237
c8f6abd1
PA
122382017-05-18 Pedro Alves <palves@redhat.com>
12239
12240 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12241 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12242 (test_system, test_rename, test_unlink, test_time): Change
12243 prototypes.
12244 * gdb.base/fileio.exp (stop_msg): Adjust.
12245
d2a03b77
PA
122462017-05-18 Pedro Alves <palves@redhat.com>
12247
12248 * gdb.base/fileio.c (null_str): New global.
12249 (test_stat): Use it.
12250 * gdb.base/fileio.exp: Remove nowarnings.
12251
0d5c6999
YQ
122522017-05-17 Yao Qi <yao.qi@linaro.org>
12253
12254 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12255
21873064
YQ
122562017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12257
12258 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12259 argument command.
12260 (top-level): Invoke test_set_inferior_tty.
12261
d512d31c
PA
122622017-05-04 Pedro Alves <palves@redhat.com>
12263
12264 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12265 Add parens to print call for Python 3.
12266
90cef2ed
KS
122672017-05-03 Keith Seitz <keiths@redhat.com>
12268
12269 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12270 (main): Call it.
12271
14f819c8
TW
122722017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12273
12274 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12275 to prev and next.
12276
913aeadd
TW
122772017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12278
12279 * gdb.python/py-record-btrace.exp: Remove test for
12280 gdb.BtraceInstruction.error.
12281
a3be24ad
TW
122822017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12283
12284 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12285
ae20e79a
TW
122862017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12287
12288 * gdb.python/py-record-btrace-threads.c: New file.
12289 * gdb.python/py-record-btrace-threads.exp: New file.
12290
45ce1b47
SDJ
122912017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12292
12293 PR testsuite/8595
12294 * gdb.base/environ.exp: Make test available in all architectures.
12295 Move bits related to "info program" testing to
12296 gdb.base/info-program.exp. Rewrite tests to use the two new
12297 procedures mentione below.
12298 (test_set_show_env_var) New procedure.
12299 (test_set_show_env_var_equal): Likewise.
12300 * gdb.base/info-program.exp: New file.
12301
e15c3eb4
KS
123022017-04-27 Keith Seitz <keiths@redhat.com>
12303
12304 * gdb.cp/oranking.cc (test15): New function.
12305 (main): Call test15 and declare additional variables for testing.
12306 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12307 "p foo101('abc')" tests.
12308 Add tests for cv qualifier overloads.
12309 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12310 "lvalue reference overload" test.
12311 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12312 "print value of f1 on Child&& in f2" test.
12313
3a3fd0fd
PA
123142017-04-19 Pedro Alves <palves@redhat.com>
12315
12316 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12317 procedure.
12318 (top level): Call it.
12319 * lib/gdb.exp (gdb_define_cmd): New procedure.
12320
53375380
PA
123212017-04-12 Pedro Alves <palves@redhat.com>
12322
12323 PR gdb/21323
12324 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12325 (wchar): New global.
12326 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12327 (do_test_wide_char, wide_char_types_no_program, top level): Add
12328 wchar_t testing.
12329
53e710ac
PA
123302017-04-12 Pedro Alves <palves@redhat.com>
12331
12332 PR c++/21323
12333 * gdb.cp/wide_char_types.c: New file.
12334 * gdb.cp/wide_char_types.exp: New file.
12335
0ad9d8c7
SDJ
123362017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12337
12338 PR gdb/21352
12339 * gdb.trace/tsv.exp: Add test for "tsave -r".
12340
b1b45502
IB
123412017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12342
12343 * gdb.dlang/watch-loc.c: New file.
12344 * gdb.dlang/watch-loc.exp: New file.
12345
ec13808e
JK
123462017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12347
12348 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12349
fe5f7374
AK
123502017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12351
12352 * gdb.arch/arc-analyze-prologue.S: New file.
12353 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12354
eea78757
AK
123552017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12356
12357 * gdb.arch/arc-decode-insn.S: New file.
12358 * gdb.arch/arc-decode-insn.exp: Likewise.
12359
5badf10a
IR
123602017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12361
12362 PR tdep/20928
12363 * gdb.arch/sparc64-regs.exp: New file.
12364 * gdb.arch/sparc64-regs.S: Likewise.
12365
cee59b3f
TW
123662017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12367
12368 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12369 and memory view on Python 3.
12370
c0f55cc6
AV
123712017-03-20 Artemiy Volkov <artemiyv@acm.org>
12372 Keith Seitz <keiths@redhat.com>
12373
12374 PR gdb/14441
12375 * gdb.cp/demangle.exp: Add rvalue reference tests.
12376 * gdb.cp/rvalue-ref-casts.cc: New file.
12377 * gdb.cp/rvalue-ref-casts.exp: New file.
12378 * gdb.cp/rvalue-ref-overload.cc: New file.
12379 * gdb.cp/rvalue-ref-overload.exp: New file.
12380 * gdb.cp/rvalue-ref-params.cc: New file.
12381 * gdb.cp/rvalue-ref-params.exp: New file.
12382 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12383 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12384 * gdb.cp/rvalue-ref-types.cc: New file.
12385 * gdb.cp/rvalue-ref-types.exp: New file.
12386 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12387 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12388
51457a05
MAL
123892017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12390
12391 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12392 New procedure.
12393
5b291c04
MAL
123942017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12395
12396 * lib/mi-support.exp (mi_gdb_test): Add additional message
12397 for unexpected output.
12398
59a56148
AA
123992017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12400
12401 * gdb.base/examine-backward.c (Barrier): New character array
12402 constant, to ensure that TestStrings is preceded by a string
12403 terminator.
12404
7942e96e
AA
124052017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12406
12407 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12408 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12409 and implicit pointer into such a location.
12410
6ebac3fb
DE
124112017-03-16 Doug Evans <dje@google.com>
12412
12413 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12414
ec3b243d
TP
124152017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12416
12417 * gdb.cp/m-static.exp: Fix expectation for prototype of
12418 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12419
124202017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12421
12422 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12423 * gdb.guile/scm-lazy-string.c: New file.
12424 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12425 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12426 for pointer, array, typedef lazy strings.
12427
2cc36e25 124282017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12429
12430 PR python/17728, python/18439, python/18779
12431 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12432 * gdb.python/py-lazy-string.c (pointer): New typedef.
12433 (main): New locals ptr, array, typedef_ptr.
12434 * gdb.python/py-value.exp: Move lazy string tests to ...
12435 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12436 array, typedef lazy strings.
ec3b243d 12437
0efcde63
AK
124382017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12439
12440 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12441 Add optional 'test' parameter.
12442
7978d7c3
SM
124432017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12444
12445 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12446 Skip for versions of DejaGnu < 1.5.
12447
896c0c1e
SM
124482017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12449
12450 * lib/gdb.exp (dejagnu_version): New proc.
12451 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12452 Use dejagnu_version.
12453
5f4d1085
KS
124542017-03-10 Keith Seitz <keiths@redhat.com>
12455
12456 PR c++/8128
12457 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12458 type from destructor regexps.
12459 Add a branch which actually passes the test.
12460 Adjust "ptype t5i" test names.
12461
1de05205
PA
124622017-03-08 Pedro Alves <palves@redhat.com>
12463
12464 * gdb.base/step-over-exit.exp: Add explicit test message.
12465
c65d6b55
PA
124662017-03-08 Pedro Alves <palves@redhat.com>
12467
12468 PR gdb/18360
12469 * gdb.threads/interrupt-while-step-over.c: New file.
12470 * gdb.threads/interrupt-while-step-over.exp: New file.
12471
2e86a283
PA
124722017-03-08 Pedro Alves <palves@redhat.com>
12473
12474 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12475 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12476
25dcbff6
PA
124772017-03-08 Pedro Alves <palves@redhat.com>
12478
12479 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12480 PKRU as not supported as a PASS.
12481
dc9366eb
PA
124822017-03-08 Pedro Alves <palves@redhat.com>
12483
12484 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12485 prefix instead of $binfile1/$binfile2.
12486 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12487 in test message.
12488 * gdb.python/py-completion.exp: Use "load python file" as test
12489 messages instead of unstable path names.
12490
6e5d74e7
PA
124912017-03-08 Pedro Alves <palves@redhat.com>
12492 Jan Kratochvil <jan.kratochvil@redhat.com>
12493
12494 PR cli/21218
12495 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12496 New proc.
12497 (top level): Call it.
12498
9753a2f6
PA
124992017-03-08 Pedro Alves <palves@redhat.com>
12500
12501 PR tui/21216
12502 * gdb.tui/tui-nl-filtered-output.exp: New file.
12503
1a4dd9dd
PA
125042017-03-08 Pedro Alves <palves@redhat.com>
12505
12506 * gdb.base/completion.exp: Move TUI completion tests to ...
12507 * gdb.tui/completion.exp: ... this new file.
12508
7cbbff33
PA
125092017-03-08 Pedro Alves <palves@redhat.com>
12510
12511 * gdb.base/tui-disasm-long-lines.c,
12512 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12513 gdb.base/tui-layout.exp: Move to ...
12514 * gdb.tui/: ... this new directory.
12515
5f6fd321
PA
125162017-03-07 Pedro Alves <palves@redhat.com>
12517
12518 * gdb.base/tui-layout.c: New file.
12519 * gdb.base/tui-layout.exp: New file.
12520
44959fa8
PA
125212017-03-07 Pedro Alves <palves@redhat.com>
12522
12523 * gdb.base/tui-layout.c: Rename to ...
12524 * gdb.base/tui-disasm-long-lines.c: ... this.
12525 * gdb.base/tui-layout.exp: Rename to ...
12526 * gdb.base/tui-disasm-long-lines.exp: ... this.
12527
f8c4e718
PA
125282017-03-07 Pedro Alves <palves@redhat.com>
12529
12530 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12531
6dbb839a 125322017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12533
12534 * i386-mpx-call.c: New file.
12535 * i386-mpx-call.exp: New file.
12536
65b48a81
PB
125372017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12538
12539 * gdb.arch/powerpc-power.exp: Delete test.
12540 * gdb.arch/powerpc-power.s: Likewise.
12541 * gdb.disasm/disassembler-options.exp: New test.
12542 * gdb.arch/powerpc-altivec.exp: Likewise.
12543 * gdb.arch/powerpc-altivec.s: Likewise.
12544 * gdb.arch/powerpc-altivec2.exp: Likewise.
12545 * gdb.arch/powerpc-altivec2.s: Likewise.
12546 * gdb.arch/powerpc-altivec3.exp: Likewise.
12547 * gdb.arch/powerpc-altivec3.s: Likewise.
12548 * gdb.arch/powerpc-power7.exp: Likewise.
12549 * gdb.arch/powerpc-power7.s: Likewise.
12550 * gdb.arch/powerpc-power8.exp: Likewise.
12551 * gdb.arch/powerpc-power8.s: Likewise.
12552 * gdb.arch/powerpc-power9.exp: Likewise.
12553 * gdb.arch/powerpc-power9.s: Likewise.
12554 * gdb.arch/powerpc-vsx.exp: Likewise.
12555 * gdb.arch/powerpc-vsx.s: Likewise.
12556 * gdb.arch/powerpc-vsx2.exp: Likewise.
12557 * gdb.arch/powerpc-vsx2.s: Likewise.
12558 * gdb.arch/powerpc-vsx3.exp: Likewise.
12559 * gdb.arch/powerpc-vsx3.s: Likewise.
12560 * gdb.arch/arm-disassembler-options.exp: Likewise.
12561 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12562 * gdb.arch/s390-disassembler-options.exp: Likewise.
12563
17cd4947
LM
125642017-02-23 Luis Machado <lgustavo@codesourcery.com>
12565
12566 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12567 (check_supported_features): ... this. Changed return type to void.
12568 (supports_rdseed): New static global.
12569 (rdseed): Check supports_rdseed.
12570 (initialize): Call check_supported_features.
12571
2039d74e
EBM
125722017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12573
12574 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12575 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12576 and lqarx/stqcx.
12577 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12578 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12579
a51d7ecf
EBM
125802017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12581
12582 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12583 uppercase.
12584
0224619f
JK
125852017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12586
12587 * gdb.dwarf2/formdata16.c: New file.
12588 * gdb.dwarf2/formdata16.exp: New file.
12589 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12590
216f72a1
JK
125912017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12592
12593 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12594 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12595 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12596 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12597 DW_AT_GNU_*.
12598
43988095
JK
125992017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12600
12601 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12602
99e8a4f9
SDJ
126032017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12604
12605 PR gdb/21164
12606 * gdb.base/maint.exp: Add testcases for when the commands do
12607 not have arguments.
12608
b58a8c0c
TP
126092017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12610
12611 * gdb.cp/chained-calls.exp: Use p instead of P.
12612
4e746bb6
TW
126132017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12614
12615 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12616 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12617
3f77c769
TT
126182017-02-14 Tom Tromey <tom@tromey.com>
12619
12620 PR python/13598:
12621 * gdb.python/py-events.exp: Add before_prompt event tests.
12622
075beec0
AA
126232017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12624
12625 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12626
bf5f525c
LM
126272017-02-13 Luis Machado <lgustavo@codesourcery.com>
12628
12629 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12630 (main): Call my_unique_function_name.
12631 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12632 completion of patterns with a single match.
12633 Add missing -re switches to gdb_test_multiple calls.
12634
13a66184
LM
126352017-02-13 Luis Machado <lgustavo@codesourcery.com>
12636
12637 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12638 return if core file is not recognized.
12639
26a06916
SM
126402017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12641
12642 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12643 and extra UIs.
12644
b761ca9e
SM
126452017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12646
12647 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12648 proc_with_prefix.
12649
b964bee0
TT
126502017-02-10 Tom Tromey <tom@tromey.com>
12651
12652 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12653
18da0c51
MG
126542017-02-10 Martin Galvan <martingalvan@sourceware.org>
12655
12656 PR gdb/21122
12657 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12658
604c4576
JG
126592017-02-08 Jerome Guitton <guitton@adacore.com>
12660
12661 * gdb.base/define.exp: Add test for command abbreviations
12662 in define.
12663
20b477a7
LM
126642017-02-06 Luis Machado <lgustavo@codesourcery.com>
12665
12666 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12667 * gdb.reverse/insn-reverse-x86.c: New file.
12668
3f7b46f2
IR
126692017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12670
12671 PR tdep/20936
12672 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12673
f0fd41c1
TT
126742017-02-03 Tom Tromey <tom@tromey.com>
12675
12676 PR rust/21097:
12677 * gdb.rust/simple.exp: Add new tests.
12678
5be5dbf0
PA
126792017-02-02 Pedro Alves <palves@redhat.com>
12680
12681 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12682 tests.
12683
7346ef59
AA
126842017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12685
12686 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12687 taking a 2-byte value out of a 4-byte DWARF implicit value on
12688 big-endian targets.
12689 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12690 logic. Add test cases for DW_OP_implicit.
12691
787f0025
MM
126922017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12693
12694 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12695
68777c29
MM
126962017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12697
12698 * gdb.btrace/enable.exp: Call gdb_exit before
12699 skip_gdbserver_tests.
12700
0a1c7e28
MM
127012017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12702
12703 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12704 GDBFLAGS.
12705
b5ac99b0
MM
127062017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12707
12708 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12709 the test is skipped.
12710 * gdb.btrace/data.exp: Likewise.
12711 * gdb.btrace/delta.exp: Likewise.
12712 * gdb.btrace/dlopen.exp: Likewise.
12713 * gdb.btrace/enable-running.exp: Likewise.
12714 * gdb.btrace/enable.exp: Likewise.
12715 * gdb.btrace/exception.exp: Likewise.
12716 * gdb.btrace/function_call_history.exp: Likewise.
12717 * gdb.btrace/gcore.exp: Likewise.
12718 * gdb.btrace/instruction_history.exp: Likewise.
12719 * gdb.btrace/multi-thread-step.exp: Likewise.
12720 * gdb.btrace/nohist.exp: Likewise.
12721 * gdb.btrace/non-stop.exp: Likewise.
12722 * gdb.btrace/reconnect.exp: Likewise.
12723 * gdb.btrace/record_goto-step.exp: Likewise.
12724 * gdb.btrace/record_goto.exp: Likewise.
12725 * gdb.btrace/rn-dl-bind.exp: Likewise.
12726 * gdb.btrace/segv.exp: Likewise.
12727 * gdb.btrace/step.exp: Likewise.
12728 * gdb.btrace/stepi.exp: Likewise.
12729 * gdb.btrace/tailcall-only.exp: Likewise.
12730 * gdb.btrace/tailcall.exp: Likewise.
12731 * gdb.btrace/tsx.exp: Likewise.
12732 * gdb.btrace/unknown_functions.exp: Likewise.
12733 * gdb.btrace/vdso.exp: Likewise.
12734
cd4007e4
MM
127352017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12736
12737 * gdb.btrace/enable-running.c: New.
12738 * gdb.btrace/enable-running.exp: New.
12739
2735833d
WT
127402017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12741
12742 * gdb.arch/amd64-gs_base.c: New file.
12743 * gdb.arch/amd64-gs_base.exp: New file.
12744
b51e1e94
LM
127452017-01-26 Luis Machado <lgustavo@codesourcery.com>
12746
12747 * lib/memory.exp: Remove spurious empty newlines.
12748
72ca0410
SM
127492017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12750
12751 * gdb.python/py-bad-printers.exp: Load python file using "source".
12752 * gdb.python/py-events.exp: Likewise.
12753 * gdb.python/py-evsignal.exp: Likewise.
12754 * gdb.python/py-evthreads.exp: Likewise.
12755 * gdb.python/py-frame-args.exp: Likewise.
12756 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12757 * gdb.python/py-framefilter-mi.exp: Likewise.
12758 * gdb.python/py-framefilter.exp: Likewise.
12759 * gdb.python/py-mi.exp: Likewise.
12760 * gdb.python/py-pp-maint.exp: Likewise.
12761 * gdb.python/py-pp-registration.exp: Likewise.
12762 * gdb.python/py-prettyprint.exp: Likewise.
12763 (run_lang_tests): Likewise.
12764 * gdb.python/py-typeprint.exp: Likewise.
12765
e309aa65
LM
127662017-01-26 Luis Machado <lgustavo@codesourcery.com>
12767
12768 * lib/memory.exp: New file.
12769 * lib/gdb.exp: Load memory.exp.
12770 * gdb.base/memattr.exp (delete_memory): Move proc to
12771 lib/memory.exp and rename to delete_memory_regions.
12772 Replace delete_memory with delete_memory_regions.
12773 Cleanup memory regions before tests.
12774 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12775 before tests.
12776
515aff23
LM
127772017-01-26 Luis Machado <lgustavo@codesourcery.com>
12778
12779 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12780 files.
12781 (initialize): New function conditionally defined.
12782 (testcases): Move within conditional block.
12783 (main): Call initialize.
12784 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12785 of gdb.reverse/insn-reverse.c.
12786 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12787 gdb.reverse/insn-reverse.c.
12788
d8b49cf0
YQ
127892017-01-26 Yao Qi <yao.qi@linaro.org>
12790
12791 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12792 disassemble on address 0.
12793
f13a9a0c
YQ
127942017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12795 Yao Qi <yao.qi@linaro.org>
12796
12797 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12798 * gdb.dwarf2/implptr-64bit.S: Remove.
12799 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12800 variables in caller's context. Add DW_OP_implicit_value.
12801
5ac95241
YQ
128022017-01-25 Yao Qi <yao.qi@linaro.org>
12803
12804 * lib/dwarf.exp (Dwarf::_location): Handle
12805 DW_OP_GNU_implicit_pointer with proper size.
12806
23e82930
LM
128072017-01-20 Luis Machado <lgustavo@codesourcery.com>
12808
12809 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12810 and add untested calls.
12811
d334ae25
LM
128122017-01-20 Luis Machado <lgustavo@codesourcery.com>
12813
12814 * gdb.python/python.exp: Check line number against what GDB thinks
12815 the line number is for func1.
12816
f5e6296e
IB
128172017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12818
12819 * gdb.dlang/debug-expr.exp: New file.
12820
5b362f04
LM
128212016-12-23 Luis Machado <lgustavo@codesourcery.com>
12822
12823 Fix test names for the following files:
12824
12825 * gdb.ada/exec_changed.exp
12826 * gdb.ada/info_types.exp
12827 * gdb.arch/aarch64-atomic-inst.exp
12828 * gdb.arch/aarch64-fp.exp
12829 * gdb.arch/altivec-abi.exp
12830 * gdb.arch/altivec-regs.exp
12831 * gdb.arch/amd64-byte.exp
12832 * gdb.arch/amd64-disp-step.exp
12833 * gdb.arch/amd64-dword.exp
12834 * gdb.arch/amd64-entry-value-inline.exp
12835 * gdb.arch/amd64-entry-value-param.exp
12836 * gdb.arch/amd64-entry-value-paramref.exp
12837 * gdb.arch/amd64-entry-value.exp
12838 * gdb.arch/amd64-i386-address.exp
12839 * gdb.arch/amd64-invalid-stack-middle.exp
12840 * gdb.arch/amd64-invalid-stack-top.exp
12841 * gdb.arch/amd64-optimout-repeat.exp
12842 * gdb.arch/amd64-prologue-skip.exp
12843 * gdb.arch/amd64-prologue-xmm.exp
12844 * gdb.arch/amd64-stap-special-operands.exp
12845 * gdb.arch/amd64-stap-wrong-subexp.exp
12846 * gdb.arch/amd64-tailcall-cxx.exp
12847 * gdb.arch/amd64-tailcall-noret.exp
12848 * gdb.arch/amd64-tailcall-ret.exp
12849 * gdb.arch/amd64-tailcall-self.exp
12850 * gdb.arch/amd64-word.exp
12851 * gdb.arch/arm-bl-branch-dest.exp
12852 * gdb.arch/arm-disp-step.exp
12853 * gdb.arch/arm-neon.exp
12854 * gdb.arch/arm-single-step-kernel-helper.exp
12855 * gdb.arch/avr-flash-qualifier.exp
12856 * gdb.arch/disp-step-insn-reloc.exp
12857 * gdb.arch/e500-abi.exp
12858 * gdb.arch/e500-regs.exp
12859 * gdb.arch/ftrace-insn-reloc.exp
12860 * gdb.arch/i386-avx512.exp
12861 * gdb.arch/i386-bp_permanent.exp
12862 * gdb.arch/i386-byte.exp
12863 * gdb.arch/i386-cfi-notcurrent.exp
12864 * gdb.arch/i386-disp-step.exp
12865 * gdb.arch/i386-dr3-watch.exp
12866 * gdb.arch/i386-float.exp
12867 * gdb.arch/i386-gnu-cfi.exp
12868 * gdb.arch/i386-mpx-map.exp
12869 * gdb.arch/i386-mpx-sigsegv.exp
12870 * gdb.arch/i386-mpx-simple_segv.exp
12871 * gdb.arch/i386-mpx.exp
12872 * gdb.arch/i386-permbkpt.exp
12873 * gdb.arch/i386-prologue.exp
12874 * gdb.arch/i386-signal.exp
12875 * gdb.arch/i386-size-overlap.exp
12876 * gdb.arch/i386-unwind.exp
12877 * gdb.arch/i386-word.exp
12878 * gdb.arch/mips-fcr.exp
12879 * gdb.arch/powerpc-d128-regs.exp
12880 * gdb.arch/powerpc-stackless.exp
12881 * gdb.arch/ppc64-atomic-inst.exp
12882 * gdb.arch/s390-stackless.exp
12883 * gdb.arch/s390-tdbregs.exp
12884 * gdb.arch/s390-vregs.exp
12885 * gdb.arch/sparc-sysstep.exp
12886 * gdb.arch/thumb-bx-pc.exp
12887 * gdb.arch/thumb-singlestep.exp
12888 * gdb.arch/thumb2-it.exp
12889 * gdb.arch/vsx-regs.exp
12890 * gdb.asm/asm-source.exp
12891 * gdb.base/a2-run.exp
12892 * gdb.base/advance.exp
12893 * gdb.base/all-bin.exp
12894 * gdb.base/anon.exp
12895 * gdb.base/args.exp
12896 * gdb.base/arithmet.exp
12897 * gdb.base/async-shell.exp
12898 * gdb.base/async.exp
12899 * gdb.base/attach-pie-noexec.exp
12900 * gdb.base/attach-twice.exp
12901 * gdb.base/auto-load.exp
12902 * gdb.base/bang.exp
12903 * gdb.base/bitfields.exp
12904 * gdb.base/break-always.exp
12905 * gdb.base/break-caller-line.exp
12906 * gdb.base/break-entry.exp
12907 * gdb.base/break-inline.exp
12908 * gdb.base/break-on-linker-gcd-function.exp
12909 * gdb.base/break-probes.exp
12910 * gdb.base/break.exp
12911 * gdb.base/breakpoint-shadow.exp
12912 * gdb.base/call-ar-st.exp
12913 * gdb.base/call-sc.exp
12914 * gdb.base/call-signal-resume.exp
12915 * gdb.base/call-strs.exp
12916 * gdb.base/callfuncs.exp
12917 * gdb.base/catch-fork-static.exp
12918 * gdb.base/catch-gdb-caused-signals.exp
12919 * gdb.base/catch-load.exp
12920 * gdb.base/catch-signal-fork.exp
12921 * gdb.base/catch-signal.exp
12922 * gdb.base/catch-syscall.exp
12923 * gdb.base/charset.exp
12924 * gdb.base/checkpoint.exp
12925 * gdb.base/chng-syms.exp
12926 * gdb.base/code-expr.exp
12927 * gdb.base/code_elim.exp
12928 * gdb.base/commands.exp
12929 * gdb.base/completion.exp
12930 * gdb.base/complex.exp
12931 * gdb.base/cond-expr.exp
12932 * gdb.base/condbreak.exp
12933 * gdb.base/consecutive.exp
12934 * gdb.base/continue-all-already-running.exp
12935 * gdb.base/coredump-filter.exp
12936 * gdb.base/corefile.exp
12937 * gdb.base/dbx.exp
12938 * gdb.base/debug-expr.exp
12939 * gdb.base/define.exp
12940 * gdb.base/del.exp
12941 * gdb.base/disabled-location.exp
12942 * gdb.base/disasm-end-cu.exp
12943 * gdb.base/disasm-optim.exp
12944 * gdb.base/display.exp
12945 * gdb.base/duplicate-bp.exp
12946 * gdb.base/ena-dis-br.exp
12947 * gdb.base/ending-run.exp
12948 * gdb.base/enumval.exp
12949 * gdb.base/environ.exp
12950 * gdb.base/eu-strip-infcall.exp
12951 * gdb.base/eval-avoid-side-effects.exp
12952 * gdb.base/eval-skip.exp
12953 * gdb.base/exitsignal.exp
12954 * gdb.base/expand-psymtabs.exp
12955 * gdb.base/filesym.exp
12956 * gdb.base/find-unmapped.exp
12957 * gdb.base/finish.exp
12958 * gdb.base/float.exp
12959 * gdb.base/foll-exec-mode.exp
12960 * gdb.base/foll-exec.exp
12961 * gdb.base/foll-fork.exp
12962 * gdb.base/fortran-sym-case.exp
12963 * gdb.base/freebpcmd.exp
12964 * gdb.base/func-ptr.exp
12965 * gdb.base/func-ptrs.exp
12966 * gdb.base/funcargs.exp
12967 * gdb.base/gcore-buffer-overflow.exp
12968 * gdb.base/gcore-relro-pie.exp
12969 * gdb.base/gcore-relro.exp
12970 * gdb.base/gcore.exp
12971 * gdb.base/gdb1090.exp
12972 * gdb.base/gdb11530.exp
12973 * gdb.base/gdb11531.exp
12974 * gdb.base/gdb1821.exp
12975 * gdb.base/gdbindex-stabs.exp
12976 * gdb.base/gdbvars.exp
12977 * gdb.base/hbreak.exp
12978 * gdb.base/hbreak2.exp
12979 * gdb.base/included.exp
12980 * gdb.base/infcall-input.exp
12981 * gdb.base/inferior-died.exp
12982 * gdb.base/infnan.exp
12983 * gdb.base/info-macros.exp
12984 * gdb.base/info-os.exp
12985 * gdb.base/info-proc.exp
12986 * gdb.base/info-shared.exp
12987 * gdb.base/info-target.exp
12988 * gdb.base/infoline.exp
12989 * gdb.base/interp.exp
12990 * gdb.base/interrupt.exp
12991 * gdb.base/jit-reader.exp
12992 * gdb.base/jit-simple.exp
12993 * gdb.base/kill-after-signal.exp
12994 * gdb.base/kill-detach-inferiors-cmd.exp
12995 * gdb.base/label.exp
12996 * gdb.base/langs.exp
12997 * gdb.base/ldbl_e308.exp
12998 * gdb.base/line-symtabs.exp
12999 * gdb.base/linespecs.exp
13000 * gdb.base/list.exp
13001 * gdb.base/long_long.exp
13002 * gdb.base/longest-types.exp
13003 * gdb.base/maint.exp
13004 * gdb.base/max-value-size.exp
13005 * gdb.base/memattr.exp
13006 * gdb.base/mips_pro.exp
13007 * gdb.base/morestack.exp
13008 * gdb.base/moribund-step.exp
13009 * gdb.base/multi-forks.exp
13010 * gdb.base/nested-addr.exp
13011 * gdb.base/nextoverexit.exp
13012 * gdb.base/noreturn-finish.exp
13013 * gdb.base/noreturn-return.exp
13014 * gdb.base/nostdlib.exp
13015 * gdb.base/offsets.exp
13016 * gdb.base/opaque.exp
13017 * gdb.base/pc-fp.exp
13018 * gdb.base/permissions.exp
13019 * gdb.base/print-symbol-loading.exp
13020 * gdb.base/prologue-include.exp
13021 * gdb.base/psymtab.exp
13022 * gdb.base/ptype.exp
13023 * gdb.base/random-signal.exp
13024 * gdb.base/randomize.exp
13025 * gdb.base/range-stepping.exp
13026 * gdb.base/readline-ask.exp
13027 * gdb.base/recpar.exp
13028 * gdb.base/recurse.exp
13029 * gdb.base/relational.exp
13030 * gdb.base/restore.exp
13031 * gdb.base/return-nodebug.exp
13032 * gdb.base/return.exp
13033 * gdb.base/run-after-attach.exp
13034 * gdb.base/save-bp.exp
13035 * gdb.base/scope.exp
13036 * gdb.base/sect-cmd.exp
13037 * gdb.base/set-lang-auto.exp
13038 * gdb.base/set-noassign.exp
13039 * gdb.base/setvar.exp
13040 * gdb.base/sigall.exp
13041 * gdb.base/sigbpt.exp
13042 * gdb.base/siginfo-addr.exp
13043 * gdb.base/siginfo-infcall.exp
13044 * gdb.base/siginfo-obj.exp
13045 * gdb.base/siginfo.exp
13046 * gdb.base/signals-state-child.exp
13047 * gdb.base/signest.exp
13048 * gdb.base/sigstep.exp
13049 * gdb.base/sizeof.exp
13050 * gdb.base/skip.exp
13051 * gdb.base/solib-corrupted.exp
13052 * gdb.base/solib-nodir.exp
13053 * gdb.base/solib-search.exp
13054 * gdb.base/stack-checking.exp
13055 * gdb.base/stale-infcall.exp
13056 * gdb.base/stap-probe.exp
13057 * gdb.base/start.exp
13058 * gdb.base/step-break.exp
13059 * gdb.base/step-bt.exp
13060 * gdb.base/step-line.exp
13061 * gdb.base/step-over-exit.exp
13062 * gdb.base/step-over-syscall.exp
13063 * gdb.base/step-resume-infcall.exp
13064 * gdb.base/step-test.exp
13065 * gdb.base/store.exp
13066 * gdb.base/structs3.exp
13067 * gdb.base/sym-file.exp
13068 * gdb.base/symbol-without-target_section.exp
13069 * gdb.base/term.exp
13070 * gdb.base/testenv.exp
13071 * gdb.base/ui-redirect.exp
13072 * gdb.base/until.exp
13073 * gdb.base/unwindonsignal.exp
13074 * gdb.base/value-double-free.exp
13075 * gdb.base/vla-datatypes.exp
13076 * gdb.base/vla-ptr.exp
13077 * gdb.base/vla-sideeffect.exp
13078 * gdb.base/volatile.exp
13079 * gdb.base/watch-cond-infcall.exp
13080 * gdb.base/watch-cond.exp
13081 * gdb.base/watch-non-mem.exp
13082 * gdb.base/watch-read.exp
13083 * gdb.base/watch-vfork.exp
13084 * gdb.base/watchpoint-cond-gone.exp
13085 * gdb.base/watchpoint-delete.exp
13086 * gdb.base/watchpoint-hw-hit-once.exp
13087 * gdb.base/watchpoint-hw.exp
13088 * gdb.base/watchpoint-stops-at-right-insn.exp
13089 * gdb.base/watchpoints.exp
13090 * gdb.base/wchar.exp
13091 * gdb.base/whatis-exp.exp
13092 * gdb.btrace/buffer-size.exp
13093 * gdb.btrace/data.exp
13094 * gdb.btrace/delta.exp
13095 * gdb.btrace/dlopen.exp
13096 * gdb.btrace/enable.exp
13097 * gdb.btrace/exception.exp
13098 * gdb.btrace/function_call_history.exp
13099 * gdb.btrace/gcore.exp
13100 * gdb.btrace/instruction_history.exp
13101 * gdb.btrace/nohist.exp
13102 * gdb.btrace/reconnect.exp
13103 * gdb.btrace/record_goto-step.exp
13104 * gdb.btrace/record_goto.exp
13105 * gdb.btrace/rn-dl-bind.exp
13106 * gdb.btrace/segv.exp
13107 * gdb.btrace/step.exp
13108 * gdb.btrace/stepi.exp
13109 * gdb.btrace/tailcall-only.exp
13110 * gdb.btrace/tailcall.exp
13111 * gdb.btrace/tsx.exp
13112 * gdb.btrace/unknown_functions.exp
13113 * gdb.btrace/vdso.exp
13114 * gdb.compile/compile-ifunc.exp
13115 * gdb.compile/compile-ops.exp
13116 * gdb.compile/compile-print.exp
13117 * gdb.compile/compile-setjmp.exp
13118 * gdb.cp/abstract-origin.exp
13119 * gdb.cp/ambiguous.exp
13120 * gdb.cp/annota2.exp
13121 * gdb.cp/annota3.exp
13122 * gdb.cp/anon-ns.exp
13123 * gdb.cp/anon-struct.exp
13124 * gdb.cp/anon-union.exp
13125 * gdb.cp/arg-reference.exp
13126 * gdb.cp/baseenum.exp
13127 * gdb.cp/bool.exp
13128 * gdb.cp/breakpoint.exp
13129 * gdb.cp/bs15503.exp
13130 * gdb.cp/call-c.exp
13131 * gdb.cp/casts.exp
13132 * gdb.cp/chained-calls.exp
13133 * gdb.cp/class2.exp
13134 * gdb.cp/classes.exp
13135 * gdb.cp/cmpd-minsyms.exp
13136 * gdb.cp/converts.exp
13137 * gdb.cp/cp-relocate.exp
13138 * gdb.cp/cpcompletion.exp
13139 * gdb.cp/cpexprs.exp
13140 * gdb.cp/cplabel.exp
13141 * gdb.cp/cplusfuncs.exp
13142 * gdb.cp/cpsizeof.exp
13143 * gdb.cp/ctti.exp
13144 * gdb.cp/derivation.exp
13145 * gdb.cp/destrprint.exp
13146 * gdb.cp/dispcxx.exp
13147 * gdb.cp/enum-class.exp
13148 * gdb.cp/exception.exp
13149 * gdb.cp/exceptprint.exp
13150 * gdb.cp/expand-psymtabs-cxx.exp
13151 * gdb.cp/expand-sals.exp
13152 * gdb.cp/extern-c.exp
13153 * gdb.cp/filename.exp
13154 * gdb.cp/formatted-ref.exp
13155 * gdb.cp/fpointer.exp
13156 * gdb.cp/gdb1355.exp
13157 * gdb.cp/gdb2495.exp
13158 * gdb.cp/hang.exp
13159 * gdb.cp/impl-this.exp
13160 * gdb.cp/infcall-dlopen.exp
13161 * gdb.cp/inherit.exp
13162 * gdb.cp/iostream.exp
13163 * gdb.cp/koenig.exp
13164 * gdb.cp/local.exp
13165 * gdb.cp/m-data.exp
13166 * gdb.cp/m-static.exp
13167 * gdb.cp/mb-ctor.exp
13168 * gdb.cp/mb-inline.exp
13169 * gdb.cp/mb-templates.exp
13170 * gdb.cp/member-name.exp
13171 * gdb.cp/member-ptr.exp
13172 * gdb.cp/meth-typedefs.exp
13173 * gdb.cp/method.exp
13174 * gdb.cp/method2.exp
13175 * gdb.cp/minsym-fallback.exp
13176 * gdb.cp/misc.exp
13177 * gdb.cp/namelessclass.exp
13178 * gdb.cp/namespace-enum.exp
13179 * gdb.cp/namespace-nested-import.exp
13180 * gdb.cp/namespace.exp
13181 * gdb.cp/nextoverthrow.exp
13182 * gdb.cp/no-dmgl-verbose.exp
13183 * gdb.cp/non-trivial-retval.exp
13184 * gdb.cp/noparam.exp
13185 * gdb.cp/nsdecl.exp
13186 * gdb.cp/nsimport.exp
13187 * gdb.cp/nsnested.exp
13188 * gdb.cp/nsnoimports.exp
13189 * gdb.cp/nsrecurs.exp
13190 * gdb.cp/nsstress.exp
13191 * gdb.cp/nsusing.exp
13192 * gdb.cp/operator.exp
13193 * gdb.cp/oranking.exp
13194 * gdb.cp/overload-const.exp
13195 * gdb.cp/overload.exp
13196 * gdb.cp/ovldbreak.exp
13197 * gdb.cp/ovsrch.exp
13198 * gdb.cp/paren-type.exp
13199 * gdb.cp/parse-lang.exp
13200 * gdb.cp/pass-by-ref.exp
13201 * gdb.cp/pr-1023.exp
13202 * gdb.cp/pr-1210.exp
13203 * gdb.cp/pr-574.exp
13204 * gdb.cp/pr10687.exp
13205 * gdb.cp/pr12028.exp
13206 * gdb.cp/pr17132.exp
13207 * gdb.cp/pr17494.exp
13208 * gdb.cp/pr9067.exp
13209 * gdb.cp/pr9167.exp
13210 * gdb.cp/pr9631.exp
13211 * gdb.cp/printmethod.exp
13212 * gdb.cp/psmang.exp
13213 * gdb.cp/psymtab-parameter.exp
13214 * gdb.cp/ptype-cv-cp.exp
13215 * gdb.cp/ptype-flags.exp
13216 * gdb.cp/re-set-overloaded.exp
13217 * gdb.cp/ref-types.exp
13218 * gdb.cp/rtti.exp
13219 * gdb.cp/scope-err.exp
13220 * gdb.cp/shadow.exp
13221 * gdb.cp/smartp.exp
13222 * gdb.cp/static-method.exp
13223 * gdb.cp/static-print-quit.exp
13224 * gdb.cp/temargs.exp
13225 * gdb.cp/templates.exp
13226 * gdb.cp/try_catch.exp
13227 * gdb.cp/typedef-operator.exp
13228 * gdb.cp/typeid.exp
13229 * gdb.cp/userdef.exp
13230 * gdb.cp/using-crash.exp
13231 * gdb.cp/var-tag.exp
13232 * gdb.cp/virtbase.exp
13233 * gdb.cp/virtfunc.exp
13234 * gdb.cp/virtfunc2.exp
13235 * gdb.cp/vla-cxx.exp
13236 * gdb.disasm/t01_mov.exp
13237 * gdb.disasm/t02_mova.exp
13238 * gdb.disasm/t03_add.exp
13239 * gdb.disasm/t04_sub.exp
13240 * gdb.disasm/t05_cmp.exp
13241 * gdb.disasm/t06_ari2.exp
13242 * gdb.disasm/t07_ari3.exp
13243 * gdb.disasm/t08_or.exp
13244 * gdb.disasm/t09_xor.exp
13245 * gdb.disasm/t10_and.exp
13246 * gdb.disasm/t11_logs.exp
13247 * gdb.disasm/t12_bit.exp
13248 * gdb.disasm/t13_otr.exp
13249 * gdb.dlang/circular.exp
13250 * gdb.dwarf2/arr-stride.exp
13251 * gdb.dwarf2/arr-subrange.exp
13252 * gdb.dwarf2/atomic-type.exp
13253 * gdb.dwarf2/bad-regnum.exp
13254 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13255 * gdb.dwarf2/callframecfa.exp
13256 * gdb.dwarf2/clztest.exp
13257 * gdb.dwarf2/corrupt.exp
13258 * gdb.dwarf2/data-loc.exp
13259 * gdb.dwarf2/dup-psym.exp
13260 * gdb.dwarf2/dw2-anon-mptr.exp
13261 * gdb.dwarf2/dw2-anonymous-func.exp
13262 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13263 * gdb.dwarf2/dw2-bad-unresolved.exp
13264 * gdb.dwarf2/dw2-basic.exp
13265 * gdb.dwarf2/dw2-canonicalize-type.exp
13266 * gdb.dwarf2/dw2-case-insensitive.exp
13267 * gdb.dwarf2/dw2-common-block.exp
13268 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13269 * gdb.dwarf2/dw2-compressed.exp
13270 * gdb.dwarf2/dw2-const.exp
13271 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13272 * gdb.dwarf2/dw2-cu-size.exp
13273 * gdb.dwarf2/dw2-dup-frame.exp
13274 * gdb.dwarf2/dw2-entry-value.exp
13275 * gdb.dwarf2/dw2-icycle.exp
13276 * gdb.dwarf2/dw2-ifort-parameter.exp
13277 * gdb.dwarf2/dw2-inline-break.exp
13278 * gdb.dwarf2/dw2-inline-param.exp
13279 * gdb.dwarf2/dw2-intercu.exp
13280 * gdb.dwarf2/dw2-intermix.exp
13281 * gdb.dwarf2/dw2-lexical-block-bare.exp
13282 * gdb.dwarf2/dw2-linkage-name-trust.exp
13283 * gdb.dwarf2/dw2-minsym-in-cu.exp
13284 * gdb.dwarf2/dw2-noloc.exp
13285 * gdb.dwarf2/dw2-op-call.exp
13286 * gdb.dwarf2/dw2-op-out-param.exp
13287 * gdb.dwarf2/dw2-opt-structptr.exp
13288 * gdb.dwarf2/dw2-param-error.exp
13289 * gdb.dwarf2/dw2-producer.exp
13290 * gdb.dwarf2/dw2-ranges-base.exp
13291 * gdb.dwarf2/dw2-ref-missing-frame.exp
13292 * gdb.dwarf2/dw2-reg-undefined.exp
13293 * gdb.dwarf2/dw2-regno-invalid.exp
13294 * gdb.dwarf2/dw2-restore.exp
13295 * gdb.dwarf2/dw2-restrict.exp
13296 * gdb.dwarf2/dw2-single-line-discriminators.exp
13297 * gdb.dwarf2/dw2-strp.exp
13298 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13299 * gdb.dwarf2/dw2-unresolved.exp
13300 * gdb.dwarf2/dw2-var-zero-addr.exp
13301 * gdb.dwarf2/dw4-sig-types.exp
13302 * gdb.dwarf2/dwz.exp
13303 * gdb.dwarf2/dynarr-ptr.exp
13304 * gdb.dwarf2/enum-type.exp
13305 * gdb.dwarf2/gdb-index.exp
13306 * gdb.dwarf2/implptr-64bit.exp
13307 * gdb.dwarf2/implptr-optimized-out.exp
13308 * gdb.dwarf2/implptr.exp
13309 * gdb.dwarf2/implref-array.exp
13310 * gdb.dwarf2/implref-const.exp
13311 * gdb.dwarf2/implref-global.exp
13312 * gdb.dwarf2/implref-struct.exp
13313 * gdb.dwarf2/mac-fileno.exp
13314 * gdb.dwarf2/main-subprogram.exp
13315 * gdb.dwarf2/member-ptr-forwardref.exp
13316 * gdb.dwarf2/method-ptr.exp
13317 * gdb.dwarf2/missing-sig-type.exp
13318 * gdb.dwarf2/nonvar-access.exp
13319 * gdb.dwarf2/opaque-type-lookup.exp
13320 * gdb.dwarf2/pieces-optimized-out.exp
13321 * gdb.dwarf2/pieces.exp
13322 * gdb.dwarf2/pr10770.exp
13323 * gdb.dwarf2/pr13961.exp
13324 * gdb.dwarf2/staticvirtual.exp
13325 * gdb.dwarf2/subrange.exp
13326 * gdb.dwarf2/symtab-producer.exp
13327 * gdb.dwarf2/trace-crash.exp
13328 * gdb.dwarf2/typeddwarf.exp
13329 * gdb.dwarf2/valop.exp
13330 * gdb.dwarf2/watch-notconst.exp
13331 * gdb.fortran/array-element.exp
13332 * gdb.fortran/charset.exp
13333 * gdb.fortran/common-block.exp
13334 * gdb.fortran/complex.exp
13335 * gdb.fortran/derived-type-function.exp
13336 * gdb.fortran/derived-type.exp
13337 * gdb.fortran/logical.exp
13338 * gdb.fortran/module.exp
13339 * gdb.fortran/multi-dim.exp
13340 * gdb.fortran/nested-funcs.exp
13341 * gdb.fortran/print-formatted.exp
13342 * gdb.fortran/subarray.exp
13343 * gdb.fortran/vla-alloc-assoc.exp
13344 * gdb.fortran/vla-datatypes.exp
13345 * gdb.fortran/vla-history.exp
13346 * gdb.fortran/vla-ptr-info.exp
13347 * gdb.fortran/vla-ptype-sub.exp
13348 * gdb.fortran/vla-ptype.exp
13349 * gdb.fortran/vla-sizeof.exp
13350 * gdb.fortran/vla-type.exp
13351 * gdb.fortran/vla-value-sub-arbitrary.exp
13352 * gdb.fortran/vla-value-sub-finish.exp
13353 * gdb.fortran/vla-value-sub.exp
13354 * gdb.fortran/vla-value.exp
13355 * gdb.fortran/whatis_type.exp
13356 * gdb.go/chan.exp
13357 * gdb.go/handcall.exp
13358 * gdb.go/hello.exp
13359 * gdb.go/integers.exp
13360 * gdb.go/methods.exp
13361 * gdb.go/package.exp
13362 * gdb.go/strings.exp
13363 * gdb.go/types.exp
13364 * gdb.go/unsafe.exp
13365 * gdb.guile/scm-arch.exp
13366 * gdb.guile/scm-block.exp
13367 * gdb.guile/scm-breakpoint.exp
13368 * gdb.guile/scm-cmd.exp
13369 * gdb.guile/scm-disasm.exp
13370 * gdb.guile/scm-equal.exp
13371 * gdb.guile/scm-frame-args.exp
13372 * gdb.guile/scm-frame-inline.exp
13373 * gdb.guile/scm-frame.exp
13374 * gdb.guile/scm-iterator.exp
13375 * gdb.guile/scm-math.exp
13376 * gdb.guile/scm-objfile.exp
13377 * gdb.guile/scm-ports.exp
13378 * gdb.guile/scm-symbol.exp
13379 * gdb.guile/scm-symtab.exp
13380 * gdb.guile/scm-value-cc.exp
13381 * gdb.guile/types-module.exp
13382 * gdb.linespec/break-ask.exp
13383 * gdb.linespec/cpexplicit.exp
13384 * gdb.linespec/explicit.exp
13385 * gdb.linespec/keywords.exp
13386 * gdb.linespec/linespec.exp
13387 * gdb.linespec/ls-dollar.exp
13388 * gdb.linespec/ls-errs.exp
13389 * gdb.linespec/skip-two.exp
13390 * gdb.linespec/thread.exp
13391 * gdb.mi/mi-async.exp
13392 * gdb.mi/mi-basics.exp
13393 * gdb.mi/mi-break.exp
13394 * gdb.mi/mi-catch-load.exp
13395 * gdb.mi/mi-cli.exp
13396 * gdb.mi/mi-cmd-param-changed.exp
13397 * gdb.mi/mi-console.exp
13398 * gdb.mi/mi-detach.exp
13399 * gdb.mi/mi-disassemble.exp
13400 * gdb.mi/mi-eval.exp
13401 * gdb.mi/mi-file-transfer.exp
13402 * gdb.mi/mi-file.exp
13403 * gdb.mi/mi-fill-memory.exp
13404 * gdb.mi/mi-inheritance-syntax-error.exp
13405 * gdb.mi/mi-linespec-err-cp.exp
13406 * gdb.mi/mi-logging.exp
13407 * gdb.mi/mi-memory-changed.exp
13408 * gdb.mi/mi-read-memory.exp
13409 * gdb.mi/mi-record-changed.exp
13410 * gdb.mi/mi-reg-undefined.exp
13411 * gdb.mi/mi-regs.exp
13412 * gdb.mi/mi-return.exp
13413 * gdb.mi/mi-reverse.exp
13414 * gdb.mi/mi-simplerun.exp
13415 * gdb.mi/mi-solib.exp
13416 * gdb.mi/mi-stack.exp
13417 * gdb.mi/mi-stepi.exp
13418 * gdb.mi/mi-syn-frame.exp
13419 * gdb.mi/mi-until.exp
13420 * gdb.mi/mi-var-block.exp
13421 * gdb.mi/mi-var-child.exp
13422 * gdb.mi/mi-var-cmd.exp
13423 * gdb.mi/mi-var-cp.exp
13424 * gdb.mi/mi-var-display.exp
13425 * gdb.mi/mi-var-invalidate.exp
13426 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13427 * gdb.mi/mi-vla-fortran.exp
13428 * gdb.mi/mi-watch.exp
13429 * gdb.mi/mi2-var-child.exp
13430 * gdb.mi/user-selected-context-sync.exp
13431 * gdb.modula2/unbounded-array.exp
13432 * gdb.multi/dummy-frame-restore.exp
13433 * gdb.multi/multi-arch-exec.exp
13434 * gdb.multi/multi-arch.exp
13435 * gdb.multi/tids.exp
13436 * gdb.multi/watchpoint-multi.exp
13437 * gdb.opencl/callfuncs.exp
13438 * gdb.opencl/convs_casts.exp
13439 * gdb.opencl/datatypes.exp
13440 * gdb.opencl/operators.exp
13441 * gdb.opencl/vec_comps.exp
13442 * gdb.opt/clobbered-registers-O2.exp
13443 * gdb.opt/inline-break.exp
13444 * gdb.opt/inline-bt.exp
13445 * gdb.opt/inline-cmds.exp
13446 * gdb.opt/inline-locals.exp
13447 * gdb.pascal/case-insensitive-symbols.exp
13448 * gdb.pascal/floats.exp
13449 * gdb.pascal/gdb11492.exp
13450 * gdb.python/lib-types.exp
13451 * gdb.python/py-arch.exp
13452 * gdb.python/py-as-string.exp
13453 * gdb.python/py-bad-printers.exp
13454 * gdb.python/py-block.exp
13455 * gdb.python/py-breakpoint-create-fail.exp
13456 * gdb.python/py-breakpoint.exp
13457 * gdb.python/py-caller-is.exp
13458 * gdb.python/py-cmd.exp
13459 * gdb.python/py-explore-cc.exp
13460 * gdb.python/py-explore.exp
13461 * gdb.python/py-finish-breakpoint.exp
13462 * gdb.python/py-finish-breakpoint2.exp
13463 * gdb.python/py-frame-args.exp
13464 * gdb.python/py-frame-inline.exp
13465 * gdb.python/py-frame.exp
13466 * gdb.python/py-framefilter-mi.exp
13467 * gdb.python/py-infthread.exp
13468 * gdb.python/py-lazy-string.exp
13469 * gdb.python/py-linetable.exp
13470 * gdb.python/py-mi-events.exp
13471 * gdb.python/py-mi-objfile.exp
13472 * gdb.python/py-mi.exp
13473 * gdb.python/py-objfile.exp
13474 * gdb.python/py-pp-integral.exp
13475 * gdb.python/py-pp-maint.exp
13476 * gdb.python/py-pp-re-notag.exp
13477 * gdb.python/py-pp-registration.exp
13478 * gdb.python/py-recurse-unwind.exp
13479 * gdb.python/py-strfns.exp
13480 * gdb.python/py-symbol.exp
13481 * gdb.python/py-symtab.exp
13482 * gdb.python/py-sync-interp.exp
13483 * gdb.python/py-typeprint.exp
13484 * gdb.python/py-unwind-maint.exp
13485 * gdb.python/py-unwind.exp
13486 * gdb.python/py-value-cc.exp
13487 * gdb.python/py-xmethods.exp
13488 * gdb.reverse/amd64-tailcall-reverse.exp
13489 * gdb.reverse/break-precsave.exp
13490 * gdb.reverse/break-reverse.exp
13491 * gdb.reverse/consecutive-precsave.exp
13492 * gdb.reverse/consecutive-reverse.exp
13493 * gdb.reverse/finish-precsave.exp
13494 * gdb.reverse/finish-reverse-bkpt.exp
13495 * gdb.reverse/finish-reverse.exp
13496 * gdb.reverse/fstatat-reverse.exp
13497 * gdb.reverse/getresuid-reverse.exp
13498 * gdb.reverse/i386-precsave.exp
13499 * gdb.reverse/i386-reverse.exp
13500 * gdb.reverse/i386-sse-reverse.exp
13501 * gdb.reverse/i387-env-reverse.exp
13502 * gdb.reverse/i387-stack-reverse.exp
13503 * gdb.reverse/insn-reverse.exp
13504 * gdb.reverse/machinestate-precsave.exp
13505 * gdb.reverse/machinestate.exp
13506 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13507 * gdb.reverse/pipe-reverse.exp
13508 * gdb.reverse/readv-reverse.exp
13509 * gdb.reverse/recvmsg-reverse.exp
13510 * gdb.reverse/rerun-prec.exp
13511 * gdb.reverse/s390-mvcle.exp
13512 * gdb.reverse/step-precsave.exp
13513 * gdb.reverse/step-reverse.exp
13514 * gdb.reverse/time-reverse.exp
13515 * gdb.reverse/until-precsave.exp
13516 * gdb.reverse/until-reverse.exp
13517 * gdb.reverse/waitpid-reverse.exp
13518 * gdb.reverse/watch-precsave.exp
13519 * gdb.reverse/watch-reverse.exp
13520 * gdb.rust/generics.exp
13521 * gdb.rust/methods.exp
13522 * gdb.rust/modules.exp
13523 * gdb.rust/simple.exp
13524 * gdb.server/connect-with-no-symbol-file.exp
13525 * gdb.server/ext-attach.exp
13526 * gdb.server/ext-restart.exp
13527 * gdb.server/ext-wrapper.exp
13528 * gdb.server/file-transfer.exp
13529 * gdb.server/server-exec-info.exp
13530 * gdb.server/server-kill.exp
13531 * gdb.server/server-mon.exp
13532 * gdb.server/wrapper.exp
13533 * gdb.stabs/exclfwd.exp
13534 * gdb.stabs/gdb11479.exp
13535 * gdb.threads/clone-new-thread-event.exp
13536 * gdb.threads/corethreads.exp
13537 * gdb.threads/current-lwp-dead.exp
13538 * gdb.threads/dlopen-libpthread.exp
13539 * gdb.threads/gcore-thread.exp
13540 * gdb.threads/sigstep-threads.exp
13541 * gdb.threads/watchpoint-fork.exp
13542 * gdb.trace/actions-changed.exp
13543 * gdb.trace/backtrace.exp
13544 * gdb.trace/change-loc.exp
13545 * gdb.trace/circ.exp
13546 * gdb.trace/collection.exp
13547 * gdb.trace/disconnected-tracing.exp
13548 * gdb.trace/ftrace.exp
13549 * gdb.trace/mi-trace-frame-collected.exp
13550 * gdb.trace/mi-trace-unavailable.exp
13551 * gdb.trace/mi-traceframe-changed.exp
13552 * gdb.trace/mi-tsv-changed.exp
13553 * gdb.trace/no-attach-trace.exp
13554 * gdb.trace/passc-dyn.exp
13555 * gdb.trace/qtro.exp
13556 * gdb.trace/range-stepping.exp
13557 * gdb.trace/read-memory.exp
13558 * gdb.trace/save-trace.exp
13559 * gdb.trace/signal.exp
13560 * gdb.trace/status-stop.exp
13561 * gdb.trace/tfile.exp
13562 * gdb.trace/trace-break.exp
13563 * gdb.trace/trace-buffer-size.exp
13564 * gdb.trace/trace-condition.exp
13565 * gdb.trace/tracefile-pseudo-reg.exp
13566 * gdb.trace/tstatus.exp
13567 * gdb.trace/unavailable.exp
13568 * gdb.trace/while-dyn.exp
13569 * gdb.trace/while-stepping.exp
13570
34c41c68
DE
135712016-12-22 Doug Evans <xdje42@gmail.com>
13572
13573 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13574 and msymbols.
13575
16e69324
YQ
135762016-12-19 Yao Qi <yao.qi@linaro.org>
13577
13578 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13579 (test_with_self): Don't call do_steps_and_nexts, and remove
13580 code about stepping into xmalloc.
13581
f94f411b
YQ
135822016-12-09 Yao Qi <yao.qi@linaro.org>
13583
13584 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13585
135862016-12-09 Yao Qi <yao.qi@linaro.org>
13587
13588 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13589
f1b5deee
PA
135902016-12-09 Pedro Alves <palves@redhat.com>
13591
13592 * gdb.base/all-architectures-0.exp: New file.
13593 * gdb.base/all-architectures-1.exp: New file.
13594 * gdb.base/all-architectures-2.exp: New file.
13595 * gdb.base/all-architectures-3.exp: New file.
13596 * gdb.base/all-architectures-4.exp: New file.
13597 * gdb.base/all-architectures-5.exp: New file.
13598 * gdb.base/all-architectures-6.exp: New file.
13599 * gdb.base/all-architectures-7.exp: New file.
13600 * gdb.base/all-architectures.exp.in: New file.
13601
364ca42e
YQ
136022016-12-09 Yao Qi <yao.qi@linaro.org>
13603
13604 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13605
107c2d62
LM
136062016-12-02 Luis Machado <lgustavo@codesourcery.com>
13607
13608 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13609 possible.
13610 Remove useless pattern-matching code.
13611
df3ee9ca
PA
136122016-12-02 Pedro Alves <palves@redhat.com>
13613
13614 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13615 procedure.
13616 (top level): Call it.
13617
ec835369
PA
136182016-12-02 Pedro Alves <palves@redhat.com>
13619
13620 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13621 New procedure.
13622 (top level): Call it.
13623
01770bbd
PA
136242016-12-02 Pedro Alves <palves@redhat.com>
13625
13626 PR cli/20559
13627 * gdb.base/commands.exp (user_defined_command_args_eval): New
13628 procedure.
13629 (top level): Call it.
13630
008459ea
LM
136312016-12-02 Luis Machado <lgustavo@codesourcery.com>
13632
13633 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13634 timeout handling.
13635
0c1b455e
TT
136362016-12-02 Tom Tromey <tom@tromey.com>
13637
13638 * gdb.dwarf2/main-subprogram.c: New file.
13639 * gdb.dwarf2/main-subprogram.exp: New file.
13640
018572b8
LM
136412016-12-01 Luis Machado <lgustavo@codesourcery.com>
13642
13643 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13644 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13645 gdb_test_no_output for a couple of cases.
13646 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13647
84c93cd5
LM
136482016-12-01 Luis Machado <lgustavo@codesourcery.com>
13649
13650 Fix test names and standardize compilation error messages throughout
13651 the following files:
13652
13653 * gdb.ada/start.exp
13654 * gdb.arch/alpha-step.exp
13655 * gdb.arch/e500-prologue.exp
13656 * gdb.arch/ftrace-insn-reloc.exp
13657 * gdb.arch/gdb1291.exp
13658 * gdb.arch/gdb1431.exp
13659 * gdb.arch/gdb1558.exp
13660 * gdb.arch/i386-dr3-watch.exp
13661 * gdb.arch/i386-sse-stack-align.exp
13662 * gdb.arch/ia64-breakpoint-shadow.exp
13663 * gdb.arch/pa-nullify.exp
13664 * gdb.arch/powerpc-aix-prologue.exp
13665 * gdb.arch/thumb-bx-pc.exp
13666 * gdb.base/annota1.exp
13667 * gdb.base/annota3.exp
13668 * gdb.base/arrayidx.exp
13669 * gdb.base/assign.exp
13670 * gdb.base/attach.exp
13671 * gdb.base/auxv.exp
13672 * gdb.base/bang.exp
13673 * gdb.base/bfp-test.exp
13674 * gdb.base/bigcore.exp
13675 * gdb.base/bitfields2.exp
13676 * gdb.base/break-fun-addr.exp
13677 * gdb.base/break-probes.exp
13678 * gdb.base/call-rt-st.exp
13679 * gdb.base/callexit.exp
13680 * gdb.base/catch-fork-kill.exp
13681 * gdb.base/charset.exp
13682 * gdb.base/checkpoint.exp
13683 * gdb.base/comprdebug.exp
13684 * gdb.base/constvars.exp
13685 * gdb.base/coredump-filter.exp
13686 * gdb.base/cursal.exp
13687 * gdb.base/cvexpr.exp
13688 * gdb.base/detach.exp
13689 * gdb.base/display.exp
13690 * gdb.base/dmsym.exp
13691 * gdb.base/dprintf-pending.exp
13692 * gdb.base/dso2dso.exp
13693 * gdb.base/dtrace-probe.exp
13694 * gdb.base/dump.exp
13695 * gdb.base/enum_cond.exp
13696 * gdb.base/exe-lock.exp
13697 * gdb.base/exec-invalid-sysroot.exp
13698 * gdb.base/execl-update-breakpoints.exp
13699 * gdb.base/exprs.exp
13700 * gdb.base/fileio.exp
13701 * gdb.base/find.exp
13702 * gdb.base/finish.exp
13703 * gdb.base/fixsection.exp
13704 * gdb.base/foll-vfork.exp
13705 * gdb.base/frame-args.exp
13706 * gdb.base/gcore.exp
13707 * gdb.base/gdb1250.exp
13708 * gdb.base/global-var-nested-by-dso.exp
13709 * gdb.base/gnu-ifunc.exp
13710 * gdb.base/hashline1.exp
13711 * gdb.base/hashline2.exp
13712 * gdb.base/hashline3.exp
13713 * gdb.base/hbreak-in-shr-unsupported.exp
13714 * gdb.base/huge.exp
13715 * gdb.base/infcall-input.exp
13716 * gdb.base/info-fun.exp
13717 * gdb.base/info-shared.exp
13718 * gdb.base/jit-simple.exp
13719 * gdb.base/jit-so.exp
13720 * gdb.base/jit.exp
13721 * gdb.base/jump.exp
13722 * gdb.base/label.exp
13723 * gdb.base/lineinc.exp
13724 * gdb.base/logical.exp
13725 * gdb.base/longjmp.exp
13726 * gdb.base/macscp.exp
13727 * gdb.base/miscexprs.exp
13728 * gdb.base/new-ui-echo.exp
13729 * gdb.base/new-ui-pending-input.exp
13730 * gdb.base/new-ui.exp
13731 * gdb.base/nodebug.exp
13732 * gdb.base/nofield.exp
13733 * gdb.base/offsets.exp
13734 * gdb.base/overlays.exp
13735 * gdb.base/pending.exp
13736 * gdb.base/pointers.exp
13737 * gdb.base/pr11022.exp
13738 * gdb.base/printcmds.exp
13739 * gdb.base/prologue.exp
13740 * gdb.base/ptr-typedef.exp
13741 * gdb.base/realname-expand.exp
13742 * gdb.base/relativedebug.exp
13743 * gdb.base/relocate.exp
13744 * gdb.base/remote.exp
13745 * gdb.base/reread.exp
13746 * gdb.base/return2.exp
13747 * gdb.base/savedregs.exp
13748 * gdb.base/sep.exp
13749 * gdb.base/sepdebug.exp
13750 * gdb.base/sepsymtab.exp
13751 * gdb.base/set-inferior-tty.exp
13752 * gdb.base/setshow.exp
13753 * gdb.base/shlib-call.exp
13754 * gdb.base/sigaltstack.exp
13755 * gdb.base/siginfo-addr.exp
13756 * gdb.base/signals.exp
13757 * gdb.base/signull.exp
13758 * gdb.base/sigrepeat.exp
13759 * gdb.base/so-impl-ld.exp
13760 * gdb.base/solib-display.exp
13761 * gdb.base/solib-overlap.exp
13762 * gdb.base/solib-search.exp
13763 * gdb.base/solib-symbol.exp
13764 * gdb.base/structs.exp
13765 * gdb.base/structs2.exp
13766 * gdb.base/symtab-search-order.exp
13767 * gdb.base/twice.exp
13768 * gdb.base/unload.exp
13769 * gdb.base/varargs.exp
13770 * gdb.base/watchpoint-solib.exp
13771 * gdb.base/watchpoint.exp
13772 * gdb.base/whatis.exp
13773 * gdb.base/wrong_frame_bt_full.exp
13774 * gdb.btrace/dlopen.exp
13775 * gdb.cell/ea-standalone.exp
13776 * gdb.cell/ea-test.exp
13777 * gdb.cp/dispcxx.exp
13778 * gdb.cp/gdb2384.exp
13779 * gdb.cp/method2.exp
13780 * gdb.cp/nextoverthrow.exp
13781 * gdb.cp/pr10728.exp
13782 * gdb.disasm/am33.exp
13783 * gdb.disasm/h8300s.exp
13784 * gdb.disasm/mn10300.exp
13785 * gdb.disasm/sh3.exp
13786 * gdb.dwarf2/dw2-dir-file-name.exp
13787 * gdb.fortran/complex.exp
13788 * gdb.fortran/library-module.exp
13789 * gdb.guile/scm-pretty-print.exp
13790 * gdb.guile/scm-symbol.exp
13791 * gdb.guile/scm-type.exp
13792 * gdb.guile/scm-value.exp
13793 * gdb.linespec/linespec.exp
13794 * gdb.mi/gdb701.exp
13795 * gdb.mi/gdb792.exp
13796 * gdb.mi/mi-breakpoint-changed.exp
13797 * gdb.mi/mi-dprintf-pending.exp
13798 * gdb.mi/mi-dprintf.exp
13799 * gdb.mi/mi-exit-code.exp
13800 * gdb.mi/mi-pending.exp
13801 * gdb.mi/mi-solib.exp
13802 * gdb.mi/new-ui-mi-sync.exp
13803 * gdb.mi/pr11022.exp
13804 * gdb.mi/user-selected-context-sync.exp
13805 * gdb.opt/solib-intra-step.exp
13806 * gdb.python/py-events.exp
13807 * gdb.python/py-finish-breakpoint.exp
13808 * gdb.python/py-mi.exp
13809 * gdb.python/py-prettyprint.exp
13810 * gdb.python/py-shared.exp
13811 * gdb.python/py-symbol.exp
13812 * gdb.python/py-template.exp
13813 * gdb.python/py-type.exp
13814 * gdb.python/py-value.exp
13815 * gdb.reverse/solib-precsave.exp
13816 * gdb.reverse/solib-reverse.exp
13817 * gdb.server/solib-list.exp
13818 * gdb.stabs/weird.exp
13819 * gdb.threads/reconnect-signal.exp
13820 * gdb.threads/stepi-random-signal.exp
13821 * gdb.trace/actions.exp
13822 * gdb.trace/ax.exp
13823 * gdb.trace/backtrace.exp
13824 * gdb.trace/change-loc.exp
13825 * gdb.trace/deltrace.exp
13826 * gdb.trace/ftrace-lock.exp
13827 * gdb.trace/ftrace.exp
13828 * gdb.trace/infotrace.exp
13829 * gdb.trace/mi-tracepoint-changed.exp
13830 * gdb.trace/packetlen.exp
13831 * gdb.trace/passcount.exp
13832 * gdb.trace/pending.exp
13833 * gdb.trace/range-stepping.exp
13834 * gdb.trace/report.exp
13835 * gdb.trace/stap-trace.exp
13836 * gdb.trace/tfind.exp
13837 * gdb.trace/trace-break.exp
13838 * gdb.trace/trace-condition.exp
13839 * gdb.trace/trace-enable-disable.exp
13840 * gdb.trace/trace-mt.exp
13841 * gdb.trace/tracecmd.exp
13842 * gdb.trace/tspeed.exp
13843 * gdb.trace/tsv.exp
13844 * lib/perftest.exp
13845
fb9feb35
LM
138462016-12-01 Luis Machado <lgustavo@codesourcery.com>
13847
13848 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13849 with gdb_test_no_output.
13850 Use command as test name.
13851
cd2ddb6c
LM
138522016-12-01 Luis Machado <lgustavo@codesourcery.com>
13853
13854 Fix test names starting with uppercase throughout the files.
13855
13856 * gdb.ada/assign_1.exp
13857 * gdb.ada/boolean_expr.exp
13858 * gdb.base/arrayidx.exp
13859 * gdb.base/del.exp
13860 * gdb.base/gcore-buffer-overflow.exp
13861 * gdb.base/testenv.exp
13862 * gdb.compile/compile.exp
13863 * gdb.python/py-framefilter-invalidarg.exp
13864 * gdb.python/py-framefilter.exp
13865
bb95117e
LM
138662016-12-01 Luis Machado <lgustavo@codesourcery.com>
13867
13868 Fix test names starting with uppercase throughout the files.
13869
13870 * gdb.ada/array_return.exp
13871 * gdb.ada/expr_delims.exp
13872 * gdb.ada/mi_dyn_arr.exp
13873 * gdb.ada/mi_interface.exp
13874 * gdb.ada/mi_var_array.exp
13875 * gdb.ada/watch_arg.exp
13876 * gdb.arch/alpha-step.exp
13877 * gdb.arch/altivec-regs.exp
13878 * gdb.arch/e500-regs.exp
13879 * gdb.arch/powerpc-d128-regs.exp
13880 * gdb.base/arrayidx.exp
13881 * gdb.base/break.exp
13882 * gdb.base/checkpoint.exp
13883 * gdb.base/debug-expr.exp
13884 * gdb.base/dmsym.exp
13885 * gdb.base/radix.exp
13886 * gdb.base/sepdebug.exp
13887 * gdb.base/testenv.exp
13888 * gdb.base/watch_thread_num.exp
13889 * gdb.base/watchpoint-cond-gone.exp
13890 * gdb.cell/break.exp
13891 * gdb.cell/ea-cache.exp
13892 * gdb.compile/compile.exp
13893 * gdb.cp/gdb2495.exp
13894 * gdb.gdb/selftest.exp
13895 * gdb.gdb/xfullpath.exp
13896 * gdb.go/hello.exp
13897 * gdb.go/integers.exp
13898 * gdb.objc/basicclass.exp
13899 * gdb.pascal/hello.exp
13900 * gdb.pascal/integers.exp
13901 * gdb.python/py-breakpoint.exp
13902 * gdb.python/py-cmd.exp
13903 * gdb.python/py-linetable.exp
13904 * gdb.python/py-xmethods.exp
13905 * gdb.python/python.exp
13906 * gdb.reverse/consecutive-precsave.exp
13907 * gdb.reverse/finish-precsave.exp
13908 * gdb.reverse/i386-precsave.exp
13909 * gdb.reverse/machinestate-precsave.exp
13910 * gdb.reverse/sigall-precsave.exp
13911 * gdb.reverse/solib-precsave.exp
13912 * gdb.reverse/step-precsave.exp
13913 * gdb.reverse/until-precsave.exp
13914 * gdb.reverse/watch-precsave.exp
13915 * gdb.threads/leader-exit.exp
13916 * gdb.threads/pthreads.exp
13917 * gdb.threads/wp-replication.exp
13918 * gdb.trace/actions.exp
13919 * gdb.trace/mi-tsv-changed.exp
13920 * gdb.trace/tsv.exp
13921
de97fdd4
LM
139222016-12-01 Luis Machado <lgustavo@codesourcery.com>
13923
13924 Fix test names starting with uppercase throughout the files.
13925
13926 * gdb.arch/i386-bp_permanent.exp
13927 * gdb.arch/i386-gnu-cfi.exp
13928 * gdb.base/disasm-end-cu.exp
13929 * gdb.base/macscp.exp
13930 * gdb.base/pending.exp
13931 * gdb.base/watch_thread_num.exp
13932 * gdb.cp/exception.exp
13933 * gdb.cp/gdb2495.exp
13934 * gdb.cp/local.exp
13935 * gdb.python/py-evsignal.exp
13936 * gdb.python/python.exp
13937 * gdb.trace/tracecmd.exp
13938
9f058c10
LM
139392016-12-01 Luis Machado <lgustavo@codesourcery.com>
13940
13941 Fix test names starting with uppercase throughout the files.
13942
13943 * gdb.base/charset.exp
13944 * gdb.base/eval.exp
13945 * gdb.base/multi-forks.exp
13946 * gdb.guile/scm-progspace.exp
13947 * gdb.opencl/datatypes.exp
13948 * gdb.python/py-block.exp
13949 * gdb.python/py-function.exp
13950 * gdb.python/py-symbol.exp
13951 * gdb.python/py-symtab.exp
13952 * gdb.python/py-xmethods.exp
13953 * gdb.reverse/break-precsave.exp
13954 * gdb.reverse/break-reverse.exp
13955 * gdb.reverse/consecutive-precsave.exp
13956 * gdb.reverse/consecutive-reverse.exp
13957 * gdb.reverse/finish-precsave.exp
13958 * gdb.reverse/finish-reverse-bkpt.exp
13959 * gdb.reverse/finish-reverse.exp
13960 * gdb.reverse/fstatat-reverse.exp
13961 * gdb.reverse/getresuid-reverse.exp
13962 * gdb.reverse/i386-precsave.exp
13963 * gdb.reverse/i386-reverse.exp
13964 * gdb.reverse/i386-sse-reverse.exp
13965 * gdb.reverse/i387-stack-reverse.exp
13966 * gdb.reverse/insn-reverse.exp
13967 * gdb.reverse/machinestate-precsave.exp
13968 * gdb.reverse/machinestate.exp
13969 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13970 * gdb.reverse/pipe-reverse.exp
13971 * gdb.reverse/readv-reverse.exp
13972 * gdb.reverse/recvmsg-reverse.exp
13973 * gdb.reverse/rerun-prec.exp
13974 * gdb.reverse/s390-mvcle.exp
13975 * gdb.reverse/sigall-precsave.exp
13976 * gdb.reverse/sigall-reverse.exp
13977 * gdb.reverse/solib-precsave.exp
13978 * gdb.reverse/solib-reverse.exp
13979 * gdb.reverse/step-precsave.exp
13980 * gdb.reverse/step-reverse.exp
13981 * gdb.reverse/time-reverse.exp
13982 * gdb.reverse/until-precsave.exp
13983 * gdb.reverse/until-reverse.exp
13984 * gdb.reverse/waitpid-reverse.exp
13985 * gdb.reverse/watch-precsave.exp
13986 * gdb.reverse/watch-reverse.exp
13987
cdc7edd7
LM
139882016-12-01 Luis Machado <lgustavo@codesourcery.com>
13989
13990 Fix test names starting with uppercase throughout the files.
13991
13992 * gdb.arch/i386-mpx-simple_segv.exp
13993 * gdb.arch/i386-mpx.exp
13994 * gdb.arch/i386-permbkpt.exp
13995 * gdb.arch/pa-nullify.exp
13996 * gdb.arch/powerpc-d128-regs.exp
13997 * gdb.arch/vsx-regs.exp
13998 * gdb.base/bfp-test.exp
13999 * gdb.base/break.exp
14000 * gdb.base/breakpoint-shadow.exp
14001 * gdb.base/callfuncs.exp
14002 * gdb.base/charset.exp
14003 * gdb.base/commands.exp
14004 * gdb.base/completion.exp
14005 * gdb.base/dfp-test.exp
14006 * gdb.base/echo.exp
14007 * gdb.base/ending-run.exp
14008 * gdb.base/eval.exp
14009 * gdb.base/expand-psymtabs.exp
14010 * gdb.base/float128.exp
14011 * gdb.base/floatn.exp
14012 * gdb.base/foll-exec-mode.exp
14013 * gdb.base/gdb1056.exp
14014 * gdb.base/gdb11531.exp
14015 * gdb.base/kill-after-signal.exp
14016 * gdb.base/multi-forks.exp
14017 * gdb.base/overlays.exp
14018 * gdb.base/pending.exp
14019 * gdb.base/sepdebug.exp
14020 * gdb.base/testenv.exp
14021 * gdb.base/valgrind-db-attach.exp
14022 * gdb.base/watch_thread_num.exp
14023 * gdb.base/watchpoint-cond-gone.exp
14024 * gdb.base/watchpoint.exp
14025 * gdb.base/watchpoints.exp
14026 * gdb.cp/arg-reference.exp
14027 * gdb.cp/baseenum.exp
14028 * gdb.cp/operator.exp
14029 * gdb.cp/shadow.exp
14030 * gdb.dwarf2/dw2-op-out-param.exp
14031 * gdb.dwarf2/dw2-reg-undefined.exp
14032 * gdb.go/chan.exp
14033 * gdb.go/hello.exp
14034 * gdb.go/integers.exp
14035 * gdb.go/methods.exp
14036 * gdb.go/package.exp
14037 * gdb.guile/scm-parameter.exp
14038 * gdb.guile/scm-progspace.exp
14039 * gdb.guile/scm-value.exp
14040 * gdb.mi/mi-pending.exp
14041 * gdb.mi/user-selected-context-sync.exp
14042 * gdb.multi/multi-attach.exp
14043 * gdb.multi/tids.exp
14044 * gdb.opt/clobbered-registers-O2.exp
14045 * gdb.pascal/floats.exp
14046 * gdb.pascal/integers.exp
14047 * gdb.python/py-block.exp
14048 * gdb.python/py-events.exp
14049 * gdb.python/py-parameter.exp
14050 * gdb.python/py-symbol.exp
14051 * gdb.python/py-symtab.exp
14052 * gdb.python/py-type.exp
14053 * gdb.python/py-value.exp
14054 * gdb.python/py-xmethods.exp
14055 * gdb.python/python.exp
14056 * gdb.reverse/break-precsave.exp
14057 * gdb.reverse/consecutive-precsave.exp
14058 * gdb.reverse/finish-precsave.exp
14059 * gdb.reverse/i386-precsave.exp
14060 * gdb.reverse/machinestate-precsave.exp
14061 * gdb.reverse/sigall-precsave.exp
14062 * gdb.reverse/solib-precsave.exp
14063 * gdb.reverse/step-precsave.exp
14064 * gdb.reverse/until-precsave.exp
14065 * gdb.reverse/watch-precsave.exp
14066 * gdb.server/ext-attach.exp
14067 * gdb.server/ext-restart.exp
14068 * gdb.server/ext-run.exp
14069 * gdb.server/ext-wrapper.exp
14070 * gdb.stabs/gdb11479.exp
14071 * gdb.stabs/weird.exp
14072 * gdb.threads/attach-many-short-lived-threads.exp
14073 * gdb.threads/kill.exp
14074 * gdb.threads/watchpoint-fork.exp
14075
bc6c7af4
LM
140762016-12-01 Luis Machado <lgustavo@codesourcery.com>
14077
14078 Fix test names starting with uppercase throughout all the files below.
14079
14080 * gdb.ada/array_return.exp
14081 * gdb.ada/catch_ex.exp
14082 * gdb.ada/info_exc.exp
14083 * gdb.ada/mi_catch_ex.exp
14084 * gdb.ada/mi_dyn_arr.exp
14085 * gdb.ada/mi_ex_cond.exp
14086 * gdb.ada/mi_exc_info.exp
14087 * gdb.ada/mi_interface.exp
14088 * gdb.ada/mi_task_arg.exp
14089 * gdb.ada/mi_task_info.exp
14090 * gdb.ada/mi_var_array.exp
14091 * gdb.arch/alpha-step.exp
14092 * gdb.arch/amd64-disp-step.exp
14093 * gdb.arch/arm-disp-step.exp
14094 * gdb.arch/disp-step-insn-reloc.exp
14095 * gdb.arch/e500-prologue.exp
14096 * gdb.arch/ftrace-insn-reloc.exp
14097 * gdb.arch/gdb1558.exp
14098 * gdb.arch/i386-bp_permanent.exp
14099 * gdb.arch/i386-disp-step.exp
14100 * gdb.arch/i386-float.exp
14101 * gdb.arch/i386-gnu-cfi.exp
14102 * gdb.arch/ia64-breakpoint-shadow.exp
14103 * gdb.arch/mips16-thunks.exp
14104 * gdb.arch/pa-nullify.exp
14105 * gdb.arch/powerpc-aix-prologue.exp
14106 * gdb.arch/powerpc-power.exp
14107 * gdb.arch/ppc-dfp.exp
14108 * gdb.arch/s390-tdbregs.exp
14109 * gdb.arch/spu-info.exp
14110 * gdb.arch/spu-ls.exp
14111 * gdb.arch/thumb-bx-pc.exp
14112 * gdb.base/advance.exp
14113 * gdb.base/annota-input-while-running.exp
14114 * gdb.base/arrayidx.exp
14115 * gdb.base/asmlabel.exp
14116 * gdb.base/async.exp
14117 * gdb.base/attach-wait-input.exp
14118 * gdb.base/auto-connect-native-target.exp
14119 * gdb.base/batch-preserve-term-settings.exp
14120 * gdb.base/bfp-test.exp
14121 * gdb.base/bigcore.exp
14122 * gdb.base/bp-permanent.exp
14123 * gdb.base/break-always.exp
14124 * gdb.base/break-fun-addr.exp
14125 * gdb.base/break-idempotent.exp
14126 * gdb.base/break-main-file-remove-fail.exp
14127 * gdb.base/break-probes.exp
14128 * gdb.base/break-unload-file.exp
14129 * gdb.base/break.exp
14130 * gdb.base/call-ar-st.exp
14131 * gdb.base/call-rt-st.exp
14132 * gdb.base/call-sc.exp
14133 * gdb.base/call-signal-resume.exp
14134 * gdb.base/call-strs.exp
14135 * gdb.base/callexit.exp
14136 * gdb.base/callfuncs.exp
14137 * gdb.base/catch-gdb-caused-signals.exp
14138 * gdb.base/catch-signal-siginfo-cond.exp
14139 * gdb.base/catch-syscall.exp
14140 * gdb.base/compare-sections.exp
14141 * gdb.base/cond-eval-mode.exp
14142 * gdb.base/condbreak-call-false.exp
14143 * gdb.base/consecutive-step-over.exp
14144 * gdb.base/cursal.exp
14145 * gdb.base/disabled-location.exp
14146 * gdb.base/disasm-end-cu.exp
14147 * gdb.base/display.exp
14148 * gdb.base/double-prompt-target-event-error.exp
14149 * gdb.base/dprintf-bp-same-addr.exp
14150 * gdb.base/dprintf-detach.exp
14151 * gdb.base/dprintf-next.exp
14152 * gdb.base/dprintf-non-stop.exp
14153 * gdb.base/dprintf-pending.exp
14154 * gdb.base/dso2dso.exp
14155 * gdb.base/ending-run.exp
14156 * gdb.base/enum_cond.exp
14157 * gdb.base/examine-backward.exp
14158 * gdb.base/exe-lock.exp
14159 * gdb.base/exec-invalid-sysroot.exp
14160 * gdb.base/execl-update-breakpoints.exp
14161 * gdb.base/execution-termios.exp
14162 * gdb.base/fileio.exp
14163 * gdb.base/fixsection.exp
14164 * gdb.base/foll-exec-mode.exp
14165 * gdb.base/foll-exec.exp
14166 * gdb.base/fork-running-state.exp
14167 * gdb.base/frame-args.exp
14168 * gdb.base/fullpath-expand.exp
14169 * gdb.base/func-ptr.exp
14170 * gdb.base/gcore-relro-pie.exp
14171 * gdb.base/gdb1090.exp
14172 * gdb.base/gdb1555.exp
14173 * gdb.base/global-var-nested-by-dso.exp
14174 * gdb.base/gnu-ifunc.exp
14175 * gdb.base/hbreak-in-shr-unsupported.exp
14176 * gdb.base/hbreak-unmapped.exp
14177 * gdb.base/hook-stop.exp
14178 * gdb.base/infcall-input.exp
14179 * gdb.base/info-fun.exp
14180 * gdb.base/info-shared.exp
14181 * gdb.base/interrupt-noterm.exp
14182 * gdb.base/jit-so.exp
14183 * gdb.base/jit.exp
14184 * gdb.base/line-symtabs.exp
14185 * gdb.base/list.exp
14186 * gdb.base/longjmp.exp
14187 * gdb.base/macscp.exp
14188 * gdb.base/max-value-size.exp
14189 * gdb.base/nodebug.exp
14190 * gdb.base/nofield.exp
14191 * gdb.base/overlays.exp
14192 * gdb.base/paginate-after-ctrl-c-running.exp
14193 * gdb.base/paginate-bg-execution.exp
14194 * gdb.base/paginate-inferior-exit.exp
14195 * gdb.base/pending.exp
14196 * gdb.base/pr11022.exp
14197 * gdb.base/printcmds.exp
14198 * gdb.base/ptr-typedef.exp
14199 * gdb.base/ptype.exp
14200 * gdb.base/randomize.exp
14201 * gdb.base/range-stepping.exp
14202 * gdb.base/realname-expand.exp
14203 * gdb.base/relativedebug.exp
14204 * gdb.base/remote.exp
14205 * gdb.base/savedregs.exp
14206 * gdb.base/sepdebug.exp
14207 * gdb.base/set-noassign.exp
14208 * gdb.base/shlib-call.exp
14209 * gdb.base/shreloc.exp
14210 * gdb.base/sigaltstack.exp
14211 * gdb.base/sigbpt.exp
14212 * gdb.base/siginfo-addr.exp
14213 * gdb.base/siginfo-obj.exp
14214 * gdb.base/siginfo-thread.exp
14215 * gdb.base/signest.exp
14216 * gdb.base/signull.exp
14217 * gdb.base/sigrepeat.exp
14218 * gdb.base/skip.exp
14219 * gdb.base/so-impl-ld.exp
14220 * gdb.base/solib-corrupted.exp
14221 * gdb.base/solib-disc.exp
14222 * gdb.base/solib-display.exp
14223 * gdb.base/solib-overlap.exp
14224 * gdb.base/solib-search.exp
14225 * gdb.base/solib-symbol.exp
14226 * gdb.base/source-execution.exp
14227 * gdb.base/sss-bp-on-user-bp-2.exp
14228 * gdb.base/sss-bp-on-user-bp.exp
14229 * gdb.base/stack-checking.exp
14230 * gdb.base/stale-infcall.exp
14231 * gdb.base/step-break.exp
14232 * gdb.base/step-line.exp
14233 * gdb.base/step-over-exit.exp
14234 * gdb.base/step-test.exp
14235 * gdb.base/structs.exp
14236 * gdb.base/sym-file.exp
14237 * gdb.base/symtab-search-order.exp
14238 * gdb.base/term.exp
14239 * gdb.base/type-opaque.exp
14240 * gdb.base/unload.exp
14241 * gdb.base/until-nodebug.exp
14242 * gdb.base/until.exp
14243 * gdb.base/unwindonsignal.exp
14244 * gdb.base/watch-cond.exp
14245 * gdb.base/watch-non-mem.exp
14246 * gdb.base/watch_thread_num.exp
14247 * gdb.base/watchpoint-reuse-slot.exp
14248 * gdb.base/watchpoint-solib.exp
14249 * gdb.base/watchpoint.exp
14250 * gdb.btrace/dlopen.exp
14251 * gdb.cell/arch.exp
14252 * gdb.cell/break.exp
14253 * gdb.cell/bt.exp
14254 * gdb.cell/core.exp
14255 * gdb.cell/data.exp
14256 * gdb.cell/dwarfaddr.exp
14257 * gdb.cell/ea-cache.exp
14258 * gdb.cell/ea-standalone.exp
14259 * gdb.cell/ea-test.exp
14260 * gdb.cell/f-regs.exp
14261 * gdb.cell/fork.exp
14262 * gdb.cell/gcore.exp
14263 * gdb.cell/mem-access.exp
14264 * gdb.cell/ptype.exp
14265 * gdb.cell/registers.exp
14266 * gdb.cell/sizeof.exp
14267 * gdb.cell/solib-symbol.exp
14268 * gdb.cell/solib.exp
14269 * gdb.compile/compile-tls.exp
14270 * gdb.cp/exception.exp
14271 * gdb.cp/gdb2495.exp
14272 * gdb.cp/local.exp
14273 * gdb.cp/mb-inline.exp
14274 * gdb.cp/mb-templates.exp
14275 * gdb.cp/pr10687.exp
14276 * gdb.cp/pr9167.exp
14277 * gdb.cp/scope-err.exp
14278 * gdb.cp/templates.exp
14279 * gdb.cp/virtfunc.exp
14280 * gdb.dwarf2/dw2-dir-file-name.exp
14281 * gdb.dwarf2/dw2-single-line-discriminators.exp
14282 * gdb.fortran/complex.exp
14283 * gdb.fortran/library-module.exp
14284 * gdb.guile/guile.exp
14285 * gdb.guile/scm-cmd.exp
14286 * gdb.guile/scm-frame-inline.exp
14287 * gdb.guile/scm-objfile.exp
14288 * gdb.guile/scm-pretty-print.exp
14289 * gdb.guile/scm-symbol.exp
14290 * gdb.guile/scm-type.exp
14291 * gdb.guile/scm-value.exp
14292 * gdb.linespec/keywords.exp
14293 * gdb.linespec/ls-errs.exp
14294 * gdb.linespec/macro-relative.exp
14295 * gdb.linespec/thread.exp
14296 * gdb.mi/mi-breakpoint-changed.exp
14297 * gdb.mi/mi-dprintf-pending.exp
14298 * gdb.mi/mi-fullname-deleted.exp
14299 * gdb.mi/mi-logging.exp
14300 * gdb.mi/mi-pending.exp
14301 * gdb.mi/mi-solib.exp
14302 * gdb.mi/new-ui-mi-sync.exp
14303 * gdb.mi/user-selected-context-sync.exp
14304 * gdb.multi/dummy-frame-restore.exp
14305 * gdb.multi/multi-arch-exec.exp
14306 * gdb.multi/remove-inferiors.exp
14307 * gdb.multi/watchpoint-multi-exit.exp
14308 * gdb.opt/solib-intra-step.exp
14309 * gdb.perf/backtrace.exp
14310 * gdb.perf/single-step.exp
14311 * gdb.perf/skip-command.exp
14312 * gdb.perf/skip-prologue.exp
14313 * gdb.perf/solib.exp
14314 * gdb.python/lib-types.exp
14315 * gdb.python/py-as-string.exp
14316 * gdb.python/py-bad-printers.exp
14317 * gdb.python/py-block.exp
14318 * gdb.python/py-breakpoint.exp
14319 * gdb.python/py-cmd.exp
14320 * gdb.python/py-events.exp
14321 * gdb.python/py-evthreads.exp
14322 * gdb.python/py-finish-breakpoint.exp
14323 * gdb.python/py-finish-breakpoint2.exp
14324 * gdb.python/py-frame-inline.exp
14325 * gdb.python/py-frame.exp
14326 * gdb.python/py-inferior.exp
14327 * gdb.python/py-infthread.exp
14328 * gdb.python/py-mi.exp
14329 * gdb.python/py-objfile.exp
14330 * gdb.python/py-pp-maint.exp
14331 * gdb.python/py-pp-registration.exp
14332 * gdb.python/py-prettyprint.exp
14333 * gdb.python/py-recurse-unwind.exp
14334 * gdb.python/py-shared.exp
14335 * gdb.python/py-symbol.exp
14336 * gdb.python/py-symtab.exp
14337 * gdb.python/py-template.exp
14338 * gdb.python/py-type.exp
14339 * gdb.python/py-unwind-maint.exp
14340 * gdb.python/py-unwind.exp
14341 * gdb.python/py-value.exp
14342 * gdb.python/python.exp
14343 * gdb.reverse/finish-reverse-bkpt.exp
14344 * gdb.reverse/insn-reverse.exp
14345 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14346 * gdb.reverse/solib-precsave.exp
14347 * gdb.reverse/solib-reverse.exp
14348 * gdb.stabs/gdb11479.exp
14349 * gdb.stabs/weird.exp
14350 * gdb.threads/fork-child-threads.exp
14351 * gdb.threads/fork-plus-threads.exp
14352 * gdb.threads/fork-thread-pending.exp
14353 * gdb.threads/forking-threads-plus-breakpoint.exp
14354 * gdb.threads/hand-call-in-threads.exp
14355 * gdb.threads/interrupted-hand-call.exp
14356 * gdb.threads/linux-dp.exp
14357 * gdb.threads/local-watch-wrong-thread.exp
14358 * gdb.threads/next-while-other-thread-longjmps.exp
14359 * gdb.threads/non-ldr-exit.exp
14360 * gdb.threads/pending-step.exp
14361 * gdb.threads/print-threads.exp
14362 * gdb.threads/process-dies-while-detaching.exp
14363 * gdb.threads/process-dies-while-handling-bp.exp
14364 * gdb.threads/pthreads.exp
14365 * gdb.threads/queue-signal.exp
14366 * gdb.threads/reconnect-signal.exp
14367 * gdb.threads/signal-command-handle-nopass.exp
14368 * gdb.threads/signal-command-multiple-signals-pending.exp
14369 * gdb.threads/signal-delivered-right-thread.exp
14370 * gdb.threads/signal-sigtrap.exp
14371 * gdb.threads/sigthread.exp
14372 * gdb.threads/staticthreads.exp
14373 * gdb.threads/stepi-random-signal.exp
14374 * gdb.threads/thread-unwindonsignal.exp
14375 * gdb.threads/thread_check.exp
14376 * gdb.threads/thread_events.exp
14377 * gdb.threads/tid-reuse.exp
14378 * gdb.threads/tls-nodebug.exp
14379 * gdb.threads/tls-shared.exp
14380 * gdb.threads/tls-so_extern.exp
14381 * gdb.threads/tls.exp
14382 * gdb.threads/wp-replication.exp
14383 * gdb.trace/actions-changed.exp
14384 * gdb.trace/actions.exp
14385 * gdb.trace/backtrace.exp
14386 * gdb.trace/change-loc.exp
14387 * gdb.trace/collection.exp
14388 * gdb.trace/deltrace.exp
14389 * gdb.trace/disconnected-tracing.exp
14390 * gdb.trace/entry-values.exp
14391 * gdb.trace/ftrace-lock.exp
14392 * gdb.trace/ftrace.exp
14393 * gdb.trace/infotrace.exp
14394 * gdb.trace/mi-trace-frame-collected.exp
14395 * gdb.trace/mi-trace-unavailable.exp
14396 * gdb.trace/mi-traceframe-changed.exp
14397 * gdb.trace/mi-tracepoint-changed.exp
14398 * gdb.trace/mi-tsv-changed.exp
14399 * gdb.trace/no-attach-trace.exp
14400 * gdb.trace/packetlen.exp
14401 * gdb.trace/passc-dyn.exp
14402 * gdb.trace/passcount.exp
14403 * gdb.trace/pending.exp
14404 * gdb.trace/pr16508.exp
14405 * gdb.trace/qtro.exp
14406 * gdb.trace/range-stepping.exp
14407 * gdb.trace/read-memory.exp
14408 * gdb.trace/report.exp
14409 * gdb.trace/save-trace.exp
14410 * gdb.trace/signal.exp
14411 * gdb.trace/stap-trace.exp
14412 * gdb.trace/status-stop.exp
14413 * gdb.trace/strace.exp
14414 * gdb.trace/tfile.exp
14415 * gdb.trace/tfind.exp
14416 * gdb.trace/trace-break.exp
14417 * gdb.trace/trace-condition.exp
14418 * gdb.trace/trace-enable-disable.exp
14419 * gdb.trace/trace-mt.exp
14420 * gdb.trace/tracecmd.exp
14421 * gdb.trace/tracefile-pseudo-reg.exp
14422 * gdb.trace/tspeed.exp
14423 * gdb.trace/tstatus.exp
14424 * gdb.trace/tsv.exp
14425 * gdb.trace/unavailable.exp
14426 * gdb.trace/while-dyn.exp
14427 * gdb.trace/while-stepping.exp
14428 * lib/gdb-guile.exp
14429 * lib/gdb.exp
14430 * lib/mi-support.exp
14431 * lib/pascal.exp
14432 * lib/perftest.exp
14433 * lib/prelink-support.exp
14434 * lib/selftest-support.exp
14435
ad02e4fe
SM
144362016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14437
14438 * Makefile.in: Include disable-implicit-rules.mk.
14439
22347e55
AA
144402016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14441
14442 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14443 non-byte-aligned bit fields.
14444
da5b30da
AA
144452016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14446
14447 PR gdb/12616
14448 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14449 respects the DW_AT_data_bit_offset attribute.
14450
b593ecca
SM
144512016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14452
14453 * gdb.base/default.exp: Fix output of "set language".
14454
3b165252
SM
144552016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14456
14457 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14458 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14459 make.
14460 * configure.ac: Remove checks for the make program.
14461 * configure: Re-generate.
14462
1a2f3d7f
KB
144632016-11-16 Kevin Buettner <kevinb@redhat.com>
14464
14465 * gdb.python/py-recurse-unwind.c (main): Add loop.
14466 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14467 to read_register() and gdb.parse_and_eval(). Make each code
14468 call a separate case that can be individually tested.
14469 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14470 proc. Call cont_and_backtrace for each of the code paths that
14471 we want to test in the unwinder.
14472
b7f38fda
AA
144732016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14474
14475 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14476 the definition of struct S.
14477
1f8db343
CM
144782016-11-11 Catherine Moore <clm@codesourcery.com>
14479
14480 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14481
fad0c9fb
PA
144822016-11-09 Pedro Alves <palves@redhat.com>
14483
14484 * gdb.base/commands.exp (runto_or_return): New procedure.
14485 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14486 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14487 (progvar_simple_while_test, progvar_complex_if_while_test)
14488 (if_while_breakpoint_command_test)
14489 (infrun_breakpoint_command_test, breakpoint_command_test)
14490 (user_defined_command_test, watchpoint_command_test)
14491 (test_command_prompt_position, redefine_hook_test)
14492 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14493 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14494 multi_line_input and multi_line. Remove gdb_expect and
14495 gdb_stop_suppressing_tests uses.
14496 * lib/gdb.exp (valnum_re): New global.
14497 (multi_line_input): New procedure.
14498
8354c62c
SM
144992016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14500
14501 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14502 Remove.
14503 (test_setup): Define with proc_with_prefix.
14504 (test_cli_inferior): Likewise.
14505 (test_cli_thread): Likewise.
14506 (test_cli_frame): Likewise.
14507 (test_cli_select_frame): Likewise.
14508 (test_cli_up_down): Likewise.
14509 (test_mi_thread_select): Likewise.
14510 (test_mi_stack_select_frame): Likewise.
14511 (test_cli_in_mi_inferior): Likewise.
14512 (test_cli_in_mi_thread): Likewise.
14513 (test_cli_in_mi_frame): Likewise.
14514 (top level): Do not use with_test_prefix_procname.
14515
64f367a2
PA
145162016-11-09 Pedro Alves <palves@redhat.com>
14517
14518 * gdb.base/commands.exp (gdbvar_simple_if_test)
14519 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14520 (progvar_simple_if_test, progvar_simple_while_test)
14521 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14522 (infrun_breakpoint_command_test, breakpoint_command_test)
14523 (user_defined_command_test, watchpoint_command_test)
14524 (test_command_prompt_position, deprecated_command_test)
14525 (bp_deleted_in_command, temporary_breakpoint_commands)
14526 (stray_arg0_test, source_file_with_indented_comment)
14527 (recursive_source_test, if_commands_test)
14528 (error_clears_commands_left, redefine_hook_test)
14529 (redefine_backtrace_test): Use proc_with_prefix.
14530 * lib/gdb.exp (proc_with_prefix): New proc.
14531
0bb65f1e
AA
145322016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14533
14534 * gdb.base/tui-layout.c: New file.
14535 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14536 disassembly window contains very long lines.
14537
7353f247
TT
145382016-11-08 Tom Tromey <tom@tromey.com>
14539
14540 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14541 depend on Python 2.
14542
30a7bb83
TT
145432016-11-08 Tom Tromey <tom@tromey.com>
14544
14545 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14546 New method.
14547
cdf5a07c
MG
145482016-10-29 Manish Goregaokar <manish@mozilla.com>
14549
2806dc7e 14550 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14551
51a789c3
MG
145522016-10-27 Manish Goregaokar <manish@mozilla.com>
14553
2806dc7e
PA
14554 * gdb.rust/simple.rs: Add test for univariant enums without
14555 discriminants and for encoded struct-like enums.
51a789c3 14556
f610ab6d
PA
145572016-10-28 Pedro Alves <palves@redhat.com>
14558
14559 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14560 gdb_test_multiple, tighten regexps and match symtabs and line
14561 tables incrementally.
14562
b129b0ca
LM
145632016-10-28 Luis Machado <lgustavo@codesourcery.com>
14564
14565 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14566 general.
14567
ecf45d2c
SL
145682016-10-25 Luis Machado <lgustavo@codesourcery.com>
14569
14570 * gdb.base/exec-invalid-sysroot.exp: New file.
14571
b8d38ee4
JK
145722016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14573
14574 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14575
f90fd8c2
JK
145762016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14577
14578 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14579
2d2476aa
MR
145802016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14581
2806dc7e
PA
14582 * gdb.base/killed-outside.exp: Remove $options from a call to
14583 `prepare_for_testing'.
2d2476aa 14584
e42b25a0
SM
145852016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14586
14587 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14588 Change test message.
14589
3ccdb432
SM
145902016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14591
14592 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14593 Update comment.
14594
5bad3170
SM
145952016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14596
14597 * gdb.trace/mi-trace-save.exp: New file.
14598
5ad9dba7
YQ
145992016-10-13 Yao Qi <yao.qi@linaro.org>
14600
14601 * gdb.base/code_elim.exp (get_var_address): Remove.
14602 * gdb.base/relocate.exp: Likewise.
14603 * gdb.base/shreloc.exp: Likewise.
14604 * lib/gdb.exp (get_var_address): New.
14605
62df7e21
YQ
146062016-10-13 Yao Qi <yao.qi@linaro.org>
14607
14608 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14609 floating point tests if $skip_float_test is false.
14610
4dac951e
LM
146112016-10-12 Luis Machado <lgustavo@codesourcery.com>
14612
14613 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14614 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14615 argc values.
14616 Add 1 to argc so we guarantee distinct initial/modified argc values.
14617
8f1a8fc4
JK
146182016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14619
14620 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14621
16c85b5d
JK
146222016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14623
14624 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14625 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14626 * gdb.arch/vsx-regs.exp: Likewise.
14627
1d0e042a
YQ
146282016-10-07 Yao Qi <yao.qi@linaro.org>
14629
14630 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14631
68dadef5
MM
146322016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14633
14634 * gdb.python/python.exp: Test decode_line("*0").
14635
33fa2c6e
DE
146362016-10-06 Doug Evans <dje@google.com>
14637
14638 * gdb.python/py-value.exp (test_value_creation): Add test for large
14639 unsigned 64-bit value.
14640
9c37b5ae
TT
146412016-10-06 Tom Tromey <tom@tromey.com>
14642
14643 * gdb.compile/compile.exp: Change java tests to rust.
14644 * gdb.base/setshow.exp: Change java tests to rust.
14645 * gdb.base/default.exp: Remove java from language list.
14646 * README (Examples): Update language example.
14647 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14648 test.
14649 * lib/gdb.exp (skip_java_tests): Remove.
14650 * lib/java.exp: Remove.
14651 * gdb.java: Remove.
14652
78b86327
MR
146532016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14654
14655 * gdb.arch/mips-fcr.exp: New test.
14656 * gdb.arch/mips-fcr.c: Source for the new test.
14657
7470adbb
MR
146582016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14659
14660 * gdb.base/solib-disc.exp: Use `standard_output_file'
14661 throughout.
14662
4a556533
PA
146632016-10-06 Pedro Alves <palves@redhat.com>
14664
14665 * gdb.base/jit-simple-dl.c: New file.
14666 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14667 * gdb.base/jit-simple.c: ... this.
14668 * gdb.base/jit-simple.exp (jit_run): Delete.
14669 (build_jit): New proc.
14670 (jit_test_reread): Recompile either the main program or the shared
14671 library, depending on what is being tested. Skip changing address
14672 if caller wants to. Compare before/after addresses. If testing
14673 standalone, explicitly load the binary. Test "maint info
14674 breakpoints".
14675 (top level): Add "standalone vs shared lib" and "change address"
14676 vs "same address" axes.
14677
5a122fbc
PA
146782016-10-06 Pedro Alves <palves@redhat.com>
14679
14680 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14681 call.
14682 (jit_run): Delete.
14683 (jit_test_reread): Use with_test_prefix. Reload the main binary
14684 explicitly. Compare the before/after addresses of the JIT
14685 descriptor.
14686
ee8da4b8
DE
146872016-08-15 Doug Evans <dje@google.com>
14688
14689 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14690 for single bitfields is bool.
14691 * gdb.xml/tdesc-regs.exp: Ditto.
14692
f389f6fe
JK
146932016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14694
14695 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14696
fdebf1a4
YQ
146972016-10-05 Yao Qi <yao.qi@linaro.org>
14698
14699 * lib/gdb.exp (support_complex_tests): Return zero if
14700 gdb_skip_float_test return true.
14701
9c36d954 147022016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14703 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14704
14705 PR gdb/20487
14706 * gdb.mi/user-selected-context-sync.exp: New file.
14707 * gdb.mi/user-selected-context-sync.c: New file.
14708
4034d0ff 147092016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14710 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14711
14712 PR gdb/20487
14713 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14714 =thread-select-event check.
14715
a4297203
PB
147162016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14717
14718 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14719 the compulsory L operand changes.
14720 * gdb.arch/powerpc-power.s: Likewise.
14721
bb805577
JK
147222016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14723
14724 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14725 * gdb.base/jit-attach-pie.c: New file.
14726 * gdb.base/jit-attach-pie.exp: New file.
14727
6d61dee5
PA
147282016-09-28 Pedro Alves <palves@redhat.com>
14729
14730 * gdb.base/infcall-input.c: New file.
14731 * gdb.base/infcall-input.exp: New file.
14732
f73842fc
YQ
147332016-09-22 Yao Qi <yao.qi@linaro.org>
14734
14735 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14736 (gdb_exit): Rename it to ...
14737 (gdbserver_gdb_exit): ... Close GDBserver.
14738 (gdb_exit): New proc, call gdbserver_gdb_exit.
14739 (mi_gdb_exit): Likewise.
14740
90681dab
YQ
147412016-09-22 Yao Qi <yao.qi@linaro.org>
14742
14743 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14744 path.
14745 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14746 Remove duplication.
14747
9c211fd8
YQ
147482016-09-22 Yao Qi <yao.qi@linaro.org>
14749
14750 * lib/gdbserver-support.exp: Check the existence of
14751 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14752
ad0a504f
AK
147532016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14754
14755 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14756
36cf1806
TT
147572016-09-21 Tom Tromey <tom@tromey.com>
14758
14759 PR gdb/20604:
14760 * gdb.base/quit.exp: New file.
14761
74172ecf
SM
147622016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14763
14764 * .gitignore: New file.
14765
3d0ec882
MR
147662016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14767
14768 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14769 throughout.
14770
8193adea
AA
147712016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14772
14773 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14774
d41a5c09
JK
147752016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14776
14777 * gdb.cp/casts.cc (decltype): Move it ...
14778 (main): ... with its call to ...
14779 * gdb.cp/casts03.cc: ... a new file.
14780 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14781
d2dfe700
JK
147822016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14783
14784 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14785
e2a92b16
PB
147862016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14787
14788 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14789 and sync up the test with tests in gas/testsuite/gas/ppc.
14790 * gdb.arch/powerpc-power.exp: Likewise.
14791
49b4de64
JK
147922016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14793
14794 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14795
2c29df25
SDJ
147962016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14797 Jan Kratochvil <jan.kratochvil@redhat.com>
14798
14799 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14800 make m1's definition to be different from m2's. Use 'dummy' as an
14801 argument for probe 'two'.
14802
cc3c2846
JB
148032016-09-10 Jon Beniston <jon@beniston.com>
14804
14805 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14806 for sim target.
14807
e1b2624a
AA
148082016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14809
14810 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14811 variable declaration.
14812 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14813 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14814 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14815 received HWCAP as its argument.
14816
4295e285
PA
148172016-09-06 Pedro Alves <palves@redhat.com>
14818
14819 * gdb.base/new-ui-pending-input.c: New file.
14820 * gdb.base/new-ui-pending-input.exp: New file.
14821 * gdb.exp (clear_gdb_spawn_id): New procedure.
14822 (with_spawn_id): Check whether gdb_spawn_id exists before
14823 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14824 on exit.
14825
00d5215e
UW
148262016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14827
14828 * gdb.base/float128.c: New file.
14829 * gdb.base/float128.exp: Likewise.
14830 * gdb.base/floatn.c: Likewise.
14831 * gdb.base/floatn.exp: Likewise.
14832
a9ff5f12
UW
148332016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14834
14835 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14836
f245535c
PA
148372016-09-05 Pedro Alves <palves@redhat.com>
14838
14839 PR backtrace/19927
14840 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14841 unwinders are immediately called as side effect of "source" or
14842 "disable unwinder" commands.
14843 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14844
ae9cf263
YQ
148452016-09-02 Yao Qi <yao.qi@linaro.org>
14846
14847 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14848 is true and $type is "float" or "double".
14849
27aba047
YQ
148502016-09-02 Yao Qi <yao.qi@linaro.org>
14851
14852 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14853 true.
14854 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14855 * gdb.base/call-rt-st.exp: Likewise.
14856 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14857 return value instead of gdb,skip_float_test.
14858 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14859 (do_function_calls): Use its return value instead of
14860 gdb,skip_float_test.
14861 * gdb.base/finish.exp: Likewise.
14862 * gdb.base/funcargs.exp: Likewise.
14863 * gdb.base/return.exp: Likewise.
14864 * gdb.base/return2.exp: Likewise.
14865 * gdb.base/varargs.exp: Likewise.
14866 * lib/gdb.exp (gdb_skip_float_test): Change it to
14867 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14868
5af962df
AA
148692016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14870
14871 * gdb.multi/tids.exp: Test "thread apply all".
14872
7fac6910
JK
148732016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14874
14875 * gdb.base/default.exp (tty): Remove.
14876
bb1fe4ac
KB
148772016-08-24 Kevin Buettner <kevinb@redhat.com>
14878
2806dc7e
PA
14879 * gdb.python/py-recurse-unwind.c: New file.
14880 * gdb.python/py-recurse-unwind.py: New file.
14881 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14882
0a1ddfa6
SM
148832016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14884
14885 * gdb.base/set-inferior-tty.exp: New file.
14886 * gdb.base/set-inferior-tty.c: New file.
14887
d9de1fe3
PA
148882016-08-23 Pedro Alves <palves@redhat.com>
14889
14890 PR gdb/20494
14891 * gdb.base/new-ui-echo.c: New file.
14892 * gdb.base/new-ui-echo.exp: New file.
14893
e9d9abd7
YQ
148942016-08-23 Yao Qi <yao.qi@linaro.org>
14895
14896 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14897 gdbserver_spawn.
14898 * gdb.server/connect-without-multi-process.exp (do_test):
14899 Likewise.
14900
3589529e
YQ
149012016-08-23 Yao Qi <yao.qi@linaro.org>
14902
14903 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14904 standalone_txt. Delete gdb_txt and standalone_txt on host
14905 and target. Spawn the binary on target. Copy files from
14906 target to host.
14907
6bb90213
PA
149082016-08-22 Pedro Alves <palves@redhat.com>
14909
14910 PR gdb/20505
14911 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14912 with_test_prefix. Factor out bits to ...
14913 (test_no_vdso): ... this new procedure.
14914
20c2c024
CL
149152016-08-19 Carl Love <cel@us.ibm.com>
14916
14917 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14918 maintaining separate logic for constructing the output path.
14919 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14920 * gdb.arch/ppc-dfp.exp: Likewise.
14921 * gdb.arch/ppc-fp.exp: Likewise.
14922 * gdb.arch/vsx-regs.exp: Likewise.
14923 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14924 binprefix for generating the additional binary files.
14925
0646e07d
PA
149262016-08-19 Pedro Alves <palves@redhat.com>
14927
14928 * gdb.trace/mi-trace-frame-collected.exp
14929 (test_trace_frame_collected): On x32, expect two registers.
14930
46da9242
CL
149312016-08-18 Carl Love <cel@us.ibm.com>
14932
14933 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14934 and sync up the test with tests in gas/testsuite/gas/ppc.
14935 * gdb.arch/powerpc-power.exp: Likewise.
14936
eb2332d7
SM
149372016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14938
14939 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14940 expected error message.
14941
63c61e04
SM
149422016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14943
14944 * gdb.multi/remove-inferiors.exp: New file.
14945 * gdb.multi/remove-inferiors.c: New file.
14946
7b17065f
YQ
149472016-08-12 Yao Qi <yao.qi@linaro.org>
14948
14949 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14950 argument list.
14951
01d3dedf
PA
149522016-08-10 Pedro Alves <palves@redhat.com>
14953
14954 PR gdb/19187
14955 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14956 setup_kfails.
14957
3eb7562a
PA
149582016-08-09 Pedro Alves <palves@redhat.com>
14959 Simon Marchi <simon.marchi@ericsson.com>
14960
14961 PR gdb/20418
14962 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14963 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14964
80614914
PA
149652016-08-09 Pedro Alves <palves@redhat.com>
14966
14967 PR mi/20431
14968 * gdb.mi/mi-cmd-error.exp: New file.
14969
f348d89a
PA
149702016-08-09 Pedro Alves <palves@redhat.com>
14971
14972 PR gdb/18653
14973 * gdb.base/signals-state-child.c: New file.
14974 * gdb.base/signals-state-child.exp: New file.
14975 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14976
e5ca03b4
PA
149772016-08-09 Pedro Alves <palves@redhat.com>
14978
14979 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14980
282a0691
TT
149812016-08-03 Tom Tromey <tom@tromey.com>
14982
14983 PR python/18565:
14984 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14985
41bfcd63
YQ
149862016-08-01 Yao Qi <yao.qi@linaro.org>
14987
14988 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14989 variable mode to "multi-process" if $multi_process is 1, otherwise
14990 set it to "single-process".
14991
e3465b24
YQ
149922016-08-01 Yao Qi <yao.qi@linaro.org>
14993
14994 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14995 * gdb.cp/cpexprs.exp: Likewise.
14996 * gdb.cp/m-static.exp: Likewise.
14997
0b31a4bc
TT
149982016-07-26 Tom Tromey <tom@tromey.com>
14999
15000 PR python/20190:
15001 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15002 test.
15003
e0461dbb
MM
150042016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15005
15006 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15007 selecting assembly source files.
15008 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15009 assembly source files.
15010 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15011 assembly source files.
15012 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15013 selecting assembly source files.
15014
8194e927
SM
150152016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15016
15017 * gdb.base/new-ui.exp (do_test_invalid_args): New
15018 procedure.
15019
c0272db5
TW
150202016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15021
15022 * gdb.btrace/reconnect.c: New file.
15023 * gdb.btrace/reconnect.exp: New file.
15024
e3487908
GKB
150252016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15026
15027 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15028 to test_catch_syscall_group.
15029 (test_catch_syscall_group): New.
15030
12df5c00
TT
150312016-07-21 Tom Tromey <tom@tromey.com>
15032
15033 * gdb.rust/simple.rs (main): Use empty struct expression.
15034 * gdb.rust/simple.exp: Add tests for empty struct expression.
15035
bae62ee2
YQ
150362016-07-21 Yao Qi <yao.qi@linaro.org>
15037
15038 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15039 if gdb_skip_xml_test is true on some targets.
15040
b1b53fb3
YQ
150412016-07-21 Yao Qi <yao.qi@linaro.org>
15042
15043 * gdb.server/solib-list.exp: Unset last_loaded_file.
15044
027d97f8
JK
150452016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15046
15047 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15048 "step into captured_main (args)".
15049
7674d381
JK
150502016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15051
15052 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15053
72b5d099
JK
150542016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15055
15056 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15057
1f960ced
PA
150582016-07-19 Pedro Alves <palves@redhat.com>
15059
15060 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15061 * gdb.opt/inline-bt.exp: Likewise.
15062 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15063 additional_flags=-Winline.
15064 * gdb.opt/inline-locals.exp: Likewise.
15065 * gdb.opt/inline-markers.c (ATTR): Define.
15066 (inlined_fn): Use it.
15067
f25827c1
YQ
150682016-07-19 Yao Qi <yao.qi@linaro.org>
15069
15070 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15071 (test_with_self): Remove some code. Remove argument executable.
15072 (top-level): Use do_self_tests.
15073
37539ebe
DB
150742016-07-15 Zachary Welch <zwelch@codesourcery.com>
15075 Don Breazeal <donb@codesourcery.com>
15076
15077 * gdb.base/maint.exp: Escape paths used in regular expressions.
15078 * gdb.stabs/weird.exp: Likewise.
15079
dac790e1
TT
150802016-07-13 Tom Tromey <tom@tromey.com>
15081
15082 PR python/15620, PR python/18620:
15083 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15084 (test_bkpt_events): New procs.
15085
93daf339
TT
150862016-07-13 Tom Tromey <tom@tromey.com>
15087
15088 PR python/17698:
15089 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15090 test.
15091 (test_watchpoints): Likewise.
15092 (test_bkpt_pending): New proc.
15093
6571a381
TT
150942016-07-13 Tom Tromey <tom@tromey.com>
15095
15096 PR cli/18053:
15097 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15098 completion test.
15099
e8732474
JK
151002016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15101
15102 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15103 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15104 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15105 f_label.
15106 (g): Rename g_end_lbl to g_label.
15107 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15108 low_pc and high_pc.
15109 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15110
e0f3fd7c
TT
151112016-07-12 Tom Tromey <tom@tromey.com>
15112
15113 PR python/19293:
15114 * gdb.python/py-unwind-maint.exp: Update tests.
15115
3cfe46b6
YQ
151162016-07-12 Yao Qi <yao.qi@linaro.org>
15117
15118 * lib/selftest-support.exp (selftest_setup): Match the output
15119 when captured_main is inlined.
15120
4f19a0e6
WT
151212016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15122
15123 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15124 New variables.
15125 (print this%a, print this%b, print this): New tests.
15126 * gdb.fortran/derived-types.f90 (this): New object and
15127 initialization.
15128
986cf455
SM
151292016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15130
15131 * gdb.ada/arraydim.exp: Remove extra directory level in build
15132 directory.
15133
f0464b23
SM
151342016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15135
15136 * lib/ada.exp: Remove extra directory level in build directory.
15137 * gdb.ada/cond_lang.exp: Likewise.
15138 * gdb.ada/exec_changed.exp: Likewise.
15139 * gdb.ada/lang_switch.exp: Likewise.
15140
42d94011
MG
151412016-07-06 Manish Goregaokar <manish@mozilla.com>
15142
2806dc7e
PA
15143 * simple.rs: Add test for raw pointer subscripting.
15144 * simple.exp: Add test expectations.
42d94011 15145
647c264c
YQ
151462016-07-05 Yao Qi <yao.qi@linaro.org>
15147
15148 * gdb.mi/mi-reverse.exp: Match =record-started output.
15149
20aa2c60
PA
151502016-07-01 Pedro Alves <palves@redhat.com>
15151
15152 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15153 procedure.
15154 (jit_reader_test): Test the jit reader's unwinder.
15155 * gdb.base/jithost.c (jit_function_00_code): New global.
15156 (main): Use memcpy to fill in the mmapped code, instead of poking
15157 bytes manually here.
15158 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15159 value.
15160 (read_debug_info): Save the function's range.
15161 (read_sp): New function.
15162 (unwind_frame): Use it. Also unwind RBP.
15163 (get_frame_id): Use read_sp.
15164 (gdb_init_reader): Use calloc instead of malloc.
15165 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15166 parameter. Use gdb_test_multiple.
15167
ced2dffb
PA
151682016-07-01 Pedro Alves <palves@redhat.com>
15169 Antoine Tremblay <antoine.tremblay@ericsson.com>
15170
15171 * gdb.threads/process-dies-while-detaching.c: New file.
15172 * gdb.threads/process-dies-while-detaching.exp: New file.
15173
63000888
PA
151742016-07-01 Pedro Alves <palves@redhat.com>
15175
15176 * gdb.multi/watchpoint-multi-exit.c: New file.
15177 * gdb.multi/watchpoint-multi-exit.exp: New file.
15178
038d4868
PA
151792016-06-30 Pedro Alves <palves@redhat.com>
15180
15181 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15182 unset inferior_spawn_id.
15183
994e9c83
PA
151842016-06-30 Pedro Alves <palves@redhat.com>
15185
15186 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15187 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15188
e5653468
YQ
151892016-06-29 Yao Qi <yao.qi@linaro.org>
15190
15191 * gdb.base/return.c: Add copyright header.
15192
803b47e5
TT
151932016-06-29 Tom Tromey <tom@tromey.com>
15194
15195 PR python/20129:
15196 * gdb.python/py-framefilter.exp: Add tests for setting priority
15197 and disabling of non-existent frame filter.
15198
28244707
YQ
151992016-06-29 Yao Qi <yao.qi@linaro.org>
15200
15201 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15202 0x0f07ff.
15203
a31d2f06
YQ
152042016-06-28 Yao Qi <yao.qi@linaro.org>
15205
15206 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15207 triplets. Start gdb, execute catch syscall, and continue. Check
15208 gdb's output to determine catch syscall is supported.
15209
921d8f54
MG
152102016-06-27 Manish Goregaokar <manish@mozilla.com>
15211
25d49b86
PA
15212 * gdb.rust/simple.rs: Add test for returning unit in a function.
15213 * gdb.rust/simple.exp: Add expectation for functions returning
15214 unit.
921d8f54 15215
f4952523
PMR
152162016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15217
15218 * gdb.python/py-breakpoint-create-fail.c,
15219 gdb.python/py-breakpoint-create-fail.exp,
15220 gdb.python/py-breakpoint-create-fail.py: New testcase.
15221
fccb08f8
MG
152222016-06-25 Manish Goregaokar <manish@mozilla.com>
15223
15224 PR gdb/20239
15225 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15226 * gdb.rust/simple.exp: Add test expectations for new NonZero
15227 tests.
fccb08f8 15228
6b850546
DT
152292016-06-24 David Taylor <dtaylor@emc.com>
15230
15231 * gdb.base/offsets.exp: New file.
15232 * gdb.base/offsets.c: New file.
15233
17621150
TT
152342016-06-23 Tom Tromey <tom@tromey.com>
15235
15236 PR gdb/16483:
15237 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15238 before any filters are loaded.
15239
04d59df6
WT
152402016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15241
15242 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15243 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15244 structs.
15245 * gdb.fortran/derived-type-function.exp: New file.
15246 * gdb.fortran/derived-type-function.f90: New file.
15247
15248
ac69f786
PA
152492016-06-21 Pedro Alves <palves@redhat.com>
15250
15251 * gdb.base/new-ui.exp: New file.
15252 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15253 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15254 (with_spawn_id): New procedure.
15255
49940788
PA
152562016-06-21 Pedro Alves <palves@redhat.com>
15257
15258 * gdb.mi/mi-exec-run.exp: New file.
15259
ef274d26
PA
152602016-06-21 Pedro Alves <palves@redhat.com>
15261
15262 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15263 breakpoint command's output on the main UI.
15264 (test_break): New procedure, factored out from calls in the top
15265 level.
15266 (top level): Use foreach_with_prefix to test MI as main UI and as
15267 separate UI.
15268
468afe6c
PA
152692016-06-21 Pedro Alves <palves@redhat.com>
15270
15271 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15272 (test_awatch_creation_and_listing)
15273 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15274 Remove 'type' parameter.
15275 (test_watchpoint_all): New parameter mi_mode. Remove
15276 with_test_prefix.
15277 (top level): Use foreach_with_prefix, and add main/separate UI MI
15278 testing axis.
15279
51f77c37
PA
152802016-06-21 Pedro Alves <palves@redhat.com>
15281
15282 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15283 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15284 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15285 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15286 (gdb_main_spawn_id, mi_spawn_id): Declare and
15287 comment.
15288 (mi_create_inferior_pty): New procedure,
15289 factored out from default_mi_gdb_start.
15290 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15291 procedures.
15292 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15293 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15294 Use mi_create_inferior_pty.
15295 (mi_gdb_start): Use eval to pass down args list.
15296
8980e177
PA
152972016-06-21 Pedro Alves <palves@redhat.com>
15298
15299 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15300 * gdb.opt/inline-cmds.exp: Add MI tests.
15301
f38d3ad1
PA
153022016-06-21 Pedro Alves <palves@redhat.com>
15303
15304 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15305
45db7c09
PA
153062016-06-21 Pedro Alves <palves@redhat.com>
15307
15308 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15309 (top level): Use it instead of mi_execute_to.
15310
5a069ab3
PA
153112016-06-21 Pedro Alves <palves@redhat.com>
15312
15313 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15314 (cont_handler_str): New.
15315 (signal_stop_handler): Set stop_handler_str instead of printing to
15316 stdout.
15317 (continue_handler): Set cont_handler_str instead of printing to
15318 stdout.
15319 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15320 mi_send_resuming_command. Print stop_handler_str and
15321 cont_handler_str instead of expecting the python events print
15322 directly.
15323
2838cc1d
SD
153242016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15325
15326 * gdb.base/jit-reader.exp: New file.
15327 * gdb.base/jithost.c: New file.
15328 * gdb.base/jithost.h: New file.
15329 * gdb.base/jitreader.c : New file.
15330 * gdb.base/jit-protocol.h: New file.
15331
21a77091
YQ
153322016-06-17 Yao Qi <yao.qi@linaro.org>
15333
15334 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15335 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15336 and detach-on-fork. Adjust tests.
15337 (top level): Invoke break_cond_on_syscall with combinations of
15338 syscall, follow-fork-mode and detach-on-fork.
15339
f50bf8e5
YQ
153402016-06-17 Yao Qi <yao.qi@linaro.org>
15341
15342 * gdb.base/step-over-exit.c: New.
15343 * gdb.base/step-over-exit.exp: New.
15344
a28d8e50
YTL
153452016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15346
15347 * gdb.base/float.exp: Add target check for nds32*-*-*.
15348 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15349
cad8e26d
AB
153502016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15351
15352 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15353 for unsupported target features.
15354 * gdb.base/call-rt-st.exp: Likewise.
15355 * gdb.base/call-sc.exp: Likewise.
15356 * gdb.base/call-signal-resume.exp: Likewise.
15357 * gdb.base/call-strs.exp: Likewise.
15358 * gdb.base/callexit.exp: Likewise.
15359 * gdb.base/callfuncs.exp: Likewise.
15360 * gdb.base/nodebug.exp: Likewise.
15361 * gdb.base/printcmds.exp: Likewise.
15362 * gdb.base/ptype.exp: Likewise.
15363 * gdb.base/structs.exp: Likewise.
15364 * gdb.base/unwindonsignal.exp: Likewise.
15365 * gdb.cp/gdb2495.exp: Likewise.
15366 * gdb.cp/templates.exp: Likewise.
15367 * gdb.cp/virtfunc.exp: Likewise.
15368 * gdb.threads/hand-call-in-threads.exp: Likewise.
15369 * gdb.threads/interrupted-hand-call.exp: Likewise.
15370 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15371
347dc102
TT
153722016-06-10 Tom Tromey <tom@tromey.com>
15373
15374 PR rust/20110:
15375 * gdb.rust/expr.exp: Add test for integer constant larger than
15376 i32.
15377
5e13cf25
BH
153782016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15379
15380 * gdb.fortran/nested-funcs.exp: New.
15381 * gdb.fortran/nested-funcs.f90: New.
15382
bb556f1f
TK
153832016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15384
15385 * gdb.base/examine-backward.c: New file.
15386 * gdb.base/examine-backward.exp: New file.
15387
38b022b4
SM
153882016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15389
15390 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15391 matching.
15392
1b40ec05
TT
153932016-06-02 Tom Tromey <tom@tromey.com>
15394
15395 PR python/18984:
15396 * gdb.python/py-shared.exp: Add solib_name test.
15397
193bd378
SM
153982016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15399
15400 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15401
3326303b
MG
154022016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15403
15404 PR c++/19893
15405 * gdb.dwarf2/implref.exp: Rename to...
15406 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15407 * gdb.dwarf2/implref-array.c: New file.
15408 * gdb.dwarf2/implref-array.exp: Likewise.
15409 * gdb.dwarf2/implref-global.c: Likewise.
15410 * gdb.dwarf2/implref-global.exp: Likewise.
15411 * gdb.dwarf2/implref-struct.c: Likewise.
15412 * gdb.dwarf2/implref-struct.exp: Likewise.
15413
825c8ef2
AT
154142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15415
15416 * gdb.trace/trace-condition.exp: Add 64bit tests.
15417
2320162a
AT
154182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15419
15420 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15421 bits types.
15422 (main): Adapt to 8 to 64 bits types.
15423 * gdb.trace/trace-condition.exp: Add new tests.
15424
a7818233
AT
154252016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15426
15427 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15428
0d336466
AT
154292016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15430
15431 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15432 Move condition tests...
15433 * gdb.trace/trace-condition.exp: Here.
15434
7faeb45a
AT
154352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15436
15437 * gdb.trace/trace-condition.exp: Add counter-case tests.
15438
e385593e
JK
154392016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15440
15441 PR c++/15231
15442 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15443 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15444
744608cc
PA
154452016-05-27 Pedro Alves <palves@redhat.com>
15446
15447 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15448 New procedure.
15449 (top level): Call it, and bail out of DejaGnu is known to be bad.
15450
ac775bf4
AB
154512016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15452
15453 * gdb.base/whatis.c: Extend the test case.
15454 * gdb.base/whatis.exp: Add additional tests.
15455
2bbad2ea
BH
154562016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15457
15458* gdb.fortran/type.f90: Add pointer variable.
15459* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15460
8b70175d
BH
154612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15462
15463 * gdb.fortran/vla-type.exp: Fix testcase name.
15464
86d8a848
BH
154652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15466
15467 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15468
e188eb36
BH
154692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15470
15471 * gdb.fortran/type.f90: Add nested structures.
15472 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15473 * gdb.fortran/derived-type.exp: Adapt expected output.
15474 * gdb.fortran/vla-type.exp: Adapt expected output.
15475
9b2db1fd
BH
154762016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15477
15478 * gdb.fortran/whatis_type.exp: Adapt expected output.
15479
72b17055
BH
154802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15481
15482 * gdb.fortran/print_type.exp: Fix expected output.
15483 * gdb.fortran/whatis_type.exp: Fix expected output.
15484
3cd81d8d
BH
154852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15486
15487 * gdb.fortran/whatis_type.exp: Use multi_line.
15488
ddae9462
TT
154892016-05-24 Tom Tromey <tom@tromey.com>
15490
15491 PR python/17386:
15492 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15493 use value as an index.
15494
1957f6b8
TT
154952016-05-23 Tom Tromey <tom@tromey.com>
15496
15497 PR python/17981:
15498 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15499 no-breakpoint case.
15500
026a9174
PA
155012016-05-24 Pedro Alves <palves@redhat.com>
15502
15503 PR gdb/19828
15504 * gdb.threads/clone-attach-detach.c: New file.
15505 * gdb.threads/clone-attach-detach.exp: New file.
15506
e70a7231
FR
155072016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15508
15509 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15510
0f6ed0e0
TT
155112016-05-23 Tom Tromey <tom@tromey.com>
15512
15513 PR python/19438, PR python/18393:
15514 * gdb.python/py-progspace.exp: Add "dir" test.
15515 * gdb.python/py-objfile.exp: Add "dir" test.
15516
ffd19d61
YQ
155172016-05-23 Yao Qi <yao.qi@linaro.org>
15518
15519 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15520 * gdb.arch/thumb2-it.exp: Likewise.
15521
9e8f9b05
SM
155222016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15523
15524 * gdb.mi/mi-threads-interrupt.c: New file.
15525 * gdb.mi/mi-threads-interrupt.exp: New file.
15526
61c6156d
SM
155272016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15528
15529 PR gdb/18077
15530 * gdb.mi/mi-async-run.exp: New file.
15531 * gdb.mi/mi-async-run.c: New file.
15532
67218854
TT
155332016-05-17 Tom Tromey <tom@tromey.com>
15534 Manish Goregaokar <manishsmail@gmail.com>
15535
15536 * lib/rust-support.exp: New file.
15537 * lib/gdb.exp (skip_rust_tests): New proc.
15538 (build_executable_from_specs): Handle rust.
15539 * lib/future.exp (gdb_find_rustc): New proc.
15540 (gdb_default_target_compile): Handle rust.
15541 * gdb.rust/expr.exp: New file.
15542 * gdb.rust/generics.exp: New file.
15543 * gdb.rust/generics.rs: New file.
15544 * gdb.rust/methods.exp: New file.
15545 * gdb.rust/methods.rs: New file.
15546 * gdb.rust/modules.exp: New file.
15547 * gdb.rust/modules.rs: New file.
15548 * gdb.rust/simple.exp: New file.
15549 * gdb.rust/simple.rs: New file.
15550
c44af4eb
TT
155512016-05-17 Tom Tromey <tom@tromey.com>
15552
15553 * gdb.base/default.exp (set language): Add rust.
15554
dcd1f979
TT
155552016-05-17 Tom Tromey <tom@tromey.com>
15556
15557 * gdb.gdb/unittest.exp: New file.
15558
155b7f57
YQ
155592016-05-16 Yao Qi <yao.qi@linaro.org>
15560
15561 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15562 shell_prompt. Update shell_prompt_re.
15563
8ddd5a6c
DE
155642016-05-12 Doug Evans <dje@google.com>
15565
15566 PR symtab/19999
15567 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15568 $options when building executable.
15569 * gdb.dwarf2/fission-loclists-pie.S: New file.
15570 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15571
02e370d9
SM
155722016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15573
15574 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15575 of [is_remote target],
15576
8929ad8b
SM
155772016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15578
15579 * lib/gdb.exp (use_gdb_stub): New procedure.
15580
6c447423
DE
155812016-05-03 Yunlian Jiang <yunlian@google.com>
15582 Doug Evans <dje@google.com>
15583
15584 PR symtab/19914
15585 * gdb.dwarf2/dwp-sepdebug.c: New file.
15586 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15587
444e826c
SM
155882016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15589
15590 * gdb.base/detach.exp: Remove is_remote check.
15591
740feeaa
SM
155922016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15593
15594 * gdb.base/annota-input-while-running.exp: Don't check for
15595 [is_remote target]. Enable annotations after running to main.
15596 Remove unused "set test..." line.
15597
9080ac9d
SM
155982016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15599
15600 * gdb.trace/trace-enable-disable.exp: New file.
15601 * gdb.trace/trace-enable-disable.c: New file.
15602
952ebca5
SM
156032016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15604
15605 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15606 use it in info sharedlibrary test.
15607 * gdb.trace/ftrace-lock.exp: Likewise.
15608 * gdb.trace/ftrace.exp: Likewise.
15609 * gdb.trace/range-stepping.exp: Likewise.
15610 * gdb.trace/trace-break.exp: Likewise.
15611 * gdb.trace/trace-condition.exp: Likewise.
15612 * gdb.trace/trace-mt.exp: Likewise.
15613
d9019901
SM
156142016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15615
15616 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15617 (gdb_load_shlib): ... this.
15618 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15619 gdb_load_shlib.
15620 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15621 * gdb.base/ctxobj.exp: Likewise.
15622 * gdb.base/dprintf-pending.exp: Likewise.
15623 * gdb.base/dso2dso.exp: Likewise.
15624 * gdb.base/fixsection.exp: Likewise.
15625 * gdb.base/gcore-relro.exp: Likewise.
15626 * gdb.base/gdb1555.exp: Likewise.
15627 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15628 * gdb.base/gnu-ifunc.exp: Likewise.
15629 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15630 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15631 * gdb.base/pending.exp: Likewise.
15632 * gdb.base/print-file-var.exp: Likewise.
15633 * gdb.base/print-symbol-loading.exp: Likewise.
15634 * gdb.base/shlib-call.exp: Likewise.
15635 * gdb.base/shreloc.exp: Likewise.
15636 * gdb.base/so-impl-ld.exp: Likewise.
15637 * gdb.base/solib-disc.exp: Likewise.
15638 * gdb.base/solib-nodir.exp: Likewise.
15639 * gdb.base/solib-overlap.exp: Likewise.
15640 * gdb.base/solib-symbol.exp: Likewise.
15641 * gdb.base/solib-weak.exp (do_test): Likewise.
15642 * gdb.base/sym-file.exp: Likewise.
15643 * gdb.base/symtab-search-order.exp: Likewise.
15644 * gdb.base/type-opaque.exp: Likewise.
15645 * gdb.base/unload.exp: Likewise.
15646 * gdb.base/watchpoint-solib.exp: Likewise.
15647 * gdb.compile/compile.exp: Likewise.
15648 * gdb.cp/gdb2384.exp: Likewise.
15649 * gdb.cp/infcall-dlopen.exp: Likewise.
15650 * gdb.cp/re-set-overloaded.exp: Likewise.
15651 * gdb.fortran/library-module.exp: Likewise.
15652 * gdb.opt/solib-intra-step.exp: Likewise.
15653 * gdb.python/py-finish-breakpoint.exp: Likewise.
15654 * gdb.python/py-shared.exp: Likewise.
15655 * gdb.reverse/solib-precsave.exp: Likewise.
15656 * gdb.reverse/solib-reverse.exp: Likewise.
15657 * gdb.server/solib-list.exp: Likewise.
15658 * gdb.threads/dlopen-libpthread.exp: Likewise.
15659 * gdb.threads/tls-shared.exp: Likewise.
15660 * gdb.threads/tls-so_extern.exp: Likewise.
15661 * gdb.trace/change-loc.exp: Likewise.
15662 * gdb.trace/ftrace-lock.exp: Likewise.
15663 * gdb.trace/ftrace.exp: Likewise.
15664 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15665 * gdb.trace/pending.exp: Likewise.
15666 * gdb.trace/range-stepping.exp: Likewise.
15667 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15668 (strace_info_marker): Likewise.
15669 (strace_probe_marker): Likewise.
15670 (strace_trace_on_same_addr): Likewise.
15671 (strace_trace_on_diff_addr): Likewise.
15672 * gdb.trace/trace-break.exp: Likewise.
15673 * gdb.trace/trace-condition.exp: Likewise.
15674 * gdb.trace/trace-mt.exp: Likewise.
15675
fca4cfd9
SM
156762016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15677
15678 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15679 result of gdb_remote_download.
15680 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15681 * gdb.base/dso2dso.exp: Likewise.
15682 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15683 * gdb.base/print-file-var.exp: Likewise.
15684 * gdb.base/shlib-call.exp: Likewise.
15685 * gdb.base/shreloc.exp: Likewise.
15686 * gdb.base/solib-overlap.exp: Likewise.
15687 * gdb.base/solib-weak.exp (do_test): Likewise.
15688 * gdb.base/unload.exp: Likewise.
15689
11cf4ffb
YQ
156902016-04-27 Yao Qi <yao.qi@linaro.org>
15691
15692 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15693 exists.
15694
3e2e34f8
KB
156952016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15696
15697 * vla-type.exp: Print structure from toplevel.
15698
8f07e298
BH
156992016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15700
15701 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15702 of dynamic types.
15703 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15704 of dynamic types.
15705
9920b434
BH
157062016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15707
15708 * gdb.fortran/vla-type.f90: New file.
15709 * gdb.fortran/vla-type.exp: New file.
15710
f3abeff5
YQ
157112016-04-25 Yao Qi <yao.qi@linaro.org>
15712
15713 * gdb.base/branch-to-self.c: New file.
15714 * gdb.base/branch-to-self.exp: New file.
15715
0a5d52f0
YQ
157162016-04-22 Yao Qi <yao.qi@linaro.org>
15717
15718 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15719 more after $hex.
15720
495346f6
YQ
157212016-04-22 Yao Qi <yao.qi@linaro.org>
15722
15723 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15724 * gdb.base/annota3.exp: Likewise.
15725
4a7e075c
YQ
157262016-04-22 Yao Qi <yao.qi@linaro.org>
15727
15728 * gdb.reverse/step-precsave.exp: Do one step and test program
15729 stops in "callee" and do multiple steps until program goes out
15730 of "callee".
15731 * gdb.reverse/step-reverse.exp: Likewise.
15732
5b061e98
YQ
157332016-04-22 Yao Qi <yao.qi@linaro.org>
15734
15735 * gdb.trace/signal.exp: Also pass if
15736 $tracepoint_hits($i) > $iterations.
15737
5c5dc57f
YQ
157382016-04-22 Yao Qi <yao.qi@linaro.org>
15739
15740 * gdb.trace/signal.c: New file.
15741 * gdb.trace/signal.exp: New file.
15742
a55411b9
DE
157432016-04-19 Doug Evans <xdje42@gmail.com>
15744
15745 * gdb.base/bad-file.exp: New file.
15746
a22df60a
MG
157472016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15748
15749 * gdb.dwarf2/implref.exp: New file.
15750
0c13f7e5
BH
157512016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15752
15753 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15754 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15755 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15756 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15757 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15758 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15759 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15760 * lib/fortran.exp (fortran_int4): New procedure.
15761 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15762 (fortran_logical4): Likewise.
15763
9b9b09e9
BH
157642016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15765
15766 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15767
a14d1f4d
BH
157682016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15769
15770 * lib/compiler.c: Add Intel specific preprocessor macros.
15771 * lib/compiler.cc: Likewise.
25d49b86 15772
7d49b1d0
LM
157732016-04-13 Luis Machado <lgustavo@codesourcery.com>
15774
15775 * gdb.server/connect-with-no-symbol-file.c: New file.
15776 * gdb.server/connect-with-no-symbol-file.exp: New file.
15777
8392fa22
SM
157782016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15779
15780 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15781
8c4c4aeb
SM
157822016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15783
15784 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15785 standard output directory.
15786
45e3745e
AT
157872016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15788
15789 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15790
e26b7e41
MM
157912016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15792
15793 * gdb.btrace/instruction_history.c (loop): Add declaration.
15794
8ce09462
AT
157952016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15796
15797 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15798
2e88a1ea
SM
157992016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15800
15801 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15802 parentheses to print.
15803 (continue_handler): Likewise.
15804
f48e22e3
SM
158052016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15806
15807 * gdb.server/solib-list.exp: Remove is_remote check.
15808 Pass shlib= to gdb_compile. Don't link shared library with
15809 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15810 Run binary filename through "readlink -f" on the target.
15811
096be756
PA
158122016-04-08 Pedro Alves <palves@redhat.com>
15813
15814 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15815 interpreter filename as argument to gdbserver_spawn.
15816 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15817 Return empty if $last_loaded_file does not exist.
15818
06500533
JK
158192016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15820
15821 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15822 * gdb.base/jit-main.c: Use exit after usage.
15823
2d35e871
JK
158242016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15825
15826 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15827 GDBHISTSIZE prior to the tests.
15828 * gdb.base/gdbinit-history.exp: Likewise.
15829
158302016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15831
15832 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15833 instead of build_executable. Use gdb_load_shlibs.
15834
c8064e7e
YQ
158352016-04-07 Yao Qi <yao.qi@linaro.org>
15836
15837 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15838 Execute "si" command.
15839
bde47561
YQ
158402016-04-07 Yao Qi <yao.qi@linaro.org>
15841
15842 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15843 number instead of the comments on some line.
15844
b16f8a3b
DB
158452016-04-06 Don Breazeal <donb@codesourcery.com>
15846
15847 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15848 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15849
c2f901df
SM
158502016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15851
15852 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15853 standard_output_file. Remove unused binfile variable.
15854
ac17fda0
CU
158552016-04-05 Catalin Udma <catalin.udma@freescale.com>
15856
15857 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15858 * gdb.python/py-mi-objfile.exp: Match "list main" output
15859 in console format.
15860
03a8c4df
SM
158612016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15862
15863 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15864 absolute.
15865
6e774b13
SM
158662016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15867
15868 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15869 absolute.
15870 * gdb.trace/ftrace.exp: Likewise.
15871 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15872 targets as well.
15873 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15874 (gdb_load_shlibs): Copy libraries to test directory when testing
15875 natively. Only set solib-search-path if testing remotely.
15876 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15877
7817ea46
SM
158782016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15879
15880 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15881 gdb_download. Use it even if the target is not remote.
15882 * gdb.base/jit.exp (compile_jit_test): Likewise.
15883 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15884 output directory if the destination board is local, otherwise use
15885 the standard remote_download from DejaGnu.
15886 (gdb_download): Remove.
15887 (gdb_load_shlibs): Use gdb_remote_download instead of
15888 gdb_download.
15889 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15890 Use gdb_remote_download instead of gdb_download. Use it even if
15891 the target is not remote.
15892 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15893 instead of gdb_download.
15894
7beb7f68
SM
158952016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15896
15897 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15898 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15899 run.
15900
cc63428a
AV
159012016-04-01 Artemiy Volkov <artemiyv@acm.org>
15902
15903 PR gdb/19820
15904 * gdb.base/printcmds.exp: Add artificial arrays tests.
15905
64cdf930
PA
159062016-03-31 Pedro Alves <palves@redhat.com>
15907
15908 PR gdb/19858
15909 * gdb.base/jit-main.c: Include unistd.h.
15910 (ATTACH): Define to 0 if not already defined.
15911 (wait_for_gdb, mypid): New globals.
15912 (WAIT_FOR_GDB): New macro.
15913 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15914 some breakpoint locations.
15915 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15916 New procedures.
15917 (one_jit_test): Add REATTACH parameter, and handle it. Use
15918 continue_to_test_location.
15919 (top level): Test attach, and adjusts calls to one_jit_test.
15920
40dea8cb
PA
159212016-03-31 Pedro Alves <palves@redhat.com>
15922
15923 PR gdb/19858
15924 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15925 BINSUFFIX parameter, and handle it.
15926 (top level): Adjust calls compile_jit_test.
15927
e7ea3ec7
CU
159282016-03-31 Catalin Udma <catalin.udma@freescale.com>
15929
15930 PR python/19743
15931 * gdb.python/py-mi-events-gdb.py: New file.
15932 * gdb.python/py-mi-events.c: New file.
15933 * gdb.python/py-mi-events.exp: New file.
15934
e6359af3
YQ
159352016-03-30 Yao Qi <yao.qi@linaro.org>
15936
15937 * gdb.reverse/until-precsave.exp: Match function name only.
15938 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15939 Move malloc to a condition block.
15940 * gdb.reverse/until-reverse.exp: Match function name only.
15941
a4105d04
MK
159422016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15943
15944 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15945 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15946 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15947 variable for GPR 0 instead of assuming it is register 0.
15948 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15949 * lib/trace-support.exp: Add s390 registers.
15950
bfa6adb9
YQ
159512016-03-29 Yao Qi <yao.qi@linaro.org>
15952
15953 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15954
1e6697ea
YQ
159552016-03-24 Yao Qi <yao.qi@linaro.org>
15956
15957 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15958 test message.
15959
64bcd522
AA
159602016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15961
15962 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15963 maintaining separate logic for constructing the output path.
15964
7868401b
DB
159652016-03-16 Don Breazeal <donb@codesourcery.com>
15966
15967 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15968 Retry fork and waitpid on interrupted system call errors.
15969 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15970 Use with_timeout_factor to increase timeout by factor of 10.
15971
1cafadb4
DB
159722016-03-15 Don Breazeal <donb@codesourcery.com>
15973
15974 * gdb.cp/scope-err.cc: New test program.
15975 * gdb.cp/scope-err.exp: New test script.
15976 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15977 lines and "set breakpoint here" comment.
15978 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15979 Fixed some whitespace and format issues.
15980 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15981 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15982
81516450
DE
159832016-03-15 Doug Evans <dje@google.com>
15984
15985 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15986 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15987 All callers updated. Add tests for enums, mixed flags register.
15988
aa52b601
DE
159892016-03-15 Doug Evans <dje@google.com>
15990
15991 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15992 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15993
fa4ff313
SM
159942016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15995
15996 * gdb.base/default.exp: Add $_as_string to the list of expected
15997 convenience functions.
15998
f2403c39
AB
159992016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16000
16001 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16002
f2f3ccb9
SM
160032016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16004
16005 * gdb.python/py-as-string.exp: New file.
16006 * gdb.python/py-as-string.c: New file.
16007
00dbd492
PA
160082016-03-09 Pedro Alves <palves@redhat.com>
16009
16010 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16011 signal" -> "Thread NN received signal" output change.
16012 * gdb.threads/ia64-sigill.exp: Likewise.
16013 * gdb.threads/linux-dp.exp: Likewise.
16014 * gdb.threads/manythreads.exp: Likewise.
16015 * gdb.threads/pending-step.exp: Likewise.
16016 * gdb.threads/print-threads.exp: Likewise.
16017 * gdb.threads/sigstep-threads.exp: Likewise.
16018 * gdb.threads/staticthreads.exp: Likewise.
16019 * gdb.threads/tls.exp: Likewise.
16020
1e6697ea
YQ
160212016-03-09 Pedro Alves <palves@redhat.com>
16022
16023 * gdb.base/command-line-input.exp: New file.
16024
b04fd3be
MK
160252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16026
16027 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16028 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16029 * gdb.trace/pending.exp: Accept leading dot before function name.
16030 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16031 * lib/trace-support.exp: Set registers for ppc.
16032
98fa59e9
MK
160332016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16034
16035 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16036 use it for disassembly; accept .main in addition to main in backtrace.
16037
f77198c8
MK
160382016-03-09 Wei-cheng Wang <cole945@gmail.com>
16039 Marcin Kościelnicki <koriakin@0x04.net>
16040
16041 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16042 (gdb_recursion_test_ptr): New global variable.
16043 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16044 gdb_recursion_test.
16045 (gdb_c_test): Ditto.
16046
ba84e0da
MK
160472016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16048
16049 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16050 ordering.
16051
4366d36e
MK
160522016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16053
16054 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16055 (bar): Add bar_start_lbl label.
16056 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16057 of foo/bar for emitting DWARF and tracing.
16058
5eb264df
SDJ
160592016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16060
16061 * analyze-racy-logs.py: Set executable bit.
16062
fb6a751f
SDJ
160632016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16064
16065 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16066 (CHECK_TARGET_TMP): Likewise.
16067 (check-single-racy): New rule.
16068 (check-parallel-racy): Likewise.
16069 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16070 (do-check-parallel-racy): New rule.
16071 (check-racy/%.exp): Likewise.
16072 * README (Racy testcases): New section.
16073 * analyze-racy-logs.py: New file.
16074
bdf7e230
DE
160752016-03-03 Doug Evans <dje@google.com>
16076
16077 * gdb.base/skip.exp: Use with_test_prefix.
16078
4719d415
YQ
160792016-03-03 Yao Qi <yao.qi@linaro.org>
16080
16081 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16082 Invoke step_over_syscall "clone" and break_cond_on_syscall
16083 "clone".
16084 * gdb.base/step-over-clone.c: New file.
16085
ea507862
YQ
160862016-03-03 Yao Qi <yao.qi@linaro.org>
16087
16088 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16089 code format.
16090
8fc8cbda
YQ
160912016-03-03 Yao Qi <yao.qi@linaro.org>
16092
16093 * gdb.base/disp-step-fork.c: Rename to ...
16094 * gdb.base/step-over-fork.c: ... it. New file.
16095 * gdb.base/disp-step-vfork.c: Rename to ...
16096 * gdb.base/step-over-vfork.c: ... it. New file.
16097 * gdb.base/disp-step-syscall.exp: Rename to ...
16098 * gdb.base/step-over-syscall.exp: ... it. New file.
16099 (disp_step_cross_syscall): Rename to ...
16100 (step_over_syscall): ... it.
16101
92fa70b0
YQ
161022016-03-03 Yao Qi <yao.qi@linaro.org>
16103
16104 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16105 If target supports condition evaluation on target, invoke
16106 break_cond_on_syscall for fork and vfork.
16107
e197ad3c
YQ
161082016-03-03 Yao Qi <yao.qi@linaro.org>
16109
16110 * gdb.base/disp-step-syscall.exp: Don't invoke
16111 support_displaced_stepping.
16112 (disp_step_cross_syscall): Test with displaced stepping off and
16113 on if supported.
16114
0b47da9f
YQ
161152016-03-03 Yao Qi <yao.qi@linaro.org>
16116
16117 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16118 proc.
16119 (setup): New proc.
16120 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16121 and setup.
16122
065ab6dc
BH
161232016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16124
16125 * gdb.fortran/vla-history.exp: Remove breakpoint.
16126
07e448ad 161272016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16128
25d49b86
PA
16129 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16130 exceeds timeout.
07e448ad 16131
9ac2d526 161322016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16133
25d49b86
PA
16134 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16135 breakpoint.
9ac2d526 16136
17807369
BH
161372016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16138
16139 * gdb.mi/vla.f90: Nullify pointer after declaration.
16140
86e501af
PA
161412016-03-01 Pedro Alves <palves@redhat.com>
16142
16143 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16144
1e903e32
PA
161452016-03-01 Pedro Alves <palves@redhat.com>
16146
16147 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16148 before anything else.
16149 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16150 _GNU_SOURCE here.
16151 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16152 before anything else.
16153 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16154
6ccb54e2
PA
161552016-03-01 Pedro Alves <palves@redhat.com>
16156
16157 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16158
30ca9da1
YQ
161592016-03-01 Yao Qi <yao.qi@linaro.org>
16160
16161 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16162 prepare_for_testing.
16163
dc856b38
YQ
161642016-03-01 Yao Qi <yao.qi@linaro.org>
16165
16166 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16167
4a932159
AA
161682016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16169
16170 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16171 manually constructing the output path.
16172
f2489477
AA
161732016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16174
16175 * gdb.arch/s390-stackless.S: New.
16176 * gdb.arch/s390-stackless.exp: New.
16177
38899f16
IB
161782016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16179
16180 * gdb.dlang/circular.c: New file.
16181 * gdb.dlang/circular.exp: New file.
16182
9fde51ed
YQ
161832016-02-26 Yao Qi <yao.qi@linaro.org>
16184
16185 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16186 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16187 (testcases): Update.
16188
ce90fefe
YQ
161892016-02-26 Yao Qi <yao.qi@linaro.org>
16190
16191 * gdb.reverse/aarch64.c: Rename to ...
16192 * gdb.reverse/insn-reverse.c: ... it.
16193 * gdb.reverse/aarch64.exp: Rename to ...
16194 * gdb.reverse/insn-reverse.exp: ... it.
16195
3263bceb
YQ
161962016-02-26 Yao Qi <yao.qi@linaro.org>
16197
16198 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16199 (testcase_ftype): New.
16200 (testcases): New array.
16201 (n_testcases): New.
16202 (main): Call each element in testcases.
16203 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16204 (read_testcase): New.
16205 Do the tests in a loop.
16206
6cb59ff1
YQ
162072016-02-25 Yao Qi <yao.qi@linaro.org>
16208
16209 * gdb.base/branches.c: Remove.
16210
ae91f625
MK
162112016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16212
16213 PR gdb/13808
16214 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16215
678b48b7
MK
162162016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16217
16218 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16219
7337a6f2
MK
162202016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16221
16222 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16223 change x86_64 call_insn to 'callq'.
16224
861ca91f
AT
162252016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16226
16227 * gdb.trace/tfile-avx.c: Move to...
16228 * gdb.trace/tracefile-pseudo-reg.c: Here.
16229 * gdb.trace/tfile-avx.exp: Move to...
16230 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16231
bf74e428
GB
162322016-02-24 Gary Benson <gbenson@redhat.com>
16233
16234 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16235 message on attach.
16236
cce0e923
DE
162372016-02-23 Doug Evans <dje@google.com>
16238
16239 * gdb.base/skip.c (test_skip): New function.
16240 (end_test_skip_file_and_function): New function.
16241 (test_skip_file_and_function): New function.
16242 * gdb.base/skip1.c (test_skip): New function.
16243 (skip1_test_skip_file_and_function): New function.
16244 * gdb.base/skip.exp: Add tests for new skip options.
16245 * gdb.base/skip-solib.exp: Update expected output.
16246 * gdb.perf/skip-command.cc: New file.
16247 * gdb.perf/skip-command.exp: New file.
16248 * gdb.perf/skip-command.py: New file.
16249
4000e47e
MK
162502016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16251
16252 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16253 info registers pattern.
16254
24f75ead
IB
162552016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16256
16257 * lib/future.exp: Add D support.
16258 (gdb_find_gdc): New proc.
16259 (gdb_default_target_compile): Add D support.
16260
fbb7bcbe
WW
162612016-02-18 Wei-cheng Wang <cole945@gmail.com>
16262
16263 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16264 user+system time.
16265 (trace_speed_test): Determine the iteration count for a time
16266 between 15..30 seconds.
16267
012b3a21
WT
162682016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16269
16270 * gdb.arch/i386-mpx-sigsegv.c: New file.
16271 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16272 * gdb.arch/i386-mpx-simple_segv.c: New file.
16273 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16274
2d5189bd
YQ
162752016-02-18 Yao Qi <yao.qi@linaro.org>
16276
16277 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16278 Don't call setup_kfail.
16279
40fb20d0
YQ
162802016-02-18 Yao Qi <yao.qi@linaro.org>
16281
16282 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16283 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16284
21b1f8d2
DE
162852016-02-16 Doug Evans <dje@google.com>
16286
16287 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16288 * gdb.base/skip1.c: Ditto.
16289 * gdb.base/skip.exp: Whitespace cleanup.
16290
4041ed77
DB
162912016-02-16 Don Breazeal <donb@codesourcery.com>
16292
16293 PR remote/19496
16294 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16295 Remove kfail for PR remote/19496.
16296
c4ef31bf
SM
162972016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16298
16299 * lib/gdb.exp (standard_temp_file): Return a path specific to
16300 the runtest invocation.
16301
266b65b3
SM
163022016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16303
16304 * gdb.trace/save-trace.exp: Change relative path to be in the
16305 standard output directory.
16306
a7a0a6a9
JK
163072016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16308
16309 * gdb.arch/i386-prologue.c: Add missing prototypes.
16310
c99dbb42
JK
163112016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16312
16313 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16314 * gdb.arch/i386-prologue.exp: Likewise.
16315 * gdb.arch/i386-size.exp: Likewise.
16316
aa480355
SM
163172016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16318
16319 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16320 define object file path.
16321 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16322 file path.
16323 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16324 standard_output_file to define binfile.
16325
ba881f50
JK
163262016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16327
16328 Fix compatibility with recent gfortran-5.3.1.
16329 * gdb.fortran/vla-history.exp (print vla1 allocated)
16330 (print vla2 allocated, print $2, print $3): Remove
16331 (print $4): Rename to ...
16332 (print $2): ... here.
16333 (print $9): Rename to ...
16334 (print $5): ... here.
16335 (print $10): Rename to ...
16336 (print $6): ... here.
16337 * gdb.fortran/vla.f90: Add pvla initialization.
16338
e9fb005c
JK
163392016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16340
16341 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16342 New test.
16343 * gdb.fortran/vla-value-sub.exp: Likewise.
16344
e44e00ff
MK
163452016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16346
16347 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16348
97e94151
SM
163492016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16350
16351 * i386-biarch-core.exp: Define corefile using
16352 standard_output_file.
16353
01113bc1
YQ
163542016-02-12 Yao Qi <yao.qi@linaro.org>
16355
16356 * gdb.arch/arm-single-step-kernel-helper.c: New.
16357 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16358
33b4777c
MM
163592016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16360
16361 * gdb.btrace/tailcall-only.exp: New.
16362 * gdb.btrace/tailcall-only.c: New.
16363 * gdb.btrace/x86_64-tailcall-only.S: New.
16364 * gdb.btrace/i686-tailcall-only.S: New.
16365
acc23c11
PA
163662016-02-11 Pedro Alves <palves@redhat.com>
16367
16368 * README (Parallel testing): Add missing double quotes.
16369
e352bf0a
PA
163702016-02-11 Pedro Alves <palves@redhat.com>
16371
16372 * README (Parallel testing): New section.
16373 (GDB_PARALLEL): Rewrite.
16374 (FORCE_PARALLEL): Document.
16375
9f5fed78
MK
163762016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16377
16378 * gdb.trace/tfile-avx.c: New test.
16379 * gdb.trace/tfile-avx.exp: New test.
16380
9ef9e6a6
KS
163812016-02-09 Keith Seitz <keiths@redhat.com>
16382
16383 PR breakpoints/19546
16384 * gdb.base/infcall-exec.c: New file.
16385 * gdb.base/infcall-exec2.c: New file.
16386 * gdb.base/infcall-exec.exp: New file.
16387
a96e36da
KS
163882016-02-09 Keith Seitz <keiths@redhat.com>
16389
16390 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16391 (toplevel): Call test_bkpt_address.
16392
9f61929f
KS
163932016-02-09 Keith Seitz <keiths@redhat.com>
16394
16395 PR python/19506
16396 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16397 (toplevel): Call test_bkpt_address.
16398
1e94266c
SM
163992016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16400
16401 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16402 to AC_OUTPUT.
16403 * configure: Regenerate.
16404
2a7f3dff
PA
164052016-02-09 Pedro Alves <palves@redhat.com>
16406
16407 PR breakpoints/19548
16408 * gdb.base/execl-update-breakpoints.c (some_function): New
16409 function.
16410 (main): Call it.
16411 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16412 Tighten expected GDB output.
16413
2151ccc5
SM
164142016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16415
16416 * Makefile.in (ALL_SUBDIRS): Remove.
16417 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16418 (distclean maintainer-clean realclean): Likewise.
16419 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16420 * configure: Regenerate.
16421 * gdb.ada/Makefile.in: Delete.
16422 * gdb.arch/Makefile.in: Likewise.
16423 * gdb.asm/Makefile.in: Likewise.
16424 * gdb.base/Makefile.in: Likewise.
16425 * gdb.btrace/Makefile.in: Likewise.
16426 * gdb.cell/Makefile.in: Likewise.
16427 * gdb.compile/Makefile.in: Likewise.
16428 * gdb.cp/Makefile.in: Likewise.
16429 * gdb.disasm/Makefile.in: Likewise.
16430 * gdb.dlang/Makefile.in: Likewise.
16431 * gdb.dwarf2/Makefile.in: Likewise.
16432 * gdb.fortran/Makefile.in: Likewise.
16433 * gdb.gdb/Makefile.in: Likewise.
16434 * gdb.go/Makefile.in: Likewise.
16435 * gdb.guile/Makefile.in: Likewise.
16436 * gdb.java/Makefile.in: Likewise.
16437 * gdb.linespec/Makefile.in: Likewise.
16438 * gdb.mi/Makefile.in: Likewise.
16439 * gdb.modula2/Makefile.in: Likewise.
16440 * gdb.multi/Makefile.in: Likewise.
16441 * gdb.objc/Makefile.in: Likewise.
16442 * gdb.opencl/Makefile.in: Likewise.
16443 * gdb.opt/Makefile.in: Likewise.
16444 * gdb.pascal/Makefile.in: Likewise.
16445 * gdb.perf/Makefile.in: Likewise.
16446 * gdb.python/Makefile.in: Likewise.
16447 * gdb.reverse/Makefile.in: Likewise.
16448 * gdb.server/Makefile.in: Likewise.
16449 * gdb.stabs/Makefile.in: Likewise.
16450 * gdb.threads/Makefile.in: Likewise.
16451 * gdb.trace/Makefile.in: Likewise.
16452 * gdb.xml/Makefile.in: Likewise.
16453 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16454 GDB_PARALLEL.
16455 (standard_output_file): Remove check for GDB_PARALLEL, always
16456 return path in outputs/$subdir/$testname.
16457
437277d4
SM
164582016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16459
16460 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16461 (site.exp): Assign abs_srcdir to tcl's srcdir.
16462
31d913c7
YQ
164632016-02-04 Yao Qi <yao.qi@linaro.org>
16464
16465 * gdb.base/foll-exec-mode.c: Include limits.h.
16466 (main): Add parameters argc and argv. Get directory from
16467 argv[0].
16468 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16469 compilation.
16470 * gdb.base/foll-exec.c: Include limits.h.
16471 (main): Add parameters argc and argv.
16472 Get directory from argv[0].
16473 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16474 Adjust tests on the number of lines as source code changed.
16475 * gdb.base/foll-vfork-exit.c: Include limits.h.
16476 (main): Add one line of statement before vfork.
16477 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16478 (main): Add parameters argc and argv. Get directory from
16479 argv[0].
16480 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16481 (setup_gdb): Set tbreak to skip some source lines.
16482 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16483 (main): Add parameters argc and argv. Get directory from
16484 argv[0].
16485 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16486 compilation.
16487 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16488 (main): Add parameters argc and argv. Get directory from
16489 argv[0].
16490 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16491 compilation.
16492
9482b9fb
DE
164932016-02-01 Doug Evans <dje@google.com>
16494
16495 * gdb.base/skip.exp: Clean up multiple references to same test name.
16496
6b2e4f10
PA
164972016-02-01 Pedro Alves <palves@redhat.com>
16498
ccb6afd6 16499 PR remote/19496
6b2e4f10
PA
16500 * gdb.threads/forking-threads-plus-breakpoint.exp
16501 (displaced_stepping_supported): New global.
16502 (probe_displaced_stepping_support): New procedure.
16503 (do_test): Add 'displaced' parameter, and use it.
16504 (top level): Check for displaced stepping support. Add displaced
16505 stepping on/off testing axis.
16506
37a8db1a
AB
165072016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16508
16509 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16510 pointer. Don't perform further tests on the unassociated pointer
16511 if the first test fails.
16512
5fdf6324
AB
165132016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16514
16515 * gdb.base/max-value-size.c: New file.
16516 * gdb.base/max-value-size.exp: New file.
16517 * gdb.base/huge.exp: Disable max-value-size for this test.
16518
935c6144
IB
165192016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16520
16521 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16522
7fe8399d
YQ
165232016-01-28 Yao Qi <yao.qi@linaro.org>
16524
16525 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16526
a2077e25
PA
165272016-01-25 Pedro Alves <palves@redhat.com>
16528
16529 PR threads/19461
16530 * gdb.base/fork-running-state.c: New file.
16531 * gdb.base/fork-running-state.exp: New file.
16532
1d2736d4
PA
165332016-01-25 Pedro Alves <palves@redhat.com>
16534
16535 PR gdb/19494
16536 * gdb.base/catch-fork-kill.c: New file.
16537 * gdb.base/catch-fork-kill.exp: New file.
16538
f1da4b11
PA
165392016-01-25 Pedro Alves <palves@redhat.com>
16540
16541 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16542 Delete, moved to lib/gdb.exp.
16543 * gdb.threads/forking-threads-plus-breakpoint.exp
16544 (foreach_with_prefix): Likewise.
16545 * gdb.threads/process-dies-while-handling-bp.exp
16546 (foreach_with_prefix): Likewise.
16547 * lib/gdb.exp (foreach_with_prefix): New procedure.
16548
45f38546
MK
165492016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16550
16551 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16552 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16553
dc29a1ce
MK
165542016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16555
16556 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16557 endian targets.
16558
092127d7
JK
165592016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16560 Pedro Alves <palves@redhat.com>
16561
16562 Fix testsuite compatibility with Guile.
16563 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16564 number.
16565
31d765d3
JK
165662016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16567
16568 Fix testsuite compatibility with Guile.
16569 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16570 (thread 1): New test for backtrace through signal handler.
16571
1ac78c04
YQ
165722016-01-22 Yao Qi <yao.qi@linaro.org>
16573
16574 PR testsuite/19491
16575 * gdb.base/multi-forks.c: Include
16576 ../lib/unbuffer_output.c
16577 (main): Call gdb_unbuffer_output.
16578
4f5946a8
DE
165792016-01-21 Doug Evans <dje@google.com>
16580
16581 * lib/ada.exp (gdb_compile_ada): Fix typo.
16582
305e13e6
JB
165832016-01-21 Joel Brobecker <brobecker@adacore.com>
16584
16585 * gdb.base/break-fun-addr.exp: New file.
16586 * gdb.base/break-fun-addr1.c: New file.
16587 * gdb.base/break-fun-addr2.c: New file.
16588
5f5dfff6
SM
165892016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16590
16591 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16592 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16593 enum flag values.
16594
fd356fa2
AA
165952016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16596
16597 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16598 when GDB can not set the vector return value. Add more comments
16599 for clarification.
16600
9df22175
AT
166012016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16602
16603 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16604 command.
16605
41d1845e
SM
166062016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16607
16608 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16609
01ac6840
SM
166102016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16611
16612 * Makefile.in (check-single): Pass --status to runtest.
16613 (check/%.exp): Likewise.
16614
166152016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16616
16617 * Makefile.in (check-parallel): Propagate return code from make
16618 do-check-parallel.
16619
bd0a71fa
MK
166202016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16621
16622 * gdb.trace/ftrace.exp: Fix expected message on continue.
16623 * gdb.trace/pending.exp: Fix expected message on continue.
16624 * gdb.trace/trace-break.exp: Fix expected message on continue.
16625
8bcbad33
SM
166262016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16627
16628 * lib/gdb.exp (gdb_test): Remove unused global references.
16629
f303dbd6
PA
166302016-01-18 Pedro Alves <palves@redhat.com>
16631
16632 * gdb.base/async-shell.exp: Adjust expected output.
16633 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16634 * gdb.base/siginfo-thread.exp: Adjust expected output.
16635 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16636 * gdb.java/jnpe.exp: Adjust expected output.
16637 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16638 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16639 * gdb.threads/leader-exit.exp: Adjust expected output.
16640 * gdb.threads/manythreads.exp: Adjust expected output.
16641 * gdb.threads/pthreads.exp: Adjust expected output.
16642 * gdb.threads/schedlock.exp: Adjust expected output.
16643 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16644 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16645 expected output.
16646 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16647 output.
16648 * gdb.threads/sigthread.exp: Adjust expected output.
16649 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16650
b2789696
YQ
166512016-01-18 Yao Qi <yao.qi@linaro.org>
16652
16653 * gdb.guile/scm-section-script.c: Replace @progbits with
16654 %progbits.
16655 * gdb.python/py-section-script.c: Likewise.
16656
71ef29a8
PA
166572016-01-15 Pedro Alves <palves@redhat.com>
16658
16659 * gdb.multi/tids.exp: Test star wildcard ranges.
16660
3f5b7598
PA
166612016-01-15 Pedro Alves <palves@redhat.com>
16662
16663 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16664 command from "thread apply" invocation.
16665 (thr_apply_info_thr_invalid): Default the expected output to the
16666 input tid list.
16667 (top level): Add tests that use convenience variables. Add tests
16668 for "thread apply" with a valid TID list, but missing the command.
16669
663f6d42
PA
166702016-01-13 Pedro Alves <palves@redhat.com>
16671
16672 * gdb.base/default.exp: Expect $_gthread as well.
16673 * gdb.multi/tids.exp: Test $_gthread.
16674 * gdb.threads/thread-specific.exp: Test $_gthread.
16675
c84f6bbf
PA
166762016-01-13 Pedro Alves <palves@redhat.com>
16677
16678 * gdb.multi/tids.exp: Test "info threads -gid".
16679
22a02324
PA
166802016-01-13 Pedro Alves <palves@redhat.com>
16681
16682 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16683 Breakpoint.thread.
16684 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16685
5d5658a1
PA
166862016-01-07 Pedro Alves <palves@redhat.com>
16687
16688 * gdb.base/break.exp: Adjust to output changes.
16689 * gdb.base/hbreak2.exp: Likewise.
16690 * gdb.base/sepdebug.exp: Likewise.
16691 * gdb.base/watch_thread_num.exp: Likewise.
16692 * gdb.linespec/keywords.exp: Likewise.
16693 * gdb.multi/info-threads.exp: Likewise.
16694 * gdb.threads/thread-find.exp: Likewise.
16695 * gdb.multi/tids.c: New file.
16696 * gdb.multi/tids.exp: New file.
16697
84654457
PA
166982016-01-13 Pedro Alves <palves@redhat.com>
16699
16700 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16701
e3940304
PA
167022016-01-13 Pedro Alves <palves@redhat.com>
16703
16704 * gdb.base/default.exp: Expect $_inferior as well.
16705 * gdb.multi/base.exp: Test $_inferior.
16706
a911d87a
PA
167072016-01-13 Pedro Alves <palves@redhat.com>
16708
16709 PR breakpoints/19388
16710 * gdb.base/catch-signal-siginfo-cond.c: New file.
16711 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16712
82075af2
JS
167132016-01-12 Josh Stone <jistone@redhat.com>
16714 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16715
16716 * gdb.base/catch-syscall.c (do_execve): New variable.
16717 (main): Conditionally trigger an execve.
16718 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16719 (test_catch_syscall_execve): New, check entry/return across execve.
16720 (do_syscall_tests): Call test_catch_syscall_execve.
16721
e46eeedd
PA
167222016-01-12 Pedro Alves <palves@redhat.com>
16723
16724 * gdb.base/random-signal.exp (do_test): New procedure, with body
16725 of testcase moved in.
16726
01d8c27e
JK
167272016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16728 Pedro Alves <palves@redhat.com>
16729
16730 * gdb.base/funcargs.exp (finish from indirectly called function):
16731 Reintroduce the case for 'First'.
16732
9a706302
JK
167332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16734 Pedro Alves <palves@redhat.com>
16735
16736 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16737 (tcatch_vfork_then_child_follow_exec)
16738 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16739 identification.
16740
c0ecb95f
JK
167412016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16742
16743 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16744 and repeats to unlimited.
16745 * gdb.python/py-value.exp: Likewise.
16746 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16747 and repeats to unlimited.
16748
6cfc1fcb
JK
167492016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16750
16751 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16752 and reordering the functions.
16753 * gdb.multi/hangout.c: Likewise.
16754 * gdb.multi/hello.c: Likewise.
16755
582a1b00
SM
167562016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16757
16758 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16759 absolute.
16760 (SingleStatisticTestResult.report): Use dict.keys instead of
16761 dict.iterkeys.
16762
79bc59cb
PA
167632016-01-06 Pedro Alves <palves@redhat.com>
16764
16765 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16766
43368e1d
MM
167672016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16768
16769 * gdb.btrace/dlopen.exp: New.
16770 * gdb.btrace/dlopen.c: New.
16771 * gdb.btrace/dlopen-dso.c: New.
16772
79fad5b8
SL
167732015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16774
16775 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16776 PATTERN argument is optional.
16777
ab8314b3
JB
167782015-12-24 Joel Brobecker <brobecker@adacore.com>
16779
16780 * lib/ada.exp (target_compile_ada_from_dir): New function.
16781 (gdb_compile_ada): Reimplement avoiding the use of project files.
16782 * gdb.ada/gnat_ada.gpr: Delete.
16783 * gdb.ada/cond_lang.exp: Adjust test to make path before
16784 filename optional.
16785 * gdb.ada/small_reg_param.exp: Likewise.
16786
fe33faff
SM
167872015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16788
16789 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16790
6d265cb4
TP
167912015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16792
16793 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16794 case.
16795
10125099
SM
167962015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16797
16798 * gdb.base/break.exp: Remove dead code.
16799 * gdb.base/sepdebug.exp: Likewise.
16800
3ca22649
SM
168012015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16802
16803 * gdb.asm/asm-source.exp: Remove HP-UX references.
16804 * gdb.base/annota1.exp: Likewise.
16805 * gdb.base/annota3.exp: Likewise.
16806 * gdb.base/attach.exp: Likewise.
16807 * gdb.base/bigcore.exp: Likewise.
16808 * gdb.base/break.exp: Likewise.
16809 * gdb.base/call-ar-st.exp: Likewise.
16810 * gdb.base/callfuncs.exp: Likewise.
16811 * gdb.base/catch-fork-static.exp: Likewise.
16812 * gdb.base/display.exp: Likewise.
16813 * gdb.base/foll-exec-mode.exp: Likewise.
16814 * gdb.base/foll-exec.exp: Likewise.
16815 * gdb.base/foll-fork.exp: Likewise.
16816 * gdb.base/foll-vfork.exp: Likewise.
16817 * gdb.base/funcargs.exp: Likewise.
16818 * gdb.base/hbreak2.exp: Likewise.
16819 * gdb.base/inferior-died.exp: Likewise.
16820 * gdb.base/interrupt.exp: Likewise.
16821 * gdb.base/multi-forks.exp: Likewise.
16822 * gdb.base/nodebug.exp: Likewise.
16823 * gdb.base/sepdebug.exp: Likewise.
16824 * gdb.base/solib1.c: Likewise.
16825 * gdb.base/step-test.exp: Likewise.
16826 * gdb.mi/non-stop.c: Likewise.
16827 * gdb.mi/pthreads.c: Likewise.
16828 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16829 * gdb.threads/pthreads.c: Likewise.
16830 * gdb.threads/staticthreads.exp: Likewise.
16831 * lib/future.exp: Likewise.
16832 * lib/gdb.exp: Likewise.
16833 * gdb.base/so-indr-cl.c: Remove.
16834 * gdb.base/so-indr-cl.exp: Likewise.
16835 * gdb.base/solib.c: Likewise.
16836 * gdb.base/solib.exp: Likewise.
16837 * gdb.base/solib2.c: Likewise.
16838
b6304613
SM
168392015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16840
16841 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16842 * gdb.base/call-ar-st.exp: Likewise.
16843 * gdb.base/callfuncs.exp: Likewise.
16844 * gdb.base/condbreak.exp: Likewise.
16845 * gdb.base/constvars.exp: Likewise.
16846 * gdb.base/hbreak2.exp: Likewise.
16847 * gdb.base/langs.exp: Likewise.
16848 * gdb.base/list.exp: Likewise.
16849 * gdb.base/long_long.exp: Likewise.
16850 * gdb.base/ptype.exp: Likewise.
16851 * gdb.base/scope.exp: Likewise.
16852 * gdb.base/signals.exp: Likewise.
16853 * gdb.base/so-impl-ld.exp: Likewise.
16854 * gdb.base/varargs.exp: Likewise.
16855 * gdb.base/volatile.exp: Likewise.
16856 * gdb.base/whatis.exp: Likewise.
16857 * gdb.cp/cplusfuncs.exp: Likewise.
16858 * gdb.cp/inherit.exp: Likewise.
16859 * gdb.cp/local.exp: Likewise.
16860 * gdb.cp/member-ptr.exp: Likewise.
16861 * gdb.cp/method.exp: Likewise.
16862 * gdb.cp/overload.exp: Likewise.
16863 * gdb.cp/templates.exp: Likewise.
16864 * gdb.stabs/weird.exp: Likewise.
16865 * lib/compiler.c: Likewise.
16866 * lib/compiler.cc: Likewise.
16867 * lib/cp-support.exp: Likewise.
16868 * lib/gdb.exp: Likewise.
16869
bf401b07
SM
168702015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16871
16872 * configure.ac: Remove HP-UX case.
16873 * configure: Regenerate.
16874
aff9c0f8
SM
168752015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16876
16877 * lib/gdb.exp (gdb_compile): Add function doc.
16878
a6904d5a
PA
168792015-12-17 Pedro Alves <palves@redhat.com>
16880
16881 PR threads/19354
16882 * gdb.multi/info-threads.exp: New file.
16883
a22279dd
YQ
168842015-12-15 Yao Qi <yao.qi@linaro.org>
16885
16886 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16887 is aarch64*-*-*.
16888
0588c796
SL
168892015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16890
16891 * gdb.base/history-duplicates.exp: Skip if no readline support.
16892
5d978e17
SL
168932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16894
16895 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16896
7e763b86
SL
168972015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16898
16899 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16900
87a3a92c
SL
169012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16902
16903 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16904 ctrl-C if nointerrupts target property is set.
16905 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16906 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16907 * gdb.base/paginate-bg-execution.exp: Likewise.
16908 * gdb.base/paginate-execution-startup.exp: Likewise.
16909 * gdb.base/random-signal.exp: Likewise.
16910 * gdb.base/range-stepping.exp: Likewise.
16911 * gdb.cp/annota2.exp: Likewise.
16912 * gdb.cp/annota3.exp: Likewise.
16913 * gdb.gdb/selftest.exp: Likewise.
16914 * gdb.threads/continue-pending-status.exp: Likewise.
16915 * gdb.threads/leader-exit.exp: Likewise.
16916 * gdb.threads/manythreads.exp: Likewise.
16917 * gdb.threads/pthreads.exp: Likewise.
16918 * gdb.threads/schedlock.exp: Likewise.
16919 * gdb.threads/sigthread.exp: Likewise.
16920
a8f077dc
DB
169212015-12-11 Don Breazeal <donb@codesourcery.com>
16922
16923 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16924 remote.
16925 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16926 * gdb.base/foll-exec.exp (main): Enable for target remote.
16927 * gdb.base/foll-fork.exp (main): Likewise.
16928 * gdb.base/foll-vfork.exp (main): Likewise.
16929 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16930 (proc continue_to_exit_bp_loc): Use clean_restart.
16931 * gdb.base/pie-execl.exp (main): Disable for target remote.
16932 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16933 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16934 * gdb.threads/execl.exp (main): Likewise.
16935 * gdb.threads/fork-child-threads.exp (main): Likewise.
16936 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16937 remote.
16938 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16939 remote.
16940 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16941 pid.tid style ptids, instead of just tid.
16942 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16943 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16944 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16945 ptids, instead of just tid.
16946
3b2464a8
AB
169472015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16948
16949 * gdb.base/list.exp (test_list_forward): Add end of file error
16950 test.
16951 (test_repeat_list_command): Add end of file error test.
16952 (test_list_backwards): Add beginning of file error test.
16953
a0def019
AB
169542015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16955
16956 * gdb.base/list.exp (test_list_invalid_args): New function,
16957 defined, and called.
16958
5c000dff
AB
169592015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16960
16961 * gdb.base/list.exp (test_list): Make test names unique.
16962
f1637ebe
YQ
169632015-12-11 Yao Qi <yao.qi@linaro.org>
16964
16965 * gdb.base/coremaker2.c: Remove.
16966
36d6fc0a
PA
169672015-12-10 Pedro Alves <palves@redhat.com>
16968
16969 * gdb.multi/base.exp: Remove stale "spaces" references.
16970
762f7747
PA
169712015-12-10 Pedro Alves <palves@redhat.com>
16972
16973 * gdb.multi/base.exp: Don't use nowarnings.
16974 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16975 * gdb.multi/hangout.c: Include stdio.h.
16976 * gdb.multi/hello.c: Include stdlib.h.
16977 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16978 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16979 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16980
28d2bfb9
AB
169812015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16982
16983 * gdb.dwarf2/dw2-ranges-base.c: New file.
16984 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16985 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16986 support additional line table, and debug ranges generation.
16987 (Dwarf::ranges): New function, generate .debug_ranges.
16988 (Dwarf::lines): Support generating simple line table programs.
16989 (Dwarf::assemble): Initialise new namespace variables.
16990
5fc2beac
KB
169912015-12-09 Kevin Buettner <kevinb@redhat.com>
16992
16993 * gdb.base/async.exp (proc test_background): Add case for
16994 asynchronous execution not supported.
16995
1c35a88f
LM
169962015-12-09 Luis Machado <lgustavo@codesourcery.com>
16997
16998 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16999 format and change test names to make them unique.
17000
b593e3d9
RK
170012015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17002 Pedro Alves <pedro@redhat.com>
17003
17004 PR gdb/18702
17005 Add checking of floatformats setup on x86_64 hosts.
17006 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17007 (smallval, bigval): New labels/constants.
17008 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17009 float" after loading bigval and smallval.
17010
d72413e6
PMR
170112015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17012
17013 * gdb.ada/fun_overload_menu.exp: New testcase.
17014 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17015
ece66d65
JS
170162015-12-04 Josh Stone <jistone@redhat.com>
17017
17018 * gdb.base/catch-fork-static.exp: New.
17019
41d0efca
YQ
170202015-12-03 Yao Qi <yao.qi@linaro.org>
17021
17022 * gdb.base/sizeof.c: Don't include stdio.h and
17023 ../lib/unbuffer_output.c.
17024 (main): New variable 'size' and 'value'. Remove printf and
17025 gdb_unbuffer_output. Assign return value to size and value.
17026 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17027 at the beginning.
17028 (check_sizeof): Check the result by printing variable 'size'.
17029 (check_valueof): Check the result by printing variable 'value'.
17030
99fd02d9
YQ
170312015-12-01 Yao Qi <yao.qi@linaro.org>
17032
17033 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17034 for aarch64*-*-linux* target.
17035
f2faf941
PA
170362015-11-30 Pedro Alves <palves@redhat.com>
17037
17038 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17039
04bf20c5
PA
170402015-11-30 Pedro Alves <palves@redhat.com>
17041
17042 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17043 Handle non-stop mode vCont replies.
17044
09df4675
PA
170452015-11-30 Pedro Alves <palves@redhat.com>
17046
17047 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17048 prepare_for_testing. Start gdb with "set non-stop on" appended to
17049 GDBFLAGS. Lax expected stop output.
17050
58b584af
YQ
170512015-11-27 Yao Qi <yao.qi@linaro.org>
17052
17053 * gdb.arch/arm-neon.exp: New.
17054 * gdb.arch/arm-neon.c: New.
17055
dfcb77a8
YQ
170562015-11-27 Yao Qi <yao.qi@linaro.org>
17057
17058 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17059
88e8ec1b
YQ
170602015-11-27 Yao Qi <yao.qi@linaro.org>
17061
17062 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17063 frames-invalid annotation.
17064
bfde72c2
YQ
170652015-11-27 Yao Qi <yao.qi@linaro.org>
17066
17067 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17068
f6512a69
SM
170692015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17070
17071 * gdb.threads/names.exp: New file.
17072 * gdb.threads/names.c: New file.
17073 * README: Mention gdb,no_thread_names.
17074
46a3515b
MM
170752015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17076
17077 PR 19297
17078 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17079 support" error.
17080
62147a22
PA
170812015-11-24 Pedro Alves <palves@redhat.com>
17082
17083 PR 17539
17084 * gdb.base/display.exp: Expect displays to be sorted in ascending
17085 order. Use multi_line.
17086 * gdb.base/solib-display.exp: Likewise.
17087
2f341b6e
PA
170882015-11-24 Pedro Alves <palves@redhat.com>
17089
17090 PR 17539
25d49b86
PA
17091 * gdb.base/display.exp: Expect displays to be sorted in ascending
17092 order. Use multi_line.
17093 * gdb.base/solib-display.exp: Likewise.
2f341b6e 17094
7e0aa6aa
PA
170952015-11-24 Pedro Alves <palves@redhat.com>
17096
17097 PR 17539
17098 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17099 threads in ascending order.
17100 * gdb.base/foll-fork.exp: Likewise.
17101 * gdb.base/foll-vfork.exp: Likewise.
17102 * gdb.base/multi-forks.exp: Likewise.
17103 * gdb.mi/mi-nonstop.exp: Likewise.
17104 * gdb.mi/mi-nsintrall.exp: Likewise.
17105 * gdb.multi/base.exp: Likewise.
17106 * gdb.multi/multi-arch.exp: Likewise.
17107 * gdb.python/py-inferior.exp: Likewise.
17108 * gdb.threads/break-while-running.exp: Likewise.
17109 * gdb.threads/execl.exp: Likewise.
17110 * gdb.threads/gcore-thread.exp: Likewise.
17111 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17112 * gdb.threads/kill.exp: Likewise.
17113 * gdb.threads/linux-dp.exp: Likewise.
17114 * gdb.threads/multiple-step-overs.exp: Likewise.
17115 * gdb.threads/next-bp-other-thread.exp: Likewise.
17116 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17117 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17118 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17119 * gdb.threads/thread-find.exp: Likewise.
17120 * gdb.threads/tls.exp: Likewise.
17121 * lib/mi-support.exp (mi_reverse_list): Delete.
17122 (mi_check_thread_states): No longer reverse list.
17123
2cc57ad8
PA
171242015-11-24 Pedro Alves <palves@redhat.com>
17125
17126 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17127 use lowercase.
17128
c93e8391
SM
171292015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17130
17131 * gdb.trace/actions.c: Include trace-common.h.
17132 (main): Add a location for a fast tracepoint.
17133 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17134 the normal tracepoints.
17135 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17136
045ccf91
SM
171372015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17138
17139 * save-trace.exp: Factor out code to these...
17140 (gdb_save_tracepoints): New.
17141 (gdb_load_tracepoints): New.
17142 (do_save_load_test): New.
17143
5506f9f6
KB
171442015-11-23 Kevin Buettner <kevinb@redhat.com>
17145
17146 * gdb.base/asmlabel.exp: New test.
17147 * gdb.base/asmlabel.c: New test case.
17148
16c3b12f
JB
171492015-11-23 Joel Brobecker <brobecker@adacore.com>
17150
17151 * gdb.base/wrong_frame_bt_full-main.c: New file.
17152 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17153 * gdb.base/wrong_frame_bt_full.exp: New file.
17154
155bfbd3
JB
171552015-11-23 Joel Brobecker <brobecker@adacore.com>
17156
17157 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17158
bb097445
JM
171592015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17160
206853a0 17161 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17162 pstate register when comparing registers values in
17163 sparc64-*-linux-gnu targets to avoid spurious differences.
17164
9c88ed8f
JM
171652015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17166
206853a0 17167 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17168
96161e25
SL
171692015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17170
17171 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17172 as type argument to gdb_compile.
17173 * gdb.base/nested-subp2.exp: Likewise.
17174 * gdb.base/nested-subp3.exp: Likewise.
17175
340c2830
DV
171762015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17177
17178 * lib/dwarf.exp (_note): Fix left shift of negative value.
17179 * gdb.trace/trace-condition.exp: Likewise.
17180
c1862d0f
YQ
171812015-11-13 Yao Qi <yao.qi@linaro.org>
17182
17183 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17184 comments about d10v.
17185 (test_scalar_returns): Likewise.
17186 * gdb.base/d10v.ld: Remove.
17187 * gdb.base/overlays.exp: Remove the target triplet checking for
17188 d10v-*-*.
17189 * gdb.base/structs.exp (test_struct_returns): Remove the
17190 comments about d10v.
17191 (test_struct_calls): Likewise.
17192
77ae9c19
YQ
171932015-11-13 Yao Qi <yao.qi@linaro.org>
17194
17195 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17196 * gdb.base/gnu_vector.c: Don't include stdio.h.
17197 (main): Don't print res and call add_some_intvecs.
17198
430e004e
MK
171992015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17200
17201 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17202 macro.
17203 (func5): Removed.
17204 (func4): Use FAST_TRACEPOINT_LABEL.
17205 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17206 macro.
17207 (func): Removed.
17208 (thread_function): Use FAST_TRACEPOINT_LABEL.
17209 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17210 (func): Remove.
17211 (marker): Use FAST_TRACEPOINT_LABEL.
17212 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17213 (pendfunc1): Remove.
17214 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17215 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17216 (foo): Remove.
17217 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17218 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17219 macro.
17220 (func): Remove.
17221 (marker): Use FAST_TRACEPOINT_LABEL.
17222 * gdb.trace/trace-common.h: New header.
17223 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17224 macro.
17225 (func): Remove.
17226 (marker): Use FAST_TRACEPOINT_LABEL.
17227 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17228 (func): Remove.
17229 (thread_function): Use FAST_TRACEPOINT_LABEL.
17230
6e7675a7
MK
172312015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17232
17233 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17234 in front.
17235 * gdb.trace/change-loc.exp: Use global pcreg definition.
17236 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17237 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17238 in front.
17239 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17240 * gdb.trace/pending.exp: Likewise.
17241 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17242 * gdb.trace/trace-break.exp: Likewise.
17243 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17244 in front.
17245 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17246 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17247 in front.
17248 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17249
dddc0e16
JB
172502015-11-09 Joel Brobecker <brobecker@adacore.com>
17251
17252 * gdb.ada/fin_fun_out: New testcase.
17253
c6f0b406
KB
172542015-11-07 Kevin Buettner <kevinb@redhat.com>
17255
17256 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17257 value associated with DW_AT_byte_size.
17258 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17259 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17260 DW_AT_upper_bound.
17261
f01dcfd9
KB
172622015-11-07 Kevin Buettner <kevinb@redhat.com>
17263
17264 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17265 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17266 version.
17267 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17268 gdb.dwarf2/dw2-canonicalize-type.exp,
17269 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17270 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17271 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17272 provided by gdb_target_symbol_prefix_flags_asm.
17273 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17274 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17275 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17276 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17277 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17278 macros where needed). Use this macro for symbols which require
17279 the prefix provided by SYMBOL_PREFIX.
17280
2223449a
KB
172812015-11-05 Kevin Buettner <kevinb@redhat.com>
17282
17283 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17284 New procs.
17285 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17286 representing expressions, of more than one list element.
17287 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17288 to prepend linker symbol prefix to f.
17289 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17290 table_1 and table_2.
17291 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17292 Likewise, for f and g.
17293 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17294 for ptr.
17295 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17296 for main.
17297 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17298 table_1_ptr and table_2_ptr.
17299
6f2f1a3a
JK
173002015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17301 Joel Brobecker <brobecker@adacore.com>
17302
17303 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17304
566c56c9
MK
173052015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17306
17307 * gdb.reverse/s390-mvcle.c: New test.
17308 * gdb.reverse/s390-mvcle.exp: New file.
17309 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17310
d5f0636b
MK
173112015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17312
17313 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17314
7ad8b86c
MK
173152015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17316
17317 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17318 reaching marker2.
17319 * gdb.reverse/getresuid-reverse.exp: Likewise.
17320 * gdb.reverse/pipe-reverse.exp: Likewise.
17321 * gdb.reverse/readv-reverse.exp: Likewise.
17322 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17323 * gdb.reverse/time-reverse.exp: Likewise.
17324 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17325
4081c0f1
YQ
173262015-10-30 Yao Qi <yao.qi@linaro.org>
17327
17328 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17329 (empty_cycle): Remove.
17330 (main): Don't call empty_cycle. Don't use watch_count_done.
17331 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17332 empty_cycle. Rewrite the code counting HW watchpoints.
17333
452b4ba5
MK
173342015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17335
17336 * gdb.reverse/fstatat-reverse.c: New test.
17337 * gdb.reverse/fstatat-reverse.exp: New file.
17338 * gdb.reverse/getresuid-reverse.c: New test.
17339 * gdb.reverse/getresuid-reverse.exp: New file.
17340 * gdb.reverse/pipe-reverse.c: New test.
17341 * gdb.reverse/pipe-reverse.exp: New file.
17342 * gdb.reverse/readv-reverse.c: New test.
17343 * gdb.reverse/readv-reverse.exp: New file.
17344 * gdb.reverse/recvmsg-reverse.c: New test.
17345 * gdb.reverse/recvmsg-reverse.exp: New file.
17346 * gdb.reverse/time-reverse.c: New test.
17347 * gdb.reverse/time-reverse.exp: New file.
17348 * gdb.reverse/waitpid-reverse.c: New test.
17349 * gdb.reverse/waitpid-reverse.exp: New file.
17350
5e2e7507
JK
173512015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17352
17353 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17354
0fde2c53
DE
173552015-10-26 Doug Evans <dje@google.com>
17356
17357 PR symtab/17391
17358 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17359 * gdb.dwarf2/bad-regnum.c: New file.
17360 * gdb.dwarf2/bad-regnum.exp: New file.
17361
1a70ae97
DE
173622015-10-26 Doug Evans <dje@google.com>
17363
17364 PR python/18938
17365 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17366 file.
17367
27dc26ab
JK
173682015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17369
17370 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17371 for a change by "Mention language in compile error message".
17372
bed91f4d
SM
173732015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17374
17375 PR python/18073
17376 * gdb.python/py-type.c (C::a_method): New.
17377 (C::a_const_method): New.
17378 (C::a_static_method): New.
17379 (a_function): New.
17380 * gdb.python/py-type.exp (test_fields): Test getting fields
17381 from function and method.
17382
3f2f83dd
KB
173832015-10-21 Keven Boell <keven.boell@intel.com>
17384
17385 * gdb.fortran/vla-alloc-assoc.exp: New file.
17386 * gdb.fortran/vla-datatypes.exp: New file.
17387 * gdb.fortran/vla-datatypes.f90: New file.
17388 * gdb.fortran/vla-history.exp: New file.
17389 * gdb.fortran/vla-ptype-sub.exp: New file.
17390 * gdb.fortran/vla-ptype.exp: New file.
17391 * gdb.fortran/vla-sizeof.exp: New file.
17392 * gdb.fortran/vla-sub.f90: New file.
17393 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17394 * gdb.fortran/vla-value-sub-finish.exp: New file.
17395 * gdb.fortran/vla-value-sub.exp: New file.
17396 * gdb.fortran/vla-value.exp: New file.
17397 * gdb.fortran/vla-ptr-info.exp: New file.
17398 * gdb.mi/mi-vla-fortran.exp: New file.
17399 * gdb.mi/vla.f90: New file.
17400
27145d50
SL
174012015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17402
17403 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17404 of hardwired timeout value.
17405
5f3ff4f8
JK
174062015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17407 Pedro Alves <palves@redhat.com>
17408
17409 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17410 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17411
bfd09d20
JS
174122015-10-19 Josh Stone <jistone@redhat.com>
17413
17414 * gdb.base/catch-syscall.c: Include <sched.h>.
17415 (unknown_syscall): New variable.
17416 (main): Trigger a vfork and an unknown syscall.
17417 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17418 (unknown_syscall_number): Likewise.
17419 (check_call_to_syscall): Accept an optional syscall pattern.
17420 (check_return_from_syscall): Likewise.
17421 (check_continue): Likewise.
17422 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17423 (test_catch_syscall_skipping_return): New test toggling off 'catch
17424 syscall' to step over the syscall return, then toggling back on.
17425 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17426 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17427 (do_syscall_tests): Call test_catch_syscall_without_args and
17428 test_catch_syscall_mid_vfork.
17429 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17430 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17431
b32b93c6
AS
174322015-10-19 Andrew Stubbs <ams@codesourcery.com>
17433
17434 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17435 print g_vE): Add new pass patterns.
17436 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17437 print various symbol names for vptr fields.
17438
9d622bda
AB
174392015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17440
17441 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17442 results.
17443
0fd8ac1c
YQ
174442015-10-12 Yao Qi <yao.qi@linaro.org>
17445
17446 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17447
34240514
YQ
174482015-10-12 Yao Qi <yao.qi@linaro.org>
17449
17450 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17451 is aarch64*-*-linux*.
17452
8240f442
YQ
174532015-10-12 Yao Qi <yao.qi@linaro.org>
17454
17455 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17456 (can_relocate_bcond_true): ... it.
17457 (can_relocate_bcond_false): New function.
17458 (foo): Likewise.
17459 (can_relocate_bl): Likewise.
17460 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17461 can_relocate_bl.
17462
2520f728
PMR
174632015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17464
17465 * gdb.base/nested-addr.c: New file.
17466 * gdb.base/nested-addr.exp: New testcase.
17467
abcef95a
MM
174682015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17469
17470 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17471 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17472 its output. Ignore the output of "record goto begin" and instead
17473 check that GDB is replaying.
17474
145e3ddb
PA
174752015-10-09 Pedro Alves <palves@redhat.com>
17476
17477 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17478 (top level): Use it in the run with no args test.
17479
d5d8c4e1
IB
174802015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17481
17482 * gdb.dlang/properties.exp: New file.
17483
06e635ef
SL
174842015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17485
17486 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17487 whether or not address 0x1000 is mapped on the target.
17488
e019fd1d
SM
174892015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17490
17491 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17492 build.
17493
77ba2a67
MM
174942015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17495
17496 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17497 instruction-history test.
17498
c60eb31f
DE
174992015-09-28 Doug Evans <dje@google.com>
17500
17501 * gdb.base/gcore.c (array_func): Add reference to static_array.
17502
9a3c8263
SM
175032015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17504
17505 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17506 source line.
17507
9720e656
SL
175082015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17509
17510 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17511 short or char as base type.
17512
938d3bf2
SL
175132015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17514
17515 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17516 to allow any size enum.
17517
e6c2c623
PMR
175182015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17519
17520 * gdb.ada/array_ptr_renaming.exp: New testcase.
17521 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17522 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17523
06da0f77
PL
175242015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17525
17526 * gdb.trace/ftrace-lock.c: New file.
17527 * gdb.trace/ftrace-lock.exp: New file.
17528
4f51c22a
PL
175292015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17530
17531 * gdb.arch/insn-reloc.c: New file.
17532 * gdb.arch/ftrace-insn-reloc.exp: New file.
17533
7041adf4
PL
175342015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17535
17536 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17537 instruction.
17538 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17539 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17540 * gdb.trace/range-stepping.c: Likewise.
17541 * gdb.trace/trace-break.c: Likewise.
17542 * gdb.trace/trace-mt.c (thread_function): Likewise.
17543 * gdb.trace/ftrace.c (marker): Likewise.
17544 * gdb.trace/trace-condition.c (marker): Likewise.
17545 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17546 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17547 is_aarch64_target.
17548
015d2e7e
DE
175492015-09-18 Doug Evans <xdje42@gmail.com>
17550
17551 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17552 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17553
26b188a2
SL
175542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17555
17556 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17557 the breakpoint.
17558
79dc332b
SL
175592015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17560
17561 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17562 the pending breakpoint. Remove timeout override for "Run till
17563 MI pending breakpoint on pendfunc3 on thread 2" test.
17564
f57929f2
SL
175652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17566
17567 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17568 filename pattern.
17569
3f469b17
SL
175702015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17571
17572 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17573 in breakpoint filename pattern.
17574
515b89b3
SL
175752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17576
7800dbe4
SL
17577 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17578
175792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17580
515b89b3
SL
17581 * gdb.linespec/explicit.exp: Check for readline support for
17582 tab-completion tests. Fix obvious typo.
17583
d2939ba2
MM
175842015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17585
17586 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17587 and replay.
17588
cbb55fa7
MM
175892015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17590
17591 * gdb.btrace/non-stop.c: New.
17592 * gdb.btrace/non-stop.exp: New.
17593
43691ca1
PL
175942015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17595 Yao Qi <yao.qi@linaro.org>
17596
17597 * gdb.trace/trace-condition.c: New file.
17598 * gdb.trace/trace-condition.exp: New file.
17599
d78908cf
WW
176002015-09-16 Wei-cheng Wang <cole945@gmail.com>
17601
17602 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17603 for testing bytecode compilation.
17604
1ed415e2
PA
176052015-09-16 Pedro Alves <palves@redhat.com>
17606 Sandra Loosemore <sandra@codesourcery.com>
17607
17608 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17609 (SECONDS): Redefine.
17610 (main): Call pthread_kill and alarm early.
17611 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17612 support.
17613 (test): If the target can't hardware step and doesn't support
17614 displaced stepping, increase the timeout.
17615
d136eff5
PA
176162015-09-16 Pedro Alves <palves@redhat.com>
17617
17618 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17619 (enable_debug): New procedures.
17620 (test): Use them. Bail out if waiting for threads fails.
17621 (top level): Bail out if a test fails.
17622
991f019c
YQ
176232015-09-16 Yao Qi <yao.qi@linaro.org>
17624
17625 * gdb.asm/asm-source.exp: Set asm-arch for
17626 aarch64*-*-* target.
17627 * gdb.asm/aarch64.inc: New file.
17628
bfca584f
PMR
176292015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17630
17631 * gdb.ada/array_of_variable_length.exp: New testcase.
17632 * gdb.ada/array_of_variable_length/foo.adb: New file.
17633 * gdb.ada/array_of_variable_length/pck.adb: New file.
17634 * gdb.ada/array_of_variable_length/pck.ads: New file.
17635
b326e587
DE
176362015-09-15 Doug Evans <dje@google.com>
17637
17638 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17639 of function static local variable.
17640
5382cfab
PW
176412015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17642
17643 * gdb.threads/tls-so_extern.exp: New test file.
17644 * gdb.threads/tls-so_extern.c: New test file.
17645 * gdb.threads/tls-so_extern_main.c: New test file.
17646
141c5cc4
JK
176472015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17648
17649 * gdb.opt/solib-intra-step-lib.c: New file.
17650 * gdb.opt/solib-intra-step-main.c: New file.
17651 * gdb.opt/solib-intra-step.exp: New file.
17652
d15dcecd
PA
176532015-09-15 Pedro Alves <palves@redhat.com>
17654
17655 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17656 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17657
4c2f2a79
PA
176582015-09-14 Pedro Alves <palves@redhat.com>
17659
17660 * gdb.base/hook-stop-continue.c: Delete.
17661 * gdb.base/hook-stop-continue.exp: Delete.
17662 * gdb.base/hook-stop-frame.c: Delete.
17663 * gdb.base/hook-stop-frame.exp: Delete.
17664 * gdb.base/hook-stop.c: New file.
17665 * gdb.base/hook-stop.exp: New file.
17666
919e6dbe
PMR
176672015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17668
17669 * gdb.ada/access_to_packed_array.exp: New testcase.
17670 * gdb.ada/access_to_packed_array/foo.adb: New file.
17671 * gdb.ada/access_to_packed_array/pack.adb: New file.
17672 * gdb.ada/access_to_packed_array/pack.ads: New file.
17673
157280a4
MM
176742015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17675
17676 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17677 buffer size test.
17678
2fd33e94
DB
176792015-09-11 Don Breazeal <donb@codesourcery.com>
17680
17681 * gdb.base/foll-exec.c: Add copyright header. Fix
17682 formatting issues.
17683 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17684 (do_exec_tests): Use clean_restart in place of zap_session,
17685 and for test initialization. Fix formatting issues. Use
17686 fail in place of perror.
17687 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17688 an expect statement to match an expression with output from
17689 the program under debug.
17690 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17691 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17692 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17693 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17694 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17695
e70b6e8e
DE
176962015-09-09 Doug Evans <dje@google.com>
17697
17698 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17699
7a551a51
DE
177002015-09-09 Doug Evans <dje@google.com>
17701
17702 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17703
4c666f84
DE
177042015-09-09 Doug Evans <dje@google.com>
17705
17706 * gdb.base/savedregs.exp: Fix typo.
17707
243a9253
PA
177082015-09-09 Pedro Alves <palves@redhat.com>
17709
17710 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17711
c0fa8fbd
SL
177122015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17713
17714 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17715 command actually switches threads. Give up on remaining
17716 tests if target fails to stop at breakpoint.
17717
cd7c1778
PMR
177182015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17719
17720 * gdb.ada/funcall_char.exp: New testcase.
17721 * gdb.ada/funcall_char/foo.adb: New file.
17722
dc5c8746
PMR
177232015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17724
17725 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17726 expected outputs. Add two testcases for completing ambiguous
17727 functions.
17728 * gdb.ada/complete/aux_pck.adb: New file.
17729 * gdb.ada/complete/aux_pck.ads: New file.
17730 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17731 Ambiguous_Func functions.
17732 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17733 * gdb.ada/complete/pck.adb: Likewise.
17734
4e83a1e7
UW
177352015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17736
17737 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17738 failures to run the test program under GDB.
17739
8ce74153
LM
177402015-08-26 Luis Machado <lgustavo@codesourcery.com>
17741
17742 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17743 to C.
17744
e9756d52
PP
177452015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17746
17747 * gdb.base/run-after-attach.exp: New test file.
17748 * gdb.base/run-after-attach.c: New test file.
17749
8d37573b
DB
177502015-08-26 Don Breazeal <donb@codesourcery.com>
17751
17752 * gdb.base/foll-exec-2.c: New test program.
17753 * gdb.base/foll-exec-2.exp: New test.
17754
63e43d3a
PMR
177552015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17756
17757 * gdb.base/nested-subp1.exp: New file.
17758 * gdb.base/nested-subp1.c: New file.
17759 * gdb.base/nested-subp2.exp: New file.
17760 * gdb.base/nested-subp2.c: New file.
17761 * gdb.base/nested-subp3.exp: New file.
17762 * gdb.base/nested-subp3.c: New file.
17763
3d40fbb5
PA
177642015-08-24 Pedro Alves <palves@redhat.com>
17765
17766 * gdb.server/connect-without-multi-process.c: New file.
17767 * gdb.server/connect-without-multi-process.exp: New file.
17768
4422ac93
LM
177692015-08-24 Luis Machado <lgustavo@codesourcery.com>
17770
17771 * gdb.opt/inline-markers.c: Make z int.
17772
91dddb86
LM
177732015-08-24 Luis Machado <lgustavo@codesourcery.com>
17774
17775 * gdb.opt/inline-markers.c: Make z volatile.
17776
a48847ee
LM
177772015-08-24 Luis Machado <lgustavo@codesourcery.com>
17778
17779 * gdb.opt/inline-bt.c: New volatile global z.
17780 * gdb.opt/inline-cmds.c: Likewise.
17781 * gdb.opt/inline-locals.c: Likewise.
17782 * gdb.opt/inline-markers.c: New extern global z.
17783 (marker): Use z.
17784 (inline_fn): Likewise.
17785
0ebbc52b
PA
177862015-08-24 Pedro Alves <palves@redhat.com>
17787
17788 * config/m32r-stub.exp: Remove file.
17789 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17790 * gdb.base/call-rt-st.exp: Likewise.
17791 * gdb.base/call-strs.exp: Likewise.
17792 * gdb.base/default.exp: Remove references to h8300-*-hms and
17793 *-*-udi*.
17794 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17795
77c365df
AA
177962015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17797
17798 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17799 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17800 and "return" use KFAIL when GDB can not read/write the vector
17801 return value.
17802
4313b8c0
GB
178032015-08-21 Gary Benson <gbenson@redhat.com>
17804
17805 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17806
0e433b32
PA
178072015-08-20 Pedro Alves <palves@redhat.com>
17808
17809 * gdb.server/solib-list.exp: No longer expect an interior stop in
17810 non-stop mode.
17811
221e1a37
PA
178122015-08-20 Pedro Alves <palves@redhat.com>
17813
17814 * gdb.server/connect-stopped-target.c: New file.
17815 * gdb.server/connect-stopped-target.exp: New file.
17816
40e3ad0e
PA
178172015-08-20 Pedro Alves <palves@redhat.com>
17818
17819 * gdb.dwarf2/comp-unit-lang.exp: New file.
17820 * gdb.dwarf2/comp-unit-lang.c: New file.
17821
af39b327
PMR
178222015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17823
17824 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17825 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17826
7d45c7c3 178272015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17828
7d45c7c3
KB
17829 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17830 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17831
4d6cceb4
DE
178322015-08-18 Doug Evans <dje@google.com>
17833 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17834
17835 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17836 skip_python_tests. New arg prompt_regexp.
17837 (skip_python_tests): New function.
17838 * lib/mi-support.exp (mi_skip_python_tests): New function.
17839 * gdb.python/py-mi-objfile-gdb.py: New file.
17840 * gdb.python/py-mi-objfile.c: New file.
17841 * gdb.python/py-mi-objfile.exp: New file.
17842
ad89c2aa
KS
178432015-08-17 Keith Seitz <keiths@redhat.com>
17844
17845 * gdb.linespec/explicit.exp: Move strace test from here ...
17846 * gdb.trace/strace.exp: ... to here.
17847
e3ae3c43
PP
178482015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17849
17850 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17851 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17852
604b2636
DE
178532015-08-14 Doug Evans <xdje42@gmail.com>
17854
17855 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17856 inferior before selecting a new file.
17857
6ff0ba5f
DE
178582015-08-14 Doug Evans <xdje42@gmail.com>
17859
17860 * gdb.mi/mi-disassemble.exp: Update.
17861 * gdb.base/disasm-optim.S: New file.
17862 * gdb.base/disasm-optim.c: New file.
17863 * gdb.base/disasm-optim.h: New file.
17864 * gdb.base/disasm-optim.exp: New file.
17865
9ca98f92
KS
178662015-08-14 Keith Seitz <keiths@redhat.com>
17867
17868 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17869 "evaluated-by".
17870
52bbc560
JB
178712015-08-13 Joel Brobecker <brobecker@adacore.com>
17872
17873 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17874
5d8c3ed3
PMR
178752015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17876
17877 * gdb.ada/fun_renaming.exp: New testcase.
17878 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17879 * gdb.ada/fun_renaming/pack.adb: New file.
17880 * gdb.ada/fun_renaming/pack.ads: New file.
17881
ea8812bc
KS
178822015-08-12 Keith Seitz <keiths@redhat.com>
17883
17884 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17885 gdb_get_line_number.
17886
4dafcdeb
JB
178872015-08-12 Joel Brobecker <brobecker@adacore.com>
17888
17889 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17890 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17891 gdb.base/dso2dso.exp: New files.
17892
5ba32597
SDJ
178932015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17894 Pedro Alves <palves@redhat.com>
17895 Keith Seitz <keiths@redhat.com>
17896
17897 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17898 GDBFLAGS.
17899
b6dafabf
PP
179002015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17901
17902 * gdb.base/gdbhistsize-history.exp
17903 (test_histsize_history_setting): Use save_vars.
17904 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17905 Use save_vars.
17906 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17907 * gdb.base/readline.exp: Use save_vars.
17908
abe8e607
PP
179092015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17910
17911 * lib/gdb.exp (save_vars): New proc.
17912
629500fa
KS
179132015-08-11 Keith Seitz <keiths@redhat.com>
17914
17915 * gdb.base/help.exp: Update help_breakpoint_text.
17916
eb8c4e2e
KS
179172015-08-11 Keith Seitz <keiths@redhat.com>
17918
17919 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17920 (at toplevel): Call test_explicit_breakpoints.
17921 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17922 breakpoints.
17923 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17924 breakpoint conditions, "-cond".
17925
87f0e720
KS
179262015-08-11 Keith Seitz <keiths@redhat.com>
17927
17928 * gdb.linespec/3explicit.c: New file.
17929 * gdb.linespec/cpexplicit.cc: New file.
17930 * gdb.linespec/cpexplicit.exp: New file.
17931 * gdb.linespec/explicit.c: New file.
17932 * gdb.linespec/explicit.exp: New file.
17933 * gdb.linespec/explicit2.c: New file.
17934 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17935 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17936 before using in the matching pattern.
17937 Clarify that `prefix' is a regular expression.
17938
f00aae0f
KS
179392015-08-11 Keith Seitz <keiths@redhat.com>
17940
17941 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17942 test.
17943 Add tests for missing ",FMT" and ",".
17944
e27852be
DE
179452015-08-10 Doug Evans <dje@google.com>
17946 Keith Seitz <keiths@redhat.com>
17947
17948 PR gdb/17960
17949 * gdb.base/completion.exp: Add location completer tests.
17950
7f03bd92
PA
179512015-08-07 Pedro Alves <palves@redhat.com>
17952
17953 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17954 tests here.
17955 (top level): Run do_test with and without displaced stepping.
17956
3fc8eb30
PA
179572015-08-07 Pedro Alves <palves@redhat.com>
17958
17959 * gdb.base/valgrind-disp-step.c: New file.
17960 * gdb.base/valgrind-disp-step.exp: New file.
17961
d4569d7b
PA
179622015-08-07 Pedro Alves <palves@redhat.com>
17963
17964 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17965 Delete function.
17966 (main): Add alarm. Run an infinite loop instead of calling
17967 wait_threads.
17968 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17969 comment.
17970 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17971 Delete function.
17972 (main): Add alarm. Run an infinite loop instead of calling
17973 wait_threads.
17974 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17975 comment.
17976
e1316e60
PA
179772015-08-07 Pedro Alves <palves@redhat.com>
17978
17979 * gdb.base/checkpoint-ns.exp: New file.
17980 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17981 standard_testfile.
17982
da8c46d2
MM
179832015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17984
17985 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17986 * gdb.btrace/instruction_history.exp: Update.
17987 * gdb.btrace/tsx.exp: New.
17988 * gdb.btrace/tsx.c: New.
17989
de1c2c52
PA
179902015-08-06 Pedro Alves <palves@redhat.com>
17991
17992 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17993 increase timeout.
17994 * gdb.reverse/until-precsave.exp: Bump timeouts.
17995
782e0bf4
PA
179962015-08-06 Pedro Alves <palves@redhat.com>
17997
17998 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17999
83e97ed0
PA
180002015-08-06 Pedro Alves <palves@redhat.com>
18001
18002 PR gdb/18749
18003 * gdb.threads/process-dies-while-handling-bp.c: New file.
18004 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18005
863d01bd
PA
180062015-08-06 Pedro Alves <palves@redhat.com>
18007
18008 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18009 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18010
0a39bb32
PA
180112015-08-05 Pedro Alves <palves@redhat.com>
18012
18013 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18014 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18015
ee2d2b10
SL
180162015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18017
18018 * gdb.base/bp-permanent.exp: Report test as unsupported if
18019 the target cannot stop at the permanent breakpoint.
18020
4e1bdb00
DE
180212015-08-03 Doug Evans <dje@google.com>
18022
18023 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18024 10000.
18025
3d338901
DE
180262015-08-03 Doug Evans <dje@google.com>
18027
18028 * Makefile.in (workers/%.worker, build-perf): New rule.
18029 (GDB_PERFTEST_MODE): New variable.
18030 (check-perf): Use it.
18031 (clean): Clean up gdb.perf parallel build subdirs.
18032 * lib/build-piece.exp: New file.
18033 * lib/gdb.exp (make_gdb_parallel_path): New function
18034 (standard_output_file, standard_temp_file): Call it.
18035 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18036 of $GDB_PARALLEL.
18037 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18038
af061d3e
DE
180392015-08-03 Doug Evans <dje@google.com>
18040
8e1afc81 18041 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
18042 (LOG_FILE_NAME): New global.
18043 (TextReporter.__init__): Initialize self.txt_sum.
18044 (TextReporter.report): Add support for multiple data-points.
18045 Move report to perftest.sum, put raw data in perftest.log.
18046 (TextReporter.start): Open sum and log files.
18047 (TextReporter.end): Close sum and log files.
8e1afc81
DE
18048 * gdb.perf/lib/perftest/testresult.py
18049 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 18050
2c8c5d37
PA
180512015-07-31 Pedro Alves <palves@redhat.com>
18052
18053 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18054 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18055 kill_wait_spawned_process instead of explicit "kill -9".
18056 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18057 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18058 kill_wait_spawned_process.
18059 * gdb.base/attach-twice.exp: Likewise.
18060 * gdb.base/attach.exp: Likewise.
18061 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18062 gdb_test_multiple.
18063 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18064 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18065 kill_wait_spawned_process.
18066 * gdb.base/valgrind-infcall.exp: Likewise.
18067 * gdb.multi/multi-attach.exp: Likewise.
18068 * gdb.python/py-prompt.exp: Likewise.
18069 * gdb.python/py-sync-interp.exp: Likewise.
18070 * gdb.server/ext-attach.exp: Likewise.
18071 * gdb.threads/attach-into-signal.exp (corefunc): Use
18072 spawn_wait_for_attach, spawn_id_get_pid and
18073 kill_wait_spawned_process.
18074 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18075 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18076 spawn_id_get_pid and kill_wait_spawned_process.
18077 * gdb.threads/attach-stopped.exp (corefunc): Use
18078 spawn_wait_for_attach, spawn_id_get_pid and
18079 kill_wait_spawned_process.
18080 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18081 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18082 kill_wait_spawned_process instead of explicit "kill -9".
18083 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18084 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18085 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18086 processes. Don't map cygwin/windows pids here. Now returns a
18087 spawn id list.
18088
032a0fca
SL
180892015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18090
18091 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18092 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18093 correct patch.
18094
61a934ca
SL
180952015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18096
18097 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18098
4bc4d428
SL
180992015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18100
18101 Reapply:
18102 2014-05-21 Mark Wielaard <mjw@redhat.com>
18103
18104 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18105
998d452a
PA
181062015-07-30 Pedro Alves <palves@redhat.com>
18107
18108 * linux-low.c (handle_extended_wait): Set the child's last
18109 reported status to TARGET_WAITKIND_STOPPED.
18110
69dde7dc
PA
181112015-07-30 Pedro Alves <palves@redhat.com>
18112
18113 PR threads/18600
18114 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18115 only shows inferior 1.
18116
4dd63d48
PA
181172015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18118 Pedro Alves <palves@redhat.com>
18119
18120 PR threads/18600
18121 * gdb.threads/fork-plus-threads.c: New file.
18122 * gdb.threads/fork-plus-threads.exp: New file.
18123
d618e4c5
PP
181242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18125
18126 * gdb.base/batch-preserve-term-settings.exp
18127 (test_terminal_settings_preserved_after_cli_exit): Use
18128 send_quit_command.
18129
1eef6428
PA
181302015-07-29 Pedro Alves <palves@redhat.com>
18131 Don Breazeal <donb@codesourcery.com>
18132
18133 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18134 output from both inferior_spawn_id and gdb_spawn_id.
18135
7da5b897
SDJ
181362015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18137
18138 * gdb.threads/attach-into-signal.exp (corefunc): Use
18139 with_test_prefix on nested loops, uniquefying the test messages.
18140
dac804df
SDJ
181412015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18142
18143 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18144 commit.
18145
06265e53
PP
181462015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18147
18148 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18149 New proc.
18150 (test_terminal_settings_preserved_after_sigterm): New test.
18151
18206ca3
PP
181522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18153
18154 * gdb.base/batch-preserve-term-settings.exp
18155 (test_terminal_settings_preserved_after_cli_exit): New test.
18156
90074d11
PP
181572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18158
18159 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18160 manipulation of saved_gdbflags.
18161 (test_terminal_settings_preserved): Remove global declaration of
18162 the unused variable pagination_prompt. Remove manipulation of
18163 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18164 GDBFLAGS.
18165
eb1a7902
PA
181662015-07-29 Pedro Alves <palves@redhat.com>
18167
18168 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18169
8b75dd3b
PA
181702015-07-29 Pedro Alves <palves@redhat.com>
18171
18172 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18173 at the top.
18174
dedad4e3
PA
181752015-07-29 Pedro Alves <palves@redhat.com>
18176
18177 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18178 (main): Call gdb_unbuffer_output.
18179 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18180 (main): Call gdb_unbuffer_output.
18181 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18182 (main): Call gdb_unbuffer_output.
18183 * gdb.base/call-strs.exp: Adjust to step over the
18184 gdb_unbuffer_output call.
18185 * gdb.base/catch-gdb-caused-signals.c: Include
18186 "../lib/unbuffer_output.c".
18187 (main): Call gdb_unbuffer_output.
18188 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18189 (main): Call gdb_unbuffer_output.
18190 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18191 (main): Call gdb_unbuffer_output.
18192 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18193 (main): Call gdb_unbuffer_output.
18194 * gdb.base/shlib-call.exp: Adjust to step over the
18195 gdb_unbuffer_output call.
18196 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18197 (main): Call gdb_unbuffer_output.
18198 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18199 (main): Call gdb_unbuffer_output.
18200 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18201 (main): Rename to ...
18202 (test): ... this.
18203 (main): Reimplement.
18204 * gdb.base/varargs.exp: Run to test instead of to main.
18205 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18206 (main): Call gdb_unbuffer_output.
18207
58789a91
PA
182082015-07-29 Pedro Alves <palves@redhat.com>
18209
18210 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18211 factore out from mi_continue_dprintf. For call-style dprintfs,
18212 expect dprintf output out of $inferior_spawn_id.
18213 (mi_continue_dprintf): Use mi_expect_dprintf.
18214 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18215 (main): Call gdb_unbuffer_output.
18216
e8376742
PA
182172015-07-29 Pedro Alves <palves@redhat.com>
18218
18219 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18220 (default_mi_gdb_start): Set inferior_spawn_id instead of
18221 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18222 gdb_spawn_id.
18223 (mi_gdb_test): Always expect inferior output from both
18224 $inferior_spawn_id and $gdb_spawn_id.
18225
08280010
PA
182262015-07-29 Pedro Alves <palves@redhat.com>
18227
18228 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18229 send_inferior and $inferior_spawn_id.
18230
4d30e432
PA
182312015-07-29 Pedro Alves <palves@redhat.com>
18232
18233 * gdb.gdb/complaints.exp (test_initial_complaints)
18234 (test_serial_complaints, test_short_complaints): Use
18235 gdb_test_stdio.
18236 (test_empty_complaint): Handle $inferior_spawn_id !=
18237 $gdb_spawn_id.
18238
0d30a335
PA
182392015-07-29 Pedro Alves <palves@redhat.com>
18240
18241 * gdb.base/varargs.exp: Use gdb_test_stdio.
18242
39413b29
PA
182432015-07-29 Pedro Alves <palves@redhat.com>
18244
18245 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18246
7cb000a9
PA
182472015-07-29 Pedro Alves <palves@redhat.com>
18248
18249 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18250
d7b8ac82
PA
182512015-07-29 Pedro Alves <palves@redhat.com>
18252
18253 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18254 parameter into two new parameters, "inf_result" and "gdb_result".
18255 Expect inferior output and gdb output from $inferior_spawn_id and
18256 $gdb_spawn_id, respectively. Adjust all callers.
18257
789c3a0c
PA
182582015-07-29 Pedro Alves <palves@redhat.com>
18259
18260 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18261 of gdb_test_sequence.
18262
77e760c3
PA
182632015-07-29 Pedro Alves <palves@redhat.com>
18264
18265 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18266 (saw_spurious_output): Expect inferior output from
18267 $inferior_spawn_id. Use gdb_test_stdio.
18268
8396d2cd
PA
182692015-07-29 Pedro Alves <palves@redhat.com>
18270
18271 * gdb.base/dprintf.exp: Use standard_testfile. Change
18272 prepare_for_testing call.
18273 (srcfile): Don't set.
18274 (restart): New procedure.
18275 (test_dprintf): New procecure, use to continue over dprintfs.
18276 (test_call, test_agent): New procedures, tests moved here.
18277 Restart gdb and recreate dprintfs. Adjust expected output.
18278
2051d61f
PA
182792015-07-29 Pedro Alves <palves@redhat.com>
18280
18281 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18282
452397af
PA
182832015-07-29 Pedro Alves <palves@redhat.com>
18284
18285 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18286
8aed9555
PA
182872015-07-29 Pedro Alves <palves@redhat.com>
18288
18289 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18290 gdb_test_stdio.
18291
188a61b4
PA
182922015-07-29 Pedro Alves <palves@redhat.com>
18293
18294 * lib/gdb.exp (gdb_test_stdio): New procedure.
18295
12264a45
PA
182962015-07-29 Pedro Alves <palves@redhat.com>
18297
18298 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18299
23ffc893
PA
183002015-07-29 Pedro Alves <palves@redhat.com>
18301
18302 * gdb.base/call-signal-resume.exp: Remove check for
18303 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18304 * gdb.base/unwindonsignal.exp: Likewise.
18305 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18306 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18307
65566918
PA
183082015-07-29 Pedro Alves <palves@redhat.com>
18309
18310 * gdb.base/siginfo-addr.c (pass): New function.
18311 (handler): Call it iff si_addr is correct.
18312 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18313 Set a breakpoint at "pass" and continue to it.
18314
d60a9221
SDJ
183152015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18316
18317 * gdb.python/py-objfile.exp: Make some tests have unique names.
18318 * gdb.python/py-pp-registration.exp: Likewise.
18319
bde40b8f
PA
183202015-07-28 Pedro Alves <palves@redhat.com>
18321
18322 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18323
13e1dec8
SM
183242015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18325
18326 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18327
da33c9a7
SM
183282015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18329
18330 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18331
077836f7
PP
183322015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18333
18334 * gdb.base/gdb-sigterm-2.exp: New test.
18335
b8cc7b2e
DE
183362015-07-25 Doug Evans <xdje42@gmail.com>
18337
18338 Revert:
18339 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18340 (workers/%.worker, build-perf): New rule.
18341 (GDB_PERFTEST_MODE): New variable.
18342 (check-perf): Use it.
18343 (clean): Clean up gdb.perf parallel build subdirs.
18344 * lib/build-piece.exp: New file.
18345 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18346 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18347 name.
18348 (standard_temp_file): Ditto.
18349 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18350 of $GDB_PARALLEL.
18351
c8bd4544
DE
183522015-07-24 Doug Evans <dje@google.com>
18353
18354 * gdb.perf/lib/perftest/utils.py: New file.
18355 * gdb.perf/gm-hello.cc: New file.
18356 * gdb.perf/gm-pervasive-typedef.cc: New file.
18357 * gdb.perf/gm-pervasive-typedef.h: New file.
18358 * gdb.perf/gm-std.cc: New file.
18359 * gdb.perf/gm-std.h: New file.
18360 * gdb.perf/gm-use-cerr.cc: New file.
18361 * gdb.perf/gm-utils.h: New file.
18362 * gdb.perf/gmonster-null-lookup.py: New file.
18363 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18364 * gdb.perf/gmonster-print-cerr.py: New file.
18365 * gdb.perf/gmonster-ptype-string.py: New file.
18366 * gdb.perf/gmonster-runto-main.py: New file.
18367 * gdb.perf/gmonster-select-file.py: New file.
18368 * gdb.perf/gmonster1-null-lookup.exp: New file.
18369 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18370 * gdb.perf/gmonster1-print-cerr.exp: New file.
18371 * gdb.perf/gmonster1-ptype-string.exp: New file.
18372 * gdb.perf/gmonster1-runto-main.exp: New file.
18373 * gdb.perf/gmonster1-select-file.exp: New file.
18374 * gdb.perf/gmonster1.cc: New file.
18375 * gdb.perf/gmonster1.exp: New file.
18376 * gdb.perf/gmonster2-null-lookup.exp: New file.
18377 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18378 * gdb.perf/gmonster2-print-cerr.exp: New file.
18379 * gdb.perf/gmonster2-ptype-string.exp: New file.
18380 * gdb.perf/gmonster2-runto-main.exp: New file.
18381 * gdb.perf/gmonster2-select-file.exp: New file.
18382 * gdb.perf/gmonster2.cc: New file.
18383 * gdb.perf/gmonster2.exp: New file.
18384
6eab34f3
DE
183852015-07-24 Doug Evans <dje@google.com>
18386
18387 * gdb.perf/README: New file.
18388 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18389 * lib/gen-perf-test.exp: New file.
18390
63738bfd
DE
183912015-07-24 Doug Evans <dje@google.com>
18392
18393 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18394 (PerfTest::startup): New function.
18395 (PerfTest::run): Return result of calling body.
18396 (PerfTest::assemble): Rewrite.
18397 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18398 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18399 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18400 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18401 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18402
7b606f95
DE
184032015-07-24 Doug Evans <dje@google.com>
18404
18405 * lib/gdb.exp (clean_restart): Make executable optional.
18406
a97b16b8
DE
184072015-07-24 Doug Evans <dje@google.com>
18408
18409 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18410 compiler_info references.
18411 * gdb.cp/temargs.exp: Ditto.
18412 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18413 (get_compiler_info): Early exit if already computed. Set compiler_info
18414 to "unknown" if there was a problem.
18415 (test_compiler_info): Add function comment. Call get_compiler_info.
18416
35baa57f
DE
184172015-07-24 Doug Evans <dje@google.com>
18418
18419 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18420 (workers/%.worker, build-perf): New rule.
18421 (GDB_PERFTEST_MODE): New variable.
18422 (check-perf): Use it.
18423 (clean): Clean up gdb.perf parallel build subdirs.
18424 * lib/build-piece.exp: New file.
18425 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18426 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18427 name.
18428 (standard_temp_file): Ditto.
18429 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18430 of $GDB_PARALLEL.
18431
6ebea266
DE
184322015-07-24 Doug Evans <dje@google.com>
18433
18434 * lib/future.exp (gdb_default_target_compile): New option
18435 "early_flags".
18436 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18437 --as-needed.
18438
1e76a7e9
SDJ
184392015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18440
18441 * gdb.base/catch-syscall.exp: Call gdb_exit before
18442 gdb_skip_xml_test.
18443
5068630a
PA
184442015-07-24 Pedro Alves <palves@redhat.com>
18445
18446 * gdb.python/py-events.exp: Accept output between the stop event
18447 and the prompt.
18448 * gdb.python/py-evsignal.exp: Likewise.
18449 * gdb.python/py-evthreads.exp: Likewise.
18450
77598427
PA
184512015-07-24 Pedro Alves <palves@redhat.com>
18452
18453 PR gdb/18717
18454 * gdb.threads/non-ldr-exit.c: New file.
18455 * gdb.threads/non-ldr-exit.exp: New file.
18456
11e6c98f
YQ
184572015-07-24 Yao Qi <yao.qi@linaro.org>
18458
18459 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18460 restarting process.
18461
51aee833
YQ
184622015-07-24 Yao Qi <yao.qi@linaro.org>
18463
18464 * gdb.server/ext-restart.exp: New file.
18465
8cfe207c
YQ
184662015-07-24 Yao Qi <yao.qi@linaro.org>
18467
18468 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18469 argument options.
18470 * gdb.server/ext-wrapper.exp: New file.
18471
cc12ce38
DE
184722015-07-23 Doug Evans <dje@google.com>
18473
18474 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18475 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18476
d0d84780
PMR
184772015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18478
18479 * gdb.ada/var_arr_typedef.exp: New testcase.
18480 * gdb.ada/var_arr_typedef/pack.adb: New file.
18481 * gdb.ada/var_arr_typedef/pack.ads: New file.
18482 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18483
8b558f79
JB
184842015-07-20 Joel Brobecker <brobecker@adacore.com>
18485
18486 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18487
775a3298
JK
184882015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18489
18490 * gdb.arch/i386-biarch-core.exp: Replace istarget
18491 by "complete set gnutarget". Remove expectation for the "core-file"
18492 command.
18493
db1ff28b
JK
184942015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18495
18496 Revert the previous commit:
18497 Tests for validate symbol file using build-id.
18498
0a94970d
JK
184992015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18500
18501 Tests for validate symbol file using build-id.
18502 * gdb.base/solib-mismatch-lib.c: New file.
18503 * gdb.base/solib-mismatch-libmod.c: New file.
18504 * gdb.base/solib-mismatch.c: New file.
18505 * gdb.base/solib-mismatch.exp: New file.
18506
03346981
SL
185072015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18508
18509 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18510 nios2-*-linux*.
18511 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18512 * gdb.base/siginfo.exp: Likewise.
18513 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18514
42422cc7
PL
185152015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18516
18517 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18518 Move it to ...
18519 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18520 ... here.
18521 * gdb.trace/range-stepping.exp: Check that the target supports
18522 range stepping.
18523
cfa68bae
JK
185242015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18525
18526 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18527
8ffdba26
PA
185282015-07-14 Pedro Alves <palves@redhat.com>
18529
18530 * gdb.base/killed-outside.exp: New file.
18531 * gdb.base/killed-outside.c: New file.
18532
218a5a11
JK
185332015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18534
18535 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18536 (n at main): New.
18537 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18538
e03ed3c6
AA
185392015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18540
18541 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18542 infcall tests instead of setting up for KFAIL.
18543
485668e5
MM
185442015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18545
18546 * gdb.btrace/record_goto-step.exp: New.
18547
08464196
JK
185482015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18549
18550 PR compile/18484
18551 * gdb.compile/compile.c (struct struct_type): Add volatile to
18552 selffield's type.
18553 * gdb.compile/compile.exp
18554 (compile code struct_object.selffield = &struct_object): Skip further
18555 struct_object tests if this one xfails.
18556
bcf5c1d9
RC
185572015-07-08 Robert O'Callahan <robert@ocallahan.org>
18558
18559 PR exp/18617
18560 * gdb.trace/ax.exp: Add test.
18561
4931af25
YQ
185622015-07-07 Yao Qi <yao.qi@linaro.org>
18563
18564 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18565 instead of istarget "aarch64*-*-*".
18566 * gdb.arch/aarch64-fp.exp: Likewise.
18567 * gdb.base/float.exp: Likewise.
18568 * gdb.reverse/aarch64.exp: Likewise.
18569 * lib/gdb.exp (is_aarch64_target): New proc.
18570
9fcf688e
YQ
185712015-07-07 Yao Qi <yao.qi@linaro.org>
18572
18573 * lib/gdb.exp (is_aarch32_target): New proc.
18574 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18575 instead of "istarget "arm*-*-*"".
18576 * gdb.arch/arm-disp-step.exp: Likewise.
18577 * gdb.arch/thumb-bx-pc.exp: Likewise.
18578 * gdb.arch/thumb-prologue.exp: Likewise.
18579 * gdb.arch/thumb-singlestep.exp: Likewise.
18580 * gdb.base/disp-step-syscall.exp: Likewise.
18581 * gdb.base/float.exp: Likewise.
18582
fbd8d50d
YQ
185832015-07-07 Yao Qi <yao.qi@linaro.org>
18584
18585 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18586 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18587
71be1fdc
YQ
185882015-07-07 Yao Qi <yao.qi@linaro.org>
18589
18590 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18591 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18592 if it exists.
18593 * gdb.multi/multi-arch.exp: Likewise.
18594
3e221d36
SM
185952015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18596
18597 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18598 print.
18599
d441430b
YQ
186002015-07-07 Yao Qi <yao.qi@linaro.org>
18601
18602 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18603
06f810bd
MG
186042015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18605
18606 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18607 '[' and ']' characters.
18608
5e61e7c0
IB
186092015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18610
18611 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18612
28bf096c
PA
186132015-06-29 Pedro Alves <palves@redhat.com>
18614
18615 PR threads/18127
18616 * gdb.threads/hand-call-new-thread.c: New file.
18617 * gdb.threads/hand-call-new-thread.c: New file.
18618
ee93cd5e
KS
186192015-06-26 Keith Seitz <keiths@redhat.com>
18620 Doug Evans <dje@google.com>
18621
18622 PR 16253
18623 * gdb.cp/var-tag-2.cc: New file.
18624 * gdb.cp/var-tag-3.cc: New file.
18625 * gdb.cp/var-tag-4.cc: New file.
18626 * gdb.cp/var-tag.cc: New file.
18627 * gdb.cp/var-tag.exp: New file.
18628
fc637f04
PP
186292015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18630
18631 * gdb.base/history-duplicates.exp: New test.
18632
2e52ae68
PP
186332015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18634
18635 * gdb.base/completion.exp: Test the completion of the "focus"
18636 command.
18637
6e22494e
JK
186382015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18639
18640 * gdb.arch/amd64-prologue-skip.S: New file.
18641 * gdb.arch/amd64-prologue-skip.exp: New file.
18642
bf7b9cd9
SM
186432015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18644
18645 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18646 is_address_zero_readable check.
18647
201e8dfd
PB
186482015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18649
18650 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18651 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18652
5cd867b4
YQ
186532015-06-24 Yao Qi <yao.qi@linaro.org>
18654
18655 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18656 linux targets.
18657
4d7be007
YQ
186582015-06-24 Yao Qi <yao.qi@linaro.org>
18659
18660 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18661 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18662 * gdb.base/siginfo-thread.exp: Likewise.
18663
07fcd301
YQ
186642015-06-22 Yao Qi <yao.qi@linaro.org>
18665
18666 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18667
52042a00
YQ
186682015-06-22 Yao Qi <yao.qi@linaro.org>
18669
18670 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18671 aarch64*-*-*.
18672 (skip_hw_watchpoint_tests): Likewise.
18673
74bd41ce
PP
186742015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18675
18676 * gdb.base/gdbinit-history.exp: Test the interaction between
18677 setting GDBHISTSIZE and setting the history size via .gdbinit.
18678
bc460514
PP
186792015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18680
18681 PR gdb/16999
18682 * gdb.base/gdbhistsize-history.exp: New test.
18683
b58c513b
PP
186842015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18685
18686 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18687 with GDBHISTSIZE.
18688 * gdb.base/readline.exp: Likewise.
18689
92046791
YQ
186902015-06-17 Yao Qi <yao.qi@linaro.org>
18691
18692 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18693 line.
18694
2093d2d3
PP
186952015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18696
18697 * gdb.base/gdbinit-history.exp: Add test case to check that
18698 an unlimited history file does not get truncated on exit.
18699
e6c693af
AA
187002015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18701
18702 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18703 (VECTOR): New macro. Use it...
18704 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18705 ...for these typedefs.
18706 (int8, char1, int1, double1): New typedefs.
18707 (struct just_int2, struct two_int2): New structures.
18708 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18709 (add_structvecs, add_singlevecs): New functions.
18710 (main): Call add_some_intvecs twice.
18711 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18712 the compile and exit upon failure. Try compiling for the "native"
18713 architecture. Test inferior function calls with vector arguments
18714 and vector return value handling with "finish" and "return".
18715
c74f7d1c
JT
187162015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18717
18718 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18719 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18720 PE file.
18721 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18722
98aa42ee
AT
187232015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18724
18725 PR breakpoints/16465
18726 * gdb.mi/mi-dprintf-pending.c: New file.
18727 * gdb.mi/mi-dprintf-pending.exp: New test.
18728 * gdb.mi/mi-dprintf-pendshr.c: New file.
18729
7d73c23c 187302015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18731 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18732
18733 * gdb.arch/i386-mpx-map.c: New file.
18734 * gdb.arch/i386-mpx-map.exp: New File.
18735
187362015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18737
18738 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18739 * gdb.arch/i386-mpx.exp: Indentation fixed.
18740
187412015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18742
18743 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18744 function and improved indentation.
18745 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18746 gdb_test_multiple. Added additional tests to skip the test.
18747
187482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18749
18750 * gdb.arch/i386-avx512.c: Change path in include file.
18751 * gdb.arch/i386-avx512.exp: Change include dir path
18752 compilation flag.
18753 * gdb.arch/i386-mpx.c: Change path in include file.
18754 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18755 flag.
18756
d5eba19a
JK
187572015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18758
18759 * gdb.compile/compile-print.exp (compile print *vararray@3)
18760 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18761
7f361056
JK
187622015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18763
18764 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18765 (do not keep jit in memory): ... this.
18766 (expect 5): Change it to ...
18767 (expect no 5): ... this.
18768
3b462ec2
SM
187692015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18770
18771 PR gdb/15564
18772 * gdb.mi/mi-detach.exp: New file.
18773
e0619de6
JK
187742015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18775
18776 PR symtab/18392
18777 * gdb.arch/amd64-tailcall-self.S: New file.
18778 * gdb.arch/amd64-tailcall-self.c: New file.
18779 * gdb.arch/amd64-tailcall-self.exp: New file.
18780
e970cb34
DB
187812015-05-28 Don Breazeal <donb@codesourcery.com>
18782
18783 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18784 tests for remote targets by checking is_target_gdbserver.
18785
b2e2f908
DE
187862015-05-27 Doug Evans <dje@google.com>
18787
18788 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18789 * gdb.dwarf2/opaque-type-lookup.c: New file.
18790 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18791
82c7be31
DE
187922015-05-26 Doug Evans <dje@google.com>
18793
18794 * gdb.cp/iostream.cc: New file.
18795 * gdb.cp/iostream.exp: New file.
18796
b4f54984
DE
187972015-05-26 Doug Evans <dje@google.com>
18798
18799 * gdb.dwarf2/dw2-op-call.exp: Update.
18800 * gdb.dwarf2/dw4-sig-types.exp: Update.
18801 * gdb.dwarf2/implptr.exp: Update.
18802 * gdb.mi/mi-cmd-param-changed.exp: Update.
18803
4ea6efe9
DE
188042015-05-26 Doug Evans <dje@google.com>
18805
18806 * gdb.python/py-lazy-string.c: New file.
18807 * gdb.python/py-lazy-string.exp: New file.
18808 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18809 (main): Update. Add estring3.
18810 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18811 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18812
f6bb7db3
YQ
188132015-05-26 Omair Javaid <omair.javaid@linaro.org>
18814 Yao Qi <yao.qi@linaro.org>
18815
18816 * gdb.reverse/aarch64.c: New.
18817 * gdb.reverse/aarch64.exp: New.
18818
a81bfbd0
OJ
188192015-05-26 Omair Javaid <omair.javaid@linaro.org>
18820
25d49b86
PA
18821 * lib/gdb.exp (supports_process_record): Return true for
18822 aarch64*-linux*.
a81bfbd0
OJ
18823 (supports_reverse): Likewise.
18824
158bf1b4
PP
188252015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18826
18827 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18828 Use with_test_prefix.
18829
a0145030
AB
188302015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18831
18832 * gdb.base/completion.exp: Add test for completion of layout
18833 names.
18834
ebe3b578
AB
188352015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18836
18837 * lib/gdb.exp (skip_tui_tests): New proc.
18838 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18839
84204ed7
PA
188402015-05-19 Pedro Alves <palves@redhat.com>
18841
18842 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18843 Save the whole env array instead of just HOME. Unset HISTSIZE in
18844 the environment while testing. Restore whole environment
18845 afterwards.
18846
37442ce1
DE
188472015-05-16 Doug Evans <xdje42@gmail.com>
18848
18849 * gdb.guile/scm-ports.c: New file.
18850 * gdb.guile/scm-ports.exp: Add memory port tests.
18851
36de76f9
JK
188522015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18853
18854 * gdb.compile/compile-print.c: New file.
18855 * gdb.compile/compile-print.exp: New file.
18856
3a9558c4
JK
188572015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18858
18859 * gdb.compile/compile-ops.exp: Cast param to void.
18860 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18861 (compile code struct_object.selffield = &struct_object): Add xfail.
18862
aa715135
JG
188632015-05-15 Joel Brobecker <brobecker@adacore.com>
18864
18865 * gdb.ada/arr_enum_with_gap: New testcase.
18866
931e5bc3
JG
188672015-05-15 Joel Brobecker <brobecker@adacore.com>
18868
18869 * gdb.ada/byte_packed_arr: New testcase.
18870
9cd4d857
JB
188712015-05-15 Joel Brobecker <brobecker@adacore.com>
18872
18873 * gdb.ada/pckd_neg: New testcase.
18874
ebfd00d2
PP
188752015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18876
18877 PR gdb/17820
18878 * gdb.base/gdbinit-history.exp: New test.
18879 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18880 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18881
4c082a81
SC
188822015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18883
18884 * gdb.python/py-xmethods.cc: Enhance test case.
18885 * gdb.python/py-xmethods.exp: New tests.
18886 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18887 function.
18888 (B_indexoper): Likewise.
18889 (global_dm_list) : Add new xmethod worker functions.
18890
f7797074
SDJ
188912015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18892
18893 * gdb.base/coredump-filter.exp: Correctly unset
18894 "coredump_var_addr" array.
18895
a4674e4e
PA
188962015-05-08 Pedro Alves <palves@redhat.com>
18897
18898 * gdb.server/non-existing-program.exp: Unset spawn_id.
18899
df2eb078
SC
189002015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18901
18902 PR python/18291
18903 * gdb.python/py-xmethods.exp: Add tests.
18904
422349a3
YQ
189052015-05-08 Yao Qi <yao.qi@linaro.org>
18906
18907 PR gdb/18208
18908 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18909 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18910 function set_coredump_filter, and remove remote_exec call.
18911 Remove argument ipid. Callers update.
18912 (top level): Don't get inferior's PID.
18913
63fc80ce
AA
189142015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18915
18916 * gdb.base/watch_thread_num.exp: Skip test on targets without
18917 access watchpoints.
18918
80ad801e
PA
189192015-05-06 Pedro Alves <palves@redhat.com>
18920
18921 PR server/18081
18922 * gdb.server/non-existing-program.exp: New file.
18923
0fa7fe50
JB
189242015-05-05 Joel Brobecker <brobecker@adacore.com>
18925
18926 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18927
3ea89b92
PMR
189282015-05-05 Joel Brobecker <brobecker@adacore.com>
18929
18930 * gdb.ada/out_of_line_in_inlined: New testcase.
18931
87b8eff0
JB
189322015-05-05 Joel Brobecker <brobecker@adacore.com>
18933
18934 * gdb.ada/var_rec_arr: New testcase.
18935
5fccc635
YQ
189362015-04-30 Yao Qi <yao.qi@linaro.org>
18937
18938 * gdb.base/break-idempotent.exp: If
18939 skip_hw_watchpoint_multi_tests returns true, skip the tests
18940 on "rwatch" and "awatch".
18941
42d38f42
YQ
189422015-04-30 Yao Qi <yao.qi@linaro.org>
18943
18944 * gdb.base/relativedebug.exp: Invoke gdb command
18945 "info sharedlibrary", and if libc.so doesn't have debug info,
18946 skip the test.
18947
2ce1cdbf
DE
189482015-04-29 Doug Evans <dje@google.com>
18949
18950 * gdb.python/py-xmethods.exp: Add ptype tests.
18951 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18952 get_result_type method.
18953
f24a38c5
LM
189542015-04-29 Luis Machado <lgustavo@codesourcery.com>
18955
18956 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18957 the target does not support hardware watchpoints.
18958
ecbf2b3c
LM
189592015-04-29 Luis Machado <lgustavo@codesourcery.com>
18960
18961 * gdb.base/break-always.exp: Abort testing if writing to memory
18962 causes an error.
18963
34f5f757
DE
189642015-04-28 Doug Evans <dje@google.com>
18965
18966 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18967 * gdb.python/py-pp-registration.exp: ... here. New file.
18968 * gdb.python/py-pp-registration.c: New file.
18969 * gdb.python/py-pp-registration.py: New file.
18970
69b4374a
DE
189712015-04-28 Doug Evans <dje@google.com>
18972
18973 * gdb.python/py-bad-printers.c: New file.
18974 * gdb.python/py-bad-printers.py: New file.
18975 * gdb.python/py-bad-printers.exp: New file.
18976
59fb7612
SS
189772015-04-28 Sasha Smundak <asmundak@google.com>
18978
18979 * gdb.python/py-type.exp: New test.
18980
2631b16a
AW
189812015-04-28 Andy Wingo <wingo@igalia.com>
18982
18983 * gdb.python/py-parameter.exp:
18984 * gdb.guile/scm-parameter.exp: Escape the path that we are
18985 matching against, as it might contain characters that are special
18986 to regular expressions.
18987
460efde1
JB
189882015-04-27 Joel Brobecker <brobecker@adacore.com>
18989
18990 * gdb.ada/rec_comp: New testcase.
18991
2d369d8e
SDJ
189922015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18993
18994 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18995 before using it.
18996
cf75d6c3
AB
189972015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18998
18999 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19000 new tests for verilog output.
19001
8dbe7ca5
YQ
190022015-04-24 Yao Qi <yao.qi@linaro.org>
19003
19004 * boards/remote-gdbserver-on-localhost.exp: New file.
19005
4ef9fb2f
PA
190062015-04-23 Pedro Alves <palves@redhat.com>
19007
19008 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19009 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19010 "end of file", remove $inferior_spawn_id from the indirect list.
19011
0a803169
PA
190122015-04-23 Pedro Alves <palves@redhat.com>
19013
19014 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19015
749ef8f8
PA
190162015-04-23 Pedro Alves <palves@redhat.com>
19017
19018 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19019 on $any_spawn_id instead of only on $gdb_spawn_id.
19020
8aae4344
PM
190212015-04-21 Pierre Muller <muller@sourceware.org>
19022
19023 PR pascal/17815
19024 * lib/pascal.exp (gpc_compile): Add new option "class".
19025 (fpc_compile): Likewise.
19026 * gdb.pascal/case-insensitive-symbols.pas: New file.
19027 * gdb.pascal/case-insensitive-symbols.exp: New file.
19028
1586c8fb
GB
190292015-04-20 Gary Benson <gbenson@redhat.com>
19030
19031 * gdb.base/attach.exp: Fix three extended remote failures.
19032
1b6e6f5c
GB
190332015-04-17 Gary Benson <gbenson@redhat.com>
19034
19035 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19036 the main executable over the remote protocol.
19037
e797481d
PA
190382015-04-16 Pedro Alves <palves@redhat.com>
19039
19040 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19041 a new gdbserver if gdbserver_reconnect_p is set.
19042
1ca99c42
PA
190432015-04-16 Pedro Alves <palves@redhat.com>
19044
19045 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19046 is set, don't exit gdbserver.
19047
af9fd6f8
AA
190482015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19049
19050 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19051 appropriate .insn, such that an older assembler can be used.
19052 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19053 the z/Architecture instruction set on 31-bit targets as well.
19054
04ff1e61
AA
190552015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19056
19057 * gdb.go/handcall.exp: Remove all logic related to the first
19058 breakpoint and rely on go_runto_main instead.
19059 * gdb.go/strings.exp: Likewise.
19060 * gdb.go/unsafe.exp: Likewise.
19061 * gdb.go/hello.exp: Likewise. Also rename the remaining
19062 breakpoint marker to "breakpoint 1".
19063 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19064 * gdb.go/strings.go: Likewise.
19065 * gdb.go/unsafe.go: Likewise.
19066 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19067 "set breakpoint 2 here" and rename the remaining breakpoint marker
19068 to "breakpoint 1".
19069
40d2f8d6
SM
190702015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19071
19072 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19073 if itertools.imap is not present.
19074 * gdb.python/py-objfile.exp: Add parentheses.
19075 * gdb.python/py-type.exp: Same.
19076 * gdb.python/py-unwind-maint.py: Same.
19077
8cbc97c6
YQ
190782015-04-15 Yao Qi <yao.qi@linaro.org>
19079
19080 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19081 of ":$ptr_size" and set its form explicitly.
19082
45fd756c
YQ
190832015-04-15 Pedro Alves <palves@redhat.com>
19084 Yao Qi <yao.qi@linaro.org>
19085
19086 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19087 timeout by factor of 4.
19088 (test_regular_watch): Likewise.
19089 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19090 * gdb.reverse/sigall-reverse.exp: Likewise.
19091 * gdb.reverse/until-precsave.exp: Likewise.
19092 * lib/gdb.exp (with_timeout_factor): New proc.
19093 (gdb_expect): Move some code to ...
19094 (get_largest_timeout): ... here. New procedure.
19095
9e811bc3
LM
190962015-04-14 Luis Machado <lgustavo@codesourcery.com>
19097
19098 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19099
0ff6fcb2
LM
191002015-04-13 Luis Machado <lgustavo@codesourcery.com>
19101
19102 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19103 to write to the .text section.
19104
7578d5f7
LM
191052015-04-13 Luis Machado <lgustavo@codesourcery.com>
19106
19107 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19108 Handle the case of targets that do not provide PID information.
19109
2efe15c4
YQ
191102015-04-13 Yao Qi <yao.qi@linaro.org>
19111
19112 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19113 and use expect instead of gdb_expect.
19114
8cd8f2f8
SDJ
191152015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19116
19117 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19118 "coredump_var_addr" to avoid naming conflict with other testcases.
19119
9ee41772
PA
191202015-04-10 Pedro Alves <palves@redhat.com>
19121
19122 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19123 gdb_test_sequence and gdb_assert.
19124
07473109
PA
191252015-04-10 Pedro Alves <palves@redhat.com>
19126
19127 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19128 test messages that don't include the breakpoint address.
19129
de3db44c
YQ
191302015-04-10 Yao Qi <yao.qi@linaro.org>
19131
19132 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19133 false for some offset and width combinations which aren't
19134 supported by linux kernel.
19135
c79d856c
PA
191362015-04-10 Pedro Alves <palves@redhat.com>
19137
19138 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19139 procedure, factored out from ...
19140 (top level): ... here. Add "set displaced-stepping" testing axis.
19141 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19142 parameter "displaced". Use it.
19143 (top level): Use foreach and add "set displaced-stepping" testing
19144 axis.
19145
ebc90b50
PA
191462015-04-10 Pedro Alves <palves@redhat.com>
19147
19148 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19149 Remove comment.
19150 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19151 both the address of the instruction that triggers the watchpoint
19152 and the address of the instruction immediately after, and use
19153 those addresses for the test. Fix comment.
19154
8f572e5c
PA
191552015-04-10 Pedro Alves <palves@redhat.com>
19156
19157 * gdb.base/sigstep.exp (breakpoint_to_handler)
19158 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19159 Test "backtrace" in handler.
19160 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19161 (top level): Add new "displaced" test axis to
19162 breakpoint_to_handler, breakpoint_to_handler_entry and
19163 breakpoint_over_handler.
19164
8d707a12
PA
191652015-04-10 Pedro Alves <palves@redhat.com>
19166
19167 PR gdb/18216
19168 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19169
ef713951
YQ
191702015-04-10 Yao Qi <yao.qi@linaro.org>
19171
19172 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19173 (test_add_rn_pc): New function.
19174 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19175 (top level): Invoke test_add_rn_pc.
19176
906d60cf
PA
191772015-04-10 Pedro Alves <palves@redhat.com>
19178
19179 PR gdb/13858
19180 * gdb.base/step-over-no-symbols.exp: New file.
19181
f2983cc3
AW
191822015-04-09 Andy Wingo <wingo@igalia.com>
19183
19184 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19185 after the Python tests.
19186
6d62641c
SDJ
191872015-04-08 Keith Seitz <keiths@redhat.com>
19188
19189 PR python/16699
19190 * gdb.python/py-completion.exp: New tests for completion.
19191 * gdb.python/py-completion.py (CompleteLimit1): New class.
19192 (CompleteLimit2): Likewise.
19193 (CompleteLimit3): Likewise.
19194 (CompleteLimit4): Likewise.
19195 (CompleteLimit5): Likewise.
19196 (CompleteLimit6): Likewise.
19197 (CompleteLimit7): Likewise.
19198
f3770638
PA
191992015-04-08 Pedro Alves <palves@redhat.com>
19200
19201 PR gdb/18214
19202 PR gdb/18216
19203 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19204 function.
19205 (main): Install it as SIGUSR1 handler.
19206 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19207 parameter. Always use "setup" as prefix. Toggle "set
19208 displaced-stepping" off/on depending on global. Don't switch to
19209 thread 1 here.
19210 (top level): Add displaced stepping "off/on" test axis. Update
19211 "setup" calls. Wrap each subtest with with_test_prefix. Test
19212 continuing with a queued signal in each thread.
19213
4496bed7
PA
192142015-04-08 Pedro Alves <palves@redhat.com>
19215
19216 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19217 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19218 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19219 Return early if running to main fails.
19220 * gdb.trace/while-stepping.exp: Likewise.
19221
b97fde92
PA
192222015-04-07 Pedro Alves <palves@redhat.com>
19223
19224 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19225 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19226 interact with inferior program.
19227
f71c18e7
PA
192282015-04-07 Pedro Alves <palves@redhat.com>
19229
19230 * lib/gdb.exp (inferior_spawn_id): New global.
19231 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19232 spawn id after processing the user code.
19233 (default_gdb_start): Set inferior_spawn_id.
19234 (send_inferior): New procedure.
19235 * lib/gdbserver-support.exp (gdbserver_start): Set
19236 inferior_spawn_id.
19237 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19238
6423214f
PA
192392015-04-07 Pedro Alves <palves@redhat.com>
19240
19241 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19242 * lib/gdbserver-support.exp (gdbserver_start): Make
19243 $server_spawn_id global.
19244 (gdbserver_start): Don't wait for gdbserver's spawn id with
19245 expect_background.
19246 (close_gdbserver): New procedure.
19247 (gdb_exit): Rename the default version and reimplement.
19248
71c0ee8c
PA
192492015-04-07 Pedro Alves <palves@redhat.com>
19250
72f4393d 19251 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19252 append the substituted item, not the original item.
19253
203bc29b
PA
192542015-04-07 Pedro Alves <palves@redhat.com>
19255
19256 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19257 gdb_expect.
19258
508a3ddf
PA
192592015-04-07 Pedro Alves <palves@redhat.com>
19260
19261 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19262 output appearing once only.
19263
9f6dbe2b
PA
192642015-04-07 Pedro Alves <palves@redhat.com>
19265
19266 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19267 that doesn't expect anything. Return early if running to main
19268 fails.
19269
337532fa
YQ
192702015-04-07 Yao Qi <yao.qi@linaro.org>
19271
19272 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19273 (child_function): Call alarm.
19274 (main): Move call to alarm into the loop.
19275 * gdb.threads/non-stop-fair-events.exp: Build program with
19276 -DTIMEOUT=$timeout.
19277
01b622d4
DE
192782015-04-06 Doug Evans <xdje42@gmail.com>
19279
19280 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19281 Fix dest parameter to board_info.
19282 (fpc_compile): Ditto.
19283 (gdb_compile_pascal): Rename dest arg to destfile.
19284
961f4160
PMR
192852015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19286
19287 * gdb.ada/funcall_ref.exp: New file.
19288 * gdb.ada/funcall_ref/foo.adb: New file.
19289
cafda597
YQ
192902015-04-02 Yao Qi <yao.qi@linaro.org>
19291
19292 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19293 is remote.
19294
fed040c6
GB
192952015-04-02 Gary Benson <gbenson@redhat.com>
19296
19297 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19298
d11916aa
SS
192992015-04-01 Sasha Smundak <asmundak@google.com>
19300
19301 * gdb.python/py-unwind-maint.c: New file.
19302 * gdb.python/py-unwind-maint.exp: New test.
19303 * gdb.python/py-unwind-maint.py: New file.
19304 * gdb.python/py-unwind.c: New file.
19305 * gdb.python/py-unwind.exp: New test.
19306 * gdb.python/py-unwind.py: New test.
19307
a1471180
PA
193082015-04-01 Pedro Alves <palves@redhat.com>
19309
19310 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19311 to fail instead of non-existent $test.
19312
0bbeccb1
PA
193132015-04-01 Pedro Alves <palves@redhat.com>
19314
19315 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19316 GDBFLAGS if not empty.
19317
3c724c8c
PMR
193182015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19319
19320 * gdb.ada/complete.exp: Remove "multi_line".
19321 * gdb.ada/info_exc.exp: Remove "multi_line".
19322 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19323 * gdb.ada/ptype_field.exp: Remove "multi_line".
19324 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19325 * gdb.ada/tagged.exp: Remove "multi_line".
19326 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19327 [multi_line ...]
19328 * gdb.btrace/delta.exp: Likewise.
19329 * gdb.btrace/exception.exp: Likewise.
19330 * gdb.btrace/function_call_history.exp: Likewise.
19331 * gdb.btrace/instruction_history.exp: Likewise.
19332 * gdb.btrace/nohist.exp: Likewise.
19333 * gdb.btrace/record_goto.exp: Likewise.
19334 * gdb.btrace/segv.exp: Likewise.
19335 * gdb.btrace/stepi.exp: Likewise.
19336 * gdb.btrace/tailcall.exp: Likewise.
19337 * gdb.btrace/unknown_functions.exp: Likewise.
19338 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19339 * lib/gdb.exp: Add the "multi_line" helper.
19340
4eec2deb
PA
193412015-04-01 Pedro Alves <palves@redhat.com>
19342
19343 * gdb.threads/tid-reuse.c: New file.
19344 * gdb.threads/tid-reuse.exp: New file.
19345
df8411da
SDJ
193462015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19347
19348 PR corefiles/16092
19349 * gdb.base/coredump-filter.c: New file.
19350 * gdb.base/coredump-filter.exp: Likewise.
19351
6ef37366
PM
193522015-03-27 Petr Machata <pmachata@redhat.com>
19353
19354 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19355 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19356 (Dwarf::assemble): Initialize them.
19357 (Dwarf::lines): New function.
19358
7ec911b0
JT
193592015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19360
19361 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19362 SYMBOL_PREFIX for x86_64-*-cygwin.
19363
ff908ebf
AW
193642015-03-26 Andy Wingo <wingo@igalia.com>
19365
19366 PR symtab/18148
19367 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19368 const_value but not a location.
19369 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19370 location defined in non-main CUs are visible.
19371
6d5f0679
YQ
193722015-03-26 Yao Qi <yao.qi@linaro.org>
19373
19374 PR testsuite/18139
19375 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19376 Add a line number entry for the same line.
19377 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19378 Add a line number entry for the same line.
19379
2898689b
YQ
193802015-03-26 Yao Qi <yao.qi@linaro.org>
19381
19382 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19383 .int 0.
19384 (func): Likewise. Add .Lfunc_1 label.
19385 Use .Lfunc_1 label.
19386 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19387 .int 0.
19388 (func): Likewise.
19389 Use .Lfunc_1 label.
19390
85180498
YQ
193912015-03-26 Yao Qi <yao.qi@linaro.org>
19392
19393 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19394 Call gdb_compile instead to compile each .s files without debug
19395 information.
19396
8aa08a8d
YQ
193972015-03-26 Yao Qi <yao.qi@linaro.org>
19398
19399 * gdb.base/savedregs.exp (process_saved_regs): Make
19400 "Saved registers:" optional in the pattern.
19401
66849923
MM
194022015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19403
19404 * gdb.btrace/next.exp: Merged into step.exp.
19405 * gdb.btrace/finish.exp: Merged into step.exp.
19406 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19407 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19408 "record goto" and checking the exact replay position.
19409 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19410 check for "Recording format" in "info record" output.
19411 * gdb.btrace/record_goto.exp: Choose test file based on target.
19412 * gdb.btrace/x86-record_goto.S: Renamed into ...
19413 * gdb.btrace/x86_64-record_goto.S: ... this.
19414 * gdb.btrace/i686-record_goto.S: New.
19415 * gdb.btrace/x86-tailcall.S: Renamed into ...
19416 * gdb.btrace/x86_64-tailcall.S: ... this.
19417 * gdb.btrace/i686-tailcall.S: New.
19418 * gdb.btrace/x86-tailcall.c: Renamed into ...
19419 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19420 separate statements. Update test.
19421 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19422 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19423 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19424 * gdb.btrace/tailcall.exp: Choose test file based on target.
19425 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19426
11cc1b74
MM
194272015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19428
19429 * gdb.btrace/exception.exp: Increase BTS buffer size.
19430
a25d8bf9
PA
194312015-03-24 Pedro Alves <palves@redhat.com>
19432
19433 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19434
856e7dd6
PA
194352015-03-24 Pedro Alves <palves@redhat.com>
19436
19437 * gdb.threads/schedlock.exp (test_step): No longer expect that
19438 "set scheduler-locking step" with "next" over a function call runs
19439 threads unlocked.
19440
ad235a41
AT
194412015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19442
19443 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19444
15630549
AT
194452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19446
19447 PR breakpoints/16466
19448 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19449 * gdb.mi/mi-pending.c (thread_func): New function.
19450 (int main): Add threading support required.
19451 * gdb.mi/mi-pending.exp: Add tests for this issue.
19452 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19453 (pendfunc2): Remove stdio dependency.
19454 * gdb.mi/mi-pendshr2.c: New file.
19455
693dca06
KS
194562015-03-23 Keith Seitz <keiths@redhat.com>
19457
19458 * gdb.linespec/keywords.c: New file.
19459 * gdb.linespec/keywords.exp: New file.
19460
7e993ebf
KS
194612015-03-23 Keith Seitz <keiths@redhat.com>
19462
19463 PR gdb/18021
19464 * gdb.dwarf2/staticvirtual.exp: New test.
19465
bc23328c
JK
194662015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19467
19468 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19469 * README: Remove HP-UX and gdb.hp.
19470 (configuration):
19471 * configure: Regenerate.
19472 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19473 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19474 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19475 gdb.hp/gdb.defects/Makefile.
19476 * gdb.hp/Makefile.in: File deleted.
19477 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19478 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19479 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19480 * gdb.hp/gdb.aCC/run.c: File deleted.
19481 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19482 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19483 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19484 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19485 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19486 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19487 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19488 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19489 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19490 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19491 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19492 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19493 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19494 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19495 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19496 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19497 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19498 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19499 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19500 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19501 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19502 * gdb.hp/gdb.compat/average.c: File deleted.
19503 * gdb.hp/gdb.compat/sum.c: File deleted.
19504 * gdb.hp/gdb.compat/xdb.c: File deleted.
19505 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19506 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19507 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19508 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19509 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19510 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19511 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19512 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19513 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19514 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19515 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19516 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19517 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19518 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19519 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19520 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19521 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19522 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19523 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19524 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19525 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19526 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19527 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19528 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19529 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19530 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19531 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19532 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19533 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19534 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19535 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19536 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19537 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19538 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19539 * gdb.hp/tools/odump: File deleted.
19540
8bf3b159
PA
195412015-03-19 Pedro Alves <palves@redhat.com>
19542
19543 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19544 (saw_thread_3): New globals.
19545 (top level): Increment them when an event for the corresponding
19546 thread is seen.
19547 (no thread starvation): New test.
19548
eb54c8bf
PA
195492015-03-19 Pedro Alves <palves@redhat.com>
19550
19551 * gdb.threads/continue-pending-status.c: New file.
19552 * gdb.threads/continue-pending-status.exp: New file.
19553
32d2e5d6
PA
195542015-03-18 Pedro Alves <palves@redhat.com>
19555
19556 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19557 Use gdb_is_target_remote instead of is_remote. Use
19558 gdb_test_multiple instead of gdb_expect. Exit early if
19559 gdb_test_multiple hits its internal matches. Tighten stepi tests
19560 expected output. Fail on exit with any signal, instead of just
19561 SIGILL.
19562
f68f11b7
YQ
195632015-03-18 Yao Qi <yao.qi@linaro.org>
19564
19565 PR tdep/18107
19566 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19567 variable.
19568 * gdb.base/catch-syscall.exp: Don't skip it on
19569 aarch64*-*-linux* target. Remove elements in all_syscalls.
19570 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19571 target.
19572 (setup_all_syscalls): New proc.
19573
ca5fd19b
YQ
195742015-03-16 Yao Qi <yao.qi@linaro.org>
19575
19576 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19577 (top level): Skip tests if valid_addr_p returns false for
19578 $cmd1 or $cmd2.
19579
85642ba0
AW
195802015-03-11 Andy Wingo <wingo@igalia.com>
19581
19582 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19583
e03f9645
YQ
195842015-03-11 Yao Qi <yao.qi@linaro.org>
19585
19586 * gdb.base/catch-syscall.exp: Fix typo in comments.
19587
5d0962b2
YQ
195882015-03-11 Yao Qi <yao.qi@linaro.org>
19589
19590 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19591
b2df3cef
PA
195922015-03-09 Pedro Alves <palves@redhat.com>
19593
19594 * dg-extract-results.py: Delete.
19595
ef878e53
PA
195962015-03-09 Pedro Alves <palves@redhat.com>
19597
19598 Merge dg-extract-results.sh from GCC upstream (r218843).
19599
19600 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19601 * dg-extract-results.sh: Use --text with grep to avoid issues with
19602 binary files. Fall back to cat -v, if that doesn't work.
19603
9494d219
PA
196042015-03-05 Pedro Alves <palves@redhat.com>
19605
19606 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19607
a8d9763a
SM
196082015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19609
19610 * lib/mi-support.exp (mi_expect_interrupt): Accept
19611 alternative event for when in all-stop mode.
19612
be9957b8
PA
196132015-03-04 Pedro Alves <palves@redhat.com>
19614
19615 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19616
d57be0f4 196172015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19618
19619 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19620
c214c7cf
AA
196212015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19622
19623 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19624 regexps for GDB's current line display, accept a hex address
19625 preceding the line number.
19626
6d74a497
AA
196272015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19628
19629 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19630 the 'arch1' variable for "s390*-linux*" targets.
19631
511aee7c
PA
196322015-03-04 Pedro Alves <palves@redhat.com>
19633
19634 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19635 (main): Pass missing retval argument to pthread_join call.
19636
95e50b27
PA
196372015-03-02 Pedro Alves <palves@redhat.com>
19638
19639 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19640 (top level): Call do_test with non-stop as well.
19641
28054d69
PA
196422015-03-02 Pedro Alves <palves@redhat.com>
19643
19644 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19645 -1.
19646
4fa5d7b4
AA
196472015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19648
19649 * gdb.arch/s390-vregs.exp: New test.
19650 * gdb.arch/s390-vregs.S: New file.
19651
97c18565
PA
196522015-02-27 Pedro Alves <palves@redhat.com>
19653
19654 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19655 call to catch_command_errors.
19656 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19657 catch_command_errors.
19658
a37bfa30
PA
196592015-02-27 Pedro Alves <palves@redhat.com>
19660
19661 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19662 "true" for boolean result.
19663 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19664 prototype of main.
19665
6f98576f
PA
196662015-02-27 Pedro Alves <palves@redhat.com>
19667
19668 * lib/unbuffer_output.c: New file.
19669 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19670 (main): Call gdb_unbuffer_output.
19671
eba5ab56
YQ
196722015-02-27 Yao Qi <yao.qi@linaro.org>
19673
19674 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19675 target.
19676
0def5aaa
DE
196772015-02-26 Doug Evans <dje@google.com>
19678
19679 * gdb.cp/class2.cc (Dbase, D): New classes.
19680 (main): New local delta.
19681 * gdb.cp/class2.exp: Test printing delta.
19682 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19683 (dynbar): New global.
19684 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19685
081a1c2c
JK
196862015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19687
19688 * gdb.compile/compile-ifunc.c: New file.
19689 * gdb.compile/compile-ifunc.exp: New file.
19690
2f41223f
AT
196912015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19692
19693 * gdb.base/structs.exp: Check for correct struct on finish.
19694
03eddd80
YQ
196952015-02-26 Yao Qi <yao.qi@linaro.org>
19696
19697 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19698 is zero.
19699
80c57053
JK
197002015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19701
19702 * gdb.arch/cordic.ko.bz2: New file.
19703 * gdb.arch/cordic.ko.debug.bz2: New file.
19704 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19705
21613c12
YQ
197062015-02-25 Yao Qi <yao.qi@linaro.org>
19707
19708 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19709 aarch64*-*-* target.
19710
d8b901ed
PA
197112015-02-23 Pedro Alves <palves@redhat.com>
19712
19713 * lib/gdb.exp (delete_breakpoints): Rewrite using
19714 gdb_test_multiple.
19715
e5b85ead
PA
197162015-02-23 Pedro Alves <palves@redhat.com>
19717
19718 * gdb.base/info-os.c: Include stdlib.h.
19719
85c3a371
DE
197202015-02-22 Doug Evans <xdje42@gmail.com>
19721
19722 PR symtab/17855
19723 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19724 is read after symbols have been re-read.
19725 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19726 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19727
96553a0c
DE
197282015-02-21 Doug Evans <dje@google.com>
19729
19730 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19731
97a0c697
JK
197322015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19733
19734 PR corefiles/17808
19735 * gdb.arch/i386-biarch-core.core.bz2: New file.
19736 * gdb.arch/i386-biarch-core.exp: New file.
19737
a47cd6e9
PA
197382015-02-21 Pedro Alves <palves@redhat.com>
19739
19740 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19741 runto_main fails.
19742
c5facdc4
PA
197432015-02-20 Pedro Alves <palves@redhat.com>
19744
19745 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19746 info probes.
19747
2db9a427
PA
197482015-02-20 Pedro Alves <palves@redhat.com>
19749
19750 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19751
60fb7e9e
PA
197522015-02-20 Pedro Alves <palves@redhat.com>
19753
19754 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19755 clean_restart before gdb_target_supports_trace.
19756
5c5019c2
PA
197572015-02-20 Pedro Alves <palves@redhat.com>
19758
19759 PR threads/18006
19760 * gdb.threads/clone-thread_db.c: New file.
19761 * gdb.threads/clone-thread_db.exp: New file.
19762
c9587f88
AT
197632015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19764
19765 PR breakpoints/16812
19766 * gdb.base/catch-gdb-caused-signals.c: New file.
19767 * gdb.base/catch-gdb-caused-signals.exp: New file.
19768
f6a88844
JM
197692015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19770
19771 * configure: Regenerated.
19772 * configure.ac: Use GDB_AC_TRANSFORM.
19773 * aclocal.m4: sinclude ../transform.m4.
19774
497c491b
JM
197752015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19776
19777 * lib/dtrace.exp: New file.
19778 * gdb.base/dtrace-probe.exp: Likewise.
19779 * gdb.base/dtrace-probe.d: Likewise.
19780 * gdb.base/dtrace-probe.c: Likewise.
19781 * lib/pdtrace.in: Likewise.
19782 * configure.ac: Output variables with the transformed names of
19783 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19784 * configure: Regenerated.
19785
03e98035
JM
197862015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19787
19788 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19789 expected message when trying to access $_probe_* convenience
19790 variables while not on a probe.
19791
63cc30e9
JK
197922015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19793
19794 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19795
0703599a
PA
197962015-02-11 Pedro Alves <pedro@codesourcery.com>
19797
19798 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19799 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19800
7e60a48e
DE
198012015-02-10 Doug Evans <xdje42@gmail.com>
19802
19803 * lib/gdb.exp (gdb_load): Always return a result.
19804
01b088bc
PA
198052015-02-10 Pedro Alves <palves@redhat.com>
19806
19807 * gdb.threads/signal-sigtrap.c: New file.
19808 * gdb.threads/signal-sigtrap.exp: New file.
19809
b05ec7a5
AT
198102015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19811
19812 * gdb.trace/no-attach-trace.c: New file.
19813 * gdb.trace/no-attach-trace.exp: New file.
19814
a2c2acaf
MW
198152015-02-09 Mark Wielaard <mjw@redhat.com>
19816
19817 * gdb.dwarf2/atomic.c: New file.
19818 * gdb.dwarf2/atomic-type.exp: Likewise.
19819
31fd9caa
MM
198202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19821
19822 * gdb.btrace/buffer-size.exp: Update "info record" output.
19823 * gdb.btrace/delta.exp: Update "info record" output.
19824 * gdb.btrace/enable.exp: Update "info record" output.
19825 * gdb.btrace/finish.exp: Update "info record" output.
19826 * gdb.btrace/instruction_history.exp: Update "info record" output.
19827 * gdb.btrace/next.exp: Update "info record" output.
19828 * gdb.btrace/nexti.exp: Update "info record" output.
19829 * gdb.btrace/step.exp: Update "info record" output.
19830 * gdb.btrace/stepi.exp: Update "info record" output.
19831 * gdb.btrace/nohist.exp: Update "info record" output.
19832
d33501a5
MM
198332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19834
19835 * gdb.btrace/buffer-size: New.
19836
f4abbc16
MM
198372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19838
19839 * gdb.btrace/delta.exp: Update "info record" output.
19840 * gdb.btrace/enable.exp: Update "info record" output.
19841 * gdb.btrace/finish.exp: Update "info record" output.
19842 * gdb.btrace/instruction_history.exp: Update "info record" output.
19843 * gdb.btrace/next.exp: Update "info record" output.
19844 * gdb.btrace/nexti.exp: Update "info record" output.
19845 * gdb.btrace/step.exp: Update "info record" output.
19846 * gdb.btrace/stepi.exp: Update "info record" output.
19847 * gdb.btrace/nohist.exp: Update "info record" output.
19848
b9d61307
SM
198492015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19850
19851 PR gdb/15678
19852 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19853
e584fdbc
PA
198542015-02-06 Pedro Alves <palves@redhat.com>
19855
19856 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19857 macro.
19858 (seconds_left, again): New globals.
19859 (main): Wait seconds_left in a 1-second sleep loop instead of
19860 sleeping 180 seconds. If 'again' is set, reset the seconds
19861 counter.
19862 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19863 'again' in the inferior before detaching. Print the seconds left.
19864 (options): New global.
19865 (top level): Build program with -DTIMEOUT=$timeout.
19866
77f41761
PA
198672015-02-06 Pedro Alves <palves@redhat.com>
19868
19869 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19870 determine how many seconds to pass to 'alarm'.
19871 * gdb.base/gdb-sigterm.exp (top level): Build program with
19872 -DTIMEOUT=$timeout.
19873 (do_test): Return success/failure indication. Add more verbose
19874 logging. Don't fail if 200 single steps are seen. Instead, fail
19875 when the test times out.
19876 (passes): New global.
19877 (top level): Break the testing loop if testing fails on any
19878 iteration. Use gdb_assert.
19879
b9394193
DB
198802015-02-04 Don Breazeal <donb@codesourcery.com>
19881
19882 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19883 and initialize them.
19884 (ipc_cleanup): New function.
19885 (main): Don't declare shmid, semid, and msqid. Add a call to
19886 atexit so that we call ipc_cleanup on exit.
19887
42d9e528
PA
198882015-02-04 Pedro Alves <palves@redhat.com>
19889
19890 * boards/native-extended-gdbserver.exp: Remove any target variant
19891 specifications from the board name before clearing the isremote
19892 flag from board_info.
19893
ae6ae975
DE
198942015-01-31 Doug Evans <xdje42@gmail.com>
19895
19896 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19897
cfb069a8
GB
198982015-01-31 Gary Benson <gbenson@redhat.com>
19899
19900 * gdb.base/completion.exp: Disable completion limiting for
19901 existing tests. Add new tests to check completion limiting.
19902 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19903
5dd31d79
DE
199042015-01-31 Doug Evans <xdje42@gmail.com>
19905
19906 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19907
9f050062
DE
199082015-01-31 Doug Evans <xdje42@gmail.com>
19909
19910 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19911 entries. Duplicate file section script entries.
19912 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19913 inlined entries. Add test for safe-path rejection.
19914 * gdb.python/py-section-script.c: Add duplicate inlined section script
19915 entries. Duplicate file section script entries.
19916 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19917 inlined entries. Add test for safe-path rejection.
19918
df25ebbd
JB
199192015-01-29 Joel Brobecker <brobecker@adacore.com>
19920
19921 * gdb.ada/disc_arr_bound: New testcase.
19922
4a0ca9ec
JB
199232015-01-29 Joel Brobecker <brobecker@adacore.com>
19924
19925 * gdb.ada/mi_var_array: New testcase.
19926
3a8b707a
DE
199272015-01-27 Doug Evans <dje@google.com>
19928
19929 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19930 Add test for objfile.filename, objfile.username after objfile
19931 has been unloaded.
19932
f8313f6e
JB
199332015-01-26 Joel Brobecker <brobecker@adacore.com>
19934
19935 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19936 the second test to print the name attribute of value
19937 returned by the call to gdb.lookup_type, and adjust
19938 the expected output accordingly.
19939
37bc665e
MW
199402015-01-25 Mark Wielaard <mjw@redhat.com>
19941
19942 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19943 * gdb.base/disp-step-fork.c: Include unistd.h.
19944 * gdb.base/siginfo-obj.c: Include stdio.h.
19945 * gdb.base/siginfo-thread.c: Likewise.
19946 * gdb.mi/non-stop.c: Include unistd.h.
19947 * gdb.mi/nsthrexec.c: Include stdio.h.
19948 * gdb.mi/pthreads.c: Include unistd.h.
19949 * gdb.modula2/unbounded1.c (main): Declare returns int.
19950 * gdb.reverse/consecutive-reverse.c: Likewise.
19951 * gdb.threads/create-fail.c: Include unistd.h.
19952 * gdb.threads/killed.c: Likewise.
19953 * gdb.threads/linux-dp.c: Likewise.
19954 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19955 * gdb.threads/non-ldr-exc-2.c: Likewise.
19956 * gdb.threads/non-ldr-exc-3.c: Likewise.
19957 * gdb.threads/non-ldr-exc-4.c: Likewise.
19958 * gdb.threads/pthreads.c: Include unistd.h.
19959 (main): Declare returns int.
19960 * gdb.threads/tls-main.c (foo): New declaration.
19961 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19962
f7e5394d
SM
199632015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19964
19965 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19966 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19967
743649fd
MW
199682015-01-15 Mark Wielaard <mjw@redhat.com>
19969
19970 * gdb.base/noreturn-return.c: New file.
19971 * gdb.base/noreturn-return.exp: New file.
19972 * gdb.base/noreturn-finish.c: New file.
19973 * gdb.base/noreturn-finish.exp: New file.
19974
198297aa
PA
199752015-01-23 Pedro Alves <palves@redhat.com>
19976
19977 * gdb.threads/continue-pending-after-query.c: New file.
19978 * gdb.threads/continue-pending-after-query.exp: New file.
19979
717cf30c
AG
199802015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19981 Simon Marchi <simon.marchi@ericsson.com>
19982
19983 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19984 * gdb.base/valgrind-db-attach.exp: Same.
19985 * gdb.base/valgrind-infcall.exp: Same.
19986 * lib/mi-support.exp (default_mi_gdb_start): Same.
19987 * lib/prompt.exp (default_prompt_gdb_start): Same.
19988 * lib/gdb.exp (default_gdb_spawn): Same.
19989 (gdb_interact): New.
19990
19991
4b62a76e
JK
199922015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19993
19994 * gdb.compile/compile.exp (pointer to jit function): New test.
19995
b4cdae6f
WW
199962015-01-17 Wei-cheng Wang <cole945@gmail.com>
19997
19998 * lib/gdb.exp (supports_process_record): Return true for
19999 powerpc*-*-linux*.
20000 (supports_reverse): Likewise.
20001
d221e7ef
DB
200022015-01-15 Don Breazeal <donb@codesourcery.com>
20003
20004 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20005 instead of checking whether the target board is remote and
20006 use spawn_wait_for_attach instead of exec/sleep.
20007 * gdb.base/attach-twice.exp: Likewise.
20008
bafffb51
JB
200092015-01-15 Joel Brobecker <brobecker@adacore.com>
20010
20011 * gdb.ada/var_arr_attrs: New testcase.
20012
5589af0e
PA
200132015-01-14 Pedro Alves <palves@redhat.com>
20014 Joel Brobecker <brobecker@adacore.com>
20015
20016 PR gdb/17525
20017 * gdb.base/bp-cmds-execution-x-script.c: New file.
20018 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20019 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20020
6c400b59
PA
200212015-01-14 Pedro Alves <palves@redhat.com>
20022
20023 PR cli/17828
20024 * gdb.base/batch-preserve-term-settings.c: New file.
20025 * gdb.base/batch-preserve-term-settings.exp: New file.
20026
e02c96a7
DE
200272015-01-13 Doug Evans <dje@google.com>
20028
20029 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20030 binary.
20031
576fd14c
JB
200322015-01-13 Joel Brobecker <brobecker@adacore.com>
20033
20034 * Makefile.in (clean mostlyclean): Do not delete *.py.
20035
04dccad0
JB
200362015-01-13 Joel Brobecker <brobecker@adacore.com>
20037
20038 * gdb.python/py-lookup-type.exp: New file.
20039
3d230f71
PA
200402015-01-12 Pedro Alves <palves@redhat.com>
20041
20042 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20043 restore GDBFLAGS before returning.
20044
7e67715d
JK
200452015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20046
20047 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20048 is_amd64_regs_target and is_x86_like_target.
20049
f2e0d4b4
DE
200502015-01-11 Doug Evans <xdje42@gmail.com>
20051
20052 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20053 is given without an explicit form.
20054 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20055 attributes.
20056 * gdb.dwarf/corrupt.exp: Ditto.
20057 * gdb.dwarf2/enum-type.exp: Ditto.
20058 * gdb.trace/entry-values.exp: Ditto.
20059 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20060
439250fb
DE
200612015-01-11 Doug Evans <xdje42@gmail.com>
20062
20063 PR gdb/15830
20064 * gdb.base/maint.exp: Remove references to "maint demangle".
20065 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20066 Add tests for explicitly specifying language to demangle.
20067 * gdb.dlang/demangle.exp: Ditto.
20068
ede9f622
PA
200692015-01-09 Pedro Alves <palves@redhat.com>
20070
20071 * gdb.threads/non-stop-fair-events.c: New file.
20072 * gdb.threads/non-stop-fair-events.exp: New file.
20073
a7b796db
PA
200742015-01-09 Pedro Alves <palves@redhat.com>
20075
20076 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20077 the global scope. Set a breakpoint after all threads are started
20078 rather than stepping over two source lines. Expect the prompt.
20079 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20080 global.
20081 (NUM): Now 15.
20082 (main): Use threads_started_barrier to wait for all threads to
20083 start. Main thread no longer calls thread_function. Exit after
20084 180 seconds.
20085 (loop): New function.
20086 (thread_function): Wait on threads_started_barrier barrier. Call
20087 'loop' at each iteration.
20088 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20089 threads have started, instead of hardcoding number of "next"
20090 steps. Use an access watchpoint instead of a write watchpoint.
20091
9665ffdd
PA
200922015-01-09 Pedro Alves <palves@redhat.com>
20093
20094 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20095 (thread_func): Wait on barrier.
20096 (main): Wait for all threads to start before stopping GDB.
20097 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20098 global.
20099 (thread1_func, thread2_func): Wait on barrier.
20100 (main): Wait for all threads to start before stopping GDB.
20101 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20102 New global.
20103 (thread1_func, thread2_func): Wait on barrier.
20104 (main): Wait for all threads to start before stopping GDB.
20105
c945a99f
PA
201062015-01-09 Pedro Alves <palves@redhat.com>
20107
20108 * gdb.threads/attach-many-short-lived-threads.c: New file.
20109 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20110
c1a747c1
PA
201112014-01-09 Pedro Alves <palves@redhat.com>
20112
20113 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20114 instead of to thread 2.
20115 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20116 Add barrier around each pthread_create call instead of around all
20117 calls.
20118 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20119 Set a break on thread_function and have the child threads hit it
20120 one at at a time.
20121
60b3033e
PA
201222015-01-09 Pedro Alves <palves@redhat.com>
20123
20124 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20125 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20126 false.
20127 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20128 checking whether the target board is remote.
20129 * gdb.multi/multi-attach.exp: Likewise.
20130 * gdb.python/py-sync-interp.exp: Likewise.
20131 * gdb.server/ext-attach.exp: Likewise.
20132 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20133 tests that need to attach, instead of checking whether the target
20134 board is remote at the top of the file.
20135
acc018ac
YQ
201362015-01-08 Yao Qi <yao@codesourcery.com>
20137
20138 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20139
50a18af8
JK
201402015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20141
20142 Fix testcase compilation.
20143 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20144
8503d6e1
JB
201452015-01-06 Joel Brobecker <brobecker@adacore.com>
20146
20147 * gdb.python/py-type.exp: Add a couple test about empty
20148 array creation, and negative-length array creation.
20149
cc73dbcc
DE
201502015-01-02 Doug Evans <xdje42@gmail.com>
20151
20152 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20153
0300bbc7
DE
201542015-01-02 Doug Evans <dje@google.com>
20155
20156 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20157
9d85a0ec
YQ
201582014-12-29 Yao Qi <yao@codesourcery.com>
20159
20160 * gdb.trace/entry-values.exp: Update comments. Rename variable
20161 bar_call_foo to returned_from_foo.
20162
87186c6a
MMN
201632014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20164
20165 PR gdb/17394
20166 * gdb.linespec/break-asm-file.c: New file.
20167 * gdb.linespec/break-asm-file.exp: New file.
20168 * gdb.linespec/break-asm-file0.s: New file.
20169 * gdb.linespec/break-asm-file1.s: New file.
20170
1bab7383
YQ
201712014-12-18 Nigel Stephens <nigel@mips.com>
20172 Maciej W. Rozycki <macro@codesourcery.com>
20173
20174 * gdb.base/float.exp: Handle the new output from "info float" on
20175 MIPS targets.
20176
1bc1068a
JK
201772014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20178
20179 Fix MinGW compilation.
20180 * gdb.compile/compile-ops.exp: Update untested message if
20181 !skip_compile_feature_tests.
20182 * gdb.compile/compile-setjmp.exp: Likewise.
20183 * gdb.compile/compile-tls.exp: Likewise.
20184 * gdb.compile/compile.exp: Likewise.
20185 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20186 supported on this host".
20187
b6615d10
DE
201882014-12-16 Doug Evans <xdje42@gmail.com>
20189
20190 * boards/stabs.exp: New file.
20191
25dda427
AA
201922014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20193
20194 * gdb.base/completion.exp: Adjust to format changes of "maint
20195 print user-registers".
20196
bf330350
CU
201972014-12-16 Catalin Udma <catalin.udma@freescale.com>
20198
20199 PR server/17457
20200 * gdb.arch/aarch64-fp.c: New file.
20201 * gdb.arch/aarch64-fp.exp: New file.
20202
395cf596
SDJ
202032014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20204
20205 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20206 r210637, r210913, r211666, r215400, r215817).
20207
20208 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20209 * dg-extract-results.py: New file.
20210 * dg-extract-results.sh: Use it if the environment seems
20211 suitable.
20212
20213 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20214
20215 * dg-extract-results.py (parse_run): Handle warnings that
20216 are printed before a test harness is run.
20217
20218 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20219
20220 * dg-extract-results.py (Named): Remove __cmp__ method.
20221 (output_variation): Use a key to sort variation.harnesses.
20222
20223 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20224
20225 * dg-extract-results.py: For Python 3, force sys.stdout to
20226 handle surrogate escape sequences.
20227 (safe_open): New function.
20228 (output_segment, main): Use it.
20229
20230 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20231
20232 * dg-extract-results.py (Prog.result_re): Include options
20233 in test name.
20234
20235 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20236
20237 * dg-extract-results.py (output_variation): Always sort if
20238 do_sum.
20239
e882ef3c
SM
202402014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20241
20242 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20243 as long as we get pagination notifications.
20244
4992aa20
JM
202452014-12-15 Jason Merrill <jason@redhat.com>
20246
20247 * Makefile.in (check-gdb.%): Restore.
20248 * README: Mention it.
20249
c1b5a1a6
JB
202502014-12-13 Joel Brobecker <brobecker@adacore.com>
20251
20252 * gdb.ada/str_uninit: New testcase.
20253
5537b577
JK
202542014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20255
20256 PR symtab/17642
20257 * gdb.base/vla-stub-define.c: New file.
20258 * gdb.base/vla-stub.c: New file.
20259 * gdb.base/vla-stub.exp: New file.
20260
bb2ec1b3
TT
202612014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20262 Jan Kratochvil <jan.kratochvil@redhat.com>
20263 Tom Tromey <tromey@redhat.com>
20264
20265 * configure.ac: Add gdb.compile/.
20266 * configure: Regenerate.
20267 * gdb.compile/Makefile.in: New file.
20268 * gdb.compile/compile-ops.exp: New file.
20269 * gdb.compile/compile-ops.c: New file.
20270 * gdb.compile/compile-tls.c: New file.
20271 * gdb.compile/compile-tls.exp: New file.
20272 * gdb.compile/compile-constvar.S: New file.
20273 * gdb.compile/compile-constvar.c: New file.
20274 * gdb.compile/compile-mod.c: New file.
20275 * gdb.compile/compile-nodebug.c: New file.
20276 * gdb.compile/compile-setjmp-mod.c: New file.
20277 * gdb.compile/compile-setjmp.c: New file.
20278 * gdb.compile/compile-setjmp.exp: New file.
20279 * gdb.compile/compile-shlib.c: New file.
20280 * gdb.compile/compile.c: New file.
20281 * gdb.compile/compile.exp: New file.
20282 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20283
4ff709eb
TT
202842014-12-12 Tom Tromey <tromey@redhat.com>
20285
20286 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20287 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20288
6dddd6a5
DE
202892014-12-12 Doug Evans <dje@google.com>
20290
20291 * lib/gdb-python.exp (get_python_valueof): New function.
20292 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20293
71c24708
AA
202942014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20295
20296 * gdb.base/completion.exp: Add test for completion of "info
20297 registers ".
20298
3e29f34a
MR
202992014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20300
20301 * gdb.base/func-ptrs.c: New file.
20302 * gdb.base/func-ptrs.exp: New file.
20303
fc126975
SM
203042014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20305
20306 PR breakpoints/17012
20307 * gdb.base/dprintf-detach.c: New file.
20308 * gdb.base/dprintf-detach.exp: New file.
20309
0a46d518
SM
203102014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20311
20312 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20313 * lib/gdb.exp (target_is_gdbserver): New procedure.
20314
a0be3e44
DE
203152014-12-08 Doug Evans <dje@google.com>
20316
20317 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20318
df1b803a
YQ
203192014-12-05 Yao Qi <yao@codesourcery.com>
20320
20321 * gdb.guile/scm-error.exp: Remove the third argument to
20322 gdb_remote_download.
20323 * gdb.guile/scm-frame-args.exp: Likewise.
20324 * gdb.guile/scm-section-script.exp: Likewise.
20325
ddb9f679
YQ
203262014-12-05 Yao Qi <yao@codesourcery.com>
20327
20328 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20329
86e4ed39
DE
203302014-12-04 Doug Evans <dje@google.com>
20331
20332 * gdb.python/py-objfile.exp: Add tests for
20333 objfile.add_separate_debug_file.
20334
7c50a931
DE
203352014-12-04 Doug Evans <dje@google.com>
20336
20337 * lib/gdb.exp (get_build_id): New function.
20338 (build_id_debug_filename_get): Rewrite to use it.
20339 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20340
621661e3
MR
203412014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20342
20343 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20344 `method(long)', not just 0x0.
20345 * gdb.cp/nsalias.exp: Align code labels to 4.
20346 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20347 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20348 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20349 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20350 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20351 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20352
29f0c3b7
DE
203532014-12-02 Doug Evans <dje@google.com>
20354
e1e061e7 20355 PR symtab/17602
29f0c3b7 20356 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20357 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20358 * gdb.cp/anon-ns.exp: Update.
20359
162078c8
NB
203602014-12-02 Nick Bull <nicholaspbull@gmail.com>
20361
20362 * gdb.python/py-events.py (inferior_call_handler): New.
20363 (register_changed_handler, memory_changed_handler): New.
20364 (test_events.invoke): Register new handlers.
20365 * gdb.python/py-events.exp: Add tests for inferior call,
20366 memory_changed and register_changed events.
20367
fdb09caf
AA
203682014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20369
20370 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20371 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20372 if the linker doesn't understand this.
20373
55cfb2c4
SM
203742014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20375
20376 * gdb.python/python.exp: Change expected reply to help().
20377
9e8cd6df
YQ
203782014-12-01 Yao Qi <yao@codesourcery.com>
20379
20380 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20381 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20382 * configure: Re-generated.
20383
6c659fc2
SC
203842014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20385
20386 * gdb.cp/chained-calls.cc: New file.
20387 * gdb.cp/chained-calls.exp: New file.
20388 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20389
d7fc3181
SM
203902014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20391
20392 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20393 * gdb.dwarf2/symtab-producer.exp: Same.
20394 * gdb.gdb/python-interrupts.exp: Same.
20395 * gdb.gdb/python-selftest.exp: Same.
20396 * gdb.python/py-linetable.exp: Same.
20397 * gdb.python/py-type.exp: Same.
20398 * gdb.python/py-value-cc.exp: Same.
20399 * gdb.python/py-value.exp: Same.
20400
10e79639
YQ
204012014-11-28 Yao Qi <yao@codesourcery.com>
20402
20403 * gdb.base/break-probes.exp: Match library name prefixed with
20404 sysroot.
20405
f28a0564
SM
204062014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20407
20408 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20409 test expected output. Add parentheses for the call to print.
20410 Remove L suffix from integers.
20411
3fe1ce1d
DE
204122014-11-26 Doug Evans <dje@google.com>
20413
20414 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20415
84429e27
YQ
204162014-11-22 Yao Qi <yao@codesourcery.com>
20417
20418 * gdb.trace/entry-values.c: Remove asms.
20419 (foo): Add foo_label.
20420 (bar): Add bar_label.
20421 * gdb.trace/entry-values.exp: Remove code computing foo's
20422 length and bar's length.
20423 (Dwarf::assemble): Invoke function_range for bar and use
20424 MACRO_AT_func for foo.
20425
26741859
YQ
204262014-11-22 Yao Qi <yao@codesourcery.com>
20427
20428 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20429 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20430 Use .Lgcc43_procstart instead of gcc43.
20431
45e44d27
JB
204322014-11-21 Joel Brobecker <brobecker@adacore.com>
20433
20434 * gdb.ada/n_arr_bound: New testcase.
20435
458c8db8
SDJ
204362014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20437
20438 PR breakpoints/10737
20439 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20440 test_catch_syscall_multi_arch.
20441 (test_catch_syscall_multi_arch): New function.
20442
43f3e411
DE
204432014-11-20 Doug Evans <xdje42@gmail.com>
20444
20445 * gdb.base/maint.exp: Update expected output.
20446
0d7b2549
AA
204472014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20448
20449 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20450 4-byte instruction on S390.
20451
8908fca5
JB
204522014-11-19 Joel Brobecker <brobecker@adacore.com>
20453
20454 * gdb.ada/arr_arr: New testcase.
20455
4a46959e
JB
204562014-11-19 Joel Brobecker <brobecker@adacore.com>
20457
20458 * gdb.ada/pkd_arr_elem: New Testcase.
20459
470e2f4e
LM
204602014-11-18 Luis Machado <lgustavo@codesourcery.com>
20461
20462 * gdb.reverse/break-precsave: Expect completion message for
20463 core file reads.
20464 * gdb.reverse/consecutive-precsave.exp: Likewise.
20465 * gdb.reverse/finish-precsave.exp: Likewise.
20466 * gdb.reverse/i386-precsave.exp: Likewise.
20467 * gdb.reverse/machinestate-precsave.exp: Likewise.
20468 * gdb.reverse/sigall-precsave.exp: Likewise.
20469 * gdb.reverse/solib-precsave.exp: Likewise.
20470 * gdb.reverse/step-precsave.exp: Likewise.
20471 * gdb.reverse/until-precsave.exp: Likewise.
20472 * gdb.reverse/watch-precsave.exp: Likewise.
20473
a267f3ad
AA
204742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20475
20476 * gdb.base/bp-permanent.c: Include unistd.h.
20477 * gdb.python/py-framefilter-mi.c (main): Add return type.
20478 * gdb.python/py-framefilter.c (main): Likewise.
20479 * gdb.trace/actions-changed.c (main): Likewise.
20480
12084a9a
AA
204812014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20482
20483 * gdb.mi/until.c: Add eye-catchers.
20484 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20485 line numbers.
20486
dc7e1a77
AA
204872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20488
20489 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20490 function header variants in break1.c.
20491 * gdb.base/ena-dis-br.exp: Likewise.
20492 * gdb.base/hbreak2.exp: Likewise.
20493 * gdb.reverse/until-precsave.exp: Drop references to removed
20494 non-prototype function header variants in ur1.c.
20495 * gdb.reverse/until-reverse.exp: Likewise.
20496
41c77605
PM
204972014-11-17 Petr Machata <pmachata@redhat.com>
20498
20499 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20500 ${_cu_offset_size} bytes abbrev offset.
20501
34248c3a
DE
205022014-11-15 Doug Evans <xdje42@gmail.com>
20503
20504 PR symtab/17559
20505 * gdb.base/line-symtabs.exp: New file.
20506 * gdb.base/line-symtabs.c: New file.
20507 * gdb.base/line-symtabs.h: New file.
20508
646da059
YQ
205092014-11-14 Yao Qi <yao@codesourcery.com>
20510
20511 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20512 (func): Add label func_label.
20513 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20514 Replace low_pc and high_pc with MACRO_AT_range.
20515 Replace name, low_pc and high_pc with MACRO_AT_func.
20516
9301ebe6
YQ
205172014-11-14 Yao Qi <yao@codesourcery.com>
20518
20519 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20520 Replace name, low_pc and high_pc with MACRO_AT_func.
20521
f166b542
YQ
205222014-11-14 Yao Qi <yao@codesourcery.com>
20523
20524 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20525 produce debug information.
20526 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20527
0f6e71e3
YQ
205282014-11-14 Yao Qi <yao@codesourcery.com>
20529
20530 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20531 object and get function length.
20532 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20533 with MACRO_AT_func.
20534 (top-level): Replace gdb_compile and clean_restart with
20535 prepare_for_testing.
20536 * gdb.dwarf2/main.c (main): Add label main_label.
20537
876c4df9
YQ
205382014-11-14 Yao Qi <yao@codesourcery.com>
20539
20540 * lib/dwarf.exp (function_range): New procedure.
20541 (Dwarf::_handle_macro_at_func): New procedure.
20542 (Dwarf::_handle_macro_at_range): New procedure.
20543 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20544
02ad9cf1
YQ
205452014-11-14 Yao Qi <yao@codesourcery.com>
20546
20547 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20548 (_handle_attribute): New procedure.
20549
a59add0c
AA
205502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20551
20552 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20553 * gdb.base/call-sc.c (zed): Likewise.
20554 * gdb.base/checkpoint.c (main): Likewise.
20555 * gdb.base/dump.c (main): Likewise.
20556 * gdb.base/gcore.c (main): Likewise.
20557 * gdb.base/huge.c (main): Likewise.
20558 * gdb.base/multi-forks.c (main): Likewise.
20559 * gdb.base/pr10179-a.c (main): Likewise.
20560 * gdb.base/savedregs.c (main): Likewise.
20561 * gdb.base/sigaltstack.c (main): Likewise.
20562 * gdb.base/siginfo.c (main): Likewise.
20563 * gdb.base/structs.c (zed): Likewise.
20564 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20565 * gdb.mi/mi-syn-frame.c (main): Likewise.
20566 * gdb.mi/until.c (foo, main): Likewise.
20567 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20568 * gdb.base/solib-weak.c (foo): Declare.
20569 * gdb.base/attach-twice.c: Include stdio.h.
20570 * gdb.base/weaklib1.c: Likewise.
20571 * gdb.base/weaklib2.c: Likewise.
20572 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20573 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20574 unistd.h.
20575 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20576 * gdb.mi/mi-exit-code.c: Likewise.
20577 * gdb.base/break-interp-lib.c: Include string.h.
20578 * gdb.base/coremaker.c: Likewise.
20579 * gdb.base/testenv.c: Likewise.
20580 * gdb.python/py-finish-breakpoint.c: Likewise.
20581 * gdb.base/inferior-died.c: Include sys/wait.h.
20582 * gdb.base/fileio.c: Include time.h.
20583 * gdb.base/async-shell.c: Include unistd.h.
20584 * gdb.base/dprintf-non-stop.c: Likewise.
20585 * gdb.base/info-os.c: Likewise.
20586 * gdb.mi/mi-console.c: Likewise.
20587 * gdb.mi/watch-nonstop.c: Likewise.
20588 * gdb.python/py-events.c: Likewise.
20589 * gdb.base/async.c (baz): Move up before its invocation.
20590 * gdb.base/code_elim2.c (my_global_func): Likewise.
20591 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20592 * gdb.base/advance.c (func2): Likewise.
20593
3b5d5997
AA
205942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20595
20596 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20597 variant.
20598 * gdb.base/annota3.c: Likewise.
20599 * gdb.base/async.c: Likewise.
20600 * gdb.base/average.c: Likewise.
20601 * gdb.base/call-ar-st.c: Likewise.
20602 * gdb.base/call-rt-st.c: Likewise.
20603 * gdb.base/call-sc.c: Likewise.
20604 * gdb.base/call-strs.c: Likewise.
20605 * gdb.base/ending-run.c: Likewise.
20606 * gdb.base/execd-prog.c: Likewise.
20607 * gdb.base/exprs.c: Likewise.
20608 * gdb.base/foll-exec.c: Likewise.
20609 * gdb.base/foll-fork.c: Likewise.
20610 * gdb.base/foll-vfork.c: Likewise.
20611 * gdb.base/funcargs.c: Likewise.
20612 * gdb.base/gcore.c: Likewise.
20613 * gdb.base/jump.c: Likewise.
20614 * gdb.base/langs0.c: Likewise.
20615 * gdb.base/langs1.c: Likewise.
20616 * gdb.base/langs2.c: Likewise.
20617 * gdb.base/mips_pro.c: Likewise.
20618 * gdb.base/nodebug.c: Likewise.
20619 * gdb.base/opaque0.c: Likewise.
20620 * gdb.base/opaque1.c: Likewise.
20621 * gdb.base/recurse.c: Likewise.
20622 * gdb.base/run.c: Likewise.
20623 * gdb.base/scope0.c: Likewise.
20624 * gdb.base/scope1.c: Likewise.
20625 * gdb.base/setshow.c: Likewise.
20626 * gdb.base/setvar.c: Likewise.
20627 * gdb.base/shmain.c: Likewise.
20628 * gdb.base/shr1.c: Likewise.
20629 * gdb.base/shr2.c: Likewise.
20630 * gdb.base/sigall.c: Likewise.
20631 * gdb.base/signals.c: Likewise.
20632 * gdb.base/so-indr-cl.c: Likewise.
20633 * gdb.base/solib2.c: Likewise.
20634 * gdb.base/structs.c: Likewise.
20635 * gdb.base/sum.c: Likewise.
20636 * gdb.base/vforked-prog.c: Likewise.
20637 * gdb.base/watchpoint.c: Likewise.
20638 * gdb.reverse/shr2.c: Likewise.
20639 * gdb.reverse/until-reverse.c: Likewise.
20640 * gdb.reverse/ur1.c: Likewise.
20641 * gdb.reverse/watch-reverse.c: Likewise.
20642
066a77c5
AA
206432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20644
20645 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20646 variant.
20647 * gdb.base/sepdebug.exp: Drop references to removed code.
20648
4f204ea5
AA
206492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20650
20651 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20652 variant. Preserve original line numbering.
20653 * gdb.base/list1.c: Likewise.
20654
3b377a3a
AA
206552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20656
20657 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20658 variant.
20659 * gdb.base/break1.c: Likewise.
20660 * gdb.base/break.exp: Drop references to removed code.
20661
e444df73
AA
206622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20663
20664 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20665 variant.
20666
8008f2a7
AA
206672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20668
20669 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20670
a5a06887
AA
206712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20672
20673 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20674 logic into perform_all_tests() and invoke it with and without
20675 function header prototypes.
20676 (do_function_calls): Remove conditional XFAIL for PR 5318.
20677 (rerun_and_prepare): Remove duplicate code.
20678 (perform_all_tests): New. Main logic moved here.
20679
44dba9b9
AA
206802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20681
20682 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20683 code guarded by #ifdef NO_PROTOTYPES.
20684 (t_double_many_args): Likewise.
20685 (DEF_FUNC_MANY_ARGS_1): Likewise.
20686 (DEF_FUNC_VALUES_1): Likewise.
20687 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20688 guarded by #ifdef PROTOTYPES.
20689
d1fbcd56
AA
206902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20691
20692 * gdb.mi/mi-console.c: Add eye-catcher.
20693 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20694 instead of literal line number.
20695
b0e59b8f
AA
206962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20697
20698 * gdb.base/shr2.c: Add eye-catcher.
20699 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20700 line number.
20701
78f98cca
AA
207022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20703
20704 * gdb.base/jump.c: Add eye-catchers.
20705 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20706 numbers.
20707
58fa2af0
AA
207082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20709
20710 * gdb.base/execd-prog.c: Add eye-catchers.
20711 * gdb.base/foll-exec.c: Likewise.
20712 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20713 line numbers.
20714
04e5059b
AA
207152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20716
20717 * gdb.base/ending-run.c: Add eye-catchers.
20718 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20719 literal line numbers.
20720
dbfdb174
AA
207212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20722
20723 * gdb.base/call-rt-st.c: Add eye-catchers.
20724 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20725 literal line numbers.
20726
888a2ade
AA
207272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20728
20729 * gdb.base/call-ar-st.c: Add eye-catchers.
20730 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20731 literal line numbers.
20732
6acc2dde
AA
207332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20734
20735 * gdb.base/average.c: Add eye-catchers.
20736 * gdb.base/sum.c: Likewise.
20737 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20738 regexps dynamically.
20739
9ecfcd1d
AA
207402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20741
20742 * gdb.base/solib1.c: Add eye-catchers.
20743 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20744 literal line numbers.
20745
78708b7c
PA
207462014-11-12 Pedro Alves <palves@redhat.com>
20747
20748 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20749 leader has exited.
20750
af48d08f
PA
207512014-11-12 Pedro Alves <palves@redhat.com>
20752
20753 * gdb.arch/i386-bp_permanent.c: New file.
20754 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20755 (srcfile): Set to i386-bp_permanent.c.
20756 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20757 that stepi does not execute the 'leave' instruction, instead of
20758 testing it does execute.
20759 * gdb.base/bp-permanent.c: New file.
20760 * gdb.base/bp-permanent.exp: New file.
20761
af3768e9
DE
207622014-11-10 Doug Evans <xdje42@gmail.com>
20763
20764 PR symtab/17564
20765 * gdb.base/symtab-search-order.exp: New file.
20766 * gdb.base/symtab-search-order.c: New file.
20767 * gdb.base/symtab-search-order-1.c: New file.
20768 * gdb.base/symtab-search-order-shlib-1.c: New file.
20769
9de00a4a
PA
207702014-11-07 Pedro Alves <palves@redhat.com>
20771
20772 PR gdb/17511
20773 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20774 i?86-*-linux*.
20775
e0f52461
SC
207762014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20777
20778 PR c++/17494
20779 * gdb.cp/pr17494.cc: New file.
20780 * gdb.cp/pr17494.exp: New file.
20781
6ce8c980
YQ
207822014-11-02 Yao Qi <yao@codesourcery.com>
20783
20784 * gdb.python/python.exp: Get working directory and match the
20785 output of "set extended-prompt \\w " with it.
20786
02be9a71
DE
207872014-10-30 Doug Evans <dje@google.com>
20788
20789 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20790 in objfiles.
20791 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20792 in progspaces.
20793
3bdff46b
LM
207942014-10-30 Janis Johnson <janisjo@codesourcery.com>
20795
20796 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20797 * gdb.base/realname-expand.exp: Likewise.
20798 * gdb.linespec/macro-relative.exp: Likewise.
20799
ab917dfb
PA
208002014-10-29 Pedro Alves <palves@redhat.com>
20801
20802 PR gdb/17408
20803 * gdb.threads/schedlock.c (some_function): New function.
20804 (call_function): New global.
20805 (MAYBE_CALL_SOME_FUNCTION): New macro.
20806 (thread_function): Call it.
20807 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20808 and use it instead of a global counter. Adjust all callers.
20809 (get_current_thread): Use "find current thread" for test message
20810 here rather than having all callers pass down the same string.
20811 (goto_loop): New procedure, factored out from ...
20812 (my_continue): ... this.
20813 (step_ten_loops): Change parameter from test message to command to
20814 use. Adjust.
20815 (list_count): Delete global.
20816 (check_result): New procedure, factored out from duplicate top
20817 level code.
20818 (continue tests): Wrap in with_test_prefix.
20819 (test_step): New procedure, factored out from duplicate top level
20820 code.
20821 (top level): Test "step" in combination with all scheduler-locking
20822 modes. Test "next" in combination with all scheduler-locking
20823 modes, and in combination with stepping over a function call or
20824 not.
20825 * gdb.threads/next-bp-other-thread.c: New file.
20826 * gdb.threads/next-bp-other-thread.exp: New file.
20827
d3d4baed
PA
208282014-10-29 Pedro Alves <palves@redhat.com>
20829
20830 PR python/17372
20831 * gdb.python/python.exp: Test a multi-line command that spawns
20832 interactive Python.
20833 * gdb.base/multi-line-starts-subshell.exp: New file.
20834
563e8d85
YQ
208352014-10-29 Yao Qi <yao@codesourcery.com>
20836
20837 * gdb.base/fileio.exp: Make directories on host.
20838
0ea4d52e
YQ
208392014-10-29 Yao Qi <yao@codesourcery.com>
20840
20841 * gdb.base/fileio.c (test_write): Close the file.
20842
7f5ef605
PA
208432014-10-28 Pedro Alves <palves@redhat.com>
20844
20845 PR gdb/12623
20846 * gdb.base/sigstep.c (no_handler): New global.
20847 (main): If 'no_handler is true, set the signal handlers to
20848 SIG_IGN.
20849 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20850 with_sw_watch and no_handler parameters. Handle them.
20851 (top level) <stepping over handler when stopped at a breakpoint
20852 test>: Add a test axis for testing with a software watchpoint, and
20853 another for testing with the signal handler set to SIG_IGN.
20854 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20855 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20856
abbdbd03
PA
208572014-10-28 Pedro Alves <palves@redhat.com>
20858
20859 PR gdb/17511
20860 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20861 * gdb.base/sigstep.exp (other_handler_location): New global.
20862 (advance): Support stepping into the signal handler, and running
20863 commands while in the handler.
20864 (in_handler_map): New global.
20865 (top level): In the advance test, add combinations for getting
20866 into the handler with stepping commands, and for running commands
20867 in the handler. Add comment descripting the advancei tests.
20868
1df4399f
PA
208692014-10-28 Pedro Alves <palves@redhat.com>
20870
20871 * gdb.base/sigstep.exp: Use build_executable instead of
20872 prepare_for_testing.
20873 (top level): Move code that starts GDB, runs to main and creates a
20874 display to ...
20875 (restart): ... this new procedure.
20876 (top level): Move backtrace from signal handler test to ...
20877 (validate_backtrace): ... this new procedure.
20878 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20879 with_test_prefix. Always restart GDB.
20880 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20881 with_test_prefix. Always restart GDB. No need to delete
20882 breakpoints after the test.
20883 (test_skip_handler): Remove prefix parameter.
20884 (skip_over_handler, breakpoint_to_handler)
20885 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20886 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20887 restart GDB. No need to delete breakpoints after the test.
20888 (top level): Use foreach to call the test procedures with
20889 different commands.
20890
a5b6e449
PA
208912014-10-28 Pedro Alves <palves@redhat.com>
20892
20893 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20894 instead of GNATS numbers.
20895 * gdb.base/sigbpt.exp: Likewise.
20896 * gdb.base/siginfo.exp: Likewise.
20897 * gdb.base/sigstep.exp: Likewise.
20898
e5f8a7cc
PA
208992014-10-27 Pedro Alves <palves@redhat.com>
20900
20901 * gdb.base/sigstep.c (dummy): New global.
20902 (main): Issue a couple writes to the new global.
20903 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20904 procedures.
20905 (skip_over_handler): Use test_skip_handler.
20906 (top level): Call skip_over_handler for stepi and nexti too.
20907 (breakpoint_over_handler): Use test_skip_handler.
20908 (top level): Call breakpoint_over_handler for stepi and nexti too.
20909
763905a3
YQ
209102014-10-27 Yao Qi <yao@codesourcery.com>
20911
20912 * gdb.trace/tfile.c (adjust_function_address)
20913 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20914 function descriptor.
20915
6f259a23
DB
209162014-10-24 Don Breazeal <donb@codesourcery.com>
20917
20918 * gdb.base/foll-fork.exp (test_follow_fork,
20919 catch_fork_child_follow): Check for updated fork messages emitted
20920 from infrun.c.
20921 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20922 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20923 vfork_and_exec_child_follow_through_step): Check for updated vfork
20924 messages emitted from infrun.c.
20925
09dd9a69
PA
209262014-10-24 Pedro Alves <palves@redhat.com>
20927
20928 * gdb.base/corefile.exp: Remove references to ultrix.
20929 * gdb.base/interrupt.exp: Likewise.
20930 * gdb.base/whatis.exp: Likewise.
20931 * gdb.gdb/selftest.exp: Likewise.
20932 * gdb.threads/manythreads.exp: Likewise.
20933 * gdb.threads/print-threads.exp: Likewise.
20934 * gdb.threads/pthreads.exp:: Likewise.
20935 * gdb.threads/schedlock.exp: Likewise.
20936
3433cfa5
SC
209372014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20938
20939 * gdb.cp/non-trivial-retval.cc: Add a test case.
20940 * gdb.cp/non-trivial-retval.exp: Add a test.
20941
092f880b
YQ
209422014-10-20 Yao Qi <yao@codesourcery.com>
20943
20944 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20945 * gdb.python/py-objfile-script-gdb.py: New file.
20946 * gdb.python/py-objfile-script.exp: Update reference to
20947 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20948 of remote_download. Remove the dest file.
20949
acbdb7f3
YQ
209502014-10-20 Yao Qi <yao@codesourcery.com>
20951
20952 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20953 * gdb.base/step-line.exp: Likewise.
20954 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20955 * gdb.dwarf2/dw2-basic.exp: Likewise.
20956 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20957 * gdb.dwarf2/dw2-filename.exp: Likewise.
20958 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20959 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20960 * gdb.dwarf2/dw2-producer.exp: Likewise.
20961 * gdb.dwarf2/mac-fileno.exp: Likewise.
20962 * gdb.python/py-frame-args.exp: Likewise.
20963 * gdb.python/py-framefilter.exp: Likewise.
20964 * gdb.python/py-mi.exp: Likewise.
20965 * gdb.python/py-objfile-script.exp: Likewise
20966 * gdb.python/py-pp-integral.exp: Likewise.
20967 * gdb.python/py-pp-re-notag.exp: Likewise.
20968 * gdb.python/py-prettyprint.exp: Likewise.
20969 * gdb.python/py-section-script.exp: Likewise.
20970 * gdb.python/py-typeprint.exp: Likewise.
20971 * gdb.python/py-xmethods.exp: Likewise.
20972 * gdb.stabs/weird.exp: Likewise.
20973 * gdb.xml/tdesc-regs.exp: Likewise.
20974
bd286a29
KCY
209752014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20976
20977 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20978 (out_cu): Use addr_len for the size of addresses.
20979 (out_line): Likewise. Size DW_LNE_set_address instruction
20980 according to addr_len.
20981 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20982 (FUNC): Add START_INSNS to definition.
20983
673dc4a0
YQ
209842014-10-18 Yao Qi <yao@codesourcery.com>
20985
20986 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20987 gdb_has_argv0 return true.
20988 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20989 check [target_info exists noargs], check [gdb_has_argv0]
20990 instead.
20991 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20992 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20993 procedures.
20994
4ffbba72
DE
209952014-10-17 Doug Evans <dje@google.com>
20996
20997 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20998 event.
20999 * gdb.python/py-events.py: Add clear_objfiles event.
21000
d096d8c1
DE
210012014-10-17 Doug Evans <dje@google.com>
21002
21003 * gdb.python/py-objfile.exp: Test progspace attribute.
21004
a80db015
LM
210052014-10-17 Luis Machado <lgustavo@codesourcery.com>
21006
21007 * gdb.guile/scm-breakpoint.exp: Do not assume any
21008 directory separators when matching source file paths.
21009 * gdb.python/py-breakpoint.exp: Likewise.
21010 * gdb.reverse/break-precsave.exp: Likewise.
21011 * gdb.reverse/break-reverse.exp: Likewise.
21012 * gdb.reverse/consecutive-precsave.exp: Likewise.
21013 * gdb.reverse/finish-precsave.exp: Likewise.
21014 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21015 * gdb.reverse/finish-reverse.exp: Likewise.
21016 * gdb.reverse/i386-precsave.exp: Likewise.
21017 * gdb.reverse/i387-env-reverse.exp: Likewise.
21018 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21019 * gdb.reverse/machinestate-precsave.exp: Likewise.
21020 * gdb.reverse/machinestate.exp: Likewise.
21021 * gdb.reverse/sigall-precsave.exp: Likewise.
21022 * gdb.reverse/solib-precsave.exp: Likewise.
21023 * gdb.reverse/step-precsave.exp: Likewise.
21024 * gdb.reverse/until-precsave.exp: Likewise.
21025 * gdb.reverse/watch-precsave.exp: Likewise.
21026 * gdb.reverse/watch-reverse.exp: Likewise.
21027
b22089ab
YQ
210282014-10-17 Yao Qi <yao@codesourcery.com>
21029
21030 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21031 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21032
6c4486e6
PA
210332014-10-17 Pedro Alves <palves@redhat.com>
21034
21035 PR gdb/17471
21036 * gdb.base/bg-execution-repeat.c: New file.
21037 * gdb.base/bg-execution-repeat.exp: New file.
21038
0ff33695
PA
210392014-10-17 Pedro Alves <palves@redhat.com>
21040
21041 PR gdb/17300
21042 * gdb.base/continue-all-already-running.c: New file.
21043 * gdb.base/continue-all-already-running.exp: New file.
21044
6fdebc3d
PA
210452014-10-17 Pedro Alves <palves@redhat.com>
21046
21047 PR gdb/17472
21048 * gdb.base/annota-input-while-running.c: New file.
21049 * gdb.base/annota-input-while-running.exp: New file.
21050
32a8097b
PA
210512014-10-17 Pedro Alves <palves@redhat.com>
21052
21053 * gdb.base/callfuncs.exp: emove references to osf.
21054 * gdb.base/sigall.exp: Likewise.
21055 * gdb.gdb/selftest.exp: Likewise.
21056 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21057 * gdb.mi/non-stop.c: Likewise.
21058 * gdb.mi/pthreads.c: Likewise.
21059 * gdb.reverse/sigall-precsave.exp: Likewise.
21060 * gdb.reverse/sigall-reverse.exp: Likewise.
21061 * gdb.threads/pthreads.c: Likewise.
21062 * gdb.threads/pthreads.exp: Likewise.
21063
7a3517ff
YQ
210642014-10-17 Yao Qi <yao@codesourcery.com>
21065
21066 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21067 check 'target_info exists noargs'.
21068 (test_command_prompt_position): Likewise.
21069 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21070 Remove "set args".
21071 (progvar_simple_while_test): Likewise.
21072 (progvar_complex_if_while_test): Likewise.
21073 (if_while_breakpoint_command_test): Likewise.
21074 (infrun_breakpoint_command_test): Likewise.
21075 (breakpoint_command_test): Likewise.
21076 (watchpoint_command_test): Likewise.
21077 (bp_deleted_in_command_test): Likewise.
21078 (temporary_breakpoint_commands): Likewise.
21079
bb99c472
YQ
210802014-10-16 Yao Qi <yao@codesourcery.com>
21081
21082 * gdb.base/remotetimeout.exp: Remove noargs checking.
21083
7c16b83e
PA
210842014-10-15 Pedro Alves <palves@redhat.com>
21085
21086 PR breakpoints/9649
21087 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21088 * gdb.base/breakpoint-in-ro-region.exp
21089 (probe_target_hardware_step): New procedure.
21090 (top level): Probe hardware stepping and hardware breakpoint
21091 support. Test stepping through a read-only region, with both
21092 "breakpoint auto-hw" on and off and both "always-inserted" on and
21093 off.
21094
35a49624
IB
210952014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21096
21097 * gdb.dlang/demangle.exp: Update for demangling changes.
21098
2d1c107c
SC
210992014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21100
21101 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21102 * gdb.cp/non-trivial-retval.exp: Add new tests.
21103
778811d5
SC
211042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21105
21106 PR c++/13403
21107 PR c++/15154
21108 * gdb.cp/non-trivial-retval.cc: New file.
21109 * gdb.cp/non-trivial-retval.exp: New file.
21110
10c5f0a8
YQ
211112014-10-15 Yao Qi <yao@codesourcery.com>
21112
21113 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21114 remote host.
21115
65d7b369
YQ
211162014-10-15 Yao Qi <yao@codesourcery.com>
21117
21118 * gdb.python/py-symbol.exp: Match file base name if host is
21119 remote, otherwise match file name with dir name.
21120 * gdb.python/py-symtab.exp: Likewise.
21121 * gdb.python/python.exp: Likewise.
21122
46dc1394
YQ
211232014-10-15 Yao Qi <yao@codesourcery.com>
21124
21125 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21126 pattern.
21127 * gdb.python/py-symtab.exp: Likewise.
21128 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21129 locationn.
21130
c40cc657
JB
211312014-10-14 Joel Brobecker <brobecker@adacore.com>
21132
21133 * gdb.ada/addr_arith: New testcase.
21134
2abf49e1
MR
211352014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21136
21137 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21138 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21139 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21140 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21141
f7088df3
SDJ
211422014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21143
21144 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21145 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21146 * gdb.arch/stap-eval-lang-ada.exp: New file.
21147
4dc06805
YQ
211482014-10-14 Yao Qi <yao@codesourcery.com>
21149
21150 * gdb.mi/mi-var-child.c (nothing1): New function.
21151 (nothing2): New function.
21152 (do_children_tests): Set function pointers by nothing1 and
21153 nothing2.
21154 * gdb.mi/mi-var-child.exp: Step over new added statements.
21155 Update test to match the new output.
21156 * gdb.mi/var-cmd.c (nothing1): New function.
21157 (nothing2): New function.
21158 (do_children_tests): Set function pointers by nothing1 and
21159 nothing2.
21160 * gdb.mi/mi-var-display.exp: Update test to match output.
21161 Step to the line specified by $line_dct_nothing.
21162 Increase the number of lines to step.
21163
46a93de2
YQ
211642014-10-14 Yao Qi <yao@codesourcery.com>
21165
21166 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21167 tests.
21168 * gdb.mi/mi2-var-child.exp: Likewise.
21169
14ea52ee
DE
211702014-10-13 Doug Evans <dje@google.com>
21171
21172 * gdb.python/py-objfile.exp: Change name of file name test.
21173
e5c6e92b
DE
211742014-10-13 Doug Evans <dje@google.com>
21175
21176 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21177 from the start of the CU.
21178
c780cc2f
JK
211792014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21180 Yao Qi <yao@codesourcery.com>
21181
21182 Fix "save breakpoints" for "catch" command.
21183 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21184 Remove -nonewline. Match also the added "main" line.
21185
99894e11
JK
211862014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21187
21188 Fix "save breakpoints" for "disable $bpnum" command.
21189 * gdb.base/save-bp.c (main): Add label.
21190 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21191
6e1ac5a3
JK
211922014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21193
21194 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21195
754dd2b0
YQ
211962014-10-11 Yao Qi <yao@codesourcery.com>
21197
21198 * gdb.server/server-kill.exp: Execute command
21199 "set remote trace-status-packet on" before "tstatus".
21200
f90183d7
YQ
212012014-10-11 Yao Qi <yao@codesourcery.com>
21202
21203 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21204 (main): Call getppid.
21205 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21206 and continue to it. Read variable "server_pid".
21207
bf40a607
YQ
212082014-10-11 Yao Qi <yao@codesourcery.com>
21209
21210 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21211
052ca370
YQ
212122014-10-11 Yao Qi <yao@codesourcery.com>
21213
21214 * gdb.threads/thread-find.exp: Don't execute command
21215 "info threads".
21216 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21217 * gdb.threads/linux-dp.exp: Don't check the condition
21218 $threads_created equals to zero.
21219
3831839c
PA
212202014-10-10 Pedro Alves <palves@redhat.com>
21221
21222 * gdb.base/bigcore.exp: Remove references to IRIX.
21223 * gdb.base/funcargs.exp: Likewise.
21224 * gdb.base/interrupt.exp: Likewise.
21225 * gdb.base/mips_pro.exp: Likewise.
21226 * gdb.base/nodebug.exp: Likewise.
21227 * gdb.base/setvar.exp: Likewise.
21228 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21229
8b9a549d
PA
212302014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21231 Pedro Alves <palves@redhat.com>
21232
21233 PR symtab/14466
21234 * gdb.base/vdso-warning.c: New file.
21235 * gdb.base/vdso-warning.exp: New file.
21236
d48ba5e8
DE
212372014-10-02 Doug Evans <dje@google.com>
21238
21239 * gdb.base/structs.c (main): Don't run forever.
21240
2278c276
PA
212412014-10-02 Pedro Alves <palves@redhat.com>
21242
21243 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21244 (top level) <stop threads 1, stop threads 2>: Use it.
21245
b57bacec
PA
212462014-10-02 Pedro Alves <palves@redhat.com>
21247
21248 * gdb.threads/break-while-running.exp (test): Add new
21249 'update_thread_list' argument. Skip "info threads" if false.
21250 (top level): Add new 'update_thread_list' axis.
21251
13fd3ff3
PA
212522014-10-02 Pedro Alves <palves@redhat.com>
21253
21254 PR breakpoints/17431
21255 * gdb.base/execl-update-breakpoints.c: New file.
21256 * gdb.base/execl-update-breakpoints.exp: New file.
21257
0fec99e8
PA
212582014-10-01 Pedro Alves <palves@redhat.com>
21259
21260 * gdb.base/breakpoint-in-ro-region.c: New file.
21261 * gdb.base/breakpoint-in-ro-region.exp: New file.
21262
2ddf4301
SM
212632014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21264
21265 * gdb.mi/mi-exit-code.exp: New file.
21266 * gdb.mi/mi-exit-code.c: New file.
21267
6a5f3f43
YQ
212682014-09-30 Yao Qi <yao@codesourcery.com>
21269
21270 * lib/prelink-support.exp (build_executable_own_libs): Error if
21271 the target isn't native.
21272
345bcc73
YQ
212732014-09-30 Yao Qi <yao@codesourcery.com>
21274
21275 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21276 false.
21277
a25a5a45
PA
212782014-09-22 Pedro Alves <palves@redhat.com>
21279
21280 * gdb.threads/break-while-running.exp: New file.
21281 * gdb.threads/break-while-running.c: New file.
21282
00ba3162
YQ
212832014-09-19 Yao Qi <yao@codesourcery.com>
21284
21285 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21286 Invoke test. Restart GDB with --readnow and invoke test again.
21287
c3b7b696
YQ
212882014-09-19 Yao Qi <yao@codesourcery.com>
21289
21290 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21291 proc set_breakpoint_on_gcd_function. Invoke
21292 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21293 invoke set_breakpoint_on_gcd_function again.
21294
2b4fd423
DE
212952014-09-18 Doug Evans <dje@google.com>
21296
21297 * gdb.dwarf2/symtab-producer.exp: New file.
21298
a5947601
SDJ
212992014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21300
21301 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21302 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21303 * gdb.base/global-var-nested-by-dso.c: Likewise.
21304 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21305
91c19059
SDJ
213062014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21307 Pedro Alves <palves@redhat.com>
21308
21309 * gdb.base/watch-bitfields.exp: Pass string other than test file
21310 name to prepare_for_testing.
21311 (watch): New procedure.
21312 (expect_watchpoint): Use with_test_prefix.
21313 (top level): Factor out tests to ...
21314 (test_watch_location, test_regular_watch): ... these new
21315 procedures, and use with_test_prefix and gdb_continue_to_end.
21316
bb9d5f81
PP
213172014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21318
21319 PR breakpoints/12526
21320 * gdb.base/watch-bitfields.exp: New file.
21321 * gdb.base/watch-bitfields.c: New file.
21322
635856f5
PA
213232014-09-16 Pedro Alves <palves@redhat.com>
21324
21325 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21326 software and hardware addresses, not software address against
21327 itself.
21328
7280ceea
PA
213292014-09-16 Pedro Alves <palves@redhat.com>
21330
21331 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21332 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21333
428b16bd
PA
213342014-09-16 Pedro Alves <palves@redhat.com>
21335
21336 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21337 files.
21338 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21339 "*-*-vxworks*" throughout.
21340 * gdb.base/break.exp: Likewise.
21341 * gdb.base/default.exp: Likewise.
21342 * gdb.base/scope.exp: Likewise.
21343 * gdb.base/sepdebug.exp: Likewise.
21344 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21345 throughout.
21346 * gdb.base/run.c: Likewise.
21347 * gdb.base/sepdebug.c: Likewise.
21348 * gdb.hp/gdb.aCC/run.c: Likewise.
21349 * gdb.reverse/until-reverse.c: Likewise.
21350 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21351
666d413c
YQ
213522014-09-16 Yao Qi <yao@codesourcery.com>
21353
21354 * boards/local-remote-host-native.exp: New file.
21355
57cbd724
DE
213562014-09-14 Doug Evans <xdje42@gmail.com>
21357
21358 * gdb.threads/queue-signal.c (thread_count): New variable.
21359 (thread_count_mutex, thread_count_condvar): New variables.
21360 (incr_thread_count, wait_all_threads_running): New functions.
21361 (main): Wait for all threads to be in their thread functions.
21362
81219e53
DE
213632014-09-13 Doug Evans <xdje42@gmail.com>
21364
21365 * gdb.threads/queue-signal.c: New file.
21366 * gdb.threads/queue-signal.exp: New file.
21367
3714cea7
DE
213682014-09-13 Doug Evans <xdje42@gmail.com>
21369
21370 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21371 be consistent with what default_gdb_init uses.
21372 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21373 the plain text of the prompt. Add some logging printfs.
21374 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21375
fa43b1d7
PA
213762014-09-12 Pedro Alves <palves@redhat.com>
21377
21378 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21379 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21380 * gdb.arch/i386-size-overlap.exp: Likewise.
21381 * gdb.arch/i386-size.exp: Likewise.
21382 * gdb.arch/i386-unwind.exp: Likewise.
21383 * gdb.base/a2-run.exp: Likewise.
21384 * gdb.base/break.exp: Likewise.
21385 * gdb.base/charset.exp: Likewise.
21386 * gdb.base/chng-syms.exp: Likewise.
21387 * gdb.base/commands.exp: Likewise.
21388 * gdb.base/dbx.exp: Likewise.
21389 * gdb.base/find.exp: Likewise.
21390 * gdb.base/funcargs.exp: Likewise.
21391 * gdb.base/jit-simple.exp: Likewise.
21392 * gdb.base/reread.exp: Likewise.
21393 * gdb.base/sepdebug.exp: Likewise.
21394 * gdb.base/step-bt.exp: Likewise.
21395 * gdb.cp/mb-inline.exp: Likewise.
21396 * gdb.cp/mb-templates.exp: Likewise.
21397 * gdb.objc/basicclass.exp: Likewise.
21398 * gdb.threads/killed.exp: Likewise.
21399
9d9bf2df
EBM
214002014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21401
21402 PR tdep/17379
21403 * gdb.arch/powerpc-stackless.S: New file.
21404 * gdb.arch/powerpc-stackless.exp: New file.
21405
1cf2f1b0
JK
214062014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21407
21408 * gdb.base/attach.c: Include unistd.h.
21409 (main): Call alarm. Add label postloop.
21410 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21411 gdb_breakpoint, gdb_continue_to_breakpoint.
21412 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21413
98880d46
PA
214142014-09-11 Pedro Alves <palves@redhat.com>
21415
21416 PR gdb/17347
21417 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21418 * gdb.base/attach.exp (test_command_line_attach_run): New
21419 procedure.
21420 (top level): Call it.
21421
4c92ff2c
PA
214222014-09-11 Pedro Alves <palves@redhat.com>
21423
21424 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21425 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21426 (do_command_attach_tests): Use spawn_wait_for_attach.
21427 * gdb.base/solib-overlap.exp: Likewise.
21428 * gdb.multi/multi-attach.exp: Likewise.
21429 * gdb.python/py-prompt.exp: Likewise.
21430 * gdb.python/py-sync-interp.exp: Likewise.
21431 * gdb.server/ext-attach.exp: Likewise.
21432
3adc1a7d
GKB
214332014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21434
21435 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21436 command in testcase. Simplify testcase.
21437
96334934
JB
214382014-09-10 Joel Brobecker <brobecker@adacore.com>
21439
21440 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21441
eb479039
JB
214422014-09-10 Joel Brobecker <brobecker@adacore.com>
21443
21444 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21445
deede10c
JB
214462014-09-10 Joel Brobecker <brobecker@adacore.com>
21447
21448 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21449
7828a5f5
JB
214502014-09-10 Joel Brobecker <brobecker@adacore.com>
21451
21452 * gdb.dwarf2/dynarr-ptr.c: New file.
21453 * gdb.dwarf2/dynarr-ptr.exp: New file.
21454
33aeebcf
MR
214552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21456
21457 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21458 of 30 rather than hardcoding 120 for a slow test case. Take the
21459 `gdb,timeout' target setting into account for this calculation.
21460 Don't extend the timeout for the test cases that don't need it.
21461
7b415901
MR
214622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21463
21464 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21465 a factor of 2 for a slow test case. Take the `gdb,timeout'
21466 target setting into account for this calculation.
21467 * gdb.reverse/until-precsave.exp: Increase the timeout by
21468 a factor of 15 and 3 respectively rather than adding 120
21469 for a pair of slow test cases. Take the `gdb,timeout'
21470 target setting into account for this calculation.
21471
4a40f85a
MR
214722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21473
21474 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21475 timeout, don't pass one down to gdb_expect.
21476 (gdb_expect): Rework timeout selection.
21477
09635af7
MR
214782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21479
21480 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21481 exception on timeout.
21482 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21483 (gdbserver_start_extended): Catch any `gdbserver_start' error
21484 exceptions.
21485 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21486 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21487 `gdbserver_gdb_load' error exceptions.
21488
2bdd10b7
MR
214892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21490
21491 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21492 120 on waiting for the TCP socket to open.
21493
316935f0
DE
214942014-09-09 Doug Evans <xdje42@gmail.com>
21495
21496 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21497 _caller_matches, _any_caller_is, _any_caller_matches.
21498
83740597
DE
214992014-09-09 Doug Evans <xdje42@gmail.com>
21500
21501 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21502
4c122fc3
YQ
215032014-09-09 Yao Qi <yao@codesourcery.com>
21504
21505 * gdb.mi/mi-var-display.exp: Set print symbol off.
21506
a9f116cb
GKB
215072014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21508
21509 PR gdb/17035
21510 * gdb.base/commands.exp: Add tests to verify user-defined
21511 commands with empty bodies.
21512 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21513 python commands in `show user command`.
21514 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21515 scheme commands in `show user command`.
21516
c75bd3a2
JK
215172014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21518
21519 PR python/17355
21520 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21521 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21522 * gdb.python/py-framefilter-invalidarg.exp: New file.
21523 * gdb.python/py-framefilter-invalidarg.py: New file.
21524
faa42425
DE
215252014-09-06 Doug Evans <xdje42@gmail.com>
21526
21527 PR 15276
21528 * gdb.python/py-caller-is.c: New file.
21529 * gdb.python/py-caller-is.exp: New file.
21530
474ca4f6
SDJ
215312014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21532
21533 PR gdb/17235
21534 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21535 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21536
eb0b0463
SDJ
215372014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21538
21539 PR fortran/17237
21540 * gdb.fortran/print-formatted.exp: New file.
21541 * gdb.fortran/print-formatted.f90: Likewise.
21542
5f3b99cf
SS
215432014-09-03 Sasha Smundak <asmundak@google.com>
21544
21545 * gdb.python/py-frame.exp: Test Frame.read_register.
21546
7d793aa9
SDJ
215472014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21548
21549 PR python/16699
21550 * gdb.python/py-completion.exp: New file.
21551 * gdb.python/py-completion.py: Likewise.
21552
fb0576e9
DE
215532014-08-28 Doug Evans <dje@google.com>
21554
21555 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21556 eax,etc. are live with values set by gdb and thus the compiler can't
21557 use them.
21558 * gdb.arch/i386-pseudo.c (main): Ditto.
21559
ee92b0dd
DE
215602014-08-27 Doug Evans <dje@google.com>
21561
21562 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21563
6649db35
DE
215642014-08-25 Doug Evans <dje@google.com>
21565
21566 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21567 (main): Ditto.
21568
564b7600
DE
215692014-08-25 Doug Evans <dje@google.com>
21570
21571 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21572
3881fb67
YQ
215732014-08-24 Yao Qi <yao@codesourcery.com>
21574
21575 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21576 symbol off.
21577 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21578
a05a36a5
DE
215792014-08-22 Doug Evans <dje@google.com>
21580
21581 PR 17276
21582 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21583 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21584 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21585
7c343b48
YQ
215862014-08-22 Yao Qi <yao@codesourcery.com>
21587
21588 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21589 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21590 * gdb.python/python.exp: Likewise. Use .py file on the host
21591 instead of the build.
21592
22fd09ae
JK
215932014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21594
21595 * gdb.threads/gcore-stale-thread.c: New file.
21596 * gdb.threads/gcore-stale-thread.exp: New file.
21597
a8454a7c
PA
215982014-08-21 Pedro Alves <palves@redhat.com>
21599
21600 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21601 * gdb.base/gcore-relro-pie.exp: Likewise.
21602 * gdb.base/gcore-relro.exp: Likewise.
21603 * gdb.base/gcore.exp: Likewise.
21604 * gdb.base/print-symbol-loading.exp: Likewise.
21605 * gdb.threads/gcore-thread.exp: Likewise.
21606 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21607
2a31c623
PA
216082014-08-20 Pedro Alves <palves@redhat.com>
21609 Jan Kratochvil <jan.kratochvil@redhat.com>
21610
21611 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21612 configure.
21613 (EXPECT): Handle READ1 being set.
21614 (all): Depend on EXTRA_RULES.
21615 (check-read1, expect-read1, read1.so, read1): New rules.
21616 * README (Testsuite Parameters): Document the READ1 make variable.
21617 (Race detection): New section.
21618 * configure: Regenerate.
21619 * configure.ac: If build==host==target, and running under a
21620 GNU/glibc system, add read1 to the extra Makefile rules.
21621 (EXTRA_RULES): AC_SUBST it.
21622 * lib/read1.c: New file.
21623
d36430db
JB
216242014-08-20 Joel Brobecker <brobecker@adacore.com>
21625
21626 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21627 the handling of variables declared as a typedef to an array
21628 which a DW_AT_data_location attribute.
21629
9a0dc9e3
PA
216302014-08-19 Andrew Burgess <aburgess@broadcom.com>
21631 Pedro Alves <palves@redhat.com>
21632
21633 PR symtab/14604
21634 PR symtab/14605
21635 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21636 gdb_test.
21637
0718a8da
PA
216382014-08-19 Pedro Alves <palves@redhat.com>
21639
21640 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21641
13b448cd
YQ
216422014-08-19 Yao Qi <yao@codesourcery.com>
21643
21644 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21645 right line.
21646
1cbf5077
DB
216472014-08-18 David Blaikie <dblaikie@gmail.com>
21648
21649 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21650
bf0fae19
JB
216512014-08-18 Joel Brobecker <brobecker@adacore.com>
21652
21653 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21654 attribute in array range.
21655
3c8c5dcc
JB
216562014-08-18 Joel Brobecker <brobecker@adacore.com>
21657
21658 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21659
e66d4446
SC
216602014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21661
21662 PR c++/17132
21663 * gdb.cp/pr17132.cc: New file.
21664 * gdb.cp/pr17132.exp: New file.
21665
940df408
SC
216662014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21667
21668 * gdb.python/py-xmethods.py (A_getarrayind)
21669 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21670 Use 'print' with function call syntax.
21671 (E_method_matcher.match): Fix tab vs space indentation mixup.
21672
ebcc6c3a
YQ
216732014-08-15 Yao Qi <yao@codesourcery.com>
21674
21675 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21676 false.
21677
775e0f04
YQ
216782014-08-15 Yao Qi <yao@codesourcery.com>
21679
21680 * gdb.cp/casts.exp: Set print symbol off.
21681 * gdb.cp/class2.exp: Likewise.
21682 * gdb.cp/overload.exp: Likewise.
21683 * gdb.cp/templates.exp: Likewise.
21684
d769e349
DE
216852014-08-11 Doug Evans <dje@google.com>
21686
21687 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21688 (test_load_shlib): Update.
21689
20c6f1e1
YQ
216902014-08-09 Yao Qi <yao@codesourcery.com>
21691
21692 * gdb.base/display.exp: Invoke is_address_zero_readable.
21693 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21694 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21695 * gdb.base/hbreak-unmapped.exp: Return if
21696 is_address_zero_readable returns true.
21697 * gdb.base/signest.exp: Likewise.
21698 * gdb.base/signull.exp: Likewise.
21699 * gdb.base/sigbpt.exp: Likewise.
21700 * gdb.guile/scm-disasm.exp: Do the test if
21701 is_address_zero_readable returns false.
21702 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21703 * gdb.python/py-arch.exp: Likewise.
21704 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21705 * lib/gdb.exp (is_address_zero_readable): New proc.
21706
5792e8e3
YQ
217072014-08-09 Yao Qi <yao@codesourcery.com>
21708
21709 PR testsuite/13443
21710 * gdb.mi/mi-var-display.exp: Make test messages unique.
21711
3cecbbbe
TT
217122014-08-04 Tom Tromey <tromey@redhat.com>
21713
21714 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21715 target 0".
21716
00b51ff5
TT
217172014-08-04 Tom Tromey <tromey@redhat.com>
21718
21719 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21720 "target_resume".
21721
6908c509
JB
217222014-08-01 Joel Brobecker <brobecker@adacore.com>
21723
21724 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21725 inner_vla_struct_object_size.
21726 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21727 as xfail.
21728
cc6563d2
PA
217292014-07-30 Pedro Alves <palves@redhat.com>
21730
21731 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21732 comment.
21733
7e09a223
YQ
217342014-07-29 Yao Qi <yao@codesourcery.com>
21735
21736 PR gdb/17206
21737 * gdb.base/until-nodebug.exp: New.
21738
7ebdbe92
DE
217392014-07-28 Doug Evans <xdje42@gmail.com>
21740
21741 PR guile/17203
21742 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21743 previously existing parameter, and previously ambiguously spelled
21744 parameter.
21745
fdb1adc6
WN
217462014-07-28 Will Newton <will.newton@linaro.org>
21747
21748 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21749
186fcde0
DE
217502014-07-26 Ludovic Courtès <ludo@gnu.org>
21751 Doug Evans <xdje42@gmail.com>
21752
21753 PR guile/17146
21754 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21755
70509625
PA
217562014-07-25 Pedro Alves <palves@redhat.com>
21757
21758 * gdb.threads/signal-command-handle-nopass.c: New file.
21759 * gdb.threads/signal-command-handle-nopass.exp: New file.
21760 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21761 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21762 * gdb.threads/signal-delivered-right-thread.c: New file.
21763 * gdb.threads/signal-delivered-right-thread.exp: New file.
21764
c3f814a1
PA
217652014-07-25 Pedro Alves <palves@redhat.com>
21766
21767 * gdb.base/double-prompt-target-event-error.exp
21768 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21769 match.
21770 (cancel_pagination_in_target_event): Rework double prompt
21771 detection.
21772 * gdb.base/paginate-after-ctrl-c-running.exp
21773 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21774 <return>' match.
21775 * gdb.base/paginate-bg-execution.exp
21776 (test_bg_execution_pagination_return)
21777 (test_bg_execution_pagination_cancel): Remove '-notransfer
21778 <return>' matches.
21779 * gdb.base/paginate-execution-startup.exp
21780 (test_fg_execution_pagination_return)
21781 (test_fg_execution_pagination_cancel): Remove '-notransfer
21782 <return>' matches.
21783 * gdb.base/paginate-inferior-exit.exp
21784 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21785 match.
21786 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21787 * lib/gdb.exp (pagination_prompt): Run text through
21788 string_to_regexp.
21789 (gdb_test_multiple): Match $pagination_prompt instead of
21790 "<return>".
21791 (string_to_regexp): Move to lib/gdb-utils.exp.
21792
e214cf6c
JK
217932014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21794
21795 * gdb.arch/amd64-entry-value-paramref.S: New file.
21796 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21797 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21798 * gdb.arch/amd64-optimout-repeat.S: New file.
21799 * gdb.arch/amd64-optimout-repeat.c: New file.
21800 * gdb.arch/amd64-optimout-repeat.exp: New file.
21801
17d0c5c8
JK
218022014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21803
21804 PR gdb/17170
21805 * gdb.base/statistics.exp: New file.
21806
b8b8facf
DE
218072014-07-17 Doug Evans <dje@google.com>
21808
74b49205 21809 PR gdb/17170
b8b8facf
DE
21810 * gdb.base/maint.exp: Update testing of per-command stats.
21811
1b5d0ab3
PA
218122014-07-16 Pedro Alves <palves@redhat.com>
21813
21814 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21815 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21816 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21817 (tfile_write_buf): New functions.
21818 (add_memory_block): Rewrite using the above.
21819 (adjust_function_address): New function.
21820 (FUNCTION_ADDRESS): New macro.
21821 (write_basic_trace_file): Remove short_x local, and use
21822 tfile_write_16. Change type of func_addr local to unsigned long
21823 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21824 here. Cast argument of add_memory_block to char pointer.
21825 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21826 (main): Remove parameters.
21827 * gdb.trace/tfile.exp: Remove nowarnings.
21828
4d974e88
SM
218292014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21830
21831 * gdb.base/debug-expr.exp: Test string evaluation with
21832 "debug expression" on.
21833
41e99568
PA
218342014-07-15 Pedro Alves <palves@redhat.com>
21835
21836 * gdb.base/reread.exp: Use clean_restart.
21837
487d9753
PL
218382014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21839
21840 * gdb.arch/avr-flash-qualifer.c: New.
21841 * gdb.arch/avr-flash-qualifer.exp: New.
21842
cc1c52ad
PA
218432014-07-14 Pedro Alves <palves@redhat.com>
21844
21845 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21846 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21847
1e973570
PA
218482014-07-14 Pedro Alves <palves@redhat.com>
21849
21850 * gdb.base/double-prompt-target-event-error.c: New file.
21851 * gdb.base/double-prompt-target-event-error.exp: New file.
21852
93d6eb10
PA
218532014-07-14 Pedro Alves <palves@redhat.com>
21854
21855 PR gdb/17072
21856 * gdb.base/paginate-inferior-exit.c: New file.
21857 * gdb.base/paginate-inferior-exit.exp: New file.
21858
0017922d
PA
218592014-07-14 Pedro Alves <palves@redhat.com>
21860
21861 PR gdb/17072
21862 * gdb.base/paginate-bg-execution.c: New file.
21863 * gdb.base/paginate-bg-execution.exp: New file.
21864
94696ad3
PA
218652014-07-14 Pedro Alves <palves@redhat.com>
21866
21867 PR gdb/17072
21868 * gdb.base/paginate-execution-startup.c: New file.
21869 * gdb.base/paginate-execution-startup.exp: New file.
21870 * lib/gdb.exp (pagination_prompt): New global.
21871 (default_gdb_spawn): New procedure, factored out from
21872 default_gdb_spawn.
21873 (default_gdb_start): Adjust to call default_gdb_spawn.
21874 (gdb_spawn): New procedure.
21875
bd293940
PA
218762014-07-14 Pedro Alves <palves@redhat.com>
21877
21878 * lib/gdb.exp (gdb_assert): New procedure.
21879 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21880
c933f875
PA
218812014-07-14 Pedro Alves <palves@redhat.com>
21882
21883 * gdb.base/execution-termios.c: New file.
21884 * gdb.base/execution-termios.exp: New file.
21885
d98b7a16
TT
218862014-07-14 Tom Tromey <tromey@redhat.com>
21887
21888 * gdb.cp/vla-cxx.cc: New file.
21889 * gdb.cp/vla-cxx.exp: New file.
21890
548740d6
TT
218912014-07-14 Tom Tromey <tromey@redhat.com>
21892
21893 * gdb.reverse/rerun-prec.c: New file.
21894 * gdb.reverse/rerun-prec.exp: New file.
21895
a25eb028
MR
218962014-07-12 Maciej W. Rozycki <macro@mips.com>
21897 Maciej W. Rozycki <macro@codesourcery.com>
21898
21899 * lib/gdb-utils.exp: New file.
21900 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21901 inline `gdb_init_command' processing.
21902 (gdb_start_cmd): Likewise.
21903 * lib/mi-support.exp (mi_run_cmd): Likewise.
21904 * README: Document `gdb_init_command' and `gdb_init_commands'.
21905
218c2655
JK
219062014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21907
21908 Fix false FAIL running under a very long directory name.
21909 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21910 and "set print elements 10000". Twice.
21911
5401fde3
YQ
219122014-07-11 Yao Qi <yao@codesourcery.com>
21913
21914 * gdb.base/exprs.exp: "set print symbol off".
21915
e76126e8
PA
219162014-07-11 Pedro Alves <palves@redhat.com>
21917
21918 * gdb.threads/kill.c: New file.
21919 * gdb.threads/kill.exp: New file.
21920
2d6f0de6
YQ
219212014-07-10 Yao Qi <yao@codesourcery.com>
21922
21923 * gdb.trace/tfile.c (write_basic_trace_file)
21924 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21925 address written to trace file.
21926
7180e04a
PA
219272014-07-09 Pedro Alves <palves@redhat.com>
21928
21929 * gdb.base/attach-wait-input.exp: New file.
21930 * gdb.base/attach-wait-input.c: New file.
21931
9a9a7608
AB
219322014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21933
21934 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21935 setting up test structures.
21936 (main): Call new test function.
21937 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21938 test function, continue into test function and walk test
21939 structures.
21940
161ac41e
YQ
219412014-07-02 Yao Qi <yao@codesourcery.com>
21942
21943 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21944 'bar_start' at the beginning of functions 'foo' and 'bar'
21945 respectively.
21946 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21947 instead of 'foo' and 'bar'.
21948
1f267ae3
MM
219492014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21950
21951 * gdb.btrace/segv.exp: New.
21952 * gdb.btrace/segv.c: New.
21953
2b239efb
LM
219542014-07-02 Luis Machado <lgustavo@codesourcery.com>
21955
21956 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21957 instruction.
21958
cf363f18
MW
219592014-06-30 Mark Wielaard <mjw@redhat.com>
21960
21961 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21962 vulture, vilify, villar): New volatile array constants.
21963 (vindictive, vegetation): New const volatile array constants.
21964 * gdb.base/volatile.exp: Test volatile and const volatile array
21965 types.
21966
aebf9d24
AA
219672014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21968
21969 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21970 target lacks support for awatch, rwatch, or hbreak.
21971
b67a2c6f
YQ
219722014-06-27 Yao Qi <yao@codesourcery.com>
21973
21974 * gdb.multi/dummy-frame-restore.exp: New.
21975 * gdb.multi/dummy-frame-restore.c: New.
21976
aef92902
MM
219772014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21978
21979 * gdb.btrace/gcore.exp: New.
21980
8e9db26e
PA
219812014-06-23 Pedro Alves <palves@redhat.com>
21982
21983 * gdb.base/watchpoint-reuse-slot.c: New file.
21984 * gdb.base/watchpoint-reuse-slot.exp: New file.
21985
70afc5b7
SC
219862014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21987
21988 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21989 progspace's filename in 'info', 'enable' and 'disable' command
21990 tests.
21991
b972bd9c
JK
219922014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21993
21994 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21995 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21996 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21997
125f8a3d
GB
219982014-06-20 Gary Benson <gbenson@redhat.com>
21999
22000 * gdb.arch/i386-avx.exp: Fix include file location.
22001 * gdb.arch/i386-sse.exp: Likewise.
22002
3ed9baed
IB
220032014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22004
22005 * gdb.dlang/expression.exp: New file.
22006
034f788c
PA
220072014-06-19 Pedro Alves <palves@redhat.com>
22008
22009 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22010 out from ...
22011 (top level): ... here. Iterate running tests under different
22012 scheduler-locking settings.
22013
45371d0c
LM
220142014-06-18 Luis Machado <lgustavo@codesourcery.com>
22015
22016 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22017 to DW_FORM_addr and use non-zero addresses.
22018
5d376983
SC
220192014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22020
22021 PR gdb/17017
22022 * gdb.python/py-xmethods.cc: Add global function call counters and
22023 increment them in their respective functions. Remove "cout"
22024 statements.
22025 * gdb.python/py-xmethods.exp: Make tests check the global function
22026 call counters instead of depending on inferior IO.
22027
a1aa2221
LM
220282014-06-18 Don Breazeal <donb@codesourcery.com>
22029
22030 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22031 Deleted procedure.
22032 (explicit_fork_parent_follow): Deleted procedure.
22033 (explicit_fork_child_follow): Deleted procedure.
22034 (test_follow_fork): New procedure.
22035 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 22036 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
22037 procedure calls.
22038
0fc05997
YQ
220392014-06-17 Yao Qi <yao@codesourcery.com>
22040
22041 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22042 CP1252.
22043
70795c52
LM
220442014-06-17 Luis Machado <lgustavo@codesourcery.com>
22045
22046 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22047 Initialize ptr and S explicitly.
22048 (skip_type_update_when_not_use_rtti_test): Likewise.
22049
6be47f0c
KS
220502014-06-16 Keith Seitz <keiths@redhat.com>
22051
22052 PR mi/15863
22053 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22054 the inferior is started.
22055
d03de421
PA
220562014-06-16 Pedro Alves <palves@redhat.com>
22057
22058 * gdb.base/break-main-file-remove-fail.c: New file.
22059 * gdb.base/break-main-file-remove-fail.exp: New file.
22060 * gdb.base/break-unload-file.exp: Use build_executable instead of
22061 prepare_for_testing.
22062 (test_break): New parameter "initial_load". Handle it.
22063 (top level): Add initial_load cmdline/file axis.
22064
f9579b99
TT
220652014-06-12 Tom Tromey <tromey@redhat.com>
22066
22067 * gdb.base/completion.exp: Don't use directory name in test.
22068
3657956b
GB
220692014-06-09 Gary Benson <gbenson@redhat.com>
22070
22071 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22072 separate the always-available ANSI-standard signals from the
22073 signals that require checking.
22074 (main): Likewise.
22075 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22076 Likewise.
22077 (main): Likewise.
22078
4186eb54
KS
220792014-06-07 Keith Seitz <keiths@redhat.com>
22080
22081 Revert:
22082 PR c++/16253
22083 * gdb.cp/var-tag.cc: New file.
22084 * gdb.cp/var-tag.exp: New file.
22085 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22086 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22087 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22088 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22089
25326a28 220902014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
22091
22092 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22093
829155c9
PA
220942014-06-06 Pedro Alves <palves@redhat.com>
22095
22096 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22097 in target debug output instead of looking at RSP packets,
22098 disabling the test on any target that uses hardware stepping.
22099 Update comments.
22100
61c8d22e
PA
221012014-06-06 Pedro Alves <palves@redhat.com>
22102
22103 * gdb.base/break-unload-file.exp: Fix typo.
22104
d9a47287
YQ
221052014-06-06 Yao Qi <yao@codesourcery.com>
22106
22107 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22108 from "jit_function" to "^jit_function".
22109
e5e01dbf
YQ
221102014-06-06 Yao Qi <yao@codesourcery.com>
22111
22112 * gdb.base/async.c (foo): Add one statement.
22113 * gdb.base/async.exp: Get the next instruction address and
22114 match the output of "nexti" by instruction address. Match
22115 the hex address in the output of "finish".
22116
73ba372c
GB
221172014-06-06 Gary Benson <gbenson@redhat.com>
22118
22119 * gdb.base/call-signals.c: Remove preprocessor conditionals
22120 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22121 SIGSEGV and SIGTERM.
22122 * gdb.base/sigall.c: Likewise.
22123 * gdb.base/unwindonsignal.c: Likewise.
22124 * gdb.reverse/sigall-reverse.c: Likewise.
22125
831517df
YQ
221262014-06-06 Yao Qi <yao@codesourcery.com>
22127
22128 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22129 readable, skip the test.
22130
b8b91e98
YQ
221312014-06-06 Yao Qi <yao@codesourcery.com>
22132
22133 * gdb.threads/staticthreads.c (thread_function): Move the line
22134 setting breakpoint on forward.
22135 * gdb.threads/staticthreads.exp: Update comments.
22136
fb934770
LC
221372014-06-05 Ludovic Courtès <ludo@gnu.org>
22138
22139 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22140 "history-append! type error".
22141
6ef284bd
SM
221422014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22143
22144 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22145 erroneous dprintf expected input.
22146
a872e241
DE
221472014-06-04 Doug Evans <xdje42@gmail.com>
22148
22149 * gdb.guile/scm-generics.exp: Delete.
22150
16f691fb
DE
221512014-06-04 Doug Evans <xdje42@gmail.com>
22152
22153 * gdb.guile/scm-breakpoint.exp: Update.
22154 Add tests for breakpoint registration.
22155
012370f6
TT
221562014-06-04 Tom Tromey <tromey@redhat.com>
22157
22158 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22159 VLA-in-union.
22160 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22161 inner_vla_struct, vla_union types. Initialize objects of those
22162 types and compute their sizes.
22163
9f5a4cef
HZ
221642014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22165 Hui Zhu <hui@codesourcery.com>
22166
22167 * gdb.base/fileio.exp: Add test for shell not available as well as
22168 available.
22169 * gdb.base/fileio.c (test_system): Check for shell twice.
22170
90a45c4d
YQ
221712014-06-04 Yao Qi <yao@codesourcery.com>
22172
22173 * gdb.base/auto-connect-native-target.exp: Remove redundant
22174 space from the regexp pattern.
22175
70017e41
YQ
221762014-06-04 Yao Qi <yao@codesourcery.com>
22177
22178 * gdb.base/default.exp: Replace "child" with "native" in
22179 regexp pattern.
22180
883964a7
SC
221812014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22182
22183 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22184 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22185 * gdb.python/py-xmethods.py: Python script supporting the
22186 new testcase and tests.
22187
ef370185
JB
221882014-06-03 Joel Brobecker <brobecker@adacore.com>
22189 Pedro Alves <palves@redhat.com>
22190
22191 PR breakpoints/17000
22192 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22193 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22194
1e2ccb61
BM
221952014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22196
22197 * gdb.base/subst.exp: Add tests to verify partial path matching
22198 output.
22199
c6ec5ab2
PA
222002014-06-03 Pedro Alves <palves@redhat.com>
22201
22202 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22203 target that doesn't use software single-stepping.
22204
835c559f
PA
222052014-06-03 Pedro Alves <palves@redhat.com>
22206
22207 PR breakpoints/17000
22208 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22209 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22210
06eb1586
DE
222112014-06-02 Doug Evans <xdje42@gmail.com>
22212
22213 * gdb.guile/scm-parameter.exp: New file.
22214
e698b8c4
DE
222152014-06-02 Doug Evans <xdje42@gmail.com>
22216
22217 * gdb.guile/scm-cmd.c: New file.
22218 * gdb.guile/scm-cmd.exp: New file.
22219
ded03782
DE
222202014-06-02 Doug Evans <xdje42@gmail.com>
22221
22222 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22223 pretty-printer lookup.
22224 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22225 (make-pp_s-printer): Call it.
22226 (make-pretty-printer-from-dict): New function.
22227 (lookup-pretty-printer-maker-from-dict): New function.
22228 (*pretty-printer*): Simplify.
22229 (make-objfile-pp_s-printer): New function.
22230 (install-objfile-pretty-printers!): New function.
22231 (make-progspace-pp_s-printer): New function.
22232 (install-progspace-pretty-printers!): New function.
22233 * gdb.guile/scm-progspace.c: New file.
22234 * gdb.guile/scm-progspace.exp: New file.
22235
41fac0cf
PA
222362014-06-02 Pedro Alves <palves@redhat.com>
22237
22238 * gdb.base/dprintf-bp-same-addr.c: New file.
22239 * gdb.base/dprintf-bp-same-addr.exp: New file.
22240
96ae5695
EBM
222412014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22242
22243 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22244 * gdb.arch/powerpc-power.s: Likewise.
22245
da02b3a8
JB
222462014-06-02 Joel Brobecker <brobecker@adacore.com>
22247
22248 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22249
c72b2e7b
YQ
222502014-06-01 Yao Qi <yao@codesourcery.com>
22251
22252 * gdb.base/watchpoint.exp (test_watch_location): Check null
22253 pointer can be dereferenced. If not, do the test, otherwise
22254 skip it.
22255
53e8a631
AB
222562014-05-30 Andrew Burgess <aburgess@broadcom.com>
22257
22258 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22259 results.
22260 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22261
938f0e2f
AB
222622014-05-30 Andrew Burgess <aburgess@broadcom.com>
22263
22264 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22265 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22266 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22267 * gdb.arch/amd64-invalid-stack-top.c: New file.
22268 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22269
9ba6657a
PA
222702014-05-30 Pedro Alves <palves@redhat.com>
22271
22272 PR breakpoints/17000
22273 * gdb.base/sss-bp-on-user-bp.c: New file.
22274 * gdb.base/sss-bp-on-user-bp.exp: New file.
22275
522c09bf
DB
222762014-05-30 David Blaikie <dblaikie@gmail.com>
22277
22278 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22279 gnu_inline semantics via attribute.
22280 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22281 source explicitly specifies the required semantics.
22282
bf4ef81e
MR
222832014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22284
22285 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22286
329ea579
PA
222872014-05-29 Pedro Alves <palves@redhat.com>
22288 Tom Tromey <tromey@redhat.com>
22289
22290 * gdb.base/async-shell.exp: Don't enable target-async.
22291 * gdb.base/async.exp
22292 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22293 parameter. Adjust.
22294 (top level): Don't test with "target-async".
22295 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22296 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22297 * gdb.base/inferior-died.exp: Don't enable target-async.
22298 * gdb.base/interrupt-noterm.exp: Likewise.
22299 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22300 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22301 * gdb.mi/mi-nonstop.exp: Likewise.
22302 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22303 * gdb.mi/mi-nsintrall.exp: Likewise.
22304 * gdb.mi/mi-nsmoribund.exp: Likewise.
22305 * gdb.mi/mi-nsthrexec.exp: Likewise.
22306 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22307 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22308 * gdb.python/py-evsignal.exp: Don't enable target-async.
22309 * gdb.python/py-evthreads.exp: Likewise.
22310 * gdb.python/py-prompt.exp: Likewise.
22311 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22312 * gdb.server/solib-list.exp: Don't enable target-async.
22313 * gdb.threads/thread-specific-bp.exp: Likewise.
22314 * lib/mi-support.exp: Adjust to use mi-async.
22315
fd664c91
PA
223162014-05-29 Pedro Alves <palves@redhat.com>
22317
22318 PR gdb/13860
22319 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22320 reason, even in sync mode.
22321
251bde03
PA
223222014-05-29 Pedro Alves <palves@redhat.com>
22323 Hui Zhu <hui@codesourcery.com>
22324
22325 PR PR15693
22326 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22327 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22328 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22329 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22330
7f3c0343
JB
223312014-05-28 Joel Brobecker <brobecker@adacore.com>
22332
22333 * config/monitor.exp (gdb_target_monitor): Replace use of
22334 "set remotebaud" by "set serial baud".
22335
b2715b27
AW
223362014-05-26 Andy Wingo <wingo@igalia.com>
22337
22338 * gdb.guile/scm-breakpoint.exp:
22339 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22340 properties instead of gdb-object-properties.
22341
498a4489
YQ
223422014-05-26 Yao Qi <yao@codesourcery.com>
22343
22344 * gdb.server/no-thread-db.exp: Specify source file name
22345 explicitly when setting a breakpoint.
22346
589fdceb
MM
223472014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22348
22349 * gdb.btrace/vdso.c: New.
22350 * gdb.btrace/vdso.exp: New.
22351
e9089e05
MM
223522014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22353
22354 * gdb.base/gcore.exp (capture_command_output): Move ...
22355 * lib/gdb.exp (capture_command_output): ... here.
22356
67b5c0c1
MM
223572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22358
22359 * gdb.btrace/data.exp: Test memory access during btrace replay.
22360
a2199296
SM
223612014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22362
22363 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22364
17b2616c
PA
223652014-05-21 Pedro Alves <palves@redhat.com>
22366
22367 PR gdb/13860
22368 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22369 (top level): Test that output related to execution commands is
22370 sent to the console with CLI commands, but not with MI commands.
22371 Test that breakpoint events are always mirrored to the console.
22372 Also expect the new source line to be output after a "next" in
22373 async mode too. Make it a pass/fail test.
22374 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22375 output.
22376 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22377
5166082f
PA
223782014-05-21 Pedro Alves <palves@redhat.com>
22379
22380 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22381 Use them to test variations of "list" after reaching a breakpoint.
22382 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22383 Test "list" with listsize 10 after reaching a breakpoint.
22384 * gdb.python/python.exp (decode_line current location line
22385 number): Adjust expected line number.
22386
2f25d70f
SM
223872014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22388
22389 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22390 behavior for $args, pass it directly to "run".
22391
ff604a67
MR
223922014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22393
22394 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22395 30000 to 65536.
22396
6a3cb8e8
PA
223972014-05-21 Pedro Alves <palves@redhat.com>
22398
22399 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22400 auto-connect-native-target off".
22401 * gdb.base/auto-connect-native-target.c: New file.
22402 * gdb.base/auto-connect-native-target.exp: New file.
22403
4ebfc96e
PA
224042014-05-21 Pedro Alves <palves@redhat.com>
22405
22406 * gdb.base/default.exp: Test "target native" instead of "target
22407 child".
22408
36d46afb
MW
224092014-05-21 Mark Wielaard <mjw@redhat.com>
22410
22411 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22412
5876f503
JK
224132014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22414
22415 Fix TLS access for -static -pthread.
22416 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22417 <HAVE_TLS> (thread_function, main): Initialize it.
22418 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22419 Add clean_restart.
22420 <$have_tls != "">: Check TLSVAR.
22421
0256a6ac
PA
224222014-05-21 Pedro Alves <palves@redhat.com>
22423
22424 * gdb.base/dcache-line-read-error.c: New.
22425 * gdb.base/dcache-line-read-error.exp: New.
22426
936d2992
PA
224272014-05-20 Pedro Alves <palves@redhat.com>
22428
22429 * gdb.base/compare-sections.c: New file.
22430 * gdb.base/compare-sections.exp: New file.
22431
802e8e6d
PA
224322014-05-20 Pedro Alves <palves@redhat.com>
22433
22434 * gdb.base/break-idempotent.c: New file.
22435 * gdb.base/break-idempotent.exp: New file.
22436
e59fa00f
MM
224372014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22438
22439 * gdb.btrace/nohist.exp: New.
22440
8b696e31
YQ
224412014-05-20 Yao Qi <yao@codesourcery.com>
22442
22443 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22444 gdb.reverse directory and gdb_reverse_timeout exists in board
22445 setting.
22446 * README: Document gdb_reverse_timeout.
22447
73c9764f
YQ
224482014-05-20 Yao Qi <yao@codesourcery.com>
22449
22450 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22451 'test_file_name'. Treat args as a string instead of a list.
22452 (gdb_init): Rename argument 'args' by 'test_file_name'.
22453
f1f4348a
JK
224542014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22455
22456 * gdb.arch/powerpc-power.exp: New file.
22457 * gdb.arch/powerpc-power.s: New file.
22458
0dbe70ce
DE
224592014-05-16 Doug Evans <dje@google.com>
22460
22461 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22462 * gdb.base/completion.exp: Check that all expected files exist
22463 before doing file completion.
0dbe70ce 22464
8d551b02
DE
224652014-05-16 Doug Evans <dje@google.com>
22466
22467 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22468 Update.
22469 (do_syscall_tests_without_xml): Update.
22470
73eb7709
PA
224712014-05-16 Pedro Alves <palves@redhat.com>
22472
22473 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22474 instead of "unknown output after running".
22475
3fae92fc
YQ
224762014-05-16 Yao Qi <yao@codesourcery.com>
22477
22478 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22479 file1.txt from host at the end.
22480 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22481
c2b2ccc5
DE
224822014-05-15 Doug Evans <dje@google.com>
22483
22484 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22485 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22486 loading file. Add test for TU lookup.
22487
8c217a4b
SM
224882014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22489
22490 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22491 calling "-exec-arguments" or "set args" before running the
22492 inferior.
22493
3deb39c6
SM
224942014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22495
22496 * lib/mi-support.exp (mi_expect_stop): Expect message for
22497 inferiors that exit with non-zero exit code.
22498
71a79f8c
YQ
224992014-05-14 Yao Qi <yao@codesourcery.com>
22500
22501 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22502 match absolute path on remote host.
22503 (test_file_list_exec_source_files): Remove "/" from the
22504 pattern.
22505
f23fcd46
YQ
225062014-05-14 Yao Qi <yao@codesourcery.com>
22507
22508 * boards/local-remote-host-notty.exp (${board}_file): New
22509 proc.
22510
9404b58f
KM
225112014-05-07 Kyle McMartin <kyle@redhat.com>
22512
22513 Pushed by Joel Brobecker <brobecker@adacore.com>.
22514 * gdb.arch/aarch64-atomic-inst.c: New file.
22515 * gdb.arch/aarch64-atomic-inst.exp: New file.
22516
5e45f04c
YQ
225172014-05-07 Yao Qi <yao@codesourcery.com>
22518
22519 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22520 in current context" too.
22521
c888a17d
KS
225222014-05-05 Keith Seitz <keiths@redhat.com>
22523
22524 * gdb.linespec/ls-dollar.exp: Add test for linespec
22525 file:convenience_variable.
22526
290a839c
YQ
225272014-05-05 Yao Qi <yao@codesourcery.com>
22528
22529 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22530 traceframes into tfile and ctf trace files. Read data from
22531 trace file and test collected data.
22532 (gdb_collect_locals_test): Likewise.
22533 (gdb_unavailable_registers_test): Likewise.
22534 (gdb_unavailable_floats): Likewise.
22535 (gdb_collect_globals_test): Likewise.
22536 (top-level): Append "ctf" to trace_file_targets if GDB
22537 supports.
22538
b5262cd0
YQ
225392014-05-05 Yao Qi <yao@codesourcery.com>
22540
22541 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22542 code to ...
22543 (gdb_collect_args_test_1): ... it. New proc.
22544 (gdb_collect_locals_test): Move some code to ...
22545 (gdb_collect_locals_test_1): ... it. New proc.
22546 (gdb_unavailable_registers_test): Move some code to ...
22547 (gdb_unavailable_registers_test_1): ... it. New proc.
22548 (gdb_unavailable_floats): Move some code to ...
22549 (gdb_unavailable_floats_1): ... it. New proc.
22550
30a1e6cc
SDJ
225512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22552
22553 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22554 probes to test for bitness recognition.
22555 * gdb.arch/amd64-stap-optional-prefix.exp
22556 (test_probe_value_without_reg): New procedure.
22557 Add code to test for different kinds of bitness.
22558
f33da99a
SDJ
225592014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22560
22561 PR breakpoints/16889
22562 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22563 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22564
5b80f00d
PA
225652014-05-01 Pedro Alves <palves@redhat.com>
22566
22567 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22568 gdb_file_cmd if no file is specified.
22569 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22570 last_loaded_file to set the remote exec-file.
22571
f8c2a73c
PA
225722014-05-01 Pedro Alves <palves@redhat.com>
22573
22574 * boards/local-remote-host.exp: New file.
22575
be6e8ac7
PA
225762014-05-01 Pedro Alves <palves@redhat.com>
22577
22578 * boards/local-remote-host.exp: Rename to ...
22579 * boards/local-remote-host-notty.exp: ... this.
22580
cac0dc8f
JB
225812014-04-28 Joel Brobecker <brobecker@adacore.com>
22582
22583 * gdb.ada/dyn_arrayidx: New testcase.
22584
9730e6cc
YQ
225852014-04-26 Yao Qi <yao@codesourcery.com>
22586
22587 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22588 and compute the length of function main. Save it in
22589 $main_length.
22590 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22591 (top-level): Use gdb_compile to compile objects into
22592 executable and restart GDB. Remove invocation to
22593 prepare_for_testing.
22594
7ae1a6a6
PA
225952014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22596 Pedro Alves <palves@redhat.com>
22597
22598 PR server/16255
22599 * gdb.multi/multi-attach.c: New file.
22600 * gdb.multi/multi-attach.exp: New file.
22601
4082afcc
PA
226022014-04-25 Pedro Alves <palves@redhat.com>
22603
22604 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22605 user.
22606 (top level): Test that "set remote conditional-breakpoints-packet
22607 off" works as intended.
22608 * gdb.base/dprintf.exp: Test that "set remote
22609 breakpoint-commands-packet off" works as intended.
22610 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22611 New function.
22612 (top level): Call it.
22613 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22614 remote fast-tracepoints-packet off" works as intended.
22615 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22616 * lib/gdb.exp (gdb_is_target_remote): ... here.
22617
2abc3f8d
DB
226182014-04-24 David Blaikie <dblaikie@gmail.com>
22619
22620 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22621 ensure clang would not discard them.
22622 * gdb.base/gdbvars.c: Ditto.
22623 * gdb.base/memattr.c: Ditto.
22624 * gdb.base/whatis.c: Ditto.
22625 * gdb.python/py-prettyprint.c: Ditto.
22626 * gdb.trace/actions.c: Ditto.
22627 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22628 ensure clang would not discard it.
22629
bfd39632
DB
226302014-04-24 David Blaikie <dblaikie@gmail.com>
22631
22632 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22633 clang to emit the full definition of type required by the test
22634 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22635
22842ff6
DB
226362014-04-24 David Blaikie <dblaikie@gmail.com>
22637
22638 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22639 coax Clang into emitting the definition of the type.
22640 * gdb.cp/pr10728-x.h (y): Ditto.
22641 * gdb.cp/pr10728-y.cc (y): Ditto.
22642
c2e827ad
DB
226432014-04-24 David Blaikie <dblaikie@gmail.com>
22644
22645 * gdb.base/label.exp: XFAIL label related tests under Clang.
22646 * gdb.cp/cplabel.exp: Ditto.
22647 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22648 under Clang those using labels.
22649
4c2d33e7
YQ
226502014-04-25 Yao Qi <yao@codesourcery.com>
22651
22652 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22653 double_label.
22654 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22655 partial_label and double_label.
22656
56083b99
DB
226572014-04-24 David Blaikie <dblaikie@gmail.com>
22658
22659 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22660
25d4e99d
DB
226612014-04-24 David Blaikie <dblaikie@gmail.com>
22662
22663 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22664 of the function to work across GCC and Clang.
22665 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22666 pointer types (const void ** const V void **).
22667
01f9f808
MS
226682014-04-24 Michael Sturm <michael.sturm@mintel.com>
22669 Walfred Tedeschi <walfred.tedeschi@intel.com>
22670
22671 * Makefile.in (EXECUTABLES): Added i386-avx512.
22672 * gdb.arch/i386-avx512.c: New file.
22673 * gdb.arch/i386-avx512.exp: Likewise.
22674
4b48d439
KS
226752014-04-23 Keith Seitz <keiths@redhat.com>
22676
22677 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22678 (mi_make_breakpoint_table): New procedure.
22679 (mi_create_breakpoint): Use mi_make_breakpoint
22680 and return the result.
22681 (mi_make_breakpoint): New procedure.
22682 (mi_build_kv_pairs): New procedure.
22683
22684 * gdb.mi/mi-break.exp: Remove unused globals,
22685 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22686 All callers updated.
22687 * gdb.mi/mi-dprintf.exp: Use variable to track command
22688 number.
22689 Update all callers of mi_create_breakpoint and use
22690 mi_make_breakpoint_table.
22691 Remove any unused global variables.
22692 * gdb.mi/mi-nonstop.exp: Likewise.
22693 * gdb.mi/mi-nsintrall.exp: Likewise.
22694 * gdb.mi/mi-nsmoribund.exp: Likewise.
22695 * gdb.mi/mi-nsthrexec.exp: Likewise.
22696 * gdb.mi/mi-reverse.exp: Likewise.
22697 * gdb.mi/mi-simplerun.exp: Likewise.
22698 * gdb.mi/mi-stepn.exp: Likewise.
22699 * gdb.mi/mi-syn-frame.exp: Likewise.
22700 * gdb.mi/mi-until.exp: Likewise.
22701 * gdb.mi/mi-var-cp.exp: Likewise.
22702 * gdb.mi/mi-var-display.exp: Likewise.
22703 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22704 * gdb.mi/mi2-var-child.exp: Likewise.
22705 * gdb.mi/mi-vla-c99.exp: Likewise.
22706 * lib/mi-support.exp: Likewise.
22707
22708 From Ian Lance Taylor <iant@cygnus.com>:
22709 * lib/gdb.exp (parse_args): New procedure.
22710
08351840
PA
227112014-04-23 Pedro Alves <palves@redhat.com>
22712
22713 * gdb.base/break-unload-file.c: New file.
22714 * gdb.base/break-unload-file.exp: New file.
22715 * gdb.base/sym-file-lib.c (baz): New function.
22716 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22717 field.
22718 (load): Store the segment's mapped size.
22719 (unload): New function.
22720 (unload_shlib): New function.
22721 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22722 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22723 set a breakpoint at baz, and call it.
22724 * gdb.base/sym-file.exp: New tests for stale breakpoint
22725 instructions.
22726
076855f9
PA
227272014-04-23 Pedro Alves <palves@redhat.com>
22728
22729 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22730 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22731 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22732 * gdb.base/hbreak-unmapped.c: New file.
22733 * gdb.base/hbreak-unmapped.exp: New file.
22734 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22735 * lib/gdb.exp (gdb_is_target_remote): ... here.
22736
483805cf
PA
227372014-04-22 Pedro Alves <palves@redhat.com>
22738
22739 * gdb.base/consecutive-step-over.c: New file.
22740 * gdb.base/consecutive-step-over.exp: New file.
22741
06d97543
PA
227422014-04-22 Pedro Alves <palves@redhat.com>
22743
22744 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22745 instead of send_gdb/gdb_expect.
22746
b4429ea2
YQ
227472014-04-22 Yao Qi <yao@codesourcery.com>
22748
22749 * lib/trace-support.exp (generate_tracefile): New procedure.
22750 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22751 return 0.
22752 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22753 if generate_tracefile returns 1.
22754
51d48146
PA
227552014-04-18 Tom Tromey <palves@redhat.com>
22756 Pedro alves <tromey@redhat.com>
22757
22758 PR backtrace/15558
22759 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22760 with a backtrace limit.
22761 * gdb.python/py-frame-inline.exp: Test running to an inline
22762 function with a backtrace limit, and printing the newest frame.
22763 * gdb.python/py-frame-inline.c (main): Call f.
22764
bd1dce5f
MS
227652014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22766
22767 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22768
40d1a503
MS
227692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22770
22771 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22772 Drop prefix from unsupported source file path.
22773
389b98f7
YQ
227742014-04-17 Yao Qi <yao@codesourcery.com>
22775
22776 * lib/gdb.exp (with_target_charset): New proc.
22777 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22778 with_target_charset.
22779 (test_print_strings): Likewise.
22780 (test_repeat_bytes): Likewise.
22781 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22782 for some tests.
22783
22869d73
KS
227842014-04-16 Keith Seitz <keiths@redhat.com>
22785
22786 PR gdb/15827
22787 * gdb.dwarf2/corrupt.c: New file.
22788 * gdb.dwarf2/corrupt.exp: New file.
22789
c4f87ca6
KS
227902014-04-16 Keith Seitz <keiths@redhat.com>
22791
22792 PR c++/16597
22793 * gdb.cp/namelessclass.cc: New file.
22794 * gdb.cp/namelessclass.exp: New file.
22795 * gdb.cp/namelessclass.S: New file.
22796
ab19de87
DE
227972014-04-16 Doug Evans <dje@google.com>
22798
22799 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22800 Add comment.
22801 (gdbserver_default_get_comm_port): New function.
22802 (gdbserver_start): Check if board file provided
22803 "gdbserver,get_comm_port" and use it if so.
22804 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22805 (gdb,socketport): Set to "stdio".
22806 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22807 (stdio_gdbserver_template): Delete.
22808 (${board}_get_remote_address): Update.
22809 (${board}_build_remote_cmd): Delete.
22810 (${board}_get_comm_port): New function.
22811 (${board}_spawn): Update.
22812 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22813 Delete.
22814 (${board}_get_remote_address): Update.
22815 (${board}_get_comm_port): New function.
22816
fc98a809
AB
228172014-04-16 Andrew Burgess <aburgess@broadcom.com>
22818
22819 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22820 appearing in any order.
22821
87fd9e6e
DE
228222014-04-15 Doug Evans <dje@google.com>
22823
22824 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22825 uninitialized value of "description".
22826
099fc3ea
KS
228272014-04-15 Keith Seitz <keiths@redhat.com>
22828
22829 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22830 Remove unused globals.
22831 (test_running_the_program): Likewise.
22832 (test_controlled_execution): Likewise.
22833 (test_controlling_breakpoints): Likewise.
22834 (test_program_termination): Likewise.
22835
5da151d4
KS
228362014-04-15 Keith Seitz <keiths@redhat.com>
22837
22838 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22839 unused globals.
22840 (test_rbreak_creation_and_listing): Likewise.
22841 (test_ignore_count): Likewise.
22842 (test_error): Likewise.
22843
35e5d2f0
PA
228442014-04-15 Pedro Alves <palves@redhat.com>
22845
22846 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22847 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22848 sym-file-loader.c.
22849 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22850 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22851 to sym-file-loader.c.
22852 (struct library): Forward declare.
22853 (load_shlib, lookup_function): Change prototypes.
22854 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22855 (translate_offset): Remove declarations.
22856 (get_text_addr): New declaration.
22857 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22858 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22859 sym-file-loader.h.
22860 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22861 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22862 here from sym-file-loader.h.
22863 (struct library): New structure.
22864 (load_shlib, lookup_function): Change prototypes and adjust to
22865 work with a struct library.
22866 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22867 (translate_offset): Make static.
22868 (get_text_addr): New function.
22869 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22870
eb4c1710
PA
228712014-04-15 Pedro Alves <palves@redhat.com>
22872
22873 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22874
2d1baf52
PA
228752014-04-15 Pedro Alves <palves@redhat.com>
22876
22877 * gdb.base/sym-file-loader.c: Include <limits.h>.
22878 (SELF_LINK): New define.
22879 (get_origin): New function.
22880 (load_shlib): Use it.
22881 * gdb.base/sym-file.exp: Don't early return if the target is
22882 remote. Use runto_main, and issue fail is that fails. Use
22883 gdb_load_shlibs.
22884 (shlib_name): Delete.
22885 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22886
7dd6df01
PA
228872014-04-15 Pedro Alves <palves@redhat.com>
22888
22889 * gdb.base/sym-file.exp: Remove regex characters from test
22890 message. Don't refer to breakpoint numbers in test messages.
22891
b50c8614
KS
228922014-04-14 Keith Seitz <keiths@redhat.com>
22893
22894 PR c++/16253
22895 * gdb.cp/var-tag.cc: New file.
22896 * gdb.cp/var-tag.exp: New file.
22897 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22898 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22899 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22900 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22901
3d567982
TT
229022014-04-14 Tom Tromey <tromey@redhat.com>
22903
22904 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22905 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22906 type.
22907 * gdb.cp/enum-class.exp: New file.
22908 * gdb.cp/enum-class.cc: New file.
22909
0626fc76
TT
229102014-04-14 Tom Tromey <tromey@redhat.com>
22911
22912 * gdb.dwarf2/enum-type.exp: New file.
22913
dca325b3
SA
229142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22915
22916 * gdb.mi/mi-vla-c99.exp: New file.
22917 * gdb.mi/vla.c: New file.
22918
5854b38a
SA
229192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22920
22921 * gdb.base/vla-datatypes.c: New file.
22922 * gdb.base/vla-datatypes.exp: New file.
22923
463bb957
SA
229242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22925
22926 * gdb.base/vla-ptr.c: New file.
22927 * gdb.base/vla-ptr.exp: New file.
22928
3dd170be
SA
229292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22930
22931 * gdb.dwarf2/count.exp: New file.
22932
5ecaaa66
SA
229332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22934
22935 * gdb.base/vla-sideeffect.c: New file.
22936 * gdb.base/vla-sideeffect.exp: New file.
22937
41f1ada5
DB
229382014-04-14 David Blaikie <dblaikie@gmail.com>
22939
22940 * gdb.mi/non-stop.c: Add return value for non-void function return
22941 statement.
22942 * gdb.threads/staticthreads.c: Ditto.
22943
0be03e84
DE
229442014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22945 Doug Evans <xdje42@gmail.com>
22946
22947 * gdb.guile/scm-value.c: Improve test case.
22948 * gdb.guile/scm-value.exp: Add new test.
22949
f180a1fb
DB
229502014-04-11 David Blaikie <dblaikie@gmail.com>
22951
22952 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22953 override Clang's default.
22954
6b662e19
JB
229552014-04-11 Joel Brobecker <brobecker@adacore.com>
22956
22957 Revert the following changes (regressions):
22958
22959 * gdb.base/vla-sideeffect.c: New file.
22960 * gdb.base/vla-sideeffect.exp: New file.
22961
22962 * gdb.dwarf2/count.exp: New file.
22963
22964 * gdb.base/vla-multi.c: New file.
22965 * gdb.base/vla-multi.exp: New file.
22966
22967 * gdb.base/vla-ptr.c: New file.
22968 * gdb.base/vla-ptr.exp: New file.
22969
22970 * gdb.base/vla-datatypes.c: New file.
22971 * gdb.base/vla-datatypes.exp: New file.
22972
22973 * gdb.mi/mi-vla-c99.exp: New file.
22974 * gdb.mi/vla.c: New file.
22975
245a5f0b
KS
229762014-04-11 Keith Seitz <keiths@redhat.com>
22977
22978 PR c++/16675
22979 * gdb.cp/cpsizeof.exp: New file.
22980 * gdb.cp/cpsizeof.cc: New file.
22981
58a84dcf
SA
229822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22983
191a8a90
JB
22984 * gdb.mi/mi-vla-c99.exp: New file.
22985 * gdb.mi/vla.c: New file.
58a84dcf 22986
c8655f75
SA
229872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22988
22989 * gdb.base/vla-datatypes.c: New file.
22990 * gdb.base/vla-datatypes.exp: New file.
22991
024e13b4
SA
229922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22993
22994 * gdb.base/vla-ptr.c: New file.
22995 * gdb.base/vla-ptr.exp: New file.
22996
1a237e0e
SA
229972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22998
22999 * gdb.base/vla-multi.c: New file.
23000 * gdb.base/vla-multi.exp: New file.
23001
504f3432
SA
230022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23003
23004 * gdb.dwarf2/count.exp: New file.
23005
3bce8237
SA
230062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23007
191a8a90
JB
23008 * gdb.base/vla-sideeffect.c: New file.
23009 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 23010
322f9c21
YQ
230112014-04-11 Yao Qi <yao@codesourcery.com>
23012
23013 * gdb.base/completion.exp: Check file exists before running tests
23014 on file completion.
23015
d708bcd1
PA
230162014-04-10 Pedro Alves <palves@redhat.com>
23017
23018 * gdb.base/cond-eval-mode.c: New file.
23019 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23020 prepare_for_testing to build the new file. Check result of
23021 runto_main.
23022 (test_break, test_watch): New procedures.
23023 (top level): Use them.
23024
ae1d2761
PM
230252014-04-08 Pierre Muller <muller@sourceware.org>
23026
23027 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23028 Ctrl-V use for mingw hosts.
23029
7af389b8
SC
230302014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23031
23032 * gdb.python/py-value.c: Improve test case.
23033 * gdb.python/py-value.exp: Add new test.
23034
5e703181
DE
230352014-04-07 David Blaikie <dblaikie@gmail.com>
23036
23037 * lib/compiler.c: Identify the clang compiler.
23038 * lib/compiler.cc: Ditto.
23039
9810b410
YQ
230402014-04-03 Yao Qi <yao@codesourcery.com>
23041
23042 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23043
98d1b8dc
AB
230442014-04-01 Anton Blanchard <anton@samba.org>
23045
23046 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23047 messages unique.
23048
3114cea1
AB
230492014-04-01 Anton Blanchard <anton@samba.org>
23050
23051 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23052 prepare_for_testing.
23053
62f7182c
AB
230542014-04-01 Anton Blanchard <anton@samba.org>
23055
23056 * gdb.arch/ppc64-atomic-inst.c: Remove.
23057 * gdb.arch/ppc64-atomic-inst.S: New file.
23058 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23059
770e7fc7
DE
230602014-03-31 Doug Evans <dje@google.com>
23061
23062 * gdb.base/print-symbol-loading-lib.c: New file.
23063 * gdb.base/print-symbol-loading-main.c: New file.
23064 * gdb.base/print-symbol-loading.exp: New file.
23065
46e2bafa
YQ
230662014-03-31 Yao Qi <yao@codesourcery.com>
23067
23068 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23069
8776cfe9
JB
230702014-03-28 Joel Brobecker <brobecker@adacore.com>
23071
23072 * gdb.ada/mi_dyn_arr: New testcase.
23073
5d1ef361
DE
230742014-03-27 Doug Evans <dje@google.com>
23075
23076 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23077
b5bee914
YQ
230782014-03-27 Yao Qi <yao@codesourcery.com>
23079
23080 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23081 if target is nios2-*-*.
23082
0d4d0e77
YQ
230832014-03-26 Yao Qi <yao@codesourcery.com>
23084
23085 * lib/gdb.exp (readline_is_used): New proc.
23086 * gdb.base/completion.exp: Move tests on command complete up.
23087 Skip the rest of tests if readline is not used.
23088 * gdb.ada/complete.exp: Skp the test if readline is not
23089 used.
23090 * gdb.base/filesym.exp: Likewise.
23091 * gdb.base/macscp.exp: Likewise.
23092 * gdb.base/readline-ask.exp: Likewise.
23093 * gdb.base/readline.exp: Likewise.
23094 * gdb.python/py-cmd.exp: Likewise.
23095 * gdb.trace/tfile.exp: Likewise.
23096
29361eee
YQ
230972014-03-26 Yao Qi <yao@codesourcery.com>
23098
23099 * gdb.base/macscp.exp: Fix code format issues.
23100
bc9a5525
UW
231012014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23102
23103 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23104 * gdb.asm/powerpc64le.inc: New file.
23105
d3839ede
PA
231062014-03-25 Pedro Alves <palves@redhat.com>
23107 Doug Evans <dje@google.com>
23108
23109 * gdb.base/source-execution.c: New file.
23110 * gdb.base/source-execution.exp: New file.
23111 * gdb.base/source-execution.gdb: New file.
23112
01672a57
DE
231132014-03-24 Doug Evans <dje@google.com>
23114
23115 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23116 using fission.
23117
88bbeca9
HZ
231182014-03-24 Hui Zhu <hui@codesourcery.com>
23119 Pedro Alves <palves@redhat.com>
23120
23121 PR breakpoints/16101
23122 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23123 test pass/fail messages. Detect missing support for dprintf when
23124 breakpoints are actually inserted.
23125 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23126 breakpoints are actually inserted.
23127 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23128 fails.
23129
d2348791
JK
231302014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23131
23132 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23133
feef67ab
DE
231342014-03-22 Doug Evans <xdje42@gmail.com>
23135
23136 * gdb.python/python.exp (python not supported): Verify multi-line
23137 python command issues an error.
25d743f9 23138 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23139 guile command issues an error.
feef67ab 23140
ecebef6a
MR
231412014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23142
23143 * gdb.threads/thread-specific.exp: Handle the lack of usable
23144 $this_breakpoint and $this_thread.
23145
ccdd1909
HZ
231462014-03-21 Hui Zhu <hui@codesourcery.com>
23147
23148 * gdb.base/attach.exp (do_command_attach_tests): New.
23149
beb460e8
PA
231502014-03-20 Tom Tromey <tromey@redhat.com>
23151 Pedro Alves <palves@redhat.com>
23152
23153 PR cli/15718
23154 * gdb.base/condbreak-call-false.c: New file.
23155 * gdb.base/condbreak-call-false.exp: New file.
23156
40acf43a
PA
231572014-03-20 Pedro Alves <palves@redhat.com>
23158
23159 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23160 Delete.
23161 (block_signals, unblock_signals): Delete.
23162 (child_function_2, main): Remove references to deleted variable
23163 and functions.
23164
9f5e1e02
PA
231652014-03-20 Pedro Alves <palves@redhat.com>
23166
23167 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23168 Use pthread_kill to signal thread 2.
23169 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23170 Adjust to make the test send itself a signal rather than using the
23171 host's "kill" command.
23172
99619bea
PA
231732014-03-20 Pedro Alves <palves@redhat.com>
23174
23175 * gdb.threads/multiple-step-overs.c: New file.
23176 * gdb.threads/multiple-step-overs.exp: New file.
23177 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23178 Adjust expected infrun debug output.
23179
2adfaa28
PA
231802014-03-20 Pedro Alves <palves@redhat.com>
23181
23182 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23183 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23184
31e77af2
PA
231852014-03-20 Pedro Alves <palves@redhat.com>
23186
23187 PR breakpoints/7143
23188 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23189 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23190 of gdb_test_multiple.
23191 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23192 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23193
b9f437de
PA
231942014-03-20 Pedro Alves <palves@redhat.com>
23195
23196 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23197 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23198
05adc73e
PA
231992014-03-19 Pedro Alves <palves@redhat.com>
23200
23201 * gdb.base/async.exp: Remove early return.
23202
6048b950
PA
232032014-03-19 Pedro Alves <palves@redhat.com>
23204
23205 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23206
8bcfb00a
PA
232072014-03-19 Pedro Alves <palves@redhat.com>
23208
23209 * gdb.base/async.exp (test_background): Expect \r\n after
23210 "completed." in the fail pattern.
23211
884e37dc
PA
232122014-03-19 Pedro Alves <palves@redhat.com>
23213
23214 * gdb.base/async.exp (test_background): New procedure.
23215 Use it for all background execution command tests.
23216
148e57e2
PA
232172014-03-19 Pedro Alves <palves@redhat.com>
23218
23219 * gdb.base/async.exp: Use prepare_for_testing.
23220
f48088c7
PA
232212014-03-19 Pedro Alves <palves@redhat.com>
23222
23223 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23224 the same line.
23225
e2f6c966
PA
232262014-03-19 Pedro Alves <palves@redhat.com>
23227
23228 * gdb.base/async.c (main): Add "jump here" and "until here" line
23229 marker comments.
23230 * gdb.base/async.exp (jump_here): New global.
23231 (jump& test): Use it.
23232 (until_here): New global.
23233 (until& test): Use it.
23234
c30568d4
PA
232352014-03-19 Pedro Alves <palves@redhat.com>
23236
23237 * gdb.base/async.exp: Don't frob gdb_protocol.
23238
0172b6a7
DE
232392014-03-18 Doug Evans <xdje42@gmail.com>
23240
23241 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23242 Fix spelling of exec-done-display.
23243
06c868a8
JK
232442014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23245
23246 PR gdb/15358
23247 * gdb.base/gdb-sigterm.c: New file.
23248 * gdb.base/gdb-sigterm.exp: New file.
23249
0c7e1a46
PA
232502014-03-18 Pedro Alves <palves@redhat.com>
23251
23252 PR gdb/13860
23253 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23254 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23255 solib-event.
23256
f7c77d93
JB
232572014-03-17 Joel Brobecker <brobecker@adacore.com>
23258
23259 * gdb.ada/pckd_arr_ren: New testcase.
23260
5a1e8c7a
DE
232612014-03-13 Doug Evans <xdje42@gmail.com>
23262
23263 PR guile/16612
23264 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23265 collect after discarding symbols.
23266
350e1a76
DE
232672014-03-13 Ludovic Courtès <ludo@gnu.org>
23268 Doug Evans <xdje42@gmail.com>
23269
23270 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23271 to history survives a gc.
23272
a69900ae
PA
232732014-03-13 Pedro Alves <palves@redhat.com>
23274
23275 * gdb.base/default.exp: Don't test "target procfs".
23276
5db9f0bd
PA
232772014-03-13 Pedro Alves <palves@redhat.com>
23278
23279 * gdb.base/default.exp: Update "target child" and "target procfs"
23280 tests to not expect "Unix".
23281
b3ccfe11
TT
232822014-03-12 Tom Tromey <tromey@redhat.com>
23283
23284 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23285 New procs. Add target-async tests.
23286 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23287 Add target-async tests.
23288
646f4417
AA
232892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23290
23291 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23292 'func_start' and 'func_end' for the beginning and end of the
23293 function code, respectively.
23294 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23295 'func_end' instead of 'func' and 'main'.
23296
288c211f
AA
232972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23298
23299 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23300 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23301 generate the debug info assembler source.
23302
e0c0f156
AA
233032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23304
23305 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23306 * gdb.dwarf2/arr-subrange.exp: Likewise.
23307 * gdb.dwarf2/dwz.exp: Likewise.
23308 * gdb.dwarf2/method-ptr.exp: Likewise.
23309 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23310 * gdb.dwarf2/subrange.exp: Likewise.
23311 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23312 * gdb.dwarf2/implptrpiece.exp: Likewise.
23313 * gdb.dwarf2/nostaticblock.exp: Likewise.
23314
0e5c4555
AA
233152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23316
23317 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23318 directory to absolute path name arguments.
23319
5ec18f2b
JG
233202014-03-10 Joel Brobecker <brobecker@adacore.com>
23321
23322 * gdb.ada/tagged_access: New testcase.
23323
847fc4f2
MM
233242014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23325
23326 * gdb.btrace/data.exp: Update expected output.
23327
cc3da688
YQ
233282014-03-06 Yao Qi <yao@codesourcery.com>
23329
23330 * gdb.trace/pr16508.exp: New file.
23331
0f26cec1
PA
233322014-03-05 Pedro Alves <palves@redhat.com>
23333
23334 PR gdb/16575
23335 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23336 procedure.
23337 (top level): Adjust to use it. Add tests that exercise breakpoint
23338 interaction with the code-cache.
23339
7a5a839f
LC
233402014-02-26 Ludovic Courtès <ludo@gnu.org>
23341
23342 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23343 test for 'history-append!'.
23344
31aa7e4e
JB
233452014-02-26 Joel Brobecker <brobecker@adacore.com>
23346
23347 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23348 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23349 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23350 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23351 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23352 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23353
1b588015
JB
233542014-02-26 Joel Brobecker <brobecker@adacore.com>
23355
23356 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23357 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23358 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23359
55426c9d
JB
233602014-02-26 Joel Brobecker <brobecker@adacore.com>
23361
23362 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23363
dc53a7ad
JB
233642014-02-26 Joel Brobecker <brobecker@adacore.com>
23365
23366 * gdb.dwarf2/arr-stride.c: New file.
23367 * gdb.dwarf2/arr-stride.exp: New file.
23368
12ab52e9
PA
233692014-02-26 Pedro Alves <palves@redhat.com>
23370
23371 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23372 that won't ever trigger. Make sure that GDB reports the correct
23373 breakpoint that caused the stop.
23374
849c862e
JK
233752014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23376
23377 PR gdb/16626
23378 * gdb.base/auto-load-script: New file.
23379 * gdb.base/auto-load.c: New file.
23380 * gdb.base/auto-load.exp: New file.
23381
71b7d793
JK
23382 PR gdb/16626
23383 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23384
e2f0d509
JK
233852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23386
23387 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23388 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23389
50cc37c8
DE
233902014-02-24 Doug Evans <dje@google.com>
23391
23392 * lib/gdb.exp (run_on_host): Log error output if program fails.
23393
ea4758f2
PA
233942014-02-21 Pedro Alves <palves@redhat.com>
23395
23396 * gdb.threads/step-after-sr-lock.c: Rename to ...
23397 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23398 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23399 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23400 ... this.
23401
d7b30f67
SDJ
234022014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23403
23404 PR tdep/16397
23405 * gdb.arch/amd64-stap-special-operands.exp: New file.
23406 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23407 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23408 * gdb.arch/amd64-stap-triplet.S: Likewise.
23409 * gdb.arch/amd64-stap-triplet.c: Likewise.
23410
83deb43f
JB
234112014-02-20 Joel Brobecker <brobecker@adacore.com>
23412
23413 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23414 in .section pseudo-op.
23415
adde2bff
DE
234162014-02-20 lin zuojian <manjian2006@gmail.com>
23417 Joel Brobecker <brobecker@adacore.com>
23418 Doug Evans <xdje42@gmail.com>
23419
23420 PR symtab/16581
23421 * gdb.dwarf2/dw2-icycle.S: New file.
23422 * gdb.dwarf2/dw2-icycle.c: New file.
23423 * gdb.dwarf2/dw2-icycle.exp: New file.
23424
f7bd0f78
SC
234252014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23426
23427 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23428 operations on gdb.Value objects.
23429 * gdb.python/py-value-cc.exp: Add new test to test operations on
23430 gdb.Value objects.
23431
c17ef0d5
DE
234322014-02-18 Doug Evans <dje@google.com>
23433
23434 * Makefile.in (TESTS): New variable.
23435 (expanded_tests, expanded_tests_or_none): New variables
23436 (check-single): Pass $(expanded_tests_or_none) to runtest.
23437 (check-parallel): Only run tests in $(TESTS) if non-empty.
23438 (check/no-matching-tests-found): New rule.
23439 * README: Document TESTS makefile variable.
23440
5dd3176f
DE
234412014-02-18 Doug Evans <dje@google.com>
23442
23443 * Makefile.in (check-parallel): rm -rf outputs temp.
23444
0b10be4f
JK
234452014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23446
23447 Fix "ERROR: no fileid for" in the testsuite.
23448 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23449
85f224e7
DE
234502014-02-12 Doug Evans <dje@google.com>
23451
23452 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23453 (MISCELLANEOUS): New variable.
23454 (clean): rm -rf $(MISCELLANEOUS).
23455 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23456 dwp live in the same directory as symlinks, with each symlink pointed
23457 to a differently named file in a different directory.
23458
149b30ff
DE
234592014-02-11 Doug Evans <dje@google.com>
23460
23461 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23462 of Tcl file commands.
23463
1dfdac32
MK
234642014-02-10 Mark Kettenis <kettenis@gnu.org>
23465
23466 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23467 "kill -SIGUSR1 -1".
23468
aa4fb036
JB
234692014-02-10 Joel Brobecker <brobecker@adacore.com>
23470
23471 * gdb.ada/tick_length_array_enum_idx: New testcase.
23472
ed3ef339
DE
234732014-02-10 Doug Evans <xdje42@gmail.com>
23474
23475 * configure.ac (AC_OUTPUT): Add gdb.guile.
23476 * configure: Regenerate.
23477 * lib/gdb-guile.exp: New file.
23478 * lib/gdb.exp (get_target_charset): New function.
23479 * gdb.base/help.exp: Update expected output from "apropos apropos".
23480 * gdb.guile/Makefile.in: New file.
23481 * gdb.guile/guile.exp: New file.
23482 * gdb.guile/scm-arch.c: New file.
23483 * gdb.guile/scm-arch.exp: New file.
23484 * gdb.guile/scm-block.c: New file.
23485 * gdb.guile/scm-block.exp: New file.
23486 * gdb.guile/scm-breakpoint.c: New file.
23487 * gdb.guile/scm-breakpoint.exp: New file.
23488 * gdb.guile/scm-disasm.c: New file.
23489 * gdb.guile/scm-disasm.exp: New file.
23490 * gdb.guile/scm-equal.c: New file.
23491 * gdb.guile/scm-equal.exp: New file.
23492 * gdb.guile/scm-error.exp: New file.
23493 * gdb.guile/scm-error.scm: New file.
23494 * gdb.guile/scm-frame-args.c: New file.
23495 * gdb.guile/scm-frame-args.exp: New file.
23496 * gdb.guile/scm-frame-args.scm: New file.
23497 * gdb.guile/scm-frame-inline.c: New file.
23498 * gdb.guile/scm-frame-inline.exp: New file.
23499 * gdb.guile/scm-frame.c: New file.
23500 * gdb.guile/scm-frame.exp: New file.
23501 * gdb.guile/scm-generics.exp: New file.
23502 * gdb.guile/scm-gsmob.exp: New file.
23503 * gdb.guile/scm-iterator.c: New file.
23504 * gdb.guile/scm-iterator.exp: New file.
23505 * gdb.guile/scm-math.c: New file.
23506 * gdb.guile/scm-math.exp: New file.
23507 * gdb.guile/scm-objfile-script-gdb.in: New file.
23508 * gdb.guile/scm-objfile-script.c: New file.
23509 * gdb.guile/scm-objfile-script.exp: New file.
23510 * gdb.guile/scm-objfile.c: New file.
23511 * gdb.guile/scm-objfile.exp: New file.
23512 * gdb.guile/scm-ports.exp: New file.
23513 * gdb.guile/scm-pretty-print.c: New file.
23514 * gdb.guile/scm-pretty-print.exp: New file.
23515 * gdb.guile/scm-pretty-print.scm: New file.
23516 * gdb.guile/scm-section-script.c: New file.
23517 * gdb.guile/scm-section-script.exp: New file.
23518 * gdb.guile/scm-section-script.scm: New file.
23519 * gdb.guile/scm-symbol.c: New file.
23520 * gdb.guile/scm-symbol.exp: New file.
23521 * gdb.guile/scm-symtab-2.c: New file.
23522 * gdb.guile/scm-symtab.c: New file.
23523 * gdb.guile/scm-symtab.exp: New file.
23524 * gdb.guile/scm-type.c: New file.
23525 * gdb.guile/scm-type.exp: New file.
23526 * gdb.guile/scm-value-cc.cc: New file.
23527 * gdb.guile/scm-value-cc.exp: New file.
23528 * gdb.guile/scm-value.c: New file.
23529 * gdb.guile/scm-value.exp: New file.
23530 * gdb.guile/source2.scm: New file.
23531 * gdb.guile/types-module.cc: New file.
23532 * gdb.guile/types-module.exp: New file.
23533
7026a7c1
YQ
235342014-02-10 Yao Qi <yao@codesourcery.com>
23535
23536 PR testsuite/16543
23537 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23538 * configure: Regenerated.
23539 * Makefile.in: New file.
23540
6c466447
AS
235412014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23542
23543 * gdb.python/py-framefilter.exp: Fix typo.
23544
6e854735
YQ
235452014-02-08 Yao Qi <yao@codesourcery.com>
23546
23547 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23548 that no =breakpoint-modified is emitted when breakpoints are
23549 modified through MI commands.
23550
d137e6dc
PA
235512014-02-07 Pedro Alves <pedro@codesourcery.com>
23552 Pedro Alves <palves@redhat.com>
23553
23554 * gdb.threads/step-after-sr-lock.c: New file.
23555 * gdb.threads/step-after-sr-lock.exp: New file.
23556
b5ee5a50
PA
235572014-02-07 Pedro Alves <palves@redhat.com>
23558
23559 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23560
3c77faf3
JK
235612014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23562
23563 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23564 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23565
6dddc817
DE
235662014-02-06 Doug Evans <xdje42@gmail.com>
23567
23568 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23569 output.
23570
23571 * gdb.gdb/python-interrupts.exp: New file.
23572
de7b2893
YQ
235732014-02-05 Yao Qi <yao@codesourcery.com>
23574
23575 * gdb.trace/report.exp (use_collected_data): Test the output
23576 of "info threads" and "info inferiors".
23577
66d032ac
YQ
235782014-02-05 Yao Qi <yao@codesourcery.com>
23579
23580 Revert this patch:
23581
23582 2013-05-24 Yao Qi <yao@codesourcery.com>
23583
23584 * gdb.trace/tfile.exp: Test inferior and thread.
23585
591a12a1
UW
235862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23587
23588 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23589 on a function.
23590 * gdb.base/step-bt.c: Call hello via function pointer to make
23591 sure its first instruction is executed on powerpc64le-linux.
23592
0ff3e01f
UW
235932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23594
23595 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23596
084ee545
UW
235972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23598
23599 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23600 of the test patterns for use on little-endian systems.
23601
6ed14ff3
UW
236022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23603
23604 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23605 (decimal_vector): Fix for little-endian.
23606
401e27fd
JM
236072014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23608
23609 * gdb.arch/sparc-sysstep.exp: New file.
23610 * gdb.arch/sparc-sysstep.c: Likewise.
23611
23612 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23613
8b924729
EBM
236142014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23615
23616 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23617
fb151210
JB
236182014-01-23 Tom Tromey <tromey@redhat.com>
23619
23620 * gdb.ada/array_char_idx: New testcase.
23621
0740f8d8
TT
236222014-01-23 Tom Tromey <tromey@redhat.com>
23623
23624 PR python/16487:
23625 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23626 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23627 classes.
23628
21909fa1
TT
236292014-01-23 Tom Tromey <tromey@redhat.com>
23630
23631 PR python/16491:
23632 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23633 string from an inferior frame.
23634 * gdb.python/py-framefilter-mi.exp: Update.
23635
87ce2a04
DE
236362014-01-22 Doug Evans <dje@google.com>
23637
23638 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23639
237b092b
AA
236402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23641
23642 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23643
d674a709
AA
236442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23645
23646 * gdb.trace/entry-values.exp: Remove excess space character from
23647 regex patterns. Handle s390 call instruction.
23648
20fa3390
AA
236492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23650
23651 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23652 define "*_start" label. Make "name" static.
23653 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23654 ${name} by references to ${name}_start.
23655
78466714
AA
236562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23657
23658 * gdb.base/info-macros.exp: Remove "debug" from the compile
23659 options.
23660
ec9f644a
IB
236612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23662
23663 * gdb.dlang/demangle.exp: New file.
23664
94b1b47e
IB
236652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23666
23667 * gdb.dlang/primitive-types.exp: New file.
23668
7f420862
IB
236692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23670
23671 * configure.ac: Create gdb.dlang/Makefile.
23672 * configure: Regenerate.
23673 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23674 * gdb.dlang/Makefile.in: New file.
23675 * lib/d-support.exp: New file.
23676 * lib/gdb.exp (skip_d_tests): New proc.
23677
52834460
MM
236782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23679
23680 * gdb.btrace/delta.exp: Check reverse stepi.
23681 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23682 * gdb.btrace/finish.exp: New.
23683 * gdb.btrace/next.exp: New.
23684 * gdb.btrace/nexti.exp: New.
23685 * gdb.btrace/record_goto.c: Add comments.
23686 * gdb.btrace/step.exp: New.
23687 * gdb.btrace/stepi.exp: New.
23688 * gdb.btrace/multi-thread-step.c: New.
23689 * gdb.btrace/multi-thread-step.exp: New.
23690 * gdb.btrace/rn-dl-bind.c: New.
23691 * gdb.btrace/rn-dl-bind.exp: New.
23692 * gdb.btrace/data.c: New.
23693 * gdb.btrace/data.exp: New.
23694 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23695
6e07b1d2
MM
236962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23697
23698 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23699 * gdb.btrace/exception.exp: Update.
23700 * gdb.btrace/instruction_history.exp: Update.
23701 * gdb.btrace/record_goto.exp: Update.
23702 * gdb.btrace/tailcall.exp: Update.
23703 * gdb.btrace/unknown_functions.exp: Update.
23704 * gdb.btrace/delta.exp: New.
23705
0b722aec
MM
237062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23707
23708 * gdb.btrace/record_goto.exp: Add backtrace test.
23709 * gdb.btrace/tailcall.exp: Add backtrace test.
23710
066ce621
MM
237112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23712
23713 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23714 * gdb.btrace/record_goto.c: New.
23715 * gdb.btrace/record_goto.exp: New.
23716 * gdb.btrace/x86-record_goto.S: New.
23717
0688d04e
MM
237182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23719
23720 * gdb.btrace/function_call_history.exp: Update tests.
23721 * gdb.btrace/instruction_history.exp: Update tests.
23722
8710b709
MM
237232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23724
23725 * gdb.btrace/function_call_history.exp: Fix expected field
23726 order for "record function-call-history".
23727 Add new tests for "record function-call-history /c".
23728 * gdb.btrace/exception.cc: New.
23729 * gdb.btrace/exception.exp: New.
23730 * gdb.btrace/tailcall.exp: New.
23731 * gdb.btrace/x86-tailcall.S: New.
23732 * gdb.btrace/x86-tailcall.c: New.
23733 * gdb.btrace/unknown_functions.c: New.
23734 * gdb.btrace/unknown_functions.exp: New.
23735 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23736
5de9129b
MM
237372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23738
23739 * gdb.btrace/instruction_history.exp: Update.
23740 * gdb.btrace/function_call_history.exp: Update.
23741
23a7fe75
MM
237422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23743
23744 * gdb.btrace/function_call_history.exp: Fix expected function
23745 trace.
23746 * gdb.btrace/instruction_history.exp: Initialize traced.
23747 Remove traced_functions.
23748
724c7dd8
MM
237492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23750
23751 * gdb.btrace/function_call_history.exp: Update
23752 * gdb.btrace/instruction_history.exp: Update.
23753
6d78d93b
MM
237542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23755
23756 * gdb.btrace/enable.exp: Update expected text.
23757
93a360cc
OJ
237582014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23759
23760 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23761 bytes.
23762
3772b53f
MR
237632014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23764
23765 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23766
596662fa
OJ
237672014-01-15 Omair Javaid <omair.javaid@linaro.org>
23768
23769 * lib/gdb.exp (supports_process_record): Return true for
23770 arm*-linux*. (supports_reverse): Likewise.
23771
b5b08fb4
SC
237722014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23773
23774 PR python/15464
23775 PR python/16113
23776 * gdb.python/py-type.c: Enhance test case.
23777 * gdb.python/py-value-cc.cc: Likewise
23778 * gdb.python/py-type.exp: Add new tests.
23779 * gdb.python/py-value-cc.exp: Likewise
23780
52d7fb13
AA
237812014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23782 Pedro Alves <palves@redhat.com>
23783
23784 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23785 Make "name" extern.
23786 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23787 references to ${name}_start by references to ${name}.
23788
a2cd8cfe
JB
237892014-01-10 Joel Brobecker <brobecker@adacore.com>
23790
23791 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23792
4e23fced
JB
237932014-01-10 Joel Brobecker <brobecker@adacore.com>
23794
23795 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23796
c6a9e42c
PA
237972014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23798 Pedro Alves <palves@redhat.com>
23799
23800 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23801 mi_gdb_target_load.
c6a9e42c 23802
b7ea362b
PA
238032014-01-08 Pedro Alves <palves@redhat.com>
23804
23805 * gdb.threads/reconnect-signal.c: New file.
23806 * gdb.threads/reconnect-signal.exp: New file.
23807
5e3f4fab
EBM
238082014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23809
23810 * gdb.base/source-dir.exp: New file.
23811
79301218
JB
238122014-01-07 Joel Brobecker <brobecker@adacore.com>
23813
23814 * gdb.ada/mi_interface: New testcase.
23815
8e355c5d
JB
238162014-01-07 Joel Brobecker <brobecker@adacore.com>
23817
23818 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23819 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23820 gdb.ada/pp-rec-component/pck.ads: New files.
23821
c0d48811
JB
238222014-01-07 Joel Brobecker <brobecker@adacore.com>
23823
23824 * gdb.python/py-pp-integral.c: New file.
23825 * gdb.python/py-pp-integral.py: New file.
23826 * gdb.python/py-pp-integral.exp: New file.
23827
17b609c3 23828For older changes see ChangeLog-1993-2013.
c906108c 23829\f
8d8cb839
EZ
23830;; Local Variables:
23831;; mode: change-log
23832;; left-margin: 8
23833;; fill-column: 74
23834;; version-control: never
23835;; End:
902f2ccb 23836
3666a048 23837 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23838 Copying and distribution of this file, with or without modification,
23839 are permitted provided the copyright notice and this notice are preserved.
This page took 4.017346 seconds and 4 git commands to generate.