gdb/testsuite: make test names unique in gdb.python/py-pp-maint.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8b12ded4
AB
12021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.python/py-pp-maint.exp: Extend test names to make them
4 unique.
5
93598ea4
AB
62021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * gdb.python/py-explore.exp: Add with_test_prefix to make test
9 names unique.
10
f35d6971
AB
112021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
12
13 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
14
22d3e7f6
AB
152021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
16
17 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
18 names unique.
19
5fc5a1b8
AB
202021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
23 test names unique.
24
e3141a4d
AB
252021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
26
27 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
28 unique.
29
ccdc02ed
TT
302021-03-09 Tom Tromey <tromey@adacore.com>
31
32 * gdb.base/cast-call.exp: New file.
33 * gdb.base/cast-call.c: New file.
34
fbb1aace
AB
352021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
36
37 * gdb.gdb/python-helper.exp: New file.
38
611aa09d
FW
392020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
40
41 * gdb.fortran/intrinsics.exp: Add LOC tests.
42
eef32f59
AB
432021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
44
45 * gdb.fortran/shape.exp: New file.
46 * gdb.fortran/shape.f90: New file.
47
7ba155b3
AB
482021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
49
50 * gdb.fortran/size.exp: New file.
51 * gdb.fortran/size.f90: New file.
52
e14816a8
AB
532021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
54
55 * gdb.fortran/rank.exp: New file.
56 * gdb.fortran/rank.f90: New file.
57
d308ba78
TT
582021-03-08 Tom Tromey <tom@tromey.com>
59
60 * gdb.fortran/debug-expr.exp: Update tests.
61
d182f279
TT
622021-03-08 Tom Tromey <tom@tromey.com>
63
64 * gdb.base/debug-expr.exp: Update expected dump output.
65
a7308ce0
TT
662021-03-06 Tom Tromey <tom@tromey.com>
67
68 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
69 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
70 * gdb.dwarf2/dwznolink.exp: New file.
71
b0a8c2ff
MW
722021-03-05 Mark Wielaard <mark@klomp.org>
73
74 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
75
844be3f2
WP
762021-03-06 Weimin Pan <weimin.pan@oracle.com>
77
78 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
79
82333781
MM
802021-03-03 Markus Metzger <markus.t.metzger@intel.com>
81
82 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
83
32c52999
MM
842021-03-03 Markus Metzger <markus.t.metzger@intel.com>
85
86 * gdb.btrace/non-stop.exp: Adjust expected source lines.
87
26ed1478
MM
882021-03-03 Markus Metzger <markus.t.metzger@intel.com>
89
90 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
91
d2c5f24e
MM
922021-03-03 Markus Metzger <markus.t.metzger@intel.com>
93
94 * gdb.btrace/exception.cc (main): Update test source.
95 * gdb.btrace/exception.exp: Update patterns.
96 * gdb.btrace/function_call_history.exp: Likewise.
97
c7c7253a
MM
982021-03-03 Markus Metzger <markus.t.metzger@intel.com>
99
100 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
101
f0778fc1
MM
1022021-03-03 Markus Metzger <markus.t.metzger@intel.com>
103
104 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
105 reverse-continue to breakpoint.
106
e71dbd03
MM
1072021-03-03 Markus Metzger <markus.t.metzger@intel.com>
108
109 * gdb.btrace/delta.exp: Remove instruction-history and
110 function-call-history checks.
111
b93a3ed0
MM
1122021-03-03 Markus Metzger <markus.t.metzger@intel.com>
113
114 * README (Note): Add nopie_ldflag.
115 * lib/gdb.exp (gdb_compile): Extend nopie handling.
116
bbcdf9ab
TT
1172021-03-02 Tom Tromey <tromey@adacore.com>
118
119 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
120 encodings.
121
bb3a4efe
LS
1222021-02-27 Lancelot Six <lsix@lancelotix.com>
123
124 PR gdb/27393
125 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
126
127
573dc0cc
TT
1282021-02-26 Tom Tromey <tom@tromey.com>
129
130 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
131
f8218786
JV
1322021-02-26 Jan Vrany <jan.vrany@labware.com>
133
134 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
135 Remove trailing \n from expected output.
136
cb51b708
MM
1372021-02-26 Markus Metzger <markus.t.metzger@intel.com>
138
139 * lib/gdb.exp (use_gdb_stub): Extend comment.
140
64d38fdd
JM
1412021-02-25 Jan Matyas <jmatyas@codasip.com>
142
143 PR gdb/26819
144 * gdb.server/stop-reply-no-thread.exp: Add two test
145 scenarios that cover remote targets which do not have
146 the concept of threads.
147
d4ff3cbf
AB
1482021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
151
68337b8b
AB
1522021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
153
154 PR fortran/26155
155 * gdb.fortran/call-no-debug-func.f90: New file.
156 * gdb.fortran/call-no-debug-prog.f90: New file.
157 * gdb.fortran/call-no-debug.exp: New file.
158
faeb9f13
AB
1592021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
160
161 * gdb.fortran/associated.exp: New file.
162 * gdb.fortran/associated.f90: New file.
163
170f4b23
AB
1642021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
165
166 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
167
dd80d750
AB
1682021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
169
170 * gdb.base/sect-cmd.exp: Update expected results.
171
b91919ac
AB
1722021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
173
174 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
175 techniques. Enable the test for all targets.
176
02a79309
AB
1772021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
178
179 * gdb.base/maint-info-sections.exp: Add new tests.
180 (check_maint_info_target_sections_output): New proc.
181
895b7b4e
AB
1822021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
183
184 * gdb.arch/riscv-default-tdesc.exp: New file.
185
bc3c0632
AB
1862021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
187
188 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
189
acde2092
AB
1902021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
191
192 * gdb.arch/i386-biarch-core.exp: Add target check.
193
7d2e5095
AKS
1942021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
195
196 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
197
96df3e28
AB
1982021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
199
200 * gdb.fortran/allocated.exp: New file.
201 * gdb.fortran/allocated.f90: New file.
202
a1670b72
AB
2032021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
204
205 * gdb.fortran/lbound-ubound.exp: Remove old comment.
206
bf3386f0
AB
2072021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
208
209 * gdb.base/maint-info-sections.exp: Update expected output, and
210 add additional tests. Again.
211
4790db14
AB
2122021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
213
214 * gdb.base/maint-info-sections.exp: Update expected output, and
215 add additional tests.
216
f4be6772
AB
2172021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
218
219 * gdb.base/maint-info-sections.exp: New file, content is moved
220 from gdb.base/maint.exp and cleaned up to use latest testsuite
221 techniques.
222 * gdb.base/maint.exp: Tests moved out to
223 gdb.base/maint-info-sections.exp.
224
25ad1e83
SM
2252021-02-10 Simon Marchi <simon.marchi@efficios.com>
226
227 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
228 GDBFLAGS.
229
e92c8eb8
AB
2302021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
231
232 * gdb.fortran/lbound-ubound.F90: New file.
233 * gdb.fortran/lbound-ubound.exp: New file.
234
ee4c3d88
TV
2352021-02-10 Tom de Vries <tdevries@suse.de>
236
237 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
238 "Restore saved setting of complaints".
239
cf2b2075
TV
2402021-02-09 Tom de Vries <tdevries@suse.de>
241
242 PR symtab/27341
243 * lib/gdb.exp (with_complaints): New proc, factored out of ...
244 (gdb_load_no_complaints): ... here.
245 * gdb.fortran/function-calls.exp: Add test-case.
246
b61f7811
HAQ
2472021-02-09 Abid Qadeer <abidh@codesourcery.com>
248
249 * gdb.threads/signal-command-handle-nopass.exp: Call
250 'standard_testfile' before using 'testfile'.
251 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
252 * gdb.threads/signal-delivered-right-thread.exp: Likewise
253 * gdb.threads/signal-sigtrap.exp: Likewise
254
3d4aae48
LM
2552021-02-08 Luis Machado <luis.machado@linaro.org>
256
257 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
258
4001d90d
TV
2592021-02-08 Tom de Vries <tdevries@suse.de>
260
261 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
262
29db1eb3
AB
2632021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
264
265 * gdb.python/tui-window-disabled.c: New file.
266 * gdb.python/tui-window-disabled.exp: New file.
267 * gdb.python/tui-window-disabled.py: New file.
268
e0c23e11
AB
2692021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
270
271 * gdb.python/tui-window.exp: Add new tests.
272 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
273 TestWindow object into global the_window.
274 <remote_title>: New method.
275 (delete_window_title): New function.
276
1cf23996
AB
2772021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
278
279 * gdb.tui/winheight.exp: Add more tests.
280
2708dbbd
AB
2812021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
282
283 * gdb.python/py-framefilter.exp: Update expected results.
284 * gdb.python/python.exp: Update expected results.
285
cd074e04
AB
2862021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
287
288 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
289 about bug in GDB, update expected results, and add more tests.
290
5fb97639
AB
2912021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
292
293 * gdb.tui/scroll.exp: New file.
294 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
295 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
296 remaining lines up.
297 (Term::check_region_contents): New proc.
298 (Term::check_box_contents): Use check_region_contents.
299
c0e56745
TV
3002021-02-06 Tom de Vries <tdevries@suse.de>
301
302 PR testsuite/26922
303 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
304 scrolling.
305
0e857c82
TV
3062021-02-05 Tom de Vries <tdevries@suse.de>
307
308 PR breakpoints/27313
309 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
310 rejected.
311
a22ec6e8
TV
3122021-02-05 Tom de Vries <tdevries@suse.de>
313
314 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
315 * gdb.fortran/mixed-lang-stack.exp: Same.
316
ae710496
TV
3172021-02-05 Tom de Vries <tdevries@suse.de>
318
319 PR exp/27265
320 * gdb.base/complex-parts.exp: Add tests.
321
d3b54e63
TV
3222021-02-05 Tom de Vries <tdevries@suse.de>
323
324 PR symtab/27307
325 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
326
3eccb1c8
SV
3272021-02-04 Shahab Vahedi <shahab@synopsys.com>
328
329 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
330
a71501e2
PA
3312021-02-03 Pedro Alves <pedro@palves.net>
332
333 * gdb.threads/detach-step-over.c: New file.
334 * gdb.threads/detach-step-over.exp: New file.
335
92234eb1
PA
3362021-02-03 Pedro Alves <pedro@palves.net>
337
338 * gdb.threads/attach-non-stop.c: New file.
339 * gdb.threads/attach-non-stop.exp: New file.
340
2e3773ff
LS
3412021-02-02 Lancelot SIX <lsix@lancelotsix.com>
342
343 * gdb.base/inferior-noarg.c: New test.
344 * gdb.base/inferior-noarg.exp: New test.
345
e0bd9202
SM
3462021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
347
348 * gdb.base/scope.exp: Use proc_with_prefix.
349
9307efbe
SM
3502021-02-02 Simon Marchi <simon.marchi@efficios.com>
351
352 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
353 table proc.
354 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
355 .debug_rnglists table without offset array.
356 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
357 .debug_loclists table without offset array.
358
2b0c7f41
SM
3592021-02-02 Simon Marchi <simon.marchi@efficios.com>
360
361 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
362 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
363 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
364 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
365 attribute
366
ecfda20d
SM
3672021-02-02 Simon Marchi <simon.marchi@efficios.com>
368
369 PR gdb/26813
370 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
371 (loclists): New proc.
372 * gdb.dwarf2/loclists-multiple-cus.c: New.
373 * gdb.dwarf2/loclists-multiple-cus.exp: New.
374 * gdb.dwarf2/loclists-sec-offset.c: New.
375 * gdb.dwarf2/loclists-sec-offset.exp: New.
376
6b0933da
SM
3772021-02-02 Simon Marchi <simon.marchi@efficios.com>
378
379 * lib/dwarf.exp (_location): Add parameters.
380 (_handle_DW_FORM): Adjust.
381
962effa7
SM
3822021-02-02 Simon Marchi <simon.marchi@efficios.com>
383
384 PR gdb/26813
385 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
386 (cu): Generate header for DWARF 5.
387 (rnglists): New proc.
388 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
389 * gdb.dwarf2/rnglists-sec-offset.exp: New.
390
2bd3e4b8
TV
3912021-02-02 Tom de Vries <tdevries@suse.de>
392
393 PR symtab/24620
394 * gdb.dwarf2/fission-reread.exp: Add test-case.
395
c39c8637
TV
3962021-02-01 Tom de Vries <tdevries@suse.de>
397
398 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
399 * gdb.dwarf2/fission-loclists-pie.S: Same.
400 * gdb.dwarf2/fission-loclists.S: Same.
401 * gdb.dwarf2/fission-multi-cu.S: Same.
402 * gdb.dwarf2/fission-reread.S: Same.
403 * gdb.dwarf2/fission-base.exp: Use DWO.
404 * gdb.dwarf2/fission-loclists-pie.exp: Same.
405 * gdb.dwarf2/fission-loclists.exp: Same.
406 * gdb.dwarf2/fission-multi-cu.exp: Same.
407 * gdb.dwarf2/fission-reread.exp: Same.
408
ebde6f2d
TV
4092021-01-29 Tom de Vries <tdevries@suse.de>
410
411 PR breakpoints/26063
412 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
413 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
414
620ec3ca
TV
4152021-01-29 Tom de Vries <tdevries@suse.de>
416
417 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
418
cdeba395
TV
4192021-01-28 Tom de Vries <tdevries@suse.de>
420
421 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
422 in the backtrace, and use that in the rest of the test instead of
423 hardcoded constant 3. Use "frame" instead of "up" for robustness.
424
c47b145e
TV
4252021-01-28 Tom de Vries <tdevries@suse.de>
426
427 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
428 * gdb.arch/i386-sse-stack-align.c: Same.
429 * gdb.arch/i386-sse-stack-align.exp: Same.
430
47918cca
AB
4312021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
434
2f985dd1
TV
4352021-01-28 Tom de Vries <tdevries@suse.de>
436
437 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
438
22efa3d3
TV
4392021-01-28 Tom de Vries <tdevries@suse.de>
440
441 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
442 "maint info line-table". Make PASS pattern more specific. Make
443 FAIL pattern work for -m32.
444
59b59f08
LS
4452021-01-27 Lancelot SIX <lsix@lancelotsix.com>
446
447 PR gdb/27133
448 * gdb.base/ui-redirect.exp: Add test case that ensures that
449 redirecting both logging and debug does not cause gdb to crash.
450
451
807f647c
MM
4522021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
453
454 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
455
4ca40594
TV
4562021-01-26 Tom de Vries <tdevries@suse.de>
457
458 * gdb.threads/killed-outside.exp: Allow regular output.
459
d0021af3
TV
4602021-01-26 Tom de Vries <tdevries@suse.de>
461
462 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
463
9f6c202e
TV
4642021-01-25 Tom de Vries <tdevries@suse.de>
465
466 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
467 * lib/gdb.exp: Use gdb_load_no_complaints.
468
a625a8c9
TT
4692021-01-25 Tom Tromey <tromey@adacore.com>
470
471 * gdb.ada/fixed_points.exp: Add regression test.
472 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
473 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
474
19184910
TT
4752021-01-25 Tom Tromey <tromey@adacore.com>
476
477 * gdb.ada/local-enum.exp: Add enumerator resolution test.
478
acd6125f
TT
4792021-01-25 Tom Tromey <tromey@adacore.com>
480
481 * gdb.ada/local-enum.exp: New file.
482 * gdb.ada/local-enum/local.adb: New file.
483
1af4c9c4
TT
4842021-01-23 Tom Tromey <tom@tromey.com>
485
486 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
487
705646c0
BE
4882021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
489
490 * gdb.base/line65535.exp: Fix test expectation.
491
0ac85db5
SM
4922021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
493
494 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
495 suppression.
496 (default_gdb_exit): Likewise.
497 (default_gdb_spawn): Likewise.
498 (send_gdb): Likewise.
499 (gdb_expect): Likewise.
500 (gdb_expect_list): Likewise.
501 (default_gdb_init): Likewise.
502 (gdb_suppress_entire_file): Remove.
503 (gdb_suppress_tests): Remove.
504 (gdb_stop_suppressing_tests): Remove.
505 (gdb_clear_suppressed): Remove.
506 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
507 related to test suppression.
508 (default_mi_gdb_start): Likewise.
509 (mi_gdb_reinitialize_dir): Likewise.
510 (mi_gdb_test): Likewise.
511 (mi_run_cmd_full): Likewise.
512 (mi_runto_helper): Likewise.
513 (mi_execute_to): Likewise.
514 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
515 * gdb.base/bitfields.exp: Likewise.
516 * gdb.base/bitfields2.exp: Likewise.
517 * gdb.base/break.exp: Likewise.
518 * gdb.base/call-sc.exp: Likewise.
519 * gdb.base/callfuncs.exp: Likewise.
520 * gdb.base/dfp-test.exp: Likewise.
521 * gdb.base/endian.exp: Likewise.
522 * gdb.base/exprs.exp: Likewise.
523 * gdb.base/funcargs.exp: Likewise.
524 * gdb.base/hbreak2.exp: Likewise.
525 * gdb.base/recurse.exp: Likewise.
526 * gdb.base/scope.exp: Likewise.
527 * gdb.base/sepdebug.exp: Likewise.
528 * gdb.base/structs.exp: Likewise.
529 * gdb.base/until.exp: Likewise.
530 * gdb.cp/misc.exp: Likewise.
531
9d2d8a16
AB
5322021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
533
534 PR cli/25956
535 * gdb.base/style.exp (run_style_tests): Add version string test.
536 (test_startup_version_string): Use version style name.
537 * lib/gdb-utils.exp (style): Handle version style name.
538
e7b43072
AB
5392021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
540
541 * gdb.base/style.exp (limited_style): New proc.
542 (clean_restart_and_disable): New proc.
543 (run_style_tests): New proc. Most of the old tests from this file
544 are now in this proc.
545 (test_startup_version_string): New proc. Reamining test from the
546 old file is in this proc.
547
2189c312
SM
5482021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
549
550 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
551 Adjust to "set debug remote" changes.
552
cd211c75
LM
5532021-01-21 Luis Machado <luis.machado@linaro.org>
554
555 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
556 message.
557
730af663
SM
5582021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
559
560 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
561
325d39e4
HD
5622021-01-21 Hannes Domani <ssbssa@yahoo.de>
563
564 PR python/19151
565 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
566
c3e96aa7
SM
5672021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
568
569 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
570
6571ffc6
SM
5712021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
572
573 * lib/tuiterm.exp: Add links in comments.
574
7c794afd
TV
5752021-01-20 Tom de Vries <tdevries@suse.de>
576
577 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
578 offset.
579
1402665c
TV
5802021-01-20 Tom de Vries <tdevries@suse.de>
581
582 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
583
6f52fdf4
SDJ
5842021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
585
586 * gdb.arch/amd64-stap-expressions.S: New file.
587 * gdb.arch/amd64-stap-expressions.exp: New file.
588
14852123
TV
5892021-01-19 Tom de Vries <tdevries@suse.de>
590
591 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
592 sequence.
593
0c4e2c6c
TV
5942021-01-19 Tom de Vries <tdevries@suse.de>
595
596 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
597
02baa133
AB
5982021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
599
600 * gdb.fortran/array-slices.exp (run_test): Avoid including
601 addresses in test names.
602
10f92414
TV
6032021-01-15 Tom de Vries <tdevries@suse.de>
604
605 PR testsuite/26997
606 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
607 when adding sizeof.
608
116d0cf1
TV
6092021-01-14 Tom de Vries <tdevries@suse.de>
610
611 PR testsuite/24590
612 * gdb.base/style.exp: Handle shorter argv in frame command output.
613
8f66807b
AB
6142021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
615
616 PR gdb/26819
617 * gdb.server/stop-reply-no-thread-multi.c: New file.
618 * gdb.server/stop-reply-no-thread-multi.exp: New file.
619
3f94e588
TV
6202021-01-12 Tom de Vries <tdevries@suse.de>
621
622 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
623 (main): Remove call to have_mpx.
624 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
625 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
626 (main): Remote call to have_mpx.
627 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
628 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
629 (main): Remove call to have_mpx.
630 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
631 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
632 (main): Remove call to have_mpx.
633 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
634 * gdb.arch/i386-mpx.c (have_mpx): Remove.
635 (main): Remote call to have_mpx.
636 * gdb.arch/i386-mpx.exp: Use have_mpx.
637 * lib/gdb.exp (have_mpx): New proc.
638
5291fe3c
SP
6392021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
640
641 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
642
18bfb505
TV
6432021-01-12 Tom de Vries <tdevries@suse.de>
644
645 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
646
ce38f5ed
AB
6472021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
648
649 * gdb.fortran/debug-expr.exp: Add new tests.
650
7c654b71
AB
6512021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
652
653 * gdb.fortran/dot-ops.exp: Add new tests.
654
10dadadc
TV
6552021-01-11 Tom de Vries <tdevries@suse.de>
656
657 PR testsuite/26968
658 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
659 Move insn setting $eax to before probe point.
660
66beed02
TT
6612021-01-09 Tom Tromey <tom@tromey.com>
662
663 * gdb.trace/ax.exp: Do not require an "ext".
664
8fc48b79
TT
6652021-01-08 Tom Tromey <tromey@adacore.com>
666
667 * gdb.ada/voidctx/pck.adb: New file.
668 * gdb.ada/voidctx/pck.ads: New file.
669 * gdb.ada/voidctx/voidctx.adb: New file.
670 * gdb.ada/voidctx.exp: New file.
671
6abd4cf2
SM
6722021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
673
674 PR gdb/27157
675 * gdb.base/empty-host-env-vars.exp: New test.
676
d00f0868
AB
6772021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
678
679 * gdb.base/completion.exp: Add a new test.
680
3c8c6de2
AB
6812021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
682
683 * gdb.fortran/intvar-dynamic-types.exp: New file.
684 * gdb.fortran/intvar-dynamic-types.f90: New file.
685
e3436813
AB
6862021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
687
688 * gdb.fortran/intvar-array.exp: New file.
689 * gdb.fortran/intvar-array.f90: New file.
690
d4813f10
TT
6912021-01-07 Tom Tromey <tromey@adacore.com>
692
693 * gdb.ada/assign_arr.exp: Add 'others' test.
694
b49180ac
TT
6952021-01-06 Tom Tromey <tromey@adacore.com>
696
697 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
698 (FP4_Type): New type.
699 (FP4_Var): New variable.
700 * gdb.ada/fixed_points/fixed_points.adb: Update.
701 * gdb.ada/fixed_points.exp: Add tests for binary operators.
702
3c55062c
SM
7032021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
704
705 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
706 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
707 Pass prompt containing debug print to gdb_test_sequence.
708
e4ad960a
TV
7092021-01-04 Tom de Vries <tdevries@suse.de>
710
711 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
712
3ec3145c
SM
7132021-01-04 Simon Marchi <simon.marchi@efficios.com>
714
715
716
8dc558a0
SM
7172021-01-04 Simon Marchi <simon.marchi@efficios.com>
718
719 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
720 * gdb.server/connect-without-multi-process.exp: Likewise.
721 * gdb.server/exit-multiple-threads.exp: Likewise.
722 * gdb.server/ext-attach.exp: Likewise.
723 * gdb.server/ext-restart.exp: Likewise.
724 * gdb.server/ext-run.exp: Likewise.
725 * gdb.server/ext-wrapper.exp: Likewise.
726 * gdb.server/multi-ui-errors.exp: Likewise.
727 * gdb.server/no-thread-db.exp: Likewise.
728 * gdb.server/reconnect-ctrl-c.exp: Likewise.
729 * gdb.server/run-without-local-binary.exp: Likewise.
730 * gdb.server/server-kill.exp: Likewise.
731 * gdb.server/server-run.exp: Likewise.
732 * gdb.server/solib-list.exp: Likewise.
733 * gdb.server/stop-reply-no-thread.exp: Likewise.
734 * gdb.server/wrapper.exp: Likewise.
735 * gdb.server/sysroot.exp: Increase timeout when testing the
736 target: sysroot.
737
d8387cc8
SM
7382021-01-04 Simon Marchi <simon.marchi@efficios.com>
739
740 * gdb.server/server-run.exp: Use clean_restart.
741
5169ae34
SM
7422021-01-04 Simon Marchi <simon.marchi@efficios.com>
743
744 * gdb.server/ext-run.exp: Use clean_restart.
745
7b0ff8a2
SM
7462021-01-04 Simon Marchi <simon.marchi@efficios.com>
747
748 * gdb.server/stop-reply-no-thread.exp: Use build_executable
749 instead of prepare_for_testing.
750
a754fbdf
SM
7512021-01-04 Simon Marchi <simon.marchi@efficios.com>
752
753 * gdb.server/solib-list.exp: Use clean_restart.
754
c5e71b33
TV
7552021-01-04 Tom de Vries <tdevries@suse.de>
756
757 * gdb.base/morestack.c: Remove printf.
758 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
759
9b243007
TT
7602020-12-31 Tom Tromey <tom@tromey.com>
761
762 * gdb.rust/simple.exp: Update output for Rust 1.49.
763
4ff509e7
BE
7642020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
765
766 * gdb.cp/step-and-next-inline.exp: Fix test case.
767
391750c3
SM
7682020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
769
770 * gdb.python/py-frame-args.exp: De-duplicate test names.
771
b7874836
AB
7722020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
773
774 PR gdb/27059
775 * gdb.dwarf2/dyn-type-unallocated.c: New file.
776 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
777
e1ff6226
PW
7782020-12-21 Peter Waller <p@pwaller.net>
779
780 * gdb.base/style-interp-exec-mi.exp: New.
781 * gdb.base/style-interp-exec-mi.c: New.
782
ca01f1bf
SM
7832020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
784
785 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
786 gdb_test. Use proc_with_prefix.
787
0fe69a94
MM
7882020-12-21 Markus Metzger <markus.t.metzger@intel.com>
789
790 * gdb.btrace/exception.exp: Build with nopie.
791 * gdb.btrace/function_call_history.exp: Likewise.
792 * gdb.btrace/unknown_functions.exp: Likewise.
793
806e7575
MM
7942020-12-21 Markus Metzger <markus.t.metzger@intel.com>
795
796 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
797
493d2172
MM
7982020-12-21 Markus Metzger <markus.t.metzger@intel.com>
799
800 * gdb.python/py-record-btrace.exp: Make test names unique.
801 * gdb.python/py-record-full.exp: Likewise.
802
1a1c0afc
MM
8032020-12-21 Markus Metzger <markus.t.metzger@intel.com>
804
805 * gdb.btrace/data.exp: Make test names unique.
806 * gdb.btrace/delta.exp: Likewise.
807 * gdb.btrace/enable.exp: Likewise.
808 * gdb.btrace/function_call_history.exp: Likewise.
809 * gdb.btrace/nohist.exp: Likewise.
810 * gdb.btrace/non-stop.exp: Likewise.
811 * gdb.btrace/rn-dl-bind.exp: Likewise.
812 * gdb.btrace/step.exp: Likewise.
813 * gdb.btrace/stepi.exp: Likewise.
814 * gdb.btrace/tailcall.exp: Likewise.
815
98d837f0
MM
8162020-12-21 Markus Metzger <markus.t.metzger@intel.com>
817
818 * gdb.btrace/enable.exp: Update error message.
819 * gdb.btrace/multi-inferior.exp: Likewise.
820 * gdb.btrace/reconnect.exp: Likewise.
821 * gdb.python/py-record-btrace.exp: Likewise.
822 * gdb.python/py-record-full.exp: Likewise.
823
c541fa7c
TV
8242020-12-20 Tom de Vries <tdevries@suse.de>
825
826 * lib/gdb.exp (save_target_board_info): New proc.
827 (gdb_compile_shlib): Use save_target_board_info.
828
60108e47
TV
8292020-12-19 Tom de Vries <tdevries@suse.de>
830
831 * lib/gdb.exp (supports_scalar_storage_order_attribute)
832 (supports_gnuc): New proc.
833 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
834 test_compiler_info calls. Add unsupported message.
835 * gdb.base/endianity.c: Use TEST_SSO.
836
fa639f55
HD
8372020-12-19 Hannes Domani <ssbssa@yahoo.de>
838
839 PR exp/27070
840 * gdb.python/compare-enum-type-a.c: New test.
841 * gdb.python/compare-enum-type-b.c: New test.
842 * gdb.python/compare-enum-type.exp: New file.
843 * gdb.python/compare-enum-type.h: New test.
844
4aea001f
HD
8452020-12-18 Hannes Domani <ssbssa@yahoo.de>
846
847 * gdb.python/py-format-string.exp: Add tests for address keyword.
848
b3f9469b
HD
8492020-12-18 Hannes Domani <ssbssa@yahoo.de>
850
851 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
852
86ef42bd
TT
8532020-12-18 Tom Tromey <tromey@adacore.com>
854
855 * gdb.ada/fixed_points.exp: Also run with
856 -fgnat-encodings=minimal. Update expected output.
857
93df4a1d
SM
8582020-12-16 Simon Marchi <simon.marchi@efficios.com>
859
860 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
861 * gdb.base/continue-all-already-running.exp: Likewise.
862 * gdb.base/moribund-step.exp: Likewise.
863 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
864
592995fa
TV
8652020-12-16 Tom de Vries <tdevries@suse.de>
866
867 * gdb.base/batch-preserve-term-settings.exp:
868
1e61189d
TV
8692020-12-16 Tom de Vries <tdevries@suse.de>
870
871 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
872 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
873
19007d95
LM
8742020-12-16 Luis Machado <luis.machado@linaro.org>
875
876 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
877 pointer-based memory accesses.
878 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
879 hw watchpoint cases.
880
a33fc9ae
RK
8812020-12-15 Rae Kim <rae.kim@gmail.com>
882
883 * gdb.base/document.exp: New test.
884
0e5ad442
TT
8852020-12-15 Tom Tromey <tromey@adacore.com>
886
887 * gdb.base/style.exp: Add deprecation tests.
888
60598dbd
SM
8892020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
890
891 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
892
8cd6d968
MW
8932020-12-14 Mark Wielaard <mark@klomp.org>
894
895 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
896 specially, set attr_form_comment to the actual FORM string used.
897
eab9267c
MW
8982020-12-14 Mark Wielaard <mark@klomp.org>
899
900 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
901 _constants(SPECIAL_expr) here, but set it...
902 (Dwarf::cu): ...here based on _cu_version.
903
2f413264
TV
9042020-12-14 Tom de Vries <tdevries@suse.de>
905
906 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
907 pass -fPIC.
908 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
909 * gdb.base/break-probes.exp: Same.
910 * gdb.base/ctxobj.exp: Same.
911 * gdb.base/dso2dso.exp: Same.
912 * gdb.base/global-var-nested-by-dso.exp: Same.
913 * gdb.base/info-shared.exp: Same.
914 * gdb.base/jit-reader-simple.exp: Same.
915 * gdb.base/print-file-var.exp: Same.
916 * gdb.base/skip-solib.exp: Same.
917 * gdb.btrace/dlopen.exp: Same.
918
18f1cb1f
TV
9192020-12-14 Tom de Vries <tdevries@suse.de>
920
921 PR testsuite/26963
922 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
923
519155c9
TV
9242020-12-14 Tom de Vries <tdevries@suse.de>
925
926 PR testsuite/26962
927 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
928 cast it to its declared type".
929
153f6e6c
TV
9302020-12-14 Tom de Vries <tdevries@suse.de>
931
932 PR testsuite/26951
933 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
934 shell prompt.
935
86b44259
TT
9362020-12-14 Tom Tromey <tromey@adacore.com>
937
938 * gdb.ada/nested.exp: Add new tests.
939 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
940
e26624c6
TT
9412020-12-14 Tom Tromey <tromey@adacore.com>
942
943 * gdb.dwarf2/ada-thick-pointer.exp: New file.
944
a3bdae4e
TT
9452020-12-14 Tom Tromey <tromey@adacore.com>
946
947 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
948
862fcbd8
TV
9492020-12-13 Tom de Vries <tdevries@suse.de>
950
951 PR testsuite/26953
952 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
953 attribute support if compiler doesn't support it.
954
a406a98e
TV
9552020-12-13 Tom de Vries <tdevries@suse.de>
956
957 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
958 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
959 source to shared lib. Add ada to options.
960
5d7e6ed0
TV
9612020-12-13 Tom de Vries <tdevries@suse.de>
962
963 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
964 calling gnatbind and gnatlink.
965
ee9812a0
AB
9662020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
967
968 * gdb.base/dcache-flush.c: New file.
969 * gdb.base/dcache-flush.exp: New file.
970
50a5f187
AB
9712020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
972
973 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
974 commands.
975 * gdb.base/killed-outside.exp: Likewise.
976 * gdb.opt/inline-bt.exp: Likewise.
977 * gdb.perf/gmonster-null-lookup.py: Likewise.
978 * gdb.perf/gmonster-print-cerr.py: Likewise.
979 * gdb.perf/gmonster-ptype-string.py: Likewise.
980 * gdb.python/py-unwind.exp: Likewise.
981
19c659f1
AB
9822020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
983
984 * gdb.base/commands.exp: Update expected results.
985
9ef6d4a1
AB
9862020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
987
988 PR cli/15104
989 * gdb.base/commands.exp: Add additional tests.
990 * gdb.base/completion.exp: Add additional tests.
991
1536146f
AB
9922020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
993
994 * gdb.base/completion.exp: Add additional tests.
995
346e7e19
TV
9962020-12-11 Tom de Vries <tdevries@suse.de>
997
998 PR testsuite/26991
999 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1000 violations by setting bounds registers if the bounds are passed in the
1001 Bounds Table.
1002
9cd7a95a
TV
10032020-12-11 Tom de Vries <tdevries@suse.de>
1004
1005 PR testsuite/26954
1006 * gdb.base/float128.exp: Detect and handle no mpfr support.
1007
4483a8e7
SM
10082020-12-10 Simon Marchi <simon.marchi@efficios.com>
1009
1010 PR gdb/24694
1011 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1012 calls.
1013
10067028
TV
10142020-12-10 Tom de Vries <tdevries@suse.de>
1015
1016 PR testsuite/26947
1017 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1018 braces for tcl 8.5 and earlier.
1019
5b56203a
SM
10202020-12-09 Simon Marchi <simon.marchi@efficios.com>
1021
1022 PR 26875, PR 26901
1023 * gdb.base/flexible-array-member.c: New test.
1024 * gdb.base/flexible-array-member.exp: New test.
1025
b46551b2
TV
10262020-12-08 Tom de Vries <tdevries@suse.de>
1027
1028 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1029 using is_amd64_regs_target.
1030
8439f446
TV
10312020-12-08 Tom de Vries <tdevries@suse.de>
1032
1033 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1034 self_id.
1035
bc545da7
PA
10362020-12-07 Pedro Alves <pedro@palves.net>
1037
1038 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1039 'additional_flags' variable.
1040
1f58f6c2
TBA
10412020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1042
1043 * gdb.linespec/explicit.exp: Extend with a test to check completing
1044 '-' after seemingly complete options.
1045
5759831a
TBA
10462020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1047
1048 * gdb.linespec/keywords.exp: Add tests to check positional
1049 flexibility of "-force-condition".
1050
21e051b3
TBA
10512020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1052
1053 * gdb.base/bp-cmds-run-with-ex.c: New file.
1054 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1055 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1056 * gdb.gdb/python-interrupts.exp: Update the call to
1057 'catch_command_errors' with the new argument.
1058 * gdb.gdb/python-selftest.exp: Ditto.
1059
187b041e
SM
10602020-12-04 Simon Marchi <simon.marchi@efficios.com>
1061
1062 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1063 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1064 * gdb.threads/non-stop-fair-events.exp: Likewise.
1065
3b7a962d
SM
10662020-12-04 Simon Marchi <simon.marchi@efficios.com>
1067
1068 * gdb.threads/step-over-exec.exp: New.
1069 * gdb.threads/step-over-exec.c: New.
1070 * gdb.threads/step-over-exec-execd.c: New.
1071 * lib/my-syscalls.S: New.
1072 * lib/my-syscalls.h: New.
1073
e633b117
SM
10742020-12-04 Simon Marchi <simon.marchi@efficios.com>
1075
1076 * lib/dwarf.exp (declare_labels): Use name as text if text is
1077 not provided.
1078
67748e0f
TV
10792020-12-04 Tom de Vries <tdevries@suse.de>
1080
1081 PR testsuite/26990
1082 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1083 are unsupported.
1084
a8d13675
TV
10852020-12-04 Tom de Vries <tdevries@suse.de>
1086
1087 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1088 clause.
1089
f17727b3
TV
10902020-12-04 Tom de Vries <tdevries@suse.de>
1091
1092 * gdb.reverse/insn-reverse.exp: Fix count handling.
1093
a1499830
TV
10942020-12-04 Tom de Vries <tdevries@suse.de>
1095
1096 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1097 __x86_64__.
1098
9c027c2f
TV
10992020-12-04 Tom de Vries <tdevries@suse.de>
1100
1101 * gdb.reverse/insn-reverse.c (test_nr): New var.
1102 (usage, parse_args): New function.
1103 (main): Call parse_args. Only run test for test_nr.
1104 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1105 and bail out. Run subtests individually, using an inferior arg
1106 specifying the subtest.
1107
533b2ae0
AB
11082020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1109
1110 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1111
e4502042
AB
11122020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1113
1114 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1115 update test to use this.
1116
f55a9a37
SM
11172020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1118
1119 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1120
0a6155a0
SM
11212020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1122
1123 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1124 (do_test): Don't use with_test_prefix.
1125 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1126 (do_test): Don't use with_test_prefix.
1127 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1128 (do_test): Don't use with_test_prefix.
1129 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1130 (do_test): Don't use with_test_prefix.
1131
4d56d64a
SM
11322020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1133
1134 * gdb.threads/non-ldr-exit.exp: Fix comment.
1135
54e75f29
AB
11362020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1137
1138 * gdb.xml/maint-xml-dump-03.xml: New file.
1139
7ce05d21
TV
11402020-11-30 Tom de Vries <tdevries@suse.de>
1141
1142 PR symtab/26905
1143 * gdb.dwarf2/count.exp: Remove kfails.
1144
50757f95
TBA
11452020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1146
1147 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1148 indices.
1149
4afa9fd9
JB
11502020-11-24 Joel Brobecker <brobecker@adacore.com>
1151
1152 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1153 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1154 languages. Remove the associated setup_xfail.
1155
15a491af
SM
11562020-11-23 Simon Marchi <simon.marchi@efficios.com>
1157
1158 * lib/gdb.exp (gdb_assert): Show error message on error.
1159
891615f0
TV
11602020-11-23 Tom de Vries <tdevries@suse.de>
1161
1162 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1163 * gdb.ada/mod_from_name.exp: Same.
1164 * gdb.ada/pckd_arr_ren.exp: Same.
1165
19922582
SM
11662020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1167
1168 * gdb.base/template.exp: New.
1169 * gdb.base/template.c: New.
1170
117c628d
GB
11712020-11-22 Gary Benson <gbenson@redhat.com>
1172
1173 PR gdb/26905
1174 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1175 is defined using a DW_AT_count which references another DIE.
1176
da39d3ba
TV
11772020-11-21 Tom de Vries <tdevries@suse.de>
1178
1179 * gdb.base/vla-ptr.exp: Add XFAIL.
1180
a5c641b5
AB
11812020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1182
1183 * gdb.fortran/array-slices-bad.exp: New file.
1184 * gdb.fortran/array-slices-bad.f90: New file.
1185 * gdb.fortran/array-slices-sub-slices.exp: New file.
1186 * gdb.fortran/array-slices-sub-slices.f90: New file.
1187 * gdb.fortran/array-slices.exp: Rewrite tests.
1188 * gdb.fortran/array-slices.f90: Rewrite tests.
1189 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1190
a15a5258
AB
11912020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1192
1193 * gdb.base/completion.exp: Add new completion tests.
1194
7cb2893d
SM
11952020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1196
1197 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1198 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1199 * gdb.mi/mi-nsintrall.exp: Likewise.
1200 * gdb.mi/mi-nsmoribund.exp: Likewise.
1201 * gdb.mi/mi-nsthrexec.exp: Likewise.
1202 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1203
cf144ec8
SM
12042020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1205
1206 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1207 of perror.
1208
6b6a3e05
JM
12092020-11-18 Joseph Myers <joseph@codesourcery.com>
1210
1211 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1212 $arg.exe exists but $arg does not.
1213
811bdca0
GB
12142020-11-17 Gary Benson <gbenson@redhat.com>
1215
1216 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1217 __attribute__ ((used)).
1218
c72e3136
AB
12192020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1220
1221 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1222
037d7135
AB
12232020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1224
1225 * gdb.base/completion.exp: Add new tests.
1226
119e99bb
TT
12272020-11-16 Tom Tromey <tromey@adacore.com>
1228
1229 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1230 tests.
1231
b74dbc20
JB
12322020-11-15 Joel Brobecker <brobecker@adacore.com>
1233
1234 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1235 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1236 (main): Add reference to pck__fp1_var2.
1237 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1238
0a12719e
JB
12392020-11-15 Joel Brobecker <brobecker@adacore.com>
1240
1241 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1242
0c9150e4
JB
12432020-11-15 Joel Brobecker <brobecker@adacore.com>
1244
1245 * gdb.ada/fixed_points.exp: Add ptype tests.
1246 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1247
b26daff9
JB
12482020-11-15 Joel Brobecker <brobecker@adacore.com>
1249
1250 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1251
09584414
JB
12522020-11-15 Joel Brobecker <brobecker@adacore.com>
1253
1254 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1255 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1256 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1257 New files.
1258 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1259
1260 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1261 New files.
1262
9dd02fc0
AB
12632020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1264
1265 PR cli/26879
1266 * gdb.fortran/completion.exp: New file.
1267 * gdb.fortran/completion.f90: New file.
1268
5643c500
JM
12692020-11-12 Joseph Myers <joseph@codesourcery.com>
1270
1271 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1272 but $arg does not.
1273
7bea47f0
AB
12742020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1275
1276 * gdb.fortran/types.exp: Add more tests.
1277
1f2624a3
TT
12782020-11-12 Tom Tromey <tom@tromey.com>
1279
1280 PR rust/26799:
1281 * gdb.rust/traits.exp: Remove kfails.
1282
9e74f0ae
GB
12832020-11-12 Gary Benson <gbenson@redhat.com>
1284
1285 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1286 statement.
1287
acb994fa
SM
12882020-11-11 Simon Marchi <simon.marchi@efficios.com>
1289
1290 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1291 always-inserted" axis.
1292 (do_test): Add breakpoint_always_inserted parameter.
1293
95016fd2
TT
12942020-11-10 Tom Tromey <tromey@adacore.com>
1295
1296 * gdb.ada/bias.exp: Update.
1297 * gdb.ada/bias/bias.adb (X): Change value.
1298
83100a74
GB
12992020-11-10 Gary Benson <gbenson@redhat.com>
1300
1301 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1302 regexp fragment in parentheses to prevent false matching.
1303
6ff174a7
GB
13042020-11-10 Gary Benson <gbenson@redhat.com>
1305
1306 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1307
eb24648c
GB
13082020-11-10 Gary Benson <gbenson@redhat.com>
1309
1310 * gdb.cp/step-and-next-inline.exp: Only require
1311 -gstatement-frontiers when building with GCC.
1312 Only setup KFAIL's for GCC issues when using
1313 a GCC-built executable.
1314
86775fab
AB
13152020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1316
1317 * gdb.base/debug-expr.c: Add extra function to allow for an
1318 additional test.
1319 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1320 to this proc with gdb_test_debug_expr. Add an extra test.
1321 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1322 to this proc with gdb_test_debug_expr, give the tests names
1323 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1324 calls to this proc with gdb_test_debug_expr, give the tests names
1325 * gdb.fortran/debug-expr.exp: New file.
1326 * gdb.fortran/debug-expr.f90: New file.
1327 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1328
a1945bd4
SM
13292020-11-06 Simon Marchi <simon.marchi@efficios.com>
1330
1331 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1332 proceduresu.
1333 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1334 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1335 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1336 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1337 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1338 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1339 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1340 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1341
9c91c725
TT
13422020-11-04 Tom Tromey <tromey@adacore.com>
1343
1344 * gdb.ada/funcall_ref.exp: Update.
1345 * gdb.ada/var_rec_arr.exp: Update.
1346
8d9fd3a1
TT
13472020-11-04 Tom Tromey <tromey@adacore.com>
1348
1349 * gdb.ada/rec_ptype.exp: New file.
1350 * gdb.ada/rec_ptype/main.adb: New file.
1351 * gdb.ada/rec_ptype/p.ads: New file.
1352
d8f62e84
TT
13532020-11-04 Tom Tromey <tromey@adacore.com>
1354
1355 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1356 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1357 (PT_Full): New variable.
1358 * gdb.ada/tick_length_array_enum_idx/pck.adb
1359 (Full_PT): New type.
1360
7ff5b937
TT
13612020-11-04 Tom Tromey <tromey@adacore.com>
1362
1363 * gdb.ada/array_of_variant.exp: New file.
1364 * gdb.ada/array_of_variant/p.adb: New file.
1365 * gdb.ada/array_of_variant/pck.ads: New file.
1366 * gdb.ada/array_of_variant/pck.adb: New file.
1367
10f6a3ad
TT
13682020-11-04 Tom Tromey <tromey@adacore.com>
1369
1370 * gdb.ada/enum_idx_packed.exp: Add test.
1371 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1372 New variable.
1373 * gdb.ada/enum_idx_packed/pck.ads (Short)
1374 (Multi_Dimension, Multi_Dimension_Access): New types.
1375
b72795a8
TT
13762020-11-04 Tom Tromey <tromey@adacore.com>
1377
1378 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1379
24aa1b02
TT
13802020-11-04 Tom Tromey <tromey@adacore.com>
1381
1382 * gdb.ada/set_pckd_arr_elt.exp: Also test
1383 -fgnat-encodings=minimal. Add tests.
1384 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1385 Call Update_Small a second time.
1386 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1387 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1388 (Variant_Access): New types.
1389 (New_Variant): Declare.
1390
c9a28cbe
TT
13912020-11-04 Tom Tromey <tromey@adacore.com>
1392
1393 * gdb.ada/mod_from_name.exp: Test printing slice.
1394
57567375
TT
13952020-11-04 Tom Tromey <tromey@adacore.com>
1396
1397 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1398 values.
1399 * gdb.ada/access_to_unbounded_array.exp: Test different
1400 -fgnat-encodings values.
1401 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1402 values.
1403 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1404 values.
1405 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1406 values.
1407 * gdb.ada/array_of_variable_length.exp: Test different
1408 -fgnat-encodings values.
1409 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1410 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1411 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1412 change.
1413 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1414 values.
1415 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1416 * gdb.ada/out_of_line_in_inlined.exp: Test different
1417 -fgnat-encodings values.
1418 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1419 values.
1420 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1421 values.
1422 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1423 -fgnat-encodings values.
1424 * gdb.ada/variant_record_packed_array.exp: Test different
1425 -fgnat-encodings values.
1426
a7400e44
TT
14272020-11-04 Tom Tromey <tromey@adacore.com>
1428
1429 * gdb.ada/enum_idx_packed.exp: Add tests.
1430 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1431 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1432 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1433 declarations.
1434
c40907bf
TV
14352020-11-03 Tom de Vries <tdevries@suse.de>
1436
1437 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1438 terminator comments.
1439 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1440 terminator.
1441
f468977a
SM
14422020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1443
1444 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1445 integer format test with regexp.
1446
1c2bec19
GB
14472020-11-02 Gary Benson <gbenson@redhat.com>
1448
1449 * gdb.base/print-file-var.exp (test): Separate compiler and
1450 linker options, and build using build_executable_from_specs
1451 to accommodate this.
1452
6539a36d
GB
14532020-11-02 Gary Benson <gbenson@redhat.com>
1454
1455 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1456 for .c files compiled as C++ with Clang if any shared
1457 libraries are specified.
1458
7ea44a51
GB
14592020-11-02 Gary Benson <gbenson@redhat.com>
1460
1461 * lib/attributes.h: New header.
1462 * gdb.base/backtrace.c: Include the above. Replace
1463 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1464 * gdb.base/infcall-nested-structs.c: Likewise.
1465 * gdb.base/vla-optimized-out.c: Likewise.
1466
ab8f783d
TV
14672020-11-02 Tom de Vries <tdevries@suse.de>
1468
1469 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1470
d77c9224
JB
14712020-11-01 Joel Brobecker <brobecker@adacore.com>
1472
1473 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1474 System.Min_Int and System.Max_Int with smaller hardcoded
1475 constants.
1476
0e5b0dd0
SM
14772020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1478
1479 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1480 * configure: Re-generate.
1481
136821d9
SM
14822020-10-30 Simon Marchi <simon.marchi@efficios.com>
1483
1484 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1485 expected output.
1486
b78b3a29
TBA
14872020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1488
1489 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1490 behavior.
1491 * gdb.base/paginate-bg-execution.exp: Ditto.
1492 * gdb.base/paginate-inferior-exit.exp: Ditto.
1493 * gdb.base/double-prompt-target-event-error.c: Remove.
1494 * gdb.base/double-prompt-target-event-error.exp: Remove.
1495
cfaa8f76
TBA
14962020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1497
1498 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1499 inferiors' and 'detach inferiors' do not change the current
1500 inferior.
1501
0ad0e70c
TV
15022020-10-29 Tom de Vries <tdevries@suse.de>
1503
1504 * gdb.threads/tls.exp: Fix DUPLICATEs.
1505
99cc6b2a
TV
15062020-10-28 Tom de Vries <tdevries@suse.de>
1507
1508 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1509
efe9b873
TV
15102020-10-28 Tom de Vries <tdevries@suse.de>
1511
1512 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1513 * gdb.base/reread.exp: Same.
1514
6b68fd45
TV
15152020-10-28 Tom de Vries <tdevries@suse.de>
1516
1517 * lib/gdb.exp (readnow): Handle arg.
1518 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1519
32a5f98a
TV
15202020-10-28 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.base/relocate.exp: Update regexp for -readnow.
1523
f93b8760
TV
15242020-10-28 Tom de Vries <tdevries@suse.de>
1525
1526 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1527 -readnow.
1528
1b00ef06
TV
15292020-10-28 Tom de Vries <tdevries@suse.de>
1530
1531 PR symtab/26772
1532 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1533 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1534
364bb903
TV
15352020-10-28 Tom de Vries <tdevries@suse.de>
1536
1537 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1538 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1539 complaint during file command for -readnow.
1540
445a033f
TV
15412020-10-28 Tom de Vries <tdevries@suse.de>
1542
1543 * gdb.cp/nsalias.exp: Fix typo in test name.
1544
fdd67a42
TV
15452020-10-28 Tom de Vries <tdevries@suse.de>
1546
1547 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1548
706baf4c
TV
15492020-10-28 Tom de Vries <tdevries@suse.de>
1550
1551 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1552 -readnow.
1553
b448cca5
TV
15542020-10-27 Tom de Vries <tdevries@suse.de>
1555
1556 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1557
5868da03
TV
15582020-10-27 Tom de Vries <tdevries@suse.de>
1559
1560 * gdb.base/maint.exp: Update for -readnow.
1561
06db6ec3
TV
15622020-10-27 Tom de Vries <tdevries@suse.de>
1563
1564 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1565 -readnow.
1566
934a1764
GB
15672020-10-14 Gary Benson <gbenson@redhat.com>
1568
1569 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1570 "_vptr$Base" as correct, in addition to "_vptr.Base".
1571 (test_mixed): Likewise.
1572
0bf21fbd
GB
15732020-10-27 Gary Benson <gbenson@redhat.com>
1574
1575 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1576 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1577
b1d4d8d1
TBA
15782020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1579
1580 * gdb.base/condbreak.exp: Update the completion tests to
1581 consider the '-force' flag.
1582
bd24c5d6
TV
15832020-10-27 Tom de Vries <tdevries@suse.de>
1584
1585 * gdb.base/list-ambiguous-readnow.exp: New file.
1586
733d554a
TBA
15872020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1588
1589 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1590 the condition.
1591 * gdb.linespec/cpcompletion.exp: Update to consider the
1592 '-force-condition' keyword.
1593 * gdb.linespec/explicit.exp: Ditto.
1594 * lib/completion-support.exp: Ditto.
1595
b5fa468f
TBA
15962020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1597
1598 * gdb.base/condbreak-multi-context.cc: New file.
1599 * gdb.base/condbreak-multi-context.exp: New file.
1600
b3247276
TT
16012020-10-26 Tom Tromey <tom@tromey.com>
1602
1603 * lib/mi-support.exp (default_mi_gdb_start): Call
1604 gdb_stdin_log_init.
1605 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1606 subtract one from gdb_instances.
1607 (gdb_stdin_log_write): Flush in_file.
1608
1c47ec3e
TV
16092020-10-26 Tom de Vries <tdevries@suse.de>
1610
1611 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1612
6390859c
TT
16132020-10-26 Tom Tromey <tromey@adacore.com>
1614
1615 * gdb.ada/unsigned_range/foo.adb: New file.
1616 * gdb.ada/unsigned_range/pack.adb: New file.
1617 * gdb.ada/unsigned_range/pack.ads: New file.
1618 * gdb.ada/unsigned_range.exp: New file.
1619
55c3ad88
TV
16202020-10-26 Tom de Vries <tdevries@suse.de>
1621
1622 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1623
1612c4bb
TV
16242020-10-26 Tom de Vries <tdevries@suse.de>
1625
1626 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1627 for CU.
1628 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1629
7d72802b
TV
16302020-10-23 Tom de Vries <tdevries@suse.de>
1631
1632 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1633 DW_FORM_string.
1634 (Dwarf::_default_form): New proc.
1635 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1636 guessed.
1637
9476b583
TV
16382020-10-23 Tom de Vries <tdevries@suse.de>
1639
1640 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1641 * gdb.dwarf2/atomic-type.exp: Same.
1642 * gdb.dwarf2/bad-regnum.exp: Same.
1643 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1644 * gdb.dwarf2/dw2-align.exp: Same.
1645 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1646 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1647 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1648 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1649 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1650 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1651 * gdb.dwarf2/enum-type.exp: Same.
1652 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1653 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1654 * gdb.dwarf2/main-subprogram.exp: Same.
1655 * gdb.dwarf2/missing-type-name.exp: Same.
1656 * gdb.dwarf2/nonvar-access.exp: Same.
1657 * gdb.dwarf2/typedef-void-finish.exp: Same.
1658 * gdb.dwarf2/var-access.exp: Same.
1659 * gdb.dwarf2/void-type.exp: Same.
1660
4a636814
SM
16612020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1662
1663 PR gdb/26693
1664 * gdb.dwarf2/template-specification-full-name.exp: New test.
1665
557fc257
LM
16662020-10-22 Luis Machado <luis.machado@linaro.org>
1667
1668 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1669 expected an offset from the function.
1670 * gdb.base/msym-bp.exp (test): Likewise.
1671
6b4c676c
AB
16722020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1673
1674 * gdb.fortran/array-slices.exp: Add a new test.
1675
98cec4f6
GB
16762020-10-21 Gary Benson <gbenson@redhat.com>
1677
1678 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1679 fullname test with Clang. Also expand comments generally.
1680
ae86f581
TV
16812020-10-20 Tom de Vries <tdevries@suse.de>
1682
1683 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1684
8c161360
TV
16852020-10-20 Tom de Vries <tdevries@suse.de>
1686
1687 * gdb.dwarf2/arr-stride.c: Remove.
1688 * gdb.dwarf2/arr-stride.exp: Use main.c.
1689 * gdb.dwarf2/arr-subrange.c: Remove.
1690 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1691 * gdb.dwarf2/bad-regnum.c: Remove.
1692 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1693 * gdb.dwarf2/corrupt.c: Remove.
1694 * gdb.dwarf2/corrupt.exp: Use main.c.
1695 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1696 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1697 * gdb.dwarf2/dw2-icycle.c: Remove.
1698 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1699 * gdb.dwarf2/formdata16.c: Remove.
1700 * gdb.dwarf2/formdata16.exp: Use main.c.
1701 * gdb.dwarf2/implptrconst.c: Remove.
1702 * gdb.dwarf2/implptrconst.exp: Use main.c.
1703 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1704 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1705 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1706 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1707
9c2412ec
TV
17082020-10-20 Tom de Vries <tdevries@suse.de>
1709
1710 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1711 file.
1712 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1713
0cd2ad78
TV
17142020-10-20 Tom de Vries <tdevries@suse.de>
1715
1716 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1717 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1718 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1719 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1720 * gdb.dwarf2/dw2-ranges.exp: Same.
1721 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1722 * gdb.dwarf2/var-access.exp: Same.
1723
22cc388e
TT
17242020-10-19 Tom Tromey <tromey@adacore.com>
1725
1726 PR tui/26719
1727 * gdb.tui/list.exp: Check source window contents after focus
1728 change.
1729
520596f2
TV
17302020-10-17 Tom de Vries <tdevries@suse.de>
1731
1732 PR symtab/26317
1733 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1734
d1c8a76d
TV
17352020-10-17 Tom de Vries <tdevries@suse.de>
1736
1737 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1738 as suffix.
1739 * gdb.dwarf2/atomic.c: Rename to ...
1740 * gdb.dwarf2/atomic-type.c: ... this.
1741 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1742 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1743 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1744 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1745 * gdb.dwarf2/fission-mix2.c: Rename to ...
1746 * gdb.dwarf2/fission-mix-2.c: ... this.
1747 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1748 standard_testfile.
1749 * gdb.dwarf2/ada-valprint-error.exp: Same.
1750 * gdb.dwarf2/arr-stride.exp: Same.
1751 * gdb.dwarf2/arr-subrange.exp: Same.
1752 * gdb.dwarf2/atomic-type.exp: Same.
1753 * gdb.dwarf2/bad-regnum.exp: Same.
1754 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1755 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1756 * gdb.dwarf2/clang-debug-names.exp: Same.
1757 * gdb.dwarf2/comp-unit-lang.exp: Same.
1758 * gdb.dwarf2/corrupt.exp: Same.
1759 * gdb.dwarf2/count.exp: Same.
1760 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1761 * gdb.dwarf2/data-loc.exp: Same.
1762 * gdb.dwarf2/dw2-align.exp: Same.
1763 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1764 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1765 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1766 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1767 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1768 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1769 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1770 * gdb.dwarf2/dw2-inline-param.exp: Same.
1771 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1772 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1773 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1774 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1775 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1776 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1777 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1778 * gdb.dwarf2/dw2-param-error.exp: Same.
1779 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1780 * gdb.dwarf2/dw2-ranges.exp: Same.
1781 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1782 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1783 * gdb.dwarf2/dw4-sig-types.exp: Same.
1784 * gdb.dwarf2/dynarr-ptr.exp: Same.
1785 * gdb.dwarf2/enum-type.exp: Same.
1786 * gdb.dwarf2/fission-mix.exp: Same.
1787 * gdb.dwarf2/formdata16.exp: Same.
1788 * gdb.dwarf2/implptrconst.exp: Same.
1789 * gdb.dwarf2/implptrpiece.exp: Same.
1790 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1791 * gdb.dwarf2/main-subprogram.exp: Same.
1792 * gdb.dwarf2/method-ptr.exp: Same.
1793 * gdb.dwarf2/missing-sig-type.exp: Same.
1794 * gdb.dwarf2/nonvar-access.exp: Same.
1795 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1796 * gdb.dwarf2/shortpiece.exp: Same.
1797 * gdb.dwarf2/staticvirtual.exp: Same.
1798 * gdb.dwarf2/subrange.exp: Same.
1799 * gdb.dwarf2/symtab-producer.exp: Same.
1800 * gdb.dwarf2/typedef-void-finish.exp: Same.
1801 * gdb.dwarf2/var-access.exp: Same.
1802 * gdb.dwarf2/variant.exp: Same.
1803 * gdb.dwarf2/void-type.exp: Same.
1804 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1805 dw2-ranges-main.c.
1806 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1807
472d09c1
TV
18082020-10-16 Tom de Vries <tdevries@suse.de>
1809
1810 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1811
afe75f6d
TV
18122020-10-16 Tom de Vries <tdevries@suse.de>
1813
1814 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1815
8c8bd0ba
TV
18162020-10-14 Tom de Vries <tdevries@suse.de>
1817
1818 PR testsuite/26732
1819 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1820 scenario 2.
1821 * gdb.ada/mi_catch_ex_hand.exp: Same.
1822
b75d55d4
PA
18232020-10-13 Pedro Alves <pedro@palves.net>
1824
1825 * lib/mi-support.exp (mi_clean_restart): New.
1826 (mi_run_to_main): Delete.
1827 All callers adjust to use mi_clean_restart / mi_runto_main.
1828
e777225b
PA
18292020-10-13 Pedro Alves <pedro@palves.net>
1830
1831 * config/monitor.exp: Use "list -q".
1832 * gdb.arch/gdb1558.exp: Use "break -q".
1833 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1834 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1835 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1836 * gdb.base/commands.exp: Use "break -q".
1837 * gdb.base/condbreak.exp: Use "break -q".
1838 * gdb.base/ctf-ptype.exp: Use "list -q".
1839 * gdb.base/define.exp: Use "break -q".
1840 * gdb.base/del.exp: Use "break -q".
1841 * gdb.base/fullname.exp: Use "break -q".
1842 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1843 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1844 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1845 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1846 "hbreak -q".
1847 * gdb.base/included.exp: Use "list -q".
1848 * gdb.base/label.exp: Use "break -q".
1849 * gdb.base/lineinc.exp: Use "break -q".
1850 * gdb.base/list.exp: Use "list -q".
1851 * gdb.base/macscp.exp: Use "list -q".
1852 * gdb.base/pending.exp: Use "break -q".
1853 * gdb.base/prologue-include.exp: Use "break -q".
1854 * gdb.base/ptype.exp: Use "list -q".
1855 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1856 * gdb.base/server-del-break.exp: Use "break -q".
1857 * gdb.base/style.exp: Use "break -q".
1858 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1859 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1860 * gdb.cp/exception.exp: Use "tbreak -q".
1861 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1862 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1863 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1864 * gdb.dwarf2/pr13961.exp: Use "break -q".
1865 * gdb.linespec/explicit.exp: Use "list -q".
1866 * gdb.linespec/linespec.exp: Use "break -q".
1867 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1868 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1869 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1870 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1871 * gdb.trace/change-loc.exp: Use "break -q".
1872 * gdb.trace/pending.exp: Use "break -q".
1873 * gdb.tui/basic.exp: Use "list -q".
1874 * gdb.tui/list-before.exp: Use "list -q".
1875 * gdb.tui/list.exp: Use "list -q".
1876 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1877
8abd8ee8
PA
18782020-10-13 Pedro Alves <pedro@palves.net>
1879
1880 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1881 saved breakpoints file.
1882 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1883 inspecting breakpoint list.
1884 * lib/gdb.exp (runto_main): Add "qualified" to options.
1885 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1886 and handle it.
1887 (mi_runto_main): Pass 1 as qualified argument.
1888
f71e6719
PA
18892020-10-13 Pedro Alves <pedro@palves.net>
1890
1891 * lib/mi-support.exp (mi_runto_main): New proc.
1892 (mi_run_to_main): Use it.
1893 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1894 * gdb.mi/mi-var-cmd.exp: Likewise.
1895 * gdb.mi/mi-var-invalidate.exp: Likewise.
1896 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1897 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1898 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1899 * gdb.mi/user-selected-context-sync.exp: Likewise.
1900 * gdb.opt/inline-cmds.exp: Likewise.
1901 * gdb.python/py-framefilter-mi.exp: Likewise.
1902 * gdb.python/py-mi.exp: Likewise.
1903
50441f0f
PA
19042020-10-13 Pedro Alves <pedro@palves.net>
1905
1906 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1907 "runto main".
1908 * gdb.ada/small_reg_param.exp: Likewise.
1909 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1910 * gdb.base/annota1.exp: Likewise.
1911 * gdb.base/anon.exp: Likewise.
1912 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1913 * gdb.base/dprintf-non-stop.exp: Likewise.
1914 * gdb.base/dprintf.exp: Likewise.
1915 * gdb.base/gdb11530.exp: Likewise.
1916 * gdb.base/gdb11531.exp: Likewise.
1917 * gdb.base/gnu_vector.exp: Likewise.
1918 * gdb.base/interrupt-noterm.exp: Likewise.
1919 * gdb.base/memattr.exp: Likewise.
1920 * gdb.base/step-over-syscall.exp: Likewise.
1921 * gdb.base/watch-cond-infcall.exp: Likewise.
1922 * gdb.base/watch-read.exp: Likewise.
1923 * gdb.base/watch-vfork.exp: Likewise.
1924 * gdb.base/watch_thread_num.exp: Likewise.
1925 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1926 * gdb.guile/scm-frame-inline.exp: Likewise.
1927 * gdb.linespec/explicit.exp: Likewise.
1928 * gdb.opt/inline-break.exp: Likewise.
1929 * gdb.python/py-frame-inline.exp: Likewise.
1930 * gdb.reverse/break-precsave.exp: Likewise.
1931 * gdb.reverse/break-reverse.exp: Likewise.
1932 * gdb.reverse/consecutive-precsave.exp: Likewise.
1933 * gdb.reverse/consecutive-reverse.exp: Likewise.
1934 * gdb.reverse/finish-precsave.exp: Likewise.
1935 * gdb.reverse/finish-reverse.exp: Likewise.
1936 * gdb.reverse/fstatat-reverse.exp: Likewise.
1937 * gdb.reverse/getresuid-reverse.exp: Likewise.
1938 * gdb.reverse/i386-precsave.exp: Likewise.
1939 * gdb.reverse/i386-reverse.exp: Likewise.
1940 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1941 * gdb.reverse/i387-env-reverse.exp: Likewise.
1942 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1943 * gdb.reverse/insn-reverse.exp: Likewise.
1944 * gdb.reverse/machinestate-precsave.exp: Likewise.
1945 * gdb.reverse/machinestate.exp: Likewise.
1946 * gdb.reverse/pipe-reverse.exp: Likewise.
1947 * gdb.reverse/readv-reverse.exp: Likewise.
1948 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1949 * gdb.reverse/rerun-prec.exp: Likewise.
1950 * gdb.reverse/s390-mvcle.exp: Likewise.
1951 * gdb.reverse/solib-precsave.exp: Likewise.
1952 * gdb.reverse/solib-reverse.exp: Likewise.
1953 * gdb.reverse/step-precsave.exp: Likewise.
1954 * gdb.reverse/step-reverse.exp: Likewise.
1955 * gdb.reverse/time-reverse.exp: Likewise.
1956 * gdb.reverse/until-precsave.exp: Likewise.
1957 * gdb.reverse/until-reverse.exp: Likewise.
1958 * gdb.reverse/waitpid-reverse.exp: Likewise.
1959 * gdb.reverse/watch-precsave.exp: Likewise.
1960 * gdb.reverse/watch-reverse.exp: Likewise.
1961 * gdb.threads/kill.exp: Likewise.
1962 * gdb.threads/tid-reuse.exp: Likewise.
1963
d3a07122
SM
19642020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1965
1966 PR gdb/26642
1967 * gdb.base/maint-target-async-off.c: New test.
1968 * gdb.base/maint-target-async-off.exp: New test.
1969
c65c6c42
AM
19702020-10-13 Alan Modra <amodra@gmail.com>
1971
1972 * gdb.arch/powerpc-altivec.s,
1973 * gdb.arch/powerpc-power7.s,
1974 * gdb.arch/powerpc-power8.s,
1975 * gdb.arch/powerpc-power9.s,
1976 * gdb.arch/powerpc-vsx.s,
1977 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1978 * gdb.arch/powerpc-altivec.exp,
1979 * gdb.arch/powerpc-power7.exp,
1980 * gdb.arch/powerpc-power8.exp,
1981 * gdb.arch/powerpc-power9.exp,
1982 * gdb.arch/powerpc-vsx.exp,
1983 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1984 disassembly of mfvsrd/mtvsrd.
1985
f4a0f710
AM
19862020-10-13 Alan Modra <amodra@gmail.com>
1987
1988 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1989 "target architecture" output.
1990 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1991 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1992 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1993 * gdb.arch/s390-disassembler-options.exp: Likewise.
1994
87a37e5e
PA
19952020-10-12 Pedro Alves <pedro@palves.net>
1996
1997 PR exp/26602
1998 PR c++/26550
1999 * gdb.cp/ambiguous.cc (marker1): Delete.
2000 (main): Initialize all the fields of the locals. Replace marker1
2001 call with a "set breakpoint here" marker.
2002 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2003 instead of running to marker1. Add tests printing all the
2004 variables and all the fields of the variables.
2005 (test_ambiguous): New proc, expecting the new GDB output when a
2006 field access is ambiguous. Change all "warning: X ambiguous"
2007 tests to use it.
2008
71e1b6b0
GB
20092020-10-12 Gary Benson <gbenson@redhat.com>
2010
2011 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2012 * gdb.base/msym-bp-2.c (foo): Likewise.
2013 * gdb.base/msym-lang.c (foo): Likewise.
2014 * gdb.base/msym-lang-main.c (foo): Likewise.
2015 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2016 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2017 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2018 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2019 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2020 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2021 * gdb.python/py-objfile.c (static_var): Likewise.
2022 * gdb.python/py-symbol.c (rr): Likewise.
2023 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2024 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2025
9370fd51
AB
20262020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2027
2028 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2029 output of backtrace.
2030
7c184d33
TT
20312020-10-09 Tom Tromey <tromey@adacore.com>
2032
2033 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2034 (Rec): Add field. Fix range.
2035 * gdb.ada/scalar_storage.exp: Update.
2036
3d87245c
HD
20372020-10-09 Hannes Domani <ssbssa@yahoo.de>
2038
2039 PR exp/26714
2040 * gdb.base/printcmds.exp: Add tests for void results.
2041
f5c4b229
JV
20422020-10-09 Jan Vrany <jan.vrany@labware.com>
2043
2044 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2045 is emmited for both 'set directories' and 'directory' commands.
2046
b2701685
TT
20472020-10-08 Tom Tromey <tom@tromey.com>
2048
2049 * gdb.base/style.exp: Check that "main"'s name is styled.
2050
e86efb33
TT
20512020-10-07 Tom Tromey <tromey@adacore.com>
2052
2053 * gdb.base/find.exp: Rename some tests.
2054
30897591
GB
20552020-10-06 Gary Benson <gbenson@redhat.com>
2056
2057 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2058 * gdb.base/list1.c (unused): Likewise.
2059
ced4a4c1
GB
20602020-10-06 Gary Benson <gbenson@redhat.com>
2061
2062 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2063 __attribute__ ((used)).
2064 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2065
ed3bdac4
AB
20662020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2067
2068 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2069 make use of regions throughout.
2070 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2071 not {...}.
2072 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2073
cd096ec8
HD
20742020-10-05 Hannes Domani <ssbssa@yahoo.de>
2075
2076 * gdb.base/call-sc.c: Fix return struct on stack test case.
2077 * gdb.base/call-sc.exp: Likewise.
2078
3ee6f75d
GB
20792020-10-02 Gary Benson <gbenson@redhat.com>
2080
2081 * README: Fix "paralell".
2082
f65825ec
GB
20832020-09-30 Gary Benson <gbenson@redhat.com>
2084
2085 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2086 Convert directive to lowercase.
2087 (.Labbrev1_begin): Add missing label.
2088 (abbrev code 0x1): Remove DW_AT_stmt_list.
2089 (.Ldie_b): Likewise.
2090
5f278258
TT
20912020-09-27 Tom Tromey <tom@tromey.com>
2092
2093 * gdb.tui/new-layout.exp: Use with_test_prefix.
2094
8f9929bb
GR
20952020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2096
2097 PR python/26586
2098 * gdb.python/python.exp: add test cases for the from_tty
2099 argument to gdb.execute.
2100
c20c017b
GB
21012020-09-25 Gary Benson <gbenson@redhat.com>
2102
2103 * gdb.base/infcall-nested-structs.exp.tcl: Add
2104 additional_flags=-Wno-tautological-compare for C++
2105 tests when compiling using Clang.
2106
68d654af
GB
21072020-09-25 Gary Benson <gbenson@redhat.com>
2108
2109 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2110 for .c files.
2111
b551a89f
TT
21122020-09-24 Tom Tromey <tromey@adacore.com>
2113
2114 PR tui/26638:
2115 * gdb.tui/list.exp: Check output of "focus next".
2116
20a5fcbd
TT
21172020-09-23 Tom Tromey <tom@tromey.com>
2118
2119 * gdb.dwarf2/intbits.exp: New file.
2120 * gdb.dwarf2/intbits.c: New file.
2121
b167e53f
PA
21222020-09-20 Pedro Alves <pedro@palves.net>
2123
2124 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2125 spawn_id before calling remote_close. Close secondary MI channel.
2126
dbc49e9f
PA
21272020-09-20 Pedro Alves <pedro@palves.net>
2128
2129 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2130 fails.
2131
c8d5abea
AB
21322020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2133
2134 * gdb.fortran/array-slices.exp: Update expected results.
2135 * gdb.fortran/class-allocatable-array.exp: Likewise.
2136 * gdb.fortran/multi-dim.exp: Likewise.
2137 * gdb.fortran/vla-type.exp: Likewise.
2138 * gdb.mi/mi-vla-fortran.exp: Likewise.
2139
14f9473c
VC
21402020-09-18 Victor Collod <vcollod@nvidia.com>
2141
2142 PR gdb/26635
2143 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2144 compatible with i386, and move it to...
2145 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2146 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2147 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2148
e8ef12b9
PA
21492020-09-18 Pedro Alves <pedro@palves.net>
2150
2151 PR gdb/26631
2152 * gdb.multi/multi-target-thread-find.exp: New file.
2153
e11daf7a
PA
21542020-09-18 Pedro Alves <pedro@palves.net>
2155
2156 * gdb.multi/multi-target-continue.exp: New file, factored out from
2157 multi-target.exp.
2158 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2159 multi-target.exp.
2160 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2161 multi-target.exp.
2162 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2163 multi-target.exp.
2164 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2165 multi-target.exp.
2166 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2167 multi-target.exp.
2168 * gdb.multi/multi-target.exp: Delete.
2169
d0edc2b8
AB
21702020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2171
2172 * gdb.fortran/array-slices.exp: Add missing message data.
2173
7474326c
PA
21742020-09-17 Pedro Alves <pedro@palves.net>
2175
2176 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2177
dd23068d
PA
21782020-09-17 Pedro Alves <pedro@palves.net>
2179
2180 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2181 full prototype.
2182
0640a543
PA
21832020-09-17 Pedro Alves <pedro@palves.net>
2184
2185 * gdb.python/py-as-string.c: Add cast.
2186
ef0cdbc1
PA
21872020-09-17 Pedro Alves <pedro@palves.net>
2188
2189 * gdb.base/sizeof.c (fill): Add cast.
2190
3a5eeb8b
PA
21912020-09-17 Pedro Alves <pedro@palves.net>
2192
2193 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2194
a8129512
PA
21952020-09-17 Pedro Alves <pedro@palves.net>
2196
2197 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2198 linkage name.
2199 * gdb.base/prologue.exp: Use print /d.
2200 * gdb.base/symbol-alias.exp: Handle C++ output.
2201 * gdb.base/symbol-alias2.c: Handle C++ output.
2202 [__cplusplus] (func): Explicitly specify linkage name.
2203
a83cdcb6
PA
22042020-09-17 Pedro Alves <pedro@palves.net>
2205
2206 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2207 (struct my_key_t): ... this. Adjust all references.
2208 (struct value_t): Rename to ...
2209 (struct my_value_t): ... this. Adjust all references.
2210 (create_map, add_map_element, create_map_map)
2211 (add_map_map_element): Add casts.
2212
d4bcee5c
PA
22132020-09-17 Pedro Alves <pedro@palves.net>
2214
2215 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2216 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2217
81f90489
PA
22182020-09-17 Pedro Alves <pedro@palves.net>
2219
2220 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2221
0a229804
PA
22222020-09-17 Pedro Alves <pedro@palves.net>
2223
2224 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2225 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2226 (charfoo, intfoo): Define full prototype.
2227 * gdb.base/ptype1.c (charfoo): Define full prototype.
2228 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2229 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2230
c3e5138d
PA
22312020-09-17 Pedro Alves <pedro@palves.net>
2232
2233 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2234 Don't define.
2235 (utf_32_string): Compile for both C and C++.
2236 * gdb.base/charset.exp: Use "print /d".
2237
151fdbad
PA
22382020-09-17 Pedro Alves <pedro@palves.net>
2239
2240 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2241 (nullptr): Rename to ...
2242 (null_ptr): ... this.
2243 * gdb.base/watchpoint.exp: Adjust to rename.
2244
18a25b64
PA
22452020-09-17 Pedro Alves <pedro@palves.net>
2246
2247 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2248 (three_not_flag): Add casts.
2249
11fac337
PA
22502020-09-17 Pedro Alves <pedro@palves.net>
2251
2252 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2253 char array.
2254 (main): Add references to Barrier, TestStrings, TestStringsH and
2255 TestStringsW.
2256 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2257 and expect a full prototype in C++.
2258
52626c58
PA
22592020-09-17 Pedro Alves <pedro@palves.net>
2260
2261 * gdb.base/nested-addr.c (main): Add cast.
2262 * gdb.base/nested-addr.exp: Use "print /d".
2263
52bb0902
PA
22642020-09-17 Pedro Alves <pedro@palves.net>
2265
2266 * gdb.base/break.exp (func): New. Use it throughout when
2267 expecting a function name.
2268
73e18ac9
PA
22692020-09-17 Pedro Alves <pedro@palves.net>
2270
2271 * gdb.base/display.exp: Issue "set print asm-demangle on".
2272
c8b18808
PA
22732020-09-17 Pedro Alves <pedro@palves.net>
2274
2275 * gdb.base/find.c: Include <string.h>.
2276 (init_bufs): Add cast.
2277 * gdb.base/find.exp: Issue "set print asm-demangle on".
2278
fe830662
TT
22792020-09-16 Tom Tromey <tromey@adacore.com>
2280
2281 PR gdb/26598:
2282 * gdb.base/skipcxx.exp: New file.
2283 * gdb.base/skipcxx.cc: New file.
2284
945ff6e2
TV
22852020-09-16 Tom de Vries <tdevries@suse.de>
2286
2287 PR testsuite/26617
2288 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2289 WITH_DEBUG_SECTIONS is defined.
2290 (xstr, str): New macro.
2291 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2292 to get start and size of _Dmain.
2293 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2294 using additional_flags.
2295
da1df1db
TBA
22962020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2297
2298 * gdb.base/bp-cmds-sourced-script.c: New file.
2299 * gdb.base/bp-cmds-sourced-script.exp: New test.
2300 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2301
337882d4
TV
23022020-09-16 Tom de Vries <tdevries@suse.de>
2303
2304 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2305 get the gdb prompt after issuing "monitor exit".
2306
7361f908
TV
23072020-09-16 Tom de Vries <tdevries@suse.de>
2308
2309 PR testsuite/26624
2310 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2311
4d91ddd3
TV
23122020-09-16 Tom de Vries <tdevries@suse.de>
2313
2314 PR testsuite/26618
2315 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2316
08cc37dd
TT
23172020-09-15 Tom Tromey <tromey@adacore.com>
2318
2319 PR rust/26197:
2320 * lib/rust-support.exp (rust_llvm_version): New proc.
2321 * gdb.rust/simple.exp: Check rust_llvm_version.
2322
ee6372f2
TV
23232020-09-14 Tom de Vries <tdevries@suse.de>
2324
2325 * gdb.rust/traits.exp: Fix PATH warning.
2326
dc3a371e
PA
23272020-09-13 Pedro Alves <pedro@palves.net>
2328
2329 * gdb.base/catch-follow-exec.c (main): Add explicit return
2330 statement.
2331 * gdb.base/catch-signal.c (main): Likewise.
2332 * gdb.base/condbreak-call-false.c (main): Likewise.
2333 * gdb.base/consecutive.c (main): Add explicit return
2334 statement and return type.
2335 * gdb.base/cursal.c (main): Add explicit return statement.
2336 * gdb.base/cvexpr.c (main): Likewise.
2337 * gdb.base/display.c (main): Add explicit return statement and
2338 return type.
2339 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2340 * gdb.base/endianity.c (main): Likewise.
2341 * gdb.base/execd-prog.c (main): Likewise.
2342 * gdb.base/gdb1090.c (main): Likewise.
2343 * gdb.base/info_qt.c (main): Likewise.
2344 * gdb.base/lineinc.c (main): Likewise.
2345 * gdb.base/load-command.c (main): Likewise.
2346 * gdb.base/macscp1.c (main): Likewise.
2347 * gdb.base/pr10179-a.c (main): Likewise.
2348 * gdb.base/quit-live.c (main): Likewise.
2349 * gdb.base/scope0.c (main): Likewise.
2350 * gdb.base/settings.c (main): Likewise.
2351 * gdb.base/stack-checking.c (main): Return int.
2352 * gdb.base/varargs.c (main): Add explicit return statement.
2353 * gdb.cp/ambiguous.cc (main): Likewise.
2354 * gdb.cp/anon-struct.cc (main): Likewise.
2355 * gdb.cp/anon-union.cc (main): Likewise.
2356 * gdb.cp/bool.cc (main): Likewise.
2357 * gdb.cp/bs15503.cc (main): Likewise.
2358 * gdb.cp/cplusfuncs.cc (main): Likewise.
2359 * gdb.cp/cttiadd.cc (main): Likewise.
2360 * gdb.cp/extern-c.cc (main): Likewise.
2361 * gdb.cp/filename.cc (main): Likewise.
2362 * gdb.cp/formatted-ref.cc (main): Likewise.
2363 * gdb.cp/mb-ctor.cc (main): Likewise.
2364 * gdb.cp/member-ptr.cc (main): Likewise.
2365 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2366 * gdb.cp/overload-const.cc (main): Likewise.
2367 * gdb.cp/paren-type.cc (main): Likewise.
2368 * gdb.cp/parse-lang.cc (main): Likewise.
2369 * gdb.cp/pr-1023.cc (main): Likewise.
2370 * gdb.cp/psmang1.cc (main): Likewise.
2371 * gdb.cp/readnow-language.cc (main): Likewise.
2372 * gdb.cp/ref-params.cc (main): Likewise.
2373 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2374 * gdb.cp/virtbase2.cc (main): Likewise.
2375 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2376 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2377 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2378 * gdb.mi/mi-console.c (main): Likewise.
2379 * gdb.mi/mi-read-memory.c (main): Likewise.
2380 * gdb.modula2/multidim.c (main): Likewise.
2381 * gdb.opt/inline-small-func.c (main): Likewise.
2382 * gdb.python/py-rbreak.c (main): Likewise.
2383 * gdb.stabs/exclfwd1.c (main): Likewise.
2384 * gdb.trace/qtro.c (main): Likewise.
2385
af26601c
PA
23862020-09-13 Pedro Alves <pedro@palves.net>
2387
2388 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2389 instead of getenv.
2390
2f4b83cd
PA
23912020-09-13 Pedro Alves <pedro@palves.net>
2392
2393 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2394 instead of spawning GDB with remote_spawn.
2395 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2396 gdb_spawn instead of spawning GDB with remote_spawn.
2397
c49da0e4
PA
23982020-09-13 Pedro Alves <pedro@palves.net>
2399
2400 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2401 file and add calls to first and second.
2402 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2403 add call to f.
2404
6791b117
PA
24052020-09-13 Pedro Alves <pedro@palves.net>
2406
2407 * gdb.mi/mi-break-qualified.cc: New file.
2408 * gdb.mi/mi-break-qualified.exp: New file.
2409 * lib/mi-support.exp (mi_create_breakpoint_multi)
2410 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2411 procedures.
2412 (mi_create_breakpoint_1): New, factored out from
2413 mi_create_breakpoint.
2414
3b8d4c5c
PA
24152020-09-13 Pedro Alves <pedro@palves.net>
2416
2417 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2418 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2419 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2420 (register_class): Delete.
2421 (main): Don't call register_class.
2422
d5f96005
PA
24232020-09-13 Pedro Alves <pedro@palves.net>
2424
2425 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2426 (do_tests): Remove "calling method for small class" test.
2427 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2428 (register_class): Delete.
2429 (main): Don't call register_class.
2430 * gdb.cp/call-method-register.exp: New file, based on bits removed
2431 from classes.exp.
2432 * gdb.cp/call-method-register.cc: New file, based on bits removed
2433 from classes.cc.
2434
77f2120b
PA
24352020-09-13 Pedro Alves <pedro@palves.net>
2436
2437 * gdb.base/msym-bp-2.c: New.
2438 * gdb.base/msym-bp-shl-lib.c: New file.
2439 * gdb.base/msym-bp-shl-main-2.c: New file.
2440 * gdb.base/msym-bp-shl-main.c: New file.
2441 * gdb.base/msym-bp-shl.exp: New file.
2442 * gdb.base/msym-bp.c: New file.
2443 * gdb.base/msym-bp.exp: New file.
2444
32aea73e
JB
24452020-09-13 Joel Brobecker <brobecker@adacore.com>
2446
2447 * gdb.base/default.exp: Change $_gdb_major to 11.
2448
2a67f09d
FW
24492020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2450 Felix Willgerodt <Felix.Willgerodt@intel.com>
2451
2452 * x86-avx512bf16.c: New file.
2453 * x86-avx512bf16.exp: Likewise.
2454 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2455
ad570dd7
TV
24562020-09-11 Tom de Vries <tdevries@suse.de>
2457
2458 PR exp/26602
2459 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2460
a56f7391
TBA
24612020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2462
2463 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2464
918619e5
AM
24652020-09-10 Alan Modra <amodra@gmail.com>
2466
2467 PR 26597
2468 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2469
cac1e71d
TV
24702020-09-08 Tom de Vries <tdevries@suse.de>
2471
2472 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2473 after gdb_starti_cmd.
2474
c5cd900e
AKS
24752020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2476
2477 * lib/fortran.exp (fortran_complex8): New proc.
2478 (fortran_complex16): New proc.
2479 * gdb.fortran/complex.exp: Use routines from fortran.exp
2480 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2481 * gdb.fortran/vla-ptr-info.exp: Likewise.
2482
8f5c6526
TV
24832020-09-03 Tom de Vries <tdevries@suse.de>
2484
2485 PR breakpoint/26546
2486 * gdb.base/label-without-address.exp: Runto main first.
2487
02c6f3f1
TT
24882020-09-02 Tom Tromey <tromey@adacore.com>
2489
2490 * gdb.ada/mi_var_access.exp: Test children of access variable.
2491 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2492 * gdb.ada/mi_var_array.exp: Update.
2493
efe24f05
KB
24942020-08-31 Kevin Buettner <kevinb@redhat.com>
2495
2496 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2497 on docker w/ AUFS storage driver.
2498
973695d6
KB
24992020-08-31 Kevin Buettner <kevinb@redhat.com>
2500
2501 * gdb.base/corefile2.exp (renamed binfile): New tests.
2502
f3bd50f1
SM
25032020-08-31 Simon Marchi <simon.marchi@efficios.com>
2504
2505 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2506
22b9b4b0
SL
25072020-08-31 Simon Marchi <simon.marchi@efficios.com>
2508
2509 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2510 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2511
8efaf6b3
SM
25122020-08-31 Simon Marchi <simon.marchi@efficios.com>
2513
2514 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2515 output, printing a "not saved" value from history and printing a
2516 convenience variable created from a "not saved" value.
2517
e840f2e3
TV
25182020-08-31 Tom de Vries <tdevries@suse.de>
2519
2520 * gdb.base/eh_return.exp: Use nopie.
2521
8f57f343
PA
25222020-08-28 Pedro Alves <pedro@palves.net>
2523
2524 * gdb.base/advance-until-multiple-locations.exp
2525 (advance_overload, until_overload): Adjust to match the
2526 frame/function header instead of the source line text.
2527
626d2320
TV
25282020-08-28 Tom de Vries <tdevries@suse.de>
2529
2530 * gdb.base/label-without-address.c: New test.
2531 * gdb.base/label-without-address.exp: New file.
2532
df631783
PA
25332020-08-27 Pedro Alves <pedro@palves.net>
2534
2535 PR gdb/26523
2536 PR gdb/26524
2537 * gdb.base/advance-until-multiple-locations.cc: New.
2538 * gdb.base/advance-until-multiple-locations.exp: New.
2539
48b076bb
SM
25402020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2541
2542 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2543
c2015ce4
AB
25442020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2545
2546 * gdb.arch/amd64-byte.exp: Make test names unique, use
2547 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2548 * gdb.arch/amd64-dword.exp: Likewise.
2549 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2550 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2551 unique.
2552 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2553 * gdb.arch/amd64-word.exp: Make test names unique, use
2554 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2555 * gdb.arch/i386-byte.exp: Make test names unique, use
2556 gdb_breakpoint.
2557 * gdb.arch/i386-word.exp: Likewise.
2558
995d3a19
SV
25592020-08-25 Shahab Vahedi <shahab@synopsys.com>
2560
2561 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2562
8cac2b31
SM
25632020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2564
2565 PR gdb/26532
2566 * gdb.threads/stepi-random-signal.exp: Update pattern.
2567
2bc19622
SM
25682020-08-25 Simon Marchi <simon.marchi@efficios.com>
2569
2570 PR gdb/26532
2571 * gdb.base/ui-redirect.exp: Update pattern.
2572
b04aa1fc
GB
25732020-08-25 Gary Benson <gbenson@redhat.com>
2574
2575 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2576 when compiling with clang.
8571e9c8 2577 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2578
9f68b453
GB
25792020-08-25 Gary Benson <gbenson@redhat.com>
2580
2581 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2582 Add additional_flags=-Wno-inaccessible-base when compiling
2583 with GCC >= 10.1 or clang. Add additional_flags=-w when
2584 compiling with GCC < 10.
2585
3945d2d7
GM
25862020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2587
2588 PR m2/26372
fc5d6901
SM
2589 * gdb.modula2/multidim.c: New file.
2590 * gdb.modula2/multidim.exp: New file.
3945d2d7 2591
60122dbe
SM
25922020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2593
2594 * lib/gdb.exp (runto): Always emit fail on internal error.
2595
1eb8556f
SM
25962020-08-24 Simon Marchi <simon.marchi@efficios.com>
2597
2598 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2599 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2600 Likewise.
2601 * gdb.threads/stepi-random-signal.exp: Likewise.
2602
33bf4c5c
TBA
26032020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2604
2605 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2606 * gdb.trace/strace.exp: Ditto.
2607
c2fd7fae
AKS
26082020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2609
2610 * gdb.fortran/vla-type.exp: Skip commands not required for
2611 the Flang compiled binaries after prologue fix.
2612
326afb72
TT
26132020-08-17 Tom de Vries <tdevries@suse.de>
2614 Tom Tromey <tromey@adacore.com>
2615
2616 PR rust/26197:
2617 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2618
3ae7ab99
TT
26192020-08-17 Tom Tromey <tromey@adacore.com>
2620
2621 * gdb.ada/mi_var_access.exp: New file.
2622 * gdb.ada/mi_var_access/mi_access.adb: New file.
2623 * gdb.ada/mi_var_access/pck.adb: New file.
2624 * gdb.ada/mi_var_access/pck.ads: New file.
2625
f569c1c5
TV
26262020-08-16 Tom de Vries <tdevries@suse.de>
2627
2628 PR gdb/25350
2629 * gdb.base/eh_return.c: New test.
2630 * gdb.base/eh_return.exp: New file.
2631
3d11c30a
TV
26322020-08-15 Tom de Vries <tdevries@suse.de>
2633
2634 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2635 (mixed_func_1d_): Use fortran_charlen_t in decl.
2636
547ce8f0
TV
26372020-08-15 Tom de Vries <tdevries@suse.de>
2638
2639 PR backtrace/26390
2640 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2641 Update expected pattern.
2642
a54a7f13
PA
26432020-08-13 Pedro Alves <pedro@palves.net>
2644
2645 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2646 * gdb.fortran/library-module.exp: Likewise.
2647 * gdb.fortran/logical.exp: Likewise.
2648 * gdb.fortran/module.exp: Likewise.
2649 * gdb.fortran/print_type.exp: Likewise.
2650 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2651 * gdb.fortran/vla-datatypes.exp: Likewise.
2652 * gdb.fortran/vla-history.exp: Likewise.
2653 * gdb.fortran/vla-ptr-info.exp: Likewise.
2654 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2655 * gdb.fortran/vla-ptype.exp: Likewise.
2656 * gdb.fortran/vla-sizeof.exp: Likewise.
2657 * gdb.fortran/vla-type.exp: Likewise.
2658 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2659 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2660 * gdb.fortran/vla-value-sub.exp: Likewise.
2661 * gdb.fortran/vla-value.exp: Likewise.
2662
7a82e903
PA
26632020-08-13 Pedro Alves <pedro@palves.net>
2664
2665 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2666 * gdb.ada/access_to_packed_array.exp: Likewise.
2667 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2668 * gdb.ada/addr_arith.exp: Likewise.
2669 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2670 * gdb.ada/arr_arr.exp: Likewise.
2671 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2672 * gdb.ada/array_bounds.exp: Likewise.
2673 * gdb.ada/array_of_variable_length.exp: Likewise.
2674 * gdb.ada/array_ptr_renaming.exp: Likewise.
2675 * gdb.ada/array_subscript_addr.exp: Likewise.
2676 * gdb.ada/arraydim.exp: Likewise.
2677 * gdb.ada/arrayparam.exp: Likewise.
2678 * gdb.ada/arrayptr.exp: Likewise.
2679 * gdb.ada/assign_1.exp: Likewise.
2680 * gdb.ada/assign_arr.exp: Likewise.
2681 * gdb.ada/atomic_enum.exp: Likewise.
2682 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2683 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2684 * gdb.ada/bias.exp: Likewise.
2685 * gdb.ada/boolean_expr.exp: Likewise.
2686 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2687 * gdb.ada/bp_enum_homonym.exp: Likewise.
2688 * gdb.ada/bp_inlined_func.exp: Likewise.
2689 * gdb.ada/bp_on_var.exp: Likewise.
2690 * gdb.ada/bp_range_type.exp: Likewise.
2691 * gdb.ada/bp_reset.exp: Likewise.
2692 * gdb.ada/call_pn.exp: Likewise.
2693 * gdb.ada/catch_assert_if.exp: Likewise.
2694 * gdb.ada/catch_ex.exp: Likewise.
2695 * gdb.ada/catch_ex_std.exp: Likewise.
2696 * gdb.ada/char_enum.exp: Likewise.
2697 * gdb.ada/char_param.exp: Likewise.
2698 * gdb.ada/complete.exp: Likewise.
2699 * gdb.ada/cond_lang.exp: Likewise.
2700 * gdb.ada/convvar_comp.exp: Likewise.
2701 * gdb.ada/dgopt.exp: Likewise.
2702 * gdb.ada/disc_arr_bound.exp: Likewise.
2703 * gdb.ada/display_nested.exp: Likewise.
2704 * gdb.ada/dot_all.exp: Likewise.
2705 * gdb.ada/dyn_loc.exp: Likewise.
2706 * gdb.ada/dyn_stride.exp: Likewise.
2707 * gdb.ada/excep_handle.exp: Likewise.
2708 * gdb.ada/expr_delims.exp: Likewise.
2709 * gdb.ada/expr_with_funcall.exp: Likewise.
2710 * gdb.ada/exprs.exp: Likewise.
2711 * gdb.ada/fin_fun_out.exp: Likewise.
2712 * gdb.ada/fixed_cmp.exp: Likewise.
2713 * gdb.ada/formatted_ref.exp: Likewise.
2714 * gdb.ada/frame_arg_lang.exp: Likewise.
2715 * gdb.ada/frame_args.exp: Likewise.
2716 * gdb.ada/fullname_bp.exp: Likewise.
2717 * gdb.ada/fun_addr.exp: Likewise.
2718 * gdb.ada/fun_in_declare.exp: Likewise.
2719 * gdb.ada/fun_overload_menu.exp: Likewise.
2720 * gdb.ada/fun_renaming.exp: Likewise.
2721 * gdb.ada/funcall_char.exp: Likewise.
2722 * gdb.ada/funcall_param.exp: Likewise.
2723 * gdb.ada/funcall_ptr.exp: Likewise.
2724 * gdb.ada/funcall_ref.exp: Likewise.
2725 * gdb.ada/homonym.exp: Likewise.
2726 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2727 * gdb.ada/info_auto_lang.exp: Likewise.
2728 * gdb.ada/info_exc.exp: Likewise.
2729 * gdb.ada/info_types.exp: Likewise.
2730 * gdb.ada/int_deref.exp: Likewise.
2731 * gdb.ada/interface.exp: Likewise.
2732 * gdb.ada/iwide.exp: Likewise.
2733 * gdb.ada/lang_switch.exp: Likewise.
2734 * gdb.ada/length_cond.exp: Likewise.
2735 * gdb.ada/maint_with_ada.exp: Likewise.
2736 * gdb.ada/mi_catch_assert.exp: Likewise.
2737 * gdb.ada/mi_catch_ex.exp: Likewise.
2738 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2739 * gdb.ada/mi_dyn_arr.exp: Likewise.
2740 * gdb.ada/mi_ex_cond.exp: Likewise.
2741 * gdb.ada/mi_exc_info.exp: Likewise.
2742 * gdb.ada/mi_interface.exp: Likewise.
2743 * gdb.ada/mi_prot.exp: Likewise.
2744 * gdb.ada/mi_ref_changeable.exp: Likewise.
2745 * gdb.ada/mi_string_access.exp: Likewise.
2746 * gdb.ada/mi_task_arg.exp: Likewise.
2747 * gdb.ada/mi_task_info.exp: Likewise.
2748 * gdb.ada/mi_var_array.exp: Likewise.
2749 * gdb.ada/mi_var_union.exp: Likewise.
2750 * gdb.ada/mi_variant.exp: Likewise.
2751 * gdb.ada/minsyms.exp: Likewise.
2752 * gdb.ada/mod_from_name.exp: Likewise.
2753 * gdb.ada/nested.exp: Likewise.
2754 * gdb.ada/null_array.exp: Likewise.
2755 * gdb.ada/optim_drec.exp: Likewise.
2756 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2757 * gdb.ada/packed_array_assign.exp: Likewise.
2758 * gdb.ada/packed_tagged.exp: Likewise.
2759 * gdb.ada/pp-rec-component.exp: Likewise.
2760 * gdb.ada/print_chars.exp: Likewise.
2761 * gdb.ada/print_pc.exp: Likewise.
2762 * gdb.ada/ptr_typedef.exp: Likewise.
2763 * gdb.ada/ptype_arith_binop.exp: Likewise.
2764 * gdb.ada/ptype_array.exp: Likewise.
2765 * gdb.ada/ptype_field.exp: Likewise.
2766 * gdb.ada/ptype_tagged_param.exp: Likewise.
2767 * gdb.ada/ptype_union.exp: Likewise.
2768 * gdb.ada/py_range.exp: Likewise.
2769 * gdb.ada/py_taft.exp: Likewise.
2770 * gdb.ada/rdv_wait.exp: Likewise.
2771 * gdb.ada/rec_comp.exp: Likewise.
2772 * gdb.ada/rec_return.exp: Likewise.
2773 * gdb.ada/ref_param.exp: Likewise.
2774 * gdb.ada/ref_tick_size.exp: Likewise.
2775 * gdb.ada/rename_subscript_param.exp: Likewise.
2776 * gdb.ada/repeat_dyn.exp: Likewise.
2777 * gdb.ada/same_component_name.exp: Likewise.
2778 * gdb.ada/same_enum.exp: Likewise.
2779 * gdb.ada/scalar_storage.exp: Likewise.
2780 * gdb.ada/set_wstr.exp: Likewise.
2781 * gdb.ada/small_reg_param.exp: Likewise.
2782 * gdb.ada/str_binop_equal.exp: Likewise.
2783 * gdb.ada/str_ref_cmp.exp: Likewise.
2784 * gdb.ada/str_uninit.exp: Likewise.
2785 * gdb.ada/sub_variant.exp: Likewise.
2786 * gdb.ada/sym_print_name.exp: Likewise.
2787 * gdb.ada/taft_type.exp: Likewise.
2788 * gdb.ada/tagged.exp: Likewise.
2789 * gdb.ada/tagged_access.exp: Likewise.
2790 * gdb.ada/task_bp.exp: Likewise.
2791 * gdb.ada/task_switch_in_core.exp: Likewise.
2792 * gdb.ada/tasks.exp: Likewise.
2793 * gdb.ada/tick_last_segv.exp: Likewise.
2794 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2795 * gdb.ada/type_coercion.exp: Likewise.
2796 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2797 * gdb.ada/unchecked_union.exp: Likewise.
2798 * gdb.ada/uninitialized_vars.exp: Likewise.
2799 * gdb.ada/var_arr_attrs.exp: Likewise.
2800 * gdb.ada/var_arr_typedef.exp: Likewise.
2801 * gdb.ada/var_rec_arr.exp: Likewise.
2802 * gdb.ada/variant-record.exp: Likewise.
2803 * gdb.ada/variant.exp: Likewise.
2804 * gdb.ada/variant_record_packed_array.exp: Likewise.
2805 * gdb.ada/varsize_limit.exp: Likewise.
2806 * gdb.ada/whatis_array_val.exp: Likewise.
2807 * gdb.ada/widewide.exp: Likewise.
2808 * gdb.ada/win_fu_syms.exp: Likewise.
2809
28102020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2811
2812 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2813
10c381b5
AB
28142020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2815
2816 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2817 unset the array variable.
2818
8f34b746
TV
28192020-08-03 Tom de Vries <tdevries@suse.de>
2820
2821 PR symtab/26333
2822 * lib/dwarf.exp (DW_LNE_user): New proc.
2823 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2824 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2825
0245e136
KB
28262020-07-31 Kevin Buettner <kevinb@redhat.com>
2827
2828 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2829 to 'uintptr_t'
2830 (inttypes.h): Include.
2831
9ef1ec5d
KB
28322020-07-31 Kevin Buettner <kevinb@redhat.com>
2833
2834 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2835 (C5_24k): Delete.
2836 (C5_8k, C5_64k, C5_256k): New macros.
2837 (buf_ro): Allocate 256 KiB of initialized data.
2838
4c55e970
TBA
28392020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2840
2841 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2842 that attempt to overwrite an existing condition with a condition
2843 that fails parsing and also with a condition that parses fine
2844 but contains junk at the end.
2845
1e620590
TBA
28462020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2847
2848 * gdb.base/condbreak-bad.c: New test.
2849 * gdb.base/condbreak-bad.exp: New file.
2850
e12dcc50
TV
28512020-07-30 Tom de Vries <tdevries@suse.de>
2852
2853 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2854 out of ...
2855 (GDBInfoModuleSymbols::check_entry): ... here.
2856 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2857 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2858 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2859
6cc64caa
TV
28602020-07-30 Tom de Vries <tdevries@suse.de>
2861
2862 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2863 "__class_some_module_Number_t" optional.
2864
90fd07fc
TV
28652020-07-29 Tom de Vries <tdevries@suse.de>
2866
2867 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2868 multiple locations.
2869
f5c79e97
TV
28702020-07-29 Tom de Vries <tdevries@suse.de>
2871
2872 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2873 rather than function name.
2874
f75a0693
AB
28752020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2876
2877 PR symtab/26270:
2878 * gdb.cp/disasm-func-name.cc: New file.
2879 * gdb.cp/disasm-func-name.exp: New file.
2880
4888741a
TT
28812020-07-28 Tom Tromey <tromey@adacore.com>
2882
2883 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2884 'varval' location.
2885
43d5901d
AB
28862020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2887
2888 * gdb.python/py-unwind.py: Update to make use of a register
2889 descriptor.
2890
14fa8fb3
AB
28912020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2892
2893 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2894
e79eb02f
AB
28952020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2896
2897 PR fortran/23051
2898 PR fortran/26139
2899 * gdb.fortran/class-allocatable-array.exp: New file.
2900 * gdb.fortran/class-allocatable-array.f90: New file.
2901 * gdb.fortran/pointer-to-pointer.exp: New file.
2902 * gdb.fortran/pointer-to-pointer.f90: New file.
2903
876518dd
TV
29042020-07-25 Tom de Vries <tdevries@suse.de>
2905
2906 PR symtab/26243
2907 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2908 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2909
6dcfb80a
TV
29102020-07-24 Tom de Vries <tdevries@suse.de>
2911
2912 PR testsuite/26293
2913 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2914
e7bc9db8
PA
29152020-07-23 Pedro Alves <pedro@palves.net>
2916
2917 * gdb.server/server-kill.exp (prepare): New, factored out from the
2918 top level.
2919 (kill_server): New.
2920 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2921 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2922
78344df7
AB
29232020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2924
2925 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2926
25dfed24
SL
29272020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2928
2929 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2930 Initialize to empty string at top level.
2931 (gdb_wrapper_init): Revert check for file existence on build.
2932 Build the wrapper in its default place, not a build-specific
2933 location. When host == build, make the pathname absolute.
2934 (gdb_compile): Delete leftover declaration of
2935 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2936 string instead of uninitialized.
2937
7da515fd
KB
29382020-07-22 Kevin Buettner <kevinb@redhat.com>
2939
2940 * gdb.base/corefile2.exp: New file.
2941 * gdb.base/coremaker2.exp: New file.
2942
9c5ec5c2
KB
29432020-07-22 Kevin Buettner <kevinb@redhat.com>
2944
2945 * gdb.base/coredump-filter.exp: Add second
2946 non-Private-Shared-Anon-File test.
2947 (test_disasm): Rename binfile for test which is expected
2948 to fail.
2949
f9e233c9
KB
29502020-07-22 Kevin Buettner <kevinb@redhat.com>
2951
2952 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2953 data in core file".
2954 * gdb.base/coremaker.c (buf2ro): New global.
2955 (mmapdata): Add a read-only mmap mapping.
2956
94c265d7
KB
29572020-07-22 Kevin Buettner <kevinb@redhat.com>
2958
2959 PR corefiles/25631
2960 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2961 New test.
2962 * gdb.base/coremaker.c (buf3): New global.
2963 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2964 flags.
2965
29662020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2967
2968 * gdb.base/coremaker.c (filler_ro): New global constant.
2969
32fa152e
TT
29702020-07-22 Tom Tromey <tromey@adacore.com>
2971
2972 * gdb.ada/mi_prot.exp: New file.
2973 * gdb.ada/mi_prot/pkg.adb: New file.
2974 * gdb.ada/mi_prot/pkg.ads: New file.
2975 * gdb.ada/mi_prot/prot.adb: New file.
2976
c8474dc3
TBA
29772020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2978
2979 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2980 loads two JITers.
2981
baf8791e
AB
29822020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2983
2984 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2985
f7306dac
AB
29862020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2987
2988 * gdb.python/py-arch-reg-names.exp: Additional tests.
2989
6d3d6e4b
TV
29902020-07-21 Tom de Vries <tdevries@suse.de>
2991
2992 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2993 breakpoint locations".
2994 * gdb.reverse/solib-reverse.exp: Same.
2995
803d0592
TV
29962020-07-21 Tom de Vries <tdevries@suse.de>
2997
2998 * gdb.reverse/step-reverse.c (callee): Merge statements.
2999
e9bdc510
TV
30002020-07-21 Tom de Vries <tdevries@suse.de>
3001
3002 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3003 line numbers for some variables.
3004
f0f9e75a
TV
30052020-07-21 Tom de Vries <tdevries@suse.de>
3006
3007 * gdb.opt/inline-locals.c (init_array): New func.
3008 (func1): Use init_array.
3009 * gdb.opt/inline-locals.exp: Update pattern.
3010
bd460ecb
TV
30112020-07-21 Tom de Vries <tdevries@suse.de>
3012
3013 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3014 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3015
ae5369e7
LC
30162020-07-20 Ludovic Courtès <ludo@gnu.org>
3017
3018 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3019 * gdb.guile/types-module.exp: Remove "ERROR:" from
3020 regexps since Guile 3.0 no longer prints that.
3021
68cf161c
LC
30222020-07-20 Ludovic Courtès <ludo@gnu.org>
3023
3024 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3025 error regexp to match on Guile 2.2.
3026
c14b4913
GB
30272020-07-20 Gary Benson <gbenson@redhat.com>
3028
3029 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3030 with clang.
3031
b243ba58
TV
30322020-07-20 Tom de Vries <tdevries@suse.de>
3033
3034 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3035 (omp_set_lock_in_order): New function.
3036 (single_scope, multi_scope, nested_func, nested_parallel): Use
3037 omp_set_lock_in_order and omp_unset_lock.
3038 (main): Init and destroy lock and lock2.
3039
c06ad8b5
TV
30402020-07-20 Tom de Vries <tdevries@suse.de>
3041
3042 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3043
6e22f117
TV
30442020-07-20 Tom de Vries <tdevries@suse.de>
3045
3046 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3047
33176ea7
TV
30482020-07-17 Tom de Vries <tdevries@suse.de>
3049
3050 * gdb.base/valgrind-infcall-2.c: New test.
3051 * gdb.base/valgrind-infcall-2.exp: New file.
3052 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3053
90c3ec2d
TV
30542020-07-17 Tom de Vries <tdevries@suse.de>
3055
3056 * gdb.dlang/circular.c (found): Use found_label as label name.
3057 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3058 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3059 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3060 * gdb.dwarf2/ada-linkage-name.exp: Same.
3061 * gdb.dwarf2/arr-subrange.exp: Same.
3062 * gdb.dwarf2/atomic-type.exp: Same.
3063 * gdb.dwarf2/comp-unit-lang.exp: Same.
3064 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3065 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3066 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3067 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3068 * gdb.dwarf2/implptr-64bit.exp: Same.
3069 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3070 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3071 * gdb.dwarf2/imported-unit.exp: Same.
3072 * gdb.dwarf2/main-subprogram.exp: Same.
3073 * gdb.dwarf2/missing-type-name.exp: Same.
3074 * gdb.dwarf2/nonvar-access.exp: Same.
3075 * gdb.dwarf2/struct-with-sig.exp: Same.
3076 * gdb.dwarf2/typedef-void-finish.exp: Same.
3077 * gdb.dwarf2/void-type.exp: Same.
3078
10da644d
TV
30792020-07-17 Tom de Vries <tdevries@suse.de>
3080
3081 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3082 src parameter.
3083 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3084 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3085 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3086 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3087 * gdb.dwarf2/dwz.exp: Same.
3088 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3089 * gdb.dwarf2/implref-array.exp: Same.
3090 * gdb.dwarf2/implref-const.exp: Same.
3091 * gdb.dwarf2/implref-global.exp: Same.
3092 * gdb.dwarf2/implref-struct.exp: Same.
3093 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3094 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3095 * gdb.dwarf2/var-access.exp: Same.
3096 * gdb.dwarf2/varval.exp: Same.
3097 * gdb.trace/entry-values.exp: Same.
3098
315e6afc
TV
30992020-07-17 Tom de Vries <tdevries@suse.de>
3100
3101 * lib/dwarf.exp (Dwarf::extern): Remove.
3102 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3103 * gdb.dlang/circular.exp: Same.
3104 * gdb.dwarf2/comp-unit-lang.exp: Same.
3105 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3106 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3107 * gdb.dwarf2/dwz.exp: Same.
3108 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3109 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3110 * gdb.dwarf2/imported-unit.exp: Same.
3111 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3112
5597c940
SL
31132020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3114
3115 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3116 Use double quotes instead of single quotes.
3117
d0ce17d8
CT
31182020-07-16 Caroline Tice <cmtice@google.com>
3119
3120 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3121 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3122
853772cc
TV
31232020-07-16 Tom de Vries <tdevries@suse.de>
3124
3125 * lib/dwarf.exp (program): Initialize _line.
3126 (DW_LNE_end_sequence): Reinitialize _line.
3127 (DW_LNS_advance_line): Update _line.
3128 (line): New proc.
3129 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3130 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3131 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3132 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3133 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3134 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3135
fe07b572
AB
31362020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3137
3138 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3139 generic.
3140
52781cce
TV
31412020-07-15 Tom de Vries <tdevries@suse.de>
3142
3143 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3144 is_amd64_regs_target.
3145
3dcc261c
AB
31462020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3147
3148 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3149 * gdb.fortran/ptype-on-functions.f90: Likewise.
3150
054a0959
SM
31512020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3152
3153 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3154 values in documentation for addr_size to 4 and 8.
3155
ccb9eba6
AB
31562020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3157
3158 * gdb.arch/amd64-osabi.exp: Update.
3159 * gdb.arch/arm-disassembler-options.exp: Update.
3160 * gdb.arch/powerpc-disassembler-options.exp: Update.
3161 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3162 * gdb.arch/s390-disassembler-options.exp: Update.
3163 * gdb.base/all-architectures.exp.tcl: Update.
3164 * gdb.base/attach-pie-noexec.exp: Update.
3165 * gdb.base/catch-syscall.exp: Update.
3166 * gdb.xml/tdesc-arch.exp: Update.
3167
025a39a7
TV
31682020-07-14 Tom de Vries <tdevries@suse.de>
3169
3170 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3171 (local_gettid): ... this.
3172 (fn): Update.
3173
74e4b667
SL
31742020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3175
3176 * gdb.base/info_sources.exp: Skip directory match tests on
3177 remote hosts.
3178
f413dd74
GB
31792020-07-13 Gary Benson <gbenson@redhat.com>
3180
3181 * gdb.base/savedregs.exp (caller): Use parentheses to
3182 make expected expression evaluation ordering explicit.
3183
915771bb
GB
31842020-07-13 Gary Benson <gbenson@redhat.com>
3185
3186 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3187
2a122642
GB
31882020-07-13 Gary Benson <gbenson@redhat.com>
3189
3190 * gdb.base/bigcore.c (main): Use a volatile pointer when
3191 attempting to trigger a SIGSEGV.
3192 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3193 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3194 * gdb.base/savedregs.c (thrower): Likewise.
3195 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3196
3f00c730
GB
31972020-07-13 Gary Benson <gbenson@redhat.com>
3198
3199 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3200 defining and using VLA structure fields into...
3201 * gdb.base/vla-struct-fields.c: New file.
3202 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3203 tests into...
3204 * gdb.base/vla-struct-fields.exp: New file.
3205
963eeee4
TV
32062020-07-13 Tom de Vries <tdevries@suse.de>
3207
3208 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3209 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3210 * gdb.base/gold-gdb-index.exp: Same.
3211 * gdb.base/morestack.exp: Same.
3212
0ed35c9a
DX
32132020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3214
3215 PR rust/26121
3216 * gdb.rust/modules.rs: Prevent linker from discarding test
3217 symbol.
3218
4fdba23d
PA
32192020-07-10 Pedro Alves <pedro@palves.net>
3220
3221 PR gdb/26199
3222 * gdb.multi/multi-target.c (exit_thread): New.
3223 (thread_start): Break loop if EXIT_THREAD.
3224 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3225 (top level) Call test_no_resumed.
3226
15f3b077
TT
32272020-07-08 Tom Tromey <tromey@adacore.com>
3228
3229 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3230 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3231
9fc501fd
AB
32322020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3233
3234 PR python/22748
3235 * gdb.opt/inline-frame-tailcall.c: New file.
3236 * gdb.opt/inline-frame-tailcall.exp: New file.
3237 * gdb.python/py-unwind-inline.c: New file.
3238 * gdb.python/py-unwind-inline.exp: New file.
3239 * gdb.python/py-unwind-inline.py: New file.
3240
64cb3757
AB
32412020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3242
3243 * gdb.python/py-arch-reg-groups.exp: New file.
3244
0f767f94
AB
32452020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3246
3247 * gdb.python/py-arch-reg-names.exp: New file.
3248
87dbc774
AB
32492020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3250
3251 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3252 gdb.PendingFrame.architecture method.
3253
d8cc8af6
TV
32542020-07-06 Tom de Vries <tdevries@suse.de>
3255
3256 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3257
3c8ea5be
PA
32582020-07-03 Pedro Alves <palves@redhat.com>
3259
3260 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3261 explicitly write negative numbers.
3262 * gdb.base/structs2.exp: Adjust expected output.
3263
bf90c83a
PA
32642020-07-03 Pedro Alves <palves@redhat.com>
3265
3266 * gdb.base/charset.c (init_string): Change all char parameters to
3267 unsigned char parameters.
3268
2eb82157
PA
32692020-07-03 Pedro Alves <palves@redhat.com>
3270
3271 * gdb.base/call-sc.exp (start_scalars_test): Use
3272 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3273 * gdb.base/overlays.c: Remove references to PARAMS.
3274 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3275 * gdb.base/reread.exp: Don't set 'prototypes' global.
3276 * gdb.base/structs.exp (start_structs_test): Use
3277 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3278 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3279 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3280 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3281 call.
3282 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3283
9adda7af
PA
32842020-07-03 Pedro Alves <palves@redhat.com>
3285
3286 * gdb.base/m32rovly.c: Delete.
3287 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3288
2a17c803
PW
32892020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3290
3291 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3292 of gdb_py_test_multiple.
3293 * gdb.python/py-cmd.exp: Likewise.
3294 * gdb.python/py-events.exp: Likewise.
3295 * gdb.python/py-function.exp: Likewise.
3296 * gdb.python/py-inferior.exp: Likewise.
3297 * gdb.python/py-infthread.exp: Likewise.
3298 * gdb.python/py-linetable.exp: Likewise.
3299 * gdb.python/py-parameter.exp: Likewise.
3300 * gdb.python/py-value.exp: Likewise.
3301
b011fe1a
TV
33022020-06-30 Tom de Vries <tdevries@suse.de>
3303
3304 PR testsuite/26175
3305 * lib/future.exp (gdb_default_target_compile): Detect and handle
3306 early_flags.
3307
df5b8876
SM
33082020-06-29 Simon Marchi <simon.marchi@efficios.com>
3309
3310 * boards/simavr.exp (gdb_load): Catch errors when closing
3311 previous connection. Close connection, wait for process and
3312 unset simavr_spawn_id on failure.
3313
a3ca48cd
TV
33142020-06-29 Tom de Vries <tdevries@suse.de>
3315
3316 * lib/gdb.exp (unknown): Make test-case unresolved.
3317
b0237c0e
TV
33182020-06-29 Tom de Vries <tdevries@suse.de>
3319
3320 PR gdb/25475
3321 * gdb.server/solib-list.exp: Verify that the symbol reload
3322 confirmation question is asked.
3323
c0b3b3bd
PW
33242020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3325
3326 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3327 have a input seq nr in each pass message.
fe4c3d43 3328 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3329 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3330 * gdb.python/python.exp: Make test names unique,
3331 use gdb_test_multiline instead of gdb_py_test_multiple,
3332 use $gdb_test_name.
3333 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3334
1776e3e5
NA
33352020-06-26 Nick Alcock <nick.alcock@oracle.com>
3336
3337 * configure.ac: Add --enable-libctf.
3338 * aclocal.m4: sinclude ../config/enable.m4.
3339 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3340 * lib/gdb.exp (skip_ctf_tests): Use it.
3341 * gdb.base/ctf-constvars.exp: Error message tweak.
3342 * gdb.base/ctf-ptype.exp: Likewise.
3343 * configure: Regenerate.
3344
f53b3eeb
GB
33452020-06-26 Gary Benson <gbenson@redhat.com>
3346
3347 * gdb.cp/try_catch.cc: Include string.h.
3348 (main): Replace comparison against string literal with
3349 strcmp, avoiding build failure with -Wstring-compare.
3350 Add "marker test-complete".
3351 * gdb.cp/try_catch.exp: Run the test to the above marker,
3352 then verify that the value of "test" is still true.
3353
6d74da72
AB
33542020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3355
3356 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3357
2e52d038
AB
33582020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3359
3360 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3361
3b9fce96
AB
33622020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3363
3364 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3365 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3366 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3367 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3368 * gdb.arch/riscv-tdesc-loading.exp: New file.
3369
ed69cbc8
AB
33702020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3371
3372 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3373
767a879e
AB
33742020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3375
3376 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3377 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3378 * gdb.arch/riscv-tdesc-regs.c: New file.
3379 * gdb.arch/riscv-tdesc-regs.exp: New file.
3380
221db974
PA
33812020-06-24 Pedro Alves <palves@redhat.com>
3382
3383 * gdb.arch/amd64-entry-value-paramref.exp: Use
3384 prepare_for_testing_full and don't pass "c++" for the .S file
3385 build spec.
3386 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3387 $options, since it's an assembly file. Remove -Wno-deprecated.
3388 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3389 compiling C++ programs.
3390
331733cd
PA
33912020-06-24 Pedro Alves <palves@redhat.com>
3392
3393 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3394 Clang, add "-Wno-unknown-warning-option" to the options.
3395
caa7fd04
AB
33962020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3397
3398 * gdb.xml/tdesc-reload.c: New file.
3399 * gdb.xml/tdesc-reload.exp: New file.
3400 * gdb.xml/maint-xml-dump-01.xml: New file.
3401 * gdb.xml/maint-xml-dump-02.xml: New file.
3402 * gdb.xml/maint-xml-dump.exp: New file.
3403
bb8d1260
SL
34042020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3405
3406 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3407 Adjust for omitted commands when TUI is disabled.
3408
7e4b9c4c
GB
34092020-06-23 Gary Benson <gbenson@redhat.com>
3410 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3413 * gdb.cp/nsimport.cc: Likewise.
3414 * gdb.cp/nsnested.cc: Likewise.
3415 * gdb.cp/nsnoimports.cc: Likewise.
3416 * gdb.cp/nsusing.cc: Likewise.
3417 * gdb.cp/smartp.cc: Likewise.
3418 * gdb.python/py-pp-integral.c: Likewise.
3419 * gdb.python/py-pp-re-notag.c: Likewise.
3420
2e573c0a
GB
34212020-06-23 Gary Benson <gbenson@redhat.com>
3422
3423 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3424 * gdb.cp/nsimport.cc: Likewise.
3425 * gdb.cp/nsnested.cc: Likewise.
3426 * gdb.cp/nsnoimports.cc: Likewise.
3427 * gdb.cp/nsusing.cc: Likewise.
3428 * gdb.cp/smartp.cc: Likewise.
3429 * gdb.python/py-pp-integral.c: Likewise.
3430 * gdb.python/py-pp-re-notag.c: Likewise.
3431
746ebfe8
PW
34322020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3433
3434 * gdb.base/default-args.exp: New test.
3435 * gdb.base/default-args.c: New file.
3436 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3437 * gdb.base/default.exp: Update to new help text.
3438 * gdb.base/help.exp: Likewise.
3439 * gdb.base/page.exp: Likewise.
3440 * gdb.base/style.exp: Likewise.
3441 * gdb.guile/guile.exp: Likewise.
3442 * gdb.python/python.exp: Likewise.
3443
e822f2cd
SL
34442020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3445
3446 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3447 remote host. Fix search path syntax on Windows host.
3448
48e9cc84
PW
34492020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3450
3451 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3452 over 'exec-file-mismatch'.
3453 * gdb.base/attach.c: Mark should_exit volatile.
3454 * gdb.base/attach2.c: Likewise. Add a comment explaining
3455 why the sleep cannot be big.
3456 * gdb.base/attach3.c: New file.
3457
160f8a8f
SL
34582020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3459
3460 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3461 prefix optional.
3462
4d91c2a4
SL
34632020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3464
3465 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3466 for remote host.
3467
87f83f20
SL
34682020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3469 Hafiz Abid Qadeer <abidh@codesourcery.com>
3470
3471 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3472 file sent to remote host.
3473 (top level): Allow int32_t as type of 32-bit register.
3474
37ab8655
TV
34752020-06-19 Tom de Vries <tdevries@suse.de>
3476
3477 * lib/gdb.exp (gdb_note): New proc.
3478 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3479 (gdb_default_target_compile): ... here. Only call
3480 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3481 (use_gdb_compile): Change to array.
3482 (toplevel): Update sets of use_gdb_compile to specify language.
3483 Warn about default_target_compile override. Store dejagnu's version
3484 of default_target_compile in dejagnu_default_target_compile.
3485
a8a56685
TV
34862020-06-18 Tom de Vries <tdevries@suse.de>
3487
3488 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3489 (default_gdb_init): ... here.
3490
581bea2c
SL
34912020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3492
3493 Fix TUI support checks in gdb.tui tests.
3494
3495 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3496 just say UNSUPPORTED.
3497 * gdb.tui/corefile-run.exp: Likewise.
3498 * gdb.tui/empty.exp: Likewise.
3499 * gdb.tui/list-before.exp: Likewise.
3500 * gdb.tui/list.exp: Likewise.
3501 * gdb.tui/main.exp: Likewise.
3502 * gdb.tui/regs.exp: Likewise.
3503 * gdb.tui/resize.exp: Likewise.
3504 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3505 * gdb.tui/tui-layout-asm.exp: Likewise.
3506 * gdb.tui/tui-missing-src.exp: Likewise.
3507 * gdb.tui/winheight.exp: Likewise.
3508 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3509
05e682e3
SL
35102020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3511
3512 Fix TCL error in gdb.python/py-format-string.exp.
3513
3514 * gdb.python/py-format-string.exp: Move test for python support
3515 earlier, out of function body.
3516
efb763a5
SM
35172020-06-15 Simon Marchi <simon.marchi@efficios.com>
3518
3519 * gdb.base/index-cache-load-twice.c: New.
3520 * gdb.base/index-cache-load-twice.exp: New.
3521
43327b20
KS
35222020-06-17 Keith Seitz <keiths@redhat.com>
3523
99cf27cf 3524 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3525 when executing "gdb --configuration".
3526
081e778c
TV
35272020-06-17 Tom de Vries <tdevries@suse.de>
3528
3529 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3530 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3531 conditional on presence of gdb_tcl_unknown.
3532 (gdb_finish): Make override undo conditional on presence of
3533 gdb_tcl_unknown.
3534
d2d1ea20
TT
35352020-06-16 Tom Tromey <tom@tromey.com>
3536
3537 * gdb.python/tui-window.py (failwin): New function. Register it
3538 as a TUI window type.
3539 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3540
c802e8a7
GB
35412020-06-16 Gary Benson <gbenson@redhat.com>
3542
3543 * gdb.python/py-nested-maps.c (create_map): Add missing return
3544 value.
3545 (create_map_map): Likewise.
3546
ff08abb8
TBA
35472020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3548
3549 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3550 variable.
3551 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3552 and use the already-defined 'options' variable.
3553
a29d5112
AB
35542020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3555 Tom de Vries <tdevries@suse.de>
3556
3557 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3558 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3559 (gdb_setup_known_globals): New proc.
3560 (gdb_cleanup_globals): New proc.
3561 * lib/gdb.exp (load_lib): New override proc.
3562 (gdb_stdin_log_init): Set var in_file as persistent global.
3563 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3564 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3565 fpc_compiler as persistent global.
3566
8c74a764
TV
35672020-06-12 Tom de Vries <tdevries@suse.de>
3568
3569 * lib/tuiterm.exp (spawn): Rename to ...
3570 (tui_spawn): ... this.
3571 (toplevel): Move rename of spawn ...
3572 (gdb_init_tuiterm): ... here. New proc.
3573 (gdb_finish_tuiterm): New proc.
3574 * lib/gdb.exp (gdb_finish_hooks): New global var.
3575 (gdb_finish): Handle gdb_finish_hooks.
3576 (tuiterm_env): New proc.
3577 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3578 tuiterm_env.
3579 * gdb.tui/basic.exp: Same.
3580 * gdb.tui/corefile-run.exp: Same.
3581 * gdb.tui/empty.exp: Same.
3582 * gdb.tui/list-before.exp: Same.
3583 * gdb.tui/list.exp: Same.
3584 * gdb.tui/main.exp: Same.
3585 * gdb.tui/new-layout.exp: Same.
3586 * gdb.tui/regs.exp: Same.
3587 * gdb.tui/resize.exp: Same.
3588 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3589 * gdb.tui/tui-layout-asm.exp: Same.
3590 * gdb.tui/tui-missing-src.exp: Same.
3591 * gdb.tui/winheight.exp: Same.
3592
26783bce
TV
35932020-06-12 Tom de Vries <tdevries@suse.de>
3594
3595 PR testsuite/26110
3596 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3597 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3598
2b4e6a3f
TT
35992020-06-11 Tom Tromey <tom@tromey.com>
3600
3601 PR gdb/18318:
3602 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3603 floating point tests.
3604
2f33032a
KS
36052020-06-11 Keith Seitz <keiths@redhat.com>
3606
3607 PR gdb/21356
3608 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3609 vla_struct.
3610 Add new struct vla_typedef and union vla_typedef_union and
3611 corresponding instantiation objects.
3612 Initialize new objects.
3613 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3614 and vla_typedef_union_object.
3615 Fixup type for vla_struct_object.
3616
a8baf0a3
TV
36172020-06-11 Tom de Vries <tdevries@suse.de>
3618
3619 * lib/gdb.exp (with_override): New proc, factored out of ...
3620 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3621
7ab96794
TV
36222020-06-10 Tom de Vries <tdevries@suse.de>
3623
3624 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3625
cab5c3b7
SM
36262020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3627
3628 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3629 parameter, update callers.
3630
f8c41851
SM
36312020-06-04 Simon Marchi <simon.marchi@efficios.com>
3632
3633 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3634 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3635 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3636
1c07a73f
TV
36372020-06-04 Tom de Vries <tdevries@suse.de>
3638
3639 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3640
95146b5d
TV
36412020-06-04 Tom de Vries <tdevries@suse.de>
3642
3643 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3644 exp_continue.
3645
0cfcd4f0
TV
36462020-06-04 Tom de Vries <tdevries@suse.de>
3647
3648 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3649
f9b5d5ea
TV
36502020-06-03 Tom de Vries <tdevries@suse.de>
3651
3652 PR symtab/26046
3653 * gdb.cp/breakpoint-locs-2.cc: New test.
3654 * gdb.cp/breakpoint-locs.cc: New test.
3655 * gdb.cp/breakpoint-locs.exp: New file.
3656 * gdb.cp/breakpoint-locs.h: New test.
3657
5144dfba
TV
36582020-06-03 Tom de Vries <tdevries@suse.de>
3659
3660 PR testsuite/25609
3661 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3662 value of global verbose.
3663 * gdb.base/jit-elf.exp: Same.
3664 * gdb.base/jit-reader.exp: Same.
3665
621eacdf
TV
36662020-06-02 Tom de Vries <tdevries@suse.de>
3667
3668 * gdb.dwarf2/multidictionary.exp: Don't use
3669 gdb_spawn_with_cmdline_opts.
3670
1313c56e
AB
36712020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3672
3673 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3674 use_header case.
3675 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3676 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3677 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3678 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3679 * gdb.dwarf2/dw2-inline-header.c: New file.
3680 * gdb.dwarf2/dw2-inline-header.h: New file.
3681
f68f85b5
PA
36822020-05-30 Pedro Alves <palves@redhat.com>
3683
3684 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3685 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3686
678048e8
GB
36872020-05-29 Gary Benson <gbenson@redhat.com>
3688
3689 * gdb.compile/compile-cplus.exp (additional_flags): Also
3690 set when building with clang.
3691 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3692 when building with clang.
3693
9fcafd23
GB
36942020-05-29 Gary Benson <gbenson@redhat.com>
3695
3696 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3697 building with clang.
3698 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3699
735d5a07
GB
37002020-05-29 Gary Benson <gbenson@redhat.com>
3701
3702 * gdb.cp/koenig.exp (prepare_for_testing): Add
3703 additional_flags=-Wno-unused-comparison.
3704 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3705
4ad2c6a0
GB
37062020-05-28 Gary Benson <gbenson@redhat.com>
3707
3708 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3709 statement.
3710
09fe663e
GB
37112020-05-28 Gary Benson <gbenson@redhat.com>
3712
3713 * gdb.cp/classes.exp (prepare_for_testing): Add
3714 additional_flags=-Wno-deprecated-register.
3715 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3716 * gdb.cp/misc.exp: Likewise.
3717
cee00f17
GB
37182020-05-28 Gary Benson <gbenson@redhat.com>
3719
3720 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3721 (test_op_new::operator new): Add return statement.
3722 (test_op_new_array::operator new[]): Likewise.
3723
636edd00
PA
37242020-05-27 Pedro Alves <palves@redhat.com>
3725
3726 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3727 check. Use test_gdb_complete_unique instead of
3728 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3729 test_gdb_complete_multiple instead of
3730 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3731
c2b75043
LM
37322020-05-27 Luis Machado <luis.machado@linaro.org>
3733
3734 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3735 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3736 * gdb.arch/arm-disassembler-options.exp: Likewise.
3737 * gdb.arch/arm-disp-step.exp: Likewise.
3738 * gdb.arch/thumb-prologue.exp: Likewise.
3739 * gdb.base/async.exp: Likewise.
3740 * gdb.base/auxv.exp: Likewise.
3741 * gdb.base/complex-parts.exp: Likewise.
3742 * gdb.base/ena-dis-br.exp: Likewise.
3743 * gdb.base/foll-exec.exp: Likewise.
3744 * gdb.base/permissions.exp: Likewise.
3745 * gdb.base/relocate.exp: Likewise.
3746 * gdb.base/return2.exp: Likewise.
3747 * gdb.base/sigbpt.exp: Likewise.
3748 * gdb.base/siginfo-obj.exp: Likewise.
3749 * gdb.cp/converts.exp: Likewise.
3750 * gdb.cp/exceptprint.exp: Likewise.
3751 * gdb.cp/inherit.exp: Likewise.
3752 * gdb.cp/nsnoimports.exp: Likewise.
3753 * gdb.cp/virtbase2.exp: Likewise.
3754 * gdb.mi/mi-var-cmd.exp: Likewise.
3755 * gdb.mi/var-cmd.c: Likewise.
3756
53a47a3e
TT
37572020-05-26 Tom Tromey <tromey@adacore.com>
3758
3759 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3760
0bc2354b
TT
37612020-05-26 Tom Tromey <tromey@adacore.com>
3762
3763 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3764 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3765 type.
3766 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3767 variable.
3768
0db49895
CBG
37692020-05-26 Christian Biesinger <cbiesinger@google.com>
3770
3771 * Makefile.in: Use = instead of == for the test command
3772 for portability.
3773
40d22035
TV
37742020-05-26 Tom de Vries <tdevries@suse.de>
3775
3776 * gdb.base/gold-gdb-index-2.c: New test.
3777 * gdb.base/gold-gdb-index.c: New test.
3778 * gdb.base/gold-gdb-index.exp: New file.
3779 * gdb.base/gold-gdb-index.h: New test.
3780
043e2e02
TV
37812020-05-25 Tom de Vries <tdevries@suse.de>
3782
3783 * boards/gold-gdb-index.exp: New file.
3784
462f72c5
SM
37852020-05-25 Simon Marchi <simon.marchi@efficios.com>
3786
3787 * boards/simavr.exp: New file.
3788
6cf66e76
SM
37892020-05-25 Simon Marchi <simon.marchi@efficios.com>
3790
3791 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3792 * gdb.base/inferior-args.exp: New file.
3793 * gdb.base/inferior-args.c: New file.
3794
75d04512
SM
37952020-05-25 Simon Marchi <simon.marchi@efficios.com>
3796
3797 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3798 inferior_args. Pass it to gdb_reload.
3799 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3800 inferior_args.
3801 (gdb_reload): Add inferior_args argument.
3802 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3803 pass it to gdbserver_run.
3804 * boards/native-gdbserver.exp: Do not set noargs.
3805 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3806 inferior_args argument.
3807 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3808 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3809 * gdb.base/args.exp: Likewise.
3810
42cf1844
TV
38112020-05-25 Tom de Vries <tdevries@suse.de>
3812
3813 * lib/gdb.exp (exec_is_pie): Add comment.
3814
8f7d38ef
TV
38152020-05-25 Tom de Vries <tdevries@suse.de>
3816
3817 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3818 instead of $binfile in the untested message.
3819
465e1b0f
TV
38202020-05-25 Tom de Vries <tdevries@suse.de>
3821
3822 PR testsuite/26031
3823 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3824
3c5a0e02
TV
38252020-05-25 Tom de Vries <tdevries@suse.de>
3826
3827 * boards/gold.exp: New file.
3828
0a4f5f8c
TT
38292020-05-23 Tom Tromey <tom@tromey.com>
3830
3831 * gdb.base/style.exp: Remove completion styling test.
3832 * lib/gdb-utils.exp (style): Remove completion styles.
3833
eca1f90c
TT
38342020-05-23 Tom Tromey <tom@tromey.com>
3835
3836 * gdb.base/style.exp: Add completion styling test.
3837 * lib/gdb-utils.exp (style): Add completion styles.
3838
7c13f4e8
AB
38392020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3840
3841 * gdb.base/annota1.exp: Update expected results.
3842 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3843 test name.
3844 * gdb.cp/annota3.exp: Update expected results.
3845
41977d16
SM
38462020-05-20 Simon Marchi <simon.marchi@efficios.com>
3847
3848 PR gdb/26016
3849 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3850 against MAP_FAILED.
3851 * gdb.base/coremaker.c (mmapdata): Likewise.
3852 * gdb.base/jit-reader-host.c (main): Likewise.
3853 * gdb.base/sym-file-loader.c (load): Likewise.
3854 (load_shlib): Likewise.
3855
b4757f2e
TT
38562020-05-20 Tom Tromey <tromey@adacore.com>
3857
3858 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3859
9a0bacfb
TV
38602020-05-20 Tom de Vries <tdevries@suse.de>
3861
3862 PR symtab/25833
3863 * gdb.base/with-mf-inc.c: New test.
3864 * gdb.base/with-mf-main.c: New test.
3865 * gdb.base/with-mf.exp: New file.
3866
76571211
TT
38672020-05-19 Tom Tromey <tromey@adacore.com>
3868
3869 * gdb.rust/simple.exp: Restore missing test result.
3870
4cd9f3d5
TV
38712020-05-19 Tom de Vries <tdevries@suse.de>
3872
3873 * gdb.base/gdb-caching-proc.exp: Fix typo.
3874
7d874253
TT
38752020-05-19 Tom Tromey <tromey@adacore.com>
3876
3877 * gdb.rust/simple.exp: Add some test descriptions.
3878 (test_one_slice): Use with_test_prefix.
3879
1d727695
TV
38802020-05-18 Tom de Vries <tdevries@suse.de>
3881
3882 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3883
7f32a4d5
PA
38842020-05-17 Pedro Alves <palves@redhat.com>
3885
3886 PR gdb/25741
3887 * gdb.base/hw-sw-break-same-address.exp: New file.
3888
7cfd74cf
PA
38892020-05-16 Pedro Alves <palves@redhat.com>
3890
3891 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3892 LAST_LOADED_FILE accordingly.
3893
57b4f16e
PW
38942020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3895
3896 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3897
7c05caf7
PW
38982020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3899
3900 * gdb.base/help.exp: Test apropos and help for commands
3901 having aliases. Fixed comments not starting with an
3902 upper-case letter or not finishing with a dot.
3903
7aa1b46f
PW
39042020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3905
3b3aaacb
PW
3906 * gdb.base/alias.exp: Update help output check.
3907
57b4f16e 39082020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3909
7aa1b46f
PW
3910 * gdb.base/default.exp: Update output following fixes.
3911
0605465f
PW
39122020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3913
3914 * gdb.base/alias.exp: Test aliases starting with a prefix of
3915 another alias.
3916
86e4e63d
GB
39172020-05-15 Gary Benson <gbenson@redhat.com>
3918
3919 * gdb.base/info-os.c (main): Add return statement.
3920 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3921 * gdb.base/large-frame-2.c (func): Likewise.
3922 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3923 * gdb.base/pr10179-b.c (foo2): Likewise.
3924 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3925 * gdb.base/watch-cond.c (func): Likewise.
3926 * gdb.multi/goodbye.c (verylongfun): Likewise.
3927 * gdb.multi/hello.c (commonfun): Likewise.
3928 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3929 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3930 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3931 Likewise.
3932 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3933 * gdb.threads/interrupt-while-step-over.c (child_function):
3934 Likewise.
3935 * gdb.trace/actions-changed.c (end): Likewise.
3936
163df4df
GB
39372020-05-15 Gary Benson <gbenson@redhat.com>
3938
3939 * gdb.opencl/callfuncs.exp: Report when test skipped.
3940 * gdb.opencl/convs_casts.exp: Likewise.
3941 * gdb.opencl/datatypes.exp: Likewise.
3942 * gdb.opencl/operators.exp: Likewise.
3943 * gdb.opencl/vec_comps.exp: Likewise.
3944
6dbc505a
TV
39452020-05-15 Tom de Vries <tdevries@suse.de>
3946
3947 * gdb.base/align.exp.in: Rename to ...
3948 * gdb.base/align.exp.tcl: ... this.
3949 * gdb.base/align-c++.exp: Update.
3950 * gdb.base/align-c.exp: Update.
3951 * gdb.base/all-architectures.exp.in: Rename to ...
3952 * gdb.base/all-architectures.exp: ... this.
3953 * gdb.base/all-architectures-0.exp: Update.
3954 * gdb.base/all-architectures-1.exp: Update.
3955 * gdb.base/all-architectures-2.exp: Update.
3956 * gdb.base/all-architectures-3.exp: Update.
3957 * gdb.base/all-architectures-4.exp: Update.
3958 * gdb.base/all-architectures-5.exp: Update.
3959 * gdb.base/all-architectures-6.exp: Update.
3960 * gdb.base/all-architectures-7.exp: Update.
3961 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3962 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3963 * gdb.base/infcall-nested-structs-c++.exp: Update.
3964 * gdb.base/infcall-nested-structs-c.exp: Update.
3965 * gdb.base/info-types.exp.in: Rename to ...
3966 * gdb.base/info-types.exp.tcl: ... this.
3967 * gdb.base/info-types-c++.exp: Update.
3968 * gdb.base/info-types-c.exp: Update.
3969 * gdb.base/max-depth.exp.in: Rename to ...
3970 * gdb.base/max-depth.exp.tcl: ... this.
3971 * gdb.base/max-depth-c++.exp: Update.
3972 * gdb.base/max-depth-c.exp: Update.
3973 * gdb.cp/cpexprs.exp.in: Rename to ...
3974 * gdb.cp/cpexprs.exp.tcl: ... this.
3975 * gdb.cp/cpexprs-debug-types.exp: Update.
3976 * gdb.cp/cpexprs.exp: Update.
3977 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3978 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3979 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3980 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3981 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3982 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3983 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3984 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3985 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3986 * gdb.dwarf2/clang-debug-names.exp: Update.
3987
d1034d78
AB
39882020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3989
3990 * lib/check-test-names.exp: Remove code that prevents this file
3991 loading when tests are run in parallel.
3992
3c5c3649
PA
39932020-05-15 Pedro Alves <palves@redhat.com>
3994
3995 * gdb.multi/multi-kill.exp (start_inferior): Remove
3996 'testpid' parameter. Refer to namespace variable directly.
3997 (testpid): Declare as namespace variable.
3998
272c36b8
PA
39992020-05-15 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.multi/multi-kill.exp: Wrap in namespace.
4002 (start_inferior): Add TESTPID parameter. Use it instead of the
4003 testpid global.
4004 (top level): Define empty TESTPID array, and pass it down to
4005 start_inferior.
4006
02eba61a
TV
40072020-05-14 Tom de Vries <tdevries@suse.de>
4008
4009 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4010 output.
4011
971a3747
TV
40122020-05-14 Tom de Vries <tdevries@suse.de>
4013
4014 * gdb.base/align.exp: Split into ...
4015 * gdb.base/align.exp.in: ...
4016 * gdb.base/align-c++.exp: ...
4017 * gdb.base/align-c.exp: ... these.
4018 * gdb.base/infcall-nested-structs.exp: Split into ...
4019 * gdb.base/infcall-nested-structs.exp.in: ...
4020 * gdb.base/infcall-nested-structs-c++.exp: ...
4021 * gdb.base/infcall-nested-structs-c.exp: ... these.
4022 * gdb.base/info-types.exp: Split into ...
4023 * gdb.base/info-types.exp.in: ...
4024 * gdb.base/info-types-c++.exp: ...
4025 * gdb.base/info-types-c.exp: ... these.
4026 * gdb.base/max-depth.exp: Split into ...
4027 * gdb.base/max-depth.exp.in: ...
4028 * gdb.base/max-depth-c++.exp: ...
4029 * gdb.base/max-depth-c.exp: ... these.
4030 * gdb.cp/infcall-nodebug.exp: Split into ...
4031 * gdb.cp/infcall-nodebug.exp.in: ...
4032 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4033 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4034 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4035 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4036
a05575d3
TBA
40372020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4038 Pedro Alves <palves@redhat.com>
4039
4040 * gdb.multi/multi-exit.c: New file.
4041 * gdb.multi/multi-exit.exp: New file.
4042 * gdb.multi/multi-kill.c: New file.
4043 * gdb.multi/multi-kill.exp: New file.
4044
6ad82919
TBA
40452020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4046
4047 * gdb.base/annota1.exp: Update the expected output.
4048 * gdb.cp/annota2.exp: Ditto.
4049
843f4d93
AB
40502020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4051
4052 * lib/check-test-names.exp: Disable when testing is being run in
4053 parallel.
4054
c7c66341
TV
40552020-05-12 Tom de Vries <tdevries@suse.de>
4056
4057 * gdb.base/jit-elf.exp: Fix string concat.
4058
1b59ca1c
TV
40592020-05-12 Tom de Vries <tdevries@suse.de>
4060
4061 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4062 messages.
4063
b4991d29
TV
40642020-05-12 Tom de Vries <tdevries@suse.de>
4065
4066 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4067
dbb0ab10
TV
40682020-05-12 Tom de Vries <tdevries@suse.de>
4069
4070 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4071 * gdb.ada/mi_catch_ex.exp: Same.
4072 * gdb.ada/mi_catch_ex_hand.exp: Same.
4073
7549fed8
TV
40742020-05-12 Tom de Vries <tdevries@suse.de>
4075
4076 * gdb.fortran/complex.exp: Use with_test_prefix.
4077
af2d5cd8
TV
40782020-05-12 Tom de Vries <tdevries@suse.de>
4079
4080 * gdb.trace/passcount.exp: Fix test-names.
4081
7c121311
TV
40822020-05-12 Tom de Vries <tdevries@suse.de>
4083
4084 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4085
c9f3b40e
TV
40862020-05-12 Tom de Vries <tdevries@suse.de>
4087
4088 * gdb.gdb/complaints.exp: Use with_test_prefix.
4089 * gdb.xml/tdesc-regs.exp: Same.
4090 * gdb.opt/inline-locals.exp: Fix test name.
4091
111b33f0
TV
40922020-05-12 Tom de Vries <tdevries@suse.de>
4093
4094 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4095 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4096 * gdb.dwarf2/implref-struct.exp: Same.
4097 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4098 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4099
ebf47080
SM
41002020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4101
4102 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4103
d30dcd12
AB
41042020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4105
4106 * lib/check-test-names.exp (all_test_names): New module variable.
4107 (counts): Add 'duplicates' field.
4108 (_check_duplicates): New procedure.
4109 (check): Also check for duplicates.
4110 (do_log_summary): Print duplicates count.
4111 (do_reset_vars): Reset counter for duplicate test names, and
4112 discard all know test names.
4113
34584c09
AB
41142020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4115
4116 * lib/gdb.exp: Include check-test-names.exp library.
4117 * lib/check-test-names.exp: New file.
4118
e0002117
TV
41192020-05-11 Tom de Vries <tdevries@suse.de>
4120
4121 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4122
53f539a3
KS
41232020-05-11 Keith Seitz <keiths@redhat.com>
4124
4125 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4126
113ee09a
TV
41272020-05-11 Tom de Vries <tdevries@suse.de>
4128
4129 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4130 * gdb.cp/cpexprs.exp.in: .. here.
4131 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4132 cpexprs.exp.
4133
ba3e70b0
KS
41342020-05-11 Keith Seitz <keiths@redhat.com>
4135
4136 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4137 test names.
4138 * gdb.ada/arrayptr.exp: Likewise.
4139 * gdb.ada/assign_arr.exp: Likewise.
4140 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4141 * gdb.ada/bp_on_var.exp: Likewise.
4142 * gdb.ada/call_pn.exp: Likewise.
4143 * gdb.ada/complete.exp: Likewise.
4144 * gdb.ada/fun_overload_menu.exp: Likewise.
4145 * gdb.ada/funcall_param.exp: Likewise.
4146 * gdb.ada/funcall_ref.exp: Likewise.
4147 * gdb.ada/packed_array_assign.exp: Likewise.
4148 * gdb.ada/same_component_name.exp: Likewise.
4149 * gdb.ada/type_coercion.exp: Likewise.
4150 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4151 * gdb.ada/variant_record_packed_array.exp: Likewise.
4152
3ee6bb11
TV
41532020-05-11 Tom de Vries <tdevries@suse.de>
4154
4155 PR symtab/25941
4156 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4157 out of ...
4158 * gdb.dwarf2/clang-debug-names.exp: ... here.
4159 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4160 clang-debug-names.exp.in.
4161 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4162 * gdb.dwarf2/clang-debug-names-2.c: New test.
4163
86cd6bc8
AKS
41642020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4165
4166 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4167 (fortran_runto_main): New Proc, fortran version of runto_main.
4168 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4169 * gdb.fortran/array-bounds.exp: Likewise.
4170 * gdb.fortran/array-slices.exp: Likewise.
4171 * gdb.fortran/block-data.exp: Likewise.
4172 * gdb.fortran/charset.exp: Likewise.
4173 * gdb.fortran/common-block.exp: Likewise.
4174 * gdb.fortran/complex.exp: Likewise.
4175 * gdb.fortran/derived-type-function.exp: Likewise.
4176 * gdb.fortran/derived-type.exp: Likewise.
4177 * gdb.fortran/info-modules.exp: Likewise.
4178 * gdb.fortran/info-types.exp: Likewise.
4179 * gdb.fortran/intrinsics.exp: Likewise.
4180 * gdb.fortran/library-module.exp: Likewise.
4181 * gdb.fortran/logical.exp: Likewise.
4182 * gdb.fortran/max-depth.exp: Likewise.
4183 * gdb.fortran/module.exp: Likewise.
4184 * gdb.fortran/multi-dim.exp: Likewise.
4185 * gdb.fortran/nested-funcs.exp: Likewise.
4186 * gdb.fortran/print-formatted.exp: Likewise.
4187 * gdb.fortran/print_type.exp: Likewise.
4188 * gdb.fortran/printing-types.exp: Likewise.
4189 * gdb.fortran/ptr-indentation.exp: Likewise.
4190 * gdb.fortran/ptype-on-functions.exp: Likewise.
4191 * gdb.fortran/subarray.exp: Likewise.
4192 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4193 * gdb.fortran/vla-datatypes.exp: Likewise.
4194 * gdb.fortran/vla-history.exp: Likewise.
4195 * gdb.fortran/vla-ptr-info.exp: Likewise.
4196 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4197 * gdb.fortran/vla-ptype.exp: Likewise.
4198 * gdb.fortran/vla-sizeof.exp: Likewise.
4199 * gdb.fortran/vla-type.exp: Likewise.
4200 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4201 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4202 * gdb.fortran/vla-value-sub.exp: Likewise.
4203 * gdb.fortran/vla-value.exp: Likewise.
4204 * gdb.fortran/whatis_type.exp: Likewise.
4205 * gdb.mi/mi-var-child-f.exp: Likewise.
4206
6dc55ce9 42072020-05-09 Tom de Vries <tdevries@suse.de>
4208
4209 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4210
283cb58c
TV
42112020-05-08 Tom de Vries <tdevries@suse.de>
4212
4213 * gdb.dwarf2/clang-debug-names.c: New test.
4214 * gdb.dwarf2/clang-debug-names.exp: New file.
4215
ac4a4f1c
SM
42162020-05-06 Simon Marchi <simon.marchi@efficios.com>
4217
4218 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4219 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4220
24fe640b
TV
42212020-05-06 Tom de Vries <tdevries@suse.de>
4222
4223 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4224 breakpoint is at a "recommended breakpoint location".
4225 * gdb.reverse/consecutive-reverse.exp: Same.
4226
0d8683a3
TV
42272020-05-06 Tom de Vries <tdevries@suse.de>
4228
4229 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4230 address.
4231
b8983c46
TV
42322020-05-06 Tom de Vries <tdevries@suse.de>
4233
4234 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4235
abf6d805
TV
42362020-05-06 Tom de Vries <tdevries@suse.de>
4237
4238 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4239 info for r.
4240
0fc2a808
TV
42412020-05-06 Tom de Vries <tdevries@suse.de>
4242
4243 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4244 necessary.
4245
873dd427
TV
42462020-05-06 Tom de Vries <tdevries@suse.de>
4247
4248 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4249 void.
4250
7c99e7e2
TV
42512020-05-06 Tom de Vries <tdevries@suse.de>
4252
4253 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4254 of ...
4255 * gdb.base/async.exp: ... here.
4256 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4257 "recommended breakpoint location".
4258
6173d6a6
TV
42592020-05-06 Tom de Vries <tdevries@suse.de>
4260
4261 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4262
6015a067
TV
42632020-05-04 Tom de Vries <tdevries@suse.de>
4264
4265 * gdb.base/async.exp: Check whether instruction addresses are a
4266 "recommended breakpoint location".
4267
3b6acaee
TT
42682020-05-03 Tom Tromey <tom@tromey.com>
4269
4270 * gdb.base/sepdebug.exp: Remove "catch" test.
4271 * gdb.base/break.exp: Remove "catch" test.
4272 * gdb.base/default.exp: Update expected output.
4273
5beb4d17
TV
42742020-05-02 Tom de Vries <tdevries@suse.de>
4275
4276 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4277 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4278 * gdb.arch/i386-mpx-map.exp: Same.
4279 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4280 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4281 * gdb.arch/i386-mpx.exp: Same.
4282
8caf140d
TV
42832020-05-02 Tom de Vries <tdevries@suse.de>
4284
4285 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4286
693196cb
TV
42872020-05-01 Tom de Vries <tdevries@suse.de>
4288
4289 * gdb.ada/operator_bp.exp: Allow more than required amount of
4290 breakpoint.
4291
53ae0aa9
TV
42922020-05-01 Tom de Vries <tdevries@suse.de>
4293
4294 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4295
ee9d1e5f
HD
42962020-04-30 Hannes Domani <ssbssa@yahoo.de>
4297
4298 PR gdb/18706
4299 * gdb.cp/stub-array-size.cc: New test.
4300 * gdb.cp/stub-array-size.exp: New file.
4301 * gdb.cp/stub-array-size.h: New test.
4302 * gdb.cp/stub-array-size2.cc: New test.
4303
d5cf82c0
HD
43042020-04-30 Hannes Domani <ssbssa@yahoo.de>
4305
4306 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4307 output to the new format.
4308
42e165c3
SM
43092020-04-29 Simon Marchi <simon.marchi@efficios.com>
4310
4311 * gdb.base/break.exp: Use with_test_prefix.
4312
6e4e3fe1
TV
43132020-04-29 Tom de Vries <tdevries@suse.de>
4314
4315 * lib/gdb.exp (debug_types): New proc.
4316 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4317 * gdb.python/py-symtab.exp: Same.
4318
d642b692
HD
43192020-04-29 Hannes Domani <ssbssa@yahoo.de>
4320
4321 PR gdb/17320
4322 * gdb.base/pretty-array.c: New test.
4323 * gdb.base/pretty-array.exp: New file.
4324
ea90f227
TV
43252020-04-29 Tom de Vries <tdevries@suse.de>
4326
4327 PR symtab/25889
4328 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4329 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4330 and include cpexprs.exp.
4331
a65189c9
TV
43322020-04-28 Mark Williams <mark@myosotissp.com>
4333
4334 PR gdb/24480
4335 * dw4-toplevel-types.exp: Test for top level types.
4336 * dw4-toplevel-types.cc: Test for top level types.
4337
32d1f47a
TBA
43382020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4339
4340 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4341 (theads -> threads).
4342
56a4f5a1
TV
43432020-04-28 Tom de Vries <tdevries@suse.de>
4344
4345 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4346
0b2f8a3b
TV
43472020-04-28 Tom de Vries <tdevries@suse.de>
4348
4349 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4350
5390c717
TV
43512020-04-28 Tom de Vries <tdevries@suse.de>
4352
4353 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4354
15cd93d0
TV
43552020-04-28 Tom de Vries <tdevries@suse.de>
4356
4357 * gdb.dwarf2/main-foo.c: New test.
4358 * gdb.dwarf2/struct-with-sig.exp: New file.
4359
d472f0fb
TV
43602020-04-25 Tom de Vries <tdevries@suse.de>
4361
4362 * boards/debug-types.exp: New file.
4363
8d840e05
AB
43642020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4365
4366 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4367
bcfe6157
TT
43682020-04-24 Tom Tromey <tom@tromey.com>
4369
4370 PR symtab/12707:
4371 * gdb.python/py-symbol.exp: Update expected results for
4372 linkage_name test.
4373 * gdb.cp/print-demangle.exp: New file.
4374 * gdb.base/c-linkage-name.exp: Fix test.
4375 * gdb.guile/scm-symbol.exp: Update expected results for
4376 linkage_name test.
4377
f049a313
TT
43782020-04-24 Tom Tromey <tom@tromey.com>
4379
4380 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4381 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4382 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4383 assembler.
4384
7cf28874
TV
43852020-04-24 Tom de Vries <tdevries@suse.de>
4386
4387 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4388 C++.
4389
dac2fef7
TT
43902020-04-24 Tom Tromey <tromey@adacore.com>
4391
4392 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4393 values.
4394 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4395 values. Update test for minimal encodings.
4396 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4397 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4398 values. Update test for minimal encodings.
4399
1acda803
TT
44002020-04-24 Tom Tromey <tromey@adacore.com>
4401
4402 PR python/23662:
4403 * gdb.ada/variant.exp: Add Python checks.
4404 * gdb.rust/simple.exp: Add dynamic type checks.
4405
adfb9815
TT
44062020-04-24 Tom Tromey <tromey@adacore.com>
4407
4408 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4409 Make array type matching more lax.
4410 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4411 * gdb.ada/mi_variant.exp: New file.
4412 * gdb.ada/mi_variant/pck.ads: New file.
4413 * gdb.ada/mi_variant/pkg.adb: New file.
4414 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4415 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4416
7d79de9a
TT
44172020-04-24 Tom Tromey <tromey@adacore.com>
4418
4419 * gdb.ada/variant.exp: Add dynamic field offset tests.
4420 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4421 * gdb.ada/variant/pkg.adb: Add new variables.
4422
f8e89861
TT
44232020-04-24 Tom Tromey <tromey@adacore.com>
4424
4425 * gdb.ada/variant.exp: New file
4426 * gdb.ada/variant/pkg.adb: New file
4427 * gdb.ada/variant/pck.adb: New file
4428
86e887ae
TV
44292020-04-24 Tom de Vries <tdevries@suse.de>
4430
4431 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4432
88428775
TV
44332020-04-24 Tom de Vries <tdevries@suse.de>
4434
4435 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4436 flags.
4437
4e86f6e7
TV
44382020-04-24 Tom de Vries <tdevries@suse.de>
4439
4440 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4441
2016d3e6
TV
44422020-04-24 Tom de Vries <tdevries@suse.de>
4443
4444 * lib/gdb.exp (default_gdb_start): Handle eof.
4445 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4446 failure.
4447 * gdb.base/readnever.exp: Handle clean_restart failure.
4448
70bc38f5
TV
44492020-04-23 Tom de Vries <tdevries@suse.de>
4450
4451 * gdb.base/decl-before-def.exp: Run to main and print a again.
4452
de82891c
TV
44532020-04-23 Tom de Vries <tdevries@suse.de>
4454
4455 * gdb.base/decl-before-def-decl.c: New test.
4456 * gdb.base/decl-before-def-def.c: New test.
4457 * gdb.base/decl-before-def.exp: New file.
4458
96038148
TV
44592020-04-23 Tom de Vries <tdevries@suse.de>
4460
4461 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4462
54ac3df1
TV
44632020-04-22 Tom de Vries <tdevries@suse.de>
4464
4465 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4466 debug_info_offset.
4467 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4468 before $objsfile in the line line.
4469
714534e1
TV
44702020-04-22 Tom de Vries <tdevries@suse.de>
4471
4472 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4473
16a7dbf4
MS
44742020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4475
4476 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4477 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4478 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4479 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4480 * gdb.base/jit-protocol.h: Update definitions to match all usage
4481 contexts.
4482
44832020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4484
4485 * gdb.base: Rename all jit related test and source files.
4486
44872020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4488
4489 * gdb.base/jit-reader.exp: Relax register output check.
4490
317d2668
TV
44912020-04-22 Tom de Vries <tdevries@suse.de>
4492
4493 PR symtab/25764
4494 * gdb.base/psym-external-decl-2.c: New test.
4495 * gdb.base/psym-external-decl.c: New test.
4496 * gdb.base/psym-external-decl.exp: New file.
4497 * gdb.threads/tls.exp: Add PR25807 kfail.
4498
eea9e357
TV
44992020-04-22 Tom de Vries <tdevries@suse.de>
4500
4501 PR symtab/25801
4502 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4503 in "info source" output.
4504
3d5afab3
TV
45052020-04-22 Tom de Vries <tdevries@suse.de>
4506
4507 PR symtab/25700
4508 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4509 symtab for imported_unit.c.
4510
b32102f6
GB
45112020-04-21 Gary Benson <gbenson@redhat.com>
4512
4513 * gdb.base/advance.c (func): New argument, to match call site.
4514 (func2, func3): Add return statements.
4515
d43b7a2d
TBA
45162020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4517
4518 * gdb.multi/run-only-second-inf.c: New file.
4519 * gdb.multi/run-only-second-inf.exp: New file.
4520
d89edf9b
MM
45212020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4522
4523 * gdb.btrace/multi-inferior.c: New test.
4524 * gdb.btrace/multi-inferior.exp: New file.
4525
1a476b6d
MM
45262020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4527
4528 * gdb.btrace/enable-new-thread.c: New test.
4529 * gdb.btrace/enable-new-thread.exp: New file.
4530
4778a5f8
TV
45312020-04-21 Tom de Vries <tdevries@suse.de>
4532
4533 PR gdb/25471
4534 * gdb.threads/killed-outside.c: New test.
4535 * gdb.threads/killed-outside.exp: New file.
4536
9b2c992c
GB
45372020-04-20 Gary Benson <gbenson@redhat.com>
4538
4539 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4540 * gdb.base/nested-subp2.exp: Likewise.
4541 * gdb.base/nested-subp3.exp: Likewise.
4542
b5d1d6f7
GB
45432020-04-20 Gary Benson <gbenson@redhat.com>
4544
4545 * gdb.base/nested-subp1.exp: Disable test when using clang.
4546 * gdb.base/nested-subp2.exp: Likewise.
4547 * gdb.base/nested-subp3.exp: Likewise.
4548
25230285
GB
45492020-04-20 Gary Benson <gbenson@redhat.com>
4550
4551 * gdb.cp/exception.cc: Fix compilation error with clang.
4552
fa93cc8f
GB
45532020-04-20 Gary Benson <gbenson@redhat.com>
4554
809730f3 4555 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4556
e0c45f30
GB
45572020-04-20 Gary Benson <gbenson@redhat.com>
4558
4559 * gdb.base/jit-main.c: Fix compilation error with clang.
4560
4ddfec93
KR
45612020-04-17 Kamil Rytarowski <n54@gmx.com>
4562
4563 * gdb.base/attach-twice.c: Include "sys/types.h".
4564 (PTRACE_ATTACH): Add fallback definition.
4565 (main): Pass `0' to the 4th argument of `ptrace'.
4566
2bed205e
KR
45672020-04-17 Kamil Rytarowski <n54@gmx.com>
4568
4569 * gdb.base/fork-running-state.c: Include "signal.h".
4570
0743fc83
TT
45712020-04-17 Tom Tromey <tromey@adacore.com>
4572
4573 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4574 Update tests.
4575 * gdb.btrace/cpu.exp: Update tests.
4576 * gdb.base/maint.exp: Update tests.
4577 * gdb.base/default.exp: Update tests.
4578 * gdb.base/completion.exp: Update tests.
4579
efba5c23
TV
45802020-04-16 Tom de Vries <tdevries@suse.de>
4581
4582 PR symtab/25791
4583 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4584 (ensure_gdb_index): and factor out and move ...
4585 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4586 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4587
d191d716
TV
45882020-04-16 Tom de Vries <tdevries@suse.de>
4589
4590 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4591 loading exec.
4592
99f1bc6a
AB
45932020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4594
4595 * gdb.base/many-completions.exp: New file.
4596
194d088f
TV
45972020-04-14 Tom de Vries <tdevries@suse.de>
4598
4599 PR symtab/25718
4600 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4601
c1a66c06
TV
46022020-04-14 Tom de Vries <tdevries@suse.de>
4603
4604 PR symtab/25720
4605 * gdb.base/maint-expand-symbols-header-file.c: New test.
4606 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4607 * gdb.base/maint-expand-symbols-header-file.h: New test.
4608
21b0982c
AB
46092020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4610
4611 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4612 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4613 get_func_info.
4614 (get_func_info): Delete.
4615 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4616 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4617 * lib/dwarf.exp (get_func_info): New function.
4618
dd1cab06
TV
46192020-04-13 Tom de Vries <tdevries@suse.de>
4620
4621 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4622 to what find_gnatmake does.
4623
71ea2b6b
TV
46242020-04-10 Tom de Vries <tdevries@suse.de>
4625
4626 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4627 -readnow.
4628
bdfc1e8a
TV
46292020-04-10 Tom de Vries <tdevries@suse.de>
4630
4631 PR cli/25808
4632 * gdb.base/style.c: Add leading newlines.
4633 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4634 Check listing of main's one-line body.
4635
14ca8ecf
TV
46362020-04-08 Tom de Vries <tdevries@suse.de>
4637
4638 * lib/gdb.exp (psymtabs_p): New proc.
4639 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4640 importing unit" unsupported if there are no partial symbols.
4641
e21d048f
TV
46422020-04-08 Tom de Vries <tdevries@suse.de>
4643
4644 PR testsuite/25760
4645 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4646
25c11aca
TV
46472020-04-07 Tom de Vries <tdevries@suse.de>
4648
4649 PR symtab/25796
4650 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4651
5707e24b
TV
46522020-04-07 Tom de Vries <tdevries@suse.de>
4653
4654 * gdb.base/check-psymtab.c: New test.
4655 * gdb.base/check-psymtab.exp: New file.
4656
6ee448cc
TT
46572020-04-06 Tom Tromey <tromey@adacore.com>
4658
4659 * gdb.ada/variant-record/proc.adb: New file.
4660 * gdb.ada/variant-record/value.adb: New file.
4661 * gdb.ada/variant-record/value.s: New file.
4662 * gdb.ada/variant-record.exp: New file.
4663
9e7c9a03
HD
46642020-04-03 Hannes Domani <ssbssa@yahoo.de>
4665
4666 PR gdb/25325
4667 * gdb.cp/typed-enum.cc: New test.
4668 * gdb.cp/typed-enum.exp: New file.
4669
c90d28ac
AB
46702020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4671
4672 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4673 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4674 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4675 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4676 * gdb.opt/inline-small-func.c: New file.
4677 * gdb.opt/inline-small-func.exp: New file.
4678 * gdb.opt/inline-small-func.h: New file.
4679
34e9a9fa
AB
46802020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4681
4682 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4683 function.
4684
6a354911
AB
46852020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4686
4687 * lib/dwarf.exp (function_range): Allow compiler options to be
4688 specified.
4689
880d9777
TV
46902020-04-02 Tom de Vries <tdevries@suse.de>
4691
4692 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4693 __attribute__((always_inline)).
4694 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4695
f32682ea
TV
46962020-04-02 Tom de Vries <tdevries@suse.de>
4697
4698 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4699 (gdbserver_gdb_exit): ... here. Add timeout warning.
4700 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4701 (connect_target_extended_remote): Append new server_spawn_id to
4702 server_spawn_ids.
4703 (cleanup): New proc.
4704 (setup, <toplevel>): Call cleanup.
4705
d3214198
TV
47062020-04-02 Tom de Vries <tdevries@suse.de>
4707
4708 * gdb.base/main-psymtab.exp: New file.
4709
cc77ed24
TV
47102020-04-02 Tom de Vries <tdevries@suse.de>
4711
4712 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4713
3638a098
TT
47142020-04-01 Tom Tromey <tom@tromey.com>
4715
4716 * gdb.base/complex-parts.exp: Add type tests.
4717
c34e8714
TT
47182020-04-01 Tom Tromey <tom@tromey.com>
4719
4720 * gdb.base/complex-parts.exp: Add arithmetic tests.
4721
981c08ce
TT
47222020-04-01 Tom Tromey <tom@tromey.com>
4723
4724 * gdb.compile/compile.exp: Update.
4725 * gdb.compile/compile-cplus.exp: Update.
4726 * gdb.base/varargs.exp: Update.
4727 * gdb.base/floatn.exp: Update.
4728 * gdb.base/endianity.exp: Update.
4729 * gdb.base/callfuncs.exp (do_function_calls): Update.
4730 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4731 (complex_float_integral_args): Update.
4732 * gdb.base/complex.exp: Update.
4733 * gdb.base/complex-parts.exp: Update.
4734
3d1cfd43
TT
47352020-04-01 Tom Tromey <tromey@adacore.com>
4736
4737 * gdb.rust/union.rs: New file.
4738 * gdb.rust/union.exp: New file.
4739 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4740 (main): Update.
4741 * gdb.rust/simple.exp: Move union tests to union.exp.
4742
e033dfa9
TT
47432020-04-01 Tom Tromey <tromey@adacore.com>
4744
4745 * gdb.rust/simple.rs (main): Remove "y0".
4746
53cccef1
TBA
47472020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4748
4749 * gdb.multi/stop-all-on-exit.c: New test.
4750 * gdb.multi/stop-all-on-exit.exp: New file.
4751
60e22c1e
HD
47522020-04-01 Hannes Domani <ssbssa@yahoo.de>
4753
4754 PR gdb/24789
4755 * gdb.cp/misc.cc: Add integer reference variable.
4756 * gdb.cp/misc.exp: Add test.
4757
e139a727
TBA
47582020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4759
4760 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4761 scenario to cover execution until the end and also the case
4762
16b0db75
TV
47632020-03-31 Tom de Vries <tdevries@suse.de>
4764
4765 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4766 c. Use "maint info symtabs" to check symtab expansion.
4767
c0502da6
TV
47682020-03-30 Tom de Vries <tdevries@suse.de>
4769
4770 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4771 unsupported.
4772 (verify_psymtab_expanded): Move ...
4773 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4774 test.
4775 (readnow): New proc.
4776
5935fd15
AB
47772020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4778
4779 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4780 with $hex.
4781
1773be9e
TT
47822020-03-20 Tom Tromey <tromey@adacore.com>
4783
4784 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4785
70304be9
TT
47862020-03-20 Tom Tromey <tromey@adacore.com>
4787
4788 * gdb.ada/sub_variant/subv.adb: New file.
4789 * gdb.ada/sub_variant.exp: New file.
4790
0dd7b8f7
TV
47912020-03-20 Tom de Vries <tdevries@suse.de>
4792
4793 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4794 first break fails.
4795 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4796
cada5fc9
AB
47972020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4798
4799 * gdb.server/exit-multiple-threads.c: New file.
4800 * gdb.server/exit-multiple-threads.exp: New file.
4801
6b8c53f2
AB
48022020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4803
4804 * gdb.fortran/mixed-lang-stack.c: New file.
4805 * gdb.fortran/mixed-lang-stack.cpp: New file.
4806 * gdb.fortran/mixed-lang-stack.exp: New file.
4807 * gdb.fortran/mixed-lang-stack.f90: New file.
4808
19a2740f
AB
48092020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4810
4811 * gdb.linespec/cp-completion-aliases.cc: New file.
4812 * gdb.linespec/cp-completion-aliases.exp: New file.
4813
d8c8b848
TV
48142020-03-19 Tom de Vries <tdevries@suse.de>
4815
4816 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4817 more precise.
4818
a9933ccf
TV
48192020-03-18 Tom de Vries <tdevries@suse.de>
4820
4821 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4822 * gdb.dwarf2/break-inline-psymtab.c: New test.
4823 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4824
2f89101f
TV
48252020-03-16 Tom de Vries <tdevries@suse.de>
4826
4827 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4828 cache_verify and cache_verify_proc.
4829
6b9374f1
TV
48302020-03-15 Tom de Vries <tdevries@suse.de>
4831
4832 * gdb.server/solib-list.exp: Handle
4833 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4834
eaeaf44c
TV
48352020-03-15 Tom de Vries <tdevries@suse.de>
4836
4837 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4838 objfiles".
4839
3293bbaf
TT
48402020-03-14 Tom Tromey <tom@tromey.com>
4841
4842 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4843
ab44624c
TV
48442020-03-14 Tom de Vries <tdevries@suse.de>
4845
4846 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4847
54c43825
TV
48482020-03-14 Tom de Vries <tdevries@suse.de>
4849
4850 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4851 result in line-by-line fashion.
4852
2ac70237
TV
48532020-03-14 Tom de Vries <tdevries@suse.de>
4854
4855 * lib/gdb.exp (supports_statement_frontiers): New proc.
4856 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4857
09546b56
TV
48582020-03-14 Tom de Vries <tdevries@suse.de>
4859
4860 * gdb.base/printcmds.exp: Add missing quoting for "print
4861 teststring2".
4862
a1f6a07c
TT
48632020-03-13 Tom Tromey <tom@tromey.com>
4864
4865 * gdb.base/printcmds.exp (test_print_strings): Add regression
4866 test.
4867 * gdb.base/printcmds.c (charptr): New typedef.
4868 (teststring2): New global.
4869
1b83d09c
AB
48702020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4871
4872 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4873 full path in the test name.
4874 (test_ld): Add some with_test_prefix blocks to make test names
4875 unique.
4876
2d61316c
TV
48772020-03-13 Tom de Vries <tdevries@suse.de>
4878
4879 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4880
2e9145ac
TV
48812020-03-13 Tom de Vries <tdevries@suse.de>
4882
4883 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4884
96c7f873
TV
48852020-03-13 Tom de Vries <tdevries@suse.de>
4886
4887 PR symtab/25646
4888 * gdb.dwarf2/imported-unit.exp: Add test.
4889
49ba92c0
TV
48902020-03-13 Tom de Vries <tdevries@suse.de>
4891
4892 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4893 (var1, var2): New variable.
4894 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4895 matching symbols.
4896
301b21e0
TV
48972020-03-13 Tom de Vries <tdevries@suse.de>
4898
4899 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4900 (Term::command): Use prompt prefix.
4901 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4902 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4903 command_no_prompt_prefix instead of prefix.
4904 * gdb.tui/tui-layout-asm.exp: Same.
4905
3f512721
SM
49062020-03-12 Simon Marchi <simon.marchi@efficios.com>
4907
4908 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4909
40310f30
SM
49102020-03-12 Simon Marchi <simon.marchi@efficios.com>
4911
4912 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4913 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4914 on" while stepping over the test instruction, match printed
4915 message.
4916
09252140
TV
49172020-03-12 Tom de Vries <tdevries@suse.de>
4918
4919 * gdb.base/info-types.exp: Use exp_continue during matching of output
4920 of "info types".
4921
14e9c72c
TV
49222020-03-12 Tom de Vries <tdevries@suse.de>
4923
4924 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4925
e515d67e
TV
49262020-03-12 Tom de Vries <tdevries@suse.de>
4927
4928 * gdb.fortran/module.exp: Use exp_continue during matching of output
4929 of "info variable -n".
4930
307eafd8
TV
49312020-03-12 Tom de Vries <tdevries@suse.de>
4932
4933 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4934 gdb.dwarf2/dw2-ranges-base.c.
4935
9a2de3fc
TV
49362020-03-12 Tom de Vries <tdevries@suse.de>
4937
4938 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4939 in presence of GLIBC debuginfo.
4940
3217502e
TV
49412020-03-12 Tom de Vries <tdevries@suse.de>
4942
4943 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4944 $core.
4945
1281424c
TV
49462020-03-12 Tom de Vries <tdevries@suse.de>
4947
4948 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4949 more precise.
4950
038b97fc
SM
49512020-03-11 Simon Marchi <simon.marchi@efficios.com>
4952
4953 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4954 from Unix to Windows path.
4955
5308d1e7
TV
49562020-03-11 Tom de Vries <tdevries@suse.de>
4957
4958 * gdb.ada/minsyms.exp: Set language to ada.
4959
f870f78f
TV
49602020-03-11 Tom de Vries <tdevries@suse.de>
4961
4962 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4963
5a13315d
TV
49642020-03-11 Tom de Vries <tdevries@suse.de>
4965
4966 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4967
976862ed
TT
49682020-03-11 Tom Tromey <tromey@adacore.com>
4969
4970 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4971
7462c383
TV
49722020-03-11 Tom de Vries <tdevries@suse.de>
4973
4974 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4975
1c6c46a0
TV
49762020-03-11 Tom de Vries <tdevries@suse.de>
4977
4978 * gdb.base/break-interp.exp: Limit verbose scope.
4979
44f41bb7
TV
49802020-03-11 Tom de Vries <tdevries@suse.de>
4981
4982 * gdb.fortran/logical.f90: Define variable with character type.
4983 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4984
b76f3a42
TV
49852020-03-11 Tom de Vries <tdevries@suse.de>
4986
4987 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4988
1c33af77
TV
49892020-03-11 Tom de Vries <tdevries@suse.de>
4990
4991 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4992 symtabs.
4993
8c95582d
AB
49942020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4995 Bernd Edlinger <bernd.edlinger@hotmail.de>
4996
4997 * gdb.cp/step-and-next-inline.cc: New file.
4998 * gdb.cp/step-and-next-inline.exp: New file.
4999 * gdb.cp/step-and-next-inline.h: New file.
5000 * gdb.dwarf2/dw2-is-stmt.c: New file.
5001 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5002 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5003 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5004 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5005
cecf8547
AB
50062020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5007
5008 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5009 is-stmt flag in the line table.
5010
0ba678c9
TV
50112020-03-09 Tom de Vries <tdevries@suse.de>
5012
5013 * lib/gdb.exp (cached_file): Create cache dir.
5014
72fbdf83
TV
50152020-03-07 Tom de Vries <tdevries@suse.de>
5016
5017 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5018 * gdb.cp/rvalue-ref-params.exp: Same.
5019
436b5e99
TV
50202020-03-06 Tom de Vries <tdevries@suse.de>
5021
5022 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5023 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5024
09f2921c
TV
50252020-03-06 Tom de Vries <tdevries@suse.de>
5026
5027 * README: Fix "the the".
5028 * gdb.base/dprintf.exp: Same.
5029
50a3cc5d
TV
50302020-03-05 Tom de Vries <tdevries@suse.de>
5031
5032 * gdb.base/maint.exp: Update "main print statistics" expected output.
5033
0a709cba
AKS
50342020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5035
5036 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5037 (fortran_int8): Likewise.
5038 (fortran_real4): Likewise.
5039 (fortran_real8): Likewise.
5040 (fortran_complex4): Likewise.
5041 (fortran_logical4): Likewise.
5042 (fortran_character1): Likewise.
5043
5e5d66b6
AB
50442020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5045
5046 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5047 printed as true.
5048
7b973adc
SDJ
50492020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5050
5051 * gdb.base/printcmds.exp: Add test to verify printf of a
5052 variable holding an address.
5053
478e490a
TV
50542020-03-03 Tom de Vries <tdevries@suse.de>
5055
5056 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5057
1ef44e86
TV
50582020-03-03 Tom de Vries <tdevries@suse.de>
5059
5060 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5061 gdb_test_multiple call.
5062
b98cc2cf
TV
50632020-03-03 Tom de Vries <tdevries@suse.de>
5064
5065 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5066 gdb_test_multiple calls.
5067
63e163f2
AB
50682020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5069
5070 * gdb.base/default.exp: Remove test of 'set history filename'.
5071 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5072 filename to the empty string.
5073 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5074 and GDBHISTSIZE.
5075
24ed6739
AB
50762020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5077
5078 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5079 disabled.
5080
590003dc 50812020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5082 Tom de Vries <tdevries@suse.de>
590003dc
TV
5083
5084 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5085 -prompt prefix, before user_code argument. Add -lbl option likewise.
5086 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5087 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5088 argument.
5089 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5090 have "\r\n" at start-of-line, instead of at end-of-line.
5091
f5e46084
SM
50922020-02-28 Simon Marchi <simon.marchi@efficios.com>
5093
5094 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5095 libinproctrace.so.
5096
f7a7000d
LM
50972020-02-28 Luis Machado <luis.machado@linaro.org>
5098
5099 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5100 to "p/x".
5101
718e0816
LM
51022020-02-28 Luis Machado <luis.machado@linaro.org>
5103
5104 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5105 asm/ptrace.h and error.h.
5106
13c3a74a
TV
51072020-02-28 Tom de Vries <tdevries@suse.de>
5108
5109 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5110 (struct wrapper, do_something, mundane/symada__cS): Move ...
5111 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5112 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5113 Update "print symada__cS before partial symtab expansion" regexp.
5114 Update breakpoint location. Flush symbol cache after expansion.
5115
85d2d5bb
LM
51162020-02-28 Luis Machado <luis.machado@linaro.org>
5117
5118 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5119
3608f86c
TV
51202020-02-27 Tom de Vries <tdevries@suse.de>
5121
5122 * config/sid.exp: Remove unused globals.
5123 * gdb.base/attach.exp: Same.
5124 * gdb.base/catch-load.exp: Same.
5125 * gdb.base/dbx.exp: Same.
5126 * lib/gdb.exp: Same.
5127 * lib/mi-support.exp: Same.
5128 * lib/prompt.exp: Same.
5129
c8d4f6df
TV
51302020-02-27 Tom de Vries <tdevries@suse.de>
5131
5132 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5133 not set.
5134
0d79cdc4
AM
51352020-02-26 Aaron Merey <amerey@redhat.com>
5136
5137 * gdb.debuginfod: New directory for debuginfod tests.
5138 * gdb.debuginfod/main.c: New test file.
5139 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5140
0dce4280
TV
51412020-02-26 Tom de Vries <tdevries@suse.de>
5142
5143 PR gdb/25603
5144 * gdb.base/persistent-lang.cc: New test.
5145 * gdb.base/persistent-lang.exp: New file.
5146
9e80cfa1
AB
51472020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5148
5149 * gdb.fortran/derived-type-striding.exp: Add a new test.
5150 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5151 new test.
5152
2078dbb2
AB
51532020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5154
5155 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5156 names.
5157
70d49700
TV
51582020-02-25 Tom de Vries <tdevries@suse.de>
5159
5160 PR go/18926
5161 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5162
a88ef40d
TV
51632020-02-24 Tom de Vries <tdevries@suse.de>
5164
5165 PR gdb/25592
5166 * gdb.base/info-locals-unused-static-var.c: New test.
5167 * gdb.base/info-locals-unused-static-var.exp: New file.
5168
01b1af32
TT
51692020-02-22 Tom Tromey <tom@tromey.com>
5170
5171 * gdb.python/tui-window.exp: New file.
5172 * gdb.python/tui-window.py: New file.
5173
7c043ba6
TT
51742020-02-22 Tom Tromey <tom@tromey.com>
5175
5176 PR tui/17850:
5177 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5178 tests.
5179
c22fef7e
TT
51802020-02-22 Tom Tromey <tom@tromey.com>
5181
5182 * gdb.tui/new-layout.exp: Add sub-layout tests.
5183
ee325b61
TT
51842020-02-22 Tom Tromey <tom@tromey.com>
5185
5186 * gdb.tui/new-layout.exp: New file.
5187
3f0cbb04
TT
51882020-02-22 Tom Tromey <tom@tromey.com>
5189
5190 * gdb.rust/rust-style.rs: New file.
5191 * gdb.rust/rust-style.exp: New file.
5192 * gdb.base/style.exp: Test structure printing.
5193 * gdb.base/style.c (struct some_struct): New type.
5194 (enum etype): New type.
5195 (struct_value): New global.
5196
75525152
TV
51972020-02-21 Tom de Vries <tdevries@suse.de>
5198
5199 PR go/18926
5200 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5201 Remove blanket xfails. Use message argument for gdb_breakpoint.
5202 Make continuing to breakpoint test conditional on setting breakpoint.
5203 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5204 DW_AT_name attribute. Add xfail for GCC PR93866.
5205
bd360d30
AB
52062020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5207
5208 * gdb.dwarf2/cpp-linkage-name.c: New file.
5209 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5210
c7adb09f 52112020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5212
5213 * lib/gdb.exp (gdb_wrapper_init): Reset
5214 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5215 not exist.
5216
a9c79803
TV
52172020-02-20 Tom de Vries <tdevries@suse.de>
5218
5219 PR go/17018
5220 * gdb.go/hello.exp: Copy ...
5221 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5222 print of st to print value of global definition. Add xfail for GCC
5223 PR93844.
5224 * gdb.go/hello.exp: Remove printing of st before definition.
5225 * gdb.go/hello.go: Copy ...
5226 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5227 to st.
5228 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5229
d7445728
TV
52302020-02-20 Tom de Vries <tdevries@suse.de>
5231
5232 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5233 (gdb_simple_compile): Handle compile_flags go by using .go extension
5234 for source file.
5235 * gdb.go/chan.exp: Use support_go_compile.
5236 * gdb.go/handcall.exp: Same.
5237 * gdb.go/hello.exp: Same.
5238 * gdb.go/integers.exp: Same.
5239 * gdb.go/max-depth.exp: Same.
5240 * gdb.go/methods.exp: Same.
5241 * gdb.go/package.exp: Same.
5242 * gdb.go/strings.exp: Same.
5243 * gdb.go/types.exp: Same.
5244 * gdb.go/unsafe.exp: Same.
5245
c9c41e6d
TV
52462020-02-19 Tom de Vries <tdevries@suse.de>
5247
5248 * gdb.python/lib-types.exp: Make xfail more strict.
5249
f20ff837
TV
52502020-02-19 Tom de Vries <tdevries@suse.de>
5251
5252 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5253
08410482
DE
52542020-02-19 Doug Evans <dje@google.com>
5255
5256 PR rust/25535
5257 * gdb.rust/simple.exp: Add test.
5258 * gdb.rust/simple.rs: Add test.
5259
623563f7
TV
52602020-02-19 Tom de Vries <tdevries@suse.de>
5261
5262 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5263 output line-by-line.
5264
d3308cfd
TV
52652020-02-19 Tom de Vries <tdevries@suse.de>
5266
5267 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5268
86cbc5dc
TV
52692020-02-19 Tom de Vries <tdevries@suse.de>
5270
5271 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5272 prelink.
5273
9db2b96b
TV
52742020-02-19 Tom de Vries <tdevries@suse.de>
5275
5276 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5277 (gdb_do_cache): Use gdb_do_cache_wrap.
5278 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5279
89e2fdc5
TV
52802020-02-19 Tom de Vries <tdevries@suse.de>
5281
5282 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5283 gdb_compile option.
5284
373d7ac0
SM
52852020-02-18 Simon Marchi <simon.marchi@efficios.com>
5286
5287 * gdb.base/printcmds.exp (test_print_enums): Update expected
5288 output.
5289
b29a2df0
SM
52902020-02-18 Simon Marchi <simon.marchi@efficios.com>
5291
5292 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5293 for "unknown".
5294
6740f0cc
SM
52952020-02-18 Simon Marchi <simon.marchi@efficios.com>
5296
5297 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5298 enumerator.
5299
edd45eb0
SM
53002020-02-18 Simon Marchi <simon.marchi@efficios.com>
5301
5302 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5303 FE_, add FE_NONE.
5304 (three): Update.
5305 (enum flag_enum_without_zero): New enum.
5306 (flag_enum_without_zero): New variable.
5307 (enum not_flag_enum): New enum.
5308 (three_not_flag): New variable.
5309 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5310 (test_print_enums): Add more tests for printing flag enums.
5311
d4295de4
TV
53122020-02-18 Tom de Vries <tdevries@suse.de>
5313
5314 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5315 (gdb_compile_ada): ... here.
5316 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5317 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5318
f251f505
TT
53192020-02-14 Tom Tromey <tom@tromey.com>
5320
5321 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5322 build directory.
5323 * boards/gdbserver-base.exp: Update path to gdbserver.
5324
8f432634
TV
53252020-02-13 Tom de Vries <tdevries@suse.de>
5326
5327 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5328
92b6eaf7
TV
53292020-02-13 Tom de Vries <tdevries@suse.de>
5330
5331 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5332 are missing.
5333
f3b0f7fe
TV
53342020-02-13 Tom de Vries <tdevries@suse.de>
5335
5336 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5337 call.
5338
f6be8713
SDJ
53392020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5340
5341 PR tui/25126
5342 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5343 * gdb.base/cached-source-file.c: New file.
5344 * gdb.base/cached-source-file.exp: New file.
5345
b2770d5e
TV
53462020-02-11 Tom de Vries <tdevries@suse.de>
5347
5348 PR testsuite/25488
5349 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5350
44f6938e
TV
53512020-02-10 Tom de Vries <tdevries@suse.de>
5352
5353 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5354
5f0e2eb7
MR
53552020-02-10 Maciej W. Rozycki <macro@wdc.com>
5356
5357 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5358 and $after_addr are both integers before making a comparison.
5359
46ce2b6f
TV
53602020-02-09 Tom de Vries <tdevries@suse.de>
5361
5362 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5363 command output and paste it into gdb.log. If any, paste catch message
5364 to gdb.log.
5365
5abbbe1d
TT
53662020-02-07 Tom Tromey <tromey@adacore.com>
5367
5368 PR breakpoints/24915:
5369 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5370
1d5d29e7
SV
53712020-02-06 Shahab Vahedi <shahab@synopsys.com>
5372
5373 * gdb.tui/tui-missing-src.exp: Add the "missing source
5374 file" test for the TUI.
5375
b0999b9b
AB
53762020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5377
5378 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5379 including a port number in the output.
5380
c3b149eb
AKS
53812020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5382
5383 * lib/fortran.exp (fortran_int4): Handle clang.
5384 (fortran_int8): Likewise.
5385 (fortran_real4): Likewise.
5386 (fortran_real8): Likewise.
5387 (fortran_complex4): Likewise.
5388 (fortran_logical4): Likewise.
5389 (fortran_character1): Likewise.
5390
f8dcc90b
TV
53912020-02-04 Tom de Vries <tdevries@suse.de>
5392
5393 * README (Race detection): Add note.
5394
f90ac7c2
TV
53952020-02-04 Tom de Vries <tdevries@suse.de>
5396
5397 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5398
780636ae
TV
53992020-02-04 Tom de Vries <tdevries@suse.de>
5400
5401 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5402
5d2e1193
RA
54032020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5404
5405 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5406 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5407 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5408 blttar, bnetarl.
5409 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5410 binary for blttar, bnetarl.
5411 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5412 wait instruction. Delete ldmx test.
5413 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5414
e409c542
AKS
54152020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5416
5417 * gdb.fortran/array-bounds-high.exp: New file.
5418 * gdb.fortran/array-bounds-high.f90: New file.
5419
b0029748
LD
54202020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5421
5422 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5423 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5424
195a8287
TV
54252020-02-01 Tom de Vries <tdevries@suse.de>
5426
5427 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5428
42330a68
AB
54292020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5430
5431 PR tui/9765
5432 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5433 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5434
b62a8028
LM
54352020-01-29 Luis Machado <luis.machado@linaro.org>
5436
5437 * gdb.arch/aarch64-brk-patterns.c: New source file.
5438 * gdb.arch/aarch64-brk-patterns.exp: New test.
5439
5f440116
TBA
54402020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5441
5442 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5443 GCC/Clang version.
5444 * gdb.cp/pass-by-ref.exp: Ditto.
5445
ee2a6fc6
TV
54462020-01-29 Tom de Vries <tdevries@suse.de>
5447
5448 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5449 * gdb.threads/watchpoint-fork-mt.c: Same.
5450 * gdb.threads/watchpoint-fork-parent.c: Same.
5451 * gdb.threads/watchpoint-fork-st.c: Same.
5452 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5453
16b10d6e
LM
54542020-01-27 Luis Machado <luis.machado@linaro.org>
5455
5456 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5457 sitting at a syscall instruction when we hit the syscall function's
5458 breakpoint.
5459 Check PC against one obtained with the x command.
5460 Validate syscall number.
5461 (step_over_syscall): Don't continue to the syscall instruction if
5462 we're already there.
5463
b1468492
PW
54642020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5465
5466 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5467
7ffa82e1
AB
54682020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5469
5470 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5471 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5472
3d92a3e3
AB
54732020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5474
5475 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5476 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5477
94a72be7
AB
54782020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5479
5480 * gdb.base/maint.exp: Update line table parsing test.
5481 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5482
53af73bf
PA
54832020-01-24 Pedro Alves <palves@redhat.com>
5484
5485 PR gdb/25410
5486 * gdb.multi/multi-re-run-1.c: New.
5487 * gdb.multi/multi-re-run-2.c: New.
5488 * gdb.multi/multi-re-run.exp: New.
5489
1ba1ac88
AB
54902020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5491
5492 PR gdb/23718
5493 * gdb.server/server-kill-python.exp: New file.
5494
f3364a6d
AB
54952020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5496
5497 * gdb.server/multi-ui-errors.c: New file.
5498 * gdb.server/multi-ui-errors.exp: New file.
5499
733d0a67
AB
55002020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5501
5502 PR tui/9765
5503 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5504
4f13c1c0
TT
55052020-01-19 Tom Tromey <tom@tromey.com>
5506
5507 * gdb.tui/main.exp: Add check for plain "file".
5508
40c94099
CB
55092020-01-16 Christian Biesinger <cbiesinger@google.com>
5510
5511 * lib/gdb.exp: Fix spelling error (seperatelly).
5512
ff47f4f0
TT
55132020-01-14 Tom Tromey <tom@tromey.com>
5514
5515 PR symtab/12535:
5516 * gdb.python/python.exp: Test decode_line with empty string
5517 argument.
5518
717c684d
BE
55192020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5520
5521 * gdb.base/skip-inline.exp: Extend test.
5522
44e4c775
AB
55232020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5524
5525 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5526 * gdb.dwarf2/dw2-bad-elf.c: New file.
5527 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5528
d93c6db7
AB
55292020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5530
5531 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5532 _line_saw_file.
5533
9a6d629c
AB
55342020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5535
5536 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5537 border.
5538
d9ebdab7
TBA
55392020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5540
5541 * gdb.multi/multi-target.exp (setup): Factor out "info
5542 connections" and "info inferiors" tests to ...
5543 (test_info_inferiors): ... this new procedure.
5544 (top level): Run new "info-inferiors" tests.
5545
f3c469b9
PA
55462020-01-10 Pedro Alves <palves@redhat.com>
5547
5548 * gdb.server/bkpt-other-inferior.exp: New file.
5549
121b3efd
PA
55502020-01-10 Pedro Alves <palves@redhat.com>
5551
5552 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5553 of "add-inferior".
5554 * gdb.base/quit-live.exp: Likewise.
5555 * gdb.base/remote-exec-file.exp: Likewise.
5556 * gdb.guile/scm-progspace.exp: Likewise.
5557 * gdb.linespec/linespec.exp: Likewise.
5558 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5559 * gdb.mi/user-selected-context-sync.exp: Likewise.
5560 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5561 "info inferiors" tests.
5562 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5563 "add-inferior".
5564 * gdb.multi/watchpoint-multi.exp: Likewise.
5565 * gdb.python/py-inferior.exp: Likewise.
5566 * gdb.server/extended-remote-restart.exp: Likewise.
5567 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5568 "info inferiors".
5569 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5570 * gdb.trace/report.exp: Likewise.
5571
1dadb1dd
PA
55722020-01-10 Pedro Alves <palves@redhat.com>
5573
5574 * gdb.multi/multi-target.c: New file.
5575 * gdb.multi/multi-target.exp: New file.
5576 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5577 mode requested, but remote does not support non-stop".
5578
78f2c40a
PA
55792020-01-10 Pedro Alves <palves@redhat.com>
5580
5581 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5582 disconnect before reconnecting.
5583
e7af6c70
TBA
55842020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5585 Pedro Alves <palves@redhat.com>
5586
5587 * gdb.server/connect-without-multi-process.exp: Also test
5588 continuing to end.
5589
acdf84a6
PA
55902020-01-10 Pedro Alves <palves@redhat.com>
5591
5592 * gdb.base/remote-exec-file.exp: New file.
5593
873657b9
PA
55942020-01-10 Pedro Alves <palves@redhat.com>
5595
5596 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5597 output.
5598 * gdb.threads/async.c: New.
5599 * gdb.threads/async.exp: New.
5600 * gdb.multi/tids-gid-reset.c: New.
5601 * gdb.multi/tids-gid-reset.exp: New.
5602
7f0ae84c
GB
56032020-01-10 George Barrett <bob@bob131.so>
5604
5605 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5606 to help in finding the image relocation offset.
5607 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5608 options in arguments.
5609 (stap_test_no_debuginfo): Likewise.
5610 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5611 test variants.
5612 (stap_test): Add null semaphore relocation test.
5613
47e9d49d
GB
56142020-01-10 George Barrett <bob@bob131.so>
5615
5616 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5617 * gdb.base/stap-probe.exp: Likewise.
5618 (stap_test): Pass argument as an additional flag.
5619 (stap_test_no_debuginfo): Likewise.
5620 (stap_test): Check `info probes stap' output for semaphore
5621 addresses if the test binary is supposed to have them.
5622
f5a7c406
AB
56232020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5624
5625 * gdb.tui/basic.exp: Add more scrolling tests.
5626
9ae6bf64
TT
56272020-01-09 Tom Tromey <tom@tromey.com>
5628
5629 PR tui/18932:
5630 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5631 meangingful value.
5632 (Term::command, Term::resize): Update.
5633 * gdb.tui/basic.exp: Add scrolling test.
5634
b2efe70c
AB
56352020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5636
5637 * gdb.tui/tui-layout-asm.exp: New file.
5638
3804da7e
AB
56392020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5640
5641 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5642
b40aa28f
AB
56432020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5644
5645 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5646 (Term::enter_tui): Use Term::prepare_for_tui.
5647
63ffd7c9
AB
56482020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5649
5650 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5651 called.
5652
3be966f6
AB
56532020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5654
5655 * gdb.base/skip.exp: Fix race condition in test.
5656
153d79c4
AB
56572020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5658
5659 * gdb.base/backtrace.c: New file.
5660 * gdb.base/backtrace.exp: New file.
5661
f2302a34
AB
56622020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5663
5664 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5665
6ec1d75e
PW
56662020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5667
5668 * gdb.base/style.exp: Test that warnings are styled.
5669
c296cbe6
BE
56702019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5671
5672 * gdb.base/line65535.exp: New file.
5673 * gdb.base/line65535.c: New file.
5674
b28a729d
SM
56752019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5676
5677 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5678 * lib/gnat_debug_info_test.adb: New file.
5679 * gdb.ada/ptype_tagged_param.exp: Use
5680 gnat_runtime_has_debug_info, expect a different output if
5681 runtime does not have debug info.
5682
7f2d7a0d
SM
56832019-12-20 Simon Marchi <simon.marchi@efficios.com>
5684
5685 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5686 (another) quote in test name.
5687
f3bce483
SM
56882019-12-20 Simon Marchi <simon.marchi@efficios.com>
5689
5690 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5691 Add quote in test name.
5692
c855a912
TBA
56932019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5694
5695 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5696 directory instead.
5697 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5698 * gdb.cp/pass-by-ref-2.cc: New file.
5699 * gdb.cp/pass-by-ref-2.exp: New file.
5700
fc9d2d72
TT
57012019-12-20 Tom Tromey <tom@tromey.com>
5702
5703 * gdb.tui/list-before.exp: New file.
5704
77b97e00
TT
57052019-12-20 Tom Tromey <tom@tromey.com>
5706
5707 * gdb.tui/list.exp: Check for source on initial listing.
5708
f69656d0
TT
57092019-12-11 Tom Tromey <tromey@adacore.com>
5710
5711 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5712 Add crlf test.
5713
99a55965
SM
57142019-12-18 Simon Marchi <simon.marchi@efficios.com>
5715
5716 * gdb.base/default.exp: Update value of $_gdb_major.
5717
5024637f
BE
57182019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5719
5720 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5721
b63634be
BE
57222019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5723
5724 * gdb.base/skip.exp: Whitespace fix.
5725
45d73523
BE
57262019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5727
5728 * gdb.base/skip-inline.c: New file.
5729 * gdb.base/skip-inline.exp: New file.
5730
d043f8c8
SM
57312019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5732
5733 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5734 jit_function_00 to jit_function_stack_mangle.
5735 * gdb.base/jithost.c (jit_function_t): Rename to...
5736 (jit_function_stack_mangle_t): ... this.
5737 (jit_function_add_t): New typedef.
5738 (jit_function_00_code): Rename to...
5739 (jit_function_stack_mangle_code): ... this, make static.
5740 (jit_function_add_code): New.
5741 (main): Generate "add" function and call it. Adjust to changes
5742 in jithost_abi.
5743 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5744 (struct jithost_abi) <begin, end>: Remove fields.
5745 <object, function_stack_mangle, function_add>: New fields.
5746 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5747 code_end>: Remove fields.
5748 <func_stack_mangle>: New field.
5749 (read_debug_info): Adjust to renaming, create block for "add"
5750 function.
5751 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5752
873de05c
TT
57532019-12-11 Tom Tromey <tom@tromey.com>
5754
5755 * gdb.tui/resize.exp: Fix regexp.
5756 * gdb.tui/regs.exp: Fix regexps.
5757 * gdb.tui/main.exp: Fix regexp.
5758
3d979945
TT
57592019-12-11 Tom Tromey <tom@tromey.com>
5760
5761 * gdb.tui/resize.exp: Update.
5762 * gdb.tui/empty.exp (layouts): Update.
5763
2192a9d3
TT
57642019-12-11 Tom Tromey <tom@tromey.com>
5765
5766 * gdb.tui/regs.exp: Update.
5767 * gdb.tui/empty.exp (layouts): Update.
5768 * gdb.tui/basic.exp: Update.
5769 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5770
d8edc8b7
PW
57712019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5772
5773 * gdb.base/options.exp: Add -raw-values in the print completion list.
5774 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5775
4c12d936
KB
57762019-12-10 Kevin Buettner <kevinb@redhat.com>
5777
5778 * gdb.threads/omp-par-scope.c: New file.
5779 * gdb/threads/omp-par-scope.exp: New file.
5780
26b911fb
KB
57812019-12-10 Kevin Buettner <kevinb@redhat.com>
5782
bb47f919
KB
5783 * lib/gdb.exp (support_nested_function_tests): New proc.
5784
57852019-12-10 Kevin Buettner <kevinb@redhat.com>
5786
5787 * lib/gdb.exp (gdb_compile_openmp): New proc.
5788 (build_executable_from_specs): Add an "openmp" option.
5789 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5790
6c71eb7d
TT
57912019-12-10 Tom Tromey <tromey@adacore.com>
5792
5793 * gdb.ada/unchecked_union.exp: New file.
5794 * gdb.ada/unchecked_union/pck.adb: New file.
5795 * gdb.ada/unchecked_union/pck.ads: New file.
5796 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5797 * gdb-utils.exp (string_to_regexp): Also quote "?".
5798
bac7c5cf
GB
57992019-12-10 George Barrett <bob@bob131.so>
5800
5801 Test scripted probe breakpoints.
5802 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5803 * gdb.python/py-breakpoint.c (main): Likewise.
5804 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5805 specifier test.
5806 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5807
330f1d38
TBA
58082019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5809
5810 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5811 an rvalue parameter.
5812 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5813 parameter.
5814
b43315e2
AB
58152019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5816
5817 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5818 modules.
5819
54f73dad
AB
58202019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5821
5822 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5823 broken version of GCC.
5824
d57cbee9
AB
58252019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5826
5827 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5828 sym-info-cmds library.
5829 * gdb.fortran/info-types.exp: Likewise.
5830 * lib/sym-info-cmds.exp: New file.
5831
c14aab8c
TV
58322019-12-08 Tom de Vries <tdevries@suse.de>
5833
5834 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5835
aa2d5a42
KS
58362019-12-07 Keith Seitz <keiths@redhat.com>
5837
5838 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5839 * gdb.base/corefile-buildid-shlib.c: New file.
5840 * gdb.base/corefile-buildid.c: New file.
5841 * gdb.base/corefile-buildid.exp: New file.
5842
93e55f0a
TV
58432019-12-06 Tom de Vries <tdevries@suse.de>
5844
5845 * gdb.dwarf2/varval.exp: Add decl before def test.
5846
c7d12402
TBA
58472019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5848
5849 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5850
06acc08f
TBA
58512019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5852
5853 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5854 CV and reference conversion for overload resolution.
5855 * gdb.cp/rvalue-ref-overload.exp: Test it.
5856
e0fad1ea
PW
58572019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5858
5859 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5860 * gdb.base/frameapply.exp: Test faas without command.
5861
8d70a9f0
AB
58622019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5863
5864 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5865 Fortran tests.
5866 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5867 order.
5868
36c8fb93
AB
58692019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5870
5871 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5872 casting to type with no kind specified.
5873 (test_basic_parsing_of_type_kinds): Additional tests for types
5874 with no kind specified, and add tests for single/double
5875 precision/complex types.
5876
4139ff00
TT
58772019-12-04 Tom Tromey <tromey@adacore.com>
5878
5879 * gdb.base/endianity.c (struct other) <x>: New field.
5880 (main): Initialize it.
5881 * gdb.base/endianity.exp: Update.
5882
a05cf17a
TT
58832019-12-04 Tom Tromey <tromey@adacore.com>
5884
5885 * gdb.ada/scalar_storage/storage.adb: New file.
5886 * gdb.ada/scalar_storage/pck.adb: New file.
5887 * gdb.ada/scalar_storage/pck.ads: New file.
5888 * gdb.ada/scalar_storage.exp: New file.
5889
103a685e
TT
58902019-12-04 Tom Tromey <tromey@adacore.com>
5891
5892 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5893 (main): Initialize it.
5894 * gdb.base/endianity.exp: Update.
5895
c2512106
AB
58962019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5897
5898 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5899
293b38d6
AB
59002019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5901
5902 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5903 -symbol-info-module-functions and -symbol-info-module-variables.
5904
216a7e6b
AB
59052019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5906
5907 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5908
5bbd8269
AB
59092019-12-01 Richard Bunt <richard.bunt@arm.com>
5910 Andrew Burgess <andrew.burgess@embecosm.com>
5911
5912 * gdb.fortran/derived-type-striding.exp: New file.
5913 * gdb.fortran/derived-type-striding.f90: New file.
5914 * gdb.fortran/array-slices.exp: New file.
5915 * gdb.fortran/array-slices.f90: New file.
5916
be09caf1
PW
59172019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5918
5919 * gdb.base/define.exp: Test . in command names.
5920 * gdb.base/setshow.exp: Update test, as . is now part of
5921 command name.
5922
643c0cbe
PW
59232019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5924
5925 * gdb.base/define-prefix.exp: New file.
5926
dcdec678
AB
59272019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5928
5929 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5930 compile.
5931 (skip_btrace_pt_tests): Likewise.
5932
640ab947
AB
59332019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5934
5935 * gdb.fortran/info-modules.exp: Compile source files in correct
5936 order.
5937
d22670f0
KB
59382019-11-27 Kevin Buettner <kevinb@redhat.com>
5939
5940 * gdb.dwarf2/imported-unit.exp: New file.
5941 * gdb.dwarf2/imported-unit.c: New file.
5942
db5960b4
AB
59432019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5944
5945 * gdb.mi/mi-fortran-modules-2.f90: New file.
5946 * gdb.mi/mi-fortran-modules.exp: New file.
5947 * gdb.mi/mi-fortran-modules.f90: New file.
5948
7dc42066
AB
59492019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5950
5951 * gdb.mi/mi-sym-info-1.c: New file.
5952 * gdb.mi/mi-sym-info-2.c: New file.
5953 * gdb.mi/mi-sym-info.exp: New file.
5954
0dfeecca
TT
59552019-11-22 Tom Tromey <tromey@adacore.com>
5956
5957 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5958 * gdb.ada/tasks/foo.adb: Add another stopping location.
5959
34877895
PJ
59602019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5961
5962 * gdb.base/endianity.c: New test.
5963 * gdb.base/endianity.exp: New file.
5964
2e84f897
LD
59652019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5966
5967 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5968
65d1cd5f
TV
59692019-11-21 Tom de Vries <tdevries@suse.de>
5970
5971 PR gdb/24956
5972 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5973
4f22c3f4
SDJ
59742019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5975
5976 * gdb.python/py-progspace.exp: Add missing parentheses on some
5977 'print' commands.
5978
9f6ad286
TT
59792019-11-19 Tom Tromey <tom@tromey.com>
5980
5981 * gdb.tui/winheight.exp: New file.
5982
0b8dbf3f
AB
59832019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5984
5985 * gdb.base/ctf-whatis.c: Delete.
5986 * gdb.base/ctf-whatis.exp: Delete.
5987 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5988
f833b7a7
AB
59892019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5990
5991 * gdb.base/ctf-cvexpr.exp: Delete.
5992 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5993
30d0a636
AB
59942019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5995
5996 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5997 the compiler. Clean up header comment a little.
5998 * gdb.base/ctf-ptype.exp: Likewise.
5999 * gdb.base/ctf-whatis.exp: Likewise.
6000 * lib/gdb.exp (skip_ctf_tests): New proc.
6001
494409bb
SDJ
60022019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6003
6004 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6005 * gdb.tui/corefile-run.exp: New file.
6006
55708e99
TT
60072019-11-14 Tom Tromey <tromey@adacore.com>
6008
6009 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6010 regression tests.
6011
45e42163
TT
60122019-11-12 Tom Tromey <tom@tromey.com>
6013
6014 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6015 after any command. Expect prompt after WAIT_FOR is seen.
6016 (enter_tui): Enable resize messages.
6017 (command): Expect command in output.
6018 (get_line): Avoid error when cursor appears to be off-screen.
6019 (dump_screen): Include screen size in title.
6020 (_do_resize): New proc, from "resize".
6021 (resize): Rewrite. Do resize in two steps.
6022 * gdb.tui/empty.exp (layouts): Fix entries.
6023 (check_boxes): Remove xfail.
6024 (check_text): Dump screen on failure.
6025
086baaf1
AB
60262019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6027
6028 * gdb.python/py-symbol.exp: Add test for
6029 gdb.lookup_static_symbols.
6030
09ff83af
AB
60312019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6032
6033 * gdb.python/py-symbol.c: Declare and call function from new
6034 py-symbol-2.c file.
6035 * gdb.python/py-symbol.exp: Compile both source files, and add new
6036 tests for gdb.lookup_static_symbol.
6037 * gdb.python/py-symbol-2.c: New file.
6038
11af934b
TV
60392019-11-02 Tom de Vries <tdevries@suse.de>
6040
6041 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6042 * gdb.base/anon.exp: Same.
6043 * gdb.base/auto-connect-native-target.exp: Same.
6044 * gdb.base/call-ar-st.exp: Same.
6045 * gdb.base/catch-syscall.exp: Same.
6046 * gdb.base/commands.exp: Same.
6047 * gdb.base/default.exp: Same.
6048 * gdb.base/display.exp: Same.
6049 * gdb.base/float.exp: Same.
6050 * gdb.base/foll-fork.exp: Same.
6051 * gdb.base/help.exp: Same.
6052 * gdb.base/info-macros.exp: Same.
6053 * gdb.base/info-proc.exp: Same.
6054 * gdb.base/info-target.exp: Same.
6055 * gdb.base/long_long.exp: Same.
6056 * gdb.base/macscp.exp: Same.
6057 * gdb.base/memattr.exp: Same.
6058 * gdb.base/nofield.exp: Same.
6059 * gdb.base/pointers.exp: Same.
6060 * gdb.base/printcmds.exp: Same.
6061 * gdb.base/ptype.exp: Same.
6062 * gdb.base/restore.exp: Same.
6063 * gdb.base/return.exp: Same.
6064 * gdb.base/scope.exp: Same.
6065 * gdb.base/set-noassign.exp: Same.
6066 * gdb.base/setshow.exp: Same.
6067 * gdb.base/shlib-call.exp: Same.
6068 * gdb.base/signals.exp: Same.
6069 * gdb.base/sigstep.exp: Same.
6070 * gdb.base/skip.exp: Same.
6071 * gdb.base/solib-symbol.exp: Same.
6072 * gdb.base/stap-probe.exp: Same.
6073 * gdb.base/step-line.exp: Same.
6074 * gdb.base/step-test.exp: Same.
6075 * gdb.base/style.exp: Same.
6076 * gdb.base/varargs.exp: Same.
6077 * gdb.base/vla-datatypes.exp: Same.
6078 * gdb.base/vla-ptr.exp: Same.
6079 * gdb.base/vla-sideeffect.exp: Same.
6080 * gdb.base/volatile.exp: Same.
6081 * gdb.base/watch-cond-infcall.exp: Same.
6082 * gdb.base/watchpoint.exp: Same.
6083
e96ec2ba
TV
60842019-11-02 Tom de Vries <tdevries@suse.de>
6085
6086 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6087 * gdb.cp/cpexprs.exp: Same.
6088 * gdb.cp/except-multi-location.exp: Same.
6089 * gdb.cp/exceptprint.exp: Same.
6090 * gdb.cp/gdb2384.exp: Same.
6091 * gdb.cp/inherit.exp: Same.
6092 * gdb.cp/m-static.exp: Same.
6093 * gdb.cp/meth-typedefs.exp: Same.
6094 * gdb.cp/misc.exp: Same.
6095 * gdb.cp/namespace.exp: Same.
6096 * gdb.cp/non-trivial-retval.exp: Same.
6097 * gdb.cp/overload.exp: Same.
6098 * gdb.cp/pr17132.exp: Same.
6099 * gdb.cp/re-set-overloaded.exp: Same.
6100 * gdb.cp/rvalue-ref-types.exp: Same.
6101 * gdb.cp/templates.exp: Same.
6102
bd5766ec
LM
61032019-11-01 Luis Machado <luis.machado@linaro.org>
6104
6105 PR gdb/25124
6106
6107 * gdb.arch/pr25124.S: New file.
6108 * gdb.arch/pr25124.exp: New file.
6109
165f8965
AB
61102019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6111
6112 * gdb.fortran/info-modules.exp: Update expected results, and add
6113 additional tests for 'info module functinos', and 'info module
6114 variables'.
6115 * gdb.fortran/info-types.exp: Update expected results.
6116 * gdb.fortran/info-types.f90: Extend testcase with additional
6117 module variables and functions.
6118
59c35742
AB
61192019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6120
6121 * gdb.fortran/info-modules.exp: New file.
6122 * gdb.fortran/info-types.exp: Build with new file.
6123 * gdb.fortran/info-types.f90: Include and use new module.
6124 * gdb.fortran/info-types-2.f90: New file.
6125
f3fb2519
PW
61262019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6127
6128 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6129 * gdb.base/settings.exp: Test all settings types using
6130 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6131 that now verifies that the value of "maint show" is the same as
6132 returned by the settings functions. Test the type of the
6133 maintenance settings.
6134 * gdb.base/default.exp: Update show_conv_list.
6135
d1e36019
TV
61362019-10-31 Tom de Vries <tdevries@suse.de>
6137
6138 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6139 gdb_test.
6140 * gdb.arch/amd64-disp-step.exp: Same.
6141 * gdb.asm/asm-source.exp: Same.
6142 * gdb.btrace/buffer-size.exp: Same.
6143 * gdb.btrace/cpu.exp: Same.
6144 * gdb.btrace/enable.exp: Same.
6145 * gdb.dwarf2/count.exp: Same.
6146 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6147 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6148 * gdb.fortran/vla-datatypes.exp: Same.
6149 * gdb.fortran/vla-history.exp: Same.
6150 * gdb.fortran/vla-ptype.exp: Same.
6151 * gdb.fortran/vla-value.exp: Same.
6152 * gdb.fortran/whatis_type.exp: Same.
6153 * gdb.guile/guile.exp: Same.
6154 * gdb.multi/tids.exp: Same.
6155 * gdb.python/py-finish-breakpoint.exp: Same.
6156 * gdb.python/py-framefilter.exp: Same.
6157 * gdb.python/py-pp-registration.exp: Same.
6158 * gdb.python/py-xmethods.exp: Same.
6159 * gdb.python/python.exp: Same.
6160 * gdb.server/connect-with-no-symbol-file.exp: Same.
6161 * gdb.server/no-thread-db.exp: Same.
6162 * gdb.server/run-without-local-binary.exp: Same.
6163 * gdb.stabs/weird.exp: Same.
6164 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6165 * gdb.threads/thread-find.exp: Same.
6166 * gdb.threads/tls-shared.exp: Same.
6167 * gdb.threads/tls.exp: Same.
6168 * gdb.threads/wp-replication.exp: Same.
6169 * gdb.trace/ax.exp: Same.
6170 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6171
3d11e68e
TV
61722019-10-31 Tom de Vries <tdevries@suse.de>
6173
6174 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6175 * gdb.ada/array_subscript_addr.exp: Same.
6176 * gdb.ada/arrayidx.exp: Same.
6177 * gdb.ada/arrayparam.exp: Same.
6178 * gdb.ada/arrayptr.exp: Same.
6179 * gdb.ada/boolean_expr.exp: Same.
6180 * gdb.ada/call_pn.exp: Same.
6181 * gdb.ada/complete.exp: Same.
6182 * gdb.ada/fixed_cmp.exp: Same.
6183 * gdb.ada/fun_addr.exp: Same.
6184 * gdb.ada/funcall_param.exp: Same.
6185 * gdb.ada/interface.exp: Same.
6186 * gdb.ada/mod_from_name.exp: Same.
6187 * gdb.ada/null_array.exp: Same.
6188 * gdb.ada/packed_array.exp: Same.
6189 * gdb.ada/packed_tagged.exp: Same.
6190 * gdb.ada/print_chars.exp: Same.
6191 * gdb.ada/print_pc.exp: Same.
6192 * gdb.ada/ptype_arith_binop.exp: Same.
6193 * gdb.ada/ptype_field.exp: Same.
6194 * gdb.ada/ptype_tagged_param.exp: Same.
6195 * gdb.ada/rec_return.exp: Same.
6196 * gdb.ada/ref_tick_size.exp: Same.
6197 * gdb.ada/str_ref_cmp.exp: Same.
6198 * gdb.ada/taft_type.exp: Same.
6199 * gdb.ada/tagged.exp: Same.
6200 * gdb.ada/type_coercion.exp: Same.
6201 * gdb.ada/uninitialized_vars.exp: Same.
6202
60b6ede8
TV
62032019-10-30 Tom de Vries <tdevries@suse.de>
6204
6205 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6206
30baf67b
TV
62072019-10-26 Tom de Vries <tdevries@suse.de>
6208
6209 * gdb.base/bigcore.c: Fix typos in comments.
6210 * gdb.base/ctf-ptype.c: Same.
6211 * gdb.base/long_long.c: Same.
6212 * gdb.dwarf2/dw2-op-out-param.S: Same.
6213 * gdb.python/py-evthreads.c: Same.
6214 * gdb.reverse/i387-stack-reverse.c: Same.
6215 * gdb.trace/tfile.c: Same.
6216 * lib/compiler.c: Same.
6217 * lib/compiler.cc: Same.
6218
158da0d1
TV
62192019-10-25 Tom de Vries <tdevries@suse.de>
6220
6221 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6222 gdb_test_multiple calls.
6223 * gdb.reverse/sigall-reverse.exp: Same.
6224 * gdb.reverse/solib-precsave.exp: Same.
6225 * gdb.reverse/solib-reverse.exp: Same.
6226 * gdb.reverse/until-precsave.exp: Same.
6227 * gdb.reverse/until-reverse.exp: Same.
6228
4ccdfbec
TV
62292019-10-24 Tom de Vries <tdevries@suse.de>
6230
6231 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6232 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6233 kfail using -wrap pattern flag and convenience variable
6234 gdb_test_name.
6235
33d569b7
AB
62362019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6237
6238 * gdb.python/py-progspace.exp: Add tests for the
6239 Progspace.block_for_pc method.
6240
4d0b984b
TT
62412019-10-23 Tom Tromey <tom@tromey.com>
6242
6243 * configure: Rebuild.
6244 * aclocal.m4: Use m4_include, not sinclude.
6245
94cb3754
TV
62462019-10-21 Tom de Vries <tdevries@suse.de>
6247
6248 * gdb.base/infcall-nested-structs.c: Add
6249 __attribute__((noinline,noclone)) to all functions.
6250 (call_all): Add missing variable initialization. Simplify return value.
6251 (breakpt): Increment volatile variable, to prevent call from being
6252 optimized out.
6253 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6254
062f1fc1
TV
62552019-10-17 Tom de Vries <tdevries@suse.de>
6256
6257 * gdb.fortran/module.exp: Allow info variables to print info for files
6258 other than module.f90.
6259
0b54364d
AB
62602019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6261
6262 * gdb.fortran/module.exp: Extend with 'info variables' test.
6263
7ff5fae7
AB
62642019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6265
6266 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6267 F77_FOR_TARGET.
6268
d10eccaa
TV
62692019-10-16 Tom de Vries <tdevries@suse.de>
6270
6271 PR tdep/25096
6272 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6273
745ff14e
TV
62742019-10-16 Tom de Vries <tdevries@suse.de>
6275
6276 PR tdep/24104
6277 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6278 Add KFAIL for PR tdep/25096.
6279
03e1ab94
TV
62802019-10-16 Tom de Vries <tdevries@suse.de>
6281
6282 PR testsuite/25059
6283 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6284
b17fcc10
TV
62852019-10-16 Tom de Vries <tdevries@suse.de>
6286
6287 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6288 as signed.
6289
9223170f
SM
62902019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6291
6292 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6293 one instead of increasing timeout.
6294
d6e76313
TV
62952019-10-13 Tom de Vries <tdevries@suse.de>
6296
6297 PR record/25038
6298 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6299 * gdb.reverse/sigall-reverse.exp: Same.
6300 * gdb.reverse/solib-precsave.exp: Same.
6301 * gdb.reverse/solib-reverse.exp: Same.
6302 * gdb.reverse/step-precsave.exp: Same.
6303 * gdb.reverse/until-precsave.exp: Same.
6304 * gdb.reverse/until-reverse.exp: Same.
6305 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6306
6dfc0041
AA
63072019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6308
6309 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6310 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6311 (cmp_struct_05_01, cmp_struct_static_02_01)
6312 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6313 comparisons.
6314
abcf2cc8
TV
63152019-10-10 Tom de Vries <tdevries@suse.de>
6316
6317 PR testsuite/24888
6318 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6319 gnatlink.
6320
a50faaf6
TV
63212019-10-09 Tom de Vries <tdevries@suse.de>
6322
6323 PR testsuite/25048
6324 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6325
60ff3cd7
AB
63262019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6327
6328 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6329 exceptions due to missing debug information.
6330
dfee8566
TV
63312019-10-07 Tom de Vries <tdevries@suse.de>
6332
6333 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6334
3d63690a
AB
63352019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6336
6337 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6338 * gdb.base/annota1.exp: Update to use gdb_test_name.
6339
30d1f018
WP
63402019-10-07 Weimin Pan <weimin.pan@oracle.com>
6341
6342 * gdb.base/ctf-whatis.exp: New file.
6343 * gdb.base/ctf-whatis.c: New file.
6344 * gdb.base/ctf-ptype.exp: New file.
6345 * gdb.base/ctf-ptype.c: New file.
6346 * gdb.base/ctf-constvars.exp: New file.
6347 * gdb.base/ctf-constvars.c: New file.
6348 * gdb.base/ctf-cvexpr.exp: New file.
6349
4dbbb47c
TV
63502019-10-04 Tom de Vries <tdevries@suse.de>
6351
6352 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6353 for loop.
6354
77c2dba3
TT
63552019-10-03 Tom Tromey <tom@tromey.com>
6356
6357 PR rust/24976:
6358 * gdb.rust/simple.rs (Union2): New type.
6359 (main): Use Union2.
6360 * gdb.rust/simple.exp: Add test.
6361
179aed7f
AB
63622019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6363
6364 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6365 nested function prefix.
6366
0a4b0913
AB
63672019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6368 Richard Bunt <richard.bunt@arm.com>
6369 Andrew Burgess <andrew.burgess@embecosm.com>
6370
6371 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6372 nested functions.
6373 * gdb.fortran/nested-funcs.f90: Update expected results.
6374 * gdb.fortran/nested-funcs-2.exp: New file.
6375 * gdb.fortran/nested-funcs-2.f90: New file.
6376
082cce05
AB
63772019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6378
6379 * gdb.python/py-parameter.exp: Make test names unique.
6380 * gdb.python/py-template.exp: Likewise.
6381 * gdb.python/py-value.exp: Likewise.
6382
2b74ba5a
AB
63832019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6384
6385 * gdb.base/break-interp.exp: Reduce test name duplication.
6386 * gdb.base/call-sc.exp: Likewise.
6387 * gdb.base/callfuncs.exp: Likewise.
6388 * gdb.base/charset.exp: Likewise.
6389 * gdb.base/dump.exp: Likewise.
6390 * gdb.base/ena-dis-br.exp: Likewise.
6391 * gdb.base/relational.exp: Likewise.
6392 * gdb.base/step-over-syscall.exp: Likewise.
6393 * gdb.base/structs.exp: Likewise.
6394
58eb20d5
AB
63952019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6396
6397 * gdb.linespec/explicit.exp: Make test names unique.
6398 * gdb.linespec/ls-errs.exp: Likewise.
6399
4d421147
AB
64002019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6401
6402 * gdb.reverse/break-precsave.exp: Make test names unique.
6403 * gdb.reverse/break-reverse.exp: Likewise.
6404 * gdb.reverse/finish-precsave.exp: Likewise.
6405 * gdb.reverse/finish-reverse.exp: Likewise.
6406 * gdb.reverse/machinestate-precsave.exp: Likewise.
6407 * gdb.reverse/machinestate.exp: Likewise.
6408 * gdb.reverse/readv-reverse.exp: Likewise.
6409 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6410 * gdb.reverse/sigall-precsave.exp: Likewise.
6411 * gdb.reverse/sigall-reverse.exp: Likewise.
6412 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6413 * gdb.reverse/watch-precsave.exp: Likewise.
6414 * gdb.reverse/watch-reverse.exp: Likewise.
6415
d8c06f22
AB
64162019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6417
6418 * gdb.threads/stop-with-handle.c: New file.
6419 * gdb.threads/stop-with-handle.exp: New file.
6420
3a56ed86
TV
64212019-10-03 Tom de Vries <tdevries@suse.de>
6422
6423 PR testsuite/25059
6424 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6425 directory" line to be missing.
6426
42275044
TV
64272019-10-03 Tom de Vries <tdevries@suse.de>
6428
6429 PR testsuite/25059
6430 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6431 type optional.
6432
9ef62df0
AA
64332019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6434
6435 * gdb.python/py-format-string.c (string.h): New include.
6436 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6437 the same value, for endianness-independence.
6438 * gdb.python/py-format-string.exp (default_regexp_dict)
6439 (test_pretty_structs, test_format): Adjust expected output to the
6440 changed initialization.
6441
37f6a7f4
TT
64422019-10-02 Tom Tromey <tromey@adacore.com>
6443
6444 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6445
1d58d6a2
PA
64462019-10-02 Pedro Alves <palves@redhat.com>
6447 Andrew Burgess <andrew.burgess@embecosm.com>
6448
6449 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6450 "print-file-var.h".
6451 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6452 (get_version_1): Print this_version_id and its address.
6453 Add extern "C" wrappers around interface functions.
6454 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6455 "print-file-var.h".
6456 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6457 (get_version_2): Print this_version_id and its address.
6458 Add extern "C" wrappers around interface functions.
6459 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6460 <stddef.h> and "print-file-var.h".
6461 Add extern "C" wrappers around interface functions.
6462 [VERSION_ID_MAIN] (this_version_id): Define.
6463 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6464 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6465 up extern "C" blocks.
6466 * gdb.base/print-file-var.exp (test): New, factored out from top
6467 level.
6468 (top level): Test all combinations of attribute hidden or not,
6469 dlopen or not, and this_version_id symbol in main file or not.
6470 Compile tests as both C++ and C, make test names unique.
6471
d770d56f
TT
64722019-10-01 Tom Tromey <tom@tromey.com>
6473
6474 * gdb.base/style.exp: Test "show logging filename".
6475
7f6aba03
TT
64762019-10-01 Tom Tromey <tom@tromey.com>
6477
6478 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6479 * gdb.base/style.exp: Add metadata style test.
6480
14309bb6
TT
64812019-10-01 Tom Tromey <tom@tromey.com>
6482
6483 * gdb.base/style.exp: Test "pwd".
6484
2a3c1174
PA
64852019-10-01 Tom Tromey <tom@tromey.com>
6486
6487 * gdb.base/style.exp: Update tests.
6488
53d666ec
AA
64892019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6490
6491 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6492 'six' to unsigned.
6493 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6494 'five'. Use an all-ones bit pattern for each.
6495 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6496 to its changed values.
6497
4a56a520
TT
64982019-09-30 Tom Tromey <tromey@adacore.com>
6499
6500 * gdb.rust/traits.rs: Disable all warnings.
6501
0df0352a
TV
65022019-09-29 Tom de Vries <tdevries@suse.de>
6503
aac66a4c 6504 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6505
73d9a918
TV
65062019-09-29 Tom de Vries <tdevries@suse.de>
6507
6508 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6509
060b3ab4
TV
65102019-09-27 Tom de Vries <tdevries@suse.de>
6511
6512 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6513
68f7d34d
TV
65142019-09-27 Tom de Vries <tdevries@suse.de>
6515
6516 PR record/23188
6517 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6518
5d63b30a
TT
65192019-09-26 Tom Tromey <tromey@adacore.com>
6520
6521 * gdb.ada/py_taft.exp: New file.
6522 * gdb.ada/py_taft/main.adb: New file.
6523 * gdb.ada/py_taft/pkg.adb: New file.
6524 * gdb.ada/py_taft/pkg.ads: New file.
6525
3d435220
TV
65262019-09-24 Tom de Vries <tdevries@suse.de>
6527
6528 PR gdb/24598
6529 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6530
77d03678
TV
65312019-09-22 Tom de Vries <tdevries@suse.de>
6532
6533 * gdb.base/restore.exp: Allow register variables to be optimized out at
6534 -O0.
6535
abf516c6
UW
65362019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6537
6538 * gdb.arch/spu-info.exp: Remove file.
6539 * gdb.arch/spu-info.c: Remove file.
6540 * gdb.arch/spu-ls.exp: Remove file.
6541 * gdb.arch/spu-ls.c: Remove file.
6542
6543 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6544 * gdb.asm/spu.inc: Remove file.
6545
6546 * gdb.base/dump.exp: Remove support for spu*-*-*.
6547 * gdb.base/stack-checking.exp: Likewise.
6548 * gdb.base/overlays.exp: Likewise.
6549 * gdb.base/ovlymgr.c: Likewise.
6550 * gdb.base/spu.ld: Remove file.
6551
6552 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6553 * gdb.cp/cpexprs.exp: Likewise.
6554 * gdb.cp/exception.exp: Likewise.
6555 * gdb.cp/gdb2495.exp: Likewise.
6556 * gdb.cp/mb-templates.exp: Likewise.
6557 * gdb.cp/pr9167.exp: Likewise.
6558 * gdb.cp/userdef.exp: Likewise.
6559
6560 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6561
6562 * gdb.cell: Remove directory.
6563 * lib/cell.exp: Remove file.
6564
e452e88f
TV
65652019-09-19 Tom de Vries <tdevries@suse.de>
6566
6567 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6568
8a625130
TV
65692019-09-19 Tom de Vries <tdevries@suse.de>
6570
6571 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6572
81dc3ab5
TV
65732019-09-19 Tom de Vries <tdevries@suse.de>
6574
6575 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6576 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6577 (gdb_target_cmd): ... here.
6578 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6579 value 2.
6580
b078f3ac
AB
65812019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6582
6583 * gdb.base/source-dir.exp: Avoid having directory names in test
6584 names.
6585
f1b620e9
MG
65862019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6587
6588 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6589 directory.
6590
67f3ed6a
AB
65912019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6592
6593 * gdb.base/list-missing-source.exp: New file.
6594
d1b70248
TV
65952019-09-14 Tom de Vries <tdevries@suse.de>
6596
6597 PR teststuite/24599
6598 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6599 * lib/ada.exp (gnatmake_version_at_least): New proc.
6600
5fabdcd6
AB
66012019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6602
6603 * gdb.base/maint.exp: Use exec_has_index_section.
6604
aa17805f
AB
66052019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6606
6607 * gdb.base/maint.exp: Add test for 'maint info sections'.
6608
25e5c209
TV
66092019-09-12 Tom de Vries <tdevries@suse.de>
6610
6611 * gdb.base/store.exp: Allow register variables to be optimized out at
6612 -O0.
6613
4993045d
PW
66142019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6615
6616 * gdb.ada/rdv_wait.exp: Update to new task names.
6617 * gdb.base/task_switch_in_core.exp: Likewise.
6618 * gdb.base/info_sources_base.c: Likewise.
6619
8a516164
TT
66202019-09-10 Tom Tromey <tromey@adacore.com>
6621
6622 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6623
aa391654
TT
66242019-09-10 Tom Tromey <tromey@adacore.com>
6625
6626 * gdb.ada/dgopt.exp: New file.
6627 * gdb.ada/dgopt/x.adb: New file.
6628
8634b462
TT
66292019-09-08 Tom Tromey <tom@tromey.com>
6630
6631 * gdb.tui/resize.exp: Remove setup_xfail.
6632 * gdb.tui/regs.exp: Remove setup_xfail.
6633 * gdb.tui/basic.exp: Remove setup_xfail.
6634
736b0f76
DB
66352019-09-06 David Blaikie <dblaikie@gmail.com>
6636
6637 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6638 * gdb.cp/cplabel.exp: Ditto.
6639 * gdb.linespec/ls-errs.exp: Ditto.
6640
30331a6c
TV
66412019-09-05 Tom de Vries <tdevries@suse.de>
6642
6643 * lib/gdb.exp (cmp_file_string): New proc.
6644 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6645 runto_main. Verify save breakpoints output.
6646
98b0ebab
PW
66472019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6648
6649 * gdb.base/info-var.exp: Test info variables without running
6650 to main, to avoid expect's buffer overflow.
6651
4e962e74
TT
66522019-09-03 Tom Tromey <tromey@adacore.com>
6653
6654 * gdb.ada/bias.exp: New file.
6655 * gdb.ada/bias/bias.adb: New file.
6656 * gdb.ada/print_chars.exp: Add regression test.
6657 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6658 (MC): New variable.
6659
2ea1a07a
SL
66602019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6661
6662 * gdb.base/argv0-symlink.exp: Run only on native target
6663 and local host.
6664
8077c50d
TV
66652019-08-29 Tom de Vries <tdevries@suse.de>
6666
6667 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6668 diverse debug info.
6669 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6670
48352473
TV
66712019-08-28 Tom de Vries <tdevries@suse.de>
6672
6673 * gdb.base/info-var.exp: Allow info variables to print info for files
6674 other than info-var-f1.c and info-var-f2.c.
6675
d8f27c60
AB
66762019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6677
6678 * gdb.fortran/info-types.exp: Add module.
6679 * gdb.fortran/info-types.f90: Update expected results.
6680
1f20c35e
AB
66812019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6682
6683 * gdb.fortran/info-types.exp: New file.
6684 * gdb.fortran/info-types.f90: New file.
6685 * lib/fortran.exp (fortran_character1): New proc.
6686
4acfdd20
AB
66872019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6688
6689 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6690 functions'. Reindent as needed.
6691 * gdb.base/info-var-f1.c: New file.
6692 * gdb.base/info-var-f2.c: New file.
6693 * gdb.base/info-var.exp: New file.
6694 * gdb.base/info-var.h: New file.
6695
5c31b358
TV
66962019-08-26 Tom de Vries <tdevries@suse.de>
6697
6698 PR c++/24852
6699 * gdb.cp/no-libstdcxx-probe.exp: New test.
6700
b694989f
TV
67012019-08-26 Tom de Vries <tdevries@suse.de>
6702
6703 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6704 * tests need to be skipped.
6705 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6706 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6707 mi_skip_libstdcxx_probe_tests.
6708
d9c4ba53
SDJ
67092019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6710
6711 * gdb.python/py-xmethods.exp: Use raw strings when passing
6712 arguments to SimpleXMethodMatcher.
6713
395fad09
TV
67142019-08-22 Tom de Vries <tdevries@suse.de>
6715
6716 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6717 more informative.
6718
26c957f1
PA
67192019-08-21 Pedro Alves <palves@redhat.com>
6720
6721 * gdb.base/with.exp: Test "with" with no arguments.
6722
61f80d5d
TV
67232019-08-21 Tom de Vries <tdevries@suse.de>
6724
6725 * gdb.base/gdb-caching-proc.exp: Sort files.
6726
d7a11d13
TV
67272019-08-20 Tom de Vries <tdevries@suse.de>
6728
6729 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6730 compilation.
6731
34dafe9f
TV
67322019-08-16 Tom de Vries <tdevries@suse.de>
6733
6734 * gdb.base/compare-sections.exp ("after run to main"): Allow
6735 mismatched read-only sections for PIE executables.
6736
398fdd60
TT
67372019-08-16 Tom Tromey <tom@tromey.com>
6738
6739 * lib/tuiterm.exp (_csi_Z): New proc.
6740 * gdb.tui/basic.exp: Update window positions.
6741 * gdb.tui/empty.exp: Update window positions.
6742
d8f9e51c
SL
67432019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6744
6745 * gdb.base/examine-backward.exp: Correct regexp for
6746 "examine 3 bytes backward from ${address_zero}".
6747
3df505f6
TT
67482019-08-15 Tom Tromey <tom@tromey.com>
6749
6750 * gdb.tui/empty.exp: Enable resizing tests.
6751
272560b5
TT
67522019-08-15 Tom Tromey <tromey@adacore.com>
6753
6754 * gdb.ada/char_enum.exp: Add regression tests.
6755 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6756 and '0'.
6757 (Char, Gchar): Update.
6758 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6759
08235187
CB
67602019-08-15 Christian Biesinger <cbiesinger@google.com>
6761
6762 * gdb.python/python.exp: Expect a leading underscore on
6763 GdbOutput{,Error}File.
6764
22a2ab04
SL
67652019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6766
6767 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6768 Windows host.
6769
835b995b
SL
67702019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6771
6772 * gdb.base/batch-preserve-term-settings.exp
6773 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6774
97dd8e07
CB
67752019-08-15 Christian Biesinger <cbiesinger@google.com>
6776
6777 * lib/gdb.exp: When running on a mingw target, replace
6778 /x/ with x:/.
6779
75faf5c4
AH
67802019-08-14 Alan Hayward <alan.hayward@arm.com>
6781
6782 * gdb.arch/aarch64-prologue.c: New test.
6783 * gdb.arch/aarch64-prologue.exp: New file.
6784
abc6c00f
TV
67852019-08-13 Tom de Vries <tdevries@suse.de>
6786
6787 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6788 Thread.
6789
74c2c1f4
SL
67902019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6791
6792 * gdb.python/py-completion.exp: Download the .py file to the host
6793 and use its host pathname. Conditionalize tests that use
6794 tab completion and manipulate files on the build machine.
6795 * gdb.python/py-events.exp: Download the .py file to the host
6796 and use its host pathname.
6797 * gdb.python/py-evsignal.exp: Likewise.
6798 * gdb.python/py-evthreads.exp: Likewise.
6799 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6800 pathname syntax.
6801 * gdb.python/py-framefilter.exp: Download the .py file to the right
6802 place on the host. Match Windows pathname syntax.
6803 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6804 .py file to the host and use its host pathname.
6805 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6806 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6807 build pathname. Skip symlink test on Windows host. Add missing
6808 newline at end of file.
6809 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6810 and use its host pathname.
6811 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6812 * gdb.python/py-section-script.exp: Use host location of binfile
6813 on safe-path. Use correct path separator on Windows host.
6814 Reorder alternatives in gdb_test_multiple to prevent matching
6815 the wrong alternative on success.
6816 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6817
ca2589f3
PP
68182019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6819
6820 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6821 expect the GDB inferior to no longer immediately stop after
6822 being resumed with "signal SIGINT".
6823
020a839d
SL
68242019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6825
6826 * gdb.linespec/break-ask.exp: Generalize regexps to match
6827 Windows pathnames too.
6828
128d6509
TV
68292019-08-08 Tom de Vries <tdevries@suse.de>
6830
6831 PR testsuite/24862
6832 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6833
590042fc
PW
68342019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6835
6836 * gdb.base/style.exp: Update tests for help doc new invariants.
6837 * gdb.base/help.exp: Likewise.
6838
046bebe1
TT
68392019-08-06 Tom Tromey <tom@tromey.com>
6840
6841 * gdb.base/style.exp: Add disassemble test.
6842 * gdb.base/style.c (some_called_function): New function.
6843 (main): Use it.
6844
0b27c27d
CB
68452019-08-05 Christian Biesinger <cbiesinger@google.com>
6846
6847 * gdb.python/py-block.exp: Test dictionary access on blocks.
6848
580f1034
SM
68492019-08-05 Simon Marchi <simon.marchi@efficios.com>
6850
6851 PR gdb/24863
6852 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6853 -list-thread-groups --available test when running under
6854 check-read1.
6855
d86bd7cb
TV
68562019-08-05 Tom de Vries <tdevries@suse.de>
6857
6858 PR testsuite/24863
6859 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6860 * gdb.base/help.exp: Use with_read1_timeout_factor.
6861 * gdb.base/info-macros.exp: Same.
6862 * gdb.cp/nested-types.exp: Same.
6863
a80cf5d8
TV
68642019-08-05 Tom de Vries <tdevries@suse.de>
6865
6866 * lib/gdb.exp (version_at_least): Factor out of ...
6867 (tcl_version_at_least): ... here.
6868 (gdb_compile): Fail if pie results in non-PIE executable.
6869 (readelf_version, readelf_prints_pie): New proc.
6870 (exec_is_pie): Return -1 if unknown.
6871
d0962838
TV
68722019-08-05 Tom de Vries <tdevries@suse.de>
6873
6874 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6875
2252ff3d
SL
68762019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6877
6878 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6879
26655f53
SL
68802019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6881
6882 * lib/completion-support.exp (test_gdb_complete_none): Skip
6883 tab completion tests if no readline support.
6884 (test_gdb_complete_unique_re): Likewise.
6885 (test_gdb_complete_multiple): Likewise.
6886
db4dc13e
PW
68872019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6888
6889 * gdb.base/info_sources.exp: New file.
6890 * gdb.base/info_sources.c: New file.
6891 * gdb.base/info_sources_base.c: New file.
6892
0eba165a
PFC
68932019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6894
6895 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6896 prefix argument.
6897 (test_exit_status): Add prefix argument.
6898
59bd512b
TV
68992019-08-01 Tom de Vries <tdevries@suse.de>
6900
6901 PR testsuite/24863
6902 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6903 calling exp_continue for new thread and thread exited messages.
6904
2a3ad588
TV
69052019-08-01 Tom de Vries <tdevries@suse.de>
6906
6907 PR testsuite/24863
6908 * gdb.base/structs.exp: Fix check-read1 timeout using
6909 gdb_test_sequence.
6910 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6911
117eb594
TV
69122019-08-01 Tom de Vries <tdevries@suse.de>
6913
6914 PR testsuite/24863
6915 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6916 line.
6917
ed591340
TV
69182019-08-01 Tom de Vries <tdevries@suse.de>
6919
6920 PR testsuite/24863
6921 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6922
aa3b6533
TT
69232019-07-30 Tom Tromey <tromey@adacore.com>
6924
6925 * gdb.ada/display_nested.exp: New file.
6926 * gdb.ada/display_nested/foo.adb: New file.
6927 * gdb.ada/display_nested/pack.adb: New file.
6928 * gdb.ada/display_nested/pack.ads: New file.
6929
2906593f
CB
69302019-07-30 Christian Biesinger <cbiesinger@google.com>
6931
6932 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6933 namespace.
6934 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6935
0f575925
TV
69362019-07-30 Tom de Vries <tdevries@suse.de>
6937
6938 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6939 instead.
6940
b13057d9
TV
69412019-07-30 Tom de Vries <tdevries@suse.de>
6942
6943 PR testsuite/24834
6944 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6945 (exec_is_pie): New proc.
6946
5c4dde85
CB
69472019-07-29 Christian Biesinger <cbiesinger@google.com>
6948
6949 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6950
c620ed88
CB
69512019-07-29 Christian Biesinger <cbiesinger@google.com>
6952
6953 * gdb.python/py-objfile.c: Add global and static vars.
6954 * gdb.python/py-objfile.exp: Test new functions Objfile.
6955 lookup_global_symbol and lookup_static_symbol.
6956
3d235706
TT
69572019-07-29 Tom Tromey <tom@tromey.com>
6958
6959 * lib/tuiterm.exp (Term::_csi_@): New proc.
6960 (Term::_csi_X): Don't move cursor.
6961
c7e4c0a6
PW
69622019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6963
6964 * gdb.base/options.exp: Update backtrace - completion to
6965 new option -frame-info.
6966 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6967 Test new 'set print frame-info'. Test backtrace -frame-info
6968 overriding 'set print frame-info'.
6969 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6970 Test new 'set print frame-info'.
6971 Verify consistency of backtrace with and without filters, with and
6972 without -no-filters.
6973 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6974 default.
6975
de28a3b7
TV
69762019-07-29 Tom de Vries <tdevries@suse.de>
6977
6978 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6979 no arguments".
6980
507dd60e
TV
69812019-07-29 Tom de Vries <tdevries@suse.de>
6982
6983 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6984 is a substring of the first for "complete non-unique file name".
6985
5beafce9
TV
69862019-07-29 Tom de Vries <tdevries@suse.de>
6987
6988 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6989 with ".*".
6990
2d274232
TV
69912019-07-29 Tom de Vries <tdevries@suse.de>
6992
6993 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6994 Pass prompt_regexp parameter to gdb_test_multiple calls.
6995
9197cd8b
TV
69962019-07-29 Tom de Vries <tdevries@suse.de>
6997
6998 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6999 print registers" regexps.
9197cd8b 7000
b528dae0
TV
70012019-07-29 Tom de Vries <tdevries@suse.de>
7002
7003 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7004
d17725d7
TV
70052019-07-29 Tom de Vries <tdevries@suse.de>
7006
7007 PR gdb/24855
7008 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7009 (skip_python_tests_prompt): Add prompt_regexp argument to
7010 gdb_test_multiple calls.
7011
52b75bf1
TT
70122019-07-27 Tom Tromey <tom@tromey.com>
7013
7014 * gdb.tui/main.exp: New file.
7015
2b1d00c2
TT
70162019-07-27 Tom Tromey <tom@tromey.com>
7017
7018 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7019 optional.
7020 * gdb.tui/empty.exp: New file.
7021
ded631d5
TT
70222019-07-27 Tom Tromey <tom@tromey.com>
7023
7024 * lib/tuiterm.exp (spawn): New proc.
7025 (Term::resize): New proc.
7026 * gdb.tui/resize.exp: New file.
7027
58ac439d
TT
70282019-07-27 Tom Tromey <tom@tromey.com>
7029
7030 * gdb.tui/list.exp: New file.
7031
fe1f56ee
TT
70322019-07-27 Tom Tromey <tom@tromey.com>
7033
7034 * gdb.tui/regs.exp: New file.
7035
f790b310
TT
70362019-07-27 Tom Tromey <tom@tromey.com>
7037
7038 * gdb.tui/basic.exp: Add "layout split" test.
7039
d95fc6ee
TT
70402019-07-27 Tom Tromey <tom@tromey.com>
7041
7042 * gdb.tui/basic.exp: Add "layout asm" test.
7043
c3786b3a
TT
70442019-07-27 Tom Tromey <tom@tromey.com>
7045
7046 * lib/tuiterm.exp: New file.
7047 * gdb.tui/basic.exp: New file.
7048
98a617f8
KB
70492019-07-27 Kevin Buettner <kevinb@redhat.com>
7050
7051 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7052 Enable tests associated with this flag. Adjust regex
7053 referencing "foo_low" to now refer to "foo_cold" instead.
7054
5c076da4
KB
70552019-07-27 Kevin Buettner <kevinb@redhat.com>
7056
7057 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7058 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7059 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7060 foo_cold. Revise comments to match.
7061 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7062 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7063 were wrapped into this proc; Call do_test in loop from outermost
7064 level.
7065 (foo_low): Rename all occurrences to "foo_cold".
7066 (backtrace from baz): New test.
7067 (x2/i foo_cold): New test.
7068 (info line *foo_cold): New test.
7069
1512d3b7
TV
70702019-07-26 Tom de Vries <tdevries@suse.de>
7071
7072 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7073
297989a1
TV
70742019-07-25 Tom de Vries <tdevries@suse.de>
7075
7076 PR testsuite/24830
7077 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7078 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7079 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7080 (skip_libstdcxx_probe_tests): ... here.
7081 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7082
b3b965fb
TV
70832019-07-24 Tom de Vries <tdevries@suse.de>
7084
7085 PR testsuite/24807
7086 * gdb.objc/basicclass.m: Include stdio.h.
7087 * gdb.objc/nondebug.m: Same.
7088 * gdb.objc/objcdecode.m: Same.
7089
4625b4d0
TV
70902019-07-24 Tom de Vries <tdevries@suse.de>
7091
7092 PR testsuite/24612
7093 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7094 additional_flags.
7095
024a5840
TV
70962019-07-24 Tom de Vries <tdevries@suse.de>
7097
7098 PR testsuite/24831
7099 * gdb.multi/tids.exp: Update error messages for info threads.
7100
c76ddaa3
TV
71012019-07-24 Tom de Vries <tdevries@suse.de>
7102
7103 * gdb.base/info-types.exp: Allow info types to print info for more than
7104 one file.
7105
9a618ef6
TV
71062019-07-23 Tom de Vries <tdevries@suse.de>
7107
7108 PR testsuite/24842
7109 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7110 gdb_spawn_with_cmdline_opts.
7111
40eadf04
SP
71122019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7113
7114 * gdb.arch/arm-cmse-sgstubs.c: New test.
7115 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7116
5ba29434
TV
71172019-07-23 Tom de Vries <tdevries@suse.de>
7118
7119 PR testsuite/24711
7120 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7121 issuing next command.
7122
a8e9d247
AB
71232019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7124
7125 * gdb.ada/info_auto_lang.exp: Update expected results.
7126 * gdb.base/info-types.c: Add additional types to check.
7127 * gdb.base/info-types.exp: Update expected results.
7128
eb86c5e2
AB
71292019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7130
7131 * gdb.base/info-types.c: New file.
7132 * gdb.base/info-types.exp: New file.
7133
01e175fe
AB
71342019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7135
7136 * gdb.arch/riscv-bp-infcall.c: New file.
7137 * gdb.arch/riscv-bp-infcall.exp: New file.
7138
6b78c3f8
AB
71392019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7140
7141 PR breakpoints/24541
7142 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7143
da738167
TV
71442019-07-14 Tom de Vries <tdevries@suse.de>
7145
7146 PR testsuite/24760
7147 * gdb.objc/basicclass.exp: Fix unterminated string.
7148
0d4e84ed
AB
71492019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7150 Andrew Burgess <andrew.burgess@embecosm.com>
7151
7152 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7153 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7154 negative bounds.
7155 * gdb.fortran/vla-value.exp: Print elements of an array with
7156 negative bounds.
7157 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7158 testing.
7159
021d8588
AB
71602019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7161
7162 * gdb.base/options.exp (expect_string): Dequote strings in
7163 results.
7164 (test-string): Test strings with different quoting and reindent.
7165
f06f1252
TT
71662019-07-10 Tom Tromey <tromey@adacore.com>
7167
7168 * gdb.ada/mi_ex_cond.exp: Update expected results.
7169 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7170 * gdb.ada/mi_catch_ex.exp: Update expected results.
7171 * gdb.ada/mi_catch_assert.exp: Update expected results.
7172 * gdb.ada/catch_ex.exp (catch_exception_info)
7173 (catch_exception_entry, catch_assert_entry)
7174 (catch_unhandled_entry): Update.
7175 * gdb.ada/catch_assert_if.exp: Update expected results.
7176
b863685d
RB
71772019-07-10 Richard Bunt <richard.bunt@arm.com>
7178 Stephen Roberts <stephen.roberts@arm.com>
7179
7180 * gdb.base/define.exp: Restore original prompt.
7181
cb1e4e32
PA
71822019-07-09 Pedro Alves <palves@redhat.com>
7183
7184 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7185 breakpoints" output.
7186 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7187 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7188 throw" creates breakpoint.
7189 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7190 'type="catchpoint"'.
7191
b58a68fe
PA
71922019-07-09 Pedro Alves <palves@redhat.com>
7193
7194 PR c++/15468
7195 * gdb.cp/except-multi-location-lib.cc: New.
7196 * gdb.cp/except-multi-location-main.cc: New.
7197 * gdb.cp/except-multi-location.exp: New.
7198
0826779b
PW
71992019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7200
7201 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7202 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7203 argument and update callers.
7204
5b0e2db4
AB
72052019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7206
7207 * gdb.arch/amd64-break-on-asm-line.S: New file.
7208 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7209
1f6f6e21
PW
72102019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7211
7212 * gdb.base/printcmds.exp: Test printing C string and
7213 C wide string convenience vars without transiting via the inferior.
7214 Also make test names unique.
7215
ea142fbf
AH
72162019-07-08 Alan Hayward <alan.hayward@arm.com>
7217
5862c886 7218 PR breakpoints/25011
ea142fbf
AH
7219 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7220
213fd9fa
PA
72212019-07-04 Pedro Alves <palves@redhat.com>
7222
7223 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7224 body returned ok(0), break(3) or continue(4).
7225 * gdb.testsuite/foreach_with_prefix.exp: New file.
7226
2b40fda7
AH
72272019-07-04 Alan Hayward <alan.hayward@arm.com>
7228
7229 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7230
a26c8de0
PA
72312019-07-03 Pedro Alves <palves@redhat.com>
7232
7233 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7234 "return -code".
7235
5f4ba3e7
PA
72362019-07-03 Pedro Alves <palves@redhat.com>
7237
7238 PR cli/24732
7239 * gdb.base/shell.exp: Load completion-support.exp.
7240 Adjust expected error output. Add completion tests.
7241
a994424f
PA
72422019-07-03 Pedro Alves <palves@redhat.com>
7243
7244 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7245 string_to_regexp.
7246
3d9be6f5
PA
72472019-07-03 Pedro Alves <palves@redhat.com>
7248
7249 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7250 (expect_integer): Adjust to expect "-string".
7251 (expect_string): New.
7252 (all_options): Expect "-string".
7253 (test-flag, test-boolean): Adjust to expect "-string".
7254 (test-string): New proc.
7255 (top level): Call it.
7256
41fc454c
PA
72572019-07-03 Pedro Alves <palves@redhat.com>
7258
7259 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7260 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7261 the expected output in the success.
7262
b2b2a215
PA
72632019-07-03 Pedro Alves <palves@redhat.com>
7264
7265 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7266 Split one gdb_test_multiple call in two to avoid a race.
7267
fdbc9870
PA
72682019-07-03 Pedro Alves <palves@redhat.com>
7269
7270 * gdb.base/with.c: New file.
7271 * gdb.base/with.exp: New file.
7272
c6ac8931
PA
72732019-07-03 Pedro Alves <palves@redhat.com>
7274
7275 * gdb.base/settings.exp: Replace all references to "maint
7276 test-settings set" with references to "maint set test-settings",
7277 and all references to "maint test-settings show" with references
7278 to "maint show test-settings".
7279
970f9d09
PA
72802019-07-03 Pedro Alves <palves@redhat.com>
7281
7282 * gdb.base/settings.exp (test-string): Adjust expected out when
7283 testing "maint test-settings show filename"
7284
54d66006
PA
72852019-07-02 Pedro Alves <palves@redhat.com>
7286
7287 * gdb.base/options.exp (test-info-threads): New procedure.
7288 (top level): Call it.
7289
10d06d82
TT
72902019-06-28 Tom Tromey <tromey@adacore.com>
7291
7292 * gdb.dwarf2/ada-linkage-name.c: New file.
7293 * gdb.dwarf2/ada-linkage-name.exp: New file.
7294
3d507ff2
TT
72952019-06-27 Tom Tromey <tromey@adacore.com>
7296
d039f014 7297 PR c++/20020:
3d507ff2
TT
7298 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7299
8af58ffe
TV
73002019-06-26 Tom de Vries <tdevries@suse.de>
7301
7302 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7303
22e21752
TV
73042019-06-26 Tom de Vries <tdevries@suse.de>
7305
7306 * gdb.base/index-cache.exp: Add back missing debug option.
7307
b65b566c
PW
73082019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7309
7310 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7311
5c2c8c69
TV
73122019-06-25 Tom de Vries <tdevries@suse.de>
7313
7314 PR testsuite/24727
7315 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7316
164e3873
TV
73172019-06-24 Tom de Vries <tdevries@suse.de>
7318
7319 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7320
824eacee
TV
73212019-06-24 Tom de Vries <tdevries@suse.de>
7322
7323 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7324 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7325 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7326
385b97d3
TV
73272019-06-24 Tom de Vries <tdevries@suse.de>
7328
7329 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7330
c596f180
TV
73312019-06-21 Tom de Vries <tdevries@suse.de>
7332
7333 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7334
b13a7d03
TV
73352019-06-21 Tom de Vries <tdevries@suse.de>
7336
7337 PR testsuite/24518
7338 PR ada/24713
7339 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7340 index.
7341
899277ae
TT
73422019-06-19 Tom Tromey <tromey@adacore.com>
7343
7344 * gdb.ada/length_cond.exp: Add intro comment.
7345
680e1bee
TT
73462019-06-19 Tom Tromey <tromey@adacore.com>
7347
7348 * gdb.ada/length_cond.exp: New file.
7349 * gdb.ada/length_cond/length_cond.adb: New file.
7350 * gdb.ada/length_cond/pck.adb: New file.
7351 * gdb.ada/length_cond/pck.ads: New file.
7352
0ed4690a
TV
73532019-06-18 Tom de Vries <tdevries@suse.de>
7354
7355 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7356
d20ed5fd
TT
73572019-06-18 Tom Tromey <tromey@adacore.com>
7358
7359 * gdb.base/list0.h: Add comment explaining control character.
7360
86e04673
TV
73612019-06-18 Tom de Vries <tdevries@suse.de>
7362
7363 * boards/fission.exp: Break up long debug_flags line.
7364
c4973306
SM
73652019-06-16 Tom de Vries <tdevries@suse.de>
7366
7367 PR gdb/24445
7368 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7369 generated index.
7370
93cb9841
AB
73712019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7372
7373 PR gdb/24686
7374 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7375 improve detection of bug gdb/24541.
7376
399aaebd
SM
73772019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7378
7379 PR gdb/24669
7380 * gdb.base/index-cache.exp (uses_readnow,
7381 expecting_index_cache_use): Define global variable.
7382 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7383 expecting_index_cache_use.
7384
584a927c
AB
73852019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7386 Andrew Burgess <andrew.burgess@embecosm.com>
7387
7388 * gdb.fortran/pointers.f90: New file.
7389 * gdb.fortran/print_type.exp: New file.
7390 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7391 * gdb.fortran/vla-type.exp: Likewise.
7392 * gdb.fortran/vla-value.exp: Likewise.
7393 * gdb.mi/mi-vla-fortran.exp: Likewise.
7394
30056ea0
AB
73952019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7396
7397 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7398 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7399 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7400 as a stop reason.
7401
ec8e2b6d
AB
74022019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7403
7404 * gdb.base/annota1.exp: Update expected results.
7405 * gdb.cp/annota2.exp: Likewise.
7406 * gdb.cp/annota3.exp: Likewise.
7407
09e4c4e1
AB
74082019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7409
7410 * gdb.base/style-logging.exp: Remove path from test name.
7411
0735b091
TT
74122019-06-14 Tom Tromey <tromey@adacore.com>
7413
7414 PR gdb/24502:
7415 * gdb.base/style-logging.exp: New file.
7416
f5686554
TT
74172019-06-14 Tom Tromey <tromey@adacore.com>
7418
7419 * gdb.base/symfile-warn.exp: New file.
7420 * gdb.base/symfile-warn.c: New file.
7421
a0c1ffed
TT
74222019-06-14 Tom Tromey <tromey@adacore.com>
7423
7424 * gdb.base/annotate-symlink.exp: New file.
7425
f411722c
TT
74262019-06-14 Tom Tromey <tromey@adacore.com>
7427
7428 * gdb.ada/set_wstr.exp: Add reassignment test.
7429
4268ec18
TT
74302019-06-14 Tom Tromey <tromey@adacore.com>
7431
7432 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7433 'unchecked_access and 'unrestricted_access as well.
7434
9a9e394b
TT
74352019-06-14 Tom Tromey <tromey@adacore.com>
7436
7437 PR ada/24539:
7438 * gdb.ada/vla.exp: Update tests.
7439 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7440 pragma.
7441
4c048731
PA
74422019-06-13 Pedro Alves <palves@redhat.com>
7443
7444 * gdb.base/settings.exp (test-integer): Test junk after
7445 "unlimited".
7446
6665660a
PA
74472019-06-13 Pedro Alves <palves@redhat.com>
7448
7449 * gdb.base/options.exp (test-thread-apply): New.
7450 (top level): Call it.
7451
5d707134
PA
74522019-06-13 Pedro Alves <palves@redhat.com>
7453
7454 * gdb.base/options.exp (test-frame-apply): New.
7455 (top level): Test print commands with different "frame apply"
7456 prefixes.
7457
e2a689da
PA
74582019-06-13 Pedro Alves <palves@redhat.com>
7459
e79be6e5 7460 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7461 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7462 'max_completions' parameter and handle it.
7463 (test_gdb_completion_offers_commands): New.
7464
90a1ef87
PA
74652019-06-13 Pedro Alves <palves@redhat.com>
7466
7467 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7468
d4c16835
PA
74692019-06-13 Pedro Alves <palves@redhat.com>
7470
7471 * gdb.base/options.exp (test-backtrace): New.
7472 (top level): Call it.
7473
2daf894e
PA
74742019-06-13 Pedro Alves <palves@redhat.com>
7475
7476 * gdb.guile/scm-frame-args.exp: Use "set print
7477 raw-frame-arguments" instead of "set print raw frame-arguments".
7478 * gdb.python/py-frame-args.exp: Likewise.
7479
e6ed716c
PA
74802019-06-13 Pedro Alves <palves@redhat.com>
7481
7482 * gdb.compile/compile.exp: Adjust expected output to option
7483 processing changes.
7484
7d8062de
PA
74852019-06-13 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.base/options.exp: Build executable.
7488 (test-print): New procedure.
7489 (top level): Call it, once for "print" and another for "compile
7490 print".
7491
9d0faba9
PA
74922019-06-13 Pedro Alves <palves@redhat.com>
7493
7494 * gdb.base/options.c: New file.
7495 * gdb.base/options.exp: New file.
7496
dee7b4c8
PA
74972019-06-13 Pedro Alves <palves@redhat.com>
7498
7499 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7500 that "o" is ambiguous.
7501
dca0f6c0
PA
75022019-06-13 Pedro Alves <palves@redhat.com>
7503
7504 * gdb.base/settings.c: New file.
7505 * gdb.base/settings.exp: New file.
7506
ccf46844
PA
75072019-06-13 Pedro Alves <palves@redhat.com>
7508
7509 * gdb.base/completion.exp: Fix comment typo.
7510
b9a3f842
PA
75112019-06-13 Pedro Alves <palves@redhat.com>
7512
7513 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7514 foo --1" test.
7515
d106773e
PA
75162019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7517
7518 * gdb.fortran/block-data.f: New.
7519 * gdb.fortran/block-data.exp: New.
7520
fea82da0
TV
75212019-06-11 Tom de Vries <tdevries@suse.de>
7522
7523 PR testsuite/24521
7524 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7525 message.
7526
8c2e74f1
TV
75272019-06-11 Tom de Vries <tdevries@suse.de>
7528
7529 PR testsuite/24521
7530 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7531
b49851c8
TV
75322019-06-11 Tom de Vries <tdevries@suse.de>
7533
7534 * boards/readnow.exp: New file.
7535
a7067863
AB
75362019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7537
7538 * gdb.fortran/vla-sizeof.exp: Update expected results.
7539
1a3da2cd
AB
75402019-06-06 Amos Bird <amosbird@gmail.com>
7541
7542 * gdb.base/annota1.exp (thread_switch): Add test for
7543 thread-exited annotation.
7544
3847a7bf
TT
75452019-06-06 Tom Tromey <tromey@adacore.com>
7546
7547 * gdb.base/maint.exp: Expect command started/finished output.
7548
0088ba59
AB
75492019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7550
7551 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7552 comment.
7553 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7554
312617a3
AB
75552019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7556
7557 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7558 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7559 * gdb.arch/riscv-unwind-long-insn.c: New file.
7560 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7561
e1f2e1a2
CB
75622019-06-04 Christian Biesinger <cbiesinger@google.com>
7563
d3238f7d 7564 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7565
206584bd
PW
75662019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7567
7568 * lib/gdb.exp (help_list_trailer): New regexp variable
7569 factorizing the help trailer message.
7570 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7571 arg to allow to better factorize various tests.
7572 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7573 (test_prefix_command_help): Use help_list_trailer.
7574 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7575 * gdb.guile/scm-cmd.exp: Likewise.
7576 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7577 * gdb.base/help.exp: Use test_user_defined_class_help.
7578 * gdb.base/style.exp: Add tests for styling of help and apropos.
7579 * lib/gdb-utils.exp (style): Add title and highlight styles.
7580
708dc93e
PW
75812019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7582
7583 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7584 $_shell_exitsignal.
7585 * gdb.base/default.exp: Update for new convenience variables.
7586
f49055a5
TT
75872019-05-29 Tom Tromey <tromey@adacore.com>
7588
7589 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7590 to "break complete ada" test case's regexp.
7591
4330d61d
TT
75922019-05-29 Tom Tromey <tromey@adacore.com>
7593
7594 PR c++/20020:
7595 * gdb.cp/constexpr-field.exp: New file.
7596 * gdb.cp/constexpr-field.cc: New file.
7597
000439d5
TT
75982019-05-29 Tom Tromey <tromey@adacore.com>
7599
7600 * gdb.base/finish.exp (finish_no_print): New proc.
7601 (finish_tests): Call it.
7602
5a01c34c
TV
76032019-05-24 Tom de Vries <tdevries@suse.de>
7604
7605 * gdb.dwarf2/gdb-add-index.exp: New file.
7606
18125b16
TT
76072019-05-22 Tom Tromey <tromey@adacore.com>
7608
7609 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7610 * gdb.base/style.exp: Use "style".
7611 * lib/gdb-utils.exp (style): New proc.
7612
af1a8d03
TV
76132019-05-22 Tom de Vries <tdevries@suse.de>
7614
7615 * gdb.base/align.exp: Require c++11.
7616
e7fe496b
TV
76172019-05-22 Tom de Vries <tdevries@suse.de>
7618
7619 PR testsuite/24586
7620 * gdb.python/py-mi-var-info-path-expression.exp: Call
7621 mi_skip_python_tests to check if python is supported.
7622
8fca4da0
AH
76232019-05-22 Alan Hayward <alan.hayward@arm.com>
7624
7625 * gdb.arch/aarch64-pauth.c: New test.
7626 * gdb.arch/aarch64-pauth.exp: New file.
7627
b7060614
AH
76282019-05-22 Alan Hayward <alan.hayward@arm.com>
7629
7630 * README (Re-running Tests Outside The Testsuite): New section.
7631
669d0468
TV
76322019-05-21 Tom de Vries <tdevries@suse.de>
7633
7634 * gdb.arch/amd64-eval.exp: Require c++11.
7635 * gdb.base/max-depth.exp: Same.
7636 * gdb.compile/compile-cplus-array-decay.exp: Same.
7637 * gdb.cp/meth-typedefs.exp: Same.
7638 * gdb.cp/subtypes.exp: Same.
7639 * gdb.cp/temargs.exp: Same.
7640
ce3ebcaa
AH
76412019-05-21 Alan Hayward <alan.hayward@arm.com>
7642
7643 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7644
34d11c68
AB
76452019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7646
7647 PR gdb/18644
7648 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7649 * gdb.fortran/printing-types.exp: Add new test.
7650 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7651 testing.
7652 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7653 setup_kfail call.
7654
87781e84
AH
76552019-05-17 Alan Hayward <alan.hayward@arm.com>
7656
7657 * README (Running the Testsuite): Change example.
7658 (Testsuite Parameters): Remove TRANSCRIPT.
7659 * lib/gdb.exp: Remove TRANSCRIPT check.
7660
b420b89e
AH
76612019-05-17 Alan Hayward <alan.hayward@arm.com>
7662
7663 * README (Testsuite Parameters): Add replay logging to
7664 GDBSERVER_DEBUG.
7665 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7666 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7667 as a comma separated list.
7668 (gdb_debug_init): Override procedure.
7669
408e9b8b
AH
76702019-05-17 Alan Hayward <alan.hayward@arm.com>
7671
7672 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7673 (gdb_write_cmd_file): New procedure.
7674 * lib/gdbserver-support.exp (gdbserver_start): Call
7675 gdbserver_write_cmd_file.
7676 (gdbserver_write_cmd_file): New procedure.
7677
f9e2e39d
AH
76782019-05-17 Alan Hayward <alan.hayward@arm.com>
7679
7680 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7681 (delete_breakpoints): Likewise.
7682 (gdb_run_cmd): Likewise.
7683 (gdb_start_cmd): Likewise.
7684 (gdb_starti_cmd): Likewise.
7685 (gdb_internal_error_resync): Likewise.
7686 (gdb_test_multiple): Likewise.
7687 (gdb_reinitialize_dir): Likewise.
7688 (default_gdb_exit): Likewise.
7689 (gdb_file_cmd): Mark kill as optional.
7690 (default_gdb_start): Call gdb_stdin_log_init.
7691 (send_gdb): Call gdb_stdin_log_write.
7692 (rerun_to_main): Mark Y as an answer.
7693 (gdb_stdin_log_init): New function.
7694 (gdb_stdin_log_write): Likewise.
7695
81f47ac2
AH
76962019-05-17 Alan Hayward <alan.hayward@arm.com>
7697
7698 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7699 * gdb.base/debug-expr.exp: Likewise.
7700 * gdb.base/foll-fork.exp: Likewise.
7701 * gdb.base/foll-vfork.exp: Likewise.
7702 * gdb.base/fork-print-inferior-events.exp: Likewise.
7703 * gdb.base/gdb-sigterm.exp: Likewise.
7704 * gdb.base/gdbinit-history.exp: Likewise.
7705 * gdb.base/osabi.exp: Likewise.
7706 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7707 * gdb.base/ui-redirect.exp: Likewise.
7708 * gdb.gdb/unittest.exp: Likewise.
7709 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7710 * gdb.mi/mi-watch.exp: Likewise.
7711 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7712 * gdb.mi/user-selected-context-sync.exp: Likewise.
7713 * gdb.python/python.exp: Disable debug test when debugging.
7714 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7715 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7716 Likewise.
7717 * gdb.threads/stepi-random-signal.exp: Likewise.
7718
29b52314
AH
77192019-05-17 Alan Hayward <alan.hayward@arm.com>
7720
7721 * Makefile.in: Pass through GDB_DEBUG.
7722 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7723 (gdb,debug): Add board setting.
7724 * lib/gdb.exp (default_gdb_start): Start debugging.
7725 (gdb_debug_enabled): New procedure.
7726 (gdb_debug_init): Likewise.
29b52314
AH
7727
77282019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7729
29b52314
AH
7730 * Makefile.in: Pass through GDB_DEBUG.
7731 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7732 (gdb,debug): Add board setting.
7733 * lib/gdb.exp (default_gdb_start): Start debugging.
7734 (gdb_debug_enabled): New procedure.
7735 (gdb_debug_init): Likewise.
29b52314 7736
ca1285d1
AH
77372019-05-17 Alan Hayward <alan.hayward@arm.com>
7738
7739 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7740
f3a09c80
AH
77412019-05-17 Alan Hayward <alan.hayward@arm.com>
7742
7743 * gdb.base/ui-redirect.exp: Test redirection.
7744
26648588
JV
77452019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7746
7747 * gdb.mi/mi-complete.exp: New file.
7748 * gdb.mi/mi-complete.cc: Likewise.
7749
14237686
AB
77502019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7751
7752 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7753 indexed and sliced arrays, and pointers to arrays.
7754
e7bd7fba
TT
77552019-05-14 Tom Tromey <tromey@adacore.com>
7756
7757 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7758 styling test.
7759
2764128d
TV
77602019-05-14 Tom de Vries <tdevries@suse.de>
7761
7762 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7763 selection entry encoding.
7764
71bed2db
TT
77652019-05-10 Tom Tromey <tromey@adacore.com>
7766
7767 * gdb.ada/info_exc.exp: Add "complete" test.
7768
63b667ad
TV
77692019-05-09 Tom de Vries <tdevries@suse.de>
7770
7771 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7772 CU-relative.
7773
9cfd2b89
TV
77742019-05-09 Tom de Vries <tdevries@suse.de>
7775
7776 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7777 CU-relative.
7778
2228ef77
XR
77792019-05-08 Joel Brobecker <brobecker@adacore.com>
7780
7781 * gdb.ada/frame_arg_lang.exp: New testcase.
7782 * gdb.ada/frame_arg_lang/bla.adb: New file.
7783 * gdb.ada/frame_arg_lang/pck.ads: New file.
7784 * gdb.ada/frame_arg_lang/pck.adb: New file.
7785 * gdb.ada/frame_arg_lang/foo.c: New file.
7786
80e55b13
TT
77872019-05-08 Tom Tromey <tromey@adacore.com>
7788
7789 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7790
9d3421af
TT
77912019-05-08 Tom Tromey <tromey@adacore.com>
7792
7793 * gdb.base/ptype-offsets.exp: Update tests.
7794
844333e2
TT
77952019-05-08 Tom Tromey <tromey@adacore.com>
7796
7797 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7798 cases.
7799 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7800 "short".
7801
988915ee
TT
78022019-05-08 Tom Tromey <tromey@adacore.com>
7803
7804 * gdb.ada/vla.exp: New file.
7805 * gdb.ada/vla/vla.adb: New file.
7806
7bd55dac
TV
78072019-05-07 Tom de Vries <tdevries@suse.de>
7808
7809 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7810
75f06e9d
TV
78112019-05-07 Tom de Vries <tdevries@suse.de>
7812
7813 PR testsuite/24522
7814 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7815 section.
7816
77e7aaa4
TV
78172019-05-07 Tom de Vries <tdevries@suse.de>
7818
7819 PR testsuite/24522
7820 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7821 .debug_aranges section.
7822
456ba0fa
TV
78232019-05-07 Tom de Vries <tdevries@suse.de>
7824
7825 PR testsuite/24159
7826 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7827
5a56d6a6
TV
78282019-05-06 Tom de Vries <tdevries@suse.de>
7829
7830 * lib/gdb.exp (exec_has_index_section): New proc.
7831 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7832 section.
7833
9d6d4be8
TV
78342019-05-04 Tom de Vries <tdevries@suse.de>
7835
7836 * boards/cc-with-debug-names.exp: New file.
7837
222a8d25
TT
78382019-05-03 Tom Tromey <tromey@adacore.com>
7839
7840 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7841 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7842 * gdb.ada/char_enum.exp: Add test.
7843
0fdfd794
TV
78442019-05-03 Tom de Vries <tdevries@suse.de>
7845
7846 * boards/cc-with-gdb-index.exp: New file.
7847
80062eb9
AB
78482019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7849
7850 * gdb.rust/simple.exp: Add new test case.
7851 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7852 (main): Initialise an instance of the new struct.
7853
4504bbde
TT
78542019-05-01 Tom Tromey <tromey@adacore.com>
7855
7856 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7857 record.
7858 (NPR): New variable.
7859 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7860 test.
7861
d48e62f4
TT
78622019-05-01 Tom Tromey <tromey@adacore.com>
7863
7864 * gdb.ada/packed_array_assign.exp: Add packed assignment
7865 regression test.
7866
f59f30f5
TV
78672019-05-01 Tom de Vries <tdevries@suse.de>
7868
7869 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7870
b70bfc54
TV
78712019-05-01 Tom de Vries <tdevries@suse.de>
7872
7873 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7874
15f18d14
AT
78752019-04-30 Ali Tamur <tamur@google.com>
7876
7877 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7878
2ff0a947
TT
78792019-04-30 Tom Tromey <tromey@adacore.com>
7880
7881 * lib/ada.exp (find_ada_tool): New proc.
7882 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7883 * gdb.ada/catch_ex_std.exp: New file.
7884 * gdb.ada/catch_ex_std/foo.adb: New file.
7885 * gdb.ada/catch_ex_std/some_package.adb: New file.
7886 * gdb.ada/catch_ex_std/some_package.ads: New file.
7887
a776957c
TT
78882019-04-30 Tom Tromey <tromey@adacore.com>
7889
7890 PR c++/24470:
7891 * gdb.cp/temargs.cc: Add test code from PR.
7892
bc68014d
AB
78932019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7894
7895 * gdb.fortran/vla-datatypes.exp: Update expected results.
7896 * gdb.fortran/vla-ptype.exp: Likewise.
7897 * gdb.fortran/vla-type.exp: Likewise.
7898 * gdb.fortran/vla-value.exp: Likewise.
7899
f1fdc960
AB
79002019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7901
7902 * gdb.fortran/ptr-indentation.exp: Update expected results.
7903 * gdb.fortran/ptype-on-functions.exp: Likewise.
7904 * gdb.fortran/vla-ptr-info.exp: Likewise.
7905 * gdb.fortran/vla-value.exp: Likewise.
7906
bf7a4de1
AB
79072019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7908
7909 * gdb.fortran/ptype-on-functions.exp: New file.
7910 * gdb.fortran/ptype-on-functions.f90: New file.
7911
bbe75b9d
AB
79122019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7913
7914 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7915 case void string.
7916
1db455a7
AB
79172019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7918
7919 * gdb.fortran/complex.exp: Expand.
7920 * gdb.fortran/complex.f: Renamed to...
7921 * gdb.fortran/complex.f90: ...this, and extended to add more
7922 complex values.
7923
b6d03bb2
AB
79242019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7925
7926 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7927 MODULO, CMPLX.
7928
2e62ab40
AB
79292019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7930 Richard Bunt <richard.bunt@arm.com>
7931
7932 * gdb.base/max-depth.c: New file.
7933 * gdb.base/max-depth.exp: New file.
7934 * gdb.python/py-nested-maps.c: New file.
7935 * gdb.python/py-nested-maps.exp: New file.
7936 * gdb.python/py-nested-maps.py: New file.
7937 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7938 (test_all_common): Call test_max_depth.
7939 * gdb.fortran/max-depth.exp: New file.
7940 * gdb.fortran/max-depth.f90: New file.
7941 * gdb.go/max-depth.exp: New file.
7942 * gdb.go/max-depth.go: New file.
7943 * gdb.modula2/max-depth.exp: New file.
7944 * gdb.modula2/max-depth.c: New file.
7945 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7946
d2b584a5
TV
79472019-04-29 Tom de Vries <tdevries@suse.de>
7948
7949 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7950
136afab8
PW
79512019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7952
7953 * gdb.base/callexit.exp: Test may-call-functions off.
7954
725cbb63
KS
79552019-04-25 Keith Seitz <keiths@redhat.com>
7956
7957 PR c++/24367
7958 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7959 (another_incomplete_struct, test_incomplete): New definitions.
7960 (main): Use new definitions.
7961 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7962 functions.
7963
701adfb0
PA
79642019-04-25 Ali Tamur <tamur@google.com>
7965
7966 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7967
82433e3e
SDJ
79682019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7969
7970 PR corefiles/11608
7971 PR corefiles/18187
7972 * gdb.base/coredump-filter-build-id.exp: New file.
7973
dd06d4d6
AH
79742019-04-25 Alan Hayward <alan.hayward@arm.com>
7975
e79be6e5
SM
7976 * Makefile.in: Pass through GDBSERVER_DEBUG.
7977 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7978 (gdbserver,debug): Add board setting.
7979 * gdb.trace/tspeed.exp: Skip when debugging.
7980 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7981 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7982
1670072e
TT
79832019-04-24 Tom Tromey <tromey@adacore.com>
7984
7985 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7986 Rust.
7987
a59240a4
TT
79882019-04-24 Tom Tromey <tromey@adacore.com>
7989
7990 * gdb.arch/amd64-eval.exp: Test bitfield return.
7991 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7992 (class Foo) <return_bitfields>: New method.
7993 (main): Call it.
7994
b907456c
AB
79952019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7996
7997 * gdb.cp/many-args.cc: New file.
7998 * gdb.cp/many-args.exp: New file.
7999
5c565afd
TV
80002019-04-23 Tom de Vries <tdevries@suse.de>
8001
8002 PR gdb/24433
8003 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8004
ba22ff86
AH
80052019-04-23 Alan Hayward <alan.hayward@arm.com>
8006
8007 * gdb.trace/backtrace.exp: Use nopie flag.
8008 * gdb.trace/circ.exp: Likewise.
8009 * gdb.trace/collection.exp: Likewise.
8010 * gdb.trace/ftrace.exp: Likewise.
8011 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8012 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8013 * gdb.trace/qtro.exp: Likewise.
8014 * gdb.trace/read-memory.exp: Likewise.
8015 * gdb.trace/report.exp: Likewise.
8016 * gdb.trace/tfile.exp: Likewise.
8017 * gdb.trace/tfind.exp: Likewise.
8018 * gdb.trace/unavailable.exp: Likewise.
8019
7905fc35
PA
80202019-04-22 Pedro Alves <palves@redhat.com>
8021
8022 * gdb.base/solib-probes-nosharedlibrary.c,
8023 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8024
8ecb59f8
TT
80252019-04-19 Tom Tromey <tromey@adacore.com>
8026
8027 * gdb.ada/ptype_union.c: New file.
8028 * gdb.ada/ptype_union.exp: New file.
8029
62160ec9
TT
80302019-04-19 Tom Tromey <tromey@adacore.com>
8031
8032 PR symtab/24423:
8033 * gdb.base/list0.h (foo): Add a control-l character.
8034
36cd4ba5
TV
80352019-04-18 Tom de Vries <tdevries@suse.de>
8036
8037 PR gdb/24433
8038 * boards/local-board.exp: Set sysroot to "".
8039
b73715df
TV
80402019-04-18 Tom de Vries <tdevries@suse.de>
8041 Pedro Alves <palves@redhat.com>
8042
8043 PR gdb/24454
8044 * gdb.threads/vfork-follow-child-exec.c: New file.
8045 * gdb.threads/vfork-follow-child-exec.exp: New file.
8046 * gdb.threads/vfork-follow-child-exit.c: New file.
8047 * gdb.threads/vfork-follow-child-exit.exp: New file.
8048
4aa866af
LS
80492019-04-15 Leszek Swirski <leszeks@google.com>
8050
8051 * gdb.arch/amd64-eval.cc: New file.
8052 * gdb.arch/amd64-eval.exp: New file.
8053
e5a1a79a
AH
80542019-04-11 Alan Hayward <alan.hayward@arm.com>
8055
8056 * gdb.server/sysroot.c: New test.
8057 * gdb.server/sysroot.exp: New file.
8058 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8059 matching param.
8060
41077b66
AB
80612019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8062
8063 * gdb.base/align.exp: Extend test to cover structures containing
8064 only static fields.
8065
c30391f8
TV
80662019-04-11 Tom de Vries <tdevries@suse.de>
8067
8068 * boards/cc-with-dwz-m.exp: New file.
8069 * boards/cc-with-dwz.exp: New file.
8070 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8071
e242fd12
SM
80722019-04-09 Simon Marchi <simon.marchi@efficios.com>
8073
8074 * gdb.base/start-cpp.exp: New file.
8075 * gdb.base/start-cpp.cc: New file.
8076
2b0c8b01
KB
80772019-04-08 Kevin Buettner <kevinb@redhat.com>
8078
8079 * gdb.python/py-thrhandle.exp: Adjust tests to call
8080 thread_from_handle instead of thread_from_thread_handle.
8081
947210e5
KB
80822019-04-08 Kevin Buettner <kevinb@redhat.com>
8083
8084 * gdb.python/py-thrhandle.exp: Add tests for
8085 gdb.InferiorThread.handle.
8086
d7df6549
AB
80872019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8088
8089 * gdb.python/py-function.exp: Check calling helper function from
8090 all languages.
8091 * lib/gdb.exp (gdb_supported_languages): New proc.
8092
8bdc1658
AB
80932019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8094
8095 * gdb.base/complex-parts.c: New file.
8096 * gdb.base/complex-parts.exp: New file.
8097
05caa1d2
TT
80982019-04-01 Tom Tromey <tromey@adacore.com>
8099
8100 PR symtab/23331:
8101 * gdb.dwarf2/dw2-ranges-main.c: New file.
8102 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8103 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8104
7734102d
EZ
81052019-03-30 Simon Marchi <simark@simark.ca>
8106
8107 * gdb.base/default.exp: Add values for $_gdb_major and
8108 $_gdb_minor.
8109
188e1fa9
TT
81102019-03-29 Tom Tromey <tromey@adacore.com>
8111
8112 * gdb.base/help.exp: Tighten apropos regexp.
8113
2880242d
KS
81142019-03-29 Keith Seitz <keiths@redhat.com>
8115
8116 * gdb.fortran/array-bounds.exp: New file.
8117 * gdb.fortran/array-bounds.f90: New file.
8118
077cad8e
PW
81192019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8120
8121 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8122
80047cfc
PW
81232019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8124
8125 * gdb.multi/hello.c (main): Increase alarm timer.
8126
f489207e
SL
81272019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8128
8129 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8130 factor when no hardware watchpoint support.
8131
c92df149
AH
81322019-03-28 Alan Hayward <alan.hayward@arm.com>
8133 Pedro Alves <palves@redhat.com>
8134
8135 * boards/local-board.exp: set sysroot to /.
8136
933aebfa
AH
81372019-03-27 Alan Hayward <alan.hayward@arm.com>
8138
8139 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8140 in child.
8141
9f9aa852
AB
81422019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8143
8144 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8145 field.
8146 (make_container): Initialise new field.
8147 * gdb.python/py-prettyprint.exp: Add new tests.
8148 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8149 <display_hint>: New method.
8150
3714a195
AB
81512019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8152
8153 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8154 gdb_continue_to_breakpoint more throughout this test.
8155 (run_lang_tests) Supply unique test names, and use
8156 gdb_test_no_output.
8157
18c77628
AB
81582019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8159
8160 * gdb.base/finish-pretty.exp: Update expected results.
8161 * gdb.base/pretty-print.c: New file.
8162 * gdb.base/pretty-print.exp: New file.
8163
9a93502f
PA
81642019-03-25 Pedro Alves <palves@redhat.com>
8165
8166 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8167 move comments outside list. Append '-i "" eof' section.
8168
968aa7ae
AH
81692019-03-22 Alan Hayward <alan.hayward@arm.com>
8170
34a7f2a4 8171 PR testsuite/25016
968aa7ae
AH
8172 * README: Add pie options.
8173 * gdb.base/break-interp.exp: Ensure pie is disabled.
8174 * gdb.base/dump.exp: Likewise.
8175 * lib/gdb.exp (gdb_compile): Add pie option.
8176
4c7d57e7
TT
81772019-03-19 Tom Tromey <tromey@adacore.com>
8178
8179 * gdb.mi/mi2-cli-display.c: New file.
8180 * gdb.mi/mi2-cli-display.exp: New file.
8181
bff8c71f
TT
81822019-03-18 Joel Brobecker <brobecker@adacore.com>
8183 Tom Tromey <tromey@adacore.com>
8184
8185 * gdb.ada/ptype_array/pck.adb: New file.
8186 * gdb.ada/ptype_array/pck.ads: New file.
8187 * gdb.ada/ptype_array/foo.adb: New file.
8188 * gdb.ada/ptype_array.exp: New file.
8189
d085f989
TT
81902019-03-14 Tom Tromey <tromey@adacore.com>
8191
8192 * gdb.base/style.exp: Add "set style sources" test.
8193
b4be1b06
SM
81942019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8195
8196 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8197 * mi-breakpoint-multiple-locations.exp: ... this.
8198 (make_breakpoints_pattern): New proc.
8199 (do_test): Add mi_version parameter, test -break-insert,
8200 -break-info and =breakpoint-created.
8201
7cde5fc2
AB
82022019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8203
8204 * config/default.exp: Remove 'load_lib gdb.exp'.
8205 * config/monitor.exp: Likewise.
8206 * config/sid.exp: Likewise.
8207 * config/sim.exp: Likewise.
8208 * config/slite.exp: Likewise.
8209 * config/unix.exp: Likewise.
8210 * gdb.base/default.exp: Remove unhelpful comment.
8211
efbecbc1
AB
82122019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8213
8214 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8215
0841c79a
AB
82162019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8217
8218 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8219
4a270568
AB
82202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8221
8222 * gdb.fortran/type-kinds.exp: Update expected results.
8223
067630bd
AB
82242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8225
8226 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8227
3be47f7a
AB
82282019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8229
8230 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8231 function.
8232 (test_basic_parsing_of_type_kinds): Expand types tested.
8233 (test_parsing_invalid_type_kinds): New function.
8234
4d00f5d8
AB
82352019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8236
8237 * gdb.fortran/intrinsics.exp: New file.
8238 * gdb.fortran/intrinsics.f90: New file.
8239 * gdb.fortran/type-kinds.exp: New file.
8240
c8f91604
AB
82412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8242
8243 * gdb.fortran/dot-ops.exp: New file.
8244
dd9f2c76
AB
82452019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8246
8247 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8248 Check upper and lower case logical literals.
8249
84ec9724
AB
82502019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8251
8252 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8253 Remove duplicate tests.
8254
c3734e09
AH
82552019-03-06 Alan Hayward <alan.hayward@arm.com>
8256
8257 * lib/gdb.exp (builtin_cd): rename of cd.
8258 (cd): Override builtin.
8259
aa3cfbda
RB
82602019-03-06 Richard Bunt <richard.bunt@arm.com>
8261
8262 * gdb.fortran/function-calls.exp: New file.
8263 * gdb.fortran/function-calls.f90: New test.
8264
7b63ad86
RB
82652019-03-04 Richard Bunt <richard.bunt@arm.com>
8266
8267 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8268 on user program standard output.
8269 * gdb.fortran/short-circuit-argument-list.f90: Record function
8270 calls.
8271
01abb042
AH
82722019-02-28 Alan Hayward <alan.hayward@arm.com>
8273
c3734e09
AH
8274 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8275 failure.
01abb042 8276
92137da0
RO
82772019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8278
8279 PR gdb/8527
8280 * gdb.base/interrupt-daemon-attach.c,
8281 gdb.base/interrupt-daemon-attach.exp: New test.
8282
5862844d
PA
82832019-02-27 Pedro Alves <palves@redhat.com>
8284
8285 * gdb.base/page.exp: Add tests for "set width/height -1".
8286
8ed25214
PA
82872019-02-27 Pedro Alves <palves@redhat.com>
8288
8289 * gdb.base/page.exp: Add tests for "set/show width/height" with
8290 "infinite" values.
8291
6c28e44a
TT
82922019-02-27 Tom Tromey <tromey@adacore.com>
8293
8294 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8295 2.4.
8296 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8297 workaround.
8298
bf9a735e
AB
82992019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8300
8301 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8302 tests for structs with static members.
8303
8791793c
TT
83042019-02-26 Tom Tromey <tromey@adacore.com>
8305
8306 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8307 ValueError, not TypeError.
8308
bc2a507e
KB
83092019-02-26 Kevin Buettner <kevinb@redhat.com>
8310
8311 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8312 call from main program.
8313
e0e7d3bd
JB
83142019-02-23 Joel Brobecker <brobecker@adacore.com>
8315
8316 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8317 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8318 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8319 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8320 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8321
9600246d
KS
83222019-02-22 Keith Seitz <keiths@redhat.com>
8323
8324 PR symtab/23853
8325 * gdb.base/symlink-sourcefile.c: New file.
8326 * gdb.base/symlink-sourcefile.exp: New file.
8327
0c95f9ed
TT
83282019-02-20 Tom Tromey <tom@tromey.com>
8329
8330 * gdb.base/info_qt.exp: Update.
8331
6caa91b6
SM
83322019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8333
8334 * gdb.base/source.exp: Move "error in sourced script" code to
8335 the end.
8336 * gdb.base/source-error.gdb: Move contents to
8337 source-error-1.gdb. Add new code to source source-error-1.gdb.
8338 * gdb.base/source-error-1.gdb: New file, from previous
8339 source-error.gdb.
8340
6506371f
TT
83412019-02-17 Tom Tromey <tom@tromey.com>
8342
8343 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8344 for macro styling.
8345 * gdb.base/style.c (SOME_MACRO): New macro.
8346
a0087920
TT
83472019-02-17 Tom Tromey <tom@tromey.com>
8348
8349 * gdb.base/style.exp: Add line-wrapping tests.
8350 * gdb.base/page.exp: Add test for quitting during pagination.
8351
a2cd4f14
JB
83522019-02-17 Joel Brobecker <brobecker@adacore.com>
8353
8354 * gdb.ada/big_packed_array: New testcase.
8355 * gdb.ada/homonym.exp: Fix incorrect expected output for
8356 "break <homonym__get_value>" test.
8357
9d70ffbc
WP
83582019-02-13 Weimin Pan <weimin.pan@oracle.com>
8359
8360 PR breakpoints/21870
8361 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8362 and prepare_for_testing. Add comment.
8363 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8364 redundant cleanup call. Clean up comment.
8365
01c7ae81
WP
83662019-02-12 Weimin Pan <weimin.pan@oracle.com>
8367
8368 PR breakpoints/21870
8369 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8370 * gdb.arch/aarch64-dbreg-contents.c: New file.
8371
aff29d1c
JB
83722019-02-10 Joel Brobecker <brobecker@adacore.com>
8373
8374 * gdb.ada/mi_ref_changeable: New testcase.
8375
df0da8a2
AH
83762019-02-07 Alan Hayward <alan.hayward@arm.com>
8377
8378 * gdb.base/attach.exp: Add double attach test.
8379
bd447abb
SM
83802019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8381
8382 * lib/gdb.exp (default_gdb_start): Don't match pagination
8383 prompt.
8384 (gdb_init): Set stty_init.
8385
1dbc40b9
TT
83862019-01-27 Tom Tromey <tom@tromey.com>
8387
8388 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8389 skip_python_tests.
8390
353229bf
AH
83912019-01-24 Alan Hayward <alan.hayward@arm.com>
8392
8393 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8394 New structure.
8395 (struct struct_static_02_02): Likewise.
8396 (struct struct_static_02_03): Likewise.
8397 (struct struct_static_02_04): Likewise.
8398 (struct struct_static_04_01): Likewise.
8399 (struct struct_static_04_02): Likewise.
8400 (struct struct_static_04_03): Likewise.
8401 (struct struct_static_04_04): Likewise.
8402 (struct struct_static_06_01): Likewise.
8403 (struct struct_static_06_02): Likewise.
8404 (struct struct_static_06_03): Likewise.
8405 (struct struct_static_06_04): Likewise.
8406 (cmp_struct_static_02_01): Likewise.
8407 (cmp_struct_static_02_02): Likewise.
8408 (cmp_struct_static_02_03): Likewise.
8409 (cmp_struct_static_02_04): Likewise.
8410 (cmp_struct_static_04_01): Likewise.
8411 (cmp_struct_static_04_02): Likewise.
8412 (cmp_struct_static_04_03): Likewise.
8413 (cmp_struct_static_04_04): Likewise.
8414 (cmp_struct_static_06_01): Likewise.
8415 (cmp_struct_static_06_02): Likewise.
8416 (cmp_struct_static_06_03): Likewise.
8417 (cmp_struct_static_06_04): Likewise.
8418 (call_all): Test new structs.
8419 * gdb.base/infcall-nested-structs.exp: Likewise.
8420
73021deb
AH
84212019-01-21 Alan Hayward <alan.hayward@arm.com>
8422 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8423
fc65c7db
AH
84242019-01-21 Alan Hayward <alan.hayward@arm.com>
8425 * gdb.base/stack-protector.c: New test.
8426 * gdb.base/stack-protector.exp: New file.
8427 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8428 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8429 option.
8430 (gdb_compile): Remove stack protector for GCC and prevent
8431 recursion.
8432
c24bdb02
KS
84332019-01-16 Keith Seitz <keiths@redhat.com>
8434
8435 PR gdb/23773
8436 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8437
6f072a10
PFC
84382019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8439
8440 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8441 aliases.
8442 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8443 tests.
8444 * gdb.arch/powerpc-vector-regs.c: New file.
8445 * gdb.arch/powerpc-vector-regs.exp: New file.
8446
a7b8d682
PFC
84472019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8448
8449 * gdb.arch/altivec-regs.exp: Fix the list passed to
8450 gdb_expect_list when testing "info vector".
8451
6eb6fb67
AB
84522019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8453
8454 * gdb.base/style.exp: Don't include path in testname.
8455
b56f80d8
KS
84562019-01-10 Keith Seitz <keiths@redhat.com>
8457
8458 PR gdb/23712
8459 PR symtab/23010
8460 * gdb.dwarf2/multidictionary.exp: New file.
8461
041be526
SM
84622019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8463
8464 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8465 (test_gnuv3_style_demangling): ... this.
8466 (test_lucid_style_demangling): Remove.
8467 (test_arm_style_demangling): Remove.
8468 (test_hp_style_demangling): Remove.
8469 (do_tests): Remove calls to the above.
8470
d820d0c3
AB
84712019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8472
8473 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8474 case.
8475
f097f5ad
TT
84762019-01-06 Tom Tromey <tom@tromey.com>
8477
8478 PR gdb/28155:
8479 * gdb.dwarf2/typedef-void-finish.exp: New file.
8480
2cd8cc0b
TT
84812018-12-28 Tom Tromey <tom@tromey.com>
8482 Simon Marchi <simark@simark.ca>
8483
8484 * gdb.base/jit-exec.exp: New file.
8485 * gdb.base/jit-exec.c: New file.
8486 * gdb.base/jit-execd.c: New file.
8487
35fb8261
TT
84882018-12-28 Tom Tromey <tom@tromey.com>
8489
8490 * gdb.base/style.exp: Update test to check for address styling.
8491
47fd17cd
TT
84922018-12-28 Tom Tromey <tom@tromey.com>
8493
8494 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8495 message.
8496
d47032b7
TT
84972018-12-28 Tom Tromey <tom@tromey.com>
8498
8499 * gdb.base/style.exp: Add test for version number styling.
8500
af79b68d
TT
85012018-12-28 Tom Tromey <tom@tromey.com>
8502
8503 * gdb.base/style.exp: Add test for print_address_symbolic.
8504
0bb296cb
TT
85052018-12-28 Tom Tromey <tom@tromey.com>
8506
8507 * gdb.base/style.exp: Add test for breakpoint setting.
8508
80ae2043
TT
85092018-12-28 Tom Tromey <tom@tromey.com>
8510
8511 * gdb.base/style.exp: Add test for variable names.
8512
cbe56571
TT
85132018-12-28 Tom Tromey <tom@tromey.com>
8514
8515 * gdb.base/style.exp: New file.
8516 * gdb.base/style.c: New file.
8517
9162a27c
TT
85182018-12-28 Tom Tromey <tom@tromey.com>
8519
8520 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8521 "dumb".
8522 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8523 the TERM environment variable.
8524
bc543c90
TT
85252018-12-27 Tom Tromey <tom@tromey.com>
8526
8527 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8528 pagination test.
8529
6f0ffe50
AB
85302018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8531
8532 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8533 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8534
b5a1e557
PW
85352018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8536
8537 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8538 Filename a.adb changed to bp_fun_addr.adb.
8539 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8540
6e8b1ab2
JV
85412018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8542
8543 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8544 non-PIE executables.
8545 * README: Mention the gdb,nopie_flag board setting.
8546 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8547 non-PIE executable.
8548 * gdb.arch/amd64-entry-value.exp: Likewise.
8549 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8550 * gdb.arch/i386-float.exp: Likewise.
8551 * gdb.arch/i386-signal.exp: Likewise.
8552 * gdb.mi/mi-reg-undefined.exp: Likewise.
8553
d00a27c5
PM
85542018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8555
8556 PR gdb/23974
8557 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8558
161d081c
PW
85592018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8560
8561 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8562 Update order of results accordingly.
8563
b001de23
AB
85642018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8565
8566 * gdb.base/annota1.exp: Update a test regexp.
8567
99e1a184
AB
85682018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8569
8570 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8571
7a81c1e2
PW
85722018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8573
8574 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8575 (reuse_time): Initialize to REUSE_TIME_CAP.
8576 (check_rc): New function.
8577 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8578 Check pthread_create rc.
8579 (spawner_thread_func): Check pthread_create and pthread_join rc.
8580
73e8dc90
PA
85812018-12-08 Pedro Alves <palves@redhat.com>
8582
8583 * gdb.base/list.exp (test_forward_search): Rename to ...
8584 (test_forward_reverse_search): ... this. Also test reverse-search
8585 and the forward-search alias.
8586
13f2ed32
AB
85872018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8588
8589 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8590 local timeout variable before return, and remove all local timeout
8591 variable entirely.
8592 (gdb_load): Likewise.
8593
64d27cfc
TV
85942018-12-01 Tom de Vries <tdevries@suse.de>
8595
8596 * gdb.base/gdb-caching-proc.exp: New file.
8597
f63c03b4
SDJ
85982018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8599
8600 * Makefile.in (TIMESTAMP): New variable.
8601 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8602 command.
8603 (check-single-racy): Likewise.
8604 (check/%.exp): Likewise.
8605 (check-racy/%.exp): Likewise.
8606 (workers/%.worker): Likewise.
8607 (build-perf): Likewise.
8608 (check-perf): Likewise.
8609 * README: Describe new "TS" and "TS_FORMAT" variables.
8610 * print-ts.py: New file.
8611
1c97054b
BF
86122018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8613
8614 PR python/23714
8615 * gdb.python/python.exp: Test command repetition after
8616 gdb.execute.
8617
1871a62d
AB
86182018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8619
8620 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8621 is correctly aligned.
8622
fb5e1ed9
PW
86232018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8624
8625 * gdb.ada/info_auto_lang.exp: New testcase.
8626 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8627 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8628 * gdb.ada/info_auto_lang/some_c.c: New file.
8629
43d397ca
PW
86302018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8631
8632 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8633 FUNC_lang language syntax.
8634
beddd671
PW
86352018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8636
8637 * gdb.base/info_minsym.c: New file.
8638 * gdb.base/info_minsym.exp: New file.
8639
73fc52c4
TT
86402018-11-19 Tom Tromey <tom@tromey.com>
8641
8642 PR rust/23625:
8643 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8644 * gdb.rust/expr.exp: Update expected output. Change one test.
8645
994b876a
TT
86462018-11-19 Tom Tromey <tom@tromey.com>
8647
8648 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8649
6769f276
PA
86502018-11-19 Pedro Alves <palves@redhat.com>
8651
8652 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8653 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8654 see the expected warning.
8655
38a72da0
AH
86562018-11-16 Alan Hayward <alan.hayward@arm.com>
8657
8658 PR gdb/22736:
8659 * gdb.cp/infcall-nodebug-lib.c: New test.
8660 * gdb.cp/infcall-nodebug-main.c: New test.
8661 * gdb.cp/infcall-nodebug.exp: New file.
8662
53a89d6e
SM
86632018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8664
8665 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8666 completer tests.
8667
9325300d
TV
86682018-11-09 Tom de Vries <tdevries@suse.de>
8669
8670 * gdb.base/msym-lang.c: New test.
8671 * gdb.base/msym-lang.exp: New file.
8672 * gdb.base/msym-lang-main.c: New test.
8673
20f0d60d
TT
86742018-11-08 Tom Tromey <tom@tromey.com>
8675
8676 PR gdb/23555:
8677 PR gdb/23838:
8678 * gdb.base/warning.exp: New file.
8679
b5420128
JB
86802018-11-08 Jan Beulich <jbeulich@suse.com>
8681
8682 * testsuite/gdb.arch/i386-avx512.c,
8683 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8684
cd115d61
AB
86852018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8686
8687 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8688 point hardware.
8689
35ee2dc2
AB
86902018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8691
8692 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8693 * gdb.dwarf2/missing-type-name.exp: New file.
8694
31aceee8
TV
86952018-11-06 Tom de Vries <tdevries@suse.de>
8696
8697 * gdb.base/many-headers.c: New test.
8698 * gdb.base/many-headers.exp: New file.
8699
109be305
JW
87002018-11-06 Jim Wilson <jimw@sifive.com>
8701
8702 * gdb.base/code_elim.exp: For riscv, set additional_flags
8703 to include -msmall-data-limit=0.
8704
e2b7af72
JB
87052018-11-01 Joel Brobecker <brobecker@adacore.com>
8706
8707 * gdb.ada/watch_minus_l: New testcase.
8708
cdcda965
SM
87092018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8710
8711 * gdb.arch/aix-sighandle.c: New file.
8712 * gdb.arch/aix-sighandle.exp: New file.
8713
92dcebf3
AB
87142018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8715
8716 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8717 registers being unions.
8718
68b9ac18
TV
87192018-10-31 Tom de Vries <tdevries@suse.de>
8720
8721 * lib/valgrind.exp: New file.
8722 (vgdb_start, vgdb_stop): New procs, factored out of ...
8723 * gdb.base/valgrind-bt.exp: ... here, ...
8724 * gdb.base/valgrind-disp-step.exp: ... here and ...
8725 * gdb.base/valgrind-infcall.exp: ... here.
8726
1443936e
TV
87272018-10-31 Tom de Vries <tdevries@suse.de>
8728
8729 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8730
eb77c9df
AB
87312018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8732
8733 * gdb.dwarf2/void-type.c: New file.
8734 * gdb.dwarf2/void-type.exp: New file.
8735
82b5e646
PW
87362018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8737
8738 * gdb.base/info_qt.c: New file.
8739 * gdb.base/info_qt.exp: New file.
8740
8d619c01
EBM
87412018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8742
8743 * gdb.arch/powerpc-htm-regs.c: New file.
8744 * gdb.arch/powerpc-htm-regs.exp: New file.
8745
f2cf6173
EBM
87462018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8747
8748 * gdb.arch/powerpc-tar.c: New file.
8749 * gdb.arch/powerpc-tar.exp: New file.
8750
7ca18ed6
EBM
87512018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8752
8753 * gdb.arch/powerpc-ppr-dscr.c: New file.
8754 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8755
bfcc0eba
TV
87562018-10-25 Tom de Vries <tdevries@suse.de>
8757
8758 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8759
fe1a5cad
TV
87602018-10-24 Tom de Vries <tdevries@suse.de>
8761
8762 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8763 longer exists error.
8764
a76dc3b7
TV
87652018-10-24 Tom de Vries <tdevries@suse.de>
8766
8767 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8768
4df46df7
TV
87692018-10-24 Tom de Vries <tdevries@suse.de>
8770
8771 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8772 --db-attach in valgrind.
8773
0dbfcfff
AB
87742018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8775
8776 * gdb.arch/riscv-reg-aliases.c: New file.
8777 * gdb.arch/riscv-reg-aliases.exp: New file.
8778
b04480b1
AH
87792018-10-19 Alan Hayward <alan.hayward@arm.com>
8780
8781 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8782
2c6ac8d7
AH
87832018-10-19 Alan Hayward <alan.hayward@arm.com>
8784
8785 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8786
2bc69f25
AH
87872018-10-19 Alan Hayward <alan.hayward@arm.com>
8788
8789 * gdb.cp/ovldbreak.exp: Fix regexps.
8790
1f1ae3a3
AH
87912018-10-19 Alan Hayward <alan.hayward@arm.com>
8792
8793 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8794
94c18618
SDJ
87952018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8796
8797 PR cli/23785
8798 * gdb.base/restore.exp: New test to check if "restore" with an
8799 invalid file doesn't segfault.
8800
812cd6eb
TV
88012018-10-18 Tom de Vries <tdevries@suse.de>
8802
8803 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8804 * gdb.ada/excep_handle.exp: Same.
8805 * gdb.ada/mi_string_access.exp: Same.
8806 * gdb.ada/mi_var_union.exp: Same.
8807 * gdb.arch/arc-analyze-prologue.exp: Same.
8808 * gdb.arch/arc-decode-insn.exp: Same.
8809 * gdb.base/readnever.exp: Same.
8810 * gdb.fortran/printing-types.exp: Same.
8811 * gdb.guile/scm-lazy-string.exp: Same.
8812
c4b90788
TV
88132018-10-16 Tom de Vries <tdevries@suse.de>
8814
8815 PR gdb/23730
8816 * gdb.base/catch-follow-exec.c: Add copyright notice.
8817 * gdb.base/catch-follow-exec.exp: Rewrite to use
8818 gdb_spawn_with_cmdline_opts. Require gdb-native.
8819
8bca2978
SL
88202018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8821
8822 * gdb.trace/actions-changed.exp: Check for arch support.
8823 * gdb.trace/actions.exp: Likewise.
8824 * gdb.trace/ax.exp: Likewise.
8825 * gdb.trace/backtrace.exp: Likewise.
8826 * gdb.trace/change-loc.exp: Likewise.
8827 * gdb.trace/deltrace.exp: Likewise.
8828 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8829 * gdb.trace/ftrace.exp: Likewise.
8830 * gdb.trace/infotrace.exp: Check for arch support.
8831 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8832 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8833 * gdb.trace/mi-tsv-changed.exp: Likewise.
8834 * gdb.trace/packetlen.exp: Likewise.
8835 * gdb.trace/passc-dyn.exp: Likewise.
8836 * gdb.trace/passcount.exp: Likewise.
8837 * gdb.trace/pending.exp: Likewise.
8838 * gdb.trace/range-stepping.exp: Check for shlib support.
8839 * gdb.trace/report.exp: Check for arch support.
8840 * gdb.trace/save-trace.exp: Likewise.
8841 * gdb.trace/signal.exp: Check for signal support.
8842 * gdb.trace/tfind.exp: Check for arch support.
8843 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8844 * gdb.trace/trace-common.h: Add comment.
8845 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8846 * gdb.trace/trace-enable-disable.exp: Likewise.
8847 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8848 * gdb.trace/tracecmd.exp: Check for arch support.
8849 * gdb.trace/tspeed.exp: Check for shlib and target support.
8850 * gdb.trace/tstatus.exp: Check for arch support.
8851 * gdb.trace/tsv.exp: Likewise.
8852 * gdb.trace/while-dyn.exp: Likewise.
8853 * gdb.trace/while-stepping.exp: Likewise.
8854 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8855
f9c49bff
SM
88562018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8857
8858 * gdb.trace/tspeed.exp: Remove nowarnings.
8859 (prepare_for_trace_test): Declare "global ipalib".
8860 * gdb.trace/tspeed.c: Include unistd.h.
8861 (main): Remove superfluous printf argument.
8862
d4330bde
SL
88632018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8864
8865 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8866 directory prefix on the filename.
8867
8ecfd7bd
SDJ
88682018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8869
8870 * gdb.gdb/unittest.exp: Update expected message informing that
8871 selftests have been disabled.
8872 * gdb.server/unittest.exp: Likewise.
8873
58bbcd02
TV
88742018-10-09 Tom de Vries <tdevries@suse.de>
8875
8876 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8877 with runto_main.
8878
9f6b697b
WP
88792018-10-08 Weimin Pan <weimin.pan@oracle.com>
8880
8881 PR c++/16841
8882 * gdb.cp/virtbase2.cc: New file.
8883 * gdb.cp/virtbase2.exp: New file.
8884
add5ded5
TT
88852018-10-06 Tom Tromey <tom@tromey.com>
8886
8887 PR python/19399:
8888 * gdb.python/py-inferior.exp: Add architecture test.
8889
f9e48344
TT
88902018-10-06 Tom Tromey <tom@tromey.com>
8891
8892 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8893 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8894
2a8be203
TT
88952018-10-06 Tom Tromey <tom@tromey.com>
8896
8897 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8898 of a "throw" catchpoint.
8899
e04caa70
SDJ
89002018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8901
8902 * gdb.base/info-proc.exp: Update string expected from "help info
8903 proc".
8904
5ca8c39f
TT
89052018-10-04 Tom Tromey <tom@tromey.com>
8906
8907 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8908 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8909 (test_initial_complaints, test_empty_complaints): Update.
8910 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8911
3453e7e4
TT
89122018-10-04 Tom Tromey <tom@tromey.com>
8913
8914 PR cli/19551:
8915 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8916 * lib/gdb.exp (gdb_file_cmd): Update.
8917 * gdb.stabs/weird.exp (print_weird_var): Update.
8918 * gdb.server/solib-list.exp: Update.
8919 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8920 * gdb.mi/mi-cli.exp: Update.
8921 * gdb.linespec/linespec.exp: Update.
8922 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8923 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8924 * gdb.cp/cp-relocate.exp: Update.
8925 * gdb.base/sym-file.exp: Update.
8926 * gdb.base/relocate.exp: Update.
8927 * gdb.base/readnever.exp: Update.
8928 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8929 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8930 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8931 * gdb.base/code_elim.exp: Update.
8932 * gdb.base/break-unload-file.exp (test_break): Update.
8933 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8934 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8935 Update.
8936 * gdb.base/attach.exp (do_attach_tests): Update.
8937 * gdb.base/sepdebug.exp: Update.
8938 * gdb.python/py-section-script.exp: Update.
8939
6afcf761
TT
89402018-10-04 Tom Tromey <tom@tromey.com>
8941
8942 PR cli/22234:
8943 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8944 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8945 output.
8946
fef1b293
TT
89472018-10-04 Tom Tromey <tom@tromey.com>
8948
8949 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8950 set width and height to 0.
8951 (test_command_line_attach_run): Use -quiet.
8952
ca98345e
SL
89532018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8954
8955 * lib/gdb.exp (skip_ifunc_tests): New.
8956 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8957 other compile failures.
8958 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8959
ff34e6ae
SM
89602018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8961
8962 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8963 is_amd64_regs_target.
8964
6bb8890e
AH
89652018-10-01 Alan Hayward <alan.hayward@arm.com>
8966
8967 * gdb.arch/aarch64-sighandler-regs.c: New test.
8968 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8969 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8970
224d30d3
MM
89712018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8972
8973 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8974 assembly.
8975
f67ffa6a
AB
89762018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8977
8978 * gdb.base/frame-selection.exp: New file.
8979 * gdb.base/frame-selection.c: New file.
8980
9fc3183f
AH
89812018-09-27 Alan Hayward <alan.hayward@arm.com>
8982
8983 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8984 pthread barrier.
8985 (main): Likewise.
8986
d354055e
AB
89872018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8988
8989 * gdb.base/large-frame-1.c: New file.
8990 * gdb.base/large-frame-2.c: New file.
8991 * gdb.base/large-frame.exp: New file.
8992 * gdb.base/large-frame.h: New file.
8993
db727370
JL
89942018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8995
8996 PR gdb/20948
8997 * gdb.base/write_mem.exp: New test.
8998 * gdb.base/write_mem.c: Likewise.
8999
ae778caf
TT
90002018-09-23 Tom Tromey <tom@tromey.com>
9001
9002 PR python/18852:
9003 * gdb.python/py-parameter.exp: Add test for parameter that throws
9004 on "set".
9005
fd3ba736
TT
90062018-09-23 Tom Tromey <tom@tromey.com>
9007
9008 PR python/17284:
9009 * gdb.python/py-template.exp (test_template_arg): Add test for
9010 negative template argument number.
9011
39a24317
TT
90122018-09-23 Tom Tromey <tom@tromey.com>
9013
9014 PR python/14062:
9015 * gdb.python/python.exp: Add test for post_event error.
9016
f5769a2c
TT
90172018-09-23 Tom Tromey <tom@tromey.com>
9018
9019 PR python/18170:
9020 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9021 convert pointers to int and long.
9022
1c1e54f6
TT
90232018-09-23 Tom Tromey <tom@tromey.com>
9024
9025 PR python/20126:
9026 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9027 signed-ness conversion tests.
9028
fb4fa946
TT
90292018-09-23 Tom Tromey <tom@tromey.com>
9030
9031 PR python/18352;
9032 * gdb.python/py-value.exp (test_float_conversion): New proc.
9033 Use it.
9034
a466edac
HAQ
90352018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9036
9037 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9038
4ee9b0c5
SL
90392018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9040
9041 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9042 no readline.
9043 * gdb.base/utf8-identifiers.exp: Likewise.
9044 * gdb.cp/cpcompletion.exp: Likewise.
9045 * gdb.linespec/cpcompletion.exp: Likewise.
9046 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9047 * gdb.linespec/cpls-ops.exp: Likewise.
9048
23be8da7
RB
90492018-09-19 Richard Bunt <richard.bunt@arm.com>
9050 Chris January <chris.january@arm.com>
9051
9052 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9053 * gdb.fortran/short-circuit-argument-list.exp: New file.
9054 * gdb.fortran/short-circuit-argument-list.f90: New test.
9055
5031d0ae
SDJ
90562018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9057
9058 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9059 "arch=" keyword when executing "-stack-list-frames".
9060
b4c0d1a4
SDJ
90612018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9062
9063 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9064 "arch=" keyword when executing "-stack-list-frames".
9065
7a6d2b45
SDJ
90662018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9067
9068 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9069 break ada".
9070
8588b356
SM
90712018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9072
9073 PR python/23669
9074 * gdb.python/python.exp: Test gdb.execute("show commands").
9075
65e65158
TT
90762018-09-16 Tom Tromey <tom@tromey.com>
9077
9078 * gdb.base/new-ui.exp (do_execution_tests): Update.
9079 * gdb.base/dbx.exp (test_breakpoints): Update.
9080
bf326452
AH
90812018-09-14 Alan Hayward <alan.hayward@arm.com>
9082
9083 * lib/gdb.exp (gdb_simple_compile): Add proc.
9084 (is_elf_target): Use gdb_simple_compile.
9085 (skip_altivec_tests): Likewise.
9086 (skip_vsx_tests): Likewise.
9087 (skip_tsx_tests): Likewise.
9088 (skip_btrace_tests): Likewise.
9089 (skip_btrace_pt_tests): Likewise.
9090 (gdb_can_simple_compile): Likewise.
9091 (gdb_has_argv0): Likewise.
9092 (gdb_target_symbol_prefix): Likewise.
9093 (target_supports_scheduler_locking): Likewise.
9094
2361b0fb
TT
90952018-09-13 Tom Tromey <tom@tromey.com>
9096
9097 * Makefile.in (TAGS): Recognize proc_with_prefix and
9098 gdb_caching_proc.
9099
0ae1a321
SM
91002018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9101
9102 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9103 method.
9104
a40bf0c2
SM
91052018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9106
9107 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9108 and a few other Inferior properties when the Inferior is no
9109 longer valid.
9110
4a3fe98f
TT
91112018-09-13 Tom Tromey <tom@tromey.com>
9112
9113 PR rust/23650:
9114 * gdb.rust/simple.exp: Add test for enum field access error.
9115
098b2108
TT
91162018-09-13 Tom Tromey <tom@tromey.com>
9117
9118 PR rust/23626:
9119 * gdb.rust/simple.rs (EmptyEnum): New type.
9120 (main): Use it.
9121 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9122
1256af7d
SM
91232018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9124
9125 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9126 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9127 * gdb.python/py-symtab.exp: Update test printing an objfile.
9128
4aa8e6c2
SM
91292018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9130
9131 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9132 object.
9133
c221b2f7
AH
91342018-09-12 Alan Hayward <alan.hayward@arm.com>
9135
9136 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9137 (support_complex_tests): Use gdb_can_simple_compile.
9138 (is_ilp32_target): Likewise.
9139 (is_lp64_target): Likewise.
9140 (is_64_target): Likewise.
9141 (is_amd64_regs_target): Likewise.
9142 (is_aarch32_target): Likewise.
9143 (gdb_int128_helper): Likewise.
9144
6f1107b5
JK
91452018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9146
9147 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9148
1f5d1570
JG
91492018-09-10 Jerome Guitton <guitton@adacore.com>
9150
9151 * gdb.ada/same_component_name: Add test for case of tagged record
9152 with variable-length fields.
9153
cc330e39
XR
91542018-09-10 Xavier Roirand <roirand@adacore.com>
9155
9156 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9157 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9158 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9159 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9160
b9c50e9a
XR
91612018-09-10 Xavier Roirand <roirand@adacore.com>
9162
9163 * gdb.ada/mi_string_access.exp: New testcase.
9164 * gdb.ada/mi_string_access/bar.adb: New file.
9165 * gdb.ada/mi_string_access/pck.adb: New file.
9166 * gdb.ada/mi_string_access/pck.asd: New file.
9167
2963898f
XR
91682018-09-10 Xavier Roirand <roirand@adacore.com>
9169
9170 * gdb.ada/mi_var_union.exp: New testcase.
9171 * gdb.ada/mi_var_union/bar.adb: New file.
9172 * gdb.ada/mi_var_union/pck.adb: New file.
9173 * gdb.ada/mi_var_union/pck.asd: New file.
9174
1aac008f
TT
91752018-09-08 Tom Tromey <tom@tromey.com>
9176
9177 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9178
332cf4c9
TT
91792018-09-08 Tom Tromey <tom@tromey.com>
9180
9181 PR python/16047:
9182 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9183 (register_pretty_printers): Register new printer.
9184 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9185 test.
9186 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9187 (an_int_type3): New global.
9188
424da6cf
JB
91892018-09-08 Joel Brobecker <brobecker@adacore.com>
9190
9191 * gdb.ada/expr_with_funcall: New testcase.
9192
2a62dfa9
JB
91932018-09-08 Joel Brobecker <brobecker@adacore.com>
9194
9195 * gdb.ada/packed_array_assign: New testcase.
9196
96b6697f
AB
91972018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9198
9199 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9200 names, and add test prefixes to make test names unique.
9201
e4a62c65
TV
92022018-09-05 Tom de Vries <tdevries@suse.de>
9203
9204 * gdb.dwarf2/varval.exp: Add test.
9205
dd083ee2
GB
92062018-09-04 Gary Benson <gbenson@redhat.com>
9207
9208 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9209 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9210
aef9346c
TT
92112018-08-31 Tom Tromey <tom@tromey.com>
9212
9213 * gdb.rust/simple.rs: Rename second variable "v".
9214
c67f2e15
AB
92152018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9216
9217 * gdb.base/funcargs.c (use_a): New function.
9218 (recurse): Call use_a.
9219
078a0207
KS
92202018-08-29 Keith Seitz <keiths@redhat.com>
9221
9222 * gdb.compile/compile-cplus-anonymous.cc: New file.
9223 * gdb.compile/compile-cplus-anonymous.exp: New file.
9224 * gdb.compile/compile-cplus-array-decay.cc: New file.
9225 * gdb.compile/compile-cplus-array-decay.exp: New file.
9226 * gdb.compile/compile-cplus-inherit.cc: New file.
9227 * gdb.compile/compile-cplus-inherit.exp: New file.
9228 * gdb.compile/compile-cplus-member.cc: New file.
9229 * gdb.compile/compile-cplus-member.exp: New file.
9230 * gdb.compile/compile-cplus-method.cc: New file.
9231 * gdb.compile/compile-cplus-method.exp: New file.
9232 * gdb.compile/compile-cplus-mod.c: "New" file.
9233 * gdb.compile/compile-cplus-namespace.cc: New file.
9234 * gdb.compile/compile-cplus-namespace.exp: New file.
9235 * gdb.compile/compile-cplus-nested.cc: New file.
9236 * gdb.compile/compile-cplus-nested.exp: New file.
9237 * gdb.compile/compile-cplus-print.c: "New" file.
9238 * gdb.compile/compile-cplus-print.exp: "New" file.
9239 * gdb.compile/compile-cplus-virtual.cc: New file.
9240 * gdb.compile/compile-cplus-virtual.exp: New file.
9241 * gdb.compile/compile-cplus.c: "New" file.
9242 * gdb.compile/compile-cplus.exp: "New" file.
9243 * lib/compile-support.exp: New file.
9244
b0f492b9
GB
92452018-08-16 Gary Benson <gbenson@redhat.com>
9246
9247 PR gdb/13000:
9248 * gdb.base/batch-exit-status.exp: New file.
9249 * gdb.base/batch-exit-status.good-commands: Likewise.
9250 * gdb.base/batch-exit-status.bad-commands: Likewise.
9251
36eb4c5f
AH
92522018-08-29 Alan Hayward <alan.hayward@arm.com>
9253
9254 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9255 (struct struct02): Likewise.
9256 (struct struct03): Likewise.
9257 (struct struct04): Likewise.
9258 (struct struct_01_01): New struct.
9259 (struct struct_01_02): Likewise.
9260 (struct struct_01_03): Likewise.
9261 (struct struct_01_04): Likewise.
9262 (struct struct_02_01): Likewise.
9263 (struct struct_02_02): Likewise.
9264 (struct struct_02_03): Likewise.
9265 (struct struct_02_04): Likewise.
9266 (struct struct_04_01): Likewise.
9267 (struct struct_04_02): Likewise.
9268 (struct struct_04_03): Likewise.
9269 (struct struct_04_04): Likewise.
9270 (struct struct_05_01): Likewise.
9271 (struct struct_05_02): Likewise.
9272 (struct struct_05_03): Likewise.
9273 (struct struct_05_04): Likewise.
9274 (cmp_struct01): Remove function.
9275 (cmp_struct02): Likewise.
9276 (cmp_struct03): Likewise.
9277 (cmp_struct04): Likewise.
9278 (cmp_struct_01_01): Add Function.
9279 (cmp_struct_01_02): Likewise.
9280 (cmp_struct_01_03): Likewise.
9281 (cmp_struct_01_04): Likewise.
9282 (cmp_struct_02_01): Likewise.
9283 (cmp_struct_02_02): Likewise.
9284 (cmp_struct_02_03): Likewise.
9285 (cmp_struct_02_04): Likewise.
9286 (cmp_struct_04_01): Likewise.
9287 (cmp_struct_04_02): Likewise.
9288 (cmp_struct_04_03): Likewise.
9289 (cmp_struct_04_04): Likewise.
9290 (cmp_struct_05_01): Likewise.
9291 (cmp_struct_05_02): Likewise.
9292 (cmp_struct_05_03): Likewise.
9293 (cmp_struct_05_04): Likewise.
9294 (call_all): Add new structs.
9295 * gdb.base/infcall-nested-structs.exp: Likewise.
9296
3bf9c013
JV
92972018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9298
9299 * gdb.python/py-framefilter-mi.exp: Update regexp to
9300 check for "arch" field in frame output.
9301
450d1e88
KB
93022018-08-23 Kevin Buettner <kevinb@redhat.com>
9303
9304 * gdb.dwarf2/dw2-ranges-func.c: New file.
9305 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9306
ae739fe7
SM
93072018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9308
9309 * gdb.base/term.exp: Compare terminal settings with values from
9310 the inferior.
9311 * gdb.base/term.c: Get and set terminal settings.
9312
6d52907e
JV
93132018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9314
9315 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9316 accommodate new "arch" field in frame output.
9317 * gdb.mi/mi-return.exp: Likewise.
9318 * gdb.mi/mi-stack.exp: Likewise.
9319 * gdb.mi/mi-syn-frame.exp: Likewise.
9320 * gdb.mi/user-selected-context-sync.exp: Likewise.
9321
be2d111a
MS
93222018-08-19 Michael Spang <spang@google.com>
9323
9324 PR gdb/11786
9325 * gdb.base/gcore-tls-pie.c: New file.
9326 * gdb.base/gcore-tls-pie.exp: New file.
9327
ae3a7c47
KB
93282018-08-18 Kevin Buettner <kevinb@redhat.com>
9329
9330 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9331 * gdb.dwarf2/varval.c: New file.
9332 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9333
2ecae92e
AH
93342018-08-17 Alan Hayward <alan.hayward@arm.com>
9335
9336 PR gdb/18931
9337 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9338
c1854f1d
KS
93392018-08-16 Keith Seitz <keiths@redhat.com>
9340
9341 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9342 tests expected to pass.
9343
26fb3983
JV
93442018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9345
9346 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9347 -data-disassemble -a.
9348 (test_disassembly_bogus_args): Likewise.
9349
67943c00
AB
93502018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9351
9352 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9353
5ff2bbae
AB
93542018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9355
9356 * gdb.base/vla-optimized-out.exp: Add new test.
9357
e5bbcd0f
AB
93582018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9359
9360 * gdb.base/vla-optimized-out-o3.exp: Delete.
9361 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9362 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9363 deleted tests.
9364
9d4a934c
AB
93652018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9366
9367 PR gdb/18050:
9368 * gdb.server/extended-remote-restart.c: New file.
9369 * gdb.server/extended-remote-restart.exp: New file.
9370
045cf012
SM
93712018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9372
9373 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9374 "set variable index = 42".
9375
87d6a7aa
SM
93762018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9377
9378 * boards/index-cache-gdb.exp: New file.
9379 * gdb.dwarf2/index-cache.exp: New file.
9380 * gdb.dwarf2/index-cache.c: New file.
9381 * gdb.base/maint.exp: Check if we are using the index cache.
9382
96d68bd4
RO
93832018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9384
9385 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9386 MAKEFLAGS.
9387
5a699617
RO
93882018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9389
9390 * dg-extract-results.sh: Move to toplevel contrib.
9391 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9392 * Makefile.in (check-parallel-racy): Likewise.
9393
5bd18990
AB
93942018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9395
9396 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9397 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9398 tests if the target supports scheduler locking.
9399
3fbbcf47
TV
94002018-08-04 Tom de Vries <tdevries@suse.de>
9401
9402 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9403
3e1d3d8c
TT
94042018-08-02 Tom Tromey <tom@tromey.com>
9405
9406 PR symtab/16842.
9407 * gdb.cp/temargs.exp: Test "info address" of a template
9408 parameter.
9409
5abe0f0c
JV
94102018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9411
9412 * gdb.python/py-mi-var-info-path-expression.c: New file.
9413 * gdb.python/py-mi-var-info-path-expression.py: New file.
9414 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9415
fb66cde8
SDJ
94162018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9417
9418 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9419 error after "cannot resolve name" string.
9420
c708f4d2
AB
94212018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9422
9423 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9424 started.
9425 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9426
37cc0cae
TV
94272018-07-28 Tom de Vries <tdevries@suse.de>
9428
9429 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9430
63b4ecf7
TV
94312018-07-26 Tom de Vries <tdevries@suse.de>
9432
9433 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9434
3c3bb058
AB
94352018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9436
9437 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9438 is visible.
9439
9e7f3bbb
TV
94402018-07-26 Tom de Vries <tdevries@suse.de>
9441
9442 PR breakpoints/23366
9443 * gdb.base/catch-follow-exec.c: New test.
9444 * gdb.base/catch-follow-exec.exp: New file.
9445
16f808ec
TV
94462018-07-25 Tom de Vries <tdevries@suse.de>
9447
9448 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9449 vla-optimized-out.c.
9450
d7154a8d
JV
94512018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9452
9453 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9454 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9455
232a0032
TV
94562018-07-20 Tom de Vries <tdevries@suse.de>
9457
9458 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9459 NOCLONE macro.
9460 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9461
fbb1d502
TV
94622018-07-19 Tom de Vries <tdevries@suse.de>
9463
9464 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9465 regular expression.
9466
42dc7699
TV
94672018-07-18 Tom de Vries <tdevries@suse.de>
9468
9469 * gdb.base/vla-optimized-out.c: New test.
9470 * gdb.base/vla-optimized-out.exp: New file.
9471
7f1f7e23
SDJ
94722018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9473
9474 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9475 message "No address associated with hostname" when gdbserver
9476 cannot resolve the hostname.
9477
5759ebb3
PW
94782018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9479
9480 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9481 Add some test prefixes to make tests unique.
9482
3606ccab
PW
94832018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9484
9485 * gdb.base/frameapply.c: New file.
9486 * gdb.base/frameapply.exp: New file.
9487
529c08b2
PW
94882018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9489
9490 * gdb.base/skip.exp: Update expected error message.
9491
c7ab0aef
SDJ
94922018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9493 Jan Kratochvil <jan.kratochvil@redhat.com>
9494 Paul Fertser <fercerpav@gmail.com>
9495 Tsutomu Seki <sekiriki@gmail.com>
9496
9497 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9498 parameter.
9499 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9500 by default.
9501 * boards/native-gdbserver.exp: Likewise.
9502 * gdb.server/run-without-local-binary.exp: Improve regexp used
9503 for detecting when a remote debugging connection succeeds.
9504 * gdb.server/server-connect.exp: New file.
9505 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9506 Do not prefix the port number with ":".
9507 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9508 support for detecting and using it. Add '$debughost_gdbserver'
9509 to the list of arguments used to start gdbserver. Handle case
9510 when gdbserver cannot resolve a network name.
9511
16ff70dd
SDJ
95122018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9513
9514 PR c++/23373
9515 * gdb.base/ptype-offsets.cc (struct static_member): New
9516 struct.
9517 (main) <stmember>: New variable.
9518 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9519 with a static member in it.
9520
3541979f
AB
95212018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9522
9523 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9524 watchpoints enabled and disabled.
9525
c8ad9b9a
AB
95262018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9527
9528 * gdb.base/examine-backward.exp: Still run tests around address
9529 0x0, even if address 0x0 is not readable. Update the pattern for
9530 matching address 0x0 in expected output.
9531
e0e5e971
AB
95322018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9533
9534 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9535 malloc/free.
9536
1ea5da02
TV
95372018-07-04 Tom de Vries <tdevries@suse.de>
9538
9539 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9540
471b9d15
MR
95412018-07-02 Maciej W. Rozycki <macro@mips.com>
9542
9543 PR tdep/8282
9544 * gdb.arch/mips-disassembler-options.exp: New test.
9545 * gdb.arch/mips-disassembler-options.s: New test source.
9546
75acb486
PA
95472018-06-29 Pedro Alves <palves@redhat.com>
9548
9549 * gdb.threads/names.exp: Adjust expected "info threads" output.
9550
cd2bb709
PA
95512018-06-29 Pedro Alves <palves@redhat.com>
9552
9553 * gdb.opt/inline-break.exp (line number, address): Add "info
9554 break" tests.
9555
991ff292
PA
95562018-06-29 Pedro Alves <palves@redhat.com>
9557
9558 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9559 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9560 number and address and running to them.
9561
356819b6 95622018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9563
9564 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9565
2512d7ef
JK
95662018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9567
9568 * lib/compiler.c: Remove executable permission flag.
9569
be1b6474
RB
95702018-06-28 Richard Bunt <richard.bunt@arm.com>
9571
9572 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9573 code.
9574 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9575
291f9a96
PT
95762018-06-28 Petr Tesarik <ptesarik@suse.cz>
9577
9578 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9579
ed6dfe51
PT
95802018-06-28 Petr Tesarik <ptesarik@suse.cz>
9581
9582 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9583 address argument is omitted.
9584
d4d429d5
PT
95852018-06-28 Petr Tesarik <ptesarik@suse.cz>
9586
9587 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9588
7ab6656f
OJ
95892018-06-27 Omair Javaid <omair.javaid@linaro.org>
9590
9591 PR gdb/21695
9592 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9593 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9594
a33ccfc7
TT
95952018-06-26 Tom Tromey <tom@tromey.com>
9596
9597 PR rust/22574:
9598 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9599 * gdb.rust/simple.rs (struct SimpleLayout): New.
9600
6d72d289
SM
96012018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9602
9603 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9604 "info registers" output.
9605
8363f9d5
RB
96062018-06-21 Richard Bunt <richard.bunt@arm.com>
9607
9608 * gdb.base/watchpoint-hw-attach.c: New test.
9609 * gdb.base/watchpoint-hw-attach.exp: New file.
9610
f00674fe
SM
96112018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9612
9613 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9614 through /bin/sh.
9615 * boards/dwarf4-gdb-index.exp: Likewise.
9616 * boards/fission-dwp.exp: Likewise.
9617
1d554008
UW
96182018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9619
9620 * gdb.base/float128.exp: Add comment and improved fail message
9621 to the failure case of "print large128" test.
9622
d0ac1c44
SM
96232018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9624
9625 * configure.ac: Remove AC_PREREQ.
9626 * configure: Re-generate.
9627
61b04dd0
PA
96282018-06-19 Pedro Alves <palves@redhat.com>
9629
9630 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9631 (func_extern_caller): New.
9632 (main): Call func_extern_caller.
9633 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9634 logic change.
9635
f63b508a
SM
96362018-06-18 Weimin Pan <weimin.pan@oracle.com>
9637
9638 PR gdb/16841
9639 * gdb.cp/typedef-base.cc: New file.
9640 * gdb.cp/typedef-base.exp: New file.
9641
0fe3a558
TV
96422018-06-18 Tom de Vries <tdevries@suse.de>
9643
9644 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9645
7010835a
AB
96462018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9647 Richard Bunt <Richard.Bunt@arm.com>
9648
9649 * gdb.threads/attach-slow-waitpid.c: New file.
9650 * gdb.threads/attach-slow-waitpid.exp: New file.
9651 * gdb.threads/slow-waitpid.c: New file.
9652
14897d65
PA
96532018-06-14 Pedro Alves <palves@redhat.com>
9654
9655 * gdb.base/fork-running-state.c: Include <errno.h>.
9656 (exit_if_relative_exits): New.
9657 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9658 exits.
9659 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9660 child exits.
9661
5d9a0608
TV
96622018-06-14 Tom de Vries <tdevries@suse.de>
9663
9664 PR cli/22573
9665 * gdb.base/finish-pretty.c: New test.
9666 * gdb.base/finish-pretty.exp: New file.
9667
11ae5818
PA
96682018-06-14 Pedro Alves <palves@redhat.com>
9669
9670 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9671 gdb's expected startup output.
9672
1d39de44
PA
96732018-06-14 Pedro Alves <palves@redhat.com>
9674
9675 * lib/selftest-support.exp (selftest_setup): Remove inlined
9676 function handling.
9677
70ee0000
TV
96782018-06-14 Tom de Vries <tdevries@suse.de>
9679
9680 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9681 matching of breakpoint printing.
9682
11f4b608
TV
96832018-06-13 Tom de Vries <tdevries@suse.de>
9684
9685 PR testsuite/23269
9686 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9687 (fork_child): ... here, and ...
9688 (fork_parent): ... here.
9689
96902018-06-12 Tom de Vries <tdevries@suse.de>
9691
9692 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9693
9516f85a
AB
96942018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9695 Stephen Roberts <stephen.roberts@arm.com>
9696
9697 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9698 rewrite test to describe action performed, rather than possible
9699 failure.
9700
5045b3d7
GB
97012018-06-08 Gary Benson <gbenson@redhat.com>
9702
9703 * gdb.threads/check-libthread-db.exp: New file.
9704 * gdb.threads/check-libthread-db.c: Likewise.
9705
c61b06a1
TT
97062018-06-05 Tom Tromey <tom@tromey.com>
9707
9708 * gdb.base/default.exp: Update expected "show version" output.
9709
eb6af809
TT
97102018-06-05 Tom Tromey <tom@tromey.com>
9711
9712 PR cli/12326:
9713 * gdb.cp/static-print-quit.exp: Update.
9714 * lib/gdb.exp (pagination_prompt): Update.
9715 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9716 * gdb.python/python.exp: Update.
9717
178d6a63
JB
97182018-06-04 Joel Brobecker <brobecker@adacore.com>
9719
9720 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9721
8e817061
JB
97222018-06-01 Joel Brobecker <brobecker@adacore.com>
9723
9724 * gdb.ada/bp_fun_addr: New testcase.
9725
e86ca25f
TT
97262018-06-01 Tom Tromey <tom@tromey.com>
9727
9728 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9729 results.
9730 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9731 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9732 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9733 * gdb.base/maint.exp (maint_pass_if): Update.
9734
4b2dfa9d
MR
97352018-05-31 Maciej W. Rozycki <macro@mips.com>
9736
9737 * gdb.base/endian.exp: New test.
9738 * gdb.base/endian.c: New test source.
9739
45f25d6c
AB
97402018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9741
9742 PR gdb/23203
9743 * gdb.base/bt-selected-frame.c: New file.
9744 * gdb.base/bt-selected-frame.exp: New file.
9745 * lib/gdb.exp (get_current_frame_number): New function.
9746
d9f6d7f8
MR
97472018-05-24 Maciej W. Rozycki <macro@mips.com>
9748 Pedro Alves <palves@redhat.com>
9749
9750 * gdb.threads/tls-core.c: Include <stdlib.h>
9751 (thread_proc): Call `abort'.
9752 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9753 (tls_core_test): New procedure, bits factored out from ...
9754 (top level): ... here. Test both native cores and gcore cores.
9755
ff1cf532
TT
97562018-05-23 Tom Tromey <tom@tromey.com>
9757
9758 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9759
b98664d3
TT
97602018-05-23 Tom Tromey <tom@tromey.com>
9761
9762 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9763 symfile_complaints.
9764 (test_short_complaints): Likewise.
9765 (test_empty_complaints): Likewise.
9766 (test_initial_complaints): Update.
9767
4e9668d0
TT
97682018-05-23 Tom Tromey <tom@tromey.com>
9769
9770 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9771
43ba33c7
TT
97722018-05-23 Tom Tromey <tom@tromey.com>
9773
9774 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9775 (test_short_complaints): Update.
9776
035522c0
PA
97772018-05-22 Pedro Alves <palves@redhat.com>
9778
9779 * gdb.base/remote.exp: Only gdb_start after compiling the
9780 testcase. Issue "disconnect" before testing "set remote" command
9781 defaults. Issue clean_restart before running to main.
9782
cc0be08f
PA
97832018-05-22 Pedro Alves <palves@redhat.com>
9784
9785 * gdb.base/remote.exp: Adjust expected output of "show remote
9786 memory-write-packet-size". Add tests for "set remote
9787 memory-write-packet-size 0" and "set remote
9788 memory-write-packet-size fixed/limit".
9789
b1b60145
PA
97902018-05-22 Pedro Alves <palves@redhat.com>
9791
9792 PR gdb/22973
9793 * gdb.base/utf8-identifiers.c: New file.
9794 * gdb.base/utf8-identifiers.exp: New file.
9795
0ec848ad
PFC
97962018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9797
9798 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9799
2c3305f6
PFC
98002018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9801
9802 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9803
ce1e8424
TT
98042018-05-18 Tom Tromey <tom@tromey.com>
9805
9806 * gdb.base/ptype-offsets.exp: Update.
9807
ddfe970e
KS
98082018-05-17 Keith Seitz <keiths@redhat.com>
9809
9810 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9811 in expected breakpoint stop locations.
9812 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9813 move to proper scope to test variable values.
9814 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9815 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9816 New functions.
9817 (main): Call not_inline_func3.
9818 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9819 inline_func1, inline_func2, and inline_func3. Test that when each
9820 breakpoint is hit, GDB properly reports both the stop location
9821 and the backtrace. Repeat tests for temporary breakpoints.
9822
0726fcc6
MR
98232018-05-15 Maciej W. Rozycki <macro@mips.com>
9824
9825 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9826 rather then trying to access it in determining whether the PID
9827 of `gdbserver' could have been retrieved.
9828
8ee22052
AB
98292018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9830
9831 * gdb.arch/amd64-init-x87-values.S: New file.
9832 * gdb.arch/amd64-init-x87-values.exp: New file.
9833
7785df48
JK
98342018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9835
9836 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9837
56bcdbea
TT
98382018-05-04 Tom Tromey <tom@tromey.com>
9839
9840 PR python/22730:
9841 * gdb.python/python.exp: Test multi-line execute.
9842
a913fffb
TT
98432018-05-04 Tom Tromey <tom@tromey.com>
9844
9845 PR python/22731:
9846 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9847
7a2c85f2
TT
98482018-05-04 Tom Tromey <tom@tromey.com>
9849
9850 PR gdb/11750:
9851 * gdb.base/define.exp: Test defining a user command inside a user
9852 command.
9853 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9854
a3b60e45
JK
98552018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9856 Pedro Alves <palves@redhat.com>
9857
9858 PR breakpoints/19806 and support for PR external/20207.
9859 * gdb.base/watchpoint-unaligned.c: New file.
9860 * gdb.base/watchpoint-unaligned.exp: New file.
9861
45fe4a03
AB
98622018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9863
9864 * gdb.base/maint.exp: Make test names unique, use
9865 test_prefix_command_help to test 'help maint info', and remove
9866 repeated test of 'help maint'.
9867
9be2ae8f
TT
98682018-05-04 Tom Tromey <tom@tromey.com>
9869
9870 PR gdb/22619:
9871 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9872 behavior.
9873
11859c31
AB
98742018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9875
9876 * gdb.base/maint.exp: Process output from 'maint print registers'
9877 line at a time.
9878
089a9490
AB
98792018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9880
9881 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9882 timeout.
9883
9b0797e2
AB
98842018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9885
9886 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9887 filter pattern.
9888
f6ac5f3d
PA
98892018-05-02 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9892 to_log_command renames.
9893 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9894
77d3c63b
TT
98952018-05-02 Tom Tromey <tom@tromey.com>
9896
9897 * gdb.python/py-parameter.exp: Set test message.
9898
0489430a
TT
98992018-05-02 Tom Tromey <tom@tromey.com>
9900
9901 PR python/20084:
9902 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9903 PARAM_ZUINTEGER_UNLIMITED tests.
9904
1632f8ba
DR
99052018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9906
9907 PR rust/23124
9908 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9909 when casting.
9910
6d7bb824
TT
99112018-04-30 Tom Tromey <tom@tromey.com>
9912
9913 * gdb.python/py-type.exp: Check align attribute.
9914 * gdb.python/py-type.c: New "aligncheck" global.
9915
007e1530
TT
99162018-04-30 Tom Tromey <tom@tromey.com>
9917
9918 PR exp/17095:
9919 * gdb.dwarf2/dw2-align.exp: New file.
9920 * gdb.cp/align.exp: New file.
9921 * gdb.base/align.exp: New file.
9922 * lib/gdb.exp (gdb_int128_helper): New proc.
9923 (has_int128_c, has_int128_cxx): New caching procs.
9924
6873858b
TT
99252018-04-27 Tom Tromey <tom@tromey.com>
9926
9927 PR rust/22545:
9928 * gdb.rust/simple.exp: Add inclusive range tests.
9929
79188d8d
PA
99302018-04-26 Pedro Alves <palves@redhat.com>
9931
9932 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9933 ifunc breakpoint locations correctly of ifunc breakpoints set
9934 while the program resolves the ifunc.
9935
c7075ad5
PA
99362018-04-26 Pedro Alves <palves@redhat.com>
9937
9938 * gdb.base/gnu-ifunc-final.c: New file.
9939 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9940 * gdb.base/gnu-ifunc.exp (executable): Delete.
9941 (staticexecutable): Adjust.
9942 (lib_opts, exec_opts): Delete.
9943 (make_binsuffix, build, set-break): New procedures.
9944 (misc_tests): New, with tests factored out from the top level.
9945 (top level): Test different combinations of ifunc resolver name,
9946 resolver with and with debug info, and ifunc target with and
9947 without debug info. Wrap static tests with with_target_prefix.
9948
8388016d
PA
99492018-04-26 Pedro Alves <palves@redhat.com>
9950
9951 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9952 return type" warnings.
9953
249b5733
PA
99542018-04-25 Pedro Alves <palves@redhat.com>
9955
9956 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9957 killed".
9958 * gdb.base/kill-after-signal.exp: Likewise.
9959 * gdb.threads/kill.exp: Likewise.
9960
f67c0c91
SDJ
99612018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9962 Sergio Durigan Junior <sergiodj@redhat.com>
9963 Pedro Alves <palves@redhat.com>
9964
9965 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9966 regexps to expect for '[Inferior ... detached]' as well.
9967 * gdb.base/attach.exp: Likewise.
9968 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9969 "gdb_continue_to_end".
9970 (test_catch_syscall_with_wrong_args): Likewise.
9971 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9972 ']'. Don't set 'verbose' on.
9973 * gdb.base/foll-vfork.exp: Likewise.
9974 * gdb.base/fork-print-inferior-events.c: New file.
9975 * gdb.base/fork-print-inferior-events.exp: New file.
9976 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9977 '[Inferior ... has been killed]' message.
9978 * gdb.base/kill-after-signal.exp: Likewise.
9979 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9980 detach message.
9981 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9982 message.
9983 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9984 regexps to expect for '[Inferior ... detached]' as well.
9985 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9986
0a8ddac4
SM
99872018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9988
9989 PR gdb/23104
9990 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9991
701adfb0
PA
99922018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9993
9994 PR gdb/23095
9995 * gdb.base/break-probes.exp: Pass shlib_load to
9996 prepare_for_testing. Set normal_bp to r_debug_state if target is
9997 bsd.
9998
d27d16bf
RB
99992018-04-19 Richard Bunt <richard.bunt@arm.com>
10000
10001 * gdb.threads/multiple-successive-infcall.c: New test.
10002 * gdb.threads/multiple-successive-infcall.exp: New file.
10003
a037790e
TT
100042018-04-17 Tom Tromey <tom@tromey.com>
10005
10006 * gdb.rust/simple.rs (Union): New type.
10007 (main): New local "u".
10008 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10009
e3a91079
AA
100102018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10011
10012 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10013 number information in output of "whereis" command.
10014 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10015
b744723f
AA
100162018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10017
10018 * gdb.ada/info_types.exp: Adjust expected output to the line
10019 numbers now printed by "info var/func/type".
10020 * gdb.base/completion.exp: Likewise.
10021 * gdb.base/included.exp: Likewise.
10022 * gdb.cp/cp-relocate.exp: Likewise.
10023 * gdb.cp/cplusfuncs.exp: Likewise.
10024 * gdb.cp/namespace.exp: Likewise.
10025 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10026
4a4495d6
MM
100272018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10028
10029 * gdb.btrace/cpu.exp: New.
10030
1d509aa6
MM
100312018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10032
10033 * gdb.base/step-indirect-call-thunk.exp: New.
10034 * gdb.base/step-indirect-call-thunk.c: New.
10035 * gdb.reverse/step-indirect-call-thunk.exp: New.
10036 * gdb.reverse/step-indirect-call-thunk.c: New.
10037
6295b6da
SM
100382018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10039
10040 * gdb.base/pie-fork.c: New file.
10041 * gdb.base/pie-fork.exp: New file.
10042
50146e70
TT
100432018-04-11 Tom Tromey <tom@tromey.com>
10044
10045 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10046
f50d8a2e
PA
100472018-04-10 Pedro Alves <palves@redhat.com>
10048
10049 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10050 exits. Instead loop running forever.
10051 (fork_parent): Run forever too.
10052
a0be7a36
SM
100532018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10054
10055 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10056 mi_continue_to_line.
10057 * gdb.mi/mi-stack.c (callee4): Add comment.
10058
9b73db36
SM
100592018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10060
10061 * gdb.mi/mi-stack.exp: Fix indentation.
10062
c912f608
SM
100632018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10064
10065 PR gdb/22979
10066 * gdb.arch/amd64-osabi.exp: New file.
10067
26540402
SM
100682018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10069
10070 PR gdb/22980
10071 * gdb.base/osabi.exp: New file.
10072
121ad66c 100732018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10074
10075 * gdb.cp/static-typedef-print.exp: New file.
10076 * gdb.cp/static-typedef-print.cc: New file.
10077
3fcded8f
JB
100782018-03-27 Joel Brobecker <brobecker@adacore.com>
10079
10080 * gdb.ada/varsize_limit: New testcase.
10081
59cc4834
JB
100822018-03-27 Joel Brobecker <brobecker@adacore.com>
10083
10084 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10085
10086 * gdb.ada/notcplusplus: New testcase.
10087
10088 * gdb.base/c-linkage-name.c: New file.
10089 * gdb.base/c-linkage-name.exp: New testcase.
10090
4ca59a9f
TT
100912018-03-26 Tom Tromey <tom@tromey.com>
10092
10093 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10094 * gdb.python/py-framefilter.py (name_error): New global.
10095 (ErrorInName.function): Use name_error.
10096
978d6c75
TT
100972018-03-26 Tom Tromey <tom@tromey.com>
10098
10099 PR backtrace/15582:
10100 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10101
b7fee5a3
KS
101022018-03-23 Keith Seitz <keiths@redhat.com>
10103
10104 PR c++/22968
10105 * gdb.cp/subtypes.exp: New file.
10106 * gdb.cp/subtypes.h: New file.
10107 * gdb.cp/subtypes.cc: New file.
10108 * gdb.cp/subtypes-2.cc: New file.
10109
376be529
AB
101102018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10111
10112 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10113 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10114 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10115 -nostartfiles when compiling the test. Confirm that all registers
10116 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10117
066cfa98
AB
101182018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10119
10120 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10121 option, syntax was wrong anyway.
10122 * gdb.arch/arm-disp-step.exp: Likewise.
10123 * gdb.arch/sparc64-regs.exp: Likewise.
10124 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10125 option, syntax was wrong anyway, switch to use
10126 prepare_for_testing.
10127 * gdb.arch/i386-disp-step.exp: Likewise.
10128
079670b9
AA
101292018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10130
10131 * gdb.ada/exec_changed.exp: Replace "target_info exists
10132 use_gdb_stub" by "use_gdb_stub".
10133 * gdb.ada/start.exp: Likewise.
10134 * gdb.base/async-shell.exp: Likewise.
10135 * gdb.base/attach-pie-misread.exp: Likewise.
10136 * gdb.base/attach-wait-input.exp: Likewise.
10137 * gdb.base/break-entry.exp: Likewise.
10138 * gdb.base/break-interp.exp: Likewise.
10139 * gdb.base/dprintf-detach.exp: Likewise.
10140 * gdb.base/nostdlib.exp: Likewise.
10141 * gdb.base/solib-nodir.exp: Likewise.
10142 * gdb.base/statistics.exp: Likewise.
10143 * gdb.base/testenv.exp: Likewise.
10144 * gdb.mi/mi-exec-run.exp: Likewise.
10145 * gdb.mi/mi-start.exp: Likewise.
10146 * gdb.multi/dummy-frame-restore.exp: Likewise.
10147 * gdb.multi/multi-arch-exec.exp: Likewise.
10148 * gdb.multi/multi-arch.exp: Likewise.
10149 * gdb.multi/tids.exp: Likewise.
10150 * gdb.multi/watchpoint-multi.exp: Likewise.
10151 * gdb.python/py-events.exp: Likewise.
10152 * gdb.threads/attach-into-signal.exp: Likewise.
10153 * gdb.threads/attach-stopped.exp: Likewise.
10154 * gdb.threads/threadapply.exp: Likewise.
10155 * lib/selftest-support.exp: Likewise.
10156
26d6cec4
AA
101572018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10158
10159 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10160
4ee89e90
SR
101612018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10162
10163 * gdb.perf/template-breakpoints.cc: New file.
10164 * gdb.perf/template-breakpoints.exp: New file.
10165 * gdb.perf/template-breakpoints.py: New file.
10166
92630041
TT
101672018-03-19 Tom Tromey <tom@tromey.com>
10168
10169 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10170 y0.
10171 * gdb.rust/simple.exp: Test bare identifier form of struct
10172 initializer.
10173
76727919
TT
101742018-03-19 Tom Tromey <tom@tromey.com>
10175
10176 * gdb.gdb/observer.exp: Remove.
10177
194ed413
AA
101782018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10179
10180 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10181 "qualified" option when setting breakpoints.
10182 * gdb.trace/backtrace.exp: Likewise.
10183 * gdb.trace/circ.exp: Likewise.
10184 * gdb.trace/collection.exp: Likewise.
10185 * gdb.trace/disconnected-tracing.exp: Likewise.
10186 * gdb.trace/ftrace-lock.exp: Likewise.
10187 * gdb.trace/ftrace.exp: Likewise.
10188 * gdb.trace/infotrace.exp: Likewise.
10189 * gdb.trace/packetlen.exp: Likewise.
10190 * gdb.trace/passc-dyn.exp: Likewise.
10191 * gdb.trace/qtro.exp: Likewise.
10192 * gdb.trace/read-memory.exp: Likewise.
10193 * gdb.trace/report.exp: Likewise.
10194 * gdb.trace/signal.exp: Likewise.
10195 * gdb.trace/status-stop.exp: Likewise.
10196 * gdb.trace/strace.exp: Likewise.
10197 * gdb.trace/tfind.exp: Likewise.
10198 * gdb.trace/trace-break.exp: Likewise.
10199 * gdb.trace/trace-condition.exp: Likewise.
10200 * gdb.trace/trace-mt.exp: Likewise.
10201 * gdb.trace/tstatus.exp: Likewise.
10202 * gdb.trace/tsv.exp: Likewise.
10203 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10204 * gdb.trace/unavailable.exp: Likewise.
10205 * gdb.trace/while-dyn.exp: Likewise.
10206
8b067d2c
AA
102072018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10208
10209 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10210 that libinproctrace is copied to the target.
10211
3ae9ce5d
TT
102122018-03-14 Tom Tromey <tom@tromey.com>
10213
10214 PR cli/14977:
10215 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10216 a null pointer.
10217 * gdb.base/wchar.exp: Likewise.
10218
b8c2339b
TT
102192018-03-14 Tom Tromey <tom@tromey.com>
10220
10221 PR cli/19918:
10222 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10223 flag.
10224
4872dc46
SM
102252018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10226
10227 PR gdb/22841
10228 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10229 "target" to remote_exec.
10230
e4fe3756
SM
102312018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10232
10233 PR gdb/22841
10234 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10235 ${board}_upload): Remove.
10236
e95a97d4
AA
102372018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10238
10239 * gdb.cp/watch-cp.cc: New test.
10240 * gdb.cp/watch-cp.exp: New file.
10241
dbbb1059
AB
102422018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10243
10244 * gdb.base/infcall-nested-structs.exp: New file.
10245 * gdb.base/infcall-nested-structs.c: New file.
10246 * gdb.base/float.exp: Add riscv support.
10247
ecc054c0
TP
102482018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10249
10250 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10251 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10252
25e3c82c
SDJ
102532018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10254
10255 * gdb.server/abspath.exp: New file.
10256 * lib/gdb.exp (with_cwd): New procedure.
10257
3083294d
SM
102582018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10259
10260 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10261 use it.
10262 (gdb_is_target_remote_prompt): New proc.
10263 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10264 (gdb_is_target_native): Pass prompt parameter to
10265 gdb_is_target_1.
10266
3275ef47
SM
102672018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10268
10269 * gdb.base/load-command.c: New file.
10270 * gdb.base/load-command.exp: New file.
10271 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10272 (gdb_is_target_1): ...this, and generalize for other targets
10273 than just remote.
10274 (gdb_is_target_remote): Use gdb_is_target_1.
10275 (gdb_is_target_native): use gdb_is_target_1.
10276
6893c19a
TT
102772018-02-26 Tom Tromey <tom@tromey.com>
10278
10279 PR python/16497:
10280 * gdb.python/py-framefilter.exp: Update test.
10281
2ddeaf8a
TT
102822018-02-26 Tom Tromey <tom@tromey.com>
10283
10284 * gdb.dwarf2/variant.c: New file.
10285 * gdb.dwarf2/variant.exp: New file.
10286
c9317f21
TT
102872018-02-26 Tom Tromey <tom@tromey.com>
10288
10289 * gdb.rust/simple.exp: Accept more possible results in enum test.
10290
6f6d0c26
SM
102912018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10292
10293 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10294 parentheses.
10295
11b03145
MR
102962018-02-23 Maciej W. Rozycki <macro@mips.com>
10297
10298 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10299 name of a variable: $actual_linejj -> $actual_line.
10300
54a27fe5
JB
103012018-02-21 John Baldwin <jhb@FreeBSD.org>
10302
10303 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10304
de65820c
MM
103052018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10306
10307 * gdb.btrace/buffer-size.exp: Do not force BTS.
10308
980548fd
PA
103092018-02-14 Pedro Alves <palves@redhat.com>
10310
10311 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10312 getting a "Quit".
10313
c4e12631
MM
103142018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10315
10316 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10317 Fix test name.
10318
c2e0e465
SM
103192018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10320
10321 * gdb.cp/m-static.exp: Check type of optimized out static
10322 member.
10323
f7216783
AB
103242018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10325
10326 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10327 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10328
0625771b
LS
103292018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10330 Leszek Swirski <leszeks@google.com>
10331
10332 * gdb.python/py-prettyprint.c
10333 (struct to_string_returns_value_inner,
10334 struct to_string_returns_value_wrapper): New.
10335 (main): Add tsrvw variable.
10336 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10337 ToStringReturnsValueWrapper): New classes.
10338 (register_pretty_printers): Register new pretty-printers.
10339 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10340 recursive pretty printer.
10341 * gdb.python/py-mi.exp: Likewise.
10342
59498c30
LS
103432018-02-01 Leszek Swirski <leszeks@google.com>
10344
10345 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10346 functions with the same name as an include file are parsed
10347 correctly.
10348
d4d38844
YQ
103492018-02-01 Yao Qi <yao.qi@linaro.org>
10350
10351 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10352 "\[^\r\n\]*".
10353
07e5f5cf
NP
103542018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10355
10356 * gdb.arch/powerpc-prologue-frame.s: New file.
10357 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10358 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10359
929b5ad4
JB
103602018-01-31 Joel Brobecker <brobecker@adacore.com>
10361
10362 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10363
e671cd59
PA
103642018-01-30 Pedro Alves <palves@redhat.com>
10365
10366 PR gdb/13211
10367 * gdb.base/interrupt-daemon.c: New.
10368 * gdb.base/interrupt-daemon.exp: New.
10369 * gdb.multi/multi-term-settings.c: New.
10370 * gdb.multi/multi-term-settings.exp: New.
10371
fc413dc4
JB
103722018-01-30 Joel Brobecker <brobecker@adacore.com>
10373
10374 * gdb.base/break.exp: Save the location where the breakpoint
10375 on break.c:47 was actually inserted when debugging the version
10376 compiled at -O2 and use it in the expected output of the "info
10377 break" test performed soon after.
10378
5c319bb2
PA
103792018-01-22 Pedro Alves <palves@redhat.com>
10380 Sergio Durigan Junior <sergiodj@redhat.com>
10381
10382 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10383 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10384
a9e40818
JB
103852018-01-22 Joel Brobecker <brobecker@adacore.com>
10386
10387 * gdb.base/break-include.c, gdb.base/break-include.inc,
10388 gdb.base/break-include.exp: New files.
10389 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10390 line number now being the actual line number where the breakpoint
10391 was inserted.
10392 * gdb.mi/mi-break.exp: Likewise.
10393 * gdb.mi/mi-reverse.exp: Likewise.
10394 * gdb.mi/mi-simplerun.exp: Ditto.
10395
e707fc44
AB
103962018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10397
10398 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10399 varobj.
10400 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10401
ae451627
AB
104022018-01-21 Don Breazeal <donb@codesourcery.com>
10403 Andrew Burgess <andrew.burgess@embecosm.com>
10404
10405 * gdb.mi/basics.c: Add new global.
10406 * gdb.mi/mi-frame-regs.exp: New file.
10407 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10408 case.
10409
b1b189e0
AB
104102018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10411
10412 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10413 non-parameter, and on an unknown symbol.
10414
fcfcc376
TT
104152018-01-19 Tom Tromey <tom@tromey.com>
10416
10417 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10418 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10419
634c1c31
AA
104202018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10421
10422 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10423 setrlimit and chdir to int.
10424
d6ad07fd
AA
104252018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10426
10427 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10428 function.
10429 (my_tend): Likewise.
10430 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10431 rationale of avoiding FP- and vector instructions.
10432
adf8243b
RK
104332018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10434
10435 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10436 "info reg" with "\[ \t\]*".
10437 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10438 "\[ \t\]+".
10439 * gdb.arch/s390-multiarch.exp: Ditto.
10440 * gdb.base/pc-fp.exp: Ditto.
10441 * gdb.reverse/i386-precsave.exp: Ditto.
10442 * gdb.reverse/i386-reverse.exp: Ditto.
10443 * gdb.reverse/i387-env-reverse.exp: Ditto.
10444 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10445
dcc06925
AA
104462018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10447
10448 * lib/gdb.exp (gdb_compile): Re-enable use of
10449 universal_compile_options for languages other than Rust.
10450
25d4fd80
AA
104512018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10452
10453 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10454
ee7f689e 104552018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10456
10457 PR gdb/16577
10458 * gdb.base/solib-vanish.exp: New.
10459 * gdb.base/solib-vanish-main.c: New.
10460 * gdb.base/solib-vanish-lib1.c: New.
10461 * gdb.base/solib-vanish-lib2.c: New.
10462
d8447b6b
YQ
104632018-01-17 Yao Qi <yao.qi@linaro.org>
10464
10465 * gdb.compile/compile.exp: Match the address printed for
10466 frame in the output of command "bt".
10467
86d6a90c
TT
104682018-01-15 Tom Tromey <tom@tromey.com>
10469
10470 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10471 compute sp_reg.
10472
cbcdb1aa
AB
104732018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10474
10475 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10476 to prepare.
10477 (prepare): Return 0 on error, 1 on success.
10478
eea61984
PA
104792018-01-12 Pedro Alves <palves@redhat.com>
10480
10481 * gdb.base/continue-after-aborted-step-over.c: New.
10482 * gdb.base/continue-after-aborted-step-over.exp: New.
10483
6181e9c2
SM
104842018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10485
10486 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10487 options when not creating an executable.
10488
3cada740
PA
104892018-01-11 Pedro Alves <palves@redhat.com>
10490
10491 PR remote/22597
10492 * gdb.server/stop-reply-no-thread.c: New file.
10493 * gdb.server/stop-reply-no-thread.exp: New file.
10494
c63d3e8d
PA
104952018-01-10 Pedro Alves <palves@redhat.com>
10496
10497 PR gdb/22670
10498 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10499 functions too. Test setting breakpoints and printing C functions
10500 with no debug info too.
10501 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10502
d4c2a405
PA
105032018-01-10 Pedro Alves <palves@redhat.com>
10504
10505 PR gdb/22670
10506 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10507 a fail.
10508
8825213e
PA
105092018-01-10 Pedro Alves <palves@redhat.com>
10510
10511 PR gdb/22670
10512 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10513
605fd3c6
YQ
105142018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10515
10516 * gdb.server/unittest.exp: Match the output in non-development
10517 mode.
10518
1e5ded6c
YQ
105192018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10520
10521 * gdb.gdb/unittest.exp: Match output in non-development mode.
10522
30066b0b
JB
105232018-01-08 Joel Brobecker <brobecker@adacore.com>
10524
10525 * gdb.ada/access_tagged_param.exp: Relax expected output
10526 for value of "ObjL" in "continue" to pck.inspect breakpoint
10527 test.
10528
04bafb1e
XR
105292018-01-08 Joel Brobecker <brobecker@adacore.com>
10530
9f86398b
JB
10531 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10532 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10533
e379cee6
PA
105342018-01-05 Pedro Alves <palves@redhat.com>
10535
10536 PR gdb/18653
10537 * gdb.base/libsegfault.exp: New.
10538
de63c46b
PA
105392018-01-05 Joel Brobecker <brobecker@adacore.com>
10540
10541 PR gdb/22670
10542 * gdb.ada/access_tagged_param.exp: New file.
10543 * gdb.ada/access_tagged_param/foo.adb: New file.
10544
f98fc17b
PA
105452018-01-05 Pedro Alves <palves@redhat.com>
10546
10547 PR gdb/22670
10548 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10549 exercise lower case too, and to exercise both full matching and
10550 wild matching.
10551
342f8240
JB
105522018-01-05 Joel Brobecker <brobecker@adacore.com>
10553
10554 * gdb.ada/rename_subscript_param: New testcase.
10555
7150d33c
JG
105562018-01-05 Jerome Guitton <guitton@adacore.com>
10557
10558 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10559
cc0e770c
JB
105602018-01-05 Joel Brobecker <brobecker@adacore.com>
10561
10562 * gdb.ada/convvar_comp: New testcase.
10563
672a41aa 105642018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10565
10566 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10567 (My_Table): New global variable.
10568 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10569
7365ec2f
JB
105702018-01-04 Joel Brobecker <brobecker@adacore.com>
10571
10572 PR gdb/22670
10573 * gdb.ada/maint_with_ada: New testcase.
10574
289483b6
JB
105752018-01-04 Joel Brobecker <brobecker@adacore.com>
10576
10577 PR gdb/22670
10578 * gdb.ada/bp_c_mixed_case: New testcase.
10579
344420da
JB
105802018-01-04 Joel Brobecker <brobecker@adacore.com>
10581
10582 PR gdb/22670
10583 * gdb.ada/complete.exp: Add "complete break ada" test.
10584
66fc87a0
JB
105852018-01-04 Joel Brobecker <brobecker@adacore.com>
10586
10587 PR gdb/22670
10588 * gdb.ada/info_addr_mixed_case: New testcase.
10589
9f757bf7
XR
105902018-01-03 Xavier Roirand <roirand@adacore.com>
10591
10592 * gdb.ada/excep_handle.exp: New testcase.
10593 * gdb.ada/excep_handle/foo.adb: New file.
10594 * gdb.ada/excep_handle/pck.ads: New file.
10595
bd570f80
JB
105962018-01-03 Joel Brobecker <brobecker@adacore.com>
10597
10598 * gdb.base/step-line.c: Add extra empty line in copyright header.
10599 * gdb.base/step-line.inp: Likewise.
10600
9fe561ab
JB
106012018-01-02 Joel Brobecker <brobecker@adacore.com>
10602
10603 * gdb.ada/dyn_stride.exp: Add slice test.
10604
a405673c
JB
106052018-01-02 Joel Brobecker <brobecker@adacore.com>
10606
10607 * gdb.ada/dyn_stride: New testcase.
10608
cef0f868
SH
106092017-12-27 Stafford Horne <shorne@gmail.com>
10610
10611 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10612 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10613
b67d92b0
SH
106142017-12-27 Stafford Horne <shorne@gmail.com>
10615
10616 * gdb.base/reggroups.c: New file.
10617 * gdb.base/reggroups.exp: New file.
10618
eccab96d
JB
106192017-12-18 Joel Brobecker <brobecker@adacore.com>
10620
10621 * gdb.dwarf2/ada-valprint-error.c: New file.
10622 * gdb.dwarf2/ada-valprint-error.exp: New file.
10623
0e2da9f0
JB
106242017-12-18 Joel Brobecker <brobecker@adacore.com>
10625
10626 * gdb.ada/assign_arr: New testcase.
10627
cb923fcc
XR
106282017-12-18 Xavier Roirand <roirand@adacore.com>
10629
10630 * gdb.ada/funcall_ptr: New testcase.
10631
7c161838
SDJ
106322017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10633
10634 PR cli/16224
10635 * gdb.base/ptype-offsets.cc: New file.
10636 * gdb.base/ptype-offsets.exp: New file.
10637
1af17fd9
YQ
106382017-12-15 Yao Qi <yao.qi@linaro.org>
10639
10640 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10641 if XML is disabled.
10642
828d5846
XR
106432017-12-15 Xavier Roirand <roirand@adacore.com>
10644
10645 * gdb.ada/same_component_name: New testcase.
10646
79e8fcaa
JB
106472017-12-14 Joel Brobecker <brobecker@adacore.com>
10648
10649 * gdb.ada/str_binop_equal: New testcase.
10650
e05fa6f9
JB
106512017-12-14 Joel Brobecker <brobecker@adacore.com>
10652
10653 * gdb.ada/task_switch_in_core: New testcase.
10654
b89641ba
SM
106552017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10656
10657 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10658 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10659 call test_bkpt_qualified.
10660 (test_bkpt_qualified): New proc.
10661
6892d2e4
PA
106622017-12-13 Pedro Alves <palves@redhat.com>
10663
10664 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10665 Tighten regexp by matching with an anchor.
10666
a22ecf70
PA
106672017-12-13 Pedro Alves <palves@redhat.com>
10668
10669 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10670 ("expression with namespace"): New set of tests.
10671 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10672 (Nested::Test_NS::qux): New.
10673 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10674 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10675
9937536c
JB
106762017-12-13 Joel Brobecker <brobecker@adacore.com>
10677
10678 * gdb.base/server-del-break.c: New file.
10679 * gdb.base/server-del-break.exp: New file.
10680
fe49c6f5
SH
106812017-12-12 Stafford Horne <shorne@gmail.com>
10682
10683 * gdb.xml/tdesc-regs.exp: Add or1k support.
10684
c3d18620
SH
106852017-12-12 Stafford Horne <shorne@gmail.com>
10686
10687 * gdb.base/bp-permanent.c: Define nop of or1k.
10688
c5f9cfc8
JB
106892017-12-11 Joel Brobecker <brobecker@adacore.com>
10690
10691 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10692 output with components being reordered.
10693
a9c135fc
JB
106942017-12-11 Joel Brobecker <brobecker@adacore.com>
10695
10696 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10697 output with components being reordered.
10698
927aa2e7
JK
106992017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10700 Pedro Alves <palves@redhat.com>
10701
10702 * gdb.base/maint.exp (check for .gdb_index): Check also for
10703 .debug_names.
10704 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10705 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10706 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10707 (.gdb_index used after symbol reloading): Support also .debug_names.
10708 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10709
f17d9474
YQ
107102017-12-08 Yao Qi <yao.qi@linaro.org>
10711
10712 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10713 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10714
a0de8c21
YQ
107152017-12-08 Yao Qi <yao.qi@linaro.org>
10716
10717 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10718 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10719
a738ea1d
YQ
107202017-12-08 Yao Qi <yao.qi@linaro.org>
10721
10722 * gdb.arch/aarch64-tagged-pointer.c: New file.
10723 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10724
1cd9a73b
SDJ
107252017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10726
10727 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10728 "int".
10729
fa6eb693
KS
107302017-12-07 Keith Seitz <keiths@redhat.com>
10731
10732 PR breakpoints/22569
10733 * gdb.linespec/ls-errs.exp: Change expected result of "break
10734 -source this file has spaces.c -line 3".
10735 Check that an explicit source file followed by whitespace is
10736 identified as an invalid explicit location.
10737
883fd55a
KS
107382017-12-07 Keith Seitz <keiths@redhat.com>
10739
10740 * gdb.cp/nested-types.cc: New file.
10741 * gdb.cp/nested-types.exp: New file.
10742 * lib/cp-support.exp: Load data-structures.exp library.
10743 (debug_cp_test_ptype_class): New global.
10744 (cp_ptype_class_verbose, next_line): New procedures.
10745 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10746 Add and document new return value.
10747 Switch the list of lines to a queue.
10748 Add support for new `type' key for nested type definitions.
10749 Add debugging/troubleshooting messages.
10750 * lib/data-structures.exp: New file.
10751
ec72db3e
SM
107522017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10753
10754 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10755 with proc_with_prefix, don't use with_test_prefix.
10756
99598d71
TT
107572017-12-07 Tom Tromey <tom@tromey.com>
10758
10759 * gdb.base/break.exp: Add test for empty "commands".
10760
a8806230
YQ
107612017-12-07 Yao Qi <yao.qi@linaro.org>
10762
10763 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10764 malloc and catch syscall.
10765
824cc835
PM
107662017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10767
e79be6e5 10768 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10769 tests for explicit locations.
10770
7cc244de
PA
107712017-12-06 Pedro Alves <palves@redhat.com>
10772
10773 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10774 force-disabling XML descriptions.
10775
50a1fdd5
PA
107762017-12-04 Pedro Alves <palves@redhat.com>
10777
10778 PR gdb/22499
10779 * gdb.arch/amd64-disp-step-avx.S: New file.
10780 * gdb.arch/amd64-disp-step-avx.exp: New file.
10781
f0fb2488
PA
107822017-12-03 Pedro Alves <palves@redhat.com>
10783
10784 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10785 and <string.h>.
10786 (parent_function): Print distinct messages when waitpid fails, or
10787 the child exits with a signal, or the child exits for an unhandled
10788 reason.
10789 * gdb.threads/process-dies-while-detaching.exp
10790 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10791 it. Wait for both inferior output and GDB's prompt. Use an
10792 indirect spawn id list.
10793 (do_detach): New parameter 'child_exit'. Use it to compute
10794 expected inferior output.
10795 (test_detach, test_detach_watch, test_detach_killed_outside):
10796 Adjust to pass down the expected child exit kind.
10797
97cbe998
SDJ
107982017-12-01 Joel Brobecker <brobecker@adacore.com>
10799 Sergio Durigan Junior <sergiodj@redhat.com>
10800 Pedro Alves <palves@redhat.com>
10801
10802 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10803
40fc416f
SDJ
108042017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10805
10806 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10807 to 'symbol-file' and 'add-symbol-file' can be
10808 position-independent.
10809
1cc75e92
YQ
108102017-12-01 Yao Qi <yao.qi@linaro.org>
10811
10812 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10813 the URL in copyright header.
10814 * gdb.arch/aarch64-fp.exp: Likewise.
10815 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10816 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10817 * gdb.base/expand-psymtabs.exp: Likewise.
10818 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10819 * gdb.fortran/common-block.exp: Likewise.
10820 * gdb.fortran/common-block.f90: Likewise.
10821 * gdb.fortran/logical.exp: Likewise.
10822 * gdb.fortran/vla-datatypes.f90: Likewise.
10823 * gdb.fortran/vla-sub.f90: Likewise.
10824
875fb7a7
JB
108252017-11-30 Joel Brobecker <brobecker@adacore.com>
10826
10827 * gdb.ada/repeat_dyn: New testcase.
10828
6f14765f
UW
108292017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10830
10831 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10832 Update for changed thread numbering.
10833 * gdb.cell/bt.exp: Update for changed GDB output.
10834
f1af7b94
SM
108352017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10836
10837 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10838 setting isremote by hand.
10839 * boards/dwarf4-gdb-index.exp: Likewise.
10840 * boards/fission.exp: Likewise.
10841 * boards/stabs.exp: Likewise.
10842
e3919f3e
PA
108432017-11-30 Pedro Alves <palves@redhat.com>
10844
10845 * gdb.linespec/cpls-ops.exp
10846 (check_explicit_skips_function_argument): Extract the underlying
10847 type of size_t instead of hardcoding it.
10848
bd69330d
PA
108492017-11-29 Pedro Alves <palves@redhat.com>
10850
10851 PR c++/19436
10852 * gdb.linespec/cpls-abi-tag.cc: New file.
10853 * gdb.linespec/cpls-abi-tag.exp: New file.
10854
a20714ff
PA
108552017-11-29 Pedro Alves <palves@redhat.com>
10856
10857 * gdb.base/langs.exp: Use -qualified.
10858 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10859 it.
10860 * gdb.cp/namespace.exp: Use -qualified.
10861 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10862 (overload-3, template-overload, template-ret-type, const-overload)
10863 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10864 procedures.
10865 (test_driver): Call them.
10866 * gdb.cp/save-bp-qualified.cc: New.
10867 * gdb.cp/save-bp-qualified.exp: New.
10868 * gdb.linespec/explicit.exp: Test -qualified.
10869 * lib/completion-support.exp (completion::explicit_opts_list): Add
10870 "-qualified".
10871 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10872
f6f1d339
PM
108732017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10874
10875 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10876
02ca603a
TT
108772017-11-29 Tom Tromey <tom@tromey.com>
10878
10879 * gdb.base/relocate.exp: Update invalid argument test.
10880 Add new tests for invalid arguments.
10881
ed6c0bfb
TP
108822017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10883
10884 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10885 Return 0 as a long.
10886 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10887
f106e10e
TP
108882017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10889
10890 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10891 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10892 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10893 func ().
10894 * gdb.cp/shadow.cc (B.func): Return 0.
10895
10329bb2
JB
108962017-11-27 Joel Brobecker <brobecker@adacore.com>
10897
10898 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10899 expected output in gdb_expect call to allow the exception
10900 message to be present as well. Fix syntax confusion to avoid
10901 TCL thinking that exception_name is an array.
10902
617cd4bc
UW
109032017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10904
10905 * gdb.arch/spu-info.c: Include <unistd.h>.
10906 (do_signal_test): Fix broken calls to write.
10907 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10908 Fix checks for empty mailboxes. Update signal tests for corrected
10909 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10910 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10911 * gdb.cell/arch.exp: Use standard_output_file.
10912 * gdb.cell/break.exp: Likewise.
10913 * gdb.cell/bt.exp: Likewise.
10914 * gdb.cell/core.exp: Likewise.
10915 * gdb.cell/dwarfaddr.exp: Likewise.
10916 * gdb.cell/ea-cache.exp: Likewise.
10917 * gdb.cell/ea-standalone.exp: Likewise.
10918 * gdb.cell/f-regs.exp: Likewise.
10919 * gdb.cell/fork.exp: Likewise.
10920 * gdb.cell/gcore.exp: Likewise.
10921 * gdb.cell/mem-access.exp: Likewise.
10922 * gdb.cell/ptype.exp: Likewise.
10923 * gdb.cell/registers.exp: Likewise.
10924 * gdb.cell/sizeof.exp: Likewise.
10925 * gdb.cell/solib-symbol.exp: Likewise.
10926 * gdb.cell/solib.exp: Likewise.
617cd4bc 10927
a81aaca0
PA
109282017-11-25 Pedro Alves <palves@redhat.com>
10929
10930 * gdb.base/complete-empty.exp: New file.
10931 * gdb.base/completion.exp: Adjust.
10932
6a3c6ee4
PA
109332017-11-25 Pedro Alves <palves@redhat.com>
10934
10935 * gdb.linespec/cpls-ops.cc: New file.
10936 * gdb.linespec/cpls-ops.exp: New file.
10937 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10938 factored out from ...
10939 (test_complete_prefix_range): ... this.
10940
8955eb2d
PA
109412017-11-24 Pedro Alves <palves@redhat.com>
10942
10943 * gdb.linespec/cpcompletion.exp: New file.
10944 * gdb.linespec/cpls-hyphen.cc: New file.
10945 * gdb.linespec/cpls.cc: New file.
10946 * gdb.linespec/cpls2.cc: New file.
10947 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10948 test to use test_gdb_complete_unique. Add label completion,
10949 keyword completion and explicit location completion tests.
10950 * lib/completion-support.exp: New file.
10951
e547c119
JB
109522017-11-24 Joel Brobecker <brobecker@adacore.com>
10953
10954 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10955 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10956 when hitting an exception catchpoint.
10957
7c3c1aa8
YQ
109582017-11-22 Yao Qi <yao.qi@linaro.org>
10959
10960 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10961
41bd68f5
SM
109622017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10963
10964 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10965 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10966 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10967
1daad298
YQ
109682017-11-22 Yao Qi <yao.qi@linaro.org>
10969
10970 * gdb.base/info-os.exp: Pass pthreads.
10971 * gdb.multi/multi-attach.exp: Likewise.
10972
88465e87
YQ
109732017-11-22 Yao Qi <yao.qi@linaro.org>
10974
10975 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10976 compiler.
10977
dc196b23
YQ
109782017-11-22 Yao Qi <yao.qi@linaro.org>
10979
10980 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10981 * gdb.base/break-interp.exp: Likewise.
10982 * gdb.base/jit-attach-pie.exp: Likewise.
10983
2400729e
UW
109842017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10985
10986 * gdb.base/float128.c (large128): New variable.
10987 * gdb.base/float128.exp: Add test to print largest __float128 value.
10988
7a26362d
UW
109892017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10990
10991 * gdb.arch/vsx-regs.exp: Update register content checks.
10992
ed0f4273
UW
109932017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10994
10995 * gdb.arch/ppc-longdouble.exp: New file.
10996 * gdb.arch/ppc-longdouble.c: Likewise.
10997
a25d69c6
PA
109982017-11-21 Pedro Alves <palves@redhat.com>
10999
11000 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11001
73fcf641
PA
110022017-11-20 Pedro Alves <palves@redhat.com>
11003
11004 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11005 (long_double_typedef): New typedefs.
11006 Use DEF on double and long double.
11007 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11008 cases.
11009 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11010 and 'long_double_ptr_same_size' locals. Use them to decide
11011 whether cast from array/function to float is valid/invalid.
11012
71a3c369
TT
110132017-11-17 Tom Tromey <tom@tromey.com>
11014
11015 * gdb.rust/traits.rs: New file.
11016 * gdb.rust/traits.exp: New file.
11017
ced9779b
JB
110182017-11-17 Joel Brobecker <brobecker@adacore.com>
11019
11020 * gdb.ada/minsyms: New testcase.
11021
a0922d80
PA
110222017-11-16 Pedro Alves <palves@redhat.com>
11023
11024 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11025 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11026
ea04e54c
PA
110272017-11-16 Pedro Alves <palves@redhat.com>
11028
11029 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11030 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11031
e849ea89
PA
110322017-11-16 Pedro Alves <palves@redhat.com>
11033
11034 * gdb.server/reconnect-ctrl-c.c: New file.
11035 * gdb.server/reconnect-ctrl-c.exp: New file.
11036
d8ae99a7
PM
110372017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11038
11039 * gdb.python/py-rbreak.exp: New file.
11040 * gdb.python/py-rbreak.c: New file.
11041 * gdb.python/py-rbreak-func2.c: New file.
11042
968a13f8
PA
110432017-11-16 Pedro Alves <palves@redhat.com>
11044
11045 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11046 pattern.
11047 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11048 GDB.
11049
71774bc9
SM
110502017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11051
11052 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11053 regex.
11054
ddbb44cf
SM
110552017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11056
11057 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11058 test names.
11059
584a564f
PA
110602017-11-09 Pedro Alves <palves@redhat.com>
11061
11062 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11063 factored out from ...
11064 (top level): ... here, and adjusted to avoid expecting beyond the
11065 prompt in a single gdb_test_multiple.
11066
5ed7a928
PA
110672017-11-09 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11070 output.
11071 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11072 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11073 * gdb.server/ext-run.exp ("kill" test): Likewise.
11074 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11075
a60e0738
PA
110762017-11-09 Pedro Alves <palves@redhat.com>
11077
11078 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11079 match till end of line.
11080
2c88253f
PA
110812017-11-09 Pedro Alves <palves@redhat.com>
11082
11083 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11084
c7a38517
PA
110852017-11-09 Pedro Alves <palves@redhat.com>
11086
11087 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11088 New procedures, factored out from ...
11089 (top level): ... here, and adjusted to avoid expecting beyond the
11090 prompt in one go.
11091
f29f4b6b
PA
110922017-11-09 Pedro Alves <palves@redhat.com>
11093
11094 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11095 output. Fix '?' match.
11096
286acbb5
JB
110972017-11-08 Joel Brobecker <brobecker@adacore.com>
11098
11099 * gdb.ada/scoped_watch: New testcase.
11100 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11101 which is actually correct.
11102 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11103 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11104
62d7ae92
PA
111052017-11-08 Pedro Alves <palves@redhat.com>
11106
11107 * gdb.gdb/complaints.exp (test_initial_complaints)
11108 (test_serial_complaints, test_short_complaints): Call
11109 complaint_internal instead of complaint.
11110
280ca31f
DT
111112017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11112
11113 * gdb.threads/tls-core.c: New file.
11114 * gdb.threads/tls-core.exp: Likewise.
11115
b5ec771e
PA
111162017-11-08 Pedro Alves <palves@redhat.com>
11117
11118 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11119 (p Exported_Capitalized): New test.
11120 (p exported_capitalized): New test.
11121
a02b41a7
PA
111222017-11-07 Pedro Alves <palves@redhat.com>
11123
11124 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11125
95e95a6d
PA
111262017-11-07 Pedro Alves <palves@redhat.com>
11127
11128 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11129 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11130 (disable_invalid, disable_inverted, disable_negative): New
11131 procedures.
11132 ("bad numbers"): New set of tests.
11133
cee62dbd
PA
111342017-11-07 Pedro Alves <palves@redhat.com>
11135
11136 * gdb.cp/ena-dis-br-range.exp: Add tests.
11137
cc638e86
PA
111382017-11-07 Pedro Alves <palves@redhat.com>
11139
11140 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11141
d0fe4701
XR
111422017-11-07 Xavier Roirand <roirand@adacore.com>
11143 Pedro Alves <palves@redhat.com>
11144
11145 * gdb.base/ena-dis-br.exp: Add reference to
11146 gdb.cp/ena-dis-br-range.exp.
11147 * gdb.cp/ena-dis-br-range.exp: New file.
11148 * gdb.cp/ena-dis-br-range.cc: New file.
11149
46f67f80
PA
111502017-11-06 Pedro Alves <palves@redhat.com>
11151
11152 * gdb.base/attach-non-pgrp-leader.c: New.
11153 * gdb.base/attach-non-pgrp-leader.exp: New.
11154
726e1356
PA
111552017-11-06 Pedro Alves <palves@redhat.com>
11156
11157 * configure.ac: No longer check for termio.h and sgtty.h.
11158 * configure: Regenerate.
11159 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11160 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11161 Remove termio and sgtty code.
11162
50ab6ace
YQ
111632017-11-03 Yao Qi <yao.qi@linaro.org>
11164
11165 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11166 in GDB is disabled.
11167
8e68731c
YQ
111682017-11-03 Yao Qi <yao.qi@linaro.org>
11169
11170 * gdb.python/py-thrhandle.exp: Skip it if python is not
11171 enabled.
11172
3a87ae65
SM
111732017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11174
11175 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11176 as a breakpoint command.
11177
484d8d36
MD
111782017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11179
11180 PR python/21213
11181 * gdb.python/py-infthread.exp: Test calling
11182 InferiorThread.inferior () multiple times in a row.
11183
4a27f119
KS
111842017-10-27 Keith Seitz <keiths@redhat.com>
11185
11186 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11187 Test "info break" for every inlined function breakpoint.
11188
bb11dd58
YQ
111892017-10-27 Yao Qi <yao.qi@linaro.org>
11190
11191 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11192
a43f3893
PF
111932017-10-26 Patrick Frants <osscontribute@gmail.com>
11194
11195 * gdb.cp/classes.exp (test_static_members): Test printing
11196 Outer::instance.
11197 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11198 (Inner::instance, Outer::instance): New.
11199
792ccf00
PA
112002017-10-24 Pedro Alves <palves@redhat.com>
11201
11202 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11203 extra console" test in two stages.
11204
eb2bfbad
PA
112052017-10-24 Pedro Alves <palves@redhat.com>
11206
11207 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11208
1f75a651
PA
112092017-10-24 Pedro Alves <palves@redhat.com>
11210
11211 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11212 loop.
11213
779990d9
PA
112142017-10-24 Pedro Alves <palves@redhat.com>
11215
11216 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11217 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11218
ad9b8f5d
PA
112192017-10-24 Pedro Alves <palves@redhat.com>
11220
11221 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11222 parameter and handle it. Don't output read value in test name.
11223
fee6da6e
PA
112242017-10-24 Pedro Alves <palves@redhat.com>
11225
11226 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11227 custom test name.
11228
10389c2c
PA
112292017-10-24 Pedro Alves <palves@redhat.com>
11230
11231 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11232 include the unstable output directory name in the test's name.
11233 (initial_setup_simple) <'set args'>: Use custom test name.
11234
a80e65a9
PA
112352017-10-24 Pedro Alves <palves@redhat.com>
11236
11237 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11238 with explicit test name.
11239
15763a09
PA
112402017-10-20 Pedro Alves <palves@redhat.com>
11241
11242 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11243 'wait -i'. Use gdb_assert and remote_close.
11244
49a4ce2e
AB
112452017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11246
11247 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11248 number from variable rather than hard-coded.
11249
a75868f5
PA
112502017-10-19 Pedro Alves <palves@redhat.com>
11251
11252 * gdb.base/long-inferior-output.c: New file.
11253 * gdb.base/long-inferior-output.exp: New file.
11254
c8ba13ad
KS
112552017-11-18 Keith Seitz <keiths@redhat.com>
11256
11257 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11258 method.
11259 (main): Call it.
11260 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11261 Add additional user-defined conversion operator tests.
11262
b27de576
PA
112632017-10-17 Pedro Alves <palves@redhat.com>
11264
11265 * boards/native-stdio-gdbserver.exp: Load "local-board".
11266
8484c955
PA
112672017-10-17 Pedro Alves <palves@redhat.com>
11268
11269 * gdb.base/quit-live.c: New file.
11270 * gdb.base/quit-live.exp: New file.
11271
83d5a34d
KS
112722017-10-16 Keith Seitz <keiths@redhat.com>
11273
11274 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11275 (class_with_protected_typedef, class_with_private_typedef)
11276 (struct_with_public_typedef, struct_with_protected_typedef)
11277 (struct_with_private_typedef): New classes/structs.
11278 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11279 typedefs and access specifiers.
11280
739b3f1d
PA
112812017-10-16 Pedro Alves <palves@redhat.com>
11282 Simon Marchi <simon.marchi@polymtl.ca>
11283
11284 * README (Local vs Remote vs Native): New section.
11285 * boards/local-board.exp: New file, with bits factored out from
11286 ...
11287 * boards/native-extended-gdbserver.exp: ... here. Load
11288 "local-board".
11289 * boards/native-gdbserver.exp: Load "local-board".
11290 (${board}_spawn, ${board}_exec): Delete.
11291 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11292 ...
11293 * boards/stdio-gdbserver-base.exp: ... this new file.
11294 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11295 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11296 procedure.
11297 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11298 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11299 stdio_gdbserver_command.
11300 (${board}_get_remote_address, ${board}_get_comm_port)
11301 (${board}_download, ${board}_upload): Delete.
11302 (get_target_remote_pipe_cmd): New.
11303
fe68b953
SM
113042017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11305
11306 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11307 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11308 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11309 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11310 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11311 remove with_test_prefix.
11312
300b6685
PA
113132017-10-13 Pedro Alves <palves@redhat.com>
11314
11315 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11316 * gdb.base/annota1.exp: Use it instead of is_remote.
11317 * gdb.base/annota3.exp: Use it instead of is_remote.
11318 * gdb.cp/annota2.exp: Use it instead of is_remote.
11319 * gdb.cp/annota3.exp: Use it instead of is_remote.
11320 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11321
50500caf
PA
113222017-10-13 Pedro Alves <palves@redhat.com>
11323
11324 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11325 (test_num_test_vars, run_and_count_vars, find_env)
11326 (test_set_unset_env, test_inherit_env_var): New procedures.
11327 (top level): Use them.
11328
dad0c6d2
PA
113292017-10-13 Pedro Alves <palves@redhat.com>
11330
11331 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11332 also skip on stub-like targets.
11333
8b0553c1
PA
113342017-10-13 Pedro Alves <palves@redhat.com>
11335
11336 PR gdb/22293
11337 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11338 (top level): Move some tests to ...
11339 (test_not_found): ... this new procedure.
11340 (top level): Call it.
11341
7594f623
PA
113422017-10-13 Pedro Alves <palves@redhat.com>
11343
11344 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11345 expect different "info terminal" output if testing with a
11346 non-native target.
11347
ebe3b402
PA
113482017-10-13 Pedro Alves <palves@redhat.com>
11349 Simon Marchi <simon.marchi@polymtl.ca>
11350
11351 PR python/12966
11352 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11353
42f1b161
PA
113542017-10-13 Pedro Alves <palves@redhat.com>
11355
11356 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11357 already.
11358
8d6ef72b
PA
113592017-10-13 Pedro Alves <palves@redhat.com>
11360
11361 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11362 is_remote.
11363
d7bcd5b8
PA
113642017-10-13 Pedro Alves <palves@redhat.com>
11365
11366 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11367 is_remote.
11368
df479dc6
PA
113692017-10-13 Pedro Alves <palves@redhat.com>
11370
11371 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11372 is set.
11373 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11374 instead of is_remote.
11375
23fb630a
PA
113762017-10-13 Pedro Alves <palves@redhat.com>
11377
11378 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11379 (top level): Add comment.
11380
cc77b1dc
PA
113812017-10-13 Pedro Alves <palves@redhat.com>
11382
11383 * gdb.base/remote.exp (top level): Fix comment typo and add
11384 missing return.
11385
27c9e813
PA
113862017-10-13 Pedro Alves <palves@redhat.com>
11387 Simon Marchi <simon.marchi@polymtl.ca>
11388
11389 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11390 calls and add comments. Skip test if use_gdb_stub is set.
11391 (top level): Use "set cwd" command instead of "cd" command.
11392
5e830d98
PA
113932017-10-13 Pedro Alves <palves@redhat.com>
11394
11395 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11396 is_remote target check.
11397
f5ca0032
PA
113982017-10-13 Pedro Alves <palves@redhat.com>
11399
11400 * gdb.base/scope.exp: Use build_executable + clean_restart +
11401 gdb_file_cmd instead of prepare_for_testing and no longer skip
11402 "before run" tests on is_remote target boards. Update comments.
11403 * boards/native-extended-gdbserver.exp
11404 (extended_gdbserver_load_last_file): New, factored out from ...
11405 (gdb_load): ... this. Move further below and add comment.
11406 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11407
8aed1c0d
PA
114082017-10-12 Pedro Alves <palves@redhat.com>
11409
11410 * gdb.base/attach.exp: Remove references to gdb64.
11411 * gdb.base/dbx.exp: Remove references to gdb64.
11412
cfa34c87
SM
114132017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11414 Pedro Alves <palves@redhat.com>
11415
11416 * gdb.base/label.exp: Remove is_remote target check.
11417
9192b7de
PA
114182017-10-12 Pedro Alves <palves@redhat.com>
11419
11420 * gdb.base/auvx.exp (coredir): Update comment.
11421 (top level) <core_works>: Use "set cwd" command instead of "cd"
11422 command.
11423
6bf0052d
PA
114242017-10-12 Pedro Alves <palves@redhat.com>
11425 Simon Marchi <simon.marchi@polymtl.ca>
11426
11427 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11428 target boards.
11429
e48ef82d
PA
114302017-10-12 Pedro Alves <palves@redhat.com>
11431 Simon Marchi <simon.marchi@polymtl.ca>
11432
11433 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11434 Instead skip if there's any gdb_protocol set.
11435
8d7aea57
SM
114362017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11437 Pedro Alves <palves@redhat.com>
11438
11439 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11440
30440677
PA
114412017-10-12 Pedro Alves <palves@redhat.com>
11442 Simon Marchi <simon.marchi@polymtl.ca>
11443
11444 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11445 instead of on dejagnu remote boards.
11446
4e04f045 114472017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11448 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11449
11450 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11451 checks. Use build_executable + clean_restart instead of
11452 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11453 of enabling non-stop after starting gdb.
11454
871a186e
PA
114552017-10-12 Pedro Alves <palves@redhat.com>
11456
11457 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11458 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11459 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11460 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11461
56d704da
AK
114622017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11463
11464 * gdb.arch/arc-tdesc-cpu.exp: New file.
11465 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11466
2f20e312
SM
114672017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11468
11469 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11470
65630365
PA
114712017-10-10 Pedro Alves <palves@redhat.com>
11472
11473 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11474 expect CLI output.
11475
bf469271
PA
114762017-10-10 Pedro Alves <palves@redhat.com>
11477
11478 * lib/selftest-support.exp (selftest_setup): Update for
11479 captured_command_loop's prototype change.
11480
777a42f1
PA
114812017-10-09 Pedro Alves <palves@redhat.com>
11482
11483 Test both arch1=>arch2 and arch2=>arch1.
11484
11485 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11486 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11487 factored out to...
11488 (append_arch1_options, append_arch2_options, append_arch_options)
11489 (build_executables): New procedures.
11490 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11491 local.
11492 (top level): Add new 'first_arch' testing axis.
11493
cbd2b4e3
PA
114942017-10-09 Pedro Alves <palves@redhat.com>
11495
11496 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11497 (barrier): New.
11498 (thread_start, all_started): New functions.
11499 (main): Spawn new thread and wait until it is scheduled.
11500 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11501 option.
11502 (do_test): Add 'selected_thread' parameter. Run to all_started
11503 instead of main. Explicitly set the breakpoint at main. Switch
11504 to the SELECTED_THREAD thread.
11505 (top level): Test handling the exec event with either the main
11506 thread or the second thread selected.
11507
5c9e4427
PA
115082017-10-09 Pedro Alves <palves@redhat.com>
11509
11510 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11511 logic. Move STOP marker after the value checks.
11512 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11513 regexp.
11514
b3b7c423
SL
115152017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11516
11517 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11518
3b4b2f16
UW
115192017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11520
11521 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11522 integer-to-dfp conversion.
11523 * gdb.base/dfp-test.exp: Likewise.
11524
5cd63fda
PA
115252017-10-04 Pedro Alves <palves@redhat.com>
11526
11527 * gdb.multi/hangout.c: Include <unistd.h>.
11528 (hangout_loop): New function.
11529 (main): Call alarm. Call hangout_loop in a loop.
11530 * gdb.multi/hello.c: Include <unistd.h>.
11531 (hello_loop): New function.
11532 (main): Call alarm. Call hangout_loop in a loop.
11533 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11534 inferior with the other selected.
11535
4c71c105
SM
115362017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11537
11538 * gdb.mi/list-thread-groups-available.exp: New file.
11539 * gdb.mi/list-thread-groups-available.c: New file.
11540
bc3b087d
SDJ
115412017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11542
11543 * gdb.base/set-cwd.exp: Make it available on
11544 native-extended-gdbserver.
11545
d092c5a2
SDJ
115462017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11547
11548 * gdb.base/set-cwd.c: New file.
11549 * gdb.base/set-cwd.exp: Likewise.
11550
45320ffa
TT
115512017-10-02 Tom Tromey <tom@tromey.com>
11552
11553 PR rust/22236:
11554 * gdb.rust/simple.rs (main): New variable "fslice".
11555 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11556
b3e3859b
TT
115572017-10-02 Tom Tromey <tom@tromey.com>
11558
11559 * gdb.rust/simple.exp: Test ptype of a slice.
11560
01af5e0d
TT
115612017-10-02 Tom Tromey <tom@tromey.com>
11562
11563 * gdb.rust/simple.exp: Test index of slice.
11564
a9bbfbd8
TT
115652017-09-27 Tom Tromey <tom@tromey.com>
11566
11567 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11568
df8899e5
TP
115692017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11570 Pedro Alves <palves@redhat.com>
11571
11572 * gdb.base/compare-sections.exp (get value of read-only section): Read
11573 as unsigned value.
11574 (corrupt read-only section): Likewise and don't set written if patching
11575 failed.
11576
757bf54b
KB
115772017-09-21 Kevin Buettner <kevinb@redhat.com>
11578
11579 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11580 files.
11581
06871ae8
PA
115822017-09-20 Pedro Alves <palves@redhat.com>
11583
11584 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11585 symbol names in gdb's output.
11586 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11587
e5f25bc5
PA
115882017-09-20 Pedro Alves <palves@redhat.com>
11589
11590 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11591 Rename to ...
11592 (test_list_ambiguous_symbol): ... this and add a symbol name
11593 parameter. Adjust.
11594 (test_list_ambiguous_function): Reimplement on top of
11595 test_list_ambiguous_symbol and also test listing ambiguous
11596 variables.
11597 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11598 (ambiguous_fun): ... this.
11599 (ambiguous_var): New.
11600 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11601 (ambiguous_fun): ... this.
11602 (ambiguous_var): New.
11603
4e5a4f58
JB
116042017-09-19 John Baldwin <jhb@FreeBSD.org>
11605
11606 * gdb.base/starti.c: New file.
11607 * gdb.base/starti.exp: New file.
11608 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11609
26e53f3e
PA
116102017-09-14 Pedro Alves <palves@redhat.com>
11611
11612 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11613 (top level): Use it instead of runto.
11614
cb791d59
TT
116152017-09-11 Tom Tromey <tom@tromey.com>
11616
11617 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11618
7c96f8c1
TT
116192017-09-11 Tom Tromey <tom@tromey.com>
11620
11621 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11622 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11623
469412dd
CW
116242017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11625
11626 * gdb.fortran/printing-types.exp: New file.
11627 * gdb.fortran/printing-types.exp: New file.
11628
e0f86435
BH
116292017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11630
11631 * gdb.fortran/vla-ptype.exp: Fix typos.
11632 * gdb.fortran/vla-value.exp: Same.
11633
9e9af4be
BH
116342017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11635
11636 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11637 * gdb.mi/mi-var-child-f.exp: Likewise.
11638 * gdb.mi/mi-vla-fortran.exp: Likewise.
11639
a5ad232b 116402017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11641 Christoph Weinmann <christoph.t.weinmann@intel.com>
11642 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11643
11644 * gdb.fortran/ptr-indentation.f90: New file.
11645 * gdb.fortran/ptr-indentation.exp: New file.
11646
5aec60eb
TT
116472017-09-05 Tom Tromey <tom@tromey.com>
11648
11649 PR gdb/22010:
11650 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11651
8f8f8152
TP
116522017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11653
11654 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11655
fbd1b771
JK
116562017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11657
11658 * gdb.threads/tls-nodebug-pie.c: New file.
11659 * gdb.threads/tls-nodebug-pie.exp: New file.
11660
5eb5f850
TT
116612017-09-05 Tom Tromey <tom@tromey.com>
11662
11663 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11664 for rust.
11665
ae780a21
SM
116662017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11667
11668 * gdb.multi/multi-arch-exec.exp: Test with different
11669 "follow-exec-mode" settings.
11670 (do_test): New procedure.
11671
3693fdb3
PA
116722017-09-04 Pedro Alves <palves@redhat.com>
11673
11674 * gdb.base/func-static.c (S::method const, S::method volatile)
11675 (S::method volatile const): New methods.
11676 (c_s, v_s, cv_s): New instances.
11677 (main): Call method() on them.
11678 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11679 (cannot_resolve): New procedure.
11680 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11681 print-quote-unquoted columns.
11682 (do_test): Test printing each scope too.
11683
e68cb8e0
PA
116842017-09-04 Pedro Alves <palves@redhat.com>
11685
11686 * gdb.base/local-static.exp: Also test with
11687 class::method::variable wholly quoted.
11688 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11689
858be34c
PA
116902017-09-04 Pedro Alves <palves@redhat.com>
11691
11692 * gdb.base/local-static.c: New.
11693 * gdb.base/local-static.cc: New.
11694 * gdb.base/local-static.exp: New.
11695
46a4882b
PA
116962017-09-04 Pedro Alves <palves@redhat.com>
11697
11698 * gdb.asm/asm-source.exp: Add casts to int.
11699 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11700 (dataglobal64_1, dataglobal64_2): New globals.
11701 * gdb.base/nodebug.exp: Test different expressions involving the
11702 new globals, with print, whatis and ptype. Add casts to int.
11703 * gdb.base/solib-display.exp: Add casts to int.
11704 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11705 * gdb.cp/m-static.exp: Add cast to int.
11706 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11707 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11708 tls variable with no debug info without a cast. Test with a cast
11709 to int too.
11710 * gdb.trace/entry-values.exp: Add casts.
11711
2c5a2be1
PA
117122017-09-04 Pedro Alves <palves@redhat.com>
11713
11714 * gdb.base/nodebug.exp: Test that ptype's error about functions
11715 with unknown return type includes the function name too.
11716
7022349d
PA
117172017-09-04 Pedro Alves <palves@redhat.com>
11718
11719 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11720 return type of munmap in infcall.
11721 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11722 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11723 type of ftell in infcall.
11724 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11725 type of getpid in infcall.
11726 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11727 infcall.
11728 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11729 Bail on failure to extract the pid.
11730 * gdb.base/nodebug.c: #include <stdint.h>.
11731 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11732 New functions.
11733 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11734 Change expected output of print/whatis/ptype with functions with
11735 no debug info. Test all supported languages. Call
11736 test_call_promotion.
11737 * gdb.compile/compile.exp: Adjust expected output to expect
11738 warning.
11739 * gdb.threads/siginfo-threads.exp: Likewise.
11740
54990598
PA
117412017-09-04 Pedro Alves <palves@redhat.com>
11742
11743 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11744 "prototypes". Test calling float functions via prototyped and
11745 unprototyped function pointers.
11746 (perform_all_tests): New parameter "prototypes". Pass it down.
11747 (top level): Pass down "prototypes" parameter to
11748 perform_all_tests.
11749
34d16ea2
SM
117502017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11751
11752 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11753 Test with nested loops.
11754
9521ecda
SM
117552017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11756
11757 * gdb.base/commands.exp: Call the new procedures.
11758 (loop_break_test, loop_continue_test): New procedures.
11759
80a65e9b
SM
117602017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11761
11762 * gdb.base/commands.exp: Call new procedure.
11763 (define_if_without_arg_test): New procedure.
11764
e439fa14
PA
117652017-09-04 Pedro Alves <palves@redhat.com>
11766
11767 * gdb.base/list-ambiguous.exp: New file.
11768 * gdb.base/list-ambiguous0.c: New file.
11769 * gdb.base/list-ambiguous1.c: New file.
11770 * gdb.base/list.exp (test_list_range): Adjust expected output.
11771
0a2dde4a
SDJ
117722017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11773
11774 * gdb.base/share-env-with-gdbserver.c: New file.
11775 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11776
5e89eb3a
SM
117772017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11778
11779 * gdb.base/commands.exp (gdbvar_simple_if_test,
11780 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11781 progvar_simple_if_test, progvar_simple_while_test,
11782 progvar_complex_if_while_test, user_defined_command_test,
11783 user_defined_command_args_eval,
11784 user_defined_command_args_stack_test,
11785 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11786 temporary_breakpoint_commands,
11787 gdb_test_no_prompt, redefine_hook_test,
11788 redefine_backtrace_test): Remove "global gdb_prompt".
11789
fd437cbc
SM
117902017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11791
11792 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11793 New proc, call it from toplevel.
11794
87215ad1
SDJ
117952017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11796
11797 PR remote/21852
11798 * gdb.server/normal.c: New file, copied from gdb.base.
11799 * gdb.server/run-without-local-binary.exp: New file.
11800
58afddc6
WP
118012017-08-07 Weimin Pan <weimin.pan@oracle.com>
11802
11803 * gdb.arch/sparc64-adi.exp: New file.
11804 * gdb.arch/sparc64-adi.c: New file.
11805
5277199a
PA
118062017-08-22 Pedro Alves <palves@redhat.com>
11807
11808 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11809 (top level): Add "list all overloads" tests.
11810
14278e1f
TT
118112017-08-22 Tom Tromey <tom@tromey.com>
11812
11813 * gdb.gdb/xfullpath.exp: Remove.
11814
bf223d3e
PA
118152017-08-21 Pedro Alves <palves@redhat.com>
11816
11817 PR gdb/19487
11818 * gdb.base/symbol-alias.c: New.
11819 * gdb.base/symbol-alias2.c: New.
11820 * gdb.base/symbol-alias.exp: New.
11821
c973d0aa
PA
118222017-08-21 Pedro Alves <palves@redhat.com>
11823
11824 * gdb.base/dfp-test.c
11825 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11826 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11827 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11828 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11829 * gdb.base/whatis-ptype-typedefs.c: New.
11830 * gdb.base/whatis-ptype-typedefs.exp: New.
11831 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11832 (an_int, an_int_type, an_int_type2): New globals.
11833 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11834 involving typedefs and cast expressions.
11835 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11836 (lookup_typedefs_function): New.
11837 (typedefs_pretty_printers_dict): New.
11838 (top level): Register lookup_typedefs_function in
11839 gdb.pretty_printers.
11840
6d580b63
YQ
118412017-08-18 Yao Qi <yao.qi@linaro.org>
11842
11843 * gdb.server/unittest.exp: New.
11844
206726fb
SDJ
118452017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11846
11847 PR gdb/21954
11848 * gdb.base/environ.exp: Add test to check if 'unset environment'
11849 works.
11850
bf0ec4c2
AA
118512017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11852
11853 * lib/gdb.exp (universal_compile_options): New caching proc.
11854 (gdb_compile): Suppress GCC's coloring of messages.
11855
d6382fff
TT
118562017-08-14 Tom Tromey <tom@tromey.com>
11857
11858 PR gdb/21675:
11859 * gdb.base/printcmds.exp (test_radices): New function.
11860 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11861 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11862 * lib/gdb.exp (get_integer_valueof): Use p/d.
11863
c2c2dd9f
SM
118642017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11865
11866 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11867 characters.
11868
fdffd6f4
TT
118692017-08-05 Tom Tromey <tom@tromey.com>
11870
11871 * gdb.rust/simple.exp: Allow String to appear in a different
11872 namespace.
11873
27d41eac
YQ
118742017-07-26 Yao Qi <yao.qi@linaro.org>
11875
11876 * gdb.gdb/unittest.exp: Invoke command
11877 "maintenance check xml-descriptions".
11878
031ed05d
AA
118792017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11880
11881 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11882 calling context.
11883 (hex128): Drop erroneous calculation of parameters.
11884
dcd27ddf
SM
118852017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11886
11887 * gdb.python/py-unwind.exp: Disable stack protection when
11888 building test file.
11889
47e77640
PA
118902017-07-20 Pedro Alves <palves@redhat.com>
11891
11892 * gdb.base/default.exp (set language): Adjust expected output.
11893
62d2a18a
PA
118942017-07-20 Pedro Alves <palves@redhat.com>
11895
11896 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11897 (test_minsym): ... this, and make static.
11898 (get_pck__foo__bar__minsym): Rename to ...
11899 (get_test_minsym): ... this.
11900 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11901 symbol names and comments.
11902 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11903 (get_test_minsym): ... this.
11904 (pck__foo__bar__minsym__2): Rename to ...
11905 (test_minsym): ... this.
11906 (main): Adjust.
11907
c45ec17c
PA
119082017-07-17 Pedro Alves <palves@redhat.com>
11909
11910 * gdb.base/completion.exp: Adjust expected output.
11911 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11912 the completer works.
11913
c6756f62
PA
119142017-07-17 Pedro Alves <palves@redhat.com>
11915
11916 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11917
5bd68487
AB
119182017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11919
11920 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11921
8880f2a9
TT
119222017-07-14 Tom Tromey <tom@tromey.com>
11923
11924 PR rust/21764:
11925 * gdb.rust/simple.exp: Add tests.
11926
65547233
TT
119272017-07-14 Tom Tromey <tom@tromey.com>
11928
11929 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11930
8f14146e
PA
119312017-07-14 Pedro Alves <palves@redhat.com>
11932
11933 * gdb.linespec/base/one/thefile.cc (z1): New function.
11934 * gdb.linespec/base/two/thefile.cc (z2): New function.
11935 * gdb.linespec/linespec.exp: Add tests.
11936
b4365d02
AB
119372017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11938
11939 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11940 to mi_create_breakpoint.
11941
5d2cbaa5
AB
119422017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11943
11944 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11945 mi_create_breakpoint.
11946
11cb5716
IB
119472017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11948
11949 * gdb.dlang/demangle.exp: Update for demangling changes.
11950
03278692
TT
119512017-07-09 Tom Tromey <tom@tromey.com>
11952
11953 * gdb.dwarf2/shortpiece.exp: New file.
11954
33c5cd75
DB
119552017-07-06 David Blaikie <dblaikie@gmail.com>
11956
11957 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11958 built from fissiont-multi-cu{1,2}.c.
11959 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11960 except putting 'main' and 'func' in separate CUs in the same DWO file.
11961 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11962 test.
11963 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11964 test.
11965
8455d262
PA
119662017-07-06 Pedro Alves <palves@redhat.com>
11967
11968 * gdb.python/py-unwind.exp: Test flushregs.
11969
dc4bde35
SDJ
119702017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11971
11972 PR cli/21688
11973 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11974 tests for alias commands and trailing whitespace.
11975
51ed89aa
SDJ
119762017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11977
11978 PR cli/21688
11979 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11980 procedure. Call it.
11981
eb17d413
PA
119822017-06-29 Pedro Alves <palves@redhat.com>
11983
11984 * gdb.base/printcmds.exp: Add tests.
11985
41664b45
DG
119862017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11987
11988 PR gdb/21337
11989 * gdb.base/reread-readsym.exp: New file.
11990 * gdb.base/reread-readsym.c: New file.
11991
75312ae3
KB
119922017-06-21 Kevin Buettner <kevinb@redhat.com>
11993
11994 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11995 subpattern.
11996
66953522
PB
119972017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11998
11999 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12000 extended mnemonic.
12001 * gdb.arch/powerpc-power9.s: Likewise.
12002
5524b525
AA
120032017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12004
12005 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12006 on 32-bit x86 targets. Exploit is_*_target macros where
12007 appropriate.
12008
03c8af18
AA
120092017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12010
12011 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12012 register pieces.
12013
3bf31011
AA
120142017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12015
12016 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12017 located in one or more DWARF pieces.
12018
805acca0
AA
120192017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12020
12021 * lib/gdb.exp (get_endianness): New proc.
12022 * gdb.arch/aarch64-fp.exp: Use it.
12023 * gdb.arch/altivec-regs.exp: Likewise.
12024 * gdb.arch/e500-regs.exp: Likewise.
12025 * gdb.arch/vsx-regs.exp: Likewise.
12026 * gdb.base/dump.exp: Likewise.
12027 * gdb.base/funcargs.exp: Likewise.
12028 * gdb.base/gnu_vector.exp: Likewise.
12029 * gdb.dwarf2/formdata16.exp: Likewise.
12030 * gdb.dwarf2/implptrpiece.exp: Likewise.
12031 * gdb.dwarf2/nonvar-access.exp: Likewise.
12032 * gdb.python/py-inferior.exp: Likewise.
12033 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12034
e9352324
AA
120352017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12036
12037 PR gdb/21226
12038 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12039 stack value pieces are taken from the LSB end.
12040
d5d1163e
AA
120412017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12042
12043 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12044 variable at nonzero offset.
12045
0567c986
AA
120462017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12047
12048 * gdb.dwarf2/var-access.c: New file.
12049 * gdb.dwarf2/var-access.exp: New test.
12050 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12051
973e9aab
TT
120522017-06-12 Tom Tromey <tom@tromey.com>
12053
12054 * gdb.dwarf2/formdata16.exp: Add tests.
12055
d9109c80
TT
120562017-06-12 Tom Tromey <tom@tromey.com>
12057
12058 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12059
30a25466
TT
120602017-06-12 Tom Tromey <tom@tromey.com>
12061
12062 PR exp/16225:
12063 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12064 * gdb.arch/vsx-regs.exp: Update tests.
12065 * gdb.arch/s390-vregs.exp (hex128): New proc.
12066 Update test.
12067 * gdb.arch/altivec-regs.exp: Update tests.
12068
aefd8b33
SDJ
120692017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12070
12071 * gdb.base/startup-with-shell.c: New file.
12072 * gdb.base/startup-with-shell.exp: Likewise.
12073
2090129c
SDJ
120742017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12075
12076 * gdb.server/non-existing-program.exp: Update regex in order to
12077 reflect the fact that gdbserver is now using fork_inferior (with a
12078 shell) to startup the inferior.
12079
8e86a419
SM
120802017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12081
12082 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12083 support function calls from GDB.
12084
e6cf65f2
TT
120852017-05-21 Tom Tromey <tom@tromey.com>
12086
12087 PR rust/21466:
12088 * gdb.rust/unsized.exp: New file.
12089 * gdb.rust/unsized.rs: New file.
12090
43cc5389
TT
120912017-05-19 Tom Tromey <tom@tromey.com>
12092
12093 PR rust/21484:
12094 * gdb.rust/watch.exp: New file.
12095 * gdb.rust/watch.rs: New file.
12096
ec8df234
TT
120972017-05-18 Tom Tromey <tom@tromey.com>
12098
12099 * gdb.rust/simple.exp: Allow Box to be qualified.
12100
3e3e7fae
TP
121012017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12102
12103 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12104
59cc050d
PA
121052017-05-18 Pedro Alves <palves@redhat.com>
12106
12107 * gdb.base/fileio.c (test_write, test_read, test_close)
12108 (test_fstat): Don't print 'ret' in the fail path.
12109
c8f6abd1
PA
121102017-05-18 Pedro Alves <palves@redhat.com>
12111
12112 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12113 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12114 (test_system, test_rename, test_unlink, test_time): Change
12115 prototypes.
12116 * gdb.base/fileio.exp (stop_msg): Adjust.
12117
d2a03b77
PA
121182017-05-18 Pedro Alves <palves@redhat.com>
12119
12120 * gdb.base/fileio.c (null_str): New global.
12121 (test_stat): Use it.
12122 * gdb.base/fileio.exp: Remove nowarnings.
12123
0d5c6999
YQ
121242017-05-17 Yao Qi <yao.qi@linaro.org>
12125
12126 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12127
21873064
YQ
121282017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12129
12130 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12131 argument command.
12132 (top-level): Invoke test_set_inferior_tty.
12133
d512d31c
PA
121342017-05-04 Pedro Alves <palves@redhat.com>
12135
12136 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12137 Add parens to print call for Python 3.
12138
90cef2ed
KS
121392017-05-03 Keith Seitz <keiths@redhat.com>
12140
12141 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12142 (main): Call it.
12143
14f819c8
TW
121442017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12145
12146 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12147 to prev and next.
12148
913aeadd
TW
121492017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12150
12151 * gdb.python/py-record-btrace.exp: Remove test for
12152 gdb.BtraceInstruction.error.
12153
a3be24ad
TW
121542017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12155
12156 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12157
ae20e79a
TW
121582017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12159
12160 * gdb.python/py-record-btrace-threads.c: New file.
12161 * gdb.python/py-record-btrace-threads.exp: New file.
12162
45ce1b47
SDJ
121632017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12164
12165 PR testsuite/8595
12166 * gdb.base/environ.exp: Make test available in all architectures.
12167 Move bits related to "info program" testing to
12168 gdb.base/info-program.exp. Rewrite tests to use the two new
12169 procedures mentione below.
12170 (test_set_show_env_var) New procedure.
12171 (test_set_show_env_var_equal): Likewise.
12172 * gdb.base/info-program.exp: New file.
12173
e15c3eb4
KS
121742017-04-27 Keith Seitz <keiths@redhat.com>
12175
12176 * gdb.cp/oranking.cc (test15): New function.
12177 (main): Call test15 and declare additional variables for testing.
12178 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12179 "p foo101('abc')" tests.
12180 Add tests for cv qualifier overloads.
12181 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12182 "lvalue reference overload" test.
12183 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12184 "print value of f1 on Child&& in f2" test.
12185
3a3fd0fd
PA
121862017-04-19 Pedro Alves <palves@redhat.com>
12187
12188 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12189 procedure.
12190 (top level): Call it.
12191 * lib/gdb.exp (gdb_define_cmd): New procedure.
12192
53375380
PA
121932017-04-12 Pedro Alves <palves@redhat.com>
12194
12195 PR gdb/21323
12196 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12197 (wchar): New global.
12198 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12199 (do_test_wide_char, wide_char_types_no_program, top level): Add
12200 wchar_t testing.
12201
53e710ac
PA
122022017-04-12 Pedro Alves <palves@redhat.com>
12203
12204 PR c++/21323
12205 * gdb.cp/wide_char_types.c: New file.
12206 * gdb.cp/wide_char_types.exp: New file.
12207
0ad9d8c7
SDJ
122082017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12209
12210 PR gdb/21352
12211 * gdb.trace/tsv.exp: Add test for "tsave -r".
12212
b1b45502
IB
122132017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12214
12215 * gdb.dlang/watch-loc.c: New file.
12216 * gdb.dlang/watch-loc.exp: New file.
12217
ec13808e
JK
122182017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12219
12220 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12221
fe5f7374
AK
122222017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12223
12224 * gdb.arch/arc-analyze-prologue.S: New file.
12225 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12226
eea78757
AK
122272017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12228
12229 * gdb.arch/arc-decode-insn.S: New file.
12230 * gdb.arch/arc-decode-insn.exp: Likewise.
12231
5badf10a
IR
122322017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12233
12234 PR tdep/20928
12235 * gdb.arch/sparc64-regs.exp: New file.
12236 * gdb.arch/sparc64-regs.S: Likewise.
12237
cee59b3f
TW
122382017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12239
12240 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12241 and memory view on Python 3.
12242
c0f55cc6
AV
122432017-03-20 Artemiy Volkov <artemiyv@acm.org>
12244 Keith Seitz <keiths@redhat.com>
12245
12246 PR gdb/14441
12247 * gdb.cp/demangle.exp: Add rvalue reference tests.
12248 * gdb.cp/rvalue-ref-casts.cc: New file.
12249 * gdb.cp/rvalue-ref-casts.exp: New file.
12250 * gdb.cp/rvalue-ref-overload.cc: New file.
12251 * gdb.cp/rvalue-ref-overload.exp: New file.
12252 * gdb.cp/rvalue-ref-params.cc: New file.
12253 * gdb.cp/rvalue-ref-params.exp: New file.
12254 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12255 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12256 * gdb.cp/rvalue-ref-types.cc: New file.
12257 * gdb.cp/rvalue-ref-types.exp: New file.
12258 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12259 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12260
51457a05
MAL
122612017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12262
12263 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12264 New procedure.
12265
5b291c04
MAL
122662017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12267
12268 * lib/mi-support.exp (mi_gdb_test): Add additional message
12269 for unexpected output.
12270
59a56148
AA
122712017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12272
12273 * gdb.base/examine-backward.c (Barrier): New character array
12274 constant, to ensure that TestStrings is preceded by a string
12275 terminator.
12276
7942e96e
AA
122772017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12278
12279 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12280 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12281 and implicit pointer into such a location.
12282
6ebac3fb
DE
122832017-03-16 Doug Evans <dje@google.com>
12284
12285 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12286
ec3b243d
TP
122872017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12288
12289 * gdb.cp/m-static.exp: Fix expectation for prototype of
12290 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12291
122922017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12293
12294 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12295 * gdb.guile/scm-lazy-string.c: New file.
12296 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12297 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12298 for pointer, array, typedef lazy strings.
12299
2cc36e25 123002017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12301
12302 PR python/17728, python/18439, python/18779
12303 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12304 * gdb.python/py-lazy-string.c (pointer): New typedef.
12305 (main): New locals ptr, array, typedef_ptr.
12306 * gdb.python/py-value.exp: Move lazy string tests to ...
12307 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12308 array, typedef lazy strings.
ec3b243d 12309
0efcde63
AK
123102017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12311
12312 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12313 Add optional 'test' parameter.
12314
7978d7c3
SM
123152017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12316
12317 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12318 Skip for versions of DejaGnu < 1.5.
12319
896c0c1e
SM
123202017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12321
12322 * lib/gdb.exp (dejagnu_version): New proc.
12323 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12324 Use dejagnu_version.
12325
5f4d1085
KS
123262017-03-10 Keith Seitz <keiths@redhat.com>
12327
12328 PR c++/8128
12329 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12330 type from destructor regexps.
12331 Add a branch which actually passes the test.
12332 Adjust "ptype t5i" test names.
12333
1de05205
PA
123342017-03-08 Pedro Alves <palves@redhat.com>
12335
12336 * gdb.base/step-over-exit.exp: Add explicit test message.
12337
c65d6b55
PA
123382017-03-08 Pedro Alves <palves@redhat.com>
12339
12340 PR gdb/18360
12341 * gdb.threads/interrupt-while-step-over.c: New file.
12342 * gdb.threads/interrupt-while-step-over.exp: New file.
12343
2e86a283
PA
123442017-03-08 Pedro Alves <palves@redhat.com>
12345
12346 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12347 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12348
25dcbff6
PA
123492017-03-08 Pedro Alves <palves@redhat.com>
12350
12351 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12352 PKRU as not supported as a PASS.
12353
dc9366eb
PA
123542017-03-08 Pedro Alves <palves@redhat.com>
12355
12356 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12357 prefix instead of $binfile1/$binfile2.
12358 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12359 in test message.
12360 * gdb.python/py-completion.exp: Use "load python file" as test
12361 messages instead of unstable path names.
12362
6e5d74e7
PA
123632017-03-08 Pedro Alves <palves@redhat.com>
12364 Jan Kratochvil <jan.kratochvil@redhat.com>
12365
12366 PR cli/21218
12367 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12368 New proc.
12369 (top level): Call it.
12370
9753a2f6
PA
123712017-03-08 Pedro Alves <palves@redhat.com>
12372
12373 PR tui/21216
12374 * gdb.tui/tui-nl-filtered-output.exp: New file.
12375
1a4dd9dd
PA
123762017-03-08 Pedro Alves <palves@redhat.com>
12377
12378 * gdb.base/completion.exp: Move TUI completion tests to ...
12379 * gdb.tui/completion.exp: ... this new file.
12380
7cbbff33
PA
123812017-03-08 Pedro Alves <palves@redhat.com>
12382
12383 * gdb.base/tui-disasm-long-lines.c,
12384 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12385 gdb.base/tui-layout.exp: Move to ...
12386 * gdb.tui/: ... this new directory.
12387
5f6fd321
PA
123882017-03-07 Pedro Alves <palves@redhat.com>
12389
12390 * gdb.base/tui-layout.c: New file.
12391 * gdb.base/tui-layout.exp: New file.
12392
44959fa8
PA
123932017-03-07 Pedro Alves <palves@redhat.com>
12394
12395 * gdb.base/tui-layout.c: Rename to ...
12396 * gdb.base/tui-disasm-long-lines.c: ... this.
12397 * gdb.base/tui-layout.exp: Rename to ...
12398 * gdb.base/tui-disasm-long-lines.exp: ... this.
12399
f8c4e718
PA
124002017-03-07 Pedro Alves <palves@redhat.com>
12401
12402 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12403
6dbb839a 124042017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12405
12406 * i386-mpx-call.c: New file.
12407 * i386-mpx-call.exp: New file.
12408
65b48a81
PB
124092017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12410
12411 * gdb.arch/powerpc-power.exp: Delete test.
12412 * gdb.arch/powerpc-power.s: Likewise.
12413 * gdb.disasm/disassembler-options.exp: New test.
12414 * gdb.arch/powerpc-altivec.exp: Likewise.
12415 * gdb.arch/powerpc-altivec.s: Likewise.
12416 * gdb.arch/powerpc-altivec2.exp: Likewise.
12417 * gdb.arch/powerpc-altivec2.s: Likewise.
12418 * gdb.arch/powerpc-altivec3.exp: Likewise.
12419 * gdb.arch/powerpc-altivec3.s: Likewise.
12420 * gdb.arch/powerpc-power7.exp: Likewise.
12421 * gdb.arch/powerpc-power7.s: Likewise.
12422 * gdb.arch/powerpc-power8.exp: Likewise.
12423 * gdb.arch/powerpc-power8.s: Likewise.
12424 * gdb.arch/powerpc-power9.exp: Likewise.
12425 * gdb.arch/powerpc-power9.s: Likewise.
12426 * gdb.arch/powerpc-vsx.exp: Likewise.
12427 * gdb.arch/powerpc-vsx.s: Likewise.
12428 * gdb.arch/powerpc-vsx2.exp: Likewise.
12429 * gdb.arch/powerpc-vsx2.s: Likewise.
12430 * gdb.arch/powerpc-vsx3.exp: Likewise.
12431 * gdb.arch/powerpc-vsx3.s: Likewise.
12432 * gdb.arch/arm-disassembler-options.exp: Likewise.
12433 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12434 * gdb.arch/s390-disassembler-options.exp: Likewise.
12435
17cd4947
LM
124362017-02-23 Luis Machado <lgustavo@codesourcery.com>
12437
12438 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12439 (check_supported_features): ... this. Changed return type to void.
12440 (supports_rdseed): New static global.
12441 (rdseed): Check supports_rdseed.
12442 (initialize): Call check_supported_features.
12443
2039d74e
EBM
124442017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12445
12446 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12447 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12448 and lqarx/stqcx.
12449 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12450 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12451
a51d7ecf
EBM
124522017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12453
12454 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12455 uppercase.
12456
0224619f
JK
124572017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12458
12459 * gdb.dwarf2/formdata16.c: New file.
12460 * gdb.dwarf2/formdata16.exp: New file.
12461 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12462
216f72a1
JK
124632017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12464
12465 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12466 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12467 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12468 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12469 DW_AT_GNU_*.
12470
43988095
JK
124712017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12472
12473 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12474
99e8a4f9
SDJ
124752017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12476
12477 PR gdb/21164
12478 * gdb.base/maint.exp: Add testcases for when the commands do
12479 not have arguments.
12480
b58a8c0c
TP
124812017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12482
12483 * gdb.cp/chained-calls.exp: Use p instead of P.
12484
4e746bb6
TW
124852017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12486
12487 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12488 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12489
3f77c769
TT
124902017-02-14 Tom Tromey <tom@tromey.com>
12491
12492 PR python/13598:
12493 * gdb.python/py-events.exp: Add before_prompt event tests.
12494
075beec0
AA
124952017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12496
12497 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12498
bf5f525c
LM
124992017-02-13 Luis Machado <lgustavo@codesourcery.com>
12500
12501 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12502 (main): Call my_unique_function_name.
12503 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12504 completion of patterns with a single match.
12505 Add missing -re switches to gdb_test_multiple calls.
12506
13a66184
LM
125072017-02-13 Luis Machado <lgustavo@codesourcery.com>
12508
12509 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12510 return if core file is not recognized.
12511
26a06916
SM
125122017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12513
12514 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12515 and extra UIs.
12516
b761ca9e
SM
125172017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12518
12519 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12520 proc_with_prefix.
12521
b964bee0
TT
125222017-02-10 Tom Tromey <tom@tromey.com>
12523
12524 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12525
18da0c51
MG
125262017-02-10 Martin Galvan <martingalvan@sourceware.org>
12527
12528 PR gdb/21122
12529 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12530
604c4576
JG
125312017-02-08 Jerome Guitton <guitton@adacore.com>
12532
12533 * gdb.base/define.exp: Add test for command abbreviations
12534 in define.
12535
20b477a7
LM
125362017-02-06 Luis Machado <lgustavo@codesourcery.com>
12537
12538 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12539 * gdb.reverse/insn-reverse-x86.c: New file.
12540
3f7b46f2
IR
125412017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12542
12543 PR tdep/20936
12544 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12545
f0fd41c1
TT
125462017-02-03 Tom Tromey <tom@tromey.com>
12547
12548 PR rust/21097:
12549 * gdb.rust/simple.exp: Add new tests.
12550
5be5dbf0
PA
125512017-02-02 Pedro Alves <palves@redhat.com>
12552
12553 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12554 tests.
12555
7346ef59
AA
125562017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12557
12558 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12559 taking a 2-byte value out of a 4-byte DWARF implicit value on
12560 big-endian targets.
12561 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12562 logic. Add test cases for DW_OP_implicit.
12563
787f0025
MM
125642017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12565
12566 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12567
68777c29
MM
125682017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12569
12570 * gdb.btrace/enable.exp: Call gdb_exit before
12571 skip_gdbserver_tests.
12572
0a1c7e28
MM
125732017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12574
12575 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12576 GDBFLAGS.
12577
b5ac99b0
MM
125782017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12579
12580 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12581 the test is skipped.
12582 * gdb.btrace/data.exp: Likewise.
12583 * gdb.btrace/delta.exp: Likewise.
12584 * gdb.btrace/dlopen.exp: Likewise.
12585 * gdb.btrace/enable-running.exp: Likewise.
12586 * gdb.btrace/enable.exp: Likewise.
12587 * gdb.btrace/exception.exp: Likewise.
12588 * gdb.btrace/function_call_history.exp: Likewise.
12589 * gdb.btrace/gcore.exp: Likewise.
12590 * gdb.btrace/instruction_history.exp: Likewise.
12591 * gdb.btrace/multi-thread-step.exp: Likewise.
12592 * gdb.btrace/nohist.exp: Likewise.
12593 * gdb.btrace/non-stop.exp: Likewise.
12594 * gdb.btrace/reconnect.exp: Likewise.
12595 * gdb.btrace/record_goto-step.exp: Likewise.
12596 * gdb.btrace/record_goto.exp: Likewise.
12597 * gdb.btrace/rn-dl-bind.exp: Likewise.
12598 * gdb.btrace/segv.exp: Likewise.
12599 * gdb.btrace/step.exp: Likewise.
12600 * gdb.btrace/stepi.exp: Likewise.
12601 * gdb.btrace/tailcall-only.exp: Likewise.
12602 * gdb.btrace/tailcall.exp: Likewise.
12603 * gdb.btrace/tsx.exp: Likewise.
12604 * gdb.btrace/unknown_functions.exp: Likewise.
12605 * gdb.btrace/vdso.exp: Likewise.
12606
cd4007e4
MM
126072017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12608
12609 * gdb.btrace/enable-running.c: New.
12610 * gdb.btrace/enable-running.exp: New.
12611
2735833d
WT
126122017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12613
12614 * gdb.arch/amd64-gs_base.c: New file.
12615 * gdb.arch/amd64-gs_base.exp: New file.
12616
b51e1e94
LM
126172017-01-26 Luis Machado <lgustavo@codesourcery.com>
12618
12619 * lib/memory.exp: Remove spurious empty newlines.
12620
72ca0410
SM
126212017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12622
12623 * gdb.python/py-bad-printers.exp: Load python file using "source".
12624 * gdb.python/py-events.exp: Likewise.
12625 * gdb.python/py-evsignal.exp: Likewise.
12626 * gdb.python/py-evthreads.exp: Likewise.
12627 * gdb.python/py-frame-args.exp: Likewise.
12628 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12629 * gdb.python/py-framefilter-mi.exp: Likewise.
12630 * gdb.python/py-framefilter.exp: Likewise.
12631 * gdb.python/py-mi.exp: Likewise.
12632 * gdb.python/py-pp-maint.exp: Likewise.
12633 * gdb.python/py-pp-registration.exp: Likewise.
12634 * gdb.python/py-prettyprint.exp: Likewise.
12635 (run_lang_tests): Likewise.
12636 * gdb.python/py-typeprint.exp: Likewise.
12637
e309aa65
LM
126382017-01-26 Luis Machado <lgustavo@codesourcery.com>
12639
12640 * lib/memory.exp: New file.
12641 * lib/gdb.exp: Load memory.exp.
12642 * gdb.base/memattr.exp (delete_memory): Move proc to
12643 lib/memory.exp and rename to delete_memory_regions.
12644 Replace delete_memory with delete_memory_regions.
12645 Cleanup memory regions before tests.
12646 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12647 before tests.
12648
515aff23
LM
126492017-01-26 Luis Machado <lgustavo@codesourcery.com>
12650
12651 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12652 files.
12653 (initialize): New function conditionally defined.
12654 (testcases): Move within conditional block.
12655 (main): Call initialize.
12656 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12657 of gdb.reverse/insn-reverse.c.
12658 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12659 gdb.reverse/insn-reverse.c.
12660
d8b49cf0
YQ
126612017-01-26 Yao Qi <yao.qi@linaro.org>
12662
12663 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12664 disassemble on address 0.
12665
f13a9a0c
YQ
126662017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12667 Yao Qi <yao.qi@linaro.org>
12668
12669 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12670 * gdb.dwarf2/implptr-64bit.S: Remove.
12671 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12672 variables in caller's context. Add DW_OP_implicit_value.
12673
5ac95241
YQ
126742017-01-25 Yao Qi <yao.qi@linaro.org>
12675
12676 * lib/dwarf.exp (Dwarf::_location): Handle
12677 DW_OP_GNU_implicit_pointer with proper size.
12678
23e82930
LM
126792017-01-20 Luis Machado <lgustavo@codesourcery.com>
12680
12681 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12682 and add untested calls.
12683
d334ae25
LM
126842017-01-20 Luis Machado <lgustavo@codesourcery.com>
12685
12686 * gdb.python/python.exp: Check line number against what GDB thinks
12687 the line number is for func1.
12688
f5e6296e
IB
126892017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12690
12691 * gdb.dlang/debug-expr.exp: New file.
12692
5b362f04
LM
126932016-12-23 Luis Machado <lgustavo@codesourcery.com>
12694
12695 Fix test names for the following files:
12696
12697 * gdb.ada/exec_changed.exp
12698 * gdb.ada/info_types.exp
12699 * gdb.arch/aarch64-atomic-inst.exp
12700 * gdb.arch/aarch64-fp.exp
12701 * gdb.arch/altivec-abi.exp
12702 * gdb.arch/altivec-regs.exp
12703 * gdb.arch/amd64-byte.exp
12704 * gdb.arch/amd64-disp-step.exp
12705 * gdb.arch/amd64-dword.exp
12706 * gdb.arch/amd64-entry-value-inline.exp
12707 * gdb.arch/amd64-entry-value-param.exp
12708 * gdb.arch/amd64-entry-value-paramref.exp
12709 * gdb.arch/amd64-entry-value.exp
12710 * gdb.arch/amd64-i386-address.exp
12711 * gdb.arch/amd64-invalid-stack-middle.exp
12712 * gdb.arch/amd64-invalid-stack-top.exp
12713 * gdb.arch/amd64-optimout-repeat.exp
12714 * gdb.arch/amd64-prologue-skip.exp
12715 * gdb.arch/amd64-prologue-xmm.exp
12716 * gdb.arch/amd64-stap-special-operands.exp
12717 * gdb.arch/amd64-stap-wrong-subexp.exp
12718 * gdb.arch/amd64-tailcall-cxx.exp
12719 * gdb.arch/amd64-tailcall-noret.exp
12720 * gdb.arch/amd64-tailcall-ret.exp
12721 * gdb.arch/amd64-tailcall-self.exp
12722 * gdb.arch/amd64-word.exp
12723 * gdb.arch/arm-bl-branch-dest.exp
12724 * gdb.arch/arm-disp-step.exp
12725 * gdb.arch/arm-neon.exp
12726 * gdb.arch/arm-single-step-kernel-helper.exp
12727 * gdb.arch/avr-flash-qualifier.exp
12728 * gdb.arch/disp-step-insn-reloc.exp
12729 * gdb.arch/e500-abi.exp
12730 * gdb.arch/e500-regs.exp
12731 * gdb.arch/ftrace-insn-reloc.exp
12732 * gdb.arch/i386-avx512.exp
12733 * gdb.arch/i386-bp_permanent.exp
12734 * gdb.arch/i386-byte.exp
12735 * gdb.arch/i386-cfi-notcurrent.exp
12736 * gdb.arch/i386-disp-step.exp
12737 * gdb.arch/i386-dr3-watch.exp
12738 * gdb.arch/i386-float.exp
12739 * gdb.arch/i386-gnu-cfi.exp
12740 * gdb.arch/i386-mpx-map.exp
12741 * gdb.arch/i386-mpx-sigsegv.exp
12742 * gdb.arch/i386-mpx-simple_segv.exp
12743 * gdb.arch/i386-mpx.exp
12744 * gdb.arch/i386-permbkpt.exp
12745 * gdb.arch/i386-prologue.exp
12746 * gdb.arch/i386-signal.exp
12747 * gdb.arch/i386-size-overlap.exp
12748 * gdb.arch/i386-unwind.exp
12749 * gdb.arch/i386-word.exp
12750 * gdb.arch/mips-fcr.exp
12751 * gdb.arch/powerpc-d128-regs.exp
12752 * gdb.arch/powerpc-stackless.exp
12753 * gdb.arch/ppc64-atomic-inst.exp
12754 * gdb.arch/s390-stackless.exp
12755 * gdb.arch/s390-tdbregs.exp
12756 * gdb.arch/s390-vregs.exp
12757 * gdb.arch/sparc-sysstep.exp
12758 * gdb.arch/thumb-bx-pc.exp
12759 * gdb.arch/thumb-singlestep.exp
12760 * gdb.arch/thumb2-it.exp
12761 * gdb.arch/vsx-regs.exp
12762 * gdb.asm/asm-source.exp
12763 * gdb.base/a2-run.exp
12764 * gdb.base/advance.exp
12765 * gdb.base/all-bin.exp
12766 * gdb.base/anon.exp
12767 * gdb.base/args.exp
12768 * gdb.base/arithmet.exp
12769 * gdb.base/async-shell.exp
12770 * gdb.base/async.exp
12771 * gdb.base/attach-pie-noexec.exp
12772 * gdb.base/attach-twice.exp
12773 * gdb.base/auto-load.exp
12774 * gdb.base/bang.exp
12775 * gdb.base/bitfields.exp
12776 * gdb.base/break-always.exp
12777 * gdb.base/break-caller-line.exp
12778 * gdb.base/break-entry.exp
12779 * gdb.base/break-inline.exp
12780 * gdb.base/break-on-linker-gcd-function.exp
12781 * gdb.base/break-probes.exp
12782 * gdb.base/break.exp
12783 * gdb.base/breakpoint-shadow.exp
12784 * gdb.base/call-ar-st.exp
12785 * gdb.base/call-sc.exp
12786 * gdb.base/call-signal-resume.exp
12787 * gdb.base/call-strs.exp
12788 * gdb.base/callfuncs.exp
12789 * gdb.base/catch-fork-static.exp
12790 * gdb.base/catch-gdb-caused-signals.exp
12791 * gdb.base/catch-load.exp
12792 * gdb.base/catch-signal-fork.exp
12793 * gdb.base/catch-signal.exp
12794 * gdb.base/catch-syscall.exp
12795 * gdb.base/charset.exp
12796 * gdb.base/checkpoint.exp
12797 * gdb.base/chng-syms.exp
12798 * gdb.base/code-expr.exp
12799 * gdb.base/code_elim.exp
12800 * gdb.base/commands.exp
12801 * gdb.base/completion.exp
12802 * gdb.base/complex.exp
12803 * gdb.base/cond-expr.exp
12804 * gdb.base/condbreak.exp
12805 * gdb.base/consecutive.exp
12806 * gdb.base/continue-all-already-running.exp
12807 * gdb.base/coredump-filter.exp
12808 * gdb.base/corefile.exp
12809 * gdb.base/dbx.exp
12810 * gdb.base/debug-expr.exp
12811 * gdb.base/define.exp
12812 * gdb.base/del.exp
12813 * gdb.base/disabled-location.exp
12814 * gdb.base/disasm-end-cu.exp
12815 * gdb.base/disasm-optim.exp
12816 * gdb.base/display.exp
12817 * gdb.base/duplicate-bp.exp
12818 * gdb.base/ena-dis-br.exp
12819 * gdb.base/ending-run.exp
12820 * gdb.base/enumval.exp
12821 * gdb.base/environ.exp
12822 * gdb.base/eu-strip-infcall.exp
12823 * gdb.base/eval-avoid-side-effects.exp
12824 * gdb.base/eval-skip.exp
12825 * gdb.base/exitsignal.exp
12826 * gdb.base/expand-psymtabs.exp
12827 * gdb.base/filesym.exp
12828 * gdb.base/find-unmapped.exp
12829 * gdb.base/finish.exp
12830 * gdb.base/float.exp
12831 * gdb.base/foll-exec-mode.exp
12832 * gdb.base/foll-exec.exp
12833 * gdb.base/foll-fork.exp
12834 * gdb.base/fortran-sym-case.exp
12835 * gdb.base/freebpcmd.exp
12836 * gdb.base/func-ptr.exp
12837 * gdb.base/func-ptrs.exp
12838 * gdb.base/funcargs.exp
12839 * gdb.base/gcore-buffer-overflow.exp
12840 * gdb.base/gcore-relro-pie.exp
12841 * gdb.base/gcore-relro.exp
12842 * gdb.base/gcore.exp
12843 * gdb.base/gdb1090.exp
12844 * gdb.base/gdb11530.exp
12845 * gdb.base/gdb11531.exp
12846 * gdb.base/gdb1821.exp
12847 * gdb.base/gdbindex-stabs.exp
12848 * gdb.base/gdbvars.exp
12849 * gdb.base/hbreak.exp
12850 * gdb.base/hbreak2.exp
12851 * gdb.base/included.exp
12852 * gdb.base/infcall-input.exp
12853 * gdb.base/inferior-died.exp
12854 * gdb.base/infnan.exp
12855 * gdb.base/info-macros.exp
12856 * gdb.base/info-os.exp
12857 * gdb.base/info-proc.exp
12858 * gdb.base/info-shared.exp
12859 * gdb.base/info-target.exp
12860 * gdb.base/infoline.exp
12861 * gdb.base/interp.exp
12862 * gdb.base/interrupt.exp
12863 * gdb.base/jit-reader.exp
12864 * gdb.base/jit-simple.exp
12865 * gdb.base/kill-after-signal.exp
12866 * gdb.base/kill-detach-inferiors-cmd.exp
12867 * gdb.base/label.exp
12868 * gdb.base/langs.exp
12869 * gdb.base/ldbl_e308.exp
12870 * gdb.base/line-symtabs.exp
12871 * gdb.base/linespecs.exp
12872 * gdb.base/list.exp
12873 * gdb.base/long_long.exp
12874 * gdb.base/longest-types.exp
12875 * gdb.base/maint.exp
12876 * gdb.base/max-value-size.exp
12877 * gdb.base/memattr.exp
12878 * gdb.base/mips_pro.exp
12879 * gdb.base/morestack.exp
12880 * gdb.base/moribund-step.exp
12881 * gdb.base/multi-forks.exp
12882 * gdb.base/nested-addr.exp
12883 * gdb.base/nextoverexit.exp
12884 * gdb.base/noreturn-finish.exp
12885 * gdb.base/noreturn-return.exp
12886 * gdb.base/nostdlib.exp
12887 * gdb.base/offsets.exp
12888 * gdb.base/opaque.exp
12889 * gdb.base/pc-fp.exp
12890 * gdb.base/permissions.exp
12891 * gdb.base/print-symbol-loading.exp
12892 * gdb.base/prologue-include.exp
12893 * gdb.base/psymtab.exp
12894 * gdb.base/ptype.exp
12895 * gdb.base/random-signal.exp
12896 * gdb.base/randomize.exp
12897 * gdb.base/range-stepping.exp
12898 * gdb.base/readline-ask.exp
12899 * gdb.base/recpar.exp
12900 * gdb.base/recurse.exp
12901 * gdb.base/relational.exp
12902 * gdb.base/restore.exp
12903 * gdb.base/return-nodebug.exp
12904 * gdb.base/return.exp
12905 * gdb.base/run-after-attach.exp
12906 * gdb.base/save-bp.exp
12907 * gdb.base/scope.exp
12908 * gdb.base/sect-cmd.exp
12909 * gdb.base/set-lang-auto.exp
12910 * gdb.base/set-noassign.exp
12911 * gdb.base/setvar.exp
12912 * gdb.base/sigall.exp
12913 * gdb.base/sigbpt.exp
12914 * gdb.base/siginfo-addr.exp
12915 * gdb.base/siginfo-infcall.exp
12916 * gdb.base/siginfo-obj.exp
12917 * gdb.base/siginfo.exp
12918 * gdb.base/signals-state-child.exp
12919 * gdb.base/signest.exp
12920 * gdb.base/sigstep.exp
12921 * gdb.base/sizeof.exp
12922 * gdb.base/skip.exp
12923 * gdb.base/solib-corrupted.exp
12924 * gdb.base/solib-nodir.exp
12925 * gdb.base/solib-search.exp
12926 * gdb.base/stack-checking.exp
12927 * gdb.base/stale-infcall.exp
12928 * gdb.base/stap-probe.exp
12929 * gdb.base/start.exp
12930 * gdb.base/step-break.exp
12931 * gdb.base/step-bt.exp
12932 * gdb.base/step-line.exp
12933 * gdb.base/step-over-exit.exp
12934 * gdb.base/step-over-syscall.exp
12935 * gdb.base/step-resume-infcall.exp
12936 * gdb.base/step-test.exp
12937 * gdb.base/store.exp
12938 * gdb.base/structs3.exp
12939 * gdb.base/sym-file.exp
12940 * gdb.base/symbol-without-target_section.exp
12941 * gdb.base/term.exp
12942 * gdb.base/testenv.exp
12943 * gdb.base/ui-redirect.exp
12944 * gdb.base/until.exp
12945 * gdb.base/unwindonsignal.exp
12946 * gdb.base/value-double-free.exp
12947 * gdb.base/vla-datatypes.exp
12948 * gdb.base/vla-ptr.exp
12949 * gdb.base/vla-sideeffect.exp
12950 * gdb.base/volatile.exp
12951 * gdb.base/watch-cond-infcall.exp
12952 * gdb.base/watch-cond.exp
12953 * gdb.base/watch-non-mem.exp
12954 * gdb.base/watch-read.exp
12955 * gdb.base/watch-vfork.exp
12956 * gdb.base/watchpoint-cond-gone.exp
12957 * gdb.base/watchpoint-delete.exp
12958 * gdb.base/watchpoint-hw-hit-once.exp
12959 * gdb.base/watchpoint-hw.exp
12960 * gdb.base/watchpoint-stops-at-right-insn.exp
12961 * gdb.base/watchpoints.exp
12962 * gdb.base/wchar.exp
12963 * gdb.base/whatis-exp.exp
12964 * gdb.btrace/buffer-size.exp
12965 * gdb.btrace/data.exp
12966 * gdb.btrace/delta.exp
12967 * gdb.btrace/dlopen.exp
12968 * gdb.btrace/enable.exp
12969 * gdb.btrace/exception.exp
12970 * gdb.btrace/function_call_history.exp
12971 * gdb.btrace/gcore.exp
12972 * gdb.btrace/instruction_history.exp
12973 * gdb.btrace/nohist.exp
12974 * gdb.btrace/reconnect.exp
12975 * gdb.btrace/record_goto-step.exp
12976 * gdb.btrace/record_goto.exp
12977 * gdb.btrace/rn-dl-bind.exp
12978 * gdb.btrace/segv.exp
12979 * gdb.btrace/step.exp
12980 * gdb.btrace/stepi.exp
12981 * gdb.btrace/tailcall-only.exp
12982 * gdb.btrace/tailcall.exp
12983 * gdb.btrace/tsx.exp
12984 * gdb.btrace/unknown_functions.exp
12985 * gdb.btrace/vdso.exp
12986 * gdb.compile/compile-ifunc.exp
12987 * gdb.compile/compile-ops.exp
12988 * gdb.compile/compile-print.exp
12989 * gdb.compile/compile-setjmp.exp
12990 * gdb.cp/abstract-origin.exp
12991 * gdb.cp/ambiguous.exp
12992 * gdb.cp/annota2.exp
12993 * gdb.cp/annota3.exp
12994 * gdb.cp/anon-ns.exp
12995 * gdb.cp/anon-struct.exp
12996 * gdb.cp/anon-union.exp
12997 * gdb.cp/arg-reference.exp
12998 * gdb.cp/baseenum.exp
12999 * gdb.cp/bool.exp
13000 * gdb.cp/breakpoint.exp
13001 * gdb.cp/bs15503.exp
13002 * gdb.cp/call-c.exp
13003 * gdb.cp/casts.exp
13004 * gdb.cp/chained-calls.exp
13005 * gdb.cp/class2.exp
13006 * gdb.cp/classes.exp
13007 * gdb.cp/cmpd-minsyms.exp
13008 * gdb.cp/converts.exp
13009 * gdb.cp/cp-relocate.exp
13010 * gdb.cp/cpcompletion.exp
13011 * gdb.cp/cpexprs.exp
13012 * gdb.cp/cplabel.exp
13013 * gdb.cp/cplusfuncs.exp
13014 * gdb.cp/cpsizeof.exp
13015 * gdb.cp/ctti.exp
13016 * gdb.cp/derivation.exp
13017 * gdb.cp/destrprint.exp
13018 * gdb.cp/dispcxx.exp
13019 * gdb.cp/enum-class.exp
13020 * gdb.cp/exception.exp
13021 * gdb.cp/exceptprint.exp
13022 * gdb.cp/expand-psymtabs-cxx.exp
13023 * gdb.cp/expand-sals.exp
13024 * gdb.cp/extern-c.exp
13025 * gdb.cp/filename.exp
13026 * gdb.cp/formatted-ref.exp
13027 * gdb.cp/fpointer.exp
13028 * gdb.cp/gdb1355.exp
13029 * gdb.cp/gdb2495.exp
13030 * gdb.cp/hang.exp
13031 * gdb.cp/impl-this.exp
13032 * gdb.cp/infcall-dlopen.exp
13033 * gdb.cp/inherit.exp
13034 * gdb.cp/iostream.exp
13035 * gdb.cp/koenig.exp
13036 * gdb.cp/local.exp
13037 * gdb.cp/m-data.exp
13038 * gdb.cp/m-static.exp
13039 * gdb.cp/mb-ctor.exp
13040 * gdb.cp/mb-inline.exp
13041 * gdb.cp/mb-templates.exp
13042 * gdb.cp/member-name.exp
13043 * gdb.cp/member-ptr.exp
13044 * gdb.cp/meth-typedefs.exp
13045 * gdb.cp/method.exp
13046 * gdb.cp/method2.exp
13047 * gdb.cp/minsym-fallback.exp
13048 * gdb.cp/misc.exp
13049 * gdb.cp/namelessclass.exp
13050 * gdb.cp/namespace-enum.exp
13051 * gdb.cp/namespace-nested-import.exp
13052 * gdb.cp/namespace.exp
13053 * gdb.cp/nextoverthrow.exp
13054 * gdb.cp/no-dmgl-verbose.exp
13055 * gdb.cp/non-trivial-retval.exp
13056 * gdb.cp/noparam.exp
13057 * gdb.cp/nsdecl.exp
13058 * gdb.cp/nsimport.exp
13059 * gdb.cp/nsnested.exp
13060 * gdb.cp/nsnoimports.exp
13061 * gdb.cp/nsrecurs.exp
13062 * gdb.cp/nsstress.exp
13063 * gdb.cp/nsusing.exp
13064 * gdb.cp/operator.exp
13065 * gdb.cp/oranking.exp
13066 * gdb.cp/overload-const.exp
13067 * gdb.cp/overload.exp
13068 * gdb.cp/ovldbreak.exp
13069 * gdb.cp/ovsrch.exp
13070 * gdb.cp/paren-type.exp
13071 * gdb.cp/parse-lang.exp
13072 * gdb.cp/pass-by-ref.exp
13073 * gdb.cp/pr-1023.exp
13074 * gdb.cp/pr-1210.exp
13075 * gdb.cp/pr-574.exp
13076 * gdb.cp/pr10687.exp
13077 * gdb.cp/pr12028.exp
13078 * gdb.cp/pr17132.exp
13079 * gdb.cp/pr17494.exp
13080 * gdb.cp/pr9067.exp
13081 * gdb.cp/pr9167.exp
13082 * gdb.cp/pr9631.exp
13083 * gdb.cp/printmethod.exp
13084 * gdb.cp/psmang.exp
13085 * gdb.cp/psymtab-parameter.exp
13086 * gdb.cp/ptype-cv-cp.exp
13087 * gdb.cp/ptype-flags.exp
13088 * gdb.cp/re-set-overloaded.exp
13089 * gdb.cp/ref-types.exp
13090 * gdb.cp/rtti.exp
13091 * gdb.cp/scope-err.exp
13092 * gdb.cp/shadow.exp
13093 * gdb.cp/smartp.exp
13094 * gdb.cp/static-method.exp
13095 * gdb.cp/static-print-quit.exp
13096 * gdb.cp/temargs.exp
13097 * gdb.cp/templates.exp
13098 * gdb.cp/try_catch.exp
13099 * gdb.cp/typedef-operator.exp
13100 * gdb.cp/typeid.exp
13101 * gdb.cp/userdef.exp
13102 * gdb.cp/using-crash.exp
13103 * gdb.cp/var-tag.exp
13104 * gdb.cp/virtbase.exp
13105 * gdb.cp/virtfunc.exp
13106 * gdb.cp/virtfunc2.exp
13107 * gdb.cp/vla-cxx.exp
13108 * gdb.disasm/t01_mov.exp
13109 * gdb.disasm/t02_mova.exp
13110 * gdb.disasm/t03_add.exp
13111 * gdb.disasm/t04_sub.exp
13112 * gdb.disasm/t05_cmp.exp
13113 * gdb.disasm/t06_ari2.exp
13114 * gdb.disasm/t07_ari3.exp
13115 * gdb.disasm/t08_or.exp
13116 * gdb.disasm/t09_xor.exp
13117 * gdb.disasm/t10_and.exp
13118 * gdb.disasm/t11_logs.exp
13119 * gdb.disasm/t12_bit.exp
13120 * gdb.disasm/t13_otr.exp
13121 * gdb.dlang/circular.exp
13122 * gdb.dwarf2/arr-stride.exp
13123 * gdb.dwarf2/arr-subrange.exp
13124 * gdb.dwarf2/atomic-type.exp
13125 * gdb.dwarf2/bad-regnum.exp
13126 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13127 * gdb.dwarf2/callframecfa.exp
13128 * gdb.dwarf2/clztest.exp
13129 * gdb.dwarf2/corrupt.exp
13130 * gdb.dwarf2/data-loc.exp
13131 * gdb.dwarf2/dup-psym.exp
13132 * gdb.dwarf2/dw2-anon-mptr.exp
13133 * gdb.dwarf2/dw2-anonymous-func.exp
13134 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13135 * gdb.dwarf2/dw2-bad-unresolved.exp
13136 * gdb.dwarf2/dw2-basic.exp
13137 * gdb.dwarf2/dw2-canonicalize-type.exp
13138 * gdb.dwarf2/dw2-case-insensitive.exp
13139 * gdb.dwarf2/dw2-common-block.exp
13140 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13141 * gdb.dwarf2/dw2-compressed.exp
13142 * gdb.dwarf2/dw2-const.exp
13143 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13144 * gdb.dwarf2/dw2-cu-size.exp
13145 * gdb.dwarf2/dw2-dup-frame.exp
13146 * gdb.dwarf2/dw2-entry-value.exp
13147 * gdb.dwarf2/dw2-icycle.exp
13148 * gdb.dwarf2/dw2-ifort-parameter.exp
13149 * gdb.dwarf2/dw2-inline-break.exp
13150 * gdb.dwarf2/dw2-inline-param.exp
13151 * gdb.dwarf2/dw2-intercu.exp
13152 * gdb.dwarf2/dw2-intermix.exp
13153 * gdb.dwarf2/dw2-lexical-block-bare.exp
13154 * gdb.dwarf2/dw2-linkage-name-trust.exp
13155 * gdb.dwarf2/dw2-minsym-in-cu.exp
13156 * gdb.dwarf2/dw2-noloc.exp
13157 * gdb.dwarf2/dw2-op-call.exp
13158 * gdb.dwarf2/dw2-op-out-param.exp
13159 * gdb.dwarf2/dw2-opt-structptr.exp
13160 * gdb.dwarf2/dw2-param-error.exp
13161 * gdb.dwarf2/dw2-producer.exp
13162 * gdb.dwarf2/dw2-ranges-base.exp
13163 * gdb.dwarf2/dw2-ref-missing-frame.exp
13164 * gdb.dwarf2/dw2-reg-undefined.exp
13165 * gdb.dwarf2/dw2-regno-invalid.exp
13166 * gdb.dwarf2/dw2-restore.exp
13167 * gdb.dwarf2/dw2-restrict.exp
13168 * gdb.dwarf2/dw2-single-line-discriminators.exp
13169 * gdb.dwarf2/dw2-strp.exp
13170 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13171 * gdb.dwarf2/dw2-unresolved.exp
13172 * gdb.dwarf2/dw2-var-zero-addr.exp
13173 * gdb.dwarf2/dw4-sig-types.exp
13174 * gdb.dwarf2/dwz.exp
13175 * gdb.dwarf2/dynarr-ptr.exp
13176 * gdb.dwarf2/enum-type.exp
13177 * gdb.dwarf2/gdb-index.exp
13178 * gdb.dwarf2/implptr-64bit.exp
13179 * gdb.dwarf2/implptr-optimized-out.exp
13180 * gdb.dwarf2/implptr.exp
13181 * gdb.dwarf2/implref-array.exp
13182 * gdb.dwarf2/implref-const.exp
13183 * gdb.dwarf2/implref-global.exp
13184 * gdb.dwarf2/implref-struct.exp
13185 * gdb.dwarf2/mac-fileno.exp
13186 * gdb.dwarf2/main-subprogram.exp
13187 * gdb.dwarf2/member-ptr-forwardref.exp
13188 * gdb.dwarf2/method-ptr.exp
13189 * gdb.dwarf2/missing-sig-type.exp
13190 * gdb.dwarf2/nonvar-access.exp
13191 * gdb.dwarf2/opaque-type-lookup.exp
13192 * gdb.dwarf2/pieces-optimized-out.exp
13193 * gdb.dwarf2/pieces.exp
13194 * gdb.dwarf2/pr10770.exp
13195 * gdb.dwarf2/pr13961.exp
13196 * gdb.dwarf2/staticvirtual.exp
13197 * gdb.dwarf2/subrange.exp
13198 * gdb.dwarf2/symtab-producer.exp
13199 * gdb.dwarf2/trace-crash.exp
13200 * gdb.dwarf2/typeddwarf.exp
13201 * gdb.dwarf2/valop.exp
13202 * gdb.dwarf2/watch-notconst.exp
13203 * gdb.fortran/array-element.exp
13204 * gdb.fortran/charset.exp
13205 * gdb.fortran/common-block.exp
13206 * gdb.fortran/complex.exp
13207 * gdb.fortran/derived-type-function.exp
13208 * gdb.fortran/derived-type.exp
13209 * gdb.fortran/logical.exp
13210 * gdb.fortran/module.exp
13211 * gdb.fortran/multi-dim.exp
13212 * gdb.fortran/nested-funcs.exp
13213 * gdb.fortran/print-formatted.exp
13214 * gdb.fortran/subarray.exp
13215 * gdb.fortran/vla-alloc-assoc.exp
13216 * gdb.fortran/vla-datatypes.exp
13217 * gdb.fortran/vla-history.exp
13218 * gdb.fortran/vla-ptr-info.exp
13219 * gdb.fortran/vla-ptype-sub.exp
13220 * gdb.fortran/vla-ptype.exp
13221 * gdb.fortran/vla-sizeof.exp
13222 * gdb.fortran/vla-type.exp
13223 * gdb.fortran/vla-value-sub-arbitrary.exp
13224 * gdb.fortran/vla-value-sub-finish.exp
13225 * gdb.fortran/vla-value-sub.exp
13226 * gdb.fortran/vla-value.exp
13227 * gdb.fortran/whatis_type.exp
13228 * gdb.go/chan.exp
13229 * gdb.go/handcall.exp
13230 * gdb.go/hello.exp
13231 * gdb.go/integers.exp
13232 * gdb.go/methods.exp
13233 * gdb.go/package.exp
13234 * gdb.go/strings.exp
13235 * gdb.go/types.exp
13236 * gdb.go/unsafe.exp
13237 * gdb.guile/scm-arch.exp
13238 * gdb.guile/scm-block.exp
13239 * gdb.guile/scm-breakpoint.exp
13240 * gdb.guile/scm-cmd.exp
13241 * gdb.guile/scm-disasm.exp
13242 * gdb.guile/scm-equal.exp
13243 * gdb.guile/scm-frame-args.exp
13244 * gdb.guile/scm-frame-inline.exp
13245 * gdb.guile/scm-frame.exp
13246 * gdb.guile/scm-iterator.exp
13247 * gdb.guile/scm-math.exp
13248 * gdb.guile/scm-objfile.exp
13249 * gdb.guile/scm-ports.exp
13250 * gdb.guile/scm-symbol.exp
13251 * gdb.guile/scm-symtab.exp
13252 * gdb.guile/scm-value-cc.exp
13253 * gdb.guile/types-module.exp
13254 * gdb.linespec/break-ask.exp
13255 * gdb.linespec/cpexplicit.exp
13256 * gdb.linespec/explicit.exp
13257 * gdb.linespec/keywords.exp
13258 * gdb.linespec/linespec.exp
13259 * gdb.linespec/ls-dollar.exp
13260 * gdb.linespec/ls-errs.exp
13261 * gdb.linespec/skip-two.exp
13262 * gdb.linespec/thread.exp
13263 * gdb.mi/mi-async.exp
13264 * gdb.mi/mi-basics.exp
13265 * gdb.mi/mi-break.exp
13266 * gdb.mi/mi-catch-load.exp
13267 * gdb.mi/mi-cli.exp
13268 * gdb.mi/mi-cmd-param-changed.exp
13269 * gdb.mi/mi-console.exp
13270 * gdb.mi/mi-detach.exp
13271 * gdb.mi/mi-disassemble.exp
13272 * gdb.mi/mi-eval.exp
13273 * gdb.mi/mi-file-transfer.exp
13274 * gdb.mi/mi-file.exp
13275 * gdb.mi/mi-fill-memory.exp
13276 * gdb.mi/mi-inheritance-syntax-error.exp
13277 * gdb.mi/mi-linespec-err-cp.exp
13278 * gdb.mi/mi-logging.exp
13279 * gdb.mi/mi-memory-changed.exp
13280 * gdb.mi/mi-read-memory.exp
13281 * gdb.mi/mi-record-changed.exp
13282 * gdb.mi/mi-reg-undefined.exp
13283 * gdb.mi/mi-regs.exp
13284 * gdb.mi/mi-return.exp
13285 * gdb.mi/mi-reverse.exp
13286 * gdb.mi/mi-simplerun.exp
13287 * gdb.mi/mi-solib.exp
13288 * gdb.mi/mi-stack.exp
13289 * gdb.mi/mi-stepi.exp
13290 * gdb.mi/mi-syn-frame.exp
13291 * gdb.mi/mi-until.exp
13292 * gdb.mi/mi-var-block.exp
13293 * gdb.mi/mi-var-child.exp
13294 * gdb.mi/mi-var-cmd.exp
13295 * gdb.mi/mi-var-cp.exp
13296 * gdb.mi/mi-var-display.exp
13297 * gdb.mi/mi-var-invalidate.exp
13298 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13299 * gdb.mi/mi-vla-fortran.exp
13300 * gdb.mi/mi-watch.exp
13301 * gdb.mi/mi2-var-child.exp
13302 * gdb.mi/user-selected-context-sync.exp
13303 * gdb.modula2/unbounded-array.exp
13304 * gdb.multi/dummy-frame-restore.exp
13305 * gdb.multi/multi-arch-exec.exp
13306 * gdb.multi/multi-arch.exp
13307 * gdb.multi/tids.exp
13308 * gdb.multi/watchpoint-multi.exp
13309 * gdb.opencl/callfuncs.exp
13310 * gdb.opencl/convs_casts.exp
13311 * gdb.opencl/datatypes.exp
13312 * gdb.opencl/operators.exp
13313 * gdb.opencl/vec_comps.exp
13314 * gdb.opt/clobbered-registers-O2.exp
13315 * gdb.opt/inline-break.exp
13316 * gdb.opt/inline-bt.exp
13317 * gdb.opt/inline-cmds.exp
13318 * gdb.opt/inline-locals.exp
13319 * gdb.pascal/case-insensitive-symbols.exp
13320 * gdb.pascal/floats.exp
13321 * gdb.pascal/gdb11492.exp
13322 * gdb.python/lib-types.exp
13323 * gdb.python/py-arch.exp
13324 * gdb.python/py-as-string.exp
13325 * gdb.python/py-bad-printers.exp
13326 * gdb.python/py-block.exp
13327 * gdb.python/py-breakpoint-create-fail.exp
13328 * gdb.python/py-breakpoint.exp
13329 * gdb.python/py-caller-is.exp
13330 * gdb.python/py-cmd.exp
13331 * gdb.python/py-explore-cc.exp
13332 * gdb.python/py-explore.exp
13333 * gdb.python/py-finish-breakpoint.exp
13334 * gdb.python/py-finish-breakpoint2.exp
13335 * gdb.python/py-frame-args.exp
13336 * gdb.python/py-frame-inline.exp
13337 * gdb.python/py-frame.exp
13338 * gdb.python/py-framefilter-mi.exp
13339 * gdb.python/py-infthread.exp
13340 * gdb.python/py-lazy-string.exp
13341 * gdb.python/py-linetable.exp
13342 * gdb.python/py-mi-events.exp
13343 * gdb.python/py-mi-objfile.exp
13344 * gdb.python/py-mi.exp
13345 * gdb.python/py-objfile.exp
13346 * gdb.python/py-pp-integral.exp
13347 * gdb.python/py-pp-maint.exp
13348 * gdb.python/py-pp-re-notag.exp
13349 * gdb.python/py-pp-registration.exp
13350 * gdb.python/py-recurse-unwind.exp
13351 * gdb.python/py-strfns.exp
13352 * gdb.python/py-symbol.exp
13353 * gdb.python/py-symtab.exp
13354 * gdb.python/py-sync-interp.exp
13355 * gdb.python/py-typeprint.exp
13356 * gdb.python/py-unwind-maint.exp
13357 * gdb.python/py-unwind.exp
13358 * gdb.python/py-value-cc.exp
13359 * gdb.python/py-xmethods.exp
13360 * gdb.reverse/amd64-tailcall-reverse.exp
13361 * gdb.reverse/break-precsave.exp
13362 * gdb.reverse/break-reverse.exp
13363 * gdb.reverse/consecutive-precsave.exp
13364 * gdb.reverse/consecutive-reverse.exp
13365 * gdb.reverse/finish-precsave.exp
13366 * gdb.reverse/finish-reverse-bkpt.exp
13367 * gdb.reverse/finish-reverse.exp
13368 * gdb.reverse/fstatat-reverse.exp
13369 * gdb.reverse/getresuid-reverse.exp
13370 * gdb.reverse/i386-precsave.exp
13371 * gdb.reverse/i386-reverse.exp
13372 * gdb.reverse/i386-sse-reverse.exp
13373 * gdb.reverse/i387-env-reverse.exp
13374 * gdb.reverse/i387-stack-reverse.exp
13375 * gdb.reverse/insn-reverse.exp
13376 * gdb.reverse/machinestate-precsave.exp
13377 * gdb.reverse/machinestate.exp
13378 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13379 * gdb.reverse/pipe-reverse.exp
13380 * gdb.reverse/readv-reverse.exp
13381 * gdb.reverse/recvmsg-reverse.exp
13382 * gdb.reverse/rerun-prec.exp
13383 * gdb.reverse/s390-mvcle.exp
13384 * gdb.reverse/step-precsave.exp
13385 * gdb.reverse/step-reverse.exp
13386 * gdb.reverse/time-reverse.exp
13387 * gdb.reverse/until-precsave.exp
13388 * gdb.reverse/until-reverse.exp
13389 * gdb.reverse/waitpid-reverse.exp
13390 * gdb.reverse/watch-precsave.exp
13391 * gdb.reverse/watch-reverse.exp
13392 * gdb.rust/generics.exp
13393 * gdb.rust/methods.exp
13394 * gdb.rust/modules.exp
13395 * gdb.rust/simple.exp
13396 * gdb.server/connect-with-no-symbol-file.exp
13397 * gdb.server/ext-attach.exp
13398 * gdb.server/ext-restart.exp
13399 * gdb.server/ext-wrapper.exp
13400 * gdb.server/file-transfer.exp
13401 * gdb.server/server-exec-info.exp
13402 * gdb.server/server-kill.exp
13403 * gdb.server/server-mon.exp
13404 * gdb.server/wrapper.exp
13405 * gdb.stabs/exclfwd.exp
13406 * gdb.stabs/gdb11479.exp
13407 * gdb.threads/clone-new-thread-event.exp
13408 * gdb.threads/corethreads.exp
13409 * gdb.threads/current-lwp-dead.exp
13410 * gdb.threads/dlopen-libpthread.exp
13411 * gdb.threads/gcore-thread.exp
13412 * gdb.threads/sigstep-threads.exp
13413 * gdb.threads/watchpoint-fork.exp
13414 * gdb.trace/actions-changed.exp
13415 * gdb.trace/backtrace.exp
13416 * gdb.trace/change-loc.exp
13417 * gdb.trace/circ.exp
13418 * gdb.trace/collection.exp
13419 * gdb.trace/disconnected-tracing.exp
13420 * gdb.trace/ftrace.exp
13421 * gdb.trace/mi-trace-frame-collected.exp
13422 * gdb.trace/mi-trace-unavailable.exp
13423 * gdb.trace/mi-traceframe-changed.exp
13424 * gdb.trace/mi-tsv-changed.exp
13425 * gdb.trace/no-attach-trace.exp
13426 * gdb.trace/passc-dyn.exp
13427 * gdb.trace/qtro.exp
13428 * gdb.trace/range-stepping.exp
13429 * gdb.trace/read-memory.exp
13430 * gdb.trace/save-trace.exp
13431 * gdb.trace/signal.exp
13432 * gdb.trace/status-stop.exp
13433 * gdb.trace/tfile.exp
13434 * gdb.trace/trace-break.exp
13435 * gdb.trace/trace-buffer-size.exp
13436 * gdb.trace/trace-condition.exp
13437 * gdb.trace/tracefile-pseudo-reg.exp
13438 * gdb.trace/tstatus.exp
13439 * gdb.trace/unavailable.exp
13440 * gdb.trace/while-dyn.exp
13441 * gdb.trace/while-stepping.exp
13442
34c41c68
DE
134432016-12-22 Doug Evans <xdje42@gmail.com>
13444
13445 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13446 and msymbols.
13447
16e69324
YQ
134482016-12-19 Yao Qi <yao.qi@linaro.org>
13449
13450 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13451 (test_with_self): Don't call do_steps_and_nexts, and remove
13452 code about stepping into xmalloc.
13453
f94f411b
YQ
134542016-12-09 Yao Qi <yao.qi@linaro.org>
13455
13456 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13457
134582016-12-09 Yao Qi <yao.qi@linaro.org>
13459
13460 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13461
f1b5deee
PA
134622016-12-09 Pedro Alves <palves@redhat.com>
13463
13464 * gdb.base/all-architectures-0.exp: New file.
13465 * gdb.base/all-architectures-1.exp: New file.
13466 * gdb.base/all-architectures-2.exp: New file.
13467 * gdb.base/all-architectures-3.exp: New file.
13468 * gdb.base/all-architectures-4.exp: New file.
13469 * gdb.base/all-architectures-5.exp: New file.
13470 * gdb.base/all-architectures-6.exp: New file.
13471 * gdb.base/all-architectures-7.exp: New file.
13472 * gdb.base/all-architectures.exp.in: New file.
13473
364ca42e
YQ
134742016-12-09 Yao Qi <yao.qi@linaro.org>
13475
13476 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13477
107c2d62
LM
134782016-12-02 Luis Machado <lgustavo@codesourcery.com>
13479
13480 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13481 possible.
13482 Remove useless pattern-matching code.
13483
df3ee9ca
PA
134842016-12-02 Pedro Alves <palves@redhat.com>
13485
13486 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13487 procedure.
13488 (top level): Call it.
13489
ec835369
PA
134902016-12-02 Pedro Alves <palves@redhat.com>
13491
13492 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13493 New procedure.
13494 (top level): Call it.
13495
01770bbd
PA
134962016-12-02 Pedro Alves <palves@redhat.com>
13497
13498 PR cli/20559
13499 * gdb.base/commands.exp (user_defined_command_args_eval): New
13500 procedure.
13501 (top level): Call it.
13502
008459ea
LM
135032016-12-02 Luis Machado <lgustavo@codesourcery.com>
13504
13505 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13506 timeout handling.
13507
0c1b455e
TT
135082016-12-02 Tom Tromey <tom@tromey.com>
13509
13510 * gdb.dwarf2/main-subprogram.c: New file.
13511 * gdb.dwarf2/main-subprogram.exp: New file.
13512
018572b8
LM
135132016-12-01 Luis Machado <lgustavo@codesourcery.com>
13514
13515 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13516 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13517 gdb_test_no_output for a couple of cases.
13518 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13519
84c93cd5
LM
135202016-12-01 Luis Machado <lgustavo@codesourcery.com>
13521
13522 Fix test names and standardize compilation error messages throughout
13523 the following files:
13524
13525 * gdb.ada/start.exp
13526 * gdb.arch/alpha-step.exp
13527 * gdb.arch/e500-prologue.exp
13528 * gdb.arch/ftrace-insn-reloc.exp
13529 * gdb.arch/gdb1291.exp
13530 * gdb.arch/gdb1431.exp
13531 * gdb.arch/gdb1558.exp
13532 * gdb.arch/i386-dr3-watch.exp
13533 * gdb.arch/i386-sse-stack-align.exp
13534 * gdb.arch/ia64-breakpoint-shadow.exp
13535 * gdb.arch/pa-nullify.exp
13536 * gdb.arch/powerpc-aix-prologue.exp
13537 * gdb.arch/thumb-bx-pc.exp
13538 * gdb.base/annota1.exp
13539 * gdb.base/annota3.exp
13540 * gdb.base/arrayidx.exp
13541 * gdb.base/assign.exp
13542 * gdb.base/attach.exp
13543 * gdb.base/auxv.exp
13544 * gdb.base/bang.exp
13545 * gdb.base/bfp-test.exp
13546 * gdb.base/bigcore.exp
13547 * gdb.base/bitfields2.exp
13548 * gdb.base/break-fun-addr.exp
13549 * gdb.base/break-probes.exp
13550 * gdb.base/call-rt-st.exp
13551 * gdb.base/callexit.exp
13552 * gdb.base/catch-fork-kill.exp
13553 * gdb.base/charset.exp
13554 * gdb.base/checkpoint.exp
13555 * gdb.base/comprdebug.exp
13556 * gdb.base/constvars.exp
13557 * gdb.base/coredump-filter.exp
13558 * gdb.base/cursal.exp
13559 * gdb.base/cvexpr.exp
13560 * gdb.base/detach.exp
13561 * gdb.base/display.exp
13562 * gdb.base/dmsym.exp
13563 * gdb.base/dprintf-pending.exp
13564 * gdb.base/dso2dso.exp
13565 * gdb.base/dtrace-probe.exp
13566 * gdb.base/dump.exp
13567 * gdb.base/enum_cond.exp
13568 * gdb.base/exe-lock.exp
13569 * gdb.base/exec-invalid-sysroot.exp
13570 * gdb.base/execl-update-breakpoints.exp
13571 * gdb.base/exprs.exp
13572 * gdb.base/fileio.exp
13573 * gdb.base/find.exp
13574 * gdb.base/finish.exp
13575 * gdb.base/fixsection.exp
13576 * gdb.base/foll-vfork.exp
13577 * gdb.base/frame-args.exp
13578 * gdb.base/gcore.exp
13579 * gdb.base/gdb1250.exp
13580 * gdb.base/global-var-nested-by-dso.exp
13581 * gdb.base/gnu-ifunc.exp
13582 * gdb.base/hashline1.exp
13583 * gdb.base/hashline2.exp
13584 * gdb.base/hashline3.exp
13585 * gdb.base/hbreak-in-shr-unsupported.exp
13586 * gdb.base/huge.exp
13587 * gdb.base/infcall-input.exp
13588 * gdb.base/info-fun.exp
13589 * gdb.base/info-shared.exp
13590 * gdb.base/jit-simple.exp
13591 * gdb.base/jit-so.exp
13592 * gdb.base/jit.exp
13593 * gdb.base/jump.exp
13594 * gdb.base/label.exp
13595 * gdb.base/lineinc.exp
13596 * gdb.base/logical.exp
13597 * gdb.base/longjmp.exp
13598 * gdb.base/macscp.exp
13599 * gdb.base/miscexprs.exp
13600 * gdb.base/new-ui-echo.exp
13601 * gdb.base/new-ui-pending-input.exp
13602 * gdb.base/new-ui.exp
13603 * gdb.base/nodebug.exp
13604 * gdb.base/nofield.exp
13605 * gdb.base/offsets.exp
13606 * gdb.base/overlays.exp
13607 * gdb.base/pending.exp
13608 * gdb.base/pointers.exp
13609 * gdb.base/pr11022.exp
13610 * gdb.base/printcmds.exp
13611 * gdb.base/prologue.exp
13612 * gdb.base/ptr-typedef.exp
13613 * gdb.base/realname-expand.exp
13614 * gdb.base/relativedebug.exp
13615 * gdb.base/relocate.exp
13616 * gdb.base/remote.exp
13617 * gdb.base/reread.exp
13618 * gdb.base/return2.exp
13619 * gdb.base/savedregs.exp
13620 * gdb.base/sep.exp
13621 * gdb.base/sepdebug.exp
13622 * gdb.base/sepsymtab.exp
13623 * gdb.base/set-inferior-tty.exp
13624 * gdb.base/setshow.exp
13625 * gdb.base/shlib-call.exp
13626 * gdb.base/sigaltstack.exp
13627 * gdb.base/siginfo-addr.exp
13628 * gdb.base/signals.exp
13629 * gdb.base/signull.exp
13630 * gdb.base/sigrepeat.exp
13631 * gdb.base/so-impl-ld.exp
13632 * gdb.base/solib-display.exp
13633 * gdb.base/solib-overlap.exp
13634 * gdb.base/solib-search.exp
13635 * gdb.base/solib-symbol.exp
13636 * gdb.base/structs.exp
13637 * gdb.base/structs2.exp
13638 * gdb.base/symtab-search-order.exp
13639 * gdb.base/twice.exp
13640 * gdb.base/unload.exp
13641 * gdb.base/varargs.exp
13642 * gdb.base/watchpoint-solib.exp
13643 * gdb.base/watchpoint.exp
13644 * gdb.base/whatis.exp
13645 * gdb.base/wrong_frame_bt_full.exp
13646 * gdb.btrace/dlopen.exp
13647 * gdb.cell/ea-standalone.exp
13648 * gdb.cell/ea-test.exp
13649 * gdb.cp/dispcxx.exp
13650 * gdb.cp/gdb2384.exp
13651 * gdb.cp/method2.exp
13652 * gdb.cp/nextoverthrow.exp
13653 * gdb.cp/pr10728.exp
13654 * gdb.disasm/am33.exp
13655 * gdb.disasm/h8300s.exp
13656 * gdb.disasm/mn10300.exp
13657 * gdb.disasm/sh3.exp
13658 * gdb.dwarf2/dw2-dir-file-name.exp
13659 * gdb.fortran/complex.exp
13660 * gdb.fortran/library-module.exp
13661 * gdb.guile/scm-pretty-print.exp
13662 * gdb.guile/scm-symbol.exp
13663 * gdb.guile/scm-type.exp
13664 * gdb.guile/scm-value.exp
13665 * gdb.linespec/linespec.exp
13666 * gdb.mi/gdb701.exp
13667 * gdb.mi/gdb792.exp
13668 * gdb.mi/mi-breakpoint-changed.exp
13669 * gdb.mi/mi-dprintf-pending.exp
13670 * gdb.mi/mi-dprintf.exp
13671 * gdb.mi/mi-exit-code.exp
13672 * gdb.mi/mi-pending.exp
13673 * gdb.mi/mi-solib.exp
13674 * gdb.mi/new-ui-mi-sync.exp
13675 * gdb.mi/pr11022.exp
13676 * gdb.mi/user-selected-context-sync.exp
13677 * gdb.opt/solib-intra-step.exp
13678 * gdb.python/py-events.exp
13679 * gdb.python/py-finish-breakpoint.exp
13680 * gdb.python/py-mi.exp
13681 * gdb.python/py-prettyprint.exp
13682 * gdb.python/py-shared.exp
13683 * gdb.python/py-symbol.exp
13684 * gdb.python/py-template.exp
13685 * gdb.python/py-type.exp
13686 * gdb.python/py-value.exp
13687 * gdb.reverse/solib-precsave.exp
13688 * gdb.reverse/solib-reverse.exp
13689 * gdb.server/solib-list.exp
13690 * gdb.stabs/weird.exp
13691 * gdb.threads/reconnect-signal.exp
13692 * gdb.threads/stepi-random-signal.exp
13693 * gdb.trace/actions.exp
13694 * gdb.trace/ax.exp
13695 * gdb.trace/backtrace.exp
13696 * gdb.trace/change-loc.exp
13697 * gdb.trace/deltrace.exp
13698 * gdb.trace/ftrace-lock.exp
13699 * gdb.trace/ftrace.exp
13700 * gdb.trace/infotrace.exp
13701 * gdb.trace/mi-tracepoint-changed.exp
13702 * gdb.trace/packetlen.exp
13703 * gdb.trace/passcount.exp
13704 * gdb.trace/pending.exp
13705 * gdb.trace/range-stepping.exp
13706 * gdb.trace/report.exp
13707 * gdb.trace/stap-trace.exp
13708 * gdb.trace/tfind.exp
13709 * gdb.trace/trace-break.exp
13710 * gdb.trace/trace-condition.exp
13711 * gdb.trace/trace-enable-disable.exp
13712 * gdb.trace/trace-mt.exp
13713 * gdb.trace/tracecmd.exp
13714 * gdb.trace/tspeed.exp
13715 * gdb.trace/tsv.exp
13716 * lib/perftest.exp
13717
fb9feb35
LM
137182016-12-01 Luis Machado <lgustavo@codesourcery.com>
13719
13720 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13721 with gdb_test_no_output.
13722 Use command as test name.
13723
cd2ddb6c
LM
137242016-12-01 Luis Machado <lgustavo@codesourcery.com>
13725
13726 Fix test names starting with uppercase throughout the files.
13727
13728 * gdb.ada/assign_1.exp
13729 * gdb.ada/boolean_expr.exp
13730 * gdb.base/arrayidx.exp
13731 * gdb.base/del.exp
13732 * gdb.base/gcore-buffer-overflow.exp
13733 * gdb.base/testenv.exp
13734 * gdb.compile/compile.exp
13735 * gdb.python/py-framefilter-invalidarg.exp
13736 * gdb.python/py-framefilter.exp
13737
bb95117e
LM
137382016-12-01 Luis Machado <lgustavo@codesourcery.com>
13739
13740 Fix test names starting with uppercase throughout the files.
13741
13742 * gdb.ada/array_return.exp
13743 * gdb.ada/expr_delims.exp
13744 * gdb.ada/mi_dyn_arr.exp
13745 * gdb.ada/mi_interface.exp
13746 * gdb.ada/mi_var_array.exp
13747 * gdb.ada/watch_arg.exp
13748 * gdb.arch/alpha-step.exp
13749 * gdb.arch/altivec-regs.exp
13750 * gdb.arch/e500-regs.exp
13751 * gdb.arch/powerpc-d128-regs.exp
13752 * gdb.base/arrayidx.exp
13753 * gdb.base/break.exp
13754 * gdb.base/checkpoint.exp
13755 * gdb.base/debug-expr.exp
13756 * gdb.base/dmsym.exp
13757 * gdb.base/radix.exp
13758 * gdb.base/sepdebug.exp
13759 * gdb.base/testenv.exp
13760 * gdb.base/watch_thread_num.exp
13761 * gdb.base/watchpoint-cond-gone.exp
13762 * gdb.cell/break.exp
13763 * gdb.cell/ea-cache.exp
13764 * gdb.compile/compile.exp
13765 * gdb.cp/gdb2495.exp
13766 * gdb.gdb/selftest.exp
13767 * gdb.gdb/xfullpath.exp
13768 * gdb.go/hello.exp
13769 * gdb.go/integers.exp
13770 * gdb.objc/basicclass.exp
13771 * gdb.pascal/hello.exp
13772 * gdb.pascal/integers.exp
13773 * gdb.python/py-breakpoint.exp
13774 * gdb.python/py-cmd.exp
13775 * gdb.python/py-linetable.exp
13776 * gdb.python/py-xmethods.exp
13777 * gdb.python/python.exp
13778 * gdb.reverse/consecutive-precsave.exp
13779 * gdb.reverse/finish-precsave.exp
13780 * gdb.reverse/i386-precsave.exp
13781 * gdb.reverse/machinestate-precsave.exp
13782 * gdb.reverse/sigall-precsave.exp
13783 * gdb.reverse/solib-precsave.exp
13784 * gdb.reverse/step-precsave.exp
13785 * gdb.reverse/until-precsave.exp
13786 * gdb.reverse/watch-precsave.exp
13787 * gdb.threads/leader-exit.exp
13788 * gdb.threads/pthreads.exp
13789 * gdb.threads/wp-replication.exp
13790 * gdb.trace/actions.exp
13791 * gdb.trace/mi-tsv-changed.exp
13792 * gdb.trace/tsv.exp
13793
de97fdd4
LM
137942016-12-01 Luis Machado <lgustavo@codesourcery.com>
13795
13796 Fix test names starting with uppercase throughout the files.
13797
13798 * gdb.arch/i386-bp_permanent.exp
13799 * gdb.arch/i386-gnu-cfi.exp
13800 * gdb.base/disasm-end-cu.exp
13801 * gdb.base/macscp.exp
13802 * gdb.base/pending.exp
13803 * gdb.base/watch_thread_num.exp
13804 * gdb.cp/exception.exp
13805 * gdb.cp/gdb2495.exp
13806 * gdb.cp/local.exp
13807 * gdb.python/py-evsignal.exp
13808 * gdb.python/python.exp
13809 * gdb.trace/tracecmd.exp
13810
9f058c10
LM
138112016-12-01 Luis Machado <lgustavo@codesourcery.com>
13812
13813 Fix test names starting with uppercase throughout the files.
13814
13815 * gdb.base/charset.exp
13816 * gdb.base/eval.exp
13817 * gdb.base/multi-forks.exp
13818 * gdb.guile/scm-progspace.exp
13819 * gdb.opencl/datatypes.exp
13820 * gdb.python/py-block.exp
13821 * gdb.python/py-function.exp
13822 * gdb.python/py-symbol.exp
13823 * gdb.python/py-symtab.exp
13824 * gdb.python/py-xmethods.exp
13825 * gdb.reverse/break-precsave.exp
13826 * gdb.reverse/break-reverse.exp
13827 * gdb.reverse/consecutive-precsave.exp
13828 * gdb.reverse/consecutive-reverse.exp
13829 * gdb.reverse/finish-precsave.exp
13830 * gdb.reverse/finish-reverse-bkpt.exp
13831 * gdb.reverse/finish-reverse.exp
13832 * gdb.reverse/fstatat-reverse.exp
13833 * gdb.reverse/getresuid-reverse.exp
13834 * gdb.reverse/i386-precsave.exp
13835 * gdb.reverse/i386-reverse.exp
13836 * gdb.reverse/i386-sse-reverse.exp
13837 * gdb.reverse/i387-stack-reverse.exp
13838 * gdb.reverse/insn-reverse.exp
13839 * gdb.reverse/machinestate-precsave.exp
13840 * gdb.reverse/machinestate.exp
13841 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13842 * gdb.reverse/pipe-reverse.exp
13843 * gdb.reverse/readv-reverse.exp
13844 * gdb.reverse/recvmsg-reverse.exp
13845 * gdb.reverse/rerun-prec.exp
13846 * gdb.reverse/s390-mvcle.exp
13847 * gdb.reverse/sigall-precsave.exp
13848 * gdb.reverse/sigall-reverse.exp
13849 * gdb.reverse/solib-precsave.exp
13850 * gdb.reverse/solib-reverse.exp
13851 * gdb.reverse/step-precsave.exp
13852 * gdb.reverse/step-reverse.exp
13853 * gdb.reverse/time-reverse.exp
13854 * gdb.reverse/until-precsave.exp
13855 * gdb.reverse/until-reverse.exp
13856 * gdb.reverse/waitpid-reverse.exp
13857 * gdb.reverse/watch-precsave.exp
13858 * gdb.reverse/watch-reverse.exp
13859
cdc7edd7
LM
138602016-12-01 Luis Machado <lgustavo@codesourcery.com>
13861
13862 Fix test names starting with uppercase throughout the files.
13863
13864 * gdb.arch/i386-mpx-simple_segv.exp
13865 * gdb.arch/i386-mpx.exp
13866 * gdb.arch/i386-permbkpt.exp
13867 * gdb.arch/pa-nullify.exp
13868 * gdb.arch/powerpc-d128-regs.exp
13869 * gdb.arch/vsx-regs.exp
13870 * gdb.base/bfp-test.exp
13871 * gdb.base/break.exp
13872 * gdb.base/breakpoint-shadow.exp
13873 * gdb.base/callfuncs.exp
13874 * gdb.base/charset.exp
13875 * gdb.base/commands.exp
13876 * gdb.base/completion.exp
13877 * gdb.base/dfp-test.exp
13878 * gdb.base/echo.exp
13879 * gdb.base/ending-run.exp
13880 * gdb.base/eval.exp
13881 * gdb.base/expand-psymtabs.exp
13882 * gdb.base/float128.exp
13883 * gdb.base/floatn.exp
13884 * gdb.base/foll-exec-mode.exp
13885 * gdb.base/gdb1056.exp
13886 * gdb.base/gdb11531.exp
13887 * gdb.base/kill-after-signal.exp
13888 * gdb.base/multi-forks.exp
13889 * gdb.base/overlays.exp
13890 * gdb.base/pending.exp
13891 * gdb.base/sepdebug.exp
13892 * gdb.base/testenv.exp
13893 * gdb.base/valgrind-db-attach.exp
13894 * gdb.base/watch_thread_num.exp
13895 * gdb.base/watchpoint-cond-gone.exp
13896 * gdb.base/watchpoint.exp
13897 * gdb.base/watchpoints.exp
13898 * gdb.cp/arg-reference.exp
13899 * gdb.cp/baseenum.exp
13900 * gdb.cp/operator.exp
13901 * gdb.cp/shadow.exp
13902 * gdb.dwarf2/dw2-op-out-param.exp
13903 * gdb.dwarf2/dw2-reg-undefined.exp
13904 * gdb.go/chan.exp
13905 * gdb.go/hello.exp
13906 * gdb.go/integers.exp
13907 * gdb.go/methods.exp
13908 * gdb.go/package.exp
13909 * gdb.guile/scm-parameter.exp
13910 * gdb.guile/scm-progspace.exp
13911 * gdb.guile/scm-value.exp
13912 * gdb.mi/mi-pending.exp
13913 * gdb.mi/user-selected-context-sync.exp
13914 * gdb.multi/multi-attach.exp
13915 * gdb.multi/tids.exp
13916 * gdb.opt/clobbered-registers-O2.exp
13917 * gdb.pascal/floats.exp
13918 * gdb.pascal/integers.exp
13919 * gdb.python/py-block.exp
13920 * gdb.python/py-events.exp
13921 * gdb.python/py-parameter.exp
13922 * gdb.python/py-symbol.exp
13923 * gdb.python/py-symtab.exp
13924 * gdb.python/py-type.exp
13925 * gdb.python/py-value.exp
13926 * gdb.python/py-xmethods.exp
13927 * gdb.python/python.exp
13928 * gdb.reverse/break-precsave.exp
13929 * gdb.reverse/consecutive-precsave.exp
13930 * gdb.reverse/finish-precsave.exp
13931 * gdb.reverse/i386-precsave.exp
13932 * gdb.reverse/machinestate-precsave.exp
13933 * gdb.reverse/sigall-precsave.exp
13934 * gdb.reverse/solib-precsave.exp
13935 * gdb.reverse/step-precsave.exp
13936 * gdb.reverse/until-precsave.exp
13937 * gdb.reverse/watch-precsave.exp
13938 * gdb.server/ext-attach.exp
13939 * gdb.server/ext-restart.exp
13940 * gdb.server/ext-run.exp
13941 * gdb.server/ext-wrapper.exp
13942 * gdb.stabs/gdb11479.exp
13943 * gdb.stabs/weird.exp
13944 * gdb.threads/attach-many-short-lived-threads.exp
13945 * gdb.threads/kill.exp
13946 * gdb.threads/watchpoint-fork.exp
13947
bc6c7af4
LM
139482016-12-01 Luis Machado <lgustavo@codesourcery.com>
13949
13950 Fix test names starting with uppercase throughout all the files below.
13951
13952 * gdb.ada/array_return.exp
13953 * gdb.ada/catch_ex.exp
13954 * gdb.ada/info_exc.exp
13955 * gdb.ada/mi_catch_ex.exp
13956 * gdb.ada/mi_dyn_arr.exp
13957 * gdb.ada/mi_ex_cond.exp
13958 * gdb.ada/mi_exc_info.exp
13959 * gdb.ada/mi_interface.exp
13960 * gdb.ada/mi_task_arg.exp
13961 * gdb.ada/mi_task_info.exp
13962 * gdb.ada/mi_var_array.exp
13963 * gdb.arch/alpha-step.exp
13964 * gdb.arch/amd64-disp-step.exp
13965 * gdb.arch/arm-disp-step.exp
13966 * gdb.arch/disp-step-insn-reloc.exp
13967 * gdb.arch/e500-prologue.exp
13968 * gdb.arch/ftrace-insn-reloc.exp
13969 * gdb.arch/gdb1558.exp
13970 * gdb.arch/i386-bp_permanent.exp
13971 * gdb.arch/i386-disp-step.exp
13972 * gdb.arch/i386-float.exp
13973 * gdb.arch/i386-gnu-cfi.exp
13974 * gdb.arch/ia64-breakpoint-shadow.exp
13975 * gdb.arch/mips16-thunks.exp
13976 * gdb.arch/pa-nullify.exp
13977 * gdb.arch/powerpc-aix-prologue.exp
13978 * gdb.arch/powerpc-power.exp
13979 * gdb.arch/ppc-dfp.exp
13980 * gdb.arch/s390-tdbregs.exp
13981 * gdb.arch/spu-info.exp
13982 * gdb.arch/spu-ls.exp
13983 * gdb.arch/thumb-bx-pc.exp
13984 * gdb.base/advance.exp
13985 * gdb.base/annota-input-while-running.exp
13986 * gdb.base/arrayidx.exp
13987 * gdb.base/asmlabel.exp
13988 * gdb.base/async.exp
13989 * gdb.base/attach-wait-input.exp
13990 * gdb.base/auto-connect-native-target.exp
13991 * gdb.base/batch-preserve-term-settings.exp
13992 * gdb.base/bfp-test.exp
13993 * gdb.base/bigcore.exp
13994 * gdb.base/bp-permanent.exp
13995 * gdb.base/break-always.exp
13996 * gdb.base/break-fun-addr.exp
13997 * gdb.base/break-idempotent.exp
13998 * gdb.base/break-main-file-remove-fail.exp
13999 * gdb.base/break-probes.exp
14000 * gdb.base/break-unload-file.exp
14001 * gdb.base/break.exp
14002 * gdb.base/call-ar-st.exp
14003 * gdb.base/call-rt-st.exp
14004 * gdb.base/call-sc.exp
14005 * gdb.base/call-signal-resume.exp
14006 * gdb.base/call-strs.exp
14007 * gdb.base/callexit.exp
14008 * gdb.base/callfuncs.exp
14009 * gdb.base/catch-gdb-caused-signals.exp
14010 * gdb.base/catch-signal-siginfo-cond.exp
14011 * gdb.base/catch-syscall.exp
14012 * gdb.base/compare-sections.exp
14013 * gdb.base/cond-eval-mode.exp
14014 * gdb.base/condbreak-call-false.exp
14015 * gdb.base/consecutive-step-over.exp
14016 * gdb.base/cursal.exp
14017 * gdb.base/disabled-location.exp
14018 * gdb.base/disasm-end-cu.exp
14019 * gdb.base/display.exp
14020 * gdb.base/double-prompt-target-event-error.exp
14021 * gdb.base/dprintf-bp-same-addr.exp
14022 * gdb.base/dprintf-detach.exp
14023 * gdb.base/dprintf-next.exp
14024 * gdb.base/dprintf-non-stop.exp
14025 * gdb.base/dprintf-pending.exp
14026 * gdb.base/dso2dso.exp
14027 * gdb.base/ending-run.exp
14028 * gdb.base/enum_cond.exp
14029 * gdb.base/examine-backward.exp
14030 * gdb.base/exe-lock.exp
14031 * gdb.base/exec-invalid-sysroot.exp
14032 * gdb.base/execl-update-breakpoints.exp
14033 * gdb.base/execution-termios.exp
14034 * gdb.base/fileio.exp
14035 * gdb.base/fixsection.exp
14036 * gdb.base/foll-exec-mode.exp
14037 * gdb.base/foll-exec.exp
14038 * gdb.base/fork-running-state.exp
14039 * gdb.base/frame-args.exp
14040 * gdb.base/fullpath-expand.exp
14041 * gdb.base/func-ptr.exp
14042 * gdb.base/gcore-relro-pie.exp
14043 * gdb.base/gdb1090.exp
14044 * gdb.base/gdb1555.exp
14045 * gdb.base/global-var-nested-by-dso.exp
14046 * gdb.base/gnu-ifunc.exp
14047 * gdb.base/hbreak-in-shr-unsupported.exp
14048 * gdb.base/hbreak-unmapped.exp
14049 * gdb.base/hook-stop.exp
14050 * gdb.base/infcall-input.exp
14051 * gdb.base/info-fun.exp
14052 * gdb.base/info-shared.exp
14053 * gdb.base/interrupt-noterm.exp
14054 * gdb.base/jit-so.exp
14055 * gdb.base/jit.exp
14056 * gdb.base/line-symtabs.exp
14057 * gdb.base/list.exp
14058 * gdb.base/longjmp.exp
14059 * gdb.base/macscp.exp
14060 * gdb.base/max-value-size.exp
14061 * gdb.base/nodebug.exp
14062 * gdb.base/nofield.exp
14063 * gdb.base/overlays.exp
14064 * gdb.base/paginate-after-ctrl-c-running.exp
14065 * gdb.base/paginate-bg-execution.exp
14066 * gdb.base/paginate-inferior-exit.exp
14067 * gdb.base/pending.exp
14068 * gdb.base/pr11022.exp
14069 * gdb.base/printcmds.exp
14070 * gdb.base/ptr-typedef.exp
14071 * gdb.base/ptype.exp
14072 * gdb.base/randomize.exp
14073 * gdb.base/range-stepping.exp
14074 * gdb.base/realname-expand.exp
14075 * gdb.base/relativedebug.exp
14076 * gdb.base/remote.exp
14077 * gdb.base/savedregs.exp
14078 * gdb.base/sepdebug.exp
14079 * gdb.base/set-noassign.exp
14080 * gdb.base/shlib-call.exp
14081 * gdb.base/shreloc.exp
14082 * gdb.base/sigaltstack.exp
14083 * gdb.base/sigbpt.exp
14084 * gdb.base/siginfo-addr.exp
14085 * gdb.base/siginfo-obj.exp
14086 * gdb.base/siginfo-thread.exp
14087 * gdb.base/signest.exp
14088 * gdb.base/signull.exp
14089 * gdb.base/sigrepeat.exp
14090 * gdb.base/skip.exp
14091 * gdb.base/so-impl-ld.exp
14092 * gdb.base/solib-corrupted.exp
14093 * gdb.base/solib-disc.exp
14094 * gdb.base/solib-display.exp
14095 * gdb.base/solib-overlap.exp
14096 * gdb.base/solib-search.exp
14097 * gdb.base/solib-symbol.exp
14098 * gdb.base/source-execution.exp
14099 * gdb.base/sss-bp-on-user-bp-2.exp
14100 * gdb.base/sss-bp-on-user-bp.exp
14101 * gdb.base/stack-checking.exp
14102 * gdb.base/stale-infcall.exp
14103 * gdb.base/step-break.exp
14104 * gdb.base/step-line.exp
14105 * gdb.base/step-over-exit.exp
14106 * gdb.base/step-test.exp
14107 * gdb.base/structs.exp
14108 * gdb.base/sym-file.exp
14109 * gdb.base/symtab-search-order.exp
14110 * gdb.base/term.exp
14111 * gdb.base/type-opaque.exp
14112 * gdb.base/unload.exp
14113 * gdb.base/until-nodebug.exp
14114 * gdb.base/until.exp
14115 * gdb.base/unwindonsignal.exp
14116 * gdb.base/watch-cond.exp
14117 * gdb.base/watch-non-mem.exp
14118 * gdb.base/watch_thread_num.exp
14119 * gdb.base/watchpoint-reuse-slot.exp
14120 * gdb.base/watchpoint-solib.exp
14121 * gdb.base/watchpoint.exp
14122 * gdb.btrace/dlopen.exp
14123 * gdb.cell/arch.exp
14124 * gdb.cell/break.exp
14125 * gdb.cell/bt.exp
14126 * gdb.cell/core.exp
14127 * gdb.cell/data.exp
14128 * gdb.cell/dwarfaddr.exp
14129 * gdb.cell/ea-cache.exp
14130 * gdb.cell/ea-standalone.exp
14131 * gdb.cell/ea-test.exp
14132 * gdb.cell/f-regs.exp
14133 * gdb.cell/fork.exp
14134 * gdb.cell/gcore.exp
14135 * gdb.cell/mem-access.exp
14136 * gdb.cell/ptype.exp
14137 * gdb.cell/registers.exp
14138 * gdb.cell/sizeof.exp
14139 * gdb.cell/solib-symbol.exp
14140 * gdb.cell/solib.exp
14141 * gdb.compile/compile-tls.exp
14142 * gdb.cp/exception.exp
14143 * gdb.cp/gdb2495.exp
14144 * gdb.cp/local.exp
14145 * gdb.cp/mb-inline.exp
14146 * gdb.cp/mb-templates.exp
14147 * gdb.cp/pr10687.exp
14148 * gdb.cp/pr9167.exp
14149 * gdb.cp/scope-err.exp
14150 * gdb.cp/templates.exp
14151 * gdb.cp/virtfunc.exp
14152 * gdb.dwarf2/dw2-dir-file-name.exp
14153 * gdb.dwarf2/dw2-single-line-discriminators.exp
14154 * gdb.fortran/complex.exp
14155 * gdb.fortran/library-module.exp
14156 * gdb.guile/guile.exp
14157 * gdb.guile/scm-cmd.exp
14158 * gdb.guile/scm-frame-inline.exp
14159 * gdb.guile/scm-objfile.exp
14160 * gdb.guile/scm-pretty-print.exp
14161 * gdb.guile/scm-symbol.exp
14162 * gdb.guile/scm-type.exp
14163 * gdb.guile/scm-value.exp
14164 * gdb.linespec/keywords.exp
14165 * gdb.linespec/ls-errs.exp
14166 * gdb.linespec/macro-relative.exp
14167 * gdb.linespec/thread.exp
14168 * gdb.mi/mi-breakpoint-changed.exp
14169 * gdb.mi/mi-dprintf-pending.exp
14170 * gdb.mi/mi-fullname-deleted.exp
14171 * gdb.mi/mi-logging.exp
14172 * gdb.mi/mi-pending.exp
14173 * gdb.mi/mi-solib.exp
14174 * gdb.mi/new-ui-mi-sync.exp
14175 * gdb.mi/user-selected-context-sync.exp
14176 * gdb.multi/dummy-frame-restore.exp
14177 * gdb.multi/multi-arch-exec.exp
14178 * gdb.multi/remove-inferiors.exp
14179 * gdb.multi/watchpoint-multi-exit.exp
14180 * gdb.opt/solib-intra-step.exp
14181 * gdb.perf/backtrace.exp
14182 * gdb.perf/single-step.exp
14183 * gdb.perf/skip-command.exp
14184 * gdb.perf/skip-prologue.exp
14185 * gdb.perf/solib.exp
14186 * gdb.python/lib-types.exp
14187 * gdb.python/py-as-string.exp
14188 * gdb.python/py-bad-printers.exp
14189 * gdb.python/py-block.exp
14190 * gdb.python/py-breakpoint.exp
14191 * gdb.python/py-cmd.exp
14192 * gdb.python/py-events.exp
14193 * gdb.python/py-evthreads.exp
14194 * gdb.python/py-finish-breakpoint.exp
14195 * gdb.python/py-finish-breakpoint2.exp
14196 * gdb.python/py-frame-inline.exp
14197 * gdb.python/py-frame.exp
14198 * gdb.python/py-inferior.exp
14199 * gdb.python/py-infthread.exp
14200 * gdb.python/py-mi.exp
14201 * gdb.python/py-objfile.exp
14202 * gdb.python/py-pp-maint.exp
14203 * gdb.python/py-pp-registration.exp
14204 * gdb.python/py-prettyprint.exp
14205 * gdb.python/py-recurse-unwind.exp
14206 * gdb.python/py-shared.exp
14207 * gdb.python/py-symbol.exp
14208 * gdb.python/py-symtab.exp
14209 * gdb.python/py-template.exp
14210 * gdb.python/py-type.exp
14211 * gdb.python/py-unwind-maint.exp
14212 * gdb.python/py-unwind.exp
14213 * gdb.python/py-value.exp
14214 * gdb.python/python.exp
14215 * gdb.reverse/finish-reverse-bkpt.exp
14216 * gdb.reverse/insn-reverse.exp
14217 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14218 * gdb.reverse/solib-precsave.exp
14219 * gdb.reverse/solib-reverse.exp
14220 * gdb.stabs/gdb11479.exp
14221 * gdb.stabs/weird.exp
14222 * gdb.threads/fork-child-threads.exp
14223 * gdb.threads/fork-plus-threads.exp
14224 * gdb.threads/fork-thread-pending.exp
14225 * gdb.threads/forking-threads-plus-breakpoint.exp
14226 * gdb.threads/hand-call-in-threads.exp
14227 * gdb.threads/interrupted-hand-call.exp
14228 * gdb.threads/linux-dp.exp
14229 * gdb.threads/local-watch-wrong-thread.exp
14230 * gdb.threads/next-while-other-thread-longjmps.exp
14231 * gdb.threads/non-ldr-exit.exp
14232 * gdb.threads/pending-step.exp
14233 * gdb.threads/print-threads.exp
14234 * gdb.threads/process-dies-while-detaching.exp
14235 * gdb.threads/process-dies-while-handling-bp.exp
14236 * gdb.threads/pthreads.exp
14237 * gdb.threads/queue-signal.exp
14238 * gdb.threads/reconnect-signal.exp
14239 * gdb.threads/signal-command-handle-nopass.exp
14240 * gdb.threads/signal-command-multiple-signals-pending.exp
14241 * gdb.threads/signal-delivered-right-thread.exp
14242 * gdb.threads/signal-sigtrap.exp
14243 * gdb.threads/sigthread.exp
14244 * gdb.threads/staticthreads.exp
14245 * gdb.threads/stepi-random-signal.exp
14246 * gdb.threads/thread-unwindonsignal.exp
14247 * gdb.threads/thread_check.exp
14248 * gdb.threads/thread_events.exp
14249 * gdb.threads/tid-reuse.exp
14250 * gdb.threads/tls-nodebug.exp
14251 * gdb.threads/tls-shared.exp
14252 * gdb.threads/tls-so_extern.exp
14253 * gdb.threads/tls.exp
14254 * gdb.threads/wp-replication.exp
14255 * gdb.trace/actions-changed.exp
14256 * gdb.trace/actions.exp
14257 * gdb.trace/backtrace.exp
14258 * gdb.trace/change-loc.exp
14259 * gdb.trace/collection.exp
14260 * gdb.trace/deltrace.exp
14261 * gdb.trace/disconnected-tracing.exp
14262 * gdb.trace/entry-values.exp
14263 * gdb.trace/ftrace-lock.exp
14264 * gdb.trace/ftrace.exp
14265 * gdb.trace/infotrace.exp
14266 * gdb.trace/mi-trace-frame-collected.exp
14267 * gdb.trace/mi-trace-unavailable.exp
14268 * gdb.trace/mi-traceframe-changed.exp
14269 * gdb.trace/mi-tracepoint-changed.exp
14270 * gdb.trace/mi-tsv-changed.exp
14271 * gdb.trace/no-attach-trace.exp
14272 * gdb.trace/packetlen.exp
14273 * gdb.trace/passc-dyn.exp
14274 * gdb.trace/passcount.exp
14275 * gdb.trace/pending.exp
14276 * gdb.trace/pr16508.exp
14277 * gdb.trace/qtro.exp
14278 * gdb.trace/range-stepping.exp
14279 * gdb.trace/read-memory.exp
14280 * gdb.trace/report.exp
14281 * gdb.trace/save-trace.exp
14282 * gdb.trace/signal.exp
14283 * gdb.trace/stap-trace.exp
14284 * gdb.trace/status-stop.exp
14285 * gdb.trace/strace.exp
14286 * gdb.trace/tfile.exp
14287 * gdb.trace/tfind.exp
14288 * gdb.trace/trace-break.exp
14289 * gdb.trace/trace-condition.exp
14290 * gdb.trace/trace-enable-disable.exp
14291 * gdb.trace/trace-mt.exp
14292 * gdb.trace/tracecmd.exp
14293 * gdb.trace/tracefile-pseudo-reg.exp
14294 * gdb.trace/tspeed.exp
14295 * gdb.trace/tstatus.exp
14296 * gdb.trace/tsv.exp
14297 * gdb.trace/unavailable.exp
14298 * gdb.trace/while-dyn.exp
14299 * gdb.trace/while-stepping.exp
14300 * lib/gdb-guile.exp
14301 * lib/gdb.exp
14302 * lib/mi-support.exp
14303 * lib/pascal.exp
14304 * lib/perftest.exp
14305 * lib/prelink-support.exp
14306 * lib/selftest-support.exp
14307
ad02e4fe
SM
143082016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14309
14310 * Makefile.in: Include disable-implicit-rules.mk.
14311
22347e55
AA
143122016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14313
14314 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14315 non-byte-aligned bit fields.
14316
da5b30da
AA
143172016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14318
14319 PR gdb/12616
14320 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14321 respects the DW_AT_data_bit_offset attribute.
14322
b593ecca
SM
143232016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14324
14325 * gdb.base/default.exp: Fix output of "set language".
14326
3b165252
SM
143272016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14328
14329 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14330 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14331 make.
14332 * configure.ac: Remove checks for the make program.
14333 * configure: Re-generate.
14334
1a2f3d7f
KB
143352016-11-16 Kevin Buettner <kevinb@redhat.com>
14336
14337 * gdb.python/py-recurse-unwind.c (main): Add loop.
14338 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14339 to read_register() and gdb.parse_and_eval(). Make each code
14340 call a separate case that can be individually tested.
14341 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14342 proc. Call cont_and_backtrace for each of the code paths that
14343 we want to test in the unwinder.
14344
b7f38fda
AA
143452016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14346
14347 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14348 the definition of struct S.
14349
1f8db343
CM
143502016-11-11 Catherine Moore <clm@codesourcery.com>
14351
14352 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14353
fad0c9fb
PA
143542016-11-09 Pedro Alves <palves@redhat.com>
14355
14356 * gdb.base/commands.exp (runto_or_return): New procedure.
14357 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14358 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14359 (progvar_simple_while_test, progvar_complex_if_while_test)
14360 (if_while_breakpoint_command_test)
14361 (infrun_breakpoint_command_test, breakpoint_command_test)
14362 (user_defined_command_test, watchpoint_command_test)
14363 (test_command_prompt_position, redefine_hook_test)
14364 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14365 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14366 multi_line_input and multi_line. Remove gdb_expect and
14367 gdb_stop_suppressing_tests uses.
14368 * lib/gdb.exp (valnum_re): New global.
14369 (multi_line_input): New procedure.
14370
8354c62c
SM
143712016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14372
14373 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14374 Remove.
14375 (test_setup): Define with proc_with_prefix.
14376 (test_cli_inferior): Likewise.
14377 (test_cli_thread): Likewise.
14378 (test_cli_frame): Likewise.
14379 (test_cli_select_frame): Likewise.
14380 (test_cli_up_down): Likewise.
14381 (test_mi_thread_select): Likewise.
14382 (test_mi_stack_select_frame): Likewise.
14383 (test_cli_in_mi_inferior): Likewise.
14384 (test_cli_in_mi_thread): Likewise.
14385 (test_cli_in_mi_frame): Likewise.
14386 (top level): Do not use with_test_prefix_procname.
14387
64f367a2
PA
143882016-11-09 Pedro Alves <palves@redhat.com>
14389
14390 * gdb.base/commands.exp (gdbvar_simple_if_test)
14391 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14392 (progvar_simple_if_test, progvar_simple_while_test)
14393 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14394 (infrun_breakpoint_command_test, breakpoint_command_test)
14395 (user_defined_command_test, watchpoint_command_test)
14396 (test_command_prompt_position, deprecated_command_test)
14397 (bp_deleted_in_command, temporary_breakpoint_commands)
14398 (stray_arg0_test, source_file_with_indented_comment)
14399 (recursive_source_test, if_commands_test)
14400 (error_clears_commands_left, redefine_hook_test)
14401 (redefine_backtrace_test): Use proc_with_prefix.
14402 * lib/gdb.exp (proc_with_prefix): New proc.
14403
0bb65f1e
AA
144042016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14405
14406 * gdb.base/tui-layout.c: New file.
14407 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14408 disassembly window contains very long lines.
14409
7353f247
TT
144102016-11-08 Tom Tromey <tom@tromey.com>
14411
14412 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14413 depend on Python 2.
14414
30a7bb83
TT
144152016-11-08 Tom Tromey <tom@tromey.com>
14416
14417 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14418 New method.
14419
cdf5a07c
MG
144202016-10-29 Manish Goregaokar <manish@mozilla.com>
14421
2806dc7e 14422 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14423
51a789c3
MG
144242016-10-27 Manish Goregaokar <manish@mozilla.com>
14425
2806dc7e
PA
14426 * gdb.rust/simple.rs: Add test for univariant enums without
14427 discriminants and for encoded struct-like enums.
51a789c3 14428
f610ab6d
PA
144292016-10-28 Pedro Alves <palves@redhat.com>
14430
14431 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14432 gdb_test_multiple, tighten regexps and match symtabs and line
14433 tables incrementally.
14434
b129b0ca
LM
144352016-10-28 Luis Machado <lgustavo@codesourcery.com>
14436
14437 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14438 general.
14439
ecf45d2c
SL
144402016-10-25 Luis Machado <lgustavo@codesourcery.com>
14441
14442 * gdb.base/exec-invalid-sysroot.exp: New file.
14443
b8d38ee4
JK
144442016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14445
14446 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14447
f90fd8c2
JK
144482016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14449
14450 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14451
2d2476aa
MR
144522016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14453
2806dc7e
PA
14454 * gdb.base/killed-outside.exp: Remove $options from a call to
14455 `prepare_for_testing'.
2d2476aa 14456
e42b25a0
SM
144572016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14458
14459 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14460 Change test message.
14461
3ccdb432
SM
144622016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14463
14464 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14465 Update comment.
14466
5bad3170
SM
144672016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14468
14469 * gdb.trace/mi-trace-save.exp: New file.
14470
5ad9dba7
YQ
144712016-10-13 Yao Qi <yao.qi@linaro.org>
14472
14473 * gdb.base/code_elim.exp (get_var_address): Remove.
14474 * gdb.base/relocate.exp: Likewise.
14475 * gdb.base/shreloc.exp: Likewise.
14476 * lib/gdb.exp (get_var_address): New.
14477
62df7e21
YQ
144782016-10-13 Yao Qi <yao.qi@linaro.org>
14479
14480 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14481 floating point tests if $skip_float_test is false.
14482
4dac951e
LM
144832016-10-12 Luis Machado <lgustavo@codesourcery.com>
14484
14485 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14486 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14487 argc values.
14488 Add 1 to argc so we guarantee distinct initial/modified argc values.
14489
8f1a8fc4
JK
144902016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14491
14492 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14493
16c85b5d
JK
144942016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14495
14496 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14497 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14498 * gdb.arch/vsx-regs.exp: Likewise.
14499
1d0e042a
YQ
145002016-10-07 Yao Qi <yao.qi@linaro.org>
14501
14502 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14503
68dadef5
MM
145042016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14505
14506 * gdb.python/python.exp: Test decode_line("*0").
14507
33fa2c6e
DE
145082016-10-06 Doug Evans <dje@google.com>
14509
14510 * gdb.python/py-value.exp (test_value_creation): Add test for large
14511 unsigned 64-bit value.
14512
9c37b5ae
TT
145132016-10-06 Tom Tromey <tom@tromey.com>
14514
14515 * gdb.compile/compile.exp: Change java tests to rust.
14516 * gdb.base/setshow.exp: Change java tests to rust.
14517 * gdb.base/default.exp: Remove java from language list.
14518 * README (Examples): Update language example.
14519 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14520 test.
14521 * lib/gdb.exp (skip_java_tests): Remove.
14522 * lib/java.exp: Remove.
14523 * gdb.java: Remove.
14524
78b86327
MR
145252016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14526
14527 * gdb.arch/mips-fcr.exp: New test.
14528 * gdb.arch/mips-fcr.c: Source for the new test.
14529
7470adbb
MR
145302016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14531
14532 * gdb.base/solib-disc.exp: Use `standard_output_file'
14533 throughout.
14534
4a556533
PA
145352016-10-06 Pedro Alves <palves@redhat.com>
14536
14537 * gdb.base/jit-simple-dl.c: New file.
14538 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14539 * gdb.base/jit-simple.c: ... this.
14540 * gdb.base/jit-simple.exp (jit_run): Delete.
14541 (build_jit): New proc.
14542 (jit_test_reread): Recompile either the main program or the shared
14543 library, depending on what is being tested. Skip changing address
14544 if caller wants to. Compare before/after addresses. If testing
14545 standalone, explicitly load the binary. Test "maint info
14546 breakpoints".
14547 (top level): Add "standalone vs shared lib" and "change address"
14548 vs "same address" axes.
14549
5a122fbc
PA
145502016-10-06 Pedro Alves <palves@redhat.com>
14551
14552 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14553 call.
14554 (jit_run): Delete.
14555 (jit_test_reread): Use with_test_prefix. Reload the main binary
14556 explicitly. Compare the before/after addresses of the JIT
14557 descriptor.
14558
ee8da4b8
DE
145592016-08-15 Doug Evans <dje@google.com>
14560
14561 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14562 for single bitfields is bool.
14563 * gdb.xml/tdesc-regs.exp: Ditto.
14564
f389f6fe
JK
145652016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14566
14567 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14568
fdebf1a4
YQ
145692016-10-05 Yao Qi <yao.qi@linaro.org>
14570
14571 * lib/gdb.exp (support_complex_tests): Return zero if
14572 gdb_skip_float_test return true.
14573
9c36d954 145742016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14575 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14576
14577 PR gdb/20487
14578 * gdb.mi/user-selected-context-sync.exp: New file.
14579 * gdb.mi/user-selected-context-sync.c: New file.
14580
4034d0ff 145812016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14582 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14583
14584 PR gdb/20487
14585 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14586 =thread-select-event check.
14587
a4297203
PB
145882016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14589
14590 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14591 the compulsory L operand changes.
14592 * gdb.arch/powerpc-power.s: Likewise.
14593
bb805577
JK
145942016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14595
14596 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14597 * gdb.base/jit-attach-pie.c: New file.
14598 * gdb.base/jit-attach-pie.exp: New file.
14599
6d61dee5
PA
146002016-09-28 Pedro Alves <palves@redhat.com>
14601
14602 * gdb.base/infcall-input.c: New file.
14603 * gdb.base/infcall-input.exp: New file.
14604
f73842fc
YQ
146052016-09-22 Yao Qi <yao.qi@linaro.org>
14606
14607 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14608 (gdb_exit): Rename it to ...
14609 (gdbserver_gdb_exit): ... Close GDBserver.
14610 (gdb_exit): New proc, call gdbserver_gdb_exit.
14611 (mi_gdb_exit): Likewise.
14612
90681dab
YQ
146132016-09-22 Yao Qi <yao.qi@linaro.org>
14614
14615 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14616 path.
14617 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14618 Remove duplication.
14619
9c211fd8
YQ
146202016-09-22 Yao Qi <yao.qi@linaro.org>
14621
14622 * lib/gdbserver-support.exp: Check the existence of
14623 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14624
ad0a504f
AK
146252016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14626
14627 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14628
36cf1806
TT
146292016-09-21 Tom Tromey <tom@tromey.com>
14630
14631 PR gdb/20604:
14632 * gdb.base/quit.exp: New file.
14633
74172ecf
SM
146342016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14635
14636 * .gitignore: New file.
14637
3d0ec882
MR
146382016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14639
14640 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14641 throughout.
14642
8193adea
AA
146432016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14644
14645 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14646
d41a5c09
JK
146472016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14648
14649 * gdb.cp/casts.cc (decltype): Move it ...
14650 (main): ... with its call to ...
14651 * gdb.cp/casts03.cc: ... a new file.
14652 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14653
d2dfe700
JK
146542016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14655
14656 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14657
e2a92b16
PB
146582016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14659
14660 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14661 and sync up the test with tests in gas/testsuite/gas/ppc.
14662 * gdb.arch/powerpc-power.exp: Likewise.
14663
49b4de64
JK
146642016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14665
14666 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14667
2c29df25
SDJ
146682016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14669 Jan Kratochvil <jan.kratochvil@redhat.com>
14670
14671 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14672 make m1's definition to be different from m2's. Use 'dummy' as an
14673 argument for probe 'two'.
14674
cc3c2846
JB
146752016-09-10 Jon Beniston <jon@beniston.com>
14676
14677 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14678 for sim target.
14679
e1b2624a
AA
146802016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14681
14682 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14683 variable declaration.
14684 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14685 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14686 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14687 received HWCAP as its argument.
14688
4295e285
PA
146892016-09-06 Pedro Alves <palves@redhat.com>
14690
14691 * gdb.base/new-ui-pending-input.c: New file.
14692 * gdb.base/new-ui-pending-input.exp: New file.
14693 * gdb.exp (clear_gdb_spawn_id): New procedure.
14694 (with_spawn_id): Check whether gdb_spawn_id exists before
14695 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14696 on exit.
14697
00d5215e
UW
146982016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14699
14700 * gdb.base/float128.c: New file.
14701 * gdb.base/float128.exp: Likewise.
14702 * gdb.base/floatn.c: Likewise.
14703 * gdb.base/floatn.exp: Likewise.
14704
a9ff5f12
UW
147052016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14706
14707 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14708
f245535c
PA
147092016-09-05 Pedro Alves <palves@redhat.com>
14710
14711 PR backtrace/19927
14712 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14713 unwinders are immediately called as side effect of "source" or
14714 "disable unwinder" commands.
14715 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14716
ae9cf263
YQ
147172016-09-02 Yao Qi <yao.qi@linaro.org>
14718
14719 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14720 is true and $type is "float" or "double".
14721
27aba047
YQ
147222016-09-02 Yao Qi <yao.qi@linaro.org>
14723
14724 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14725 true.
14726 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14727 * gdb.base/call-rt-st.exp: Likewise.
14728 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14729 return value instead of gdb,skip_float_test.
14730 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14731 (do_function_calls): Use its return value instead of
14732 gdb,skip_float_test.
14733 * gdb.base/finish.exp: Likewise.
14734 * gdb.base/funcargs.exp: Likewise.
14735 * gdb.base/return.exp: Likewise.
14736 * gdb.base/return2.exp: Likewise.
14737 * gdb.base/varargs.exp: Likewise.
14738 * lib/gdb.exp (gdb_skip_float_test): Change it to
14739 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14740
5af962df
AA
147412016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14742
14743 * gdb.multi/tids.exp: Test "thread apply all".
14744
7fac6910
JK
147452016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14746
14747 * gdb.base/default.exp (tty): Remove.
14748
bb1fe4ac
KB
147492016-08-24 Kevin Buettner <kevinb@redhat.com>
14750
2806dc7e
PA
14751 * gdb.python/py-recurse-unwind.c: New file.
14752 * gdb.python/py-recurse-unwind.py: New file.
14753 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14754
0a1ddfa6
SM
147552016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14756
14757 * gdb.base/set-inferior-tty.exp: New file.
14758 * gdb.base/set-inferior-tty.c: New file.
14759
d9de1fe3
PA
147602016-08-23 Pedro Alves <palves@redhat.com>
14761
14762 PR gdb/20494
14763 * gdb.base/new-ui-echo.c: New file.
14764 * gdb.base/new-ui-echo.exp: New file.
14765
e9d9abd7
YQ
147662016-08-23 Yao Qi <yao.qi@linaro.org>
14767
14768 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14769 gdbserver_spawn.
14770 * gdb.server/connect-without-multi-process.exp (do_test):
14771 Likewise.
14772
3589529e
YQ
147732016-08-23 Yao Qi <yao.qi@linaro.org>
14774
14775 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14776 standalone_txt. Delete gdb_txt and standalone_txt on host
14777 and target. Spawn the binary on target. Copy files from
14778 target to host.
14779
6bb90213
PA
147802016-08-22 Pedro Alves <palves@redhat.com>
14781
14782 PR gdb/20505
14783 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14784 with_test_prefix. Factor out bits to ...
14785 (test_no_vdso): ... this new procedure.
14786
20c2c024
CL
147872016-08-19 Carl Love <cel@us.ibm.com>
14788
14789 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14790 maintaining separate logic for constructing the output path.
14791 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14792 * gdb.arch/ppc-dfp.exp: Likewise.
14793 * gdb.arch/ppc-fp.exp: Likewise.
14794 * gdb.arch/vsx-regs.exp: Likewise.
14795 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14796 binprefix for generating the additional binary files.
14797
0646e07d
PA
147982016-08-19 Pedro Alves <palves@redhat.com>
14799
14800 * gdb.trace/mi-trace-frame-collected.exp
14801 (test_trace_frame_collected): On x32, expect two registers.
14802
46da9242
CL
148032016-08-18 Carl Love <cel@us.ibm.com>
14804
14805 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14806 and sync up the test with tests in gas/testsuite/gas/ppc.
14807 * gdb.arch/powerpc-power.exp: Likewise.
14808
eb2332d7
SM
148092016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14810
14811 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14812 expected error message.
14813
63c61e04
SM
148142016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14815
14816 * gdb.multi/remove-inferiors.exp: New file.
14817 * gdb.multi/remove-inferiors.c: New file.
14818
7b17065f
YQ
148192016-08-12 Yao Qi <yao.qi@linaro.org>
14820
14821 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14822 argument list.
14823
01d3dedf
PA
148242016-08-10 Pedro Alves <palves@redhat.com>
14825
14826 PR gdb/19187
14827 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14828 setup_kfails.
14829
3eb7562a
PA
148302016-08-09 Pedro Alves <palves@redhat.com>
14831 Simon Marchi <simon.marchi@ericsson.com>
14832
14833 PR gdb/20418
14834 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14835 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14836
80614914
PA
148372016-08-09 Pedro Alves <palves@redhat.com>
14838
14839 PR mi/20431
14840 * gdb.mi/mi-cmd-error.exp: New file.
14841
f348d89a
PA
148422016-08-09 Pedro Alves <palves@redhat.com>
14843
14844 PR gdb/18653
14845 * gdb.base/signals-state-child.c: New file.
14846 * gdb.base/signals-state-child.exp: New file.
14847 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14848
e5ca03b4
PA
148492016-08-09 Pedro Alves <palves@redhat.com>
14850
14851 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14852
282a0691
TT
148532016-08-03 Tom Tromey <tom@tromey.com>
14854
14855 PR python/18565:
14856 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14857
41bfcd63
YQ
148582016-08-01 Yao Qi <yao.qi@linaro.org>
14859
14860 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14861 variable mode to "multi-process" if $multi_process is 1, otherwise
14862 set it to "single-process".
14863
e3465b24
YQ
148642016-08-01 Yao Qi <yao.qi@linaro.org>
14865
14866 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14867 * gdb.cp/cpexprs.exp: Likewise.
14868 * gdb.cp/m-static.exp: Likewise.
14869
0b31a4bc
TT
148702016-07-26 Tom Tromey <tom@tromey.com>
14871
14872 PR python/20190:
14873 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14874 test.
14875
e0461dbb
MM
148762016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14877
14878 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14879 selecting assembly source files.
14880 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14881 assembly source files.
14882 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14883 assembly source files.
14884 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14885 selecting assembly source files.
14886
8194e927
SM
148872016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14888
14889 * gdb.base/new-ui.exp (do_test_invalid_args): New
14890 procedure.
14891
c0272db5
TW
148922016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14893
14894 * gdb.btrace/reconnect.c: New file.
14895 * gdb.btrace/reconnect.exp: New file.
14896
e3487908
GKB
148972016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14898
14899 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14900 to test_catch_syscall_group.
14901 (test_catch_syscall_group): New.
14902
12df5c00
TT
149032016-07-21 Tom Tromey <tom@tromey.com>
14904
14905 * gdb.rust/simple.rs (main): Use empty struct expression.
14906 * gdb.rust/simple.exp: Add tests for empty struct expression.
14907
bae62ee2
YQ
149082016-07-21 Yao Qi <yao.qi@linaro.org>
14909
14910 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14911 if gdb_skip_xml_test is true on some targets.
14912
b1b53fb3
YQ
149132016-07-21 Yao Qi <yao.qi@linaro.org>
14914
14915 * gdb.server/solib-list.exp: Unset last_loaded_file.
14916
027d97f8
JK
149172016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14918
14919 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14920 "step into captured_main (args)".
14921
7674d381
JK
149222016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14923
14924 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14925
72b5d099
JK
149262016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14927
14928 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14929
1f960ced
PA
149302016-07-19 Pedro Alves <palves@redhat.com>
14931
14932 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14933 * gdb.opt/inline-bt.exp: Likewise.
14934 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14935 additional_flags=-Winline.
14936 * gdb.opt/inline-locals.exp: Likewise.
14937 * gdb.opt/inline-markers.c (ATTR): Define.
14938 (inlined_fn): Use it.
14939
f25827c1
YQ
149402016-07-19 Yao Qi <yao.qi@linaro.org>
14941
14942 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14943 (test_with_self): Remove some code. Remove argument executable.
14944 (top-level): Use do_self_tests.
14945
37539ebe
DB
149462016-07-15 Zachary Welch <zwelch@codesourcery.com>
14947 Don Breazeal <donb@codesourcery.com>
14948
14949 * gdb.base/maint.exp: Escape paths used in regular expressions.
14950 * gdb.stabs/weird.exp: Likewise.
14951
dac790e1
TT
149522016-07-13 Tom Tromey <tom@tromey.com>
14953
14954 PR python/15620, PR python/18620:
14955 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14956 (test_bkpt_events): New procs.
14957
93daf339
TT
149582016-07-13 Tom Tromey <tom@tromey.com>
14959
14960 PR python/17698:
14961 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14962 test.
14963 (test_watchpoints): Likewise.
14964 (test_bkpt_pending): New proc.
14965
6571a381
TT
149662016-07-13 Tom Tromey <tom@tromey.com>
14967
14968 PR cli/18053:
14969 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14970 completion test.
14971
e8732474
JK
149722016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14973
14974 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14975 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14976 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14977 f_label.
14978 (g): Rename g_end_lbl to g_label.
14979 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14980 low_pc and high_pc.
14981 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14982
e0f3fd7c
TT
149832016-07-12 Tom Tromey <tom@tromey.com>
14984
14985 PR python/19293:
14986 * gdb.python/py-unwind-maint.exp: Update tests.
14987
3cfe46b6
YQ
149882016-07-12 Yao Qi <yao.qi@linaro.org>
14989
14990 * lib/selftest-support.exp (selftest_setup): Match the output
14991 when captured_main is inlined.
14992
4f19a0e6
WT
149932016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14994
14995 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14996 New variables.
14997 (print this%a, print this%b, print this): New tests.
14998 * gdb.fortran/derived-types.f90 (this): New object and
14999 initialization.
15000
986cf455
SM
150012016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15002
15003 * gdb.ada/arraydim.exp: Remove extra directory level in build
15004 directory.
15005
f0464b23
SM
150062016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15007
15008 * lib/ada.exp: Remove extra directory level in build directory.
15009 * gdb.ada/cond_lang.exp: Likewise.
15010 * gdb.ada/exec_changed.exp: Likewise.
15011 * gdb.ada/lang_switch.exp: Likewise.
15012
42d94011
MG
150132016-07-06 Manish Goregaokar <manish@mozilla.com>
15014
2806dc7e
PA
15015 * simple.rs: Add test for raw pointer subscripting.
15016 * simple.exp: Add test expectations.
42d94011 15017
647c264c
YQ
150182016-07-05 Yao Qi <yao.qi@linaro.org>
15019
15020 * gdb.mi/mi-reverse.exp: Match =record-started output.
15021
20aa2c60
PA
150222016-07-01 Pedro Alves <palves@redhat.com>
15023
15024 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15025 procedure.
15026 (jit_reader_test): Test the jit reader's unwinder.
15027 * gdb.base/jithost.c (jit_function_00_code): New global.
15028 (main): Use memcpy to fill in the mmapped code, instead of poking
15029 bytes manually here.
15030 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15031 value.
15032 (read_debug_info): Save the function's range.
15033 (read_sp): New function.
15034 (unwind_frame): Use it. Also unwind RBP.
15035 (get_frame_id): Use read_sp.
15036 (gdb_init_reader): Use calloc instead of malloc.
15037 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15038 parameter. Use gdb_test_multiple.
15039
ced2dffb
PA
150402016-07-01 Pedro Alves <palves@redhat.com>
15041 Antoine Tremblay <antoine.tremblay@ericsson.com>
15042
15043 * gdb.threads/process-dies-while-detaching.c: New file.
15044 * gdb.threads/process-dies-while-detaching.exp: New file.
15045
63000888
PA
150462016-07-01 Pedro Alves <palves@redhat.com>
15047
15048 * gdb.multi/watchpoint-multi-exit.c: New file.
15049 * gdb.multi/watchpoint-multi-exit.exp: New file.
15050
038d4868
PA
150512016-06-30 Pedro Alves <palves@redhat.com>
15052
15053 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15054 unset inferior_spawn_id.
15055
994e9c83
PA
150562016-06-30 Pedro Alves <palves@redhat.com>
15057
15058 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15059 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15060
e5653468
YQ
150612016-06-29 Yao Qi <yao.qi@linaro.org>
15062
15063 * gdb.base/return.c: Add copyright header.
15064
803b47e5
TT
150652016-06-29 Tom Tromey <tom@tromey.com>
15066
15067 PR python/20129:
15068 * gdb.python/py-framefilter.exp: Add tests for setting priority
15069 and disabling of non-existent frame filter.
15070
28244707
YQ
150712016-06-29 Yao Qi <yao.qi@linaro.org>
15072
15073 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15074 0x0f07ff.
15075
a31d2f06
YQ
150762016-06-28 Yao Qi <yao.qi@linaro.org>
15077
15078 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15079 triplets. Start gdb, execute catch syscall, and continue. Check
15080 gdb's output to determine catch syscall is supported.
15081
921d8f54
MG
150822016-06-27 Manish Goregaokar <manish@mozilla.com>
15083
25d49b86
PA
15084 * gdb.rust/simple.rs: Add test for returning unit in a function.
15085 * gdb.rust/simple.exp: Add expectation for functions returning
15086 unit.
921d8f54 15087
f4952523
PMR
150882016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15089
15090 * gdb.python/py-breakpoint-create-fail.c,
15091 gdb.python/py-breakpoint-create-fail.exp,
15092 gdb.python/py-breakpoint-create-fail.py: New testcase.
15093
fccb08f8
MG
150942016-06-25 Manish Goregaokar <manish@mozilla.com>
15095
15096 PR gdb/20239
15097 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15098 * gdb.rust/simple.exp: Add test expectations for new NonZero
15099 tests.
fccb08f8 15100
6b850546
DT
151012016-06-24 David Taylor <dtaylor@emc.com>
15102
15103 * gdb.base/offsets.exp: New file.
15104 * gdb.base/offsets.c: New file.
15105
17621150
TT
151062016-06-23 Tom Tromey <tom@tromey.com>
15107
15108 PR gdb/16483:
15109 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15110 before any filters are loaded.
15111
04d59df6
WT
151122016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15113
15114 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15115 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15116 structs.
15117 * gdb.fortran/derived-type-function.exp: New file.
15118 * gdb.fortran/derived-type-function.f90: New file.
15119
15120
ac69f786
PA
151212016-06-21 Pedro Alves <palves@redhat.com>
15122
15123 * gdb.base/new-ui.exp: New file.
15124 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15125 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15126 (with_spawn_id): New procedure.
15127
49940788
PA
151282016-06-21 Pedro Alves <palves@redhat.com>
15129
15130 * gdb.mi/mi-exec-run.exp: New file.
15131
ef274d26
PA
151322016-06-21 Pedro Alves <palves@redhat.com>
15133
15134 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15135 breakpoint command's output on the main UI.
15136 (test_break): New procedure, factored out from calls in the top
15137 level.
15138 (top level): Use foreach_with_prefix to test MI as main UI and as
15139 separate UI.
15140
468afe6c
PA
151412016-06-21 Pedro Alves <palves@redhat.com>
15142
15143 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15144 (test_awatch_creation_and_listing)
15145 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15146 Remove 'type' parameter.
15147 (test_watchpoint_all): New parameter mi_mode. Remove
15148 with_test_prefix.
15149 (top level): Use foreach_with_prefix, and add main/separate UI MI
15150 testing axis.
15151
51f77c37
PA
151522016-06-21 Pedro Alves <palves@redhat.com>
15153
15154 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15155 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15156 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15157 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15158 (gdb_main_spawn_id, mi_spawn_id): Declare and
15159 comment.
15160 (mi_create_inferior_pty): New procedure,
15161 factored out from default_mi_gdb_start.
15162 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15163 procedures.
15164 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15165 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15166 Use mi_create_inferior_pty.
15167 (mi_gdb_start): Use eval to pass down args list.
15168
8980e177
PA
151692016-06-21 Pedro Alves <palves@redhat.com>
15170
15171 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15172 * gdb.opt/inline-cmds.exp: Add MI tests.
15173
f38d3ad1
PA
151742016-06-21 Pedro Alves <palves@redhat.com>
15175
15176 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15177
45db7c09
PA
151782016-06-21 Pedro Alves <palves@redhat.com>
15179
15180 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15181 (top level): Use it instead of mi_execute_to.
15182
5a069ab3
PA
151832016-06-21 Pedro Alves <palves@redhat.com>
15184
15185 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15186 (cont_handler_str): New.
15187 (signal_stop_handler): Set stop_handler_str instead of printing to
15188 stdout.
15189 (continue_handler): Set cont_handler_str instead of printing to
15190 stdout.
15191 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15192 mi_send_resuming_command. Print stop_handler_str and
15193 cont_handler_str instead of expecting the python events print
15194 directly.
15195
2838cc1d
SD
151962016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15197
15198 * gdb.base/jit-reader.exp: New file.
15199 * gdb.base/jithost.c: New file.
15200 * gdb.base/jithost.h: New file.
15201 * gdb.base/jitreader.c : New file.
15202 * gdb.base/jit-protocol.h: New file.
15203
21a77091
YQ
152042016-06-17 Yao Qi <yao.qi@linaro.org>
15205
15206 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15207 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15208 and detach-on-fork. Adjust tests.
15209 (top level): Invoke break_cond_on_syscall with combinations of
15210 syscall, follow-fork-mode and detach-on-fork.
15211
f50bf8e5
YQ
152122016-06-17 Yao Qi <yao.qi@linaro.org>
15213
15214 * gdb.base/step-over-exit.c: New.
15215 * gdb.base/step-over-exit.exp: New.
15216
a28d8e50
YTL
152172016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15218
15219 * gdb.base/float.exp: Add target check for nds32*-*-*.
15220 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15221
cad8e26d
AB
152222016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15223
15224 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15225 for unsupported target features.
15226 * gdb.base/call-rt-st.exp: Likewise.
15227 * gdb.base/call-sc.exp: Likewise.
15228 * gdb.base/call-signal-resume.exp: Likewise.
15229 * gdb.base/call-strs.exp: Likewise.
15230 * gdb.base/callexit.exp: Likewise.
15231 * gdb.base/callfuncs.exp: Likewise.
15232 * gdb.base/nodebug.exp: Likewise.
15233 * gdb.base/printcmds.exp: Likewise.
15234 * gdb.base/ptype.exp: Likewise.
15235 * gdb.base/structs.exp: Likewise.
15236 * gdb.base/unwindonsignal.exp: Likewise.
15237 * gdb.cp/gdb2495.exp: Likewise.
15238 * gdb.cp/templates.exp: Likewise.
15239 * gdb.cp/virtfunc.exp: Likewise.
15240 * gdb.threads/hand-call-in-threads.exp: Likewise.
15241 * gdb.threads/interrupted-hand-call.exp: Likewise.
15242 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15243
347dc102
TT
152442016-06-10 Tom Tromey <tom@tromey.com>
15245
15246 PR rust/20110:
15247 * gdb.rust/expr.exp: Add test for integer constant larger than
15248 i32.
15249
5e13cf25
BH
152502016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15251
15252 * gdb.fortran/nested-funcs.exp: New.
15253 * gdb.fortran/nested-funcs.f90: New.
15254
bb556f1f
TK
152552016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15256
15257 * gdb.base/examine-backward.c: New file.
15258 * gdb.base/examine-backward.exp: New file.
15259
38b022b4
SM
152602016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15261
15262 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15263 matching.
15264
1b40ec05
TT
152652016-06-02 Tom Tromey <tom@tromey.com>
15266
15267 PR python/18984:
15268 * gdb.python/py-shared.exp: Add solib_name test.
15269
193bd378
SM
152702016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15271
15272 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15273
3326303b
MG
152742016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15275
15276 PR c++/19893
15277 * gdb.dwarf2/implref.exp: Rename to...
15278 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15279 * gdb.dwarf2/implref-array.c: New file.
15280 * gdb.dwarf2/implref-array.exp: Likewise.
15281 * gdb.dwarf2/implref-global.c: Likewise.
15282 * gdb.dwarf2/implref-global.exp: Likewise.
15283 * gdb.dwarf2/implref-struct.c: Likewise.
15284 * gdb.dwarf2/implref-struct.exp: Likewise.
15285
825c8ef2
AT
152862016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15287
15288 * gdb.trace/trace-condition.exp: Add 64bit tests.
15289
2320162a
AT
152902016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15291
15292 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15293 bits types.
15294 (main): Adapt to 8 to 64 bits types.
15295 * gdb.trace/trace-condition.exp: Add new tests.
15296
a7818233
AT
152972016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15298
15299 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15300
0d336466
AT
153012016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15302
15303 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15304 Move condition tests...
15305 * gdb.trace/trace-condition.exp: Here.
15306
7faeb45a
AT
153072016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15308
15309 * gdb.trace/trace-condition.exp: Add counter-case tests.
15310
e385593e
JK
153112016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15312
15313 PR c++/15231
15314 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15315 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15316
744608cc
PA
153172016-05-27 Pedro Alves <palves@redhat.com>
15318
15319 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15320 New procedure.
15321 (top level): Call it, and bail out of DejaGnu is known to be bad.
15322
ac775bf4
AB
153232016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15324
15325 * gdb.base/whatis.c: Extend the test case.
15326 * gdb.base/whatis.exp: Add additional tests.
15327
2bbad2ea
BH
153282016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15329
15330* gdb.fortran/type.f90: Add pointer variable.
15331* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15332
8b70175d
BH
153332016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15334
15335 * gdb.fortran/vla-type.exp: Fix testcase name.
15336
86d8a848
BH
153372016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15338
15339 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15340
e188eb36
BH
153412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15342
15343 * gdb.fortran/type.f90: Add nested structures.
15344 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15345 * gdb.fortran/derived-type.exp: Adapt expected output.
15346 * gdb.fortran/vla-type.exp: Adapt expected output.
15347
9b2db1fd
BH
153482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15349
15350 * gdb.fortran/whatis_type.exp: Adapt expected output.
15351
72b17055
BH
153522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15353
15354 * gdb.fortran/print_type.exp: Fix expected output.
15355 * gdb.fortran/whatis_type.exp: Fix expected output.
15356
3cd81d8d
BH
153572016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15358
15359 * gdb.fortran/whatis_type.exp: Use multi_line.
15360
ddae9462
TT
153612016-05-24 Tom Tromey <tom@tromey.com>
15362
15363 PR python/17386:
15364 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15365 use value as an index.
15366
1957f6b8
TT
153672016-05-23 Tom Tromey <tom@tromey.com>
15368
15369 PR python/17981:
15370 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15371 no-breakpoint case.
15372
026a9174
PA
153732016-05-24 Pedro Alves <palves@redhat.com>
15374
15375 PR gdb/19828
15376 * gdb.threads/clone-attach-detach.c: New file.
15377 * gdb.threads/clone-attach-detach.exp: New file.
15378
e70a7231
FR
153792016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15380
15381 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15382
0f6ed0e0
TT
153832016-05-23 Tom Tromey <tom@tromey.com>
15384
15385 PR python/19438, PR python/18393:
15386 * gdb.python/py-progspace.exp: Add "dir" test.
15387 * gdb.python/py-objfile.exp: Add "dir" test.
15388
ffd19d61
YQ
153892016-05-23 Yao Qi <yao.qi@linaro.org>
15390
15391 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15392 * gdb.arch/thumb2-it.exp: Likewise.
15393
9e8f9b05
SM
153942016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15395
15396 * gdb.mi/mi-threads-interrupt.c: New file.
15397 * gdb.mi/mi-threads-interrupt.exp: New file.
15398
61c6156d
SM
153992016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15400
15401 PR gdb/18077
15402 * gdb.mi/mi-async-run.exp: New file.
15403 * gdb.mi/mi-async-run.c: New file.
15404
67218854
TT
154052016-05-17 Tom Tromey <tom@tromey.com>
15406 Manish Goregaokar <manishsmail@gmail.com>
15407
15408 * lib/rust-support.exp: New file.
15409 * lib/gdb.exp (skip_rust_tests): New proc.
15410 (build_executable_from_specs): Handle rust.
15411 * lib/future.exp (gdb_find_rustc): New proc.
15412 (gdb_default_target_compile): Handle rust.
15413 * gdb.rust/expr.exp: New file.
15414 * gdb.rust/generics.exp: New file.
15415 * gdb.rust/generics.rs: New file.
15416 * gdb.rust/methods.exp: New file.
15417 * gdb.rust/methods.rs: New file.
15418 * gdb.rust/modules.exp: New file.
15419 * gdb.rust/modules.rs: New file.
15420 * gdb.rust/simple.exp: New file.
15421 * gdb.rust/simple.rs: New file.
15422
c44af4eb
TT
154232016-05-17 Tom Tromey <tom@tromey.com>
15424
15425 * gdb.base/default.exp (set language): Add rust.
15426
dcd1f979
TT
154272016-05-17 Tom Tromey <tom@tromey.com>
15428
15429 * gdb.gdb/unittest.exp: New file.
15430
155b7f57
YQ
154312016-05-16 Yao Qi <yao.qi@linaro.org>
15432
15433 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15434 shell_prompt. Update shell_prompt_re.
15435
8ddd5a6c
DE
154362016-05-12 Doug Evans <dje@google.com>
15437
15438 PR symtab/19999
15439 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15440 $options when building executable.
15441 * gdb.dwarf2/fission-loclists-pie.S: New file.
15442 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15443
02e370d9
SM
154442016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15445
15446 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15447 of [is_remote target],
15448
8929ad8b
SM
154492016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15450
15451 * lib/gdb.exp (use_gdb_stub): New procedure.
15452
6c447423
DE
154532016-05-03 Yunlian Jiang <yunlian@google.com>
15454 Doug Evans <dje@google.com>
15455
15456 PR symtab/19914
15457 * gdb.dwarf2/dwp-sepdebug.c: New file.
15458 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15459
444e826c
SM
154602016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15461
15462 * gdb.base/detach.exp: Remove is_remote check.
15463
740feeaa
SM
154642016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15465
15466 * gdb.base/annota-input-while-running.exp: Don't check for
15467 [is_remote target]. Enable annotations after running to main.
15468 Remove unused "set test..." line.
15469
9080ac9d
SM
154702016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15471
15472 * gdb.trace/trace-enable-disable.exp: New file.
15473 * gdb.trace/trace-enable-disable.c: New file.
15474
952ebca5
SM
154752016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15476
15477 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15478 use it in info sharedlibrary test.
15479 * gdb.trace/ftrace-lock.exp: Likewise.
15480 * gdb.trace/ftrace.exp: Likewise.
15481 * gdb.trace/range-stepping.exp: Likewise.
15482 * gdb.trace/trace-break.exp: Likewise.
15483 * gdb.trace/trace-condition.exp: Likewise.
15484 * gdb.trace/trace-mt.exp: Likewise.
15485
d9019901
SM
154862016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15487
15488 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15489 (gdb_load_shlib): ... this.
15490 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15491 gdb_load_shlib.
15492 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15493 * gdb.base/ctxobj.exp: Likewise.
15494 * gdb.base/dprintf-pending.exp: Likewise.
15495 * gdb.base/dso2dso.exp: Likewise.
15496 * gdb.base/fixsection.exp: Likewise.
15497 * gdb.base/gcore-relro.exp: Likewise.
15498 * gdb.base/gdb1555.exp: Likewise.
15499 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15500 * gdb.base/gnu-ifunc.exp: Likewise.
15501 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15502 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15503 * gdb.base/pending.exp: Likewise.
15504 * gdb.base/print-file-var.exp: Likewise.
15505 * gdb.base/print-symbol-loading.exp: Likewise.
15506 * gdb.base/shlib-call.exp: Likewise.
15507 * gdb.base/shreloc.exp: Likewise.
15508 * gdb.base/so-impl-ld.exp: Likewise.
15509 * gdb.base/solib-disc.exp: Likewise.
15510 * gdb.base/solib-nodir.exp: Likewise.
15511 * gdb.base/solib-overlap.exp: Likewise.
15512 * gdb.base/solib-symbol.exp: Likewise.
15513 * gdb.base/solib-weak.exp (do_test): Likewise.
15514 * gdb.base/sym-file.exp: Likewise.
15515 * gdb.base/symtab-search-order.exp: Likewise.
15516 * gdb.base/type-opaque.exp: Likewise.
15517 * gdb.base/unload.exp: Likewise.
15518 * gdb.base/watchpoint-solib.exp: Likewise.
15519 * gdb.compile/compile.exp: Likewise.
15520 * gdb.cp/gdb2384.exp: Likewise.
15521 * gdb.cp/infcall-dlopen.exp: Likewise.
15522 * gdb.cp/re-set-overloaded.exp: Likewise.
15523 * gdb.fortran/library-module.exp: Likewise.
15524 * gdb.opt/solib-intra-step.exp: Likewise.
15525 * gdb.python/py-finish-breakpoint.exp: Likewise.
15526 * gdb.python/py-shared.exp: Likewise.
15527 * gdb.reverse/solib-precsave.exp: Likewise.
15528 * gdb.reverse/solib-reverse.exp: Likewise.
15529 * gdb.server/solib-list.exp: Likewise.
15530 * gdb.threads/dlopen-libpthread.exp: Likewise.
15531 * gdb.threads/tls-shared.exp: Likewise.
15532 * gdb.threads/tls-so_extern.exp: Likewise.
15533 * gdb.trace/change-loc.exp: Likewise.
15534 * gdb.trace/ftrace-lock.exp: Likewise.
15535 * gdb.trace/ftrace.exp: Likewise.
15536 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15537 * gdb.trace/pending.exp: Likewise.
15538 * gdb.trace/range-stepping.exp: Likewise.
15539 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15540 (strace_info_marker): Likewise.
15541 (strace_probe_marker): Likewise.
15542 (strace_trace_on_same_addr): Likewise.
15543 (strace_trace_on_diff_addr): Likewise.
15544 * gdb.trace/trace-break.exp: Likewise.
15545 * gdb.trace/trace-condition.exp: Likewise.
15546 * gdb.trace/trace-mt.exp: Likewise.
15547
fca4cfd9
SM
155482016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15549
15550 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15551 result of gdb_remote_download.
15552 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15553 * gdb.base/dso2dso.exp: Likewise.
15554 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15555 * gdb.base/print-file-var.exp: Likewise.
15556 * gdb.base/shlib-call.exp: Likewise.
15557 * gdb.base/shreloc.exp: Likewise.
15558 * gdb.base/solib-overlap.exp: Likewise.
15559 * gdb.base/solib-weak.exp (do_test): Likewise.
15560 * gdb.base/unload.exp: Likewise.
15561
11cf4ffb
YQ
155622016-04-27 Yao Qi <yao.qi@linaro.org>
15563
15564 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15565 exists.
15566
3e2e34f8
KB
155672016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15568
15569 * vla-type.exp: Print structure from toplevel.
15570
8f07e298
BH
155712016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15572
15573 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15574 of dynamic types.
15575 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15576 of dynamic types.
15577
9920b434
BH
155782016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15579
15580 * gdb.fortran/vla-type.f90: New file.
15581 * gdb.fortran/vla-type.exp: New file.
15582
f3abeff5
YQ
155832016-04-25 Yao Qi <yao.qi@linaro.org>
15584
15585 * gdb.base/branch-to-self.c: New file.
15586 * gdb.base/branch-to-self.exp: New file.
15587
0a5d52f0
YQ
155882016-04-22 Yao Qi <yao.qi@linaro.org>
15589
15590 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15591 more after $hex.
15592
495346f6
YQ
155932016-04-22 Yao Qi <yao.qi@linaro.org>
15594
15595 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15596 * gdb.base/annota3.exp: Likewise.
15597
4a7e075c
YQ
155982016-04-22 Yao Qi <yao.qi@linaro.org>
15599
15600 * gdb.reverse/step-precsave.exp: Do one step and test program
15601 stops in "callee" and do multiple steps until program goes out
15602 of "callee".
15603 * gdb.reverse/step-reverse.exp: Likewise.
15604
5b061e98
YQ
156052016-04-22 Yao Qi <yao.qi@linaro.org>
15606
15607 * gdb.trace/signal.exp: Also pass if
15608 $tracepoint_hits($i) > $iterations.
15609
5c5dc57f
YQ
156102016-04-22 Yao Qi <yao.qi@linaro.org>
15611
15612 * gdb.trace/signal.c: New file.
15613 * gdb.trace/signal.exp: New file.
15614
a55411b9
DE
156152016-04-19 Doug Evans <xdje42@gmail.com>
15616
15617 * gdb.base/bad-file.exp: New file.
15618
a22df60a
MG
156192016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15620
15621 * gdb.dwarf2/implref.exp: New file.
15622
0c13f7e5
BH
156232016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15624
15625 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15626 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15627 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15628 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15629 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15630 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15631 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15632 * lib/fortran.exp (fortran_int4): New procedure.
15633 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15634 (fortran_logical4): Likewise.
15635
9b9b09e9
BH
156362016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15637
15638 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15639
a14d1f4d
BH
156402016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15641
15642 * lib/compiler.c: Add Intel specific preprocessor macros.
15643 * lib/compiler.cc: Likewise.
25d49b86 15644
7d49b1d0
LM
156452016-04-13 Luis Machado <lgustavo@codesourcery.com>
15646
15647 * gdb.server/connect-with-no-symbol-file.c: New file.
15648 * gdb.server/connect-with-no-symbol-file.exp: New file.
15649
8392fa22
SM
156502016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15651
15652 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15653
8c4c4aeb
SM
156542016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15655
15656 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15657 standard output directory.
15658
45e3745e
AT
156592016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15660
15661 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15662
e26b7e41
MM
156632016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15664
15665 * gdb.btrace/instruction_history.c (loop): Add declaration.
15666
8ce09462
AT
156672016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15668
15669 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15670
2e88a1ea
SM
156712016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15672
15673 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15674 parentheses to print.
15675 (continue_handler): Likewise.
15676
f48e22e3
SM
156772016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15678
15679 * gdb.server/solib-list.exp: Remove is_remote check.
15680 Pass shlib= to gdb_compile. Don't link shared library with
15681 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15682 Run binary filename through "readlink -f" on the target.
15683
096be756
PA
156842016-04-08 Pedro Alves <palves@redhat.com>
15685
15686 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15687 interpreter filename as argument to gdbserver_spawn.
15688 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15689 Return empty if $last_loaded_file does not exist.
15690
06500533
JK
156912016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15692
15693 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15694 * gdb.base/jit-main.c: Use exit after usage.
15695
2d35e871
JK
156962016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15697
15698 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15699 GDBHISTSIZE prior to the tests.
15700 * gdb.base/gdbinit-history.exp: Likewise.
15701
157022016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15703
15704 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15705 instead of build_executable. Use gdb_load_shlibs.
15706
c8064e7e
YQ
157072016-04-07 Yao Qi <yao.qi@linaro.org>
15708
15709 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15710 Execute "si" command.
15711
bde47561
YQ
157122016-04-07 Yao Qi <yao.qi@linaro.org>
15713
15714 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15715 number instead of the comments on some line.
15716
b16f8a3b
DB
157172016-04-06 Don Breazeal <donb@codesourcery.com>
15718
15719 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15720 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15721
c2f901df
SM
157222016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15723
15724 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15725 standard_output_file. Remove unused binfile variable.
15726
ac17fda0
CU
157272016-04-05 Catalin Udma <catalin.udma@freescale.com>
15728
15729 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15730 * gdb.python/py-mi-objfile.exp: Match "list main" output
15731 in console format.
15732
03a8c4df
SM
157332016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15734
15735 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15736 absolute.
15737
6e774b13
SM
157382016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15739
15740 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15741 absolute.
15742 * gdb.trace/ftrace.exp: Likewise.
15743 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15744 targets as well.
15745 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15746 (gdb_load_shlibs): Copy libraries to test directory when testing
15747 natively. Only set solib-search-path if testing remotely.
15748 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15749
7817ea46
SM
157502016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15751
15752 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15753 gdb_download. Use it even if the target is not remote.
15754 * gdb.base/jit.exp (compile_jit_test): Likewise.
15755 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15756 output directory if the destination board is local, otherwise use
15757 the standard remote_download from DejaGnu.
15758 (gdb_download): Remove.
15759 (gdb_load_shlibs): Use gdb_remote_download instead of
15760 gdb_download.
15761 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15762 Use gdb_remote_download instead of gdb_download. Use it even if
15763 the target is not remote.
15764 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15765 instead of gdb_download.
15766
7beb7f68
SM
157672016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15768
15769 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15770 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15771 run.
15772
cc63428a
AV
157732016-04-01 Artemiy Volkov <artemiyv@acm.org>
15774
15775 PR gdb/19820
15776 * gdb.base/printcmds.exp: Add artificial arrays tests.
15777
64cdf930
PA
157782016-03-31 Pedro Alves <palves@redhat.com>
15779
15780 PR gdb/19858
15781 * gdb.base/jit-main.c: Include unistd.h.
15782 (ATTACH): Define to 0 if not already defined.
15783 (wait_for_gdb, mypid): New globals.
15784 (WAIT_FOR_GDB): New macro.
15785 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15786 some breakpoint locations.
15787 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15788 New procedures.
15789 (one_jit_test): Add REATTACH parameter, and handle it. Use
15790 continue_to_test_location.
15791 (top level): Test attach, and adjusts calls to one_jit_test.
15792
40dea8cb
PA
157932016-03-31 Pedro Alves <palves@redhat.com>
15794
15795 PR gdb/19858
15796 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15797 BINSUFFIX parameter, and handle it.
15798 (top level): Adjust calls compile_jit_test.
15799
e7ea3ec7
CU
158002016-03-31 Catalin Udma <catalin.udma@freescale.com>
15801
15802 PR python/19743
15803 * gdb.python/py-mi-events-gdb.py: New file.
15804 * gdb.python/py-mi-events.c: New file.
15805 * gdb.python/py-mi-events.exp: New file.
15806
e6359af3
YQ
158072016-03-30 Yao Qi <yao.qi@linaro.org>
15808
15809 * gdb.reverse/until-precsave.exp: Match function name only.
15810 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15811 Move malloc to a condition block.
15812 * gdb.reverse/until-reverse.exp: Match function name only.
15813
a4105d04
MK
158142016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15815
15816 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15817 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15818 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15819 variable for GPR 0 instead of assuming it is register 0.
15820 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15821 * lib/trace-support.exp: Add s390 registers.
15822
bfa6adb9
YQ
158232016-03-29 Yao Qi <yao.qi@linaro.org>
15824
15825 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15826
1e6697ea
YQ
158272016-03-24 Yao Qi <yao.qi@linaro.org>
15828
15829 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15830 test message.
15831
64bcd522
AA
158322016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15833
15834 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15835 maintaining separate logic for constructing the output path.
15836
7868401b
DB
158372016-03-16 Don Breazeal <donb@codesourcery.com>
15838
15839 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15840 Retry fork and waitpid on interrupted system call errors.
15841 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15842 Use with_timeout_factor to increase timeout by factor of 10.
15843
1cafadb4
DB
158442016-03-15 Don Breazeal <donb@codesourcery.com>
15845
15846 * gdb.cp/scope-err.cc: New test program.
15847 * gdb.cp/scope-err.exp: New test script.
15848 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15849 lines and "set breakpoint here" comment.
15850 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15851 Fixed some whitespace and format issues.
15852 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15853 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15854
81516450
DE
158552016-03-15 Doug Evans <dje@google.com>
15856
15857 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15858 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15859 All callers updated. Add tests for enums, mixed flags register.
15860
aa52b601
DE
158612016-03-15 Doug Evans <dje@google.com>
15862
15863 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15864 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15865
fa4ff313
SM
158662016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15867
15868 * gdb.base/default.exp: Add $_as_string to the list of expected
15869 convenience functions.
15870
f2403c39
AB
158712016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15872
15873 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15874
f2f3ccb9
SM
158752016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15876
15877 * gdb.python/py-as-string.exp: New file.
15878 * gdb.python/py-as-string.c: New file.
15879
00dbd492
PA
158802016-03-09 Pedro Alves <palves@redhat.com>
15881
15882 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15883 signal" -> "Thread NN received signal" output change.
15884 * gdb.threads/ia64-sigill.exp: Likewise.
15885 * gdb.threads/linux-dp.exp: Likewise.
15886 * gdb.threads/manythreads.exp: Likewise.
15887 * gdb.threads/pending-step.exp: Likewise.
15888 * gdb.threads/print-threads.exp: Likewise.
15889 * gdb.threads/sigstep-threads.exp: Likewise.
15890 * gdb.threads/staticthreads.exp: Likewise.
15891 * gdb.threads/tls.exp: Likewise.
15892
1e6697ea
YQ
158932016-03-09 Pedro Alves <palves@redhat.com>
15894
15895 * gdb.base/command-line-input.exp: New file.
15896
b04fd3be
MK
158972016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15898
15899 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15900 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15901 * gdb.trace/pending.exp: Accept leading dot before function name.
15902 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15903 * lib/trace-support.exp: Set registers for ppc.
15904
98fa59e9
MK
159052016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15906
15907 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15908 use it for disassembly; accept .main in addition to main in backtrace.
15909
f77198c8
MK
159102016-03-09 Wei-cheng Wang <cole945@gmail.com>
15911 Marcin Kościelnicki <koriakin@0x04.net>
15912
15913 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15914 (gdb_recursion_test_ptr): New global variable.
15915 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15916 gdb_recursion_test.
15917 (gdb_c_test): Ditto.
15918
ba84e0da
MK
159192016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15920
15921 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15922 ordering.
15923
4366d36e
MK
159242016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15925
15926 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15927 (bar): Add bar_start_lbl label.
15928 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15929 of foo/bar for emitting DWARF and tracing.
15930
5eb264df
SDJ
159312016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15932
15933 * analyze-racy-logs.py: Set executable bit.
15934
fb6a751f
SDJ
159352016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15936
15937 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15938 (CHECK_TARGET_TMP): Likewise.
15939 (check-single-racy): New rule.
15940 (check-parallel-racy): Likewise.
15941 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15942 (do-check-parallel-racy): New rule.
15943 (check-racy/%.exp): Likewise.
15944 * README (Racy testcases): New section.
15945 * analyze-racy-logs.py: New file.
15946
bdf7e230
DE
159472016-03-03 Doug Evans <dje@google.com>
15948
15949 * gdb.base/skip.exp: Use with_test_prefix.
15950
4719d415
YQ
159512016-03-03 Yao Qi <yao.qi@linaro.org>
15952
15953 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15954 Invoke step_over_syscall "clone" and break_cond_on_syscall
15955 "clone".
15956 * gdb.base/step-over-clone.c: New file.
15957
ea507862
YQ
159582016-03-03 Yao Qi <yao.qi@linaro.org>
15959
15960 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15961 code format.
15962
8fc8cbda
YQ
159632016-03-03 Yao Qi <yao.qi@linaro.org>
15964
15965 * gdb.base/disp-step-fork.c: Rename to ...
15966 * gdb.base/step-over-fork.c: ... it. New file.
15967 * gdb.base/disp-step-vfork.c: Rename to ...
15968 * gdb.base/step-over-vfork.c: ... it. New file.
15969 * gdb.base/disp-step-syscall.exp: Rename to ...
15970 * gdb.base/step-over-syscall.exp: ... it. New file.
15971 (disp_step_cross_syscall): Rename to ...
15972 (step_over_syscall): ... it.
15973
92fa70b0
YQ
159742016-03-03 Yao Qi <yao.qi@linaro.org>
15975
15976 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15977 If target supports condition evaluation on target, invoke
15978 break_cond_on_syscall for fork and vfork.
15979
e197ad3c
YQ
159802016-03-03 Yao Qi <yao.qi@linaro.org>
15981
15982 * gdb.base/disp-step-syscall.exp: Don't invoke
15983 support_displaced_stepping.
15984 (disp_step_cross_syscall): Test with displaced stepping off and
15985 on if supported.
15986
0b47da9f
YQ
159872016-03-03 Yao Qi <yao.qi@linaro.org>
15988
15989 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15990 proc.
15991 (setup): New proc.
15992 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15993 and setup.
15994
065ab6dc
BH
159952016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15996
15997 * gdb.fortran/vla-history.exp: Remove breakpoint.
15998
07e448ad 159992016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16000
25d49b86
PA
16001 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16002 exceeds timeout.
07e448ad 16003
9ac2d526 160042016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16005
25d49b86
PA
16006 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16007 breakpoint.
9ac2d526 16008
17807369
BH
160092016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16010
16011 * gdb.mi/vla.f90: Nullify pointer after declaration.
16012
86e501af
PA
160132016-03-01 Pedro Alves <palves@redhat.com>
16014
16015 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16016
1e903e32
PA
160172016-03-01 Pedro Alves <palves@redhat.com>
16018
16019 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16020 before anything else.
16021 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16022 _GNU_SOURCE here.
16023 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16024 before anything else.
16025 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16026
6ccb54e2
PA
160272016-03-01 Pedro Alves <palves@redhat.com>
16028
16029 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16030
30ca9da1
YQ
160312016-03-01 Yao Qi <yao.qi@linaro.org>
16032
16033 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16034 prepare_for_testing.
16035
dc856b38
YQ
160362016-03-01 Yao Qi <yao.qi@linaro.org>
16037
16038 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16039
4a932159
AA
160402016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16041
16042 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16043 manually constructing the output path.
16044
f2489477
AA
160452016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16046
16047 * gdb.arch/s390-stackless.S: New.
16048 * gdb.arch/s390-stackless.exp: New.
16049
38899f16
IB
160502016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16051
16052 * gdb.dlang/circular.c: New file.
16053 * gdb.dlang/circular.exp: New file.
16054
9fde51ed
YQ
160552016-02-26 Yao Qi <yao.qi@linaro.org>
16056
16057 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16058 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16059 (testcases): Update.
16060
ce90fefe
YQ
160612016-02-26 Yao Qi <yao.qi@linaro.org>
16062
16063 * gdb.reverse/aarch64.c: Rename to ...
16064 * gdb.reverse/insn-reverse.c: ... it.
16065 * gdb.reverse/aarch64.exp: Rename to ...
16066 * gdb.reverse/insn-reverse.exp: ... it.
16067
3263bceb
YQ
160682016-02-26 Yao Qi <yao.qi@linaro.org>
16069
16070 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16071 (testcase_ftype): New.
16072 (testcases): New array.
16073 (n_testcases): New.
16074 (main): Call each element in testcases.
16075 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16076 (read_testcase): New.
16077 Do the tests in a loop.
16078
6cb59ff1
YQ
160792016-02-25 Yao Qi <yao.qi@linaro.org>
16080
16081 * gdb.base/branches.c: Remove.
16082
ae91f625
MK
160832016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16084
16085 PR gdb/13808
16086 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16087
678b48b7
MK
160882016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16089
16090 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16091
7337a6f2
MK
160922016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16093
16094 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16095 change x86_64 call_insn to 'callq'.
16096
861ca91f
AT
160972016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16098
16099 * gdb.trace/tfile-avx.c: Move to...
16100 * gdb.trace/tracefile-pseudo-reg.c: Here.
16101 * gdb.trace/tfile-avx.exp: Move to...
16102 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16103
bf74e428
GB
161042016-02-24 Gary Benson <gbenson@redhat.com>
16105
16106 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16107 message on attach.
16108
cce0e923
DE
161092016-02-23 Doug Evans <dje@google.com>
16110
16111 * gdb.base/skip.c (test_skip): New function.
16112 (end_test_skip_file_and_function): New function.
16113 (test_skip_file_and_function): New function.
16114 * gdb.base/skip1.c (test_skip): New function.
16115 (skip1_test_skip_file_and_function): New function.
16116 * gdb.base/skip.exp: Add tests for new skip options.
16117 * gdb.base/skip-solib.exp: Update expected output.
16118 * gdb.perf/skip-command.cc: New file.
16119 * gdb.perf/skip-command.exp: New file.
16120 * gdb.perf/skip-command.py: New file.
16121
4000e47e
MK
161222016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16123
16124 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16125 info registers pattern.
16126
24f75ead
IB
161272016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16128
16129 * lib/future.exp: Add D support.
16130 (gdb_find_gdc): New proc.
16131 (gdb_default_target_compile): Add D support.
16132
fbb7bcbe
WW
161332016-02-18 Wei-cheng Wang <cole945@gmail.com>
16134
16135 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16136 user+system time.
16137 (trace_speed_test): Determine the iteration count for a time
16138 between 15..30 seconds.
16139
012b3a21
WT
161402016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16141
16142 * gdb.arch/i386-mpx-sigsegv.c: New file.
16143 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16144 * gdb.arch/i386-mpx-simple_segv.c: New file.
16145 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16146
2d5189bd
YQ
161472016-02-18 Yao Qi <yao.qi@linaro.org>
16148
16149 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16150 Don't call setup_kfail.
16151
40fb20d0
YQ
161522016-02-18 Yao Qi <yao.qi@linaro.org>
16153
16154 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16155 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16156
21b1f8d2
DE
161572016-02-16 Doug Evans <dje@google.com>
16158
16159 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16160 * gdb.base/skip1.c: Ditto.
16161 * gdb.base/skip.exp: Whitespace cleanup.
16162
4041ed77
DB
161632016-02-16 Don Breazeal <donb@codesourcery.com>
16164
16165 PR remote/19496
16166 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16167 Remove kfail for PR remote/19496.
16168
c4ef31bf
SM
161692016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16170
16171 * lib/gdb.exp (standard_temp_file): Return a path specific to
16172 the runtest invocation.
16173
266b65b3
SM
161742016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16175
16176 * gdb.trace/save-trace.exp: Change relative path to be in the
16177 standard output directory.
16178
a7a0a6a9
JK
161792016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16180
16181 * gdb.arch/i386-prologue.c: Add missing prototypes.
16182
c99dbb42
JK
161832016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16184
16185 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16186 * gdb.arch/i386-prologue.exp: Likewise.
16187 * gdb.arch/i386-size.exp: Likewise.
16188
aa480355
SM
161892016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16190
16191 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16192 define object file path.
16193 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16194 file path.
16195 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16196 standard_output_file to define binfile.
16197
ba881f50
JK
161982016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16199
16200 Fix compatibility with recent gfortran-5.3.1.
16201 * gdb.fortran/vla-history.exp (print vla1 allocated)
16202 (print vla2 allocated, print $2, print $3): Remove
16203 (print $4): Rename to ...
16204 (print $2): ... here.
16205 (print $9): Rename to ...
16206 (print $5): ... here.
16207 (print $10): Rename to ...
16208 (print $6): ... here.
16209 * gdb.fortran/vla.f90: Add pvla initialization.
16210
e9fb005c
JK
162112016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16212
16213 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16214 New test.
16215 * gdb.fortran/vla-value-sub.exp: Likewise.
16216
e44e00ff
MK
162172016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16218
16219 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16220
97e94151
SM
162212016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16222
16223 * i386-biarch-core.exp: Define corefile using
16224 standard_output_file.
16225
01113bc1
YQ
162262016-02-12 Yao Qi <yao.qi@linaro.org>
16227
16228 * gdb.arch/arm-single-step-kernel-helper.c: New.
16229 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16230
33b4777c
MM
162312016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16232
16233 * gdb.btrace/tailcall-only.exp: New.
16234 * gdb.btrace/tailcall-only.c: New.
16235 * gdb.btrace/x86_64-tailcall-only.S: New.
16236 * gdb.btrace/i686-tailcall-only.S: New.
16237
acc23c11
PA
162382016-02-11 Pedro Alves <palves@redhat.com>
16239
16240 * README (Parallel testing): Add missing double quotes.
16241
e352bf0a
PA
162422016-02-11 Pedro Alves <palves@redhat.com>
16243
16244 * README (Parallel testing): New section.
16245 (GDB_PARALLEL): Rewrite.
16246 (FORCE_PARALLEL): Document.
16247
9f5fed78
MK
162482016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16249
16250 * gdb.trace/tfile-avx.c: New test.
16251 * gdb.trace/tfile-avx.exp: New test.
16252
9ef9e6a6
KS
162532016-02-09 Keith Seitz <keiths@redhat.com>
16254
16255 PR breakpoints/19546
16256 * gdb.base/infcall-exec.c: New file.
16257 * gdb.base/infcall-exec2.c: New file.
16258 * gdb.base/infcall-exec.exp: New file.
16259
a96e36da
KS
162602016-02-09 Keith Seitz <keiths@redhat.com>
16261
16262 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16263 (toplevel): Call test_bkpt_address.
16264
9f61929f
KS
162652016-02-09 Keith Seitz <keiths@redhat.com>
16266
16267 PR python/19506
16268 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16269 (toplevel): Call test_bkpt_address.
16270
1e94266c
SM
162712016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16272
16273 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16274 to AC_OUTPUT.
16275 * configure: Regenerate.
16276
2a7f3dff
PA
162772016-02-09 Pedro Alves <palves@redhat.com>
16278
16279 PR breakpoints/19548
16280 * gdb.base/execl-update-breakpoints.c (some_function): New
16281 function.
16282 (main): Call it.
16283 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16284 Tighten expected GDB output.
16285
2151ccc5
SM
162862016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16287
16288 * Makefile.in (ALL_SUBDIRS): Remove.
16289 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16290 (distclean maintainer-clean realclean): Likewise.
16291 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16292 * configure: Regenerate.
16293 * gdb.ada/Makefile.in: Delete.
16294 * gdb.arch/Makefile.in: Likewise.
16295 * gdb.asm/Makefile.in: Likewise.
16296 * gdb.base/Makefile.in: Likewise.
16297 * gdb.btrace/Makefile.in: Likewise.
16298 * gdb.cell/Makefile.in: Likewise.
16299 * gdb.compile/Makefile.in: Likewise.
16300 * gdb.cp/Makefile.in: Likewise.
16301 * gdb.disasm/Makefile.in: Likewise.
16302 * gdb.dlang/Makefile.in: Likewise.
16303 * gdb.dwarf2/Makefile.in: Likewise.
16304 * gdb.fortran/Makefile.in: Likewise.
16305 * gdb.gdb/Makefile.in: Likewise.
16306 * gdb.go/Makefile.in: Likewise.
16307 * gdb.guile/Makefile.in: Likewise.
16308 * gdb.java/Makefile.in: Likewise.
16309 * gdb.linespec/Makefile.in: Likewise.
16310 * gdb.mi/Makefile.in: Likewise.
16311 * gdb.modula2/Makefile.in: Likewise.
16312 * gdb.multi/Makefile.in: Likewise.
16313 * gdb.objc/Makefile.in: Likewise.
16314 * gdb.opencl/Makefile.in: Likewise.
16315 * gdb.opt/Makefile.in: Likewise.
16316 * gdb.pascal/Makefile.in: Likewise.
16317 * gdb.perf/Makefile.in: Likewise.
16318 * gdb.python/Makefile.in: Likewise.
16319 * gdb.reverse/Makefile.in: Likewise.
16320 * gdb.server/Makefile.in: Likewise.
16321 * gdb.stabs/Makefile.in: Likewise.
16322 * gdb.threads/Makefile.in: Likewise.
16323 * gdb.trace/Makefile.in: Likewise.
16324 * gdb.xml/Makefile.in: Likewise.
16325 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16326 GDB_PARALLEL.
16327 (standard_output_file): Remove check for GDB_PARALLEL, always
16328 return path in outputs/$subdir/$testname.
16329
437277d4
SM
163302016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16331
16332 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16333 (site.exp): Assign abs_srcdir to tcl's srcdir.
16334
31d913c7
YQ
163352016-02-04 Yao Qi <yao.qi@linaro.org>
16336
16337 * gdb.base/foll-exec-mode.c: Include limits.h.
16338 (main): Add parameters argc and argv. Get directory from
16339 argv[0].
16340 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16341 compilation.
16342 * gdb.base/foll-exec.c: Include limits.h.
16343 (main): Add parameters argc and argv.
16344 Get directory from argv[0].
16345 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16346 Adjust tests on the number of lines as source code changed.
16347 * gdb.base/foll-vfork-exit.c: Include limits.h.
16348 (main): Add one line of statement before vfork.
16349 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16350 (main): Add parameters argc and argv. Get directory from
16351 argv[0].
16352 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16353 (setup_gdb): Set tbreak to skip some source lines.
16354 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16355 (main): Add parameters argc and argv. Get directory from
16356 argv[0].
16357 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16358 compilation.
16359 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16360 (main): Add parameters argc and argv. Get directory from
16361 argv[0].
16362 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16363 compilation.
16364
9482b9fb
DE
163652016-02-01 Doug Evans <dje@google.com>
16366
16367 * gdb.base/skip.exp: Clean up multiple references to same test name.
16368
6b2e4f10
PA
163692016-02-01 Pedro Alves <palves@redhat.com>
16370
ccb6afd6 16371 PR remote/19496
6b2e4f10
PA
16372 * gdb.threads/forking-threads-plus-breakpoint.exp
16373 (displaced_stepping_supported): New global.
16374 (probe_displaced_stepping_support): New procedure.
16375 (do_test): Add 'displaced' parameter, and use it.
16376 (top level): Check for displaced stepping support. Add displaced
16377 stepping on/off testing axis.
16378
37a8db1a
AB
163792016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16380
16381 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16382 pointer. Don't perform further tests on the unassociated pointer
16383 if the first test fails.
16384
5fdf6324
AB
163852016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16386
16387 * gdb.base/max-value-size.c: New file.
16388 * gdb.base/max-value-size.exp: New file.
16389 * gdb.base/huge.exp: Disable max-value-size for this test.
16390
935c6144
IB
163912016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16392
16393 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16394
7fe8399d
YQ
163952016-01-28 Yao Qi <yao.qi@linaro.org>
16396
16397 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16398
a2077e25
PA
163992016-01-25 Pedro Alves <palves@redhat.com>
16400
16401 PR threads/19461
16402 * gdb.base/fork-running-state.c: New file.
16403 * gdb.base/fork-running-state.exp: New file.
16404
1d2736d4
PA
164052016-01-25 Pedro Alves <palves@redhat.com>
16406
16407 PR gdb/19494
16408 * gdb.base/catch-fork-kill.c: New file.
16409 * gdb.base/catch-fork-kill.exp: New file.
16410
f1da4b11
PA
164112016-01-25 Pedro Alves <palves@redhat.com>
16412
16413 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16414 Delete, moved to lib/gdb.exp.
16415 * gdb.threads/forking-threads-plus-breakpoint.exp
16416 (foreach_with_prefix): Likewise.
16417 * gdb.threads/process-dies-while-handling-bp.exp
16418 (foreach_with_prefix): Likewise.
16419 * lib/gdb.exp (foreach_with_prefix): New procedure.
16420
45f38546
MK
164212016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16422
16423 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16424 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16425
dc29a1ce
MK
164262016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16427
16428 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16429 endian targets.
16430
092127d7
JK
164312016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16432 Pedro Alves <palves@redhat.com>
16433
16434 Fix testsuite compatibility with Guile.
16435 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16436 number.
16437
31d765d3
JK
164382016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16439
16440 Fix testsuite compatibility with Guile.
16441 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16442 (thread 1): New test for backtrace through signal handler.
16443
1ac78c04
YQ
164442016-01-22 Yao Qi <yao.qi@linaro.org>
16445
16446 PR testsuite/19491
16447 * gdb.base/multi-forks.c: Include
16448 ../lib/unbuffer_output.c
16449 (main): Call gdb_unbuffer_output.
16450
4f5946a8
DE
164512016-01-21 Doug Evans <dje@google.com>
16452
16453 * lib/ada.exp (gdb_compile_ada): Fix typo.
16454
305e13e6
JB
164552016-01-21 Joel Brobecker <brobecker@adacore.com>
16456
16457 * gdb.base/break-fun-addr.exp: New file.
16458 * gdb.base/break-fun-addr1.c: New file.
16459 * gdb.base/break-fun-addr2.c: New file.
16460
5f5dfff6
SM
164612016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16462
16463 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16464 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16465 enum flag values.
16466
fd356fa2
AA
164672016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16468
16469 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16470 when GDB can not set the vector return value. Add more comments
16471 for clarification.
16472
9df22175
AT
164732016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16474
16475 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16476 command.
16477
41d1845e
SM
164782016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16479
16480 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16481
01ac6840
SM
164822016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16483
16484 * Makefile.in (check-single): Pass --status to runtest.
16485 (check/%.exp): Likewise.
16486
164872016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16488
16489 * Makefile.in (check-parallel): Propagate return code from make
16490 do-check-parallel.
16491
bd0a71fa
MK
164922016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16493
16494 * gdb.trace/ftrace.exp: Fix expected message on continue.
16495 * gdb.trace/pending.exp: Fix expected message on continue.
16496 * gdb.trace/trace-break.exp: Fix expected message on continue.
16497
8bcbad33
SM
164982016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16499
16500 * lib/gdb.exp (gdb_test): Remove unused global references.
16501
f303dbd6
PA
165022016-01-18 Pedro Alves <palves@redhat.com>
16503
16504 * gdb.base/async-shell.exp: Adjust expected output.
16505 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16506 * gdb.base/siginfo-thread.exp: Adjust expected output.
16507 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16508 * gdb.java/jnpe.exp: Adjust expected output.
16509 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16510 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16511 * gdb.threads/leader-exit.exp: Adjust expected output.
16512 * gdb.threads/manythreads.exp: Adjust expected output.
16513 * gdb.threads/pthreads.exp: Adjust expected output.
16514 * gdb.threads/schedlock.exp: Adjust expected output.
16515 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16516 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16517 expected output.
16518 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16519 output.
16520 * gdb.threads/sigthread.exp: Adjust expected output.
16521 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16522
b2789696
YQ
165232016-01-18 Yao Qi <yao.qi@linaro.org>
16524
16525 * gdb.guile/scm-section-script.c: Replace @progbits with
16526 %progbits.
16527 * gdb.python/py-section-script.c: Likewise.
16528
71ef29a8
PA
165292016-01-15 Pedro Alves <palves@redhat.com>
16530
16531 * gdb.multi/tids.exp: Test star wildcard ranges.
16532
3f5b7598
PA
165332016-01-15 Pedro Alves <palves@redhat.com>
16534
16535 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16536 command from "thread apply" invocation.
16537 (thr_apply_info_thr_invalid): Default the expected output to the
16538 input tid list.
16539 (top level): Add tests that use convenience variables. Add tests
16540 for "thread apply" with a valid TID list, but missing the command.
16541
663f6d42
PA
165422016-01-13 Pedro Alves <palves@redhat.com>
16543
16544 * gdb.base/default.exp: Expect $_gthread as well.
16545 * gdb.multi/tids.exp: Test $_gthread.
16546 * gdb.threads/thread-specific.exp: Test $_gthread.
16547
c84f6bbf
PA
165482016-01-13 Pedro Alves <palves@redhat.com>
16549
16550 * gdb.multi/tids.exp: Test "info threads -gid".
16551
22a02324
PA
165522016-01-13 Pedro Alves <palves@redhat.com>
16553
16554 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16555 Breakpoint.thread.
16556 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16557
5d5658a1
PA
165582016-01-07 Pedro Alves <palves@redhat.com>
16559
16560 * gdb.base/break.exp: Adjust to output changes.
16561 * gdb.base/hbreak2.exp: Likewise.
16562 * gdb.base/sepdebug.exp: Likewise.
16563 * gdb.base/watch_thread_num.exp: Likewise.
16564 * gdb.linespec/keywords.exp: Likewise.
16565 * gdb.multi/info-threads.exp: Likewise.
16566 * gdb.threads/thread-find.exp: Likewise.
16567 * gdb.multi/tids.c: New file.
16568 * gdb.multi/tids.exp: New file.
16569
84654457
PA
165702016-01-13 Pedro Alves <palves@redhat.com>
16571
16572 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16573
e3940304
PA
165742016-01-13 Pedro Alves <palves@redhat.com>
16575
16576 * gdb.base/default.exp: Expect $_inferior as well.
16577 * gdb.multi/base.exp: Test $_inferior.
16578
a911d87a
PA
165792016-01-13 Pedro Alves <palves@redhat.com>
16580
16581 PR breakpoints/19388
16582 * gdb.base/catch-signal-siginfo-cond.c: New file.
16583 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16584
82075af2
JS
165852016-01-12 Josh Stone <jistone@redhat.com>
16586 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16587
16588 * gdb.base/catch-syscall.c (do_execve): New variable.
16589 (main): Conditionally trigger an execve.
16590 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16591 (test_catch_syscall_execve): New, check entry/return across execve.
16592 (do_syscall_tests): Call test_catch_syscall_execve.
16593
e46eeedd
PA
165942016-01-12 Pedro Alves <palves@redhat.com>
16595
16596 * gdb.base/random-signal.exp (do_test): New procedure, with body
16597 of testcase moved in.
16598
01d8c27e
JK
165992016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16600 Pedro Alves <palves@redhat.com>
16601
16602 * gdb.base/funcargs.exp (finish from indirectly called function):
16603 Reintroduce the case for 'First'.
16604
9a706302
JK
166052016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16606 Pedro Alves <palves@redhat.com>
16607
16608 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16609 (tcatch_vfork_then_child_follow_exec)
16610 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16611 identification.
16612
c0ecb95f
JK
166132016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16614
16615 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16616 and repeats to unlimited.
16617 * gdb.python/py-value.exp: Likewise.
16618 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16619 and repeats to unlimited.
16620
6cfc1fcb
JK
166212016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16622
16623 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16624 and reordering the functions.
16625 * gdb.multi/hangout.c: Likewise.
16626 * gdb.multi/hello.c: Likewise.
16627
582a1b00
SM
166282016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16629
16630 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16631 absolute.
16632 (SingleStatisticTestResult.report): Use dict.keys instead of
16633 dict.iterkeys.
16634
79bc59cb
PA
166352016-01-06 Pedro Alves <palves@redhat.com>
16636
16637 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16638
43368e1d
MM
166392016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16640
16641 * gdb.btrace/dlopen.exp: New.
16642 * gdb.btrace/dlopen.c: New.
16643 * gdb.btrace/dlopen-dso.c: New.
16644
79fad5b8
SL
166452015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16646
16647 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16648 PATTERN argument is optional.
16649
ab8314b3
JB
166502015-12-24 Joel Brobecker <brobecker@adacore.com>
16651
16652 * lib/ada.exp (target_compile_ada_from_dir): New function.
16653 (gdb_compile_ada): Reimplement avoiding the use of project files.
16654 * gdb.ada/gnat_ada.gpr: Delete.
16655 * gdb.ada/cond_lang.exp: Adjust test to make path before
16656 filename optional.
16657 * gdb.ada/small_reg_param.exp: Likewise.
16658
fe33faff
SM
166592015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16660
16661 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16662
6d265cb4
TP
166632015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16664
16665 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16666 case.
16667
10125099
SM
166682015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16669
16670 * gdb.base/break.exp: Remove dead code.
16671 * gdb.base/sepdebug.exp: Likewise.
16672
3ca22649
SM
166732015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16674
16675 * gdb.asm/asm-source.exp: Remove HP-UX references.
16676 * gdb.base/annota1.exp: Likewise.
16677 * gdb.base/annota3.exp: Likewise.
16678 * gdb.base/attach.exp: Likewise.
16679 * gdb.base/bigcore.exp: Likewise.
16680 * gdb.base/break.exp: Likewise.
16681 * gdb.base/call-ar-st.exp: Likewise.
16682 * gdb.base/callfuncs.exp: Likewise.
16683 * gdb.base/catch-fork-static.exp: Likewise.
16684 * gdb.base/display.exp: Likewise.
16685 * gdb.base/foll-exec-mode.exp: Likewise.
16686 * gdb.base/foll-exec.exp: Likewise.
16687 * gdb.base/foll-fork.exp: Likewise.
16688 * gdb.base/foll-vfork.exp: Likewise.
16689 * gdb.base/funcargs.exp: Likewise.
16690 * gdb.base/hbreak2.exp: Likewise.
16691 * gdb.base/inferior-died.exp: Likewise.
16692 * gdb.base/interrupt.exp: Likewise.
16693 * gdb.base/multi-forks.exp: Likewise.
16694 * gdb.base/nodebug.exp: Likewise.
16695 * gdb.base/sepdebug.exp: Likewise.
16696 * gdb.base/solib1.c: Likewise.
16697 * gdb.base/step-test.exp: Likewise.
16698 * gdb.mi/non-stop.c: Likewise.
16699 * gdb.mi/pthreads.c: Likewise.
16700 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16701 * gdb.threads/pthreads.c: Likewise.
16702 * gdb.threads/staticthreads.exp: Likewise.
16703 * lib/future.exp: Likewise.
16704 * lib/gdb.exp: Likewise.
16705 * gdb.base/so-indr-cl.c: Remove.
16706 * gdb.base/so-indr-cl.exp: Likewise.
16707 * gdb.base/solib.c: Likewise.
16708 * gdb.base/solib.exp: Likewise.
16709 * gdb.base/solib2.c: Likewise.
16710
b6304613
SM
167112015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16712
16713 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16714 * gdb.base/call-ar-st.exp: Likewise.
16715 * gdb.base/callfuncs.exp: Likewise.
16716 * gdb.base/condbreak.exp: Likewise.
16717 * gdb.base/constvars.exp: Likewise.
16718 * gdb.base/hbreak2.exp: Likewise.
16719 * gdb.base/langs.exp: Likewise.
16720 * gdb.base/list.exp: Likewise.
16721 * gdb.base/long_long.exp: Likewise.
16722 * gdb.base/ptype.exp: Likewise.
16723 * gdb.base/scope.exp: Likewise.
16724 * gdb.base/signals.exp: Likewise.
16725 * gdb.base/so-impl-ld.exp: Likewise.
16726 * gdb.base/varargs.exp: Likewise.
16727 * gdb.base/volatile.exp: Likewise.
16728 * gdb.base/whatis.exp: Likewise.
16729 * gdb.cp/cplusfuncs.exp: Likewise.
16730 * gdb.cp/inherit.exp: Likewise.
16731 * gdb.cp/local.exp: Likewise.
16732 * gdb.cp/member-ptr.exp: Likewise.
16733 * gdb.cp/method.exp: Likewise.
16734 * gdb.cp/overload.exp: Likewise.
16735 * gdb.cp/templates.exp: Likewise.
16736 * gdb.stabs/weird.exp: Likewise.
16737 * lib/compiler.c: Likewise.
16738 * lib/compiler.cc: Likewise.
16739 * lib/cp-support.exp: Likewise.
16740 * lib/gdb.exp: Likewise.
16741
bf401b07
SM
167422015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16743
16744 * configure.ac: Remove HP-UX case.
16745 * configure: Regenerate.
16746
aff9c0f8
SM
167472015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16748
16749 * lib/gdb.exp (gdb_compile): Add function doc.
16750
a6904d5a
PA
167512015-12-17 Pedro Alves <palves@redhat.com>
16752
16753 PR threads/19354
16754 * gdb.multi/info-threads.exp: New file.
16755
a22279dd
YQ
167562015-12-15 Yao Qi <yao.qi@linaro.org>
16757
16758 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16759 is aarch64*-*-*.
16760
0588c796
SL
167612015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16762
16763 * gdb.base/history-duplicates.exp: Skip if no readline support.
16764
5d978e17
SL
167652015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16766
16767 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16768
7e763b86
SL
167692015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16770
16771 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16772
87a3a92c
SL
167732015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16774
16775 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16776 ctrl-C if nointerrupts target property is set.
16777 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16778 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16779 * gdb.base/paginate-bg-execution.exp: Likewise.
16780 * gdb.base/paginate-execution-startup.exp: Likewise.
16781 * gdb.base/random-signal.exp: Likewise.
16782 * gdb.base/range-stepping.exp: Likewise.
16783 * gdb.cp/annota2.exp: Likewise.
16784 * gdb.cp/annota3.exp: Likewise.
16785 * gdb.gdb/selftest.exp: Likewise.
16786 * gdb.threads/continue-pending-status.exp: Likewise.
16787 * gdb.threads/leader-exit.exp: Likewise.
16788 * gdb.threads/manythreads.exp: Likewise.
16789 * gdb.threads/pthreads.exp: Likewise.
16790 * gdb.threads/schedlock.exp: Likewise.
16791 * gdb.threads/sigthread.exp: Likewise.
16792
a8f077dc
DB
167932015-12-11 Don Breazeal <donb@codesourcery.com>
16794
16795 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16796 remote.
16797 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16798 * gdb.base/foll-exec.exp (main): Enable for target remote.
16799 * gdb.base/foll-fork.exp (main): Likewise.
16800 * gdb.base/foll-vfork.exp (main): Likewise.
16801 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16802 (proc continue_to_exit_bp_loc): Use clean_restart.
16803 * gdb.base/pie-execl.exp (main): Disable for target remote.
16804 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16805 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16806 * gdb.threads/execl.exp (main): Likewise.
16807 * gdb.threads/fork-child-threads.exp (main): Likewise.
16808 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16809 remote.
16810 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16811 remote.
16812 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16813 pid.tid style ptids, instead of just tid.
16814 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16815 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16816 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16817 ptids, instead of just tid.
16818
3b2464a8
AB
168192015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16820
16821 * gdb.base/list.exp (test_list_forward): Add end of file error
16822 test.
16823 (test_repeat_list_command): Add end of file error test.
16824 (test_list_backwards): Add beginning of file error test.
16825
a0def019
AB
168262015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16827
16828 * gdb.base/list.exp (test_list_invalid_args): New function,
16829 defined, and called.
16830
5c000dff
AB
168312015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16832
16833 * gdb.base/list.exp (test_list): Make test names unique.
16834
f1637ebe
YQ
168352015-12-11 Yao Qi <yao.qi@linaro.org>
16836
16837 * gdb.base/coremaker2.c: Remove.
16838
36d6fc0a
PA
168392015-12-10 Pedro Alves <palves@redhat.com>
16840
16841 * gdb.multi/base.exp: Remove stale "spaces" references.
16842
762f7747
PA
168432015-12-10 Pedro Alves <palves@redhat.com>
16844
16845 * gdb.multi/base.exp: Don't use nowarnings.
16846 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16847 * gdb.multi/hangout.c: Include stdio.h.
16848 * gdb.multi/hello.c: Include stdlib.h.
16849 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16850 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16851 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16852
28d2bfb9
AB
168532015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16854
16855 * gdb.dwarf2/dw2-ranges-base.c: New file.
16856 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16857 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16858 support additional line table, and debug ranges generation.
16859 (Dwarf::ranges): New function, generate .debug_ranges.
16860 (Dwarf::lines): Support generating simple line table programs.
16861 (Dwarf::assemble): Initialise new namespace variables.
16862
5fc2beac
KB
168632015-12-09 Kevin Buettner <kevinb@redhat.com>
16864
16865 * gdb.base/async.exp (proc test_background): Add case for
16866 asynchronous execution not supported.
16867
1c35a88f
LM
168682015-12-09 Luis Machado <lgustavo@codesourcery.com>
16869
16870 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16871 format and change test names to make them unique.
16872
b593e3d9
RK
168732015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16874 Pedro Alves <pedro@redhat.com>
16875
16876 PR gdb/18702
16877 Add checking of floatformats setup on x86_64 hosts.
16878 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16879 (smallval, bigval): New labels/constants.
16880 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16881 float" after loading bigval and smallval.
16882
d72413e6
PMR
168832015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16884
16885 * gdb.ada/fun_overload_menu.exp: New testcase.
16886 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16887
ece66d65
JS
168882015-12-04 Josh Stone <jistone@redhat.com>
16889
16890 * gdb.base/catch-fork-static.exp: New.
16891
41d0efca
YQ
168922015-12-03 Yao Qi <yao.qi@linaro.org>
16893
16894 * gdb.base/sizeof.c: Don't include stdio.h and
16895 ../lib/unbuffer_output.c.
16896 (main): New variable 'size' and 'value'. Remove printf and
16897 gdb_unbuffer_output. Assign return value to size and value.
16898 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16899 at the beginning.
16900 (check_sizeof): Check the result by printing variable 'size'.
16901 (check_valueof): Check the result by printing variable 'value'.
16902
99fd02d9
YQ
169032015-12-01 Yao Qi <yao.qi@linaro.org>
16904
16905 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16906 for aarch64*-*-linux* target.
16907
f2faf941
PA
169082015-11-30 Pedro Alves <palves@redhat.com>
16909
16910 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16911
04bf20c5
PA
169122015-11-30 Pedro Alves <palves@redhat.com>
16913
16914 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16915 Handle non-stop mode vCont replies.
16916
09df4675
PA
169172015-11-30 Pedro Alves <palves@redhat.com>
16918
16919 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16920 prepare_for_testing. Start gdb with "set non-stop on" appended to
16921 GDBFLAGS. Lax expected stop output.
16922
58b584af
YQ
169232015-11-27 Yao Qi <yao.qi@linaro.org>
16924
16925 * gdb.arch/arm-neon.exp: New.
16926 * gdb.arch/arm-neon.c: New.
16927
dfcb77a8
YQ
169282015-11-27 Yao Qi <yao.qi@linaro.org>
16929
16930 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16931
88e8ec1b
YQ
169322015-11-27 Yao Qi <yao.qi@linaro.org>
16933
16934 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16935 frames-invalid annotation.
16936
bfde72c2
YQ
169372015-11-27 Yao Qi <yao.qi@linaro.org>
16938
16939 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16940
f6512a69
SM
169412015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16942
16943 * gdb.threads/names.exp: New file.
16944 * gdb.threads/names.c: New file.
16945 * README: Mention gdb,no_thread_names.
16946
46a3515b
MM
169472015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16948
16949 PR 19297
16950 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16951 support" error.
16952
62147a22
PA
169532015-11-24 Pedro Alves <palves@redhat.com>
16954
16955 PR 17539
16956 * gdb.base/display.exp: Expect displays to be sorted in ascending
16957 order. Use multi_line.
16958 * gdb.base/solib-display.exp: Likewise.
16959
2f341b6e
PA
169602015-11-24 Pedro Alves <palves@redhat.com>
16961
16962 PR 17539
25d49b86
PA
16963 * gdb.base/display.exp: Expect displays to be sorted in ascending
16964 order. Use multi_line.
16965 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16966
7e0aa6aa
PA
169672015-11-24 Pedro Alves <palves@redhat.com>
16968
16969 PR 17539
16970 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16971 threads in ascending order.
16972 * gdb.base/foll-fork.exp: Likewise.
16973 * gdb.base/foll-vfork.exp: Likewise.
16974 * gdb.base/multi-forks.exp: Likewise.
16975 * gdb.mi/mi-nonstop.exp: Likewise.
16976 * gdb.mi/mi-nsintrall.exp: Likewise.
16977 * gdb.multi/base.exp: Likewise.
16978 * gdb.multi/multi-arch.exp: Likewise.
16979 * gdb.python/py-inferior.exp: Likewise.
16980 * gdb.threads/break-while-running.exp: Likewise.
16981 * gdb.threads/execl.exp: Likewise.
16982 * gdb.threads/gcore-thread.exp: Likewise.
16983 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16984 * gdb.threads/kill.exp: Likewise.
16985 * gdb.threads/linux-dp.exp: Likewise.
16986 * gdb.threads/multiple-step-overs.exp: Likewise.
16987 * gdb.threads/next-bp-other-thread.exp: Likewise.
16988 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16989 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16990 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16991 * gdb.threads/thread-find.exp: Likewise.
16992 * gdb.threads/tls.exp: Likewise.
16993 * lib/mi-support.exp (mi_reverse_list): Delete.
16994 (mi_check_thread_states): No longer reverse list.
16995
2cc57ad8
PA
169962015-11-24 Pedro Alves <palves@redhat.com>
16997
16998 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16999 use lowercase.
17000
c93e8391
SM
170012015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17002
17003 * gdb.trace/actions.c: Include trace-common.h.
17004 (main): Add a location for a fast tracepoint.
17005 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17006 the normal tracepoints.
17007 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17008
045ccf91
SM
170092015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17010
17011 * save-trace.exp: Factor out code to these...
17012 (gdb_save_tracepoints): New.
17013 (gdb_load_tracepoints): New.
17014 (do_save_load_test): New.
17015
5506f9f6
KB
170162015-11-23 Kevin Buettner <kevinb@redhat.com>
17017
17018 * gdb.base/asmlabel.exp: New test.
17019 * gdb.base/asmlabel.c: New test case.
17020
16c3b12f
JB
170212015-11-23 Joel Brobecker <brobecker@adacore.com>
17022
17023 * gdb.base/wrong_frame_bt_full-main.c: New file.
17024 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17025 * gdb.base/wrong_frame_bt_full.exp: New file.
17026
155bfbd3
JB
170272015-11-23 Joel Brobecker <brobecker@adacore.com>
17028
17029 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17030
bb097445
JM
170312015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17032
206853a0 17033 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
17034 pstate register when comparing registers values in
17035 sparc64-*-linux-gnu targets to avoid spurious differences.
17036
9c88ed8f
JM
170372015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17038
206853a0 17039 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 17040
96161e25
SL
170412015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17042
17043 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17044 as type argument to gdb_compile.
17045 * gdb.base/nested-subp2.exp: Likewise.
17046 * gdb.base/nested-subp3.exp: Likewise.
17047
340c2830
DV
170482015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17049
17050 * lib/dwarf.exp (_note): Fix left shift of negative value.
17051 * gdb.trace/trace-condition.exp: Likewise.
17052
c1862d0f
YQ
170532015-11-13 Yao Qi <yao.qi@linaro.org>
17054
17055 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17056 comments about d10v.
17057 (test_scalar_returns): Likewise.
17058 * gdb.base/d10v.ld: Remove.
17059 * gdb.base/overlays.exp: Remove the target triplet checking for
17060 d10v-*-*.
17061 * gdb.base/structs.exp (test_struct_returns): Remove the
17062 comments about d10v.
17063 (test_struct_calls): Likewise.
17064
77ae9c19
YQ
170652015-11-13 Yao Qi <yao.qi@linaro.org>
17066
17067 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17068 * gdb.base/gnu_vector.c: Don't include stdio.h.
17069 (main): Don't print res and call add_some_intvecs.
17070
430e004e
MK
170712015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17072
17073 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17074 macro.
17075 (func5): Removed.
17076 (func4): Use FAST_TRACEPOINT_LABEL.
17077 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17078 macro.
17079 (func): Removed.
17080 (thread_function): Use FAST_TRACEPOINT_LABEL.
17081 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17082 (func): Remove.
17083 (marker): Use FAST_TRACEPOINT_LABEL.
17084 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17085 (pendfunc1): Remove.
17086 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17087 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17088 (foo): Remove.
17089 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17090 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17091 macro.
17092 (func): Remove.
17093 (marker): Use FAST_TRACEPOINT_LABEL.
17094 * gdb.trace/trace-common.h: New header.
17095 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17096 macro.
17097 (func): Remove.
17098 (marker): Use FAST_TRACEPOINT_LABEL.
17099 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17100 (func): Remove.
17101 (thread_function): Use FAST_TRACEPOINT_LABEL.
17102
6e7675a7
MK
171032015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17104
17105 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17106 in front.
17107 * gdb.trace/change-loc.exp: Use global pcreg definition.
17108 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17109 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17110 in front.
17111 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17112 * gdb.trace/pending.exp: Likewise.
17113 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17114 * gdb.trace/trace-break.exp: Likewise.
17115 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17116 in front.
17117 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17118 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17119 in front.
17120 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17121
dddc0e16
JB
171222015-11-09 Joel Brobecker <brobecker@adacore.com>
17123
17124 * gdb.ada/fin_fun_out: New testcase.
17125
c6f0b406
KB
171262015-11-07 Kevin Buettner <kevinb@redhat.com>
17127
17128 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17129 value associated with DW_AT_byte_size.
17130 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17131 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17132 DW_AT_upper_bound.
17133
f01dcfd9
KB
171342015-11-07 Kevin Buettner <kevinb@redhat.com>
17135
17136 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17137 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17138 version.
17139 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17140 gdb.dwarf2/dw2-canonicalize-type.exp,
17141 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17142 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17143 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17144 provided by gdb_target_symbol_prefix_flags_asm.
17145 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17146 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17147 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17148 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17149 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17150 macros where needed). Use this macro for symbols which require
17151 the prefix provided by SYMBOL_PREFIX.
17152
2223449a
KB
171532015-11-05 Kevin Buettner <kevinb@redhat.com>
17154
17155 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17156 New procs.
17157 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17158 representing expressions, of more than one list element.
17159 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17160 to prepend linker symbol prefix to f.
17161 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17162 table_1 and table_2.
17163 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17164 Likewise, for f and g.
17165 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17166 for ptr.
17167 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17168 for main.
17169 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17170 table_1_ptr and table_2_ptr.
17171
6f2f1a3a
JK
171722015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17173 Joel Brobecker <brobecker@adacore.com>
17174
17175 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17176
566c56c9
MK
171772015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17178
17179 * gdb.reverse/s390-mvcle.c: New test.
17180 * gdb.reverse/s390-mvcle.exp: New file.
17181 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17182
d5f0636b
MK
171832015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17184
17185 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17186
7ad8b86c
MK
171872015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17188
17189 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17190 reaching marker2.
17191 * gdb.reverse/getresuid-reverse.exp: Likewise.
17192 * gdb.reverse/pipe-reverse.exp: Likewise.
17193 * gdb.reverse/readv-reverse.exp: Likewise.
17194 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17195 * gdb.reverse/time-reverse.exp: Likewise.
17196 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17197
4081c0f1
YQ
171982015-10-30 Yao Qi <yao.qi@linaro.org>
17199
17200 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17201 (empty_cycle): Remove.
17202 (main): Don't call empty_cycle. Don't use watch_count_done.
17203 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17204 empty_cycle. Rewrite the code counting HW watchpoints.
17205
452b4ba5
MK
172062015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17207
17208 * gdb.reverse/fstatat-reverse.c: New test.
17209 * gdb.reverse/fstatat-reverse.exp: New file.
17210 * gdb.reverse/getresuid-reverse.c: New test.
17211 * gdb.reverse/getresuid-reverse.exp: New file.
17212 * gdb.reverse/pipe-reverse.c: New test.
17213 * gdb.reverse/pipe-reverse.exp: New file.
17214 * gdb.reverse/readv-reverse.c: New test.
17215 * gdb.reverse/readv-reverse.exp: New file.
17216 * gdb.reverse/recvmsg-reverse.c: New test.
17217 * gdb.reverse/recvmsg-reverse.exp: New file.
17218 * gdb.reverse/time-reverse.c: New test.
17219 * gdb.reverse/time-reverse.exp: New file.
17220 * gdb.reverse/waitpid-reverse.c: New test.
17221 * gdb.reverse/waitpid-reverse.exp: New file.
17222
5e2e7507
JK
172232015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17224
17225 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17226
0fde2c53
DE
172272015-10-26 Doug Evans <dje@google.com>
17228
17229 PR symtab/17391
17230 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17231 * gdb.dwarf2/bad-regnum.c: New file.
17232 * gdb.dwarf2/bad-regnum.exp: New file.
17233
1a70ae97
DE
172342015-10-26 Doug Evans <dje@google.com>
17235
17236 PR python/18938
17237 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17238 file.
17239
27dc26ab
JK
172402015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17241
17242 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17243 for a change by "Mention language in compile error message".
17244
bed91f4d
SM
172452015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17246
17247 PR python/18073
17248 * gdb.python/py-type.c (C::a_method): New.
17249 (C::a_const_method): New.
17250 (C::a_static_method): New.
17251 (a_function): New.
17252 * gdb.python/py-type.exp (test_fields): Test getting fields
17253 from function and method.
17254
3f2f83dd
KB
172552015-10-21 Keven Boell <keven.boell@intel.com>
17256
17257 * gdb.fortran/vla-alloc-assoc.exp: New file.
17258 * gdb.fortran/vla-datatypes.exp: New file.
17259 * gdb.fortran/vla-datatypes.f90: New file.
17260 * gdb.fortran/vla-history.exp: New file.
17261 * gdb.fortran/vla-ptype-sub.exp: New file.
17262 * gdb.fortran/vla-ptype.exp: New file.
17263 * gdb.fortran/vla-sizeof.exp: New file.
17264 * gdb.fortran/vla-sub.f90: New file.
17265 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17266 * gdb.fortran/vla-value-sub-finish.exp: New file.
17267 * gdb.fortran/vla-value-sub.exp: New file.
17268 * gdb.fortran/vla-value.exp: New file.
17269 * gdb.fortran/vla-ptr-info.exp: New file.
17270 * gdb.mi/mi-vla-fortran.exp: New file.
17271 * gdb.mi/vla.f90: New file.
17272
27145d50
SL
172732015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17274
17275 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17276 of hardwired timeout value.
17277
5f3ff4f8
JK
172782015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17279 Pedro Alves <palves@redhat.com>
17280
17281 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17282 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17283
bfd09d20
JS
172842015-10-19 Josh Stone <jistone@redhat.com>
17285
17286 * gdb.base/catch-syscall.c: Include <sched.h>.
17287 (unknown_syscall): New variable.
17288 (main): Trigger a vfork and an unknown syscall.
17289 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17290 (unknown_syscall_number): Likewise.
17291 (check_call_to_syscall): Accept an optional syscall pattern.
17292 (check_return_from_syscall): Likewise.
17293 (check_continue): Likewise.
17294 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17295 (test_catch_syscall_skipping_return): New test toggling off 'catch
17296 syscall' to step over the syscall return, then toggling back on.
17297 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17298 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17299 (do_syscall_tests): Call test_catch_syscall_without_args and
17300 test_catch_syscall_mid_vfork.
17301 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17302 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17303
b32b93c6
AS
173042015-10-19 Andrew Stubbs <ams@codesourcery.com>
17305
17306 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17307 print g_vE): Add new pass patterns.
17308 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17309 print various symbol names for vptr fields.
17310
9d622bda
AB
173112015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17312
17313 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17314 results.
17315
0fd8ac1c
YQ
173162015-10-12 Yao Qi <yao.qi@linaro.org>
17317
17318 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17319
34240514
YQ
173202015-10-12 Yao Qi <yao.qi@linaro.org>
17321
17322 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17323 is aarch64*-*-linux*.
17324
8240f442
YQ
173252015-10-12 Yao Qi <yao.qi@linaro.org>
17326
17327 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17328 (can_relocate_bcond_true): ... it.
17329 (can_relocate_bcond_false): New function.
17330 (foo): Likewise.
17331 (can_relocate_bl): Likewise.
17332 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17333 can_relocate_bl.
17334
2520f728
PMR
173352015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17336
17337 * gdb.base/nested-addr.c: New file.
17338 * gdb.base/nested-addr.exp: New testcase.
17339
abcef95a
MM
173402015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17341
17342 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17343 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17344 its output. Ignore the output of "record goto begin" and instead
17345 check that GDB is replaying.
17346
145e3ddb
PA
173472015-10-09 Pedro Alves <palves@redhat.com>
17348
17349 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17350 (top level): Use it in the run with no args test.
17351
d5d8c4e1
IB
173522015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17353
17354 * gdb.dlang/properties.exp: New file.
17355
06e635ef
SL
173562015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17357
17358 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17359 whether or not address 0x1000 is mapped on the target.
17360
e019fd1d
SM
173612015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17362
17363 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17364 build.
17365
77ba2a67
MM
173662015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17367
17368 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17369 instruction-history test.
17370
c60eb31f
DE
173712015-09-28 Doug Evans <dje@google.com>
17372
17373 * gdb.base/gcore.c (array_func): Add reference to static_array.
17374
9a3c8263
SM
173752015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17376
17377 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17378 source line.
17379
9720e656
SL
173802015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17381
17382 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17383 short or char as base type.
17384
938d3bf2
SL
173852015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17386
17387 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17388 to allow any size enum.
17389
e6c2c623
PMR
173902015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17391
17392 * gdb.ada/array_ptr_renaming.exp: New testcase.
17393 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17394 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17395
06da0f77
PL
173962015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17397
17398 * gdb.trace/ftrace-lock.c: New file.
17399 * gdb.trace/ftrace-lock.exp: New file.
17400
4f51c22a
PL
174012015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17402
17403 * gdb.arch/insn-reloc.c: New file.
17404 * gdb.arch/ftrace-insn-reloc.exp: New file.
17405
7041adf4
PL
174062015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17407
17408 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17409 instruction.
17410 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17411 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17412 * gdb.trace/range-stepping.c: Likewise.
17413 * gdb.trace/trace-break.c: Likewise.
17414 * gdb.trace/trace-mt.c (thread_function): Likewise.
17415 * gdb.trace/ftrace.c (marker): Likewise.
17416 * gdb.trace/trace-condition.c (marker): Likewise.
17417 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17418 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17419 is_aarch64_target.
17420
015d2e7e
DE
174212015-09-18 Doug Evans <xdje42@gmail.com>
17422
17423 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17424 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17425
26b188a2
SL
174262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17427
17428 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17429 the breakpoint.
17430
79dc332b
SL
174312015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17432
17433 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17434 the pending breakpoint. Remove timeout override for "Run till
17435 MI pending breakpoint on pendfunc3 on thread 2" test.
17436
f57929f2
SL
174372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17438
17439 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17440 filename pattern.
17441
3f469b17
SL
174422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17443
17444 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17445 in breakpoint filename pattern.
17446
515b89b3
SL
174472015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17448
7800dbe4
SL
17449 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17450
174512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17452
515b89b3
SL
17453 * gdb.linespec/explicit.exp: Check for readline support for
17454 tab-completion tests. Fix obvious typo.
17455
d2939ba2
MM
174562015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17457
17458 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17459 and replay.
17460
cbb55fa7
MM
174612015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17462
17463 * gdb.btrace/non-stop.c: New.
17464 * gdb.btrace/non-stop.exp: New.
17465
43691ca1
PL
174662015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17467 Yao Qi <yao.qi@linaro.org>
17468
17469 * gdb.trace/trace-condition.c: New file.
17470 * gdb.trace/trace-condition.exp: New file.
17471
d78908cf
WW
174722015-09-16 Wei-cheng Wang <cole945@gmail.com>
17473
17474 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17475 for testing bytecode compilation.
17476
1ed415e2
PA
174772015-09-16 Pedro Alves <palves@redhat.com>
17478 Sandra Loosemore <sandra@codesourcery.com>
17479
17480 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17481 (SECONDS): Redefine.
17482 (main): Call pthread_kill and alarm early.
17483 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17484 support.
17485 (test): If the target can't hardware step and doesn't support
17486 displaced stepping, increase the timeout.
17487
d136eff5
PA
174882015-09-16 Pedro Alves <palves@redhat.com>
17489
17490 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17491 (enable_debug): New procedures.
17492 (test): Use them. Bail out if waiting for threads fails.
17493 (top level): Bail out if a test fails.
17494
991f019c
YQ
174952015-09-16 Yao Qi <yao.qi@linaro.org>
17496
17497 * gdb.asm/asm-source.exp: Set asm-arch for
17498 aarch64*-*-* target.
17499 * gdb.asm/aarch64.inc: New file.
17500
bfca584f
PMR
175012015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17502
17503 * gdb.ada/array_of_variable_length.exp: New testcase.
17504 * gdb.ada/array_of_variable_length/foo.adb: New file.
17505 * gdb.ada/array_of_variable_length/pck.adb: New file.
17506 * gdb.ada/array_of_variable_length/pck.ads: New file.
17507
b326e587
DE
175082015-09-15 Doug Evans <dje@google.com>
17509
17510 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17511 of function static local variable.
17512
5382cfab
PW
175132015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17514
17515 * gdb.threads/tls-so_extern.exp: New test file.
17516 * gdb.threads/tls-so_extern.c: New test file.
17517 * gdb.threads/tls-so_extern_main.c: New test file.
17518
141c5cc4
JK
175192015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17520
17521 * gdb.opt/solib-intra-step-lib.c: New file.
17522 * gdb.opt/solib-intra-step-main.c: New file.
17523 * gdb.opt/solib-intra-step.exp: New file.
17524
d15dcecd
PA
175252015-09-15 Pedro Alves <palves@redhat.com>
17526
17527 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17528 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17529
4c2f2a79
PA
175302015-09-14 Pedro Alves <palves@redhat.com>
17531
17532 * gdb.base/hook-stop-continue.c: Delete.
17533 * gdb.base/hook-stop-continue.exp: Delete.
17534 * gdb.base/hook-stop-frame.c: Delete.
17535 * gdb.base/hook-stop-frame.exp: Delete.
17536 * gdb.base/hook-stop.c: New file.
17537 * gdb.base/hook-stop.exp: New file.
17538
919e6dbe
PMR
175392015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17540
17541 * gdb.ada/access_to_packed_array.exp: New testcase.
17542 * gdb.ada/access_to_packed_array/foo.adb: New file.
17543 * gdb.ada/access_to_packed_array/pack.adb: New file.
17544 * gdb.ada/access_to_packed_array/pack.ads: New file.
17545
157280a4
MM
175462015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17547
17548 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17549 buffer size test.
17550
2fd33e94
DB
175512015-09-11 Don Breazeal <donb@codesourcery.com>
17552
17553 * gdb.base/foll-exec.c: Add copyright header. Fix
17554 formatting issues.
17555 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17556 (do_exec_tests): Use clean_restart in place of zap_session,
17557 and for test initialization. Fix formatting issues. Use
17558 fail in place of perror.
17559 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17560 an expect statement to match an expression with output from
17561 the program under debug.
17562 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17563 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17564 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17565 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17566 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17567
e70b6e8e
DE
175682015-09-09 Doug Evans <dje@google.com>
17569
17570 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17571
7a551a51
DE
175722015-09-09 Doug Evans <dje@google.com>
17573
17574 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17575
4c666f84
DE
175762015-09-09 Doug Evans <dje@google.com>
17577
17578 * gdb.base/savedregs.exp: Fix typo.
17579
243a9253
PA
175802015-09-09 Pedro Alves <palves@redhat.com>
17581
17582 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17583
c0fa8fbd
SL
175842015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17585
17586 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17587 command actually switches threads. Give up on remaining
17588 tests if target fails to stop at breakpoint.
17589
cd7c1778
PMR
175902015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17591
17592 * gdb.ada/funcall_char.exp: New testcase.
17593 * gdb.ada/funcall_char/foo.adb: New file.
17594
dc5c8746
PMR
175952015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17596
17597 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17598 expected outputs. Add two testcases for completing ambiguous
17599 functions.
17600 * gdb.ada/complete/aux_pck.adb: New file.
17601 * gdb.ada/complete/aux_pck.ads: New file.
17602 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17603 Ambiguous_Func functions.
17604 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17605 * gdb.ada/complete/pck.adb: Likewise.
17606
4e83a1e7
UW
176072015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17608
17609 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17610 failures to run the test program under GDB.
17611
8ce74153
LM
176122015-08-26 Luis Machado <lgustavo@codesourcery.com>
17613
17614 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17615 to C.
17616
e9756d52
PP
176172015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17618
17619 * gdb.base/run-after-attach.exp: New test file.
17620 * gdb.base/run-after-attach.c: New test file.
17621
8d37573b
DB
176222015-08-26 Don Breazeal <donb@codesourcery.com>
17623
17624 * gdb.base/foll-exec-2.c: New test program.
17625 * gdb.base/foll-exec-2.exp: New test.
17626
63e43d3a
PMR
176272015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17628
17629 * gdb.base/nested-subp1.exp: New file.
17630 * gdb.base/nested-subp1.c: New file.
17631 * gdb.base/nested-subp2.exp: New file.
17632 * gdb.base/nested-subp2.c: New file.
17633 * gdb.base/nested-subp3.exp: New file.
17634 * gdb.base/nested-subp3.c: New file.
17635
3d40fbb5
PA
176362015-08-24 Pedro Alves <palves@redhat.com>
17637
17638 * gdb.server/connect-without-multi-process.c: New file.
17639 * gdb.server/connect-without-multi-process.exp: New file.
17640
4422ac93
LM
176412015-08-24 Luis Machado <lgustavo@codesourcery.com>
17642
17643 * gdb.opt/inline-markers.c: Make z int.
17644
91dddb86
LM
176452015-08-24 Luis Machado <lgustavo@codesourcery.com>
17646
17647 * gdb.opt/inline-markers.c: Make z volatile.
17648
a48847ee
LM
176492015-08-24 Luis Machado <lgustavo@codesourcery.com>
17650
17651 * gdb.opt/inline-bt.c: New volatile global z.
17652 * gdb.opt/inline-cmds.c: Likewise.
17653 * gdb.opt/inline-locals.c: Likewise.
17654 * gdb.opt/inline-markers.c: New extern global z.
17655 (marker): Use z.
17656 (inline_fn): Likewise.
17657
0ebbc52b
PA
176582015-08-24 Pedro Alves <palves@redhat.com>
17659
17660 * config/m32r-stub.exp: Remove file.
17661 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17662 * gdb.base/call-rt-st.exp: Likewise.
17663 * gdb.base/call-strs.exp: Likewise.
17664 * gdb.base/default.exp: Remove references to h8300-*-hms and
17665 *-*-udi*.
17666 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17667
77c365df
AA
176682015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17669
17670 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17671 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17672 and "return" use KFAIL when GDB can not read/write the vector
17673 return value.
17674
4313b8c0
GB
176752015-08-21 Gary Benson <gbenson@redhat.com>
17676
17677 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17678
0e433b32
PA
176792015-08-20 Pedro Alves <palves@redhat.com>
17680
17681 * gdb.server/solib-list.exp: No longer expect an interior stop in
17682 non-stop mode.
17683
221e1a37
PA
176842015-08-20 Pedro Alves <palves@redhat.com>
17685
17686 * gdb.server/connect-stopped-target.c: New file.
17687 * gdb.server/connect-stopped-target.exp: New file.
17688
40e3ad0e
PA
176892015-08-20 Pedro Alves <palves@redhat.com>
17690
17691 * gdb.dwarf2/comp-unit-lang.exp: New file.
17692 * gdb.dwarf2/comp-unit-lang.c: New file.
17693
af39b327
PMR
176942015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17695
17696 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17697 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17698
7d45c7c3 176992015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17700
7d45c7c3
KB
17701 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17702 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17703
4d6cceb4
DE
177042015-08-18 Doug Evans <dje@google.com>
17705 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17706
17707 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17708 skip_python_tests. New arg prompt_regexp.
17709 (skip_python_tests): New function.
17710 * lib/mi-support.exp (mi_skip_python_tests): New function.
17711 * gdb.python/py-mi-objfile-gdb.py: New file.
17712 * gdb.python/py-mi-objfile.c: New file.
17713 * gdb.python/py-mi-objfile.exp: New file.
17714
ad89c2aa
KS
177152015-08-17 Keith Seitz <keiths@redhat.com>
17716
17717 * gdb.linespec/explicit.exp: Move strace test from here ...
17718 * gdb.trace/strace.exp: ... to here.
17719
e3ae3c43
PP
177202015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17721
17722 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17723 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17724
604b2636
DE
177252015-08-14 Doug Evans <xdje42@gmail.com>
17726
17727 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17728 inferior before selecting a new file.
17729
6ff0ba5f
DE
177302015-08-14 Doug Evans <xdje42@gmail.com>
17731
17732 * gdb.mi/mi-disassemble.exp: Update.
17733 * gdb.base/disasm-optim.S: New file.
17734 * gdb.base/disasm-optim.c: New file.
17735 * gdb.base/disasm-optim.h: New file.
17736 * gdb.base/disasm-optim.exp: New file.
17737
9ca98f92
KS
177382015-08-14 Keith Seitz <keiths@redhat.com>
17739
17740 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17741 "evaluated-by".
17742
52bbc560
JB
177432015-08-13 Joel Brobecker <brobecker@adacore.com>
17744
17745 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17746
5d8c3ed3
PMR
177472015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17748
17749 * gdb.ada/fun_renaming.exp: New testcase.
17750 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17751 * gdb.ada/fun_renaming/pack.adb: New file.
17752 * gdb.ada/fun_renaming/pack.ads: New file.
17753
ea8812bc
KS
177542015-08-12 Keith Seitz <keiths@redhat.com>
17755
17756 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17757 gdb_get_line_number.
17758
4dafcdeb
JB
177592015-08-12 Joel Brobecker <brobecker@adacore.com>
17760
17761 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17762 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17763 gdb.base/dso2dso.exp: New files.
17764
5ba32597
SDJ
177652015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17766 Pedro Alves <palves@redhat.com>
17767 Keith Seitz <keiths@redhat.com>
17768
17769 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17770 GDBFLAGS.
17771
b6dafabf
PP
177722015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17773
17774 * gdb.base/gdbhistsize-history.exp
17775 (test_histsize_history_setting): Use save_vars.
17776 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17777 Use save_vars.
17778 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17779 * gdb.base/readline.exp: Use save_vars.
17780
abe8e607
PP
177812015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17782
17783 * lib/gdb.exp (save_vars): New proc.
17784
629500fa
KS
177852015-08-11 Keith Seitz <keiths@redhat.com>
17786
17787 * gdb.base/help.exp: Update help_breakpoint_text.
17788
eb8c4e2e
KS
177892015-08-11 Keith Seitz <keiths@redhat.com>
17790
17791 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17792 (at toplevel): Call test_explicit_breakpoints.
17793 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17794 breakpoints.
17795 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17796 breakpoint conditions, "-cond".
17797
87f0e720
KS
177982015-08-11 Keith Seitz <keiths@redhat.com>
17799
17800 * gdb.linespec/3explicit.c: New file.
17801 * gdb.linespec/cpexplicit.cc: New file.
17802 * gdb.linespec/cpexplicit.exp: New file.
17803 * gdb.linespec/explicit.c: New file.
17804 * gdb.linespec/explicit.exp: New file.
17805 * gdb.linespec/explicit2.c: New file.
17806 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17807 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17808 before using in the matching pattern.
17809 Clarify that `prefix' is a regular expression.
17810
f00aae0f
KS
178112015-08-11 Keith Seitz <keiths@redhat.com>
17812
17813 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17814 test.
17815 Add tests for missing ",FMT" and ",".
17816
e27852be
DE
178172015-08-10 Doug Evans <dje@google.com>
17818 Keith Seitz <keiths@redhat.com>
17819
17820 PR gdb/17960
17821 * gdb.base/completion.exp: Add location completer tests.
17822
7f03bd92
PA
178232015-08-07 Pedro Alves <palves@redhat.com>
17824
17825 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17826 tests here.
17827 (top level): Run do_test with and without displaced stepping.
17828
3fc8eb30
PA
178292015-08-07 Pedro Alves <palves@redhat.com>
17830
17831 * gdb.base/valgrind-disp-step.c: New file.
17832 * gdb.base/valgrind-disp-step.exp: New file.
17833
d4569d7b
PA
178342015-08-07 Pedro Alves <palves@redhat.com>
17835
17836 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17837 Delete function.
17838 (main): Add alarm. Run an infinite loop instead of calling
17839 wait_threads.
17840 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17841 comment.
17842 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17843 Delete function.
17844 (main): Add alarm. Run an infinite loop instead of calling
17845 wait_threads.
17846 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17847 comment.
17848
e1316e60
PA
178492015-08-07 Pedro Alves <palves@redhat.com>
17850
17851 * gdb.base/checkpoint-ns.exp: New file.
17852 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17853 standard_testfile.
17854
da8c46d2
MM
178552015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17856
17857 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17858 * gdb.btrace/instruction_history.exp: Update.
17859 * gdb.btrace/tsx.exp: New.
17860 * gdb.btrace/tsx.c: New.
17861
de1c2c52
PA
178622015-08-06 Pedro Alves <palves@redhat.com>
17863
17864 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17865 increase timeout.
17866 * gdb.reverse/until-precsave.exp: Bump timeouts.
17867
782e0bf4
PA
178682015-08-06 Pedro Alves <palves@redhat.com>
17869
17870 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17871
83e97ed0
PA
178722015-08-06 Pedro Alves <palves@redhat.com>
17873
17874 PR gdb/18749
17875 * gdb.threads/process-dies-while-handling-bp.c: New file.
17876 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17877
863d01bd
PA
178782015-08-06 Pedro Alves <palves@redhat.com>
17879
17880 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17881 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17882
0a39bb32
PA
178832015-08-05 Pedro Alves <palves@redhat.com>
17884
17885 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17886 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17887
ee2d2b10
SL
178882015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17889
17890 * gdb.base/bp-permanent.exp: Report test as unsupported if
17891 the target cannot stop at the permanent breakpoint.
17892
4e1bdb00
DE
178932015-08-03 Doug Evans <dje@google.com>
17894
17895 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17896 10000.
17897
3d338901
DE
178982015-08-03 Doug Evans <dje@google.com>
17899
17900 * Makefile.in (workers/%.worker, build-perf): New rule.
17901 (GDB_PERFTEST_MODE): New variable.
17902 (check-perf): Use it.
17903 (clean): Clean up gdb.perf parallel build subdirs.
17904 * lib/build-piece.exp: New file.
17905 * lib/gdb.exp (make_gdb_parallel_path): New function
17906 (standard_output_file, standard_temp_file): Call it.
17907 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17908 of $GDB_PARALLEL.
17909 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17910
af061d3e
DE
179112015-08-03 Doug Evans <dje@google.com>
17912
8e1afc81 17913 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17914 (LOG_FILE_NAME): New global.
17915 (TextReporter.__init__): Initialize self.txt_sum.
17916 (TextReporter.report): Add support for multiple data-points.
17917 Move report to perftest.sum, put raw data in perftest.log.
17918 (TextReporter.start): Open sum and log files.
17919 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17920 * gdb.perf/lib/perftest/testresult.py
17921 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17922
2c8c5d37
PA
179232015-07-31 Pedro Alves <palves@redhat.com>
17924
17925 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17926 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17927 kill_wait_spawned_process instead of explicit "kill -9".
17928 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17929 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17930 kill_wait_spawned_process.
17931 * gdb.base/attach-twice.exp: Likewise.
17932 * gdb.base/attach.exp: Likewise.
17933 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17934 gdb_test_multiple.
17935 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17936 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17937 kill_wait_spawned_process.
17938 * gdb.base/valgrind-infcall.exp: Likewise.
17939 * gdb.multi/multi-attach.exp: Likewise.
17940 * gdb.python/py-prompt.exp: Likewise.
17941 * gdb.python/py-sync-interp.exp: Likewise.
17942 * gdb.server/ext-attach.exp: Likewise.
17943 * gdb.threads/attach-into-signal.exp (corefunc): Use
17944 spawn_wait_for_attach, spawn_id_get_pid and
17945 kill_wait_spawned_process.
17946 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17947 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17948 spawn_id_get_pid and kill_wait_spawned_process.
17949 * gdb.threads/attach-stopped.exp (corefunc): Use
17950 spawn_wait_for_attach, spawn_id_get_pid and
17951 kill_wait_spawned_process.
17952 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17953 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17954 kill_wait_spawned_process instead of explicit "kill -9".
17955 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17956 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17957 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17958 processes. Don't map cygwin/windows pids here. Now returns a
17959 spawn id list.
17960
032a0fca
SL
179612015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17962
17963 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17964 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17965 correct patch.
17966
61a934ca
SL
179672015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17968
17969 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17970
4bc4d428
SL
179712015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17972
17973 Reapply:
17974 2014-05-21 Mark Wielaard <mjw@redhat.com>
17975
17976 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17977
998d452a
PA
179782015-07-30 Pedro Alves <palves@redhat.com>
17979
17980 * linux-low.c (handle_extended_wait): Set the child's last
17981 reported status to TARGET_WAITKIND_STOPPED.
17982
69dde7dc
PA
179832015-07-30 Pedro Alves <palves@redhat.com>
17984
17985 PR threads/18600
17986 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17987 only shows inferior 1.
17988
4dd63d48
PA
179892015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17990 Pedro Alves <palves@redhat.com>
17991
17992 PR threads/18600
17993 * gdb.threads/fork-plus-threads.c: New file.
17994 * gdb.threads/fork-plus-threads.exp: New file.
17995
d618e4c5
PP
179962015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17997
17998 * gdb.base/batch-preserve-term-settings.exp
17999 (test_terminal_settings_preserved_after_cli_exit): Use
18000 send_quit_command.
18001
1eef6428
PA
180022015-07-29 Pedro Alves <palves@redhat.com>
18003 Don Breazeal <donb@codesourcery.com>
18004
18005 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18006 output from both inferior_spawn_id and gdb_spawn_id.
18007
7da5b897
SDJ
180082015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18009
18010 * gdb.threads/attach-into-signal.exp (corefunc): Use
18011 with_test_prefix on nested loops, uniquefying the test messages.
18012
dac804df
SDJ
180132015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18014
18015 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18016 commit.
18017
06265e53
PP
180182015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18019
18020 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18021 New proc.
18022 (test_terminal_settings_preserved_after_sigterm): New test.
18023
18206ca3
PP
180242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18025
18026 * gdb.base/batch-preserve-term-settings.exp
18027 (test_terminal_settings_preserved_after_cli_exit): New test.
18028
90074d11
PP
180292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18030
18031 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18032 manipulation of saved_gdbflags.
18033 (test_terminal_settings_preserved): Remove global declaration of
18034 the unused variable pagination_prompt. Remove manipulation of
18035 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18036 GDBFLAGS.
18037
eb1a7902
PA
180382015-07-29 Pedro Alves <palves@redhat.com>
18039
18040 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18041
8b75dd3b
PA
180422015-07-29 Pedro Alves <palves@redhat.com>
18043
18044 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18045 at the top.
18046
dedad4e3
PA
180472015-07-29 Pedro Alves <palves@redhat.com>
18048
18049 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18050 (main): Call gdb_unbuffer_output.
18051 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18052 (main): Call gdb_unbuffer_output.
18053 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18054 (main): Call gdb_unbuffer_output.
18055 * gdb.base/call-strs.exp: Adjust to step over the
18056 gdb_unbuffer_output call.
18057 * gdb.base/catch-gdb-caused-signals.c: Include
18058 "../lib/unbuffer_output.c".
18059 (main): Call gdb_unbuffer_output.
18060 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18061 (main): Call gdb_unbuffer_output.
18062 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18063 (main): Call gdb_unbuffer_output.
18064 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18065 (main): Call gdb_unbuffer_output.
18066 * gdb.base/shlib-call.exp: Adjust to step over the
18067 gdb_unbuffer_output call.
18068 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18069 (main): Call gdb_unbuffer_output.
18070 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18071 (main): Call gdb_unbuffer_output.
18072 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18073 (main): Rename to ...
18074 (test): ... this.
18075 (main): Reimplement.
18076 * gdb.base/varargs.exp: Run to test instead of to main.
18077 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18078 (main): Call gdb_unbuffer_output.
18079
58789a91
PA
180802015-07-29 Pedro Alves <palves@redhat.com>
18081
18082 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18083 factore out from mi_continue_dprintf. For call-style dprintfs,
18084 expect dprintf output out of $inferior_spawn_id.
18085 (mi_continue_dprintf): Use mi_expect_dprintf.
18086 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18087 (main): Call gdb_unbuffer_output.
18088
e8376742
PA
180892015-07-29 Pedro Alves <palves@redhat.com>
18090
18091 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18092 (default_mi_gdb_start): Set inferior_spawn_id instead of
18093 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18094 gdb_spawn_id.
18095 (mi_gdb_test): Always expect inferior output from both
18096 $inferior_spawn_id and $gdb_spawn_id.
18097
08280010
PA
180982015-07-29 Pedro Alves <palves@redhat.com>
18099
18100 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18101 send_inferior and $inferior_spawn_id.
18102
4d30e432
PA
181032015-07-29 Pedro Alves <palves@redhat.com>
18104
18105 * gdb.gdb/complaints.exp (test_initial_complaints)
18106 (test_serial_complaints, test_short_complaints): Use
18107 gdb_test_stdio.
18108 (test_empty_complaint): Handle $inferior_spawn_id !=
18109 $gdb_spawn_id.
18110
0d30a335
PA
181112015-07-29 Pedro Alves <palves@redhat.com>
18112
18113 * gdb.base/varargs.exp: Use gdb_test_stdio.
18114
39413b29
PA
181152015-07-29 Pedro Alves <palves@redhat.com>
18116
18117 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18118
7cb000a9
PA
181192015-07-29 Pedro Alves <palves@redhat.com>
18120
18121 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18122
d7b8ac82
PA
181232015-07-29 Pedro Alves <palves@redhat.com>
18124
18125 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18126 parameter into two new parameters, "inf_result" and "gdb_result".
18127 Expect inferior output and gdb output from $inferior_spawn_id and
18128 $gdb_spawn_id, respectively. Adjust all callers.
18129
789c3a0c
PA
181302015-07-29 Pedro Alves <palves@redhat.com>
18131
18132 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18133 of gdb_test_sequence.
18134
77e760c3
PA
181352015-07-29 Pedro Alves <palves@redhat.com>
18136
18137 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18138 (saw_spurious_output): Expect inferior output from
18139 $inferior_spawn_id. Use gdb_test_stdio.
18140
8396d2cd
PA
181412015-07-29 Pedro Alves <palves@redhat.com>
18142
18143 * gdb.base/dprintf.exp: Use standard_testfile. Change
18144 prepare_for_testing call.
18145 (srcfile): Don't set.
18146 (restart): New procedure.
18147 (test_dprintf): New procecure, use to continue over dprintfs.
18148 (test_call, test_agent): New procedures, tests moved here.
18149 Restart gdb and recreate dprintfs. Adjust expected output.
18150
2051d61f
PA
181512015-07-29 Pedro Alves <palves@redhat.com>
18152
18153 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18154
452397af
PA
181552015-07-29 Pedro Alves <palves@redhat.com>
18156
18157 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18158
8aed9555
PA
181592015-07-29 Pedro Alves <palves@redhat.com>
18160
18161 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18162 gdb_test_stdio.
18163
188a61b4
PA
181642015-07-29 Pedro Alves <palves@redhat.com>
18165
18166 * lib/gdb.exp (gdb_test_stdio): New procedure.
18167
12264a45
PA
181682015-07-29 Pedro Alves <palves@redhat.com>
18169
18170 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18171
23ffc893
PA
181722015-07-29 Pedro Alves <palves@redhat.com>
18173
18174 * gdb.base/call-signal-resume.exp: Remove check for
18175 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18176 * gdb.base/unwindonsignal.exp: Likewise.
18177 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18178 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18179
65566918
PA
181802015-07-29 Pedro Alves <palves@redhat.com>
18181
18182 * gdb.base/siginfo-addr.c (pass): New function.
18183 (handler): Call it iff si_addr is correct.
18184 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18185 Set a breakpoint at "pass" and continue to it.
18186
d60a9221
SDJ
181872015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18188
18189 * gdb.python/py-objfile.exp: Make some tests have unique names.
18190 * gdb.python/py-pp-registration.exp: Likewise.
18191
bde40b8f
PA
181922015-07-28 Pedro Alves <palves@redhat.com>
18193
18194 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18195
13e1dec8
SM
181962015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18197
18198 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18199
da33c9a7
SM
182002015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18201
18202 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18203
077836f7
PP
182042015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18205
18206 * gdb.base/gdb-sigterm-2.exp: New test.
18207
b8cc7b2e
DE
182082015-07-25 Doug Evans <xdje42@gmail.com>
18209
18210 Revert:
18211 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18212 (workers/%.worker, build-perf): New rule.
18213 (GDB_PERFTEST_MODE): New variable.
18214 (check-perf): Use it.
18215 (clean): Clean up gdb.perf parallel build subdirs.
18216 * lib/build-piece.exp: New file.
18217 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18218 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18219 name.
18220 (standard_temp_file): Ditto.
18221 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18222 of $GDB_PARALLEL.
18223
c8bd4544
DE
182242015-07-24 Doug Evans <dje@google.com>
18225
18226 * gdb.perf/lib/perftest/utils.py: New file.
18227 * gdb.perf/gm-hello.cc: New file.
18228 * gdb.perf/gm-pervasive-typedef.cc: New file.
18229 * gdb.perf/gm-pervasive-typedef.h: New file.
18230 * gdb.perf/gm-std.cc: New file.
18231 * gdb.perf/gm-std.h: New file.
18232 * gdb.perf/gm-use-cerr.cc: New file.
18233 * gdb.perf/gm-utils.h: New file.
18234 * gdb.perf/gmonster-null-lookup.py: New file.
18235 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18236 * gdb.perf/gmonster-print-cerr.py: New file.
18237 * gdb.perf/gmonster-ptype-string.py: New file.
18238 * gdb.perf/gmonster-runto-main.py: New file.
18239 * gdb.perf/gmonster-select-file.py: New file.
18240 * gdb.perf/gmonster1-null-lookup.exp: New file.
18241 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18242 * gdb.perf/gmonster1-print-cerr.exp: New file.
18243 * gdb.perf/gmonster1-ptype-string.exp: New file.
18244 * gdb.perf/gmonster1-runto-main.exp: New file.
18245 * gdb.perf/gmonster1-select-file.exp: New file.
18246 * gdb.perf/gmonster1.cc: New file.
18247 * gdb.perf/gmonster1.exp: New file.
18248 * gdb.perf/gmonster2-null-lookup.exp: New file.
18249 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18250 * gdb.perf/gmonster2-print-cerr.exp: New file.
18251 * gdb.perf/gmonster2-ptype-string.exp: New file.
18252 * gdb.perf/gmonster2-runto-main.exp: New file.
18253 * gdb.perf/gmonster2-select-file.exp: New file.
18254 * gdb.perf/gmonster2.cc: New file.
18255 * gdb.perf/gmonster2.exp: New file.
18256
6eab34f3
DE
182572015-07-24 Doug Evans <dje@google.com>
18258
18259 * gdb.perf/README: New file.
18260 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18261 * lib/gen-perf-test.exp: New file.
18262
63738bfd
DE
182632015-07-24 Doug Evans <dje@google.com>
18264
18265 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18266 (PerfTest::startup): New function.
18267 (PerfTest::run): Return result of calling body.
18268 (PerfTest::assemble): Rewrite.
18269 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18270 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18271 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18272 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18273 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18274
7b606f95
DE
182752015-07-24 Doug Evans <dje@google.com>
18276
18277 * lib/gdb.exp (clean_restart): Make executable optional.
18278
a97b16b8
DE
182792015-07-24 Doug Evans <dje@google.com>
18280
18281 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18282 compiler_info references.
18283 * gdb.cp/temargs.exp: Ditto.
18284 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18285 (get_compiler_info): Early exit if already computed. Set compiler_info
18286 to "unknown" if there was a problem.
18287 (test_compiler_info): Add function comment. Call get_compiler_info.
18288
35baa57f
DE
182892015-07-24 Doug Evans <dje@google.com>
18290
18291 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18292 (workers/%.worker, build-perf): New rule.
18293 (GDB_PERFTEST_MODE): New variable.
18294 (check-perf): Use it.
18295 (clean): Clean up gdb.perf parallel build subdirs.
18296 * lib/build-piece.exp: New file.
18297 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18298 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18299 name.
18300 (standard_temp_file): Ditto.
18301 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18302 of $GDB_PARALLEL.
18303
6ebea266
DE
183042015-07-24 Doug Evans <dje@google.com>
18305
18306 * lib/future.exp (gdb_default_target_compile): New option
18307 "early_flags".
18308 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18309 --as-needed.
18310
1e76a7e9
SDJ
183112015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18312
18313 * gdb.base/catch-syscall.exp: Call gdb_exit before
18314 gdb_skip_xml_test.
18315
5068630a
PA
183162015-07-24 Pedro Alves <palves@redhat.com>
18317
18318 * gdb.python/py-events.exp: Accept output between the stop event
18319 and the prompt.
18320 * gdb.python/py-evsignal.exp: Likewise.
18321 * gdb.python/py-evthreads.exp: Likewise.
18322
77598427
PA
183232015-07-24 Pedro Alves <palves@redhat.com>
18324
18325 PR gdb/18717
18326 * gdb.threads/non-ldr-exit.c: New file.
18327 * gdb.threads/non-ldr-exit.exp: New file.
18328
11e6c98f
YQ
183292015-07-24 Yao Qi <yao.qi@linaro.org>
18330
18331 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18332 restarting process.
18333
51aee833
YQ
183342015-07-24 Yao Qi <yao.qi@linaro.org>
18335
18336 * gdb.server/ext-restart.exp: New file.
18337
8cfe207c
YQ
183382015-07-24 Yao Qi <yao.qi@linaro.org>
18339
18340 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18341 argument options.
18342 * gdb.server/ext-wrapper.exp: New file.
18343
cc12ce38
DE
183442015-07-23 Doug Evans <dje@google.com>
18345
18346 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18347 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18348
d0d84780
PMR
183492015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18350
18351 * gdb.ada/var_arr_typedef.exp: New testcase.
18352 * gdb.ada/var_arr_typedef/pack.adb: New file.
18353 * gdb.ada/var_arr_typedef/pack.ads: New file.
18354 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18355
8b558f79
JB
183562015-07-20 Joel Brobecker <brobecker@adacore.com>
18357
18358 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18359
775a3298
JK
183602015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18361
18362 * gdb.arch/i386-biarch-core.exp: Replace istarget
18363 by "complete set gnutarget". Remove expectation for the "core-file"
18364 command.
18365
db1ff28b
JK
183662015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18367
18368 Revert the previous commit:
18369 Tests for validate symbol file using build-id.
18370
0a94970d
JK
183712015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18372
18373 Tests for validate symbol file using build-id.
18374 * gdb.base/solib-mismatch-lib.c: New file.
18375 * gdb.base/solib-mismatch-libmod.c: New file.
18376 * gdb.base/solib-mismatch.c: New file.
18377 * gdb.base/solib-mismatch.exp: New file.
18378
03346981
SL
183792015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18380
18381 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18382 nios2-*-linux*.
18383 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18384 * gdb.base/siginfo.exp: Likewise.
18385 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18386
42422cc7
PL
183872015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18388
18389 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18390 Move it to ...
18391 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18392 ... here.
18393 * gdb.trace/range-stepping.exp: Check that the target supports
18394 range stepping.
18395
cfa68bae
JK
183962015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18397
18398 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18399
8ffdba26
PA
184002015-07-14 Pedro Alves <palves@redhat.com>
18401
18402 * gdb.base/killed-outside.exp: New file.
18403 * gdb.base/killed-outside.c: New file.
18404
218a5a11
JK
184052015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18406
18407 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18408 (n at main): New.
18409 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18410
e03ed3c6
AA
184112015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18412
18413 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18414 infcall tests instead of setting up for KFAIL.
18415
485668e5
MM
184162015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18417
18418 * gdb.btrace/record_goto-step.exp: New.
18419
08464196
JK
184202015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18421
18422 PR compile/18484
18423 * gdb.compile/compile.c (struct struct_type): Add volatile to
18424 selffield's type.
18425 * gdb.compile/compile.exp
18426 (compile code struct_object.selffield = &struct_object): Skip further
18427 struct_object tests if this one xfails.
18428
bcf5c1d9
RC
184292015-07-08 Robert O'Callahan <robert@ocallahan.org>
18430
18431 PR exp/18617
18432 * gdb.trace/ax.exp: Add test.
18433
4931af25
YQ
184342015-07-07 Yao Qi <yao.qi@linaro.org>
18435
18436 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18437 instead of istarget "aarch64*-*-*".
18438 * gdb.arch/aarch64-fp.exp: Likewise.
18439 * gdb.base/float.exp: Likewise.
18440 * gdb.reverse/aarch64.exp: Likewise.
18441 * lib/gdb.exp (is_aarch64_target): New proc.
18442
9fcf688e
YQ
184432015-07-07 Yao Qi <yao.qi@linaro.org>
18444
18445 * lib/gdb.exp (is_aarch32_target): New proc.
18446 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18447 instead of "istarget "arm*-*-*"".
18448 * gdb.arch/arm-disp-step.exp: Likewise.
18449 * gdb.arch/thumb-bx-pc.exp: Likewise.
18450 * gdb.arch/thumb-prologue.exp: Likewise.
18451 * gdb.arch/thumb-singlestep.exp: Likewise.
18452 * gdb.base/disp-step-syscall.exp: Likewise.
18453 * gdb.base/float.exp: Likewise.
18454
fbd8d50d
YQ
184552015-07-07 Yao Qi <yao.qi@linaro.org>
18456
18457 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18458 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18459
71be1fdc
YQ
184602015-07-07 Yao Qi <yao.qi@linaro.org>
18461
18462 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18463 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18464 if it exists.
18465 * gdb.multi/multi-arch.exp: Likewise.
18466
3e221d36
SM
184672015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18468
18469 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18470 print.
18471
d441430b
YQ
184722015-07-07 Yao Qi <yao.qi@linaro.org>
18473
18474 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18475
06f810bd
MG
184762015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18477
18478 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18479 '[' and ']' characters.
18480
5e61e7c0
IB
184812015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18482
18483 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18484
28bf096c
PA
184852015-06-29 Pedro Alves <palves@redhat.com>
18486
18487 PR threads/18127
18488 * gdb.threads/hand-call-new-thread.c: New file.
18489 * gdb.threads/hand-call-new-thread.c: New file.
18490
ee93cd5e
KS
184912015-06-26 Keith Seitz <keiths@redhat.com>
18492 Doug Evans <dje@google.com>
18493
18494 PR 16253
18495 * gdb.cp/var-tag-2.cc: New file.
18496 * gdb.cp/var-tag-3.cc: New file.
18497 * gdb.cp/var-tag-4.cc: New file.
18498 * gdb.cp/var-tag.cc: New file.
18499 * gdb.cp/var-tag.exp: New file.
18500
fc637f04
PP
185012015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18502
18503 * gdb.base/history-duplicates.exp: New test.
18504
2e52ae68
PP
185052015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18506
18507 * gdb.base/completion.exp: Test the completion of the "focus"
18508 command.
18509
6e22494e
JK
185102015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18511
18512 * gdb.arch/amd64-prologue-skip.S: New file.
18513 * gdb.arch/amd64-prologue-skip.exp: New file.
18514
bf7b9cd9
SM
185152015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18516
18517 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18518 is_address_zero_readable check.
18519
201e8dfd
PB
185202015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18521
18522 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18523 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18524
5cd867b4
YQ
185252015-06-24 Yao Qi <yao.qi@linaro.org>
18526
18527 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18528 linux targets.
18529
4d7be007
YQ
185302015-06-24 Yao Qi <yao.qi@linaro.org>
18531
18532 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18533 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18534 * gdb.base/siginfo-thread.exp: Likewise.
18535
07fcd301
YQ
185362015-06-22 Yao Qi <yao.qi@linaro.org>
18537
18538 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18539
52042a00
YQ
185402015-06-22 Yao Qi <yao.qi@linaro.org>
18541
18542 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18543 aarch64*-*-*.
18544 (skip_hw_watchpoint_tests): Likewise.
18545
74bd41ce
PP
185462015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18547
18548 * gdb.base/gdbinit-history.exp: Test the interaction between
18549 setting GDBHISTSIZE and setting the history size via .gdbinit.
18550
bc460514
PP
185512015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18552
18553 PR gdb/16999
18554 * gdb.base/gdbhistsize-history.exp: New test.
18555
b58c513b
PP
185562015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18557
18558 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18559 with GDBHISTSIZE.
18560 * gdb.base/readline.exp: Likewise.
18561
92046791
YQ
185622015-06-17 Yao Qi <yao.qi@linaro.org>
18563
18564 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18565 line.
18566
2093d2d3
PP
185672015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18568
18569 * gdb.base/gdbinit-history.exp: Add test case to check that
18570 an unlimited history file does not get truncated on exit.
18571
e6c693af
AA
185722015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18573
18574 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18575 (VECTOR): New macro. Use it...
18576 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18577 ...for these typedefs.
18578 (int8, char1, int1, double1): New typedefs.
18579 (struct just_int2, struct two_int2): New structures.
18580 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18581 (add_structvecs, add_singlevecs): New functions.
18582 (main): Call add_some_intvecs twice.
18583 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18584 the compile and exit upon failure. Try compiling for the "native"
18585 architecture. Test inferior function calls with vector arguments
18586 and vector return value handling with "finish" and "return".
18587
c74f7d1c
JT
185882015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18589
18590 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18591 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18592 PE file.
18593 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18594
98aa42ee
AT
185952015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18596
18597 PR breakpoints/16465
18598 * gdb.mi/mi-dprintf-pending.c: New file.
18599 * gdb.mi/mi-dprintf-pending.exp: New test.
18600 * gdb.mi/mi-dprintf-pendshr.c: New file.
18601
7d73c23c 186022015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18603 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18604
18605 * gdb.arch/i386-mpx-map.c: New file.
18606 * gdb.arch/i386-mpx-map.exp: New File.
18607
186082015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18609
18610 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18611 * gdb.arch/i386-mpx.exp: Indentation fixed.
18612
186132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18614
18615 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18616 function and improved indentation.
18617 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18618 gdb_test_multiple. Added additional tests to skip the test.
18619
186202015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18621
18622 * gdb.arch/i386-avx512.c: Change path in include file.
18623 * gdb.arch/i386-avx512.exp: Change include dir path
18624 compilation flag.
18625 * gdb.arch/i386-mpx.c: Change path in include file.
18626 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18627 flag.
18628
d5eba19a
JK
186292015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18630
18631 * gdb.compile/compile-print.exp (compile print *vararray@3)
18632 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18633
7f361056
JK
186342015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18635
18636 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18637 (do not keep jit in memory): ... this.
18638 (expect 5): Change it to ...
18639 (expect no 5): ... this.
18640
3b462ec2
SM
186412015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18642
18643 PR gdb/15564
18644 * gdb.mi/mi-detach.exp: New file.
18645
e0619de6
JK
186462015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18647
18648 PR symtab/18392
18649 * gdb.arch/amd64-tailcall-self.S: New file.
18650 * gdb.arch/amd64-tailcall-self.c: New file.
18651 * gdb.arch/amd64-tailcall-self.exp: New file.
18652
e970cb34
DB
186532015-05-28 Don Breazeal <donb@codesourcery.com>
18654
18655 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18656 tests for remote targets by checking is_target_gdbserver.
18657
b2e2f908
DE
186582015-05-27 Doug Evans <dje@google.com>
18659
18660 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18661 * gdb.dwarf2/opaque-type-lookup.c: New file.
18662 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18663
82c7be31
DE
186642015-05-26 Doug Evans <dje@google.com>
18665
18666 * gdb.cp/iostream.cc: New file.
18667 * gdb.cp/iostream.exp: New file.
18668
b4f54984
DE
186692015-05-26 Doug Evans <dje@google.com>
18670
18671 * gdb.dwarf2/dw2-op-call.exp: Update.
18672 * gdb.dwarf2/dw4-sig-types.exp: Update.
18673 * gdb.dwarf2/implptr.exp: Update.
18674 * gdb.mi/mi-cmd-param-changed.exp: Update.
18675
4ea6efe9
DE
186762015-05-26 Doug Evans <dje@google.com>
18677
18678 * gdb.python/py-lazy-string.c: New file.
18679 * gdb.python/py-lazy-string.exp: New file.
18680 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18681 (main): Update. Add estring3.
18682 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18683 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18684
f6bb7db3
YQ
186852015-05-26 Omair Javaid <omair.javaid@linaro.org>
18686 Yao Qi <yao.qi@linaro.org>
18687
18688 * gdb.reverse/aarch64.c: New.
18689 * gdb.reverse/aarch64.exp: New.
18690
a81bfbd0
OJ
186912015-05-26 Omair Javaid <omair.javaid@linaro.org>
18692
25d49b86
PA
18693 * lib/gdb.exp (supports_process_record): Return true for
18694 aarch64*-linux*.
a81bfbd0
OJ
18695 (supports_reverse): Likewise.
18696
158bf1b4
PP
186972015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18698
18699 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18700 Use with_test_prefix.
18701
a0145030
AB
187022015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18703
18704 * gdb.base/completion.exp: Add test for completion of layout
18705 names.
18706
ebe3b578
AB
187072015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18708
18709 * lib/gdb.exp (skip_tui_tests): New proc.
18710 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18711
84204ed7
PA
187122015-05-19 Pedro Alves <palves@redhat.com>
18713
18714 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18715 Save the whole env array instead of just HOME. Unset HISTSIZE in
18716 the environment while testing. Restore whole environment
18717 afterwards.
18718
37442ce1
DE
187192015-05-16 Doug Evans <xdje42@gmail.com>
18720
18721 * gdb.guile/scm-ports.c: New file.
18722 * gdb.guile/scm-ports.exp: Add memory port tests.
18723
36de76f9
JK
187242015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18725
18726 * gdb.compile/compile-print.c: New file.
18727 * gdb.compile/compile-print.exp: New file.
18728
3a9558c4
JK
187292015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18730
18731 * gdb.compile/compile-ops.exp: Cast param to void.
18732 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18733 (compile code struct_object.selffield = &struct_object): Add xfail.
18734
aa715135
JG
187352015-05-15 Joel Brobecker <brobecker@adacore.com>
18736
18737 * gdb.ada/arr_enum_with_gap: New testcase.
18738
931e5bc3
JG
187392015-05-15 Joel Brobecker <brobecker@adacore.com>
18740
18741 * gdb.ada/byte_packed_arr: New testcase.
18742
9cd4d857
JB
187432015-05-15 Joel Brobecker <brobecker@adacore.com>
18744
18745 * gdb.ada/pckd_neg: New testcase.
18746
ebfd00d2
PP
187472015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18748
18749 PR gdb/17820
18750 * gdb.base/gdbinit-history.exp: New test.
18751 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18752 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18753
4c082a81
SC
187542015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18755
18756 * gdb.python/py-xmethods.cc: Enhance test case.
18757 * gdb.python/py-xmethods.exp: New tests.
18758 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18759 function.
18760 (B_indexoper): Likewise.
18761 (global_dm_list) : Add new xmethod worker functions.
18762
f7797074
SDJ
187632015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18764
18765 * gdb.base/coredump-filter.exp: Correctly unset
18766 "coredump_var_addr" array.
18767
a4674e4e
PA
187682015-05-08 Pedro Alves <palves@redhat.com>
18769
18770 * gdb.server/non-existing-program.exp: Unset spawn_id.
18771
df2eb078
SC
187722015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18773
18774 PR python/18291
18775 * gdb.python/py-xmethods.exp: Add tests.
18776
422349a3
YQ
187772015-05-08 Yao Qi <yao.qi@linaro.org>
18778
18779 PR gdb/18208
18780 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18781 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18782 function set_coredump_filter, and remove remote_exec call.
18783 Remove argument ipid. Callers update.
18784 (top level): Don't get inferior's PID.
18785
63fc80ce
AA
187862015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18787
18788 * gdb.base/watch_thread_num.exp: Skip test on targets without
18789 access watchpoints.
18790
80ad801e
PA
187912015-05-06 Pedro Alves <palves@redhat.com>
18792
18793 PR server/18081
18794 * gdb.server/non-existing-program.exp: New file.
18795
0fa7fe50
JB
187962015-05-05 Joel Brobecker <brobecker@adacore.com>
18797
18798 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18799
3ea89b92
PMR
188002015-05-05 Joel Brobecker <brobecker@adacore.com>
18801
18802 * gdb.ada/out_of_line_in_inlined: New testcase.
18803
87b8eff0
JB
188042015-05-05 Joel Brobecker <brobecker@adacore.com>
18805
18806 * gdb.ada/var_rec_arr: New testcase.
18807
5fccc635
YQ
188082015-04-30 Yao Qi <yao.qi@linaro.org>
18809
18810 * gdb.base/break-idempotent.exp: If
18811 skip_hw_watchpoint_multi_tests returns true, skip the tests
18812 on "rwatch" and "awatch".
18813
42d38f42
YQ
188142015-04-30 Yao Qi <yao.qi@linaro.org>
18815
18816 * gdb.base/relativedebug.exp: Invoke gdb command
18817 "info sharedlibrary", and if libc.so doesn't have debug info,
18818 skip the test.
18819
2ce1cdbf
DE
188202015-04-29 Doug Evans <dje@google.com>
18821
18822 * gdb.python/py-xmethods.exp: Add ptype tests.
18823 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18824 get_result_type method.
18825
f24a38c5
LM
188262015-04-29 Luis Machado <lgustavo@codesourcery.com>
18827
18828 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18829 the target does not support hardware watchpoints.
18830
ecbf2b3c
LM
188312015-04-29 Luis Machado <lgustavo@codesourcery.com>
18832
18833 * gdb.base/break-always.exp: Abort testing if writing to memory
18834 causes an error.
18835
34f5f757
DE
188362015-04-28 Doug Evans <dje@google.com>
18837
18838 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18839 * gdb.python/py-pp-registration.exp: ... here. New file.
18840 * gdb.python/py-pp-registration.c: New file.
18841 * gdb.python/py-pp-registration.py: New file.
18842
69b4374a
DE
188432015-04-28 Doug Evans <dje@google.com>
18844
18845 * gdb.python/py-bad-printers.c: New file.
18846 * gdb.python/py-bad-printers.py: New file.
18847 * gdb.python/py-bad-printers.exp: New file.
18848
59fb7612
SS
188492015-04-28 Sasha Smundak <asmundak@google.com>
18850
18851 * gdb.python/py-type.exp: New test.
18852
2631b16a
AW
188532015-04-28 Andy Wingo <wingo@igalia.com>
18854
18855 * gdb.python/py-parameter.exp:
18856 * gdb.guile/scm-parameter.exp: Escape the path that we are
18857 matching against, as it might contain characters that are special
18858 to regular expressions.
18859
460efde1
JB
188602015-04-27 Joel Brobecker <brobecker@adacore.com>
18861
18862 * gdb.ada/rec_comp: New testcase.
18863
2d369d8e
SDJ
188642015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18865
18866 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18867 before using it.
18868
cf75d6c3
AB
188692015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18870
18871 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18872 new tests for verilog output.
18873
8dbe7ca5
YQ
188742015-04-24 Yao Qi <yao.qi@linaro.org>
18875
18876 * boards/remote-gdbserver-on-localhost.exp: New file.
18877
4ef9fb2f
PA
188782015-04-23 Pedro Alves <palves@redhat.com>
18879
18880 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18881 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18882 "end of file", remove $inferior_spawn_id from the indirect list.
18883
0a803169
PA
188842015-04-23 Pedro Alves <palves@redhat.com>
18885
18886 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18887
749ef8f8
PA
188882015-04-23 Pedro Alves <palves@redhat.com>
18889
18890 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18891 on $any_spawn_id instead of only on $gdb_spawn_id.
18892
8aae4344
PM
188932015-04-21 Pierre Muller <muller@sourceware.org>
18894
18895 PR pascal/17815
18896 * lib/pascal.exp (gpc_compile): Add new option "class".
18897 (fpc_compile): Likewise.
18898 * gdb.pascal/case-insensitive-symbols.pas: New file.
18899 * gdb.pascal/case-insensitive-symbols.exp: New file.
18900
1586c8fb
GB
189012015-04-20 Gary Benson <gbenson@redhat.com>
18902
18903 * gdb.base/attach.exp: Fix three extended remote failures.
18904
1b6e6f5c
GB
189052015-04-17 Gary Benson <gbenson@redhat.com>
18906
18907 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18908 the main executable over the remote protocol.
18909
e797481d
PA
189102015-04-16 Pedro Alves <palves@redhat.com>
18911
18912 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18913 a new gdbserver if gdbserver_reconnect_p is set.
18914
1ca99c42
PA
189152015-04-16 Pedro Alves <palves@redhat.com>
18916
18917 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18918 is set, don't exit gdbserver.
18919
af9fd6f8
AA
189202015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18921
18922 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18923 appropriate .insn, such that an older assembler can be used.
18924 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18925 the z/Architecture instruction set on 31-bit targets as well.
18926
04ff1e61
AA
189272015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18928
18929 * gdb.go/handcall.exp: Remove all logic related to the first
18930 breakpoint and rely on go_runto_main instead.
18931 * gdb.go/strings.exp: Likewise.
18932 * gdb.go/unsafe.exp: Likewise.
18933 * gdb.go/hello.exp: Likewise. Also rename the remaining
18934 breakpoint marker to "breakpoint 1".
18935 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18936 * gdb.go/strings.go: Likewise.
18937 * gdb.go/unsafe.go: Likewise.
18938 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18939 "set breakpoint 2 here" and rename the remaining breakpoint marker
18940 to "breakpoint 1".
18941
40d2f8d6
SM
189422015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18943
18944 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18945 if itertools.imap is not present.
18946 * gdb.python/py-objfile.exp: Add parentheses.
18947 * gdb.python/py-type.exp: Same.
18948 * gdb.python/py-unwind-maint.py: Same.
18949
8cbc97c6
YQ
189502015-04-15 Yao Qi <yao.qi@linaro.org>
18951
18952 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18953 of ":$ptr_size" and set its form explicitly.
18954
45fd756c
YQ
189552015-04-15 Pedro Alves <palves@redhat.com>
18956 Yao Qi <yao.qi@linaro.org>
18957
18958 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18959 timeout by factor of 4.
18960 (test_regular_watch): Likewise.
18961 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18962 * gdb.reverse/sigall-reverse.exp: Likewise.
18963 * gdb.reverse/until-precsave.exp: Likewise.
18964 * lib/gdb.exp (with_timeout_factor): New proc.
18965 (gdb_expect): Move some code to ...
18966 (get_largest_timeout): ... here. New procedure.
18967
9e811bc3
LM
189682015-04-14 Luis Machado <lgustavo@codesourcery.com>
18969
18970 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18971
0ff6fcb2
LM
189722015-04-13 Luis Machado <lgustavo@codesourcery.com>
18973
18974 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18975 to write to the .text section.
18976
7578d5f7
LM
189772015-04-13 Luis Machado <lgustavo@codesourcery.com>
18978
18979 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18980 Handle the case of targets that do not provide PID information.
18981
2efe15c4
YQ
189822015-04-13 Yao Qi <yao.qi@linaro.org>
18983
18984 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18985 and use expect instead of gdb_expect.
18986
8cd8f2f8
SDJ
189872015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18988
18989 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18990 "coredump_var_addr" to avoid naming conflict with other testcases.
18991
9ee41772
PA
189922015-04-10 Pedro Alves <palves@redhat.com>
18993
18994 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18995 gdb_test_sequence and gdb_assert.
18996
07473109
PA
189972015-04-10 Pedro Alves <palves@redhat.com>
18998
18999 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19000 test messages that don't include the breakpoint address.
19001
de3db44c
YQ
190022015-04-10 Yao Qi <yao.qi@linaro.org>
19003
19004 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19005 false for some offset and width combinations which aren't
19006 supported by linux kernel.
19007
c79d856c
PA
190082015-04-10 Pedro Alves <palves@redhat.com>
19009
19010 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19011 procedure, factored out from ...
19012 (top level): ... here. Add "set displaced-stepping" testing axis.
19013 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19014 parameter "displaced". Use it.
19015 (top level): Use foreach and add "set displaced-stepping" testing
19016 axis.
19017
ebc90b50
PA
190182015-04-10 Pedro Alves <palves@redhat.com>
19019
19020 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19021 Remove comment.
19022 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19023 both the address of the instruction that triggers the watchpoint
19024 and the address of the instruction immediately after, and use
19025 those addresses for the test. Fix comment.
19026
8f572e5c
PA
190272015-04-10 Pedro Alves <palves@redhat.com>
19028
19029 * gdb.base/sigstep.exp (breakpoint_to_handler)
19030 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19031 Test "backtrace" in handler.
19032 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19033 (top level): Add new "displaced" test axis to
19034 breakpoint_to_handler, breakpoint_to_handler_entry and
19035 breakpoint_over_handler.
19036
8d707a12
PA
190372015-04-10 Pedro Alves <palves@redhat.com>
19038
19039 PR gdb/18216
19040 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19041
ef713951
YQ
190422015-04-10 Yao Qi <yao.qi@linaro.org>
19043
19044 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19045 (test_add_rn_pc): New function.
19046 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19047 (top level): Invoke test_add_rn_pc.
19048
906d60cf
PA
190492015-04-10 Pedro Alves <palves@redhat.com>
19050
19051 PR gdb/13858
19052 * gdb.base/step-over-no-symbols.exp: New file.
19053
f2983cc3
AW
190542015-04-09 Andy Wingo <wingo@igalia.com>
19055
19056 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19057 after the Python tests.
19058
6d62641c
SDJ
190592015-04-08 Keith Seitz <keiths@redhat.com>
19060
19061 PR python/16699
19062 * gdb.python/py-completion.exp: New tests for completion.
19063 * gdb.python/py-completion.py (CompleteLimit1): New class.
19064 (CompleteLimit2): Likewise.
19065 (CompleteLimit3): Likewise.
19066 (CompleteLimit4): Likewise.
19067 (CompleteLimit5): Likewise.
19068 (CompleteLimit6): Likewise.
19069 (CompleteLimit7): Likewise.
19070
f3770638
PA
190712015-04-08 Pedro Alves <palves@redhat.com>
19072
19073 PR gdb/18214
19074 PR gdb/18216
19075 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19076 function.
19077 (main): Install it as SIGUSR1 handler.
19078 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19079 parameter. Always use "setup" as prefix. Toggle "set
19080 displaced-stepping" off/on depending on global. Don't switch to
19081 thread 1 here.
19082 (top level): Add displaced stepping "off/on" test axis. Update
19083 "setup" calls. Wrap each subtest with with_test_prefix. Test
19084 continuing with a queued signal in each thread.
19085
4496bed7
PA
190862015-04-08 Pedro Alves <palves@redhat.com>
19087
19088 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19089 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19090 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19091 Return early if running to main fails.
19092 * gdb.trace/while-stepping.exp: Likewise.
19093
b97fde92
PA
190942015-04-07 Pedro Alves <palves@redhat.com>
19095
19096 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19097 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19098 interact with inferior program.
19099
f71c18e7
PA
191002015-04-07 Pedro Alves <palves@redhat.com>
19101
19102 * lib/gdb.exp (inferior_spawn_id): New global.
19103 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19104 spawn id after processing the user code.
19105 (default_gdb_start): Set inferior_spawn_id.
19106 (send_inferior): New procedure.
19107 * lib/gdbserver-support.exp (gdbserver_start): Set
19108 inferior_spawn_id.
19109 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19110
6423214f
PA
191112015-04-07 Pedro Alves <palves@redhat.com>
19112
19113 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19114 * lib/gdbserver-support.exp (gdbserver_start): Make
19115 $server_spawn_id global.
19116 (gdbserver_start): Don't wait for gdbserver's spawn id with
19117 expect_background.
19118 (close_gdbserver): New procedure.
19119 (gdb_exit): Rename the default version and reimplement.
19120
71c0ee8c
PA
191212015-04-07 Pedro Alves <palves@redhat.com>
19122
72f4393d 19123 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19124 append the substituted item, not the original item.
19125
203bc29b
PA
191262015-04-07 Pedro Alves <palves@redhat.com>
19127
19128 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19129 gdb_expect.
19130
508a3ddf
PA
191312015-04-07 Pedro Alves <palves@redhat.com>
19132
19133 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19134 output appearing once only.
19135
9f6dbe2b
PA
191362015-04-07 Pedro Alves <palves@redhat.com>
19137
19138 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19139 that doesn't expect anything. Return early if running to main
19140 fails.
19141
337532fa
YQ
191422015-04-07 Yao Qi <yao.qi@linaro.org>
19143
19144 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19145 (child_function): Call alarm.
19146 (main): Move call to alarm into the loop.
19147 * gdb.threads/non-stop-fair-events.exp: Build program with
19148 -DTIMEOUT=$timeout.
19149
01b622d4
DE
191502015-04-06 Doug Evans <xdje42@gmail.com>
19151
19152 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19153 Fix dest parameter to board_info.
19154 (fpc_compile): Ditto.
19155 (gdb_compile_pascal): Rename dest arg to destfile.
19156
961f4160
PMR
191572015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19158
19159 * gdb.ada/funcall_ref.exp: New file.
19160 * gdb.ada/funcall_ref/foo.adb: New file.
19161
cafda597
YQ
191622015-04-02 Yao Qi <yao.qi@linaro.org>
19163
19164 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19165 is remote.
19166
fed040c6
GB
191672015-04-02 Gary Benson <gbenson@redhat.com>
19168
19169 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19170
d11916aa
SS
191712015-04-01 Sasha Smundak <asmundak@google.com>
19172
19173 * gdb.python/py-unwind-maint.c: New file.
19174 * gdb.python/py-unwind-maint.exp: New test.
19175 * gdb.python/py-unwind-maint.py: New file.
19176 * gdb.python/py-unwind.c: New file.
19177 * gdb.python/py-unwind.exp: New test.
19178 * gdb.python/py-unwind.py: New test.
19179
a1471180
PA
191802015-04-01 Pedro Alves <palves@redhat.com>
19181
19182 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19183 to fail instead of non-existent $test.
19184
0bbeccb1
PA
191852015-04-01 Pedro Alves <palves@redhat.com>
19186
19187 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19188 GDBFLAGS if not empty.
19189
3c724c8c
PMR
191902015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19191
19192 * gdb.ada/complete.exp: Remove "multi_line".
19193 * gdb.ada/info_exc.exp: Remove "multi_line".
19194 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19195 * gdb.ada/ptype_field.exp: Remove "multi_line".
19196 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19197 * gdb.ada/tagged.exp: Remove "multi_line".
19198 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19199 [multi_line ...]
19200 * gdb.btrace/delta.exp: Likewise.
19201 * gdb.btrace/exception.exp: Likewise.
19202 * gdb.btrace/function_call_history.exp: Likewise.
19203 * gdb.btrace/instruction_history.exp: Likewise.
19204 * gdb.btrace/nohist.exp: Likewise.
19205 * gdb.btrace/record_goto.exp: Likewise.
19206 * gdb.btrace/segv.exp: Likewise.
19207 * gdb.btrace/stepi.exp: Likewise.
19208 * gdb.btrace/tailcall.exp: Likewise.
19209 * gdb.btrace/unknown_functions.exp: Likewise.
19210 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19211 * lib/gdb.exp: Add the "multi_line" helper.
19212
4eec2deb
PA
192132015-04-01 Pedro Alves <palves@redhat.com>
19214
19215 * gdb.threads/tid-reuse.c: New file.
19216 * gdb.threads/tid-reuse.exp: New file.
19217
df8411da
SDJ
192182015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19219
19220 PR corefiles/16092
19221 * gdb.base/coredump-filter.c: New file.
19222 * gdb.base/coredump-filter.exp: Likewise.
19223
6ef37366
PM
192242015-03-27 Petr Machata <pmachata@redhat.com>
19225
19226 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19227 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19228 (Dwarf::assemble): Initialize them.
19229 (Dwarf::lines): New function.
19230
7ec911b0
JT
192312015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19232
19233 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19234 SYMBOL_PREFIX for x86_64-*-cygwin.
19235
ff908ebf
AW
192362015-03-26 Andy Wingo <wingo@igalia.com>
19237
19238 PR symtab/18148
19239 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19240 const_value but not a location.
19241 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19242 location defined in non-main CUs are visible.
19243
6d5f0679
YQ
192442015-03-26 Yao Qi <yao.qi@linaro.org>
19245
19246 PR testsuite/18139
19247 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19248 Add a line number entry for the same line.
19249 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19250 Add a line number entry for the same line.
19251
2898689b
YQ
192522015-03-26 Yao Qi <yao.qi@linaro.org>
19253
19254 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19255 .int 0.
19256 (func): Likewise. Add .Lfunc_1 label.
19257 Use .Lfunc_1 label.
19258 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19259 .int 0.
19260 (func): Likewise.
19261 Use .Lfunc_1 label.
19262
85180498
YQ
192632015-03-26 Yao Qi <yao.qi@linaro.org>
19264
19265 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19266 Call gdb_compile instead to compile each .s files without debug
19267 information.
19268
8aa08a8d
YQ
192692015-03-26 Yao Qi <yao.qi@linaro.org>
19270
19271 * gdb.base/savedregs.exp (process_saved_regs): Make
19272 "Saved registers:" optional in the pattern.
19273
66849923
MM
192742015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19275
19276 * gdb.btrace/next.exp: Merged into step.exp.
19277 * gdb.btrace/finish.exp: Merged into step.exp.
19278 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19279 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19280 "record goto" and checking the exact replay position.
19281 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19282 check for "Recording format" in "info record" output.
19283 * gdb.btrace/record_goto.exp: Choose test file based on target.
19284 * gdb.btrace/x86-record_goto.S: Renamed into ...
19285 * gdb.btrace/x86_64-record_goto.S: ... this.
19286 * gdb.btrace/i686-record_goto.S: New.
19287 * gdb.btrace/x86-tailcall.S: Renamed into ...
19288 * gdb.btrace/x86_64-tailcall.S: ... this.
19289 * gdb.btrace/i686-tailcall.S: New.
19290 * gdb.btrace/x86-tailcall.c: Renamed into ...
19291 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19292 separate statements. Update test.
19293 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19294 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19295 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19296 * gdb.btrace/tailcall.exp: Choose test file based on target.
19297 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19298
11cc1b74
MM
192992015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19300
19301 * gdb.btrace/exception.exp: Increase BTS buffer size.
19302
a25d8bf9
PA
193032015-03-24 Pedro Alves <palves@redhat.com>
19304
19305 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19306
856e7dd6
PA
193072015-03-24 Pedro Alves <palves@redhat.com>
19308
19309 * gdb.threads/schedlock.exp (test_step): No longer expect that
19310 "set scheduler-locking step" with "next" over a function call runs
19311 threads unlocked.
19312
ad235a41
AT
193132015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19314
19315 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19316
15630549
AT
193172015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19318
19319 PR breakpoints/16466
19320 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19321 * gdb.mi/mi-pending.c (thread_func): New function.
19322 (int main): Add threading support required.
19323 * gdb.mi/mi-pending.exp: Add tests for this issue.
19324 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19325 (pendfunc2): Remove stdio dependency.
19326 * gdb.mi/mi-pendshr2.c: New file.
19327
693dca06
KS
193282015-03-23 Keith Seitz <keiths@redhat.com>
19329
19330 * gdb.linespec/keywords.c: New file.
19331 * gdb.linespec/keywords.exp: New file.
19332
7e993ebf
KS
193332015-03-23 Keith Seitz <keiths@redhat.com>
19334
19335 PR gdb/18021
19336 * gdb.dwarf2/staticvirtual.exp: New test.
19337
bc23328c
JK
193382015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19339
19340 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19341 * README: Remove HP-UX and gdb.hp.
19342 (configuration):
19343 * configure: Regenerate.
19344 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19345 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19346 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19347 gdb.hp/gdb.defects/Makefile.
19348 * gdb.hp/Makefile.in: File deleted.
19349 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19350 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19351 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19352 * gdb.hp/gdb.aCC/run.c: File deleted.
19353 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19354 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19355 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19356 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19357 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19358 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19359 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19360 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19361 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19362 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19363 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19364 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19365 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19366 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19367 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19368 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19369 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19370 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19371 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19372 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19373 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19374 * gdb.hp/gdb.compat/average.c: File deleted.
19375 * gdb.hp/gdb.compat/sum.c: File deleted.
19376 * gdb.hp/gdb.compat/xdb.c: File deleted.
19377 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19378 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19379 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19380 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19381 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19382 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19383 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19384 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19385 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19386 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19387 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19388 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19389 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19390 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19391 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19392 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19393 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19394 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19395 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19396 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19397 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19398 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19399 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19400 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19401 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19402 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19403 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19404 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19405 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19406 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19407 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19408 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19409 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19410 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19411 * gdb.hp/tools/odump: File deleted.
19412
8bf3b159
PA
194132015-03-19 Pedro Alves <palves@redhat.com>
19414
19415 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19416 (saw_thread_3): New globals.
19417 (top level): Increment them when an event for the corresponding
19418 thread is seen.
19419 (no thread starvation): New test.
19420
eb54c8bf
PA
194212015-03-19 Pedro Alves <palves@redhat.com>
19422
19423 * gdb.threads/continue-pending-status.c: New file.
19424 * gdb.threads/continue-pending-status.exp: New file.
19425
32d2e5d6
PA
194262015-03-18 Pedro Alves <palves@redhat.com>
19427
19428 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19429 Use gdb_is_target_remote instead of is_remote. Use
19430 gdb_test_multiple instead of gdb_expect. Exit early if
19431 gdb_test_multiple hits its internal matches. Tighten stepi tests
19432 expected output. Fail on exit with any signal, instead of just
19433 SIGILL.
19434
f68f11b7
YQ
194352015-03-18 Yao Qi <yao.qi@linaro.org>
19436
19437 PR tdep/18107
19438 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19439 variable.
19440 * gdb.base/catch-syscall.exp: Don't skip it on
19441 aarch64*-*-linux* target. Remove elements in all_syscalls.
19442 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19443 target.
19444 (setup_all_syscalls): New proc.
19445
ca5fd19b
YQ
194462015-03-16 Yao Qi <yao.qi@linaro.org>
19447
19448 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19449 (top level): Skip tests if valid_addr_p returns false for
19450 $cmd1 or $cmd2.
19451
85642ba0
AW
194522015-03-11 Andy Wingo <wingo@igalia.com>
19453
19454 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19455
e03f9645
YQ
194562015-03-11 Yao Qi <yao.qi@linaro.org>
19457
19458 * gdb.base/catch-syscall.exp: Fix typo in comments.
19459
5d0962b2
YQ
194602015-03-11 Yao Qi <yao.qi@linaro.org>
19461
19462 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19463
b2df3cef
PA
194642015-03-09 Pedro Alves <palves@redhat.com>
19465
19466 * dg-extract-results.py: Delete.
19467
ef878e53
PA
194682015-03-09 Pedro Alves <palves@redhat.com>
19469
19470 Merge dg-extract-results.sh from GCC upstream (r218843).
19471
19472 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19473 * dg-extract-results.sh: Use --text with grep to avoid issues with
19474 binary files. Fall back to cat -v, if that doesn't work.
19475
9494d219
PA
194762015-03-05 Pedro Alves <palves@redhat.com>
19477
19478 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19479
a8d9763a
SM
194802015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19481
19482 * lib/mi-support.exp (mi_expect_interrupt): Accept
19483 alternative event for when in all-stop mode.
19484
be9957b8
PA
194852015-03-04 Pedro Alves <palves@redhat.com>
19486
19487 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19488
d57be0f4 194892015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19490
19491 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19492
c214c7cf
AA
194932015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19494
19495 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19496 regexps for GDB's current line display, accept a hex address
19497 preceding the line number.
19498
6d74a497
AA
194992015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19500
19501 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19502 the 'arch1' variable for "s390*-linux*" targets.
19503
511aee7c
PA
195042015-03-04 Pedro Alves <palves@redhat.com>
19505
19506 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19507 (main): Pass missing retval argument to pthread_join call.
19508
95e50b27
PA
195092015-03-02 Pedro Alves <palves@redhat.com>
19510
19511 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19512 (top level): Call do_test with non-stop as well.
19513
28054d69
PA
195142015-03-02 Pedro Alves <palves@redhat.com>
19515
19516 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19517 -1.
19518
4fa5d7b4
AA
195192015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19520
19521 * gdb.arch/s390-vregs.exp: New test.
19522 * gdb.arch/s390-vregs.S: New file.
19523
97c18565
PA
195242015-02-27 Pedro Alves <palves@redhat.com>
19525
19526 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19527 call to catch_command_errors.
19528 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19529 catch_command_errors.
19530
a37bfa30
PA
195312015-02-27 Pedro Alves <palves@redhat.com>
19532
19533 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19534 "true" for boolean result.
19535 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19536 prototype of main.
19537
6f98576f
PA
195382015-02-27 Pedro Alves <palves@redhat.com>
19539
19540 * lib/unbuffer_output.c: New file.
19541 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19542 (main): Call gdb_unbuffer_output.
19543
eba5ab56
YQ
195442015-02-27 Yao Qi <yao.qi@linaro.org>
19545
19546 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19547 target.
19548
0def5aaa
DE
195492015-02-26 Doug Evans <dje@google.com>
19550
19551 * gdb.cp/class2.cc (Dbase, D): New classes.
19552 (main): New local delta.
19553 * gdb.cp/class2.exp: Test printing delta.
19554 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19555 (dynbar): New global.
19556 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19557
081a1c2c
JK
195582015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19559
19560 * gdb.compile/compile-ifunc.c: New file.
19561 * gdb.compile/compile-ifunc.exp: New file.
19562
2f41223f
AT
195632015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19564
19565 * gdb.base/structs.exp: Check for correct struct on finish.
19566
03eddd80
YQ
195672015-02-26 Yao Qi <yao.qi@linaro.org>
19568
19569 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19570 is zero.
19571
80c57053
JK
195722015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19573
19574 * gdb.arch/cordic.ko.bz2: New file.
19575 * gdb.arch/cordic.ko.debug.bz2: New file.
19576 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19577
21613c12
YQ
195782015-02-25 Yao Qi <yao.qi@linaro.org>
19579
19580 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19581 aarch64*-*-* target.
19582
d8b901ed
PA
195832015-02-23 Pedro Alves <palves@redhat.com>
19584
19585 * lib/gdb.exp (delete_breakpoints): Rewrite using
19586 gdb_test_multiple.
19587
e5b85ead
PA
195882015-02-23 Pedro Alves <palves@redhat.com>
19589
19590 * gdb.base/info-os.c: Include stdlib.h.
19591
85c3a371
DE
195922015-02-22 Doug Evans <xdje42@gmail.com>
19593
19594 PR symtab/17855
19595 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19596 is read after symbols have been re-read.
19597 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19598 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19599
96553a0c
DE
196002015-02-21 Doug Evans <dje@google.com>
19601
19602 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19603
97a0c697
JK
196042015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19605
19606 PR corefiles/17808
19607 * gdb.arch/i386-biarch-core.core.bz2: New file.
19608 * gdb.arch/i386-biarch-core.exp: New file.
19609
a47cd6e9
PA
196102015-02-21 Pedro Alves <palves@redhat.com>
19611
19612 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19613 runto_main fails.
19614
c5facdc4
PA
196152015-02-20 Pedro Alves <palves@redhat.com>
19616
19617 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19618 info probes.
19619
2db9a427
PA
196202015-02-20 Pedro Alves <palves@redhat.com>
19621
19622 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19623
60fb7e9e
PA
196242015-02-20 Pedro Alves <palves@redhat.com>
19625
19626 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19627 clean_restart before gdb_target_supports_trace.
19628
5c5019c2
PA
196292015-02-20 Pedro Alves <palves@redhat.com>
19630
19631 PR threads/18006
19632 * gdb.threads/clone-thread_db.c: New file.
19633 * gdb.threads/clone-thread_db.exp: New file.
19634
c9587f88
AT
196352015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19636
19637 PR breakpoints/16812
19638 * gdb.base/catch-gdb-caused-signals.c: New file.
19639 * gdb.base/catch-gdb-caused-signals.exp: New file.
19640
f6a88844
JM
196412015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19642
19643 * configure: Regenerated.
19644 * configure.ac: Use GDB_AC_TRANSFORM.
19645 * aclocal.m4: sinclude ../transform.m4.
19646
497c491b
JM
196472015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19648
19649 * lib/dtrace.exp: New file.
19650 * gdb.base/dtrace-probe.exp: Likewise.
19651 * gdb.base/dtrace-probe.d: Likewise.
19652 * gdb.base/dtrace-probe.c: Likewise.
19653 * lib/pdtrace.in: Likewise.
19654 * configure.ac: Output variables with the transformed names of
19655 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19656 * configure: Regenerated.
19657
03e98035
JM
196582015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19659
19660 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19661 expected message when trying to access $_probe_* convenience
19662 variables while not on a probe.
19663
63cc30e9
JK
196642015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19665
19666 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19667
0703599a
PA
196682015-02-11 Pedro Alves <pedro@codesourcery.com>
19669
19670 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19671 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19672
7e60a48e
DE
196732015-02-10 Doug Evans <xdje42@gmail.com>
19674
19675 * lib/gdb.exp (gdb_load): Always return a result.
19676
01b088bc
PA
196772015-02-10 Pedro Alves <palves@redhat.com>
19678
19679 * gdb.threads/signal-sigtrap.c: New file.
19680 * gdb.threads/signal-sigtrap.exp: New file.
19681
b05ec7a5
AT
196822015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19683
19684 * gdb.trace/no-attach-trace.c: New file.
19685 * gdb.trace/no-attach-trace.exp: New file.
19686
a2c2acaf
MW
196872015-02-09 Mark Wielaard <mjw@redhat.com>
19688
19689 * gdb.dwarf2/atomic.c: New file.
19690 * gdb.dwarf2/atomic-type.exp: Likewise.
19691
31fd9caa
MM
196922015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19693
19694 * gdb.btrace/buffer-size.exp: Update "info record" output.
19695 * gdb.btrace/delta.exp: Update "info record" output.
19696 * gdb.btrace/enable.exp: Update "info record" output.
19697 * gdb.btrace/finish.exp: Update "info record" output.
19698 * gdb.btrace/instruction_history.exp: Update "info record" output.
19699 * gdb.btrace/next.exp: Update "info record" output.
19700 * gdb.btrace/nexti.exp: Update "info record" output.
19701 * gdb.btrace/step.exp: Update "info record" output.
19702 * gdb.btrace/stepi.exp: Update "info record" output.
19703 * gdb.btrace/nohist.exp: Update "info record" output.
19704
d33501a5
MM
197052015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19706
19707 * gdb.btrace/buffer-size: New.
19708
f4abbc16
MM
197092015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19710
19711 * gdb.btrace/delta.exp: Update "info record" output.
19712 * gdb.btrace/enable.exp: Update "info record" output.
19713 * gdb.btrace/finish.exp: Update "info record" output.
19714 * gdb.btrace/instruction_history.exp: Update "info record" output.
19715 * gdb.btrace/next.exp: Update "info record" output.
19716 * gdb.btrace/nexti.exp: Update "info record" output.
19717 * gdb.btrace/step.exp: Update "info record" output.
19718 * gdb.btrace/stepi.exp: Update "info record" output.
19719 * gdb.btrace/nohist.exp: Update "info record" output.
19720
b9d61307
SM
197212015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19722
19723 PR gdb/15678
19724 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19725
e584fdbc
PA
197262015-02-06 Pedro Alves <palves@redhat.com>
19727
19728 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19729 macro.
19730 (seconds_left, again): New globals.
19731 (main): Wait seconds_left in a 1-second sleep loop instead of
19732 sleeping 180 seconds. If 'again' is set, reset the seconds
19733 counter.
19734 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19735 'again' in the inferior before detaching. Print the seconds left.
19736 (options): New global.
19737 (top level): Build program with -DTIMEOUT=$timeout.
19738
77f41761
PA
197392015-02-06 Pedro Alves <palves@redhat.com>
19740
19741 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19742 determine how many seconds to pass to 'alarm'.
19743 * gdb.base/gdb-sigterm.exp (top level): Build program with
19744 -DTIMEOUT=$timeout.
19745 (do_test): Return success/failure indication. Add more verbose
19746 logging. Don't fail if 200 single steps are seen. Instead, fail
19747 when the test times out.
19748 (passes): New global.
19749 (top level): Break the testing loop if testing fails on any
19750 iteration. Use gdb_assert.
19751
b9394193
DB
197522015-02-04 Don Breazeal <donb@codesourcery.com>
19753
19754 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19755 and initialize them.
19756 (ipc_cleanup): New function.
19757 (main): Don't declare shmid, semid, and msqid. Add a call to
19758 atexit so that we call ipc_cleanup on exit.
19759
42d9e528
PA
197602015-02-04 Pedro Alves <palves@redhat.com>
19761
19762 * boards/native-extended-gdbserver.exp: Remove any target variant
19763 specifications from the board name before clearing the isremote
19764 flag from board_info.
19765
ae6ae975
DE
197662015-01-31 Doug Evans <xdje42@gmail.com>
19767
19768 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19769
cfb069a8
GB
197702015-01-31 Gary Benson <gbenson@redhat.com>
19771
19772 * gdb.base/completion.exp: Disable completion limiting for
19773 existing tests. Add new tests to check completion limiting.
19774 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19775
5dd31d79
DE
197762015-01-31 Doug Evans <xdje42@gmail.com>
19777
19778 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19779
9f050062
DE
197802015-01-31 Doug Evans <xdje42@gmail.com>
19781
19782 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19783 entries. Duplicate file section script entries.
19784 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19785 inlined entries. Add test for safe-path rejection.
19786 * gdb.python/py-section-script.c: Add duplicate inlined section script
19787 entries. Duplicate file section script entries.
19788 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19789 inlined entries. Add test for safe-path rejection.
19790
df25ebbd
JB
197912015-01-29 Joel Brobecker <brobecker@adacore.com>
19792
19793 * gdb.ada/disc_arr_bound: New testcase.
19794
4a0ca9ec
JB
197952015-01-29 Joel Brobecker <brobecker@adacore.com>
19796
19797 * gdb.ada/mi_var_array: New testcase.
19798
3a8b707a
DE
197992015-01-27 Doug Evans <dje@google.com>
19800
19801 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19802 Add test for objfile.filename, objfile.username after objfile
19803 has been unloaded.
19804
f8313f6e
JB
198052015-01-26 Joel Brobecker <brobecker@adacore.com>
19806
19807 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19808 the second test to print the name attribute of value
19809 returned by the call to gdb.lookup_type, and adjust
19810 the expected output accordingly.
19811
37bc665e
MW
198122015-01-25 Mark Wielaard <mjw@redhat.com>
19813
19814 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19815 * gdb.base/disp-step-fork.c: Include unistd.h.
19816 * gdb.base/siginfo-obj.c: Include stdio.h.
19817 * gdb.base/siginfo-thread.c: Likewise.
19818 * gdb.mi/non-stop.c: Include unistd.h.
19819 * gdb.mi/nsthrexec.c: Include stdio.h.
19820 * gdb.mi/pthreads.c: Include unistd.h.
19821 * gdb.modula2/unbounded1.c (main): Declare returns int.
19822 * gdb.reverse/consecutive-reverse.c: Likewise.
19823 * gdb.threads/create-fail.c: Include unistd.h.
19824 * gdb.threads/killed.c: Likewise.
19825 * gdb.threads/linux-dp.c: Likewise.
19826 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19827 * gdb.threads/non-ldr-exc-2.c: Likewise.
19828 * gdb.threads/non-ldr-exc-3.c: Likewise.
19829 * gdb.threads/non-ldr-exc-4.c: Likewise.
19830 * gdb.threads/pthreads.c: Include unistd.h.
19831 (main): Declare returns int.
19832 * gdb.threads/tls-main.c (foo): New declaration.
19833 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19834
f7e5394d
SM
198352015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19836
19837 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19838 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19839
743649fd
MW
198402015-01-15 Mark Wielaard <mjw@redhat.com>
19841
19842 * gdb.base/noreturn-return.c: New file.
19843 * gdb.base/noreturn-return.exp: New file.
19844 * gdb.base/noreturn-finish.c: New file.
19845 * gdb.base/noreturn-finish.exp: New file.
19846
198297aa
PA
198472015-01-23 Pedro Alves <palves@redhat.com>
19848
19849 * gdb.threads/continue-pending-after-query.c: New file.
19850 * gdb.threads/continue-pending-after-query.exp: New file.
19851
717cf30c
AG
198522015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19853 Simon Marchi <simon.marchi@ericsson.com>
19854
19855 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19856 * gdb.base/valgrind-db-attach.exp: Same.
19857 * gdb.base/valgrind-infcall.exp: Same.
19858 * lib/mi-support.exp (default_mi_gdb_start): Same.
19859 * lib/prompt.exp (default_prompt_gdb_start): Same.
19860 * lib/gdb.exp (default_gdb_spawn): Same.
19861 (gdb_interact): New.
19862
19863
4b62a76e
JK
198642015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19865
19866 * gdb.compile/compile.exp (pointer to jit function): New test.
19867
b4cdae6f
WW
198682015-01-17 Wei-cheng Wang <cole945@gmail.com>
19869
19870 * lib/gdb.exp (supports_process_record): Return true for
19871 powerpc*-*-linux*.
19872 (supports_reverse): Likewise.
19873
d221e7ef
DB
198742015-01-15 Don Breazeal <donb@codesourcery.com>
19875
19876 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19877 instead of checking whether the target board is remote and
19878 use spawn_wait_for_attach instead of exec/sleep.
19879 * gdb.base/attach-twice.exp: Likewise.
19880
bafffb51
JB
198812015-01-15 Joel Brobecker <brobecker@adacore.com>
19882
19883 * gdb.ada/var_arr_attrs: New testcase.
19884
5589af0e
PA
198852015-01-14 Pedro Alves <palves@redhat.com>
19886 Joel Brobecker <brobecker@adacore.com>
19887
19888 PR gdb/17525
19889 * gdb.base/bp-cmds-execution-x-script.c: New file.
19890 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19891 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19892
6c400b59
PA
198932015-01-14 Pedro Alves <palves@redhat.com>
19894
19895 PR cli/17828
19896 * gdb.base/batch-preserve-term-settings.c: New file.
19897 * gdb.base/batch-preserve-term-settings.exp: New file.
19898
e02c96a7
DE
198992015-01-13 Doug Evans <dje@google.com>
19900
19901 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19902 binary.
19903
576fd14c
JB
199042015-01-13 Joel Brobecker <brobecker@adacore.com>
19905
19906 * Makefile.in (clean mostlyclean): Do not delete *.py.
19907
04dccad0
JB
199082015-01-13 Joel Brobecker <brobecker@adacore.com>
19909
19910 * gdb.python/py-lookup-type.exp: New file.
19911
3d230f71
PA
199122015-01-12 Pedro Alves <palves@redhat.com>
19913
19914 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19915 restore GDBFLAGS before returning.
19916
7e67715d
JK
199172015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19918
19919 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19920 is_amd64_regs_target and is_x86_like_target.
19921
f2e0d4b4
DE
199222015-01-11 Doug Evans <xdje42@gmail.com>
19923
19924 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19925 is given without an explicit form.
19926 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19927 attributes.
19928 * gdb.dwarf/corrupt.exp: Ditto.
19929 * gdb.dwarf2/enum-type.exp: Ditto.
19930 * gdb.trace/entry-values.exp: Ditto.
19931 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19932
439250fb
DE
199332015-01-11 Doug Evans <xdje42@gmail.com>
19934
19935 PR gdb/15830
19936 * gdb.base/maint.exp: Remove references to "maint demangle".
19937 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19938 Add tests for explicitly specifying language to demangle.
19939 * gdb.dlang/demangle.exp: Ditto.
19940
ede9f622
PA
199412015-01-09 Pedro Alves <palves@redhat.com>
19942
19943 * gdb.threads/non-stop-fair-events.c: New file.
19944 * gdb.threads/non-stop-fair-events.exp: New file.
19945
a7b796db
PA
199462015-01-09 Pedro Alves <palves@redhat.com>
19947
19948 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19949 the global scope. Set a breakpoint after all threads are started
19950 rather than stepping over two source lines. Expect the prompt.
19951 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19952 global.
19953 (NUM): Now 15.
19954 (main): Use threads_started_barrier to wait for all threads to
19955 start. Main thread no longer calls thread_function. Exit after
19956 180 seconds.
19957 (loop): New function.
19958 (thread_function): Wait on threads_started_barrier barrier. Call
19959 'loop' at each iteration.
19960 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19961 threads have started, instead of hardcoding number of "next"
19962 steps. Use an access watchpoint instead of a write watchpoint.
19963
9665ffdd
PA
199642015-01-09 Pedro Alves <palves@redhat.com>
19965
19966 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19967 (thread_func): Wait on barrier.
19968 (main): Wait for all threads to start before stopping GDB.
19969 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19970 global.
19971 (thread1_func, thread2_func): Wait on barrier.
19972 (main): Wait for all threads to start before stopping GDB.
19973 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19974 New global.
19975 (thread1_func, thread2_func): Wait on barrier.
19976 (main): Wait for all threads to start before stopping GDB.
19977
c945a99f
PA
199782015-01-09 Pedro Alves <palves@redhat.com>
19979
19980 * gdb.threads/attach-many-short-lived-threads.c: New file.
19981 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19982
c1a747c1
PA
199832014-01-09 Pedro Alves <palves@redhat.com>
19984
19985 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19986 instead of to thread 2.
19987 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19988 Add barrier around each pthread_create call instead of around all
19989 calls.
19990 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19991 Set a break on thread_function and have the child threads hit it
19992 one at at a time.
19993
60b3033e
PA
199942015-01-09 Pedro Alves <palves@redhat.com>
19995
19996 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19997 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19998 false.
19999 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20000 checking whether the target board is remote.
20001 * gdb.multi/multi-attach.exp: Likewise.
20002 * gdb.python/py-sync-interp.exp: Likewise.
20003 * gdb.server/ext-attach.exp: Likewise.
20004 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20005 tests that need to attach, instead of checking whether the target
20006 board is remote at the top of the file.
20007
acc018ac
YQ
200082015-01-08 Yao Qi <yao@codesourcery.com>
20009
20010 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20011
50a18af8
JK
200122015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20013
20014 Fix testcase compilation.
20015 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20016
8503d6e1
JB
200172015-01-06 Joel Brobecker <brobecker@adacore.com>
20018
20019 * gdb.python/py-type.exp: Add a couple test about empty
20020 array creation, and negative-length array creation.
20021
cc73dbcc
DE
200222015-01-02 Doug Evans <xdje42@gmail.com>
20023
20024 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20025
0300bbc7
DE
200262015-01-02 Doug Evans <dje@google.com>
20027
20028 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20029
9d85a0ec
YQ
200302014-12-29 Yao Qi <yao@codesourcery.com>
20031
20032 * gdb.trace/entry-values.exp: Update comments. Rename variable
20033 bar_call_foo to returned_from_foo.
20034
87186c6a
MMN
200352014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20036
20037 PR gdb/17394
20038 * gdb.linespec/break-asm-file.c: New file.
20039 * gdb.linespec/break-asm-file.exp: New file.
20040 * gdb.linespec/break-asm-file0.s: New file.
20041 * gdb.linespec/break-asm-file1.s: New file.
20042
1bab7383
YQ
200432014-12-18 Nigel Stephens <nigel@mips.com>
20044 Maciej W. Rozycki <macro@codesourcery.com>
20045
20046 * gdb.base/float.exp: Handle the new output from "info float" on
20047 MIPS targets.
20048
1bc1068a
JK
200492014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20050
20051 Fix MinGW compilation.
20052 * gdb.compile/compile-ops.exp: Update untested message if
20053 !skip_compile_feature_tests.
20054 * gdb.compile/compile-setjmp.exp: Likewise.
20055 * gdb.compile/compile-tls.exp: Likewise.
20056 * gdb.compile/compile.exp: Likewise.
20057 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20058 supported on this host".
20059
b6615d10
DE
200602014-12-16 Doug Evans <xdje42@gmail.com>
20061
20062 * boards/stabs.exp: New file.
20063
25dda427
AA
200642014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20065
20066 * gdb.base/completion.exp: Adjust to format changes of "maint
20067 print user-registers".
20068
bf330350
CU
200692014-12-16 Catalin Udma <catalin.udma@freescale.com>
20070
20071 PR server/17457
20072 * gdb.arch/aarch64-fp.c: New file.
20073 * gdb.arch/aarch64-fp.exp: New file.
20074
395cf596
SDJ
200752014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20076
20077 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20078 r210637, r210913, r211666, r215400, r215817).
20079
20080 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20081 * dg-extract-results.py: New file.
20082 * dg-extract-results.sh: Use it if the environment seems
20083 suitable.
20084
20085 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20086
20087 * dg-extract-results.py (parse_run): Handle warnings that
20088 are printed before a test harness is run.
20089
20090 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20091
20092 * dg-extract-results.py (Named): Remove __cmp__ method.
20093 (output_variation): Use a key to sort variation.harnesses.
20094
20095 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20096
20097 * dg-extract-results.py: For Python 3, force sys.stdout to
20098 handle surrogate escape sequences.
20099 (safe_open): New function.
20100 (output_segment, main): Use it.
20101
20102 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20103
20104 * dg-extract-results.py (Prog.result_re): Include options
20105 in test name.
20106
20107 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20108
20109 * dg-extract-results.py (output_variation): Always sort if
20110 do_sum.
20111
e882ef3c
SM
201122014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20113
20114 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20115 as long as we get pagination notifications.
20116
4992aa20
JM
201172014-12-15 Jason Merrill <jason@redhat.com>
20118
20119 * Makefile.in (check-gdb.%): Restore.
20120 * README: Mention it.
20121
c1b5a1a6
JB
201222014-12-13 Joel Brobecker <brobecker@adacore.com>
20123
20124 * gdb.ada/str_uninit: New testcase.
20125
5537b577
JK
201262014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20127
20128 PR symtab/17642
20129 * gdb.base/vla-stub-define.c: New file.
20130 * gdb.base/vla-stub.c: New file.
20131 * gdb.base/vla-stub.exp: New file.
20132
bb2ec1b3
TT
201332014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20134 Jan Kratochvil <jan.kratochvil@redhat.com>
20135 Tom Tromey <tromey@redhat.com>
20136
20137 * configure.ac: Add gdb.compile/.
20138 * configure: Regenerate.
20139 * gdb.compile/Makefile.in: New file.
20140 * gdb.compile/compile-ops.exp: New file.
20141 * gdb.compile/compile-ops.c: New file.
20142 * gdb.compile/compile-tls.c: New file.
20143 * gdb.compile/compile-tls.exp: New file.
20144 * gdb.compile/compile-constvar.S: New file.
20145 * gdb.compile/compile-constvar.c: New file.
20146 * gdb.compile/compile-mod.c: New file.
20147 * gdb.compile/compile-nodebug.c: New file.
20148 * gdb.compile/compile-setjmp-mod.c: New file.
20149 * gdb.compile/compile-setjmp.c: New file.
20150 * gdb.compile/compile-setjmp.exp: New file.
20151 * gdb.compile/compile-shlib.c: New file.
20152 * gdb.compile/compile.c: New file.
20153 * gdb.compile/compile.exp: New file.
20154 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20155
4ff709eb
TT
201562014-12-12 Tom Tromey <tromey@redhat.com>
20157
20158 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20159 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20160
6dddd6a5
DE
201612014-12-12 Doug Evans <dje@google.com>
20162
20163 * lib/gdb-python.exp (get_python_valueof): New function.
20164 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20165
71c24708
AA
201662014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20167
20168 * gdb.base/completion.exp: Add test for completion of "info
20169 registers ".
20170
3e29f34a
MR
201712014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20172
20173 * gdb.base/func-ptrs.c: New file.
20174 * gdb.base/func-ptrs.exp: New file.
20175
fc126975
SM
201762014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20177
20178 PR breakpoints/17012
20179 * gdb.base/dprintf-detach.c: New file.
20180 * gdb.base/dprintf-detach.exp: New file.
20181
0a46d518
SM
201822014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20183
20184 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20185 * lib/gdb.exp (target_is_gdbserver): New procedure.
20186
a0be3e44
DE
201872014-12-08 Doug Evans <dje@google.com>
20188
20189 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20190
df1b803a
YQ
201912014-12-05 Yao Qi <yao@codesourcery.com>
20192
20193 * gdb.guile/scm-error.exp: Remove the third argument to
20194 gdb_remote_download.
20195 * gdb.guile/scm-frame-args.exp: Likewise.
20196 * gdb.guile/scm-section-script.exp: Likewise.
20197
ddb9f679
YQ
201982014-12-05 Yao Qi <yao@codesourcery.com>
20199
20200 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20201
86e4ed39
DE
202022014-12-04 Doug Evans <dje@google.com>
20203
20204 * gdb.python/py-objfile.exp: Add tests for
20205 objfile.add_separate_debug_file.
20206
7c50a931
DE
202072014-12-04 Doug Evans <dje@google.com>
20208
20209 * lib/gdb.exp (get_build_id): New function.
20210 (build_id_debug_filename_get): Rewrite to use it.
20211 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20212
621661e3
MR
202132014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20214
20215 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20216 `method(long)', not just 0x0.
20217 * gdb.cp/nsalias.exp: Align code labels to 4.
20218 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20219 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20220 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20221 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20222 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20223 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20224
29f0c3b7
DE
202252014-12-02 Doug Evans <dje@google.com>
20226
e1e061e7 20227 PR symtab/17602
29f0c3b7 20228 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20229 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20230 * gdb.cp/anon-ns.exp: Update.
20231
162078c8
NB
202322014-12-02 Nick Bull <nicholaspbull@gmail.com>
20233
20234 * gdb.python/py-events.py (inferior_call_handler): New.
20235 (register_changed_handler, memory_changed_handler): New.
20236 (test_events.invoke): Register new handlers.
20237 * gdb.python/py-events.exp: Add tests for inferior call,
20238 memory_changed and register_changed events.
20239
fdb09caf
AA
202402014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20241
20242 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20243 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20244 if the linker doesn't understand this.
20245
55cfb2c4
SM
202462014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20247
20248 * gdb.python/python.exp: Change expected reply to help().
20249
9e8cd6df
YQ
202502014-12-01 Yao Qi <yao@codesourcery.com>
20251
20252 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20253 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20254 * configure: Re-generated.
20255
6c659fc2
SC
202562014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20257
20258 * gdb.cp/chained-calls.cc: New file.
20259 * gdb.cp/chained-calls.exp: New file.
20260 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20261
d7fc3181
SM
202622014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20263
20264 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20265 * gdb.dwarf2/symtab-producer.exp: Same.
20266 * gdb.gdb/python-interrupts.exp: Same.
20267 * gdb.gdb/python-selftest.exp: Same.
20268 * gdb.python/py-linetable.exp: Same.
20269 * gdb.python/py-type.exp: Same.
20270 * gdb.python/py-value-cc.exp: Same.
20271 * gdb.python/py-value.exp: Same.
20272
10e79639
YQ
202732014-11-28 Yao Qi <yao@codesourcery.com>
20274
20275 * gdb.base/break-probes.exp: Match library name prefixed with
20276 sysroot.
20277
f28a0564
SM
202782014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20279
20280 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20281 test expected output. Add parentheses for the call to print.
20282 Remove L suffix from integers.
20283
3fe1ce1d
DE
202842014-11-26 Doug Evans <dje@google.com>
20285
20286 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20287
84429e27
YQ
202882014-11-22 Yao Qi <yao@codesourcery.com>
20289
20290 * gdb.trace/entry-values.c: Remove asms.
20291 (foo): Add foo_label.
20292 (bar): Add bar_label.
20293 * gdb.trace/entry-values.exp: Remove code computing foo's
20294 length and bar's length.
20295 (Dwarf::assemble): Invoke function_range for bar and use
20296 MACRO_AT_func for foo.
20297
26741859
YQ
202982014-11-22 Yao Qi <yao@codesourcery.com>
20299
20300 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20301 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20302 Use .Lgcc43_procstart instead of gcc43.
20303
45e44d27
JB
203042014-11-21 Joel Brobecker <brobecker@adacore.com>
20305
20306 * gdb.ada/n_arr_bound: New testcase.
20307
458c8db8
SDJ
203082014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20309
20310 PR breakpoints/10737
20311 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20312 test_catch_syscall_multi_arch.
20313 (test_catch_syscall_multi_arch): New function.
20314
43f3e411
DE
203152014-11-20 Doug Evans <xdje42@gmail.com>
20316
20317 * gdb.base/maint.exp: Update expected output.
20318
0d7b2549
AA
203192014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20320
20321 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20322 4-byte instruction on S390.
20323
8908fca5
JB
203242014-11-19 Joel Brobecker <brobecker@adacore.com>
20325
20326 * gdb.ada/arr_arr: New testcase.
20327
4a46959e
JB
203282014-11-19 Joel Brobecker <brobecker@adacore.com>
20329
20330 * gdb.ada/pkd_arr_elem: New Testcase.
20331
470e2f4e
LM
203322014-11-18 Luis Machado <lgustavo@codesourcery.com>
20333
20334 * gdb.reverse/break-precsave: Expect completion message for
20335 core file reads.
20336 * gdb.reverse/consecutive-precsave.exp: Likewise.
20337 * gdb.reverse/finish-precsave.exp: Likewise.
20338 * gdb.reverse/i386-precsave.exp: Likewise.
20339 * gdb.reverse/machinestate-precsave.exp: Likewise.
20340 * gdb.reverse/sigall-precsave.exp: Likewise.
20341 * gdb.reverse/solib-precsave.exp: Likewise.
20342 * gdb.reverse/step-precsave.exp: Likewise.
20343 * gdb.reverse/until-precsave.exp: Likewise.
20344 * gdb.reverse/watch-precsave.exp: Likewise.
20345
a267f3ad
AA
203462014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20347
20348 * gdb.base/bp-permanent.c: Include unistd.h.
20349 * gdb.python/py-framefilter-mi.c (main): Add return type.
20350 * gdb.python/py-framefilter.c (main): Likewise.
20351 * gdb.trace/actions-changed.c (main): Likewise.
20352
12084a9a
AA
203532014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20354
20355 * gdb.mi/until.c: Add eye-catchers.
20356 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20357 line numbers.
20358
dc7e1a77
AA
203592014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20360
20361 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20362 function header variants in break1.c.
20363 * gdb.base/ena-dis-br.exp: Likewise.
20364 * gdb.base/hbreak2.exp: Likewise.
20365 * gdb.reverse/until-precsave.exp: Drop references to removed
20366 non-prototype function header variants in ur1.c.
20367 * gdb.reverse/until-reverse.exp: Likewise.
20368
41c77605
PM
203692014-11-17 Petr Machata <pmachata@redhat.com>
20370
20371 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20372 ${_cu_offset_size} bytes abbrev offset.
20373
34248c3a
DE
203742014-11-15 Doug Evans <xdje42@gmail.com>
20375
20376 PR symtab/17559
20377 * gdb.base/line-symtabs.exp: New file.
20378 * gdb.base/line-symtabs.c: New file.
20379 * gdb.base/line-symtabs.h: New file.
20380
646da059
YQ
203812014-11-14 Yao Qi <yao@codesourcery.com>
20382
20383 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20384 (func): Add label func_label.
20385 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20386 Replace low_pc and high_pc with MACRO_AT_range.
20387 Replace name, low_pc and high_pc with MACRO_AT_func.
20388
9301ebe6
YQ
203892014-11-14 Yao Qi <yao@codesourcery.com>
20390
20391 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20392 Replace name, low_pc and high_pc with MACRO_AT_func.
20393
f166b542
YQ
203942014-11-14 Yao Qi <yao@codesourcery.com>
20395
20396 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20397 produce debug information.
20398 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20399
0f6e71e3
YQ
204002014-11-14 Yao Qi <yao@codesourcery.com>
20401
20402 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20403 object and get function length.
20404 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20405 with MACRO_AT_func.
20406 (top-level): Replace gdb_compile and clean_restart with
20407 prepare_for_testing.
20408 * gdb.dwarf2/main.c (main): Add label main_label.
20409
876c4df9
YQ
204102014-11-14 Yao Qi <yao@codesourcery.com>
20411
20412 * lib/dwarf.exp (function_range): New procedure.
20413 (Dwarf::_handle_macro_at_func): New procedure.
20414 (Dwarf::_handle_macro_at_range): New procedure.
20415 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20416
02ad9cf1
YQ
204172014-11-14 Yao Qi <yao@codesourcery.com>
20418
20419 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20420 (_handle_attribute): New procedure.
20421
a59add0c
AA
204222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20423
20424 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20425 * gdb.base/call-sc.c (zed): Likewise.
20426 * gdb.base/checkpoint.c (main): Likewise.
20427 * gdb.base/dump.c (main): Likewise.
20428 * gdb.base/gcore.c (main): Likewise.
20429 * gdb.base/huge.c (main): Likewise.
20430 * gdb.base/multi-forks.c (main): Likewise.
20431 * gdb.base/pr10179-a.c (main): Likewise.
20432 * gdb.base/savedregs.c (main): Likewise.
20433 * gdb.base/sigaltstack.c (main): Likewise.
20434 * gdb.base/siginfo.c (main): Likewise.
20435 * gdb.base/structs.c (zed): Likewise.
20436 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20437 * gdb.mi/mi-syn-frame.c (main): Likewise.
20438 * gdb.mi/until.c (foo, main): Likewise.
20439 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20440 * gdb.base/solib-weak.c (foo): Declare.
20441 * gdb.base/attach-twice.c: Include stdio.h.
20442 * gdb.base/weaklib1.c: Likewise.
20443 * gdb.base/weaklib2.c: Likewise.
20444 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20445 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20446 unistd.h.
20447 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20448 * gdb.mi/mi-exit-code.c: Likewise.
20449 * gdb.base/break-interp-lib.c: Include string.h.
20450 * gdb.base/coremaker.c: Likewise.
20451 * gdb.base/testenv.c: Likewise.
20452 * gdb.python/py-finish-breakpoint.c: Likewise.
20453 * gdb.base/inferior-died.c: Include sys/wait.h.
20454 * gdb.base/fileio.c: Include time.h.
20455 * gdb.base/async-shell.c: Include unistd.h.
20456 * gdb.base/dprintf-non-stop.c: Likewise.
20457 * gdb.base/info-os.c: Likewise.
20458 * gdb.mi/mi-console.c: Likewise.
20459 * gdb.mi/watch-nonstop.c: Likewise.
20460 * gdb.python/py-events.c: Likewise.
20461 * gdb.base/async.c (baz): Move up before its invocation.
20462 * gdb.base/code_elim2.c (my_global_func): Likewise.
20463 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20464 * gdb.base/advance.c (func2): Likewise.
20465
3b5d5997
AA
204662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20467
20468 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20469 variant.
20470 * gdb.base/annota3.c: Likewise.
20471 * gdb.base/async.c: Likewise.
20472 * gdb.base/average.c: Likewise.
20473 * gdb.base/call-ar-st.c: Likewise.
20474 * gdb.base/call-rt-st.c: Likewise.
20475 * gdb.base/call-sc.c: Likewise.
20476 * gdb.base/call-strs.c: Likewise.
20477 * gdb.base/ending-run.c: Likewise.
20478 * gdb.base/execd-prog.c: Likewise.
20479 * gdb.base/exprs.c: Likewise.
20480 * gdb.base/foll-exec.c: Likewise.
20481 * gdb.base/foll-fork.c: Likewise.
20482 * gdb.base/foll-vfork.c: Likewise.
20483 * gdb.base/funcargs.c: Likewise.
20484 * gdb.base/gcore.c: Likewise.
20485 * gdb.base/jump.c: Likewise.
20486 * gdb.base/langs0.c: Likewise.
20487 * gdb.base/langs1.c: Likewise.
20488 * gdb.base/langs2.c: Likewise.
20489 * gdb.base/mips_pro.c: Likewise.
20490 * gdb.base/nodebug.c: Likewise.
20491 * gdb.base/opaque0.c: Likewise.
20492 * gdb.base/opaque1.c: Likewise.
20493 * gdb.base/recurse.c: Likewise.
20494 * gdb.base/run.c: Likewise.
20495 * gdb.base/scope0.c: Likewise.
20496 * gdb.base/scope1.c: Likewise.
20497 * gdb.base/setshow.c: Likewise.
20498 * gdb.base/setvar.c: Likewise.
20499 * gdb.base/shmain.c: Likewise.
20500 * gdb.base/shr1.c: Likewise.
20501 * gdb.base/shr2.c: Likewise.
20502 * gdb.base/sigall.c: Likewise.
20503 * gdb.base/signals.c: Likewise.
20504 * gdb.base/so-indr-cl.c: Likewise.
20505 * gdb.base/solib2.c: Likewise.
20506 * gdb.base/structs.c: Likewise.
20507 * gdb.base/sum.c: Likewise.
20508 * gdb.base/vforked-prog.c: Likewise.
20509 * gdb.base/watchpoint.c: Likewise.
20510 * gdb.reverse/shr2.c: Likewise.
20511 * gdb.reverse/until-reverse.c: Likewise.
20512 * gdb.reverse/ur1.c: Likewise.
20513 * gdb.reverse/watch-reverse.c: Likewise.
20514
066a77c5
AA
205152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20516
20517 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20518 variant.
20519 * gdb.base/sepdebug.exp: Drop references to removed code.
20520
4f204ea5
AA
205212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20522
20523 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20524 variant. Preserve original line numbering.
20525 * gdb.base/list1.c: Likewise.
20526
3b377a3a
AA
205272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20528
20529 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20530 variant.
20531 * gdb.base/break1.c: Likewise.
20532 * gdb.base/break.exp: Drop references to removed code.
20533
e444df73
AA
205342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20535
20536 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20537 variant.
20538
8008f2a7
AA
205392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20540
20541 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20542
a5a06887
AA
205432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20544
20545 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20546 logic into perform_all_tests() and invoke it with and without
20547 function header prototypes.
20548 (do_function_calls): Remove conditional XFAIL for PR 5318.
20549 (rerun_and_prepare): Remove duplicate code.
20550 (perform_all_tests): New. Main logic moved here.
20551
44dba9b9
AA
205522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20553
20554 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20555 code guarded by #ifdef NO_PROTOTYPES.
20556 (t_double_many_args): Likewise.
20557 (DEF_FUNC_MANY_ARGS_1): Likewise.
20558 (DEF_FUNC_VALUES_1): Likewise.
20559 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20560 guarded by #ifdef PROTOTYPES.
20561
d1fbcd56
AA
205622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20563
20564 * gdb.mi/mi-console.c: Add eye-catcher.
20565 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20566 instead of literal line number.
20567
b0e59b8f
AA
205682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20569
20570 * gdb.base/shr2.c: Add eye-catcher.
20571 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20572 line number.
20573
78f98cca
AA
205742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20575
20576 * gdb.base/jump.c: Add eye-catchers.
20577 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20578 numbers.
20579
58fa2af0
AA
205802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20581
20582 * gdb.base/execd-prog.c: Add eye-catchers.
20583 * gdb.base/foll-exec.c: Likewise.
20584 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20585 line numbers.
20586
04e5059b
AA
205872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20588
20589 * gdb.base/ending-run.c: Add eye-catchers.
20590 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20591 literal line numbers.
20592
dbfdb174
AA
205932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20594
20595 * gdb.base/call-rt-st.c: Add eye-catchers.
20596 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20597 literal line numbers.
20598
888a2ade
AA
205992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20600
20601 * gdb.base/call-ar-st.c: Add eye-catchers.
20602 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20603 literal line numbers.
20604
6acc2dde
AA
206052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20606
20607 * gdb.base/average.c: Add eye-catchers.
20608 * gdb.base/sum.c: Likewise.
20609 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20610 regexps dynamically.
20611
9ecfcd1d
AA
206122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20613
20614 * gdb.base/solib1.c: Add eye-catchers.
20615 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20616 literal line numbers.
20617
78708b7c
PA
206182014-11-12 Pedro Alves <palves@redhat.com>
20619
20620 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20621 leader has exited.
20622
af48d08f
PA
206232014-11-12 Pedro Alves <palves@redhat.com>
20624
20625 * gdb.arch/i386-bp_permanent.c: New file.
20626 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20627 (srcfile): Set to i386-bp_permanent.c.
20628 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20629 that stepi does not execute the 'leave' instruction, instead of
20630 testing it does execute.
20631 * gdb.base/bp-permanent.c: New file.
20632 * gdb.base/bp-permanent.exp: New file.
20633
af3768e9
DE
206342014-11-10 Doug Evans <xdje42@gmail.com>
20635
20636 PR symtab/17564
20637 * gdb.base/symtab-search-order.exp: New file.
20638 * gdb.base/symtab-search-order.c: New file.
20639 * gdb.base/symtab-search-order-1.c: New file.
20640 * gdb.base/symtab-search-order-shlib-1.c: New file.
20641
9de00a4a
PA
206422014-11-07 Pedro Alves <palves@redhat.com>
20643
20644 PR gdb/17511
20645 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20646 i?86-*-linux*.
20647
e0f52461
SC
206482014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20649
20650 PR c++/17494
20651 * gdb.cp/pr17494.cc: New file.
20652 * gdb.cp/pr17494.exp: New file.
20653
6ce8c980
YQ
206542014-11-02 Yao Qi <yao@codesourcery.com>
20655
20656 * gdb.python/python.exp: Get working directory and match the
20657 output of "set extended-prompt \\w " with it.
20658
02be9a71
DE
206592014-10-30 Doug Evans <dje@google.com>
20660
20661 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20662 in objfiles.
20663 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20664 in progspaces.
20665
3bdff46b
LM
206662014-10-30 Janis Johnson <janisjo@codesourcery.com>
20667
20668 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20669 * gdb.base/realname-expand.exp: Likewise.
20670 * gdb.linespec/macro-relative.exp: Likewise.
20671
ab917dfb
PA
206722014-10-29 Pedro Alves <palves@redhat.com>
20673
20674 PR gdb/17408
20675 * gdb.threads/schedlock.c (some_function): New function.
20676 (call_function): New global.
20677 (MAYBE_CALL_SOME_FUNCTION): New macro.
20678 (thread_function): Call it.
20679 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20680 and use it instead of a global counter. Adjust all callers.
20681 (get_current_thread): Use "find current thread" for test message
20682 here rather than having all callers pass down the same string.
20683 (goto_loop): New procedure, factored out from ...
20684 (my_continue): ... this.
20685 (step_ten_loops): Change parameter from test message to command to
20686 use. Adjust.
20687 (list_count): Delete global.
20688 (check_result): New procedure, factored out from duplicate top
20689 level code.
20690 (continue tests): Wrap in with_test_prefix.
20691 (test_step): New procedure, factored out from duplicate top level
20692 code.
20693 (top level): Test "step" in combination with all scheduler-locking
20694 modes. Test "next" in combination with all scheduler-locking
20695 modes, and in combination with stepping over a function call or
20696 not.
20697 * gdb.threads/next-bp-other-thread.c: New file.
20698 * gdb.threads/next-bp-other-thread.exp: New file.
20699
d3d4baed
PA
207002014-10-29 Pedro Alves <palves@redhat.com>
20701
20702 PR python/17372
20703 * gdb.python/python.exp: Test a multi-line command that spawns
20704 interactive Python.
20705 * gdb.base/multi-line-starts-subshell.exp: New file.
20706
563e8d85
YQ
207072014-10-29 Yao Qi <yao@codesourcery.com>
20708
20709 * gdb.base/fileio.exp: Make directories on host.
20710
0ea4d52e
YQ
207112014-10-29 Yao Qi <yao@codesourcery.com>
20712
20713 * gdb.base/fileio.c (test_write): Close the file.
20714
7f5ef605
PA
207152014-10-28 Pedro Alves <palves@redhat.com>
20716
20717 PR gdb/12623
20718 * gdb.base/sigstep.c (no_handler): New global.
20719 (main): If 'no_handler is true, set the signal handlers to
20720 SIG_IGN.
20721 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20722 with_sw_watch and no_handler parameters. Handle them.
20723 (top level) <stepping over handler when stopped at a breakpoint
20724 test>: Add a test axis for testing with a software watchpoint, and
20725 another for testing with the signal handler set to SIG_IGN.
20726 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20727 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20728
abbdbd03
PA
207292014-10-28 Pedro Alves <palves@redhat.com>
20730
20731 PR gdb/17511
20732 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20733 * gdb.base/sigstep.exp (other_handler_location): New global.
20734 (advance): Support stepping into the signal handler, and running
20735 commands while in the handler.
20736 (in_handler_map): New global.
20737 (top level): In the advance test, add combinations for getting
20738 into the handler with stepping commands, and for running commands
20739 in the handler. Add comment descripting the advancei tests.
20740
1df4399f
PA
207412014-10-28 Pedro Alves <palves@redhat.com>
20742
20743 * gdb.base/sigstep.exp: Use build_executable instead of
20744 prepare_for_testing.
20745 (top level): Move code that starts GDB, runs to main and creates a
20746 display to ...
20747 (restart): ... this new procedure.
20748 (top level): Move backtrace from signal handler test to ...
20749 (validate_backtrace): ... this new procedure.
20750 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20751 with_test_prefix. Always restart GDB.
20752 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20753 with_test_prefix. Always restart GDB. No need to delete
20754 breakpoints after the test.
20755 (test_skip_handler): Remove prefix parameter.
20756 (skip_over_handler, breakpoint_to_handler)
20757 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20758 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20759 restart GDB. No need to delete breakpoints after the test.
20760 (top level): Use foreach to call the test procedures with
20761 different commands.
20762
a5b6e449
PA
207632014-10-28 Pedro Alves <palves@redhat.com>
20764
20765 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20766 instead of GNATS numbers.
20767 * gdb.base/sigbpt.exp: Likewise.
20768 * gdb.base/siginfo.exp: Likewise.
20769 * gdb.base/sigstep.exp: Likewise.
20770
e5f8a7cc
PA
207712014-10-27 Pedro Alves <palves@redhat.com>
20772
20773 * gdb.base/sigstep.c (dummy): New global.
20774 (main): Issue a couple writes to the new global.
20775 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20776 procedures.
20777 (skip_over_handler): Use test_skip_handler.
20778 (top level): Call skip_over_handler for stepi and nexti too.
20779 (breakpoint_over_handler): Use test_skip_handler.
20780 (top level): Call breakpoint_over_handler for stepi and nexti too.
20781
763905a3
YQ
207822014-10-27 Yao Qi <yao@codesourcery.com>
20783
20784 * gdb.trace/tfile.c (adjust_function_address)
20785 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20786 function descriptor.
20787
6f259a23
DB
207882014-10-24 Don Breazeal <donb@codesourcery.com>
20789
20790 * gdb.base/foll-fork.exp (test_follow_fork,
20791 catch_fork_child_follow): Check for updated fork messages emitted
20792 from infrun.c.
20793 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20794 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20795 vfork_and_exec_child_follow_through_step): Check for updated vfork
20796 messages emitted from infrun.c.
20797
09dd9a69
PA
207982014-10-24 Pedro Alves <palves@redhat.com>
20799
20800 * gdb.base/corefile.exp: Remove references to ultrix.
20801 * gdb.base/interrupt.exp: Likewise.
20802 * gdb.base/whatis.exp: Likewise.
20803 * gdb.gdb/selftest.exp: Likewise.
20804 * gdb.threads/manythreads.exp: Likewise.
20805 * gdb.threads/print-threads.exp: Likewise.
20806 * gdb.threads/pthreads.exp:: Likewise.
20807 * gdb.threads/schedlock.exp: Likewise.
20808
3433cfa5
SC
208092014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20810
20811 * gdb.cp/non-trivial-retval.cc: Add a test case.
20812 * gdb.cp/non-trivial-retval.exp: Add a test.
20813
092f880b
YQ
208142014-10-20 Yao Qi <yao@codesourcery.com>
20815
20816 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20817 * gdb.python/py-objfile-script-gdb.py: New file.
20818 * gdb.python/py-objfile-script.exp: Update reference to
20819 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20820 of remote_download. Remove the dest file.
20821
acbdb7f3
YQ
208222014-10-20 Yao Qi <yao@codesourcery.com>
20823
20824 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20825 * gdb.base/step-line.exp: Likewise.
20826 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20827 * gdb.dwarf2/dw2-basic.exp: Likewise.
20828 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20829 * gdb.dwarf2/dw2-filename.exp: Likewise.
20830 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20831 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20832 * gdb.dwarf2/dw2-producer.exp: Likewise.
20833 * gdb.dwarf2/mac-fileno.exp: Likewise.
20834 * gdb.python/py-frame-args.exp: Likewise.
20835 * gdb.python/py-framefilter.exp: Likewise.
20836 * gdb.python/py-mi.exp: Likewise.
20837 * gdb.python/py-objfile-script.exp: Likewise
20838 * gdb.python/py-pp-integral.exp: Likewise.
20839 * gdb.python/py-pp-re-notag.exp: Likewise.
20840 * gdb.python/py-prettyprint.exp: Likewise.
20841 * gdb.python/py-section-script.exp: Likewise.
20842 * gdb.python/py-typeprint.exp: Likewise.
20843 * gdb.python/py-xmethods.exp: Likewise.
20844 * gdb.stabs/weird.exp: Likewise.
20845 * gdb.xml/tdesc-regs.exp: Likewise.
20846
bd286a29
KCY
208472014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20848
20849 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20850 (out_cu): Use addr_len for the size of addresses.
20851 (out_line): Likewise. Size DW_LNE_set_address instruction
20852 according to addr_len.
20853 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20854 (FUNC): Add START_INSNS to definition.
20855
673dc4a0
YQ
208562014-10-18 Yao Qi <yao@codesourcery.com>
20857
20858 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20859 gdb_has_argv0 return true.
20860 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20861 check [target_info exists noargs], check [gdb_has_argv0]
20862 instead.
20863 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20864 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20865 procedures.
20866
4ffbba72
DE
208672014-10-17 Doug Evans <dje@google.com>
20868
20869 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20870 event.
20871 * gdb.python/py-events.py: Add clear_objfiles event.
20872
d096d8c1
DE
208732014-10-17 Doug Evans <dje@google.com>
20874
20875 * gdb.python/py-objfile.exp: Test progspace attribute.
20876
a80db015
LM
208772014-10-17 Luis Machado <lgustavo@codesourcery.com>
20878
20879 * gdb.guile/scm-breakpoint.exp: Do not assume any
20880 directory separators when matching source file paths.
20881 * gdb.python/py-breakpoint.exp: Likewise.
20882 * gdb.reverse/break-precsave.exp: Likewise.
20883 * gdb.reverse/break-reverse.exp: Likewise.
20884 * gdb.reverse/consecutive-precsave.exp: Likewise.
20885 * gdb.reverse/finish-precsave.exp: Likewise.
20886 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20887 * gdb.reverse/finish-reverse.exp: Likewise.
20888 * gdb.reverse/i386-precsave.exp: Likewise.
20889 * gdb.reverse/i387-env-reverse.exp: Likewise.
20890 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20891 * gdb.reverse/machinestate-precsave.exp: Likewise.
20892 * gdb.reverse/machinestate.exp: Likewise.
20893 * gdb.reverse/sigall-precsave.exp: Likewise.
20894 * gdb.reverse/solib-precsave.exp: Likewise.
20895 * gdb.reverse/step-precsave.exp: Likewise.
20896 * gdb.reverse/until-precsave.exp: Likewise.
20897 * gdb.reverse/watch-precsave.exp: Likewise.
20898 * gdb.reverse/watch-reverse.exp: Likewise.
20899
b22089ab
YQ
209002014-10-17 Yao Qi <yao@codesourcery.com>
20901
20902 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20903 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20904
6c4486e6
PA
209052014-10-17 Pedro Alves <palves@redhat.com>
20906
20907 PR gdb/17471
20908 * gdb.base/bg-execution-repeat.c: New file.
20909 * gdb.base/bg-execution-repeat.exp: New file.
20910
0ff33695
PA
209112014-10-17 Pedro Alves <palves@redhat.com>
20912
20913 PR gdb/17300
20914 * gdb.base/continue-all-already-running.c: New file.
20915 * gdb.base/continue-all-already-running.exp: New file.
20916
6fdebc3d
PA
209172014-10-17 Pedro Alves <palves@redhat.com>
20918
20919 PR gdb/17472
20920 * gdb.base/annota-input-while-running.c: New file.
20921 * gdb.base/annota-input-while-running.exp: New file.
20922
32a8097b
PA
209232014-10-17 Pedro Alves <palves@redhat.com>
20924
20925 * gdb.base/callfuncs.exp: emove references to osf.
20926 * gdb.base/sigall.exp: Likewise.
20927 * gdb.gdb/selftest.exp: Likewise.
20928 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20929 * gdb.mi/non-stop.c: Likewise.
20930 * gdb.mi/pthreads.c: Likewise.
20931 * gdb.reverse/sigall-precsave.exp: Likewise.
20932 * gdb.reverse/sigall-reverse.exp: Likewise.
20933 * gdb.threads/pthreads.c: Likewise.
20934 * gdb.threads/pthreads.exp: Likewise.
20935
7a3517ff
YQ
209362014-10-17 Yao Qi <yao@codesourcery.com>
20937
20938 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20939 check 'target_info exists noargs'.
20940 (test_command_prompt_position): Likewise.
20941 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20942 Remove "set args".
20943 (progvar_simple_while_test): Likewise.
20944 (progvar_complex_if_while_test): Likewise.
20945 (if_while_breakpoint_command_test): Likewise.
20946 (infrun_breakpoint_command_test): Likewise.
20947 (breakpoint_command_test): Likewise.
20948 (watchpoint_command_test): Likewise.
20949 (bp_deleted_in_command_test): Likewise.
20950 (temporary_breakpoint_commands): Likewise.
20951
bb99c472
YQ
209522014-10-16 Yao Qi <yao@codesourcery.com>
20953
20954 * gdb.base/remotetimeout.exp: Remove noargs checking.
20955
7c16b83e
PA
209562014-10-15 Pedro Alves <palves@redhat.com>
20957
20958 PR breakpoints/9649
20959 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20960 * gdb.base/breakpoint-in-ro-region.exp
20961 (probe_target_hardware_step): New procedure.
20962 (top level): Probe hardware stepping and hardware breakpoint
20963 support. Test stepping through a read-only region, with both
20964 "breakpoint auto-hw" on and off and both "always-inserted" on and
20965 off.
20966
35a49624
IB
209672014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20968
20969 * gdb.dlang/demangle.exp: Update for demangling changes.
20970
2d1c107c
SC
209712014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20972
20973 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20974 * gdb.cp/non-trivial-retval.exp: Add new tests.
20975
778811d5
SC
209762014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20977
20978 PR c++/13403
20979 PR c++/15154
20980 * gdb.cp/non-trivial-retval.cc: New file.
20981 * gdb.cp/non-trivial-retval.exp: New file.
20982
10c5f0a8
YQ
209832014-10-15 Yao Qi <yao@codesourcery.com>
20984
20985 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20986 remote host.
20987
65d7b369
YQ
209882014-10-15 Yao Qi <yao@codesourcery.com>
20989
20990 * gdb.python/py-symbol.exp: Match file base name if host is
20991 remote, otherwise match file name with dir name.
20992 * gdb.python/py-symtab.exp: Likewise.
20993 * gdb.python/python.exp: Likewise.
20994
46dc1394
YQ
209952014-10-15 Yao Qi <yao@codesourcery.com>
20996
20997 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20998 pattern.
20999 * gdb.python/py-symtab.exp: Likewise.
21000 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21001 locationn.
21002
c40cc657
JB
210032014-10-14 Joel Brobecker <brobecker@adacore.com>
21004
21005 * gdb.ada/addr_arith: New testcase.
21006
2abf49e1
MR
210072014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21008
21009 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21010 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21011 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21012 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21013
f7088df3
SDJ
210142014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21015
21016 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21017 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21018 * gdb.arch/stap-eval-lang-ada.exp: New file.
21019
4dc06805
YQ
210202014-10-14 Yao Qi <yao@codesourcery.com>
21021
21022 * gdb.mi/mi-var-child.c (nothing1): New function.
21023 (nothing2): New function.
21024 (do_children_tests): Set function pointers by nothing1 and
21025 nothing2.
21026 * gdb.mi/mi-var-child.exp: Step over new added statements.
21027 Update test to match the new output.
21028 * gdb.mi/var-cmd.c (nothing1): New function.
21029 (nothing2): New function.
21030 (do_children_tests): Set function pointers by nothing1 and
21031 nothing2.
21032 * gdb.mi/mi-var-display.exp: Update test to match output.
21033 Step to the line specified by $line_dct_nothing.
21034 Increase the number of lines to step.
21035
46a93de2
YQ
210362014-10-14 Yao Qi <yao@codesourcery.com>
21037
21038 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21039 tests.
21040 * gdb.mi/mi2-var-child.exp: Likewise.
21041
14ea52ee
DE
210422014-10-13 Doug Evans <dje@google.com>
21043
21044 * gdb.python/py-objfile.exp: Change name of file name test.
21045
e5c6e92b
DE
210462014-10-13 Doug Evans <dje@google.com>
21047
21048 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21049 from the start of the CU.
21050
c780cc2f
JK
210512014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21052 Yao Qi <yao@codesourcery.com>
21053
21054 Fix "save breakpoints" for "catch" command.
21055 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21056 Remove -nonewline. Match also the added "main" line.
21057
99894e11
JK
210582014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21059
21060 Fix "save breakpoints" for "disable $bpnum" command.
21061 * gdb.base/save-bp.c (main): Add label.
21062 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21063
6e1ac5a3
JK
210642014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21065
21066 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21067
754dd2b0
YQ
210682014-10-11 Yao Qi <yao@codesourcery.com>
21069
21070 * gdb.server/server-kill.exp: Execute command
21071 "set remote trace-status-packet on" before "tstatus".
21072
f90183d7
YQ
210732014-10-11 Yao Qi <yao@codesourcery.com>
21074
21075 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21076 (main): Call getppid.
21077 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21078 and continue to it. Read variable "server_pid".
21079
bf40a607
YQ
210802014-10-11 Yao Qi <yao@codesourcery.com>
21081
21082 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21083
052ca370
YQ
210842014-10-11 Yao Qi <yao@codesourcery.com>
21085
21086 * gdb.threads/thread-find.exp: Don't execute command
21087 "info threads".
21088 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21089 * gdb.threads/linux-dp.exp: Don't check the condition
21090 $threads_created equals to zero.
21091
3831839c
PA
210922014-10-10 Pedro Alves <palves@redhat.com>
21093
21094 * gdb.base/bigcore.exp: Remove references to IRIX.
21095 * gdb.base/funcargs.exp: Likewise.
21096 * gdb.base/interrupt.exp: Likewise.
21097 * gdb.base/mips_pro.exp: Likewise.
21098 * gdb.base/nodebug.exp: Likewise.
21099 * gdb.base/setvar.exp: Likewise.
21100 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21101
8b9a549d
PA
211022014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21103 Pedro Alves <palves@redhat.com>
21104
21105 PR symtab/14466
21106 * gdb.base/vdso-warning.c: New file.
21107 * gdb.base/vdso-warning.exp: New file.
21108
d48ba5e8
DE
211092014-10-02 Doug Evans <dje@google.com>
21110
21111 * gdb.base/structs.c (main): Don't run forever.
21112
2278c276
PA
211132014-10-02 Pedro Alves <palves@redhat.com>
21114
21115 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21116 (top level) <stop threads 1, stop threads 2>: Use it.
21117
b57bacec
PA
211182014-10-02 Pedro Alves <palves@redhat.com>
21119
21120 * gdb.threads/break-while-running.exp (test): Add new
21121 'update_thread_list' argument. Skip "info threads" if false.
21122 (top level): Add new 'update_thread_list' axis.
21123
13fd3ff3
PA
211242014-10-02 Pedro Alves <palves@redhat.com>
21125
21126 PR breakpoints/17431
21127 * gdb.base/execl-update-breakpoints.c: New file.
21128 * gdb.base/execl-update-breakpoints.exp: New file.
21129
0fec99e8
PA
211302014-10-01 Pedro Alves <palves@redhat.com>
21131
21132 * gdb.base/breakpoint-in-ro-region.c: New file.
21133 * gdb.base/breakpoint-in-ro-region.exp: New file.
21134
2ddf4301
SM
211352014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21136
21137 * gdb.mi/mi-exit-code.exp: New file.
21138 * gdb.mi/mi-exit-code.c: New file.
21139
6a5f3f43
YQ
211402014-09-30 Yao Qi <yao@codesourcery.com>
21141
21142 * lib/prelink-support.exp (build_executable_own_libs): Error if
21143 the target isn't native.
21144
345bcc73
YQ
211452014-09-30 Yao Qi <yao@codesourcery.com>
21146
21147 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21148 false.
21149
a25a5a45
PA
211502014-09-22 Pedro Alves <palves@redhat.com>
21151
21152 * gdb.threads/break-while-running.exp: New file.
21153 * gdb.threads/break-while-running.c: New file.
21154
00ba3162
YQ
211552014-09-19 Yao Qi <yao@codesourcery.com>
21156
21157 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21158 Invoke test. Restart GDB with --readnow and invoke test again.
21159
c3b7b696
YQ
211602014-09-19 Yao Qi <yao@codesourcery.com>
21161
21162 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21163 proc set_breakpoint_on_gcd_function. Invoke
21164 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21165 invoke set_breakpoint_on_gcd_function again.
21166
2b4fd423
DE
211672014-09-18 Doug Evans <dje@google.com>
21168
21169 * gdb.dwarf2/symtab-producer.exp: New file.
21170
a5947601
SDJ
211712014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21172
21173 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21174 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21175 * gdb.base/global-var-nested-by-dso.c: Likewise.
21176 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21177
91c19059
SDJ
211782014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21179 Pedro Alves <palves@redhat.com>
21180
21181 * gdb.base/watch-bitfields.exp: Pass string other than test file
21182 name to prepare_for_testing.
21183 (watch): New procedure.
21184 (expect_watchpoint): Use with_test_prefix.
21185 (top level): Factor out tests to ...
21186 (test_watch_location, test_regular_watch): ... these new
21187 procedures, and use with_test_prefix and gdb_continue_to_end.
21188
bb9d5f81
PP
211892014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21190
21191 PR breakpoints/12526
21192 * gdb.base/watch-bitfields.exp: New file.
21193 * gdb.base/watch-bitfields.c: New file.
21194
635856f5
PA
211952014-09-16 Pedro Alves <palves@redhat.com>
21196
21197 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21198 software and hardware addresses, not software address against
21199 itself.
21200
7280ceea
PA
212012014-09-16 Pedro Alves <palves@redhat.com>
21202
21203 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21204 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21205
428b16bd
PA
212062014-09-16 Pedro Alves <palves@redhat.com>
21207
21208 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21209 files.
21210 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21211 "*-*-vxworks*" throughout.
21212 * gdb.base/break.exp: Likewise.
21213 * gdb.base/default.exp: Likewise.
21214 * gdb.base/scope.exp: Likewise.
21215 * gdb.base/sepdebug.exp: Likewise.
21216 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21217 throughout.
21218 * gdb.base/run.c: Likewise.
21219 * gdb.base/sepdebug.c: Likewise.
21220 * gdb.hp/gdb.aCC/run.c: Likewise.
21221 * gdb.reverse/until-reverse.c: Likewise.
21222 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21223
666d413c
YQ
212242014-09-16 Yao Qi <yao@codesourcery.com>
21225
21226 * boards/local-remote-host-native.exp: New file.
21227
57cbd724
DE
212282014-09-14 Doug Evans <xdje42@gmail.com>
21229
21230 * gdb.threads/queue-signal.c (thread_count): New variable.
21231 (thread_count_mutex, thread_count_condvar): New variables.
21232 (incr_thread_count, wait_all_threads_running): New functions.
21233 (main): Wait for all threads to be in their thread functions.
21234
81219e53
DE
212352014-09-13 Doug Evans <xdje42@gmail.com>
21236
21237 * gdb.threads/queue-signal.c: New file.
21238 * gdb.threads/queue-signal.exp: New file.
21239
3714cea7
DE
212402014-09-13 Doug Evans <xdje42@gmail.com>
21241
21242 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21243 be consistent with what default_gdb_init uses.
21244 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21245 the plain text of the prompt. Add some logging printfs.
21246 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21247
fa43b1d7
PA
212482014-09-12 Pedro Alves <palves@redhat.com>
21249
21250 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21251 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21252 * gdb.arch/i386-size-overlap.exp: Likewise.
21253 * gdb.arch/i386-size.exp: Likewise.
21254 * gdb.arch/i386-unwind.exp: Likewise.
21255 * gdb.base/a2-run.exp: Likewise.
21256 * gdb.base/break.exp: Likewise.
21257 * gdb.base/charset.exp: Likewise.
21258 * gdb.base/chng-syms.exp: Likewise.
21259 * gdb.base/commands.exp: Likewise.
21260 * gdb.base/dbx.exp: Likewise.
21261 * gdb.base/find.exp: Likewise.
21262 * gdb.base/funcargs.exp: Likewise.
21263 * gdb.base/jit-simple.exp: Likewise.
21264 * gdb.base/reread.exp: Likewise.
21265 * gdb.base/sepdebug.exp: Likewise.
21266 * gdb.base/step-bt.exp: Likewise.
21267 * gdb.cp/mb-inline.exp: Likewise.
21268 * gdb.cp/mb-templates.exp: Likewise.
21269 * gdb.objc/basicclass.exp: Likewise.
21270 * gdb.threads/killed.exp: Likewise.
21271
9d9bf2df
EBM
212722014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21273
21274 PR tdep/17379
21275 * gdb.arch/powerpc-stackless.S: New file.
21276 * gdb.arch/powerpc-stackless.exp: New file.
21277
1cf2f1b0
JK
212782014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21279
21280 * gdb.base/attach.c: Include unistd.h.
21281 (main): Call alarm. Add label postloop.
21282 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21283 gdb_breakpoint, gdb_continue_to_breakpoint.
21284 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21285
98880d46
PA
212862014-09-11 Pedro Alves <palves@redhat.com>
21287
21288 PR gdb/17347
21289 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21290 * gdb.base/attach.exp (test_command_line_attach_run): New
21291 procedure.
21292 (top level): Call it.
21293
4c92ff2c
PA
212942014-09-11 Pedro Alves <palves@redhat.com>
21295
21296 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21297 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21298 (do_command_attach_tests): Use spawn_wait_for_attach.
21299 * gdb.base/solib-overlap.exp: Likewise.
21300 * gdb.multi/multi-attach.exp: Likewise.
21301 * gdb.python/py-prompt.exp: Likewise.
21302 * gdb.python/py-sync-interp.exp: Likewise.
21303 * gdb.server/ext-attach.exp: Likewise.
21304
3adc1a7d
GKB
213052014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21306
21307 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21308 command in testcase. Simplify testcase.
21309
96334934
JB
213102014-09-10 Joel Brobecker <brobecker@adacore.com>
21311
21312 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21313
eb479039
JB
213142014-09-10 Joel Brobecker <brobecker@adacore.com>
21315
21316 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21317
deede10c
JB
213182014-09-10 Joel Brobecker <brobecker@adacore.com>
21319
21320 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21321
7828a5f5
JB
213222014-09-10 Joel Brobecker <brobecker@adacore.com>
21323
21324 * gdb.dwarf2/dynarr-ptr.c: New file.
21325 * gdb.dwarf2/dynarr-ptr.exp: New file.
21326
33aeebcf
MR
213272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21328
21329 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21330 of 30 rather than hardcoding 120 for a slow test case. Take the
21331 `gdb,timeout' target setting into account for this calculation.
21332 Don't extend the timeout for the test cases that don't need it.
21333
7b415901
MR
213342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21335
21336 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21337 a factor of 2 for a slow test case. Take the `gdb,timeout'
21338 target setting into account for this calculation.
21339 * gdb.reverse/until-precsave.exp: Increase the timeout by
21340 a factor of 15 and 3 respectively rather than adding 120
21341 for a pair of slow test cases. Take the `gdb,timeout'
21342 target setting into account for this calculation.
21343
4a40f85a
MR
213442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21345
21346 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21347 timeout, don't pass one down to gdb_expect.
21348 (gdb_expect): Rework timeout selection.
21349
09635af7
MR
213502014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21351
21352 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21353 exception on timeout.
21354 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21355 (gdbserver_start_extended): Catch any `gdbserver_start' error
21356 exceptions.
21357 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21358 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21359 `gdbserver_gdb_load' error exceptions.
21360
2bdd10b7
MR
213612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21362
21363 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21364 120 on waiting for the TCP socket to open.
21365
316935f0
DE
213662014-09-09 Doug Evans <xdje42@gmail.com>
21367
21368 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21369 _caller_matches, _any_caller_is, _any_caller_matches.
21370
83740597
DE
213712014-09-09 Doug Evans <xdje42@gmail.com>
21372
21373 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21374
4c122fc3
YQ
213752014-09-09 Yao Qi <yao@codesourcery.com>
21376
21377 * gdb.mi/mi-var-display.exp: Set print symbol off.
21378
a9f116cb
GKB
213792014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21380
21381 PR gdb/17035
21382 * gdb.base/commands.exp: Add tests to verify user-defined
21383 commands with empty bodies.
21384 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21385 python commands in `show user command`.
21386 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21387 scheme commands in `show user command`.
21388
c75bd3a2
JK
213892014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21390
21391 PR python/17355
21392 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21393 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21394 * gdb.python/py-framefilter-invalidarg.exp: New file.
21395 * gdb.python/py-framefilter-invalidarg.py: New file.
21396
faa42425
DE
213972014-09-06 Doug Evans <xdje42@gmail.com>
21398
21399 PR 15276
21400 * gdb.python/py-caller-is.c: New file.
21401 * gdb.python/py-caller-is.exp: New file.
21402
474ca4f6
SDJ
214032014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21404
21405 PR gdb/17235
21406 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21407 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21408
eb0b0463
SDJ
214092014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21410
21411 PR fortran/17237
21412 * gdb.fortran/print-formatted.exp: New file.
21413 * gdb.fortran/print-formatted.f90: Likewise.
21414
5f3b99cf
SS
214152014-09-03 Sasha Smundak <asmundak@google.com>
21416
21417 * gdb.python/py-frame.exp: Test Frame.read_register.
21418
7d793aa9
SDJ
214192014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21420
21421 PR python/16699
21422 * gdb.python/py-completion.exp: New file.
21423 * gdb.python/py-completion.py: Likewise.
21424
fb0576e9
DE
214252014-08-28 Doug Evans <dje@google.com>
21426
21427 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21428 eax,etc. are live with values set by gdb and thus the compiler can't
21429 use them.
21430 * gdb.arch/i386-pseudo.c (main): Ditto.
21431
ee92b0dd
DE
214322014-08-27 Doug Evans <dje@google.com>
21433
21434 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21435
6649db35
DE
214362014-08-25 Doug Evans <dje@google.com>
21437
21438 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21439 (main): Ditto.
21440
564b7600
DE
214412014-08-25 Doug Evans <dje@google.com>
21442
21443 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21444
3881fb67
YQ
214452014-08-24 Yao Qi <yao@codesourcery.com>
21446
21447 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21448 symbol off.
21449 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21450
a05a36a5
DE
214512014-08-22 Doug Evans <dje@google.com>
21452
21453 PR 17276
21454 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21455 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21456 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21457
7c343b48
YQ
214582014-08-22 Yao Qi <yao@codesourcery.com>
21459
21460 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21461 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21462 * gdb.python/python.exp: Likewise. Use .py file on the host
21463 instead of the build.
21464
22fd09ae
JK
214652014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21466
21467 * gdb.threads/gcore-stale-thread.c: New file.
21468 * gdb.threads/gcore-stale-thread.exp: New file.
21469
a8454a7c
PA
214702014-08-21 Pedro Alves <palves@redhat.com>
21471
21472 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21473 * gdb.base/gcore-relro-pie.exp: Likewise.
21474 * gdb.base/gcore-relro.exp: Likewise.
21475 * gdb.base/gcore.exp: Likewise.
21476 * gdb.base/print-symbol-loading.exp: Likewise.
21477 * gdb.threads/gcore-thread.exp: Likewise.
21478 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21479
2a31c623
PA
214802014-08-20 Pedro Alves <palves@redhat.com>
21481 Jan Kratochvil <jan.kratochvil@redhat.com>
21482
21483 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21484 configure.
21485 (EXPECT): Handle READ1 being set.
21486 (all): Depend on EXTRA_RULES.
21487 (check-read1, expect-read1, read1.so, read1): New rules.
21488 * README (Testsuite Parameters): Document the READ1 make variable.
21489 (Race detection): New section.
21490 * configure: Regenerate.
21491 * configure.ac: If build==host==target, and running under a
21492 GNU/glibc system, add read1 to the extra Makefile rules.
21493 (EXTRA_RULES): AC_SUBST it.
21494 * lib/read1.c: New file.
21495
d36430db
JB
214962014-08-20 Joel Brobecker <brobecker@adacore.com>
21497
21498 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21499 the handling of variables declared as a typedef to an array
21500 which a DW_AT_data_location attribute.
21501
9a0dc9e3
PA
215022014-08-19 Andrew Burgess <aburgess@broadcom.com>
21503 Pedro Alves <palves@redhat.com>
21504
21505 PR symtab/14604
21506 PR symtab/14605
21507 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21508 gdb_test.
21509
0718a8da
PA
215102014-08-19 Pedro Alves <palves@redhat.com>
21511
21512 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21513
13b448cd
YQ
215142014-08-19 Yao Qi <yao@codesourcery.com>
21515
21516 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21517 right line.
21518
1cbf5077
DB
215192014-08-18 David Blaikie <dblaikie@gmail.com>
21520
21521 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21522
bf0fae19
JB
215232014-08-18 Joel Brobecker <brobecker@adacore.com>
21524
21525 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21526 attribute in array range.
21527
3c8c5dcc
JB
215282014-08-18 Joel Brobecker <brobecker@adacore.com>
21529
21530 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21531
e66d4446
SC
215322014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21533
21534 PR c++/17132
21535 * gdb.cp/pr17132.cc: New file.
21536 * gdb.cp/pr17132.exp: New file.
21537
940df408
SC
215382014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21539
21540 * gdb.python/py-xmethods.py (A_getarrayind)
21541 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21542 Use 'print' with function call syntax.
21543 (E_method_matcher.match): Fix tab vs space indentation mixup.
21544
ebcc6c3a
YQ
215452014-08-15 Yao Qi <yao@codesourcery.com>
21546
21547 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21548 false.
21549
775e0f04
YQ
215502014-08-15 Yao Qi <yao@codesourcery.com>
21551
21552 * gdb.cp/casts.exp: Set print symbol off.
21553 * gdb.cp/class2.exp: Likewise.
21554 * gdb.cp/overload.exp: Likewise.
21555 * gdb.cp/templates.exp: Likewise.
21556
d769e349
DE
215572014-08-11 Doug Evans <dje@google.com>
21558
21559 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21560 (test_load_shlib): Update.
21561
20c6f1e1
YQ
215622014-08-09 Yao Qi <yao@codesourcery.com>
21563
21564 * gdb.base/display.exp: Invoke is_address_zero_readable.
21565 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21566 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21567 * gdb.base/hbreak-unmapped.exp: Return if
21568 is_address_zero_readable returns true.
21569 * gdb.base/signest.exp: Likewise.
21570 * gdb.base/signull.exp: Likewise.
21571 * gdb.base/sigbpt.exp: Likewise.
21572 * gdb.guile/scm-disasm.exp: Do the test if
21573 is_address_zero_readable returns false.
21574 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21575 * gdb.python/py-arch.exp: Likewise.
21576 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21577 * lib/gdb.exp (is_address_zero_readable): New proc.
21578
5792e8e3
YQ
215792014-08-09 Yao Qi <yao@codesourcery.com>
21580
21581 PR testsuite/13443
21582 * gdb.mi/mi-var-display.exp: Make test messages unique.
21583
3cecbbbe
TT
215842014-08-04 Tom Tromey <tromey@redhat.com>
21585
21586 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21587 target 0".
21588
00b51ff5
TT
215892014-08-04 Tom Tromey <tromey@redhat.com>
21590
21591 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21592 "target_resume".
21593
6908c509
JB
215942014-08-01 Joel Brobecker <brobecker@adacore.com>
21595
21596 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21597 inner_vla_struct_object_size.
21598 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21599 as xfail.
21600
cc6563d2
PA
216012014-07-30 Pedro Alves <palves@redhat.com>
21602
21603 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21604 comment.
21605
7e09a223
YQ
216062014-07-29 Yao Qi <yao@codesourcery.com>
21607
21608 PR gdb/17206
21609 * gdb.base/until-nodebug.exp: New.
21610
7ebdbe92
DE
216112014-07-28 Doug Evans <xdje42@gmail.com>
21612
21613 PR guile/17203
21614 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21615 previously existing parameter, and previously ambiguously spelled
21616 parameter.
21617
fdb1adc6
WN
216182014-07-28 Will Newton <will.newton@linaro.org>
21619
21620 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21621
186fcde0
DE
216222014-07-26 Ludovic Courtès <ludo@gnu.org>
21623 Doug Evans <xdje42@gmail.com>
21624
21625 PR guile/17146
21626 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21627
70509625
PA
216282014-07-25 Pedro Alves <palves@redhat.com>
21629
21630 * gdb.threads/signal-command-handle-nopass.c: New file.
21631 * gdb.threads/signal-command-handle-nopass.exp: New file.
21632 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21633 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21634 * gdb.threads/signal-delivered-right-thread.c: New file.
21635 * gdb.threads/signal-delivered-right-thread.exp: New file.
21636
c3f814a1
PA
216372014-07-25 Pedro Alves <palves@redhat.com>
21638
21639 * gdb.base/double-prompt-target-event-error.exp
21640 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21641 match.
21642 (cancel_pagination_in_target_event): Rework double prompt
21643 detection.
21644 * gdb.base/paginate-after-ctrl-c-running.exp
21645 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21646 <return>' match.
21647 * gdb.base/paginate-bg-execution.exp
21648 (test_bg_execution_pagination_return)
21649 (test_bg_execution_pagination_cancel): Remove '-notransfer
21650 <return>' matches.
21651 * gdb.base/paginate-execution-startup.exp
21652 (test_fg_execution_pagination_return)
21653 (test_fg_execution_pagination_cancel): Remove '-notransfer
21654 <return>' matches.
21655 * gdb.base/paginate-inferior-exit.exp
21656 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21657 match.
21658 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21659 * lib/gdb.exp (pagination_prompt): Run text through
21660 string_to_regexp.
21661 (gdb_test_multiple): Match $pagination_prompt instead of
21662 "<return>".
21663 (string_to_regexp): Move to lib/gdb-utils.exp.
21664
e214cf6c
JK
216652014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21666
21667 * gdb.arch/amd64-entry-value-paramref.S: New file.
21668 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21669 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21670 * gdb.arch/amd64-optimout-repeat.S: New file.
21671 * gdb.arch/amd64-optimout-repeat.c: New file.
21672 * gdb.arch/amd64-optimout-repeat.exp: New file.
21673
17d0c5c8
JK
216742014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21675
21676 PR gdb/17170
21677 * gdb.base/statistics.exp: New file.
21678
b8b8facf
DE
216792014-07-17 Doug Evans <dje@google.com>
21680
74b49205 21681 PR gdb/17170
b8b8facf
DE
21682 * gdb.base/maint.exp: Update testing of per-command stats.
21683
1b5d0ab3
PA
216842014-07-16 Pedro Alves <palves@redhat.com>
21685
21686 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21687 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21688 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21689 (tfile_write_buf): New functions.
21690 (add_memory_block): Rewrite using the above.
21691 (adjust_function_address): New function.
21692 (FUNCTION_ADDRESS): New macro.
21693 (write_basic_trace_file): Remove short_x local, and use
21694 tfile_write_16. Change type of func_addr local to unsigned long
21695 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21696 here. Cast argument of add_memory_block to char pointer.
21697 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21698 (main): Remove parameters.
21699 * gdb.trace/tfile.exp: Remove nowarnings.
21700
4d974e88
SM
217012014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21702
21703 * gdb.base/debug-expr.exp: Test string evaluation with
21704 "debug expression" on.
21705
41e99568
PA
217062014-07-15 Pedro Alves <palves@redhat.com>
21707
21708 * gdb.base/reread.exp: Use clean_restart.
21709
487d9753
PL
217102014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21711
21712 * gdb.arch/avr-flash-qualifer.c: New.
21713 * gdb.arch/avr-flash-qualifer.exp: New.
21714
cc1c52ad
PA
217152014-07-14 Pedro Alves <palves@redhat.com>
21716
21717 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21718 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21719
1e973570
PA
217202014-07-14 Pedro Alves <palves@redhat.com>
21721
21722 * gdb.base/double-prompt-target-event-error.c: New file.
21723 * gdb.base/double-prompt-target-event-error.exp: New file.
21724
93d6eb10
PA
217252014-07-14 Pedro Alves <palves@redhat.com>
21726
21727 PR gdb/17072
21728 * gdb.base/paginate-inferior-exit.c: New file.
21729 * gdb.base/paginate-inferior-exit.exp: New file.
21730
0017922d
PA
217312014-07-14 Pedro Alves <palves@redhat.com>
21732
21733 PR gdb/17072
21734 * gdb.base/paginate-bg-execution.c: New file.
21735 * gdb.base/paginate-bg-execution.exp: New file.
21736
94696ad3
PA
217372014-07-14 Pedro Alves <palves@redhat.com>
21738
21739 PR gdb/17072
21740 * gdb.base/paginate-execution-startup.c: New file.
21741 * gdb.base/paginate-execution-startup.exp: New file.
21742 * lib/gdb.exp (pagination_prompt): New global.
21743 (default_gdb_spawn): New procedure, factored out from
21744 default_gdb_spawn.
21745 (default_gdb_start): Adjust to call default_gdb_spawn.
21746 (gdb_spawn): New procedure.
21747
bd293940
PA
217482014-07-14 Pedro Alves <palves@redhat.com>
21749
21750 * lib/gdb.exp (gdb_assert): New procedure.
21751 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21752
c933f875
PA
217532014-07-14 Pedro Alves <palves@redhat.com>
21754
21755 * gdb.base/execution-termios.c: New file.
21756 * gdb.base/execution-termios.exp: New file.
21757
d98b7a16
TT
217582014-07-14 Tom Tromey <tromey@redhat.com>
21759
21760 * gdb.cp/vla-cxx.cc: New file.
21761 * gdb.cp/vla-cxx.exp: New file.
21762
548740d6
TT
217632014-07-14 Tom Tromey <tromey@redhat.com>
21764
21765 * gdb.reverse/rerun-prec.c: New file.
21766 * gdb.reverse/rerun-prec.exp: New file.
21767
a25eb028
MR
217682014-07-12 Maciej W. Rozycki <macro@mips.com>
21769 Maciej W. Rozycki <macro@codesourcery.com>
21770
21771 * lib/gdb-utils.exp: New file.
21772 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21773 inline `gdb_init_command' processing.
21774 (gdb_start_cmd): Likewise.
21775 * lib/mi-support.exp (mi_run_cmd): Likewise.
21776 * README: Document `gdb_init_command' and `gdb_init_commands'.
21777
218c2655
JK
217782014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21779
21780 Fix false FAIL running under a very long directory name.
21781 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21782 and "set print elements 10000". Twice.
21783
5401fde3
YQ
217842014-07-11 Yao Qi <yao@codesourcery.com>
21785
21786 * gdb.base/exprs.exp: "set print symbol off".
21787
e76126e8
PA
217882014-07-11 Pedro Alves <palves@redhat.com>
21789
21790 * gdb.threads/kill.c: New file.
21791 * gdb.threads/kill.exp: New file.
21792
2d6f0de6
YQ
217932014-07-10 Yao Qi <yao@codesourcery.com>
21794
21795 * gdb.trace/tfile.c (write_basic_trace_file)
21796 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21797 address written to trace file.
21798
7180e04a
PA
217992014-07-09 Pedro Alves <palves@redhat.com>
21800
21801 * gdb.base/attach-wait-input.exp: New file.
21802 * gdb.base/attach-wait-input.c: New file.
21803
9a9a7608
AB
218042014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21805
21806 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21807 setting up test structures.
21808 (main): Call new test function.
21809 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21810 test function, continue into test function and walk test
21811 structures.
21812
161ac41e
YQ
218132014-07-02 Yao Qi <yao@codesourcery.com>
21814
21815 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21816 'bar_start' at the beginning of functions 'foo' and 'bar'
21817 respectively.
21818 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21819 instead of 'foo' and 'bar'.
21820
1f267ae3
MM
218212014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21822
21823 * gdb.btrace/segv.exp: New.
21824 * gdb.btrace/segv.c: New.
21825
2b239efb
LM
218262014-07-02 Luis Machado <lgustavo@codesourcery.com>
21827
21828 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21829 instruction.
21830
cf363f18
MW
218312014-06-30 Mark Wielaard <mjw@redhat.com>
21832
21833 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21834 vulture, vilify, villar): New volatile array constants.
21835 (vindictive, vegetation): New const volatile array constants.
21836 * gdb.base/volatile.exp: Test volatile and const volatile array
21837 types.
21838
aebf9d24
AA
218392014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21840
21841 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21842 target lacks support for awatch, rwatch, or hbreak.
21843
b67a2c6f
YQ
218442014-06-27 Yao Qi <yao@codesourcery.com>
21845
21846 * gdb.multi/dummy-frame-restore.exp: New.
21847 * gdb.multi/dummy-frame-restore.c: New.
21848
aef92902
MM
218492014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21850
21851 * gdb.btrace/gcore.exp: New.
21852
8e9db26e
PA
218532014-06-23 Pedro Alves <palves@redhat.com>
21854
21855 * gdb.base/watchpoint-reuse-slot.c: New file.
21856 * gdb.base/watchpoint-reuse-slot.exp: New file.
21857
70afc5b7
SC
218582014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21859
21860 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21861 progspace's filename in 'info', 'enable' and 'disable' command
21862 tests.
21863
b972bd9c
JK
218642014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21865
21866 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21867 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21868 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21869
125f8a3d
GB
218702014-06-20 Gary Benson <gbenson@redhat.com>
21871
21872 * gdb.arch/i386-avx.exp: Fix include file location.
21873 * gdb.arch/i386-sse.exp: Likewise.
21874
3ed9baed
IB
218752014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21876
21877 * gdb.dlang/expression.exp: New file.
21878
034f788c
PA
218792014-06-19 Pedro Alves <palves@redhat.com>
21880
21881 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21882 out from ...
21883 (top level): ... here. Iterate running tests under different
21884 scheduler-locking settings.
21885
45371d0c
LM
218862014-06-18 Luis Machado <lgustavo@codesourcery.com>
21887
21888 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21889 to DW_FORM_addr and use non-zero addresses.
21890
5d376983
SC
218912014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21892
21893 PR gdb/17017
21894 * gdb.python/py-xmethods.cc: Add global function call counters and
21895 increment them in their respective functions. Remove "cout"
21896 statements.
21897 * gdb.python/py-xmethods.exp: Make tests check the global function
21898 call counters instead of depending on inferior IO.
21899
a1aa2221
LM
219002014-06-18 Don Breazeal <donb@codesourcery.com>
21901
21902 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21903 Deleted procedure.
21904 (explicit_fork_parent_follow): Deleted procedure.
21905 (explicit_fork_child_follow): Deleted procedure.
21906 (test_follow_fork): New procedure.
21907 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21908 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21909 procedure calls.
21910
0fc05997
YQ
219112014-06-17 Yao Qi <yao@codesourcery.com>
21912
21913 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21914 CP1252.
21915
70795c52
LM
219162014-06-17 Luis Machado <lgustavo@codesourcery.com>
21917
21918 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21919 Initialize ptr and S explicitly.
21920 (skip_type_update_when_not_use_rtti_test): Likewise.
21921
6be47f0c
KS
219222014-06-16 Keith Seitz <keiths@redhat.com>
21923
21924 PR mi/15863
21925 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21926 the inferior is started.
21927
d03de421
PA
219282014-06-16 Pedro Alves <palves@redhat.com>
21929
21930 * gdb.base/break-main-file-remove-fail.c: New file.
21931 * gdb.base/break-main-file-remove-fail.exp: New file.
21932 * gdb.base/break-unload-file.exp: Use build_executable instead of
21933 prepare_for_testing.
21934 (test_break): New parameter "initial_load". Handle it.
21935 (top level): Add initial_load cmdline/file axis.
21936
f9579b99
TT
219372014-06-12 Tom Tromey <tromey@redhat.com>
21938
21939 * gdb.base/completion.exp: Don't use directory name in test.
21940
3657956b
GB
219412014-06-09 Gary Benson <gbenson@redhat.com>
21942
21943 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21944 separate the always-available ANSI-standard signals from the
21945 signals that require checking.
21946 (main): Likewise.
21947 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21948 Likewise.
21949 (main): Likewise.
21950
4186eb54
KS
219512014-06-07 Keith Seitz <keiths@redhat.com>
21952
21953 Revert:
21954 PR c++/16253
21955 * gdb.cp/var-tag.cc: New file.
21956 * gdb.cp/var-tag.exp: New file.
21957 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21958 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21959 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21960 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21961
25326a28 219622014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21963
21964 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21965
829155c9
PA
219662014-06-06 Pedro Alves <palves@redhat.com>
21967
21968 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21969 in target debug output instead of looking at RSP packets,
21970 disabling the test on any target that uses hardware stepping.
21971 Update comments.
21972
61c8d22e
PA
219732014-06-06 Pedro Alves <palves@redhat.com>
21974
21975 * gdb.base/break-unload-file.exp: Fix typo.
21976
d9a47287
YQ
219772014-06-06 Yao Qi <yao@codesourcery.com>
21978
21979 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21980 from "jit_function" to "^jit_function".
21981
e5e01dbf
YQ
219822014-06-06 Yao Qi <yao@codesourcery.com>
21983
21984 * gdb.base/async.c (foo): Add one statement.
21985 * gdb.base/async.exp: Get the next instruction address and
21986 match the output of "nexti" by instruction address. Match
21987 the hex address in the output of "finish".
21988
73ba372c
GB
219892014-06-06 Gary Benson <gbenson@redhat.com>
21990
21991 * gdb.base/call-signals.c: Remove preprocessor conditionals
21992 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21993 SIGSEGV and SIGTERM.
21994 * gdb.base/sigall.c: Likewise.
21995 * gdb.base/unwindonsignal.c: Likewise.
21996 * gdb.reverse/sigall-reverse.c: Likewise.
21997
831517df
YQ
219982014-06-06 Yao Qi <yao@codesourcery.com>
21999
22000 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22001 readable, skip the test.
22002
b8b91e98
YQ
220032014-06-06 Yao Qi <yao@codesourcery.com>
22004
22005 * gdb.threads/staticthreads.c (thread_function): Move the line
22006 setting breakpoint on forward.
22007 * gdb.threads/staticthreads.exp: Update comments.
22008
fb934770
LC
220092014-06-05 Ludovic Courtès <ludo@gnu.org>
22010
22011 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22012 "history-append! type error".
22013
6ef284bd
SM
220142014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22015
22016 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22017 erroneous dprintf expected input.
22018
a872e241
DE
220192014-06-04 Doug Evans <xdje42@gmail.com>
22020
22021 * gdb.guile/scm-generics.exp: Delete.
22022
16f691fb
DE
220232014-06-04 Doug Evans <xdje42@gmail.com>
22024
22025 * gdb.guile/scm-breakpoint.exp: Update.
22026 Add tests for breakpoint registration.
22027
012370f6
TT
220282014-06-04 Tom Tromey <tromey@redhat.com>
22029
22030 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22031 VLA-in-union.
22032 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22033 inner_vla_struct, vla_union types. Initialize objects of those
22034 types and compute their sizes.
22035
9f5a4cef
HZ
220362014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22037 Hui Zhu <hui@codesourcery.com>
22038
22039 * gdb.base/fileio.exp: Add test for shell not available as well as
22040 available.
22041 * gdb.base/fileio.c (test_system): Check for shell twice.
22042
90a45c4d
YQ
220432014-06-04 Yao Qi <yao@codesourcery.com>
22044
22045 * gdb.base/auto-connect-native-target.exp: Remove redundant
22046 space from the regexp pattern.
22047
70017e41
YQ
220482014-06-04 Yao Qi <yao@codesourcery.com>
22049
22050 * gdb.base/default.exp: Replace "child" with "native" in
22051 regexp pattern.
22052
883964a7
SC
220532014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22054
22055 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22056 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22057 * gdb.python/py-xmethods.py: Python script supporting the
22058 new testcase and tests.
22059
ef370185
JB
220602014-06-03 Joel Brobecker <brobecker@adacore.com>
22061 Pedro Alves <palves@redhat.com>
22062
22063 PR breakpoints/17000
22064 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22065 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22066
1e2ccb61
BM
220672014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22068
22069 * gdb.base/subst.exp: Add tests to verify partial path matching
22070 output.
22071
c6ec5ab2
PA
220722014-06-03 Pedro Alves <palves@redhat.com>
22073
22074 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22075 target that doesn't use software single-stepping.
22076
835c559f
PA
220772014-06-03 Pedro Alves <palves@redhat.com>
22078
22079 PR breakpoints/17000
22080 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22081 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22082
06eb1586
DE
220832014-06-02 Doug Evans <xdje42@gmail.com>
22084
22085 * gdb.guile/scm-parameter.exp: New file.
22086
e698b8c4
DE
220872014-06-02 Doug Evans <xdje42@gmail.com>
22088
22089 * gdb.guile/scm-cmd.c: New file.
22090 * gdb.guile/scm-cmd.exp: New file.
22091
ded03782
DE
220922014-06-02 Doug Evans <xdje42@gmail.com>
22093
22094 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22095 pretty-printer lookup.
22096 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22097 (make-pp_s-printer): Call it.
22098 (make-pretty-printer-from-dict): New function.
22099 (lookup-pretty-printer-maker-from-dict): New function.
22100 (*pretty-printer*): Simplify.
22101 (make-objfile-pp_s-printer): New function.
22102 (install-objfile-pretty-printers!): New function.
22103 (make-progspace-pp_s-printer): New function.
22104 (install-progspace-pretty-printers!): New function.
22105 * gdb.guile/scm-progspace.c: New file.
22106 * gdb.guile/scm-progspace.exp: New file.
22107
41fac0cf
PA
221082014-06-02 Pedro Alves <palves@redhat.com>
22109
22110 * gdb.base/dprintf-bp-same-addr.c: New file.
22111 * gdb.base/dprintf-bp-same-addr.exp: New file.
22112
96ae5695
EBM
221132014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22114
22115 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22116 * gdb.arch/powerpc-power.s: Likewise.
22117
da02b3a8
JB
221182014-06-02 Joel Brobecker <brobecker@adacore.com>
22119
22120 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22121
c72b2e7b
YQ
221222014-06-01 Yao Qi <yao@codesourcery.com>
22123
22124 * gdb.base/watchpoint.exp (test_watch_location): Check null
22125 pointer can be dereferenced. If not, do the test, otherwise
22126 skip it.
22127
53e8a631
AB
221282014-05-30 Andrew Burgess <aburgess@broadcom.com>
22129
22130 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22131 results.
22132 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22133
938f0e2f
AB
221342014-05-30 Andrew Burgess <aburgess@broadcom.com>
22135
22136 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22137 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22138 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22139 * gdb.arch/amd64-invalid-stack-top.c: New file.
22140 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22141
9ba6657a
PA
221422014-05-30 Pedro Alves <palves@redhat.com>
22143
22144 PR breakpoints/17000
22145 * gdb.base/sss-bp-on-user-bp.c: New file.
22146 * gdb.base/sss-bp-on-user-bp.exp: New file.
22147
522c09bf
DB
221482014-05-30 David Blaikie <dblaikie@gmail.com>
22149
22150 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22151 gnu_inline semantics via attribute.
22152 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22153 source explicitly specifies the required semantics.
22154
bf4ef81e
MR
221552014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22156
22157 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22158
329ea579
PA
221592014-05-29 Pedro Alves <palves@redhat.com>
22160 Tom Tromey <tromey@redhat.com>
22161
22162 * gdb.base/async-shell.exp: Don't enable target-async.
22163 * gdb.base/async.exp
22164 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22165 parameter. Adjust.
22166 (top level): Don't test with "target-async".
22167 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22168 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22169 * gdb.base/inferior-died.exp: Don't enable target-async.
22170 * gdb.base/interrupt-noterm.exp: Likewise.
22171 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22172 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22173 * gdb.mi/mi-nonstop.exp: Likewise.
22174 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22175 * gdb.mi/mi-nsintrall.exp: Likewise.
22176 * gdb.mi/mi-nsmoribund.exp: Likewise.
22177 * gdb.mi/mi-nsthrexec.exp: Likewise.
22178 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22179 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22180 * gdb.python/py-evsignal.exp: Don't enable target-async.
22181 * gdb.python/py-evthreads.exp: Likewise.
22182 * gdb.python/py-prompt.exp: Likewise.
22183 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22184 * gdb.server/solib-list.exp: Don't enable target-async.
22185 * gdb.threads/thread-specific-bp.exp: Likewise.
22186 * lib/mi-support.exp: Adjust to use mi-async.
22187
fd664c91
PA
221882014-05-29 Pedro Alves <palves@redhat.com>
22189
22190 PR gdb/13860
22191 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22192 reason, even in sync mode.
22193
251bde03
PA
221942014-05-29 Pedro Alves <palves@redhat.com>
22195 Hui Zhu <hui@codesourcery.com>
22196
22197 PR PR15693
22198 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22199 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22200 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22201 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22202
7f3c0343
JB
222032014-05-28 Joel Brobecker <brobecker@adacore.com>
22204
22205 * config/monitor.exp (gdb_target_monitor): Replace use of
22206 "set remotebaud" by "set serial baud".
22207
b2715b27
AW
222082014-05-26 Andy Wingo <wingo@igalia.com>
22209
22210 * gdb.guile/scm-breakpoint.exp:
22211 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22212 properties instead of gdb-object-properties.
22213
498a4489
YQ
222142014-05-26 Yao Qi <yao@codesourcery.com>
22215
22216 * gdb.server/no-thread-db.exp: Specify source file name
22217 explicitly when setting a breakpoint.
22218
589fdceb
MM
222192014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22220
22221 * gdb.btrace/vdso.c: New.
22222 * gdb.btrace/vdso.exp: New.
22223
e9089e05
MM
222242014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22225
22226 * gdb.base/gcore.exp (capture_command_output): Move ...
22227 * lib/gdb.exp (capture_command_output): ... here.
22228
67b5c0c1
MM
222292014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22230
22231 * gdb.btrace/data.exp: Test memory access during btrace replay.
22232
a2199296
SM
222332014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22234
22235 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22236
17b2616c
PA
222372014-05-21 Pedro Alves <palves@redhat.com>
22238
22239 PR gdb/13860
22240 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22241 (top level): Test that output related to execution commands is
22242 sent to the console with CLI commands, but not with MI commands.
22243 Test that breakpoint events are always mirrored to the console.
22244 Also expect the new source line to be output after a "next" in
22245 async mode too. Make it a pass/fail test.
22246 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22247 output.
22248 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22249
5166082f
PA
222502014-05-21 Pedro Alves <palves@redhat.com>
22251
22252 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22253 Use them to test variations of "list" after reaching a breakpoint.
22254 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22255 Test "list" with listsize 10 after reaching a breakpoint.
22256 * gdb.python/python.exp (decode_line current location line
22257 number): Adjust expected line number.
22258
2f25d70f
SM
222592014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22260
22261 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22262 behavior for $args, pass it directly to "run".
22263
ff604a67
MR
222642014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22265
22266 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22267 30000 to 65536.
22268
6a3cb8e8
PA
222692014-05-21 Pedro Alves <palves@redhat.com>
22270
22271 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22272 auto-connect-native-target off".
22273 * gdb.base/auto-connect-native-target.c: New file.
22274 * gdb.base/auto-connect-native-target.exp: New file.
22275
4ebfc96e
PA
222762014-05-21 Pedro Alves <palves@redhat.com>
22277
22278 * gdb.base/default.exp: Test "target native" instead of "target
22279 child".
22280
36d46afb
MW
222812014-05-21 Mark Wielaard <mjw@redhat.com>
22282
22283 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22284
5876f503
JK
222852014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22286
22287 Fix TLS access for -static -pthread.
22288 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22289 <HAVE_TLS> (thread_function, main): Initialize it.
22290 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22291 Add clean_restart.
22292 <$have_tls != "">: Check TLSVAR.
22293
0256a6ac
PA
222942014-05-21 Pedro Alves <palves@redhat.com>
22295
22296 * gdb.base/dcache-line-read-error.c: New.
22297 * gdb.base/dcache-line-read-error.exp: New.
22298
936d2992
PA
222992014-05-20 Pedro Alves <palves@redhat.com>
22300
22301 * gdb.base/compare-sections.c: New file.
22302 * gdb.base/compare-sections.exp: New file.
22303
802e8e6d
PA
223042014-05-20 Pedro Alves <palves@redhat.com>
22305
22306 * gdb.base/break-idempotent.c: New file.
22307 * gdb.base/break-idempotent.exp: New file.
22308
e59fa00f
MM
223092014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22310
22311 * gdb.btrace/nohist.exp: New.
22312
8b696e31
YQ
223132014-05-20 Yao Qi <yao@codesourcery.com>
22314
22315 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22316 gdb.reverse directory and gdb_reverse_timeout exists in board
22317 setting.
22318 * README: Document gdb_reverse_timeout.
22319
73c9764f
YQ
223202014-05-20 Yao Qi <yao@codesourcery.com>
22321
22322 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22323 'test_file_name'. Treat args as a string instead of a list.
22324 (gdb_init): Rename argument 'args' by 'test_file_name'.
22325
f1f4348a
JK
223262014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22327
22328 * gdb.arch/powerpc-power.exp: New file.
22329 * gdb.arch/powerpc-power.s: New file.
22330
0dbe70ce
DE
223312014-05-16 Doug Evans <dje@google.com>
22332
22333 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22334 * gdb.base/completion.exp: Check that all expected files exist
22335 before doing file completion.
0dbe70ce 22336
8d551b02
DE
223372014-05-16 Doug Evans <dje@google.com>
22338
22339 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22340 Update.
22341 (do_syscall_tests_without_xml): Update.
22342
73eb7709
PA
223432014-05-16 Pedro Alves <palves@redhat.com>
22344
22345 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22346 instead of "unknown output after running".
22347
3fae92fc
YQ
223482014-05-16 Yao Qi <yao@codesourcery.com>
22349
22350 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22351 file1.txt from host at the end.
22352 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22353
c2b2ccc5
DE
223542014-05-15 Doug Evans <dje@google.com>
22355
22356 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22357 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22358 loading file. Add test for TU lookup.
22359
8c217a4b
SM
223602014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22361
22362 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22363 calling "-exec-arguments" or "set args" before running the
22364 inferior.
22365
3deb39c6
SM
223662014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22367
22368 * lib/mi-support.exp (mi_expect_stop): Expect message for
22369 inferiors that exit with non-zero exit code.
22370
71a79f8c
YQ
223712014-05-14 Yao Qi <yao@codesourcery.com>
22372
22373 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22374 match absolute path on remote host.
22375 (test_file_list_exec_source_files): Remove "/" from the
22376 pattern.
22377
f23fcd46
YQ
223782014-05-14 Yao Qi <yao@codesourcery.com>
22379
22380 * boards/local-remote-host-notty.exp (${board}_file): New
22381 proc.
22382
9404b58f
KM
223832014-05-07 Kyle McMartin <kyle@redhat.com>
22384
22385 Pushed by Joel Brobecker <brobecker@adacore.com>.
22386 * gdb.arch/aarch64-atomic-inst.c: New file.
22387 * gdb.arch/aarch64-atomic-inst.exp: New file.
22388
5e45f04c
YQ
223892014-05-07 Yao Qi <yao@codesourcery.com>
22390
22391 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22392 in current context" too.
22393
c888a17d
KS
223942014-05-05 Keith Seitz <keiths@redhat.com>
22395
22396 * gdb.linespec/ls-dollar.exp: Add test for linespec
22397 file:convenience_variable.
22398
290a839c
YQ
223992014-05-05 Yao Qi <yao@codesourcery.com>
22400
22401 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22402 traceframes into tfile and ctf trace files. Read data from
22403 trace file and test collected data.
22404 (gdb_collect_locals_test): Likewise.
22405 (gdb_unavailable_registers_test): Likewise.
22406 (gdb_unavailable_floats): Likewise.
22407 (gdb_collect_globals_test): Likewise.
22408 (top-level): Append "ctf" to trace_file_targets if GDB
22409 supports.
22410
b5262cd0
YQ
224112014-05-05 Yao Qi <yao@codesourcery.com>
22412
22413 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22414 code to ...
22415 (gdb_collect_args_test_1): ... it. New proc.
22416 (gdb_collect_locals_test): Move some code to ...
22417 (gdb_collect_locals_test_1): ... it. New proc.
22418 (gdb_unavailable_registers_test): Move some code to ...
22419 (gdb_unavailable_registers_test_1): ... it. New proc.
22420 (gdb_unavailable_floats): Move some code to ...
22421 (gdb_unavailable_floats_1): ... it. New proc.
22422
30a1e6cc
SDJ
224232014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22424
22425 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22426 probes to test for bitness recognition.
22427 * gdb.arch/amd64-stap-optional-prefix.exp
22428 (test_probe_value_without_reg): New procedure.
22429 Add code to test for different kinds of bitness.
22430
f33da99a
SDJ
224312014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22432
22433 PR breakpoints/16889
22434 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22435 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22436
5b80f00d
PA
224372014-05-01 Pedro Alves <palves@redhat.com>
22438
22439 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22440 gdb_file_cmd if no file is specified.
22441 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22442 last_loaded_file to set the remote exec-file.
22443
f8c2a73c
PA
224442014-05-01 Pedro Alves <palves@redhat.com>
22445
22446 * boards/local-remote-host.exp: New file.
22447
be6e8ac7
PA
224482014-05-01 Pedro Alves <palves@redhat.com>
22449
22450 * boards/local-remote-host.exp: Rename to ...
22451 * boards/local-remote-host-notty.exp: ... this.
22452
cac0dc8f
JB
224532014-04-28 Joel Brobecker <brobecker@adacore.com>
22454
22455 * gdb.ada/dyn_arrayidx: New testcase.
22456
9730e6cc
YQ
224572014-04-26 Yao Qi <yao@codesourcery.com>
22458
22459 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22460 and compute the length of function main. Save it in
22461 $main_length.
22462 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22463 (top-level): Use gdb_compile to compile objects into
22464 executable and restart GDB. Remove invocation to
22465 prepare_for_testing.
22466
7ae1a6a6
PA
224672014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22468 Pedro Alves <palves@redhat.com>
22469
22470 PR server/16255
22471 * gdb.multi/multi-attach.c: New file.
22472 * gdb.multi/multi-attach.exp: New file.
22473
4082afcc
PA
224742014-04-25 Pedro Alves <palves@redhat.com>
22475
22476 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22477 user.
22478 (top level): Test that "set remote conditional-breakpoints-packet
22479 off" works as intended.
22480 * gdb.base/dprintf.exp: Test that "set remote
22481 breakpoint-commands-packet off" works as intended.
22482 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22483 New function.
22484 (top level): Call it.
22485 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22486 remote fast-tracepoints-packet off" works as intended.
22487 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22488 * lib/gdb.exp (gdb_is_target_remote): ... here.
22489
2abc3f8d
DB
224902014-04-24 David Blaikie <dblaikie@gmail.com>
22491
22492 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22493 ensure clang would not discard them.
22494 * gdb.base/gdbvars.c: Ditto.
22495 * gdb.base/memattr.c: Ditto.
22496 * gdb.base/whatis.c: Ditto.
22497 * gdb.python/py-prettyprint.c: Ditto.
22498 * gdb.trace/actions.c: Ditto.
22499 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22500 ensure clang would not discard it.
22501
bfd39632
DB
225022014-04-24 David Blaikie <dblaikie@gmail.com>
22503
22504 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22505 clang to emit the full definition of type required by the test
22506 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22507
22842ff6
DB
225082014-04-24 David Blaikie <dblaikie@gmail.com>
22509
22510 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22511 coax Clang into emitting the definition of the type.
22512 * gdb.cp/pr10728-x.h (y): Ditto.
22513 * gdb.cp/pr10728-y.cc (y): Ditto.
22514
c2e827ad
DB
225152014-04-24 David Blaikie <dblaikie@gmail.com>
22516
22517 * gdb.base/label.exp: XFAIL label related tests under Clang.
22518 * gdb.cp/cplabel.exp: Ditto.
22519 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22520 under Clang those using labels.
22521
4c2d33e7
YQ
225222014-04-25 Yao Qi <yao@codesourcery.com>
22523
22524 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22525 double_label.
22526 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22527 partial_label and double_label.
22528
56083b99
DB
225292014-04-24 David Blaikie <dblaikie@gmail.com>
22530
22531 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22532
25d4e99d
DB
225332014-04-24 David Blaikie <dblaikie@gmail.com>
22534
22535 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22536 of the function to work across GCC and Clang.
22537 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22538 pointer types (const void ** const V void **).
22539
01f9f808
MS
225402014-04-24 Michael Sturm <michael.sturm@mintel.com>
22541 Walfred Tedeschi <walfred.tedeschi@intel.com>
22542
22543 * Makefile.in (EXECUTABLES): Added i386-avx512.
22544 * gdb.arch/i386-avx512.c: New file.
22545 * gdb.arch/i386-avx512.exp: Likewise.
22546
4b48d439
KS
225472014-04-23 Keith Seitz <keiths@redhat.com>
22548
22549 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22550 (mi_make_breakpoint_table): New procedure.
22551 (mi_create_breakpoint): Use mi_make_breakpoint
22552 and return the result.
22553 (mi_make_breakpoint): New procedure.
22554 (mi_build_kv_pairs): New procedure.
22555
22556 * gdb.mi/mi-break.exp: Remove unused globals,
22557 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22558 All callers updated.
22559 * gdb.mi/mi-dprintf.exp: Use variable to track command
22560 number.
22561 Update all callers of mi_create_breakpoint and use
22562 mi_make_breakpoint_table.
22563 Remove any unused global variables.
22564 * gdb.mi/mi-nonstop.exp: Likewise.
22565 * gdb.mi/mi-nsintrall.exp: Likewise.
22566 * gdb.mi/mi-nsmoribund.exp: Likewise.
22567 * gdb.mi/mi-nsthrexec.exp: Likewise.
22568 * gdb.mi/mi-reverse.exp: Likewise.
22569 * gdb.mi/mi-simplerun.exp: Likewise.
22570 * gdb.mi/mi-stepn.exp: Likewise.
22571 * gdb.mi/mi-syn-frame.exp: Likewise.
22572 * gdb.mi/mi-until.exp: Likewise.
22573 * gdb.mi/mi-var-cp.exp: Likewise.
22574 * gdb.mi/mi-var-display.exp: Likewise.
22575 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22576 * gdb.mi/mi2-var-child.exp: Likewise.
22577 * gdb.mi/mi-vla-c99.exp: Likewise.
22578 * lib/mi-support.exp: Likewise.
22579
22580 From Ian Lance Taylor <iant@cygnus.com>:
22581 * lib/gdb.exp (parse_args): New procedure.
22582
08351840
PA
225832014-04-23 Pedro Alves <palves@redhat.com>
22584
22585 * gdb.base/break-unload-file.c: New file.
22586 * gdb.base/break-unload-file.exp: New file.
22587 * gdb.base/sym-file-lib.c (baz): New function.
22588 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22589 field.
22590 (load): Store the segment's mapped size.
22591 (unload): New function.
22592 (unload_shlib): New function.
22593 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22594 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22595 set a breakpoint at baz, and call it.
22596 * gdb.base/sym-file.exp: New tests for stale breakpoint
22597 instructions.
22598
076855f9
PA
225992014-04-23 Pedro Alves <palves@redhat.com>
22600
22601 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22602 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22603 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22604 * gdb.base/hbreak-unmapped.c: New file.
22605 * gdb.base/hbreak-unmapped.exp: New file.
22606 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22607 * lib/gdb.exp (gdb_is_target_remote): ... here.
22608
483805cf
PA
226092014-04-22 Pedro Alves <palves@redhat.com>
22610
22611 * gdb.base/consecutive-step-over.c: New file.
22612 * gdb.base/consecutive-step-over.exp: New file.
22613
06d97543
PA
226142014-04-22 Pedro Alves <palves@redhat.com>
22615
22616 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22617 instead of send_gdb/gdb_expect.
22618
b4429ea2
YQ
226192014-04-22 Yao Qi <yao@codesourcery.com>
22620
22621 * lib/trace-support.exp (generate_tracefile): New procedure.
22622 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22623 return 0.
22624 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22625 if generate_tracefile returns 1.
22626
51d48146
PA
226272014-04-18 Tom Tromey <palves@redhat.com>
22628 Pedro alves <tromey@redhat.com>
22629
22630 PR backtrace/15558
22631 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22632 with a backtrace limit.
22633 * gdb.python/py-frame-inline.exp: Test running to an inline
22634 function with a backtrace limit, and printing the newest frame.
22635 * gdb.python/py-frame-inline.c (main): Call f.
22636
bd1dce5f
MS
226372014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22638
22639 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22640
40d1a503
MS
226412014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22642
22643 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22644 Drop prefix from unsupported source file path.
22645
389b98f7
YQ
226462014-04-17 Yao Qi <yao@codesourcery.com>
22647
22648 * lib/gdb.exp (with_target_charset): New proc.
22649 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22650 with_target_charset.
22651 (test_print_strings): Likewise.
22652 (test_repeat_bytes): Likewise.
22653 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22654 for some tests.
22655
22869d73
KS
226562014-04-16 Keith Seitz <keiths@redhat.com>
22657
22658 PR gdb/15827
22659 * gdb.dwarf2/corrupt.c: New file.
22660 * gdb.dwarf2/corrupt.exp: New file.
22661
c4f87ca6
KS
226622014-04-16 Keith Seitz <keiths@redhat.com>
22663
22664 PR c++/16597
22665 * gdb.cp/namelessclass.cc: New file.
22666 * gdb.cp/namelessclass.exp: New file.
22667 * gdb.cp/namelessclass.S: New file.
22668
ab19de87
DE
226692014-04-16 Doug Evans <dje@google.com>
22670
22671 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22672 Add comment.
22673 (gdbserver_default_get_comm_port): New function.
22674 (gdbserver_start): Check if board file provided
22675 "gdbserver,get_comm_port" and use it if so.
22676 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22677 (gdb,socketport): Set to "stdio".
22678 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22679 (stdio_gdbserver_template): Delete.
22680 (${board}_get_remote_address): Update.
22681 (${board}_build_remote_cmd): Delete.
22682 (${board}_get_comm_port): New function.
22683 (${board}_spawn): Update.
22684 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22685 Delete.
22686 (${board}_get_remote_address): Update.
22687 (${board}_get_comm_port): New function.
22688
fc98a809
AB
226892014-04-16 Andrew Burgess <aburgess@broadcom.com>
22690
22691 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22692 appearing in any order.
22693
87fd9e6e
DE
226942014-04-15 Doug Evans <dje@google.com>
22695
22696 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22697 uninitialized value of "description".
22698
099fc3ea
KS
226992014-04-15 Keith Seitz <keiths@redhat.com>
22700
22701 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22702 Remove unused globals.
22703 (test_running_the_program): Likewise.
22704 (test_controlled_execution): Likewise.
22705 (test_controlling_breakpoints): Likewise.
22706 (test_program_termination): Likewise.
22707
5da151d4
KS
227082014-04-15 Keith Seitz <keiths@redhat.com>
22709
22710 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22711 unused globals.
22712 (test_rbreak_creation_and_listing): Likewise.
22713 (test_ignore_count): Likewise.
22714 (test_error): Likewise.
22715
35e5d2f0
PA
227162014-04-15 Pedro Alves <palves@redhat.com>
22717
22718 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22719 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22720 sym-file-loader.c.
22721 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22722 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22723 to sym-file-loader.c.
22724 (struct library): Forward declare.
22725 (load_shlib, lookup_function): Change prototypes.
22726 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22727 (translate_offset): Remove declarations.
22728 (get_text_addr): New declaration.
22729 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22730 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22731 sym-file-loader.h.
22732 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22733 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22734 here from sym-file-loader.h.
22735 (struct library): New structure.
22736 (load_shlib, lookup_function): Change prototypes and adjust to
22737 work with a struct library.
22738 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22739 (translate_offset): Make static.
22740 (get_text_addr): New function.
22741 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22742
eb4c1710
PA
227432014-04-15 Pedro Alves <palves@redhat.com>
22744
22745 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22746
2d1baf52
PA
227472014-04-15 Pedro Alves <palves@redhat.com>
22748
22749 * gdb.base/sym-file-loader.c: Include <limits.h>.
22750 (SELF_LINK): New define.
22751 (get_origin): New function.
22752 (load_shlib): Use it.
22753 * gdb.base/sym-file.exp: Don't early return if the target is
22754 remote. Use runto_main, and issue fail is that fails. Use
22755 gdb_load_shlibs.
22756 (shlib_name): Delete.
22757 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22758
7dd6df01
PA
227592014-04-15 Pedro Alves <palves@redhat.com>
22760
22761 * gdb.base/sym-file.exp: Remove regex characters from test
22762 message. Don't refer to breakpoint numbers in test messages.
22763
b50c8614
KS
227642014-04-14 Keith Seitz <keiths@redhat.com>
22765
22766 PR c++/16253
22767 * gdb.cp/var-tag.cc: New file.
22768 * gdb.cp/var-tag.exp: New file.
22769 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22770 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22771 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22772 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22773
3d567982
TT
227742014-04-14 Tom Tromey <tromey@redhat.com>
22775
22776 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22777 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22778 type.
22779 * gdb.cp/enum-class.exp: New file.
22780 * gdb.cp/enum-class.cc: New file.
22781
0626fc76
TT
227822014-04-14 Tom Tromey <tromey@redhat.com>
22783
22784 * gdb.dwarf2/enum-type.exp: New file.
22785
dca325b3
SA
227862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22787
22788 * gdb.mi/mi-vla-c99.exp: New file.
22789 * gdb.mi/vla.c: New file.
22790
5854b38a
SA
227912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22792
22793 * gdb.base/vla-datatypes.c: New file.
22794 * gdb.base/vla-datatypes.exp: New file.
22795
463bb957
SA
227962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22797
22798 * gdb.base/vla-ptr.c: New file.
22799 * gdb.base/vla-ptr.exp: New file.
22800
3dd170be
SA
228012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22802
22803 * gdb.dwarf2/count.exp: New file.
22804
5ecaaa66
SA
228052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22806
22807 * gdb.base/vla-sideeffect.c: New file.
22808 * gdb.base/vla-sideeffect.exp: New file.
22809
41f1ada5
DB
228102014-04-14 David Blaikie <dblaikie@gmail.com>
22811
22812 * gdb.mi/non-stop.c: Add return value for non-void function return
22813 statement.
22814 * gdb.threads/staticthreads.c: Ditto.
22815
0be03e84
DE
228162014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22817 Doug Evans <xdje42@gmail.com>
22818
22819 * gdb.guile/scm-value.c: Improve test case.
22820 * gdb.guile/scm-value.exp: Add new test.
22821
f180a1fb
DB
228222014-04-11 David Blaikie <dblaikie@gmail.com>
22823
22824 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22825 override Clang's default.
22826
6b662e19
JB
228272014-04-11 Joel Brobecker <brobecker@adacore.com>
22828
22829 Revert the following changes (regressions):
22830
22831 * gdb.base/vla-sideeffect.c: New file.
22832 * gdb.base/vla-sideeffect.exp: New file.
22833
22834 * gdb.dwarf2/count.exp: New file.
22835
22836 * gdb.base/vla-multi.c: New file.
22837 * gdb.base/vla-multi.exp: New file.
22838
22839 * gdb.base/vla-ptr.c: New file.
22840 * gdb.base/vla-ptr.exp: New file.
22841
22842 * gdb.base/vla-datatypes.c: New file.
22843 * gdb.base/vla-datatypes.exp: New file.
22844
22845 * gdb.mi/mi-vla-c99.exp: New file.
22846 * gdb.mi/vla.c: New file.
22847
245a5f0b
KS
228482014-04-11 Keith Seitz <keiths@redhat.com>
22849
22850 PR c++/16675
22851 * gdb.cp/cpsizeof.exp: New file.
22852 * gdb.cp/cpsizeof.cc: New file.
22853
58a84dcf
SA
228542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22855
191a8a90
JB
22856 * gdb.mi/mi-vla-c99.exp: New file.
22857 * gdb.mi/vla.c: New file.
58a84dcf 22858
c8655f75
SA
228592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22860
22861 * gdb.base/vla-datatypes.c: New file.
22862 * gdb.base/vla-datatypes.exp: New file.
22863
024e13b4
SA
228642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22865
22866 * gdb.base/vla-ptr.c: New file.
22867 * gdb.base/vla-ptr.exp: New file.
22868
1a237e0e
SA
228692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22870
22871 * gdb.base/vla-multi.c: New file.
22872 * gdb.base/vla-multi.exp: New file.
22873
504f3432
SA
228742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22875
22876 * gdb.dwarf2/count.exp: New file.
22877
3bce8237
SA
228782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22879
191a8a90
JB
22880 * gdb.base/vla-sideeffect.c: New file.
22881 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22882
322f9c21
YQ
228832014-04-11 Yao Qi <yao@codesourcery.com>
22884
22885 * gdb.base/completion.exp: Check file exists before running tests
22886 on file completion.
22887
d708bcd1
PA
228882014-04-10 Pedro Alves <palves@redhat.com>
22889
22890 * gdb.base/cond-eval-mode.c: New file.
22891 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22892 prepare_for_testing to build the new file. Check result of
22893 runto_main.
22894 (test_break, test_watch): New procedures.
22895 (top level): Use them.
22896
ae1d2761
PM
228972014-04-08 Pierre Muller <muller@sourceware.org>
22898
22899 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22900 Ctrl-V use for mingw hosts.
22901
7af389b8
SC
229022014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22903
22904 * gdb.python/py-value.c: Improve test case.
22905 * gdb.python/py-value.exp: Add new test.
22906
5e703181
DE
229072014-04-07 David Blaikie <dblaikie@gmail.com>
22908
22909 * lib/compiler.c: Identify the clang compiler.
22910 * lib/compiler.cc: Ditto.
22911
9810b410
YQ
229122014-04-03 Yao Qi <yao@codesourcery.com>
22913
22914 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22915
98d1b8dc
AB
229162014-04-01 Anton Blanchard <anton@samba.org>
22917
22918 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22919 messages unique.
22920
3114cea1
AB
229212014-04-01 Anton Blanchard <anton@samba.org>
22922
22923 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22924 prepare_for_testing.
22925
62f7182c
AB
229262014-04-01 Anton Blanchard <anton@samba.org>
22927
22928 * gdb.arch/ppc64-atomic-inst.c: Remove.
22929 * gdb.arch/ppc64-atomic-inst.S: New file.
22930 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22931
770e7fc7
DE
229322014-03-31 Doug Evans <dje@google.com>
22933
22934 * gdb.base/print-symbol-loading-lib.c: New file.
22935 * gdb.base/print-symbol-loading-main.c: New file.
22936 * gdb.base/print-symbol-loading.exp: New file.
22937
46e2bafa
YQ
229382014-03-31 Yao Qi <yao@codesourcery.com>
22939
22940 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22941
8776cfe9
JB
229422014-03-28 Joel Brobecker <brobecker@adacore.com>
22943
22944 * gdb.ada/mi_dyn_arr: New testcase.
22945
5d1ef361
DE
229462014-03-27 Doug Evans <dje@google.com>
22947
22948 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22949
b5bee914
YQ
229502014-03-27 Yao Qi <yao@codesourcery.com>
22951
22952 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22953 if target is nios2-*-*.
22954
0d4d0e77
YQ
229552014-03-26 Yao Qi <yao@codesourcery.com>
22956
22957 * lib/gdb.exp (readline_is_used): New proc.
22958 * gdb.base/completion.exp: Move tests on command complete up.
22959 Skip the rest of tests if readline is not used.
22960 * gdb.ada/complete.exp: Skp the test if readline is not
22961 used.
22962 * gdb.base/filesym.exp: Likewise.
22963 * gdb.base/macscp.exp: Likewise.
22964 * gdb.base/readline-ask.exp: Likewise.
22965 * gdb.base/readline.exp: Likewise.
22966 * gdb.python/py-cmd.exp: Likewise.
22967 * gdb.trace/tfile.exp: Likewise.
22968
29361eee
YQ
229692014-03-26 Yao Qi <yao@codesourcery.com>
22970
22971 * gdb.base/macscp.exp: Fix code format issues.
22972
bc9a5525
UW
229732014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22974
22975 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22976 * gdb.asm/powerpc64le.inc: New file.
22977
d3839ede
PA
229782014-03-25 Pedro Alves <palves@redhat.com>
22979 Doug Evans <dje@google.com>
22980
22981 * gdb.base/source-execution.c: New file.
22982 * gdb.base/source-execution.exp: New file.
22983 * gdb.base/source-execution.gdb: New file.
22984
01672a57
DE
229852014-03-24 Doug Evans <dje@google.com>
22986
22987 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22988 using fission.
22989
88bbeca9
HZ
229902014-03-24 Hui Zhu <hui@codesourcery.com>
22991 Pedro Alves <palves@redhat.com>
22992
22993 PR breakpoints/16101
22994 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22995 test pass/fail messages. Detect missing support for dprintf when
22996 breakpoints are actually inserted.
22997 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22998 breakpoints are actually inserted.
22999 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23000 fails.
23001
d2348791
JK
230022014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23003
23004 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23005
feef67ab
DE
230062014-03-22 Doug Evans <xdje42@gmail.com>
23007
23008 * gdb.python/python.exp (python not supported): Verify multi-line
23009 python command issues an error.
25d743f9 23010 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 23011 guile command issues an error.
feef67ab 23012
ecebef6a
MR
230132014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23014
23015 * gdb.threads/thread-specific.exp: Handle the lack of usable
23016 $this_breakpoint and $this_thread.
23017
ccdd1909
HZ
230182014-03-21 Hui Zhu <hui@codesourcery.com>
23019
23020 * gdb.base/attach.exp (do_command_attach_tests): New.
23021
beb460e8
PA
230222014-03-20 Tom Tromey <tromey@redhat.com>
23023 Pedro Alves <palves@redhat.com>
23024
23025 PR cli/15718
23026 * gdb.base/condbreak-call-false.c: New file.
23027 * gdb.base/condbreak-call-false.exp: New file.
23028
40acf43a
PA
230292014-03-20 Pedro Alves <palves@redhat.com>
23030
23031 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23032 Delete.
23033 (block_signals, unblock_signals): Delete.
23034 (child_function_2, main): Remove references to deleted variable
23035 and functions.
23036
9f5e1e02
PA
230372014-03-20 Pedro Alves <palves@redhat.com>
23038
23039 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23040 Use pthread_kill to signal thread 2.
23041 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23042 Adjust to make the test send itself a signal rather than using the
23043 host's "kill" command.
23044
99619bea
PA
230452014-03-20 Pedro Alves <palves@redhat.com>
23046
23047 * gdb.threads/multiple-step-overs.c: New file.
23048 * gdb.threads/multiple-step-overs.exp: New file.
23049 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23050 Adjust expected infrun debug output.
23051
2adfaa28
PA
230522014-03-20 Pedro Alves <palves@redhat.com>
23053
23054 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23055 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23056
31e77af2
PA
230572014-03-20 Pedro Alves <palves@redhat.com>
23058
23059 PR breakpoints/7143
23060 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23061 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23062 of gdb_test_multiple.
23063 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23064 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23065
b9f437de
PA
230662014-03-20 Pedro Alves <palves@redhat.com>
23067
23068 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23069 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23070
05adc73e
PA
230712014-03-19 Pedro Alves <palves@redhat.com>
23072
23073 * gdb.base/async.exp: Remove early return.
23074
6048b950
PA
230752014-03-19 Pedro Alves <palves@redhat.com>
23076
23077 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23078
8bcfb00a
PA
230792014-03-19 Pedro Alves <palves@redhat.com>
23080
23081 * gdb.base/async.exp (test_background): Expect \r\n after
23082 "completed." in the fail pattern.
23083
884e37dc
PA
230842014-03-19 Pedro Alves <palves@redhat.com>
23085
23086 * gdb.base/async.exp (test_background): New procedure.
23087 Use it for all background execution command tests.
23088
148e57e2
PA
230892014-03-19 Pedro Alves <palves@redhat.com>
23090
23091 * gdb.base/async.exp: Use prepare_for_testing.
23092
f48088c7
PA
230932014-03-19 Pedro Alves <palves@redhat.com>
23094
23095 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23096 the same line.
23097
e2f6c966
PA
230982014-03-19 Pedro Alves <palves@redhat.com>
23099
23100 * gdb.base/async.c (main): Add "jump here" and "until here" line
23101 marker comments.
23102 * gdb.base/async.exp (jump_here): New global.
23103 (jump& test): Use it.
23104 (until_here): New global.
23105 (until& test): Use it.
23106
c30568d4
PA
231072014-03-19 Pedro Alves <palves@redhat.com>
23108
23109 * gdb.base/async.exp: Don't frob gdb_protocol.
23110
0172b6a7
DE
231112014-03-18 Doug Evans <xdje42@gmail.com>
23112
23113 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23114 Fix spelling of exec-done-display.
23115
06c868a8
JK
231162014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23117
23118 PR gdb/15358
23119 * gdb.base/gdb-sigterm.c: New file.
23120 * gdb.base/gdb-sigterm.exp: New file.
23121
0c7e1a46
PA
231222014-03-18 Pedro Alves <palves@redhat.com>
23123
23124 PR gdb/13860
23125 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23126 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23127 solib-event.
23128
f7c77d93
JB
231292014-03-17 Joel Brobecker <brobecker@adacore.com>
23130
23131 * gdb.ada/pckd_arr_ren: New testcase.
23132
5a1e8c7a
DE
231332014-03-13 Doug Evans <xdje42@gmail.com>
23134
23135 PR guile/16612
23136 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23137 collect after discarding symbols.
23138
350e1a76
DE
231392014-03-13 Ludovic Courtès <ludo@gnu.org>
23140 Doug Evans <xdje42@gmail.com>
23141
23142 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23143 to history survives a gc.
23144
a69900ae
PA
231452014-03-13 Pedro Alves <palves@redhat.com>
23146
23147 * gdb.base/default.exp: Don't test "target procfs".
23148
5db9f0bd
PA
231492014-03-13 Pedro Alves <palves@redhat.com>
23150
23151 * gdb.base/default.exp: Update "target child" and "target procfs"
23152 tests to not expect "Unix".
23153
b3ccfe11
TT
231542014-03-12 Tom Tromey <tromey@redhat.com>
23155
23156 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23157 New procs. Add target-async tests.
23158 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23159 Add target-async tests.
23160
646f4417
AA
231612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23162
23163 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23164 'func_start' and 'func_end' for the beginning and end of the
23165 function code, respectively.
23166 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23167 'func_end' instead of 'func' and 'main'.
23168
288c211f
AA
231692014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23170
23171 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23172 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23173 generate the debug info assembler source.
23174
e0c0f156
AA
231752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23176
23177 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23178 * gdb.dwarf2/arr-subrange.exp: Likewise.
23179 * gdb.dwarf2/dwz.exp: Likewise.
23180 * gdb.dwarf2/method-ptr.exp: Likewise.
23181 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23182 * gdb.dwarf2/subrange.exp: Likewise.
23183 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23184 * gdb.dwarf2/implptrpiece.exp: Likewise.
23185 * gdb.dwarf2/nostaticblock.exp: Likewise.
23186
0e5c4555
AA
231872014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23188
23189 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23190 directory to absolute path name arguments.
23191
5ec18f2b
JG
231922014-03-10 Joel Brobecker <brobecker@adacore.com>
23193
23194 * gdb.ada/tagged_access: New testcase.
23195
847fc4f2
MM
231962014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23197
23198 * gdb.btrace/data.exp: Update expected output.
23199
cc3da688
YQ
232002014-03-06 Yao Qi <yao@codesourcery.com>
23201
23202 * gdb.trace/pr16508.exp: New file.
23203
0f26cec1
PA
232042014-03-05 Pedro Alves <palves@redhat.com>
23205
23206 PR gdb/16575
23207 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23208 procedure.
23209 (top level): Adjust to use it. Add tests that exercise breakpoint
23210 interaction with the code-cache.
23211
7a5a839f
LC
232122014-02-26 Ludovic Courtès <ludo@gnu.org>
23213
23214 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23215 test for 'history-append!'.
23216
31aa7e4e
JB
232172014-02-26 Joel Brobecker <brobecker@adacore.com>
23218
23219 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23220 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23221 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23222 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23223 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23224 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23225
1b588015
JB
232262014-02-26 Joel Brobecker <brobecker@adacore.com>
23227
23228 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23229 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23230 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23231
55426c9d
JB
232322014-02-26 Joel Brobecker <brobecker@adacore.com>
23233
23234 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23235
dc53a7ad
JB
232362014-02-26 Joel Brobecker <brobecker@adacore.com>
23237
23238 * gdb.dwarf2/arr-stride.c: New file.
23239 * gdb.dwarf2/arr-stride.exp: New file.
23240
12ab52e9
PA
232412014-02-26 Pedro Alves <palves@redhat.com>
23242
23243 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23244 that won't ever trigger. Make sure that GDB reports the correct
23245 breakpoint that caused the stop.
23246
849c862e
JK
232472014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23248
23249 PR gdb/16626
23250 * gdb.base/auto-load-script: New file.
23251 * gdb.base/auto-load.c: New file.
23252 * gdb.base/auto-load.exp: New file.
23253
71b7d793
JK
23254 PR gdb/16626
23255 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23256
e2f0d509
JK
232572014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23258
23259 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23260 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23261
50cc37c8
DE
232622014-02-24 Doug Evans <dje@google.com>
23263
23264 * lib/gdb.exp (run_on_host): Log error output if program fails.
23265
ea4758f2
PA
232662014-02-21 Pedro Alves <palves@redhat.com>
23267
23268 * gdb.threads/step-after-sr-lock.c: Rename to ...
23269 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23270 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23271 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23272 ... this.
23273
d7b30f67
SDJ
232742014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23275
23276 PR tdep/16397
23277 * gdb.arch/amd64-stap-special-operands.exp: New file.
23278 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23279 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23280 * gdb.arch/amd64-stap-triplet.S: Likewise.
23281 * gdb.arch/amd64-stap-triplet.c: Likewise.
23282
83deb43f
JB
232832014-02-20 Joel Brobecker <brobecker@adacore.com>
23284
23285 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23286 in .section pseudo-op.
23287
adde2bff
DE
232882014-02-20 lin zuojian <manjian2006@gmail.com>
23289 Joel Brobecker <brobecker@adacore.com>
23290 Doug Evans <xdje42@gmail.com>
23291
23292 PR symtab/16581
23293 * gdb.dwarf2/dw2-icycle.S: New file.
23294 * gdb.dwarf2/dw2-icycle.c: New file.
23295 * gdb.dwarf2/dw2-icycle.exp: New file.
23296
f7bd0f78
SC
232972014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23298
23299 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23300 operations on gdb.Value objects.
23301 * gdb.python/py-value-cc.exp: Add new test to test operations on
23302 gdb.Value objects.
23303
c17ef0d5
DE
233042014-02-18 Doug Evans <dje@google.com>
23305
23306 * Makefile.in (TESTS): New variable.
23307 (expanded_tests, expanded_tests_or_none): New variables
23308 (check-single): Pass $(expanded_tests_or_none) to runtest.
23309 (check-parallel): Only run tests in $(TESTS) if non-empty.
23310 (check/no-matching-tests-found): New rule.
23311 * README: Document TESTS makefile variable.
23312
5dd3176f
DE
233132014-02-18 Doug Evans <dje@google.com>
23314
23315 * Makefile.in (check-parallel): rm -rf outputs temp.
23316
0b10be4f
JK
233172014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23318
23319 Fix "ERROR: no fileid for" in the testsuite.
23320 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23321
85f224e7
DE
233222014-02-12 Doug Evans <dje@google.com>
23323
23324 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23325 (MISCELLANEOUS): New variable.
23326 (clean): rm -rf $(MISCELLANEOUS).
23327 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23328 dwp live in the same directory as symlinks, with each symlink pointed
23329 to a differently named file in a different directory.
23330
149b30ff
DE
233312014-02-11 Doug Evans <dje@google.com>
23332
23333 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23334 of Tcl file commands.
23335
1dfdac32
MK
233362014-02-10 Mark Kettenis <kettenis@gnu.org>
23337
23338 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23339 "kill -SIGUSR1 -1".
23340
aa4fb036
JB
233412014-02-10 Joel Brobecker <brobecker@adacore.com>
23342
23343 * gdb.ada/tick_length_array_enum_idx: New testcase.
23344
ed3ef339
DE
233452014-02-10 Doug Evans <xdje42@gmail.com>
23346
23347 * configure.ac (AC_OUTPUT): Add gdb.guile.
23348 * configure: Regenerate.
23349 * lib/gdb-guile.exp: New file.
23350 * lib/gdb.exp (get_target_charset): New function.
23351 * gdb.base/help.exp: Update expected output from "apropos apropos".
23352 * gdb.guile/Makefile.in: New file.
23353 * gdb.guile/guile.exp: New file.
23354 * gdb.guile/scm-arch.c: New file.
23355 * gdb.guile/scm-arch.exp: New file.
23356 * gdb.guile/scm-block.c: New file.
23357 * gdb.guile/scm-block.exp: New file.
23358 * gdb.guile/scm-breakpoint.c: New file.
23359 * gdb.guile/scm-breakpoint.exp: New file.
23360 * gdb.guile/scm-disasm.c: New file.
23361 * gdb.guile/scm-disasm.exp: New file.
23362 * gdb.guile/scm-equal.c: New file.
23363 * gdb.guile/scm-equal.exp: New file.
23364 * gdb.guile/scm-error.exp: New file.
23365 * gdb.guile/scm-error.scm: New file.
23366 * gdb.guile/scm-frame-args.c: New file.
23367 * gdb.guile/scm-frame-args.exp: New file.
23368 * gdb.guile/scm-frame-args.scm: New file.
23369 * gdb.guile/scm-frame-inline.c: New file.
23370 * gdb.guile/scm-frame-inline.exp: New file.
23371 * gdb.guile/scm-frame.c: New file.
23372 * gdb.guile/scm-frame.exp: New file.
23373 * gdb.guile/scm-generics.exp: New file.
23374 * gdb.guile/scm-gsmob.exp: New file.
23375 * gdb.guile/scm-iterator.c: New file.
23376 * gdb.guile/scm-iterator.exp: New file.
23377 * gdb.guile/scm-math.c: New file.
23378 * gdb.guile/scm-math.exp: New file.
23379 * gdb.guile/scm-objfile-script-gdb.in: New file.
23380 * gdb.guile/scm-objfile-script.c: New file.
23381 * gdb.guile/scm-objfile-script.exp: New file.
23382 * gdb.guile/scm-objfile.c: New file.
23383 * gdb.guile/scm-objfile.exp: New file.
23384 * gdb.guile/scm-ports.exp: New file.
23385 * gdb.guile/scm-pretty-print.c: New file.
23386 * gdb.guile/scm-pretty-print.exp: New file.
23387 * gdb.guile/scm-pretty-print.scm: New file.
23388 * gdb.guile/scm-section-script.c: New file.
23389 * gdb.guile/scm-section-script.exp: New file.
23390 * gdb.guile/scm-section-script.scm: New file.
23391 * gdb.guile/scm-symbol.c: New file.
23392 * gdb.guile/scm-symbol.exp: New file.
23393 * gdb.guile/scm-symtab-2.c: New file.
23394 * gdb.guile/scm-symtab.c: New file.
23395 * gdb.guile/scm-symtab.exp: New file.
23396 * gdb.guile/scm-type.c: New file.
23397 * gdb.guile/scm-type.exp: New file.
23398 * gdb.guile/scm-value-cc.cc: New file.
23399 * gdb.guile/scm-value-cc.exp: New file.
23400 * gdb.guile/scm-value.c: New file.
23401 * gdb.guile/scm-value.exp: New file.
23402 * gdb.guile/source2.scm: New file.
23403 * gdb.guile/types-module.cc: New file.
23404 * gdb.guile/types-module.exp: New file.
23405
7026a7c1
YQ
234062014-02-10 Yao Qi <yao@codesourcery.com>
23407
23408 PR testsuite/16543
23409 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23410 * configure: Regenerated.
23411 * Makefile.in: New file.
23412
6c466447
AS
234132014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23414
23415 * gdb.python/py-framefilter.exp: Fix typo.
23416
6e854735
YQ
234172014-02-08 Yao Qi <yao@codesourcery.com>
23418
23419 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23420 that no =breakpoint-modified is emitted when breakpoints are
23421 modified through MI commands.
23422
d137e6dc
PA
234232014-02-07 Pedro Alves <pedro@codesourcery.com>
23424 Pedro Alves <palves@redhat.com>
23425
23426 * gdb.threads/step-after-sr-lock.c: New file.
23427 * gdb.threads/step-after-sr-lock.exp: New file.
23428
b5ee5a50
PA
234292014-02-07 Pedro Alves <palves@redhat.com>
23430
23431 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23432
3c77faf3
JK
234332014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23434
23435 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23436 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23437
6dddc817
DE
234382014-02-06 Doug Evans <xdje42@gmail.com>
23439
23440 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23441 output.
23442
23443 * gdb.gdb/python-interrupts.exp: New file.
23444
de7b2893
YQ
234452014-02-05 Yao Qi <yao@codesourcery.com>
23446
23447 * gdb.trace/report.exp (use_collected_data): Test the output
23448 of "info threads" and "info inferiors".
23449
66d032ac
YQ
234502014-02-05 Yao Qi <yao@codesourcery.com>
23451
23452 Revert this patch:
23453
23454 2013-05-24 Yao Qi <yao@codesourcery.com>
23455
23456 * gdb.trace/tfile.exp: Test inferior and thread.
23457
591a12a1
UW
234582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23459
23460 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23461 on a function.
23462 * gdb.base/step-bt.c: Call hello via function pointer to make
23463 sure its first instruction is executed on powerpc64le-linux.
23464
0ff3e01f
UW
234652014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23466
23467 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23468
084ee545
UW
234692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23470
23471 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23472 of the test patterns for use on little-endian systems.
23473
6ed14ff3
UW
234742014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23475
23476 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23477 (decimal_vector): Fix for little-endian.
23478
401e27fd
JM
234792014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23480
23481 * gdb.arch/sparc-sysstep.exp: New file.
23482 * gdb.arch/sparc-sysstep.c: Likewise.
23483
23484 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23485
8b924729
EBM
234862014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23487
23488 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23489
fb151210
JB
234902014-01-23 Tom Tromey <tromey@redhat.com>
23491
23492 * gdb.ada/array_char_idx: New testcase.
23493
0740f8d8
TT
234942014-01-23 Tom Tromey <tromey@redhat.com>
23495
23496 PR python/16487:
23497 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23498 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23499 classes.
23500
21909fa1
TT
235012014-01-23 Tom Tromey <tromey@redhat.com>
23502
23503 PR python/16491:
23504 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23505 string from an inferior frame.
23506 * gdb.python/py-framefilter-mi.exp: Update.
23507
87ce2a04
DE
235082014-01-22 Doug Evans <dje@google.com>
23509
23510 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23511
237b092b
AA
235122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23513
23514 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23515
d674a709
AA
235162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23517
23518 * gdb.trace/entry-values.exp: Remove excess space character from
23519 regex patterns. Handle s390 call instruction.
23520
20fa3390
AA
235212014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23522
23523 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23524 define "*_start" label. Make "name" static.
23525 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23526 ${name} by references to ${name}_start.
23527
78466714
AA
235282014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23529
23530 * gdb.base/info-macros.exp: Remove "debug" from the compile
23531 options.
23532
ec9f644a
IB
235332014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23534
23535 * gdb.dlang/demangle.exp: New file.
23536
94b1b47e
IB
235372014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23538
23539 * gdb.dlang/primitive-types.exp: New file.
23540
7f420862
IB
235412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23542
23543 * configure.ac: Create gdb.dlang/Makefile.
23544 * configure: Regenerate.
23545 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23546 * gdb.dlang/Makefile.in: New file.
23547 * lib/d-support.exp: New file.
23548 * lib/gdb.exp (skip_d_tests): New proc.
23549
52834460
MM
235502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23551
23552 * gdb.btrace/delta.exp: Check reverse stepi.
23553 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23554 * gdb.btrace/finish.exp: New.
23555 * gdb.btrace/next.exp: New.
23556 * gdb.btrace/nexti.exp: New.
23557 * gdb.btrace/record_goto.c: Add comments.
23558 * gdb.btrace/step.exp: New.
23559 * gdb.btrace/stepi.exp: New.
23560 * gdb.btrace/multi-thread-step.c: New.
23561 * gdb.btrace/multi-thread-step.exp: New.
23562 * gdb.btrace/rn-dl-bind.c: New.
23563 * gdb.btrace/rn-dl-bind.exp: New.
23564 * gdb.btrace/data.c: New.
23565 * gdb.btrace/data.exp: New.
23566 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23567
6e07b1d2
MM
235682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23569
23570 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23571 * gdb.btrace/exception.exp: Update.
23572 * gdb.btrace/instruction_history.exp: Update.
23573 * gdb.btrace/record_goto.exp: Update.
23574 * gdb.btrace/tailcall.exp: Update.
23575 * gdb.btrace/unknown_functions.exp: Update.
23576 * gdb.btrace/delta.exp: New.
23577
0b722aec
MM
235782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23579
23580 * gdb.btrace/record_goto.exp: Add backtrace test.
23581 * gdb.btrace/tailcall.exp: Add backtrace test.
23582
066ce621
MM
235832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23584
23585 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23586 * gdb.btrace/record_goto.c: New.
23587 * gdb.btrace/record_goto.exp: New.
23588 * gdb.btrace/x86-record_goto.S: New.
23589
0688d04e
MM
235902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23591
23592 * gdb.btrace/function_call_history.exp: Update tests.
23593 * gdb.btrace/instruction_history.exp: Update tests.
23594
8710b709
MM
235952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23596
23597 * gdb.btrace/function_call_history.exp: Fix expected field
23598 order for "record function-call-history".
23599 Add new tests for "record function-call-history /c".
23600 * gdb.btrace/exception.cc: New.
23601 * gdb.btrace/exception.exp: New.
23602 * gdb.btrace/tailcall.exp: New.
23603 * gdb.btrace/x86-tailcall.S: New.
23604 * gdb.btrace/x86-tailcall.c: New.
23605 * gdb.btrace/unknown_functions.c: New.
23606 * gdb.btrace/unknown_functions.exp: New.
23607 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23608
5de9129b
MM
236092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23610
23611 * gdb.btrace/instruction_history.exp: Update.
23612 * gdb.btrace/function_call_history.exp: Update.
23613
23a7fe75
MM
236142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23615
23616 * gdb.btrace/function_call_history.exp: Fix expected function
23617 trace.
23618 * gdb.btrace/instruction_history.exp: Initialize traced.
23619 Remove traced_functions.
23620
724c7dd8
MM
236212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23622
23623 * gdb.btrace/function_call_history.exp: Update
23624 * gdb.btrace/instruction_history.exp: Update.
23625
6d78d93b
MM
236262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23627
23628 * gdb.btrace/enable.exp: Update expected text.
23629
93a360cc
OJ
236302014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23631
23632 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23633 bytes.
23634
3772b53f
MR
236352014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23636
23637 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23638
596662fa
OJ
236392014-01-15 Omair Javaid <omair.javaid@linaro.org>
23640
23641 * lib/gdb.exp (supports_process_record): Return true for
23642 arm*-linux*. (supports_reverse): Likewise.
23643
b5b08fb4
SC
236442014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23645
23646 PR python/15464
23647 PR python/16113
23648 * gdb.python/py-type.c: Enhance test case.
23649 * gdb.python/py-value-cc.cc: Likewise
23650 * gdb.python/py-type.exp: Add new tests.
23651 * gdb.python/py-value-cc.exp: Likewise
23652
52d7fb13
AA
236532014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23654 Pedro Alves <palves@redhat.com>
23655
23656 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23657 Make "name" extern.
23658 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23659 references to ${name}_start by references to ${name}.
23660
a2cd8cfe
JB
236612014-01-10 Joel Brobecker <brobecker@adacore.com>
23662
23663 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23664
4e23fced
JB
236652014-01-10 Joel Brobecker <brobecker@adacore.com>
23666
23667 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23668
c6a9e42c
PA
236692014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23670 Pedro Alves <palves@redhat.com>
23671
23672 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23673 mi_gdb_target_load.
c6a9e42c 23674
b7ea362b
PA
236752014-01-08 Pedro Alves <palves@redhat.com>
23676
23677 * gdb.threads/reconnect-signal.c: New file.
23678 * gdb.threads/reconnect-signal.exp: New file.
23679
5e3f4fab
EBM
236802014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23681
23682 * gdb.base/source-dir.exp: New file.
23683
79301218
JB
236842014-01-07 Joel Brobecker <brobecker@adacore.com>
23685
23686 * gdb.ada/mi_interface: New testcase.
23687
8e355c5d
JB
236882014-01-07 Joel Brobecker <brobecker@adacore.com>
23689
23690 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23691 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23692 gdb.ada/pp-rec-component/pck.ads: New files.
23693
c0d48811
JB
236942014-01-07 Joel Brobecker <brobecker@adacore.com>
23695
23696 * gdb.python/py-pp-integral.c: New file.
23697 * gdb.python/py-pp-integral.py: New file.
23698 * gdb.python/py-pp-integral.exp: New file.
23699
17b609c3 23700For older changes see ChangeLog-1993-2013.
c906108c 23701\f
8d8cb839
EZ
23702;; Local Variables:
23703;; mode: change-log
23704;; left-margin: 8
23705;; fill-column: 74
23706;; version-control: never
23707;; End:
902f2ccb 23708
3666a048 23709 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23710 Copying and distribution of this file, with or without modification,
23711 are permitted provided the copyright notice and this notice are preserved.
This page took 5.47545 seconds and 4 git commands to generate.