gdb/fotran: add support for the 'shape' keyword
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
eef32f59
AB
12021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.fortran/shape.exp: New file.
4 * gdb.fortran/shape.f90: New file.
5
7ba155b3
AB
62021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * gdb.fortran/size.exp: New file.
9 * gdb.fortran/size.f90: New file.
10
e14816a8
AB
112021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
12
13 * gdb.fortran/rank.exp: New file.
14 * gdb.fortran/rank.f90: New file.
15
d308ba78
TT
162021-03-08 Tom Tromey <tom@tromey.com>
17
18 * gdb.fortran/debug-expr.exp: Update tests.
19
d182f279
TT
202021-03-08 Tom Tromey <tom@tromey.com>
21
22 * gdb.base/debug-expr.exp: Update expected dump output.
23
a7308ce0
TT
242021-03-06 Tom Tromey <tom@tromey.com>
25
26 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
27 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
28 * gdb.dwarf2/dwznolink.exp: New file.
29
b0a8c2ff
MW
302021-03-05 Mark Wielaard <mark@klomp.org>
31
32 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
33
844be3f2
WP
342021-03-06 Weimin Pan <weimin.pan@oracle.com>
35
36 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
37
82333781
MM
382021-03-03 Markus Metzger <markus.t.metzger@intel.com>
39
40 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
41
32c52999
MM
422021-03-03 Markus Metzger <markus.t.metzger@intel.com>
43
44 * gdb.btrace/non-stop.exp: Adjust expected source lines.
45
26ed1478
MM
462021-03-03 Markus Metzger <markus.t.metzger@intel.com>
47
48 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
49
d2c5f24e
MM
502021-03-03 Markus Metzger <markus.t.metzger@intel.com>
51
52 * gdb.btrace/exception.cc (main): Update test source.
53 * gdb.btrace/exception.exp: Update patterns.
54 * gdb.btrace/function_call_history.exp: Likewise.
55
c7c7253a
MM
562021-03-03 Markus Metzger <markus.t.metzger@intel.com>
57
58 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
59
f0778fc1
MM
602021-03-03 Markus Metzger <markus.t.metzger@intel.com>
61
62 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
63 reverse-continue to breakpoint.
64
e71dbd03
MM
652021-03-03 Markus Metzger <markus.t.metzger@intel.com>
66
67 * gdb.btrace/delta.exp: Remove instruction-history and
68 function-call-history checks.
69
b93a3ed0
MM
702021-03-03 Markus Metzger <markus.t.metzger@intel.com>
71
72 * README (Note): Add nopie_ldflag.
73 * lib/gdb.exp (gdb_compile): Extend nopie handling.
74
bbcdf9ab
TT
752021-03-02 Tom Tromey <tromey@adacore.com>
76
77 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
78 encodings.
79
bb3a4efe
LS
802021-02-27 Lancelot Six <lsix@lancelotix.com>
81
82 PR gdb/27393
83 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
84
85
573dc0cc
TT
862021-02-26 Tom Tromey <tom@tromey.com>
87
88 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
89
f8218786
JV
902021-02-26 Jan Vrany <jan.vrany@labware.com>
91
92 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
93 Remove trailing \n from expected output.
94
cb51b708
MM
952021-02-26 Markus Metzger <markus.t.metzger@intel.com>
96
97 * lib/gdb.exp (use_gdb_stub): Extend comment.
98
64d38fdd
JM
992021-02-25 Jan Matyas <jmatyas@codasip.com>
100
101 PR gdb/26819
102 * gdb.server/stop-reply-no-thread.exp: Add two test
103 scenarios that cover remote targets which do not have
104 the concept of threads.
105
d4ff3cbf
AB
1062021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
109
68337b8b
AB
1102021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
111
112 PR fortran/26155
113 * gdb.fortran/call-no-debug-func.f90: New file.
114 * gdb.fortran/call-no-debug-prog.f90: New file.
115 * gdb.fortran/call-no-debug.exp: New file.
116
faeb9f13
AB
1172021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
118
119 * gdb.fortran/associated.exp: New file.
120 * gdb.fortran/associated.f90: New file.
121
170f4b23
AB
1222021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
123
124 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
125
dd80d750
AB
1262021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * gdb.base/sect-cmd.exp: Update expected results.
129
b91919ac
AB
1302021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
133 techniques. Enable the test for all targets.
134
02a79309
AB
1352021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
136
137 * gdb.base/maint-info-sections.exp: Add new tests.
138 (check_maint_info_target_sections_output): New proc.
139
895b7b4e
AB
1402021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 * gdb.arch/riscv-default-tdesc.exp: New file.
143
bc3c0632
AB
1442021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
145
146 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
147
acde2092
AB
1482021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 * gdb.arch/i386-biarch-core.exp: Add target check.
151
7d2e5095
AKS
1522021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
153
154 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
155
96df3e28
AB
1562021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
157
158 * gdb.fortran/allocated.exp: New file.
159 * gdb.fortran/allocated.f90: New file.
160
a1670b72
AB
1612021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
162
163 * gdb.fortran/lbound-ubound.exp: Remove old comment.
164
bf3386f0
AB
1652021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
166
167 * gdb.base/maint-info-sections.exp: Update expected output, and
168 add additional tests. Again.
169
4790db14
AB
1702021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
171
172 * gdb.base/maint-info-sections.exp: Update expected output, and
173 add additional tests.
174
f4be6772
AB
1752021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
176
177 * gdb.base/maint-info-sections.exp: New file, content is moved
178 from gdb.base/maint.exp and cleaned up to use latest testsuite
179 techniques.
180 * gdb.base/maint.exp: Tests moved out to
181 gdb.base/maint-info-sections.exp.
182
25ad1e83
SM
1832021-02-10 Simon Marchi <simon.marchi@efficios.com>
184
185 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
186 GDBFLAGS.
187
e92c8eb8
AB
1882021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
189
190 * gdb.fortran/lbound-ubound.F90: New file.
191 * gdb.fortran/lbound-ubound.exp: New file.
192
ee4c3d88
TV
1932021-02-10 Tom de Vries <tdevries@suse.de>
194
195 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
196 "Restore saved setting of complaints".
197
cf2b2075
TV
1982021-02-09 Tom de Vries <tdevries@suse.de>
199
200 PR symtab/27341
201 * lib/gdb.exp (with_complaints): New proc, factored out of ...
202 (gdb_load_no_complaints): ... here.
203 * gdb.fortran/function-calls.exp: Add test-case.
204
b61f7811
HAQ
2052021-02-09 Abid Qadeer <abidh@codesourcery.com>
206
207 * gdb.threads/signal-command-handle-nopass.exp: Call
208 'standard_testfile' before using 'testfile'.
209 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
210 * gdb.threads/signal-delivered-right-thread.exp: Likewise
211 * gdb.threads/signal-sigtrap.exp: Likewise
212
3d4aae48
LM
2132021-02-08 Luis Machado <luis.machado@linaro.org>
214
215 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
216
4001d90d
TV
2172021-02-08 Tom de Vries <tdevries@suse.de>
218
219 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
220
29db1eb3
AB
2212021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
222
223 * gdb.python/tui-window-disabled.c: New file.
224 * gdb.python/tui-window-disabled.exp: New file.
225 * gdb.python/tui-window-disabled.py: New file.
226
e0c23e11
AB
2272021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
228
229 * gdb.python/tui-window.exp: Add new tests.
230 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
231 TestWindow object into global the_window.
232 <remote_title>: New method.
233 (delete_window_title): New function.
234
1cf23996
AB
2352021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
236
237 * gdb.tui/winheight.exp: Add more tests.
238
2708dbbd
AB
2392021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
240
241 * gdb.python/py-framefilter.exp: Update expected results.
242 * gdb.python/python.exp: Update expected results.
243
cd074e04
AB
2442021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
245
246 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
247 about bug in GDB, update expected results, and add more tests.
248
5fb97639
AB
2492021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
250
251 * gdb.tui/scroll.exp: New file.
252 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
253 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
254 remaining lines up.
255 (Term::check_region_contents): New proc.
256 (Term::check_box_contents): Use check_region_contents.
257
c0e56745
TV
2582021-02-06 Tom de Vries <tdevries@suse.de>
259
260 PR testsuite/26922
261 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
262 scrolling.
263
0e857c82
TV
2642021-02-05 Tom de Vries <tdevries@suse.de>
265
266 PR breakpoints/27313
267 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
268 rejected.
269
a22ec6e8
TV
2702021-02-05 Tom de Vries <tdevries@suse.de>
271
272 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
273 * gdb.fortran/mixed-lang-stack.exp: Same.
274
ae710496
TV
2752021-02-05 Tom de Vries <tdevries@suse.de>
276
277 PR exp/27265
278 * gdb.base/complex-parts.exp: Add tests.
279
d3b54e63
TV
2802021-02-05 Tom de Vries <tdevries@suse.de>
281
282 PR symtab/27307
283 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
284
3eccb1c8
SV
2852021-02-04 Shahab Vahedi <shahab@synopsys.com>
286
287 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
288
a71501e2
PA
2892021-02-03 Pedro Alves <pedro@palves.net>
290
291 * gdb.threads/detach-step-over.c: New file.
292 * gdb.threads/detach-step-over.exp: New file.
293
92234eb1
PA
2942021-02-03 Pedro Alves <pedro@palves.net>
295
296 * gdb.threads/attach-non-stop.c: New file.
297 * gdb.threads/attach-non-stop.exp: New file.
298
2e3773ff
LS
2992021-02-02 Lancelot SIX <lsix@lancelotsix.com>
300
301 * gdb.base/inferior-noarg.c: New test.
302 * gdb.base/inferior-noarg.exp: New test.
303
e0bd9202
SM
3042021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
305
306 * gdb.base/scope.exp: Use proc_with_prefix.
307
9307efbe
SM
3082021-02-02 Simon Marchi <simon.marchi@efficios.com>
309
310 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
311 table proc.
312 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
313 .debug_rnglists table without offset array.
314 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
315 .debug_loclists table without offset array.
316
2b0c7f41
SM
3172021-02-02 Simon Marchi <simon.marchi@efficios.com>
318
319 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
320 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
321 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
322 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
323 attribute
324
ecfda20d
SM
3252021-02-02 Simon Marchi <simon.marchi@efficios.com>
326
327 PR gdb/26813
328 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
329 (loclists): New proc.
330 * gdb.dwarf2/loclists-multiple-cus.c: New.
331 * gdb.dwarf2/loclists-multiple-cus.exp: New.
332 * gdb.dwarf2/loclists-sec-offset.c: New.
333 * gdb.dwarf2/loclists-sec-offset.exp: New.
334
6b0933da
SM
3352021-02-02 Simon Marchi <simon.marchi@efficios.com>
336
337 * lib/dwarf.exp (_location): Add parameters.
338 (_handle_DW_FORM): Adjust.
339
962effa7
SM
3402021-02-02 Simon Marchi <simon.marchi@efficios.com>
341
342 PR gdb/26813
343 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
344 (cu): Generate header for DWARF 5.
345 (rnglists): New proc.
346 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
347 * gdb.dwarf2/rnglists-sec-offset.exp: New.
348
2bd3e4b8
TV
3492021-02-02 Tom de Vries <tdevries@suse.de>
350
351 PR symtab/24620
352 * gdb.dwarf2/fission-reread.exp: Add test-case.
353
c39c8637
TV
3542021-02-01 Tom de Vries <tdevries@suse.de>
355
356 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
357 * gdb.dwarf2/fission-loclists-pie.S: Same.
358 * gdb.dwarf2/fission-loclists.S: Same.
359 * gdb.dwarf2/fission-multi-cu.S: Same.
360 * gdb.dwarf2/fission-reread.S: Same.
361 * gdb.dwarf2/fission-base.exp: Use DWO.
362 * gdb.dwarf2/fission-loclists-pie.exp: Same.
363 * gdb.dwarf2/fission-loclists.exp: Same.
364 * gdb.dwarf2/fission-multi-cu.exp: Same.
365 * gdb.dwarf2/fission-reread.exp: Same.
366
ebde6f2d
TV
3672021-01-29 Tom de Vries <tdevries@suse.de>
368
369 PR breakpoints/26063
370 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
371 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
372
620ec3ca
TV
3732021-01-29 Tom de Vries <tdevries@suse.de>
374
375 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
376
cdeba395
TV
3772021-01-28 Tom de Vries <tdevries@suse.de>
378
379 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
380 in the backtrace, and use that in the rest of the test instead of
381 hardcoded constant 3. Use "frame" instead of "up" for robustness.
382
c47b145e
TV
3832021-01-28 Tom de Vries <tdevries@suse.de>
384
385 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
386 * gdb.arch/i386-sse-stack-align.c: Same.
387 * gdb.arch/i386-sse-stack-align.exp: Same.
388
47918cca
AB
3892021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
390
391 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
392
2f985dd1
TV
3932021-01-28 Tom de Vries <tdevries@suse.de>
394
395 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
396
22efa3d3
TV
3972021-01-28 Tom de Vries <tdevries@suse.de>
398
399 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
400 "maint info line-table". Make PASS pattern more specific. Make
401 FAIL pattern work for -m32.
402
59b59f08
LS
4032021-01-27 Lancelot SIX <lsix@lancelotsix.com>
404
405 PR gdb/27133
406 * gdb.base/ui-redirect.exp: Add test case that ensures that
407 redirecting both logging and debug does not cause gdb to crash.
408
409
807f647c
MM
4102021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
411
412 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
413
4ca40594
TV
4142021-01-26 Tom de Vries <tdevries@suse.de>
415
416 * gdb.threads/killed-outside.exp: Allow regular output.
417
d0021af3
TV
4182021-01-26 Tom de Vries <tdevries@suse.de>
419
420 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
421
9f6c202e
TV
4222021-01-25 Tom de Vries <tdevries@suse.de>
423
424 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
425 * lib/gdb.exp: Use gdb_load_no_complaints.
426
a625a8c9
TT
4272021-01-25 Tom Tromey <tromey@adacore.com>
428
429 * gdb.ada/fixed_points.exp: Add regression test.
430 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
431 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
432
19184910
TT
4332021-01-25 Tom Tromey <tromey@adacore.com>
434
435 * gdb.ada/local-enum.exp: Add enumerator resolution test.
436
acd6125f
TT
4372021-01-25 Tom Tromey <tromey@adacore.com>
438
439 * gdb.ada/local-enum.exp: New file.
440 * gdb.ada/local-enum/local.adb: New file.
441
1af4c9c4
TT
4422021-01-23 Tom Tromey <tom@tromey.com>
443
444 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
445
705646c0
BE
4462021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
447
448 * gdb.base/line65535.exp: Fix test expectation.
449
0ac85db5
SM
4502021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
451
452 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
453 suppression.
454 (default_gdb_exit): Likewise.
455 (default_gdb_spawn): Likewise.
456 (send_gdb): Likewise.
457 (gdb_expect): Likewise.
458 (gdb_expect_list): Likewise.
459 (default_gdb_init): Likewise.
460 (gdb_suppress_entire_file): Remove.
461 (gdb_suppress_tests): Remove.
462 (gdb_stop_suppressing_tests): Remove.
463 (gdb_clear_suppressed): Remove.
464 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
465 related to test suppression.
466 (default_mi_gdb_start): Likewise.
467 (mi_gdb_reinitialize_dir): Likewise.
468 (mi_gdb_test): Likewise.
469 (mi_run_cmd_full): Likewise.
470 (mi_runto_helper): Likewise.
471 (mi_execute_to): Likewise.
472 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
473 * gdb.base/bitfields.exp: Likewise.
474 * gdb.base/bitfields2.exp: Likewise.
475 * gdb.base/break.exp: Likewise.
476 * gdb.base/call-sc.exp: Likewise.
477 * gdb.base/callfuncs.exp: Likewise.
478 * gdb.base/dfp-test.exp: Likewise.
479 * gdb.base/endian.exp: Likewise.
480 * gdb.base/exprs.exp: Likewise.
481 * gdb.base/funcargs.exp: Likewise.
482 * gdb.base/hbreak2.exp: Likewise.
483 * gdb.base/recurse.exp: Likewise.
484 * gdb.base/scope.exp: Likewise.
485 * gdb.base/sepdebug.exp: Likewise.
486 * gdb.base/structs.exp: Likewise.
487 * gdb.base/until.exp: Likewise.
488 * gdb.cp/misc.exp: Likewise.
489
9d2d8a16
AB
4902021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
491
492 PR cli/25956
493 * gdb.base/style.exp (run_style_tests): Add version string test.
494 (test_startup_version_string): Use version style name.
495 * lib/gdb-utils.exp (style): Handle version style name.
496
e7b43072
AB
4972021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
498
499 * gdb.base/style.exp (limited_style): New proc.
500 (clean_restart_and_disable): New proc.
501 (run_style_tests): New proc. Most of the old tests from this file
502 are now in this proc.
503 (test_startup_version_string): New proc. Reamining test from the
504 old file is in this proc.
505
2189c312
SM
5062021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
507
508 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
509 Adjust to "set debug remote" changes.
510
cd211c75
LM
5112021-01-21 Luis Machado <luis.machado@linaro.org>
512
513 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
514 message.
515
730af663
SM
5162021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
517
518 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
519
325d39e4
HD
5202021-01-21 Hannes Domani <ssbssa@yahoo.de>
521
522 PR python/19151
523 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
524
c3e96aa7
SM
5252021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
526
527 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
528
6571ffc6
SM
5292021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
530
531 * lib/tuiterm.exp: Add links in comments.
532
7c794afd
TV
5332021-01-20 Tom de Vries <tdevries@suse.de>
534
535 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
536 offset.
537
1402665c
TV
5382021-01-20 Tom de Vries <tdevries@suse.de>
539
540 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
541
6f52fdf4
SDJ
5422021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
543
544 * gdb.arch/amd64-stap-expressions.S: New file.
545 * gdb.arch/amd64-stap-expressions.exp: New file.
546
14852123
TV
5472021-01-19 Tom de Vries <tdevries@suse.de>
548
549 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
550 sequence.
551
0c4e2c6c
TV
5522021-01-19 Tom de Vries <tdevries@suse.de>
553
554 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
555
02baa133
AB
5562021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
557
558 * gdb.fortran/array-slices.exp (run_test): Avoid including
559 addresses in test names.
560
10f92414
TV
5612021-01-15 Tom de Vries <tdevries@suse.de>
562
563 PR testsuite/26997
564 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
565 when adding sizeof.
566
116d0cf1
TV
5672021-01-14 Tom de Vries <tdevries@suse.de>
568
569 PR testsuite/24590
570 * gdb.base/style.exp: Handle shorter argv in frame command output.
571
8f66807b
AB
5722021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
573
574 PR gdb/26819
575 * gdb.server/stop-reply-no-thread-multi.c: New file.
576 * gdb.server/stop-reply-no-thread-multi.exp: New file.
577
3f94e588
TV
5782021-01-12 Tom de Vries <tdevries@suse.de>
579
580 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
581 (main): Remove call to have_mpx.
582 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
583 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
584 (main): Remote call to have_mpx.
585 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
586 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
587 (main): Remove call to have_mpx.
588 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
589 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
590 (main): Remove call to have_mpx.
591 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
592 * gdb.arch/i386-mpx.c (have_mpx): Remove.
593 (main): Remote call to have_mpx.
594 * gdb.arch/i386-mpx.exp: Use have_mpx.
595 * lib/gdb.exp (have_mpx): New proc.
596
5291fe3c
SP
5972021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
598
599 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
600
18bfb505
TV
6012021-01-12 Tom de Vries <tdevries@suse.de>
602
603 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
604
ce38f5ed
AB
6052021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
606
607 * gdb.fortran/debug-expr.exp: Add new tests.
608
7c654b71
AB
6092021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
610
611 * gdb.fortran/dot-ops.exp: Add new tests.
612
10dadadc
TV
6132021-01-11 Tom de Vries <tdevries@suse.de>
614
615 PR testsuite/26968
616 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
617 Move insn setting $eax to before probe point.
618
66beed02
TT
6192021-01-09 Tom Tromey <tom@tromey.com>
620
621 * gdb.trace/ax.exp: Do not require an "ext".
622
8fc48b79
TT
6232021-01-08 Tom Tromey <tromey@adacore.com>
624
625 * gdb.ada/voidctx/pck.adb: New file.
626 * gdb.ada/voidctx/pck.ads: New file.
627 * gdb.ada/voidctx/voidctx.adb: New file.
628 * gdb.ada/voidctx.exp: New file.
629
6abd4cf2
SM
6302021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
631
632 PR gdb/27157
633 * gdb.base/empty-host-env-vars.exp: New test.
634
d00f0868
AB
6352021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
636
637 * gdb.base/completion.exp: Add a new test.
638
3c8c6de2
AB
6392021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
640
641 * gdb.fortran/intvar-dynamic-types.exp: New file.
642 * gdb.fortran/intvar-dynamic-types.f90: New file.
643
e3436813
AB
6442021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
645
646 * gdb.fortran/intvar-array.exp: New file.
647 * gdb.fortran/intvar-array.f90: New file.
648
d4813f10
TT
6492021-01-07 Tom Tromey <tromey@adacore.com>
650
651 * gdb.ada/assign_arr.exp: Add 'others' test.
652
b49180ac
TT
6532021-01-06 Tom Tromey <tromey@adacore.com>
654
655 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
656 (FP4_Type): New type.
657 (FP4_Var): New variable.
658 * gdb.ada/fixed_points/fixed_points.adb: Update.
659 * gdb.ada/fixed_points.exp: Add tests for binary operators.
660
3c55062c
SM
6612021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
662
663 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
664 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
665 Pass prompt containing debug print to gdb_test_sequence.
666
e4ad960a
TV
6672021-01-04 Tom de Vries <tdevries@suse.de>
668
669 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
670
3ec3145c
SM
6712021-01-04 Simon Marchi <simon.marchi@efficios.com>
672
673
674
8dc558a0
SM
6752021-01-04 Simon Marchi <simon.marchi@efficios.com>
676
677 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
678 * gdb.server/connect-without-multi-process.exp: Likewise.
679 * gdb.server/exit-multiple-threads.exp: Likewise.
680 * gdb.server/ext-attach.exp: Likewise.
681 * gdb.server/ext-restart.exp: Likewise.
682 * gdb.server/ext-run.exp: Likewise.
683 * gdb.server/ext-wrapper.exp: Likewise.
684 * gdb.server/multi-ui-errors.exp: Likewise.
685 * gdb.server/no-thread-db.exp: Likewise.
686 * gdb.server/reconnect-ctrl-c.exp: Likewise.
687 * gdb.server/run-without-local-binary.exp: Likewise.
688 * gdb.server/server-kill.exp: Likewise.
689 * gdb.server/server-run.exp: Likewise.
690 * gdb.server/solib-list.exp: Likewise.
691 * gdb.server/stop-reply-no-thread.exp: Likewise.
692 * gdb.server/wrapper.exp: Likewise.
693 * gdb.server/sysroot.exp: Increase timeout when testing the
694 target: sysroot.
695
d8387cc8
SM
6962021-01-04 Simon Marchi <simon.marchi@efficios.com>
697
698 * gdb.server/server-run.exp: Use clean_restart.
699
5169ae34
SM
7002021-01-04 Simon Marchi <simon.marchi@efficios.com>
701
702 * gdb.server/ext-run.exp: Use clean_restart.
703
7b0ff8a2
SM
7042021-01-04 Simon Marchi <simon.marchi@efficios.com>
705
706 * gdb.server/stop-reply-no-thread.exp: Use build_executable
707 instead of prepare_for_testing.
708
a754fbdf
SM
7092021-01-04 Simon Marchi <simon.marchi@efficios.com>
710
711 * gdb.server/solib-list.exp: Use clean_restart.
712
c5e71b33
TV
7132021-01-04 Tom de Vries <tdevries@suse.de>
714
715 * gdb.base/morestack.c: Remove printf.
716 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
717
9b243007
TT
7182020-12-31 Tom Tromey <tom@tromey.com>
719
720 * gdb.rust/simple.exp: Update output for Rust 1.49.
721
4ff509e7
BE
7222020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
723
724 * gdb.cp/step-and-next-inline.exp: Fix test case.
725
391750c3
SM
7262020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
727
728 * gdb.python/py-frame-args.exp: De-duplicate test names.
729
b7874836
AB
7302020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
731
732 PR gdb/27059
733 * gdb.dwarf2/dyn-type-unallocated.c: New file.
734 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
735
e1ff6226
PW
7362020-12-21 Peter Waller <p@pwaller.net>
737
738 * gdb.base/style-interp-exec-mi.exp: New.
739 * gdb.base/style-interp-exec-mi.c: New.
740
ca01f1bf
SM
7412020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
742
743 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
744 gdb_test. Use proc_with_prefix.
745
0fe69a94
MM
7462020-12-21 Markus Metzger <markus.t.metzger@intel.com>
747
748 * gdb.btrace/exception.exp: Build with nopie.
749 * gdb.btrace/function_call_history.exp: Likewise.
750 * gdb.btrace/unknown_functions.exp: Likewise.
751
806e7575
MM
7522020-12-21 Markus Metzger <markus.t.metzger@intel.com>
753
754 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
755
493d2172
MM
7562020-12-21 Markus Metzger <markus.t.metzger@intel.com>
757
758 * gdb.python/py-record-btrace.exp: Make test names unique.
759 * gdb.python/py-record-full.exp: Likewise.
760
1a1c0afc
MM
7612020-12-21 Markus Metzger <markus.t.metzger@intel.com>
762
763 * gdb.btrace/data.exp: Make test names unique.
764 * gdb.btrace/delta.exp: Likewise.
765 * gdb.btrace/enable.exp: Likewise.
766 * gdb.btrace/function_call_history.exp: Likewise.
767 * gdb.btrace/nohist.exp: Likewise.
768 * gdb.btrace/non-stop.exp: Likewise.
769 * gdb.btrace/rn-dl-bind.exp: Likewise.
770 * gdb.btrace/step.exp: Likewise.
771 * gdb.btrace/stepi.exp: Likewise.
772 * gdb.btrace/tailcall.exp: Likewise.
773
98d837f0
MM
7742020-12-21 Markus Metzger <markus.t.metzger@intel.com>
775
776 * gdb.btrace/enable.exp: Update error message.
777 * gdb.btrace/multi-inferior.exp: Likewise.
778 * gdb.btrace/reconnect.exp: Likewise.
779 * gdb.python/py-record-btrace.exp: Likewise.
780 * gdb.python/py-record-full.exp: Likewise.
781
c541fa7c
TV
7822020-12-20 Tom de Vries <tdevries@suse.de>
783
784 * lib/gdb.exp (save_target_board_info): New proc.
785 (gdb_compile_shlib): Use save_target_board_info.
786
60108e47
TV
7872020-12-19 Tom de Vries <tdevries@suse.de>
788
789 * lib/gdb.exp (supports_scalar_storage_order_attribute)
790 (supports_gnuc): New proc.
791 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
792 test_compiler_info calls. Add unsupported message.
793 * gdb.base/endianity.c: Use TEST_SSO.
794
fa639f55
HD
7952020-12-19 Hannes Domani <ssbssa@yahoo.de>
796
797 PR exp/27070
798 * gdb.python/compare-enum-type-a.c: New test.
799 * gdb.python/compare-enum-type-b.c: New test.
800 * gdb.python/compare-enum-type.exp: New file.
801 * gdb.python/compare-enum-type.h: New test.
802
4aea001f
HD
8032020-12-18 Hannes Domani <ssbssa@yahoo.de>
804
805 * gdb.python/py-format-string.exp: Add tests for address keyword.
806
b3f9469b
HD
8072020-12-18 Hannes Domani <ssbssa@yahoo.de>
808
809 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
810
86ef42bd
TT
8112020-12-18 Tom Tromey <tromey@adacore.com>
812
813 * gdb.ada/fixed_points.exp: Also run with
814 -fgnat-encodings=minimal. Update expected output.
815
93df4a1d
SM
8162020-12-16 Simon Marchi <simon.marchi@efficios.com>
817
818 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
819 * gdb.base/continue-all-already-running.exp: Likewise.
820 * gdb.base/moribund-step.exp: Likewise.
821 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
822
592995fa
TV
8232020-12-16 Tom de Vries <tdevries@suse.de>
824
825 * gdb.base/batch-preserve-term-settings.exp:
826
1e61189d
TV
8272020-12-16 Tom de Vries <tdevries@suse.de>
828
829 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
830 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
831
19007d95
LM
8322020-12-16 Luis Machado <luis.machado@linaro.org>
833
834 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
835 pointer-based memory accesses.
836 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
837 hw watchpoint cases.
838
a33fc9ae
RK
8392020-12-15 Rae Kim <rae.kim@gmail.com>
840
841 * gdb.base/document.exp: New test.
842
0e5ad442
TT
8432020-12-15 Tom Tromey <tromey@adacore.com>
844
845 * gdb.base/style.exp: Add deprecation tests.
846
60598dbd
SM
8472020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
848
849 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
850
8cd6d968
MW
8512020-12-14 Mark Wielaard <mark@klomp.org>
852
853 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
854 specially, set attr_form_comment to the actual FORM string used.
855
eab9267c
MW
8562020-12-14 Mark Wielaard <mark@klomp.org>
857
858 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
859 _constants(SPECIAL_expr) here, but set it...
860 (Dwarf::cu): ...here based on _cu_version.
861
2f413264
TV
8622020-12-14 Tom de Vries <tdevries@suse.de>
863
864 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
865 pass -fPIC.
866 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
867 * gdb.base/break-probes.exp: Same.
868 * gdb.base/ctxobj.exp: Same.
869 * gdb.base/dso2dso.exp: Same.
870 * gdb.base/global-var-nested-by-dso.exp: Same.
871 * gdb.base/info-shared.exp: Same.
872 * gdb.base/jit-reader-simple.exp: Same.
873 * gdb.base/print-file-var.exp: Same.
874 * gdb.base/skip-solib.exp: Same.
875 * gdb.btrace/dlopen.exp: Same.
876
18f1cb1f
TV
8772020-12-14 Tom de Vries <tdevries@suse.de>
878
879 PR testsuite/26963
880 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
881
519155c9
TV
8822020-12-14 Tom de Vries <tdevries@suse.de>
883
884 PR testsuite/26962
885 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
886 cast it to its declared type".
887
153f6e6c
TV
8882020-12-14 Tom de Vries <tdevries@suse.de>
889
890 PR testsuite/26951
891 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
892 shell prompt.
893
86b44259
TT
8942020-12-14 Tom Tromey <tromey@adacore.com>
895
896 * gdb.ada/nested.exp: Add new tests.
897 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
898
e26624c6
TT
8992020-12-14 Tom Tromey <tromey@adacore.com>
900
901 * gdb.dwarf2/ada-thick-pointer.exp: New file.
902
a3bdae4e
TT
9032020-12-14 Tom Tromey <tromey@adacore.com>
904
905 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
906
862fcbd8
TV
9072020-12-13 Tom de Vries <tdevries@suse.de>
908
909 PR testsuite/26953
910 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
911 attribute support if compiler doesn't support it.
912
a406a98e
TV
9132020-12-13 Tom de Vries <tdevries@suse.de>
914
915 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
916 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
917 source to shared lib. Add ada to options.
918
5d7e6ed0
TV
9192020-12-13 Tom de Vries <tdevries@suse.de>
920
921 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
922 calling gnatbind and gnatlink.
923
ee9812a0
AB
9242020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
925
926 * gdb.base/dcache-flush.c: New file.
927 * gdb.base/dcache-flush.exp: New file.
928
50a5f187
AB
9292020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
930
931 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
932 commands.
933 * gdb.base/killed-outside.exp: Likewise.
934 * gdb.opt/inline-bt.exp: Likewise.
935 * gdb.perf/gmonster-null-lookup.py: Likewise.
936 * gdb.perf/gmonster-print-cerr.py: Likewise.
937 * gdb.perf/gmonster-ptype-string.py: Likewise.
938 * gdb.python/py-unwind.exp: Likewise.
939
19c659f1
AB
9402020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
941
942 * gdb.base/commands.exp: Update expected results.
943
9ef6d4a1
AB
9442020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
945
946 PR cli/15104
947 * gdb.base/commands.exp: Add additional tests.
948 * gdb.base/completion.exp: Add additional tests.
949
1536146f
AB
9502020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
951
952 * gdb.base/completion.exp: Add additional tests.
953
346e7e19
TV
9542020-12-11 Tom de Vries <tdevries@suse.de>
955
956 PR testsuite/26991
957 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
958 violations by setting bounds registers if the bounds are passed in the
959 Bounds Table.
960
9cd7a95a
TV
9612020-12-11 Tom de Vries <tdevries@suse.de>
962
963 PR testsuite/26954
964 * gdb.base/float128.exp: Detect and handle no mpfr support.
965
4483a8e7
SM
9662020-12-10 Simon Marchi <simon.marchi@efficios.com>
967
968 PR gdb/24694
969 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
970 calls.
971
10067028
TV
9722020-12-10 Tom de Vries <tdevries@suse.de>
973
974 PR testsuite/26947
975 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
976 braces for tcl 8.5 and earlier.
977
5b56203a
SM
9782020-12-09 Simon Marchi <simon.marchi@efficios.com>
979
980 PR 26875, PR 26901
981 * gdb.base/flexible-array-member.c: New test.
982 * gdb.base/flexible-array-member.exp: New test.
983
b46551b2
TV
9842020-12-08 Tom de Vries <tdevries@suse.de>
985
986 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
987 using is_amd64_regs_target.
988
8439f446
TV
9892020-12-08 Tom de Vries <tdevries@suse.de>
990
991 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
992 self_id.
993
bc545da7
PA
9942020-12-07 Pedro Alves <pedro@palves.net>
995
996 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
997 'additional_flags' variable.
998
1f58f6c2
TBA
9992020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1000
1001 * gdb.linespec/explicit.exp: Extend with a test to check completing
1002 '-' after seemingly complete options.
1003
5759831a
TBA
10042020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1005
1006 * gdb.linespec/keywords.exp: Add tests to check positional
1007 flexibility of "-force-condition".
1008
21e051b3
TBA
10092020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1010
1011 * gdb.base/bp-cmds-run-with-ex.c: New file.
1012 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1013 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1014 * gdb.gdb/python-interrupts.exp: Update the call to
1015 'catch_command_errors' with the new argument.
1016 * gdb.gdb/python-selftest.exp: Ditto.
1017
187b041e
SM
10182020-12-04 Simon Marchi <simon.marchi@efficios.com>
1019
1020 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1021 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1022 * gdb.threads/non-stop-fair-events.exp: Likewise.
1023
3b7a962d
SM
10242020-12-04 Simon Marchi <simon.marchi@efficios.com>
1025
1026 * gdb.threads/step-over-exec.exp: New.
1027 * gdb.threads/step-over-exec.c: New.
1028 * gdb.threads/step-over-exec-execd.c: New.
1029 * lib/my-syscalls.S: New.
1030 * lib/my-syscalls.h: New.
1031
e633b117
SM
10322020-12-04 Simon Marchi <simon.marchi@efficios.com>
1033
1034 * lib/dwarf.exp (declare_labels): Use name as text if text is
1035 not provided.
1036
67748e0f
TV
10372020-12-04 Tom de Vries <tdevries@suse.de>
1038
1039 PR testsuite/26990
1040 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1041 are unsupported.
1042
a8d13675
TV
10432020-12-04 Tom de Vries <tdevries@suse.de>
1044
1045 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1046 clause.
1047
f17727b3
TV
10482020-12-04 Tom de Vries <tdevries@suse.de>
1049
1050 * gdb.reverse/insn-reverse.exp: Fix count handling.
1051
a1499830
TV
10522020-12-04 Tom de Vries <tdevries@suse.de>
1053
1054 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1055 __x86_64__.
1056
9c027c2f
TV
10572020-12-04 Tom de Vries <tdevries@suse.de>
1058
1059 * gdb.reverse/insn-reverse.c (test_nr): New var.
1060 (usage, parse_args): New function.
1061 (main): Call parse_args. Only run test for test_nr.
1062 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1063 and bail out. Run subtests individually, using an inferior arg
1064 specifying the subtest.
1065
533b2ae0
AB
10662020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1067
1068 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1069
e4502042
AB
10702020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1071
1072 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1073 update test to use this.
1074
f55a9a37
SM
10752020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1076
1077 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1078
0a6155a0
SM
10792020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1080
1081 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1082 (do_test): Don't use with_test_prefix.
1083 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1084 (do_test): Don't use with_test_prefix.
1085 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1086 (do_test): Don't use with_test_prefix.
1087 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1088 (do_test): Don't use with_test_prefix.
1089
4d56d64a
SM
10902020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1091
1092 * gdb.threads/non-ldr-exit.exp: Fix comment.
1093
54e75f29
AB
10942020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * gdb.xml/maint-xml-dump-03.xml: New file.
1097
7ce05d21
TV
10982020-11-30 Tom de Vries <tdevries@suse.de>
1099
1100 PR symtab/26905
1101 * gdb.dwarf2/count.exp: Remove kfails.
1102
50757f95
TBA
11032020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1104
1105 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1106 indices.
1107
4afa9fd9
JB
11082020-11-24 Joel Brobecker <brobecker@adacore.com>
1109
1110 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1111 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1112 languages. Remove the associated setup_xfail.
1113
15a491af
SM
11142020-11-23 Simon Marchi <simon.marchi@efficios.com>
1115
1116 * lib/gdb.exp (gdb_assert): Show error message on error.
1117
891615f0
TV
11182020-11-23 Tom de Vries <tdevries@suse.de>
1119
1120 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1121 * gdb.ada/mod_from_name.exp: Same.
1122 * gdb.ada/pckd_arr_ren.exp: Same.
1123
19922582
SM
11242020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1125
1126 * gdb.base/template.exp: New.
1127 * gdb.base/template.c: New.
1128
117c628d
GB
11292020-11-22 Gary Benson <gbenson@redhat.com>
1130
1131 PR gdb/26905
1132 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1133 is defined using a DW_AT_count which references another DIE.
1134
da39d3ba
TV
11352020-11-21 Tom de Vries <tdevries@suse.de>
1136
1137 * gdb.base/vla-ptr.exp: Add XFAIL.
1138
a5c641b5
AB
11392020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1140
1141 * gdb.fortran/array-slices-bad.exp: New file.
1142 * gdb.fortran/array-slices-bad.f90: New file.
1143 * gdb.fortran/array-slices-sub-slices.exp: New file.
1144 * gdb.fortran/array-slices-sub-slices.f90: New file.
1145 * gdb.fortran/array-slices.exp: Rewrite tests.
1146 * gdb.fortran/array-slices.f90: Rewrite tests.
1147 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1148
a15a5258
AB
11492020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1150
1151 * gdb.base/completion.exp: Add new completion tests.
1152
7cb2893d
SM
11532020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1154
1155 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1156 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1157 * gdb.mi/mi-nsintrall.exp: Likewise.
1158 * gdb.mi/mi-nsmoribund.exp: Likewise.
1159 * gdb.mi/mi-nsthrexec.exp: Likewise.
1160 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1161
cf144ec8
SM
11622020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1163
1164 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1165 of perror.
1166
6b6a3e05
JM
11672020-11-18 Joseph Myers <joseph@codesourcery.com>
1168
1169 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1170 $arg.exe exists but $arg does not.
1171
811bdca0
GB
11722020-11-17 Gary Benson <gbenson@redhat.com>
1173
1174 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1175 __attribute__ ((used)).
1176
c72e3136
AB
11772020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1178
1179 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1180
037d7135
AB
11812020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1182
1183 * gdb.base/completion.exp: Add new tests.
1184
119e99bb
TT
11852020-11-16 Tom Tromey <tromey@adacore.com>
1186
1187 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1188 tests.
1189
b74dbc20
JB
11902020-11-15 Joel Brobecker <brobecker@adacore.com>
1191
1192 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1193 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1194 (main): Add reference to pck__fp1_var2.
1195 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1196
0a12719e
JB
11972020-11-15 Joel Brobecker <brobecker@adacore.com>
1198
1199 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1200
0c9150e4
JB
12012020-11-15 Joel Brobecker <brobecker@adacore.com>
1202
1203 * gdb.ada/fixed_points.exp: Add ptype tests.
1204 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1205
b26daff9
JB
12062020-11-15 Joel Brobecker <brobecker@adacore.com>
1207
1208 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1209
09584414
JB
12102020-11-15 Joel Brobecker <brobecker@adacore.com>
1211
1212 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1213 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1214 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1215 New files.
1216 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1217
1218 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1219 New files.
1220
9dd02fc0
AB
12212020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1222
1223 PR cli/26879
1224 * gdb.fortran/completion.exp: New file.
1225 * gdb.fortran/completion.f90: New file.
1226
5643c500
JM
12272020-11-12 Joseph Myers <joseph@codesourcery.com>
1228
1229 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1230 but $arg does not.
1231
7bea47f0
AB
12322020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1233
1234 * gdb.fortran/types.exp: Add more tests.
1235
1f2624a3
TT
12362020-11-12 Tom Tromey <tom@tromey.com>
1237
1238 PR rust/26799:
1239 * gdb.rust/traits.exp: Remove kfails.
1240
9e74f0ae
GB
12412020-11-12 Gary Benson <gbenson@redhat.com>
1242
1243 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1244 statement.
1245
acb994fa
SM
12462020-11-11 Simon Marchi <simon.marchi@efficios.com>
1247
1248 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1249 always-inserted" axis.
1250 (do_test): Add breakpoint_always_inserted parameter.
1251
95016fd2
TT
12522020-11-10 Tom Tromey <tromey@adacore.com>
1253
1254 * gdb.ada/bias.exp: Update.
1255 * gdb.ada/bias/bias.adb (X): Change value.
1256
83100a74
GB
12572020-11-10 Gary Benson <gbenson@redhat.com>
1258
1259 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1260 regexp fragment in parentheses to prevent false matching.
1261
6ff174a7
GB
12622020-11-10 Gary Benson <gbenson@redhat.com>
1263
1264 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1265
eb24648c
GB
12662020-11-10 Gary Benson <gbenson@redhat.com>
1267
1268 * gdb.cp/step-and-next-inline.exp: Only require
1269 -gstatement-frontiers when building with GCC.
1270 Only setup KFAIL's for GCC issues when using
1271 a GCC-built executable.
1272
86775fab
AB
12732020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1274
1275 * gdb.base/debug-expr.c: Add extra function to allow for an
1276 additional test.
1277 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1278 to this proc with gdb_test_debug_expr. Add an extra test.
1279 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1280 to this proc with gdb_test_debug_expr, give the tests names
1281 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1282 calls to this proc with gdb_test_debug_expr, give the tests names
1283 * gdb.fortran/debug-expr.exp: New file.
1284 * gdb.fortran/debug-expr.f90: New file.
1285 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1286
a1945bd4
SM
12872020-11-06 Simon Marchi <simon.marchi@efficios.com>
1288
1289 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1290 proceduresu.
1291 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1292 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1293 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1294 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1295 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1296 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1297 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1298 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1299
9c91c725
TT
13002020-11-04 Tom Tromey <tromey@adacore.com>
1301
1302 * gdb.ada/funcall_ref.exp: Update.
1303 * gdb.ada/var_rec_arr.exp: Update.
1304
8d9fd3a1
TT
13052020-11-04 Tom Tromey <tromey@adacore.com>
1306
1307 * gdb.ada/rec_ptype.exp: New file.
1308 * gdb.ada/rec_ptype/main.adb: New file.
1309 * gdb.ada/rec_ptype/p.ads: New file.
1310
d8f62e84
TT
13112020-11-04 Tom Tromey <tromey@adacore.com>
1312
1313 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1314 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1315 (PT_Full): New variable.
1316 * gdb.ada/tick_length_array_enum_idx/pck.adb
1317 (Full_PT): New type.
1318
7ff5b937
TT
13192020-11-04 Tom Tromey <tromey@adacore.com>
1320
1321 * gdb.ada/array_of_variant.exp: New file.
1322 * gdb.ada/array_of_variant/p.adb: New file.
1323 * gdb.ada/array_of_variant/pck.ads: New file.
1324 * gdb.ada/array_of_variant/pck.adb: New file.
1325
10f6a3ad
TT
13262020-11-04 Tom Tromey <tromey@adacore.com>
1327
1328 * gdb.ada/enum_idx_packed.exp: Add test.
1329 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1330 New variable.
1331 * gdb.ada/enum_idx_packed/pck.ads (Short)
1332 (Multi_Dimension, Multi_Dimension_Access): New types.
1333
b72795a8
TT
13342020-11-04 Tom Tromey <tromey@adacore.com>
1335
1336 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1337
24aa1b02
TT
13382020-11-04 Tom Tromey <tromey@adacore.com>
1339
1340 * gdb.ada/set_pckd_arr_elt.exp: Also test
1341 -fgnat-encodings=minimal. Add tests.
1342 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1343 Call Update_Small a second time.
1344 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1345 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1346 (Variant_Access): New types.
1347 (New_Variant): Declare.
1348
c9a28cbe
TT
13492020-11-04 Tom Tromey <tromey@adacore.com>
1350
1351 * gdb.ada/mod_from_name.exp: Test printing slice.
1352
57567375
TT
13532020-11-04 Tom Tromey <tromey@adacore.com>
1354
1355 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1356 values.
1357 * gdb.ada/access_to_unbounded_array.exp: Test different
1358 -fgnat-encodings values.
1359 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1360 values.
1361 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1362 values.
1363 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1364 values.
1365 * gdb.ada/array_of_variable_length.exp: Test different
1366 -fgnat-encodings values.
1367 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1368 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1369 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1370 change.
1371 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1372 values.
1373 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1374 * gdb.ada/out_of_line_in_inlined.exp: Test different
1375 -fgnat-encodings values.
1376 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1377 values.
1378 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1379 values.
1380 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1381 -fgnat-encodings values.
1382 * gdb.ada/variant_record_packed_array.exp: Test different
1383 -fgnat-encodings values.
1384
a7400e44
TT
13852020-11-04 Tom Tromey <tromey@adacore.com>
1386
1387 * gdb.ada/enum_idx_packed.exp: Add tests.
1388 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1389 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1390 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1391 declarations.
1392
c40907bf
TV
13932020-11-03 Tom de Vries <tdevries@suse.de>
1394
1395 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1396 terminator comments.
1397 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1398 terminator.
1399
f468977a
SM
14002020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1401
1402 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1403 integer format test with regexp.
1404
1c2bec19
GB
14052020-11-02 Gary Benson <gbenson@redhat.com>
1406
1407 * gdb.base/print-file-var.exp (test): Separate compiler and
1408 linker options, and build using build_executable_from_specs
1409 to accommodate this.
1410
6539a36d
GB
14112020-11-02 Gary Benson <gbenson@redhat.com>
1412
1413 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1414 for .c files compiled as C++ with Clang if any shared
1415 libraries are specified.
1416
7ea44a51
GB
14172020-11-02 Gary Benson <gbenson@redhat.com>
1418
1419 * lib/attributes.h: New header.
1420 * gdb.base/backtrace.c: Include the above. Replace
1421 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1422 * gdb.base/infcall-nested-structs.c: Likewise.
1423 * gdb.base/vla-optimized-out.c: Likewise.
1424
ab8f783d
TV
14252020-11-02 Tom de Vries <tdevries@suse.de>
1426
1427 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1428
d77c9224
JB
14292020-11-01 Joel Brobecker <brobecker@adacore.com>
1430
1431 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1432 System.Min_Int and System.Max_Int with smaller hardcoded
1433 constants.
1434
0e5b0dd0
SM
14352020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1436
1437 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1438 * configure: Re-generate.
1439
136821d9
SM
14402020-10-30 Simon Marchi <simon.marchi@efficios.com>
1441
1442 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1443 expected output.
1444
b78b3a29
TBA
14452020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1446
1447 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1448 behavior.
1449 * gdb.base/paginate-bg-execution.exp: Ditto.
1450 * gdb.base/paginate-inferior-exit.exp: Ditto.
1451 * gdb.base/double-prompt-target-event-error.c: Remove.
1452 * gdb.base/double-prompt-target-event-error.exp: Remove.
1453
cfaa8f76
TBA
14542020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1455
1456 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1457 inferiors' and 'detach inferiors' do not change the current
1458 inferior.
1459
0ad0e70c
TV
14602020-10-29 Tom de Vries <tdevries@suse.de>
1461
1462 * gdb.threads/tls.exp: Fix DUPLICATEs.
1463
99cc6b2a
TV
14642020-10-28 Tom de Vries <tdevries@suse.de>
1465
1466 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1467
efe9b873
TV
14682020-10-28 Tom de Vries <tdevries@suse.de>
1469
1470 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1471 * gdb.base/reread.exp: Same.
1472
6b68fd45
TV
14732020-10-28 Tom de Vries <tdevries@suse.de>
1474
1475 * lib/gdb.exp (readnow): Handle arg.
1476 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1477
32a5f98a
TV
14782020-10-28 Tom de Vries <tdevries@suse.de>
1479
1480 * gdb.base/relocate.exp: Update regexp for -readnow.
1481
f93b8760
TV
14822020-10-28 Tom de Vries <tdevries@suse.de>
1483
1484 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1485 -readnow.
1486
1b00ef06
TV
14872020-10-28 Tom de Vries <tdevries@suse.de>
1488
1489 PR symtab/26772
1490 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1491 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1492
364bb903
TV
14932020-10-28 Tom de Vries <tdevries@suse.de>
1494
1495 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1496 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1497 complaint during file command for -readnow.
1498
445a033f
TV
14992020-10-28 Tom de Vries <tdevries@suse.de>
1500
1501 * gdb.cp/nsalias.exp: Fix typo in test name.
1502
fdd67a42
TV
15032020-10-28 Tom de Vries <tdevries@suse.de>
1504
1505 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1506
706baf4c
TV
15072020-10-28 Tom de Vries <tdevries@suse.de>
1508
1509 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1510 -readnow.
1511
b448cca5
TV
15122020-10-27 Tom de Vries <tdevries@suse.de>
1513
1514 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1515
5868da03
TV
15162020-10-27 Tom de Vries <tdevries@suse.de>
1517
1518 * gdb.base/maint.exp: Update for -readnow.
1519
06db6ec3
TV
15202020-10-27 Tom de Vries <tdevries@suse.de>
1521
1522 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1523 -readnow.
1524
934a1764
GB
15252020-10-14 Gary Benson <gbenson@redhat.com>
1526
1527 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1528 "_vptr$Base" as correct, in addition to "_vptr.Base".
1529 (test_mixed): Likewise.
1530
0bf21fbd
GB
15312020-10-27 Gary Benson <gbenson@redhat.com>
1532
1533 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1534 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1535
b1d4d8d1
TBA
15362020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1537
1538 * gdb.base/condbreak.exp: Update the completion tests to
1539 consider the '-force' flag.
1540
bd24c5d6
TV
15412020-10-27 Tom de Vries <tdevries@suse.de>
1542
1543 * gdb.base/list-ambiguous-readnow.exp: New file.
1544
733d554a
TBA
15452020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1546
1547 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1548 the condition.
1549 * gdb.linespec/cpcompletion.exp: Update to consider the
1550 '-force-condition' keyword.
1551 * gdb.linespec/explicit.exp: Ditto.
1552 * lib/completion-support.exp: Ditto.
1553
b5fa468f
TBA
15542020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1555
1556 * gdb.base/condbreak-multi-context.cc: New file.
1557 * gdb.base/condbreak-multi-context.exp: New file.
1558
b3247276
TT
15592020-10-26 Tom Tromey <tom@tromey.com>
1560
1561 * lib/mi-support.exp (default_mi_gdb_start): Call
1562 gdb_stdin_log_init.
1563 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1564 subtract one from gdb_instances.
1565 (gdb_stdin_log_write): Flush in_file.
1566
1c47ec3e
TV
15672020-10-26 Tom de Vries <tdevries@suse.de>
1568
1569 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1570
6390859c
TT
15712020-10-26 Tom Tromey <tromey@adacore.com>
1572
1573 * gdb.ada/unsigned_range/foo.adb: New file.
1574 * gdb.ada/unsigned_range/pack.adb: New file.
1575 * gdb.ada/unsigned_range/pack.ads: New file.
1576 * gdb.ada/unsigned_range.exp: New file.
1577
55c3ad88
TV
15782020-10-26 Tom de Vries <tdevries@suse.de>
1579
1580 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1581
1612c4bb
TV
15822020-10-26 Tom de Vries <tdevries@suse.de>
1583
1584 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1585 for CU.
1586 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1587
7d72802b
TV
15882020-10-23 Tom de Vries <tdevries@suse.de>
1589
1590 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1591 DW_FORM_string.
1592 (Dwarf::_default_form): New proc.
1593 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1594 guessed.
1595
9476b583
TV
15962020-10-23 Tom de Vries <tdevries@suse.de>
1597
1598 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1599 * gdb.dwarf2/atomic-type.exp: Same.
1600 * gdb.dwarf2/bad-regnum.exp: Same.
1601 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1602 * gdb.dwarf2/dw2-align.exp: Same.
1603 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1604 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1605 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1606 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1607 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1608 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1609 * gdb.dwarf2/enum-type.exp: Same.
1610 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1611 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1612 * gdb.dwarf2/main-subprogram.exp: Same.
1613 * gdb.dwarf2/missing-type-name.exp: Same.
1614 * gdb.dwarf2/nonvar-access.exp: Same.
1615 * gdb.dwarf2/typedef-void-finish.exp: Same.
1616 * gdb.dwarf2/var-access.exp: Same.
1617 * gdb.dwarf2/void-type.exp: Same.
1618
4a636814
SM
16192020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1620
1621 PR gdb/26693
1622 * gdb.dwarf2/template-specification-full-name.exp: New test.
1623
557fc257
LM
16242020-10-22 Luis Machado <luis.machado@linaro.org>
1625
1626 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1627 expected an offset from the function.
1628 * gdb.base/msym-bp.exp (test): Likewise.
1629
6b4c676c
AB
16302020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1631
1632 * gdb.fortran/array-slices.exp: Add a new test.
1633
98cec4f6
GB
16342020-10-21 Gary Benson <gbenson@redhat.com>
1635
1636 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1637 fullname test with Clang. Also expand comments generally.
1638
ae86f581
TV
16392020-10-20 Tom de Vries <tdevries@suse.de>
1640
1641 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1642
8c161360
TV
16432020-10-20 Tom de Vries <tdevries@suse.de>
1644
1645 * gdb.dwarf2/arr-stride.c: Remove.
1646 * gdb.dwarf2/arr-stride.exp: Use main.c.
1647 * gdb.dwarf2/arr-subrange.c: Remove.
1648 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1649 * gdb.dwarf2/bad-regnum.c: Remove.
1650 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1651 * gdb.dwarf2/corrupt.c: Remove.
1652 * gdb.dwarf2/corrupt.exp: Use main.c.
1653 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1654 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1655 * gdb.dwarf2/dw2-icycle.c: Remove.
1656 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1657 * gdb.dwarf2/formdata16.c: Remove.
1658 * gdb.dwarf2/formdata16.exp: Use main.c.
1659 * gdb.dwarf2/implptrconst.c: Remove.
1660 * gdb.dwarf2/implptrconst.exp: Use main.c.
1661 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1662 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1663 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1664 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1665
9c2412ec
TV
16662020-10-20 Tom de Vries <tdevries@suse.de>
1667
1668 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1669 file.
1670 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1671
0cd2ad78
TV
16722020-10-20 Tom de Vries <tdevries@suse.de>
1673
1674 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1675 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1676 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1677 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1678 * gdb.dwarf2/dw2-ranges.exp: Same.
1679 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1680 * gdb.dwarf2/var-access.exp: Same.
1681
22cc388e
TT
16822020-10-19 Tom Tromey <tromey@adacore.com>
1683
1684 PR tui/26719
1685 * gdb.tui/list.exp: Check source window contents after focus
1686 change.
1687
520596f2
TV
16882020-10-17 Tom de Vries <tdevries@suse.de>
1689
1690 PR symtab/26317
1691 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1692
d1c8a76d
TV
16932020-10-17 Tom de Vries <tdevries@suse.de>
1694
1695 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1696 as suffix.
1697 * gdb.dwarf2/atomic.c: Rename to ...
1698 * gdb.dwarf2/atomic-type.c: ... this.
1699 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1700 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1701 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1702 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1703 * gdb.dwarf2/fission-mix2.c: Rename to ...
1704 * gdb.dwarf2/fission-mix-2.c: ... this.
1705 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1706 standard_testfile.
1707 * gdb.dwarf2/ada-valprint-error.exp: Same.
1708 * gdb.dwarf2/arr-stride.exp: Same.
1709 * gdb.dwarf2/arr-subrange.exp: Same.
1710 * gdb.dwarf2/atomic-type.exp: Same.
1711 * gdb.dwarf2/bad-regnum.exp: Same.
1712 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1713 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1714 * gdb.dwarf2/clang-debug-names.exp: Same.
1715 * gdb.dwarf2/comp-unit-lang.exp: Same.
1716 * gdb.dwarf2/corrupt.exp: Same.
1717 * gdb.dwarf2/count.exp: Same.
1718 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1719 * gdb.dwarf2/data-loc.exp: Same.
1720 * gdb.dwarf2/dw2-align.exp: Same.
1721 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1722 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1723 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1724 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1725 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1726 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1727 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1728 * gdb.dwarf2/dw2-inline-param.exp: Same.
1729 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1730 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1731 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1732 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1733 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1734 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1735 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1736 * gdb.dwarf2/dw2-param-error.exp: Same.
1737 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1738 * gdb.dwarf2/dw2-ranges.exp: Same.
1739 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1740 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1741 * gdb.dwarf2/dw4-sig-types.exp: Same.
1742 * gdb.dwarf2/dynarr-ptr.exp: Same.
1743 * gdb.dwarf2/enum-type.exp: Same.
1744 * gdb.dwarf2/fission-mix.exp: Same.
1745 * gdb.dwarf2/formdata16.exp: Same.
1746 * gdb.dwarf2/implptrconst.exp: Same.
1747 * gdb.dwarf2/implptrpiece.exp: Same.
1748 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1749 * gdb.dwarf2/main-subprogram.exp: Same.
1750 * gdb.dwarf2/method-ptr.exp: Same.
1751 * gdb.dwarf2/missing-sig-type.exp: Same.
1752 * gdb.dwarf2/nonvar-access.exp: Same.
1753 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1754 * gdb.dwarf2/shortpiece.exp: Same.
1755 * gdb.dwarf2/staticvirtual.exp: Same.
1756 * gdb.dwarf2/subrange.exp: Same.
1757 * gdb.dwarf2/symtab-producer.exp: Same.
1758 * gdb.dwarf2/typedef-void-finish.exp: Same.
1759 * gdb.dwarf2/var-access.exp: Same.
1760 * gdb.dwarf2/variant.exp: Same.
1761 * gdb.dwarf2/void-type.exp: Same.
1762 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1763 dw2-ranges-main.c.
1764 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1765
472d09c1
TV
17662020-10-16 Tom de Vries <tdevries@suse.de>
1767
1768 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1769
afe75f6d
TV
17702020-10-16 Tom de Vries <tdevries@suse.de>
1771
1772 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1773
8c8bd0ba
TV
17742020-10-14 Tom de Vries <tdevries@suse.de>
1775
1776 PR testsuite/26732
1777 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1778 scenario 2.
1779 * gdb.ada/mi_catch_ex_hand.exp: Same.
1780
b75d55d4
PA
17812020-10-13 Pedro Alves <pedro@palves.net>
1782
1783 * lib/mi-support.exp (mi_clean_restart): New.
1784 (mi_run_to_main): Delete.
1785 All callers adjust to use mi_clean_restart / mi_runto_main.
1786
e777225b
PA
17872020-10-13 Pedro Alves <pedro@palves.net>
1788
1789 * config/monitor.exp: Use "list -q".
1790 * gdb.arch/gdb1558.exp: Use "break -q".
1791 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1792 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1793 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1794 * gdb.base/commands.exp: Use "break -q".
1795 * gdb.base/condbreak.exp: Use "break -q".
1796 * gdb.base/ctf-ptype.exp: Use "list -q".
1797 * gdb.base/define.exp: Use "break -q".
1798 * gdb.base/del.exp: Use "break -q".
1799 * gdb.base/fullname.exp: Use "break -q".
1800 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1801 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1802 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1803 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1804 "hbreak -q".
1805 * gdb.base/included.exp: Use "list -q".
1806 * gdb.base/label.exp: Use "break -q".
1807 * gdb.base/lineinc.exp: Use "break -q".
1808 * gdb.base/list.exp: Use "list -q".
1809 * gdb.base/macscp.exp: Use "list -q".
1810 * gdb.base/pending.exp: Use "break -q".
1811 * gdb.base/prologue-include.exp: Use "break -q".
1812 * gdb.base/ptype.exp: Use "list -q".
1813 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1814 * gdb.base/server-del-break.exp: Use "break -q".
1815 * gdb.base/style.exp: Use "break -q".
1816 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1817 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1818 * gdb.cp/exception.exp: Use "tbreak -q".
1819 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1820 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1821 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1822 * gdb.dwarf2/pr13961.exp: Use "break -q".
1823 * gdb.linespec/explicit.exp: Use "list -q".
1824 * gdb.linespec/linespec.exp: Use "break -q".
1825 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1826 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1827 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1828 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1829 * gdb.trace/change-loc.exp: Use "break -q".
1830 * gdb.trace/pending.exp: Use "break -q".
1831 * gdb.tui/basic.exp: Use "list -q".
1832 * gdb.tui/list-before.exp: Use "list -q".
1833 * gdb.tui/list.exp: Use "list -q".
1834 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1835
8abd8ee8
PA
18362020-10-13 Pedro Alves <pedro@palves.net>
1837
1838 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1839 saved breakpoints file.
1840 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1841 inspecting breakpoint list.
1842 * lib/gdb.exp (runto_main): Add "qualified" to options.
1843 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1844 and handle it.
1845 (mi_runto_main): Pass 1 as qualified argument.
1846
f71e6719
PA
18472020-10-13 Pedro Alves <pedro@palves.net>
1848
1849 * lib/mi-support.exp (mi_runto_main): New proc.
1850 (mi_run_to_main): Use it.
1851 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1852 * gdb.mi/mi-var-cmd.exp: Likewise.
1853 * gdb.mi/mi-var-invalidate.exp: Likewise.
1854 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1855 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1856 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1857 * gdb.mi/user-selected-context-sync.exp: Likewise.
1858 * gdb.opt/inline-cmds.exp: Likewise.
1859 * gdb.python/py-framefilter-mi.exp: Likewise.
1860 * gdb.python/py-mi.exp: Likewise.
1861
50441f0f
PA
18622020-10-13 Pedro Alves <pedro@palves.net>
1863
1864 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1865 "runto main".
1866 * gdb.ada/small_reg_param.exp: Likewise.
1867 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1868 * gdb.base/annota1.exp: Likewise.
1869 * gdb.base/anon.exp: Likewise.
1870 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1871 * gdb.base/dprintf-non-stop.exp: Likewise.
1872 * gdb.base/dprintf.exp: Likewise.
1873 * gdb.base/gdb11530.exp: Likewise.
1874 * gdb.base/gdb11531.exp: Likewise.
1875 * gdb.base/gnu_vector.exp: Likewise.
1876 * gdb.base/interrupt-noterm.exp: Likewise.
1877 * gdb.base/memattr.exp: Likewise.
1878 * gdb.base/step-over-syscall.exp: Likewise.
1879 * gdb.base/watch-cond-infcall.exp: Likewise.
1880 * gdb.base/watch-read.exp: Likewise.
1881 * gdb.base/watch-vfork.exp: Likewise.
1882 * gdb.base/watch_thread_num.exp: Likewise.
1883 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1884 * gdb.guile/scm-frame-inline.exp: Likewise.
1885 * gdb.linespec/explicit.exp: Likewise.
1886 * gdb.opt/inline-break.exp: Likewise.
1887 * gdb.python/py-frame-inline.exp: Likewise.
1888 * gdb.reverse/break-precsave.exp: Likewise.
1889 * gdb.reverse/break-reverse.exp: Likewise.
1890 * gdb.reverse/consecutive-precsave.exp: Likewise.
1891 * gdb.reverse/consecutive-reverse.exp: Likewise.
1892 * gdb.reverse/finish-precsave.exp: Likewise.
1893 * gdb.reverse/finish-reverse.exp: Likewise.
1894 * gdb.reverse/fstatat-reverse.exp: Likewise.
1895 * gdb.reverse/getresuid-reverse.exp: Likewise.
1896 * gdb.reverse/i386-precsave.exp: Likewise.
1897 * gdb.reverse/i386-reverse.exp: Likewise.
1898 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1899 * gdb.reverse/i387-env-reverse.exp: Likewise.
1900 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1901 * gdb.reverse/insn-reverse.exp: Likewise.
1902 * gdb.reverse/machinestate-precsave.exp: Likewise.
1903 * gdb.reverse/machinestate.exp: Likewise.
1904 * gdb.reverse/pipe-reverse.exp: Likewise.
1905 * gdb.reverse/readv-reverse.exp: Likewise.
1906 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1907 * gdb.reverse/rerun-prec.exp: Likewise.
1908 * gdb.reverse/s390-mvcle.exp: Likewise.
1909 * gdb.reverse/solib-precsave.exp: Likewise.
1910 * gdb.reverse/solib-reverse.exp: Likewise.
1911 * gdb.reverse/step-precsave.exp: Likewise.
1912 * gdb.reverse/step-reverse.exp: Likewise.
1913 * gdb.reverse/time-reverse.exp: Likewise.
1914 * gdb.reverse/until-precsave.exp: Likewise.
1915 * gdb.reverse/until-reverse.exp: Likewise.
1916 * gdb.reverse/waitpid-reverse.exp: Likewise.
1917 * gdb.reverse/watch-precsave.exp: Likewise.
1918 * gdb.reverse/watch-reverse.exp: Likewise.
1919 * gdb.threads/kill.exp: Likewise.
1920 * gdb.threads/tid-reuse.exp: Likewise.
1921
d3a07122
SM
19222020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1923
1924 PR gdb/26642
1925 * gdb.base/maint-target-async-off.c: New test.
1926 * gdb.base/maint-target-async-off.exp: New test.
1927
c65c6c42
AM
19282020-10-13 Alan Modra <amodra@gmail.com>
1929
1930 * gdb.arch/powerpc-altivec.s,
1931 * gdb.arch/powerpc-power7.s,
1932 * gdb.arch/powerpc-power8.s,
1933 * gdb.arch/powerpc-power9.s,
1934 * gdb.arch/powerpc-vsx.s,
1935 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1936 * gdb.arch/powerpc-altivec.exp,
1937 * gdb.arch/powerpc-power7.exp,
1938 * gdb.arch/powerpc-power8.exp,
1939 * gdb.arch/powerpc-power9.exp,
1940 * gdb.arch/powerpc-vsx.exp,
1941 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1942 disassembly of mfvsrd/mtvsrd.
1943
f4a0f710
AM
19442020-10-13 Alan Modra <amodra@gmail.com>
1945
1946 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1947 "target architecture" output.
1948 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1949 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1950 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1951 * gdb.arch/s390-disassembler-options.exp: Likewise.
1952
87a37e5e
PA
19532020-10-12 Pedro Alves <pedro@palves.net>
1954
1955 PR exp/26602
1956 PR c++/26550
1957 * gdb.cp/ambiguous.cc (marker1): Delete.
1958 (main): Initialize all the fields of the locals. Replace marker1
1959 call with a "set breakpoint here" marker.
1960 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1961 instead of running to marker1. Add tests printing all the
1962 variables and all the fields of the variables.
1963 (test_ambiguous): New proc, expecting the new GDB output when a
1964 field access is ambiguous. Change all "warning: X ambiguous"
1965 tests to use it.
1966
71e1b6b0
GB
19672020-10-12 Gary Benson <gbenson@redhat.com>
1968
1969 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1970 * gdb.base/msym-bp-2.c (foo): Likewise.
1971 * gdb.base/msym-lang.c (foo): Likewise.
1972 * gdb.base/msym-lang-main.c (foo): Likewise.
1973 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1974 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1975 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1976 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1977 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1978 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1979 * gdb.python/py-objfile.c (static_var): Likewise.
1980 * gdb.python/py-symbol.c (rr): Likewise.
1981 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1982 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1983
9370fd51
AB
19842020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1985
1986 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1987 output of backtrace.
1988
7c184d33
TT
19892020-10-09 Tom Tromey <tromey@adacore.com>
1990
1991 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1992 (Rec): Add field. Fix range.
1993 * gdb.ada/scalar_storage.exp: Update.
1994
3d87245c
HD
19952020-10-09 Hannes Domani <ssbssa@yahoo.de>
1996
1997 PR exp/26714
1998 * gdb.base/printcmds.exp: Add tests for void results.
1999
f5c4b229
JV
20002020-10-09 Jan Vrany <jan.vrany@labware.com>
2001
2002 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2003 is emmited for both 'set directories' and 'directory' commands.
2004
b2701685
TT
20052020-10-08 Tom Tromey <tom@tromey.com>
2006
2007 * gdb.base/style.exp: Check that "main"'s name is styled.
2008
e86efb33
TT
20092020-10-07 Tom Tromey <tromey@adacore.com>
2010
2011 * gdb.base/find.exp: Rename some tests.
2012
30897591
GB
20132020-10-06 Gary Benson <gbenson@redhat.com>
2014
2015 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2016 * gdb.base/list1.c (unused): Likewise.
2017
ced4a4c1
GB
20182020-10-06 Gary Benson <gbenson@redhat.com>
2019
2020 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2021 __attribute__ ((used)).
2022 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2023
ed3bdac4
AB
20242020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2025
2026 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2027 make use of regions throughout.
2028 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2029 not {...}.
2030 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2031
cd096ec8
HD
20322020-10-05 Hannes Domani <ssbssa@yahoo.de>
2033
2034 * gdb.base/call-sc.c: Fix return struct on stack test case.
2035 * gdb.base/call-sc.exp: Likewise.
2036
3ee6f75d
GB
20372020-10-02 Gary Benson <gbenson@redhat.com>
2038
2039 * README: Fix "paralell".
2040
f65825ec
GB
20412020-09-30 Gary Benson <gbenson@redhat.com>
2042
2043 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2044 Convert directive to lowercase.
2045 (.Labbrev1_begin): Add missing label.
2046 (abbrev code 0x1): Remove DW_AT_stmt_list.
2047 (.Ldie_b): Likewise.
2048
5f278258
TT
20492020-09-27 Tom Tromey <tom@tromey.com>
2050
2051 * gdb.tui/new-layout.exp: Use with_test_prefix.
2052
8f9929bb
GR
20532020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2054
2055 PR python/26586
2056 * gdb.python/python.exp: add test cases for the from_tty
2057 argument to gdb.execute.
2058
c20c017b
GB
20592020-09-25 Gary Benson <gbenson@redhat.com>
2060
2061 * gdb.base/infcall-nested-structs.exp.tcl: Add
2062 additional_flags=-Wno-tautological-compare for C++
2063 tests when compiling using Clang.
2064
68d654af
GB
20652020-09-25 Gary Benson <gbenson@redhat.com>
2066
2067 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2068 for .c files.
2069
b551a89f
TT
20702020-09-24 Tom Tromey <tromey@adacore.com>
2071
2072 PR tui/26638:
2073 * gdb.tui/list.exp: Check output of "focus next".
2074
20a5fcbd
TT
20752020-09-23 Tom Tromey <tom@tromey.com>
2076
2077 * gdb.dwarf2/intbits.exp: New file.
2078 * gdb.dwarf2/intbits.c: New file.
2079
b167e53f
PA
20802020-09-20 Pedro Alves <pedro@palves.net>
2081
2082 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2083 spawn_id before calling remote_close. Close secondary MI channel.
2084
dbc49e9f
PA
20852020-09-20 Pedro Alves <pedro@palves.net>
2086
2087 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2088 fails.
2089
c8d5abea
AB
20902020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2091
2092 * gdb.fortran/array-slices.exp: Update expected results.
2093 * gdb.fortran/class-allocatable-array.exp: Likewise.
2094 * gdb.fortran/multi-dim.exp: Likewise.
2095 * gdb.fortran/vla-type.exp: Likewise.
2096 * gdb.mi/mi-vla-fortran.exp: Likewise.
2097
14f9473c
VC
20982020-09-18 Victor Collod <vcollod@nvidia.com>
2099
2100 PR gdb/26635
2101 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2102 compatible with i386, and move it to...
2103 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2104 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2105 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2106
e8ef12b9
PA
21072020-09-18 Pedro Alves <pedro@palves.net>
2108
2109 PR gdb/26631
2110 * gdb.multi/multi-target-thread-find.exp: New file.
2111
e11daf7a
PA
21122020-09-18 Pedro Alves <pedro@palves.net>
2113
2114 * gdb.multi/multi-target-continue.exp: New file, factored out from
2115 multi-target.exp.
2116 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2117 multi-target.exp.
2118 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2119 multi-target.exp.
2120 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2121 multi-target.exp.
2122 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2123 multi-target.exp.
2124 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2125 multi-target.exp.
2126 * gdb.multi/multi-target.exp: Delete.
2127
d0edc2b8
AB
21282020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2129
2130 * gdb.fortran/array-slices.exp: Add missing message data.
2131
7474326c
PA
21322020-09-17 Pedro Alves <pedro@palves.net>
2133
2134 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2135
dd23068d
PA
21362020-09-17 Pedro Alves <pedro@palves.net>
2137
2138 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2139 full prototype.
2140
0640a543
PA
21412020-09-17 Pedro Alves <pedro@palves.net>
2142
2143 * gdb.python/py-as-string.c: Add cast.
2144
ef0cdbc1
PA
21452020-09-17 Pedro Alves <pedro@palves.net>
2146
2147 * gdb.base/sizeof.c (fill): Add cast.
2148
3a5eeb8b
PA
21492020-09-17 Pedro Alves <pedro@palves.net>
2150
2151 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2152
a8129512
PA
21532020-09-17 Pedro Alves <pedro@palves.net>
2154
2155 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2156 linkage name.
2157 * gdb.base/prologue.exp: Use print /d.
2158 * gdb.base/symbol-alias.exp: Handle C++ output.
2159 * gdb.base/symbol-alias2.c: Handle C++ output.
2160 [__cplusplus] (func): Explicitly specify linkage name.
2161
a83cdcb6
PA
21622020-09-17 Pedro Alves <pedro@palves.net>
2163
2164 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2165 (struct my_key_t): ... this. Adjust all references.
2166 (struct value_t): Rename to ...
2167 (struct my_value_t): ... this. Adjust all references.
2168 (create_map, add_map_element, create_map_map)
2169 (add_map_map_element): Add casts.
2170
d4bcee5c
PA
21712020-09-17 Pedro Alves <pedro@palves.net>
2172
2173 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2174 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2175
81f90489
PA
21762020-09-17 Pedro Alves <pedro@palves.net>
2177
2178 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2179
0a229804
PA
21802020-09-17 Pedro Alves <pedro@palves.net>
2181
2182 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2183 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2184 (charfoo, intfoo): Define full prototype.
2185 * gdb.base/ptype1.c (charfoo): Define full prototype.
2186 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2187 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2188
c3e5138d
PA
21892020-09-17 Pedro Alves <pedro@palves.net>
2190
2191 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2192 Don't define.
2193 (utf_32_string): Compile for both C and C++.
2194 * gdb.base/charset.exp: Use "print /d".
2195
151fdbad
PA
21962020-09-17 Pedro Alves <pedro@palves.net>
2197
2198 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2199 (nullptr): Rename to ...
2200 (null_ptr): ... this.
2201 * gdb.base/watchpoint.exp: Adjust to rename.
2202
18a25b64
PA
22032020-09-17 Pedro Alves <pedro@palves.net>
2204
2205 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2206 (three_not_flag): Add casts.
2207
11fac337
PA
22082020-09-17 Pedro Alves <pedro@palves.net>
2209
2210 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2211 char array.
2212 (main): Add references to Barrier, TestStrings, TestStringsH and
2213 TestStringsW.
2214 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2215 and expect a full prototype in C++.
2216
52626c58
PA
22172020-09-17 Pedro Alves <pedro@palves.net>
2218
2219 * gdb.base/nested-addr.c (main): Add cast.
2220 * gdb.base/nested-addr.exp: Use "print /d".
2221
52bb0902
PA
22222020-09-17 Pedro Alves <pedro@palves.net>
2223
2224 * gdb.base/break.exp (func): New. Use it throughout when
2225 expecting a function name.
2226
73e18ac9
PA
22272020-09-17 Pedro Alves <pedro@palves.net>
2228
2229 * gdb.base/display.exp: Issue "set print asm-demangle on".
2230
c8b18808
PA
22312020-09-17 Pedro Alves <pedro@palves.net>
2232
2233 * gdb.base/find.c: Include <string.h>.
2234 (init_bufs): Add cast.
2235 * gdb.base/find.exp: Issue "set print asm-demangle on".
2236
fe830662
TT
22372020-09-16 Tom Tromey <tromey@adacore.com>
2238
2239 PR gdb/26598:
2240 * gdb.base/skipcxx.exp: New file.
2241 * gdb.base/skipcxx.cc: New file.
2242
945ff6e2
TV
22432020-09-16 Tom de Vries <tdevries@suse.de>
2244
2245 PR testsuite/26617
2246 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2247 WITH_DEBUG_SECTIONS is defined.
2248 (xstr, str): New macro.
2249 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2250 to get start and size of _Dmain.
2251 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2252 using additional_flags.
2253
da1df1db
TBA
22542020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2255
2256 * gdb.base/bp-cmds-sourced-script.c: New file.
2257 * gdb.base/bp-cmds-sourced-script.exp: New test.
2258 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2259
337882d4
TV
22602020-09-16 Tom de Vries <tdevries@suse.de>
2261
2262 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2263 get the gdb prompt after issuing "monitor exit".
2264
7361f908
TV
22652020-09-16 Tom de Vries <tdevries@suse.de>
2266
2267 PR testsuite/26624
2268 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2269
4d91ddd3
TV
22702020-09-16 Tom de Vries <tdevries@suse.de>
2271
2272 PR testsuite/26618
2273 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2274
08cc37dd
TT
22752020-09-15 Tom Tromey <tromey@adacore.com>
2276
2277 PR rust/26197:
2278 * lib/rust-support.exp (rust_llvm_version): New proc.
2279 * gdb.rust/simple.exp: Check rust_llvm_version.
2280
ee6372f2
TV
22812020-09-14 Tom de Vries <tdevries@suse.de>
2282
2283 * gdb.rust/traits.exp: Fix PATH warning.
2284
dc3a371e
PA
22852020-09-13 Pedro Alves <pedro@palves.net>
2286
2287 * gdb.base/catch-follow-exec.c (main): Add explicit return
2288 statement.
2289 * gdb.base/catch-signal.c (main): Likewise.
2290 * gdb.base/condbreak-call-false.c (main): Likewise.
2291 * gdb.base/consecutive.c (main): Add explicit return
2292 statement and return type.
2293 * gdb.base/cursal.c (main): Add explicit return statement.
2294 * gdb.base/cvexpr.c (main): Likewise.
2295 * gdb.base/display.c (main): Add explicit return statement and
2296 return type.
2297 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2298 * gdb.base/endianity.c (main): Likewise.
2299 * gdb.base/execd-prog.c (main): Likewise.
2300 * gdb.base/gdb1090.c (main): Likewise.
2301 * gdb.base/info_qt.c (main): Likewise.
2302 * gdb.base/lineinc.c (main): Likewise.
2303 * gdb.base/load-command.c (main): Likewise.
2304 * gdb.base/macscp1.c (main): Likewise.
2305 * gdb.base/pr10179-a.c (main): Likewise.
2306 * gdb.base/quit-live.c (main): Likewise.
2307 * gdb.base/scope0.c (main): Likewise.
2308 * gdb.base/settings.c (main): Likewise.
2309 * gdb.base/stack-checking.c (main): Return int.
2310 * gdb.base/varargs.c (main): Add explicit return statement.
2311 * gdb.cp/ambiguous.cc (main): Likewise.
2312 * gdb.cp/anon-struct.cc (main): Likewise.
2313 * gdb.cp/anon-union.cc (main): Likewise.
2314 * gdb.cp/bool.cc (main): Likewise.
2315 * gdb.cp/bs15503.cc (main): Likewise.
2316 * gdb.cp/cplusfuncs.cc (main): Likewise.
2317 * gdb.cp/cttiadd.cc (main): Likewise.
2318 * gdb.cp/extern-c.cc (main): Likewise.
2319 * gdb.cp/filename.cc (main): Likewise.
2320 * gdb.cp/formatted-ref.cc (main): Likewise.
2321 * gdb.cp/mb-ctor.cc (main): Likewise.
2322 * gdb.cp/member-ptr.cc (main): Likewise.
2323 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2324 * gdb.cp/overload-const.cc (main): Likewise.
2325 * gdb.cp/paren-type.cc (main): Likewise.
2326 * gdb.cp/parse-lang.cc (main): Likewise.
2327 * gdb.cp/pr-1023.cc (main): Likewise.
2328 * gdb.cp/psmang1.cc (main): Likewise.
2329 * gdb.cp/readnow-language.cc (main): Likewise.
2330 * gdb.cp/ref-params.cc (main): Likewise.
2331 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2332 * gdb.cp/virtbase2.cc (main): Likewise.
2333 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2334 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2335 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2336 * gdb.mi/mi-console.c (main): Likewise.
2337 * gdb.mi/mi-read-memory.c (main): Likewise.
2338 * gdb.modula2/multidim.c (main): Likewise.
2339 * gdb.opt/inline-small-func.c (main): Likewise.
2340 * gdb.python/py-rbreak.c (main): Likewise.
2341 * gdb.stabs/exclfwd1.c (main): Likewise.
2342 * gdb.trace/qtro.c (main): Likewise.
2343
af26601c
PA
23442020-09-13 Pedro Alves <pedro@palves.net>
2345
2346 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2347 instead of getenv.
2348
2f4b83cd
PA
23492020-09-13 Pedro Alves <pedro@palves.net>
2350
2351 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2352 instead of spawning GDB with remote_spawn.
2353 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2354 gdb_spawn instead of spawning GDB with remote_spawn.
2355
c49da0e4
PA
23562020-09-13 Pedro Alves <pedro@palves.net>
2357
2358 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2359 file and add calls to first and second.
2360 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2361 add call to f.
2362
6791b117
PA
23632020-09-13 Pedro Alves <pedro@palves.net>
2364
2365 * gdb.mi/mi-break-qualified.cc: New file.
2366 * gdb.mi/mi-break-qualified.exp: New file.
2367 * lib/mi-support.exp (mi_create_breakpoint_multi)
2368 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2369 procedures.
2370 (mi_create_breakpoint_1): New, factored out from
2371 mi_create_breakpoint.
2372
3b8d4c5c
PA
23732020-09-13 Pedro Alves <pedro@palves.net>
2374
2375 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2376 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2377 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2378 (register_class): Delete.
2379 (main): Don't call register_class.
2380
d5f96005
PA
23812020-09-13 Pedro Alves <pedro@palves.net>
2382
2383 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2384 (do_tests): Remove "calling method for small class" test.
2385 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2386 (register_class): Delete.
2387 (main): Don't call register_class.
2388 * gdb.cp/call-method-register.exp: New file, based on bits removed
2389 from classes.exp.
2390 * gdb.cp/call-method-register.cc: New file, based on bits removed
2391 from classes.cc.
2392
77f2120b
PA
23932020-09-13 Pedro Alves <pedro@palves.net>
2394
2395 * gdb.base/msym-bp-2.c: New.
2396 * gdb.base/msym-bp-shl-lib.c: New file.
2397 * gdb.base/msym-bp-shl-main-2.c: New file.
2398 * gdb.base/msym-bp-shl-main.c: New file.
2399 * gdb.base/msym-bp-shl.exp: New file.
2400 * gdb.base/msym-bp.c: New file.
2401 * gdb.base/msym-bp.exp: New file.
2402
32aea73e
JB
24032020-09-13 Joel Brobecker <brobecker@adacore.com>
2404
2405 * gdb.base/default.exp: Change $_gdb_major to 11.
2406
2a67f09d
FW
24072020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2408 Felix Willgerodt <Felix.Willgerodt@intel.com>
2409
2410 * x86-avx512bf16.c: New file.
2411 * x86-avx512bf16.exp: Likewise.
2412 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2413
ad570dd7
TV
24142020-09-11 Tom de Vries <tdevries@suse.de>
2415
2416 PR exp/26602
2417 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2418
a56f7391
TBA
24192020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2420
2421 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2422
918619e5
AM
24232020-09-10 Alan Modra <amodra@gmail.com>
2424
2425 PR 26597
2426 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2427
cac1e71d
TV
24282020-09-08 Tom de Vries <tdevries@suse.de>
2429
2430 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2431 after gdb_starti_cmd.
2432
c5cd900e
AKS
24332020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2434
2435 * lib/fortran.exp (fortran_complex8): New proc.
2436 (fortran_complex16): New proc.
2437 * gdb.fortran/complex.exp: Use routines from fortran.exp
2438 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2439 * gdb.fortran/vla-ptr-info.exp: Likewise.
2440
8f5c6526
TV
24412020-09-03 Tom de Vries <tdevries@suse.de>
2442
2443 PR breakpoint/26546
2444 * gdb.base/label-without-address.exp: Runto main first.
2445
02c6f3f1
TT
24462020-09-02 Tom Tromey <tromey@adacore.com>
2447
2448 * gdb.ada/mi_var_access.exp: Test children of access variable.
2449 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2450 * gdb.ada/mi_var_array.exp: Update.
2451
efe24f05
KB
24522020-08-31 Kevin Buettner <kevinb@redhat.com>
2453
2454 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2455 on docker w/ AUFS storage driver.
2456
973695d6
KB
24572020-08-31 Kevin Buettner <kevinb@redhat.com>
2458
2459 * gdb.base/corefile2.exp (renamed binfile): New tests.
2460
f3bd50f1
SM
24612020-08-31 Simon Marchi <simon.marchi@efficios.com>
2462
2463 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2464
22b9b4b0
SL
24652020-08-31 Simon Marchi <simon.marchi@efficios.com>
2466
2467 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2468 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2469
8efaf6b3
SM
24702020-08-31 Simon Marchi <simon.marchi@efficios.com>
2471
2472 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2473 output, printing a "not saved" value from history and printing a
2474 convenience variable created from a "not saved" value.
2475
e840f2e3
TV
24762020-08-31 Tom de Vries <tdevries@suse.de>
2477
2478 * gdb.base/eh_return.exp: Use nopie.
2479
8f57f343
PA
24802020-08-28 Pedro Alves <pedro@palves.net>
2481
2482 * gdb.base/advance-until-multiple-locations.exp
2483 (advance_overload, until_overload): Adjust to match the
2484 frame/function header instead of the source line text.
2485
626d2320
TV
24862020-08-28 Tom de Vries <tdevries@suse.de>
2487
2488 * gdb.base/label-without-address.c: New test.
2489 * gdb.base/label-without-address.exp: New file.
2490
df631783
PA
24912020-08-27 Pedro Alves <pedro@palves.net>
2492
2493 PR gdb/26523
2494 PR gdb/26524
2495 * gdb.base/advance-until-multiple-locations.cc: New.
2496 * gdb.base/advance-until-multiple-locations.exp: New.
2497
48b076bb
SM
24982020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2499
2500 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2501
c2015ce4
AB
25022020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2503
2504 * gdb.arch/amd64-byte.exp: Make test names unique, use
2505 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2506 * gdb.arch/amd64-dword.exp: Likewise.
2507 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2508 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2509 unique.
2510 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2511 * gdb.arch/amd64-word.exp: Make test names unique, use
2512 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2513 * gdb.arch/i386-byte.exp: Make test names unique, use
2514 gdb_breakpoint.
2515 * gdb.arch/i386-word.exp: Likewise.
2516
995d3a19
SV
25172020-08-25 Shahab Vahedi <shahab@synopsys.com>
2518
2519 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2520
8cac2b31
SM
25212020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2522
2523 PR gdb/26532
2524 * gdb.threads/stepi-random-signal.exp: Update pattern.
2525
2bc19622
SM
25262020-08-25 Simon Marchi <simon.marchi@efficios.com>
2527
2528 PR gdb/26532
2529 * gdb.base/ui-redirect.exp: Update pattern.
2530
b04aa1fc
GB
25312020-08-25 Gary Benson <gbenson@redhat.com>
2532
2533 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2534 when compiling with clang.
8571e9c8 2535 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 2536
9f68b453
GB
25372020-08-25 Gary Benson <gbenson@redhat.com>
2538
2539 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2540 Add additional_flags=-Wno-inaccessible-base when compiling
2541 with GCC >= 10.1 or clang. Add additional_flags=-w when
2542 compiling with GCC < 10.
2543
3945d2d7
GM
25442020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2545
2546 PR m2/26372
fc5d6901
SM
2547 * gdb.modula2/multidim.c: New file.
2548 * gdb.modula2/multidim.exp: New file.
3945d2d7 2549
60122dbe
SM
25502020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2551
2552 * lib/gdb.exp (runto): Always emit fail on internal error.
2553
1eb8556f
SM
25542020-08-24 Simon Marchi <simon.marchi@efficios.com>
2555
2556 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2557 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2558 Likewise.
2559 * gdb.threads/stepi-random-signal.exp: Likewise.
2560
33bf4c5c
TBA
25612020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2562
2563 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2564 * gdb.trace/strace.exp: Ditto.
2565
c2fd7fae
AKS
25662020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2567
2568 * gdb.fortran/vla-type.exp: Skip commands not required for
2569 the Flang compiled binaries after prologue fix.
2570
326afb72
TT
25712020-08-17 Tom de Vries <tdevries@suse.de>
2572 Tom Tromey <tromey@adacore.com>
2573
2574 PR rust/26197:
2575 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2576
3ae7ab99
TT
25772020-08-17 Tom Tromey <tromey@adacore.com>
2578
2579 * gdb.ada/mi_var_access.exp: New file.
2580 * gdb.ada/mi_var_access/mi_access.adb: New file.
2581 * gdb.ada/mi_var_access/pck.adb: New file.
2582 * gdb.ada/mi_var_access/pck.ads: New file.
2583
f569c1c5
TV
25842020-08-16 Tom de Vries <tdevries@suse.de>
2585
2586 PR gdb/25350
2587 * gdb.base/eh_return.c: New test.
2588 * gdb.base/eh_return.exp: New file.
2589
3d11c30a
TV
25902020-08-15 Tom de Vries <tdevries@suse.de>
2591
2592 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2593 (mixed_func_1d_): Use fortran_charlen_t in decl.
2594
547ce8f0
TV
25952020-08-15 Tom de Vries <tdevries@suse.de>
2596
2597 PR backtrace/26390
2598 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2599 Update expected pattern.
2600
a54a7f13
PA
26012020-08-13 Pedro Alves <pedro@palves.net>
2602
2603 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2604 * gdb.fortran/library-module.exp: Likewise.
2605 * gdb.fortran/logical.exp: Likewise.
2606 * gdb.fortran/module.exp: Likewise.
2607 * gdb.fortran/print_type.exp: Likewise.
2608 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2609 * gdb.fortran/vla-datatypes.exp: Likewise.
2610 * gdb.fortran/vla-history.exp: Likewise.
2611 * gdb.fortran/vla-ptr-info.exp: Likewise.
2612 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2613 * gdb.fortran/vla-ptype.exp: Likewise.
2614 * gdb.fortran/vla-sizeof.exp: Likewise.
2615 * gdb.fortran/vla-type.exp: Likewise.
2616 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2617 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2618 * gdb.fortran/vla-value-sub.exp: Likewise.
2619 * gdb.fortran/vla-value.exp: Likewise.
2620
7a82e903
PA
26212020-08-13 Pedro Alves <pedro@palves.net>
2622
2623 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2624 * gdb.ada/access_to_packed_array.exp: Likewise.
2625 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2626 * gdb.ada/addr_arith.exp: Likewise.
2627 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2628 * gdb.ada/arr_arr.exp: Likewise.
2629 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2630 * gdb.ada/array_bounds.exp: Likewise.
2631 * gdb.ada/array_of_variable_length.exp: Likewise.
2632 * gdb.ada/array_ptr_renaming.exp: Likewise.
2633 * gdb.ada/array_subscript_addr.exp: Likewise.
2634 * gdb.ada/arraydim.exp: Likewise.
2635 * gdb.ada/arrayparam.exp: Likewise.
2636 * gdb.ada/arrayptr.exp: Likewise.
2637 * gdb.ada/assign_1.exp: Likewise.
2638 * gdb.ada/assign_arr.exp: Likewise.
2639 * gdb.ada/atomic_enum.exp: Likewise.
2640 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2641 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2642 * gdb.ada/bias.exp: Likewise.
2643 * gdb.ada/boolean_expr.exp: Likewise.
2644 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2645 * gdb.ada/bp_enum_homonym.exp: Likewise.
2646 * gdb.ada/bp_inlined_func.exp: Likewise.
2647 * gdb.ada/bp_on_var.exp: Likewise.
2648 * gdb.ada/bp_range_type.exp: Likewise.
2649 * gdb.ada/bp_reset.exp: Likewise.
2650 * gdb.ada/call_pn.exp: Likewise.
2651 * gdb.ada/catch_assert_if.exp: Likewise.
2652 * gdb.ada/catch_ex.exp: Likewise.
2653 * gdb.ada/catch_ex_std.exp: Likewise.
2654 * gdb.ada/char_enum.exp: Likewise.
2655 * gdb.ada/char_param.exp: Likewise.
2656 * gdb.ada/complete.exp: Likewise.
2657 * gdb.ada/cond_lang.exp: Likewise.
2658 * gdb.ada/convvar_comp.exp: Likewise.
2659 * gdb.ada/dgopt.exp: Likewise.
2660 * gdb.ada/disc_arr_bound.exp: Likewise.
2661 * gdb.ada/display_nested.exp: Likewise.
2662 * gdb.ada/dot_all.exp: Likewise.
2663 * gdb.ada/dyn_loc.exp: Likewise.
2664 * gdb.ada/dyn_stride.exp: Likewise.
2665 * gdb.ada/excep_handle.exp: Likewise.
2666 * gdb.ada/expr_delims.exp: Likewise.
2667 * gdb.ada/expr_with_funcall.exp: Likewise.
2668 * gdb.ada/exprs.exp: Likewise.
2669 * gdb.ada/fin_fun_out.exp: Likewise.
2670 * gdb.ada/fixed_cmp.exp: Likewise.
2671 * gdb.ada/formatted_ref.exp: Likewise.
2672 * gdb.ada/frame_arg_lang.exp: Likewise.
2673 * gdb.ada/frame_args.exp: Likewise.
2674 * gdb.ada/fullname_bp.exp: Likewise.
2675 * gdb.ada/fun_addr.exp: Likewise.
2676 * gdb.ada/fun_in_declare.exp: Likewise.
2677 * gdb.ada/fun_overload_menu.exp: Likewise.
2678 * gdb.ada/fun_renaming.exp: Likewise.
2679 * gdb.ada/funcall_char.exp: Likewise.
2680 * gdb.ada/funcall_param.exp: Likewise.
2681 * gdb.ada/funcall_ptr.exp: Likewise.
2682 * gdb.ada/funcall_ref.exp: Likewise.
2683 * gdb.ada/homonym.exp: Likewise.
2684 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2685 * gdb.ada/info_auto_lang.exp: Likewise.
2686 * gdb.ada/info_exc.exp: Likewise.
2687 * gdb.ada/info_types.exp: Likewise.
2688 * gdb.ada/int_deref.exp: Likewise.
2689 * gdb.ada/interface.exp: Likewise.
2690 * gdb.ada/iwide.exp: Likewise.
2691 * gdb.ada/lang_switch.exp: Likewise.
2692 * gdb.ada/length_cond.exp: Likewise.
2693 * gdb.ada/maint_with_ada.exp: Likewise.
2694 * gdb.ada/mi_catch_assert.exp: Likewise.
2695 * gdb.ada/mi_catch_ex.exp: Likewise.
2696 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2697 * gdb.ada/mi_dyn_arr.exp: Likewise.
2698 * gdb.ada/mi_ex_cond.exp: Likewise.
2699 * gdb.ada/mi_exc_info.exp: Likewise.
2700 * gdb.ada/mi_interface.exp: Likewise.
2701 * gdb.ada/mi_prot.exp: Likewise.
2702 * gdb.ada/mi_ref_changeable.exp: Likewise.
2703 * gdb.ada/mi_string_access.exp: Likewise.
2704 * gdb.ada/mi_task_arg.exp: Likewise.
2705 * gdb.ada/mi_task_info.exp: Likewise.
2706 * gdb.ada/mi_var_array.exp: Likewise.
2707 * gdb.ada/mi_var_union.exp: Likewise.
2708 * gdb.ada/mi_variant.exp: Likewise.
2709 * gdb.ada/minsyms.exp: Likewise.
2710 * gdb.ada/mod_from_name.exp: Likewise.
2711 * gdb.ada/nested.exp: Likewise.
2712 * gdb.ada/null_array.exp: Likewise.
2713 * gdb.ada/optim_drec.exp: Likewise.
2714 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2715 * gdb.ada/packed_array_assign.exp: Likewise.
2716 * gdb.ada/packed_tagged.exp: Likewise.
2717 * gdb.ada/pp-rec-component.exp: Likewise.
2718 * gdb.ada/print_chars.exp: Likewise.
2719 * gdb.ada/print_pc.exp: Likewise.
2720 * gdb.ada/ptr_typedef.exp: Likewise.
2721 * gdb.ada/ptype_arith_binop.exp: Likewise.
2722 * gdb.ada/ptype_array.exp: Likewise.
2723 * gdb.ada/ptype_field.exp: Likewise.
2724 * gdb.ada/ptype_tagged_param.exp: Likewise.
2725 * gdb.ada/ptype_union.exp: Likewise.
2726 * gdb.ada/py_range.exp: Likewise.
2727 * gdb.ada/py_taft.exp: Likewise.
2728 * gdb.ada/rdv_wait.exp: Likewise.
2729 * gdb.ada/rec_comp.exp: Likewise.
2730 * gdb.ada/rec_return.exp: Likewise.
2731 * gdb.ada/ref_param.exp: Likewise.
2732 * gdb.ada/ref_tick_size.exp: Likewise.
2733 * gdb.ada/rename_subscript_param.exp: Likewise.
2734 * gdb.ada/repeat_dyn.exp: Likewise.
2735 * gdb.ada/same_component_name.exp: Likewise.
2736 * gdb.ada/same_enum.exp: Likewise.
2737 * gdb.ada/scalar_storage.exp: Likewise.
2738 * gdb.ada/set_wstr.exp: Likewise.
2739 * gdb.ada/small_reg_param.exp: Likewise.
2740 * gdb.ada/str_binop_equal.exp: Likewise.
2741 * gdb.ada/str_ref_cmp.exp: Likewise.
2742 * gdb.ada/str_uninit.exp: Likewise.
2743 * gdb.ada/sub_variant.exp: Likewise.
2744 * gdb.ada/sym_print_name.exp: Likewise.
2745 * gdb.ada/taft_type.exp: Likewise.
2746 * gdb.ada/tagged.exp: Likewise.
2747 * gdb.ada/tagged_access.exp: Likewise.
2748 * gdb.ada/task_bp.exp: Likewise.
2749 * gdb.ada/task_switch_in_core.exp: Likewise.
2750 * gdb.ada/tasks.exp: Likewise.
2751 * gdb.ada/tick_last_segv.exp: Likewise.
2752 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2753 * gdb.ada/type_coercion.exp: Likewise.
2754 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2755 * gdb.ada/unchecked_union.exp: Likewise.
2756 * gdb.ada/uninitialized_vars.exp: Likewise.
2757 * gdb.ada/var_arr_attrs.exp: Likewise.
2758 * gdb.ada/var_arr_typedef.exp: Likewise.
2759 * gdb.ada/var_rec_arr.exp: Likewise.
2760 * gdb.ada/variant-record.exp: Likewise.
2761 * gdb.ada/variant.exp: Likewise.
2762 * gdb.ada/variant_record_packed_array.exp: Likewise.
2763 * gdb.ada/varsize_limit.exp: Likewise.
2764 * gdb.ada/whatis_array_val.exp: Likewise.
2765 * gdb.ada/widewide.exp: Likewise.
2766 * gdb.ada/win_fu_syms.exp: Likewise.
2767
27682020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
2769
2770 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2771
10c381b5
AB
27722020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2773
2774 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2775 unset the array variable.
2776
8f34b746
TV
27772020-08-03 Tom de Vries <tdevries@suse.de>
2778
2779 PR symtab/26333
2780 * lib/dwarf.exp (DW_LNE_user): New proc.
2781 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2782 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2783
0245e136
KB
27842020-07-31 Kevin Buettner <kevinb@redhat.com>
2785
2786 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2787 to 'uintptr_t'
2788 (inttypes.h): Include.
2789
9ef1ec5d
KB
27902020-07-31 Kevin Buettner <kevinb@redhat.com>
2791
2792 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2793 (C5_24k): Delete.
2794 (C5_8k, C5_64k, C5_256k): New macros.
2795 (buf_ro): Allocate 256 KiB of initialized data.
2796
4c55e970
TBA
27972020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2798
2799 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2800 that attempt to overwrite an existing condition with a condition
2801 that fails parsing and also with a condition that parses fine
2802 but contains junk at the end.
2803
1e620590
TBA
28042020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2805
2806 * gdb.base/condbreak-bad.c: New test.
2807 * gdb.base/condbreak-bad.exp: New file.
2808
e12dcc50
TV
28092020-07-30 Tom de Vries <tdevries@suse.de>
2810
2811 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2812 out of ...
2813 (GDBInfoModuleSymbols::check_entry): ... here.
2814 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2815 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2816 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2817
6cc64caa
TV
28182020-07-30 Tom de Vries <tdevries@suse.de>
2819
2820 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2821 "__class_some_module_Number_t" optional.
2822
90fd07fc
TV
28232020-07-29 Tom de Vries <tdevries@suse.de>
2824
2825 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2826 multiple locations.
2827
f5c79e97
TV
28282020-07-29 Tom de Vries <tdevries@suse.de>
2829
2830 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2831 rather than function name.
2832
f75a0693
AB
28332020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2834
2835 PR symtab/26270:
2836 * gdb.cp/disasm-func-name.cc: New file.
2837 * gdb.cp/disasm-func-name.exp: New file.
2838
4888741a
TT
28392020-07-28 Tom Tromey <tromey@adacore.com>
2840
2841 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2842 'varval' location.
2843
43d5901d
AB
28442020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2845
2846 * gdb.python/py-unwind.py: Update to make use of a register
2847 descriptor.
2848
14fa8fb3
AB
28492020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2850
2851 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2852
e79eb02f
AB
28532020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2854
2855 PR fortran/23051
2856 PR fortran/26139
2857 * gdb.fortran/class-allocatable-array.exp: New file.
2858 * gdb.fortran/class-allocatable-array.f90: New file.
2859 * gdb.fortran/pointer-to-pointer.exp: New file.
2860 * gdb.fortran/pointer-to-pointer.f90: New file.
2861
876518dd
TV
28622020-07-25 Tom de Vries <tdevries@suse.de>
2863
2864 PR symtab/26243
2865 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2866 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2867
6dcfb80a
TV
28682020-07-24 Tom de Vries <tdevries@suse.de>
2869
2870 PR testsuite/26293
2871 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2872
e7bc9db8
PA
28732020-07-23 Pedro Alves <pedro@palves.net>
2874
2875 * gdb.server/server-kill.exp (prepare): New, factored out from the
2876 top level.
2877 (kill_server): New.
2878 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2879 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2880
78344df7
AB
28812020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2882
2883 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2884
25dfed24
SL
28852020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2886
2887 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2888 Initialize to empty string at top level.
2889 (gdb_wrapper_init): Revert check for file existence on build.
2890 Build the wrapper in its default place, not a build-specific
2891 location. When host == build, make the pathname absolute.
2892 (gdb_compile): Delete leftover declaration of
2893 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2894 string instead of uninitialized.
2895
7da515fd
KB
28962020-07-22 Kevin Buettner <kevinb@redhat.com>
2897
2898 * gdb.base/corefile2.exp: New file.
2899 * gdb.base/coremaker2.exp: New file.
2900
9c5ec5c2
KB
29012020-07-22 Kevin Buettner <kevinb@redhat.com>
2902
2903 * gdb.base/coredump-filter.exp: Add second
2904 non-Private-Shared-Anon-File test.
2905 (test_disasm): Rename binfile for test which is expected
2906 to fail.
2907
f9e233c9
KB
29082020-07-22 Kevin Buettner <kevinb@redhat.com>
2909
2910 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2911 data in core file".
2912 * gdb.base/coremaker.c (buf2ro): New global.
2913 (mmapdata): Add a read-only mmap mapping.
2914
94c265d7
KB
29152020-07-22 Kevin Buettner <kevinb@redhat.com>
2916
2917 PR corefiles/25631
2918 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2919 New test.
2920 * gdb.base/coremaker.c (buf3): New global.
2921 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2922 flags.
2923
29242020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
2925
2926 * gdb.base/coremaker.c (filler_ro): New global constant.
2927
32fa152e
TT
29282020-07-22 Tom Tromey <tromey@adacore.com>
2929
2930 * gdb.ada/mi_prot.exp: New file.
2931 * gdb.ada/mi_prot/pkg.adb: New file.
2932 * gdb.ada/mi_prot/pkg.ads: New file.
2933 * gdb.ada/mi_prot/prot.adb: New file.
2934
c8474dc3
TBA
29352020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2936
2937 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2938 loads two JITers.
2939
baf8791e
AB
29402020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2941
2942 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2943
f7306dac
AB
29442020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2945
2946 * gdb.python/py-arch-reg-names.exp: Additional tests.
2947
6d3d6e4b
TV
29482020-07-21 Tom de Vries <tdevries@suse.de>
2949
2950 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2951 breakpoint locations".
2952 * gdb.reverse/solib-reverse.exp: Same.
2953
803d0592
TV
29542020-07-21 Tom de Vries <tdevries@suse.de>
2955
2956 * gdb.reverse/step-reverse.c (callee): Merge statements.
2957
e9bdc510
TV
29582020-07-21 Tom de Vries <tdevries@suse.de>
2959
2960 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2961 line numbers for some variables.
2962
f0f9e75a
TV
29632020-07-21 Tom de Vries <tdevries@suse.de>
2964
2965 * gdb.opt/inline-locals.c (init_array): New func.
2966 (func1): Use init_array.
2967 * gdb.opt/inline-locals.exp: Update pattern.
2968
bd460ecb
TV
29692020-07-21 Tom de Vries <tdevries@suse.de>
2970
2971 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2972 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2973
ae5369e7
LC
29742020-07-20 Ludovic Courtès <ludo@gnu.org>
2975
2976 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2977 * gdb.guile/types-module.exp: Remove "ERROR:" from
2978 regexps since Guile 3.0 no longer prints that.
2979
68cf161c
LC
29802020-07-20 Ludovic Courtès <ludo@gnu.org>
2981
2982 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2983 error regexp to match on Guile 2.2.
2984
c14b4913
GB
29852020-07-20 Gary Benson <gbenson@redhat.com>
2986
2987 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2988 with clang.
2989
b243ba58
TV
29902020-07-20 Tom de Vries <tdevries@suse.de>
2991
2992 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2993 (omp_set_lock_in_order): New function.
2994 (single_scope, multi_scope, nested_func, nested_parallel): Use
2995 omp_set_lock_in_order and omp_unset_lock.
2996 (main): Init and destroy lock and lock2.
2997
c06ad8b5
TV
29982020-07-20 Tom de Vries <tdevries@suse.de>
2999
3000 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3001
6e22f117
TV
30022020-07-20 Tom de Vries <tdevries@suse.de>
3003
3004 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3005
33176ea7
TV
30062020-07-17 Tom de Vries <tdevries@suse.de>
3007
3008 * gdb.base/valgrind-infcall-2.c: New test.
3009 * gdb.base/valgrind-infcall-2.exp: New file.
3010 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3011
90c3ec2d
TV
30122020-07-17 Tom de Vries <tdevries@suse.de>
3013
3014 * gdb.dlang/circular.c (found): Use found_label as label name.
3015 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3016 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3017 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3018 * gdb.dwarf2/ada-linkage-name.exp: Same.
3019 * gdb.dwarf2/arr-subrange.exp: Same.
3020 * gdb.dwarf2/atomic-type.exp: Same.
3021 * gdb.dwarf2/comp-unit-lang.exp: Same.
3022 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3023 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3024 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3025 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3026 * gdb.dwarf2/implptr-64bit.exp: Same.
3027 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3028 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3029 * gdb.dwarf2/imported-unit.exp: Same.
3030 * gdb.dwarf2/main-subprogram.exp: Same.
3031 * gdb.dwarf2/missing-type-name.exp: Same.
3032 * gdb.dwarf2/nonvar-access.exp: Same.
3033 * gdb.dwarf2/struct-with-sig.exp: Same.
3034 * gdb.dwarf2/typedef-void-finish.exp: Same.
3035 * gdb.dwarf2/void-type.exp: Same.
3036
10da644d
TV
30372020-07-17 Tom de Vries <tdevries@suse.de>
3038
3039 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3040 src parameter.
3041 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3042 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3043 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3044 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3045 * gdb.dwarf2/dwz.exp: Same.
3046 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3047 * gdb.dwarf2/implref-array.exp: Same.
3048 * gdb.dwarf2/implref-const.exp: Same.
3049 * gdb.dwarf2/implref-global.exp: Same.
3050 * gdb.dwarf2/implref-struct.exp: Same.
3051 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3052 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3053 * gdb.dwarf2/var-access.exp: Same.
3054 * gdb.dwarf2/varval.exp: Same.
3055 * gdb.trace/entry-values.exp: Same.
3056
315e6afc
TV
30572020-07-17 Tom de Vries <tdevries@suse.de>
3058
3059 * lib/dwarf.exp (Dwarf::extern): Remove.
3060 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3061 * gdb.dlang/circular.exp: Same.
3062 * gdb.dwarf2/comp-unit-lang.exp: Same.
3063 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3064 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3065 * gdb.dwarf2/dwz.exp: Same.
3066 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3067 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3068 * gdb.dwarf2/imported-unit.exp: Same.
3069 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3070
5597c940
SL
30712020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3072
3073 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3074 Use double quotes instead of single quotes.
3075
d0ce17d8
CT
30762020-07-16 Caroline Tice <cmtice@google.com>
3077
3078 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3079 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3080
853772cc
TV
30812020-07-16 Tom de Vries <tdevries@suse.de>
3082
3083 * lib/dwarf.exp (program): Initialize _line.
3084 (DW_LNE_end_sequence): Reinitialize _line.
3085 (DW_LNS_advance_line): Update _line.
3086 (line): New proc.
3087 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3088 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3089 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3090 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3091 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3092 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3093
fe07b572
AB
30942020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3095
3096 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3097 generic.
3098
52781cce
TV
30992020-07-15 Tom de Vries <tdevries@suse.de>
3100
3101 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3102 is_amd64_regs_target.
3103
3dcc261c
AB
31042020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3105
3106 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3107 * gdb.fortran/ptype-on-functions.f90: Likewise.
3108
054a0959
SM
31092020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3110
3111 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3112 values in documentation for addr_size to 4 and 8.
3113
ccb9eba6
AB
31142020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3115
3116 * gdb.arch/amd64-osabi.exp: Update.
3117 * gdb.arch/arm-disassembler-options.exp: Update.
3118 * gdb.arch/powerpc-disassembler-options.exp: Update.
3119 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3120 * gdb.arch/s390-disassembler-options.exp: Update.
3121 * gdb.base/all-architectures.exp.tcl: Update.
3122 * gdb.base/attach-pie-noexec.exp: Update.
3123 * gdb.base/catch-syscall.exp: Update.
3124 * gdb.xml/tdesc-arch.exp: Update.
3125
025a39a7
TV
31262020-07-14 Tom de Vries <tdevries@suse.de>
3127
3128 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3129 (local_gettid): ... this.
3130 (fn): Update.
3131
74e4b667
SL
31322020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3133
3134 * gdb.base/info_sources.exp: Skip directory match tests on
3135 remote hosts.
3136
f413dd74
GB
31372020-07-13 Gary Benson <gbenson@redhat.com>
3138
3139 * gdb.base/savedregs.exp (caller): Use parentheses to
3140 make expected expression evaluation ordering explicit.
3141
915771bb
GB
31422020-07-13 Gary Benson <gbenson@redhat.com>
3143
3144 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3145
2a122642
GB
31462020-07-13 Gary Benson <gbenson@redhat.com>
3147
3148 * gdb.base/bigcore.c (main): Use a volatile pointer when
3149 attempting to trigger a SIGSEGV.
3150 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3151 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3152 * gdb.base/savedregs.c (thrower): Likewise.
3153 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3154
3f00c730
GB
31552020-07-13 Gary Benson <gbenson@redhat.com>
3156
3157 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3158 defining and using VLA structure fields into...
3159 * gdb.base/vla-struct-fields.c: New file.
3160 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3161 tests into...
3162 * gdb.base/vla-struct-fields.exp: New file.
3163
963eeee4
TV
31642020-07-13 Tom de Vries <tdevries@suse.de>
3165
3166 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3167 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3168 * gdb.base/gold-gdb-index.exp: Same.
3169 * gdb.base/morestack.exp: Same.
3170
0ed35c9a
DX
31712020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3172
3173 PR rust/26121
3174 * gdb.rust/modules.rs: Prevent linker from discarding test
3175 symbol.
3176
4fdba23d
PA
31772020-07-10 Pedro Alves <pedro@palves.net>
3178
3179 PR gdb/26199
3180 * gdb.multi/multi-target.c (exit_thread): New.
3181 (thread_start): Break loop if EXIT_THREAD.
3182 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3183 (top level) Call test_no_resumed.
3184
15f3b077
TT
31852020-07-08 Tom Tromey <tromey@adacore.com>
3186
3187 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3188 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3189
9fc501fd
AB
31902020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3191
3192 PR python/22748
3193 * gdb.opt/inline-frame-tailcall.c: New file.
3194 * gdb.opt/inline-frame-tailcall.exp: New file.
3195 * gdb.python/py-unwind-inline.c: New file.
3196 * gdb.python/py-unwind-inline.exp: New file.
3197 * gdb.python/py-unwind-inline.py: New file.
3198
64cb3757
AB
31992020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3200
3201 * gdb.python/py-arch-reg-groups.exp: New file.
3202
0f767f94
AB
32032020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3204
3205 * gdb.python/py-arch-reg-names.exp: New file.
3206
87dbc774
AB
32072020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3208
3209 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3210 gdb.PendingFrame.architecture method.
3211
d8cc8af6
TV
32122020-07-06 Tom de Vries <tdevries@suse.de>
3213
3214 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3215
3c8ea5be
PA
32162020-07-03 Pedro Alves <palves@redhat.com>
3217
3218 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3219 explicitly write negative numbers.
3220 * gdb.base/structs2.exp: Adjust expected output.
3221
bf90c83a
PA
32222020-07-03 Pedro Alves <palves@redhat.com>
3223
3224 * gdb.base/charset.c (init_string): Change all char parameters to
3225 unsigned char parameters.
3226
2eb82157
PA
32272020-07-03 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.base/call-sc.exp (start_scalars_test): Use
3230 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3231 * gdb.base/overlays.c: Remove references to PARAMS.
3232 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3233 * gdb.base/reread.exp: Don't set 'prototypes' global.
3234 * gdb.base/structs.exp (start_structs_test): Use
3235 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3236 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3237 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3238 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3239 call.
3240 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3241
9adda7af
PA
32422020-07-03 Pedro Alves <palves@redhat.com>
3243
3244 * gdb.base/m32rovly.c: Delete.
3245 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3246
2a17c803
PW
32472020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3248
3249 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3250 of gdb_py_test_multiple.
3251 * gdb.python/py-cmd.exp: Likewise.
3252 * gdb.python/py-events.exp: Likewise.
3253 * gdb.python/py-function.exp: Likewise.
3254 * gdb.python/py-inferior.exp: Likewise.
3255 * gdb.python/py-infthread.exp: Likewise.
3256 * gdb.python/py-linetable.exp: Likewise.
3257 * gdb.python/py-parameter.exp: Likewise.
3258 * gdb.python/py-value.exp: Likewise.
3259
b011fe1a
TV
32602020-06-30 Tom de Vries <tdevries@suse.de>
3261
3262 PR testsuite/26175
3263 * lib/future.exp (gdb_default_target_compile): Detect and handle
3264 early_flags.
3265
df5b8876
SM
32662020-06-29 Simon Marchi <simon.marchi@efficios.com>
3267
3268 * boards/simavr.exp (gdb_load): Catch errors when closing
3269 previous connection. Close connection, wait for process and
3270 unset simavr_spawn_id on failure.
3271
a3ca48cd
TV
32722020-06-29 Tom de Vries <tdevries@suse.de>
3273
3274 * lib/gdb.exp (unknown): Make test-case unresolved.
3275
b0237c0e
TV
32762020-06-29 Tom de Vries <tdevries@suse.de>
3277
3278 PR gdb/25475
3279 * gdb.server/solib-list.exp: Verify that the symbol reload
3280 confirmation question is asked.
3281
c0b3b3bd
PW
32822020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3283
3284 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3285 have a input seq nr in each pass message.
fe4c3d43 3286 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
3287 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3288 * gdb.python/python.exp: Make test names unique,
3289 use gdb_test_multiline instead of gdb_py_test_multiple,
3290 use $gdb_test_name.
3291 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3292
1776e3e5
NA
32932020-06-26 Nick Alcock <nick.alcock@oracle.com>
3294
3295 * configure.ac: Add --enable-libctf.
3296 * aclocal.m4: sinclude ../config/enable.m4.
3297 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3298 * lib/gdb.exp (skip_ctf_tests): Use it.
3299 * gdb.base/ctf-constvars.exp: Error message tweak.
3300 * gdb.base/ctf-ptype.exp: Likewise.
3301 * configure: Regenerate.
3302
f53b3eeb
GB
33032020-06-26 Gary Benson <gbenson@redhat.com>
3304
3305 * gdb.cp/try_catch.cc: Include string.h.
3306 (main): Replace comparison against string literal with
3307 strcmp, avoiding build failure with -Wstring-compare.
3308 Add "marker test-complete".
3309 * gdb.cp/try_catch.exp: Run the test to the above marker,
3310 then verify that the value of "test" is still true.
3311
6d74da72
AB
33122020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3313
3314 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3315
2e52d038
AB
33162020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3317
3318 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3319
3b9fce96
AB
33202020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3321
3322 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3323 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3324 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3325 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3326 * gdb.arch/riscv-tdesc-loading.exp: New file.
3327
ed69cbc8
AB
33282020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3329
3330 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3331
767a879e
AB
33322020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3333
3334 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3335 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3336 * gdb.arch/riscv-tdesc-regs.c: New file.
3337 * gdb.arch/riscv-tdesc-regs.exp: New file.
3338
221db974
PA
33392020-06-24 Pedro Alves <palves@redhat.com>
3340
3341 * gdb.arch/amd64-entry-value-paramref.exp: Use
3342 prepare_for_testing_full and don't pass "c++" for the .S file
3343 build spec.
3344 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3345 $options, since it's an assembly file. Remove -Wno-deprecated.
3346 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3347 compiling C++ programs.
3348
331733cd
PA
33492020-06-24 Pedro Alves <palves@redhat.com>
3350
3351 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3352 Clang, add "-Wno-unknown-warning-option" to the options.
3353
caa7fd04
AB
33542020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3355
3356 * gdb.xml/tdesc-reload.c: New file.
3357 * gdb.xml/tdesc-reload.exp: New file.
3358 * gdb.xml/maint-xml-dump-01.xml: New file.
3359 * gdb.xml/maint-xml-dump-02.xml: New file.
3360 * gdb.xml/maint-xml-dump.exp: New file.
3361
bb8d1260
SL
33622020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3363
3364 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3365 Adjust for omitted commands when TUI is disabled.
3366
7e4b9c4c
GB
33672020-06-23 Gary Benson <gbenson@redhat.com>
3368 Pedro Alves <palves@redhat.com>
3369
3370 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3371 * gdb.cp/nsimport.cc: Likewise.
3372 * gdb.cp/nsnested.cc: Likewise.
3373 * gdb.cp/nsnoimports.cc: Likewise.
3374 * gdb.cp/nsusing.cc: Likewise.
3375 * gdb.cp/smartp.cc: Likewise.
3376 * gdb.python/py-pp-integral.c: Likewise.
3377 * gdb.python/py-pp-re-notag.c: Likewise.
3378
2e573c0a
GB
33792020-06-23 Gary Benson <gbenson@redhat.com>
3380
3381 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3382 * gdb.cp/nsimport.cc: Likewise.
3383 * gdb.cp/nsnested.cc: Likewise.
3384 * gdb.cp/nsnoimports.cc: Likewise.
3385 * gdb.cp/nsusing.cc: Likewise.
3386 * gdb.cp/smartp.cc: Likewise.
3387 * gdb.python/py-pp-integral.c: Likewise.
3388 * gdb.python/py-pp-re-notag.c: Likewise.
3389
746ebfe8
PW
33902020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3391
3392 * gdb.base/default-args.exp: New test.
3393 * gdb.base/default-args.c: New file.
3394 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3395 * gdb.base/default.exp: Update to new help text.
3396 * gdb.base/help.exp: Likewise.
3397 * gdb.base/page.exp: Likewise.
3398 * gdb.base/style.exp: Likewise.
3399 * gdb.guile/guile.exp: Likewise.
3400 * gdb.python/python.exp: Likewise.
3401
e822f2cd
SL
34022020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3403
3404 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3405 remote host. Fix search path syntax on Windows host.
3406
48e9cc84
PW
34072020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3408
3409 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3410 over 'exec-file-mismatch'.
3411 * gdb.base/attach.c: Mark should_exit volatile.
3412 * gdb.base/attach2.c: Likewise. Add a comment explaining
3413 why the sleep cannot be big.
3414 * gdb.base/attach3.c: New file.
3415
160f8a8f
SL
34162020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3417
3418 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3419 prefix optional.
3420
4d91c2a4
SL
34212020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3422
3423 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3424 for remote host.
3425
87f83f20
SL
34262020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3427 Hafiz Abid Qadeer <abidh@codesourcery.com>
3428
3429 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3430 file sent to remote host.
3431 (top level): Allow int32_t as type of 32-bit register.
3432
37ab8655
TV
34332020-06-19 Tom de Vries <tdevries@suse.de>
3434
3435 * lib/gdb.exp (gdb_note): New proc.
3436 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3437 (gdb_default_target_compile): ... here. Only call
3438 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3439 (use_gdb_compile): Change to array.
3440 (toplevel): Update sets of use_gdb_compile to specify language.
3441 Warn about default_target_compile override. Store dejagnu's version
3442 of default_target_compile in dejagnu_default_target_compile.
3443
a8a56685
TV
34442020-06-18 Tom de Vries <tdevries@suse.de>
3445
3446 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3447 (default_gdb_init): ... here.
3448
581bea2c
SL
34492020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3450
3451 Fix TUI support checks in gdb.tui tests.
3452
3453 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3454 just say UNSUPPORTED.
3455 * gdb.tui/corefile-run.exp: Likewise.
3456 * gdb.tui/empty.exp: Likewise.
3457 * gdb.tui/list-before.exp: Likewise.
3458 * gdb.tui/list.exp: Likewise.
3459 * gdb.tui/main.exp: Likewise.
3460 * gdb.tui/regs.exp: Likewise.
3461 * gdb.tui/resize.exp: Likewise.
3462 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3463 * gdb.tui/tui-layout-asm.exp: Likewise.
3464 * gdb.tui/tui-missing-src.exp: Likewise.
3465 * gdb.tui/winheight.exp: Likewise.
3466 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3467
05e682e3
SL
34682020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3469
3470 Fix TCL error in gdb.python/py-format-string.exp.
3471
3472 * gdb.python/py-format-string.exp: Move test for python support
3473 earlier, out of function body.
3474
efb763a5
SM
34752020-06-15 Simon Marchi <simon.marchi@efficios.com>
3476
3477 * gdb.base/index-cache-load-twice.c: New.
3478 * gdb.base/index-cache-load-twice.exp: New.
3479
43327b20
KS
34802020-06-17 Keith Seitz <keiths@redhat.com>
3481
99cf27cf 3482 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
3483 when executing "gdb --configuration".
3484
081e778c
TV
34852020-06-17 Tom de Vries <tdevries@suse.de>
3486
3487 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3488 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3489 conditional on presence of gdb_tcl_unknown.
3490 (gdb_finish): Make override undo conditional on presence of
3491 gdb_tcl_unknown.
3492
d2d1ea20
TT
34932020-06-16 Tom Tromey <tom@tromey.com>
3494
3495 * gdb.python/tui-window.py (failwin): New function. Register it
3496 as a TUI window type.
3497 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3498
c802e8a7
GB
34992020-06-16 Gary Benson <gbenson@redhat.com>
3500
3501 * gdb.python/py-nested-maps.c (create_map): Add missing return
3502 value.
3503 (create_map_map): Likewise.
3504
ff08abb8
TBA
35052020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3506
3507 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3508 variable.
3509 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3510 and use the already-defined 'options' variable.
3511
a29d5112
AB
35122020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3513 Tom de Vries <tdevries@suse.de>
3514
3515 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3516 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3517 (gdb_setup_known_globals): New proc.
3518 (gdb_cleanup_globals): New proc.
3519 * lib/gdb.exp (load_lib): New override proc.
3520 (gdb_stdin_log_init): Set var in_file as persistent global.
3521 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3522 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3523 fpc_compiler as persistent global.
3524
8c74a764
TV
35252020-06-12 Tom de Vries <tdevries@suse.de>
3526
3527 * lib/tuiterm.exp (spawn): Rename to ...
3528 (tui_spawn): ... this.
3529 (toplevel): Move rename of spawn ...
3530 (gdb_init_tuiterm): ... here. New proc.
3531 (gdb_finish_tuiterm): New proc.
3532 * lib/gdb.exp (gdb_finish_hooks): New global var.
3533 (gdb_finish): Handle gdb_finish_hooks.
3534 (tuiterm_env): New proc.
3535 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3536 tuiterm_env.
3537 * gdb.tui/basic.exp: Same.
3538 * gdb.tui/corefile-run.exp: Same.
3539 * gdb.tui/empty.exp: Same.
3540 * gdb.tui/list-before.exp: Same.
3541 * gdb.tui/list.exp: Same.
3542 * gdb.tui/main.exp: Same.
3543 * gdb.tui/new-layout.exp: Same.
3544 * gdb.tui/regs.exp: Same.
3545 * gdb.tui/resize.exp: Same.
3546 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3547 * gdb.tui/tui-layout-asm.exp: Same.
3548 * gdb.tui/tui-missing-src.exp: Same.
3549 * gdb.tui/winheight.exp: Same.
3550
26783bce
TV
35512020-06-12 Tom de Vries <tdevries@suse.de>
3552
3553 PR testsuite/26110
3554 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3555 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3556
2b4e6a3f
TT
35572020-06-11 Tom Tromey <tom@tromey.com>
3558
3559 PR gdb/18318:
3560 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3561 floating point tests.
3562
2f33032a
KS
35632020-06-11 Keith Seitz <keiths@redhat.com>
3564
3565 PR gdb/21356
3566 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3567 vla_struct.
3568 Add new struct vla_typedef and union vla_typedef_union and
3569 corresponding instantiation objects.
3570 Initialize new objects.
3571 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3572 and vla_typedef_union_object.
3573 Fixup type for vla_struct_object.
3574
a8baf0a3
TV
35752020-06-11 Tom de Vries <tdevries@suse.de>
3576
3577 * lib/gdb.exp (with_override): New proc, factored out of ...
3578 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3579
7ab96794
TV
35802020-06-10 Tom de Vries <tdevries@suse.de>
3581
3582 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3583
cab5c3b7
SM
35842020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3585
3586 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3587 parameter, update callers.
3588
f8c41851
SM
35892020-06-04 Simon Marchi <simon.marchi@efficios.com>
3590
3591 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3592 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3593 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3594
1c07a73f
TV
35952020-06-04 Tom de Vries <tdevries@suse.de>
3596
3597 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3598
95146b5d
TV
35992020-06-04 Tom de Vries <tdevries@suse.de>
3600
3601 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3602 exp_continue.
3603
0cfcd4f0
TV
36042020-06-04 Tom de Vries <tdevries@suse.de>
3605
3606 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3607
f9b5d5ea
TV
36082020-06-03 Tom de Vries <tdevries@suse.de>
3609
3610 PR symtab/26046
3611 * gdb.cp/breakpoint-locs-2.cc: New test.
3612 * gdb.cp/breakpoint-locs.cc: New test.
3613 * gdb.cp/breakpoint-locs.exp: New file.
3614 * gdb.cp/breakpoint-locs.h: New test.
3615
5144dfba
TV
36162020-06-03 Tom de Vries <tdevries@suse.de>
3617
3618 PR testsuite/25609
3619 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3620 value of global verbose.
3621 * gdb.base/jit-elf.exp: Same.
3622 * gdb.base/jit-reader.exp: Same.
3623
621eacdf
TV
36242020-06-02 Tom de Vries <tdevries@suse.de>
3625
3626 * gdb.dwarf2/multidictionary.exp: Don't use
3627 gdb_spawn_with_cmdline_opts.
3628
1313c56e
AB
36292020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3630
3631 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3632 use_header case.
3633 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3634 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3635 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3636 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3637 * gdb.dwarf2/dw2-inline-header.c: New file.
3638 * gdb.dwarf2/dw2-inline-header.h: New file.
3639
f68f85b5
PA
36402020-05-30 Pedro Alves <palves@redhat.com>
3641
3642 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3643 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3644
678048e8
GB
36452020-05-29 Gary Benson <gbenson@redhat.com>
3646
3647 * gdb.compile/compile-cplus.exp (additional_flags): Also
3648 set when building with clang.
3649 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3650 when building with clang.
3651
9fcafd23
GB
36522020-05-29 Gary Benson <gbenson@redhat.com>
3653
3654 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3655 building with clang.
3656 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3657
735d5a07
GB
36582020-05-29 Gary Benson <gbenson@redhat.com>
3659
3660 * gdb.cp/koenig.exp (prepare_for_testing): Add
3661 additional_flags=-Wno-unused-comparison.
3662 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3663
4ad2c6a0
GB
36642020-05-28 Gary Benson <gbenson@redhat.com>
3665
3666 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3667 statement.
3668
09fe663e
GB
36692020-05-28 Gary Benson <gbenson@redhat.com>
3670
3671 * gdb.cp/classes.exp (prepare_for_testing): Add
3672 additional_flags=-Wno-deprecated-register.
3673 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3674 * gdb.cp/misc.exp: Likewise.
3675
cee00f17
GB
36762020-05-28 Gary Benson <gbenson@redhat.com>
3677
3678 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3679 (test_op_new::operator new): Add return statement.
3680 (test_op_new_array::operator new[]): Likewise.
3681
636edd00
PA
36822020-05-27 Pedro Alves <palves@redhat.com>
3683
3684 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3685 check. Use test_gdb_complete_unique instead of
3686 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3687 test_gdb_complete_multiple instead of
3688 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3689
c2b75043
LM
36902020-05-27 Luis Machado <luis.machado@linaro.org>
3691
3692 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3693 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3694 * gdb.arch/arm-disassembler-options.exp: Likewise.
3695 * gdb.arch/arm-disp-step.exp: Likewise.
3696 * gdb.arch/thumb-prologue.exp: Likewise.
3697 * gdb.base/async.exp: Likewise.
3698 * gdb.base/auxv.exp: Likewise.
3699 * gdb.base/complex-parts.exp: Likewise.
3700 * gdb.base/ena-dis-br.exp: Likewise.
3701 * gdb.base/foll-exec.exp: Likewise.
3702 * gdb.base/permissions.exp: Likewise.
3703 * gdb.base/relocate.exp: Likewise.
3704 * gdb.base/return2.exp: Likewise.
3705 * gdb.base/sigbpt.exp: Likewise.
3706 * gdb.base/siginfo-obj.exp: Likewise.
3707 * gdb.cp/converts.exp: Likewise.
3708 * gdb.cp/exceptprint.exp: Likewise.
3709 * gdb.cp/inherit.exp: Likewise.
3710 * gdb.cp/nsnoimports.exp: Likewise.
3711 * gdb.cp/virtbase2.exp: Likewise.
3712 * gdb.mi/mi-var-cmd.exp: Likewise.
3713 * gdb.mi/var-cmd.c: Likewise.
3714
53a47a3e
TT
37152020-05-26 Tom Tromey <tromey@adacore.com>
3716
3717 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3718
0bc2354b
TT
37192020-05-26 Tom Tromey <tromey@adacore.com>
3720
3721 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3722 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3723 type.
3724 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3725 variable.
3726
0db49895
CBG
37272020-05-26 Christian Biesinger <cbiesinger@google.com>
3728
3729 * Makefile.in: Use = instead of == for the test command
3730 for portability.
3731
40d22035
TV
37322020-05-26 Tom de Vries <tdevries@suse.de>
3733
3734 * gdb.base/gold-gdb-index-2.c: New test.
3735 * gdb.base/gold-gdb-index.c: New test.
3736 * gdb.base/gold-gdb-index.exp: New file.
3737 * gdb.base/gold-gdb-index.h: New test.
3738
043e2e02
TV
37392020-05-25 Tom de Vries <tdevries@suse.de>
3740
3741 * boards/gold-gdb-index.exp: New file.
3742
462f72c5
SM
37432020-05-25 Simon Marchi <simon.marchi@efficios.com>
3744
3745 * boards/simavr.exp: New file.
3746
6cf66e76
SM
37472020-05-25 Simon Marchi <simon.marchi@efficios.com>
3748
3749 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3750 * gdb.base/inferior-args.exp: New file.
3751 * gdb.base/inferior-args.c: New file.
3752
75d04512
SM
37532020-05-25 Simon Marchi <simon.marchi@efficios.com>
3754
3755 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3756 inferior_args. Pass it to gdb_reload.
3757 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3758 inferior_args.
3759 (gdb_reload): Add inferior_args argument.
3760 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3761 pass it to gdbserver_run.
3762 * boards/native-gdbserver.exp: Do not set noargs.
3763 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3764 inferior_args argument.
3765 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3766 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3767 * gdb.base/args.exp: Likewise.
3768
42cf1844
TV
37692020-05-25 Tom de Vries <tdevries@suse.de>
3770
3771 * lib/gdb.exp (exec_is_pie): Add comment.
3772
8f7d38ef
TV
37732020-05-25 Tom de Vries <tdevries@suse.de>
3774
3775 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3776 instead of $binfile in the untested message.
3777
465e1b0f
TV
37782020-05-25 Tom de Vries <tdevries@suse.de>
3779
3780 PR testsuite/26031
3781 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3782
3c5a0e02
TV
37832020-05-25 Tom de Vries <tdevries@suse.de>
3784
3785 * boards/gold.exp: New file.
3786
0a4f5f8c
TT
37872020-05-23 Tom Tromey <tom@tromey.com>
3788
3789 * gdb.base/style.exp: Remove completion styling test.
3790 * lib/gdb-utils.exp (style): Remove completion styles.
3791
eca1f90c
TT
37922020-05-23 Tom Tromey <tom@tromey.com>
3793
3794 * gdb.base/style.exp: Add completion styling test.
3795 * lib/gdb-utils.exp (style): Add completion styles.
3796
7c13f4e8
AB
37972020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3798
3799 * gdb.base/annota1.exp: Update expected results.
3800 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3801 test name.
3802 * gdb.cp/annota3.exp: Update expected results.
3803
41977d16
SM
38042020-05-20 Simon Marchi <simon.marchi@efficios.com>
3805
3806 PR gdb/26016
3807 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3808 against MAP_FAILED.
3809 * gdb.base/coremaker.c (mmapdata): Likewise.
3810 * gdb.base/jit-reader-host.c (main): Likewise.
3811 * gdb.base/sym-file-loader.c (load): Likewise.
3812 (load_shlib): Likewise.
3813
b4757f2e
TT
38142020-05-20 Tom Tromey <tromey@adacore.com>
3815
3816 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3817
9a0bacfb
TV
38182020-05-20 Tom de Vries <tdevries@suse.de>
3819
3820 PR symtab/25833
3821 * gdb.base/with-mf-inc.c: New test.
3822 * gdb.base/with-mf-main.c: New test.
3823 * gdb.base/with-mf.exp: New file.
3824
76571211
TT
38252020-05-19 Tom Tromey <tromey@adacore.com>
3826
3827 * gdb.rust/simple.exp: Restore missing test result.
3828
4cd9f3d5
TV
38292020-05-19 Tom de Vries <tdevries@suse.de>
3830
3831 * gdb.base/gdb-caching-proc.exp: Fix typo.
3832
7d874253
TT
38332020-05-19 Tom Tromey <tromey@adacore.com>
3834
3835 * gdb.rust/simple.exp: Add some test descriptions.
3836 (test_one_slice): Use with_test_prefix.
3837
1d727695
TV
38382020-05-18 Tom de Vries <tdevries@suse.de>
3839
3840 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3841
7f32a4d5
PA
38422020-05-17 Pedro Alves <palves@redhat.com>
3843
3844 PR gdb/25741
3845 * gdb.base/hw-sw-break-same-address.exp: New file.
3846
7cfd74cf
PA
38472020-05-16 Pedro Alves <palves@redhat.com>
3848
3849 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3850 LAST_LOADED_FILE accordingly.
3851
57b4f16e
PW
38522020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3853
3854 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3855
7c05caf7
PW
38562020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3857
3858 * gdb.base/help.exp: Test apropos and help for commands
3859 having aliases. Fixed comments not starting with an
3860 upper-case letter or not finishing with a dot.
3861
7aa1b46f
PW
38622020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3863
3b3aaacb
PW
3864 * gdb.base/alias.exp: Update help output check.
3865
57b4f16e 38662020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 3867
7aa1b46f
PW
3868 * gdb.base/default.exp: Update output following fixes.
3869
0605465f
PW
38702020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3871
3872 * gdb.base/alias.exp: Test aliases starting with a prefix of
3873 another alias.
3874
86e4e63d
GB
38752020-05-15 Gary Benson <gbenson@redhat.com>
3876
3877 * gdb.base/info-os.c (main): Add return statement.
3878 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3879 * gdb.base/large-frame-2.c (func): Likewise.
3880 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3881 * gdb.base/pr10179-b.c (foo2): Likewise.
3882 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3883 * gdb.base/watch-cond.c (func): Likewise.
3884 * gdb.multi/goodbye.c (verylongfun): Likewise.
3885 * gdb.multi/hello.c (commonfun): Likewise.
3886 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3887 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3888 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3889 Likewise.
3890 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3891 * gdb.threads/interrupt-while-step-over.c (child_function):
3892 Likewise.
3893 * gdb.trace/actions-changed.c (end): Likewise.
3894
163df4df
GB
38952020-05-15 Gary Benson <gbenson@redhat.com>
3896
3897 * gdb.opencl/callfuncs.exp: Report when test skipped.
3898 * gdb.opencl/convs_casts.exp: Likewise.
3899 * gdb.opencl/datatypes.exp: Likewise.
3900 * gdb.opencl/operators.exp: Likewise.
3901 * gdb.opencl/vec_comps.exp: Likewise.
3902
6dbc505a
TV
39032020-05-15 Tom de Vries <tdevries@suse.de>
3904
3905 * gdb.base/align.exp.in: Rename to ...
3906 * gdb.base/align.exp.tcl: ... this.
3907 * gdb.base/align-c++.exp: Update.
3908 * gdb.base/align-c.exp: Update.
3909 * gdb.base/all-architectures.exp.in: Rename to ...
3910 * gdb.base/all-architectures.exp: ... this.
3911 * gdb.base/all-architectures-0.exp: Update.
3912 * gdb.base/all-architectures-1.exp: Update.
3913 * gdb.base/all-architectures-2.exp: Update.
3914 * gdb.base/all-architectures-3.exp: Update.
3915 * gdb.base/all-architectures-4.exp: Update.
3916 * gdb.base/all-architectures-5.exp: Update.
3917 * gdb.base/all-architectures-6.exp: Update.
3918 * gdb.base/all-architectures-7.exp: Update.
3919 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3920 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3921 * gdb.base/infcall-nested-structs-c++.exp: Update.
3922 * gdb.base/infcall-nested-structs-c.exp: Update.
3923 * gdb.base/info-types.exp.in: Rename to ...
3924 * gdb.base/info-types.exp.tcl: ... this.
3925 * gdb.base/info-types-c++.exp: Update.
3926 * gdb.base/info-types-c.exp: Update.
3927 * gdb.base/max-depth.exp.in: Rename to ...
3928 * gdb.base/max-depth.exp.tcl: ... this.
3929 * gdb.base/max-depth-c++.exp: Update.
3930 * gdb.base/max-depth-c.exp: Update.
3931 * gdb.cp/cpexprs.exp.in: Rename to ...
3932 * gdb.cp/cpexprs.exp.tcl: ... this.
3933 * gdb.cp/cpexprs-debug-types.exp: Update.
3934 * gdb.cp/cpexprs.exp: Update.
3935 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3936 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3937 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3938 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3939 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3940 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3941 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3942 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3943 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3944 * gdb.dwarf2/clang-debug-names.exp: Update.
3945
d1034d78
AB
39462020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3947
3948 * lib/check-test-names.exp: Remove code that prevents this file
3949 loading when tests are run in parallel.
3950
3c5c3649
PA
39512020-05-15 Pedro Alves <palves@redhat.com>
3952
3953 * gdb.multi/multi-kill.exp (start_inferior): Remove
3954 'testpid' parameter. Refer to namespace variable directly.
3955 (testpid): Declare as namespace variable.
3956
272c36b8
PA
39572020-05-15 Pedro Alves <palves@redhat.com>
3958
3959 * gdb.multi/multi-kill.exp: Wrap in namespace.
3960 (start_inferior): Add TESTPID parameter. Use it instead of the
3961 testpid global.
3962 (top level): Define empty TESTPID array, and pass it down to
3963 start_inferior.
3964
02eba61a
TV
39652020-05-14 Tom de Vries <tdevries@suse.de>
3966
3967 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3968 output.
3969
971a3747
TV
39702020-05-14 Tom de Vries <tdevries@suse.de>
3971
3972 * gdb.base/align.exp: Split into ...
3973 * gdb.base/align.exp.in: ...
3974 * gdb.base/align-c++.exp: ...
3975 * gdb.base/align-c.exp: ... these.
3976 * gdb.base/infcall-nested-structs.exp: Split into ...
3977 * gdb.base/infcall-nested-structs.exp.in: ...
3978 * gdb.base/infcall-nested-structs-c++.exp: ...
3979 * gdb.base/infcall-nested-structs-c.exp: ... these.
3980 * gdb.base/info-types.exp: Split into ...
3981 * gdb.base/info-types.exp.in: ...
3982 * gdb.base/info-types-c++.exp: ...
3983 * gdb.base/info-types-c.exp: ... these.
3984 * gdb.base/max-depth.exp: Split into ...
3985 * gdb.base/max-depth.exp.in: ...
3986 * gdb.base/max-depth-c++.exp: ...
3987 * gdb.base/max-depth-c.exp: ... these.
3988 * gdb.cp/infcall-nodebug.exp: Split into ...
3989 * gdb.cp/infcall-nodebug.exp.in: ...
3990 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3991 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3992 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3993 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3994
a05575d3
TBA
39952020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3996 Pedro Alves <palves@redhat.com>
3997
3998 * gdb.multi/multi-exit.c: New file.
3999 * gdb.multi/multi-exit.exp: New file.
4000 * gdb.multi/multi-kill.c: New file.
4001 * gdb.multi/multi-kill.exp: New file.
4002
6ad82919
TBA
40032020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4004
4005 * gdb.base/annota1.exp: Update the expected output.
4006 * gdb.cp/annota2.exp: Ditto.
4007
843f4d93
AB
40082020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4009
4010 * lib/check-test-names.exp: Disable when testing is being run in
4011 parallel.
4012
c7c66341
TV
40132020-05-12 Tom de Vries <tdevries@suse.de>
4014
4015 * gdb.base/jit-elf.exp: Fix string concat.
4016
1b59ca1c
TV
40172020-05-12 Tom de Vries <tdevries@suse.de>
4018
4019 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4020 messages.
4021
b4991d29
TV
40222020-05-12 Tom de Vries <tdevries@suse.de>
4023
4024 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4025
dbb0ab10
TV
40262020-05-12 Tom de Vries <tdevries@suse.de>
4027
4028 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4029 * gdb.ada/mi_catch_ex.exp: Same.
4030 * gdb.ada/mi_catch_ex_hand.exp: Same.
4031
7549fed8
TV
40322020-05-12 Tom de Vries <tdevries@suse.de>
4033
4034 * gdb.fortran/complex.exp: Use with_test_prefix.
4035
af2d5cd8
TV
40362020-05-12 Tom de Vries <tdevries@suse.de>
4037
4038 * gdb.trace/passcount.exp: Fix test-names.
4039
7c121311
TV
40402020-05-12 Tom de Vries <tdevries@suse.de>
4041
4042 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4043
c9f3b40e
TV
40442020-05-12 Tom de Vries <tdevries@suse.de>
4045
4046 * gdb.gdb/complaints.exp: Use with_test_prefix.
4047 * gdb.xml/tdesc-regs.exp: Same.
4048 * gdb.opt/inline-locals.exp: Fix test name.
4049
111b33f0
TV
40502020-05-12 Tom de Vries <tdevries@suse.de>
4051
4052 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4053 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4054 * gdb.dwarf2/implref-struct.exp: Same.
4055 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4056 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4057
ebf47080
SM
40582020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4059
4060 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4061
d30dcd12
AB
40622020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4063
4064 * lib/check-test-names.exp (all_test_names): New module variable.
4065 (counts): Add 'duplicates' field.
4066 (_check_duplicates): New procedure.
4067 (check): Also check for duplicates.
4068 (do_log_summary): Print duplicates count.
4069 (do_reset_vars): Reset counter for duplicate test names, and
4070 discard all know test names.
4071
34584c09
AB
40722020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4073
4074 * lib/gdb.exp: Include check-test-names.exp library.
4075 * lib/check-test-names.exp: New file.
4076
e0002117
TV
40772020-05-11 Tom de Vries <tdevries@suse.de>
4078
4079 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4080
53f539a3
KS
40812020-05-11 Keith Seitz <keiths@redhat.com>
4082
4083 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4084
113ee09a
TV
40852020-05-11 Tom de Vries <tdevries@suse.de>
4086
4087 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4088 * gdb.cp/cpexprs.exp.in: .. here.
4089 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4090 cpexprs.exp.
4091
ba3e70b0
KS
40922020-05-11 Keith Seitz <keiths@redhat.com>
4093
4094 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4095 test names.
4096 * gdb.ada/arrayptr.exp: Likewise.
4097 * gdb.ada/assign_arr.exp: Likewise.
4098 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4099 * gdb.ada/bp_on_var.exp: Likewise.
4100 * gdb.ada/call_pn.exp: Likewise.
4101 * gdb.ada/complete.exp: Likewise.
4102 * gdb.ada/fun_overload_menu.exp: Likewise.
4103 * gdb.ada/funcall_param.exp: Likewise.
4104 * gdb.ada/funcall_ref.exp: Likewise.
4105 * gdb.ada/packed_array_assign.exp: Likewise.
4106 * gdb.ada/same_component_name.exp: Likewise.
4107 * gdb.ada/type_coercion.exp: Likewise.
4108 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4109 * gdb.ada/variant_record_packed_array.exp: Likewise.
4110
3ee6bb11
TV
41112020-05-11 Tom de Vries <tdevries@suse.de>
4112
4113 PR symtab/25941
4114 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4115 out of ...
4116 * gdb.dwarf2/clang-debug-names.exp: ... here.
4117 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4118 clang-debug-names.exp.in.
4119 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4120 * gdb.dwarf2/clang-debug-names-2.c: New test.
4121
86cd6bc8
AKS
41222020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4123
4124 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4125 (fortran_runto_main): New Proc, fortran version of runto_main.
4126 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4127 * gdb.fortran/array-bounds.exp: Likewise.
4128 * gdb.fortran/array-slices.exp: Likewise.
4129 * gdb.fortran/block-data.exp: Likewise.
4130 * gdb.fortran/charset.exp: Likewise.
4131 * gdb.fortran/common-block.exp: Likewise.
4132 * gdb.fortran/complex.exp: Likewise.
4133 * gdb.fortran/derived-type-function.exp: Likewise.
4134 * gdb.fortran/derived-type.exp: Likewise.
4135 * gdb.fortran/info-modules.exp: Likewise.
4136 * gdb.fortran/info-types.exp: Likewise.
4137 * gdb.fortran/intrinsics.exp: Likewise.
4138 * gdb.fortran/library-module.exp: Likewise.
4139 * gdb.fortran/logical.exp: Likewise.
4140 * gdb.fortran/max-depth.exp: Likewise.
4141 * gdb.fortran/module.exp: Likewise.
4142 * gdb.fortran/multi-dim.exp: Likewise.
4143 * gdb.fortran/nested-funcs.exp: Likewise.
4144 * gdb.fortran/print-formatted.exp: Likewise.
4145 * gdb.fortran/print_type.exp: Likewise.
4146 * gdb.fortran/printing-types.exp: Likewise.
4147 * gdb.fortran/ptr-indentation.exp: Likewise.
4148 * gdb.fortran/ptype-on-functions.exp: Likewise.
4149 * gdb.fortran/subarray.exp: Likewise.
4150 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4151 * gdb.fortran/vla-datatypes.exp: Likewise.
4152 * gdb.fortran/vla-history.exp: Likewise.
4153 * gdb.fortran/vla-ptr-info.exp: Likewise.
4154 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4155 * gdb.fortran/vla-ptype.exp: Likewise.
4156 * gdb.fortran/vla-sizeof.exp: Likewise.
4157 * gdb.fortran/vla-type.exp: Likewise.
4158 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4159 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4160 * gdb.fortran/vla-value-sub.exp: Likewise.
4161 * gdb.fortran/vla-value.exp: Likewise.
4162 * gdb.fortran/whatis_type.exp: Likewise.
4163 * gdb.mi/mi-var-child-f.exp: Likewise.
4164
6dc55ce9 41652020-05-09 Tom de Vries <tdevries@suse.de>
4166
4167 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4168
283cb58c
TV
41692020-05-08 Tom de Vries <tdevries@suse.de>
4170
4171 * gdb.dwarf2/clang-debug-names.c: New test.
4172 * gdb.dwarf2/clang-debug-names.exp: New file.
4173
ac4a4f1c
SM
41742020-05-06 Simon Marchi <simon.marchi@efficios.com>
4175
4176 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4177 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4178
24fe640b
TV
41792020-05-06 Tom de Vries <tdevries@suse.de>
4180
4181 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4182 breakpoint is at a "recommended breakpoint location".
4183 * gdb.reverse/consecutive-reverse.exp: Same.
4184
0d8683a3
TV
41852020-05-06 Tom de Vries <tdevries@suse.de>
4186
4187 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4188 address.
4189
b8983c46
TV
41902020-05-06 Tom de Vries <tdevries@suse.de>
4191
4192 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4193
abf6d805
TV
41942020-05-06 Tom de Vries <tdevries@suse.de>
4195
4196 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4197 info for r.
4198
0fc2a808
TV
41992020-05-06 Tom de Vries <tdevries@suse.de>
4200
4201 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4202 necessary.
4203
873dd427
TV
42042020-05-06 Tom de Vries <tdevries@suse.de>
4205
4206 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4207 void.
4208
7c99e7e2
TV
42092020-05-06 Tom de Vries <tdevries@suse.de>
4210
4211 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4212 of ...
4213 * gdb.base/async.exp: ... here.
4214 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4215 "recommended breakpoint location".
4216
6173d6a6
TV
42172020-05-06 Tom de Vries <tdevries@suse.de>
4218
4219 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4220
6015a067
TV
42212020-05-04 Tom de Vries <tdevries@suse.de>
4222
4223 * gdb.base/async.exp: Check whether instruction addresses are a
4224 "recommended breakpoint location".
4225
3b6acaee
TT
42262020-05-03 Tom Tromey <tom@tromey.com>
4227
4228 * gdb.base/sepdebug.exp: Remove "catch" test.
4229 * gdb.base/break.exp: Remove "catch" test.
4230 * gdb.base/default.exp: Update expected output.
4231
5beb4d17
TV
42322020-05-02 Tom de Vries <tdevries@suse.de>
4233
4234 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4235 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4236 * gdb.arch/i386-mpx-map.exp: Same.
4237 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4238 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4239 * gdb.arch/i386-mpx.exp: Same.
4240
8caf140d
TV
42412020-05-02 Tom de Vries <tdevries@suse.de>
4242
4243 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4244
693196cb
TV
42452020-05-01 Tom de Vries <tdevries@suse.de>
4246
4247 * gdb.ada/operator_bp.exp: Allow more than required amount of
4248 breakpoint.
4249
53ae0aa9
TV
42502020-05-01 Tom de Vries <tdevries@suse.de>
4251
4252 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4253
ee9d1e5f
HD
42542020-04-30 Hannes Domani <ssbssa@yahoo.de>
4255
4256 PR gdb/18706
4257 * gdb.cp/stub-array-size.cc: New test.
4258 * gdb.cp/stub-array-size.exp: New file.
4259 * gdb.cp/stub-array-size.h: New test.
4260 * gdb.cp/stub-array-size2.cc: New test.
4261
d5cf82c0
HD
42622020-04-30 Hannes Domani <ssbssa@yahoo.de>
4263
4264 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4265 output to the new format.
4266
42e165c3
SM
42672020-04-29 Simon Marchi <simon.marchi@efficios.com>
4268
4269 * gdb.base/break.exp: Use with_test_prefix.
4270
6e4e3fe1
TV
42712020-04-29 Tom de Vries <tdevries@suse.de>
4272
4273 * lib/gdb.exp (debug_types): New proc.
4274 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4275 * gdb.python/py-symtab.exp: Same.
4276
d642b692
HD
42772020-04-29 Hannes Domani <ssbssa@yahoo.de>
4278
4279 PR gdb/17320
4280 * gdb.base/pretty-array.c: New test.
4281 * gdb.base/pretty-array.exp: New file.
4282
ea90f227
TV
42832020-04-29 Tom de Vries <tdevries@suse.de>
4284
4285 PR symtab/25889
4286 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4287 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4288 and include cpexprs.exp.
4289
a65189c9
TV
42902020-04-28 Mark Williams <mark@myosotissp.com>
4291
4292 PR gdb/24480
4293 * dw4-toplevel-types.exp: Test for top level types.
4294 * dw4-toplevel-types.cc: Test for top level types.
4295
32d1f47a
TBA
42962020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4297
4298 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4299 (theads -> threads).
4300
56a4f5a1
TV
43012020-04-28 Tom de Vries <tdevries@suse.de>
4302
4303 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4304
0b2f8a3b
TV
43052020-04-28 Tom de Vries <tdevries@suse.de>
4306
4307 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4308
5390c717
TV
43092020-04-28 Tom de Vries <tdevries@suse.de>
4310
4311 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4312
15cd93d0
TV
43132020-04-28 Tom de Vries <tdevries@suse.de>
4314
4315 * gdb.dwarf2/main-foo.c: New test.
4316 * gdb.dwarf2/struct-with-sig.exp: New file.
4317
d472f0fb
TV
43182020-04-25 Tom de Vries <tdevries@suse.de>
4319
4320 * boards/debug-types.exp: New file.
4321
8d840e05
AB
43222020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4323
4324 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4325
bcfe6157
TT
43262020-04-24 Tom Tromey <tom@tromey.com>
4327
4328 PR symtab/12707:
4329 * gdb.python/py-symbol.exp: Update expected results for
4330 linkage_name test.
4331 * gdb.cp/print-demangle.exp: New file.
4332 * gdb.base/c-linkage-name.exp: Fix test.
4333 * gdb.guile/scm-symbol.exp: Update expected results for
4334 linkage_name test.
4335
f049a313
TT
43362020-04-24 Tom Tromey <tom@tromey.com>
4337
4338 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4339 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4340 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4341 assembler.
4342
7cf28874
TV
43432020-04-24 Tom de Vries <tdevries@suse.de>
4344
4345 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4346 C++.
4347
dac2fef7
TT
43482020-04-24 Tom Tromey <tromey@adacore.com>
4349
4350 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4351 values.
4352 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4353 values. Update test for minimal encodings.
4354 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4355 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4356 values. Update test for minimal encodings.
4357
1acda803
TT
43582020-04-24 Tom Tromey <tromey@adacore.com>
4359
4360 PR python/23662:
4361 * gdb.ada/variant.exp: Add Python checks.
4362 * gdb.rust/simple.exp: Add dynamic type checks.
4363
adfb9815
TT
43642020-04-24 Tom Tromey <tromey@adacore.com>
4365
4366 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4367 Make array type matching more lax.
4368 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4369 * gdb.ada/mi_variant.exp: New file.
4370 * gdb.ada/mi_variant/pck.ads: New file.
4371 * gdb.ada/mi_variant/pkg.adb: New file.
4372 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4373 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4374
7d79de9a
TT
43752020-04-24 Tom Tromey <tromey@adacore.com>
4376
4377 * gdb.ada/variant.exp: Add dynamic field offset tests.
4378 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4379 * gdb.ada/variant/pkg.adb: Add new variables.
4380
f8e89861
TT
43812020-04-24 Tom Tromey <tromey@adacore.com>
4382
4383 * gdb.ada/variant.exp: New file
4384 * gdb.ada/variant/pkg.adb: New file
4385 * gdb.ada/variant/pck.adb: New file
4386
86e887ae
TV
43872020-04-24 Tom de Vries <tdevries@suse.de>
4388
4389 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4390
88428775
TV
43912020-04-24 Tom de Vries <tdevries@suse.de>
4392
4393 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4394 flags.
4395
4e86f6e7
TV
43962020-04-24 Tom de Vries <tdevries@suse.de>
4397
4398 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4399
2016d3e6
TV
44002020-04-24 Tom de Vries <tdevries@suse.de>
4401
4402 * lib/gdb.exp (default_gdb_start): Handle eof.
4403 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4404 failure.
4405 * gdb.base/readnever.exp: Handle clean_restart failure.
4406
70bc38f5
TV
44072020-04-23 Tom de Vries <tdevries@suse.de>
4408
4409 * gdb.base/decl-before-def.exp: Run to main and print a again.
4410
de82891c
TV
44112020-04-23 Tom de Vries <tdevries@suse.de>
4412
4413 * gdb.base/decl-before-def-decl.c: New test.
4414 * gdb.base/decl-before-def-def.c: New test.
4415 * gdb.base/decl-before-def.exp: New file.
4416
96038148
TV
44172020-04-23 Tom de Vries <tdevries@suse.de>
4418
4419 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4420
54ac3df1
TV
44212020-04-22 Tom de Vries <tdevries@suse.de>
4422
4423 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4424 debug_info_offset.
4425 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4426 before $objsfile in the line line.
4427
714534e1
TV
44282020-04-22 Tom de Vries <tdevries@suse.de>
4429
4430 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4431
16a7dbf4
MS
44322020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4433
4434 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4435 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4436 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4437 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4438 * gdb.base/jit-protocol.h: Update definitions to match all usage
4439 contexts.
4440
44412020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4442
4443 * gdb.base: Rename all jit related test and source files.
4444
44452020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4446
4447 * gdb.base/jit-reader.exp: Relax register output check.
4448
317d2668
TV
44492020-04-22 Tom de Vries <tdevries@suse.de>
4450
4451 PR symtab/25764
4452 * gdb.base/psym-external-decl-2.c: New test.
4453 * gdb.base/psym-external-decl.c: New test.
4454 * gdb.base/psym-external-decl.exp: New file.
4455 * gdb.threads/tls.exp: Add PR25807 kfail.
4456
eea9e357
TV
44572020-04-22 Tom de Vries <tdevries@suse.de>
4458
4459 PR symtab/25801
4460 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4461 in "info source" output.
4462
3d5afab3
TV
44632020-04-22 Tom de Vries <tdevries@suse.de>
4464
4465 PR symtab/25700
4466 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4467 symtab for imported_unit.c.
4468
b32102f6
GB
44692020-04-21 Gary Benson <gbenson@redhat.com>
4470
4471 * gdb.base/advance.c (func): New argument, to match call site.
4472 (func2, func3): Add return statements.
4473
d43b7a2d
TBA
44742020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4475
4476 * gdb.multi/run-only-second-inf.c: New file.
4477 * gdb.multi/run-only-second-inf.exp: New file.
4478
d89edf9b
MM
44792020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4480
4481 * gdb.btrace/multi-inferior.c: New test.
4482 * gdb.btrace/multi-inferior.exp: New file.
4483
1a476b6d
MM
44842020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4485
4486 * gdb.btrace/enable-new-thread.c: New test.
4487 * gdb.btrace/enable-new-thread.exp: New file.
4488
4778a5f8
TV
44892020-04-21 Tom de Vries <tdevries@suse.de>
4490
4491 PR gdb/25471
4492 * gdb.threads/killed-outside.c: New test.
4493 * gdb.threads/killed-outside.exp: New file.
4494
9b2c992c
GB
44952020-04-20 Gary Benson <gbenson@redhat.com>
4496
4497 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4498 * gdb.base/nested-subp2.exp: Likewise.
4499 * gdb.base/nested-subp3.exp: Likewise.
4500
b5d1d6f7
GB
45012020-04-20 Gary Benson <gbenson@redhat.com>
4502
4503 * gdb.base/nested-subp1.exp: Disable test when using clang.
4504 * gdb.base/nested-subp2.exp: Likewise.
4505 * gdb.base/nested-subp3.exp: Likewise.
4506
25230285
GB
45072020-04-20 Gary Benson <gbenson@redhat.com>
4508
4509 * gdb.cp/exception.cc: Fix compilation error with clang.
4510
fa93cc8f
GB
45112020-04-20 Gary Benson <gbenson@redhat.com>
4512
809730f3 4513 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 4514
e0c45f30
GB
45152020-04-20 Gary Benson <gbenson@redhat.com>
4516
4517 * gdb.base/jit-main.c: Fix compilation error with clang.
4518
4ddfec93
KR
45192020-04-17 Kamil Rytarowski <n54@gmx.com>
4520
4521 * gdb.base/attach-twice.c: Include "sys/types.h".
4522 (PTRACE_ATTACH): Add fallback definition.
4523 (main): Pass `0' to the 4th argument of `ptrace'.
4524
2bed205e
KR
45252020-04-17 Kamil Rytarowski <n54@gmx.com>
4526
4527 * gdb.base/fork-running-state.c: Include "signal.h".
4528
0743fc83
TT
45292020-04-17 Tom Tromey <tromey@adacore.com>
4530
4531 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4532 Update tests.
4533 * gdb.btrace/cpu.exp: Update tests.
4534 * gdb.base/maint.exp: Update tests.
4535 * gdb.base/default.exp: Update tests.
4536 * gdb.base/completion.exp: Update tests.
4537
efba5c23
TV
45382020-04-16 Tom de Vries <tdevries@suse.de>
4539
4540 PR symtab/25791
4541 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4542 (ensure_gdb_index): and factor out and move ...
4543 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4544 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4545
d191d716
TV
45462020-04-16 Tom de Vries <tdevries@suse.de>
4547
4548 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4549 loading exec.
4550
99f1bc6a
AB
45512020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4552
4553 * gdb.base/many-completions.exp: New file.
4554
194d088f
TV
45552020-04-14 Tom de Vries <tdevries@suse.de>
4556
4557 PR symtab/25718
4558 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4559
c1a66c06
TV
45602020-04-14 Tom de Vries <tdevries@suse.de>
4561
4562 PR symtab/25720
4563 * gdb.base/maint-expand-symbols-header-file.c: New test.
4564 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4565 * gdb.base/maint-expand-symbols-header-file.h: New test.
4566
21b0982c
AB
45672020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4568
4569 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4570 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4571 get_func_info.
4572 (get_func_info): Delete.
4573 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4574 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4575 * lib/dwarf.exp (get_func_info): New function.
4576
dd1cab06
TV
45772020-04-13 Tom de Vries <tdevries@suse.de>
4578
4579 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4580 to what find_gnatmake does.
4581
71ea2b6b
TV
45822020-04-10 Tom de Vries <tdevries@suse.de>
4583
4584 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4585 -readnow.
4586
bdfc1e8a
TV
45872020-04-10 Tom de Vries <tdevries@suse.de>
4588
4589 PR cli/25808
4590 * gdb.base/style.c: Add leading newlines.
4591 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4592 Check listing of main's one-line body.
4593
14ca8ecf
TV
45942020-04-08 Tom de Vries <tdevries@suse.de>
4595
4596 * lib/gdb.exp (psymtabs_p): New proc.
4597 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4598 importing unit" unsupported if there are no partial symbols.
4599
e21d048f
TV
46002020-04-08 Tom de Vries <tdevries@suse.de>
4601
4602 PR testsuite/25760
4603 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4604
25c11aca
TV
46052020-04-07 Tom de Vries <tdevries@suse.de>
4606
4607 PR symtab/25796
4608 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4609
5707e24b
TV
46102020-04-07 Tom de Vries <tdevries@suse.de>
4611
4612 * gdb.base/check-psymtab.c: New test.
4613 * gdb.base/check-psymtab.exp: New file.
4614
6ee448cc
TT
46152020-04-06 Tom Tromey <tromey@adacore.com>
4616
4617 * gdb.ada/variant-record/proc.adb: New file.
4618 * gdb.ada/variant-record/value.adb: New file.
4619 * gdb.ada/variant-record/value.s: New file.
4620 * gdb.ada/variant-record.exp: New file.
4621
9e7c9a03
HD
46222020-04-03 Hannes Domani <ssbssa@yahoo.de>
4623
4624 PR gdb/25325
4625 * gdb.cp/typed-enum.cc: New test.
4626 * gdb.cp/typed-enum.exp: New file.
4627
c90d28ac
AB
46282020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4629
4630 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4631 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4632 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4633 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4634 * gdb.opt/inline-small-func.c: New file.
4635 * gdb.opt/inline-small-func.exp: New file.
4636 * gdb.opt/inline-small-func.h: New file.
4637
34e9a9fa
AB
46382020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4639
4640 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4641 function.
4642
6a354911
AB
46432020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4644
4645 * lib/dwarf.exp (function_range): Allow compiler options to be
4646 specified.
4647
880d9777
TV
46482020-04-02 Tom de Vries <tdevries@suse.de>
4649
4650 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4651 __attribute__((always_inline)).
4652 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4653
f32682ea
TV
46542020-04-02 Tom de Vries <tdevries@suse.de>
4655
4656 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4657 (gdbserver_gdb_exit): ... here. Add timeout warning.
4658 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4659 (connect_target_extended_remote): Append new server_spawn_id to
4660 server_spawn_ids.
4661 (cleanup): New proc.
4662 (setup, <toplevel>): Call cleanup.
4663
d3214198
TV
46642020-04-02 Tom de Vries <tdevries@suse.de>
4665
4666 * gdb.base/main-psymtab.exp: New file.
4667
cc77ed24
TV
46682020-04-02 Tom de Vries <tdevries@suse.de>
4669
4670 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4671
3638a098
TT
46722020-04-01 Tom Tromey <tom@tromey.com>
4673
4674 * gdb.base/complex-parts.exp: Add type tests.
4675
c34e8714
TT
46762020-04-01 Tom Tromey <tom@tromey.com>
4677
4678 * gdb.base/complex-parts.exp: Add arithmetic tests.
4679
981c08ce
TT
46802020-04-01 Tom Tromey <tom@tromey.com>
4681
4682 * gdb.compile/compile.exp: Update.
4683 * gdb.compile/compile-cplus.exp: Update.
4684 * gdb.base/varargs.exp: Update.
4685 * gdb.base/floatn.exp: Update.
4686 * gdb.base/endianity.exp: Update.
4687 * gdb.base/callfuncs.exp (do_function_calls): Update.
4688 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4689 (complex_float_integral_args): Update.
4690 * gdb.base/complex.exp: Update.
4691 * gdb.base/complex-parts.exp: Update.
4692
3d1cfd43
TT
46932020-04-01 Tom Tromey <tromey@adacore.com>
4694
4695 * gdb.rust/union.rs: New file.
4696 * gdb.rust/union.exp: New file.
4697 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4698 (main): Update.
4699 * gdb.rust/simple.exp: Move union tests to union.exp.
4700
e033dfa9
TT
47012020-04-01 Tom Tromey <tromey@adacore.com>
4702
4703 * gdb.rust/simple.rs (main): Remove "y0".
4704
53cccef1
TBA
47052020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4706
4707 * gdb.multi/stop-all-on-exit.c: New test.
4708 * gdb.multi/stop-all-on-exit.exp: New file.
4709
60e22c1e
HD
47102020-04-01 Hannes Domani <ssbssa@yahoo.de>
4711
4712 PR gdb/24789
4713 * gdb.cp/misc.cc: Add integer reference variable.
4714 * gdb.cp/misc.exp: Add test.
4715
e139a727
TBA
47162020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4717
4718 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4719 scenario to cover execution until the end and also the case
4720
16b0db75
TV
47212020-03-31 Tom de Vries <tdevries@suse.de>
4722
4723 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4724 c. Use "maint info symtabs" to check symtab expansion.
4725
c0502da6
TV
47262020-03-30 Tom de Vries <tdevries@suse.de>
4727
4728 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4729 unsupported.
4730 (verify_psymtab_expanded): Move ...
4731 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4732 test.
4733 (readnow): New proc.
4734
5935fd15
AB
47352020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4736
4737 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4738 with $hex.
4739
1773be9e
TT
47402020-03-20 Tom Tromey <tromey@adacore.com>
4741
4742 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4743
70304be9
TT
47442020-03-20 Tom Tromey <tromey@adacore.com>
4745
4746 * gdb.ada/sub_variant/subv.adb: New file.
4747 * gdb.ada/sub_variant.exp: New file.
4748
0dd7b8f7
TV
47492020-03-20 Tom de Vries <tdevries@suse.de>
4750
4751 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4752 first break fails.
4753 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4754
cada5fc9
AB
47552020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4756
4757 * gdb.server/exit-multiple-threads.c: New file.
4758 * gdb.server/exit-multiple-threads.exp: New file.
4759
6b8c53f2
AB
47602020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4761
4762 * gdb.fortran/mixed-lang-stack.c: New file.
4763 * gdb.fortran/mixed-lang-stack.cpp: New file.
4764 * gdb.fortran/mixed-lang-stack.exp: New file.
4765 * gdb.fortran/mixed-lang-stack.f90: New file.
4766
19a2740f
AB
47672020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4768
4769 * gdb.linespec/cp-completion-aliases.cc: New file.
4770 * gdb.linespec/cp-completion-aliases.exp: New file.
4771
d8c8b848
TV
47722020-03-19 Tom de Vries <tdevries@suse.de>
4773
4774 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4775 more precise.
4776
a9933ccf
TV
47772020-03-18 Tom de Vries <tdevries@suse.de>
4778
4779 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4780 * gdb.dwarf2/break-inline-psymtab.c: New test.
4781 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4782
2f89101f
TV
47832020-03-16 Tom de Vries <tdevries@suse.de>
4784
4785 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4786 cache_verify and cache_verify_proc.
4787
6b9374f1
TV
47882020-03-15 Tom de Vries <tdevries@suse.de>
4789
4790 * gdb.server/solib-list.exp: Handle
4791 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4792
eaeaf44c
TV
47932020-03-15 Tom de Vries <tdevries@suse.de>
4794
4795 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4796 objfiles".
4797
3293bbaf
TT
47982020-03-14 Tom Tromey <tom@tromey.com>
4799
4800 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4801
ab44624c
TV
48022020-03-14 Tom de Vries <tdevries@suse.de>
4803
4804 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4805
54c43825
TV
48062020-03-14 Tom de Vries <tdevries@suse.de>
4807
4808 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4809 result in line-by-line fashion.
4810
2ac70237
TV
48112020-03-14 Tom de Vries <tdevries@suse.de>
4812
4813 * lib/gdb.exp (supports_statement_frontiers): New proc.
4814 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4815
09546b56
TV
48162020-03-14 Tom de Vries <tdevries@suse.de>
4817
4818 * gdb.base/printcmds.exp: Add missing quoting for "print
4819 teststring2".
4820
a1f6a07c
TT
48212020-03-13 Tom Tromey <tom@tromey.com>
4822
4823 * gdb.base/printcmds.exp (test_print_strings): Add regression
4824 test.
4825 * gdb.base/printcmds.c (charptr): New typedef.
4826 (teststring2): New global.
4827
1b83d09c
AB
48282020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4829
4830 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4831 full path in the test name.
4832 (test_ld): Add some with_test_prefix blocks to make test names
4833 unique.
4834
2d61316c
TV
48352020-03-13 Tom de Vries <tdevries@suse.de>
4836
4837 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4838
2e9145ac
TV
48392020-03-13 Tom de Vries <tdevries@suse.de>
4840
4841 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4842
96c7f873
TV
48432020-03-13 Tom de Vries <tdevries@suse.de>
4844
4845 PR symtab/25646
4846 * gdb.dwarf2/imported-unit.exp: Add test.
4847
49ba92c0
TV
48482020-03-13 Tom de Vries <tdevries@suse.de>
4849
4850 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4851 (var1, var2): New variable.
4852 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4853 matching symbols.
4854
301b21e0
TV
48552020-03-13 Tom de Vries <tdevries@suse.de>
4856
4857 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4858 (Term::command): Use prompt prefix.
4859 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4860 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4861 command_no_prompt_prefix instead of prefix.
4862 * gdb.tui/tui-layout-asm.exp: Same.
4863
3f512721
SM
48642020-03-12 Simon Marchi <simon.marchi@efficios.com>
4865
4866 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4867
40310f30
SM
48682020-03-12 Simon Marchi <simon.marchi@efficios.com>
4869
4870 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4871 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4872 on" while stepping over the test instruction, match printed
4873 message.
4874
09252140
TV
48752020-03-12 Tom de Vries <tdevries@suse.de>
4876
4877 * gdb.base/info-types.exp: Use exp_continue during matching of output
4878 of "info types".
4879
14e9c72c
TV
48802020-03-12 Tom de Vries <tdevries@suse.de>
4881
4882 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4883
e515d67e
TV
48842020-03-12 Tom de Vries <tdevries@suse.de>
4885
4886 * gdb.fortran/module.exp: Use exp_continue during matching of output
4887 of "info variable -n".
4888
307eafd8
TV
48892020-03-12 Tom de Vries <tdevries@suse.de>
4890
4891 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4892 gdb.dwarf2/dw2-ranges-base.c.
4893
9a2de3fc
TV
48942020-03-12 Tom de Vries <tdevries@suse.de>
4895
4896 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4897 in presence of GLIBC debuginfo.
4898
3217502e
TV
48992020-03-12 Tom de Vries <tdevries@suse.de>
4900
4901 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4902 $core.
4903
1281424c
TV
49042020-03-12 Tom de Vries <tdevries@suse.de>
4905
4906 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4907 more precise.
4908
038b97fc
SM
49092020-03-11 Simon Marchi <simon.marchi@efficios.com>
4910
4911 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4912 from Unix to Windows path.
4913
5308d1e7
TV
49142020-03-11 Tom de Vries <tdevries@suse.de>
4915
4916 * gdb.ada/minsyms.exp: Set language to ada.
4917
f870f78f
TV
49182020-03-11 Tom de Vries <tdevries@suse.de>
4919
4920 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4921
5a13315d
TV
49222020-03-11 Tom de Vries <tdevries@suse.de>
4923
4924 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4925
976862ed
TT
49262020-03-11 Tom Tromey <tromey@adacore.com>
4927
4928 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4929
7462c383
TV
49302020-03-11 Tom de Vries <tdevries@suse.de>
4931
4932 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4933
1c6c46a0
TV
49342020-03-11 Tom de Vries <tdevries@suse.de>
4935
4936 * gdb.base/break-interp.exp: Limit verbose scope.
4937
44f41bb7
TV
49382020-03-11 Tom de Vries <tdevries@suse.de>
4939
4940 * gdb.fortran/logical.f90: Define variable with character type.
4941 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4942
b76f3a42
TV
49432020-03-11 Tom de Vries <tdevries@suse.de>
4944
4945 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4946
1c33af77
TV
49472020-03-11 Tom de Vries <tdevries@suse.de>
4948
4949 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4950 symtabs.
4951
8c95582d
AB
49522020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4953 Bernd Edlinger <bernd.edlinger@hotmail.de>
4954
4955 * gdb.cp/step-and-next-inline.cc: New file.
4956 * gdb.cp/step-and-next-inline.exp: New file.
4957 * gdb.cp/step-and-next-inline.h: New file.
4958 * gdb.dwarf2/dw2-is-stmt.c: New file.
4959 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4960 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4961 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4962 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4963
cecf8547
AB
49642020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4965
4966 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4967 is-stmt flag in the line table.
4968
0ba678c9
TV
49692020-03-09 Tom de Vries <tdevries@suse.de>
4970
4971 * lib/gdb.exp (cached_file): Create cache dir.
4972
72fbdf83
TV
49732020-03-07 Tom de Vries <tdevries@suse.de>
4974
4975 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4976 * gdb.cp/rvalue-ref-params.exp: Same.
4977
436b5e99
TV
49782020-03-06 Tom de Vries <tdevries@suse.de>
4979
4980 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4981 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4982
09f2921c
TV
49832020-03-06 Tom de Vries <tdevries@suse.de>
4984
4985 * README: Fix "the the".
4986 * gdb.base/dprintf.exp: Same.
4987
50a3cc5d
TV
49882020-03-05 Tom de Vries <tdevries@suse.de>
4989
4990 * gdb.base/maint.exp: Update "main print statistics" expected output.
4991
0a709cba
AKS
49922020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4993
4994 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4995 (fortran_int8): Likewise.
4996 (fortran_real4): Likewise.
4997 (fortran_real8): Likewise.
4998 (fortran_complex4): Likewise.
4999 (fortran_logical4): Likewise.
5000 (fortran_character1): Likewise.
5001
5e5d66b6
AB
50022020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5003
5004 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5005 printed as true.
5006
7b973adc
SDJ
50072020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5008
5009 * gdb.base/printcmds.exp: Add test to verify printf of a
5010 variable holding an address.
5011
478e490a
TV
50122020-03-03 Tom de Vries <tdevries@suse.de>
5013
5014 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5015
1ef44e86
TV
50162020-03-03 Tom de Vries <tdevries@suse.de>
5017
5018 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5019 gdb_test_multiple call.
5020
b98cc2cf
TV
50212020-03-03 Tom de Vries <tdevries@suse.de>
5022
5023 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5024 gdb_test_multiple calls.
5025
63e163f2
AB
50262020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5027
5028 * gdb.base/default.exp: Remove test of 'set history filename'.
5029 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5030 filename to the empty string.
5031 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5032 and GDBHISTSIZE.
5033
24ed6739
AB
50342020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5035
5036 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5037 disabled.
5038
590003dc 50392020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 5040 Tom de Vries <tdevries@suse.de>
590003dc
TV
5041
5042 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5043 -prompt prefix, before user_code argument. Add -lbl option likewise.
5044 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5045 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5046 argument.
5047 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5048 have "\r\n" at start-of-line, instead of at end-of-line.
5049
f5e46084
SM
50502020-02-28 Simon Marchi <simon.marchi@efficios.com>
5051
5052 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5053 libinproctrace.so.
5054
f7a7000d
LM
50552020-02-28 Luis Machado <luis.machado@linaro.org>
5056
5057 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5058 to "p/x".
5059
718e0816
LM
50602020-02-28 Luis Machado <luis.machado@linaro.org>
5061
5062 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5063 asm/ptrace.h and error.h.
5064
13c3a74a
TV
50652020-02-28 Tom de Vries <tdevries@suse.de>
5066
5067 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5068 (struct wrapper, do_something, mundane/symada__cS): Move ...
5069 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5070 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5071 Update "print symada__cS before partial symtab expansion" regexp.
5072 Update breakpoint location. Flush symbol cache after expansion.
5073
85d2d5bb
LM
50742020-02-28 Luis Machado <luis.machado@linaro.org>
5075
5076 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5077
3608f86c
TV
50782020-02-27 Tom de Vries <tdevries@suse.de>
5079
5080 * config/sid.exp: Remove unused globals.
5081 * gdb.base/attach.exp: Same.
5082 * gdb.base/catch-load.exp: Same.
5083 * gdb.base/dbx.exp: Same.
5084 * lib/gdb.exp: Same.
5085 * lib/mi-support.exp: Same.
5086 * lib/prompt.exp: Same.
5087
c8d4f6df
TV
50882020-02-27 Tom de Vries <tdevries@suse.de>
5089
5090 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5091 not set.
5092
0d79cdc4
AM
50932020-02-26 Aaron Merey <amerey@redhat.com>
5094
5095 * gdb.debuginfod: New directory for debuginfod tests.
5096 * gdb.debuginfod/main.c: New test file.
5097 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5098
0dce4280
TV
50992020-02-26 Tom de Vries <tdevries@suse.de>
5100
5101 PR gdb/25603
5102 * gdb.base/persistent-lang.cc: New test.
5103 * gdb.base/persistent-lang.exp: New file.
5104
9e80cfa1
AB
51052020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5106
5107 * gdb.fortran/derived-type-striding.exp: Add a new test.
5108 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5109 new test.
5110
2078dbb2
AB
51112020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5112
5113 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5114 names.
5115
70d49700
TV
51162020-02-25 Tom de Vries <tdevries@suse.de>
5117
5118 PR go/18926
5119 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5120
a88ef40d
TV
51212020-02-24 Tom de Vries <tdevries@suse.de>
5122
5123 PR gdb/25592
5124 * gdb.base/info-locals-unused-static-var.c: New test.
5125 * gdb.base/info-locals-unused-static-var.exp: New file.
5126
01b1af32
TT
51272020-02-22 Tom Tromey <tom@tromey.com>
5128
5129 * gdb.python/tui-window.exp: New file.
5130 * gdb.python/tui-window.py: New file.
5131
7c043ba6
TT
51322020-02-22 Tom Tromey <tom@tromey.com>
5133
5134 PR tui/17850:
5135 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5136 tests.
5137
c22fef7e
TT
51382020-02-22 Tom Tromey <tom@tromey.com>
5139
5140 * gdb.tui/new-layout.exp: Add sub-layout tests.
5141
ee325b61
TT
51422020-02-22 Tom Tromey <tom@tromey.com>
5143
5144 * gdb.tui/new-layout.exp: New file.
5145
3f0cbb04
TT
51462020-02-22 Tom Tromey <tom@tromey.com>
5147
5148 * gdb.rust/rust-style.rs: New file.
5149 * gdb.rust/rust-style.exp: New file.
5150 * gdb.base/style.exp: Test structure printing.
5151 * gdb.base/style.c (struct some_struct): New type.
5152 (enum etype): New type.
5153 (struct_value): New global.
5154
75525152
TV
51552020-02-21 Tom de Vries <tdevries@suse.de>
5156
5157 PR go/18926
5158 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5159 Remove blanket xfails. Use message argument for gdb_breakpoint.
5160 Make continuing to breakpoint test conditional on setting breakpoint.
5161 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5162 DW_AT_name attribute. Add xfail for GCC PR93866.
5163
bd360d30
AB
51642020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5165
5166 * gdb.dwarf2/cpp-linkage-name.c: New file.
5167 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5168
c7adb09f 51692020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
5170
5171 * lib/gdb.exp (gdb_wrapper_init): Reset
5172 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5173 not exist.
5174
a9c79803
TV
51752020-02-20 Tom de Vries <tdevries@suse.de>
5176
5177 PR go/17018
5178 * gdb.go/hello.exp: Copy ...
5179 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5180 print of st to print value of global definition. Add xfail for GCC
5181 PR93844.
5182 * gdb.go/hello.exp: Remove printing of st before definition.
5183 * gdb.go/hello.go: Copy ...
5184 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5185 to st.
5186 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5187
d7445728
TV
51882020-02-20 Tom de Vries <tdevries@suse.de>
5189
5190 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5191 (gdb_simple_compile): Handle compile_flags go by using .go extension
5192 for source file.
5193 * gdb.go/chan.exp: Use support_go_compile.
5194 * gdb.go/handcall.exp: Same.
5195 * gdb.go/hello.exp: Same.
5196 * gdb.go/integers.exp: Same.
5197 * gdb.go/max-depth.exp: Same.
5198 * gdb.go/methods.exp: Same.
5199 * gdb.go/package.exp: Same.
5200 * gdb.go/strings.exp: Same.
5201 * gdb.go/types.exp: Same.
5202 * gdb.go/unsafe.exp: Same.
5203
c9c41e6d
TV
52042020-02-19 Tom de Vries <tdevries@suse.de>
5205
5206 * gdb.python/lib-types.exp: Make xfail more strict.
5207
f20ff837
TV
52082020-02-19 Tom de Vries <tdevries@suse.de>
5209
5210 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5211
08410482
DE
52122020-02-19 Doug Evans <dje@google.com>
5213
5214 PR rust/25535
5215 * gdb.rust/simple.exp: Add test.
5216 * gdb.rust/simple.rs: Add test.
5217
623563f7
TV
52182020-02-19 Tom de Vries <tdevries@suse.de>
5219
5220 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5221 output line-by-line.
5222
d3308cfd
TV
52232020-02-19 Tom de Vries <tdevries@suse.de>
5224
5225 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5226
86cbc5dc
TV
52272020-02-19 Tom de Vries <tdevries@suse.de>
5228
5229 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5230 prelink.
5231
9db2b96b
TV
52322020-02-19 Tom de Vries <tdevries@suse.de>
5233
5234 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5235 (gdb_do_cache): Use gdb_do_cache_wrap.
5236 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5237
89e2fdc5
TV
52382020-02-19 Tom de Vries <tdevries@suse.de>
5239
5240 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5241 gdb_compile option.
5242
373d7ac0
SM
52432020-02-18 Simon Marchi <simon.marchi@efficios.com>
5244
5245 * gdb.base/printcmds.exp (test_print_enums): Update expected
5246 output.
5247
b29a2df0
SM
52482020-02-18 Simon Marchi <simon.marchi@efficios.com>
5249
5250 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5251 for "unknown".
5252
6740f0cc
SM
52532020-02-18 Simon Marchi <simon.marchi@efficios.com>
5254
5255 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5256 enumerator.
5257
edd45eb0
SM
52582020-02-18 Simon Marchi <simon.marchi@efficios.com>
5259
5260 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5261 FE_, add FE_NONE.
5262 (three): Update.
5263 (enum flag_enum_without_zero): New enum.
5264 (flag_enum_without_zero): New variable.
5265 (enum not_flag_enum): New enum.
5266 (three_not_flag): New variable.
5267 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5268 (test_print_enums): Add more tests for printing flag enums.
5269
d4295de4
TV
52702020-02-18 Tom de Vries <tdevries@suse.de>
5271
5272 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5273 (gdb_compile_ada): ... here.
5274 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5275 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5276
f251f505
TT
52772020-02-14 Tom Tromey <tom@tromey.com>
5278
5279 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5280 build directory.
5281 * boards/gdbserver-base.exp: Update path to gdbserver.
5282
8f432634
TV
52832020-02-13 Tom de Vries <tdevries@suse.de>
5284
5285 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5286
92b6eaf7
TV
52872020-02-13 Tom de Vries <tdevries@suse.de>
5288
5289 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5290 are missing.
5291
f3b0f7fe
TV
52922020-02-13 Tom de Vries <tdevries@suse.de>
5293
5294 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5295 call.
5296
f6be8713
SDJ
52972020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5298
5299 PR tui/25126
5300 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5301 * gdb.base/cached-source-file.c: New file.
5302 * gdb.base/cached-source-file.exp: New file.
5303
b2770d5e
TV
53042020-02-11 Tom de Vries <tdevries@suse.de>
5305
5306 PR testsuite/25488
5307 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5308
44f6938e
TV
53092020-02-10 Tom de Vries <tdevries@suse.de>
5310
5311 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5312
5f0e2eb7
MR
53132020-02-10 Maciej W. Rozycki <macro@wdc.com>
5314
5315 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5316 and $after_addr are both integers before making a comparison.
5317
46ce2b6f
TV
53182020-02-09 Tom de Vries <tdevries@suse.de>
5319
5320 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5321 command output and paste it into gdb.log. If any, paste catch message
5322 to gdb.log.
5323
5abbbe1d
TT
53242020-02-07 Tom Tromey <tromey@adacore.com>
5325
5326 PR breakpoints/24915:
5327 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5328
1d5d29e7
SV
53292020-02-06 Shahab Vahedi <shahab@synopsys.com>
5330
5331 * gdb.tui/tui-missing-src.exp: Add the "missing source
5332 file" test for the TUI.
5333
b0999b9b
AB
53342020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5335
5336 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5337 including a port number in the output.
5338
c3b149eb
AKS
53392020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5340
5341 * lib/fortran.exp (fortran_int4): Handle clang.
5342 (fortran_int8): Likewise.
5343 (fortran_real4): Likewise.
5344 (fortran_real8): Likewise.
5345 (fortran_complex4): Likewise.
5346 (fortran_logical4): Likewise.
5347 (fortran_character1): Likewise.
5348
f8dcc90b
TV
53492020-02-04 Tom de Vries <tdevries@suse.de>
5350
5351 * README (Race detection): Add note.
5352
f90ac7c2
TV
53532020-02-04 Tom de Vries <tdevries@suse.de>
5354
5355 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5356
780636ae
TV
53572020-02-04 Tom de Vries <tdevries@suse.de>
5358
5359 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5360
5d2e1193
RA
53612020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5362
5363 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5364 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5365 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5366 blttar, bnetarl.
5367 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5368 binary for blttar, bnetarl.
5369 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5370 wait instruction. Delete ldmx test.
5371 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5372
e409c542
AKS
53732020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5374
5375 * gdb.fortran/array-bounds-high.exp: New file.
5376 * gdb.fortran/array-bounds-high.f90: New file.
5377
b0029748
LD
53782020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5379
5380 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5381 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5382
195a8287
TV
53832020-02-01 Tom de Vries <tdevries@suse.de>
5384
5385 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5386
42330a68
AB
53872020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5388
5389 PR tui/9765
5390 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5391 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5392
b62a8028
LM
53932020-01-29 Luis Machado <luis.machado@linaro.org>
5394
5395 * gdb.arch/aarch64-brk-patterns.c: New source file.
5396 * gdb.arch/aarch64-brk-patterns.exp: New test.
5397
5f440116
TBA
53982020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5399
5400 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5401 GCC/Clang version.
5402 * gdb.cp/pass-by-ref.exp: Ditto.
5403
ee2a6fc6
TV
54042020-01-29 Tom de Vries <tdevries@suse.de>
5405
5406 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5407 * gdb.threads/watchpoint-fork-mt.c: Same.
5408 * gdb.threads/watchpoint-fork-parent.c: Same.
5409 * gdb.threads/watchpoint-fork-st.c: Same.
5410 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5411
16b10d6e
LM
54122020-01-27 Luis Machado <luis.machado@linaro.org>
5413
5414 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5415 sitting at a syscall instruction when we hit the syscall function's
5416 breakpoint.
5417 Check PC against one obtained with the x command.
5418 Validate syscall number.
5419 (step_over_syscall): Don't continue to the syscall instruction if
5420 we're already there.
5421
b1468492
PW
54222020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5423
5424 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5425
7ffa82e1
AB
54262020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5427
5428 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5429 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5430
3d92a3e3
AB
54312020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5432
5433 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5434 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5435
94a72be7
AB
54362020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5437
5438 * gdb.base/maint.exp: Update line table parsing test.
5439 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5440
53af73bf
PA
54412020-01-24 Pedro Alves <palves@redhat.com>
5442
5443 PR gdb/25410
5444 * gdb.multi/multi-re-run-1.c: New.
5445 * gdb.multi/multi-re-run-2.c: New.
5446 * gdb.multi/multi-re-run.exp: New.
5447
1ba1ac88
AB
54482020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5449
5450 PR gdb/23718
5451 * gdb.server/server-kill-python.exp: New file.
5452
f3364a6d
AB
54532020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5454
5455 * gdb.server/multi-ui-errors.c: New file.
5456 * gdb.server/multi-ui-errors.exp: New file.
5457
733d0a67
AB
54582020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5459
5460 PR tui/9765
5461 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5462
4f13c1c0
TT
54632020-01-19 Tom Tromey <tom@tromey.com>
5464
5465 * gdb.tui/main.exp: Add check for plain "file".
5466
40c94099
CB
54672020-01-16 Christian Biesinger <cbiesinger@google.com>
5468
5469 * lib/gdb.exp: Fix spelling error (seperatelly).
5470
ff47f4f0
TT
54712020-01-14 Tom Tromey <tom@tromey.com>
5472
5473 PR symtab/12535:
5474 * gdb.python/python.exp: Test decode_line with empty string
5475 argument.
5476
717c684d
BE
54772020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5478
5479 * gdb.base/skip-inline.exp: Extend test.
5480
44e4c775
AB
54812020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5482
5483 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5484 * gdb.dwarf2/dw2-bad-elf.c: New file.
5485 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5486
d93c6db7
AB
54872020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5488
5489 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5490 _line_saw_file.
5491
9a6d629c
AB
54922020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5493
5494 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5495 border.
5496
d9ebdab7
TBA
54972020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5498
5499 * gdb.multi/multi-target.exp (setup): Factor out "info
5500 connections" and "info inferiors" tests to ...
5501 (test_info_inferiors): ... this new procedure.
5502 (top level): Run new "info-inferiors" tests.
5503
f3c469b9
PA
55042020-01-10 Pedro Alves <palves@redhat.com>
5505
5506 * gdb.server/bkpt-other-inferior.exp: New file.
5507
121b3efd
PA
55082020-01-10 Pedro Alves <palves@redhat.com>
5509
5510 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5511 of "add-inferior".
5512 * gdb.base/quit-live.exp: Likewise.
5513 * gdb.base/remote-exec-file.exp: Likewise.
5514 * gdb.guile/scm-progspace.exp: Likewise.
5515 * gdb.linespec/linespec.exp: Likewise.
5516 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5517 * gdb.mi/user-selected-context-sync.exp: Likewise.
5518 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5519 "info inferiors" tests.
5520 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5521 "add-inferior".
5522 * gdb.multi/watchpoint-multi.exp: Likewise.
5523 * gdb.python/py-inferior.exp: Likewise.
5524 * gdb.server/extended-remote-restart.exp: Likewise.
5525 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5526 "info inferiors".
5527 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5528 * gdb.trace/report.exp: Likewise.
5529
1dadb1dd
PA
55302020-01-10 Pedro Alves <palves@redhat.com>
5531
5532 * gdb.multi/multi-target.c: New file.
5533 * gdb.multi/multi-target.exp: New file.
5534 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5535 mode requested, but remote does not support non-stop".
5536
78f2c40a
PA
55372020-01-10 Pedro Alves <palves@redhat.com>
5538
5539 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5540 disconnect before reconnecting.
5541
e7af6c70
TBA
55422020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5543 Pedro Alves <palves@redhat.com>
5544
5545 * gdb.server/connect-without-multi-process.exp: Also test
5546 continuing to end.
5547
acdf84a6
PA
55482020-01-10 Pedro Alves <palves@redhat.com>
5549
5550 * gdb.base/remote-exec-file.exp: New file.
5551
873657b9
PA
55522020-01-10 Pedro Alves <palves@redhat.com>
5553
5554 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5555 output.
5556 * gdb.threads/async.c: New.
5557 * gdb.threads/async.exp: New.
5558 * gdb.multi/tids-gid-reset.c: New.
5559 * gdb.multi/tids-gid-reset.exp: New.
5560
7f0ae84c
GB
55612020-01-10 George Barrett <bob@bob131.so>
5562
5563 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5564 to help in finding the image relocation offset.
5565 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5566 options in arguments.
5567 (stap_test_no_debuginfo): Likewise.
5568 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5569 test variants.
5570 (stap_test): Add null semaphore relocation test.
5571
47e9d49d
GB
55722020-01-10 George Barrett <bob@bob131.so>
5573
5574 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5575 * gdb.base/stap-probe.exp: Likewise.
5576 (stap_test): Pass argument as an additional flag.
5577 (stap_test_no_debuginfo): Likewise.
5578 (stap_test): Check `info probes stap' output for semaphore
5579 addresses if the test binary is supposed to have them.
5580
f5a7c406
AB
55812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5582
5583 * gdb.tui/basic.exp: Add more scrolling tests.
5584
9ae6bf64
TT
55852020-01-09 Tom Tromey <tom@tromey.com>
5586
5587 PR tui/18932:
5588 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5589 meangingful value.
5590 (Term::command, Term::resize): Update.
5591 * gdb.tui/basic.exp: Add scrolling test.
5592
b2efe70c
AB
55932020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5594
5595 * gdb.tui/tui-layout-asm.exp: New file.
5596
3804da7e
AB
55972020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5598
5599 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5600
b40aa28f
AB
56012020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5602
5603 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5604 (Term::enter_tui): Use Term::prepare_for_tui.
5605
63ffd7c9
AB
56062020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5607
5608 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5609 called.
5610
3be966f6
AB
56112020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5612
5613 * gdb.base/skip.exp: Fix race condition in test.
5614
153d79c4
AB
56152020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5616
5617 * gdb.base/backtrace.c: New file.
5618 * gdb.base/backtrace.exp: New file.
5619
f2302a34
AB
56202020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5621
5622 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5623
6ec1d75e
PW
56242020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5625
5626 * gdb.base/style.exp: Test that warnings are styled.
5627
c296cbe6
BE
56282019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5629
5630 * gdb.base/line65535.exp: New file.
5631 * gdb.base/line65535.c: New file.
5632
b28a729d
SM
56332019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5634
5635 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5636 * lib/gnat_debug_info_test.adb: New file.
5637 * gdb.ada/ptype_tagged_param.exp: Use
5638 gnat_runtime_has_debug_info, expect a different output if
5639 runtime does not have debug info.
5640
7f2d7a0d
SM
56412019-12-20 Simon Marchi <simon.marchi@efficios.com>
5642
5643 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5644 (another) quote in test name.
5645
f3bce483
SM
56462019-12-20 Simon Marchi <simon.marchi@efficios.com>
5647
5648 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5649 Add quote in test name.
5650
c855a912
TBA
56512019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5652
5653 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5654 directory instead.
5655 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5656 * gdb.cp/pass-by-ref-2.cc: New file.
5657 * gdb.cp/pass-by-ref-2.exp: New file.
5658
fc9d2d72
TT
56592019-12-20 Tom Tromey <tom@tromey.com>
5660
5661 * gdb.tui/list-before.exp: New file.
5662
77b97e00
TT
56632019-12-20 Tom Tromey <tom@tromey.com>
5664
5665 * gdb.tui/list.exp: Check for source on initial listing.
5666
f69656d0
TT
56672019-12-11 Tom Tromey <tromey@adacore.com>
5668
5669 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5670 Add crlf test.
5671
99a55965
SM
56722019-12-18 Simon Marchi <simon.marchi@efficios.com>
5673
5674 * gdb.base/default.exp: Update value of $_gdb_major.
5675
5024637f
BE
56762019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5677
5678 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5679
b63634be
BE
56802019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5681
5682 * gdb.base/skip.exp: Whitespace fix.
5683
45d73523
BE
56842019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5685
5686 * gdb.base/skip-inline.c: New file.
5687 * gdb.base/skip-inline.exp: New file.
5688
d043f8c8
SM
56892019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5690
5691 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5692 jit_function_00 to jit_function_stack_mangle.
5693 * gdb.base/jithost.c (jit_function_t): Rename to...
5694 (jit_function_stack_mangle_t): ... this.
5695 (jit_function_add_t): New typedef.
5696 (jit_function_00_code): Rename to...
5697 (jit_function_stack_mangle_code): ... this, make static.
5698 (jit_function_add_code): New.
5699 (main): Generate "add" function and call it. Adjust to changes
5700 in jithost_abi.
5701 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5702 (struct jithost_abi) <begin, end>: Remove fields.
5703 <object, function_stack_mangle, function_add>: New fields.
5704 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5705 code_end>: Remove fields.
5706 <func_stack_mangle>: New field.
5707 (read_debug_info): Adjust to renaming, create block for "add"
5708 function.
5709 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5710
873de05c
TT
57112019-12-11 Tom Tromey <tom@tromey.com>
5712
5713 * gdb.tui/resize.exp: Fix regexp.
5714 * gdb.tui/regs.exp: Fix regexps.
5715 * gdb.tui/main.exp: Fix regexp.
5716
3d979945
TT
57172019-12-11 Tom Tromey <tom@tromey.com>
5718
5719 * gdb.tui/resize.exp: Update.
5720 * gdb.tui/empty.exp (layouts): Update.
5721
2192a9d3
TT
57222019-12-11 Tom Tromey <tom@tromey.com>
5723
5724 * gdb.tui/regs.exp: Update.
5725 * gdb.tui/empty.exp (layouts): Update.
5726 * gdb.tui/basic.exp: Update.
5727 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5728
d8edc8b7
PW
57292019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5730
5731 * gdb.base/options.exp: Add -raw-values in the print completion list.
5732 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5733
4c12d936
KB
57342019-12-10 Kevin Buettner <kevinb@redhat.com>
5735
5736 * gdb.threads/omp-par-scope.c: New file.
5737 * gdb/threads/omp-par-scope.exp: New file.
5738
26b911fb
KB
57392019-12-10 Kevin Buettner <kevinb@redhat.com>
5740
bb47f919
KB
5741 * lib/gdb.exp (support_nested_function_tests): New proc.
5742
57432019-12-10 Kevin Buettner <kevinb@redhat.com>
5744
5745 * lib/gdb.exp (gdb_compile_openmp): New proc.
5746 (build_executable_from_specs): Add an "openmp" option.
5747 (gdb_compile_pthreads): Add non-executable case.
26b911fb 5748
6c71eb7d
TT
57492019-12-10 Tom Tromey <tromey@adacore.com>
5750
5751 * gdb.ada/unchecked_union.exp: New file.
5752 * gdb.ada/unchecked_union/pck.adb: New file.
5753 * gdb.ada/unchecked_union/pck.ads: New file.
5754 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5755 * gdb-utils.exp (string_to_regexp): Also quote "?".
5756
bac7c5cf
GB
57572019-12-10 George Barrett <bob@bob131.so>
5758
5759 Test scripted probe breakpoints.
5760 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5761 * gdb.python/py-breakpoint.c (main): Likewise.
5762 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5763 specifier test.
5764 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5765
330f1d38
TBA
57662019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5767
5768 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5769 an rvalue parameter.
5770 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5771 parameter.
5772
b43315e2
AB
57732019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5774
5775 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5776 modules.
5777
54f73dad
AB
57782019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5779
5780 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5781 broken version of GCC.
5782
d57cbee9
AB
57832019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5784
5785 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5786 sym-info-cmds library.
5787 * gdb.fortran/info-types.exp: Likewise.
5788 * lib/sym-info-cmds.exp: New file.
5789
c14aab8c
TV
57902019-12-08 Tom de Vries <tdevries@suse.de>
5791
5792 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5793
aa2d5a42
KS
57942019-12-07 Keith Seitz <keiths@redhat.com>
5795
5796 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5797 * gdb.base/corefile-buildid-shlib.c: New file.
5798 * gdb.base/corefile-buildid.c: New file.
5799 * gdb.base/corefile-buildid.exp: New file.
5800
93e55f0a
TV
58012019-12-06 Tom de Vries <tdevries@suse.de>
5802
5803 * gdb.dwarf2/varval.exp: Add decl before def test.
5804
c7d12402
TBA
58052019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5806
5807 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5808
06acc08f
TBA
58092019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5810
5811 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5812 CV and reference conversion for overload resolution.
5813 * gdb.cp/rvalue-ref-overload.exp: Test it.
5814
e0fad1ea
PW
58152019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5816
5817 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5818 * gdb.base/frameapply.exp: Test faas without command.
5819
8d70a9f0
AB
58202019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5821
5822 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5823 Fortran tests.
5824 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5825 order.
5826
36c8fb93
AB
58272019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5828
5829 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5830 casting to type with no kind specified.
5831 (test_basic_parsing_of_type_kinds): Additional tests for types
5832 with no kind specified, and add tests for single/double
5833 precision/complex types.
5834
4139ff00
TT
58352019-12-04 Tom Tromey <tromey@adacore.com>
5836
5837 * gdb.base/endianity.c (struct other) <x>: New field.
5838 (main): Initialize it.
5839 * gdb.base/endianity.exp: Update.
5840
a05cf17a
TT
58412019-12-04 Tom Tromey <tromey@adacore.com>
5842
5843 * gdb.ada/scalar_storage/storage.adb: New file.
5844 * gdb.ada/scalar_storage/pck.adb: New file.
5845 * gdb.ada/scalar_storage/pck.ads: New file.
5846 * gdb.ada/scalar_storage.exp: New file.
5847
103a685e
TT
58482019-12-04 Tom Tromey <tromey@adacore.com>
5849
5850 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5851 (main): Initialize it.
5852 * gdb.base/endianity.exp: Update.
5853
c2512106
AB
58542019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5855
5856 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5857
293b38d6
AB
58582019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5859
5860 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5861 -symbol-info-module-functions and -symbol-info-module-variables.
5862
216a7e6b
AB
58632019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5864
5865 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5866
5bbd8269
AB
58672019-12-01 Richard Bunt <richard.bunt@arm.com>
5868 Andrew Burgess <andrew.burgess@embecosm.com>
5869
5870 * gdb.fortran/derived-type-striding.exp: New file.
5871 * gdb.fortran/derived-type-striding.f90: New file.
5872 * gdb.fortran/array-slices.exp: New file.
5873 * gdb.fortran/array-slices.f90: New file.
5874
be09caf1
PW
58752019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5876
5877 * gdb.base/define.exp: Test . in command names.
5878 * gdb.base/setshow.exp: Update test, as . is now part of
5879 command name.
5880
643c0cbe
PW
58812019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5882
5883 * gdb.base/define-prefix.exp: New file.
5884
dcdec678
AB
58852019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5886
5887 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5888 compile.
5889 (skip_btrace_pt_tests): Likewise.
5890
640ab947
AB
58912019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5892
5893 * gdb.fortran/info-modules.exp: Compile source files in correct
5894 order.
5895
d22670f0
KB
58962019-11-27 Kevin Buettner <kevinb@redhat.com>
5897
5898 * gdb.dwarf2/imported-unit.exp: New file.
5899 * gdb.dwarf2/imported-unit.c: New file.
5900
db5960b4
AB
59012019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5902
5903 * gdb.mi/mi-fortran-modules-2.f90: New file.
5904 * gdb.mi/mi-fortran-modules.exp: New file.
5905 * gdb.mi/mi-fortran-modules.f90: New file.
5906
7dc42066
AB
59072019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5908
5909 * gdb.mi/mi-sym-info-1.c: New file.
5910 * gdb.mi/mi-sym-info-2.c: New file.
5911 * gdb.mi/mi-sym-info.exp: New file.
5912
0dfeecca
TT
59132019-11-22 Tom Tromey <tromey@adacore.com>
5914
5915 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5916 * gdb.ada/tasks/foo.adb: Add another stopping location.
5917
34877895
PJ
59182019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5919
5920 * gdb.base/endianity.c: New test.
5921 * gdb.base/endianity.exp: New file.
5922
2e84f897
LD
59232019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5924
5925 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5926
65d1cd5f
TV
59272019-11-21 Tom de Vries <tdevries@suse.de>
5928
5929 PR gdb/24956
5930 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5931
4f22c3f4
SDJ
59322019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5933
5934 * gdb.python/py-progspace.exp: Add missing parentheses on some
5935 'print' commands.
5936
9f6ad286
TT
59372019-11-19 Tom Tromey <tom@tromey.com>
5938
5939 * gdb.tui/winheight.exp: New file.
5940
0b8dbf3f
AB
59412019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5942
5943 * gdb.base/ctf-whatis.c: Delete.
5944 * gdb.base/ctf-whatis.exp: Delete.
5945 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5946
f833b7a7
AB
59472019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5948
5949 * gdb.base/ctf-cvexpr.exp: Delete.
5950 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5951
30d0a636
AB
59522019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5953
5954 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5955 the compiler. Clean up header comment a little.
5956 * gdb.base/ctf-ptype.exp: Likewise.
5957 * gdb.base/ctf-whatis.exp: Likewise.
5958 * lib/gdb.exp (skip_ctf_tests): New proc.
5959
494409bb
SDJ
59602019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5961
5962 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5963 * gdb.tui/corefile-run.exp: New file.
5964
55708e99
TT
59652019-11-14 Tom Tromey <tromey@adacore.com>
5966
5967 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5968 regression tests.
5969
45e42163
TT
59702019-11-12 Tom Tromey <tom@tromey.com>
5971
5972 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5973 after any command. Expect prompt after WAIT_FOR is seen.
5974 (enter_tui): Enable resize messages.
5975 (command): Expect command in output.
5976 (get_line): Avoid error when cursor appears to be off-screen.
5977 (dump_screen): Include screen size in title.
5978 (_do_resize): New proc, from "resize".
5979 (resize): Rewrite. Do resize in two steps.
5980 * gdb.tui/empty.exp (layouts): Fix entries.
5981 (check_boxes): Remove xfail.
5982 (check_text): Dump screen on failure.
5983
086baaf1
AB
59842019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5985
5986 * gdb.python/py-symbol.exp: Add test for
5987 gdb.lookup_static_symbols.
5988
09ff83af
AB
59892019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5990
5991 * gdb.python/py-symbol.c: Declare and call function from new
5992 py-symbol-2.c file.
5993 * gdb.python/py-symbol.exp: Compile both source files, and add new
5994 tests for gdb.lookup_static_symbol.
5995 * gdb.python/py-symbol-2.c: New file.
5996
11af934b
TV
59972019-11-02 Tom de Vries <tdevries@suse.de>
5998
5999 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6000 * gdb.base/anon.exp: Same.
6001 * gdb.base/auto-connect-native-target.exp: Same.
6002 * gdb.base/call-ar-st.exp: Same.
6003 * gdb.base/catch-syscall.exp: Same.
6004 * gdb.base/commands.exp: Same.
6005 * gdb.base/default.exp: Same.
6006 * gdb.base/display.exp: Same.
6007 * gdb.base/float.exp: Same.
6008 * gdb.base/foll-fork.exp: Same.
6009 * gdb.base/help.exp: Same.
6010 * gdb.base/info-macros.exp: Same.
6011 * gdb.base/info-proc.exp: Same.
6012 * gdb.base/info-target.exp: Same.
6013 * gdb.base/long_long.exp: Same.
6014 * gdb.base/macscp.exp: Same.
6015 * gdb.base/memattr.exp: Same.
6016 * gdb.base/nofield.exp: Same.
6017 * gdb.base/pointers.exp: Same.
6018 * gdb.base/printcmds.exp: Same.
6019 * gdb.base/ptype.exp: Same.
6020 * gdb.base/restore.exp: Same.
6021 * gdb.base/return.exp: Same.
6022 * gdb.base/scope.exp: Same.
6023 * gdb.base/set-noassign.exp: Same.
6024 * gdb.base/setshow.exp: Same.
6025 * gdb.base/shlib-call.exp: Same.
6026 * gdb.base/signals.exp: Same.
6027 * gdb.base/sigstep.exp: Same.
6028 * gdb.base/skip.exp: Same.
6029 * gdb.base/solib-symbol.exp: Same.
6030 * gdb.base/stap-probe.exp: Same.
6031 * gdb.base/step-line.exp: Same.
6032 * gdb.base/step-test.exp: Same.
6033 * gdb.base/style.exp: Same.
6034 * gdb.base/varargs.exp: Same.
6035 * gdb.base/vla-datatypes.exp: Same.
6036 * gdb.base/vla-ptr.exp: Same.
6037 * gdb.base/vla-sideeffect.exp: Same.
6038 * gdb.base/volatile.exp: Same.
6039 * gdb.base/watch-cond-infcall.exp: Same.
6040 * gdb.base/watchpoint.exp: Same.
6041
e96ec2ba
TV
60422019-11-02 Tom de Vries <tdevries@suse.de>
6043
6044 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6045 * gdb.cp/cpexprs.exp: Same.
6046 * gdb.cp/except-multi-location.exp: Same.
6047 * gdb.cp/exceptprint.exp: Same.
6048 * gdb.cp/gdb2384.exp: Same.
6049 * gdb.cp/inherit.exp: Same.
6050 * gdb.cp/m-static.exp: Same.
6051 * gdb.cp/meth-typedefs.exp: Same.
6052 * gdb.cp/misc.exp: Same.
6053 * gdb.cp/namespace.exp: Same.
6054 * gdb.cp/non-trivial-retval.exp: Same.
6055 * gdb.cp/overload.exp: Same.
6056 * gdb.cp/pr17132.exp: Same.
6057 * gdb.cp/re-set-overloaded.exp: Same.
6058 * gdb.cp/rvalue-ref-types.exp: Same.
6059 * gdb.cp/templates.exp: Same.
6060
bd5766ec
LM
60612019-11-01 Luis Machado <luis.machado@linaro.org>
6062
6063 PR gdb/25124
6064
6065 * gdb.arch/pr25124.S: New file.
6066 * gdb.arch/pr25124.exp: New file.
6067
165f8965
AB
60682019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6069
6070 * gdb.fortran/info-modules.exp: Update expected results, and add
6071 additional tests for 'info module functinos', and 'info module
6072 variables'.
6073 * gdb.fortran/info-types.exp: Update expected results.
6074 * gdb.fortran/info-types.f90: Extend testcase with additional
6075 module variables and functions.
6076
59c35742
AB
60772019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6078
6079 * gdb.fortran/info-modules.exp: New file.
6080 * gdb.fortran/info-types.exp: Build with new file.
6081 * gdb.fortran/info-types.f90: Include and use new module.
6082 * gdb.fortran/info-types-2.f90: New file.
6083
f3fb2519
PW
60842019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6085
6086 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6087 * gdb.base/settings.exp: Test all settings types using
6088 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6089 that now verifies that the value of "maint show" is the same as
6090 returned by the settings functions. Test the type of the
6091 maintenance settings.
6092 * gdb.base/default.exp: Update show_conv_list.
6093
d1e36019
TV
60942019-10-31 Tom de Vries <tdevries@suse.de>
6095
6096 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6097 gdb_test.
6098 * gdb.arch/amd64-disp-step.exp: Same.
6099 * gdb.asm/asm-source.exp: Same.
6100 * gdb.btrace/buffer-size.exp: Same.
6101 * gdb.btrace/cpu.exp: Same.
6102 * gdb.btrace/enable.exp: Same.
6103 * gdb.dwarf2/count.exp: Same.
6104 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6105 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6106 * gdb.fortran/vla-datatypes.exp: Same.
6107 * gdb.fortran/vla-history.exp: Same.
6108 * gdb.fortran/vla-ptype.exp: Same.
6109 * gdb.fortran/vla-value.exp: Same.
6110 * gdb.fortran/whatis_type.exp: Same.
6111 * gdb.guile/guile.exp: Same.
6112 * gdb.multi/tids.exp: Same.
6113 * gdb.python/py-finish-breakpoint.exp: Same.
6114 * gdb.python/py-framefilter.exp: Same.
6115 * gdb.python/py-pp-registration.exp: Same.
6116 * gdb.python/py-xmethods.exp: Same.
6117 * gdb.python/python.exp: Same.
6118 * gdb.server/connect-with-no-symbol-file.exp: Same.
6119 * gdb.server/no-thread-db.exp: Same.
6120 * gdb.server/run-without-local-binary.exp: Same.
6121 * gdb.stabs/weird.exp: Same.
6122 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6123 * gdb.threads/thread-find.exp: Same.
6124 * gdb.threads/tls-shared.exp: Same.
6125 * gdb.threads/tls.exp: Same.
6126 * gdb.threads/wp-replication.exp: Same.
6127 * gdb.trace/ax.exp: Same.
6128 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6129
3d11e68e
TV
61302019-10-31 Tom de Vries <tdevries@suse.de>
6131
6132 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6133 * gdb.ada/array_subscript_addr.exp: Same.
6134 * gdb.ada/arrayidx.exp: Same.
6135 * gdb.ada/arrayparam.exp: Same.
6136 * gdb.ada/arrayptr.exp: Same.
6137 * gdb.ada/boolean_expr.exp: Same.
6138 * gdb.ada/call_pn.exp: Same.
6139 * gdb.ada/complete.exp: Same.
6140 * gdb.ada/fixed_cmp.exp: Same.
6141 * gdb.ada/fun_addr.exp: Same.
6142 * gdb.ada/funcall_param.exp: Same.
6143 * gdb.ada/interface.exp: Same.
6144 * gdb.ada/mod_from_name.exp: Same.
6145 * gdb.ada/null_array.exp: Same.
6146 * gdb.ada/packed_array.exp: Same.
6147 * gdb.ada/packed_tagged.exp: Same.
6148 * gdb.ada/print_chars.exp: Same.
6149 * gdb.ada/print_pc.exp: Same.
6150 * gdb.ada/ptype_arith_binop.exp: Same.
6151 * gdb.ada/ptype_field.exp: Same.
6152 * gdb.ada/ptype_tagged_param.exp: Same.
6153 * gdb.ada/rec_return.exp: Same.
6154 * gdb.ada/ref_tick_size.exp: Same.
6155 * gdb.ada/str_ref_cmp.exp: Same.
6156 * gdb.ada/taft_type.exp: Same.
6157 * gdb.ada/tagged.exp: Same.
6158 * gdb.ada/type_coercion.exp: Same.
6159 * gdb.ada/uninitialized_vars.exp: Same.
6160
60b6ede8
TV
61612019-10-30 Tom de Vries <tdevries@suse.de>
6162
6163 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6164
30baf67b
TV
61652019-10-26 Tom de Vries <tdevries@suse.de>
6166
6167 * gdb.base/bigcore.c: Fix typos in comments.
6168 * gdb.base/ctf-ptype.c: Same.
6169 * gdb.base/long_long.c: Same.
6170 * gdb.dwarf2/dw2-op-out-param.S: Same.
6171 * gdb.python/py-evthreads.c: Same.
6172 * gdb.reverse/i387-stack-reverse.c: Same.
6173 * gdb.trace/tfile.c: Same.
6174 * lib/compiler.c: Same.
6175 * lib/compiler.cc: Same.
6176
158da0d1
TV
61772019-10-25 Tom de Vries <tdevries@suse.de>
6178
6179 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6180 gdb_test_multiple calls.
6181 * gdb.reverse/sigall-reverse.exp: Same.
6182 * gdb.reverse/solib-precsave.exp: Same.
6183 * gdb.reverse/solib-reverse.exp: Same.
6184 * gdb.reverse/until-precsave.exp: Same.
6185 * gdb.reverse/until-reverse.exp: Same.
6186
4ccdfbec
TV
61872019-10-24 Tom de Vries <tdevries@suse.de>
6188
6189 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6190 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6191 kfail using -wrap pattern flag and convenience variable
6192 gdb_test_name.
6193
33d569b7
AB
61942019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6195
6196 * gdb.python/py-progspace.exp: Add tests for the
6197 Progspace.block_for_pc method.
6198
4d0b984b
TT
61992019-10-23 Tom Tromey <tom@tromey.com>
6200
6201 * configure: Rebuild.
6202 * aclocal.m4: Use m4_include, not sinclude.
6203
94cb3754
TV
62042019-10-21 Tom de Vries <tdevries@suse.de>
6205
6206 * gdb.base/infcall-nested-structs.c: Add
6207 __attribute__((noinline,noclone)) to all functions.
6208 (call_all): Add missing variable initialization. Simplify return value.
6209 (breakpt): Increment volatile variable, to prevent call from being
6210 optimized out.
6211 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6212
062f1fc1
TV
62132019-10-17 Tom de Vries <tdevries@suse.de>
6214
6215 * gdb.fortran/module.exp: Allow info variables to print info for files
6216 other than module.f90.
6217
0b54364d
AB
62182019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6219
6220 * gdb.fortran/module.exp: Extend with 'info variables' test.
6221
7ff5fae7
AB
62222019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6223
6224 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6225 F77_FOR_TARGET.
6226
d10eccaa
TV
62272019-10-16 Tom de Vries <tdevries@suse.de>
6228
6229 PR tdep/25096
6230 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6231
745ff14e
TV
62322019-10-16 Tom de Vries <tdevries@suse.de>
6233
6234 PR tdep/24104
6235 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6236 Add KFAIL for PR tdep/25096.
6237
03e1ab94
TV
62382019-10-16 Tom de Vries <tdevries@suse.de>
6239
6240 PR testsuite/25059
6241 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6242
b17fcc10
TV
62432019-10-16 Tom de Vries <tdevries@suse.de>
6244
6245 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6246 as signed.
6247
9223170f
SM
62482019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6249
6250 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6251 one instead of increasing timeout.
6252
d6e76313
TV
62532019-10-13 Tom de Vries <tdevries@suse.de>
6254
6255 PR record/25038
6256 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6257 * gdb.reverse/sigall-reverse.exp: Same.
6258 * gdb.reverse/solib-precsave.exp: Same.
6259 * gdb.reverse/solib-reverse.exp: Same.
6260 * gdb.reverse/step-precsave.exp: Same.
6261 * gdb.reverse/until-precsave.exp: Same.
6262 * gdb.reverse/until-reverse.exp: Same.
6263 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6264
6dfc0041
AA
62652019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6266
6267 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6268 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6269 (cmp_struct_05_01, cmp_struct_static_02_01)
6270 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6271 comparisons.
6272
abcf2cc8
TV
62732019-10-10 Tom de Vries <tdevries@suse.de>
6274
6275 PR testsuite/24888
6276 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6277 gnatlink.
6278
a50faaf6
TV
62792019-10-09 Tom de Vries <tdevries@suse.de>
6280
6281 PR testsuite/25048
6282 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6283
60ff3cd7
AB
62842019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6285
6286 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6287 exceptions due to missing debug information.
6288
dfee8566
TV
62892019-10-07 Tom de Vries <tdevries@suse.de>
6290
6291 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6292
3d63690a
AB
62932019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6294
6295 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6296 * gdb.base/annota1.exp: Update to use gdb_test_name.
6297
30d1f018
WP
62982019-10-07 Weimin Pan <weimin.pan@oracle.com>
6299
6300 * gdb.base/ctf-whatis.exp: New file.
6301 * gdb.base/ctf-whatis.c: New file.
6302 * gdb.base/ctf-ptype.exp: New file.
6303 * gdb.base/ctf-ptype.c: New file.
6304 * gdb.base/ctf-constvars.exp: New file.
6305 * gdb.base/ctf-constvars.c: New file.
6306 * gdb.base/ctf-cvexpr.exp: New file.
6307
4dbbb47c
TV
63082019-10-04 Tom de Vries <tdevries@suse.de>
6309
6310 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6311 for loop.
6312
77c2dba3
TT
63132019-10-03 Tom Tromey <tom@tromey.com>
6314
6315 PR rust/24976:
6316 * gdb.rust/simple.rs (Union2): New type.
6317 (main): Use Union2.
6318 * gdb.rust/simple.exp: Add test.
6319
179aed7f
AB
63202019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6321
6322 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6323 nested function prefix.
6324
0a4b0913
AB
63252019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6326 Richard Bunt <richard.bunt@arm.com>
6327 Andrew Burgess <andrew.burgess@embecosm.com>
6328
6329 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6330 nested functions.
6331 * gdb.fortran/nested-funcs.f90: Update expected results.
6332 * gdb.fortran/nested-funcs-2.exp: New file.
6333 * gdb.fortran/nested-funcs-2.f90: New file.
6334
082cce05
AB
63352019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6336
6337 * gdb.python/py-parameter.exp: Make test names unique.
6338 * gdb.python/py-template.exp: Likewise.
6339 * gdb.python/py-value.exp: Likewise.
6340
2b74ba5a
AB
63412019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6342
6343 * gdb.base/break-interp.exp: Reduce test name duplication.
6344 * gdb.base/call-sc.exp: Likewise.
6345 * gdb.base/callfuncs.exp: Likewise.
6346 * gdb.base/charset.exp: Likewise.
6347 * gdb.base/dump.exp: Likewise.
6348 * gdb.base/ena-dis-br.exp: Likewise.
6349 * gdb.base/relational.exp: Likewise.
6350 * gdb.base/step-over-syscall.exp: Likewise.
6351 * gdb.base/structs.exp: Likewise.
6352
58eb20d5
AB
63532019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6354
6355 * gdb.linespec/explicit.exp: Make test names unique.
6356 * gdb.linespec/ls-errs.exp: Likewise.
6357
4d421147
AB
63582019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6359
6360 * gdb.reverse/break-precsave.exp: Make test names unique.
6361 * gdb.reverse/break-reverse.exp: Likewise.
6362 * gdb.reverse/finish-precsave.exp: Likewise.
6363 * gdb.reverse/finish-reverse.exp: Likewise.
6364 * gdb.reverse/machinestate-precsave.exp: Likewise.
6365 * gdb.reverse/machinestate.exp: Likewise.
6366 * gdb.reverse/readv-reverse.exp: Likewise.
6367 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6368 * gdb.reverse/sigall-precsave.exp: Likewise.
6369 * gdb.reverse/sigall-reverse.exp: Likewise.
6370 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6371 * gdb.reverse/watch-precsave.exp: Likewise.
6372 * gdb.reverse/watch-reverse.exp: Likewise.
6373
d8c06f22
AB
63742019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6375
6376 * gdb.threads/stop-with-handle.c: New file.
6377 * gdb.threads/stop-with-handle.exp: New file.
6378
3a56ed86
TV
63792019-10-03 Tom de Vries <tdevries@suse.de>
6380
6381 PR testsuite/25059
6382 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6383 directory" line to be missing.
6384
42275044
TV
63852019-10-03 Tom de Vries <tdevries@suse.de>
6386
6387 PR testsuite/25059
6388 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6389 type optional.
6390
9ef62df0
AA
63912019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6392
6393 * gdb.python/py-format-string.c (string.h): New include.
6394 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6395 the same value, for endianness-independence.
6396 * gdb.python/py-format-string.exp (default_regexp_dict)
6397 (test_pretty_structs, test_format): Adjust expected output to the
6398 changed initialization.
6399
37f6a7f4
TT
64002019-10-02 Tom Tromey <tromey@adacore.com>
6401
6402 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6403
1d58d6a2
PA
64042019-10-02 Pedro Alves <palves@redhat.com>
6405 Andrew Burgess <andrew.burgess@embecosm.com>
6406
6407 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6408 "print-file-var.h".
6409 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6410 (get_version_1): Print this_version_id and its address.
6411 Add extern "C" wrappers around interface functions.
6412 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6413 "print-file-var.h".
6414 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6415 (get_version_2): Print this_version_id and its address.
6416 Add extern "C" wrappers around interface functions.
6417 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6418 <stddef.h> and "print-file-var.h".
6419 Add extern "C" wrappers around interface functions.
6420 [VERSION_ID_MAIN] (this_version_id): Define.
6421 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6422 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6423 up extern "C" blocks.
6424 * gdb.base/print-file-var.exp (test): New, factored out from top
6425 level.
6426 (top level): Test all combinations of attribute hidden or not,
6427 dlopen or not, and this_version_id symbol in main file or not.
6428 Compile tests as both C++ and C, make test names unique.
6429
d770d56f
TT
64302019-10-01 Tom Tromey <tom@tromey.com>
6431
6432 * gdb.base/style.exp: Test "show logging filename".
6433
7f6aba03
TT
64342019-10-01 Tom Tromey <tom@tromey.com>
6435
6436 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6437 * gdb.base/style.exp: Add metadata style test.
6438
14309bb6
TT
64392019-10-01 Tom Tromey <tom@tromey.com>
6440
6441 * gdb.base/style.exp: Test "pwd".
6442
2a3c1174
PA
64432019-10-01 Tom Tromey <tom@tromey.com>
6444
6445 * gdb.base/style.exp: Update tests.
6446
53d666ec
AA
64472019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6448
6449 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6450 'six' to unsigned.
6451 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6452 'five'. Use an all-ones bit pattern for each.
6453 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6454 to its changed values.
6455
4a56a520
TT
64562019-09-30 Tom Tromey <tromey@adacore.com>
6457
6458 * gdb.rust/traits.rs: Disable all warnings.
6459
0df0352a
TV
64602019-09-29 Tom de Vries <tdevries@suse.de>
6461
aac66a4c 6462 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 6463
73d9a918
TV
64642019-09-29 Tom de Vries <tdevries@suse.de>
6465
6466 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6467
060b3ab4
TV
64682019-09-27 Tom de Vries <tdevries@suse.de>
6469
6470 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6471
68f7d34d
TV
64722019-09-27 Tom de Vries <tdevries@suse.de>
6473
6474 PR record/23188
6475 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6476
5d63b30a
TT
64772019-09-26 Tom Tromey <tromey@adacore.com>
6478
6479 * gdb.ada/py_taft.exp: New file.
6480 * gdb.ada/py_taft/main.adb: New file.
6481 * gdb.ada/py_taft/pkg.adb: New file.
6482 * gdb.ada/py_taft/pkg.ads: New file.
6483
3d435220
TV
64842019-09-24 Tom de Vries <tdevries@suse.de>
6485
6486 PR gdb/24598
6487 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6488
77d03678
TV
64892019-09-22 Tom de Vries <tdevries@suse.de>
6490
6491 * gdb.base/restore.exp: Allow register variables to be optimized out at
6492 -O0.
6493
abf516c6
UW
64942019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6495
6496 * gdb.arch/spu-info.exp: Remove file.
6497 * gdb.arch/spu-info.c: Remove file.
6498 * gdb.arch/spu-ls.exp: Remove file.
6499 * gdb.arch/spu-ls.c: Remove file.
6500
6501 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6502 * gdb.asm/spu.inc: Remove file.
6503
6504 * gdb.base/dump.exp: Remove support for spu*-*-*.
6505 * gdb.base/stack-checking.exp: Likewise.
6506 * gdb.base/overlays.exp: Likewise.
6507 * gdb.base/ovlymgr.c: Likewise.
6508 * gdb.base/spu.ld: Remove file.
6509
6510 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6511 * gdb.cp/cpexprs.exp: Likewise.
6512 * gdb.cp/exception.exp: Likewise.
6513 * gdb.cp/gdb2495.exp: Likewise.
6514 * gdb.cp/mb-templates.exp: Likewise.
6515 * gdb.cp/pr9167.exp: Likewise.
6516 * gdb.cp/userdef.exp: Likewise.
6517
6518 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6519
6520 * gdb.cell: Remove directory.
6521 * lib/cell.exp: Remove file.
6522
e452e88f
TV
65232019-09-19 Tom de Vries <tdevries@suse.de>
6524
6525 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6526
8a625130
TV
65272019-09-19 Tom de Vries <tdevries@suse.de>
6528
6529 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6530
81dc3ab5
TV
65312019-09-19 Tom de Vries <tdevries@suse.de>
6532
6533 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6534 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6535 (gdb_target_cmd): ... here.
6536 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6537 value 2.
6538
b078f3ac
AB
65392019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6540
6541 * gdb.base/source-dir.exp: Avoid having directory names in test
6542 names.
6543
f1b620e9
MG
65442019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6545
6546 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6547 directory.
6548
67f3ed6a
AB
65492019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6550
6551 * gdb.base/list-missing-source.exp: New file.
6552
d1b70248
TV
65532019-09-14 Tom de Vries <tdevries@suse.de>
6554
6555 PR teststuite/24599
6556 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6557 * lib/ada.exp (gnatmake_version_at_least): New proc.
6558
5fabdcd6
AB
65592019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6560
6561 * gdb.base/maint.exp: Use exec_has_index_section.
6562
aa17805f
AB
65632019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6564
6565 * gdb.base/maint.exp: Add test for 'maint info sections'.
6566
25e5c209
TV
65672019-09-12 Tom de Vries <tdevries@suse.de>
6568
6569 * gdb.base/store.exp: Allow register variables to be optimized out at
6570 -O0.
6571
4993045d
PW
65722019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6573
6574 * gdb.ada/rdv_wait.exp: Update to new task names.
6575 * gdb.base/task_switch_in_core.exp: Likewise.
6576 * gdb.base/info_sources_base.c: Likewise.
6577
8a516164
TT
65782019-09-10 Tom Tromey <tromey@adacore.com>
6579
6580 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6581
aa391654
TT
65822019-09-10 Tom Tromey <tromey@adacore.com>
6583
6584 * gdb.ada/dgopt.exp: New file.
6585 * gdb.ada/dgopt/x.adb: New file.
6586
8634b462
TT
65872019-09-08 Tom Tromey <tom@tromey.com>
6588
6589 * gdb.tui/resize.exp: Remove setup_xfail.
6590 * gdb.tui/regs.exp: Remove setup_xfail.
6591 * gdb.tui/basic.exp: Remove setup_xfail.
6592
736b0f76
DB
65932019-09-06 David Blaikie <dblaikie@gmail.com>
6594
6595 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6596 * gdb.cp/cplabel.exp: Ditto.
6597 * gdb.linespec/ls-errs.exp: Ditto.
6598
30331a6c
TV
65992019-09-05 Tom de Vries <tdevries@suse.de>
6600
6601 * lib/gdb.exp (cmp_file_string): New proc.
6602 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6603 runto_main. Verify save breakpoints output.
6604
98b0ebab
PW
66052019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6606
6607 * gdb.base/info-var.exp: Test info variables without running
6608 to main, to avoid expect's buffer overflow.
6609
4e962e74
TT
66102019-09-03 Tom Tromey <tromey@adacore.com>
6611
6612 * gdb.ada/bias.exp: New file.
6613 * gdb.ada/bias/bias.adb: New file.
6614 * gdb.ada/print_chars.exp: Add regression test.
6615 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6616 (MC): New variable.
6617
2ea1a07a
SL
66182019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6619
6620 * gdb.base/argv0-symlink.exp: Run only on native target
6621 and local host.
6622
8077c50d
TV
66232019-08-29 Tom de Vries <tdevries@suse.de>
6624
6625 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6626 diverse debug info.
6627 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6628
48352473
TV
66292019-08-28 Tom de Vries <tdevries@suse.de>
6630
6631 * gdb.base/info-var.exp: Allow info variables to print info for files
6632 other than info-var-f1.c and info-var-f2.c.
6633
d8f27c60
AB
66342019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6635
6636 * gdb.fortran/info-types.exp: Add module.
6637 * gdb.fortran/info-types.f90: Update expected results.
6638
1f20c35e
AB
66392019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6640
6641 * gdb.fortran/info-types.exp: New file.
6642 * gdb.fortran/info-types.f90: New file.
6643 * lib/fortran.exp (fortran_character1): New proc.
6644
4acfdd20
AB
66452019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6646
6647 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6648 functions'. Reindent as needed.
6649 * gdb.base/info-var-f1.c: New file.
6650 * gdb.base/info-var-f2.c: New file.
6651 * gdb.base/info-var.exp: New file.
6652 * gdb.base/info-var.h: New file.
6653
5c31b358
TV
66542019-08-26 Tom de Vries <tdevries@suse.de>
6655
6656 PR c++/24852
6657 * gdb.cp/no-libstdcxx-probe.exp: New test.
6658
b694989f
TV
66592019-08-26 Tom de Vries <tdevries@suse.de>
6660
6661 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6662 * tests need to be skipped.
6663 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6664 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6665 mi_skip_libstdcxx_probe_tests.
6666
d9c4ba53
SDJ
66672019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6668
6669 * gdb.python/py-xmethods.exp: Use raw strings when passing
6670 arguments to SimpleXMethodMatcher.
6671
395fad09
TV
66722019-08-22 Tom de Vries <tdevries@suse.de>
6673
6674 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6675 more informative.
6676
26c957f1
PA
66772019-08-21 Pedro Alves <palves@redhat.com>
6678
6679 * gdb.base/with.exp: Test "with" with no arguments.
6680
61f80d5d
TV
66812019-08-21 Tom de Vries <tdevries@suse.de>
6682
6683 * gdb.base/gdb-caching-proc.exp: Sort files.
6684
d7a11d13
TV
66852019-08-20 Tom de Vries <tdevries@suse.de>
6686
6687 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6688 compilation.
6689
34dafe9f
TV
66902019-08-16 Tom de Vries <tdevries@suse.de>
6691
6692 * gdb.base/compare-sections.exp ("after run to main"): Allow
6693 mismatched read-only sections for PIE executables.
6694
398fdd60
TT
66952019-08-16 Tom Tromey <tom@tromey.com>
6696
6697 * lib/tuiterm.exp (_csi_Z): New proc.
6698 * gdb.tui/basic.exp: Update window positions.
6699 * gdb.tui/empty.exp: Update window positions.
6700
d8f9e51c
SL
67012019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6702
6703 * gdb.base/examine-backward.exp: Correct regexp for
6704 "examine 3 bytes backward from ${address_zero}".
6705
3df505f6
TT
67062019-08-15 Tom Tromey <tom@tromey.com>
6707
6708 * gdb.tui/empty.exp: Enable resizing tests.
6709
272560b5
TT
67102019-08-15 Tom Tromey <tromey@adacore.com>
6711
6712 * gdb.ada/char_enum.exp: Add regression tests.
6713 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6714 and '0'.
6715 (Char, Gchar): Update.
6716 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6717
08235187
CB
67182019-08-15 Christian Biesinger <cbiesinger@google.com>
6719
6720 * gdb.python/python.exp: Expect a leading underscore on
6721 GdbOutput{,Error}File.
6722
22a2ab04
SL
67232019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6724
6725 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6726 Windows host.
6727
835b995b
SL
67282019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6729
6730 * gdb.base/batch-preserve-term-settings.exp
6731 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6732
97dd8e07
CB
67332019-08-15 Christian Biesinger <cbiesinger@google.com>
6734
6735 * lib/gdb.exp: When running on a mingw target, replace
6736 /x/ with x:/.
6737
75faf5c4
AH
67382019-08-14 Alan Hayward <alan.hayward@arm.com>
6739
6740 * gdb.arch/aarch64-prologue.c: New test.
6741 * gdb.arch/aarch64-prologue.exp: New file.
6742
abc6c00f
TV
67432019-08-13 Tom de Vries <tdevries@suse.de>
6744
6745 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6746 Thread.
6747
74c2c1f4
SL
67482019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6749
6750 * gdb.python/py-completion.exp: Download the .py file to the host
6751 and use its host pathname. Conditionalize tests that use
6752 tab completion and manipulate files on the build machine.
6753 * gdb.python/py-events.exp: Download the .py file to the host
6754 and use its host pathname.
6755 * gdb.python/py-evsignal.exp: Likewise.
6756 * gdb.python/py-evthreads.exp: Likewise.
6757 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6758 pathname syntax.
6759 * gdb.python/py-framefilter.exp: Download the .py file to the right
6760 place on the host. Match Windows pathname syntax.
6761 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6762 .py file to the host and use its host pathname.
6763 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6764 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6765 build pathname. Skip symlink test on Windows host. Add missing
6766 newline at end of file.
6767 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6768 and use its host pathname.
6769 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6770 * gdb.python/py-section-script.exp: Use host location of binfile
6771 on safe-path. Use correct path separator on Windows host.
6772 Reorder alternatives in gdb_test_multiple to prevent matching
6773 the wrong alternative on success.
6774 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6775
ca2589f3
PP
67762019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6777
6778 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6779 expect the GDB inferior to no longer immediately stop after
6780 being resumed with "signal SIGINT".
6781
020a839d
SL
67822019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6783
6784 * gdb.linespec/break-ask.exp: Generalize regexps to match
6785 Windows pathnames too.
6786
128d6509
TV
67872019-08-08 Tom de Vries <tdevries@suse.de>
6788
6789 PR testsuite/24862
6790 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6791
590042fc
PW
67922019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6793
6794 * gdb.base/style.exp: Update tests for help doc new invariants.
6795 * gdb.base/help.exp: Likewise.
6796
046bebe1
TT
67972019-08-06 Tom Tromey <tom@tromey.com>
6798
6799 * gdb.base/style.exp: Add disassemble test.
6800 * gdb.base/style.c (some_called_function): New function.
6801 (main): Use it.
6802
0b27c27d
CB
68032019-08-05 Christian Biesinger <cbiesinger@google.com>
6804
6805 * gdb.python/py-block.exp: Test dictionary access on blocks.
6806
580f1034
SM
68072019-08-05 Simon Marchi <simon.marchi@efficios.com>
6808
6809 PR gdb/24863
6810 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6811 -list-thread-groups --available test when running under
6812 check-read1.
6813
d86bd7cb
TV
68142019-08-05 Tom de Vries <tdevries@suse.de>
6815
6816 PR testsuite/24863
6817 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6818 * gdb.base/help.exp: Use with_read1_timeout_factor.
6819 * gdb.base/info-macros.exp: Same.
6820 * gdb.cp/nested-types.exp: Same.
6821
a80cf5d8
TV
68222019-08-05 Tom de Vries <tdevries@suse.de>
6823
6824 * lib/gdb.exp (version_at_least): Factor out of ...
6825 (tcl_version_at_least): ... here.
6826 (gdb_compile): Fail if pie results in non-PIE executable.
6827 (readelf_version, readelf_prints_pie): New proc.
6828 (exec_is_pie): Return -1 if unknown.
6829
d0962838
TV
68302019-08-05 Tom de Vries <tdevries@suse.de>
6831
6832 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6833
2252ff3d
SL
68342019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6835
6836 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6837
26655f53
SL
68382019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6839
6840 * lib/completion-support.exp (test_gdb_complete_none): Skip
6841 tab completion tests if no readline support.
6842 (test_gdb_complete_unique_re): Likewise.
6843 (test_gdb_complete_multiple): Likewise.
6844
db4dc13e
PW
68452019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6846
6847 * gdb.base/info_sources.exp: New file.
6848 * gdb.base/info_sources.c: New file.
6849 * gdb.base/info_sources_base.c: New file.
6850
0eba165a
PFC
68512019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6852
6853 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6854 prefix argument.
6855 (test_exit_status): Add prefix argument.
6856
59bd512b
TV
68572019-08-01 Tom de Vries <tdevries@suse.de>
6858
6859 PR testsuite/24863
6860 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6861 calling exp_continue for new thread and thread exited messages.
6862
2a3ad588
TV
68632019-08-01 Tom de Vries <tdevries@suse.de>
6864
6865 PR testsuite/24863
6866 * gdb.base/structs.exp: Fix check-read1 timeout using
6867 gdb_test_sequence.
6868 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6869
117eb594
TV
68702019-08-01 Tom de Vries <tdevries@suse.de>
6871
6872 PR testsuite/24863
6873 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6874 line.
6875
ed591340
TV
68762019-08-01 Tom de Vries <tdevries@suse.de>
6877
6878 PR testsuite/24863
6879 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6880
aa3b6533
TT
68812019-07-30 Tom Tromey <tromey@adacore.com>
6882
6883 * gdb.ada/display_nested.exp: New file.
6884 * gdb.ada/display_nested/foo.adb: New file.
6885 * gdb.ada/display_nested/pack.adb: New file.
6886 * gdb.ada/display_nested/pack.ads: New file.
6887
2906593f
CB
68882019-07-30 Christian Biesinger <cbiesinger@google.com>
6889
6890 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6891 namespace.
6892 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6893
0f575925
TV
68942019-07-30 Tom de Vries <tdevries@suse.de>
6895
6896 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6897 instead.
6898
b13057d9
TV
68992019-07-30 Tom de Vries <tdevries@suse.de>
6900
6901 PR testsuite/24834
6902 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6903 (exec_is_pie): New proc.
6904
5c4dde85
CB
69052019-07-29 Christian Biesinger <cbiesinger@google.com>
6906
6907 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6908
c620ed88
CB
69092019-07-29 Christian Biesinger <cbiesinger@google.com>
6910
6911 * gdb.python/py-objfile.c: Add global and static vars.
6912 * gdb.python/py-objfile.exp: Test new functions Objfile.
6913 lookup_global_symbol and lookup_static_symbol.
6914
3d235706
TT
69152019-07-29 Tom Tromey <tom@tromey.com>
6916
6917 * lib/tuiterm.exp (Term::_csi_@): New proc.
6918 (Term::_csi_X): Don't move cursor.
6919
c7e4c0a6
PW
69202019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6921
6922 * gdb.base/options.exp: Update backtrace - completion to
6923 new option -frame-info.
6924 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6925 Test new 'set print frame-info'. Test backtrace -frame-info
6926 overriding 'set print frame-info'.
6927 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6928 Test new 'set print frame-info'.
6929 Verify consistency of backtrace with and without filters, with and
6930 without -no-filters.
6931 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6932 default.
6933
de28a3b7
TV
69342019-07-29 Tom de Vries <tdevries@suse.de>
6935
6936 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6937 no arguments".
6938
507dd60e
TV
69392019-07-29 Tom de Vries <tdevries@suse.de>
6940
6941 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6942 is a substring of the first for "complete non-unique file name".
6943
5beafce9
TV
69442019-07-29 Tom de Vries <tdevries@suse.de>
6945
6946 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6947 with ".*".
6948
2d274232
TV
69492019-07-29 Tom de Vries <tdevries@suse.de>
6950
6951 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6952 Pass prompt_regexp parameter to gdb_test_multiple calls.
6953
9197cd8b
TV
69542019-07-29 Tom de Vries <tdevries@suse.de>
6955
6956 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 6957 print registers" regexps.
9197cd8b 6958
b528dae0
TV
69592019-07-29 Tom de Vries <tdevries@suse.de>
6960
6961 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6962
d17725d7
TV
69632019-07-29 Tom de Vries <tdevries@suse.de>
6964
6965 PR gdb/24855
6966 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6967 (skip_python_tests_prompt): Add prompt_regexp argument to
6968 gdb_test_multiple calls.
6969
52b75bf1
TT
69702019-07-27 Tom Tromey <tom@tromey.com>
6971
6972 * gdb.tui/main.exp: New file.
6973
2b1d00c2
TT
69742019-07-27 Tom Tromey <tom@tromey.com>
6975
6976 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6977 optional.
6978 * gdb.tui/empty.exp: New file.
6979
ded631d5
TT
69802019-07-27 Tom Tromey <tom@tromey.com>
6981
6982 * lib/tuiterm.exp (spawn): New proc.
6983 (Term::resize): New proc.
6984 * gdb.tui/resize.exp: New file.
6985
58ac439d
TT
69862019-07-27 Tom Tromey <tom@tromey.com>
6987
6988 * gdb.tui/list.exp: New file.
6989
fe1f56ee
TT
69902019-07-27 Tom Tromey <tom@tromey.com>
6991
6992 * gdb.tui/regs.exp: New file.
6993
f790b310
TT
69942019-07-27 Tom Tromey <tom@tromey.com>
6995
6996 * gdb.tui/basic.exp: Add "layout split" test.
6997
d95fc6ee
TT
69982019-07-27 Tom Tromey <tom@tromey.com>
6999
7000 * gdb.tui/basic.exp: Add "layout asm" test.
7001
c3786b3a
TT
70022019-07-27 Tom Tromey <tom@tromey.com>
7003
7004 * lib/tuiterm.exp: New file.
7005 * gdb.tui/basic.exp: New file.
7006
98a617f8
KB
70072019-07-27 Kevin Buettner <kevinb@redhat.com>
7008
7009 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7010 Enable tests associated with this flag. Adjust regex
7011 referencing "foo_low" to now refer to "foo_cold" instead.
7012
5c076da4
KB
70132019-07-27 Kevin Buettner <kevinb@redhat.com>
7014
7015 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7016 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7017 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7018 foo_cold. Revise comments to match.
7019 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7020 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7021 were wrapped into this proc; Call do_test in loop from outermost
7022 level.
7023 (foo_low): Rename all occurrences to "foo_cold".
7024 (backtrace from baz): New test.
7025 (x2/i foo_cold): New test.
7026 (info line *foo_cold): New test.
7027
1512d3b7
TV
70282019-07-26 Tom de Vries <tdevries@suse.de>
7029
7030 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7031
297989a1
TV
70322019-07-25 Tom de Vries <tdevries@suse.de>
7033
7034 PR testsuite/24830
7035 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7036 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7037 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7038 (skip_libstdcxx_probe_tests): ... here.
7039 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7040
b3b965fb
TV
70412019-07-24 Tom de Vries <tdevries@suse.de>
7042
7043 PR testsuite/24807
7044 * gdb.objc/basicclass.m: Include stdio.h.
7045 * gdb.objc/nondebug.m: Same.
7046 * gdb.objc/objcdecode.m: Same.
7047
4625b4d0
TV
70482019-07-24 Tom de Vries <tdevries@suse.de>
7049
7050 PR testsuite/24612
7051 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7052 additional_flags.
7053
024a5840
TV
70542019-07-24 Tom de Vries <tdevries@suse.de>
7055
7056 PR testsuite/24831
7057 * gdb.multi/tids.exp: Update error messages for info threads.
7058
c76ddaa3
TV
70592019-07-24 Tom de Vries <tdevries@suse.de>
7060
7061 * gdb.base/info-types.exp: Allow info types to print info for more than
7062 one file.
7063
9a618ef6
TV
70642019-07-23 Tom de Vries <tdevries@suse.de>
7065
7066 PR testsuite/24842
7067 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7068 gdb_spawn_with_cmdline_opts.
7069
40eadf04
SP
70702019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7071
7072 * gdb.arch/arm-cmse-sgstubs.c: New test.
7073 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7074
5ba29434
TV
70752019-07-23 Tom de Vries <tdevries@suse.de>
7076
7077 PR testsuite/24711
7078 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7079 issuing next command.
7080
a8e9d247
AB
70812019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7082
7083 * gdb.ada/info_auto_lang.exp: Update expected results.
7084 * gdb.base/info-types.c: Add additional types to check.
7085 * gdb.base/info-types.exp: Update expected results.
7086
eb86c5e2
AB
70872019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7088
7089 * gdb.base/info-types.c: New file.
7090 * gdb.base/info-types.exp: New file.
7091
01e175fe
AB
70922019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7093
7094 * gdb.arch/riscv-bp-infcall.c: New file.
7095 * gdb.arch/riscv-bp-infcall.exp: New file.
7096
6b78c3f8
AB
70972019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7098
7099 PR breakpoints/24541
7100 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7101
da738167
TV
71022019-07-14 Tom de Vries <tdevries@suse.de>
7103
7104 PR testsuite/24760
7105 * gdb.objc/basicclass.exp: Fix unterminated string.
7106
0d4e84ed
AB
71072019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7108 Andrew Burgess <andrew.burgess@embecosm.com>
7109
7110 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7111 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7112 negative bounds.
7113 * gdb.fortran/vla-value.exp: Print elements of an array with
7114 negative bounds.
7115 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7116 testing.
7117
021d8588
AB
71182019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7119
7120 * gdb.base/options.exp (expect_string): Dequote strings in
7121 results.
7122 (test-string): Test strings with different quoting and reindent.
7123
f06f1252
TT
71242019-07-10 Tom Tromey <tromey@adacore.com>
7125
7126 * gdb.ada/mi_ex_cond.exp: Update expected results.
7127 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7128 * gdb.ada/mi_catch_ex.exp: Update expected results.
7129 * gdb.ada/mi_catch_assert.exp: Update expected results.
7130 * gdb.ada/catch_ex.exp (catch_exception_info)
7131 (catch_exception_entry, catch_assert_entry)
7132 (catch_unhandled_entry): Update.
7133 * gdb.ada/catch_assert_if.exp: Update expected results.
7134
b863685d
RB
71352019-07-10 Richard Bunt <richard.bunt@arm.com>
7136 Stephen Roberts <stephen.roberts@arm.com>
7137
7138 * gdb.base/define.exp: Restore original prompt.
7139
cb1e4e32
PA
71402019-07-09 Pedro Alves <palves@redhat.com>
7141
7142 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7143 breakpoints" output.
7144 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7145 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7146 throw" creates breakpoint.
7147 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7148 'type="catchpoint"'.
7149
b58a68fe
PA
71502019-07-09 Pedro Alves <palves@redhat.com>
7151
7152 PR c++/15468
7153 * gdb.cp/except-multi-location-lib.cc: New.
7154 * gdb.cp/except-multi-location-main.cc: New.
7155 * gdb.cp/except-multi-location.exp: New.
7156
0826779b
PW
71572019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7158
7159 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7160 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7161 argument and update callers.
7162
5b0e2db4
AB
71632019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7164
7165 * gdb.arch/amd64-break-on-asm-line.S: New file.
7166 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7167
1f6f6e21
PW
71682019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7169
7170 * gdb.base/printcmds.exp: Test printing C string and
7171 C wide string convenience vars without transiting via the inferior.
7172 Also make test names unique.
7173
ea142fbf
AH
71742019-07-08 Alan Hayward <alan.hayward@arm.com>
7175
5862c886 7176 PR breakpoints/25011
ea142fbf
AH
7177 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7178
213fd9fa
PA
71792019-07-04 Pedro Alves <palves@redhat.com>
7180
7181 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7182 body returned ok(0), break(3) or continue(4).
7183 * gdb.testsuite/foreach_with_prefix.exp: New file.
7184
2b40fda7
AH
71852019-07-04 Alan Hayward <alan.hayward@arm.com>
7186
7187 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7188
a26c8de0
PA
71892019-07-03 Pedro Alves <palves@redhat.com>
7190
7191 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7192 "return -code".
7193
5f4ba3e7
PA
71942019-07-03 Pedro Alves <palves@redhat.com>
7195
7196 PR cli/24732
7197 * gdb.base/shell.exp: Load completion-support.exp.
7198 Adjust expected error output. Add completion tests.
7199
a994424f
PA
72002019-07-03 Pedro Alves <palves@redhat.com>
7201
7202 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7203 string_to_regexp.
7204
3d9be6f5
PA
72052019-07-03 Pedro Alves <palves@redhat.com>
7206
7207 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7208 (expect_integer): Adjust to expect "-string".
7209 (expect_string): New.
7210 (all_options): Expect "-string".
7211 (test-flag, test-boolean): Adjust to expect "-string".
7212 (test-string): New proc.
7213 (top level): Call it.
7214
41fc454c
PA
72152019-07-03 Pedro Alves <palves@redhat.com>
7216
7217 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7218 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7219 the expected output in the success.
7220
b2b2a215
PA
72212019-07-03 Pedro Alves <palves@redhat.com>
7222
7223 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7224 Split one gdb_test_multiple call in two to avoid a race.
7225
fdbc9870
PA
72262019-07-03 Pedro Alves <palves@redhat.com>
7227
7228 * gdb.base/with.c: New file.
7229 * gdb.base/with.exp: New file.
7230
c6ac8931
PA
72312019-07-03 Pedro Alves <palves@redhat.com>
7232
7233 * gdb.base/settings.exp: Replace all references to "maint
7234 test-settings set" with references to "maint set test-settings",
7235 and all references to "maint test-settings show" with references
7236 to "maint show test-settings".
7237
970f9d09
PA
72382019-07-03 Pedro Alves <palves@redhat.com>
7239
7240 * gdb.base/settings.exp (test-string): Adjust expected out when
7241 testing "maint test-settings show filename"
7242
54d66006
PA
72432019-07-02 Pedro Alves <palves@redhat.com>
7244
7245 * gdb.base/options.exp (test-info-threads): New procedure.
7246 (top level): Call it.
7247
10d06d82
TT
72482019-06-28 Tom Tromey <tromey@adacore.com>
7249
7250 * gdb.dwarf2/ada-linkage-name.c: New file.
7251 * gdb.dwarf2/ada-linkage-name.exp: New file.
7252
3d507ff2
TT
72532019-06-27 Tom Tromey <tromey@adacore.com>
7254
d039f014 7255 PR c++/20020:
3d507ff2
TT
7256 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7257
8af58ffe
TV
72582019-06-26 Tom de Vries <tdevries@suse.de>
7259
7260 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7261
22e21752
TV
72622019-06-26 Tom de Vries <tdevries@suse.de>
7263
7264 * gdb.base/index-cache.exp: Add back missing debug option.
7265
b65b566c
PW
72662019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7267
7268 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7269
5c2c8c69
TV
72702019-06-25 Tom de Vries <tdevries@suse.de>
7271
7272 PR testsuite/24727
7273 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7274
164e3873
TV
72752019-06-24 Tom de Vries <tdevries@suse.de>
7276
7277 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7278
824eacee
TV
72792019-06-24 Tom de Vries <tdevries@suse.de>
7280
7281 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7282 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7283 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7284
385b97d3
TV
72852019-06-24 Tom de Vries <tdevries@suse.de>
7286
7287 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7288
c596f180
TV
72892019-06-21 Tom de Vries <tdevries@suse.de>
7290
7291 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7292
b13a7d03
TV
72932019-06-21 Tom de Vries <tdevries@suse.de>
7294
7295 PR testsuite/24518
7296 PR ada/24713
7297 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7298 index.
7299
899277ae
TT
73002019-06-19 Tom Tromey <tromey@adacore.com>
7301
7302 * gdb.ada/length_cond.exp: Add intro comment.
7303
680e1bee
TT
73042019-06-19 Tom Tromey <tromey@adacore.com>
7305
7306 * gdb.ada/length_cond.exp: New file.
7307 * gdb.ada/length_cond/length_cond.adb: New file.
7308 * gdb.ada/length_cond/pck.adb: New file.
7309 * gdb.ada/length_cond/pck.ads: New file.
7310
0ed4690a
TV
73112019-06-18 Tom de Vries <tdevries@suse.de>
7312
7313 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7314
d20ed5fd
TT
73152019-06-18 Tom Tromey <tromey@adacore.com>
7316
7317 * gdb.base/list0.h: Add comment explaining control character.
7318
86e04673
TV
73192019-06-18 Tom de Vries <tdevries@suse.de>
7320
7321 * boards/fission.exp: Break up long debug_flags line.
7322
c4973306
SM
73232019-06-16 Tom de Vries <tdevries@suse.de>
7324
7325 PR gdb/24445
7326 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7327 generated index.
7328
93cb9841
AB
73292019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7330
7331 PR gdb/24686
7332 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7333 improve detection of bug gdb/24541.
7334
399aaebd
SM
73352019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7336
7337 PR gdb/24669
7338 * gdb.base/index-cache.exp (uses_readnow,
7339 expecting_index_cache_use): Define global variable.
7340 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7341 expecting_index_cache_use.
7342
584a927c
AB
73432019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7344 Andrew Burgess <andrew.burgess@embecosm.com>
7345
7346 * gdb.fortran/pointers.f90: New file.
7347 * gdb.fortran/print_type.exp: New file.
7348 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7349 * gdb.fortran/vla-type.exp: Likewise.
7350 * gdb.fortran/vla-value.exp: Likewise.
7351 * gdb.mi/mi-vla-fortran.exp: Likewise.
7352
30056ea0
AB
73532019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7354
7355 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7356 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7357 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7358 as a stop reason.
7359
ec8e2b6d
AB
73602019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7361
7362 * gdb.base/annota1.exp: Update expected results.
7363 * gdb.cp/annota2.exp: Likewise.
7364 * gdb.cp/annota3.exp: Likewise.
7365
09e4c4e1
AB
73662019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7367
7368 * gdb.base/style-logging.exp: Remove path from test name.
7369
0735b091
TT
73702019-06-14 Tom Tromey <tromey@adacore.com>
7371
7372 PR gdb/24502:
7373 * gdb.base/style-logging.exp: New file.
7374
f5686554
TT
73752019-06-14 Tom Tromey <tromey@adacore.com>
7376
7377 * gdb.base/symfile-warn.exp: New file.
7378 * gdb.base/symfile-warn.c: New file.
7379
a0c1ffed
TT
73802019-06-14 Tom Tromey <tromey@adacore.com>
7381
7382 * gdb.base/annotate-symlink.exp: New file.
7383
f411722c
TT
73842019-06-14 Tom Tromey <tromey@adacore.com>
7385
7386 * gdb.ada/set_wstr.exp: Add reassignment test.
7387
4268ec18
TT
73882019-06-14 Tom Tromey <tromey@adacore.com>
7389
7390 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7391 'unchecked_access and 'unrestricted_access as well.
7392
9a9e394b
TT
73932019-06-14 Tom Tromey <tromey@adacore.com>
7394
7395 PR ada/24539:
7396 * gdb.ada/vla.exp: Update tests.
7397 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7398 pragma.
7399
4c048731
PA
74002019-06-13 Pedro Alves <palves@redhat.com>
7401
7402 * gdb.base/settings.exp (test-integer): Test junk after
7403 "unlimited".
7404
6665660a
PA
74052019-06-13 Pedro Alves <palves@redhat.com>
7406
7407 * gdb.base/options.exp (test-thread-apply): New.
7408 (top level): Call it.
7409
5d707134
PA
74102019-06-13 Pedro Alves <palves@redhat.com>
7411
7412 * gdb.base/options.exp (test-frame-apply): New.
7413 (top level): Test print commands with different "frame apply"
7414 prefixes.
7415
e2a689da
PA
74162019-06-13 Pedro Alves <palves@redhat.com>
7417
e79be6e5 7418 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
7419 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7420 'max_completions' parameter and handle it.
7421 (test_gdb_completion_offers_commands): New.
7422
90a1ef87
PA
74232019-06-13 Pedro Alves <palves@redhat.com>
7424
7425 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7426
d4c16835
PA
74272019-06-13 Pedro Alves <palves@redhat.com>
7428
7429 * gdb.base/options.exp (test-backtrace): New.
7430 (top level): Call it.
7431
2daf894e
PA
74322019-06-13 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.guile/scm-frame-args.exp: Use "set print
7435 raw-frame-arguments" instead of "set print raw frame-arguments".
7436 * gdb.python/py-frame-args.exp: Likewise.
7437
e6ed716c
PA
74382019-06-13 Pedro Alves <palves@redhat.com>
7439
7440 * gdb.compile/compile.exp: Adjust expected output to option
7441 processing changes.
7442
7d8062de
PA
74432019-06-13 Pedro Alves <palves@redhat.com>
7444
7445 * gdb.base/options.exp: Build executable.
7446 (test-print): New procedure.
7447 (top level): Call it, once for "print" and another for "compile
7448 print".
7449
9d0faba9
PA
74502019-06-13 Pedro Alves <palves@redhat.com>
7451
7452 * gdb.base/options.c: New file.
7453 * gdb.base/options.exp: New file.
7454
dee7b4c8
PA
74552019-06-13 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7458 that "o" is ambiguous.
7459
dca0f6c0
PA
74602019-06-13 Pedro Alves <palves@redhat.com>
7461
7462 * gdb.base/settings.c: New file.
7463 * gdb.base/settings.exp: New file.
7464
ccf46844
PA
74652019-06-13 Pedro Alves <palves@redhat.com>
7466
7467 * gdb.base/completion.exp: Fix comment typo.
7468
b9a3f842
PA
74692019-06-13 Pedro Alves <palves@redhat.com>
7470
7471 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7472 foo --1" test.
7473
d106773e
PA
74742019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7475
7476 * gdb.fortran/block-data.f: New.
7477 * gdb.fortran/block-data.exp: New.
7478
fea82da0
TV
74792019-06-11 Tom de Vries <tdevries@suse.de>
7480
7481 PR testsuite/24521
7482 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7483 message.
7484
8c2e74f1
TV
74852019-06-11 Tom de Vries <tdevries@suse.de>
7486
7487 PR testsuite/24521
7488 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7489
b49851c8
TV
74902019-06-11 Tom de Vries <tdevries@suse.de>
7491
7492 * boards/readnow.exp: New file.
7493
a7067863
AB
74942019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7495
7496 * gdb.fortran/vla-sizeof.exp: Update expected results.
7497
1a3da2cd
AB
74982019-06-06 Amos Bird <amosbird@gmail.com>
7499
7500 * gdb.base/annota1.exp (thread_switch): Add test for
7501 thread-exited annotation.
7502
3847a7bf
TT
75032019-06-06 Tom Tromey <tromey@adacore.com>
7504
7505 * gdb.base/maint.exp: Expect command started/finished output.
7506
0088ba59
AB
75072019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7508
7509 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7510 comment.
7511 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7512
312617a3
AB
75132019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7514
7515 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7516 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7517 * gdb.arch/riscv-unwind-long-insn.c: New file.
7518 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7519
e1f2e1a2
CB
75202019-06-04 Christian Biesinger <cbiesinger@google.com>
7521
d3238f7d 7522 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 7523
206584bd
PW
75242019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7525
7526 * lib/gdb.exp (help_list_trailer): New regexp variable
7527 factorizing the help trailer message.
7528 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7529 arg to allow to better factorize various tests.
7530 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7531 (test_prefix_command_help): Use help_list_trailer.
7532 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7533 * gdb.guile/scm-cmd.exp: Likewise.
7534 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7535 * gdb.base/help.exp: Use test_user_defined_class_help.
7536 * gdb.base/style.exp: Add tests for styling of help and apropos.
7537 * lib/gdb-utils.exp (style): Add title and highlight styles.
7538
708dc93e
PW
75392019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7540
7541 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7542 $_shell_exitsignal.
7543 * gdb.base/default.exp: Update for new convenience variables.
7544
f49055a5
TT
75452019-05-29 Tom Tromey <tromey@adacore.com>
7546
7547 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7548 to "break complete ada" test case's regexp.
7549
4330d61d
TT
75502019-05-29 Tom Tromey <tromey@adacore.com>
7551
7552 PR c++/20020:
7553 * gdb.cp/constexpr-field.exp: New file.
7554 * gdb.cp/constexpr-field.cc: New file.
7555
000439d5
TT
75562019-05-29 Tom Tromey <tromey@adacore.com>
7557
7558 * gdb.base/finish.exp (finish_no_print): New proc.
7559 (finish_tests): Call it.
7560
5a01c34c
TV
75612019-05-24 Tom de Vries <tdevries@suse.de>
7562
7563 * gdb.dwarf2/gdb-add-index.exp: New file.
7564
18125b16
TT
75652019-05-22 Tom Tromey <tromey@adacore.com>
7566
7567 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7568 * gdb.base/style.exp: Use "style".
7569 * lib/gdb-utils.exp (style): New proc.
7570
af1a8d03
TV
75712019-05-22 Tom de Vries <tdevries@suse.de>
7572
7573 * gdb.base/align.exp: Require c++11.
7574
e7fe496b
TV
75752019-05-22 Tom de Vries <tdevries@suse.de>
7576
7577 PR testsuite/24586
7578 * gdb.python/py-mi-var-info-path-expression.exp: Call
7579 mi_skip_python_tests to check if python is supported.
7580
8fca4da0
AH
75812019-05-22 Alan Hayward <alan.hayward@arm.com>
7582
7583 * gdb.arch/aarch64-pauth.c: New test.
7584 * gdb.arch/aarch64-pauth.exp: New file.
7585
b7060614
AH
75862019-05-22 Alan Hayward <alan.hayward@arm.com>
7587
7588 * README (Re-running Tests Outside The Testsuite): New section.
7589
669d0468
TV
75902019-05-21 Tom de Vries <tdevries@suse.de>
7591
7592 * gdb.arch/amd64-eval.exp: Require c++11.
7593 * gdb.base/max-depth.exp: Same.
7594 * gdb.compile/compile-cplus-array-decay.exp: Same.
7595 * gdb.cp/meth-typedefs.exp: Same.
7596 * gdb.cp/subtypes.exp: Same.
7597 * gdb.cp/temargs.exp: Same.
7598
ce3ebcaa
AH
75992019-05-21 Alan Hayward <alan.hayward@arm.com>
7600
7601 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7602
34d11c68
AB
76032019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7604
7605 PR gdb/18644
7606 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7607 * gdb.fortran/printing-types.exp: Add new test.
7608 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7609 testing.
7610 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7611 setup_kfail call.
7612
87781e84
AH
76132019-05-17 Alan Hayward <alan.hayward@arm.com>
7614
7615 * README (Running the Testsuite): Change example.
7616 (Testsuite Parameters): Remove TRANSCRIPT.
7617 * lib/gdb.exp: Remove TRANSCRIPT check.
7618
b420b89e
AH
76192019-05-17 Alan Hayward <alan.hayward@arm.com>
7620
7621 * README (Testsuite Parameters): Add replay logging to
7622 GDBSERVER_DEBUG.
7623 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7624 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7625 as a comma separated list.
7626 (gdb_debug_init): Override procedure.
7627
408e9b8b
AH
76282019-05-17 Alan Hayward <alan.hayward@arm.com>
7629
7630 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7631 (gdb_write_cmd_file): New procedure.
7632 * lib/gdbserver-support.exp (gdbserver_start): Call
7633 gdbserver_write_cmd_file.
7634 (gdbserver_write_cmd_file): New procedure.
7635
f9e2e39d
AH
76362019-05-17 Alan Hayward <alan.hayward@arm.com>
7637
7638 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7639 (delete_breakpoints): Likewise.
7640 (gdb_run_cmd): Likewise.
7641 (gdb_start_cmd): Likewise.
7642 (gdb_starti_cmd): Likewise.
7643 (gdb_internal_error_resync): Likewise.
7644 (gdb_test_multiple): Likewise.
7645 (gdb_reinitialize_dir): Likewise.
7646 (default_gdb_exit): Likewise.
7647 (gdb_file_cmd): Mark kill as optional.
7648 (default_gdb_start): Call gdb_stdin_log_init.
7649 (send_gdb): Call gdb_stdin_log_write.
7650 (rerun_to_main): Mark Y as an answer.
7651 (gdb_stdin_log_init): New function.
7652 (gdb_stdin_log_write): Likewise.
7653
81f47ac2
AH
76542019-05-17 Alan Hayward <alan.hayward@arm.com>
7655
7656 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7657 * gdb.base/debug-expr.exp: Likewise.
7658 * gdb.base/foll-fork.exp: Likewise.
7659 * gdb.base/foll-vfork.exp: Likewise.
7660 * gdb.base/fork-print-inferior-events.exp: Likewise.
7661 * gdb.base/gdb-sigterm.exp: Likewise.
7662 * gdb.base/gdbinit-history.exp: Likewise.
7663 * gdb.base/osabi.exp: Likewise.
7664 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7665 * gdb.base/ui-redirect.exp: Likewise.
7666 * gdb.gdb/unittest.exp: Likewise.
7667 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7668 * gdb.mi/mi-watch.exp: Likewise.
7669 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7670 * gdb.mi/user-selected-context-sync.exp: Likewise.
7671 * gdb.python/python.exp: Disable debug test when debugging.
7672 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7673 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7674 Likewise.
7675 * gdb.threads/stepi-random-signal.exp: Likewise.
7676
29b52314
AH
76772019-05-17 Alan Hayward <alan.hayward@arm.com>
7678
7679 * Makefile.in: Pass through GDB_DEBUG.
7680 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7681 (gdb,debug): Add board setting.
7682 * lib/gdb.exp (default_gdb_start): Start debugging.
7683 (gdb_debug_enabled): New procedure.
7684 (gdb_debug_init): Likewise.
29b52314
AH
7685
76862019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 7687
29b52314
AH
7688 * Makefile.in: Pass through GDB_DEBUG.
7689 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
7690 (gdb,debug): Add board setting.
7691 * lib/gdb.exp (default_gdb_start): Start debugging.
7692 (gdb_debug_enabled): New procedure.
7693 (gdb_debug_init): Likewise.
29b52314 7694
ca1285d1
AH
76952019-05-17 Alan Hayward <alan.hayward@arm.com>
7696
7697 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7698
f3a09c80
AH
76992019-05-17 Alan Hayward <alan.hayward@arm.com>
7700
7701 * gdb.base/ui-redirect.exp: Test redirection.
7702
26648588
JV
77032019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7704
7705 * gdb.mi/mi-complete.exp: New file.
7706 * gdb.mi/mi-complete.cc: Likewise.
7707
14237686
AB
77082019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7709
7710 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7711 indexed and sliced arrays, and pointers to arrays.
7712
e7bd7fba
TT
77132019-05-14 Tom Tromey <tromey@adacore.com>
7714
7715 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7716 styling test.
7717
2764128d
TV
77182019-05-14 Tom de Vries <tdevries@suse.de>
7719
7720 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7721 selection entry encoding.
7722
71bed2db
TT
77232019-05-10 Tom Tromey <tromey@adacore.com>
7724
7725 * gdb.ada/info_exc.exp: Add "complete" test.
7726
63b667ad
TV
77272019-05-09 Tom de Vries <tdevries@suse.de>
7728
7729 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7730 CU-relative.
7731
9cfd2b89
TV
77322019-05-09 Tom de Vries <tdevries@suse.de>
7733
7734 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7735 CU-relative.
7736
2228ef77
XR
77372019-05-08 Joel Brobecker <brobecker@adacore.com>
7738
7739 * gdb.ada/frame_arg_lang.exp: New testcase.
7740 * gdb.ada/frame_arg_lang/bla.adb: New file.
7741 * gdb.ada/frame_arg_lang/pck.ads: New file.
7742 * gdb.ada/frame_arg_lang/pck.adb: New file.
7743 * gdb.ada/frame_arg_lang/foo.c: New file.
7744
80e55b13
TT
77452019-05-08 Tom Tromey <tromey@adacore.com>
7746
7747 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7748
9d3421af
TT
77492019-05-08 Tom Tromey <tromey@adacore.com>
7750
7751 * gdb.base/ptype-offsets.exp: Update tests.
7752
844333e2
TT
77532019-05-08 Tom Tromey <tromey@adacore.com>
7754
7755 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7756 cases.
7757 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7758 "short".
7759
988915ee
TT
77602019-05-08 Tom Tromey <tromey@adacore.com>
7761
7762 * gdb.ada/vla.exp: New file.
7763 * gdb.ada/vla/vla.adb: New file.
7764
7bd55dac
TV
77652019-05-07 Tom de Vries <tdevries@suse.de>
7766
7767 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7768
75f06e9d
TV
77692019-05-07 Tom de Vries <tdevries@suse.de>
7770
7771 PR testsuite/24522
7772 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7773 section.
7774
77e7aaa4
TV
77752019-05-07 Tom de Vries <tdevries@suse.de>
7776
7777 PR testsuite/24522
7778 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7779 .debug_aranges section.
7780
456ba0fa
TV
77812019-05-07 Tom de Vries <tdevries@suse.de>
7782
7783 PR testsuite/24159
7784 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7785
5a56d6a6
TV
77862019-05-06 Tom de Vries <tdevries@suse.de>
7787
7788 * lib/gdb.exp (exec_has_index_section): New proc.
7789 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7790 section.
7791
9d6d4be8
TV
77922019-05-04 Tom de Vries <tdevries@suse.de>
7793
7794 * boards/cc-with-debug-names.exp: New file.
7795
222a8d25
TT
77962019-05-03 Tom Tromey <tromey@adacore.com>
7797
7798 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7799 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7800 * gdb.ada/char_enum.exp: Add test.
7801
0fdfd794
TV
78022019-05-03 Tom de Vries <tdevries@suse.de>
7803
7804 * boards/cc-with-gdb-index.exp: New file.
7805
80062eb9
AB
78062019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7807
7808 * gdb.rust/simple.exp: Add new test case.
7809 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7810 (main): Initialise an instance of the new struct.
7811
4504bbde
TT
78122019-05-01 Tom Tromey <tromey@adacore.com>
7813
7814 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7815 record.
7816 (NPR): New variable.
7817 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7818 test.
7819
d48e62f4
TT
78202019-05-01 Tom Tromey <tromey@adacore.com>
7821
7822 * gdb.ada/packed_array_assign.exp: Add packed assignment
7823 regression test.
7824
f59f30f5
TV
78252019-05-01 Tom de Vries <tdevries@suse.de>
7826
7827 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7828
b70bfc54
TV
78292019-05-01 Tom de Vries <tdevries@suse.de>
7830
7831 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7832
15f18d14
AT
78332019-04-30 Ali Tamur <tamur@google.com>
7834
7835 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7836
2ff0a947
TT
78372019-04-30 Tom Tromey <tromey@adacore.com>
7838
7839 * lib/ada.exp (find_ada_tool): New proc.
7840 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7841 * gdb.ada/catch_ex_std.exp: New file.
7842 * gdb.ada/catch_ex_std/foo.adb: New file.
7843 * gdb.ada/catch_ex_std/some_package.adb: New file.
7844 * gdb.ada/catch_ex_std/some_package.ads: New file.
7845
a776957c
TT
78462019-04-30 Tom Tromey <tromey@adacore.com>
7847
7848 PR c++/24470:
7849 * gdb.cp/temargs.cc: Add test code from PR.
7850
bc68014d
AB
78512019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7852
7853 * gdb.fortran/vla-datatypes.exp: Update expected results.
7854 * gdb.fortran/vla-ptype.exp: Likewise.
7855 * gdb.fortran/vla-type.exp: Likewise.
7856 * gdb.fortran/vla-value.exp: Likewise.
7857
f1fdc960
AB
78582019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7859
7860 * gdb.fortran/ptr-indentation.exp: Update expected results.
7861 * gdb.fortran/ptype-on-functions.exp: Likewise.
7862 * gdb.fortran/vla-ptr-info.exp: Likewise.
7863 * gdb.fortran/vla-value.exp: Likewise.
7864
bf7a4de1
AB
78652019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7866
7867 * gdb.fortran/ptype-on-functions.exp: New file.
7868 * gdb.fortran/ptype-on-functions.f90: New file.
7869
bbe75b9d
AB
78702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7871
7872 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7873 case void string.
7874
1db455a7
AB
78752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7876
7877 * gdb.fortran/complex.exp: Expand.
7878 * gdb.fortran/complex.f: Renamed to...
7879 * gdb.fortran/complex.f90: ...this, and extended to add more
7880 complex values.
7881
b6d03bb2
AB
78822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7883
7884 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7885 MODULO, CMPLX.
7886
2e62ab40
AB
78872019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7888 Richard Bunt <richard.bunt@arm.com>
7889
7890 * gdb.base/max-depth.c: New file.
7891 * gdb.base/max-depth.exp: New file.
7892 * gdb.python/py-nested-maps.c: New file.
7893 * gdb.python/py-nested-maps.exp: New file.
7894 * gdb.python/py-nested-maps.py: New file.
7895 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7896 (test_all_common): Call test_max_depth.
7897 * gdb.fortran/max-depth.exp: New file.
7898 * gdb.fortran/max-depth.f90: New file.
7899 * gdb.go/max-depth.exp: New file.
7900 * gdb.go/max-depth.go: New file.
7901 * gdb.modula2/max-depth.exp: New file.
7902 * gdb.modula2/max-depth.c: New file.
7903 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7904
d2b584a5
TV
79052019-04-29 Tom de Vries <tdevries@suse.de>
7906
7907 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7908
136afab8
PW
79092019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7910
7911 * gdb.base/callexit.exp: Test may-call-functions off.
7912
725cbb63
KS
79132019-04-25 Keith Seitz <keiths@redhat.com>
7914
7915 PR c++/24367
7916 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7917 (another_incomplete_struct, test_incomplete): New definitions.
7918 (main): Use new definitions.
7919 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7920 functions.
7921
701adfb0
PA
79222019-04-25 Ali Tamur <tamur@google.com>
7923
7924 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7925
82433e3e
SDJ
79262019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7927
7928 PR corefiles/11608
7929 PR corefiles/18187
7930 * gdb.base/coredump-filter-build-id.exp: New file.
7931
dd06d4d6
AH
79322019-04-25 Alan Hayward <alan.hayward@arm.com>
7933
e79be6e5
SM
7934 * Makefile.in: Pass through GDBSERVER_DEBUG.
7935 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7936 (gdbserver,debug): Add board setting.
7937 * gdb.trace/tspeed.exp: Skip when debugging.
7938 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7939 * lib/gdbserver-support.exp: Likewise
dd06d4d6 7940
1670072e
TT
79412019-04-24 Tom Tromey <tromey@adacore.com>
7942
7943 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7944 Rust.
7945
a59240a4
TT
79462019-04-24 Tom Tromey <tromey@adacore.com>
7947
7948 * gdb.arch/amd64-eval.exp: Test bitfield return.
7949 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7950 (class Foo) <return_bitfields>: New method.
7951 (main): Call it.
7952
b907456c
AB
79532019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7954
7955 * gdb.cp/many-args.cc: New file.
7956 * gdb.cp/many-args.exp: New file.
7957
5c565afd
TV
79582019-04-23 Tom de Vries <tdevries@suse.de>
7959
7960 PR gdb/24433
7961 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7962
ba22ff86
AH
79632019-04-23 Alan Hayward <alan.hayward@arm.com>
7964
7965 * gdb.trace/backtrace.exp: Use nopie flag.
7966 * gdb.trace/circ.exp: Likewise.
7967 * gdb.trace/collection.exp: Likewise.
7968 * gdb.trace/ftrace.exp: Likewise.
7969 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7970 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7971 * gdb.trace/qtro.exp: Likewise.
7972 * gdb.trace/read-memory.exp: Likewise.
7973 * gdb.trace/report.exp: Likewise.
7974 * gdb.trace/tfile.exp: Likewise.
7975 * gdb.trace/tfind.exp: Likewise.
7976 * gdb.trace/unavailable.exp: Likewise.
7977
7905fc35
PA
79782019-04-22 Pedro Alves <palves@redhat.com>
7979
7980 * gdb.base/solib-probes-nosharedlibrary.c,
7981 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7982
8ecb59f8
TT
79832019-04-19 Tom Tromey <tromey@adacore.com>
7984
7985 * gdb.ada/ptype_union.c: New file.
7986 * gdb.ada/ptype_union.exp: New file.
7987
62160ec9
TT
79882019-04-19 Tom Tromey <tromey@adacore.com>
7989
7990 PR symtab/24423:
7991 * gdb.base/list0.h (foo): Add a control-l character.
7992
36cd4ba5
TV
79932019-04-18 Tom de Vries <tdevries@suse.de>
7994
7995 PR gdb/24433
7996 * boards/local-board.exp: Set sysroot to "".
7997
b73715df
TV
79982019-04-18 Tom de Vries <tdevries@suse.de>
7999 Pedro Alves <palves@redhat.com>
8000
8001 PR gdb/24454
8002 * gdb.threads/vfork-follow-child-exec.c: New file.
8003 * gdb.threads/vfork-follow-child-exec.exp: New file.
8004 * gdb.threads/vfork-follow-child-exit.c: New file.
8005 * gdb.threads/vfork-follow-child-exit.exp: New file.
8006
4aa866af
LS
80072019-04-15 Leszek Swirski <leszeks@google.com>
8008
8009 * gdb.arch/amd64-eval.cc: New file.
8010 * gdb.arch/amd64-eval.exp: New file.
8011
e5a1a79a
AH
80122019-04-11 Alan Hayward <alan.hayward@arm.com>
8013
8014 * gdb.server/sysroot.c: New test.
8015 * gdb.server/sysroot.exp: New file.
8016 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8017 matching param.
8018
41077b66
AB
80192019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8020
8021 * gdb.base/align.exp: Extend test to cover structures containing
8022 only static fields.
8023
c30391f8
TV
80242019-04-11 Tom de Vries <tdevries@suse.de>
8025
8026 * boards/cc-with-dwz-m.exp: New file.
8027 * boards/cc-with-dwz.exp: New file.
8028 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8029
e242fd12
SM
80302019-04-09 Simon Marchi <simon.marchi@efficios.com>
8031
8032 * gdb.base/start-cpp.exp: New file.
8033 * gdb.base/start-cpp.cc: New file.
8034
2b0c8b01
KB
80352019-04-08 Kevin Buettner <kevinb@redhat.com>
8036
8037 * gdb.python/py-thrhandle.exp: Adjust tests to call
8038 thread_from_handle instead of thread_from_thread_handle.
8039
947210e5
KB
80402019-04-08 Kevin Buettner <kevinb@redhat.com>
8041
8042 * gdb.python/py-thrhandle.exp: Add tests for
8043 gdb.InferiorThread.handle.
8044
d7df6549
AB
80452019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8046
8047 * gdb.python/py-function.exp: Check calling helper function from
8048 all languages.
8049 * lib/gdb.exp (gdb_supported_languages): New proc.
8050
8bdc1658
AB
80512019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8052
8053 * gdb.base/complex-parts.c: New file.
8054 * gdb.base/complex-parts.exp: New file.
8055
05caa1d2
TT
80562019-04-01 Tom Tromey <tromey@adacore.com>
8057
8058 PR symtab/23331:
8059 * gdb.dwarf2/dw2-ranges-main.c: New file.
8060 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8061 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8062
7734102d
EZ
80632019-03-30 Simon Marchi <simark@simark.ca>
8064
8065 * gdb.base/default.exp: Add values for $_gdb_major and
8066 $_gdb_minor.
8067
188e1fa9
TT
80682019-03-29 Tom Tromey <tromey@adacore.com>
8069
8070 * gdb.base/help.exp: Tighten apropos regexp.
8071
2880242d
KS
80722019-03-29 Keith Seitz <keiths@redhat.com>
8073
8074 * gdb.fortran/array-bounds.exp: New file.
8075 * gdb.fortran/array-bounds.f90: New file.
8076
077cad8e
PW
80772019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8078
8079 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8080
80047cfc
PW
80812019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8082
8083 * gdb.multi/hello.c (main): Increase alarm timer.
8084
f489207e
SL
80852019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8086
8087 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8088 factor when no hardware watchpoint support.
8089
c92df149
AH
80902019-03-28 Alan Hayward <alan.hayward@arm.com>
8091 Pedro Alves <palves@redhat.com>
8092
8093 * boards/local-board.exp: set sysroot to /.
8094
933aebfa
AH
80952019-03-27 Alan Hayward <alan.hayward@arm.com>
8096
8097 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8098 in child.
8099
9f9aa852
AB
81002019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8101
8102 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8103 field.
8104 (make_container): Initialise new field.
8105 * gdb.python/py-prettyprint.exp: Add new tests.
8106 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8107 <display_hint>: New method.
8108
3714a195
AB
81092019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8110
8111 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8112 gdb_continue_to_breakpoint more throughout this test.
8113 (run_lang_tests) Supply unique test names, and use
8114 gdb_test_no_output.
8115
18c77628
AB
81162019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8117
8118 * gdb.base/finish-pretty.exp: Update expected results.
8119 * gdb.base/pretty-print.c: New file.
8120 * gdb.base/pretty-print.exp: New file.
8121
9a93502f
PA
81222019-03-25 Pedro Alves <palves@redhat.com>
8123
8124 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8125 move comments outside list. Append '-i "" eof' section.
8126
968aa7ae
AH
81272019-03-22 Alan Hayward <alan.hayward@arm.com>
8128
34a7f2a4 8129 PR testsuite/25016
968aa7ae
AH
8130 * README: Add pie options.
8131 * gdb.base/break-interp.exp: Ensure pie is disabled.
8132 * gdb.base/dump.exp: Likewise.
8133 * lib/gdb.exp (gdb_compile): Add pie option.
8134
4c7d57e7
TT
81352019-03-19 Tom Tromey <tromey@adacore.com>
8136
8137 * gdb.mi/mi2-cli-display.c: New file.
8138 * gdb.mi/mi2-cli-display.exp: New file.
8139
bff8c71f
TT
81402019-03-18 Joel Brobecker <brobecker@adacore.com>
8141 Tom Tromey <tromey@adacore.com>
8142
8143 * gdb.ada/ptype_array/pck.adb: New file.
8144 * gdb.ada/ptype_array/pck.ads: New file.
8145 * gdb.ada/ptype_array/foo.adb: New file.
8146 * gdb.ada/ptype_array.exp: New file.
8147
d085f989
TT
81482019-03-14 Tom Tromey <tromey@adacore.com>
8149
8150 * gdb.base/style.exp: Add "set style sources" test.
8151
b4be1b06
SM
81522019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8153
8154 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8155 * mi-breakpoint-multiple-locations.exp: ... this.
8156 (make_breakpoints_pattern): New proc.
8157 (do_test): Add mi_version parameter, test -break-insert,
8158 -break-info and =breakpoint-created.
8159
7cde5fc2
AB
81602019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8161
8162 * config/default.exp: Remove 'load_lib gdb.exp'.
8163 * config/monitor.exp: Likewise.
8164 * config/sid.exp: Likewise.
8165 * config/sim.exp: Likewise.
8166 * config/slite.exp: Likewise.
8167 * config/unix.exp: Likewise.
8168 * gdb.base/default.exp: Remove unhelpful comment.
8169
efbecbc1
AB
81702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8171
8172 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8173
0841c79a
AB
81742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8175
8176 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8177
4a270568
AB
81782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8179
8180 * gdb.fortran/type-kinds.exp: Update expected results.
8181
067630bd
AB
81822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8183
8184 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8185
3be47f7a
AB
81862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8187
8188 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8189 function.
8190 (test_basic_parsing_of_type_kinds): Expand types tested.
8191 (test_parsing_invalid_type_kinds): New function.
8192
4d00f5d8
AB
81932019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8194
8195 * gdb.fortran/intrinsics.exp: New file.
8196 * gdb.fortran/intrinsics.f90: New file.
8197 * gdb.fortran/type-kinds.exp: New file.
8198
c8f91604
AB
81992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8200
8201 * gdb.fortran/dot-ops.exp: New file.
8202
dd9f2c76
AB
82032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8204
8205 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8206 Check upper and lower case logical literals.
8207
84ec9724
AB
82082019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8209
8210 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8211 Remove duplicate tests.
8212
c3734e09
AH
82132019-03-06 Alan Hayward <alan.hayward@arm.com>
8214
8215 * lib/gdb.exp (builtin_cd): rename of cd.
8216 (cd): Override builtin.
8217
aa3cfbda
RB
82182019-03-06 Richard Bunt <richard.bunt@arm.com>
8219
8220 * gdb.fortran/function-calls.exp: New file.
8221 * gdb.fortran/function-calls.f90: New test.
8222
7b63ad86
RB
82232019-03-04 Richard Bunt <richard.bunt@arm.com>
8224
8225 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8226 on user program standard output.
8227 * gdb.fortran/short-circuit-argument-list.f90: Record function
8228 calls.
8229
01abb042
AH
82302019-02-28 Alan Hayward <alan.hayward@arm.com>
8231
c3734e09
AH
8232 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8233 failure.
01abb042 8234
92137da0
RO
82352019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8236
8237 PR gdb/8527
8238 * gdb.base/interrupt-daemon-attach.c,
8239 gdb.base/interrupt-daemon-attach.exp: New test.
8240
5862844d
PA
82412019-02-27 Pedro Alves <palves@redhat.com>
8242
8243 * gdb.base/page.exp: Add tests for "set width/height -1".
8244
8ed25214
PA
82452019-02-27 Pedro Alves <palves@redhat.com>
8246
8247 * gdb.base/page.exp: Add tests for "set/show width/height" with
8248 "infinite" values.
8249
6c28e44a
TT
82502019-02-27 Tom Tromey <tromey@adacore.com>
8251
8252 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8253 2.4.
8254 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8255 workaround.
8256
bf9a735e
AB
82572019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8258
8259 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8260 tests for structs with static members.
8261
8791793c
TT
82622019-02-26 Tom Tromey <tromey@adacore.com>
8263
8264 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8265 ValueError, not TypeError.
8266
bc2a507e
KB
82672019-02-26 Kevin Buettner <kevinb@redhat.com>
8268
8269 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8270 call from main program.
8271
e0e7d3bd
JB
82722019-02-23 Joel Brobecker <brobecker@adacore.com>
8273
8274 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8275 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8276 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8277 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8278 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8279
9600246d
KS
82802019-02-22 Keith Seitz <keiths@redhat.com>
8281
8282 PR symtab/23853
8283 * gdb.base/symlink-sourcefile.c: New file.
8284 * gdb.base/symlink-sourcefile.exp: New file.
8285
0c95f9ed
TT
82862019-02-20 Tom Tromey <tom@tromey.com>
8287
8288 * gdb.base/info_qt.exp: Update.
8289
6caa91b6
SM
82902019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8291
8292 * gdb.base/source.exp: Move "error in sourced script" code to
8293 the end.
8294 * gdb.base/source-error.gdb: Move contents to
8295 source-error-1.gdb. Add new code to source source-error-1.gdb.
8296 * gdb.base/source-error-1.gdb: New file, from previous
8297 source-error.gdb.
8298
6506371f
TT
82992019-02-17 Tom Tromey <tom@tromey.com>
8300
8301 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8302 for macro styling.
8303 * gdb.base/style.c (SOME_MACRO): New macro.
8304
a0087920
TT
83052019-02-17 Tom Tromey <tom@tromey.com>
8306
8307 * gdb.base/style.exp: Add line-wrapping tests.
8308 * gdb.base/page.exp: Add test for quitting during pagination.
8309
a2cd4f14
JB
83102019-02-17 Joel Brobecker <brobecker@adacore.com>
8311
8312 * gdb.ada/big_packed_array: New testcase.
8313 * gdb.ada/homonym.exp: Fix incorrect expected output for
8314 "break <homonym__get_value>" test.
8315
9d70ffbc
WP
83162019-02-13 Weimin Pan <weimin.pan@oracle.com>
8317
8318 PR breakpoints/21870
8319 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8320 and prepare_for_testing. Add comment.
8321 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8322 redundant cleanup call. Clean up comment.
8323
01c7ae81
WP
83242019-02-12 Weimin Pan <weimin.pan@oracle.com>
8325
8326 PR breakpoints/21870
8327 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8328 * gdb.arch/aarch64-dbreg-contents.c: New file.
8329
aff29d1c
JB
83302019-02-10 Joel Brobecker <brobecker@adacore.com>
8331
8332 * gdb.ada/mi_ref_changeable: New testcase.
8333
df0da8a2
AH
83342019-02-07 Alan Hayward <alan.hayward@arm.com>
8335
8336 * gdb.base/attach.exp: Add double attach test.
8337
bd447abb
SM
83382019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8339
8340 * lib/gdb.exp (default_gdb_start): Don't match pagination
8341 prompt.
8342 (gdb_init): Set stty_init.
8343
1dbc40b9
TT
83442019-01-27 Tom Tromey <tom@tromey.com>
8345
8346 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8347 skip_python_tests.
8348
353229bf
AH
83492019-01-24 Alan Hayward <alan.hayward@arm.com>
8350
8351 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8352 New structure.
8353 (struct struct_static_02_02): Likewise.
8354 (struct struct_static_02_03): Likewise.
8355 (struct struct_static_02_04): Likewise.
8356 (struct struct_static_04_01): Likewise.
8357 (struct struct_static_04_02): Likewise.
8358 (struct struct_static_04_03): Likewise.
8359 (struct struct_static_04_04): Likewise.
8360 (struct struct_static_06_01): Likewise.
8361 (struct struct_static_06_02): Likewise.
8362 (struct struct_static_06_03): Likewise.
8363 (struct struct_static_06_04): Likewise.
8364 (cmp_struct_static_02_01): Likewise.
8365 (cmp_struct_static_02_02): Likewise.
8366 (cmp_struct_static_02_03): Likewise.
8367 (cmp_struct_static_02_04): Likewise.
8368 (cmp_struct_static_04_01): Likewise.
8369 (cmp_struct_static_04_02): Likewise.
8370 (cmp_struct_static_04_03): Likewise.
8371 (cmp_struct_static_04_04): Likewise.
8372 (cmp_struct_static_06_01): Likewise.
8373 (cmp_struct_static_06_02): Likewise.
8374 (cmp_struct_static_06_03): Likewise.
8375 (cmp_struct_static_06_04): Likewise.
8376 (call_all): Test new structs.
8377 * gdb.base/infcall-nested-structs.exp: Likewise.
8378
73021deb
AH
83792019-01-21 Alan Hayward <alan.hayward@arm.com>
8380 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8381
fc65c7db
AH
83822019-01-21 Alan Hayward <alan.hayward@arm.com>
8383 * gdb.base/stack-protector.c: New test.
8384 * gdb.base/stack-protector.exp: New file.
8385 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8386 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8387 option.
8388 (gdb_compile): Remove stack protector for GCC and prevent
8389 recursion.
8390
c24bdb02
KS
83912019-01-16 Keith Seitz <keiths@redhat.com>
8392
8393 PR gdb/23773
8394 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8395
6f072a10
PFC
83962019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8397
8398 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8399 aliases.
8400 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8401 tests.
8402 * gdb.arch/powerpc-vector-regs.c: New file.
8403 * gdb.arch/powerpc-vector-regs.exp: New file.
8404
a7b8d682
PFC
84052019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8406
8407 * gdb.arch/altivec-regs.exp: Fix the list passed to
8408 gdb_expect_list when testing "info vector".
8409
6eb6fb67
AB
84102019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8411
8412 * gdb.base/style.exp: Don't include path in testname.
8413
b56f80d8
KS
84142019-01-10 Keith Seitz <keiths@redhat.com>
8415
8416 PR gdb/23712
8417 PR symtab/23010
8418 * gdb.dwarf2/multidictionary.exp: New file.
8419
041be526
SM
84202019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8421
8422 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8423 (test_gnuv3_style_demangling): ... this.
8424 (test_lucid_style_demangling): Remove.
8425 (test_arm_style_demangling): Remove.
8426 (test_hp_style_demangling): Remove.
8427 (do_tests): Remove calls to the above.
8428
d820d0c3
AB
84292019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8430
8431 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8432 case.
8433
f097f5ad
TT
84342019-01-06 Tom Tromey <tom@tromey.com>
8435
8436 PR gdb/28155:
8437 * gdb.dwarf2/typedef-void-finish.exp: New file.
8438
2cd8cc0b
TT
84392018-12-28 Tom Tromey <tom@tromey.com>
8440 Simon Marchi <simark@simark.ca>
8441
8442 * gdb.base/jit-exec.exp: New file.
8443 * gdb.base/jit-exec.c: New file.
8444 * gdb.base/jit-execd.c: New file.
8445
35fb8261
TT
84462018-12-28 Tom Tromey <tom@tromey.com>
8447
8448 * gdb.base/style.exp: Update test to check for address styling.
8449
47fd17cd
TT
84502018-12-28 Tom Tromey <tom@tromey.com>
8451
8452 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8453 message.
8454
d47032b7
TT
84552018-12-28 Tom Tromey <tom@tromey.com>
8456
8457 * gdb.base/style.exp: Add test for version number styling.
8458
af79b68d
TT
84592018-12-28 Tom Tromey <tom@tromey.com>
8460
8461 * gdb.base/style.exp: Add test for print_address_symbolic.
8462
0bb296cb
TT
84632018-12-28 Tom Tromey <tom@tromey.com>
8464
8465 * gdb.base/style.exp: Add test for breakpoint setting.
8466
80ae2043
TT
84672018-12-28 Tom Tromey <tom@tromey.com>
8468
8469 * gdb.base/style.exp: Add test for variable names.
8470
cbe56571
TT
84712018-12-28 Tom Tromey <tom@tromey.com>
8472
8473 * gdb.base/style.exp: New file.
8474 * gdb.base/style.c: New file.
8475
9162a27c
TT
84762018-12-28 Tom Tromey <tom@tromey.com>
8477
8478 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8479 "dumb".
8480 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8481 the TERM environment variable.
8482
bc543c90
TT
84832018-12-27 Tom Tromey <tom@tromey.com>
8484
8485 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8486 pagination test.
8487
6f0ffe50
AB
84882018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8489
8490 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8491 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8492
b5a1e557
PW
84932018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8494
8495 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8496 Filename a.adb changed to bp_fun_addr.adb.
8497 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8498
6e8b1ab2
JV
84992018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8500
8501 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8502 non-PIE executables.
8503 * README: Mention the gdb,nopie_flag board setting.
8504 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8505 non-PIE executable.
8506 * gdb.arch/amd64-entry-value.exp: Likewise.
8507 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8508 * gdb.arch/i386-float.exp: Likewise.
8509 * gdb.arch/i386-signal.exp: Likewise.
8510 * gdb.mi/mi-reg-undefined.exp: Likewise.
8511
d00a27c5
PM
85122018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8513
8514 PR gdb/23974
8515 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8516
161d081c
PW
85172018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8518
8519 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8520 Update order of results accordingly.
8521
b001de23
AB
85222018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8523
8524 * gdb.base/annota1.exp: Update a test regexp.
8525
99e1a184
AB
85262018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8527
8528 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8529
7a81c1e2
PW
85302018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8531
8532 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8533 (reuse_time): Initialize to REUSE_TIME_CAP.
8534 (check_rc): New function.
8535 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8536 Check pthread_create rc.
8537 (spawner_thread_func): Check pthread_create and pthread_join rc.
8538
73e8dc90
PA
85392018-12-08 Pedro Alves <palves@redhat.com>
8540
8541 * gdb.base/list.exp (test_forward_search): Rename to ...
8542 (test_forward_reverse_search): ... this. Also test reverse-search
8543 and the forward-search alias.
8544
13f2ed32
AB
85452018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8546
8547 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8548 local timeout variable before return, and remove all local timeout
8549 variable entirely.
8550 (gdb_load): Likewise.
8551
64d27cfc
TV
85522018-12-01 Tom de Vries <tdevries@suse.de>
8553
8554 * gdb.base/gdb-caching-proc.exp: New file.
8555
f63c03b4
SDJ
85562018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8557
8558 * Makefile.in (TIMESTAMP): New variable.
8559 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8560 command.
8561 (check-single-racy): Likewise.
8562 (check/%.exp): Likewise.
8563 (check-racy/%.exp): Likewise.
8564 (workers/%.worker): Likewise.
8565 (build-perf): Likewise.
8566 (check-perf): Likewise.
8567 * README: Describe new "TS" and "TS_FORMAT" variables.
8568 * print-ts.py: New file.
8569
1c97054b
BF
85702018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8571
8572 PR python/23714
8573 * gdb.python/python.exp: Test command repetition after
8574 gdb.execute.
8575
1871a62d
AB
85762018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8577
8578 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8579 is correctly aligned.
8580
fb5e1ed9
PW
85812018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8582
8583 * gdb.ada/info_auto_lang.exp: New testcase.
8584 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8585 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8586 * gdb.ada/info_auto_lang/some_c.c: New file.
8587
43d397ca
PW
85882018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8589
8590 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8591 FUNC_lang language syntax.
8592
beddd671
PW
85932018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8594
8595 * gdb.base/info_minsym.c: New file.
8596 * gdb.base/info_minsym.exp: New file.
8597
73fc52c4
TT
85982018-11-19 Tom Tromey <tom@tromey.com>
8599
8600 PR rust/23625:
8601 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8602 * gdb.rust/expr.exp: Update expected output. Change one test.
8603
994b876a
TT
86042018-11-19 Tom Tromey <tom@tromey.com>
8605
8606 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8607
6769f276
PA
86082018-11-19 Pedro Alves <palves@redhat.com>
8609
8610 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8611 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8612 see the expected warning.
8613
38a72da0
AH
86142018-11-16 Alan Hayward <alan.hayward@arm.com>
8615
8616 PR gdb/22736:
8617 * gdb.cp/infcall-nodebug-lib.c: New test.
8618 * gdb.cp/infcall-nodebug-main.c: New test.
8619 * gdb.cp/infcall-nodebug.exp: New file.
8620
53a89d6e
SM
86212018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8622
8623 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8624 completer tests.
8625
9325300d
TV
86262018-11-09 Tom de Vries <tdevries@suse.de>
8627
8628 * gdb.base/msym-lang.c: New test.
8629 * gdb.base/msym-lang.exp: New file.
8630 * gdb.base/msym-lang-main.c: New test.
8631
20f0d60d
TT
86322018-11-08 Tom Tromey <tom@tromey.com>
8633
8634 PR gdb/23555:
8635 PR gdb/23838:
8636 * gdb.base/warning.exp: New file.
8637
b5420128
JB
86382018-11-08 Jan Beulich <jbeulich@suse.com>
8639
8640 * testsuite/gdb.arch/i386-avx512.c,
8641 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8642
cd115d61
AB
86432018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8644
8645 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8646 point hardware.
8647
35ee2dc2
AB
86482018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8649
8650 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8651 * gdb.dwarf2/missing-type-name.exp: New file.
8652
31aceee8
TV
86532018-11-06 Tom de Vries <tdevries@suse.de>
8654
8655 * gdb.base/many-headers.c: New test.
8656 * gdb.base/many-headers.exp: New file.
8657
109be305
JW
86582018-11-06 Jim Wilson <jimw@sifive.com>
8659
8660 * gdb.base/code_elim.exp: For riscv, set additional_flags
8661 to include -msmall-data-limit=0.
8662
e2b7af72
JB
86632018-11-01 Joel Brobecker <brobecker@adacore.com>
8664
8665 * gdb.ada/watch_minus_l: New testcase.
8666
cdcda965
SM
86672018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8668
8669 * gdb.arch/aix-sighandle.c: New file.
8670 * gdb.arch/aix-sighandle.exp: New file.
8671
92dcebf3
AB
86722018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8673
8674 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8675 registers being unions.
8676
68b9ac18
TV
86772018-10-31 Tom de Vries <tdevries@suse.de>
8678
8679 * lib/valgrind.exp: New file.
8680 (vgdb_start, vgdb_stop): New procs, factored out of ...
8681 * gdb.base/valgrind-bt.exp: ... here, ...
8682 * gdb.base/valgrind-disp-step.exp: ... here and ...
8683 * gdb.base/valgrind-infcall.exp: ... here.
8684
1443936e
TV
86852018-10-31 Tom de Vries <tdevries@suse.de>
8686
8687 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8688
eb77c9df
AB
86892018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8690
8691 * gdb.dwarf2/void-type.c: New file.
8692 * gdb.dwarf2/void-type.exp: New file.
8693
82b5e646
PW
86942018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8695
8696 * gdb.base/info_qt.c: New file.
8697 * gdb.base/info_qt.exp: New file.
8698
8d619c01
EBM
86992018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8700
8701 * gdb.arch/powerpc-htm-regs.c: New file.
8702 * gdb.arch/powerpc-htm-regs.exp: New file.
8703
f2cf6173
EBM
87042018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8705
8706 * gdb.arch/powerpc-tar.c: New file.
8707 * gdb.arch/powerpc-tar.exp: New file.
8708
7ca18ed6
EBM
87092018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8710
8711 * gdb.arch/powerpc-ppr-dscr.c: New file.
8712 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8713
bfcc0eba
TV
87142018-10-25 Tom de Vries <tdevries@suse.de>
8715
8716 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8717
fe1a5cad
TV
87182018-10-24 Tom de Vries <tdevries@suse.de>
8719
8720 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8721 longer exists error.
8722
a76dc3b7
TV
87232018-10-24 Tom de Vries <tdevries@suse.de>
8724
8725 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8726
4df46df7
TV
87272018-10-24 Tom de Vries <tdevries@suse.de>
8728
8729 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8730 --db-attach in valgrind.
8731
0dbfcfff
AB
87322018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8733
8734 * gdb.arch/riscv-reg-aliases.c: New file.
8735 * gdb.arch/riscv-reg-aliases.exp: New file.
8736
b04480b1
AH
87372018-10-19 Alan Hayward <alan.hayward@arm.com>
8738
8739 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8740
2c6ac8d7
AH
87412018-10-19 Alan Hayward <alan.hayward@arm.com>
8742
8743 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8744
2bc69f25
AH
87452018-10-19 Alan Hayward <alan.hayward@arm.com>
8746
8747 * gdb.cp/ovldbreak.exp: Fix regexps.
8748
1f1ae3a3
AH
87492018-10-19 Alan Hayward <alan.hayward@arm.com>
8750
8751 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8752
94c18618
SDJ
87532018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8754
8755 PR cli/23785
8756 * gdb.base/restore.exp: New test to check if "restore" with an
8757 invalid file doesn't segfault.
8758
812cd6eb
TV
87592018-10-18 Tom de Vries <tdevries@suse.de>
8760
8761 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8762 * gdb.ada/excep_handle.exp: Same.
8763 * gdb.ada/mi_string_access.exp: Same.
8764 * gdb.ada/mi_var_union.exp: Same.
8765 * gdb.arch/arc-analyze-prologue.exp: Same.
8766 * gdb.arch/arc-decode-insn.exp: Same.
8767 * gdb.base/readnever.exp: Same.
8768 * gdb.fortran/printing-types.exp: Same.
8769 * gdb.guile/scm-lazy-string.exp: Same.
8770
c4b90788
TV
87712018-10-16 Tom de Vries <tdevries@suse.de>
8772
8773 PR gdb/23730
8774 * gdb.base/catch-follow-exec.c: Add copyright notice.
8775 * gdb.base/catch-follow-exec.exp: Rewrite to use
8776 gdb_spawn_with_cmdline_opts. Require gdb-native.
8777
8bca2978
SL
87782018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8779
8780 * gdb.trace/actions-changed.exp: Check for arch support.
8781 * gdb.trace/actions.exp: Likewise.
8782 * gdb.trace/ax.exp: Likewise.
8783 * gdb.trace/backtrace.exp: Likewise.
8784 * gdb.trace/change-loc.exp: Likewise.
8785 * gdb.trace/deltrace.exp: Likewise.
8786 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8787 * gdb.trace/ftrace.exp: Likewise.
8788 * gdb.trace/infotrace.exp: Check for arch support.
8789 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8790 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8791 * gdb.trace/mi-tsv-changed.exp: Likewise.
8792 * gdb.trace/packetlen.exp: Likewise.
8793 * gdb.trace/passc-dyn.exp: Likewise.
8794 * gdb.trace/passcount.exp: Likewise.
8795 * gdb.trace/pending.exp: Likewise.
8796 * gdb.trace/range-stepping.exp: Check for shlib support.
8797 * gdb.trace/report.exp: Check for arch support.
8798 * gdb.trace/save-trace.exp: Likewise.
8799 * gdb.trace/signal.exp: Check for signal support.
8800 * gdb.trace/tfind.exp: Check for arch support.
8801 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8802 * gdb.trace/trace-common.h: Add comment.
8803 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8804 * gdb.trace/trace-enable-disable.exp: Likewise.
8805 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8806 * gdb.trace/tracecmd.exp: Check for arch support.
8807 * gdb.trace/tspeed.exp: Check for shlib and target support.
8808 * gdb.trace/tstatus.exp: Check for arch support.
8809 * gdb.trace/tsv.exp: Likewise.
8810 * gdb.trace/while-dyn.exp: Likewise.
8811 * gdb.trace/while-stepping.exp: Likewise.
8812 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8813
f9c49bff
SM
88142018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8815
8816 * gdb.trace/tspeed.exp: Remove nowarnings.
8817 (prepare_for_trace_test): Declare "global ipalib".
8818 * gdb.trace/tspeed.c: Include unistd.h.
8819 (main): Remove superfluous printf argument.
8820
d4330bde
SL
88212018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8822
8823 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8824 directory prefix on the filename.
8825
8ecfd7bd
SDJ
88262018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8827
8828 * gdb.gdb/unittest.exp: Update expected message informing that
8829 selftests have been disabled.
8830 * gdb.server/unittest.exp: Likewise.
8831
58bbcd02
TV
88322018-10-09 Tom de Vries <tdevries@suse.de>
8833
8834 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8835 with runto_main.
8836
9f6b697b
WP
88372018-10-08 Weimin Pan <weimin.pan@oracle.com>
8838
8839 PR c++/16841
8840 * gdb.cp/virtbase2.cc: New file.
8841 * gdb.cp/virtbase2.exp: New file.
8842
add5ded5
TT
88432018-10-06 Tom Tromey <tom@tromey.com>
8844
8845 PR python/19399:
8846 * gdb.python/py-inferior.exp: Add architecture test.
8847
f9e48344
TT
88482018-10-06 Tom Tromey <tom@tromey.com>
8849
8850 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8851 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8852
2a8be203
TT
88532018-10-06 Tom Tromey <tom@tromey.com>
8854
8855 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8856 of a "throw" catchpoint.
8857
e04caa70
SDJ
88582018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8859
8860 * gdb.base/info-proc.exp: Update string expected from "help info
8861 proc".
8862
5ca8c39f
TT
88632018-10-04 Tom Tromey <tom@tromey.com>
8864
8865 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8866 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8867 (test_initial_complaints, test_empty_complaints): Update.
8868 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8869
3453e7e4
TT
88702018-10-04 Tom Tromey <tom@tromey.com>
8871
8872 PR cli/19551:
8873 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8874 * lib/gdb.exp (gdb_file_cmd): Update.
8875 * gdb.stabs/weird.exp (print_weird_var): Update.
8876 * gdb.server/solib-list.exp: Update.
8877 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8878 * gdb.mi/mi-cli.exp: Update.
8879 * gdb.linespec/linespec.exp: Update.
8880 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8881 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8882 * gdb.cp/cp-relocate.exp: Update.
8883 * gdb.base/sym-file.exp: Update.
8884 * gdb.base/relocate.exp: Update.
8885 * gdb.base/readnever.exp: Update.
8886 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8887 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8888 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8889 * gdb.base/code_elim.exp: Update.
8890 * gdb.base/break-unload-file.exp (test_break): Update.
8891 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8892 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8893 Update.
8894 * gdb.base/attach.exp (do_attach_tests): Update.
8895 * gdb.base/sepdebug.exp: Update.
8896 * gdb.python/py-section-script.exp: Update.
8897
6afcf761
TT
88982018-10-04 Tom Tromey <tom@tromey.com>
8899
8900 PR cli/22234:
8901 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8902 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8903 output.
8904
fef1b293
TT
89052018-10-04 Tom Tromey <tom@tromey.com>
8906
8907 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8908 set width and height to 0.
8909 (test_command_line_attach_run): Use -quiet.
8910
ca98345e
SL
89112018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8912
8913 * lib/gdb.exp (skip_ifunc_tests): New.
8914 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8915 other compile failures.
8916 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8917
ff34e6ae
SM
89182018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8919
8920 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8921 is_amd64_regs_target.
8922
6bb8890e
AH
89232018-10-01 Alan Hayward <alan.hayward@arm.com>
8924
8925 * gdb.arch/aarch64-sighandler-regs.c: New test.
8926 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8927 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8928
224d30d3
MM
89292018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8930
8931 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8932 assembly.
8933
f67ffa6a
AB
89342018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8935
8936 * gdb.base/frame-selection.exp: New file.
8937 * gdb.base/frame-selection.c: New file.
8938
9fc3183f
AH
89392018-09-27 Alan Hayward <alan.hayward@arm.com>
8940
8941 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8942 pthread barrier.
8943 (main): Likewise.
8944
d354055e
AB
89452018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8946
8947 * gdb.base/large-frame-1.c: New file.
8948 * gdb.base/large-frame-2.c: New file.
8949 * gdb.base/large-frame.exp: New file.
8950 * gdb.base/large-frame.h: New file.
8951
db727370
JL
89522018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8953
8954 PR gdb/20948
8955 * gdb.base/write_mem.exp: New test.
8956 * gdb.base/write_mem.c: Likewise.
8957
ae778caf
TT
89582018-09-23 Tom Tromey <tom@tromey.com>
8959
8960 PR python/18852:
8961 * gdb.python/py-parameter.exp: Add test for parameter that throws
8962 on "set".
8963
fd3ba736
TT
89642018-09-23 Tom Tromey <tom@tromey.com>
8965
8966 PR python/17284:
8967 * gdb.python/py-template.exp (test_template_arg): Add test for
8968 negative template argument number.
8969
39a24317
TT
89702018-09-23 Tom Tromey <tom@tromey.com>
8971
8972 PR python/14062:
8973 * gdb.python/python.exp: Add test for post_event error.
8974
f5769a2c
TT
89752018-09-23 Tom Tromey <tom@tromey.com>
8976
8977 PR python/18170:
8978 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8979 convert pointers to int and long.
8980
1c1e54f6
TT
89812018-09-23 Tom Tromey <tom@tromey.com>
8982
8983 PR python/20126:
8984 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8985 signed-ness conversion tests.
8986
fb4fa946
TT
89872018-09-23 Tom Tromey <tom@tromey.com>
8988
8989 PR python/18352;
8990 * gdb.python/py-value.exp (test_float_conversion): New proc.
8991 Use it.
8992
a466edac
HAQ
89932018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8994
8995 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8996
4ee9b0c5
SL
89972018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8998
8999 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9000 no readline.
9001 * gdb.base/utf8-identifiers.exp: Likewise.
9002 * gdb.cp/cpcompletion.exp: Likewise.
9003 * gdb.linespec/cpcompletion.exp: Likewise.
9004 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9005 * gdb.linespec/cpls-ops.exp: Likewise.
9006
23be8da7
RB
90072018-09-19 Richard Bunt <richard.bunt@arm.com>
9008 Chris January <chris.january@arm.com>
9009
9010 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9011 * gdb.fortran/short-circuit-argument-list.exp: New file.
9012 * gdb.fortran/short-circuit-argument-list.f90: New test.
9013
5031d0ae
SDJ
90142018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9015
9016 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9017 "arch=" keyword when executing "-stack-list-frames".
9018
b4c0d1a4
SDJ
90192018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9020
9021 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9022 "arch=" keyword when executing "-stack-list-frames".
9023
7a6d2b45
SDJ
90242018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9025
9026 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9027 break ada".
9028
8588b356
SM
90292018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9030
9031 PR python/23669
9032 * gdb.python/python.exp: Test gdb.execute("show commands").
9033
65e65158
TT
90342018-09-16 Tom Tromey <tom@tromey.com>
9035
9036 * gdb.base/new-ui.exp (do_execution_tests): Update.
9037 * gdb.base/dbx.exp (test_breakpoints): Update.
9038
bf326452
AH
90392018-09-14 Alan Hayward <alan.hayward@arm.com>
9040
9041 * lib/gdb.exp (gdb_simple_compile): Add proc.
9042 (is_elf_target): Use gdb_simple_compile.
9043 (skip_altivec_tests): Likewise.
9044 (skip_vsx_tests): Likewise.
9045 (skip_tsx_tests): Likewise.
9046 (skip_btrace_tests): Likewise.
9047 (skip_btrace_pt_tests): Likewise.
9048 (gdb_can_simple_compile): Likewise.
9049 (gdb_has_argv0): Likewise.
9050 (gdb_target_symbol_prefix): Likewise.
9051 (target_supports_scheduler_locking): Likewise.
9052
2361b0fb
TT
90532018-09-13 Tom Tromey <tom@tromey.com>
9054
9055 * Makefile.in (TAGS): Recognize proc_with_prefix and
9056 gdb_caching_proc.
9057
0ae1a321
SM
90582018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9059
9060 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9061 method.
9062
a40bf0c2
SM
90632018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9064
9065 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9066 and a few other Inferior properties when the Inferior is no
9067 longer valid.
9068
4a3fe98f
TT
90692018-09-13 Tom Tromey <tom@tromey.com>
9070
9071 PR rust/23650:
9072 * gdb.rust/simple.exp: Add test for enum field access error.
9073
098b2108
TT
90742018-09-13 Tom Tromey <tom@tromey.com>
9075
9076 PR rust/23626:
9077 * gdb.rust/simple.rs (EmptyEnum): New type.
9078 (main): Use it.
9079 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9080
1256af7d
SM
90812018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9082
9083 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9084 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9085 * gdb.python/py-symtab.exp: Update test printing an objfile.
9086
4aa8e6c2
SM
90872018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9088
9089 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9090 object.
9091
c221b2f7
AH
90922018-09-12 Alan Hayward <alan.hayward@arm.com>
9093
9094 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9095 (support_complex_tests): Use gdb_can_simple_compile.
9096 (is_ilp32_target): Likewise.
9097 (is_lp64_target): Likewise.
9098 (is_64_target): Likewise.
9099 (is_amd64_regs_target): Likewise.
9100 (is_aarch32_target): Likewise.
9101 (gdb_int128_helper): Likewise.
9102
6f1107b5
JK
91032018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9104
9105 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9106
1f5d1570
JG
91072018-09-10 Jerome Guitton <guitton@adacore.com>
9108
9109 * gdb.ada/same_component_name: Add test for case of tagged record
9110 with variable-length fields.
9111
cc330e39
XR
91122018-09-10 Xavier Roirand <roirand@adacore.com>
9113
9114 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9115 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9116 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9117 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9118
b9c50e9a
XR
91192018-09-10 Xavier Roirand <roirand@adacore.com>
9120
9121 * gdb.ada/mi_string_access.exp: New testcase.
9122 * gdb.ada/mi_string_access/bar.adb: New file.
9123 * gdb.ada/mi_string_access/pck.adb: New file.
9124 * gdb.ada/mi_string_access/pck.asd: New file.
9125
2963898f
XR
91262018-09-10 Xavier Roirand <roirand@adacore.com>
9127
9128 * gdb.ada/mi_var_union.exp: New testcase.
9129 * gdb.ada/mi_var_union/bar.adb: New file.
9130 * gdb.ada/mi_var_union/pck.adb: New file.
9131 * gdb.ada/mi_var_union/pck.asd: New file.
9132
1aac008f
TT
91332018-09-08 Tom Tromey <tom@tromey.com>
9134
9135 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9136
332cf4c9
TT
91372018-09-08 Tom Tromey <tom@tromey.com>
9138
9139 PR python/16047:
9140 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9141 (register_pretty_printers): Register new printer.
9142 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9143 test.
9144 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9145 (an_int_type3): New global.
9146
424da6cf
JB
91472018-09-08 Joel Brobecker <brobecker@adacore.com>
9148
9149 * gdb.ada/expr_with_funcall: New testcase.
9150
2a62dfa9
JB
91512018-09-08 Joel Brobecker <brobecker@adacore.com>
9152
9153 * gdb.ada/packed_array_assign: New testcase.
9154
96b6697f
AB
91552018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9156
9157 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9158 names, and add test prefixes to make test names unique.
9159
e4a62c65
TV
91602018-09-05 Tom de Vries <tdevries@suse.de>
9161
9162 * gdb.dwarf2/varval.exp: Add test.
9163
dd083ee2
GB
91642018-09-04 Gary Benson <gbenson@redhat.com>
9165
9166 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9167 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9168
aef9346c
TT
91692018-08-31 Tom Tromey <tom@tromey.com>
9170
9171 * gdb.rust/simple.rs: Rename second variable "v".
9172
c67f2e15
AB
91732018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9174
9175 * gdb.base/funcargs.c (use_a): New function.
9176 (recurse): Call use_a.
9177
078a0207
KS
91782018-08-29 Keith Seitz <keiths@redhat.com>
9179
9180 * gdb.compile/compile-cplus-anonymous.cc: New file.
9181 * gdb.compile/compile-cplus-anonymous.exp: New file.
9182 * gdb.compile/compile-cplus-array-decay.cc: New file.
9183 * gdb.compile/compile-cplus-array-decay.exp: New file.
9184 * gdb.compile/compile-cplus-inherit.cc: New file.
9185 * gdb.compile/compile-cplus-inherit.exp: New file.
9186 * gdb.compile/compile-cplus-member.cc: New file.
9187 * gdb.compile/compile-cplus-member.exp: New file.
9188 * gdb.compile/compile-cplus-method.cc: New file.
9189 * gdb.compile/compile-cplus-method.exp: New file.
9190 * gdb.compile/compile-cplus-mod.c: "New" file.
9191 * gdb.compile/compile-cplus-namespace.cc: New file.
9192 * gdb.compile/compile-cplus-namespace.exp: New file.
9193 * gdb.compile/compile-cplus-nested.cc: New file.
9194 * gdb.compile/compile-cplus-nested.exp: New file.
9195 * gdb.compile/compile-cplus-print.c: "New" file.
9196 * gdb.compile/compile-cplus-print.exp: "New" file.
9197 * gdb.compile/compile-cplus-virtual.cc: New file.
9198 * gdb.compile/compile-cplus-virtual.exp: New file.
9199 * gdb.compile/compile-cplus.c: "New" file.
9200 * gdb.compile/compile-cplus.exp: "New" file.
9201 * lib/compile-support.exp: New file.
9202
b0f492b9
GB
92032018-08-16 Gary Benson <gbenson@redhat.com>
9204
9205 PR gdb/13000:
9206 * gdb.base/batch-exit-status.exp: New file.
9207 * gdb.base/batch-exit-status.good-commands: Likewise.
9208 * gdb.base/batch-exit-status.bad-commands: Likewise.
9209
36eb4c5f
AH
92102018-08-29 Alan Hayward <alan.hayward@arm.com>
9211
9212 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9213 (struct struct02): Likewise.
9214 (struct struct03): Likewise.
9215 (struct struct04): Likewise.
9216 (struct struct_01_01): New struct.
9217 (struct struct_01_02): Likewise.
9218 (struct struct_01_03): Likewise.
9219 (struct struct_01_04): Likewise.
9220 (struct struct_02_01): Likewise.
9221 (struct struct_02_02): Likewise.
9222 (struct struct_02_03): Likewise.
9223 (struct struct_02_04): Likewise.
9224 (struct struct_04_01): Likewise.
9225 (struct struct_04_02): Likewise.
9226 (struct struct_04_03): Likewise.
9227 (struct struct_04_04): Likewise.
9228 (struct struct_05_01): Likewise.
9229 (struct struct_05_02): Likewise.
9230 (struct struct_05_03): Likewise.
9231 (struct struct_05_04): Likewise.
9232 (cmp_struct01): Remove function.
9233 (cmp_struct02): Likewise.
9234 (cmp_struct03): Likewise.
9235 (cmp_struct04): Likewise.
9236 (cmp_struct_01_01): Add Function.
9237 (cmp_struct_01_02): Likewise.
9238 (cmp_struct_01_03): Likewise.
9239 (cmp_struct_01_04): Likewise.
9240 (cmp_struct_02_01): Likewise.
9241 (cmp_struct_02_02): Likewise.
9242 (cmp_struct_02_03): Likewise.
9243 (cmp_struct_02_04): Likewise.
9244 (cmp_struct_04_01): Likewise.
9245 (cmp_struct_04_02): Likewise.
9246 (cmp_struct_04_03): Likewise.
9247 (cmp_struct_04_04): Likewise.
9248 (cmp_struct_05_01): Likewise.
9249 (cmp_struct_05_02): Likewise.
9250 (cmp_struct_05_03): Likewise.
9251 (cmp_struct_05_04): Likewise.
9252 (call_all): Add new structs.
9253 * gdb.base/infcall-nested-structs.exp: Likewise.
9254
3bf9c013
JV
92552018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9256
9257 * gdb.python/py-framefilter-mi.exp: Update regexp to
9258 check for "arch" field in frame output.
9259
450d1e88
KB
92602018-08-23 Kevin Buettner <kevinb@redhat.com>
9261
9262 * gdb.dwarf2/dw2-ranges-func.c: New file.
9263 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9264
ae739fe7
SM
92652018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9266
9267 * gdb.base/term.exp: Compare terminal settings with values from
9268 the inferior.
9269 * gdb.base/term.c: Get and set terminal settings.
9270
6d52907e
JV
92712018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9272
9273 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9274 accommodate new "arch" field in frame output.
9275 * gdb.mi/mi-return.exp: Likewise.
9276 * gdb.mi/mi-stack.exp: Likewise.
9277 * gdb.mi/mi-syn-frame.exp: Likewise.
9278 * gdb.mi/user-selected-context-sync.exp: Likewise.
9279
be2d111a
MS
92802018-08-19 Michael Spang <spang@google.com>
9281
9282 PR gdb/11786
9283 * gdb.base/gcore-tls-pie.c: New file.
9284 * gdb.base/gcore-tls-pie.exp: New file.
9285
ae3a7c47
KB
92862018-08-18 Kevin Buettner <kevinb@redhat.com>
9287
9288 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
9289 * gdb.dwarf2/varval.c: New file.
9290 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 9291
2ecae92e
AH
92922018-08-17 Alan Hayward <alan.hayward@arm.com>
9293
9294 PR gdb/18931
9295 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9296
c1854f1d
KS
92972018-08-16 Keith Seitz <keiths@redhat.com>
9298
9299 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9300 tests expected to pass.
9301
26fb3983
JV
93022018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9303
9304 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9305 -data-disassemble -a.
9306 (test_disassembly_bogus_args): Likewise.
9307
67943c00
AB
93082018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9309
9310 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9311
5ff2bbae
AB
93122018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9313
9314 * gdb.base/vla-optimized-out.exp: Add new test.
9315
e5bbcd0f
AB
93162018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9317
9318 * gdb.base/vla-optimized-out-o3.exp: Delete.
9319 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9320 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9321 deleted tests.
9322
9d4a934c
AB
93232018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9324
9325 PR gdb/18050:
9326 * gdb.server/extended-remote-restart.c: New file.
9327 * gdb.server/extended-remote-restart.exp: New file.
9328
045cf012
SM
93292018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9330
9331 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9332 "set variable index = 42".
9333
87d6a7aa
SM
93342018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9335
9336 * boards/index-cache-gdb.exp: New file.
9337 * gdb.dwarf2/index-cache.exp: New file.
9338 * gdb.dwarf2/index-cache.c: New file.
9339 * gdb.base/maint.exp: Check if we are using the index cache.
9340
96d68bd4
RO
93412018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9342
9343 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9344 MAKEFLAGS.
9345
5a699617
RO
93462018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9347
9348 * dg-extract-results.sh: Move to toplevel contrib.
9349 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9350 * Makefile.in (check-parallel-racy): Likewise.
9351
5bd18990
AB
93522018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9353
9354 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9355 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9356 tests if the target supports scheduler locking.
9357
3fbbcf47
TV
93582018-08-04 Tom de Vries <tdevries@suse.de>
9359
9360 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9361
3e1d3d8c
TT
93622018-08-02 Tom Tromey <tom@tromey.com>
9363
9364 PR symtab/16842.
9365 * gdb.cp/temargs.exp: Test "info address" of a template
9366 parameter.
9367
5abe0f0c
JV
93682018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9369
9370 * gdb.python/py-mi-var-info-path-expression.c: New file.
9371 * gdb.python/py-mi-var-info-path-expression.py: New file.
9372 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9373
fb66cde8
SDJ
93742018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9375
9376 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9377 error after "cannot resolve name" string.
9378
c708f4d2
AB
93792018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9380
9381 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9382 started.
9383 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9384
37cc0cae
TV
93852018-07-28 Tom de Vries <tdevries@suse.de>
9386
9387 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9388
63b4ecf7
TV
93892018-07-26 Tom de Vries <tdevries@suse.de>
9390
9391 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9392
3c3bb058
AB
93932018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9394
9395 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9396 is visible.
9397
9e7f3bbb
TV
93982018-07-26 Tom de Vries <tdevries@suse.de>
9399
9400 PR breakpoints/23366
9401 * gdb.base/catch-follow-exec.c: New test.
9402 * gdb.base/catch-follow-exec.exp: New file.
9403
16f808ec
TV
94042018-07-25 Tom de Vries <tdevries@suse.de>
9405
9406 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9407 vla-optimized-out.c.
9408
d7154a8d
JV
94092018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9410
9411 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9412 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9413
232a0032
TV
94142018-07-20 Tom de Vries <tdevries@suse.de>
9415
9416 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9417 NOCLONE macro.
9418 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9419
fbb1d502
TV
94202018-07-19 Tom de Vries <tdevries@suse.de>
9421
9422 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9423 regular expression.
9424
42dc7699
TV
94252018-07-18 Tom de Vries <tdevries@suse.de>
9426
9427 * gdb.base/vla-optimized-out.c: New test.
9428 * gdb.base/vla-optimized-out.exp: New file.
9429
7f1f7e23
SDJ
94302018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9431
9432 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9433 message "No address associated with hostname" when gdbserver
9434 cannot resolve the hostname.
9435
5759ebb3
PW
94362018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9437
9438 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9439 Add some test prefixes to make tests unique.
9440
3606ccab
PW
94412018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9442
9443 * gdb.base/frameapply.c: New file.
9444 * gdb.base/frameapply.exp: New file.
9445
529c08b2
PW
94462018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9447
9448 * gdb.base/skip.exp: Update expected error message.
9449
c7ab0aef
SDJ
94502018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9451 Jan Kratochvil <jan.kratochvil@redhat.com>
9452 Paul Fertser <fercerpav@gmail.com>
9453 Tsutomu Seki <sekiriki@gmail.com>
9454
9455 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9456 parameter.
9457 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9458 by default.
9459 * boards/native-gdbserver.exp: Likewise.
9460 * gdb.server/run-without-local-binary.exp: Improve regexp used
9461 for detecting when a remote debugging connection succeeds.
9462 * gdb.server/server-connect.exp: New file.
9463 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9464 Do not prefix the port number with ":".
9465 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9466 support for detecting and using it. Add '$debughost_gdbserver'
9467 to the list of arguments used to start gdbserver. Handle case
9468 when gdbserver cannot resolve a network name.
9469
16ff70dd
SDJ
94702018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9471
9472 PR c++/23373
9473 * gdb.base/ptype-offsets.cc (struct static_member): New
9474 struct.
9475 (main) <stmember>: New variable.
9476 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9477 with a static member in it.
9478
3541979f
AB
94792018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9480
9481 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9482 watchpoints enabled and disabled.
9483
c8ad9b9a
AB
94842018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9485
9486 * gdb.base/examine-backward.exp: Still run tests around address
9487 0x0, even if address 0x0 is not readable. Update the pattern for
9488 matching address 0x0 in expected output.
9489
e0e5e971
AB
94902018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9491
9492 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9493 malloc/free.
9494
1ea5da02
TV
94952018-07-04 Tom de Vries <tdevries@suse.de>
9496
9497 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9498
471b9d15
MR
94992018-07-02 Maciej W. Rozycki <macro@mips.com>
9500
9501 PR tdep/8282
9502 * gdb.arch/mips-disassembler-options.exp: New test.
9503 * gdb.arch/mips-disassembler-options.s: New test source.
9504
75acb486
PA
95052018-06-29 Pedro Alves <palves@redhat.com>
9506
9507 * gdb.threads/names.exp: Adjust expected "info threads" output.
9508
cd2bb709
PA
95092018-06-29 Pedro Alves <palves@redhat.com>
9510
9511 * gdb.opt/inline-break.exp (line number, address): Add "info
9512 break" tests.
9513
991ff292
PA
95142018-06-29 Pedro Alves <palves@redhat.com>
9515
9516 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9517 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9518 number and address and running to them.
9519
356819b6 95202018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
9521
9522 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9523
2512d7ef
JK
95242018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9525
9526 * lib/compiler.c: Remove executable permission flag.
9527
be1b6474
RB
95282018-06-28 Richard Bunt <richard.bunt@arm.com>
9529
9530 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9531 code.
9532 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9533
291f9a96
PT
95342018-06-28 Petr Tesarik <ptesarik@suse.cz>
9535
9536 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9537
ed6dfe51
PT
95382018-06-28 Petr Tesarik <ptesarik@suse.cz>
9539
9540 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9541 address argument is omitted.
9542
d4d429d5
PT
95432018-06-28 Petr Tesarik <ptesarik@suse.cz>
9544
9545 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9546
7ab6656f
OJ
95472018-06-27 Omair Javaid <omair.javaid@linaro.org>
9548
9549 PR gdb/21695
9550 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9551 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9552
a33ccfc7
TT
95532018-06-26 Tom Tromey <tom@tromey.com>
9554
9555 PR rust/22574:
9556 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9557 * gdb.rust/simple.rs (struct SimpleLayout): New.
9558
6d72d289
SM
95592018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9560
9561 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9562 "info registers" output.
9563
8363f9d5
RB
95642018-06-21 Richard Bunt <richard.bunt@arm.com>
9565
9566 * gdb.base/watchpoint-hw-attach.c: New test.
9567 * gdb.base/watchpoint-hw-attach.exp: New file.
9568
f00674fe
SM
95692018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9570
9571 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9572 through /bin/sh.
9573 * boards/dwarf4-gdb-index.exp: Likewise.
9574 * boards/fission-dwp.exp: Likewise.
9575
1d554008
UW
95762018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9577
9578 * gdb.base/float128.exp: Add comment and improved fail message
9579 to the failure case of "print large128" test.
9580
d0ac1c44
SM
95812018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9582
9583 * configure.ac: Remove AC_PREREQ.
9584 * configure: Re-generate.
9585
61b04dd0
PA
95862018-06-19 Pedro Alves <palves@redhat.com>
9587
9588 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9589 (func_extern_caller): New.
9590 (main): Call func_extern_caller.
9591 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9592 logic change.
9593
f63b508a
SM
95942018-06-18 Weimin Pan <weimin.pan@oracle.com>
9595
9596 PR gdb/16841
9597 * gdb.cp/typedef-base.cc: New file.
9598 * gdb.cp/typedef-base.exp: New file.
9599
0fe3a558
TV
96002018-06-18 Tom de Vries <tdevries@suse.de>
9601
9602 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9603
7010835a
AB
96042018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9605 Richard Bunt <Richard.Bunt@arm.com>
9606
9607 * gdb.threads/attach-slow-waitpid.c: New file.
9608 * gdb.threads/attach-slow-waitpid.exp: New file.
9609 * gdb.threads/slow-waitpid.c: New file.
9610
14897d65
PA
96112018-06-14 Pedro Alves <palves@redhat.com>
9612
9613 * gdb.base/fork-running-state.c: Include <errno.h>.
9614 (exit_if_relative_exits): New.
9615 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9616 exits.
9617 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9618 child exits.
9619
5d9a0608
TV
96202018-06-14 Tom de Vries <tdevries@suse.de>
9621
9622 PR cli/22573
9623 * gdb.base/finish-pretty.c: New test.
9624 * gdb.base/finish-pretty.exp: New file.
9625
11ae5818
PA
96262018-06-14 Pedro Alves <palves@redhat.com>
9627
9628 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9629 gdb's expected startup output.
9630
1d39de44
PA
96312018-06-14 Pedro Alves <palves@redhat.com>
9632
9633 * lib/selftest-support.exp (selftest_setup): Remove inlined
9634 function handling.
9635
70ee0000
TV
96362018-06-14 Tom de Vries <tdevries@suse.de>
9637
9638 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9639 matching of breakpoint printing.
9640
11f4b608
TV
96412018-06-13 Tom de Vries <tdevries@suse.de>
9642
9643 PR testsuite/23269
9644 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9645 (fork_child): ... here, and ...
9646 (fork_parent): ... here.
9647
96482018-06-12 Tom de Vries <tdevries@suse.de>
9649
9650 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9651
9516f85a
AB
96522018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9653 Stephen Roberts <stephen.roberts@arm.com>
9654
9655 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9656 rewrite test to describe action performed, rather than possible
9657 failure.
9658
5045b3d7
GB
96592018-06-08 Gary Benson <gbenson@redhat.com>
9660
9661 * gdb.threads/check-libthread-db.exp: New file.
9662 * gdb.threads/check-libthread-db.c: Likewise.
9663
c61b06a1
TT
96642018-06-05 Tom Tromey <tom@tromey.com>
9665
9666 * gdb.base/default.exp: Update expected "show version" output.
9667
eb6af809
TT
96682018-06-05 Tom Tromey <tom@tromey.com>
9669
9670 PR cli/12326:
9671 * gdb.cp/static-print-quit.exp: Update.
9672 * lib/gdb.exp (pagination_prompt): Update.
9673 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9674 * gdb.python/python.exp: Update.
9675
178d6a63
JB
96762018-06-04 Joel Brobecker <brobecker@adacore.com>
9677
9678 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9679
8e817061
JB
96802018-06-01 Joel Brobecker <brobecker@adacore.com>
9681
9682 * gdb.ada/bp_fun_addr: New testcase.
9683
e86ca25f
TT
96842018-06-01 Tom Tromey <tom@tromey.com>
9685
9686 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9687 results.
9688 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9689 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9690 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9691 * gdb.base/maint.exp (maint_pass_if): Update.
9692
4b2dfa9d
MR
96932018-05-31 Maciej W. Rozycki <macro@mips.com>
9694
9695 * gdb.base/endian.exp: New test.
9696 * gdb.base/endian.c: New test source.
9697
45f25d6c
AB
96982018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9699
9700 PR gdb/23203
9701 * gdb.base/bt-selected-frame.c: New file.
9702 * gdb.base/bt-selected-frame.exp: New file.
9703 * lib/gdb.exp (get_current_frame_number): New function.
9704
d9f6d7f8
MR
97052018-05-24 Maciej W. Rozycki <macro@mips.com>
9706 Pedro Alves <palves@redhat.com>
9707
9708 * gdb.threads/tls-core.c: Include <stdlib.h>
9709 (thread_proc): Call `abort'.
9710 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9711 (tls_core_test): New procedure, bits factored out from ...
9712 (top level): ... here. Test both native cores and gcore cores.
9713
ff1cf532
TT
97142018-05-23 Tom Tromey <tom@tromey.com>
9715
9716 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9717
b98664d3
TT
97182018-05-23 Tom Tromey <tom@tromey.com>
9719
9720 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9721 symfile_complaints.
9722 (test_short_complaints): Likewise.
9723 (test_empty_complaints): Likewise.
9724 (test_initial_complaints): Update.
9725
4e9668d0
TT
97262018-05-23 Tom Tromey <tom@tromey.com>
9727
9728 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9729
43ba33c7
TT
97302018-05-23 Tom Tromey <tom@tromey.com>
9731
9732 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9733 (test_short_complaints): Update.
9734
035522c0
PA
97352018-05-22 Pedro Alves <palves@redhat.com>
9736
9737 * gdb.base/remote.exp: Only gdb_start after compiling the
9738 testcase. Issue "disconnect" before testing "set remote" command
9739 defaults. Issue clean_restart before running to main.
9740
cc0be08f
PA
97412018-05-22 Pedro Alves <palves@redhat.com>
9742
9743 * gdb.base/remote.exp: Adjust expected output of "show remote
9744 memory-write-packet-size". Add tests for "set remote
9745 memory-write-packet-size 0" and "set remote
9746 memory-write-packet-size fixed/limit".
9747
b1b60145
PA
97482018-05-22 Pedro Alves <palves@redhat.com>
9749
9750 PR gdb/22973
9751 * gdb.base/utf8-identifiers.c: New file.
9752 * gdb.base/utf8-identifiers.exp: New file.
9753
0ec848ad
PFC
97542018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9755
9756 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9757
2c3305f6
PFC
97582018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9759
9760 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9761
ce1e8424
TT
97622018-05-18 Tom Tromey <tom@tromey.com>
9763
9764 * gdb.base/ptype-offsets.exp: Update.
9765
ddfe970e
KS
97662018-05-17 Keith Seitz <keiths@redhat.com>
9767
9768 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9769 in expected breakpoint stop locations.
9770 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9771 move to proper scope to test variable values.
9772 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9773 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9774 New functions.
9775 (main): Call not_inline_func3.
9776 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9777 inline_func1, inline_func2, and inline_func3. Test that when each
9778 breakpoint is hit, GDB properly reports both the stop location
9779 and the backtrace. Repeat tests for temporary breakpoints.
9780
0726fcc6
MR
97812018-05-15 Maciej W. Rozycki <macro@mips.com>
9782
9783 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9784 rather then trying to access it in determining whether the PID
9785 of `gdbserver' could have been retrieved.
9786
8ee22052
AB
97872018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9788
9789 * gdb.arch/amd64-init-x87-values.S: New file.
9790 * gdb.arch/amd64-init-x87-values.exp: New file.
9791
7785df48
JK
97922018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9793
9794 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9795
56bcdbea
TT
97962018-05-04 Tom Tromey <tom@tromey.com>
9797
9798 PR python/22730:
9799 * gdb.python/python.exp: Test multi-line execute.
9800
a913fffb
TT
98012018-05-04 Tom Tromey <tom@tromey.com>
9802
9803 PR python/22731:
9804 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9805
7a2c85f2
TT
98062018-05-04 Tom Tromey <tom@tromey.com>
9807
9808 PR gdb/11750:
9809 * gdb.base/define.exp: Test defining a user command inside a user
9810 command.
9811 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9812
a3b60e45
JK
98132018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9814 Pedro Alves <palves@redhat.com>
9815
9816 PR breakpoints/19806 and support for PR external/20207.
9817 * gdb.base/watchpoint-unaligned.c: New file.
9818 * gdb.base/watchpoint-unaligned.exp: New file.
9819
45fe4a03
AB
98202018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9821
9822 * gdb.base/maint.exp: Make test names unique, use
9823 test_prefix_command_help to test 'help maint info', and remove
9824 repeated test of 'help maint'.
9825
9be2ae8f
TT
98262018-05-04 Tom Tromey <tom@tromey.com>
9827
9828 PR gdb/22619:
9829 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9830 behavior.
9831
11859c31
AB
98322018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9833
9834 * gdb.base/maint.exp: Process output from 'maint print registers'
9835 line at a time.
9836
089a9490
AB
98372018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9838
9839 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9840 timeout.
9841
9b0797e2
AB
98422018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9843
9844 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9845 filter pattern.
9846
f6ac5f3d
PA
98472018-05-02 Pedro Alves <palves@redhat.com>
9848
9849 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9850 to_log_command renames.
9851 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9852
77d3c63b
TT
98532018-05-02 Tom Tromey <tom@tromey.com>
9854
9855 * gdb.python/py-parameter.exp: Set test message.
9856
0489430a
TT
98572018-05-02 Tom Tromey <tom@tromey.com>
9858
9859 PR python/20084:
9860 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9861 PARAM_ZUINTEGER_UNLIMITED tests.
9862
1632f8ba
DR
98632018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9864
9865 PR rust/23124
9866 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9867 when casting.
9868
6d7bb824
TT
98692018-04-30 Tom Tromey <tom@tromey.com>
9870
9871 * gdb.python/py-type.exp: Check align attribute.
9872 * gdb.python/py-type.c: New "aligncheck" global.
9873
007e1530
TT
98742018-04-30 Tom Tromey <tom@tromey.com>
9875
9876 PR exp/17095:
9877 * gdb.dwarf2/dw2-align.exp: New file.
9878 * gdb.cp/align.exp: New file.
9879 * gdb.base/align.exp: New file.
9880 * lib/gdb.exp (gdb_int128_helper): New proc.
9881 (has_int128_c, has_int128_cxx): New caching procs.
9882
6873858b
TT
98832018-04-27 Tom Tromey <tom@tromey.com>
9884
9885 PR rust/22545:
9886 * gdb.rust/simple.exp: Add inclusive range tests.
9887
79188d8d
PA
98882018-04-26 Pedro Alves <palves@redhat.com>
9889
9890 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9891 ifunc breakpoint locations correctly of ifunc breakpoints set
9892 while the program resolves the ifunc.
9893
c7075ad5
PA
98942018-04-26 Pedro Alves <palves@redhat.com>
9895
9896 * gdb.base/gnu-ifunc-final.c: New file.
9897 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9898 * gdb.base/gnu-ifunc.exp (executable): Delete.
9899 (staticexecutable): Adjust.
9900 (lib_opts, exec_opts): Delete.
9901 (make_binsuffix, build, set-break): New procedures.
9902 (misc_tests): New, with tests factored out from the top level.
9903 (top level): Test different combinations of ifunc resolver name,
9904 resolver with and with debug info, and ifunc target with and
9905 without debug info. Wrap static tests with with_target_prefix.
9906
8388016d
PA
99072018-04-26 Pedro Alves <palves@redhat.com>
9908
9909 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9910 return type" warnings.
9911
249b5733
PA
99122018-04-25 Pedro Alves <palves@redhat.com>
9913
9914 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9915 killed".
9916 * gdb.base/kill-after-signal.exp: Likewise.
9917 * gdb.threads/kill.exp: Likewise.
9918
f67c0c91
SDJ
99192018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9920 Sergio Durigan Junior <sergiodj@redhat.com>
9921 Pedro Alves <palves@redhat.com>
9922
9923 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9924 regexps to expect for '[Inferior ... detached]' as well.
9925 * gdb.base/attach.exp: Likewise.
9926 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9927 "gdb_continue_to_end".
9928 (test_catch_syscall_with_wrong_args): Likewise.
9929 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9930 ']'. Don't set 'verbose' on.
9931 * gdb.base/foll-vfork.exp: Likewise.
9932 * gdb.base/fork-print-inferior-events.c: New file.
9933 * gdb.base/fork-print-inferior-events.exp: New file.
9934 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9935 '[Inferior ... has been killed]' message.
9936 * gdb.base/kill-after-signal.exp: Likewise.
9937 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9938 detach message.
9939 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9940 message.
9941 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9942 regexps to expect for '[Inferior ... detached]' as well.
9943 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9944
0a8ddac4
SM
99452018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9946
9947 PR gdb/23104
9948 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9949
701adfb0
PA
99502018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9951
9952 PR gdb/23095
9953 * gdb.base/break-probes.exp: Pass shlib_load to
9954 prepare_for_testing. Set normal_bp to r_debug_state if target is
9955 bsd.
9956
d27d16bf
RB
99572018-04-19 Richard Bunt <richard.bunt@arm.com>
9958
9959 * gdb.threads/multiple-successive-infcall.c: New test.
9960 * gdb.threads/multiple-successive-infcall.exp: New file.
9961
a037790e
TT
99622018-04-17 Tom Tromey <tom@tromey.com>
9963
9964 * gdb.rust/simple.rs (Union): New type.
9965 (main): New local "u".
9966 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9967
e3a91079
AA
99682018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9969
9970 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9971 number information in output of "whereis" command.
9972 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9973
b744723f
AA
99742018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9975
9976 * gdb.ada/info_types.exp: Adjust expected output to the line
9977 numbers now printed by "info var/func/type".
9978 * gdb.base/completion.exp: Likewise.
9979 * gdb.base/included.exp: Likewise.
9980 * gdb.cp/cp-relocate.exp: Likewise.
9981 * gdb.cp/cplusfuncs.exp: Likewise.
9982 * gdb.cp/namespace.exp: Likewise.
9983 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9984
4a4495d6
MM
99852018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9986
9987 * gdb.btrace/cpu.exp: New.
9988
1d509aa6
MM
99892018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9990
9991 * gdb.base/step-indirect-call-thunk.exp: New.
9992 * gdb.base/step-indirect-call-thunk.c: New.
9993 * gdb.reverse/step-indirect-call-thunk.exp: New.
9994 * gdb.reverse/step-indirect-call-thunk.c: New.
9995
6295b6da
SM
99962018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9997
9998 * gdb.base/pie-fork.c: New file.
9999 * gdb.base/pie-fork.exp: New file.
10000
50146e70
TT
100012018-04-11 Tom Tromey <tom@tromey.com>
10002
10003 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10004
f50d8a2e
PA
100052018-04-10 Pedro Alves <palves@redhat.com>
10006
10007 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10008 exits. Instead loop running forever.
10009 (fork_parent): Run forever too.
10010
a0be7a36
SM
100112018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10012
10013 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10014 mi_continue_to_line.
10015 * gdb.mi/mi-stack.c (callee4): Add comment.
10016
9b73db36
SM
100172018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10018
10019 * gdb.mi/mi-stack.exp: Fix indentation.
10020
c912f608
SM
100212018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10022
10023 PR gdb/22979
10024 * gdb.arch/amd64-osabi.exp: New file.
10025
26540402
SM
100262018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10027
10028 PR gdb/22980
10029 * gdb.base/osabi.exp: New file.
10030
121ad66c 100312018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
10032
10033 * gdb.cp/static-typedef-print.exp: New file.
10034 * gdb.cp/static-typedef-print.cc: New file.
10035
3fcded8f
JB
100362018-03-27 Joel Brobecker <brobecker@adacore.com>
10037
10038 * gdb.ada/varsize_limit: New testcase.
10039
59cc4834
JB
100402018-03-27 Joel Brobecker <brobecker@adacore.com>
10041
10042 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10043
10044 * gdb.ada/notcplusplus: New testcase.
10045
10046 * gdb.base/c-linkage-name.c: New file.
10047 * gdb.base/c-linkage-name.exp: New testcase.
10048
4ca59a9f
TT
100492018-03-26 Tom Tromey <tom@tromey.com>
10050
10051 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10052 * gdb.python/py-framefilter.py (name_error): New global.
10053 (ErrorInName.function): Use name_error.
10054
978d6c75
TT
100552018-03-26 Tom Tromey <tom@tromey.com>
10056
10057 PR backtrace/15582:
10058 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10059
b7fee5a3
KS
100602018-03-23 Keith Seitz <keiths@redhat.com>
10061
10062 PR c++/22968
10063 * gdb.cp/subtypes.exp: New file.
10064 * gdb.cp/subtypes.h: New file.
10065 * gdb.cp/subtypes.cc: New file.
10066 * gdb.cp/subtypes-2.cc: New file.
10067
376be529
AB
100682018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10069
10070 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10071 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10072 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10073 -nostartfiles when compiling the test. Confirm that all registers
10074 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10075
066cfa98
AB
100762018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10077
10078 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10079 option, syntax was wrong anyway.
10080 * gdb.arch/arm-disp-step.exp: Likewise.
10081 * gdb.arch/sparc64-regs.exp: Likewise.
10082 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10083 option, syntax was wrong anyway, switch to use
10084 prepare_for_testing.
10085 * gdb.arch/i386-disp-step.exp: Likewise.
10086
079670b9
AA
100872018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10088
10089 * gdb.ada/exec_changed.exp: Replace "target_info exists
10090 use_gdb_stub" by "use_gdb_stub".
10091 * gdb.ada/start.exp: Likewise.
10092 * gdb.base/async-shell.exp: Likewise.
10093 * gdb.base/attach-pie-misread.exp: Likewise.
10094 * gdb.base/attach-wait-input.exp: Likewise.
10095 * gdb.base/break-entry.exp: Likewise.
10096 * gdb.base/break-interp.exp: Likewise.
10097 * gdb.base/dprintf-detach.exp: Likewise.
10098 * gdb.base/nostdlib.exp: Likewise.
10099 * gdb.base/solib-nodir.exp: Likewise.
10100 * gdb.base/statistics.exp: Likewise.
10101 * gdb.base/testenv.exp: Likewise.
10102 * gdb.mi/mi-exec-run.exp: Likewise.
10103 * gdb.mi/mi-start.exp: Likewise.
10104 * gdb.multi/dummy-frame-restore.exp: Likewise.
10105 * gdb.multi/multi-arch-exec.exp: Likewise.
10106 * gdb.multi/multi-arch.exp: Likewise.
10107 * gdb.multi/tids.exp: Likewise.
10108 * gdb.multi/watchpoint-multi.exp: Likewise.
10109 * gdb.python/py-events.exp: Likewise.
10110 * gdb.threads/attach-into-signal.exp: Likewise.
10111 * gdb.threads/attach-stopped.exp: Likewise.
10112 * gdb.threads/threadapply.exp: Likewise.
10113 * lib/selftest-support.exp: Likewise.
10114
26d6cec4
AA
101152018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10116
10117 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10118
4ee89e90
SR
101192018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10120
10121 * gdb.perf/template-breakpoints.cc: New file.
10122 * gdb.perf/template-breakpoints.exp: New file.
10123 * gdb.perf/template-breakpoints.py: New file.
10124
92630041
TT
101252018-03-19 Tom Tromey <tom@tromey.com>
10126
10127 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10128 y0.
10129 * gdb.rust/simple.exp: Test bare identifier form of struct
10130 initializer.
10131
76727919
TT
101322018-03-19 Tom Tromey <tom@tromey.com>
10133
10134 * gdb.gdb/observer.exp: Remove.
10135
194ed413
AA
101362018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10137
10138 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10139 "qualified" option when setting breakpoints.
10140 * gdb.trace/backtrace.exp: Likewise.
10141 * gdb.trace/circ.exp: Likewise.
10142 * gdb.trace/collection.exp: Likewise.
10143 * gdb.trace/disconnected-tracing.exp: Likewise.
10144 * gdb.trace/ftrace-lock.exp: Likewise.
10145 * gdb.trace/ftrace.exp: Likewise.
10146 * gdb.trace/infotrace.exp: Likewise.
10147 * gdb.trace/packetlen.exp: Likewise.
10148 * gdb.trace/passc-dyn.exp: Likewise.
10149 * gdb.trace/qtro.exp: Likewise.
10150 * gdb.trace/read-memory.exp: Likewise.
10151 * gdb.trace/report.exp: Likewise.
10152 * gdb.trace/signal.exp: Likewise.
10153 * gdb.trace/status-stop.exp: Likewise.
10154 * gdb.trace/strace.exp: Likewise.
10155 * gdb.trace/tfind.exp: Likewise.
10156 * gdb.trace/trace-break.exp: Likewise.
10157 * gdb.trace/trace-condition.exp: Likewise.
10158 * gdb.trace/trace-mt.exp: Likewise.
10159 * gdb.trace/tstatus.exp: Likewise.
10160 * gdb.trace/tsv.exp: Likewise.
10161 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10162 * gdb.trace/unavailable.exp: Likewise.
10163 * gdb.trace/while-dyn.exp: Likewise.
10164
8b067d2c
AA
101652018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10166
10167 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10168 that libinproctrace is copied to the target.
10169
3ae9ce5d
TT
101702018-03-14 Tom Tromey <tom@tromey.com>
10171
10172 PR cli/14977:
10173 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10174 a null pointer.
10175 * gdb.base/wchar.exp: Likewise.
10176
b8c2339b
TT
101772018-03-14 Tom Tromey <tom@tromey.com>
10178
10179 PR cli/19918:
10180 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10181 flag.
10182
4872dc46
SM
101832018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10184
10185 PR gdb/22841
10186 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10187 "target" to remote_exec.
10188
e4fe3756
SM
101892018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10190
10191 PR gdb/22841
10192 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10193 ${board}_upload): Remove.
10194
e95a97d4
AA
101952018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10196
10197 * gdb.cp/watch-cp.cc: New test.
10198 * gdb.cp/watch-cp.exp: New file.
10199
dbbb1059
AB
102002018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10201
10202 * gdb.base/infcall-nested-structs.exp: New file.
10203 * gdb.base/infcall-nested-structs.c: New file.
10204 * gdb.base/float.exp: Add riscv support.
10205
ecc054c0
TP
102062018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10207
10208 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10209 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10210
25e3c82c
SDJ
102112018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10212
10213 * gdb.server/abspath.exp: New file.
10214 * lib/gdb.exp (with_cwd): New procedure.
10215
3083294d
SM
102162018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10217
10218 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10219 use it.
10220 (gdb_is_target_remote_prompt): New proc.
10221 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10222 (gdb_is_target_native): Pass prompt parameter to
10223 gdb_is_target_1.
10224
3275ef47
SM
102252018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10226
10227 * gdb.base/load-command.c: New file.
10228 * gdb.base/load-command.exp: New file.
10229 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10230 (gdb_is_target_1): ...this, and generalize for other targets
10231 than just remote.
10232 (gdb_is_target_remote): Use gdb_is_target_1.
10233 (gdb_is_target_native): use gdb_is_target_1.
10234
6893c19a
TT
102352018-02-26 Tom Tromey <tom@tromey.com>
10236
10237 PR python/16497:
10238 * gdb.python/py-framefilter.exp: Update test.
10239
2ddeaf8a
TT
102402018-02-26 Tom Tromey <tom@tromey.com>
10241
10242 * gdb.dwarf2/variant.c: New file.
10243 * gdb.dwarf2/variant.exp: New file.
10244
c9317f21
TT
102452018-02-26 Tom Tromey <tom@tromey.com>
10246
10247 * gdb.rust/simple.exp: Accept more possible results in enum test.
10248
6f6d0c26
SM
102492018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10250
10251 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10252 parentheses.
10253
11b03145
MR
102542018-02-23 Maciej W. Rozycki <macro@mips.com>
10255
10256 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10257 name of a variable: $actual_linejj -> $actual_line.
10258
54a27fe5
JB
102592018-02-21 John Baldwin <jhb@FreeBSD.org>
10260
10261 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10262
de65820c
MM
102632018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10264
10265 * gdb.btrace/buffer-size.exp: Do not force BTS.
10266
980548fd
PA
102672018-02-14 Pedro Alves <palves@redhat.com>
10268
10269 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10270 getting a "Quit".
10271
c4e12631
MM
102722018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10273
10274 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10275 Fix test name.
10276
c2e0e465
SM
102772018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10278
10279 * gdb.cp/m-static.exp: Check type of optimized out static
10280 member.
10281
f7216783
AB
102822018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10283
10284 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10285 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10286
0625771b
LS
102872018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10288 Leszek Swirski <leszeks@google.com>
10289
10290 * gdb.python/py-prettyprint.c
10291 (struct to_string_returns_value_inner,
10292 struct to_string_returns_value_wrapper): New.
10293 (main): Add tsrvw variable.
10294 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10295 ToStringReturnsValueWrapper): New classes.
10296 (register_pretty_printers): Register new pretty-printers.
10297 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10298 recursive pretty printer.
10299 * gdb.python/py-mi.exp: Likewise.
10300
59498c30
LS
103012018-02-01 Leszek Swirski <leszeks@google.com>
10302
10303 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10304 functions with the same name as an include file are parsed
10305 correctly.
10306
d4d38844
YQ
103072018-02-01 Yao Qi <yao.qi@linaro.org>
10308
10309 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10310 "\[^\r\n\]*".
10311
07e5f5cf
NP
103122018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10313
10314 * gdb.arch/powerpc-prologue-frame.s: New file.
10315 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10316 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10317
929b5ad4
JB
103182018-01-31 Joel Brobecker <brobecker@adacore.com>
10319
10320 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10321
e671cd59
PA
103222018-01-30 Pedro Alves <palves@redhat.com>
10323
10324 PR gdb/13211
10325 * gdb.base/interrupt-daemon.c: New.
10326 * gdb.base/interrupt-daemon.exp: New.
10327 * gdb.multi/multi-term-settings.c: New.
10328 * gdb.multi/multi-term-settings.exp: New.
10329
fc413dc4
JB
103302018-01-30 Joel Brobecker <brobecker@adacore.com>
10331
10332 * gdb.base/break.exp: Save the location where the breakpoint
10333 on break.c:47 was actually inserted when debugging the version
10334 compiled at -O2 and use it in the expected output of the "info
10335 break" test performed soon after.
10336
5c319bb2
PA
103372018-01-22 Pedro Alves <palves@redhat.com>
10338 Sergio Durigan Junior <sergiodj@redhat.com>
10339
10340 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10341 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10342
a9e40818
JB
103432018-01-22 Joel Brobecker <brobecker@adacore.com>
10344
10345 * gdb.base/break-include.c, gdb.base/break-include.inc,
10346 gdb.base/break-include.exp: New files.
10347 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10348 line number now being the actual line number where the breakpoint
10349 was inserted.
10350 * gdb.mi/mi-break.exp: Likewise.
10351 * gdb.mi/mi-reverse.exp: Likewise.
10352 * gdb.mi/mi-simplerun.exp: Ditto.
10353
e707fc44
AB
103542018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10355
10356 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10357 varobj.
10358 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10359
ae451627
AB
103602018-01-21 Don Breazeal <donb@codesourcery.com>
10361 Andrew Burgess <andrew.burgess@embecosm.com>
10362
10363 * gdb.mi/basics.c: Add new global.
10364 * gdb.mi/mi-frame-regs.exp: New file.
10365 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10366 case.
10367
b1b189e0
AB
103682018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10369
10370 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10371 non-parameter, and on an unknown symbol.
10372
fcfcc376
TT
103732018-01-19 Tom Tromey <tom@tromey.com>
10374
10375 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10376 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10377
634c1c31
AA
103782018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10379
10380 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10381 setrlimit and chdir to int.
10382
d6ad07fd
AA
103832018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10384
10385 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10386 function.
10387 (my_tend): Likewise.
10388 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10389 rationale of avoiding FP- and vector instructions.
10390
adf8243b
RK
103912018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10392
10393 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10394 "info reg" with "\[ \t\]*".
10395 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10396 "\[ \t\]+".
10397 * gdb.arch/s390-multiarch.exp: Ditto.
10398 * gdb.base/pc-fp.exp: Ditto.
10399 * gdb.reverse/i386-precsave.exp: Ditto.
10400 * gdb.reverse/i386-reverse.exp: Ditto.
10401 * gdb.reverse/i387-env-reverse.exp: Ditto.
10402 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10403
dcc06925
AA
104042018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10405
10406 * lib/gdb.exp (gdb_compile): Re-enable use of
10407 universal_compile_options for languages other than Rust.
10408
25d4fd80
AA
104092018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10410
10411 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10412
ee7f689e 104132018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
10414
10415 PR gdb/16577
10416 * gdb.base/solib-vanish.exp: New.
10417 * gdb.base/solib-vanish-main.c: New.
10418 * gdb.base/solib-vanish-lib1.c: New.
10419 * gdb.base/solib-vanish-lib2.c: New.
10420
d8447b6b
YQ
104212018-01-17 Yao Qi <yao.qi@linaro.org>
10422
10423 * gdb.compile/compile.exp: Match the address printed for
10424 frame in the output of command "bt".
10425
86d6a90c
TT
104262018-01-15 Tom Tromey <tom@tromey.com>
10427
10428 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10429 compute sp_reg.
10430
cbcdb1aa
AB
104312018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10432
10433 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10434 to prepare.
10435 (prepare): Return 0 on error, 1 on success.
10436
eea61984
PA
104372018-01-12 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.base/continue-after-aborted-step-over.c: New.
10440 * gdb.base/continue-after-aborted-step-over.exp: New.
10441
6181e9c2
SM
104422018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10443
10444 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10445 options when not creating an executable.
10446
3cada740
PA
104472018-01-11 Pedro Alves <palves@redhat.com>
10448
10449 PR remote/22597
10450 * gdb.server/stop-reply-no-thread.c: New file.
10451 * gdb.server/stop-reply-no-thread.exp: New file.
10452
c63d3e8d
PA
104532018-01-10 Pedro Alves <palves@redhat.com>
10454
10455 PR gdb/22670
10456 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10457 functions too. Test setting breakpoints and printing C functions
10458 with no debug info too.
10459 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10460
d4c2a405
PA
104612018-01-10 Pedro Alves <palves@redhat.com>
10462
10463 PR gdb/22670
10464 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10465 a fail.
10466
8825213e
PA
104672018-01-10 Pedro Alves <palves@redhat.com>
10468
10469 PR gdb/22670
10470 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10471
605fd3c6
YQ
104722018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10473
10474 * gdb.server/unittest.exp: Match the output in non-development
10475 mode.
10476
1e5ded6c
YQ
104772018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10478
10479 * gdb.gdb/unittest.exp: Match output in non-development mode.
10480
30066b0b
JB
104812018-01-08 Joel Brobecker <brobecker@adacore.com>
10482
10483 * gdb.ada/access_tagged_param.exp: Relax expected output
10484 for value of "ObjL" in "continue" to pck.inspect breakpoint
10485 test.
10486
04bafb1e
XR
104872018-01-08 Joel Brobecker <brobecker@adacore.com>
10488
9f86398b
JB
10489 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10490 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 10491
e379cee6
PA
104922018-01-05 Pedro Alves <palves@redhat.com>
10493
10494 PR gdb/18653
10495 * gdb.base/libsegfault.exp: New.
10496
de63c46b
PA
104972018-01-05 Joel Brobecker <brobecker@adacore.com>
10498
10499 PR gdb/22670
10500 * gdb.ada/access_tagged_param.exp: New file.
10501 * gdb.ada/access_tagged_param/foo.adb: New file.
10502
f98fc17b
PA
105032018-01-05 Pedro Alves <palves@redhat.com>
10504
10505 PR gdb/22670
10506 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10507 exercise lower case too, and to exercise both full matching and
10508 wild matching.
10509
342f8240
JB
105102018-01-05 Joel Brobecker <brobecker@adacore.com>
10511
10512 * gdb.ada/rename_subscript_param: New testcase.
10513
7150d33c
JG
105142018-01-05 Jerome Guitton <guitton@adacore.com>
10515
10516 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10517
cc0e770c
JB
105182018-01-05 Joel Brobecker <brobecker@adacore.com>
10519
10520 * gdb.ada/convvar_comp: New testcase.
10521
672a41aa 105222018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
10523
10524 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10525 (My_Table): New global variable.
10526 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10527
7365ec2f
JB
105282018-01-04 Joel Brobecker <brobecker@adacore.com>
10529
10530 PR gdb/22670
10531 * gdb.ada/maint_with_ada: New testcase.
10532
289483b6
JB
105332018-01-04 Joel Brobecker <brobecker@adacore.com>
10534
10535 PR gdb/22670
10536 * gdb.ada/bp_c_mixed_case: New testcase.
10537
344420da
JB
105382018-01-04 Joel Brobecker <brobecker@adacore.com>
10539
10540 PR gdb/22670
10541 * gdb.ada/complete.exp: Add "complete break ada" test.
10542
66fc87a0
JB
105432018-01-04 Joel Brobecker <brobecker@adacore.com>
10544
10545 PR gdb/22670
10546 * gdb.ada/info_addr_mixed_case: New testcase.
10547
9f757bf7
XR
105482018-01-03 Xavier Roirand <roirand@adacore.com>
10549
10550 * gdb.ada/excep_handle.exp: New testcase.
10551 * gdb.ada/excep_handle/foo.adb: New file.
10552 * gdb.ada/excep_handle/pck.ads: New file.
10553
bd570f80
JB
105542018-01-03 Joel Brobecker <brobecker@adacore.com>
10555
10556 * gdb.base/step-line.c: Add extra empty line in copyright header.
10557 * gdb.base/step-line.inp: Likewise.
10558
9fe561ab
JB
105592018-01-02 Joel Brobecker <brobecker@adacore.com>
10560
10561 * gdb.ada/dyn_stride.exp: Add slice test.
10562
a405673c
JB
105632018-01-02 Joel Brobecker <brobecker@adacore.com>
10564
10565 * gdb.ada/dyn_stride: New testcase.
10566
cef0f868
SH
105672017-12-27 Stafford Horne <shorne@gmail.com>
10568
10569 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10570 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10571
b67d92b0
SH
105722017-12-27 Stafford Horne <shorne@gmail.com>
10573
10574 * gdb.base/reggroups.c: New file.
10575 * gdb.base/reggroups.exp: New file.
10576
eccab96d
JB
105772017-12-18 Joel Brobecker <brobecker@adacore.com>
10578
10579 * gdb.dwarf2/ada-valprint-error.c: New file.
10580 * gdb.dwarf2/ada-valprint-error.exp: New file.
10581
0e2da9f0
JB
105822017-12-18 Joel Brobecker <brobecker@adacore.com>
10583
10584 * gdb.ada/assign_arr: New testcase.
10585
cb923fcc
XR
105862017-12-18 Xavier Roirand <roirand@adacore.com>
10587
10588 * gdb.ada/funcall_ptr: New testcase.
10589
7c161838
SDJ
105902017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10591
10592 PR cli/16224
10593 * gdb.base/ptype-offsets.cc: New file.
10594 * gdb.base/ptype-offsets.exp: New file.
10595
1af17fd9
YQ
105962017-12-15 Yao Qi <yao.qi@linaro.org>
10597
10598 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10599 if XML is disabled.
10600
828d5846
XR
106012017-12-15 Xavier Roirand <roirand@adacore.com>
10602
10603 * gdb.ada/same_component_name: New testcase.
10604
79e8fcaa
JB
106052017-12-14 Joel Brobecker <brobecker@adacore.com>
10606
10607 * gdb.ada/str_binop_equal: New testcase.
10608
e05fa6f9
JB
106092017-12-14 Joel Brobecker <brobecker@adacore.com>
10610
10611 * gdb.ada/task_switch_in_core: New testcase.
10612
b89641ba
SM
106132017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10614
10615 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10616 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10617 call test_bkpt_qualified.
10618 (test_bkpt_qualified): New proc.
10619
6892d2e4
PA
106202017-12-13 Pedro Alves <palves@redhat.com>
10621
10622 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10623 Tighten regexp by matching with an anchor.
10624
a22ecf70
PA
106252017-12-13 Pedro Alves <palves@redhat.com>
10626
10627 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10628 ("expression with namespace"): New set of tests.
10629 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10630 (Nested::Test_NS::qux): New.
10631 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10632 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10633
9937536c
JB
106342017-12-13 Joel Brobecker <brobecker@adacore.com>
10635
10636 * gdb.base/server-del-break.c: New file.
10637 * gdb.base/server-del-break.exp: New file.
10638
fe49c6f5
SH
106392017-12-12 Stafford Horne <shorne@gmail.com>
10640
10641 * gdb.xml/tdesc-regs.exp: Add or1k support.
10642
c3d18620
SH
106432017-12-12 Stafford Horne <shorne@gmail.com>
10644
10645 * gdb.base/bp-permanent.c: Define nop of or1k.
10646
c5f9cfc8
JB
106472017-12-11 Joel Brobecker <brobecker@adacore.com>
10648
10649 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10650 output with components being reordered.
10651
a9c135fc
JB
106522017-12-11 Joel Brobecker <brobecker@adacore.com>
10653
10654 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10655 output with components being reordered.
10656
927aa2e7
JK
106572017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10658 Pedro Alves <palves@redhat.com>
10659
10660 * gdb.base/maint.exp (check for .gdb_index): Check also for
10661 .debug_names.
10662 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10663 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10664 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10665 (.gdb_index used after symbol reloading): Support also .debug_names.
10666 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10667
f17d9474
YQ
106682017-12-08 Yao Qi <yao.qi@linaro.org>
10669
10670 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10671 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10672
a0de8c21
YQ
106732017-12-08 Yao Qi <yao.qi@linaro.org>
10674
10675 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10676 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10677
a738ea1d
YQ
106782017-12-08 Yao Qi <yao.qi@linaro.org>
10679
10680 * gdb.arch/aarch64-tagged-pointer.c: New file.
10681 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10682
1cd9a73b
SDJ
106832017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10684
10685 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10686 "int".
10687
fa6eb693
KS
106882017-12-07 Keith Seitz <keiths@redhat.com>
10689
10690 PR breakpoints/22569
10691 * gdb.linespec/ls-errs.exp: Change expected result of "break
10692 -source this file has spaces.c -line 3".
10693 Check that an explicit source file followed by whitespace is
10694 identified as an invalid explicit location.
10695
883fd55a
KS
106962017-12-07 Keith Seitz <keiths@redhat.com>
10697
10698 * gdb.cp/nested-types.cc: New file.
10699 * gdb.cp/nested-types.exp: New file.
10700 * lib/cp-support.exp: Load data-structures.exp library.
10701 (debug_cp_test_ptype_class): New global.
10702 (cp_ptype_class_verbose, next_line): New procedures.
10703 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10704 Add and document new return value.
10705 Switch the list of lines to a queue.
10706 Add support for new `type' key for nested type definitions.
10707 Add debugging/troubleshooting messages.
10708 * lib/data-structures.exp: New file.
10709
ec72db3e
SM
107102017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10711
10712 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10713 with proc_with_prefix, don't use with_test_prefix.
10714
99598d71
TT
107152017-12-07 Tom Tromey <tom@tromey.com>
10716
10717 * gdb.base/break.exp: Add test for empty "commands".
10718
a8806230
YQ
107192017-12-07 Yao Qi <yao.qi@linaro.org>
10720
10721 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10722 malloc and catch syscall.
10723
824cc835
PM
107242017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10725
e79be6e5 10726 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
10727 tests for explicit locations.
10728
7cc244de
PA
107292017-12-06 Pedro Alves <palves@redhat.com>
10730
10731 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10732 force-disabling XML descriptions.
10733
50a1fdd5
PA
107342017-12-04 Pedro Alves <palves@redhat.com>
10735
10736 PR gdb/22499
10737 * gdb.arch/amd64-disp-step-avx.S: New file.
10738 * gdb.arch/amd64-disp-step-avx.exp: New file.
10739
f0fb2488
PA
107402017-12-03 Pedro Alves <palves@redhat.com>
10741
10742 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10743 and <string.h>.
10744 (parent_function): Print distinct messages when waitpid fails, or
10745 the child exits with a signal, or the child exits for an unhandled
10746 reason.
10747 * gdb.threads/process-dies-while-detaching.exp
10748 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10749 it. Wait for both inferior output and GDB's prompt. Use an
10750 indirect spawn id list.
10751 (do_detach): New parameter 'child_exit'. Use it to compute
10752 expected inferior output.
10753 (test_detach, test_detach_watch, test_detach_killed_outside):
10754 Adjust to pass down the expected child exit kind.
10755
97cbe998
SDJ
107562017-12-01 Joel Brobecker <brobecker@adacore.com>
10757 Sergio Durigan Junior <sergiodj@redhat.com>
10758 Pedro Alves <palves@redhat.com>
10759
10760 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10761
40fc416f
SDJ
107622017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10763
10764 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10765 to 'symbol-file' and 'add-symbol-file' can be
10766 position-independent.
10767
1cc75e92
YQ
107682017-12-01 Yao Qi <yao.qi@linaro.org>
10769
10770 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10771 the URL in copyright header.
10772 * gdb.arch/aarch64-fp.exp: Likewise.
10773 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10774 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10775 * gdb.base/expand-psymtabs.exp: Likewise.
10776 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10777 * gdb.fortran/common-block.exp: Likewise.
10778 * gdb.fortran/common-block.f90: Likewise.
10779 * gdb.fortran/logical.exp: Likewise.
10780 * gdb.fortran/vla-datatypes.f90: Likewise.
10781 * gdb.fortran/vla-sub.f90: Likewise.
10782
875fb7a7
JB
107832017-11-30 Joel Brobecker <brobecker@adacore.com>
10784
10785 * gdb.ada/repeat_dyn: New testcase.
10786
6f14765f
UW
107872017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10788
10789 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10790 Update for changed thread numbering.
10791 * gdb.cell/bt.exp: Update for changed GDB output.
10792
f1af7b94
SM
107932017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10794
10795 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10796 setting isremote by hand.
10797 * boards/dwarf4-gdb-index.exp: Likewise.
10798 * boards/fission.exp: Likewise.
10799 * boards/stabs.exp: Likewise.
10800
e3919f3e
PA
108012017-11-30 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.linespec/cpls-ops.exp
10804 (check_explicit_skips_function_argument): Extract the underlying
10805 type of size_t instead of hardcoding it.
10806
bd69330d
PA
108072017-11-29 Pedro Alves <palves@redhat.com>
10808
10809 PR c++/19436
10810 * gdb.linespec/cpls-abi-tag.cc: New file.
10811 * gdb.linespec/cpls-abi-tag.exp: New file.
10812
a20714ff
PA
108132017-11-29 Pedro Alves <palves@redhat.com>
10814
10815 * gdb.base/langs.exp: Use -qualified.
10816 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10817 it.
10818 * gdb.cp/namespace.exp: Use -qualified.
10819 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10820 (overload-3, template-overload, template-ret-type, const-overload)
10821 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10822 procedures.
10823 (test_driver): Call them.
10824 * gdb.cp/save-bp-qualified.cc: New.
10825 * gdb.cp/save-bp-qualified.exp: New.
10826 * gdb.linespec/explicit.exp: Test -qualified.
10827 * lib/completion-support.exp (completion::explicit_opts_list): Add
10828 "-qualified".
10829 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10830
f6f1d339
PM
108312017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10832
10833 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10834
02ca603a
TT
108352017-11-29 Tom Tromey <tom@tromey.com>
10836
10837 * gdb.base/relocate.exp: Update invalid argument test.
10838 Add new tests for invalid arguments.
10839
ed6c0bfb
TP
108402017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10841
10842 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10843 Return 0 as a long.
10844 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10845
f106e10e
TP
108462017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10847
10848 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10849 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10850 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10851 func ().
10852 * gdb.cp/shadow.cc (B.func): Return 0.
10853
10329bb2
JB
108542017-11-27 Joel Brobecker <brobecker@adacore.com>
10855
10856 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10857 expected output in gdb_expect call to allow the exception
10858 message to be present as well. Fix syntax confusion to avoid
10859 TCL thinking that exception_name is an array.
10860
617cd4bc
UW
108612017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10862
10863 * gdb.arch/spu-info.c: Include <unistd.h>.
10864 (do_signal_test): Fix broken calls to write.
10865 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10866 Fix checks for empty mailboxes. Update signal tests for corrected
10867 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
10868 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10869 * gdb.cell/arch.exp: Use standard_output_file.
10870 * gdb.cell/break.exp: Likewise.
10871 * gdb.cell/bt.exp: Likewise.
10872 * gdb.cell/core.exp: Likewise.
10873 * gdb.cell/dwarfaddr.exp: Likewise.
10874 * gdb.cell/ea-cache.exp: Likewise.
10875 * gdb.cell/ea-standalone.exp: Likewise.
10876 * gdb.cell/f-regs.exp: Likewise.
10877 * gdb.cell/fork.exp: Likewise.
10878 * gdb.cell/gcore.exp: Likewise.
10879 * gdb.cell/mem-access.exp: Likewise.
10880 * gdb.cell/ptype.exp: Likewise.
10881 * gdb.cell/registers.exp: Likewise.
10882 * gdb.cell/sizeof.exp: Likewise.
10883 * gdb.cell/solib-symbol.exp: Likewise.
10884 * gdb.cell/solib.exp: Likewise.
617cd4bc 10885
a81aaca0
PA
108862017-11-25 Pedro Alves <palves@redhat.com>
10887
10888 * gdb.base/complete-empty.exp: New file.
10889 * gdb.base/completion.exp: Adjust.
10890
6a3c6ee4
PA
108912017-11-25 Pedro Alves <palves@redhat.com>
10892
10893 * gdb.linespec/cpls-ops.cc: New file.
10894 * gdb.linespec/cpls-ops.exp: New file.
10895 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10896 factored out from ...
10897 (test_complete_prefix_range): ... this.
10898
8955eb2d
PA
108992017-11-24 Pedro Alves <palves@redhat.com>
10900
10901 * gdb.linespec/cpcompletion.exp: New file.
10902 * gdb.linespec/cpls-hyphen.cc: New file.
10903 * gdb.linespec/cpls.cc: New file.
10904 * gdb.linespec/cpls2.cc: New file.
10905 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10906 test to use test_gdb_complete_unique. Add label completion,
10907 keyword completion and explicit location completion tests.
10908 * lib/completion-support.exp: New file.
10909
e547c119
JB
109102017-11-24 Joel Brobecker <brobecker@adacore.com>
10911
10912 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10913 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10914 when hitting an exception catchpoint.
10915
7c3c1aa8
YQ
109162017-11-22 Yao Qi <yao.qi@linaro.org>
10917
10918 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10919
41bd68f5
SM
109202017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10921
10922 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10923 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10924 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10925
1daad298
YQ
109262017-11-22 Yao Qi <yao.qi@linaro.org>
10927
10928 * gdb.base/info-os.exp: Pass pthreads.
10929 * gdb.multi/multi-attach.exp: Likewise.
10930
88465e87
YQ
109312017-11-22 Yao Qi <yao.qi@linaro.org>
10932
10933 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10934 compiler.
10935
dc196b23
YQ
109362017-11-22 Yao Qi <yao.qi@linaro.org>
10937
10938 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10939 * gdb.base/break-interp.exp: Likewise.
10940 * gdb.base/jit-attach-pie.exp: Likewise.
10941
2400729e
UW
109422017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10943
10944 * gdb.base/float128.c (large128): New variable.
10945 * gdb.base/float128.exp: Add test to print largest __float128 value.
10946
7a26362d
UW
109472017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10948
10949 * gdb.arch/vsx-regs.exp: Update register content checks.
10950
ed0f4273
UW
109512017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10952
10953 * gdb.arch/ppc-longdouble.exp: New file.
10954 * gdb.arch/ppc-longdouble.c: Likewise.
10955
a25d69c6
PA
109562017-11-21 Pedro Alves <palves@redhat.com>
10957
10958 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10959
73fcf641
PA
109602017-11-20 Pedro Alves <palves@redhat.com>
10961
10962 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10963 (long_double_typedef): New typedefs.
10964 Use DEF on double and long double.
10965 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10966 cases.
10967 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10968 and 'long_double_ptr_same_size' locals. Use them to decide
10969 whether cast from array/function to float is valid/invalid.
10970
71a3c369
TT
109712017-11-17 Tom Tromey <tom@tromey.com>
10972
10973 * gdb.rust/traits.rs: New file.
10974 * gdb.rust/traits.exp: New file.
10975
ced9779b
JB
109762017-11-17 Joel Brobecker <brobecker@adacore.com>
10977
10978 * gdb.ada/minsyms: New testcase.
10979
a0922d80
PA
109802017-11-16 Pedro Alves <palves@redhat.com>
10981
10982 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10983 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10984
ea04e54c
PA
109852017-11-16 Pedro Alves <palves@redhat.com>
10986
10987 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10988 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10989
e849ea89
PA
109902017-11-16 Pedro Alves <palves@redhat.com>
10991
10992 * gdb.server/reconnect-ctrl-c.c: New file.
10993 * gdb.server/reconnect-ctrl-c.exp: New file.
10994
d8ae99a7
PM
109952017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10996
10997 * gdb.python/py-rbreak.exp: New file.
10998 * gdb.python/py-rbreak.c: New file.
10999 * gdb.python/py-rbreak-func2.c: New file.
11000
968a13f8
PA
110012017-11-16 Pedro Alves <palves@redhat.com>
11002
11003 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11004 pattern.
11005 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11006 GDB.
11007
71774bc9
SM
110082017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11009
11010 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11011 regex.
11012
ddbb44cf
SM
110132017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11014
11015 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11016 test names.
11017
584a564f
PA
110182017-11-09 Pedro Alves <palves@redhat.com>
11019
11020 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11021 factored out from ...
11022 (top level): ... here, and adjusted to avoid expecting beyond the
11023 prompt in a single gdb_test_multiple.
11024
5ed7a928
PA
110252017-11-09 Pedro Alves <palves@redhat.com>
11026
11027 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11028 output.
11029 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11030 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11031 * gdb.server/ext-run.exp ("kill" test): Likewise.
11032 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11033
a60e0738
PA
110342017-11-09 Pedro Alves <palves@redhat.com>
11035
11036 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11037 match till end of line.
11038
2c88253f
PA
110392017-11-09 Pedro Alves <palves@redhat.com>
11040
11041 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11042
c7a38517
PA
110432017-11-09 Pedro Alves <palves@redhat.com>
11044
11045 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11046 New procedures, factored out from ...
11047 (top level): ... here, and adjusted to avoid expecting beyond the
11048 prompt in one go.
11049
f29f4b6b
PA
110502017-11-09 Pedro Alves <palves@redhat.com>
11051
11052 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11053 output. Fix '?' match.
11054
286acbb5
JB
110552017-11-08 Joel Brobecker <brobecker@adacore.com>
11056
11057 * gdb.ada/scoped_watch: New testcase.
11058 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11059 which is actually correct.
11060 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11061 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11062
62d7ae92
PA
110632017-11-08 Pedro Alves <palves@redhat.com>
11064
11065 * gdb.gdb/complaints.exp (test_initial_complaints)
11066 (test_serial_complaints, test_short_complaints): Call
11067 complaint_internal instead of complaint.
11068
280ca31f
DT
110692017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11070
11071 * gdb.threads/tls-core.c: New file.
11072 * gdb.threads/tls-core.exp: Likewise.
11073
b5ec771e
PA
110742017-11-08 Pedro Alves <palves@redhat.com>
11075
11076 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11077 (p Exported_Capitalized): New test.
11078 (p exported_capitalized): New test.
11079
a02b41a7
PA
110802017-11-07 Pedro Alves <palves@redhat.com>
11081
11082 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11083
95e95a6d
PA
110842017-11-07 Pedro Alves <palves@redhat.com>
11085
11086 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11087 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11088 (disable_invalid, disable_inverted, disable_negative): New
11089 procedures.
11090 ("bad numbers"): New set of tests.
11091
cee62dbd
PA
110922017-11-07 Pedro Alves <palves@redhat.com>
11093
11094 * gdb.cp/ena-dis-br-range.exp: Add tests.
11095
cc638e86
PA
110962017-11-07 Pedro Alves <palves@redhat.com>
11097
11098 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11099
d0fe4701
XR
111002017-11-07 Xavier Roirand <roirand@adacore.com>
11101 Pedro Alves <palves@redhat.com>
11102
11103 * gdb.base/ena-dis-br.exp: Add reference to
11104 gdb.cp/ena-dis-br-range.exp.
11105 * gdb.cp/ena-dis-br-range.exp: New file.
11106 * gdb.cp/ena-dis-br-range.cc: New file.
11107
46f67f80
PA
111082017-11-06 Pedro Alves <palves@redhat.com>
11109
11110 * gdb.base/attach-non-pgrp-leader.c: New.
11111 * gdb.base/attach-non-pgrp-leader.exp: New.
11112
726e1356
PA
111132017-11-06 Pedro Alves <palves@redhat.com>
11114
11115 * configure.ac: No longer check for termio.h and sgtty.h.
11116 * configure: Regenerate.
11117 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11118 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11119 Remove termio and sgtty code.
11120
50ab6ace
YQ
111212017-11-03 Yao Qi <yao.qi@linaro.org>
11122
11123 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11124 in GDB is disabled.
11125
8e68731c
YQ
111262017-11-03 Yao Qi <yao.qi@linaro.org>
11127
11128 * gdb.python/py-thrhandle.exp: Skip it if python is not
11129 enabled.
11130
3a87ae65
SM
111312017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11132
11133 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11134 as a breakpoint command.
11135
484d8d36
MD
111362017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11137
11138 PR python/21213
11139 * gdb.python/py-infthread.exp: Test calling
11140 InferiorThread.inferior () multiple times in a row.
11141
4a27f119
KS
111422017-10-27 Keith Seitz <keiths@redhat.com>
11143
11144 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11145 Test "info break" for every inlined function breakpoint.
11146
bb11dd58
YQ
111472017-10-27 Yao Qi <yao.qi@linaro.org>
11148
11149 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11150
a43f3893
PF
111512017-10-26 Patrick Frants <osscontribute@gmail.com>
11152
11153 * gdb.cp/classes.exp (test_static_members): Test printing
11154 Outer::instance.
11155 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11156 (Inner::instance, Outer::instance): New.
11157
792ccf00
PA
111582017-10-24 Pedro Alves <palves@redhat.com>
11159
11160 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11161 extra console" test in two stages.
11162
eb2bfbad
PA
111632017-10-24 Pedro Alves <palves@redhat.com>
11164
11165 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11166
1f75a651
PA
111672017-10-24 Pedro Alves <palves@redhat.com>
11168
11169 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11170 loop.
11171
779990d9
PA
111722017-10-24 Pedro Alves <palves@redhat.com>
11173
11174 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11175 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11176
ad9b8f5d
PA
111772017-10-24 Pedro Alves <palves@redhat.com>
11178
11179 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11180 parameter and handle it. Don't output read value in test name.
11181
fee6da6e
PA
111822017-10-24 Pedro Alves <palves@redhat.com>
11183
11184 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11185 custom test name.
11186
10389c2c
PA
111872017-10-24 Pedro Alves <palves@redhat.com>
11188
11189 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11190 include the unstable output directory name in the test's name.
11191 (initial_setup_simple) <'set args'>: Use custom test name.
11192
a80e65a9
PA
111932017-10-24 Pedro Alves <palves@redhat.com>
11194
11195 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11196 with explicit test name.
11197
15763a09
PA
111982017-10-20 Pedro Alves <palves@redhat.com>
11199
11200 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11201 'wait -i'. Use gdb_assert and remote_close.
11202
49a4ce2e
AB
112032017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11204
11205 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11206 number from variable rather than hard-coded.
11207
a75868f5
PA
112082017-10-19 Pedro Alves <palves@redhat.com>
11209
11210 * gdb.base/long-inferior-output.c: New file.
11211 * gdb.base/long-inferior-output.exp: New file.
11212
c8ba13ad
KS
112132017-11-18 Keith Seitz <keiths@redhat.com>
11214
11215 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11216 method.
11217 (main): Call it.
11218 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11219 Add additional user-defined conversion operator tests.
11220
b27de576
PA
112212017-10-17 Pedro Alves <palves@redhat.com>
11222
11223 * boards/native-stdio-gdbserver.exp: Load "local-board".
11224
8484c955
PA
112252017-10-17 Pedro Alves <palves@redhat.com>
11226
11227 * gdb.base/quit-live.c: New file.
11228 * gdb.base/quit-live.exp: New file.
11229
83d5a34d
KS
112302017-10-16 Keith Seitz <keiths@redhat.com>
11231
11232 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11233 (class_with_protected_typedef, class_with_private_typedef)
11234 (struct_with_public_typedef, struct_with_protected_typedef)
11235 (struct_with_private_typedef): New classes/structs.
11236 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11237 typedefs and access specifiers.
11238
739b3f1d
PA
112392017-10-16 Pedro Alves <palves@redhat.com>
11240 Simon Marchi <simon.marchi@polymtl.ca>
11241
11242 * README (Local vs Remote vs Native): New section.
11243 * boards/local-board.exp: New file, with bits factored out from
11244 ...
11245 * boards/native-extended-gdbserver.exp: ... here. Load
11246 "local-board".
11247 * boards/native-gdbserver.exp: Load "local-board".
11248 (${board}_spawn, ${board}_exec): Delete.
11249 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11250 ...
11251 * boards/stdio-gdbserver-base.exp: ... this new file.
11252 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11253 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11254 procedure.
11255 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11256 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11257 stdio_gdbserver_command.
11258 (${board}_get_remote_address, ${board}_get_comm_port)
11259 (${board}_download, ${board}_upload): Delete.
11260 (get_target_remote_pipe_cmd): New.
11261
fe68b953
SM
112622017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11263
11264 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11265 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11266 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11267 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11268 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11269 remove with_test_prefix.
11270
300b6685
PA
112712017-10-13 Pedro Alves <palves@redhat.com>
11272
11273 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11274 * gdb.base/annota1.exp: Use it instead of is_remote.
11275 * gdb.base/annota3.exp: Use it instead of is_remote.
11276 * gdb.cp/annota2.exp: Use it instead of is_remote.
11277 * gdb.cp/annota3.exp: Use it instead of is_remote.
11278 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11279
50500caf
PA
112802017-10-13 Pedro Alves <palves@redhat.com>
11281
11282 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11283 (test_num_test_vars, run_and_count_vars, find_env)
11284 (test_set_unset_env, test_inherit_env_var): New procedures.
11285 (top level): Use them.
11286
dad0c6d2
PA
112872017-10-13 Pedro Alves <palves@redhat.com>
11288
11289 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11290 also skip on stub-like targets.
11291
8b0553c1
PA
112922017-10-13 Pedro Alves <palves@redhat.com>
11293
11294 PR gdb/22293
11295 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11296 (top level): Move some tests to ...
11297 (test_not_found): ... this new procedure.
11298 (top level): Call it.
11299
7594f623
PA
113002017-10-13 Pedro Alves <palves@redhat.com>
11301
11302 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11303 expect different "info terminal" output if testing with a
11304 non-native target.
11305
ebe3b402
PA
113062017-10-13 Pedro Alves <palves@redhat.com>
11307 Simon Marchi <simon.marchi@polymtl.ca>
11308
11309 PR python/12966
11310 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11311
42f1b161
PA
113122017-10-13 Pedro Alves <palves@redhat.com>
11313
11314 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11315 already.
11316
8d6ef72b
PA
113172017-10-13 Pedro Alves <palves@redhat.com>
11318
11319 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11320 is_remote.
11321
d7bcd5b8
PA
113222017-10-13 Pedro Alves <palves@redhat.com>
11323
11324 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11325 is_remote.
11326
df479dc6
PA
113272017-10-13 Pedro Alves <palves@redhat.com>
11328
11329 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11330 is set.
11331 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11332 instead of is_remote.
11333
23fb630a
PA
113342017-10-13 Pedro Alves <palves@redhat.com>
11335
11336 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11337 (top level): Add comment.
11338
cc77b1dc
PA
113392017-10-13 Pedro Alves <palves@redhat.com>
11340
11341 * gdb.base/remote.exp (top level): Fix comment typo and add
11342 missing return.
11343
27c9e813
PA
113442017-10-13 Pedro Alves <palves@redhat.com>
11345 Simon Marchi <simon.marchi@polymtl.ca>
11346
11347 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11348 calls and add comments. Skip test if use_gdb_stub is set.
11349 (top level): Use "set cwd" command instead of "cd" command.
11350
5e830d98
PA
113512017-10-13 Pedro Alves <palves@redhat.com>
11352
11353 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11354 is_remote target check.
11355
f5ca0032
PA
113562017-10-13 Pedro Alves <palves@redhat.com>
11357
11358 * gdb.base/scope.exp: Use build_executable + clean_restart +
11359 gdb_file_cmd instead of prepare_for_testing and no longer skip
11360 "before run" tests on is_remote target boards. Update comments.
11361 * boards/native-extended-gdbserver.exp
11362 (extended_gdbserver_load_last_file): New, factored out from ...
11363 (gdb_load): ... this. Move further below and add comment.
11364 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11365
8aed1c0d
PA
113662017-10-12 Pedro Alves <palves@redhat.com>
11367
11368 * gdb.base/attach.exp: Remove references to gdb64.
11369 * gdb.base/dbx.exp: Remove references to gdb64.
11370
cfa34c87
SM
113712017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11372 Pedro Alves <palves@redhat.com>
11373
11374 * gdb.base/label.exp: Remove is_remote target check.
11375
9192b7de
PA
113762017-10-12 Pedro Alves <palves@redhat.com>
11377
11378 * gdb.base/auvx.exp (coredir): Update comment.
11379 (top level) <core_works>: Use "set cwd" command instead of "cd"
11380 command.
11381
6bf0052d
PA
113822017-10-12 Pedro Alves <palves@redhat.com>
11383 Simon Marchi <simon.marchi@polymtl.ca>
11384
11385 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11386 target boards.
11387
e48ef82d
PA
113882017-10-12 Pedro Alves <palves@redhat.com>
11389 Simon Marchi <simon.marchi@polymtl.ca>
11390
11391 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11392 Instead skip if there's any gdb_protocol set.
11393
8d7aea57
SM
113942017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11395 Pedro Alves <palves@redhat.com>
11396
11397 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11398
30440677
PA
113992017-10-12 Pedro Alves <palves@redhat.com>
11400 Simon Marchi <simon.marchi@polymtl.ca>
11401
11402 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11403 instead of on dejagnu remote boards.
11404
4e04f045 114052017-10-12 Pedro Alves <palves@redhat.com>
175654b9 11406 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
11407
11408 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11409 checks. Use build_executable + clean_restart instead of
11410 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11411 of enabling non-stop after starting gdb.
11412
871a186e
PA
114132017-10-12 Pedro Alves <palves@redhat.com>
11414
11415 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11416 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11417 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11418 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11419
56d704da
AK
114202017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11421
11422 * gdb.arch/arc-tdesc-cpu.exp: New file.
11423 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11424
2f20e312
SM
114252017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11426
11427 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11428
65630365
PA
114292017-10-10 Pedro Alves <palves@redhat.com>
11430
11431 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11432 expect CLI output.
11433
bf469271
PA
114342017-10-10 Pedro Alves <palves@redhat.com>
11435
11436 * lib/selftest-support.exp (selftest_setup): Update for
11437 captured_command_loop's prototype change.
11438
777a42f1
PA
114392017-10-09 Pedro Alves <palves@redhat.com>
11440
11441 Test both arch1=>arch2 and arch2=>arch1.
11442
11443 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11444 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11445 factored out to...
11446 (append_arch1_options, append_arch2_options, append_arch_options)
11447 (build_executables): New procedures.
11448 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11449 local.
11450 (top level): Add new 'first_arch' testing axis.
11451
cbd2b4e3
PA
114522017-10-09 Pedro Alves <palves@redhat.com>
11453
11454 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11455 (barrier): New.
11456 (thread_start, all_started): New functions.
11457 (main): Spawn new thread and wait until it is scheduled.
11458 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11459 option.
11460 (do_test): Add 'selected_thread' parameter. Run to all_started
11461 instead of main. Explicitly set the breakpoint at main. Switch
11462 to the SELECTED_THREAD thread.
11463 (top level): Test handling the exec event with either the main
11464 thread or the second thread selected.
11465
5c9e4427
PA
114662017-10-09 Pedro Alves <palves@redhat.com>
11467
11468 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11469 logic. Move STOP marker after the value checks.
11470 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11471 regexp.
11472
b3b7c423
SL
114732017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11474
11475 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11476
3b4b2f16
UW
114772017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11478
11479 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11480 integer-to-dfp conversion.
11481 * gdb.base/dfp-test.exp: Likewise.
11482
5cd63fda
PA
114832017-10-04 Pedro Alves <palves@redhat.com>
11484
11485 * gdb.multi/hangout.c: Include <unistd.h>.
11486 (hangout_loop): New function.
11487 (main): Call alarm. Call hangout_loop in a loop.
11488 * gdb.multi/hello.c: Include <unistd.h>.
11489 (hello_loop): New function.
11490 (main): Call alarm. Call hangout_loop in a loop.
11491 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11492 inferior with the other selected.
11493
4c71c105
SM
114942017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11495
11496 * gdb.mi/list-thread-groups-available.exp: New file.
11497 * gdb.mi/list-thread-groups-available.c: New file.
11498
bc3b087d
SDJ
114992017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11500
11501 * gdb.base/set-cwd.exp: Make it available on
11502 native-extended-gdbserver.
11503
d092c5a2
SDJ
115042017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11505
11506 * gdb.base/set-cwd.c: New file.
11507 * gdb.base/set-cwd.exp: Likewise.
11508
45320ffa
TT
115092017-10-02 Tom Tromey <tom@tromey.com>
11510
11511 PR rust/22236:
11512 * gdb.rust/simple.rs (main): New variable "fslice".
11513 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11514
b3e3859b
TT
115152017-10-02 Tom Tromey <tom@tromey.com>
11516
11517 * gdb.rust/simple.exp: Test ptype of a slice.
11518
01af5e0d
TT
115192017-10-02 Tom Tromey <tom@tromey.com>
11520
11521 * gdb.rust/simple.exp: Test index of slice.
11522
a9bbfbd8
TT
115232017-09-27 Tom Tromey <tom@tromey.com>
11524
11525 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11526
df8899e5
TP
115272017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11528 Pedro Alves <palves@redhat.com>
11529
11530 * gdb.base/compare-sections.exp (get value of read-only section): Read
11531 as unsigned value.
11532 (corrupt read-only section): Likewise and don't set written if patching
11533 failed.
11534
757bf54b
KB
115352017-09-21 Kevin Buettner <kevinb@redhat.com>
11536
11537 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11538 files.
11539
06871ae8
PA
115402017-09-20 Pedro Alves <palves@redhat.com>
11541
11542 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11543 symbol names in gdb's output.
11544 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11545
e5f25bc5
PA
115462017-09-20 Pedro Alves <palves@redhat.com>
11547
11548 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11549 Rename to ...
11550 (test_list_ambiguous_symbol): ... this and add a symbol name
11551 parameter. Adjust.
11552 (test_list_ambiguous_function): Reimplement on top of
11553 test_list_ambiguous_symbol and also test listing ambiguous
11554 variables.
11555 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11556 (ambiguous_fun): ... this.
11557 (ambiguous_var): New.
11558 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11559 (ambiguous_fun): ... this.
11560 (ambiguous_var): New.
11561
4e5a4f58
JB
115622017-09-19 John Baldwin <jhb@FreeBSD.org>
11563
11564 * gdb.base/starti.c: New file.
11565 * gdb.base/starti.exp: New file.
11566 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11567
26e53f3e
PA
115682017-09-14 Pedro Alves <palves@redhat.com>
11569
11570 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11571 (top level): Use it instead of runto.
11572
cb791d59
TT
115732017-09-11 Tom Tromey <tom@tromey.com>
11574
11575 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11576
7c96f8c1
TT
115772017-09-11 Tom Tromey <tom@tromey.com>
11578
11579 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11580 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11581
469412dd
CW
115822017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11583
11584 * gdb.fortran/printing-types.exp: New file.
11585 * gdb.fortran/printing-types.exp: New file.
11586
e0f86435
BH
115872017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11588
11589 * gdb.fortran/vla-ptype.exp: Fix typos.
11590 * gdb.fortran/vla-value.exp: Same.
11591
9e9af4be
BH
115922017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11593
11594 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11595 * gdb.mi/mi-var-child-f.exp: Likewise.
11596 * gdb.mi/mi-vla-fortran.exp: Likewise.
11597
a5ad232b 115982017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
11599 Christoph Weinmann <christoph.t.weinmann@intel.com>
11600 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
11601
11602 * gdb.fortran/ptr-indentation.f90: New file.
11603 * gdb.fortran/ptr-indentation.exp: New file.
11604
5aec60eb
TT
116052017-09-05 Tom Tromey <tom@tromey.com>
11606
11607 PR gdb/22010:
11608 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11609
8f8f8152
TP
116102017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11611
11612 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11613
fbd1b771
JK
116142017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11615
11616 * gdb.threads/tls-nodebug-pie.c: New file.
11617 * gdb.threads/tls-nodebug-pie.exp: New file.
11618
5eb5f850
TT
116192017-09-05 Tom Tromey <tom@tromey.com>
11620
11621 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11622 for rust.
11623
ae780a21
SM
116242017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11625
11626 * gdb.multi/multi-arch-exec.exp: Test with different
11627 "follow-exec-mode" settings.
11628 (do_test): New procedure.
11629
3693fdb3
PA
116302017-09-04 Pedro Alves <palves@redhat.com>
11631
11632 * gdb.base/func-static.c (S::method const, S::method volatile)
11633 (S::method volatile const): New methods.
11634 (c_s, v_s, cv_s): New instances.
11635 (main): Call method() on them.
11636 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11637 (cannot_resolve): New procedure.
11638 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11639 print-quote-unquoted columns.
11640 (do_test): Test printing each scope too.
11641
e68cb8e0
PA
116422017-09-04 Pedro Alves <palves@redhat.com>
11643
11644 * gdb.base/local-static.exp: Also test with
11645 class::method::variable wholly quoted.
11646 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11647
858be34c
PA
116482017-09-04 Pedro Alves <palves@redhat.com>
11649
11650 * gdb.base/local-static.c: New.
11651 * gdb.base/local-static.cc: New.
11652 * gdb.base/local-static.exp: New.
11653
46a4882b
PA
116542017-09-04 Pedro Alves <palves@redhat.com>
11655
11656 * gdb.asm/asm-source.exp: Add casts to int.
11657 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11658 (dataglobal64_1, dataglobal64_2): New globals.
11659 * gdb.base/nodebug.exp: Test different expressions involving the
11660 new globals, with print, whatis and ptype. Add casts to int.
11661 * gdb.base/solib-display.exp: Add casts to int.
11662 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11663 * gdb.cp/m-static.exp: Add cast to int.
11664 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11665 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11666 tls variable with no debug info without a cast. Test with a cast
11667 to int too.
11668 * gdb.trace/entry-values.exp: Add casts.
11669
2c5a2be1
PA
116702017-09-04 Pedro Alves <palves@redhat.com>
11671
11672 * gdb.base/nodebug.exp: Test that ptype's error about functions
11673 with unknown return type includes the function name too.
11674
7022349d
PA
116752017-09-04 Pedro Alves <palves@redhat.com>
11676
11677 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11678 return type of munmap in infcall.
11679 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11680 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11681 type of ftell in infcall.
11682 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11683 type of getpid in infcall.
11684 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11685 infcall.
11686 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11687 Bail on failure to extract the pid.
11688 * gdb.base/nodebug.c: #include <stdint.h>.
11689 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11690 New functions.
11691 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11692 Change expected output of print/whatis/ptype with functions with
11693 no debug info. Test all supported languages. Call
11694 test_call_promotion.
11695 * gdb.compile/compile.exp: Adjust expected output to expect
11696 warning.
11697 * gdb.threads/siginfo-threads.exp: Likewise.
11698
54990598
PA
116992017-09-04 Pedro Alves <palves@redhat.com>
11700
11701 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11702 "prototypes". Test calling float functions via prototyped and
11703 unprototyped function pointers.
11704 (perform_all_tests): New parameter "prototypes". Pass it down.
11705 (top level): Pass down "prototypes" parameter to
11706 perform_all_tests.
11707
34d16ea2
SM
117082017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11709
11710 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11711 Test with nested loops.
11712
9521ecda
SM
117132017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11714
11715 * gdb.base/commands.exp: Call the new procedures.
11716 (loop_break_test, loop_continue_test): New procedures.
11717
80a65e9b
SM
117182017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11719
11720 * gdb.base/commands.exp: Call new procedure.
11721 (define_if_without_arg_test): New procedure.
11722
e439fa14
PA
117232017-09-04 Pedro Alves <palves@redhat.com>
11724
11725 * gdb.base/list-ambiguous.exp: New file.
11726 * gdb.base/list-ambiguous0.c: New file.
11727 * gdb.base/list-ambiguous1.c: New file.
11728 * gdb.base/list.exp (test_list_range): Adjust expected output.
11729
0a2dde4a
SDJ
117302017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11731
11732 * gdb.base/share-env-with-gdbserver.c: New file.
11733 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11734
5e89eb3a
SM
117352017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11736
11737 * gdb.base/commands.exp (gdbvar_simple_if_test,
11738 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11739 progvar_simple_if_test, progvar_simple_while_test,
11740 progvar_complex_if_while_test, user_defined_command_test,
11741 user_defined_command_args_eval,
11742 user_defined_command_args_stack_test,
11743 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11744 temporary_breakpoint_commands,
11745 gdb_test_no_prompt, redefine_hook_test,
11746 redefine_backtrace_test): Remove "global gdb_prompt".
11747
fd437cbc
SM
117482017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11749
11750 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11751 New proc, call it from toplevel.
11752
87215ad1
SDJ
117532017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11754
11755 PR remote/21852
11756 * gdb.server/normal.c: New file, copied from gdb.base.
11757 * gdb.server/run-without-local-binary.exp: New file.
11758
58afddc6
WP
117592017-08-07 Weimin Pan <weimin.pan@oracle.com>
11760
11761 * gdb.arch/sparc64-adi.exp: New file.
11762 * gdb.arch/sparc64-adi.c: New file.
11763
5277199a
PA
117642017-08-22 Pedro Alves <palves@redhat.com>
11765
11766 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11767 (top level): Add "list all overloads" tests.
11768
14278e1f
TT
117692017-08-22 Tom Tromey <tom@tromey.com>
11770
11771 * gdb.gdb/xfullpath.exp: Remove.
11772
bf223d3e
PA
117732017-08-21 Pedro Alves <palves@redhat.com>
11774
11775 PR gdb/19487
11776 * gdb.base/symbol-alias.c: New.
11777 * gdb.base/symbol-alias2.c: New.
11778 * gdb.base/symbol-alias.exp: New.
11779
c973d0aa
PA
117802017-08-21 Pedro Alves <palves@redhat.com>
11781
11782 * gdb.base/dfp-test.c
11783 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11784 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11785 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11786 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11787 * gdb.base/whatis-ptype-typedefs.c: New.
11788 * gdb.base/whatis-ptype-typedefs.exp: New.
11789 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11790 (an_int, an_int_type, an_int_type2): New globals.
11791 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11792 involving typedefs and cast expressions.
11793 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11794 (lookup_typedefs_function): New.
11795 (typedefs_pretty_printers_dict): New.
11796 (top level): Register lookup_typedefs_function in
11797 gdb.pretty_printers.
11798
6d580b63
YQ
117992017-08-18 Yao Qi <yao.qi@linaro.org>
11800
11801 * gdb.server/unittest.exp: New.
11802
206726fb
SDJ
118032017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11804
11805 PR gdb/21954
11806 * gdb.base/environ.exp: Add test to check if 'unset environment'
11807 works.
11808
bf0ec4c2
AA
118092017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11810
11811 * lib/gdb.exp (universal_compile_options): New caching proc.
11812 (gdb_compile): Suppress GCC's coloring of messages.
11813
d6382fff
TT
118142017-08-14 Tom Tromey <tom@tromey.com>
11815
11816 PR gdb/21675:
11817 * gdb.base/printcmds.exp (test_radices): New function.
11818 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11819 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11820 * lib/gdb.exp (get_integer_valueof): Use p/d.
11821
c2c2dd9f
SM
118222017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11823
11824 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11825 characters.
11826
fdffd6f4
TT
118272017-08-05 Tom Tromey <tom@tromey.com>
11828
11829 * gdb.rust/simple.exp: Allow String to appear in a different
11830 namespace.
11831
27d41eac
YQ
118322017-07-26 Yao Qi <yao.qi@linaro.org>
11833
11834 * gdb.gdb/unittest.exp: Invoke command
11835 "maintenance check xml-descriptions".
11836
031ed05d
AA
118372017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11838
11839 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11840 calling context.
11841 (hex128): Drop erroneous calculation of parameters.
11842
dcd27ddf
SM
118432017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11844
11845 * gdb.python/py-unwind.exp: Disable stack protection when
11846 building test file.
11847
47e77640
PA
118482017-07-20 Pedro Alves <palves@redhat.com>
11849
11850 * gdb.base/default.exp (set language): Adjust expected output.
11851
62d2a18a
PA
118522017-07-20 Pedro Alves <palves@redhat.com>
11853
11854 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11855 (test_minsym): ... this, and make static.
11856 (get_pck__foo__bar__minsym): Rename to ...
11857 (get_test_minsym): ... this.
11858 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11859 symbol names and comments.
11860 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11861 (get_test_minsym): ... this.
11862 (pck__foo__bar__minsym__2): Rename to ...
11863 (test_minsym): ... this.
11864 (main): Adjust.
11865
c45ec17c
PA
118662017-07-17 Pedro Alves <palves@redhat.com>
11867
11868 * gdb.base/completion.exp: Adjust expected output.
11869 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11870 the completer works.
11871
c6756f62
PA
118722017-07-17 Pedro Alves <palves@redhat.com>
11873
11874 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11875
5bd68487
AB
118762017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11877
11878 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11879
8880f2a9
TT
118802017-07-14 Tom Tromey <tom@tromey.com>
11881
11882 PR rust/21764:
11883 * gdb.rust/simple.exp: Add tests.
11884
65547233
TT
118852017-07-14 Tom Tromey <tom@tromey.com>
11886
11887 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11888
8f14146e
PA
118892017-07-14 Pedro Alves <palves@redhat.com>
11890
11891 * gdb.linespec/base/one/thefile.cc (z1): New function.
11892 * gdb.linespec/base/two/thefile.cc (z2): New function.
11893 * gdb.linespec/linespec.exp: Add tests.
11894
b4365d02
AB
118952017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11896
11897 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11898 to mi_create_breakpoint.
11899
5d2cbaa5
AB
119002017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11901
11902 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11903 mi_create_breakpoint.
11904
11cb5716
IB
119052017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11906
11907 * gdb.dlang/demangle.exp: Update for demangling changes.
11908
03278692
TT
119092017-07-09 Tom Tromey <tom@tromey.com>
11910
11911 * gdb.dwarf2/shortpiece.exp: New file.
11912
33c5cd75
DB
119132017-07-06 David Blaikie <dblaikie@gmail.com>
11914
11915 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11916 built from fissiont-multi-cu{1,2}.c.
11917 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11918 except putting 'main' and 'func' in separate CUs in the same DWO file.
11919 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11920 test.
11921 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11922 test.
11923
8455d262
PA
119242017-07-06 Pedro Alves <palves@redhat.com>
11925
11926 * gdb.python/py-unwind.exp: Test flushregs.
11927
dc4bde35
SDJ
119282017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11929
11930 PR cli/21688
11931 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11932 tests for alias commands and trailing whitespace.
11933
51ed89aa
SDJ
119342017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11935
11936 PR cli/21688
11937 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11938 procedure. Call it.
11939
eb17d413
PA
119402017-06-29 Pedro Alves <palves@redhat.com>
11941
11942 * gdb.base/printcmds.exp: Add tests.
11943
41664b45
DG
119442017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11945
11946 PR gdb/21337
11947 * gdb.base/reread-readsym.exp: New file.
11948 * gdb.base/reread-readsym.c: New file.
11949
75312ae3
KB
119502017-06-21 Kevin Buettner <kevinb@redhat.com>
11951
11952 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11953 subpattern.
11954
66953522
PB
119552017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11956
11957 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11958 extended mnemonic.
11959 * gdb.arch/powerpc-power9.s: Likewise.
11960
5524b525
AA
119612017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11962
11963 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11964 on 32-bit x86 targets. Exploit is_*_target macros where
11965 appropriate.
11966
03c8af18
AA
119672017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11968
11969 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11970 register pieces.
11971
3bf31011
AA
119722017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11973
11974 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11975 located in one or more DWARF pieces.
11976
805acca0
AA
119772017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11978
11979 * lib/gdb.exp (get_endianness): New proc.
11980 * gdb.arch/aarch64-fp.exp: Use it.
11981 * gdb.arch/altivec-regs.exp: Likewise.
11982 * gdb.arch/e500-regs.exp: Likewise.
11983 * gdb.arch/vsx-regs.exp: Likewise.
11984 * gdb.base/dump.exp: Likewise.
11985 * gdb.base/funcargs.exp: Likewise.
11986 * gdb.base/gnu_vector.exp: Likewise.
11987 * gdb.dwarf2/formdata16.exp: Likewise.
11988 * gdb.dwarf2/implptrpiece.exp: Likewise.
11989 * gdb.dwarf2/nonvar-access.exp: Likewise.
11990 * gdb.python/py-inferior.exp: Likewise.
11991 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11992
e9352324
AA
119932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11994
11995 PR gdb/21226
11996 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11997 stack value pieces are taken from the LSB end.
11998
d5d1163e
AA
119992017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12000
12001 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12002 variable at nonzero offset.
12003
0567c986
AA
120042017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12005
12006 * gdb.dwarf2/var-access.c: New file.
12007 * gdb.dwarf2/var-access.exp: New test.
12008 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12009
973e9aab
TT
120102017-06-12 Tom Tromey <tom@tromey.com>
12011
12012 * gdb.dwarf2/formdata16.exp: Add tests.
12013
d9109c80
TT
120142017-06-12 Tom Tromey <tom@tromey.com>
12015
12016 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12017
30a25466
TT
120182017-06-12 Tom Tromey <tom@tromey.com>
12019
12020 PR exp/16225:
12021 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12022 * gdb.arch/vsx-regs.exp: Update tests.
12023 * gdb.arch/s390-vregs.exp (hex128): New proc.
12024 Update test.
12025 * gdb.arch/altivec-regs.exp: Update tests.
12026
aefd8b33
SDJ
120272017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12028
12029 * gdb.base/startup-with-shell.c: New file.
12030 * gdb.base/startup-with-shell.exp: Likewise.
12031
2090129c
SDJ
120322017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12033
12034 * gdb.server/non-existing-program.exp: Update regex in order to
12035 reflect the fact that gdbserver is now using fork_inferior (with a
12036 shell) to startup the inferior.
12037
8e86a419
SM
120382017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12039
12040 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12041 support function calls from GDB.
12042
e6cf65f2
TT
120432017-05-21 Tom Tromey <tom@tromey.com>
12044
12045 PR rust/21466:
12046 * gdb.rust/unsized.exp: New file.
12047 * gdb.rust/unsized.rs: New file.
12048
43cc5389
TT
120492017-05-19 Tom Tromey <tom@tromey.com>
12050
12051 PR rust/21484:
12052 * gdb.rust/watch.exp: New file.
12053 * gdb.rust/watch.rs: New file.
12054
ec8df234
TT
120552017-05-18 Tom Tromey <tom@tromey.com>
12056
12057 * gdb.rust/simple.exp: Allow Box to be qualified.
12058
3e3e7fae
TP
120592017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12060
12061 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12062
59cc050d
PA
120632017-05-18 Pedro Alves <palves@redhat.com>
12064
12065 * gdb.base/fileio.c (test_write, test_read, test_close)
12066 (test_fstat): Don't print 'ret' in the fail path.
12067
c8f6abd1
PA
120682017-05-18 Pedro Alves <palves@redhat.com>
12069
12070 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12071 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12072 (test_system, test_rename, test_unlink, test_time): Change
12073 prototypes.
12074 * gdb.base/fileio.exp (stop_msg): Adjust.
12075
d2a03b77
PA
120762017-05-18 Pedro Alves <palves@redhat.com>
12077
12078 * gdb.base/fileio.c (null_str): New global.
12079 (test_stat): Use it.
12080 * gdb.base/fileio.exp: Remove nowarnings.
12081
0d5c6999
YQ
120822017-05-17 Yao Qi <yao.qi@linaro.org>
12083
12084 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12085
21873064
YQ
120862017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12087
12088 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12089 argument command.
12090 (top-level): Invoke test_set_inferior_tty.
12091
d512d31c
PA
120922017-05-04 Pedro Alves <palves@redhat.com>
12093
12094 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12095 Add parens to print call for Python 3.
12096
90cef2ed
KS
120972017-05-03 Keith Seitz <keiths@redhat.com>
12098
12099 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12100 (main): Call it.
12101
14f819c8
TW
121022017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12103
12104 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12105 to prev and next.
12106
913aeadd
TW
121072017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12108
12109 * gdb.python/py-record-btrace.exp: Remove test for
12110 gdb.BtraceInstruction.error.
12111
a3be24ad
TW
121122017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12113
12114 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12115
ae20e79a
TW
121162017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12117
12118 * gdb.python/py-record-btrace-threads.c: New file.
12119 * gdb.python/py-record-btrace-threads.exp: New file.
12120
45ce1b47
SDJ
121212017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12122
12123 PR testsuite/8595
12124 * gdb.base/environ.exp: Make test available in all architectures.
12125 Move bits related to "info program" testing to
12126 gdb.base/info-program.exp. Rewrite tests to use the two new
12127 procedures mentione below.
12128 (test_set_show_env_var) New procedure.
12129 (test_set_show_env_var_equal): Likewise.
12130 * gdb.base/info-program.exp: New file.
12131
e15c3eb4
KS
121322017-04-27 Keith Seitz <keiths@redhat.com>
12133
12134 * gdb.cp/oranking.cc (test15): New function.
12135 (main): Call test15 and declare additional variables for testing.
12136 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12137 "p foo101('abc')" tests.
12138 Add tests for cv qualifier overloads.
12139 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12140 "lvalue reference overload" test.
12141 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12142 "print value of f1 on Child&& in f2" test.
12143
3a3fd0fd
PA
121442017-04-19 Pedro Alves <palves@redhat.com>
12145
12146 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12147 procedure.
12148 (top level): Call it.
12149 * lib/gdb.exp (gdb_define_cmd): New procedure.
12150
53375380
PA
121512017-04-12 Pedro Alves <palves@redhat.com>
12152
12153 PR gdb/21323
12154 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12155 (wchar): New global.
12156 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12157 (do_test_wide_char, wide_char_types_no_program, top level): Add
12158 wchar_t testing.
12159
53e710ac
PA
121602017-04-12 Pedro Alves <palves@redhat.com>
12161
12162 PR c++/21323
12163 * gdb.cp/wide_char_types.c: New file.
12164 * gdb.cp/wide_char_types.exp: New file.
12165
0ad9d8c7
SDJ
121662017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12167
12168 PR gdb/21352
12169 * gdb.trace/tsv.exp: Add test for "tsave -r".
12170
b1b45502
IB
121712017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12172
12173 * gdb.dlang/watch-loc.c: New file.
12174 * gdb.dlang/watch-loc.exp: New file.
12175
ec13808e
JK
121762017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12177
12178 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12179
fe5f7374
AK
121802017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12181
12182 * gdb.arch/arc-analyze-prologue.S: New file.
12183 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12184
eea78757
AK
121852017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12186
12187 * gdb.arch/arc-decode-insn.S: New file.
12188 * gdb.arch/arc-decode-insn.exp: Likewise.
12189
5badf10a
IR
121902017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12191
12192 PR tdep/20928
12193 * gdb.arch/sparc64-regs.exp: New file.
12194 * gdb.arch/sparc64-regs.S: Likewise.
12195
cee59b3f
TW
121962017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12197
12198 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12199 and memory view on Python 3.
12200
c0f55cc6
AV
122012017-03-20 Artemiy Volkov <artemiyv@acm.org>
12202 Keith Seitz <keiths@redhat.com>
12203
12204 PR gdb/14441
12205 * gdb.cp/demangle.exp: Add rvalue reference tests.
12206 * gdb.cp/rvalue-ref-casts.cc: New file.
12207 * gdb.cp/rvalue-ref-casts.exp: New file.
12208 * gdb.cp/rvalue-ref-overload.cc: New file.
12209 * gdb.cp/rvalue-ref-overload.exp: New file.
12210 * gdb.cp/rvalue-ref-params.cc: New file.
12211 * gdb.cp/rvalue-ref-params.exp: New file.
12212 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12213 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12214 * gdb.cp/rvalue-ref-types.cc: New file.
12215 * gdb.cp/rvalue-ref-types.exp: New file.
12216 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12217 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12218
51457a05
MAL
122192017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12220
12221 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12222 New procedure.
12223
5b291c04
MAL
122242017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12225
12226 * lib/mi-support.exp (mi_gdb_test): Add additional message
12227 for unexpected output.
12228
59a56148
AA
122292017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12230
12231 * gdb.base/examine-backward.c (Barrier): New character array
12232 constant, to ensure that TestStrings is preceded by a string
12233 terminator.
12234
7942e96e
AA
122352017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12236
12237 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12238 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12239 and implicit pointer into such a location.
12240
6ebac3fb
DE
122412017-03-16 Doug Evans <dje@google.com>
12242
12243 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12244
ec3b243d
TP
122452017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12246
12247 * gdb.cp/m-static.exp: Fix expectation for prototype of
12248 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
12249
122502017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
12251
12252 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12253 * gdb.guile/scm-lazy-string.c: New file.
12254 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12255 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12256 for pointer, array, typedef lazy strings.
12257
2cc36e25 122582017-03-16 Doug Evans <dje@google.com>
34b43320
DE
12259
12260 PR python/17728, python/18439, python/18779
12261 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12262 * gdb.python/py-lazy-string.c (pointer): New typedef.
12263 (main): New locals ptr, array, typedef_ptr.
12264 * gdb.python/py-value.exp: Move lazy string tests to ...
12265 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12266 array, typedef lazy strings.
ec3b243d 12267
0efcde63
AK
122682017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12269
12270 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12271 Add optional 'test' parameter.
12272
7978d7c3
SM
122732017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12274
12275 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12276 Skip for versions of DejaGnu < 1.5.
12277
896c0c1e
SM
122782017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12279
12280 * lib/gdb.exp (dejagnu_version): New proc.
12281 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12282 Use dejagnu_version.
12283
5f4d1085
KS
122842017-03-10 Keith Seitz <keiths@redhat.com>
12285
12286 PR c++/8128
12287 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12288 type from destructor regexps.
12289 Add a branch which actually passes the test.
12290 Adjust "ptype t5i" test names.
12291
1de05205
PA
122922017-03-08 Pedro Alves <palves@redhat.com>
12293
12294 * gdb.base/step-over-exit.exp: Add explicit test message.
12295
c65d6b55
PA
122962017-03-08 Pedro Alves <palves@redhat.com>
12297
12298 PR gdb/18360
12299 * gdb.threads/interrupt-while-step-over.c: New file.
12300 * gdb.threads/interrupt-while-step-over.exp: New file.
12301
2e86a283
PA
123022017-03-08 Pedro Alves <palves@redhat.com>
12303
12304 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12305 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12306
25dcbff6
PA
123072017-03-08 Pedro Alves <palves@redhat.com>
12308
12309 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12310 PKRU as not supported as a PASS.
12311
dc9366eb
PA
123122017-03-08 Pedro Alves <palves@redhat.com>
12313
12314 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12315 prefix instead of $binfile1/$binfile2.
12316 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12317 in test message.
12318 * gdb.python/py-completion.exp: Use "load python file" as test
12319 messages instead of unstable path names.
12320
6e5d74e7
PA
123212017-03-08 Pedro Alves <palves@redhat.com>
12322 Jan Kratochvil <jan.kratochvil@redhat.com>
12323
12324 PR cli/21218
12325 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12326 New proc.
12327 (top level): Call it.
12328
9753a2f6
PA
123292017-03-08 Pedro Alves <palves@redhat.com>
12330
12331 PR tui/21216
12332 * gdb.tui/tui-nl-filtered-output.exp: New file.
12333
1a4dd9dd
PA
123342017-03-08 Pedro Alves <palves@redhat.com>
12335
12336 * gdb.base/completion.exp: Move TUI completion tests to ...
12337 * gdb.tui/completion.exp: ... this new file.
12338
7cbbff33
PA
123392017-03-08 Pedro Alves <palves@redhat.com>
12340
12341 * gdb.base/tui-disasm-long-lines.c,
12342 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12343 gdb.base/tui-layout.exp: Move to ...
12344 * gdb.tui/: ... this new directory.
12345
5f6fd321
PA
123462017-03-07 Pedro Alves <palves@redhat.com>
12347
12348 * gdb.base/tui-layout.c: New file.
12349 * gdb.base/tui-layout.exp: New file.
12350
44959fa8
PA
123512017-03-07 Pedro Alves <palves@redhat.com>
12352
12353 * gdb.base/tui-layout.c: Rename to ...
12354 * gdb.base/tui-disasm-long-lines.c: ... this.
12355 * gdb.base/tui-layout.exp: Rename to ...
12356 * gdb.base/tui-disasm-long-lines.exp: ... this.
12357
f8c4e718
PA
123582017-03-07 Pedro Alves <palves@redhat.com>
12359
12360 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12361
6dbb839a 123622017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
12363
12364 * i386-mpx-call.c: New file.
12365 * i386-mpx-call.exp: New file.
12366
65b48a81
PB
123672017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12368
12369 * gdb.arch/powerpc-power.exp: Delete test.
12370 * gdb.arch/powerpc-power.s: Likewise.
12371 * gdb.disasm/disassembler-options.exp: New test.
12372 * gdb.arch/powerpc-altivec.exp: Likewise.
12373 * gdb.arch/powerpc-altivec.s: Likewise.
12374 * gdb.arch/powerpc-altivec2.exp: Likewise.
12375 * gdb.arch/powerpc-altivec2.s: Likewise.
12376 * gdb.arch/powerpc-altivec3.exp: Likewise.
12377 * gdb.arch/powerpc-altivec3.s: Likewise.
12378 * gdb.arch/powerpc-power7.exp: Likewise.
12379 * gdb.arch/powerpc-power7.s: Likewise.
12380 * gdb.arch/powerpc-power8.exp: Likewise.
12381 * gdb.arch/powerpc-power8.s: Likewise.
12382 * gdb.arch/powerpc-power9.exp: Likewise.
12383 * gdb.arch/powerpc-power9.s: Likewise.
12384 * gdb.arch/powerpc-vsx.exp: Likewise.
12385 * gdb.arch/powerpc-vsx.s: Likewise.
12386 * gdb.arch/powerpc-vsx2.exp: Likewise.
12387 * gdb.arch/powerpc-vsx2.s: Likewise.
12388 * gdb.arch/powerpc-vsx3.exp: Likewise.
12389 * gdb.arch/powerpc-vsx3.s: Likewise.
12390 * gdb.arch/arm-disassembler-options.exp: Likewise.
12391 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12392 * gdb.arch/s390-disassembler-options.exp: Likewise.
12393
17cd4947
LM
123942017-02-23 Luis Machado <lgustavo@codesourcery.com>
12395
12396 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12397 (check_supported_features): ... this. Changed return type to void.
12398 (supports_rdseed): New static global.
12399 (rdseed): Check supports_rdseed.
12400 (initialize): Call check_supported_features.
12401
2039d74e
EBM
124022017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12403
12404 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12405 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12406 and lqarx/stqcx.
12407 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12408 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12409
a51d7ecf
EBM
124102017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12411
12412 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12413 uppercase.
12414
0224619f
JK
124152017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12416
12417 * gdb.dwarf2/formdata16.c: New file.
12418 * gdb.dwarf2/formdata16.exp: New file.
12419 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12420
216f72a1
JK
124212017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12422
12423 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12424 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12425 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12426 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12427 DW_AT_GNU_*.
12428
43988095
JK
124292017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12430
12431 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12432
99e8a4f9
SDJ
124332017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12434
12435 PR gdb/21164
12436 * gdb.base/maint.exp: Add testcases for when the commands do
12437 not have arguments.
12438
b58a8c0c
TP
124392017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12440
12441 * gdb.cp/chained-calls.exp: Use p instead of P.
12442
4e746bb6
TW
124432017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12444
12445 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12446 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12447
3f77c769
TT
124482017-02-14 Tom Tromey <tom@tromey.com>
12449
12450 PR python/13598:
12451 * gdb.python/py-events.exp: Add before_prompt event tests.
12452
075beec0
AA
124532017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12454
12455 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12456
bf5f525c
LM
124572017-02-13 Luis Machado <lgustavo@codesourcery.com>
12458
12459 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12460 (main): Call my_unique_function_name.
12461 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12462 completion of patterns with a single match.
12463 Add missing -re switches to gdb_test_multiple calls.
12464
13a66184
LM
124652017-02-13 Luis Machado <lgustavo@codesourcery.com>
12466
12467 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12468 return if core file is not recognized.
12469
26a06916
SM
124702017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12471
12472 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12473 and extra UIs.
12474
b761ca9e
SM
124752017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12476
12477 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12478 proc_with_prefix.
12479
b964bee0
TT
124802017-02-10 Tom Tromey <tom@tromey.com>
12481
12482 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12483
18da0c51
MG
124842017-02-10 Martin Galvan <martingalvan@sourceware.org>
12485
12486 PR gdb/21122
12487 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12488
604c4576
JG
124892017-02-08 Jerome Guitton <guitton@adacore.com>
12490
12491 * gdb.base/define.exp: Add test for command abbreviations
12492 in define.
12493
20b477a7
LM
124942017-02-06 Luis Machado <lgustavo@codesourcery.com>
12495
12496 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12497 * gdb.reverse/insn-reverse-x86.c: New file.
12498
3f7b46f2
IR
124992017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12500
12501 PR tdep/20936
12502 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12503
f0fd41c1
TT
125042017-02-03 Tom Tromey <tom@tromey.com>
12505
12506 PR rust/21097:
12507 * gdb.rust/simple.exp: Add new tests.
12508
5be5dbf0
PA
125092017-02-02 Pedro Alves <palves@redhat.com>
12510
12511 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12512 tests.
12513
7346ef59
AA
125142017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12515
12516 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12517 taking a 2-byte value out of a 4-byte DWARF implicit value on
12518 big-endian targets.
12519 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12520 logic. Add test cases for DW_OP_implicit.
12521
787f0025
MM
125222017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12523
12524 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12525
68777c29
MM
125262017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12527
12528 * gdb.btrace/enable.exp: Call gdb_exit before
12529 skip_gdbserver_tests.
12530
0a1c7e28
MM
125312017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12532
12533 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12534 GDBFLAGS.
12535
b5ac99b0
MM
125362017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12537
12538 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12539 the test is skipped.
12540 * gdb.btrace/data.exp: Likewise.
12541 * gdb.btrace/delta.exp: Likewise.
12542 * gdb.btrace/dlopen.exp: Likewise.
12543 * gdb.btrace/enable-running.exp: Likewise.
12544 * gdb.btrace/enable.exp: Likewise.
12545 * gdb.btrace/exception.exp: Likewise.
12546 * gdb.btrace/function_call_history.exp: Likewise.
12547 * gdb.btrace/gcore.exp: Likewise.
12548 * gdb.btrace/instruction_history.exp: Likewise.
12549 * gdb.btrace/multi-thread-step.exp: Likewise.
12550 * gdb.btrace/nohist.exp: Likewise.
12551 * gdb.btrace/non-stop.exp: Likewise.
12552 * gdb.btrace/reconnect.exp: Likewise.
12553 * gdb.btrace/record_goto-step.exp: Likewise.
12554 * gdb.btrace/record_goto.exp: Likewise.
12555 * gdb.btrace/rn-dl-bind.exp: Likewise.
12556 * gdb.btrace/segv.exp: Likewise.
12557 * gdb.btrace/step.exp: Likewise.
12558 * gdb.btrace/stepi.exp: Likewise.
12559 * gdb.btrace/tailcall-only.exp: Likewise.
12560 * gdb.btrace/tailcall.exp: Likewise.
12561 * gdb.btrace/tsx.exp: Likewise.
12562 * gdb.btrace/unknown_functions.exp: Likewise.
12563 * gdb.btrace/vdso.exp: Likewise.
12564
cd4007e4
MM
125652017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12566
12567 * gdb.btrace/enable-running.c: New.
12568 * gdb.btrace/enable-running.exp: New.
12569
2735833d
WT
125702017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12571
12572 * gdb.arch/amd64-gs_base.c: New file.
12573 * gdb.arch/amd64-gs_base.exp: New file.
12574
b51e1e94
LM
125752017-01-26 Luis Machado <lgustavo@codesourcery.com>
12576
12577 * lib/memory.exp: Remove spurious empty newlines.
12578
72ca0410
SM
125792017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12580
12581 * gdb.python/py-bad-printers.exp: Load python file using "source".
12582 * gdb.python/py-events.exp: Likewise.
12583 * gdb.python/py-evsignal.exp: Likewise.
12584 * gdb.python/py-evthreads.exp: Likewise.
12585 * gdb.python/py-frame-args.exp: Likewise.
12586 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12587 * gdb.python/py-framefilter-mi.exp: Likewise.
12588 * gdb.python/py-framefilter.exp: Likewise.
12589 * gdb.python/py-mi.exp: Likewise.
12590 * gdb.python/py-pp-maint.exp: Likewise.
12591 * gdb.python/py-pp-registration.exp: Likewise.
12592 * gdb.python/py-prettyprint.exp: Likewise.
12593 (run_lang_tests): Likewise.
12594 * gdb.python/py-typeprint.exp: Likewise.
12595
e309aa65
LM
125962017-01-26 Luis Machado <lgustavo@codesourcery.com>
12597
12598 * lib/memory.exp: New file.
12599 * lib/gdb.exp: Load memory.exp.
12600 * gdb.base/memattr.exp (delete_memory): Move proc to
12601 lib/memory.exp and rename to delete_memory_regions.
12602 Replace delete_memory with delete_memory_regions.
12603 Cleanup memory regions before tests.
12604 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12605 before tests.
12606
515aff23
LM
126072017-01-26 Luis Machado <lgustavo@codesourcery.com>
12608
12609 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12610 files.
12611 (initialize): New function conditionally defined.
12612 (testcases): Move within conditional block.
12613 (main): Call initialize.
12614 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12615 of gdb.reverse/insn-reverse.c.
12616 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12617 gdb.reverse/insn-reverse.c.
12618
d8b49cf0
YQ
126192017-01-26 Yao Qi <yao.qi@linaro.org>
12620
12621 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12622 disassemble on address 0.
12623
f13a9a0c
YQ
126242017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12625 Yao Qi <yao.qi@linaro.org>
12626
12627 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12628 * gdb.dwarf2/implptr-64bit.S: Remove.
12629 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12630 variables in caller's context. Add DW_OP_implicit_value.
12631
5ac95241
YQ
126322017-01-25 Yao Qi <yao.qi@linaro.org>
12633
12634 * lib/dwarf.exp (Dwarf::_location): Handle
12635 DW_OP_GNU_implicit_pointer with proper size.
12636
23e82930
LM
126372017-01-20 Luis Machado <lgustavo@codesourcery.com>
12638
12639 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12640 and add untested calls.
12641
d334ae25
LM
126422017-01-20 Luis Machado <lgustavo@codesourcery.com>
12643
12644 * gdb.python/python.exp: Check line number against what GDB thinks
12645 the line number is for func1.
12646
f5e6296e
IB
126472017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12648
12649 * gdb.dlang/debug-expr.exp: New file.
12650
5b362f04
LM
126512016-12-23 Luis Machado <lgustavo@codesourcery.com>
12652
12653 Fix test names for the following files:
12654
12655 * gdb.ada/exec_changed.exp
12656 * gdb.ada/info_types.exp
12657 * gdb.arch/aarch64-atomic-inst.exp
12658 * gdb.arch/aarch64-fp.exp
12659 * gdb.arch/altivec-abi.exp
12660 * gdb.arch/altivec-regs.exp
12661 * gdb.arch/amd64-byte.exp
12662 * gdb.arch/amd64-disp-step.exp
12663 * gdb.arch/amd64-dword.exp
12664 * gdb.arch/amd64-entry-value-inline.exp
12665 * gdb.arch/amd64-entry-value-param.exp
12666 * gdb.arch/amd64-entry-value-paramref.exp
12667 * gdb.arch/amd64-entry-value.exp
12668 * gdb.arch/amd64-i386-address.exp
12669 * gdb.arch/amd64-invalid-stack-middle.exp
12670 * gdb.arch/amd64-invalid-stack-top.exp
12671 * gdb.arch/amd64-optimout-repeat.exp
12672 * gdb.arch/amd64-prologue-skip.exp
12673 * gdb.arch/amd64-prologue-xmm.exp
12674 * gdb.arch/amd64-stap-special-operands.exp
12675 * gdb.arch/amd64-stap-wrong-subexp.exp
12676 * gdb.arch/amd64-tailcall-cxx.exp
12677 * gdb.arch/amd64-tailcall-noret.exp
12678 * gdb.arch/amd64-tailcall-ret.exp
12679 * gdb.arch/amd64-tailcall-self.exp
12680 * gdb.arch/amd64-word.exp
12681 * gdb.arch/arm-bl-branch-dest.exp
12682 * gdb.arch/arm-disp-step.exp
12683 * gdb.arch/arm-neon.exp
12684 * gdb.arch/arm-single-step-kernel-helper.exp
12685 * gdb.arch/avr-flash-qualifier.exp
12686 * gdb.arch/disp-step-insn-reloc.exp
12687 * gdb.arch/e500-abi.exp
12688 * gdb.arch/e500-regs.exp
12689 * gdb.arch/ftrace-insn-reloc.exp
12690 * gdb.arch/i386-avx512.exp
12691 * gdb.arch/i386-bp_permanent.exp
12692 * gdb.arch/i386-byte.exp
12693 * gdb.arch/i386-cfi-notcurrent.exp
12694 * gdb.arch/i386-disp-step.exp
12695 * gdb.arch/i386-dr3-watch.exp
12696 * gdb.arch/i386-float.exp
12697 * gdb.arch/i386-gnu-cfi.exp
12698 * gdb.arch/i386-mpx-map.exp
12699 * gdb.arch/i386-mpx-sigsegv.exp
12700 * gdb.arch/i386-mpx-simple_segv.exp
12701 * gdb.arch/i386-mpx.exp
12702 * gdb.arch/i386-permbkpt.exp
12703 * gdb.arch/i386-prologue.exp
12704 * gdb.arch/i386-signal.exp
12705 * gdb.arch/i386-size-overlap.exp
12706 * gdb.arch/i386-unwind.exp
12707 * gdb.arch/i386-word.exp
12708 * gdb.arch/mips-fcr.exp
12709 * gdb.arch/powerpc-d128-regs.exp
12710 * gdb.arch/powerpc-stackless.exp
12711 * gdb.arch/ppc64-atomic-inst.exp
12712 * gdb.arch/s390-stackless.exp
12713 * gdb.arch/s390-tdbregs.exp
12714 * gdb.arch/s390-vregs.exp
12715 * gdb.arch/sparc-sysstep.exp
12716 * gdb.arch/thumb-bx-pc.exp
12717 * gdb.arch/thumb-singlestep.exp
12718 * gdb.arch/thumb2-it.exp
12719 * gdb.arch/vsx-regs.exp
12720 * gdb.asm/asm-source.exp
12721 * gdb.base/a2-run.exp
12722 * gdb.base/advance.exp
12723 * gdb.base/all-bin.exp
12724 * gdb.base/anon.exp
12725 * gdb.base/args.exp
12726 * gdb.base/arithmet.exp
12727 * gdb.base/async-shell.exp
12728 * gdb.base/async.exp
12729 * gdb.base/attach-pie-noexec.exp
12730 * gdb.base/attach-twice.exp
12731 * gdb.base/auto-load.exp
12732 * gdb.base/bang.exp
12733 * gdb.base/bitfields.exp
12734 * gdb.base/break-always.exp
12735 * gdb.base/break-caller-line.exp
12736 * gdb.base/break-entry.exp
12737 * gdb.base/break-inline.exp
12738 * gdb.base/break-on-linker-gcd-function.exp
12739 * gdb.base/break-probes.exp
12740 * gdb.base/break.exp
12741 * gdb.base/breakpoint-shadow.exp
12742 * gdb.base/call-ar-st.exp
12743 * gdb.base/call-sc.exp
12744 * gdb.base/call-signal-resume.exp
12745 * gdb.base/call-strs.exp
12746 * gdb.base/callfuncs.exp
12747 * gdb.base/catch-fork-static.exp
12748 * gdb.base/catch-gdb-caused-signals.exp
12749 * gdb.base/catch-load.exp
12750 * gdb.base/catch-signal-fork.exp
12751 * gdb.base/catch-signal.exp
12752 * gdb.base/catch-syscall.exp
12753 * gdb.base/charset.exp
12754 * gdb.base/checkpoint.exp
12755 * gdb.base/chng-syms.exp
12756 * gdb.base/code-expr.exp
12757 * gdb.base/code_elim.exp
12758 * gdb.base/commands.exp
12759 * gdb.base/completion.exp
12760 * gdb.base/complex.exp
12761 * gdb.base/cond-expr.exp
12762 * gdb.base/condbreak.exp
12763 * gdb.base/consecutive.exp
12764 * gdb.base/continue-all-already-running.exp
12765 * gdb.base/coredump-filter.exp
12766 * gdb.base/corefile.exp
12767 * gdb.base/dbx.exp
12768 * gdb.base/debug-expr.exp
12769 * gdb.base/define.exp
12770 * gdb.base/del.exp
12771 * gdb.base/disabled-location.exp
12772 * gdb.base/disasm-end-cu.exp
12773 * gdb.base/disasm-optim.exp
12774 * gdb.base/display.exp
12775 * gdb.base/duplicate-bp.exp
12776 * gdb.base/ena-dis-br.exp
12777 * gdb.base/ending-run.exp
12778 * gdb.base/enumval.exp
12779 * gdb.base/environ.exp
12780 * gdb.base/eu-strip-infcall.exp
12781 * gdb.base/eval-avoid-side-effects.exp
12782 * gdb.base/eval-skip.exp
12783 * gdb.base/exitsignal.exp
12784 * gdb.base/expand-psymtabs.exp
12785 * gdb.base/filesym.exp
12786 * gdb.base/find-unmapped.exp
12787 * gdb.base/finish.exp
12788 * gdb.base/float.exp
12789 * gdb.base/foll-exec-mode.exp
12790 * gdb.base/foll-exec.exp
12791 * gdb.base/foll-fork.exp
12792 * gdb.base/fortran-sym-case.exp
12793 * gdb.base/freebpcmd.exp
12794 * gdb.base/func-ptr.exp
12795 * gdb.base/func-ptrs.exp
12796 * gdb.base/funcargs.exp
12797 * gdb.base/gcore-buffer-overflow.exp
12798 * gdb.base/gcore-relro-pie.exp
12799 * gdb.base/gcore-relro.exp
12800 * gdb.base/gcore.exp
12801 * gdb.base/gdb1090.exp
12802 * gdb.base/gdb11530.exp
12803 * gdb.base/gdb11531.exp
12804 * gdb.base/gdb1821.exp
12805 * gdb.base/gdbindex-stabs.exp
12806 * gdb.base/gdbvars.exp
12807 * gdb.base/hbreak.exp
12808 * gdb.base/hbreak2.exp
12809 * gdb.base/included.exp
12810 * gdb.base/infcall-input.exp
12811 * gdb.base/inferior-died.exp
12812 * gdb.base/infnan.exp
12813 * gdb.base/info-macros.exp
12814 * gdb.base/info-os.exp
12815 * gdb.base/info-proc.exp
12816 * gdb.base/info-shared.exp
12817 * gdb.base/info-target.exp
12818 * gdb.base/infoline.exp
12819 * gdb.base/interp.exp
12820 * gdb.base/interrupt.exp
12821 * gdb.base/jit-reader.exp
12822 * gdb.base/jit-simple.exp
12823 * gdb.base/kill-after-signal.exp
12824 * gdb.base/kill-detach-inferiors-cmd.exp
12825 * gdb.base/label.exp
12826 * gdb.base/langs.exp
12827 * gdb.base/ldbl_e308.exp
12828 * gdb.base/line-symtabs.exp
12829 * gdb.base/linespecs.exp
12830 * gdb.base/list.exp
12831 * gdb.base/long_long.exp
12832 * gdb.base/longest-types.exp
12833 * gdb.base/maint.exp
12834 * gdb.base/max-value-size.exp
12835 * gdb.base/memattr.exp
12836 * gdb.base/mips_pro.exp
12837 * gdb.base/morestack.exp
12838 * gdb.base/moribund-step.exp
12839 * gdb.base/multi-forks.exp
12840 * gdb.base/nested-addr.exp
12841 * gdb.base/nextoverexit.exp
12842 * gdb.base/noreturn-finish.exp
12843 * gdb.base/noreturn-return.exp
12844 * gdb.base/nostdlib.exp
12845 * gdb.base/offsets.exp
12846 * gdb.base/opaque.exp
12847 * gdb.base/pc-fp.exp
12848 * gdb.base/permissions.exp
12849 * gdb.base/print-symbol-loading.exp
12850 * gdb.base/prologue-include.exp
12851 * gdb.base/psymtab.exp
12852 * gdb.base/ptype.exp
12853 * gdb.base/random-signal.exp
12854 * gdb.base/randomize.exp
12855 * gdb.base/range-stepping.exp
12856 * gdb.base/readline-ask.exp
12857 * gdb.base/recpar.exp
12858 * gdb.base/recurse.exp
12859 * gdb.base/relational.exp
12860 * gdb.base/restore.exp
12861 * gdb.base/return-nodebug.exp
12862 * gdb.base/return.exp
12863 * gdb.base/run-after-attach.exp
12864 * gdb.base/save-bp.exp
12865 * gdb.base/scope.exp
12866 * gdb.base/sect-cmd.exp
12867 * gdb.base/set-lang-auto.exp
12868 * gdb.base/set-noassign.exp
12869 * gdb.base/setvar.exp
12870 * gdb.base/sigall.exp
12871 * gdb.base/sigbpt.exp
12872 * gdb.base/siginfo-addr.exp
12873 * gdb.base/siginfo-infcall.exp
12874 * gdb.base/siginfo-obj.exp
12875 * gdb.base/siginfo.exp
12876 * gdb.base/signals-state-child.exp
12877 * gdb.base/signest.exp
12878 * gdb.base/sigstep.exp
12879 * gdb.base/sizeof.exp
12880 * gdb.base/skip.exp
12881 * gdb.base/solib-corrupted.exp
12882 * gdb.base/solib-nodir.exp
12883 * gdb.base/solib-search.exp
12884 * gdb.base/stack-checking.exp
12885 * gdb.base/stale-infcall.exp
12886 * gdb.base/stap-probe.exp
12887 * gdb.base/start.exp
12888 * gdb.base/step-break.exp
12889 * gdb.base/step-bt.exp
12890 * gdb.base/step-line.exp
12891 * gdb.base/step-over-exit.exp
12892 * gdb.base/step-over-syscall.exp
12893 * gdb.base/step-resume-infcall.exp
12894 * gdb.base/step-test.exp
12895 * gdb.base/store.exp
12896 * gdb.base/structs3.exp
12897 * gdb.base/sym-file.exp
12898 * gdb.base/symbol-without-target_section.exp
12899 * gdb.base/term.exp
12900 * gdb.base/testenv.exp
12901 * gdb.base/ui-redirect.exp
12902 * gdb.base/until.exp
12903 * gdb.base/unwindonsignal.exp
12904 * gdb.base/value-double-free.exp
12905 * gdb.base/vla-datatypes.exp
12906 * gdb.base/vla-ptr.exp
12907 * gdb.base/vla-sideeffect.exp
12908 * gdb.base/volatile.exp
12909 * gdb.base/watch-cond-infcall.exp
12910 * gdb.base/watch-cond.exp
12911 * gdb.base/watch-non-mem.exp
12912 * gdb.base/watch-read.exp
12913 * gdb.base/watch-vfork.exp
12914 * gdb.base/watchpoint-cond-gone.exp
12915 * gdb.base/watchpoint-delete.exp
12916 * gdb.base/watchpoint-hw-hit-once.exp
12917 * gdb.base/watchpoint-hw.exp
12918 * gdb.base/watchpoint-stops-at-right-insn.exp
12919 * gdb.base/watchpoints.exp
12920 * gdb.base/wchar.exp
12921 * gdb.base/whatis-exp.exp
12922 * gdb.btrace/buffer-size.exp
12923 * gdb.btrace/data.exp
12924 * gdb.btrace/delta.exp
12925 * gdb.btrace/dlopen.exp
12926 * gdb.btrace/enable.exp
12927 * gdb.btrace/exception.exp
12928 * gdb.btrace/function_call_history.exp
12929 * gdb.btrace/gcore.exp
12930 * gdb.btrace/instruction_history.exp
12931 * gdb.btrace/nohist.exp
12932 * gdb.btrace/reconnect.exp
12933 * gdb.btrace/record_goto-step.exp
12934 * gdb.btrace/record_goto.exp
12935 * gdb.btrace/rn-dl-bind.exp
12936 * gdb.btrace/segv.exp
12937 * gdb.btrace/step.exp
12938 * gdb.btrace/stepi.exp
12939 * gdb.btrace/tailcall-only.exp
12940 * gdb.btrace/tailcall.exp
12941 * gdb.btrace/tsx.exp
12942 * gdb.btrace/unknown_functions.exp
12943 * gdb.btrace/vdso.exp
12944 * gdb.compile/compile-ifunc.exp
12945 * gdb.compile/compile-ops.exp
12946 * gdb.compile/compile-print.exp
12947 * gdb.compile/compile-setjmp.exp
12948 * gdb.cp/abstract-origin.exp
12949 * gdb.cp/ambiguous.exp
12950 * gdb.cp/annota2.exp
12951 * gdb.cp/annota3.exp
12952 * gdb.cp/anon-ns.exp
12953 * gdb.cp/anon-struct.exp
12954 * gdb.cp/anon-union.exp
12955 * gdb.cp/arg-reference.exp
12956 * gdb.cp/baseenum.exp
12957 * gdb.cp/bool.exp
12958 * gdb.cp/breakpoint.exp
12959 * gdb.cp/bs15503.exp
12960 * gdb.cp/call-c.exp
12961 * gdb.cp/casts.exp
12962 * gdb.cp/chained-calls.exp
12963 * gdb.cp/class2.exp
12964 * gdb.cp/classes.exp
12965 * gdb.cp/cmpd-minsyms.exp
12966 * gdb.cp/converts.exp
12967 * gdb.cp/cp-relocate.exp
12968 * gdb.cp/cpcompletion.exp
12969 * gdb.cp/cpexprs.exp
12970 * gdb.cp/cplabel.exp
12971 * gdb.cp/cplusfuncs.exp
12972 * gdb.cp/cpsizeof.exp
12973 * gdb.cp/ctti.exp
12974 * gdb.cp/derivation.exp
12975 * gdb.cp/destrprint.exp
12976 * gdb.cp/dispcxx.exp
12977 * gdb.cp/enum-class.exp
12978 * gdb.cp/exception.exp
12979 * gdb.cp/exceptprint.exp
12980 * gdb.cp/expand-psymtabs-cxx.exp
12981 * gdb.cp/expand-sals.exp
12982 * gdb.cp/extern-c.exp
12983 * gdb.cp/filename.exp
12984 * gdb.cp/formatted-ref.exp
12985 * gdb.cp/fpointer.exp
12986 * gdb.cp/gdb1355.exp
12987 * gdb.cp/gdb2495.exp
12988 * gdb.cp/hang.exp
12989 * gdb.cp/impl-this.exp
12990 * gdb.cp/infcall-dlopen.exp
12991 * gdb.cp/inherit.exp
12992 * gdb.cp/iostream.exp
12993 * gdb.cp/koenig.exp
12994 * gdb.cp/local.exp
12995 * gdb.cp/m-data.exp
12996 * gdb.cp/m-static.exp
12997 * gdb.cp/mb-ctor.exp
12998 * gdb.cp/mb-inline.exp
12999 * gdb.cp/mb-templates.exp
13000 * gdb.cp/member-name.exp
13001 * gdb.cp/member-ptr.exp
13002 * gdb.cp/meth-typedefs.exp
13003 * gdb.cp/method.exp
13004 * gdb.cp/method2.exp
13005 * gdb.cp/minsym-fallback.exp
13006 * gdb.cp/misc.exp
13007 * gdb.cp/namelessclass.exp
13008 * gdb.cp/namespace-enum.exp
13009 * gdb.cp/namespace-nested-import.exp
13010 * gdb.cp/namespace.exp
13011 * gdb.cp/nextoverthrow.exp
13012 * gdb.cp/no-dmgl-verbose.exp
13013 * gdb.cp/non-trivial-retval.exp
13014 * gdb.cp/noparam.exp
13015 * gdb.cp/nsdecl.exp
13016 * gdb.cp/nsimport.exp
13017 * gdb.cp/nsnested.exp
13018 * gdb.cp/nsnoimports.exp
13019 * gdb.cp/nsrecurs.exp
13020 * gdb.cp/nsstress.exp
13021 * gdb.cp/nsusing.exp
13022 * gdb.cp/operator.exp
13023 * gdb.cp/oranking.exp
13024 * gdb.cp/overload-const.exp
13025 * gdb.cp/overload.exp
13026 * gdb.cp/ovldbreak.exp
13027 * gdb.cp/ovsrch.exp
13028 * gdb.cp/paren-type.exp
13029 * gdb.cp/parse-lang.exp
13030 * gdb.cp/pass-by-ref.exp
13031 * gdb.cp/pr-1023.exp
13032 * gdb.cp/pr-1210.exp
13033 * gdb.cp/pr-574.exp
13034 * gdb.cp/pr10687.exp
13035 * gdb.cp/pr12028.exp
13036 * gdb.cp/pr17132.exp
13037 * gdb.cp/pr17494.exp
13038 * gdb.cp/pr9067.exp
13039 * gdb.cp/pr9167.exp
13040 * gdb.cp/pr9631.exp
13041 * gdb.cp/printmethod.exp
13042 * gdb.cp/psmang.exp
13043 * gdb.cp/psymtab-parameter.exp
13044 * gdb.cp/ptype-cv-cp.exp
13045 * gdb.cp/ptype-flags.exp
13046 * gdb.cp/re-set-overloaded.exp
13047 * gdb.cp/ref-types.exp
13048 * gdb.cp/rtti.exp
13049 * gdb.cp/scope-err.exp
13050 * gdb.cp/shadow.exp
13051 * gdb.cp/smartp.exp
13052 * gdb.cp/static-method.exp
13053 * gdb.cp/static-print-quit.exp
13054 * gdb.cp/temargs.exp
13055 * gdb.cp/templates.exp
13056 * gdb.cp/try_catch.exp
13057 * gdb.cp/typedef-operator.exp
13058 * gdb.cp/typeid.exp
13059 * gdb.cp/userdef.exp
13060 * gdb.cp/using-crash.exp
13061 * gdb.cp/var-tag.exp
13062 * gdb.cp/virtbase.exp
13063 * gdb.cp/virtfunc.exp
13064 * gdb.cp/virtfunc2.exp
13065 * gdb.cp/vla-cxx.exp
13066 * gdb.disasm/t01_mov.exp
13067 * gdb.disasm/t02_mova.exp
13068 * gdb.disasm/t03_add.exp
13069 * gdb.disasm/t04_sub.exp
13070 * gdb.disasm/t05_cmp.exp
13071 * gdb.disasm/t06_ari2.exp
13072 * gdb.disasm/t07_ari3.exp
13073 * gdb.disasm/t08_or.exp
13074 * gdb.disasm/t09_xor.exp
13075 * gdb.disasm/t10_and.exp
13076 * gdb.disasm/t11_logs.exp
13077 * gdb.disasm/t12_bit.exp
13078 * gdb.disasm/t13_otr.exp
13079 * gdb.dlang/circular.exp
13080 * gdb.dwarf2/arr-stride.exp
13081 * gdb.dwarf2/arr-subrange.exp
13082 * gdb.dwarf2/atomic-type.exp
13083 * gdb.dwarf2/bad-regnum.exp
13084 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13085 * gdb.dwarf2/callframecfa.exp
13086 * gdb.dwarf2/clztest.exp
13087 * gdb.dwarf2/corrupt.exp
13088 * gdb.dwarf2/data-loc.exp
13089 * gdb.dwarf2/dup-psym.exp
13090 * gdb.dwarf2/dw2-anon-mptr.exp
13091 * gdb.dwarf2/dw2-anonymous-func.exp
13092 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13093 * gdb.dwarf2/dw2-bad-unresolved.exp
13094 * gdb.dwarf2/dw2-basic.exp
13095 * gdb.dwarf2/dw2-canonicalize-type.exp
13096 * gdb.dwarf2/dw2-case-insensitive.exp
13097 * gdb.dwarf2/dw2-common-block.exp
13098 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13099 * gdb.dwarf2/dw2-compressed.exp
13100 * gdb.dwarf2/dw2-const.exp
13101 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13102 * gdb.dwarf2/dw2-cu-size.exp
13103 * gdb.dwarf2/dw2-dup-frame.exp
13104 * gdb.dwarf2/dw2-entry-value.exp
13105 * gdb.dwarf2/dw2-icycle.exp
13106 * gdb.dwarf2/dw2-ifort-parameter.exp
13107 * gdb.dwarf2/dw2-inline-break.exp
13108 * gdb.dwarf2/dw2-inline-param.exp
13109 * gdb.dwarf2/dw2-intercu.exp
13110 * gdb.dwarf2/dw2-intermix.exp
13111 * gdb.dwarf2/dw2-lexical-block-bare.exp
13112 * gdb.dwarf2/dw2-linkage-name-trust.exp
13113 * gdb.dwarf2/dw2-minsym-in-cu.exp
13114 * gdb.dwarf2/dw2-noloc.exp
13115 * gdb.dwarf2/dw2-op-call.exp
13116 * gdb.dwarf2/dw2-op-out-param.exp
13117 * gdb.dwarf2/dw2-opt-structptr.exp
13118 * gdb.dwarf2/dw2-param-error.exp
13119 * gdb.dwarf2/dw2-producer.exp
13120 * gdb.dwarf2/dw2-ranges-base.exp
13121 * gdb.dwarf2/dw2-ref-missing-frame.exp
13122 * gdb.dwarf2/dw2-reg-undefined.exp
13123 * gdb.dwarf2/dw2-regno-invalid.exp
13124 * gdb.dwarf2/dw2-restore.exp
13125 * gdb.dwarf2/dw2-restrict.exp
13126 * gdb.dwarf2/dw2-single-line-discriminators.exp
13127 * gdb.dwarf2/dw2-strp.exp
13128 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13129 * gdb.dwarf2/dw2-unresolved.exp
13130 * gdb.dwarf2/dw2-var-zero-addr.exp
13131 * gdb.dwarf2/dw4-sig-types.exp
13132 * gdb.dwarf2/dwz.exp
13133 * gdb.dwarf2/dynarr-ptr.exp
13134 * gdb.dwarf2/enum-type.exp
13135 * gdb.dwarf2/gdb-index.exp
13136 * gdb.dwarf2/implptr-64bit.exp
13137 * gdb.dwarf2/implptr-optimized-out.exp
13138 * gdb.dwarf2/implptr.exp
13139 * gdb.dwarf2/implref-array.exp
13140 * gdb.dwarf2/implref-const.exp
13141 * gdb.dwarf2/implref-global.exp
13142 * gdb.dwarf2/implref-struct.exp
13143 * gdb.dwarf2/mac-fileno.exp
13144 * gdb.dwarf2/main-subprogram.exp
13145 * gdb.dwarf2/member-ptr-forwardref.exp
13146 * gdb.dwarf2/method-ptr.exp
13147 * gdb.dwarf2/missing-sig-type.exp
13148 * gdb.dwarf2/nonvar-access.exp
13149 * gdb.dwarf2/opaque-type-lookup.exp
13150 * gdb.dwarf2/pieces-optimized-out.exp
13151 * gdb.dwarf2/pieces.exp
13152 * gdb.dwarf2/pr10770.exp
13153 * gdb.dwarf2/pr13961.exp
13154 * gdb.dwarf2/staticvirtual.exp
13155 * gdb.dwarf2/subrange.exp
13156 * gdb.dwarf2/symtab-producer.exp
13157 * gdb.dwarf2/trace-crash.exp
13158 * gdb.dwarf2/typeddwarf.exp
13159 * gdb.dwarf2/valop.exp
13160 * gdb.dwarf2/watch-notconst.exp
13161 * gdb.fortran/array-element.exp
13162 * gdb.fortran/charset.exp
13163 * gdb.fortran/common-block.exp
13164 * gdb.fortran/complex.exp
13165 * gdb.fortran/derived-type-function.exp
13166 * gdb.fortran/derived-type.exp
13167 * gdb.fortran/logical.exp
13168 * gdb.fortran/module.exp
13169 * gdb.fortran/multi-dim.exp
13170 * gdb.fortran/nested-funcs.exp
13171 * gdb.fortran/print-formatted.exp
13172 * gdb.fortran/subarray.exp
13173 * gdb.fortran/vla-alloc-assoc.exp
13174 * gdb.fortran/vla-datatypes.exp
13175 * gdb.fortran/vla-history.exp
13176 * gdb.fortran/vla-ptr-info.exp
13177 * gdb.fortran/vla-ptype-sub.exp
13178 * gdb.fortran/vla-ptype.exp
13179 * gdb.fortran/vla-sizeof.exp
13180 * gdb.fortran/vla-type.exp
13181 * gdb.fortran/vla-value-sub-arbitrary.exp
13182 * gdb.fortran/vla-value-sub-finish.exp
13183 * gdb.fortran/vla-value-sub.exp
13184 * gdb.fortran/vla-value.exp
13185 * gdb.fortran/whatis_type.exp
13186 * gdb.go/chan.exp
13187 * gdb.go/handcall.exp
13188 * gdb.go/hello.exp
13189 * gdb.go/integers.exp
13190 * gdb.go/methods.exp
13191 * gdb.go/package.exp
13192 * gdb.go/strings.exp
13193 * gdb.go/types.exp
13194 * gdb.go/unsafe.exp
13195 * gdb.guile/scm-arch.exp
13196 * gdb.guile/scm-block.exp
13197 * gdb.guile/scm-breakpoint.exp
13198 * gdb.guile/scm-cmd.exp
13199 * gdb.guile/scm-disasm.exp
13200 * gdb.guile/scm-equal.exp
13201 * gdb.guile/scm-frame-args.exp
13202 * gdb.guile/scm-frame-inline.exp
13203 * gdb.guile/scm-frame.exp
13204 * gdb.guile/scm-iterator.exp
13205 * gdb.guile/scm-math.exp
13206 * gdb.guile/scm-objfile.exp
13207 * gdb.guile/scm-ports.exp
13208 * gdb.guile/scm-symbol.exp
13209 * gdb.guile/scm-symtab.exp
13210 * gdb.guile/scm-value-cc.exp
13211 * gdb.guile/types-module.exp
13212 * gdb.linespec/break-ask.exp
13213 * gdb.linespec/cpexplicit.exp
13214 * gdb.linespec/explicit.exp
13215 * gdb.linespec/keywords.exp
13216 * gdb.linespec/linespec.exp
13217 * gdb.linespec/ls-dollar.exp
13218 * gdb.linespec/ls-errs.exp
13219 * gdb.linespec/skip-two.exp
13220 * gdb.linespec/thread.exp
13221 * gdb.mi/mi-async.exp
13222 * gdb.mi/mi-basics.exp
13223 * gdb.mi/mi-break.exp
13224 * gdb.mi/mi-catch-load.exp
13225 * gdb.mi/mi-cli.exp
13226 * gdb.mi/mi-cmd-param-changed.exp
13227 * gdb.mi/mi-console.exp
13228 * gdb.mi/mi-detach.exp
13229 * gdb.mi/mi-disassemble.exp
13230 * gdb.mi/mi-eval.exp
13231 * gdb.mi/mi-file-transfer.exp
13232 * gdb.mi/mi-file.exp
13233 * gdb.mi/mi-fill-memory.exp
13234 * gdb.mi/mi-inheritance-syntax-error.exp
13235 * gdb.mi/mi-linespec-err-cp.exp
13236 * gdb.mi/mi-logging.exp
13237 * gdb.mi/mi-memory-changed.exp
13238 * gdb.mi/mi-read-memory.exp
13239 * gdb.mi/mi-record-changed.exp
13240 * gdb.mi/mi-reg-undefined.exp
13241 * gdb.mi/mi-regs.exp
13242 * gdb.mi/mi-return.exp
13243 * gdb.mi/mi-reverse.exp
13244 * gdb.mi/mi-simplerun.exp
13245 * gdb.mi/mi-solib.exp
13246 * gdb.mi/mi-stack.exp
13247 * gdb.mi/mi-stepi.exp
13248 * gdb.mi/mi-syn-frame.exp
13249 * gdb.mi/mi-until.exp
13250 * gdb.mi/mi-var-block.exp
13251 * gdb.mi/mi-var-child.exp
13252 * gdb.mi/mi-var-cmd.exp
13253 * gdb.mi/mi-var-cp.exp
13254 * gdb.mi/mi-var-display.exp
13255 * gdb.mi/mi-var-invalidate.exp
13256 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13257 * gdb.mi/mi-vla-fortran.exp
13258 * gdb.mi/mi-watch.exp
13259 * gdb.mi/mi2-var-child.exp
13260 * gdb.mi/user-selected-context-sync.exp
13261 * gdb.modula2/unbounded-array.exp
13262 * gdb.multi/dummy-frame-restore.exp
13263 * gdb.multi/multi-arch-exec.exp
13264 * gdb.multi/multi-arch.exp
13265 * gdb.multi/tids.exp
13266 * gdb.multi/watchpoint-multi.exp
13267 * gdb.opencl/callfuncs.exp
13268 * gdb.opencl/convs_casts.exp
13269 * gdb.opencl/datatypes.exp
13270 * gdb.opencl/operators.exp
13271 * gdb.opencl/vec_comps.exp
13272 * gdb.opt/clobbered-registers-O2.exp
13273 * gdb.opt/inline-break.exp
13274 * gdb.opt/inline-bt.exp
13275 * gdb.opt/inline-cmds.exp
13276 * gdb.opt/inline-locals.exp
13277 * gdb.pascal/case-insensitive-symbols.exp
13278 * gdb.pascal/floats.exp
13279 * gdb.pascal/gdb11492.exp
13280 * gdb.python/lib-types.exp
13281 * gdb.python/py-arch.exp
13282 * gdb.python/py-as-string.exp
13283 * gdb.python/py-bad-printers.exp
13284 * gdb.python/py-block.exp
13285 * gdb.python/py-breakpoint-create-fail.exp
13286 * gdb.python/py-breakpoint.exp
13287 * gdb.python/py-caller-is.exp
13288 * gdb.python/py-cmd.exp
13289 * gdb.python/py-explore-cc.exp
13290 * gdb.python/py-explore.exp
13291 * gdb.python/py-finish-breakpoint.exp
13292 * gdb.python/py-finish-breakpoint2.exp
13293 * gdb.python/py-frame-args.exp
13294 * gdb.python/py-frame-inline.exp
13295 * gdb.python/py-frame.exp
13296 * gdb.python/py-framefilter-mi.exp
13297 * gdb.python/py-infthread.exp
13298 * gdb.python/py-lazy-string.exp
13299 * gdb.python/py-linetable.exp
13300 * gdb.python/py-mi-events.exp
13301 * gdb.python/py-mi-objfile.exp
13302 * gdb.python/py-mi.exp
13303 * gdb.python/py-objfile.exp
13304 * gdb.python/py-pp-integral.exp
13305 * gdb.python/py-pp-maint.exp
13306 * gdb.python/py-pp-re-notag.exp
13307 * gdb.python/py-pp-registration.exp
13308 * gdb.python/py-recurse-unwind.exp
13309 * gdb.python/py-strfns.exp
13310 * gdb.python/py-symbol.exp
13311 * gdb.python/py-symtab.exp
13312 * gdb.python/py-sync-interp.exp
13313 * gdb.python/py-typeprint.exp
13314 * gdb.python/py-unwind-maint.exp
13315 * gdb.python/py-unwind.exp
13316 * gdb.python/py-value-cc.exp
13317 * gdb.python/py-xmethods.exp
13318 * gdb.reverse/amd64-tailcall-reverse.exp
13319 * gdb.reverse/break-precsave.exp
13320 * gdb.reverse/break-reverse.exp
13321 * gdb.reverse/consecutive-precsave.exp
13322 * gdb.reverse/consecutive-reverse.exp
13323 * gdb.reverse/finish-precsave.exp
13324 * gdb.reverse/finish-reverse-bkpt.exp
13325 * gdb.reverse/finish-reverse.exp
13326 * gdb.reverse/fstatat-reverse.exp
13327 * gdb.reverse/getresuid-reverse.exp
13328 * gdb.reverse/i386-precsave.exp
13329 * gdb.reverse/i386-reverse.exp
13330 * gdb.reverse/i386-sse-reverse.exp
13331 * gdb.reverse/i387-env-reverse.exp
13332 * gdb.reverse/i387-stack-reverse.exp
13333 * gdb.reverse/insn-reverse.exp
13334 * gdb.reverse/machinestate-precsave.exp
13335 * gdb.reverse/machinestate.exp
13336 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13337 * gdb.reverse/pipe-reverse.exp
13338 * gdb.reverse/readv-reverse.exp
13339 * gdb.reverse/recvmsg-reverse.exp
13340 * gdb.reverse/rerun-prec.exp
13341 * gdb.reverse/s390-mvcle.exp
13342 * gdb.reverse/step-precsave.exp
13343 * gdb.reverse/step-reverse.exp
13344 * gdb.reverse/time-reverse.exp
13345 * gdb.reverse/until-precsave.exp
13346 * gdb.reverse/until-reverse.exp
13347 * gdb.reverse/waitpid-reverse.exp
13348 * gdb.reverse/watch-precsave.exp
13349 * gdb.reverse/watch-reverse.exp
13350 * gdb.rust/generics.exp
13351 * gdb.rust/methods.exp
13352 * gdb.rust/modules.exp
13353 * gdb.rust/simple.exp
13354 * gdb.server/connect-with-no-symbol-file.exp
13355 * gdb.server/ext-attach.exp
13356 * gdb.server/ext-restart.exp
13357 * gdb.server/ext-wrapper.exp
13358 * gdb.server/file-transfer.exp
13359 * gdb.server/server-exec-info.exp
13360 * gdb.server/server-kill.exp
13361 * gdb.server/server-mon.exp
13362 * gdb.server/wrapper.exp
13363 * gdb.stabs/exclfwd.exp
13364 * gdb.stabs/gdb11479.exp
13365 * gdb.threads/clone-new-thread-event.exp
13366 * gdb.threads/corethreads.exp
13367 * gdb.threads/current-lwp-dead.exp
13368 * gdb.threads/dlopen-libpthread.exp
13369 * gdb.threads/gcore-thread.exp
13370 * gdb.threads/sigstep-threads.exp
13371 * gdb.threads/watchpoint-fork.exp
13372 * gdb.trace/actions-changed.exp
13373 * gdb.trace/backtrace.exp
13374 * gdb.trace/change-loc.exp
13375 * gdb.trace/circ.exp
13376 * gdb.trace/collection.exp
13377 * gdb.trace/disconnected-tracing.exp
13378 * gdb.trace/ftrace.exp
13379 * gdb.trace/mi-trace-frame-collected.exp
13380 * gdb.trace/mi-trace-unavailable.exp
13381 * gdb.trace/mi-traceframe-changed.exp
13382 * gdb.trace/mi-tsv-changed.exp
13383 * gdb.trace/no-attach-trace.exp
13384 * gdb.trace/passc-dyn.exp
13385 * gdb.trace/qtro.exp
13386 * gdb.trace/range-stepping.exp
13387 * gdb.trace/read-memory.exp
13388 * gdb.trace/save-trace.exp
13389 * gdb.trace/signal.exp
13390 * gdb.trace/status-stop.exp
13391 * gdb.trace/tfile.exp
13392 * gdb.trace/trace-break.exp
13393 * gdb.trace/trace-buffer-size.exp
13394 * gdb.trace/trace-condition.exp
13395 * gdb.trace/tracefile-pseudo-reg.exp
13396 * gdb.trace/tstatus.exp
13397 * gdb.trace/unavailable.exp
13398 * gdb.trace/while-dyn.exp
13399 * gdb.trace/while-stepping.exp
13400
34c41c68
DE
134012016-12-22 Doug Evans <xdje42@gmail.com>
13402
13403 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13404 and msymbols.
13405
16e69324
YQ
134062016-12-19 Yao Qi <yao.qi@linaro.org>
13407
13408 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13409 (test_with_self): Don't call do_steps_and_nexts, and remove
13410 code about stepping into xmalloc.
13411
f94f411b
YQ
134122016-12-09 Yao Qi <yao.qi@linaro.org>
13413
13414 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13415
134162016-12-09 Yao Qi <yao.qi@linaro.org>
13417
13418 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13419
f1b5deee
PA
134202016-12-09 Pedro Alves <palves@redhat.com>
13421
13422 * gdb.base/all-architectures-0.exp: New file.
13423 * gdb.base/all-architectures-1.exp: New file.
13424 * gdb.base/all-architectures-2.exp: New file.
13425 * gdb.base/all-architectures-3.exp: New file.
13426 * gdb.base/all-architectures-4.exp: New file.
13427 * gdb.base/all-architectures-5.exp: New file.
13428 * gdb.base/all-architectures-6.exp: New file.
13429 * gdb.base/all-architectures-7.exp: New file.
13430 * gdb.base/all-architectures.exp.in: New file.
13431
364ca42e
YQ
134322016-12-09 Yao Qi <yao.qi@linaro.org>
13433
13434 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13435
107c2d62
LM
134362016-12-02 Luis Machado <lgustavo@codesourcery.com>
13437
13438 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13439 possible.
13440 Remove useless pattern-matching code.
13441
df3ee9ca
PA
134422016-12-02 Pedro Alves <palves@redhat.com>
13443
13444 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13445 procedure.
13446 (top level): Call it.
13447
ec835369
PA
134482016-12-02 Pedro Alves <palves@redhat.com>
13449
13450 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13451 New procedure.
13452 (top level): Call it.
13453
01770bbd
PA
134542016-12-02 Pedro Alves <palves@redhat.com>
13455
13456 PR cli/20559
13457 * gdb.base/commands.exp (user_defined_command_args_eval): New
13458 procedure.
13459 (top level): Call it.
13460
008459ea
LM
134612016-12-02 Luis Machado <lgustavo@codesourcery.com>
13462
13463 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13464 timeout handling.
13465
0c1b455e
TT
134662016-12-02 Tom Tromey <tom@tromey.com>
13467
13468 * gdb.dwarf2/main-subprogram.c: New file.
13469 * gdb.dwarf2/main-subprogram.exp: New file.
13470
018572b8
LM
134712016-12-01 Luis Machado <lgustavo@codesourcery.com>
13472
13473 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13474 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13475 gdb_test_no_output for a couple of cases.
13476 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13477
84c93cd5
LM
134782016-12-01 Luis Machado <lgustavo@codesourcery.com>
13479
13480 Fix test names and standardize compilation error messages throughout
13481 the following files:
13482
13483 * gdb.ada/start.exp
13484 * gdb.arch/alpha-step.exp
13485 * gdb.arch/e500-prologue.exp
13486 * gdb.arch/ftrace-insn-reloc.exp
13487 * gdb.arch/gdb1291.exp
13488 * gdb.arch/gdb1431.exp
13489 * gdb.arch/gdb1558.exp
13490 * gdb.arch/i386-dr3-watch.exp
13491 * gdb.arch/i386-sse-stack-align.exp
13492 * gdb.arch/ia64-breakpoint-shadow.exp
13493 * gdb.arch/pa-nullify.exp
13494 * gdb.arch/powerpc-aix-prologue.exp
13495 * gdb.arch/thumb-bx-pc.exp
13496 * gdb.base/annota1.exp
13497 * gdb.base/annota3.exp
13498 * gdb.base/arrayidx.exp
13499 * gdb.base/assign.exp
13500 * gdb.base/attach.exp
13501 * gdb.base/auxv.exp
13502 * gdb.base/bang.exp
13503 * gdb.base/bfp-test.exp
13504 * gdb.base/bigcore.exp
13505 * gdb.base/bitfields2.exp
13506 * gdb.base/break-fun-addr.exp
13507 * gdb.base/break-probes.exp
13508 * gdb.base/call-rt-st.exp
13509 * gdb.base/callexit.exp
13510 * gdb.base/catch-fork-kill.exp
13511 * gdb.base/charset.exp
13512 * gdb.base/checkpoint.exp
13513 * gdb.base/comprdebug.exp
13514 * gdb.base/constvars.exp
13515 * gdb.base/coredump-filter.exp
13516 * gdb.base/cursal.exp
13517 * gdb.base/cvexpr.exp
13518 * gdb.base/detach.exp
13519 * gdb.base/display.exp
13520 * gdb.base/dmsym.exp
13521 * gdb.base/dprintf-pending.exp
13522 * gdb.base/dso2dso.exp
13523 * gdb.base/dtrace-probe.exp
13524 * gdb.base/dump.exp
13525 * gdb.base/enum_cond.exp
13526 * gdb.base/exe-lock.exp
13527 * gdb.base/exec-invalid-sysroot.exp
13528 * gdb.base/execl-update-breakpoints.exp
13529 * gdb.base/exprs.exp
13530 * gdb.base/fileio.exp
13531 * gdb.base/find.exp
13532 * gdb.base/finish.exp
13533 * gdb.base/fixsection.exp
13534 * gdb.base/foll-vfork.exp
13535 * gdb.base/frame-args.exp
13536 * gdb.base/gcore.exp
13537 * gdb.base/gdb1250.exp
13538 * gdb.base/global-var-nested-by-dso.exp
13539 * gdb.base/gnu-ifunc.exp
13540 * gdb.base/hashline1.exp
13541 * gdb.base/hashline2.exp
13542 * gdb.base/hashline3.exp
13543 * gdb.base/hbreak-in-shr-unsupported.exp
13544 * gdb.base/huge.exp
13545 * gdb.base/infcall-input.exp
13546 * gdb.base/info-fun.exp
13547 * gdb.base/info-shared.exp
13548 * gdb.base/jit-simple.exp
13549 * gdb.base/jit-so.exp
13550 * gdb.base/jit.exp
13551 * gdb.base/jump.exp
13552 * gdb.base/label.exp
13553 * gdb.base/lineinc.exp
13554 * gdb.base/logical.exp
13555 * gdb.base/longjmp.exp
13556 * gdb.base/macscp.exp
13557 * gdb.base/miscexprs.exp
13558 * gdb.base/new-ui-echo.exp
13559 * gdb.base/new-ui-pending-input.exp
13560 * gdb.base/new-ui.exp
13561 * gdb.base/nodebug.exp
13562 * gdb.base/nofield.exp
13563 * gdb.base/offsets.exp
13564 * gdb.base/overlays.exp
13565 * gdb.base/pending.exp
13566 * gdb.base/pointers.exp
13567 * gdb.base/pr11022.exp
13568 * gdb.base/printcmds.exp
13569 * gdb.base/prologue.exp
13570 * gdb.base/ptr-typedef.exp
13571 * gdb.base/realname-expand.exp
13572 * gdb.base/relativedebug.exp
13573 * gdb.base/relocate.exp
13574 * gdb.base/remote.exp
13575 * gdb.base/reread.exp
13576 * gdb.base/return2.exp
13577 * gdb.base/savedregs.exp
13578 * gdb.base/sep.exp
13579 * gdb.base/sepdebug.exp
13580 * gdb.base/sepsymtab.exp
13581 * gdb.base/set-inferior-tty.exp
13582 * gdb.base/setshow.exp
13583 * gdb.base/shlib-call.exp
13584 * gdb.base/sigaltstack.exp
13585 * gdb.base/siginfo-addr.exp
13586 * gdb.base/signals.exp
13587 * gdb.base/signull.exp
13588 * gdb.base/sigrepeat.exp
13589 * gdb.base/so-impl-ld.exp
13590 * gdb.base/solib-display.exp
13591 * gdb.base/solib-overlap.exp
13592 * gdb.base/solib-search.exp
13593 * gdb.base/solib-symbol.exp
13594 * gdb.base/structs.exp
13595 * gdb.base/structs2.exp
13596 * gdb.base/symtab-search-order.exp
13597 * gdb.base/twice.exp
13598 * gdb.base/unload.exp
13599 * gdb.base/varargs.exp
13600 * gdb.base/watchpoint-solib.exp
13601 * gdb.base/watchpoint.exp
13602 * gdb.base/whatis.exp
13603 * gdb.base/wrong_frame_bt_full.exp
13604 * gdb.btrace/dlopen.exp
13605 * gdb.cell/ea-standalone.exp
13606 * gdb.cell/ea-test.exp
13607 * gdb.cp/dispcxx.exp
13608 * gdb.cp/gdb2384.exp
13609 * gdb.cp/method2.exp
13610 * gdb.cp/nextoverthrow.exp
13611 * gdb.cp/pr10728.exp
13612 * gdb.disasm/am33.exp
13613 * gdb.disasm/h8300s.exp
13614 * gdb.disasm/mn10300.exp
13615 * gdb.disasm/sh3.exp
13616 * gdb.dwarf2/dw2-dir-file-name.exp
13617 * gdb.fortran/complex.exp
13618 * gdb.fortran/library-module.exp
13619 * gdb.guile/scm-pretty-print.exp
13620 * gdb.guile/scm-symbol.exp
13621 * gdb.guile/scm-type.exp
13622 * gdb.guile/scm-value.exp
13623 * gdb.linespec/linespec.exp
13624 * gdb.mi/gdb701.exp
13625 * gdb.mi/gdb792.exp
13626 * gdb.mi/mi-breakpoint-changed.exp
13627 * gdb.mi/mi-dprintf-pending.exp
13628 * gdb.mi/mi-dprintf.exp
13629 * gdb.mi/mi-exit-code.exp
13630 * gdb.mi/mi-pending.exp
13631 * gdb.mi/mi-solib.exp
13632 * gdb.mi/new-ui-mi-sync.exp
13633 * gdb.mi/pr11022.exp
13634 * gdb.mi/user-selected-context-sync.exp
13635 * gdb.opt/solib-intra-step.exp
13636 * gdb.python/py-events.exp
13637 * gdb.python/py-finish-breakpoint.exp
13638 * gdb.python/py-mi.exp
13639 * gdb.python/py-prettyprint.exp
13640 * gdb.python/py-shared.exp
13641 * gdb.python/py-symbol.exp
13642 * gdb.python/py-template.exp
13643 * gdb.python/py-type.exp
13644 * gdb.python/py-value.exp
13645 * gdb.reverse/solib-precsave.exp
13646 * gdb.reverse/solib-reverse.exp
13647 * gdb.server/solib-list.exp
13648 * gdb.stabs/weird.exp
13649 * gdb.threads/reconnect-signal.exp
13650 * gdb.threads/stepi-random-signal.exp
13651 * gdb.trace/actions.exp
13652 * gdb.trace/ax.exp
13653 * gdb.trace/backtrace.exp
13654 * gdb.trace/change-loc.exp
13655 * gdb.trace/deltrace.exp
13656 * gdb.trace/ftrace-lock.exp
13657 * gdb.trace/ftrace.exp
13658 * gdb.trace/infotrace.exp
13659 * gdb.trace/mi-tracepoint-changed.exp
13660 * gdb.trace/packetlen.exp
13661 * gdb.trace/passcount.exp
13662 * gdb.trace/pending.exp
13663 * gdb.trace/range-stepping.exp
13664 * gdb.trace/report.exp
13665 * gdb.trace/stap-trace.exp
13666 * gdb.trace/tfind.exp
13667 * gdb.trace/trace-break.exp
13668 * gdb.trace/trace-condition.exp
13669 * gdb.trace/trace-enable-disable.exp
13670 * gdb.trace/trace-mt.exp
13671 * gdb.trace/tracecmd.exp
13672 * gdb.trace/tspeed.exp
13673 * gdb.trace/tsv.exp
13674 * lib/perftest.exp
13675
fb9feb35
LM
136762016-12-01 Luis Machado <lgustavo@codesourcery.com>
13677
13678 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13679 with gdb_test_no_output.
13680 Use command as test name.
13681
cd2ddb6c
LM
136822016-12-01 Luis Machado <lgustavo@codesourcery.com>
13683
13684 Fix test names starting with uppercase throughout the files.
13685
13686 * gdb.ada/assign_1.exp
13687 * gdb.ada/boolean_expr.exp
13688 * gdb.base/arrayidx.exp
13689 * gdb.base/del.exp
13690 * gdb.base/gcore-buffer-overflow.exp
13691 * gdb.base/testenv.exp
13692 * gdb.compile/compile.exp
13693 * gdb.python/py-framefilter-invalidarg.exp
13694 * gdb.python/py-framefilter.exp
13695
bb95117e
LM
136962016-12-01 Luis Machado <lgustavo@codesourcery.com>
13697
13698 Fix test names starting with uppercase throughout the files.
13699
13700 * gdb.ada/array_return.exp
13701 * gdb.ada/expr_delims.exp
13702 * gdb.ada/mi_dyn_arr.exp
13703 * gdb.ada/mi_interface.exp
13704 * gdb.ada/mi_var_array.exp
13705 * gdb.ada/watch_arg.exp
13706 * gdb.arch/alpha-step.exp
13707 * gdb.arch/altivec-regs.exp
13708 * gdb.arch/e500-regs.exp
13709 * gdb.arch/powerpc-d128-regs.exp
13710 * gdb.base/arrayidx.exp
13711 * gdb.base/break.exp
13712 * gdb.base/checkpoint.exp
13713 * gdb.base/debug-expr.exp
13714 * gdb.base/dmsym.exp
13715 * gdb.base/radix.exp
13716 * gdb.base/sepdebug.exp
13717 * gdb.base/testenv.exp
13718 * gdb.base/watch_thread_num.exp
13719 * gdb.base/watchpoint-cond-gone.exp
13720 * gdb.cell/break.exp
13721 * gdb.cell/ea-cache.exp
13722 * gdb.compile/compile.exp
13723 * gdb.cp/gdb2495.exp
13724 * gdb.gdb/selftest.exp
13725 * gdb.gdb/xfullpath.exp
13726 * gdb.go/hello.exp
13727 * gdb.go/integers.exp
13728 * gdb.objc/basicclass.exp
13729 * gdb.pascal/hello.exp
13730 * gdb.pascal/integers.exp
13731 * gdb.python/py-breakpoint.exp
13732 * gdb.python/py-cmd.exp
13733 * gdb.python/py-linetable.exp
13734 * gdb.python/py-xmethods.exp
13735 * gdb.python/python.exp
13736 * gdb.reverse/consecutive-precsave.exp
13737 * gdb.reverse/finish-precsave.exp
13738 * gdb.reverse/i386-precsave.exp
13739 * gdb.reverse/machinestate-precsave.exp
13740 * gdb.reverse/sigall-precsave.exp
13741 * gdb.reverse/solib-precsave.exp
13742 * gdb.reverse/step-precsave.exp
13743 * gdb.reverse/until-precsave.exp
13744 * gdb.reverse/watch-precsave.exp
13745 * gdb.threads/leader-exit.exp
13746 * gdb.threads/pthreads.exp
13747 * gdb.threads/wp-replication.exp
13748 * gdb.trace/actions.exp
13749 * gdb.trace/mi-tsv-changed.exp
13750 * gdb.trace/tsv.exp
13751
de97fdd4
LM
137522016-12-01 Luis Machado <lgustavo@codesourcery.com>
13753
13754 Fix test names starting with uppercase throughout the files.
13755
13756 * gdb.arch/i386-bp_permanent.exp
13757 * gdb.arch/i386-gnu-cfi.exp
13758 * gdb.base/disasm-end-cu.exp
13759 * gdb.base/macscp.exp
13760 * gdb.base/pending.exp
13761 * gdb.base/watch_thread_num.exp
13762 * gdb.cp/exception.exp
13763 * gdb.cp/gdb2495.exp
13764 * gdb.cp/local.exp
13765 * gdb.python/py-evsignal.exp
13766 * gdb.python/python.exp
13767 * gdb.trace/tracecmd.exp
13768
9f058c10
LM
137692016-12-01 Luis Machado <lgustavo@codesourcery.com>
13770
13771 Fix test names starting with uppercase throughout the files.
13772
13773 * gdb.base/charset.exp
13774 * gdb.base/eval.exp
13775 * gdb.base/multi-forks.exp
13776 * gdb.guile/scm-progspace.exp
13777 * gdb.opencl/datatypes.exp
13778 * gdb.python/py-block.exp
13779 * gdb.python/py-function.exp
13780 * gdb.python/py-symbol.exp
13781 * gdb.python/py-symtab.exp
13782 * gdb.python/py-xmethods.exp
13783 * gdb.reverse/break-precsave.exp
13784 * gdb.reverse/break-reverse.exp
13785 * gdb.reverse/consecutive-precsave.exp
13786 * gdb.reverse/consecutive-reverse.exp
13787 * gdb.reverse/finish-precsave.exp
13788 * gdb.reverse/finish-reverse-bkpt.exp
13789 * gdb.reverse/finish-reverse.exp
13790 * gdb.reverse/fstatat-reverse.exp
13791 * gdb.reverse/getresuid-reverse.exp
13792 * gdb.reverse/i386-precsave.exp
13793 * gdb.reverse/i386-reverse.exp
13794 * gdb.reverse/i386-sse-reverse.exp
13795 * gdb.reverse/i387-stack-reverse.exp
13796 * gdb.reverse/insn-reverse.exp
13797 * gdb.reverse/machinestate-precsave.exp
13798 * gdb.reverse/machinestate.exp
13799 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13800 * gdb.reverse/pipe-reverse.exp
13801 * gdb.reverse/readv-reverse.exp
13802 * gdb.reverse/recvmsg-reverse.exp
13803 * gdb.reverse/rerun-prec.exp
13804 * gdb.reverse/s390-mvcle.exp
13805 * gdb.reverse/sigall-precsave.exp
13806 * gdb.reverse/sigall-reverse.exp
13807 * gdb.reverse/solib-precsave.exp
13808 * gdb.reverse/solib-reverse.exp
13809 * gdb.reverse/step-precsave.exp
13810 * gdb.reverse/step-reverse.exp
13811 * gdb.reverse/time-reverse.exp
13812 * gdb.reverse/until-precsave.exp
13813 * gdb.reverse/until-reverse.exp
13814 * gdb.reverse/waitpid-reverse.exp
13815 * gdb.reverse/watch-precsave.exp
13816 * gdb.reverse/watch-reverse.exp
13817
cdc7edd7
LM
138182016-12-01 Luis Machado <lgustavo@codesourcery.com>
13819
13820 Fix test names starting with uppercase throughout the files.
13821
13822 * gdb.arch/i386-mpx-simple_segv.exp
13823 * gdb.arch/i386-mpx.exp
13824 * gdb.arch/i386-permbkpt.exp
13825 * gdb.arch/pa-nullify.exp
13826 * gdb.arch/powerpc-d128-regs.exp
13827 * gdb.arch/vsx-regs.exp
13828 * gdb.base/bfp-test.exp
13829 * gdb.base/break.exp
13830 * gdb.base/breakpoint-shadow.exp
13831 * gdb.base/callfuncs.exp
13832 * gdb.base/charset.exp
13833 * gdb.base/commands.exp
13834 * gdb.base/completion.exp
13835 * gdb.base/dfp-test.exp
13836 * gdb.base/echo.exp
13837 * gdb.base/ending-run.exp
13838 * gdb.base/eval.exp
13839 * gdb.base/expand-psymtabs.exp
13840 * gdb.base/float128.exp
13841 * gdb.base/floatn.exp
13842 * gdb.base/foll-exec-mode.exp
13843 * gdb.base/gdb1056.exp
13844 * gdb.base/gdb11531.exp
13845 * gdb.base/kill-after-signal.exp
13846 * gdb.base/multi-forks.exp
13847 * gdb.base/overlays.exp
13848 * gdb.base/pending.exp
13849 * gdb.base/sepdebug.exp
13850 * gdb.base/testenv.exp
13851 * gdb.base/valgrind-db-attach.exp
13852 * gdb.base/watch_thread_num.exp
13853 * gdb.base/watchpoint-cond-gone.exp
13854 * gdb.base/watchpoint.exp
13855 * gdb.base/watchpoints.exp
13856 * gdb.cp/arg-reference.exp
13857 * gdb.cp/baseenum.exp
13858 * gdb.cp/operator.exp
13859 * gdb.cp/shadow.exp
13860 * gdb.dwarf2/dw2-op-out-param.exp
13861 * gdb.dwarf2/dw2-reg-undefined.exp
13862 * gdb.go/chan.exp
13863 * gdb.go/hello.exp
13864 * gdb.go/integers.exp
13865 * gdb.go/methods.exp
13866 * gdb.go/package.exp
13867 * gdb.guile/scm-parameter.exp
13868 * gdb.guile/scm-progspace.exp
13869 * gdb.guile/scm-value.exp
13870 * gdb.mi/mi-pending.exp
13871 * gdb.mi/user-selected-context-sync.exp
13872 * gdb.multi/multi-attach.exp
13873 * gdb.multi/tids.exp
13874 * gdb.opt/clobbered-registers-O2.exp
13875 * gdb.pascal/floats.exp
13876 * gdb.pascal/integers.exp
13877 * gdb.python/py-block.exp
13878 * gdb.python/py-events.exp
13879 * gdb.python/py-parameter.exp
13880 * gdb.python/py-symbol.exp
13881 * gdb.python/py-symtab.exp
13882 * gdb.python/py-type.exp
13883 * gdb.python/py-value.exp
13884 * gdb.python/py-xmethods.exp
13885 * gdb.python/python.exp
13886 * gdb.reverse/break-precsave.exp
13887 * gdb.reverse/consecutive-precsave.exp
13888 * gdb.reverse/finish-precsave.exp
13889 * gdb.reverse/i386-precsave.exp
13890 * gdb.reverse/machinestate-precsave.exp
13891 * gdb.reverse/sigall-precsave.exp
13892 * gdb.reverse/solib-precsave.exp
13893 * gdb.reverse/step-precsave.exp
13894 * gdb.reverse/until-precsave.exp
13895 * gdb.reverse/watch-precsave.exp
13896 * gdb.server/ext-attach.exp
13897 * gdb.server/ext-restart.exp
13898 * gdb.server/ext-run.exp
13899 * gdb.server/ext-wrapper.exp
13900 * gdb.stabs/gdb11479.exp
13901 * gdb.stabs/weird.exp
13902 * gdb.threads/attach-many-short-lived-threads.exp
13903 * gdb.threads/kill.exp
13904 * gdb.threads/watchpoint-fork.exp
13905
bc6c7af4
LM
139062016-12-01 Luis Machado <lgustavo@codesourcery.com>
13907
13908 Fix test names starting with uppercase throughout all the files below.
13909
13910 * gdb.ada/array_return.exp
13911 * gdb.ada/catch_ex.exp
13912 * gdb.ada/info_exc.exp
13913 * gdb.ada/mi_catch_ex.exp
13914 * gdb.ada/mi_dyn_arr.exp
13915 * gdb.ada/mi_ex_cond.exp
13916 * gdb.ada/mi_exc_info.exp
13917 * gdb.ada/mi_interface.exp
13918 * gdb.ada/mi_task_arg.exp
13919 * gdb.ada/mi_task_info.exp
13920 * gdb.ada/mi_var_array.exp
13921 * gdb.arch/alpha-step.exp
13922 * gdb.arch/amd64-disp-step.exp
13923 * gdb.arch/arm-disp-step.exp
13924 * gdb.arch/disp-step-insn-reloc.exp
13925 * gdb.arch/e500-prologue.exp
13926 * gdb.arch/ftrace-insn-reloc.exp
13927 * gdb.arch/gdb1558.exp
13928 * gdb.arch/i386-bp_permanent.exp
13929 * gdb.arch/i386-disp-step.exp
13930 * gdb.arch/i386-float.exp
13931 * gdb.arch/i386-gnu-cfi.exp
13932 * gdb.arch/ia64-breakpoint-shadow.exp
13933 * gdb.arch/mips16-thunks.exp
13934 * gdb.arch/pa-nullify.exp
13935 * gdb.arch/powerpc-aix-prologue.exp
13936 * gdb.arch/powerpc-power.exp
13937 * gdb.arch/ppc-dfp.exp
13938 * gdb.arch/s390-tdbregs.exp
13939 * gdb.arch/spu-info.exp
13940 * gdb.arch/spu-ls.exp
13941 * gdb.arch/thumb-bx-pc.exp
13942 * gdb.base/advance.exp
13943 * gdb.base/annota-input-while-running.exp
13944 * gdb.base/arrayidx.exp
13945 * gdb.base/asmlabel.exp
13946 * gdb.base/async.exp
13947 * gdb.base/attach-wait-input.exp
13948 * gdb.base/auto-connect-native-target.exp
13949 * gdb.base/batch-preserve-term-settings.exp
13950 * gdb.base/bfp-test.exp
13951 * gdb.base/bigcore.exp
13952 * gdb.base/bp-permanent.exp
13953 * gdb.base/break-always.exp
13954 * gdb.base/break-fun-addr.exp
13955 * gdb.base/break-idempotent.exp
13956 * gdb.base/break-main-file-remove-fail.exp
13957 * gdb.base/break-probes.exp
13958 * gdb.base/break-unload-file.exp
13959 * gdb.base/break.exp
13960 * gdb.base/call-ar-st.exp
13961 * gdb.base/call-rt-st.exp
13962 * gdb.base/call-sc.exp
13963 * gdb.base/call-signal-resume.exp
13964 * gdb.base/call-strs.exp
13965 * gdb.base/callexit.exp
13966 * gdb.base/callfuncs.exp
13967 * gdb.base/catch-gdb-caused-signals.exp
13968 * gdb.base/catch-signal-siginfo-cond.exp
13969 * gdb.base/catch-syscall.exp
13970 * gdb.base/compare-sections.exp
13971 * gdb.base/cond-eval-mode.exp
13972 * gdb.base/condbreak-call-false.exp
13973 * gdb.base/consecutive-step-over.exp
13974 * gdb.base/cursal.exp
13975 * gdb.base/disabled-location.exp
13976 * gdb.base/disasm-end-cu.exp
13977 * gdb.base/display.exp
13978 * gdb.base/double-prompt-target-event-error.exp
13979 * gdb.base/dprintf-bp-same-addr.exp
13980 * gdb.base/dprintf-detach.exp
13981 * gdb.base/dprintf-next.exp
13982 * gdb.base/dprintf-non-stop.exp
13983 * gdb.base/dprintf-pending.exp
13984 * gdb.base/dso2dso.exp
13985 * gdb.base/ending-run.exp
13986 * gdb.base/enum_cond.exp
13987 * gdb.base/examine-backward.exp
13988 * gdb.base/exe-lock.exp
13989 * gdb.base/exec-invalid-sysroot.exp
13990 * gdb.base/execl-update-breakpoints.exp
13991 * gdb.base/execution-termios.exp
13992 * gdb.base/fileio.exp
13993 * gdb.base/fixsection.exp
13994 * gdb.base/foll-exec-mode.exp
13995 * gdb.base/foll-exec.exp
13996 * gdb.base/fork-running-state.exp
13997 * gdb.base/frame-args.exp
13998 * gdb.base/fullpath-expand.exp
13999 * gdb.base/func-ptr.exp
14000 * gdb.base/gcore-relro-pie.exp
14001 * gdb.base/gdb1090.exp
14002 * gdb.base/gdb1555.exp
14003 * gdb.base/global-var-nested-by-dso.exp
14004 * gdb.base/gnu-ifunc.exp
14005 * gdb.base/hbreak-in-shr-unsupported.exp
14006 * gdb.base/hbreak-unmapped.exp
14007 * gdb.base/hook-stop.exp
14008 * gdb.base/infcall-input.exp
14009 * gdb.base/info-fun.exp
14010 * gdb.base/info-shared.exp
14011 * gdb.base/interrupt-noterm.exp
14012 * gdb.base/jit-so.exp
14013 * gdb.base/jit.exp
14014 * gdb.base/line-symtabs.exp
14015 * gdb.base/list.exp
14016 * gdb.base/longjmp.exp
14017 * gdb.base/macscp.exp
14018 * gdb.base/max-value-size.exp
14019 * gdb.base/nodebug.exp
14020 * gdb.base/nofield.exp
14021 * gdb.base/overlays.exp
14022 * gdb.base/paginate-after-ctrl-c-running.exp
14023 * gdb.base/paginate-bg-execution.exp
14024 * gdb.base/paginate-inferior-exit.exp
14025 * gdb.base/pending.exp
14026 * gdb.base/pr11022.exp
14027 * gdb.base/printcmds.exp
14028 * gdb.base/ptr-typedef.exp
14029 * gdb.base/ptype.exp
14030 * gdb.base/randomize.exp
14031 * gdb.base/range-stepping.exp
14032 * gdb.base/realname-expand.exp
14033 * gdb.base/relativedebug.exp
14034 * gdb.base/remote.exp
14035 * gdb.base/savedregs.exp
14036 * gdb.base/sepdebug.exp
14037 * gdb.base/set-noassign.exp
14038 * gdb.base/shlib-call.exp
14039 * gdb.base/shreloc.exp
14040 * gdb.base/sigaltstack.exp
14041 * gdb.base/sigbpt.exp
14042 * gdb.base/siginfo-addr.exp
14043 * gdb.base/siginfo-obj.exp
14044 * gdb.base/siginfo-thread.exp
14045 * gdb.base/signest.exp
14046 * gdb.base/signull.exp
14047 * gdb.base/sigrepeat.exp
14048 * gdb.base/skip.exp
14049 * gdb.base/so-impl-ld.exp
14050 * gdb.base/solib-corrupted.exp
14051 * gdb.base/solib-disc.exp
14052 * gdb.base/solib-display.exp
14053 * gdb.base/solib-overlap.exp
14054 * gdb.base/solib-search.exp
14055 * gdb.base/solib-symbol.exp
14056 * gdb.base/source-execution.exp
14057 * gdb.base/sss-bp-on-user-bp-2.exp
14058 * gdb.base/sss-bp-on-user-bp.exp
14059 * gdb.base/stack-checking.exp
14060 * gdb.base/stale-infcall.exp
14061 * gdb.base/step-break.exp
14062 * gdb.base/step-line.exp
14063 * gdb.base/step-over-exit.exp
14064 * gdb.base/step-test.exp
14065 * gdb.base/structs.exp
14066 * gdb.base/sym-file.exp
14067 * gdb.base/symtab-search-order.exp
14068 * gdb.base/term.exp
14069 * gdb.base/type-opaque.exp
14070 * gdb.base/unload.exp
14071 * gdb.base/until-nodebug.exp
14072 * gdb.base/until.exp
14073 * gdb.base/unwindonsignal.exp
14074 * gdb.base/watch-cond.exp
14075 * gdb.base/watch-non-mem.exp
14076 * gdb.base/watch_thread_num.exp
14077 * gdb.base/watchpoint-reuse-slot.exp
14078 * gdb.base/watchpoint-solib.exp
14079 * gdb.base/watchpoint.exp
14080 * gdb.btrace/dlopen.exp
14081 * gdb.cell/arch.exp
14082 * gdb.cell/break.exp
14083 * gdb.cell/bt.exp
14084 * gdb.cell/core.exp
14085 * gdb.cell/data.exp
14086 * gdb.cell/dwarfaddr.exp
14087 * gdb.cell/ea-cache.exp
14088 * gdb.cell/ea-standalone.exp
14089 * gdb.cell/ea-test.exp
14090 * gdb.cell/f-regs.exp
14091 * gdb.cell/fork.exp
14092 * gdb.cell/gcore.exp
14093 * gdb.cell/mem-access.exp
14094 * gdb.cell/ptype.exp
14095 * gdb.cell/registers.exp
14096 * gdb.cell/sizeof.exp
14097 * gdb.cell/solib-symbol.exp
14098 * gdb.cell/solib.exp
14099 * gdb.compile/compile-tls.exp
14100 * gdb.cp/exception.exp
14101 * gdb.cp/gdb2495.exp
14102 * gdb.cp/local.exp
14103 * gdb.cp/mb-inline.exp
14104 * gdb.cp/mb-templates.exp
14105 * gdb.cp/pr10687.exp
14106 * gdb.cp/pr9167.exp
14107 * gdb.cp/scope-err.exp
14108 * gdb.cp/templates.exp
14109 * gdb.cp/virtfunc.exp
14110 * gdb.dwarf2/dw2-dir-file-name.exp
14111 * gdb.dwarf2/dw2-single-line-discriminators.exp
14112 * gdb.fortran/complex.exp
14113 * gdb.fortran/library-module.exp
14114 * gdb.guile/guile.exp
14115 * gdb.guile/scm-cmd.exp
14116 * gdb.guile/scm-frame-inline.exp
14117 * gdb.guile/scm-objfile.exp
14118 * gdb.guile/scm-pretty-print.exp
14119 * gdb.guile/scm-symbol.exp
14120 * gdb.guile/scm-type.exp
14121 * gdb.guile/scm-value.exp
14122 * gdb.linespec/keywords.exp
14123 * gdb.linespec/ls-errs.exp
14124 * gdb.linespec/macro-relative.exp
14125 * gdb.linespec/thread.exp
14126 * gdb.mi/mi-breakpoint-changed.exp
14127 * gdb.mi/mi-dprintf-pending.exp
14128 * gdb.mi/mi-fullname-deleted.exp
14129 * gdb.mi/mi-logging.exp
14130 * gdb.mi/mi-pending.exp
14131 * gdb.mi/mi-solib.exp
14132 * gdb.mi/new-ui-mi-sync.exp
14133 * gdb.mi/user-selected-context-sync.exp
14134 * gdb.multi/dummy-frame-restore.exp
14135 * gdb.multi/multi-arch-exec.exp
14136 * gdb.multi/remove-inferiors.exp
14137 * gdb.multi/watchpoint-multi-exit.exp
14138 * gdb.opt/solib-intra-step.exp
14139 * gdb.perf/backtrace.exp
14140 * gdb.perf/single-step.exp
14141 * gdb.perf/skip-command.exp
14142 * gdb.perf/skip-prologue.exp
14143 * gdb.perf/solib.exp
14144 * gdb.python/lib-types.exp
14145 * gdb.python/py-as-string.exp
14146 * gdb.python/py-bad-printers.exp
14147 * gdb.python/py-block.exp
14148 * gdb.python/py-breakpoint.exp
14149 * gdb.python/py-cmd.exp
14150 * gdb.python/py-events.exp
14151 * gdb.python/py-evthreads.exp
14152 * gdb.python/py-finish-breakpoint.exp
14153 * gdb.python/py-finish-breakpoint2.exp
14154 * gdb.python/py-frame-inline.exp
14155 * gdb.python/py-frame.exp
14156 * gdb.python/py-inferior.exp
14157 * gdb.python/py-infthread.exp
14158 * gdb.python/py-mi.exp
14159 * gdb.python/py-objfile.exp
14160 * gdb.python/py-pp-maint.exp
14161 * gdb.python/py-pp-registration.exp
14162 * gdb.python/py-prettyprint.exp
14163 * gdb.python/py-recurse-unwind.exp
14164 * gdb.python/py-shared.exp
14165 * gdb.python/py-symbol.exp
14166 * gdb.python/py-symtab.exp
14167 * gdb.python/py-template.exp
14168 * gdb.python/py-type.exp
14169 * gdb.python/py-unwind-maint.exp
14170 * gdb.python/py-unwind.exp
14171 * gdb.python/py-value.exp
14172 * gdb.python/python.exp
14173 * gdb.reverse/finish-reverse-bkpt.exp
14174 * gdb.reverse/insn-reverse.exp
14175 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14176 * gdb.reverse/solib-precsave.exp
14177 * gdb.reverse/solib-reverse.exp
14178 * gdb.stabs/gdb11479.exp
14179 * gdb.stabs/weird.exp
14180 * gdb.threads/fork-child-threads.exp
14181 * gdb.threads/fork-plus-threads.exp
14182 * gdb.threads/fork-thread-pending.exp
14183 * gdb.threads/forking-threads-plus-breakpoint.exp
14184 * gdb.threads/hand-call-in-threads.exp
14185 * gdb.threads/interrupted-hand-call.exp
14186 * gdb.threads/linux-dp.exp
14187 * gdb.threads/local-watch-wrong-thread.exp
14188 * gdb.threads/next-while-other-thread-longjmps.exp
14189 * gdb.threads/non-ldr-exit.exp
14190 * gdb.threads/pending-step.exp
14191 * gdb.threads/print-threads.exp
14192 * gdb.threads/process-dies-while-detaching.exp
14193 * gdb.threads/process-dies-while-handling-bp.exp
14194 * gdb.threads/pthreads.exp
14195 * gdb.threads/queue-signal.exp
14196 * gdb.threads/reconnect-signal.exp
14197 * gdb.threads/signal-command-handle-nopass.exp
14198 * gdb.threads/signal-command-multiple-signals-pending.exp
14199 * gdb.threads/signal-delivered-right-thread.exp
14200 * gdb.threads/signal-sigtrap.exp
14201 * gdb.threads/sigthread.exp
14202 * gdb.threads/staticthreads.exp
14203 * gdb.threads/stepi-random-signal.exp
14204 * gdb.threads/thread-unwindonsignal.exp
14205 * gdb.threads/thread_check.exp
14206 * gdb.threads/thread_events.exp
14207 * gdb.threads/tid-reuse.exp
14208 * gdb.threads/tls-nodebug.exp
14209 * gdb.threads/tls-shared.exp
14210 * gdb.threads/tls-so_extern.exp
14211 * gdb.threads/tls.exp
14212 * gdb.threads/wp-replication.exp
14213 * gdb.trace/actions-changed.exp
14214 * gdb.trace/actions.exp
14215 * gdb.trace/backtrace.exp
14216 * gdb.trace/change-loc.exp
14217 * gdb.trace/collection.exp
14218 * gdb.trace/deltrace.exp
14219 * gdb.trace/disconnected-tracing.exp
14220 * gdb.trace/entry-values.exp
14221 * gdb.trace/ftrace-lock.exp
14222 * gdb.trace/ftrace.exp
14223 * gdb.trace/infotrace.exp
14224 * gdb.trace/mi-trace-frame-collected.exp
14225 * gdb.trace/mi-trace-unavailable.exp
14226 * gdb.trace/mi-traceframe-changed.exp
14227 * gdb.trace/mi-tracepoint-changed.exp
14228 * gdb.trace/mi-tsv-changed.exp
14229 * gdb.trace/no-attach-trace.exp
14230 * gdb.trace/packetlen.exp
14231 * gdb.trace/passc-dyn.exp
14232 * gdb.trace/passcount.exp
14233 * gdb.trace/pending.exp
14234 * gdb.trace/pr16508.exp
14235 * gdb.trace/qtro.exp
14236 * gdb.trace/range-stepping.exp
14237 * gdb.trace/read-memory.exp
14238 * gdb.trace/report.exp
14239 * gdb.trace/save-trace.exp
14240 * gdb.trace/signal.exp
14241 * gdb.trace/stap-trace.exp
14242 * gdb.trace/status-stop.exp
14243 * gdb.trace/strace.exp
14244 * gdb.trace/tfile.exp
14245 * gdb.trace/tfind.exp
14246 * gdb.trace/trace-break.exp
14247 * gdb.trace/trace-condition.exp
14248 * gdb.trace/trace-enable-disable.exp
14249 * gdb.trace/trace-mt.exp
14250 * gdb.trace/tracecmd.exp
14251 * gdb.trace/tracefile-pseudo-reg.exp
14252 * gdb.trace/tspeed.exp
14253 * gdb.trace/tstatus.exp
14254 * gdb.trace/tsv.exp
14255 * gdb.trace/unavailable.exp
14256 * gdb.trace/while-dyn.exp
14257 * gdb.trace/while-stepping.exp
14258 * lib/gdb-guile.exp
14259 * lib/gdb.exp
14260 * lib/mi-support.exp
14261 * lib/pascal.exp
14262 * lib/perftest.exp
14263 * lib/prelink-support.exp
14264 * lib/selftest-support.exp
14265
ad02e4fe
SM
142662016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14267
14268 * Makefile.in: Include disable-implicit-rules.mk.
14269
22347e55
AA
142702016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14271
14272 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14273 non-byte-aligned bit fields.
14274
da5b30da
AA
142752016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14276
14277 PR gdb/12616
14278 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14279 respects the DW_AT_data_bit_offset attribute.
14280
b593ecca
SM
142812016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14282
14283 * gdb.base/default.exp: Fix output of "set language".
14284
3b165252
SM
142852016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14286
14287 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14288 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14289 make.
14290 * configure.ac: Remove checks for the make program.
14291 * configure: Re-generate.
14292
1a2f3d7f
KB
142932016-11-16 Kevin Buettner <kevinb@redhat.com>
14294
14295 * gdb.python/py-recurse-unwind.c (main): Add loop.
14296 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14297 to read_register() and gdb.parse_and_eval(). Make each code
14298 call a separate case that can be individually tested.
14299 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14300 proc. Call cont_and_backtrace for each of the code paths that
14301 we want to test in the unwinder.
14302
b7f38fda
AA
143032016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14304
14305 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14306 the definition of struct S.
14307
1f8db343
CM
143082016-11-11 Catherine Moore <clm@codesourcery.com>
14309
14310 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14311
fad0c9fb
PA
143122016-11-09 Pedro Alves <palves@redhat.com>
14313
14314 * gdb.base/commands.exp (runto_or_return): New procedure.
14315 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14316 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14317 (progvar_simple_while_test, progvar_complex_if_while_test)
14318 (if_while_breakpoint_command_test)
14319 (infrun_breakpoint_command_test, breakpoint_command_test)
14320 (user_defined_command_test, watchpoint_command_test)
14321 (test_command_prompt_position, redefine_hook_test)
14322 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14323 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14324 multi_line_input and multi_line. Remove gdb_expect and
14325 gdb_stop_suppressing_tests uses.
14326 * lib/gdb.exp (valnum_re): New global.
14327 (multi_line_input): New procedure.
14328
8354c62c
SM
143292016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14330
14331 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14332 Remove.
14333 (test_setup): Define with proc_with_prefix.
14334 (test_cli_inferior): Likewise.
14335 (test_cli_thread): Likewise.
14336 (test_cli_frame): Likewise.
14337 (test_cli_select_frame): Likewise.
14338 (test_cli_up_down): Likewise.
14339 (test_mi_thread_select): Likewise.
14340 (test_mi_stack_select_frame): Likewise.
14341 (test_cli_in_mi_inferior): Likewise.
14342 (test_cli_in_mi_thread): Likewise.
14343 (test_cli_in_mi_frame): Likewise.
14344 (top level): Do not use with_test_prefix_procname.
14345
64f367a2
PA
143462016-11-09 Pedro Alves <palves@redhat.com>
14347
14348 * gdb.base/commands.exp (gdbvar_simple_if_test)
14349 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14350 (progvar_simple_if_test, progvar_simple_while_test)
14351 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14352 (infrun_breakpoint_command_test, breakpoint_command_test)
14353 (user_defined_command_test, watchpoint_command_test)
14354 (test_command_prompt_position, deprecated_command_test)
14355 (bp_deleted_in_command, temporary_breakpoint_commands)
14356 (stray_arg0_test, source_file_with_indented_comment)
14357 (recursive_source_test, if_commands_test)
14358 (error_clears_commands_left, redefine_hook_test)
14359 (redefine_backtrace_test): Use proc_with_prefix.
14360 * lib/gdb.exp (proc_with_prefix): New proc.
14361
0bb65f1e
AA
143622016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14363
14364 * gdb.base/tui-layout.c: New file.
14365 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14366 disassembly window contains very long lines.
14367
7353f247
TT
143682016-11-08 Tom Tromey <tom@tromey.com>
14369
14370 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14371 depend on Python 2.
14372
30a7bb83
TT
143732016-11-08 Tom Tromey <tom@tromey.com>
14374
14375 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14376 New method.
14377
cdf5a07c
MG
143782016-10-29 Manish Goregaokar <manish@mozilla.com>
14379
2806dc7e 14380 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 14381
51a789c3
MG
143822016-10-27 Manish Goregaokar <manish@mozilla.com>
14383
2806dc7e
PA
14384 * gdb.rust/simple.rs: Add test for univariant enums without
14385 discriminants and for encoded struct-like enums.
51a789c3 14386
f610ab6d
PA
143872016-10-28 Pedro Alves <palves@redhat.com>
14388
14389 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14390 gdb_test_multiple, tighten regexps and match symtabs and line
14391 tables incrementally.
14392
b129b0ca
LM
143932016-10-28 Luis Machado <lgustavo@codesourcery.com>
14394
14395 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14396 general.
14397
ecf45d2c
SL
143982016-10-25 Luis Machado <lgustavo@codesourcery.com>
14399
14400 * gdb.base/exec-invalid-sysroot.exp: New file.
14401
b8d38ee4
JK
144022016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14403
14404 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14405
f90fd8c2
JK
144062016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14407
14408 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14409
2d2476aa
MR
144102016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14411
2806dc7e
PA
14412 * gdb.base/killed-outside.exp: Remove $options from a call to
14413 `prepare_for_testing'.
2d2476aa 14414
e42b25a0
SM
144152016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14416
14417 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14418 Change test message.
14419
3ccdb432
SM
144202016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14421
14422 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14423 Update comment.
14424
5bad3170
SM
144252016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14426
14427 * gdb.trace/mi-trace-save.exp: New file.
14428
5ad9dba7
YQ
144292016-10-13 Yao Qi <yao.qi@linaro.org>
14430
14431 * gdb.base/code_elim.exp (get_var_address): Remove.
14432 * gdb.base/relocate.exp: Likewise.
14433 * gdb.base/shreloc.exp: Likewise.
14434 * lib/gdb.exp (get_var_address): New.
14435
62df7e21
YQ
144362016-10-13 Yao Qi <yao.qi@linaro.org>
14437
14438 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14439 floating point tests if $skip_float_test is false.
14440
4dac951e
LM
144412016-10-12 Luis Machado <lgustavo@codesourcery.com>
14442
14443 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14444 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14445 argc values.
14446 Add 1 to argc so we guarantee distinct initial/modified argc values.
14447
8f1a8fc4
JK
144482016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14449
14450 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14451
16c85b5d
JK
144522016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14453
14454 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14455 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14456 * gdb.arch/vsx-regs.exp: Likewise.
14457
1d0e042a
YQ
144582016-10-07 Yao Qi <yao.qi@linaro.org>
14459
14460 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14461
68dadef5
MM
144622016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14463
14464 * gdb.python/python.exp: Test decode_line("*0").
14465
33fa2c6e
DE
144662016-10-06 Doug Evans <dje@google.com>
14467
14468 * gdb.python/py-value.exp (test_value_creation): Add test for large
14469 unsigned 64-bit value.
14470
9c37b5ae
TT
144712016-10-06 Tom Tromey <tom@tromey.com>
14472
14473 * gdb.compile/compile.exp: Change java tests to rust.
14474 * gdb.base/setshow.exp: Change java tests to rust.
14475 * gdb.base/default.exp: Remove java from language list.
14476 * README (Examples): Update language example.
14477 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14478 test.
14479 * lib/gdb.exp (skip_java_tests): Remove.
14480 * lib/java.exp: Remove.
14481 * gdb.java: Remove.
14482
78b86327
MR
144832016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14484
14485 * gdb.arch/mips-fcr.exp: New test.
14486 * gdb.arch/mips-fcr.c: Source for the new test.
14487
7470adbb
MR
144882016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14489
14490 * gdb.base/solib-disc.exp: Use `standard_output_file'
14491 throughout.
14492
4a556533
PA
144932016-10-06 Pedro Alves <palves@redhat.com>
14494
14495 * gdb.base/jit-simple-dl.c: New file.
14496 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14497 * gdb.base/jit-simple.c: ... this.
14498 * gdb.base/jit-simple.exp (jit_run): Delete.
14499 (build_jit): New proc.
14500 (jit_test_reread): Recompile either the main program or the shared
14501 library, depending on what is being tested. Skip changing address
14502 if caller wants to. Compare before/after addresses. If testing
14503 standalone, explicitly load the binary. Test "maint info
14504 breakpoints".
14505 (top level): Add "standalone vs shared lib" and "change address"
14506 vs "same address" axes.
14507
5a122fbc
PA
145082016-10-06 Pedro Alves <palves@redhat.com>
14509
14510 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14511 call.
14512 (jit_run): Delete.
14513 (jit_test_reread): Use with_test_prefix. Reload the main binary
14514 explicitly. Compare the before/after addresses of the JIT
14515 descriptor.
14516
ee8da4b8
DE
145172016-08-15 Doug Evans <dje@google.com>
14518
14519 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14520 for single bitfields is bool.
14521 * gdb.xml/tdesc-regs.exp: Ditto.
14522
f389f6fe
JK
145232016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14524
14525 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14526
fdebf1a4
YQ
145272016-10-05 Yao Qi <yao.qi@linaro.org>
14528
14529 * lib/gdb.exp (support_complex_tests): Return zero if
14530 gdb_skip_float_test return true.
14531
9c36d954 145322016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14533 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
14534
14535 PR gdb/20487
14536 * gdb.mi/user-selected-context-sync.exp: New file.
14537 * gdb.mi/user-selected-context-sync.c: New file.
14538
4034d0ff 145392016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 14540 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
14541
14542 PR gdb/20487
14543 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14544 =thread-select-event check.
14545
a4297203
PB
145462016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14547
14548 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14549 the compulsory L operand changes.
14550 * gdb.arch/powerpc-power.s: Likewise.
14551
bb805577
JK
145522016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14553
14554 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14555 * gdb.base/jit-attach-pie.c: New file.
14556 * gdb.base/jit-attach-pie.exp: New file.
14557
6d61dee5
PA
145582016-09-28 Pedro Alves <palves@redhat.com>
14559
14560 * gdb.base/infcall-input.c: New file.
14561 * gdb.base/infcall-input.exp: New file.
14562
f73842fc
YQ
145632016-09-22 Yao Qi <yao.qi@linaro.org>
14564
14565 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14566 (gdb_exit): Rename it to ...
14567 (gdbserver_gdb_exit): ... Close GDBserver.
14568 (gdb_exit): New proc, call gdbserver_gdb_exit.
14569 (mi_gdb_exit): Likewise.
14570
90681dab
YQ
145712016-09-22 Yao Qi <yao.qi@linaro.org>
14572
14573 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14574 path.
14575 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14576 Remove duplication.
14577
9c211fd8
YQ
145782016-09-22 Yao Qi <yao.qi@linaro.org>
14579
14580 * lib/gdbserver-support.exp: Check the existence of
14581 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14582
ad0a504f
AK
145832016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14584
14585 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14586
36cf1806
TT
145872016-09-21 Tom Tromey <tom@tromey.com>
14588
14589 PR gdb/20604:
14590 * gdb.base/quit.exp: New file.
14591
74172ecf
SM
145922016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14593
14594 * .gitignore: New file.
14595
3d0ec882
MR
145962016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14597
14598 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14599 throughout.
14600
8193adea
AA
146012016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14602
14603 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14604
d41a5c09
JK
146052016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14606
14607 * gdb.cp/casts.cc (decltype): Move it ...
14608 (main): ... with its call to ...
14609 * gdb.cp/casts03.cc: ... a new file.
14610 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14611
d2dfe700
JK
146122016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14613
14614 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14615
e2a92b16
PB
146162016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14617
14618 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14619 and sync up the test with tests in gas/testsuite/gas/ppc.
14620 * gdb.arch/powerpc-power.exp: Likewise.
14621
49b4de64
JK
146222016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14623
14624 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14625
2c29df25
SDJ
146262016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14627 Jan Kratochvil <jan.kratochvil@redhat.com>
14628
14629 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14630 make m1's definition to be different from m2's. Use 'dummy' as an
14631 argument for probe 'two'.
14632
cc3c2846
JB
146332016-09-10 Jon Beniston <jon@beniston.com>
14634
14635 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14636 for sim target.
14637
e1b2624a
AA
146382016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14639
14640 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14641 variable declaration.
14642 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14643 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14644 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14645 received HWCAP as its argument.
14646
4295e285
PA
146472016-09-06 Pedro Alves <palves@redhat.com>
14648
14649 * gdb.base/new-ui-pending-input.c: New file.
14650 * gdb.base/new-ui-pending-input.exp: New file.
14651 * gdb.exp (clear_gdb_spawn_id): New procedure.
14652 (with_spawn_id): Check whether gdb_spawn_id exists before
14653 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14654 on exit.
14655
00d5215e
UW
146562016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14657
14658 * gdb.base/float128.c: New file.
14659 * gdb.base/float128.exp: Likewise.
14660 * gdb.base/floatn.c: Likewise.
14661 * gdb.base/floatn.exp: Likewise.
14662
a9ff5f12
UW
146632016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14664
14665 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14666
f245535c
PA
146672016-09-05 Pedro Alves <palves@redhat.com>
14668
14669 PR backtrace/19927
14670 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14671 unwinders are immediately called as side effect of "source" or
14672 "disable unwinder" commands.
14673 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14674
ae9cf263
YQ
146752016-09-02 Yao Qi <yao.qi@linaro.org>
14676
14677 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14678 is true and $type is "float" or "double".
14679
27aba047
YQ
146802016-09-02 Yao Qi <yao.qi@linaro.org>
14681
14682 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14683 true.
14684 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14685 * gdb.base/call-rt-st.exp: Likewise.
14686 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14687 return value instead of gdb,skip_float_test.
14688 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14689 (do_function_calls): Use its return value instead of
14690 gdb,skip_float_test.
14691 * gdb.base/finish.exp: Likewise.
14692 * gdb.base/funcargs.exp: Likewise.
14693 * gdb.base/return.exp: Likewise.
14694 * gdb.base/return2.exp: Likewise.
14695 * gdb.base/varargs.exp: Likewise.
14696 * lib/gdb.exp (gdb_skip_float_test): Change it to
14697 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14698
5af962df
AA
146992016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14700
14701 * gdb.multi/tids.exp: Test "thread apply all".
14702
7fac6910
JK
147032016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14704
14705 * gdb.base/default.exp (tty): Remove.
14706
bb1fe4ac
KB
147072016-08-24 Kevin Buettner <kevinb@redhat.com>
14708
2806dc7e
PA
14709 * gdb.python/py-recurse-unwind.c: New file.
14710 * gdb.python/py-recurse-unwind.py: New file.
14711 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 14712
0a1ddfa6
SM
147132016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14714
14715 * gdb.base/set-inferior-tty.exp: New file.
14716 * gdb.base/set-inferior-tty.c: New file.
14717
d9de1fe3
PA
147182016-08-23 Pedro Alves <palves@redhat.com>
14719
14720 PR gdb/20494
14721 * gdb.base/new-ui-echo.c: New file.
14722 * gdb.base/new-ui-echo.exp: New file.
14723
e9d9abd7
YQ
147242016-08-23 Yao Qi <yao.qi@linaro.org>
14725
14726 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14727 gdbserver_spawn.
14728 * gdb.server/connect-without-multi-process.exp (do_test):
14729 Likewise.
14730
3589529e
YQ
147312016-08-23 Yao Qi <yao.qi@linaro.org>
14732
14733 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14734 standalone_txt. Delete gdb_txt and standalone_txt on host
14735 and target. Spawn the binary on target. Copy files from
14736 target to host.
14737
6bb90213
PA
147382016-08-22 Pedro Alves <palves@redhat.com>
14739
14740 PR gdb/20505
14741 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14742 with_test_prefix. Factor out bits to ...
14743 (test_no_vdso): ... this new procedure.
14744
20c2c024
CL
147452016-08-19 Carl Love <cel@us.ibm.com>
14746
14747 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14748 maintaining separate logic for constructing the output path.
14749 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14750 * gdb.arch/ppc-dfp.exp: Likewise.
14751 * gdb.arch/ppc-fp.exp: Likewise.
14752 * gdb.arch/vsx-regs.exp: Likewise.
14753 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14754 binprefix for generating the additional binary files.
14755
0646e07d
PA
147562016-08-19 Pedro Alves <palves@redhat.com>
14757
14758 * gdb.trace/mi-trace-frame-collected.exp
14759 (test_trace_frame_collected): On x32, expect two registers.
14760
46da9242
CL
147612016-08-18 Carl Love <cel@us.ibm.com>
14762
14763 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14764 and sync up the test with tests in gas/testsuite/gas/ppc.
14765 * gdb.arch/powerpc-power.exp: Likewise.
14766
eb2332d7
SM
147672016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14768
14769 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14770 expected error message.
14771
63c61e04
SM
147722016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14773
14774 * gdb.multi/remove-inferiors.exp: New file.
14775 * gdb.multi/remove-inferiors.c: New file.
14776
7b17065f
YQ
147772016-08-12 Yao Qi <yao.qi@linaro.org>
14778
14779 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14780 argument list.
14781
01d3dedf
PA
147822016-08-10 Pedro Alves <palves@redhat.com>
14783
14784 PR gdb/19187
14785 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14786 setup_kfails.
14787
3eb7562a
PA
147882016-08-09 Pedro Alves <palves@redhat.com>
14789 Simon Marchi <simon.marchi@ericsson.com>
14790
14791 PR gdb/20418
14792 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14793 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14794
80614914
PA
147952016-08-09 Pedro Alves <palves@redhat.com>
14796
14797 PR mi/20431
14798 * gdb.mi/mi-cmd-error.exp: New file.
14799
f348d89a
PA
148002016-08-09 Pedro Alves <palves@redhat.com>
14801
14802 PR gdb/18653
14803 * gdb.base/signals-state-child.c: New file.
14804 * gdb.base/signals-state-child.exp: New file.
14805 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14806
e5ca03b4
PA
148072016-08-09 Pedro Alves <palves@redhat.com>
14808
14809 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14810
282a0691
TT
148112016-08-03 Tom Tromey <tom@tromey.com>
14812
14813 PR python/18565:
14814 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14815
41bfcd63
YQ
148162016-08-01 Yao Qi <yao.qi@linaro.org>
14817
14818 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14819 variable mode to "multi-process" if $multi_process is 1, otherwise
14820 set it to "single-process".
14821
e3465b24
YQ
148222016-08-01 Yao Qi <yao.qi@linaro.org>
14823
14824 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14825 * gdb.cp/cpexprs.exp: Likewise.
14826 * gdb.cp/m-static.exp: Likewise.
14827
0b31a4bc
TT
148282016-07-26 Tom Tromey <tom@tromey.com>
14829
14830 PR python/20190:
14831 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14832 test.
14833
e0461dbb
MM
148342016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14835
14836 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14837 selecting assembly source files.
14838 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14839 assembly source files.
14840 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14841 assembly source files.
14842 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14843 selecting assembly source files.
14844
8194e927
SM
148452016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14846
14847 * gdb.base/new-ui.exp (do_test_invalid_args): New
14848 procedure.
14849
c0272db5
TW
148502016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14851
14852 * gdb.btrace/reconnect.c: New file.
14853 * gdb.btrace/reconnect.exp: New file.
14854
e3487908
GKB
148552016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14856
14857 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14858 to test_catch_syscall_group.
14859 (test_catch_syscall_group): New.
14860
12df5c00
TT
148612016-07-21 Tom Tromey <tom@tromey.com>
14862
14863 * gdb.rust/simple.rs (main): Use empty struct expression.
14864 * gdb.rust/simple.exp: Add tests for empty struct expression.
14865
bae62ee2
YQ
148662016-07-21 Yao Qi <yao.qi@linaro.org>
14867
14868 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14869 if gdb_skip_xml_test is true on some targets.
14870
b1b53fb3
YQ
148712016-07-21 Yao Qi <yao.qi@linaro.org>
14872
14873 * gdb.server/solib-list.exp: Unset last_loaded_file.
14874
027d97f8
JK
148752016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14876
14877 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14878 "step into captured_main (args)".
14879
7674d381
JK
148802016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14881
14882 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14883
72b5d099
JK
148842016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14885
14886 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14887
1f960ced
PA
148882016-07-19 Pedro Alves <palves@redhat.com>
14889
14890 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14891 * gdb.opt/inline-bt.exp: Likewise.
14892 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14893 additional_flags=-Winline.
14894 * gdb.opt/inline-locals.exp: Likewise.
14895 * gdb.opt/inline-markers.c (ATTR): Define.
14896 (inlined_fn): Use it.
14897
f25827c1
YQ
148982016-07-19 Yao Qi <yao.qi@linaro.org>
14899
14900 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14901 (test_with_self): Remove some code. Remove argument executable.
14902 (top-level): Use do_self_tests.
14903
37539ebe
DB
149042016-07-15 Zachary Welch <zwelch@codesourcery.com>
14905 Don Breazeal <donb@codesourcery.com>
14906
14907 * gdb.base/maint.exp: Escape paths used in regular expressions.
14908 * gdb.stabs/weird.exp: Likewise.
14909
dac790e1
TT
149102016-07-13 Tom Tromey <tom@tromey.com>
14911
14912 PR python/15620, PR python/18620:
14913 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14914 (test_bkpt_events): New procs.
14915
93daf339
TT
149162016-07-13 Tom Tromey <tom@tromey.com>
14917
14918 PR python/17698:
14919 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14920 test.
14921 (test_watchpoints): Likewise.
14922 (test_bkpt_pending): New proc.
14923
6571a381
TT
149242016-07-13 Tom Tromey <tom@tromey.com>
14925
14926 PR cli/18053:
14927 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14928 completion test.
14929
e8732474
JK
149302016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14931
14932 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14933 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14934 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14935 f_label.
14936 (g): Rename g_end_lbl to g_label.
14937 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14938 low_pc and high_pc.
14939 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14940
e0f3fd7c
TT
149412016-07-12 Tom Tromey <tom@tromey.com>
14942
14943 PR python/19293:
14944 * gdb.python/py-unwind-maint.exp: Update tests.
14945
3cfe46b6
YQ
149462016-07-12 Yao Qi <yao.qi@linaro.org>
14947
14948 * lib/selftest-support.exp (selftest_setup): Match the output
14949 when captured_main is inlined.
14950
4f19a0e6
WT
149512016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14952
14953 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14954 New variables.
14955 (print this%a, print this%b, print this): New tests.
14956 * gdb.fortran/derived-types.f90 (this): New object and
14957 initialization.
14958
986cf455
SM
149592016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14960
14961 * gdb.ada/arraydim.exp: Remove extra directory level in build
14962 directory.
14963
f0464b23
SM
149642016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14965
14966 * lib/ada.exp: Remove extra directory level in build directory.
14967 * gdb.ada/cond_lang.exp: Likewise.
14968 * gdb.ada/exec_changed.exp: Likewise.
14969 * gdb.ada/lang_switch.exp: Likewise.
14970
42d94011
MG
149712016-07-06 Manish Goregaokar <manish@mozilla.com>
14972
2806dc7e
PA
14973 * simple.rs: Add test for raw pointer subscripting.
14974 * simple.exp: Add test expectations.
42d94011 14975
647c264c
YQ
149762016-07-05 Yao Qi <yao.qi@linaro.org>
14977
14978 * gdb.mi/mi-reverse.exp: Match =record-started output.
14979
20aa2c60
PA
149802016-07-01 Pedro Alves <palves@redhat.com>
14981
14982 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14983 procedure.
14984 (jit_reader_test): Test the jit reader's unwinder.
14985 * gdb.base/jithost.c (jit_function_00_code): New global.
14986 (main): Use memcpy to fill in the mmapped code, instead of poking
14987 bytes manually here.
14988 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14989 value.
14990 (read_debug_info): Save the function's range.
14991 (read_sp): New function.
14992 (unwind_frame): Use it. Also unwind RBP.
14993 (get_frame_id): Use read_sp.
14994 (gdb_init_reader): Use calloc instead of malloc.
14995 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14996 parameter. Use gdb_test_multiple.
14997
ced2dffb
PA
149982016-07-01 Pedro Alves <palves@redhat.com>
14999 Antoine Tremblay <antoine.tremblay@ericsson.com>
15000
15001 * gdb.threads/process-dies-while-detaching.c: New file.
15002 * gdb.threads/process-dies-while-detaching.exp: New file.
15003
63000888
PA
150042016-07-01 Pedro Alves <palves@redhat.com>
15005
15006 * gdb.multi/watchpoint-multi-exit.c: New file.
15007 * gdb.multi/watchpoint-multi-exit.exp: New file.
15008
038d4868
PA
150092016-06-30 Pedro Alves <palves@redhat.com>
15010
15011 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15012 unset inferior_spawn_id.
15013
994e9c83
PA
150142016-06-30 Pedro Alves <palves@redhat.com>
15015
15016 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15017 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15018
e5653468
YQ
150192016-06-29 Yao Qi <yao.qi@linaro.org>
15020
15021 * gdb.base/return.c: Add copyright header.
15022
803b47e5
TT
150232016-06-29 Tom Tromey <tom@tromey.com>
15024
15025 PR python/20129:
15026 * gdb.python/py-framefilter.exp: Add tests for setting priority
15027 and disabling of non-existent frame filter.
15028
28244707
YQ
150292016-06-29 Yao Qi <yao.qi@linaro.org>
15030
15031 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15032 0x0f07ff.
15033
a31d2f06
YQ
150342016-06-28 Yao Qi <yao.qi@linaro.org>
15035
15036 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15037 triplets. Start gdb, execute catch syscall, and continue. Check
15038 gdb's output to determine catch syscall is supported.
15039
921d8f54
MG
150402016-06-27 Manish Goregaokar <manish@mozilla.com>
15041
25d49b86
PA
15042 * gdb.rust/simple.rs: Add test for returning unit in a function.
15043 * gdb.rust/simple.exp: Add expectation for functions returning
15044 unit.
921d8f54 15045
f4952523
PMR
150462016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15047
15048 * gdb.python/py-breakpoint-create-fail.c,
15049 gdb.python/py-breakpoint-create-fail.exp,
15050 gdb.python/py-breakpoint-create-fail.py: New testcase.
15051
fccb08f8
MG
150522016-06-25 Manish Goregaokar <manish@mozilla.com>
15053
15054 PR gdb/20239
15055 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
15056 * gdb.rust/simple.exp: Add test expectations for new NonZero
15057 tests.
fccb08f8 15058
6b850546
DT
150592016-06-24 David Taylor <dtaylor@emc.com>
15060
15061 * gdb.base/offsets.exp: New file.
15062 * gdb.base/offsets.c: New file.
15063
17621150
TT
150642016-06-23 Tom Tromey <tom@tromey.com>
15065
15066 PR gdb/16483:
15067 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15068 before any filters are loaded.
15069
04d59df6
WT
150702016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15071
15072 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15073 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15074 structs.
15075 * gdb.fortran/derived-type-function.exp: New file.
15076 * gdb.fortran/derived-type-function.f90: New file.
15077
15078
ac69f786
PA
150792016-06-21 Pedro Alves <palves@redhat.com>
15080
15081 * gdb.base/new-ui.exp: New file.
15082 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15083 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15084 (with_spawn_id): New procedure.
15085
49940788
PA
150862016-06-21 Pedro Alves <palves@redhat.com>
15087
15088 * gdb.mi/mi-exec-run.exp: New file.
15089
ef274d26
PA
150902016-06-21 Pedro Alves <palves@redhat.com>
15091
15092 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15093 breakpoint command's output on the main UI.
15094 (test_break): New procedure, factored out from calls in the top
15095 level.
15096 (top level): Use foreach_with_prefix to test MI as main UI and as
15097 separate UI.
15098
468afe6c
PA
150992016-06-21 Pedro Alves <palves@redhat.com>
15100
15101 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15102 (test_awatch_creation_and_listing)
15103 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15104 Remove 'type' parameter.
15105 (test_watchpoint_all): New parameter mi_mode. Remove
15106 with_test_prefix.
15107 (top level): Use foreach_with_prefix, and add main/separate UI MI
15108 testing axis.
15109
51f77c37
PA
151102016-06-21 Pedro Alves <palves@redhat.com>
15111
15112 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15113 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15114 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15115 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15116 (gdb_main_spawn_id, mi_spawn_id): Declare and
15117 comment.
15118 (mi_create_inferior_pty): New procedure,
15119 factored out from default_mi_gdb_start.
15120 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15121 procedures.
15122 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15123 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15124 Use mi_create_inferior_pty.
15125 (mi_gdb_start): Use eval to pass down args list.
15126
8980e177
PA
151272016-06-21 Pedro Alves <palves@redhat.com>
15128
15129 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15130 * gdb.opt/inline-cmds.exp: Add MI tests.
15131
f38d3ad1
PA
151322016-06-21 Pedro Alves <palves@redhat.com>
15133
15134 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15135
45db7c09
PA
151362016-06-21 Pedro Alves <palves@redhat.com>
15137
15138 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15139 (top level): Use it instead of mi_execute_to.
15140
5a069ab3
PA
151412016-06-21 Pedro Alves <palves@redhat.com>
15142
15143 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15144 (cont_handler_str): New.
15145 (signal_stop_handler): Set stop_handler_str instead of printing to
15146 stdout.
15147 (continue_handler): Set cont_handler_str instead of printing to
15148 stdout.
15149 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15150 mi_send_resuming_command. Print stop_handler_str and
15151 cont_handler_str instead of expecting the python events print
15152 directly.
15153
2838cc1d
SD
151542016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15155
15156 * gdb.base/jit-reader.exp: New file.
15157 * gdb.base/jithost.c: New file.
15158 * gdb.base/jithost.h: New file.
15159 * gdb.base/jitreader.c : New file.
15160 * gdb.base/jit-protocol.h: New file.
15161
21a77091
YQ
151622016-06-17 Yao Qi <yao.qi@linaro.org>
15163
15164 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15165 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15166 and detach-on-fork. Adjust tests.
15167 (top level): Invoke break_cond_on_syscall with combinations of
15168 syscall, follow-fork-mode and detach-on-fork.
15169
f50bf8e5
YQ
151702016-06-17 Yao Qi <yao.qi@linaro.org>
15171
15172 * gdb.base/step-over-exit.c: New.
15173 * gdb.base/step-over-exit.exp: New.
15174
a28d8e50
YTL
151752016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15176
15177 * gdb.base/float.exp: Add target check for nds32*-*-*.
15178 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15179
cad8e26d
AB
151802016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15181
15182 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15183 for unsupported target features.
15184 * gdb.base/call-rt-st.exp: Likewise.
15185 * gdb.base/call-sc.exp: Likewise.
15186 * gdb.base/call-signal-resume.exp: Likewise.
15187 * gdb.base/call-strs.exp: Likewise.
15188 * gdb.base/callexit.exp: Likewise.
15189 * gdb.base/callfuncs.exp: Likewise.
15190 * gdb.base/nodebug.exp: Likewise.
15191 * gdb.base/printcmds.exp: Likewise.
15192 * gdb.base/ptype.exp: Likewise.
15193 * gdb.base/structs.exp: Likewise.
15194 * gdb.base/unwindonsignal.exp: Likewise.
15195 * gdb.cp/gdb2495.exp: Likewise.
15196 * gdb.cp/templates.exp: Likewise.
15197 * gdb.cp/virtfunc.exp: Likewise.
15198 * gdb.threads/hand-call-in-threads.exp: Likewise.
15199 * gdb.threads/interrupted-hand-call.exp: Likewise.
15200 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15201
347dc102
TT
152022016-06-10 Tom Tromey <tom@tromey.com>
15203
15204 PR rust/20110:
15205 * gdb.rust/expr.exp: Add test for integer constant larger than
15206 i32.
15207
5e13cf25
BH
152082016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15209
15210 * gdb.fortran/nested-funcs.exp: New.
15211 * gdb.fortran/nested-funcs.f90: New.
15212
bb556f1f
TK
152132016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15214
15215 * gdb.base/examine-backward.c: New file.
15216 * gdb.base/examine-backward.exp: New file.
15217
38b022b4
SM
152182016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15219
15220 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15221 matching.
15222
1b40ec05
TT
152232016-06-02 Tom Tromey <tom@tromey.com>
15224
15225 PR python/18984:
15226 * gdb.python/py-shared.exp: Add solib_name test.
15227
193bd378
SM
152282016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15229
15230 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15231
3326303b
MG
152322016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15233
15234 PR c++/19893
15235 * gdb.dwarf2/implref.exp: Rename to...
15236 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15237 * gdb.dwarf2/implref-array.c: New file.
15238 * gdb.dwarf2/implref-array.exp: Likewise.
15239 * gdb.dwarf2/implref-global.c: Likewise.
15240 * gdb.dwarf2/implref-global.exp: Likewise.
15241 * gdb.dwarf2/implref-struct.c: Likewise.
15242 * gdb.dwarf2/implref-struct.exp: Likewise.
15243
825c8ef2
AT
152442016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15245
15246 * gdb.trace/trace-condition.exp: Add 64bit tests.
15247
2320162a
AT
152482016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15249
15250 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15251 bits types.
15252 (main): Adapt to 8 to 64 bits types.
15253 * gdb.trace/trace-condition.exp: Add new tests.
15254
a7818233
AT
152552016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15256
15257 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15258
0d336466
AT
152592016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15260
15261 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15262 Move condition tests...
15263 * gdb.trace/trace-condition.exp: Here.
15264
7faeb45a
AT
152652016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15266
15267 * gdb.trace/trace-condition.exp: Add counter-case tests.
15268
e385593e
JK
152692016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15270
15271 PR c++/15231
15272 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15273 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15274
744608cc
PA
152752016-05-27 Pedro Alves <palves@redhat.com>
15276
15277 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15278 New procedure.
15279 (top level): Call it, and bail out of DejaGnu is known to be bad.
15280
ac775bf4
AB
152812016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15282
15283 * gdb.base/whatis.c: Extend the test case.
15284 * gdb.base/whatis.exp: Add additional tests.
15285
2bbad2ea
BH
152862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15287
15288* gdb.fortran/type.f90: Add pointer variable.
15289* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15290
8b70175d
BH
152912016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15292
15293 * gdb.fortran/vla-type.exp: Fix testcase name.
15294
86d8a848
BH
152952016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15296
15297 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15298
e188eb36
BH
152992016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15300
15301 * gdb.fortran/type.f90: Add nested structures.
15302 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15303 * gdb.fortran/derived-type.exp: Adapt expected output.
15304 * gdb.fortran/vla-type.exp: Adapt expected output.
15305
9b2db1fd
BH
153062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15307
15308 * gdb.fortran/whatis_type.exp: Adapt expected output.
15309
72b17055
BH
153102016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15311
15312 * gdb.fortran/print_type.exp: Fix expected output.
15313 * gdb.fortran/whatis_type.exp: Fix expected output.
15314
3cd81d8d
BH
153152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15316
15317 * gdb.fortran/whatis_type.exp: Use multi_line.
15318
ddae9462
TT
153192016-05-24 Tom Tromey <tom@tromey.com>
15320
15321 PR python/17386:
15322 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15323 use value as an index.
15324
1957f6b8
TT
153252016-05-23 Tom Tromey <tom@tromey.com>
15326
15327 PR python/17981:
15328 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15329 no-breakpoint case.
15330
026a9174
PA
153312016-05-24 Pedro Alves <palves@redhat.com>
15332
15333 PR gdb/19828
15334 * gdb.threads/clone-attach-detach.c: New file.
15335 * gdb.threads/clone-attach-detach.exp: New file.
15336
e70a7231
FR
153372016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15338
15339 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15340
0f6ed0e0
TT
153412016-05-23 Tom Tromey <tom@tromey.com>
15342
15343 PR python/19438, PR python/18393:
15344 * gdb.python/py-progspace.exp: Add "dir" test.
15345 * gdb.python/py-objfile.exp: Add "dir" test.
15346
ffd19d61
YQ
153472016-05-23 Yao Qi <yao.qi@linaro.org>
15348
15349 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15350 * gdb.arch/thumb2-it.exp: Likewise.
15351
9e8f9b05
SM
153522016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15353
15354 * gdb.mi/mi-threads-interrupt.c: New file.
15355 * gdb.mi/mi-threads-interrupt.exp: New file.
15356
61c6156d
SM
153572016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15358
15359 PR gdb/18077
15360 * gdb.mi/mi-async-run.exp: New file.
15361 * gdb.mi/mi-async-run.c: New file.
15362
67218854
TT
153632016-05-17 Tom Tromey <tom@tromey.com>
15364 Manish Goregaokar <manishsmail@gmail.com>
15365
15366 * lib/rust-support.exp: New file.
15367 * lib/gdb.exp (skip_rust_tests): New proc.
15368 (build_executable_from_specs): Handle rust.
15369 * lib/future.exp (gdb_find_rustc): New proc.
15370 (gdb_default_target_compile): Handle rust.
15371 * gdb.rust/expr.exp: New file.
15372 * gdb.rust/generics.exp: New file.
15373 * gdb.rust/generics.rs: New file.
15374 * gdb.rust/methods.exp: New file.
15375 * gdb.rust/methods.rs: New file.
15376 * gdb.rust/modules.exp: New file.
15377 * gdb.rust/modules.rs: New file.
15378 * gdb.rust/simple.exp: New file.
15379 * gdb.rust/simple.rs: New file.
15380
c44af4eb
TT
153812016-05-17 Tom Tromey <tom@tromey.com>
15382
15383 * gdb.base/default.exp (set language): Add rust.
15384
dcd1f979
TT
153852016-05-17 Tom Tromey <tom@tromey.com>
15386
15387 * gdb.gdb/unittest.exp: New file.
15388
155b7f57
YQ
153892016-05-16 Yao Qi <yao.qi@linaro.org>
15390
15391 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15392 shell_prompt. Update shell_prompt_re.
15393
8ddd5a6c
DE
153942016-05-12 Doug Evans <dje@google.com>
15395
15396 PR symtab/19999
15397 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15398 $options when building executable.
15399 * gdb.dwarf2/fission-loclists-pie.S: New file.
15400 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15401
02e370d9
SM
154022016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15403
15404 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
15405 of [is_remote target],
15406
8929ad8b
SM
154072016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15408
15409 * lib/gdb.exp (use_gdb_stub): New procedure.
15410
6c447423
DE
154112016-05-03 Yunlian Jiang <yunlian@google.com>
15412 Doug Evans <dje@google.com>
15413
15414 PR symtab/19914
15415 * gdb.dwarf2/dwp-sepdebug.c: New file.
15416 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15417
444e826c
SM
154182016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15419
15420 * gdb.base/detach.exp: Remove is_remote check.
15421
740feeaa
SM
154222016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15423
15424 * gdb.base/annota-input-while-running.exp: Don't check for
15425 [is_remote target]. Enable annotations after running to main.
15426 Remove unused "set test..." line.
15427
9080ac9d
SM
154282016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15429
15430 * gdb.trace/trace-enable-disable.exp: New file.
15431 * gdb.trace/trace-enable-disable.c: New file.
15432
952ebca5
SM
154332016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15434
15435 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15436 use it in info sharedlibrary test.
15437 * gdb.trace/ftrace-lock.exp: Likewise.
15438 * gdb.trace/ftrace.exp: Likewise.
15439 * gdb.trace/range-stepping.exp: Likewise.
15440 * gdb.trace/trace-break.exp: Likewise.
15441 * gdb.trace/trace-condition.exp: Likewise.
15442 * gdb.trace/trace-mt.exp: Likewise.
15443
d9019901
SM
154442016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15445
15446 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15447 (gdb_load_shlib): ... this.
15448 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15449 gdb_load_shlib.
15450 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15451 * gdb.base/ctxobj.exp: Likewise.
15452 * gdb.base/dprintf-pending.exp: Likewise.
15453 * gdb.base/dso2dso.exp: Likewise.
15454 * gdb.base/fixsection.exp: Likewise.
15455 * gdb.base/gcore-relro.exp: Likewise.
15456 * gdb.base/gdb1555.exp: Likewise.
15457 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15458 * gdb.base/gnu-ifunc.exp: Likewise.
15459 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15460 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15461 * gdb.base/pending.exp: Likewise.
15462 * gdb.base/print-file-var.exp: Likewise.
15463 * gdb.base/print-symbol-loading.exp: Likewise.
15464 * gdb.base/shlib-call.exp: Likewise.
15465 * gdb.base/shreloc.exp: Likewise.
15466 * gdb.base/so-impl-ld.exp: Likewise.
15467 * gdb.base/solib-disc.exp: Likewise.
15468 * gdb.base/solib-nodir.exp: Likewise.
15469 * gdb.base/solib-overlap.exp: Likewise.
15470 * gdb.base/solib-symbol.exp: Likewise.
15471 * gdb.base/solib-weak.exp (do_test): Likewise.
15472 * gdb.base/sym-file.exp: Likewise.
15473 * gdb.base/symtab-search-order.exp: Likewise.
15474 * gdb.base/type-opaque.exp: Likewise.
15475 * gdb.base/unload.exp: Likewise.
15476 * gdb.base/watchpoint-solib.exp: Likewise.
15477 * gdb.compile/compile.exp: Likewise.
15478 * gdb.cp/gdb2384.exp: Likewise.
15479 * gdb.cp/infcall-dlopen.exp: Likewise.
15480 * gdb.cp/re-set-overloaded.exp: Likewise.
15481 * gdb.fortran/library-module.exp: Likewise.
15482 * gdb.opt/solib-intra-step.exp: Likewise.
15483 * gdb.python/py-finish-breakpoint.exp: Likewise.
15484 * gdb.python/py-shared.exp: Likewise.
15485 * gdb.reverse/solib-precsave.exp: Likewise.
15486 * gdb.reverse/solib-reverse.exp: Likewise.
15487 * gdb.server/solib-list.exp: Likewise.
15488 * gdb.threads/dlopen-libpthread.exp: Likewise.
15489 * gdb.threads/tls-shared.exp: Likewise.
15490 * gdb.threads/tls-so_extern.exp: Likewise.
15491 * gdb.trace/change-loc.exp: Likewise.
15492 * gdb.trace/ftrace-lock.exp: Likewise.
15493 * gdb.trace/ftrace.exp: Likewise.
15494 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15495 * gdb.trace/pending.exp: Likewise.
15496 * gdb.trace/range-stepping.exp: Likewise.
15497 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15498 (strace_info_marker): Likewise.
15499 (strace_probe_marker): Likewise.
15500 (strace_trace_on_same_addr): Likewise.
15501 (strace_trace_on_diff_addr): Likewise.
15502 * gdb.trace/trace-break.exp: Likewise.
15503 * gdb.trace/trace-condition.exp: Likewise.
15504 * gdb.trace/trace-mt.exp: Likewise.
15505
fca4cfd9
SM
155062016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15507
15508 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15509 result of gdb_remote_download.
15510 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15511 * gdb.base/dso2dso.exp: Likewise.
15512 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15513 * gdb.base/print-file-var.exp: Likewise.
15514 * gdb.base/shlib-call.exp: Likewise.
15515 * gdb.base/shreloc.exp: Likewise.
15516 * gdb.base/solib-overlap.exp: Likewise.
15517 * gdb.base/solib-weak.exp (do_test): Likewise.
15518 * gdb.base/unload.exp: Likewise.
15519
11cf4ffb
YQ
155202016-04-27 Yao Qi <yao.qi@linaro.org>
15521
15522 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15523 exists.
15524
3e2e34f8
KB
155252016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15526
15527 * vla-type.exp: Print structure from toplevel.
15528
8f07e298
BH
155292016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15530
15531 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15532 of dynamic types.
15533 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15534 of dynamic types.
15535
9920b434
BH
155362016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15537
15538 * gdb.fortran/vla-type.f90: New file.
15539 * gdb.fortran/vla-type.exp: New file.
15540
f3abeff5
YQ
155412016-04-25 Yao Qi <yao.qi@linaro.org>
15542
15543 * gdb.base/branch-to-self.c: New file.
15544 * gdb.base/branch-to-self.exp: New file.
15545
0a5d52f0
YQ
155462016-04-22 Yao Qi <yao.qi@linaro.org>
15547
15548 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15549 more after $hex.
15550
495346f6
YQ
155512016-04-22 Yao Qi <yao.qi@linaro.org>
15552
15553 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15554 * gdb.base/annota3.exp: Likewise.
15555
4a7e075c
YQ
155562016-04-22 Yao Qi <yao.qi@linaro.org>
15557
15558 * gdb.reverse/step-precsave.exp: Do one step and test program
15559 stops in "callee" and do multiple steps until program goes out
15560 of "callee".
15561 * gdb.reverse/step-reverse.exp: Likewise.
15562
5b061e98
YQ
155632016-04-22 Yao Qi <yao.qi@linaro.org>
15564
15565 * gdb.trace/signal.exp: Also pass if
15566 $tracepoint_hits($i) > $iterations.
15567
5c5dc57f
YQ
155682016-04-22 Yao Qi <yao.qi@linaro.org>
15569
15570 * gdb.trace/signal.c: New file.
15571 * gdb.trace/signal.exp: New file.
15572
a55411b9
DE
155732016-04-19 Doug Evans <xdje42@gmail.com>
15574
15575 * gdb.base/bad-file.exp: New file.
15576
a22df60a
MG
155772016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15578
15579 * gdb.dwarf2/implref.exp: New file.
15580
0c13f7e5
BH
155812016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15582
15583 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15584 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15585 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15586 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15587 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15588 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15589 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15590 * lib/fortran.exp (fortran_int4): New procedure.
15591 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15592 (fortran_logical4): Likewise.
15593
9b9b09e9
BH
155942016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15595
15596 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15597
a14d1f4d
BH
155982016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15599
15600 * lib/compiler.c: Add Intel specific preprocessor macros.
15601 * lib/compiler.cc: Likewise.
25d49b86 15602
7d49b1d0
LM
156032016-04-13 Luis Machado <lgustavo@codesourcery.com>
15604
15605 * gdb.server/connect-with-no-symbol-file.c: New file.
15606 * gdb.server/connect-with-no-symbol-file.exp: New file.
15607
8392fa22
SM
156082016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15609
15610 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15611
8c4c4aeb
SM
156122016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15613
15614 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15615 standard output directory.
15616
45e3745e
AT
156172016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15618
15619 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15620
e26b7e41
MM
156212016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15622
15623 * gdb.btrace/instruction_history.c (loop): Add declaration.
15624
8ce09462
AT
156252016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15626
15627 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15628
2e88a1ea
SM
156292016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15630
15631 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15632 parentheses to print.
15633 (continue_handler): Likewise.
15634
f48e22e3
SM
156352016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15636
15637 * gdb.server/solib-list.exp: Remove is_remote check.
15638 Pass shlib= to gdb_compile. Don't link shared library with
15639 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15640 Run binary filename through "readlink -f" on the target.
15641
096be756
PA
156422016-04-08 Pedro Alves <palves@redhat.com>
15643
15644 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15645 interpreter filename as argument to gdbserver_spawn.
15646 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15647 Return empty if $last_loaded_file does not exist.
15648
06500533
JK
156492016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15650
15651 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15652 * gdb.base/jit-main.c: Use exit after usage.
15653
2d35e871
JK
156542016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15655
15656 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15657 GDBHISTSIZE prior to the tests.
15658 * gdb.base/gdbinit-history.exp: Likewise.
15659
156602016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
15661
15662 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15663 instead of build_executable. Use gdb_load_shlibs.
15664
c8064e7e
YQ
156652016-04-07 Yao Qi <yao.qi@linaro.org>
15666
15667 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15668 Execute "si" command.
15669
bde47561
YQ
156702016-04-07 Yao Qi <yao.qi@linaro.org>
15671
15672 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15673 number instead of the comments on some line.
15674
b16f8a3b
DB
156752016-04-06 Don Breazeal <donb@codesourcery.com>
15676
15677 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15678 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15679
c2f901df
SM
156802016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15681
15682 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15683 standard_output_file. Remove unused binfile variable.
15684
ac17fda0
CU
156852016-04-05 Catalin Udma <catalin.udma@freescale.com>
15686
15687 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15688 * gdb.python/py-mi-objfile.exp: Match "list main" output
15689 in console format.
15690
03a8c4df
SM
156912016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15692
15693 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15694 absolute.
15695
6e774b13
SM
156962016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15697
15698 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15699 absolute.
15700 * gdb.trace/ftrace.exp: Likewise.
15701 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15702 targets as well.
15703 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15704 (gdb_load_shlibs): Copy libraries to test directory when testing
15705 natively. Only set solib-search-path if testing remotely.
15706 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15707
7817ea46
SM
157082016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15709
15710 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15711 gdb_download. Use it even if the target is not remote.
15712 * gdb.base/jit.exp (compile_jit_test): Likewise.
15713 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15714 output directory if the destination board is local, otherwise use
15715 the standard remote_download from DejaGnu.
15716 (gdb_download): Remove.
15717 (gdb_load_shlibs): Use gdb_remote_download instead of
15718 gdb_download.
15719 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15720 Use gdb_remote_download instead of gdb_download. Use it even if
15721 the target is not remote.
15722 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15723 instead of gdb_download.
15724
7beb7f68
SM
157252016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15726
15727 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15728 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15729 run.
15730
cc63428a
AV
157312016-04-01 Artemiy Volkov <artemiyv@acm.org>
15732
15733 PR gdb/19820
15734 * gdb.base/printcmds.exp: Add artificial arrays tests.
15735
64cdf930
PA
157362016-03-31 Pedro Alves <palves@redhat.com>
15737
15738 PR gdb/19858
15739 * gdb.base/jit-main.c: Include unistd.h.
15740 (ATTACH): Define to 0 if not already defined.
15741 (wait_for_gdb, mypid): New globals.
15742 (WAIT_FOR_GDB): New macro.
15743 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15744 some breakpoint locations.
15745 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15746 New procedures.
15747 (one_jit_test): Add REATTACH parameter, and handle it. Use
15748 continue_to_test_location.
15749 (top level): Test attach, and adjusts calls to one_jit_test.
15750
40dea8cb
PA
157512016-03-31 Pedro Alves <palves@redhat.com>
15752
15753 PR gdb/19858
15754 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15755 BINSUFFIX parameter, and handle it.
15756 (top level): Adjust calls compile_jit_test.
15757
e7ea3ec7
CU
157582016-03-31 Catalin Udma <catalin.udma@freescale.com>
15759
15760 PR python/19743
15761 * gdb.python/py-mi-events-gdb.py: New file.
15762 * gdb.python/py-mi-events.c: New file.
15763 * gdb.python/py-mi-events.exp: New file.
15764
e6359af3
YQ
157652016-03-30 Yao Qi <yao.qi@linaro.org>
15766
15767 * gdb.reverse/until-precsave.exp: Match function name only.
15768 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15769 Move malloc to a condition block.
15770 * gdb.reverse/until-reverse.exp: Match function name only.
15771
a4105d04
MK
157722016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15773
15774 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15775 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15776 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15777 variable for GPR 0 instead of assuming it is register 0.
15778 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15779 * lib/trace-support.exp: Add s390 registers.
15780
bfa6adb9
YQ
157812016-03-29 Yao Qi <yao.qi@linaro.org>
15782
15783 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15784
1e6697ea
YQ
157852016-03-24 Yao Qi <yao.qi@linaro.org>
15786
15787 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15788 test message.
15789
64bcd522
AA
157902016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15791
15792 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15793 maintaining separate logic for constructing the output path.
15794
7868401b
DB
157952016-03-16 Don Breazeal <donb@codesourcery.com>
15796
15797 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15798 Retry fork and waitpid on interrupted system call errors.
15799 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15800 Use with_timeout_factor to increase timeout by factor of 10.
15801
1cafadb4
DB
158022016-03-15 Don Breazeal <donb@codesourcery.com>
15803
15804 * gdb.cp/scope-err.cc: New test program.
15805 * gdb.cp/scope-err.exp: New test script.
15806 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15807 lines and "set breakpoint here" comment.
15808 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15809 Fixed some whitespace and format issues.
15810 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15811 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15812
81516450
DE
158132016-03-15 Doug Evans <dje@google.com>
15814
15815 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15816 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15817 All callers updated. Add tests for enums, mixed flags register.
15818
aa52b601
DE
158192016-03-15 Doug Evans <dje@google.com>
15820
15821 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15822 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15823
fa4ff313
SM
158242016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15825
15826 * gdb.base/default.exp: Add $_as_string to the list of expected
15827 convenience functions.
15828
f2403c39
AB
158292016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15830
15831 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15832
f2f3ccb9
SM
158332016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15834
15835 * gdb.python/py-as-string.exp: New file.
15836 * gdb.python/py-as-string.c: New file.
15837
00dbd492
PA
158382016-03-09 Pedro Alves <palves@redhat.com>
15839
15840 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15841 signal" -> "Thread NN received signal" output change.
15842 * gdb.threads/ia64-sigill.exp: Likewise.
15843 * gdb.threads/linux-dp.exp: Likewise.
15844 * gdb.threads/manythreads.exp: Likewise.
15845 * gdb.threads/pending-step.exp: Likewise.
15846 * gdb.threads/print-threads.exp: Likewise.
15847 * gdb.threads/sigstep-threads.exp: Likewise.
15848 * gdb.threads/staticthreads.exp: Likewise.
15849 * gdb.threads/tls.exp: Likewise.
15850
1e6697ea
YQ
158512016-03-09 Pedro Alves <palves@redhat.com>
15852
15853 * gdb.base/command-line-input.exp: New file.
15854
b04fd3be
MK
158552016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15856
15857 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15858 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15859 * gdb.trace/pending.exp: Accept leading dot before function name.
15860 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15861 * lib/trace-support.exp: Set registers for ppc.
15862
98fa59e9
MK
158632016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15864
15865 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15866 use it for disassembly; accept .main in addition to main in backtrace.
15867
f77198c8
MK
158682016-03-09 Wei-cheng Wang <cole945@gmail.com>
15869 Marcin Kościelnicki <koriakin@0x04.net>
15870
15871 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15872 (gdb_recursion_test_ptr): New global variable.
15873 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15874 gdb_recursion_test.
15875 (gdb_c_test): Ditto.
15876
ba84e0da
MK
158772016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15878
15879 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15880 ordering.
15881
4366d36e
MK
158822016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15883
15884 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15885 (bar): Add bar_start_lbl label.
15886 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15887 of foo/bar for emitting DWARF and tracing.
15888
5eb264df
SDJ
158892016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15890
15891 * analyze-racy-logs.py: Set executable bit.
15892
fb6a751f
SDJ
158932016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15894
15895 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15896 (CHECK_TARGET_TMP): Likewise.
15897 (check-single-racy): New rule.
15898 (check-parallel-racy): Likewise.
15899 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15900 (do-check-parallel-racy): New rule.
15901 (check-racy/%.exp): Likewise.
15902 * README (Racy testcases): New section.
15903 * analyze-racy-logs.py: New file.
15904
bdf7e230
DE
159052016-03-03 Doug Evans <dje@google.com>
15906
15907 * gdb.base/skip.exp: Use with_test_prefix.
15908
4719d415
YQ
159092016-03-03 Yao Qi <yao.qi@linaro.org>
15910
15911 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15912 Invoke step_over_syscall "clone" and break_cond_on_syscall
15913 "clone".
15914 * gdb.base/step-over-clone.c: New file.
15915
ea507862
YQ
159162016-03-03 Yao Qi <yao.qi@linaro.org>
15917
15918 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15919 code format.
15920
8fc8cbda
YQ
159212016-03-03 Yao Qi <yao.qi@linaro.org>
15922
15923 * gdb.base/disp-step-fork.c: Rename to ...
15924 * gdb.base/step-over-fork.c: ... it. New file.
15925 * gdb.base/disp-step-vfork.c: Rename to ...
15926 * gdb.base/step-over-vfork.c: ... it. New file.
15927 * gdb.base/disp-step-syscall.exp: Rename to ...
15928 * gdb.base/step-over-syscall.exp: ... it. New file.
15929 (disp_step_cross_syscall): Rename to ...
15930 (step_over_syscall): ... it.
15931
92fa70b0
YQ
159322016-03-03 Yao Qi <yao.qi@linaro.org>
15933
15934 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15935 If target supports condition evaluation on target, invoke
15936 break_cond_on_syscall for fork and vfork.
15937
e197ad3c
YQ
159382016-03-03 Yao Qi <yao.qi@linaro.org>
15939
15940 * gdb.base/disp-step-syscall.exp: Don't invoke
15941 support_displaced_stepping.
15942 (disp_step_cross_syscall): Test with displaced stepping off and
15943 on if supported.
15944
0b47da9f
YQ
159452016-03-03 Yao Qi <yao.qi@linaro.org>
15946
15947 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15948 proc.
15949 (setup): New proc.
15950 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15951 and setup.
15952
065ab6dc
BH
159532016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15954
15955 * gdb.fortran/vla-history.exp: Remove breakpoint.
15956
07e448ad 159572016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15958
25d49b86
PA
15959 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15960 exceeds timeout.
07e448ad 15961
9ac2d526 159622016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15963
25d49b86
PA
15964 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15965 breakpoint.
9ac2d526 15966
17807369
BH
159672016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15968
15969 * gdb.mi/vla.f90: Nullify pointer after declaration.
15970
86e501af
PA
159712016-03-01 Pedro Alves <palves@redhat.com>
15972
15973 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15974
1e903e32
PA
159752016-03-01 Pedro Alves <palves@redhat.com>
15976
15977 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15978 before anything else.
15979 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15980 _GNU_SOURCE here.
15981 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15982 before anything else.
15983 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15984
6ccb54e2
PA
159852016-03-01 Pedro Alves <palves@redhat.com>
15986
15987 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15988
30ca9da1
YQ
159892016-03-01 Yao Qi <yao.qi@linaro.org>
15990
15991 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15992 prepare_for_testing.
15993
dc856b38
YQ
159942016-03-01 Yao Qi <yao.qi@linaro.org>
15995
15996 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15997
4a932159
AA
159982016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15999
16000 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16001 manually constructing the output path.
16002
f2489477
AA
160032016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16004
16005 * gdb.arch/s390-stackless.S: New.
16006 * gdb.arch/s390-stackless.exp: New.
16007
38899f16
IB
160082016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16009
16010 * gdb.dlang/circular.c: New file.
16011 * gdb.dlang/circular.exp: New file.
16012
9fde51ed
YQ
160132016-02-26 Yao Qi <yao.qi@linaro.org>
16014
16015 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16016 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16017 (testcases): Update.
16018
ce90fefe
YQ
160192016-02-26 Yao Qi <yao.qi@linaro.org>
16020
16021 * gdb.reverse/aarch64.c: Rename to ...
16022 * gdb.reverse/insn-reverse.c: ... it.
16023 * gdb.reverse/aarch64.exp: Rename to ...
16024 * gdb.reverse/insn-reverse.exp: ... it.
16025
3263bceb
YQ
160262016-02-26 Yao Qi <yao.qi@linaro.org>
16027
16028 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16029 (testcase_ftype): New.
16030 (testcases): New array.
16031 (n_testcases): New.
16032 (main): Call each element in testcases.
16033 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16034 (read_testcase): New.
16035 Do the tests in a loop.
16036
6cb59ff1
YQ
160372016-02-25 Yao Qi <yao.qi@linaro.org>
16038
16039 * gdb.base/branches.c: Remove.
16040
ae91f625
MK
160412016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16042
16043 PR gdb/13808
16044 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16045
678b48b7
MK
160462016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16047
16048 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16049
7337a6f2
MK
160502016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16051
16052 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16053 change x86_64 call_insn to 'callq'.
16054
861ca91f
AT
160552016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16056
16057 * gdb.trace/tfile-avx.c: Move to...
16058 * gdb.trace/tracefile-pseudo-reg.c: Here.
16059 * gdb.trace/tfile-avx.exp: Move to...
16060 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16061
bf74e428
GB
160622016-02-24 Gary Benson <gbenson@redhat.com>
16063
16064 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16065 message on attach.
16066
cce0e923
DE
160672016-02-23 Doug Evans <dje@google.com>
16068
16069 * gdb.base/skip.c (test_skip): New function.
16070 (end_test_skip_file_and_function): New function.
16071 (test_skip_file_and_function): New function.
16072 * gdb.base/skip1.c (test_skip): New function.
16073 (skip1_test_skip_file_and_function): New function.
16074 * gdb.base/skip.exp: Add tests for new skip options.
16075 * gdb.base/skip-solib.exp: Update expected output.
16076 * gdb.perf/skip-command.cc: New file.
16077 * gdb.perf/skip-command.exp: New file.
16078 * gdb.perf/skip-command.py: New file.
16079
4000e47e
MK
160802016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16081
16082 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16083 info registers pattern.
16084
24f75ead
IB
160852016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16086
16087 * lib/future.exp: Add D support.
16088 (gdb_find_gdc): New proc.
16089 (gdb_default_target_compile): Add D support.
16090
fbb7bcbe
WW
160912016-02-18 Wei-cheng Wang <cole945@gmail.com>
16092
16093 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16094 user+system time.
16095 (trace_speed_test): Determine the iteration count for a time
16096 between 15..30 seconds.
16097
012b3a21
WT
160982016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16099
16100 * gdb.arch/i386-mpx-sigsegv.c: New file.
16101 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16102 * gdb.arch/i386-mpx-simple_segv.c: New file.
16103 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16104
2d5189bd
YQ
161052016-02-18 Yao Qi <yao.qi@linaro.org>
16106
16107 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16108 Don't call setup_kfail.
16109
40fb20d0
YQ
161102016-02-18 Yao Qi <yao.qi@linaro.org>
16111
16112 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16113 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16114
21b1f8d2
DE
161152016-02-16 Doug Evans <dje@google.com>
16116
16117 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16118 * gdb.base/skip1.c: Ditto.
16119 * gdb.base/skip.exp: Whitespace cleanup.
16120
4041ed77
DB
161212016-02-16 Don Breazeal <donb@codesourcery.com>
16122
16123 PR remote/19496
16124 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16125 Remove kfail for PR remote/19496.
16126
c4ef31bf
SM
161272016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16128
16129 * lib/gdb.exp (standard_temp_file): Return a path specific to
16130 the runtest invocation.
16131
266b65b3
SM
161322016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16133
16134 * gdb.trace/save-trace.exp: Change relative path to be in the
16135 standard output directory.
16136
a7a0a6a9
JK
161372016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16138
16139 * gdb.arch/i386-prologue.c: Add missing prototypes.
16140
c99dbb42
JK
161412016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16142
16143 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16144 * gdb.arch/i386-prologue.exp: Likewise.
16145 * gdb.arch/i386-size.exp: Likewise.
16146
aa480355
SM
161472016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16148
16149 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16150 define object file path.
16151 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16152 file path.
16153 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16154 standard_output_file to define binfile.
16155
ba881f50
JK
161562016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16157
16158 Fix compatibility with recent gfortran-5.3.1.
16159 * gdb.fortran/vla-history.exp (print vla1 allocated)
16160 (print vla2 allocated, print $2, print $3): Remove
16161 (print $4): Rename to ...
16162 (print $2): ... here.
16163 (print $9): Rename to ...
16164 (print $5): ... here.
16165 (print $10): Rename to ...
16166 (print $6): ... here.
16167 * gdb.fortran/vla.f90: Add pvla initialization.
16168
e9fb005c
JK
161692016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16170
16171 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16172 New test.
16173 * gdb.fortran/vla-value-sub.exp: Likewise.
16174
e44e00ff
MK
161752016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16176
16177 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16178
97e94151
SM
161792016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16180
16181 * i386-biarch-core.exp: Define corefile using
16182 standard_output_file.
16183
01113bc1
YQ
161842016-02-12 Yao Qi <yao.qi@linaro.org>
16185
16186 * gdb.arch/arm-single-step-kernel-helper.c: New.
16187 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16188
33b4777c
MM
161892016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16190
16191 * gdb.btrace/tailcall-only.exp: New.
16192 * gdb.btrace/tailcall-only.c: New.
16193 * gdb.btrace/x86_64-tailcall-only.S: New.
16194 * gdb.btrace/i686-tailcall-only.S: New.
16195
acc23c11
PA
161962016-02-11 Pedro Alves <palves@redhat.com>
16197
16198 * README (Parallel testing): Add missing double quotes.
16199
e352bf0a
PA
162002016-02-11 Pedro Alves <palves@redhat.com>
16201
16202 * README (Parallel testing): New section.
16203 (GDB_PARALLEL): Rewrite.
16204 (FORCE_PARALLEL): Document.
16205
9f5fed78
MK
162062016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16207
16208 * gdb.trace/tfile-avx.c: New test.
16209 * gdb.trace/tfile-avx.exp: New test.
16210
9ef9e6a6
KS
162112016-02-09 Keith Seitz <keiths@redhat.com>
16212
16213 PR breakpoints/19546
16214 * gdb.base/infcall-exec.c: New file.
16215 * gdb.base/infcall-exec2.c: New file.
16216 * gdb.base/infcall-exec.exp: New file.
16217
a96e36da
KS
162182016-02-09 Keith Seitz <keiths@redhat.com>
16219
16220 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16221 (toplevel): Call test_bkpt_address.
16222
9f61929f
KS
162232016-02-09 Keith Seitz <keiths@redhat.com>
16224
16225 PR python/19506
16226 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16227 (toplevel): Call test_bkpt_address.
16228
1e94266c
SM
162292016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16230
16231 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16232 to AC_OUTPUT.
16233 * configure: Regenerate.
16234
2a7f3dff
PA
162352016-02-09 Pedro Alves <palves@redhat.com>
16236
16237 PR breakpoints/19548
16238 * gdb.base/execl-update-breakpoints.c (some_function): New
16239 function.
16240 (main): Call it.
16241 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16242 Tighten expected GDB output.
16243
2151ccc5
SM
162442016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16245
16246 * Makefile.in (ALL_SUBDIRS): Remove.
16247 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16248 (distclean maintainer-clean realclean): Likewise.
16249 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16250 * configure: Regenerate.
16251 * gdb.ada/Makefile.in: Delete.
16252 * gdb.arch/Makefile.in: Likewise.
16253 * gdb.asm/Makefile.in: Likewise.
16254 * gdb.base/Makefile.in: Likewise.
16255 * gdb.btrace/Makefile.in: Likewise.
16256 * gdb.cell/Makefile.in: Likewise.
16257 * gdb.compile/Makefile.in: Likewise.
16258 * gdb.cp/Makefile.in: Likewise.
16259 * gdb.disasm/Makefile.in: Likewise.
16260 * gdb.dlang/Makefile.in: Likewise.
16261 * gdb.dwarf2/Makefile.in: Likewise.
16262 * gdb.fortran/Makefile.in: Likewise.
16263 * gdb.gdb/Makefile.in: Likewise.
16264 * gdb.go/Makefile.in: Likewise.
16265 * gdb.guile/Makefile.in: Likewise.
16266 * gdb.java/Makefile.in: Likewise.
16267 * gdb.linespec/Makefile.in: Likewise.
16268 * gdb.mi/Makefile.in: Likewise.
16269 * gdb.modula2/Makefile.in: Likewise.
16270 * gdb.multi/Makefile.in: Likewise.
16271 * gdb.objc/Makefile.in: Likewise.
16272 * gdb.opencl/Makefile.in: Likewise.
16273 * gdb.opt/Makefile.in: Likewise.
16274 * gdb.pascal/Makefile.in: Likewise.
16275 * gdb.perf/Makefile.in: Likewise.
16276 * gdb.python/Makefile.in: Likewise.
16277 * gdb.reverse/Makefile.in: Likewise.
16278 * gdb.server/Makefile.in: Likewise.
16279 * gdb.stabs/Makefile.in: Likewise.
16280 * gdb.threads/Makefile.in: Likewise.
16281 * gdb.trace/Makefile.in: Likewise.
16282 * gdb.xml/Makefile.in: Likewise.
16283 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16284 GDB_PARALLEL.
16285 (standard_output_file): Remove check for GDB_PARALLEL, always
16286 return path in outputs/$subdir/$testname.
16287
437277d4
SM
162882016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16289
16290 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16291 (site.exp): Assign abs_srcdir to tcl's srcdir.
16292
31d913c7
YQ
162932016-02-04 Yao Qi <yao.qi@linaro.org>
16294
16295 * gdb.base/foll-exec-mode.c: Include limits.h.
16296 (main): Add parameters argc and argv. Get directory from
16297 argv[0].
16298 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16299 compilation.
16300 * gdb.base/foll-exec.c: Include limits.h.
16301 (main): Add parameters argc and argv.
16302 Get directory from argv[0].
16303 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16304 Adjust tests on the number of lines as source code changed.
16305 * gdb.base/foll-vfork-exit.c: Include limits.h.
16306 (main): Add one line of statement before vfork.
16307 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16308 (main): Add parameters argc and argv. Get directory from
16309 argv[0].
16310 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16311 (setup_gdb): Set tbreak to skip some source lines.
16312 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16313 (main): Add parameters argc and argv. Get directory from
16314 argv[0].
16315 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16316 compilation.
16317 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16318 (main): Add parameters argc and argv. Get directory from
16319 argv[0].
16320 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16321 compilation.
16322
9482b9fb
DE
163232016-02-01 Doug Evans <dje@google.com>
16324
16325 * gdb.base/skip.exp: Clean up multiple references to same test name.
16326
6b2e4f10
PA
163272016-02-01 Pedro Alves <palves@redhat.com>
16328
ccb6afd6 16329 PR remote/19496
6b2e4f10
PA
16330 * gdb.threads/forking-threads-plus-breakpoint.exp
16331 (displaced_stepping_supported): New global.
16332 (probe_displaced_stepping_support): New procedure.
16333 (do_test): Add 'displaced' parameter, and use it.
16334 (top level): Check for displaced stepping support. Add displaced
16335 stepping on/off testing axis.
16336
37a8db1a
AB
163372016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16338
16339 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16340 pointer. Don't perform further tests on the unassociated pointer
16341 if the first test fails.
16342
5fdf6324
AB
163432016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16344
16345 * gdb.base/max-value-size.c: New file.
16346 * gdb.base/max-value-size.exp: New file.
16347 * gdb.base/huge.exp: Disable max-value-size for this test.
16348
935c6144
IB
163492016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16350
16351 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16352
7fe8399d
YQ
163532016-01-28 Yao Qi <yao.qi@linaro.org>
16354
16355 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16356
a2077e25
PA
163572016-01-25 Pedro Alves <palves@redhat.com>
16358
16359 PR threads/19461
16360 * gdb.base/fork-running-state.c: New file.
16361 * gdb.base/fork-running-state.exp: New file.
16362
1d2736d4
PA
163632016-01-25 Pedro Alves <palves@redhat.com>
16364
16365 PR gdb/19494
16366 * gdb.base/catch-fork-kill.c: New file.
16367 * gdb.base/catch-fork-kill.exp: New file.
16368
f1da4b11
PA
163692016-01-25 Pedro Alves <palves@redhat.com>
16370
16371 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16372 Delete, moved to lib/gdb.exp.
16373 * gdb.threads/forking-threads-plus-breakpoint.exp
16374 (foreach_with_prefix): Likewise.
16375 * gdb.threads/process-dies-while-handling-bp.exp
16376 (foreach_with_prefix): Likewise.
16377 * lib/gdb.exp (foreach_with_prefix): New procedure.
16378
45f38546
MK
163792016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16380
16381 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16382 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16383
dc29a1ce
MK
163842016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16385
16386 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16387 endian targets.
16388
092127d7
JK
163892016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16390 Pedro Alves <palves@redhat.com>
16391
16392 Fix testsuite compatibility with Guile.
16393 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16394 number.
16395
31d765d3
JK
163962016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16397
16398 Fix testsuite compatibility with Guile.
16399 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16400 (thread 1): New test for backtrace through signal handler.
16401
1ac78c04
YQ
164022016-01-22 Yao Qi <yao.qi@linaro.org>
16403
16404 PR testsuite/19491
16405 * gdb.base/multi-forks.c: Include
16406 ../lib/unbuffer_output.c
16407 (main): Call gdb_unbuffer_output.
16408
4f5946a8
DE
164092016-01-21 Doug Evans <dje@google.com>
16410
16411 * lib/ada.exp (gdb_compile_ada): Fix typo.
16412
305e13e6
JB
164132016-01-21 Joel Brobecker <brobecker@adacore.com>
16414
16415 * gdb.base/break-fun-addr.exp: New file.
16416 * gdb.base/break-fun-addr1.c: New file.
16417 * gdb.base/break-fun-addr2.c: New file.
16418
5f5dfff6
SM
164192016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16420
16421 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16422 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16423 enum flag values.
16424
fd356fa2
AA
164252016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16426
16427 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16428 when GDB can not set the vector return value. Add more comments
16429 for clarification.
16430
9df22175
AT
164312016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16432
16433 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16434 command.
16435
41d1845e
SM
164362016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16437
16438 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16439
01ac6840
SM
164402016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16441
16442 * Makefile.in (check-single): Pass --status to runtest.
16443 (check/%.exp): Likewise.
16444
164452016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16446
16447 * Makefile.in (check-parallel): Propagate return code from make
16448 do-check-parallel.
16449
bd0a71fa
MK
164502016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16451
16452 * gdb.trace/ftrace.exp: Fix expected message on continue.
16453 * gdb.trace/pending.exp: Fix expected message on continue.
16454 * gdb.trace/trace-break.exp: Fix expected message on continue.
16455
8bcbad33
SM
164562016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16457
16458 * lib/gdb.exp (gdb_test): Remove unused global references.
16459
f303dbd6
PA
164602016-01-18 Pedro Alves <palves@redhat.com>
16461
16462 * gdb.base/async-shell.exp: Adjust expected output.
16463 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16464 * gdb.base/siginfo-thread.exp: Adjust expected output.
16465 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16466 * gdb.java/jnpe.exp: Adjust expected output.
16467 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16468 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16469 * gdb.threads/leader-exit.exp: Adjust expected output.
16470 * gdb.threads/manythreads.exp: Adjust expected output.
16471 * gdb.threads/pthreads.exp: Adjust expected output.
16472 * gdb.threads/schedlock.exp: Adjust expected output.
16473 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16474 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16475 expected output.
16476 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16477 output.
16478 * gdb.threads/sigthread.exp: Adjust expected output.
16479 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16480
b2789696
YQ
164812016-01-18 Yao Qi <yao.qi@linaro.org>
16482
16483 * gdb.guile/scm-section-script.c: Replace @progbits with
16484 %progbits.
16485 * gdb.python/py-section-script.c: Likewise.
16486
71ef29a8
PA
164872016-01-15 Pedro Alves <palves@redhat.com>
16488
16489 * gdb.multi/tids.exp: Test star wildcard ranges.
16490
3f5b7598
PA
164912016-01-15 Pedro Alves <palves@redhat.com>
16492
16493 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16494 command from "thread apply" invocation.
16495 (thr_apply_info_thr_invalid): Default the expected output to the
16496 input tid list.
16497 (top level): Add tests that use convenience variables. Add tests
16498 for "thread apply" with a valid TID list, but missing the command.
16499
663f6d42
PA
165002016-01-13 Pedro Alves <palves@redhat.com>
16501
16502 * gdb.base/default.exp: Expect $_gthread as well.
16503 * gdb.multi/tids.exp: Test $_gthread.
16504 * gdb.threads/thread-specific.exp: Test $_gthread.
16505
c84f6bbf
PA
165062016-01-13 Pedro Alves <palves@redhat.com>
16507
16508 * gdb.multi/tids.exp: Test "info threads -gid".
16509
22a02324
PA
165102016-01-13 Pedro Alves <palves@redhat.com>
16511
16512 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16513 Breakpoint.thread.
16514 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16515
5d5658a1
PA
165162016-01-07 Pedro Alves <palves@redhat.com>
16517
16518 * gdb.base/break.exp: Adjust to output changes.
16519 * gdb.base/hbreak2.exp: Likewise.
16520 * gdb.base/sepdebug.exp: Likewise.
16521 * gdb.base/watch_thread_num.exp: Likewise.
16522 * gdb.linespec/keywords.exp: Likewise.
16523 * gdb.multi/info-threads.exp: Likewise.
16524 * gdb.threads/thread-find.exp: Likewise.
16525 * gdb.multi/tids.c: New file.
16526 * gdb.multi/tids.exp: New file.
16527
84654457
PA
165282016-01-13 Pedro Alves <palves@redhat.com>
16529
16530 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16531
e3940304
PA
165322016-01-13 Pedro Alves <palves@redhat.com>
16533
16534 * gdb.base/default.exp: Expect $_inferior as well.
16535 * gdb.multi/base.exp: Test $_inferior.
16536
a911d87a
PA
165372016-01-13 Pedro Alves <palves@redhat.com>
16538
16539 PR breakpoints/19388
16540 * gdb.base/catch-signal-siginfo-cond.c: New file.
16541 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16542
82075af2
JS
165432016-01-12 Josh Stone <jistone@redhat.com>
16544 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16545
16546 * gdb.base/catch-syscall.c (do_execve): New variable.
16547 (main): Conditionally trigger an execve.
16548 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16549 (test_catch_syscall_execve): New, check entry/return across execve.
16550 (do_syscall_tests): Call test_catch_syscall_execve.
16551
e46eeedd
PA
165522016-01-12 Pedro Alves <palves@redhat.com>
16553
16554 * gdb.base/random-signal.exp (do_test): New procedure, with body
16555 of testcase moved in.
16556
01d8c27e
JK
165572016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16558 Pedro Alves <palves@redhat.com>
16559
16560 * gdb.base/funcargs.exp (finish from indirectly called function):
16561 Reintroduce the case for 'First'.
16562
9a706302
JK
165632016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16564 Pedro Alves <palves@redhat.com>
16565
16566 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16567 (tcatch_vfork_then_child_follow_exec)
16568 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16569 identification.
16570
c0ecb95f
JK
165712016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16572
16573 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16574 and repeats to unlimited.
16575 * gdb.python/py-value.exp: Likewise.
16576 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16577 and repeats to unlimited.
16578
6cfc1fcb
JK
165792016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16580
16581 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16582 and reordering the functions.
16583 * gdb.multi/hangout.c: Likewise.
16584 * gdb.multi/hello.c: Likewise.
16585
582a1b00
SM
165862016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16587
16588 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16589 absolute.
16590 (SingleStatisticTestResult.report): Use dict.keys instead of
16591 dict.iterkeys.
16592
79bc59cb
PA
165932016-01-06 Pedro Alves <palves@redhat.com>
16594
16595 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16596
43368e1d
MM
165972016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16598
16599 * gdb.btrace/dlopen.exp: New.
16600 * gdb.btrace/dlopen.c: New.
16601 * gdb.btrace/dlopen-dso.c: New.
16602
79fad5b8
SL
166032015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16604
16605 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16606 PATTERN argument is optional.
16607
ab8314b3
JB
166082015-12-24 Joel Brobecker <brobecker@adacore.com>
16609
16610 * lib/ada.exp (target_compile_ada_from_dir): New function.
16611 (gdb_compile_ada): Reimplement avoiding the use of project files.
16612 * gdb.ada/gnat_ada.gpr: Delete.
16613 * gdb.ada/cond_lang.exp: Adjust test to make path before
16614 filename optional.
16615 * gdb.ada/small_reg_param.exp: Likewise.
16616
fe33faff
SM
166172015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16618
16619 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16620
6d265cb4
TP
166212015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16622
16623 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16624 case.
16625
10125099
SM
166262015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16627
16628 * gdb.base/break.exp: Remove dead code.
16629 * gdb.base/sepdebug.exp: Likewise.
16630
3ca22649
SM
166312015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16632
16633 * gdb.asm/asm-source.exp: Remove HP-UX references.
16634 * gdb.base/annota1.exp: Likewise.
16635 * gdb.base/annota3.exp: Likewise.
16636 * gdb.base/attach.exp: Likewise.
16637 * gdb.base/bigcore.exp: Likewise.
16638 * gdb.base/break.exp: Likewise.
16639 * gdb.base/call-ar-st.exp: Likewise.
16640 * gdb.base/callfuncs.exp: Likewise.
16641 * gdb.base/catch-fork-static.exp: Likewise.
16642 * gdb.base/display.exp: Likewise.
16643 * gdb.base/foll-exec-mode.exp: Likewise.
16644 * gdb.base/foll-exec.exp: Likewise.
16645 * gdb.base/foll-fork.exp: Likewise.
16646 * gdb.base/foll-vfork.exp: Likewise.
16647 * gdb.base/funcargs.exp: Likewise.
16648 * gdb.base/hbreak2.exp: Likewise.
16649 * gdb.base/inferior-died.exp: Likewise.
16650 * gdb.base/interrupt.exp: Likewise.
16651 * gdb.base/multi-forks.exp: Likewise.
16652 * gdb.base/nodebug.exp: Likewise.
16653 * gdb.base/sepdebug.exp: Likewise.
16654 * gdb.base/solib1.c: Likewise.
16655 * gdb.base/step-test.exp: Likewise.
16656 * gdb.mi/non-stop.c: Likewise.
16657 * gdb.mi/pthreads.c: Likewise.
16658 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16659 * gdb.threads/pthreads.c: Likewise.
16660 * gdb.threads/staticthreads.exp: Likewise.
16661 * lib/future.exp: Likewise.
16662 * lib/gdb.exp: Likewise.
16663 * gdb.base/so-indr-cl.c: Remove.
16664 * gdb.base/so-indr-cl.exp: Likewise.
16665 * gdb.base/solib.c: Likewise.
16666 * gdb.base/solib.exp: Likewise.
16667 * gdb.base/solib2.c: Likewise.
16668
b6304613
SM
166692015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16670
16671 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16672 * gdb.base/call-ar-st.exp: Likewise.
16673 * gdb.base/callfuncs.exp: Likewise.
16674 * gdb.base/condbreak.exp: Likewise.
16675 * gdb.base/constvars.exp: Likewise.
16676 * gdb.base/hbreak2.exp: Likewise.
16677 * gdb.base/langs.exp: Likewise.
16678 * gdb.base/list.exp: Likewise.
16679 * gdb.base/long_long.exp: Likewise.
16680 * gdb.base/ptype.exp: Likewise.
16681 * gdb.base/scope.exp: Likewise.
16682 * gdb.base/signals.exp: Likewise.
16683 * gdb.base/so-impl-ld.exp: Likewise.
16684 * gdb.base/varargs.exp: Likewise.
16685 * gdb.base/volatile.exp: Likewise.
16686 * gdb.base/whatis.exp: Likewise.
16687 * gdb.cp/cplusfuncs.exp: Likewise.
16688 * gdb.cp/inherit.exp: Likewise.
16689 * gdb.cp/local.exp: Likewise.
16690 * gdb.cp/member-ptr.exp: Likewise.
16691 * gdb.cp/method.exp: Likewise.
16692 * gdb.cp/overload.exp: Likewise.
16693 * gdb.cp/templates.exp: Likewise.
16694 * gdb.stabs/weird.exp: Likewise.
16695 * lib/compiler.c: Likewise.
16696 * lib/compiler.cc: Likewise.
16697 * lib/cp-support.exp: Likewise.
16698 * lib/gdb.exp: Likewise.
16699
bf401b07
SM
167002015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16701
16702 * configure.ac: Remove HP-UX case.
16703 * configure: Regenerate.
16704
aff9c0f8
SM
167052015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16706
16707 * lib/gdb.exp (gdb_compile): Add function doc.
16708
a6904d5a
PA
167092015-12-17 Pedro Alves <palves@redhat.com>
16710
16711 PR threads/19354
16712 * gdb.multi/info-threads.exp: New file.
16713
a22279dd
YQ
167142015-12-15 Yao Qi <yao.qi@linaro.org>
16715
16716 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16717 is aarch64*-*-*.
16718
0588c796
SL
167192015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16720
16721 * gdb.base/history-duplicates.exp: Skip if no readline support.
16722
5d978e17
SL
167232015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16724
16725 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16726
7e763b86
SL
167272015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16728
16729 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16730
87a3a92c
SL
167312015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16732
16733 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16734 ctrl-C if nointerrupts target property is set.
16735 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16736 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16737 * gdb.base/paginate-bg-execution.exp: Likewise.
16738 * gdb.base/paginate-execution-startup.exp: Likewise.
16739 * gdb.base/random-signal.exp: Likewise.
16740 * gdb.base/range-stepping.exp: Likewise.
16741 * gdb.cp/annota2.exp: Likewise.
16742 * gdb.cp/annota3.exp: Likewise.
16743 * gdb.gdb/selftest.exp: Likewise.
16744 * gdb.threads/continue-pending-status.exp: Likewise.
16745 * gdb.threads/leader-exit.exp: Likewise.
16746 * gdb.threads/manythreads.exp: Likewise.
16747 * gdb.threads/pthreads.exp: Likewise.
16748 * gdb.threads/schedlock.exp: Likewise.
16749 * gdb.threads/sigthread.exp: Likewise.
16750
a8f077dc
DB
167512015-12-11 Don Breazeal <donb@codesourcery.com>
16752
16753 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16754 remote.
16755 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16756 * gdb.base/foll-exec.exp (main): Enable for target remote.
16757 * gdb.base/foll-fork.exp (main): Likewise.
16758 * gdb.base/foll-vfork.exp (main): Likewise.
16759 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16760 (proc continue_to_exit_bp_loc): Use clean_restart.
16761 * gdb.base/pie-execl.exp (main): Disable for target remote.
16762 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16763 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16764 * gdb.threads/execl.exp (main): Likewise.
16765 * gdb.threads/fork-child-threads.exp (main): Likewise.
16766 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16767 remote.
16768 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16769 remote.
16770 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16771 pid.tid style ptids, instead of just tid.
16772 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16773 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16774 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16775 ptids, instead of just tid.
16776
3b2464a8
AB
167772015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16778
16779 * gdb.base/list.exp (test_list_forward): Add end of file error
16780 test.
16781 (test_repeat_list_command): Add end of file error test.
16782 (test_list_backwards): Add beginning of file error test.
16783
a0def019
AB
167842015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16785
16786 * gdb.base/list.exp (test_list_invalid_args): New function,
16787 defined, and called.
16788
5c000dff
AB
167892015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16790
16791 * gdb.base/list.exp (test_list): Make test names unique.
16792
f1637ebe
YQ
167932015-12-11 Yao Qi <yao.qi@linaro.org>
16794
16795 * gdb.base/coremaker2.c: Remove.
16796
36d6fc0a
PA
167972015-12-10 Pedro Alves <palves@redhat.com>
16798
16799 * gdb.multi/base.exp: Remove stale "spaces" references.
16800
762f7747
PA
168012015-12-10 Pedro Alves <palves@redhat.com>
16802
16803 * gdb.multi/base.exp: Don't use nowarnings.
16804 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16805 * gdb.multi/hangout.c: Include stdio.h.
16806 * gdb.multi/hello.c: Include stdlib.h.
16807 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16808 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16809 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16810
28d2bfb9
AB
168112015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16812
16813 * gdb.dwarf2/dw2-ranges-base.c: New file.
16814 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16815 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16816 support additional line table, and debug ranges generation.
16817 (Dwarf::ranges): New function, generate .debug_ranges.
16818 (Dwarf::lines): Support generating simple line table programs.
16819 (Dwarf::assemble): Initialise new namespace variables.
16820
5fc2beac
KB
168212015-12-09 Kevin Buettner <kevinb@redhat.com>
16822
16823 * gdb.base/async.exp (proc test_background): Add case for
16824 asynchronous execution not supported.
16825
1c35a88f
LM
168262015-12-09 Luis Machado <lgustavo@codesourcery.com>
16827
16828 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16829 format and change test names to make them unique.
16830
b593e3d9
RK
168312015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16832 Pedro Alves <pedro@redhat.com>
16833
16834 PR gdb/18702
16835 Add checking of floatformats setup on x86_64 hosts.
16836 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16837 (smallval, bigval): New labels/constants.
16838 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16839 float" after loading bigval and smallval.
16840
d72413e6
PMR
168412015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16842
16843 * gdb.ada/fun_overload_menu.exp: New testcase.
16844 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16845
ece66d65
JS
168462015-12-04 Josh Stone <jistone@redhat.com>
16847
16848 * gdb.base/catch-fork-static.exp: New.
16849
41d0efca
YQ
168502015-12-03 Yao Qi <yao.qi@linaro.org>
16851
16852 * gdb.base/sizeof.c: Don't include stdio.h and
16853 ../lib/unbuffer_output.c.
16854 (main): New variable 'size' and 'value'. Remove printf and
16855 gdb_unbuffer_output. Assign return value to size and value.
16856 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16857 at the beginning.
16858 (check_sizeof): Check the result by printing variable 'size'.
16859 (check_valueof): Check the result by printing variable 'value'.
16860
99fd02d9
YQ
168612015-12-01 Yao Qi <yao.qi@linaro.org>
16862
16863 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16864 for aarch64*-*-linux* target.
16865
f2faf941
PA
168662015-11-30 Pedro Alves <palves@redhat.com>
16867
16868 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16869
04bf20c5
PA
168702015-11-30 Pedro Alves <palves@redhat.com>
16871
16872 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16873 Handle non-stop mode vCont replies.
16874
09df4675
PA
168752015-11-30 Pedro Alves <palves@redhat.com>
16876
16877 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16878 prepare_for_testing. Start gdb with "set non-stop on" appended to
16879 GDBFLAGS. Lax expected stop output.
16880
58b584af
YQ
168812015-11-27 Yao Qi <yao.qi@linaro.org>
16882
16883 * gdb.arch/arm-neon.exp: New.
16884 * gdb.arch/arm-neon.c: New.
16885
dfcb77a8
YQ
168862015-11-27 Yao Qi <yao.qi@linaro.org>
16887
16888 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16889
88e8ec1b
YQ
168902015-11-27 Yao Qi <yao.qi@linaro.org>
16891
16892 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16893 frames-invalid annotation.
16894
bfde72c2
YQ
168952015-11-27 Yao Qi <yao.qi@linaro.org>
16896
16897 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16898
f6512a69
SM
168992015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16900
16901 * gdb.threads/names.exp: New file.
16902 * gdb.threads/names.c: New file.
16903 * README: Mention gdb,no_thread_names.
16904
46a3515b
MM
169052015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16906
16907 PR 19297
16908 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16909 support" error.
16910
62147a22
PA
169112015-11-24 Pedro Alves <palves@redhat.com>
16912
16913 PR 17539
16914 * gdb.base/display.exp: Expect displays to be sorted in ascending
16915 order. Use multi_line.
16916 * gdb.base/solib-display.exp: Likewise.
16917
2f341b6e
PA
169182015-11-24 Pedro Alves <palves@redhat.com>
16919
16920 PR 17539
25d49b86
PA
16921 * gdb.base/display.exp: Expect displays to be sorted in ascending
16922 order. Use multi_line.
16923 * gdb.base/solib-display.exp: Likewise.
2f341b6e 16924
7e0aa6aa
PA
169252015-11-24 Pedro Alves <palves@redhat.com>
16926
16927 PR 17539
16928 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16929 threads in ascending order.
16930 * gdb.base/foll-fork.exp: Likewise.
16931 * gdb.base/foll-vfork.exp: Likewise.
16932 * gdb.base/multi-forks.exp: Likewise.
16933 * gdb.mi/mi-nonstop.exp: Likewise.
16934 * gdb.mi/mi-nsintrall.exp: Likewise.
16935 * gdb.multi/base.exp: Likewise.
16936 * gdb.multi/multi-arch.exp: Likewise.
16937 * gdb.python/py-inferior.exp: Likewise.
16938 * gdb.threads/break-while-running.exp: Likewise.
16939 * gdb.threads/execl.exp: Likewise.
16940 * gdb.threads/gcore-thread.exp: Likewise.
16941 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16942 * gdb.threads/kill.exp: Likewise.
16943 * gdb.threads/linux-dp.exp: Likewise.
16944 * gdb.threads/multiple-step-overs.exp: Likewise.
16945 * gdb.threads/next-bp-other-thread.exp: Likewise.
16946 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16947 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16948 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16949 * gdb.threads/thread-find.exp: Likewise.
16950 * gdb.threads/tls.exp: Likewise.
16951 * lib/mi-support.exp (mi_reverse_list): Delete.
16952 (mi_check_thread_states): No longer reverse list.
16953
2cc57ad8
PA
169542015-11-24 Pedro Alves <palves@redhat.com>
16955
16956 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16957 use lowercase.
16958
c93e8391
SM
169592015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16960
16961 * gdb.trace/actions.c: Include trace-common.h.
16962 (main): Add a location for a fast tracepoint.
16963 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16964 the normal tracepoints.
16965 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16966
045ccf91
SM
169672015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16968
16969 * save-trace.exp: Factor out code to these...
16970 (gdb_save_tracepoints): New.
16971 (gdb_load_tracepoints): New.
16972 (do_save_load_test): New.
16973
5506f9f6
KB
169742015-11-23 Kevin Buettner <kevinb@redhat.com>
16975
16976 * gdb.base/asmlabel.exp: New test.
16977 * gdb.base/asmlabel.c: New test case.
16978
16c3b12f
JB
169792015-11-23 Joel Brobecker <brobecker@adacore.com>
16980
16981 * gdb.base/wrong_frame_bt_full-main.c: New file.
16982 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16983 * gdb.base/wrong_frame_bt_full.exp: New file.
16984
155bfbd3
JB
169852015-11-23 Joel Brobecker <brobecker@adacore.com>
16986
16987 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16988
bb097445
JM
169892015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16990
206853a0 16991 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
16992 pstate register when comparing registers values in
16993 sparc64-*-linux-gnu targets to avoid spurious differences.
16994
9c88ed8f
JM
169952015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16996
206853a0 16997 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 16998
96161e25
SL
169992015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17000
17001 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17002 as type argument to gdb_compile.
17003 * gdb.base/nested-subp2.exp: Likewise.
17004 * gdb.base/nested-subp3.exp: Likewise.
17005
340c2830
DV
170062015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17007
17008 * lib/dwarf.exp (_note): Fix left shift of negative value.
17009 * gdb.trace/trace-condition.exp: Likewise.
17010
c1862d0f
YQ
170112015-11-13 Yao Qi <yao.qi@linaro.org>
17012
17013 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17014 comments about d10v.
17015 (test_scalar_returns): Likewise.
17016 * gdb.base/d10v.ld: Remove.
17017 * gdb.base/overlays.exp: Remove the target triplet checking for
17018 d10v-*-*.
17019 * gdb.base/structs.exp (test_struct_returns): Remove the
17020 comments about d10v.
17021 (test_struct_calls): Likewise.
17022
77ae9c19
YQ
170232015-11-13 Yao Qi <yao.qi@linaro.org>
17024
17025 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17026 * gdb.base/gnu_vector.c: Don't include stdio.h.
17027 (main): Don't print res and call add_some_intvecs.
17028
430e004e
MK
170292015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17030
17031 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17032 macro.
17033 (func5): Removed.
17034 (func4): Use FAST_TRACEPOINT_LABEL.
17035 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17036 macro.
17037 (func): Removed.
17038 (thread_function): Use FAST_TRACEPOINT_LABEL.
17039 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17040 (func): Remove.
17041 (marker): Use FAST_TRACEPOINT_LABEL.
17042 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17043 (pendfunc1): Remove.
17044 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17045 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17046 (foo): Remove.
17047 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17048 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17049 macro.
17050 (func): Remove.
17051 (marker): Use FAST_TRACEPOINT_LABEL.
17052 * gdb.trace/trace-common.h: New header.
17053 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17054 macro.
17055 (func): Remove.
17056 (marker): Use FAST_TRACEPOINT_LABEL.
17057 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17058 (func): Remove.
17059 (thread_function): Use FAST_TRACEPOINT_LABEL.
17060
6e7675a7
MK
170612015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17062
17063 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17064 in front.
17065 * gdb.trace/change-loc.exp: Use global pcreg definition.
17066 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17067 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17068 in front.
17069 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17070 * gdb.trace/pending.exp: Likewise.
17071 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17072 * gdb.trace/trace-break.exp: Likewise.
17073 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17074 in front.
17075 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17076 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17077 in front.
17078 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17079
dddc0e16
JB
170802015-11-09 Joel Brobecker <brobecker@adacore.com>
17081
17082 * gdb.ada/fin_fun_out: New testcase.
17083
c6f0b406
KB
170842015-11-07 Kevin Buettner <kevinb@redhat.com>
17085
17086 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17087 value associated with DW_AT_byte_size.
17088 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17089 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17090 DW_AT_upper_bound.
17091
f01dcfd9
KB
170922015-11-07 Kevin Buettner <kevinb@redhat.com>
17093
17094 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17095 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17096 version.
17097 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17098 gdb.dwarf2/dw2-canonicalize-type.exp,
17099 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17100 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17101 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17102 provided by gdb_target_symbol_prefix_flags_asm.
17103 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17104 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17105 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17106 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17107 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17108 macros where needed). Use this macro for symbols which require
17109 the prefix provided by SYMBOL_PREFIX.
17110
2223449a
KB
171112015-11-05 Kevin Buettner <kevinb@redhat.com>
17112
17113 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17114 New procs.
17115 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17116 representing expressions, of more than one list element.
17117 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17118 to prepend linker symbol prefix to f.
17119 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17120 table_1 and table_2.
17121 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17122 Likewise, for f and g.
17123 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17124 for ptr.
17125 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17126 for main.
17127 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17128 table_1_ptr and table_2_ptr.
17129
6f2f1a3a
JK
171302015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17131 Joel Brobecker <brobecker@adacore.com>
17132
17133 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17134
566c56c9
MK
171352015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17136
17137 * gdb.reverse/s390-mvcle.c: New test.
17138 * gdb.reverse/s390-mvcle.exp: New file.
17139 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17140
d5f0636b
MK
171412015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17142
17143 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17144
7ad8b86c
MK
171452015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17146
17147 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17148 reaching marker2.
17149 * gdb.reverse/getresuid-reverse.exp: Likewise.
17150 * gdb.reverse/pipe-reverse.exp: Likewise.
17151 * gdb.reverse/readv-reverse.exp: Likewise.
17152 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17153 * gdb.reverse/time-reverse.exp: Likewise.
17154 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17155
4081c0f1
YQ
171562015-10-30 Yao Qi <yao.qi@linaro.org>
17157
17158 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17159 (empty_cycle): Remove.
17160 (main): Don't call empty_cycle. Don't use watch_count_done.
17161 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17162 empty_cycle. Rewrite the code counting HW watchpoints.
17163
452b4ba5
MK
171642015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17165
17166 * gdb.reverse/fstatat-reverse.c: New test.
17167 * gdb.reverse/fstatat-reverse.exp: New file.
17168 * gdb.reverse/getresuid-reverse.c: New test.
17169 * gdb.reverse/getresuid-reverse.exp: New file.
17170 * gdb.reverse/pipe-reverse.c: New test.
17171 * gdb.reverse/pipe-reverse.exp: New file.
17172 * gdb.reverse/readv-reverse.c: New test.
17173 * gdb.reverse/readv-reverse.exp: New file.
17174 * gdb.reverse/recvmsg-reverse.c: New test.
17175 * gdb.reverse/recvmsg-reverse.exp: New file.
17176 * gdb.reverse/time-reverse.c: New test.
17177 * gdb.reverse/time-reverse.exp: New file.
17178 * gdb.reverse/waitpid-reverse.c: New test.
17179 * gdb.reverse/waitpid-reverse.exp: New file.
17180
5e2e7507
JK
171812015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17182
17183 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17184
0fde2c53
DE
171852015-10-26 Doug Evans <dje@google.com>
17186
17187 PR symtab/17391
17188 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17189 * gdb.dwarf2/bad-regnum.c: New file.
17190 * gdb.dwarf2/bad-regnum.exp: New file.
17191
1a70ae97
DE
171922015-10-26 Doug Evans <dje@google.com>
17193
17194 PR python/18938
17195 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17196 file.
17197
27dc26ab
JK
171982015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17199
17200 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17201 for a change by "Mention language in compile error message".
17202
bed91f4d
SM
172032015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17204
17205 PR python/18073
17206 * gdb.python/py-type.c (C::a_method): New.
17207 (C::a_const_method): New.
17208 (C::a_static_method): New.
17209 (a_function): New.
17210 * gdb.python/py-type.exp (test_fields): Test getting fields
17211 from function and method.
17212
3f2f83dd
KB
172132015-10-21 Keven Boell <keven.boell@intel.com>
17214
17215 * gdb.fortran/vla-alloc-assoc.exp: New file.
17216 * gdb.fortran/vla-datatypes.exp: New file.
17217 * gdb.fortran/vla-datatypes.f90: New file.
17218 * gdb.fortran/vla-history.exp: New file.
17219 * gdb.fortran/vla-ptype-sub.exp: New file.
17220 * gdb.fortran/vla-ptype.exp: New file.
17221 * gdb.fortran/vla-sizeof.exp: New file.
17222 * gdb.fortran/vla-sub.f90: New file.
17223 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17224 * gdb.fortran/vla-value-sub-finish.exp: New file.
17225 * gdb.fortran/vla-value-sub.exp: New file.
17226 * gdb.fortran/vla-value.exp: New file.
17227 * gdb.fortran/vla-ptr-info.exp: New file.
17228 * gdb.mi/mi-vla-fortran.exp: New file.
17229 * gdb.mi/vla.f90: New file.
17230
27145d50
SL
172312015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17232
17233 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17234 of hardwired timeout value.
17235
5f3ff4f8
JK
172362015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17237 Pedro Alves <palves@redhat.com>
17238
17239 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17240 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17241
bfd09d20
JS
172422015-10-19 Josh Stone <jistone@redhat.com>
17243
17244 * gdb.base/catch-syscall.c: Include <sched.h>.
17245 (unknown_syscall): New variable.
17246 (main): Trigger a vfork and an unknown syscall.
17247 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17248 (unknown_syscall_number): Likewise.
17249 (check_call_to_syscall): Accept an optional syscall pattern.
17250 (check_return_from_syscall): Likewise.
17251 (check_continue): Likewise.
17252 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17253 (test_catch_syscall_skipping_return): New test toggling off 'catch
17254 syscall' to step over the syscall return, then toggling back on.
17255 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17256 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17257 (do_syscall_tests): Call test_catch_syscall_without_args and
17258 test_catch_syscall_mid_vfork.
17259 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17260 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17261
b32b93c6
AS
172622015-10-19 Andrew Stubbs <ams@codesourcery.com>
17263
17264 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17265 print g_vE): Add new pass patterns.
17266 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17267 print various symbol names for vptr fields.
17268
9d622bda
AB
172692015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17270
17271 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17272 results.
17273
0fd8ac1c
YQ
172742015-10-12 Yao Qi <yao.qi@linaro.org>
17275
17276 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17277
34240514
YQ
172782015-10-12 Yao Qi <yao.qi@linaro.org>
17279
17280 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17281 is aarch64*-*-linux*.
17282
8240f442
YQ
172832015-10-12 Yao Qi <yao.qi@linaro.org>
17284
17285 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17286 (can_relocate_bcond_true): ... it.
17287 (can_relocate_bcond_false): New function.
17288 (foo): Likewise.
17289 (can_relocate_bl): Likewise.
17290 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17291 can_relocate_bl.
17292
2520f728
PMR
172932015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17294
17295 * gdb.base/nested-addr.c: New file.
17296 * gdb.base/nested-addr.exp: New testcase.
17297
abcef95a
MM
172982015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17299
17300 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17301 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17302 its output. Ignore the output of "record goto begin" and instead
17303 check that GDB is replaying.
17304
145e3ddb
PA
173052015-10-09 Pedro Alves <palves@redhat.com>
17306
17307 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17308 (top level): Use it in the run with no args test.
17309
d5d8c4e1
IB
173102015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17311
17312 * gdb.dlang/properties.exp: New file.
17313
06e635ef
SL
173142015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17315
17316 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17317 whether or not address 0x1000 is mapped on the target.
17318
e019fd1d
SM
173192015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17320
17321 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17322 build.
17323
77ba2a67
MM
173242015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17325
17326 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17327 instruction-history test.
17328
c60eb31f
DE
173292015-09-28 Doug Evans <dje@google.com>
17330
17331 * gdb.base/gcore.c (array_func): Add reference to static_array.
17332
9a3c8263
SM
173332015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17334
17335 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17336 source line.
17337
9720e656
SL
173382015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17339
17340 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17341 short or char as base type.
17342
938d3bf2
SL
173432015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17344
17345 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17346 to allow any size enum.
17347
e6c2c623
PMR
173482015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17349
17350 * gdb.ada/array_ptr_renaming.exp: New testcase.
17351 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17352 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17353
06da0f77
PL
173542015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17355
17356 * gdb.trace/ftrace-lock.c: New file.
17357 * gdb.trace/ftrace-lock.exp: New file.
17358
4f51c22a
PL
173592015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17360
17361 * gdb.arch/insn-reloc.c: New file.
17362 * gdb.arch/ftrace-insn-reloc.exp: New file.
17363
7041adf4
PL
173642015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17365
17366 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17367 instruction.
17368 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17369 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17370 * gdb.trace/range-stepping.c: Likewise.
17371 * gdb.trace/trace-break.c: Likewise.
17372 * gdb.trace/trace-mt.c (thread_function): Likewise.
17373 * gdb.trace/ftrace.c (marker): Likewise.
17374 * gdb.trace/trace-condition.c (marker): Likewise.
17375 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17376 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17377 is_aarch64_target.
17378
015d2e7e
DE
173792015-09-18 Doug Evans <xdje42@gmail.com>
17380
17381 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17382 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17383
26b188a2
SL
173842015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17385
17386 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17387 the breakpoint.
17388
79dc332b
SL
173892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17390
17391 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17392 the pending breakpoint. Remove timeout override for "Run till
17393 MI pending breakpoint on pendfunc3 on thread 2" test.
17394
f57929f2
SL
173952015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17396
17397 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17398 filename pattern.
17399
3f469b17
SL
174002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17401
17402 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17403 in breakpoint filename pattern.
17404
515b89b3
SL
174052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17406
7800dbe4
SL
17407 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17408
174092015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17410
515b89b3
SL
17411 * gdb.linespec/explicit.exp: Check for readline support for
17412 tab-completion tests. Fix obvious typo.
17413
d2939ba2
MM
174142015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17415
17416 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17417 and replay.
17418
cbb55fa7
MM
174192015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17420
17421 * gdb.btrace/non-stop.c: New.
17422 * gdb.btrace/non-stop.exp: New.
17423
43691ca1
PL
174242015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17425 Yao Qi <yao.qi@linaro.org>
17426
17427 * gdb.trace/trace-condition.c: New file.
17428 * gdb.trace/trace-condition.exp: New file.
17429
d78908cf
WW
174302015-09-16 Wei-cheng Wang <cole945@gmail.com>
17431
17432 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17433 for testing bytecode compilation.
17434
1ed415e2
PA
174352015-09-16 Pedro Alves <palves@redhat.com>
17436 Sandra Loosemore <sandra@codesourcery.com>
17437
17438 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17439 (SECONDS): Redefine.
17440 (main): Call pthread_kill and alarm early.
17441 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17442 support.
17443 (test): If the target can't hardware step and doesn't support
17444 displaced stepping, increase the timeout.
17445
d136eff5
PA
174462015-09-16 Pedro Alves <palves@redhat.com>
17447
17448 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17449 (enable_debug): New procedures.
17450 (test): Use them. Bail out if waiting for threads fails.
17451 (top level): Bail out if a test fails.
17452
991f019c
YQ
174532015-09-16 Yao Qi <yao.qi@linaro.org>
17454
17455 * gdb.asm/asm-source.exp: Set asm-arch for
17456 aarch64*-*-* target.
17457 * gdb.asm/aarch64.inc: New file.
17458
bfca584f
PMR
174592015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17460
17461 * gdb.ada/array_of_variable_length.exp: New testcase.
17462 * gdb.ada/array_of_variable_length/foo.adb: New file.
17463 * gdb.ada/array_of_variable_length/pck.adb: New file.
17464 * gdb.ada/array_of_variable_length/pck.ads: New file.
17465
b326e587
DE
174662015-09-15 Doug Evans <dje@google.com>
17467
17468 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17469 of function static local variable.
17470
5382cfab
PW
174712015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17472
17473 * gdb.threads/tls-so_extern.exp: New test file.
17474 * gdb.threads/tls-so_extern.c: New test file.
17475 * gdb.threads/tls-so_extern_main.c: New test file.
17476
141c5cc4
JK
174772015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17478
17479 * gdb.opt/solib-intra-step-lib.c: New file.
17480 * gdb.opt/solib-intra-step-main.c: New file.
17481 * gdb.opt/solib-intra-step.exp: New file.
17482
d15dcecd
PA
174832015-09-15 Pedro Alves <palves@redhat.com>
17484
17485 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17486 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17487
4c2f2a79
PA
174882015-09-14 Pedro Alves <palves@redhat.com>
17489
17490 * gdb.base/hook-stop-continue.c: Delete.
17491 * gdb.base/hook-stop-continue.exp: Delete.
17492 * gdb.base/hook-stop-frame.c: Delete.
17493 * gdb.base/hook-stop-frame.exp: Delete.
17494 * gdb.base/hook-stop.c: New file.
17495 * gdb.base/hook-stop.exp: New file.
17496
919e6dbe
PMR
174972015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17498
17499 * gdb.ada/access_to_packed_array.exp: New testcase.
17500 * gdb.ada/access_to_packed_array/foo.adb: New file.
17501 * gdb.ada/access_to_packed_array/pack.adb: New file.
17502 * gdb.ada/access_to_packed_array/pack.ads: New file.
17503
157280a4
MM
175042015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17505
17506 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17507 buffer size test.
17508
2fd33e94
DB
175092015-09-11 Don Breazeal <donb@codesourcery.com>
17510
17511 * gdb.base/foll-exec.c: Add copyright header. Fix
17512 formatting issues.
17513 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17514 (do_exec_tests): Use clean_restart in place of zap_session,
17515 and for test initialization. Fix formatting issues. Use
17516 fail in place of perror.
17517 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17518 an expect statement to match an expression with output from
17519 the program under debug.
17520 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17521 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17522 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17523 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17524 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17525
e70b6e8e
DE
175262015-09-09 Doug Evans <dje@google.com>
17527
17528 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17529
7a551a51
DE
175302015-09-09 Doug Evans <dje@google.com>
17531
17532 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17533
4c666f84
DE
175342015-09-09 Doug Evans <dje@google.com>
17535
17536 * gdb.base/savedregs.exp: Fix typo.
17537
243a9253
PA
175382015-09-09 Pedro Alves <palves@redhat.com>
17539
17540 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17541
c0fa8fbd
SL
175422015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17543
17544 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17545 command actually switches threads. Give up on remaining
17546 tests if target fails to stop at breakpoint.
17547
cd7c1778
PMR
175482015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17549
17550 * gdb.ada/funcall_char.exp: New testcase.
17551 * gdb.ada/funcall_char/foo.adb: New file.
17552
dc5c8746
PMR
175532015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17554
17555 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17556 expected outputs. Add two testcases for completing ambiguous
17557 functions.
17558 * gdb.ada/complete/aux_pck.adb: New file.
17559 * gdb.ada/complete/aux_pck.ads: New file.
17560 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17561 Ambiguous_Func functions.
17562 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17563 * gdb.ada/complete/pck.adb: Likewise.
17564
4e83a1e7
UW
175652015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17566
17567 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17568 failures to run the test program under GDB.
17569
8ce74153
LM
175702015-08-26 Luis Machado <lgustavo@codesourcery.com>
17571
17572 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17573 to C.
17574
e9756d52
PP
175752015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17576
17577 * gdb.base/run-after-attach.exp: New test file.
17578 * gdb.base/run-after-attach.c: New test file.
17579
8d37573b
DB
175802015-08-26 Don Breazeal <donb@codesourcery.com>
17581
17582 * gdb.base/foll-exec-2.c: New test program.
17583 * gdb.base/foll-exec-2.exp: New test.
17584
63e43d3a
PMR
175852015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17586
17587 * gdb.base/nested-subp1.exp: New file.
17588 * gdb.base/nested-subp1.c: New file.
17589 * gdb.base/nested-subp2.exp: New file.
17590 * gdb.base/nested-subp2.c: New file.
17591 * gdb.base/nested-subp3.exp: New file.
17592 * gdb.base/nested-subp3.c: New file.
17593
3d40fbb5
PA
175942015-08-24 Pedro Alves <palves@redhat.com>
17595
17596 * gdb.server/connect-without-multi-process.c: New file.
17597 * gdb.server/connect-without-multi-process.exp: New file.
17598
4422ac93
LM
175992015-08-24 Luis Machado <lgustavo@codesourcery.com>
17600
17601 * gdb.opt/inline-markers.c: Make z int.
17602
91dddb86
LM
176032015-08-24 Luis Machado <lgustavo@codesourcery.com>
17604
17605 * gdb.opt/inline-markers.c: Make z volatile.
17606
a48847ee
LM
176072015-08-24 Luis Machado <lgustavo@codesourcery.com>
17608
17609 * gdb.opt/inline-bt.c: New volatile global z.
17610 * gdb.opt/inline-cmds.c: Likewise.
17611 * gdb.opt/inline-locals.c: Likewise.
17612 * gdb.opt/inline-markers.c: New extern global z.
17613 (marker): Use z.
17614 (inline_fn): Likewise.
17615
0ebbc52b
PA
176162015-08-24 Pedro Alves <palves@redhat.com>
17617
17618 * config/m32r-stub.exp: Remove file.
17619 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17620 * gdb.base/call-rt-st.exp: Likewise.
17621 * gdb.base/call-strs.exp: Likewise.
17622 * gdb.base/default.exp: Remove references to h8300-*-hms and
17623 *-*-udi*.
17624 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17625
77c365df
AA
176262015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17627
17628 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17629 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17630 and "return" use KFAIL when GDB can not read/write the vector
17631 return value.
17632
4313b8c0
GB
176332015-08-21 Gary Benson <gbenson@redhat.com>
17634
17635 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17636
0e433b32
PA
176372015-08-20 Pedro Alves <palves@redhat.com>
17638
17639 * gdb.server/solib-list.exp: No longer expect an interior stop in
17640 non-stop mode.
17641
221e1a37
PA
176422015-08-20 Pedro Alves <palves@redhat.com>
17643
17644 * gdb.server/connect-stopped-target.c: New file.
17645 * gdb.server/connect-stopped-target.exp: New file.
17646
40e3ad0e
PA
176472015-08-20 Pedro Alves <palves@redhat.com>
17648
17649 * gdb.dwarf2/comp-unit-lang.exp: New file.
17650 * gdb.dwarf2/comp-unit-lang.c: New file.
17651
af39b327
PMR
176522015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17653
17654 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17655 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17656
7d45c7c3 176572015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 17658
7d45c7c3
KB
17659 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17660 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17661
4d6cceb4
DE
176622015-08-18 Doug Evans <dje@google.com>
17663 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17664
17665 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17666 skip_python_tests. New arg prompt_regexp.
17667 (skip_python_tests): New function.
17668 * lib/mi-support.exp (mi_skip_python_tests): New function.
17669 * gdb.python/py-mi-objfile-gdb.py: New file.
17670 * gdb.python/py-mi-objfile.c: New file.
17671 * gdb.python/py-mi-objfile.exp: New file.
17672
ad89c2aa
KS
176732015-08-17 Keith Seitz <keiths@redhat.com>
17674
17675 * gdb.linespec/explicit.exp: Move strace test from here ...
17676 * gdb.trace/strace.exp: ... to here.
17677
e3ae3c43
PP
176782015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17679
17680 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17681 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17682
604b2636
DE
176832015-08-14 Doug Evans <xdje42@gmail.com>
17684
17685 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17686 inferior before selecting a new file.
17687
6ff0ba5f
DE
176882015-08-14 Doug Evans <xdje42@gmail.com>
17689
17690 * gdb.mi/mi-disassemble.exp: Update.
17691 * gdb.base/disasm-optim.S: New file.
17692 * gdb.base/disasm-optim.c: New file.
17693 * gdb.base/disasm-optim.h: New file.
17694 * gdb.base/disasm-optim.exp: New file.
17695
9ca98f92
KS
176962015-08-14 Keith Seitz <keiths@redhat.com>
17697
17698 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17699 "evaluated-by".
17700
52bbc560
JB
177012015-08-13 Joel Brobecker <brobecker@adacore.com>
17702
17703 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17704
5d8c3ed3
PMR
177052015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17706
17707 * gdb.ada/fun_renaming.exp: New testcase.
17708 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17709 * gdb.ada/fun_renaming/pack.adb: New file.
17710 * gdb.ada/fun_renaming/pack.ads: New file.
17711
ea8812bc
KS
177122015-08-12 Keith Seitz <keiths@redhat.com>
17713
17714 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17715 gdb_get_line_number.
17716
4dafcdeb
JB
177172015-08-12 Joel Brobecker <brobecker@adacore.com>
17718
17719 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17720 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17721 gdb.base/dso2dso.exp: New files.
17722
5ba32597
SDJ
177232015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17724 Pedro Alves <palves@redhat.com>
17725 Keith Seitz <keiths@redhat.com>
17726
17727 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17728 GDBFLAGS.
17729
b6dafabf
PP
177302015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17731
17732 * gdb.base/gdbhistsize-history.exp
17733 (test_histsize_history_setting): Use save_vars.
17734 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17735 Use save_vars.
17736 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17737 * gdb.base/readline.exp: Use save_vars.
17738
abe8e607
PP
177392015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17740
17741 * lib/gdb.exp (save_vars): New proc.
17742
629500fa
KS
177432015-08-11 Keith Seitz <keiths@redhat.com>
17744
17745 * gdb.base/help.exp: Update help_breakpoint_text.
17746
eb8c4e2e
KS
177472015-08-11 Keith Seitz <keiths@redhat.com>
17748
17749 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17750 (at toplevel): Call test_explicit_breakpoints.
17751 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17752 breakpoints.
17753 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17754 breakpoint conditions, "-cond".
17755
87f0e720
KS
177562015-08-11 Keith Seitz <keiths@redhat.com>
17757
17758 * gdb.linespec/3explicit.c: New file.
17759 * gdb.linespec/cpexplicit.cc: New file.
17760 * gdb.linespec/cpexplicit.exp: New file.
17761 * gdb.linespec/explicit.c: New file.
17762 * gdb.linespec/explicit.exp: New file.
17763 * gdb.linespec/explicit2.c: New file.
17764 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17765 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17766 before using in the matching pattern.
17767 Clarify that `prefix' is a regular expression.
17768
f00aae0f
KS
177692015-08-11 Keith Seitz <keiths@redhat.com>
17770
17771 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17772 test.
17773 Add tests for missing ",FMT" and ",".
17774
e27852be
DE
177752015-08-10 Doug Evans <dje@google.com>
17776 Keith Seitz <keiths@redhat.com>
17777
17778 PR gdb/17960
17779 * gdb.base/completion.exp: Add location completer tests.
17780
7f03bd92
PA
177812015-08-07 Pedro Alves <palves@redhat.com>
17782
17783 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17784 tests here.
17785 (top level): Run do_test with and without displaced stepping.
17786
3fc8eb30
PA
177872015-08-07 Pedro Alves <palves@redhat.com>
17788
17789 * gdb.base/valgrind-disp-step.c: New file.
17790 * gdb.base/valgrind-disp-step.exp: New file.
17791
d4569d7b
PA
177922015-08-07 Pedro Alves <palves@redhat.com>
17793
17794 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17795 Delete function.
17796 (main): Add alarm. Run an infinite loop instead of calling
17797 wait_threads.
17798 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17799 comment.
17800 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17801 Delete function.
17802 (main): Add alarm. Run an infinite loop instead of calling
17803 wait_threads.
17804 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17805 comment.
17806
e1316e60
PA
178072015-08-07 Pedro Alves <palves@redhat.com>
17808
17809 * gdb.base/checkpoint-ns.exp: New file.
17810 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17811 standard_testfile.
17812
da8c46d2
MM
178132015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17814
17815 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17816 * gdb.btrace/instruction_history.exp: Update.
17817 * gdb.btrace/tsx.exp: New.
17818 * gdb.btrace/tsx.c: New.
17819
de1c2c52
PA
178202015-08-06 Pedro Alves <palves@redhat.com>
17821
17822 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17823 increase timeout.
17824 * gdb.reverse/until-precsave.exp: Bump timeouts.
17825
782e0bf4
PA
178262015-08-06 Pedro Alves <palves@redhat.com>
17827
17828 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17829
83e97ed0
PA
178302015-08-06 Pedro Alves <palves@redhat.com>
17831
17832 PR gdb/18749
17833 * gdb.threads/process-dies-while-handling-bp.c: New file.
17834 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17835
863d01bd
PA
178362015-08-06 Pedro Alves <palves@redhat.com>
17837
17838 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17839 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17840
0a39bb32
PA
178412015-08-05 Pedro Alves <palves@redhat.com>
17842
17843 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17844 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17845
ee2d2b10
SL
178462015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17847
17848 * gdb.base/bp-permanent.exp: Report test as unsupported if
17849 the target cannot stop at the permanent breakpoint.
17850
4e1bdb00
DE
178512015-08-03 Doug Evans <dje@google.com>
17852
17853 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17854 10000.
17855
3d338901
DE
178562015-08-03 Doug Evans <dje@google.com>
17857
17858 * Makefile.in (workers/%.worker, build-perf): New rule.
17859 (GDB_PERFTEST_MODE): New variable.
17860 (check-perf): Use it.
17861 (clean): Clean up gdb.perf parallel build subdirs.
17862 * lib/build-piece.exp: New file.
17863 * lib/gdb.exp (make_gdb_parallel_path): New function
17864 (standard_output_file, standard_temp_file): Call it.
17865 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17866 of $GDB_PARALLEL.
17867 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17868
af061d3e
DE
178692015-08-03 Doug Evans <dje@google.com>
17870
8e1afc81 17871 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
17872 (LOG_FILE_NAME): New global.
17873 (TextReporter.__init__): Initialize self.txt_sum.
17874 (TextReporter.report): Add support for multiple data-points.
17875 Move report to perftest.sum, put raw data in perftest.log.
17876 (TextReporter.start): Open sum and log files.
17877 (TextReporter.end): Close sum and log files.
8e1afc81
DE
17878 * gdb.perf/lib/perftest/testresult.py
17879 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 17880
2c8c5d37
PA
178812015-07-31 Pedro Alves <palves@redhat.com>
17882
17883 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17884 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17885 kill_wait_spawned_process instead of explicit "kill -9".
17886 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17887 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17888 kill_wait_spawned_process.
17889 * gdb.base/attach-twice.exp: Likewise.
17890 * gdb.base/attach.exp: Likewise.
17891 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17892 gdb_test_multiple.
17893 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17894 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17895 kill_wait_spawned_process.
17896 * gdb.base/valgrind-infcall.exp: Likewise.
17897 * gdb.multi/multi-attach.exp: Likewise.
17898 * gdb.python/py-prompt.exp: Likewise.
17899 * gdb.python/py-sync-interp.exp: Likewise.
17900 * gdb.server/ext-attach.exp: Likewise.
17901 * gdb.threads/attach-into-signal.exp (corefunc): Use
17902 spawn_wait_for_attach, spawn_id_get_pid and
17903 kill_wait_spawned_process.
17904 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17905 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17906 spawn_id_get_pid and kill_wait_spawned_process.
17907 * gdb.threads/attach-stopped.exp (corefunc): Use
17908 spawn_wait_for_attach, spawn_id_get_pid and
17909 kill_wait_spawned_process.
17910 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17911 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17912 kill_wait_spawned_process instead of explicit "kill -9".
17913 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17914 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17915 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17916 processes. Don't map cygwin/windows pids here. Now returns a
17917 spawn id list.
17918
032a0fca
SL
179192015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17920
17921 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17922 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17923 correct patch.
17924
61a934ca
SL
179252015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17926
17927 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17928
4bc4d428
SL
179292015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17930
17931 Reapply:
17932 2014-05-21 Mark Wielaard <mjw@redhat.com>
17933
17934 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17935
998d452a
PA
179362015-07-30 Pedro Alves <palves@redhat.com>
17937
17938 * linux-low.c (handle_extended_wait): Set the child's last
17939 reported status to TARGET_WAITKIND_STOPPED.
17940
69dde7dc
PA
179412015-07-30 Pedro Alves <palves@redhat.com>
17942
17943 PR threads/18600
17944 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17945 only shows inferior 1.
17946
4dd63d48
PA
179472015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17948 Pedro Alves <palves@redhat.com>
17949
17950 PR threads/18600
17951 * gdb.threads/fork-plus-threads.c: New file.
17952 * gdb.threads/fork-plus-threads.exp: New file.
17953
d618e4c5
PP
179542015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17955
17956 * gdb.base/batch-preserve-term-settings.exp
17957 (test_terminal_settings_preserved_after_cli_exit): Use
17958 send_quit_command.
17959
1eef6428
PA
179602015-07-29 Pedro Alves <palves@redhat.com>
17961 Don Breazeal <donb@codesourcery.com>
17962
17963 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17964 output from both inferior_spawn_id and gdb_spawn_id.
17965
7da5b897
SDJ
179662015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17967
17968 * gdb.threads/attach-into-signal.exp (corefunc): Use
17969 with_test_prefix on nested loops, uniquefying the test messages.
17970
dac804df
SDJ
179712015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17972
17973 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17974 commit.
17975
06265e53
PP
179762015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17977
17978 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17979 New proc.
17980 (test_terminal_settings_preserved_after_sigterm): New test.
17981
18206ca3
PP
179822015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17983
17984 * gdb.base/batch-preserve-term-settings.exp
17985 (test_terminal_settings_preserved_after_cli_exit): New test.
17986
90074d11
PP
179872015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17988
17989 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17990 manipulation of saved_gdbflags.
17991 (test_terminal_settings_preserved): Remove global declaration of
17992 the unused variable pagination_prompt. Remove manipulation of
17993 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17994 GDBFLAGS.
17995
eb1a7902
PA
179962015-07-29 Pedro Alves <palves@redhat.com>
17997
17998 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17999
8b75dd3b
PA
180002015-07-29 Pedro Alves <palves@redhat.com>
18001
18002 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18003 at the top.
18004
dedad4e3
PA
180052015-07-29 Pedro Alves <palves@redhat.com>
18006
18007 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18008 (main): Call gdb_unbuffer_output.
18009 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18010 (main): Call gdb_unbuffer_output.
18011 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18012 (main): Call gdb_unbuffer_output.
18013 * gdb.base/call-strs.exp: Adjust to step over the
18014 gdb_unbuffer_output call.
18015 * gdb.base/catch-gdb-caused-signals.c: Include
18016 "../lib/unbuffer_output.c".
18017 (main): Call gdb_unbuffer_output.
18018 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18019 (main): Call gdb_unbuffer_output.
18020 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18021 (main): Call gdb_unbuffer_output.
18022 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18023 (main): Call gdb_unbuffer_output.
18024 * gdb.base/shlib-call.exp: Adjust to step over the
18025 gdb_unbuffer_output call.
18026 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18027 (main): Call gdb_unbuffer_output.
18028 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18029 (main): Call gdb_unbuffer_output.
18030 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18031 (main): Rename to ...
18032 (test): ... this.
18033 (main): Reimplement.
18034 * gdb.base/varargs.exp: Run to test instead of to main.
18035 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18036 (main): Call gdb_unbuffer_output.
18037
58789a91
PA
180382015-07-29 Pedro Alves <palves@redhat.com>
18039
18040 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18041 factore out from mi_continue_dprintf. For call-style dprintfs,
18042 expect dprintf output out of $inferior_spawn_id.
18043 (mi_continue_dprintf): Use mi_expect_dprintf.
18044 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18045 (main): Call gdb_unbuffer_output.
18046
e8376742
PA
180472015-07-29 Pedro Alves <palves@redhat.com>
18048
18049 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18050 (default_mi_gdb_start): Set inferior_spawn_id instead of
18051 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18052 gdb_spawn_id.
18053 (mi_gdb_test): Always expect inferior output from both
18054 $inferior_spawn_id and $gdb_spawn_id.
18055
08280010
PA
180562015-07-29 Pedro Alves <palves@redhat.com>
18057
18058 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18059 send_inferior and $inferior_spawn_id.
18060
4d30e432
PA
180612015-07-29 Pedro Alves <palves@redhat.com>
18062
18063 * gdb.gdb/complaints.exp (test_initial_complaints)
18064 (test_serial_complaints, test_short_complaints): Use
18065 gdb_test_stdio.
18066 (test_empty_complaint): Handle $inferior_spawn_id !=
18067 $gdb_spawn_id.
18068
0d30a335
PA
180692015-07-29 Pedro Alves <palves@redhat.com>
18070
18071 * gdb.base/varargs.exp: Use gdb_test_stdio.
18072
39413b29
PA
180732015-07-29 Pedro Alves <palves@redhat.com>
18074
18075 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18076
7cb000a9
PA
180772015-07-29 Pedro Alves <palves@redhat.com>
18078
18079 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18080
d7b8ac82
PA
180812015-07-29 Pedro Alves <palves@redhat.com>
18082
18083 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18084 parameter into two new parameters, "inf_result" and "gdb_result".
18085 Expect inferior output and gdb output from $inferior_spawn_id and
18086 $gdb_spawn_id, respectively. Adjust all callers.
18087
789c3a0c
PA
180882015-07-29 Pedro Alves <palves@redhat.com>
18089
18090 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18091 of gdb_test_sequence.
18092
77e760c3
PA
180932015-07-29 Pedro Alves <palves@redhat.com>
18094
18095 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18096 (saw_spurious_output): Expect inferior output from
18097 $inferior_spawn_id. Use gdb_test_stdio.
18098
8396d2cd
PA
180992015-07-29 Pedro Alves <palves@redhat.com>
18100
18101 * gdb.base/dprintf.exp: Use standard_testfile. Change
18102 prepare_for_testing call.
18103 (srcfile): Don't set.
18104 (restart): New procedure.
18105 (test_dprintf): New procecure, use to continue over dprintfs.
18106 (test_call, test_agent): New procedures, tests moved here.
18107 Restart gdb and recreate dprintfs. Adjust expected output.
18108
2051d61f
PA
181092015-07-29 Pedro Alves <palves@redhat.com>
18110
18111 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18112
452397af
PA
181132015-07-29 Pedro Alves <palves@redhat.com>
18114
18115 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18116
8aed9555
PA
181172015-07-29 Pedro Alves <palves@redhat.com>
18118
18119 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18120 gdb_test_stdio.
18121
188a61b4
PA
181222015-07-29 Pedro Alves <palves@redhat.com>
18123
18124 * lib/gdb.exp (gdb_test_stdio): New procedure.
18125
12264a45
PA
181262015-07-29 Pedro Alves <palves@redhat.com>
18127
18128 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18129
23ffc893
PA
181302015-07-29 Pedro Alves <palves@redhat.com>
18131
18132 * gdb.base/call-signal-resume.exp: Remove check for
18133 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18134 * gdb.base/unwindonsignal.exp: Likewise.
18135 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18136 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18137
65566918
PA
181382015-07-29 Pedro Alves <palves@redhat.com>
18139
18140 * gdb.base/siginfo-addr.c (pass): New function.
18141 (handler): Call it iff si_addr is correct.
18142 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18143 Set a breakpoint at "pass" and continue to it.
18144
d60a9221
SDJ
181452015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18146
18147 * gdb.python/py-objfile.exp: Make some tests have unique names.
18148 * gdb.python/py-pp-registration.exp: Likewise.
18149
bde40b8f
PA
181502015-07-28 Pedro Alves <palves@redhat.com>
18151
18152 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18153
13e1dec8
SM
181542015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18155
18156 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18157
da33c9a7
SM
181582015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18159
18160 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18161
077836f7
PP
181622015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18163
18164 * gdb.base/gdb-sigterm-2.exp: New test.
18165
b8cc7b2e
DE
181662015-07-25 Doug Evans <xdje42@gmail.com>
18167
18168 Revert:
18169 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18170 (workers/%.worker, build-perf): New rule.
18171 (GDB_PERFTEST_MODE): New variable.
18172 (check-perf): Use it.
18173 (clean): Clean up gdb.perf parallel build subdirs.
18174 * lib/build-piece.exp: New file.
18175 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18176 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18177 name.
18178 (standard_temp_file): Ditto.
18179 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18180 of $GDB_PARALLEL.
18181
c8bd4544
DE
181822015-07-24 Doug Evans <dje@google.com>
18183
18184 * gdb.perf/lib/perftest/utils.py: New file.
18185 * gdb.perf/gm-hello.cc: New file.
18186 * gdb.perf/gm-pervasive-typedef.cc: New file.
18187 * gdb.perf/gm-pervasive-typedef.h: New file.
18188 * gdb.perf/gm-std.cc: New file.
18189 * gdb.perf/gm-std.h: New file.
18190 * gdb.perf/gm-use-cerr.cc: New file.
18191 * gdb.perf/gm-utils.h: New file.
18192 * gdb.perf/gmonster-null-lookup.py: New file.
18193 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18194 * gdb.perf/gmonster-print-cerr.py: New file.
18195 * gdb.perf/gmonster-ptype-string.py: New file.
18196 * gdb.perf/gmonster-runto-main.py: New file.
18197 * gdb.perf/gmonster-select-file.py: New file.
18198 * gdb.perf/gmonster1-null-lookup.exp: New file.
18199 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18200 * gdb.perf/gmonster1-print-cerr.exp: New file.
18201 * gdb.perf/gmonster1-ptype-string.exp: New file.
18202 * gdb.perf/gmonster1-runto-main.exp: New file.
18203 * gdb.perf/gmonster1-select-file.exp: New file.
18204 * gdb.perf/gmonster1.cc: New file.
18205 * gdb.perf/gmonster1.exp: New file.
18206 * gdb.perf/gmonster2-null-lookup.exp: New file.
18207 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18208 * gdb.perf/gmonster2-print-cerr.exp: New file.
18209 * gdb.perf/gmonster2-ptype-string.exp: New file.
18210 * gdb.perf/gmonster2-runto-main.exp: New file.
18211 * gdb.perf/gmonster2-select-file.exp: New file.
18212 * gdb.perf/gmonster2.cc: New file.
18213 * gdb.perf/gmonster2.exp: New file.
18214
6eab34f3
DE
182152015-07-24 Doug Evans <dje@google.com>
18216
18217 * gdb.perf/README: New file.
18218 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18219 * lib/gen-perf-test.exp: New file.
18220
63738bfd
DE
182212015-07-24 Doug Evans <dje@google.com>
18222
18223 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18224 (PerfTest::startup): New function.
18225 (PerfTest::run): Return result of calling body.
18226 (PerfTest::assemble): Rewrite.
18227 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18228 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18229 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18230 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18231 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18232
7b606f95
DE
182332015-07-24 Doug Evans <dje@google.com>
18234
18235 * lib/gdb.exp (clean_restart): Make executable optional.
18236
a97b16b8
DE
182372015-07-24 Doug Evans <dje@google.com>
18238
18239 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18240 compiler_info references.
18241 * gdb.cp/temargs.exp: Ditto.
18242 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18243 (get_compiler_info): Early exit if already computed. Set compiler_info
18244 to "unknown" if there was a problem.
18245 (test_compiler_info): Add function comment. Call get_compiler_info.
18246
35baa57f
DE
182472015-07-24 Doug Evans <dje@google.com>
18248
18249 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18250 (workers/%.worker, build-perf): New rule.
18251 (GDB_PERFTEST_MODE): New variable.
18252 (check-perf): Use it.
18253 (clean): Clean up gdb.perf parallel build subdirs.
18254 * lib/build-piece.exp: New file.
18255 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18256 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18257 name.
18258 (standard_temp_file): Ditto.
18259 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18260 of $GDB_PARALLEL.
18261
6ebea266
DE
182622015-07-24 Doug Evans <dje@google.com>
18263
18264 * lib/future.exp (gdb_default_target_compile): New option
18265 "early_flags".
18266 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18267 --as-needed.
18268
1e76a7e9
SDJ
182692015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18270
18271 * gdb.base/catch-syscall.exp: Call gdb_exit before
18272 gdb_skip_xml_test.
18273
5068630a
PA
182742015-07-24 Pedro Alves <palves@redhat.com>
18275
18276 * gdb.python/py-events.exp: Accept output between the stop event
18277 and the prompt.
18278 * gdb.python/py-evsignal.exp: Likewise.
18279 * gdb.python/py-evthreads.exp: Likewise.
18280
77598427
PA
182812015-07-24 Pedro Alves <palves@redhat.com>
18282
18283 PR gdb/18717
18284 * gdb.threads/non-ldr-exit.c: New file.
18285 * gdb.threads/non-ldr-exit.exp: New file.
18286
11e6c98f
YQ
182872015-07-24 Yao Qi <yao.qi@linaro.org>
18288
18289 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18290 restarting process.
18291
51aee833
YQ
182922015-07-24 Yao Qi <yao.qi@linaro.org>
18293
18294 * gdb.server/ext-restart.exp: New file.
18295
8cfe207c
YQ
182962015-07-24 Yao Qi <yao.qi@linaro.org>
18297
18298 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18299 argument options.
18300 * gdb.server/ext-wrapper.exp: New file.
18301
cc12ce38
DE
183022015-07-23 Doug Evans <dje@google.com>
18303
18304 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18305 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18306
d0d84780
PMR
183072015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18308
18309 * gdb.ada/var_arr_typedef.exp: New testcase.
18310 * gdb.ada/var_arr_typedef/pack.adb: New file.
18311 * gdb.ada/var_arr_typedef/pack.ads: New file.
18312 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18313
8b558f79
JB
183142015-07-20 Joel Brobecker <brobecker@adacore.com>
18315
18316 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18317
775a3298
JK
183182015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18319
18320 * gdb.arch/i386-biarch-core.exp: Replace istarget
18321 by "complete set gnutarget". Remove expectation for the "core-file"
18322 command.
18323
db1ff28b
JK
183242015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18325
18326 Revert the previous commit:
18327 Tests for validate symbol file using build-id.
18328
0a94970d
JK
183292015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18330
18331 Tests for validate symbol file using build-id.
18332 * gdb.base/solib-mismatch-lib.c: New file.
18333 * gdb.base/solib-mismatch-libmod.c: New file.
18334 * gdb.base/solib-mismatch.c: New file.
18335 * gdb.base/solib-mismatch.exp: New file.
18336
03346981
SL
183372015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18338
18339 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18340 nios2-*-linux*.
18341 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18342 * gdb.base/siginfo.exp: Likewise.
18343 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18344
42422cc7
PL
183452015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18346
18347 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18348 Move it to ...
18349 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18350 ... here.
18351 * gdb.trace/range-stepping.exp: Check that the target supports
18352 range stepping.
18353
cfa68bae
JK
183542015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18355
18356 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18357
8ffdba26
PA
183582015-07-14 Pedro Alves <palves@redhat.com>
18359
18360 * gdb.base/killed-outside.exp: New file.
18361 * gdb.base/killed-outside.c: New file.
18362
218a5a11
JK
183632015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18364
18365 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18366 (n at main): New.
18367 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18368
e03ed3c6
AA
183692015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18370
18371 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18372 infcall tests instead of setting up for KFAIL.
18373
485668e5
MM
183742015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18375
18376 * gdb.btrace/record_goto-step.exp: New.
18377
08464196
JK
183782015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18379
18380 PR compile/18484
18381 * gdb.compile/compile.c (struct struct_type): Add volatile to
18382 selffield's type.
18383 * gdb.compile/compile.exp
18384 (compile code struct_object.selffield = &struct_object): Skip further
18385 struct_object tests if this one xfails.
18386
bcf5c1d9
RC
183872015-07-08 Robert O'Callahan <robert@ocallahan.org>
18388
18389 PR exp/18617
18390 * gdb.trace/ax.exp: Add test.
18391
4931af25
YQ
183922015-07-07 Yao Qi <yao.qi@linaro.org>
18393
18394 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18395 instead of istarget "aarch64*-*-*".
18396 * gdb.arch/aarch64-fp.exp: Likewise.
18397 * gdb.base/float.exp: Likewise.
18398 * gdb.reverse/aarch64.exp: Likewise.
18399 * lib/gdb.exp (is_aarch64_target): New proc.
18400
9fcf688e
YQ
184012015-07-07 Yao Qi <yao.qi@linaro.org>
18402
18403 * lib/gdb.exp (is_aarch32_target): New proc.
18404 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18405 instead of "istarget "arm*-*-*"".
18406 * gdb.arch/arm-disp-step.exp: Likewise.
18407 * gdb.arch/thumb-bx-pc.exp: Likewise.
18408 * gdb.arch/thumb-prologue.exp: Likewise.
18409 * gdb.arch/thumb-singlestep.exp: Likewise.
18410 * gdb.base/disp-step-syscall.exp: Likewise.
18411 * gdb.base/float.exp: Likewise.
18412
fbd8d50d
YQ
184132015-07-07 Yao Qi <yao.qi@linaro.org>
18414
18415 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18416 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18417
71be1fdc
YQ
184182015-07-07 Yao Qi <yao.qi@linaro.org>
18419
18420 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18421 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18422 if it exists.
18423 * gdb.multi/multi-arch.exp: Likewise.
18424
3e221d36
SM
184252015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18426
18427 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18428 print.
18429
d441430b
YQ
184302015-07-07 Yao Qi <yao.qi@linaro.org>
18431
18432 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18433
06f810bd
MG
184342015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18435
18436 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18437 '[' and ']' characters.
18438
5e61e7c0
IB
184392015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18440
18441 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18442
28bf096c
PA
184432015-06-29 Pedro Alves <palves@redhat.com>
18444
18445 PR threads/18127
18446 * gdb.threads/hand-call-new-thread.c: New file.
18447 * gdb.threads/hand-call-new-thread.c: New file.
18448
ee93cd5e
KS
184492015-06-26 Keith Seitz <keiths@redhat.com>
18450 Doug Evans <dje@google.com>
18451
18452 PR 16253
18453 * gdb.cp/var-tag-2.cc: New file.
18454 * gdb.cp/var-tag-3.cc: New file.
18455 * gdb.cp/var-tag-4.cc: New file.
18456 * gdb.cp/var-tag.cc: New file.
18457 * gdb.cp/var-tag.exp: New file.
18458
fc637f04
PP
184592015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18460
18461 * gdb.base/history-duplicates.exp: New test.
18462
2e52ae68
PP
184632015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18464
18465 * gdb.base/completion.exp: Test the completion of the "focus"
18466 command.
18467
6e22494e
JK
184682015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18469
18470 * gdb.arch/amd64-prologue-skip.S: New file.
18471 * gdb.arch/amd64-prologue-skip.exp: New file.
18472
bf7b9cd9
SM
184732015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18474
18475 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18476 is_address_zero_readable check.
18477
201e8dfd
PB
184782015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18479
18480 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18481 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18482
5cd867b4
YQ
184832015-06-24 Yao Qi <yao.qi@linaro.org>
18484
18485 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18486 linux targets.
18487
4d7be007
YQ
184882015-06-24 Yao Qi <yao.qi@linaro.org>
18489
18490 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18491 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18492 * gdb.base/siginfo-thread.exp: Likewise.
18493
07fcd301
YQ
184942015-06-22 Yao Qi <yao.qi@linaro.org>
18495
18496 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18497
52042a00
YQ
184982015-06-22 Yao Qi <yao.qi@linaro.org>
18499
18500 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18501 aarch64*-*-*.
18502 (skip_hw_watchpoint_tests): Likewise.
18503
74bd41ce
PP
185042015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18505
18506 * gdb.base/gdbinit-history.exp: Test the interaction between
18507 setting GDBHISTSIZE and setting the history size via .gdbinit.
18508
bc460514
PP
185092015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18510
18511 PR gdb/16999
18512 * gdb.base/gdbhistsize-history.exp: New test.
18513
b58c513b
PP
185142015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18515
18516 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18517 with GDBHISTSIZE.
18518 * gdb.base/readline.exp: Likewise.
18519
92046791
YQ
185202015-06-17 Yao Qi <yao.qi@linaro.org>
18521
18522 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18523 line.
18524
2093d2d3
PP
185252015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18526
18527 * gdb.base/gdbinit-history.exp: Add test case to check that
18528 an unlimited history file does not get truncated on exit.
18529
e6c693af
AA
185302015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18531
18532 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18533 (VECTOR): New macro. Use it...
18534 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18535 ...for these typedefs.
18536 (int8, char1, int1, double1): New typedefs.
18537 (struct just_int2, struct two_int2): New structures.
18538 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18539 (add_structvecs, add_singlevecs): New functions.
18540 (main): Call add_some_intvecs twice.
18541 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18542 the compile and exit upon failure. Try compiling for the "native"
18543 architecture. Test inferior function calls with vector arguments
18544 and vector return value handling with "finish" and "return".
18545
c74f7d1c
JT
185462015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18547
18548 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18549 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18550 PE file.
18551 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18552
98aa42ee
AT
185532015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18554
18555 PR breakpoints/16465
18556 * gdb.mi/mi-dprintf-pending.c: New file.
18557 * gdb.mi/mi-dprintf-pending.exp: New test.
18558 * gdb.mi/mi-dprintf-pendshr.c: New file.
18559
7d73c23c 185602015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 18561 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
18562
18563 * gdb.arch/i386-mpx-map.c: New file.
18564 * gdb.arch/i386-mpx-map.exp: New File.
18565
185662015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18567
18568 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18569 * gdb.arch/i386-mpx.exp: Indentation fixed.
18570
185712015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18572
18573 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18574 function and improved indentation.
18575 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18576 gdb_test_multiple. Added additional tests to skip the test.
18577
185782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18579
18580 * gdb.arch/i386-avx512.c: Change path in include file.
18581 * gdb.arch/i386-avx512.exp: Change include dir path
18582 compilation flag.
18583 * gdb.arch/i386-mpx.c: Change path in include file.
18584 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18585 flag.
18586
d5eba19a
JK
185872015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18588
18589 * gdb.compile/compile-print.exp (compile print *vararray@3)
18590 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18591
7f361056
JK
185922015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18593
18594 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18595 (do not keep jit in memory): ... this.
18596 (expect 5): Change it to ...
18597 (expect no 5): ... this.
18598
3b462ec2
SM
185992015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18600
18601 PR gdb/15564
18602 * gdb.mi/mi-detach.exp: New file.
18603
e0619de6
JK
186042015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18605
18606 PR symtab/18392
18607 * gdb.arch/amd64-tailcall-self.S: New file.
18608 * gdb.arch/amd64-tailcall-self.c: New file.
18609 * gdb.arch/amd64-tailcall-self.exp: New file.
18610
e970cb34
DB
186112015-05-28 Don Breazeal <donb@codesourcery.com>
18612
18613 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18614 tests for remote targets by checking is_target_gdbserver.
18615
b2e2f908
DE
186162015-05-27 Doug Evans <dje@google.com>
18617
18618 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18619 * gdb.dwarf2/opaque-type-lookup.c: New file.
18620 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18621
82c7be31
DE
186222015-05-26 Doug Evans <dje@google.com>
18623
18624 * gdb.cp/iostream.cc: New file.
18625 * gdb.cp/iostream.exp: New file.
18626
b4f54984
DE
186272015-05-26 Doug Evans <dje@google.com>
18628
18629 * gdb.dwarf2/dw2-op-call.exp: Update.
18630 * gdb.dwarf2/dw4-sig-types.exp: Update.
18631 * gdb.dwarf2/implptr.exp: Update.
18632 * gdb.mi/mi-cmd-param-changed.exp: Update.
18633
4ea6efe9
DE
186342015-05-26 Doug Evans <dje@google.com>
18635
18636 * gdb.python/py-lazy-string.c: New file.
18637 * gdb.python/py-lazy-string.exp: New file.
18638 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18639 (main): Update. Add estring3.
18640 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18641 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18642
f6bb7db3
YQ
186432015-05-26 Omair Javaid <omair.javaid@linaro.org>
18644 Yao Qi <yao.qi@linaro.org>
18645
18646 * gdb.reverse/aarch64.c: New.
18647 * gdb.reverse/aarch64.exp: New.
18648
a81bfbd0
OJ
186492015-05-26 Omair Javaid <omair.javaid@linaro.org>
18650
25d49b86
PA
18651 * lib/gdb.exp (supports_process_record): Return true for
18652 aarch64*-linux*.
a81bfbd0
OJ
18653 (supports_reverse): Likewise.
18654
158bf1b4
PP
186552015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18656
18657 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18658 Use with_test_prefix.
18659
a0145030
AB
186602015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18661
18662 * gdb.base/completion.exp: Add test for completion of layout
18663 names.
18664
ebe3b578
AB
186652015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18666
18667 * lib/gdb.exp (skip_tui_tests): New proc.
18668 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18669
84204ed7
PA
186702015-05-19 Pedro Alves <palves@redhat.com>
18671
18672 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18673 Save the whole env array instead of just HOME. Unset HISTSIZE in
18674 the environment while testing. Restore whole environment
18675 afterwards.
18676
37442ce1
DE
186772015-05-16 Doug Evans <xdje42@gmail.com>
18678
18679 * gdb.guile/scm-ports.c: New file.
18680 * gdb.guile/scm-ports.exp: Add memory port tests.
18681
36de76f9
JK
186822015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18683
18684 * gdb.compile/compile-print.c: New file.
18685 * gdb.compile/compile-print.exp: New file.
18686
3a9558c4
JK
186872015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18688
18689 * gdb.compile/compile-ops.exp: Cast param to void.
18690 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18691 (compile code struct_object.selffield = &struct_object): Add xfail.
18692
aa715135
JG
186932015-05-15 Joel Brobecker <brobecker@adacore.com>
18694
18695 * gdb.ada/arr_enum_with_gap: New testcase.
18696
931e5bc3
JG
186972015-05-15 Joel Brobecker <brobecker@adacore.com>
18698
18699 * gdb.ada/byte_packed_arr: New testcase.
18700
9cd4d857
JB
187012015-05-15 Joel Brobecker <brobecker@adacore.com>
18702
18703 * gdb.ada/pckd_neg: New testcase.
18704
ebfd00d2
PP
187052015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18706
18707 PR gdb/17820
18708 * gdb.base/gdbinit-history.exp: New test.
18709 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18710 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18711
4c082a81
SC
187122015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18713
18714 * gdb.python/py-xmethods.cc: Enhance test case.
18715 * gdb.python/py-xmethods.exp: New tests.
18716 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18717 function.
18718 (B_indexoper): Likewise.
18719 (global_dm_list) : Add new xmethod worker functions.
18720
f7797074
SDJ
187212015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18722
18723 * gdb.base/coredump-filter.exp: Correctly unset
18724 "coredump_var_addr" array.
18725
a4674e4e
PA
187262015-05-08 Pedro Alves <palves@redhat.com>
18727
18728 * gdb.server/non-existing-program.exp: Unset spawn_id.
18729
df2eb078
SC
187302015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18731
18732 PR python/18291
18733 * gdb.python/py-xmethods.exp: Add tests.
18734
422349a3
YQ
187352015-05-08 Yao Qi <yao.qi@linaro.org>
18736
18737 PR gdb/18208
18738 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18739 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18740 function set_coredump_filter, and remove remote_exec call.
18741 Remove argument ipid. Callers update.
18742 (top level): Don't get inferior's PID.
18743
63fc80ce
AA
187442015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18745
18746 * gdb.base/watch_thread_num.exp: Skip test on targets without
18747 access watchpoints.
18748
80ad801e
PA
187492015-05-06 Pedro Alves <palves@redhat.com>
18750
18751 PR server/18081
18752 * gdb.server/non-existing-program.exp: New file.
18753
0fa7fe50
JB
187542015-05-05 Joel Brobecker <brobecker@adacore.com>
18755
18756 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18757
3ea89b92
PMR
187582015-05-05 Joel Brobecker <brobecker@adacore.com>
18759
18760 * gdb.ada/out_of_line_in_inlined: New testcase.
18761
87b8eff0
JB
187622015-05-05 Joel Brobecker <brobecker@adacore.com>
18763
18764 * gdb.ada/var_rec_arr: New testcase.
18765
5fccc635
YQ
187662015-04-30 Yao Qi <yao.qi@linaro.org>
18767
18768 * gdb.base/break-idempotent.exp: If
18769 skip_hw_watchpoint_multi_tests returns true, skip the tests
18770 on "rwatch" and "awatch".
18771
42d38f42
YQ
187722015-04-30 Yao Qi <yao.qi@linaro.org>
18773
18774 * gdb.base/relativedebug.exp: Invoke gdb command
18775 "info sharedlibrary", and if libc.so doesn't have debug info,
18776 skip the test.
18777
2ce1cdbf
DE
187782015-04-29 Doug Evans <dje@google.com>
18779
18780 * gdb.python/py-xmethods.exp: Add ptype tests.
18781 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18782 get_result_type method.
18783
f24a38c5
LM
187842015-04-29 Luis Machado <lgustavo@codesourcery.com>
18785
18786 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18787 the target does not support hardware watchpoints.
18788
ecbf2b3c
LM
187892015-04-29 Luis Machado <lgustavo@codesourcery.com>
18790
18791 * gdb.base/break-always.exp: Abort testing if writing to memory
18792 causes an error.
18793
34f5f757
DE
187942015-04-28 Doug Evans <dje@google.com>
18795
18796 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18797 * gdb.python/py-pp-registration.exp: ... here. New file.
18798 * gdb.python/py-pp-registration.c: New file.
18799 * gdb.python/py-pp-registration.py: New file.
18800
69b4374a
DE
188012015-04-28 Doug Evans <dje@google.com>
18802
18803 * gdb.python/py-bad-printers.c: New file.
18804 * gdb.python/py-bad-printers.py: New file.
18805 * gdb.python/py-bad-printers.exp: New file.
18806
59fb7612
SS
188072015-04-28 Sasha Smundak <asmundak@google.com>
18808
18809 * gdb.python/py-type.exp: New test.
18810
2631b16a
AW
188112015-04-28 Andy Wingo <wingo@igalia.com>
18812
18813 * gdb.python/py-parameter.exp:
18814 * gdb.guile/scm-parameter.exp: Escape the path that we are
18815 matching against, as it might contain characters that are special
18816 to regular expressions.
18817
460efde1
JB
188182015-04-27 Joel Brobecker <brobecker@adacore.com>
18819
18820 * gdb.ada/rec_comp: New testcase.
18821
2d369d8e
SDJ
188222015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18823
18824 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18825 before using it.
18826
cf75d6c3
AB
188272015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18828
18829 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18830 new tests for verilog output.
18831
8dbe7ca5
YQ
188322015-04-24 Yao Qi <yao.qi@linaro.org>
18833
18834 * boards/remote-gdbserver-on-localhost.exp: New file.
18835
4ef9fb2f
PA
188362015-04-23 Pedro Alves <palves@redhat.com>
18837
18838 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18839 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18840 "end of file", remove $inferior_spawn_id from the indirect list.
18841
0a803169
PA
188422015-04-23 Pedro Alves <palves@redhat.com>
18843
18844 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18845
749ef8f8
PA
188462015-04-23 Pedro Alves <palves@redhat.com>
18847
18848 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18849 on $any_spawn_id instead of only on $gdb_spawn_id.
18850
8aae4344
PM
188512015-04-21 Pierre Muller <muller@sourceware.org>
18852
18853 PR pascal/17815
18854 * lib/pascal.exp (gpc_compile): Add new option "class".
18855 (fpc_compile): Likewise.
18856 * gdb.pascal/case-insensitive-symbols.pas: New file.
18857 * gdb.pascal/case-insensitive-symbols.exp: New file.
18858
1586c8fb
GB
188592015-04-20 Gary Benson <gbenson@redhat.com>
18860
18861 * gdb.base/attach.exp: Fix three extended remote failures.
18862
1b6e6f5c
GB
188632015-04-17 Gary Benson <gbenson@redhat.com>
18864
18865 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18866 the main executable over the remote protocol.
18867
e797481d
PA
188682015-04-16 Pedro Alves <palves@redhat.com>
18869
18870 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18871 a new gdbserver if gdbserver_reconnect_p is set.
18872
1ca99c42
PA
188732015-04-16 Pedro Alves <palves@redhat.com>
18874
18875 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18876 is set, don't exit gdbserver.
18877
af9fd6f8
AA
188782015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18879
18880 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18881 appropriate .insn, such that an older assembler can be used.
18882 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18883 the z/Architecture instruction set on 31-bit targets as well.
18884
04ff1e61
AA
188852015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18886
18887 * gdb.go/handcall.exp: Remove all logic related to the first
18888 breakpoint and rely on go_runto_main instead.
18889 * gdb.go/strings.exp: Likewise.
18890 * gdb.go/unsafe.exp: Likewise.
18891 * gdb.go/hello.exp: Likewise. Also rename the remaining
18892 breakpoint marker to "breakpoint 1".
18893 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18894 * gdb.go/strings.go: Likewise.
18895 * gdb.go/unsafe.go: Likewise.
18896 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18897 "set breakpoint 2 here" and rename the remaining breakpoint marker
18898 to "breakpoint 1".
18899
40d2f8d6
SM
189002015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18901
18902 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18903 if itertools.imap is not present.
18904 * gdb.python/py-objfile.exp: Add parentheses.
18905 * gdb.python/py-type.exp: Same.
18906 * gdb.python/py-unwind-maint.py: Same.
18907
8cbc97c6
YQ
189082015-04-15 Yao Qi <yao.qi@linaro.org>
18909
18910 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18911 of ":$ptr_size" and set its form explicitly.
18912
45fd756c
YQ
189132015-04-15 Pedro Alves <palves@redhat.com>
18914 Yao Qi <yao.qi@linaro.org>
18915
18916 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18917 timeout by factor of 4.
18918 (test_regular_watch): Likewise.
18919 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18920 * gdb.reverse/sigall-reverse.exp: Likewise.
18921 * gdb.reverse/until-precsave.exp: Likewise.
18922 * lib/gdb.exp (with_timeout_factor): New proc.
18923 (gdb_expect): Move some code to ...
18924 (get_largest_timeout): ... here. New procedure.
18925
9e811bc3
LM
189262015-04-14 Luis Machado <lgustavo@codesourcery.com>
18927
18928 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18929
0ff6fcb2
LM
189302015-04-13 Luis Machado <lgustavo@codesourcery.com>
18931
18932 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18933 to write to the .text section.
18934
7578d5f7
LM
189352015-04-13 Luis Machado <lgustavo@codesourcery.com>
18936
18937 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18938 Handle the case of targets that do not provide PID information.
18939
2efe15c4
YQ
189402015-04-13 Yao Qi <yao.qi@linaro.org>
18941
18942 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18943 and use expect instead of gdb_expect.
18944
8cd8f2f8
SDJ
189452015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18946
18947 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18948 "coredump_var_addr" to avoid naming conflict with other testcases.
18949
9ee41772
PA
189502015-04-10 Pedro Alves <palves@redhat.com>
18951
18952 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18953 gdb_test_sequence and gdb_assert.
18954
07473109
PA
189552015-04-10 Pedro Alves <palves@redhat.com>
18956
18957 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18958 test messages that don't include the breakpoint address.
18959
de3db44c
YQ
189602015-04-10 Yao Qi <yao.qi@linaro.org>
18961
18962 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18963 false for some offset and width combinations which aren't
18964 supported by linux kernel.
18965
c79d856c
PA
189662015-04-10 Pedro Alves <palves@redhat.com>
18967
18968 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18969 procedure, factored out from ...
18970 (top level): ... here. Add "set displaced-stepping" testing axis.
18971 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18972 parameter "displaced". Use it.
18973 (top level): Use foreach and add "set displaced-stepping" testing
18974 axis.
18975
ebc90b50
PA
189762015-04-10 Pedro Alves <palves@redhat.com>
18977
18978 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18979 Remove comment.
18980 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18981 both the address of the instruction that triggers the watchpoint
18982 and the address of the instruction immediately after, and use
18983 those addresses for the test. Fix comment.
18984
8f572e5c
PA
189852015-04-10 Pedro Alves <palves@redhat.com>
18986
18987 * gdb.base/sigstep.exp (breakpoint_to_handler)
18988 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18989 Test "backtrace" in handler.
18990 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18991 (top level): Add new "displaced" test axis to
18992 breakpoint_to_handler, breakpoint_to_handler_entry and
18993 breakpoint_over_handler.
18994
8d707a12
PA
189952015-04-10 Pedro Alves <palves@redhat.com>
18996
18997 PR gdb/18216
18998 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18999
ef713951
YQ
190002015-04-10 Yao Qi <yao.qi@linaro.org>
19001
19002 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19003 (test_add_rn_pc): New function.
19004 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19005 (top level): Invoke test_add_rn_pc.
19006
906d60cf
PA
190072015-04-10 Pedro Alves <palves@redhat.com>
19008
19009 PR gdb/13858
19010 * gdb.base/step-over-no-symbols.exp: New file.
19011
f2983cc3
AW
190122015-04-09 Andy Wingo <wingo@igalia.com>
19013
19014 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19015 after the Python tests.
19016
6d62641c
SDJ
190172015-04-08 Keith Seitz <keiths@redhat.com>
19018
19019 PR python/16699
19020 * gdb.python/py-completion.exp: New tests for completion.
19021 * gdb.python/py-completion.py (CompleteLimit1): New class.
19022 (CompleteLimit2): Likewise.
19023 (CompleteLimit3): Likewise.
19024 (CompleteLimit4): Likewise.
19025 (CompleteLimit5): Likewise.
19026 (CompleteLimit6): Likewise.
19027 (CompleteLimit7): Likewise.
19028
f3770638
PA
190292015-04-08 Pedro Alves <palves@redhat.com>
19030
19031 PR gdb/18214
19032 PR gdb/18216
19033 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19034 function.
19035 (main): Install it as SIGUSR1 handler.
19036 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19037 parameter. Always use "setup" as prefix. Toggle "set
19038 displaced-stepping" off/on depending on global. Don't switch to
19039 thread 1 here.
19040 (top level): Add displaced stepping "off/on" test axis. Update
19041 "setup" calls. Wrap each subtest with with_test_prefix. Test
19042 continuing with a queued signal in each thread.
19043
4496bed7
PA
190442015-04-08 Pedro Alves <palves@redhat.com>
19045
19046 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19047 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19048 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19049 Return early if running to main fails.
19050 * gdb.trace/while-stepping.exp: Likewise.
19051
b97fde92
PA
190522015-04-07 Pedro Alves <palves@redhat.com>
19053
19054 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19055 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19056 interact with inferior program.
19057
f71c18e7
PA
190582015-04-07 Pedro Alves <palves@redhat.com>
19059
19060 * lib/gdb.exp (inferior_spawn_id): New global.
19061 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19062 spawn id after processing the user code.
19063 (default_gdb_start): Set inferior_spawn_id.
19064 (send_inferior): New procedure.
19065 * lib/gdbserver-support.exp (gdbserver_start): Set
19066 inferior_spawn_id.
19067 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19068
6423214f
PA
190692015-04-07 Pedro Alves <palves@redhat.com>
19070
19071 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19072 * lib/gdbserver-support.exp (gdbserver_start): Make
19073 $server_spawn_id global.
19074 (gdbserver_start): Don't wait for gdbserver's spawn id with
19075 expect_background.
19076 (close_gdbserver): New procedure.
19077 (gdb_exit): Rename the default version and reimplement.
19078
71c0ee8c
PA
190792015-04-07 Pedro Alves <palves@redhat.com>
19080
72f4393d 19081 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
19082 append the substituted item, not the original item.
19083
203bc29b
PA
190842015-04-07 Pedro Alves <palves@redhat.com>
19085
19086 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19087 gdb_expect.
19088
508a3ddf
PA
190892015-04-07 Pedro Alves <palves@redhat.com>
19090
19091 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19092 output appearing once only.
19093
9f6dbe2b
PA
190942015-04-07 Pedro Alves <palves@redhat.com>
19095
19096 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19097 that doesn't expect anything. Return early if running to main
19098 fails.
19099
337532fa
YQ
191002015-04-07 Yao Qi <yao.qi@linaro.org>
19101
19102 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19103 (child_function): Call alarm.
19104 (main): Move call to alarm into the loop.
19105 * gdb.threads/non-stop-fair-events.exp: Build program with
19106 -DTIMEOUT=$timeout.
19107
01b622d4
DE
191082015-04-06 Doug Evans <xdje42@gmail.com>
19109
19110 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19111 Fix dest parameter to board_info.
19112 (fpc_compile): Ditto.
19113 (gdb_compile_pascal): Rename dest arg to destfile.
19114
961f4160
PMR
191152015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19116
19117 * gdb.ada/funcall_ref.exp: New file.
19118 * gdb.ada/funcall_ref/foo.adb: New file.
19119
cafda597
YQ
191202015-04-02 Yao Qi <yao.qi@linaro.org>
19121
19122 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19123 is remote.
19124
fed040c6
GB
191252015-04-02 Gary Benson <gbenson@redhat.com>
19126
19127 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19128
d11916aa
SS
191292015-04-01 Sasha Smundak <asmundak@google.com>
19130
19131 * gdb.python/py-unwind-maint.c: New file.
19132 * gdb.python/py-unwind-maint.exp: New test.
19133 * gdb.python/py-unwind-maint.py: New file.
19134 * gdb.python/py-unwind.c: New file.
19135 * gdb.python/py-unwind.exp: New test.
19136 * gdb.python/py-unwind.py: New test.
19137
a1471180
PA
191382015-04-01 Pedro Alves <palves@redhat.com>
19139
19140 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19141 to fail instead of non-existent $test.
19142
0bbeccb1
PA
191432015-04-01 Pedro Alves <palves@redhat.com>
19144
19145 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19146 GDBFLAGS if not empty.
19147
3c724c8c
PMR
191482015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19149
19150 * gdb.ada/complete.exp: Remove "multi_line".
19151 * gdb.ada/info_exc.exp: Remove "multi_line".
19152 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19153 * gdb.ada/ptype_field.exp: Remove "multi_line".
19154 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19155 * gdb.ada/tagged.exp: Remove "multi_line".
19156 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19157 [multi_line ...]
19158 * gdb.btrace/delta.exp: Likewise.
19159 * gdb.btrace/exception.exp: Likewise.
19160 * gdb.btrace/function_call_history.exp: Likewise.
19161 * gdb.btrace/instruction_history.exp: Likewise.
19162 * gdb.btrace/nohist.exp: Likewise.
19163 * gdb.btrace/record_goto.exp: Likewise.
19164 * gdb.btrace/segv.exp: Likewise.
19165 * gdb.btrace/stepi.exp: Likewise.
19166 * gdb.btrace/tailcall.exp: Likewise.
19167 * gdb.btrace/unknown_functions.exp: Likewise.
19168 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19169 * lib/gdb.exp: Add the "multi_line" helper.
19170
4eec2deb
PA
191712015-04-01 Pedro Alves <palves@redhat.com>
19172
19173 * gdb.threads/tid-reuse.c: New file.
19174 * gdb.threads/tid-reuse.exp: New file.
19175
df8411da
SDJ
191762015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19177
19178 PR corefiles/16092
19179 * gdb.base/coredump-filter.c: New file.
19180 * gdb.base/coredump-filter.exp: Likewise.
19181
6ef37366
PM
191822015-03-27 Petr Machata <pmachata@redhat.com>
19183
19184 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19185 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19186 (Dwarf::assemble): Initialize them.
19187 (Dwarf::lines): New function.
19188
7ec911b0
JT
191892015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19190
19191 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19192 SYMBOL_PREFIX for x86_64-*-cygwin.
19193
ff908ebf
AW
191942015-03-26 Andy Wingo <wingo@igalia.com>
19195
19196 PR symtab/18148
19197 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19198 const_value but not a location.
19199 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19200 location defined in non-main CUs are visible.
19201
6d5f0679
YQ
192022015-03-26 Yao Qi <yao.qi@linaro.org>
19203
19204 PR testsuite/18139
19205 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19206 Add a line number entry for the same line.
19207 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19208 Add a line number entry for the same line.
19209
2898689b
YQ
192102015-03-26 Yao Qi <yao.qi@linaro.org>
19211
19212 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19213 .int 0.
19214 (func): Likewise. Add .Lfunc_1 label.
19215 Use .Lfunc_1 label.
19216 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19217 .int 0.
19218 (func): Likewise.
19219 Use .Lfunc_1 label.
19220
85180498
YQ
192212015-03-26 Yao Qi <yao.qi@linaro.org>
19222
19223 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19224 Call gdb_compile instead to compile each .s files without debug
19225 information.
19226
8aa08a8d
YQ
192272015-03-26 Yao Qi <yao.qi@linaro.org>
19228
19229 * gdb.base/savedregs.exp (process_saved_regs): Make
19230 "Saved registers:" optional in the pattern.
19231
66849923
MM
192322015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19233
19234 * gdb.btrace/next.exp: Merged into step.exp.
19235 * gdb.btrace/finish.exp: Merged into step.exp.
19236 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19237 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19238 "record goto" and checking the exact replay position.
19239 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19240 check for "Recording format" in "info record" output.
19241 * gdb.btrace/record_goto.exp: Choose test file based on target.
19242 * gdb.btrace/x86-record_goto.S: Renamed into ...
19243 * gdb.btrace/x86_64-record_goto.S: ... this.
19244 * gdb.btrace/i686-record_goto.S: New.
19245 * gdb.btrace/x86-tailcall.S: Renamed into ...
19246 * gdb.btrace/x86_64-tailcall.S: ... this.
19247 * gdb.btrace/i686-tailcall.S: New.
19248 * gdb.btrace/x86-tailcall.c: Renamed into ...
19249 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19250 separate statements. Update test.
19251 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19252 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19253 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19254 * gdb.btrace/tailcall.exp: Choose test file based on target.
19255 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19256
11cc1b74
MM
192572015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19258
19259 * gdb.btrace/exception.exp: Increase BTS buffer size.
19260
a25d8bf9
PA
192612015-03-24 Pedro Alves <palves@redhat.com>
19262
19263 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19264
856e7dd6
PA
192652015-03-24 Pedro Alves <palves@redhat.com>
19266
19267 * gdb.threads/schedlock.exp (test_step): No longer expect that
19268 "set scheduler-locking step" with "next" over a function call runs
19269 threads unlocked.
19270
ad235a41
AT
192712015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19272
19273 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19274
15630549
AT
192752015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19276
19277 PR breakpoints/16466
19278 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19279 * gdb.mi/mi-pending.c (thread_func): New function.
19280 (int main): Add threading support required.
19281 * gdb.mi/mi-pending.exp: Add tests for this issue.
19282 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19283 (pendfunc2): Remove stdio dependency.
19284 * gdb.mi/mi-pendshr2.c: New file.
19285
693dca06
KS
192862015-03-23 Keith Seitz <keiths@redhat.com>
19287
19288 * gdb.linespec/keywords.c: New file.
19289 * gdb.linespec/keywords.exp: New file.
19290
7e993ebf
KS
192912015-03-23 Keith Seitz <keiths@redhat.com>
19292
19293 PR gdb/18021
19294 * gdb.dwarf2/staticvirtual.exp: New test.
19295
bc23328c
JK
192962015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19297
19298 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19299 * README: Remove HP-UX and gdb.hp.
19300 (configuration):
19301 * configure: Regenerate.
19302 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19303 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19304 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19305 gdb.hp/gdb.defects/Makefile.
19306 * gdb.hp/Makefile.in: File deleted.
19307 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19308 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19309 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19310 * gdb.hp/gdb.aCC/run.c: File deleted.
19311 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19312 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19313 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19314 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19315 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19316 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19317 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19318 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19319 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19320 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19321 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19322 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19323 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19324 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19325 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19326 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19327 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19328 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19329 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19330 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19331 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19332 * gdb.hp/gdb.compat/average.c: File deleted.
19333 * gdb.hp/gdb.compat/sum.c: File deleted.
19334 * gdb.hp/gdb.compat/xdb.c: File deleted.
19335 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19336 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19337 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19338 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19339 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19340 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19341 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19342 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19343 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19344 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19345 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19346 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19347 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19348 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19349 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19350 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19351 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19352 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19353 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19354 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19355 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19356 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19357 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19358 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19359 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19360 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19361 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19362 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19363 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19364 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19365 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19366 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19367 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19368 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19369 * gdb.hp/tools/odump: File deleted.
19370
8bf3b159
PA
193712015-03-19 Pedro Alves <palves@redhat.com>
19372
19373 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19374 (saw_thread_3): New globals.
19375 (top level): Increment them when an event for the corresponding
19376 thread is seen.
19377 (no thread starvation): New test.
19378
eb54c8bf
PA
193792015-03-19 Pedro Alves <palves@redhat.com>
19380
19381 * gdb.threads/continue-pending-status.c: New file.
19382 * gdb.threads/continue-pending-status.exp: New file.
19383
32d2e5d6
PA
193842015-03-18 Pedro Alves <palves@redhat.com>
19385
19386 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19387 Use gdb_is_target_remote instead of is_remote. Use
19388 gdb_test_multiple instead of gdb_expect. Exit early if
19389 gdb_test_multiple hits its internal matches. Tighten stepi tests
19390 expected output. Fail on exit with any signal, instead of just
19391 SIGILL.
19392
f68f11b7
YQ
193932015-03-18 Yao Qi <yao.qi@linaro.org>
19394
19395 PR tdep/18107
19396 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19397 variable.
19398 * gdb.base/catch-syscall.exp: Don't skip it on
19399 aarch64*-*-linux* target. Remove elements in all_syscalls.
19400 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19401 target.
19402 (setup_all_syscalls): New proc.
19403
ca5fd19b
YQ
194042015-03-16 Yao Qi <yao.qi@linaro.org>
19405
19406 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19407 (top level): Skip tests if valid_addr_p returns false for
19408 $cmd1 or $cmd2.
19409
85642ba0
AW
194102015-03-11 Andy Wingo <wingo@igalia.com>
19411
19412 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19413
e03f9645
YQ
194142015-03-11 Yao Qi <yao.qi@linaro.org>
19415
19416 * gdb.base/catch-syscall.exp: Fix typo in comments.
19417
5d0962b2
YQ
194182015-03-11 Yao Qi <yao.qi@linaro.org>
19419
19420 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19421
b2df3cef
PA
194222015-03-09 Pedro Alves <palves@redhat.com>
19423
19424 * dg-extract-results.py: Delete.
19425
ef878e53
PA
194262015-03-09 Pedro Alves <palves@redhat.com>
19427
19428 Merge dg-extract-results.sh from GCC upstream (r218843).
19429
19430 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19431 * dg-extract-results.sh: Use --text with grep to avoid issues with
19432 binary files. Fall back to cat -v, if that doesn't work.
19433
9494d219
PA
194342015-03-05 Pedro Alves <palves@redhat.com>
19435
19436 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19437
a8d9763a
SM
194382015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19439
19440 * lib/mi-support.exp (mi_expect_interrupt): Accept
19441 alternative event for when in all-stop mode.
19442
be9957b8
PA
194432015-03-04 Pedro Alves <palves@redhat.com>
19444
19445 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19446
d57be0f4 194472015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
19448
19449 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19450
c214c7cf
AA
194512015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19452
19453 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19454 regexps for GDB's current line display, accept a hex address
19455 preceding the line number.
19456
6d74a497
AA
194572015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19458
19459 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19460 the 'arch1' variable for "s390*-linux*" targets.
19461
511aee7c
PA
194622015-03-04 Pedro Alves <palves@redhat.com>
19463
19464 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19465 (main): Pass missing retval argument to pthread_join call.
19466
95e50b27
PA
194672015-03-02 Pedro Alves <palves@redhat.com>
19468
19469 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19470 (top level): Call do_test with non-stop as well.
19471
28054d69
PA
194722015-03-02 Pedro Alves <palves@redhat.com>
19473
19474 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19475 -1.
19476
4fa5d7b4
AA
194772015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19478
19479 * gdb.arch/s390-vregs.exp: New test.
19480 * gdb.arch/s390-vregs.S: New file.
19481
97c18565
PA
194822015-02-27 Pedro Alves <palves@redhat.com>
19483
19484 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19485 call to catch_command_errors.
19486 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19487 catch_command_errors.
19488
a37bfa30
PA
194892015-02-27 Pedro Alves <palves@redhat.com>
19490
19491 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19492 "true" for boolean result.
19493 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19494 prototype of main.
19495
6f98576f
PA
194962015-02-27 Pedro Alves <palves@redhat.com>
19497
19498 * lib/unbuffer_output.c: New file.
19499 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19500 (main): Call gdb_unbuffer_output.
19501
eba5ab56
YQ
195022015-02-27 Yao Qi <yao.qi@linaro.org>
19503
19504 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19505 target.
19506
0def5aaa
DE
195072015-02-26 Doug Evans <dje@google.com>
19508
19509 * gdb.cp/class2.cc (Dbase, D): New classes.
19510 (main): New local delta.
19511 * gdb.cp/class2.exp: Test printing delta.
19512 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19513 (dynbar): New global.
19514 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19515
081a1c2c
JK
195162015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19517
19518 * gdb.compile/compile-ifunc.c: New file.
19519 * gdb.compile/compile-ifunc.exp: New file.
19520
2f41223f
AT
195212015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19522
19523 * gdb.base/structs.exp: Check for correct struct on finish.
19524
03eddd80
YQ
195252015-02-26 Yao Qi <yao.qi@linaro.org>
19526
19527 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19528 is zero.
19529
80c57053
JK
195302015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19531
19532 * gdb.arch/cordic.ko.bz2: New file.
19533 * gdb.arch/cordic.ko.debug.bz2: New file.
19534 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19535
21613c12
YQ
195362015-02-25 Yao Qi <yao.qi@linaro.org>
19537
19538 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19539 aarch64*-*-* target.
19540
d8b901ed
PA
195412015-02-23 Pedro Alves <palves@redhat.com>
19542
19543 * lib/gdb.exp (delete_breakpoints): Rewrite using
19544 gdb_test_multiple.
19545
e5b85ead
PA
195462015-02-23 Pedro Alves <palves@redhat.com>
19547
19548 * gdb.base/info-os.c: Include stdlib.h.
19549
85c3a371
DE
195502015-02-22 Doug Evans <xdje42@gmail.com>
19551
19552 PR symtab/17855
19553 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19554 is read after symbols have been re-read.
19555 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19556 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19557
96553a0c
DE
195582015-02-21 Doug Evans <dje@google.com>
19559
19560 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19561
97a0c697
JK
195622015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19563
19564 PR corefiles/17808
19565 * gdb.arch/i386-biarch-core.core.bz2: New file.
19566 * gdb.arch/i386-biarch-core.exp: New file.
19567
a47cd6e9
PA
195682015-02-21 Pedro Alves <palves@redhat.com>
19569
19570 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19571 runto_main fails.
19572
c5facdc4
PA
195732015-02-20 Pedro Alves <palves@redhat.com>
19574
19575 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19576 info probes.
19577
2db9a427
PA
195782015-02-20 Pedro Alves <palves@redhat.com>
19579
19580 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19581
60fb7e9e
PA
195822015-02-20 Pedro Alves <palves@redhat.com>
19583
19584 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19585 clean_restart before gdb_target_supports_trace.
19586
5c5019c2
PA
195872015-02-20 Pedro Alves <palves@redhat.com>
19588
19589 PR threads/18006
19590 * gdb.threads/clone-thread_db.c: New file.
19591 * gdb.threads/clone-thread_db.exp: New file.
19592
c9587f88
AT
195932015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19594
19595 PR breakpoints/16812
19596 * gdb.base/catch-gdb-caused-signals.c: New file.
19597 * gdb.base/catch-gdb-caused-signals.exp: New file.
19598
f6a88844
JM
195992015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19600
19601 * configure: Regenerated.
19602 * configure.ac: Use GDB_AC_TRANSFORM.
19603 * aclocal.m4: sinclude ../transform.m4.
19604
497c491b
JM
196052015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19606
19607 * lib/dtrace.exp: New file.
19608 * gdb.base/dtrace-probe.exp: Likewise.
19609 * gdb.base/dtrace-probe.d: Likewise.
19610 * gdb.base/dtrace-probe.c: Likewise.
19611 * lib/pdtrace.in: Likewise.
19612 * configure.ac: Output variables with the transformed names of
19613 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19614 * configure: Regenerated.
19615
03e98035
JM
196162015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19617
19618 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19619 expected message when trying to access $_probe_* convenience
19620 variables while not on a probe.
19621
63cc30e9
JK
196222015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19623
19624 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19625
0703599a
PA
196262015-02-11 Pedro Alves <pedro@codesourcery.com>
19627
19628 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19629 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19630
7e60a48e
DE
196312015-02-10 Doug Evans <xdje42@gmail.com>
19632
19633 * lib/gdb.exp (gdb_load): Always return a result.
19634
01b088bc
PA
196352015-02-10 Pedro Alves <palves@redhat.com>
19636
19637 * gdb.threads/signal-sigtrap.c: New file.
19638 * gdb.threads/signal-sigtrap.exp: New file.
19639
b05ec7a5
AT
196402015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19641
19642 * gdb.trace/no-attach-trace.c: New file.
19643 * gdb.trace/no-attach-trace.exp: New file.
19644
a2c2acaf
MW
196452015-02-09 Mark Wielaard <mjw@redhat.com>
19646
19647 * gdb.dwarf2/atomic.c: New file.
19648 * gdb.dwarf2/atomic-type.exp: Likewise.
19649
31fd9caa
MM
196502015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19651
19652 * gdb.btrace/buffer-size.exp: Update "info record" output.
19653 * gdb.btrace/delta.exp: Update "info record" output.
19654 * gdb.btrace/enable.exp: Update "info record" output.
19655 * gdb.btrace/finish.exp: Update "info record" output.
19656 * gdb.btrace/instruction_history.exp: Update "info record" output.
19657 * gdb.btrace/next.exp: Update "info record" output.
19658 * gdb.btrace/nexti.exp: Update "info record" output.
19659 * gdb.btrace/step.exp: Update "info record" output.
19660 * gdb.btrace/stepi.exp: Update "info record" output.
19661 * gdb.btrace/nohist.exp: Update "info record" output.
19662
d33501a5
MM
196632015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19664
19665 * gdb.btrace/buffer-size: New.
19666
f4abbc16
MM
196672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19668
19669 * gdb.btrace/delta.exp: Update "info record" output.
19670 * gdb.btrace/enable.exp: Update "info record" output.
19671 * gdb.btrace/finish.exp: Update "info record" output.
19672 * gdb.btrace/instruction_history.exp: Update "info record" output.
19673 * gdb.btrace/next.exp: Update "info record" output.
19674 * gdb.btrace/nexti.exp: Update "info record" output.
19675 * gdb.btrace/step.exp: Update "info record" output.
19676 * gdb.btrace/stepi.exp: Update "info record" output.
19677 * gdb.btrace/nohist.exp: Update "info record" output.
19678
b9d61307
SM
196792015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19680
19681 PR gdb/15678
19682 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19683
e584fdbc
PA
196842015-02-06 Pedro Alves <palves@redhat.com>
19685
19686 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19687 macro.
19688 (seconds_left, again): New globals.
19689 (main): Wait seconds_left in a 1-second sleep loop instead of
19690 sleeping 180 seconds. If 'again' is set, reset the seconds
19691 counter.
19692 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19693 'again' in the inferior before detaching. Print the seconds left.
19694 (options): New global.
19695 (top level): Build program with -DTIMEOUT=$timeout.
19696
77f41761
PA
196972015-02-06 Pedro Alves <palves@redhat.com>
19698
19699 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19700 determine how many seconds to pass to 'alarm'.
19701 * gdb.base/gdb-sigterm.exp (top level): Build program with
19702 -DTIMEOUT=$timeout.
19703 (do_test): Return success/failure indication. Add more verbose
19704 logging. Don't fail if 200 single steps are seen. Instead, fail
19705 when the test times out.
19706 (passes): New global.
19707 (top level): Break the testing loop if testing fails on any
19708 iteration. Use gdb_assert.
19709
b9394193
DB
197102015-02-04 Don Breazeal <donb@codesourcery.com>
19711
19712 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19713 and initialize them.
19714 (ipc_cleanup): New function.
19715 (main): Don't declare shmid, semid, and msqid. Add a call to
19716 atexit so that we call ipc_cleanup on exit.
19717
42d9e528
PA
197182015-02-04 Pedro Alves <palves@redhat.com>
19719
19720 * boards/native-extended-gdbserver.exp: Remove any target variant
19721 specifications from the board name before clearing the isremote
19722 flag from board_info.
19723
ae6ae975
DE
197242015-01-31 Doug Evans <xdje42@gmail.com>
19725
19726 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19727
cfb069a8
GB
197282015-01-31 Gary Benson <gbenson@redhat.com>
19729
19730 * gdb.base/completion.exp: Disable completion limiting for
19731 existing tests. Add new tests to check completion limiting.
19732 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19733
5dd31d79
DE
197342015-01-31 Doug Evans <xdje42@gmail.com>
19735
19736 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19737
9f050062
DE
197382015-01-31 Doug Evans <xdje42@gmail.com>
19739
19740 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19741 entries. Duplicate file section script entries.
19742 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19743 inlined entries. Add test for safe-path rejection.
19744 * gdb.python/py-section-script.c: Add duplicate inlined section script
19745 entries. Duplicate file section script entries.
19746 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19747 inlined entries. Add test for safe-path rejection.
19748
df25ebbd
JB
197492015-01-29 Joel Brobecker <brobecker@adacore.com>
19750
19751 * gdb.ada/disc_arr_bound: New testcase.
19752
4a0ca9ec
JB
197532015-01-29 Joel Brobecker <brobecker@adacore.com>
19754
19755 * gdb.ada/mi_var_array: New testcase.
19756
3a8b707a
DE
197572015-01-27 Doug Evans <dje@google.com>
19758
19759 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19760 Add test for objfile.filename, objfile.username after objfile
19761 has been unloaded.
19762
f8313f6e
JB
197632015-01-26 Joel Brobecker <brobecker@adacore.com>
19764
19765 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19766 the second test to print the name attribute of value
19767 returned by the call to gdb.lookup_type, and adjust
19768 the expected output accordingly.
19769
37bc665e
MW
197702015-01-25 Mark Wielaard <mjw@redhat.com>
19771
19772 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19773 * gdb.base/disp-step-fork.c: Include unistd.h.
19774 * gdb.base/siginfo-obj.c: Include stdio.h.
19775 * gdb.base/siginfo-thread.c: Likewise.
19776 * gdb.mi/non-stop.c: Include unistd.h.
19777 * gdb.mi/nsthrexec.c: Include stdio.h.
19778 * gdb.mi/pthreads.c: Include unistd.h.
19779 * gdb.modula2/unbounded1.c (main): Declare returns int.
19780 * gdb.reverse/consecutive-reverse.c: Likewise.
19781 * gdb.threads/create-fail.c: Include unistd.h.
19782 * gdb.threads/killed.c: Likewise.
19783 * gdb.threads/linux-dp.c: Likewise.
19784 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19785 * gdb.threads/non-ldr-exc-2.c: Likewise.
19786 * gdb.threads/non-ldr-exc-3.c: Likewise.
19787 * gdb.threads/non-ldr-exc-4.c: Likewise.
19788 * gdb.threads/pthreads.c: Include unistd.h.
19789 (main): Declare returns int.
19790 * gdb.threads/tls-main.c (foo): New declaration.
19791 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19792
f7e5394d
SM
197932015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19794
19795 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19796 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19797
743649fd
MW
197982015-01-15 Mark Wielaard <mjw@redhat.com>
19799
19800 * gdb.base/noreturn-return.c: New file.
19801 * gdb.base/noreturn-return.exp: New file.
19802 * gdb.base/noreturn-finish.c: New file.
19803 * gdb.base/noreturn-finish.exp: New file.
19804
198297aa
PA
198052015-01-23 Pedro Alves <palves@redhat.com>
19806
19807 * gdb.threads/continue-pending-after-query.c: New file.
19808 * gdb.threads/continue-pending-after-query.exp: New file.
19809
717cf30c
AG
198102015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19811 Simon Marchi <simon.marchi@ericsson.com>
19812
19813 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19814 * gdb.base/valgrind-db-attach.exp: Same.
19815 * gdb.base/valgrind-infcall.exp: Same.
19816 * lib/mi-support.exp (default_mi_gdb_start): Same.
19817 * lib/prompt.exp (default_prompt_gdb_start): Same.
19818 * lib/gdb.exp (default_gdb_spawn): Same.
19819 (gdb_interact): New.
19820
19821
4b62a76e
JK
198222015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19823
19824 * gdb.compile/compile.exp (pointer to jit function): New test.
19825
b4cdae6f
WW
198262015-01-17 Wei-cheng Wang <cole945@gmail.com>
19827
19828 * lib/gdb.exp (supports_process_record): Return true for
19829 powerpc*-*-linux*.
19830 (supports_reverse): Likewise.
19831
d221e7ef
DB
198322015-01-15 Don Breazeal <donb@codesourcery.com>
19833
19834 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19835 instead of checking whether the target board is remote and
19836 use spawn_wait_for_attach instead of exec/sleep.
19837 * gdb.base/attach-twice.exp: Likewise.
19838
bafffb51
JB
198392015-01-15 Joel Brobecker <brobecker@adacore.com>
19840
19841 * gdb.ada/var_arr_attrs: New testcase.
19842
5589af0e
PA
198432015-01-14 Pedro Alves <palves@redhat.com>
19844 Joel Brobecker <brobecker@adacore.com>
19845
19846 PR gdb/17525
19847 * gdb.base/bp-cmds-execution-x-script.c: New file.
19848 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19849 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19850
6c400b59
PA
198512015-01-14 Pedro Alves <palves@redhat.com>
19852
19853 PR cli/17828
19854 * gdb.base/batch-preserve-term-settings.c: New file.
19855 * gdb.base/batch-preserve-term-settings.exp: New file.
19856
e02c96a7
DE
198572015-01-13 Doug Evans <dje@google.com>
19858
19859 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19860 binary.
19861
576fd14c
JB
198622015-01-13 Joel Brobecker <brobecker@adacore.com>
19863
19864 * Makefile.in (clean mostlyclean): Do not delete *.py.
19865
04dccad0
JB
198662015-01-13 Joel Brobecker <brobecker@adacore.com>
19867
19868 * gdb.python/py-lookup-type.exp: New file.
19869
3d230f71
PA
198702015-01-12 Pedro Alves <palves@redhat.com>
19871
19872 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19873 restore GDBFLAGS before returning.
19874
7e67715d
JK
198752015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19876
19877 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19878 is_amd64_regs_target and is_x86_like_target.
19879
f2e0d4b4
DE
198802015-01-11 Doug Evans <xdje42@gmail.com>
19881
19882 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19883 is given without an explicit form.
19884 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19885 attributes.
19886 * gdb.dwarf/corrupt.exp: Ditto.
19887 * gdb.dwarf2/enum-type.exp: Ditto.
19888 * gdb.trace/entry-values.exp: Ditto.
19889 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19890
439250fb
DE
198912015-01-11 Doug Evans <xdje42@gmail.com>
19892
19893 PR gdb/15830
19894 * gdb.base/maint.exp: Remove references to "maint demangle".
19895 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19896 Add tests for explicitly specifying language to demangle.
19897 * gdb.dlang/demangle.exp: Ditto.
19898
ede9f622
PA
198992015-01-09 Pedro Alves <palves@redhat.com>
19900
19901 * gdb.threads/non-stop-fair-events.c: New file.
19902 * gdb.threads/non-stop-fair-events.exp: New file.
19903
a7b796db
PA
199042015-01-09 Pedro Alves <palves@redhat.com>
19905
19906 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19907 the global scope. Set a breakpoint after all threads are started
19908 rather than stepping over two source lines. Expect the prompt.
19909 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19910 global.
19911 (NUM): Now 15.
19912 (main): Use threads_started_barrier to wait for all threads to
19913 start. Main thread no longer calls thread_function. Exit after
19914 180 seconds.
19915 (loop): New function.
19916 (thread_function): Wait on threads_started_barrier barrier. Call
19917 'loop' at each iteration.
19918 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19919 threads have started, instead of hardcoding number of "next"
19920 steps. Use an access watchpoint instead of a write watchpoint.
19921
9665ffdd
PA
199222015-01-09 Pedro Alves <palves@redhat.com>
19923
19924 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19925 (thread_func): Wait on barrier.
19926 (main): Wait for all threads to start before stopping GDB.
19927 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19928 global.
19929 (thread1_func, thread2_func): Wait on barrier.
19930 (main): Wait for all threads to start before stopping GDB.
19931 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19932 New global.
19933 (thread1_func, thread2_func): Wait on barrier.
19934 (main): Wait for all threads to start before stopping GDB.
19935
c945a99f
PA
199362015-01-09 Pedro Alves <palves@redhat.com>
19937
19938 * gdb.threads/attach-many-short-lived-threads.c: New file.
19939 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19940
c1a747c1
PA
199412014-01-09 Pedro Alves <palves@redhat.com>
19942
19943 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19944 instead of to thread 2.
19945 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19946 Add barrier around each pthread_create call instead of around all
19947 calls.
19948 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19949 Set a break on thread_function and have the child threads hit it
19950 one at at a time.
19951
60b3033e
PA
199522015-01-09 Pedro Alves <palves@redhat.com>
19953
19954 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19955 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19956 false.
19957 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19958 checking whether the target board is remote.
19959 * gdb.multi/multi-attach.exp: Likewise.
19960 * gdb.python/py-sync-interp.exp: Likewise.
19961 * gdb.server/ext-attach.exp: Likewise.
19962 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19963 tests that need to attach, instead of checking whether the target
19964 board is remote at the top of the file.
19965
acc018ac
YQ
199662015-01-08 Yao Qi <yao@codesourcery.com>
19967
19968 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19969
50a18af8
JK
199702015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19971
19972 Fix testcase compilation.
19973 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19974
8503d6e1
JB
199752015-01-06 Joel Brobecker <brobecker@adacore.com>
19976
19977 * gdb.python/py-type.exp: Add a couple test about empty
19978 array creation, and negative-length array creation.
19979
cc73dbcc
DE
199802015-01-02 Doug Evans <xdje42@gmail.com>
19981
19982 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19983
0300bbc7
DE
199842015-01-02 Doug Evans <dje@google.com>
19985
19986 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19987
9d85a0ec
YQ
199882014-12-29 Yao Qi <yao@codesourcery.com>
19989
19990 * gdb.trace/entry-values.exp: Update comments. Rename variable
19991 bar_call_foo to returned_from_foo.
19992
87186c6a
MMN
199932014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19994
19995 PR gdb/17394
19996 * gdb.linespec/break-asm-file.c: New file.
19997 * gdb.linespec/break-asm-file.exp: New file.
19998 * gdb.linespec/break-asm-file0.s: New file.
19999 * gdb.linespec/break-asm-file1.s: New file.
20000
1bab7383
YQ
200012014-12-18 Nigel Stephens <nigel@mips.com>
20002 Maciej W. Rozycki <macro@codesourcery.com>
20003
20004 * gdb.base/float.exp: Handle the new output from "info float" on
20005 MIPS targets.
20006
1bc1068a
JK
200072014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20008
20009 Fix MinGW compilation.
20010 * gdb.compile/compile-ops.exp: Update untested message if
20011 !skip_compile_feature_tests.
20012 * gdb.compile/compile-setjmp.exp: Likewise.
20013 * gdb.compile/compile-tls.exp: Likewise.
20014 * gdb.compile/compile.exp: Likewise.
20015 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20016 supported on this host".
20017
b6615d10
DE
200182014-12-16 Doug Evans <xdje42@gmail.com>
20019
20020 * boards/stabs.exp: New file.
20021
25dda427
AA
200222014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20023
20024 * gdb.base/completion.exp: Adjust to format changes of "maint
20025 print user-registers".
20026
bf330350
CU
200272014-12-16 Catalin Udma <catalin.udma@freescale.com>
20028
20029 PR server/17457
20030 * gdb.arch/aarch64-fp.c: New file.
20031 * gdb.arch/aarch64-fp.exp: New file.
20032
395cf596
SDJ
200332014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20034
20035 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20036 r210637, r210913, r211666, r215400, r215817).
20037
20038 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20039 * dg-extract-results.py: New file.
20040 * dg-extract-results.sh: Use it if the environment seems
20041 suitable.
20042
20043 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20044
20045 * dg-extract-results.py (parse_run): Handle warnings that
20046 are printed before a test harness is run.
20047
20048 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20049
20050 * dg-extract-results.py (Named): Remove __cmp__ method.
20051 (output_variation): Use a key to sort variation.harnesses.
20052
20053 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20054
20055 * dg-extract-results.py: For Python 3, force sys.stdout to
20056 handle surrogate escape sequences.
20057 (safe_open): New function.
20058 (output_segment, main): Use it.
20059
20060 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20061
20062 * dg-extract-results.py (Prog.result_re): Include options
20063 in test name.
20064
20065 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20066
20067 * dg-extract-results.py (output_variation): Always sort if
20068 do_sum.
20069
e882ef3c
SM
200702014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20071
20072 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20073 as long as we get pagination notifications.
20074
4992aa20
JM
200752014-12-15 Jason Merrill <jason@redhat.com>
20076
20077 * Makefile.in (check-gdb.%): Restore.
20078 * README: Mention it.
20079
c1b5a1a6
JB
200802014-12-13 Joel Brobecker <brobecker@adacore.com>
20081
20082 * gdb.ada/str_uninit: New testcase.
20083
5537b577
JK
200842014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20085
20086 PR symtab/17642
20087 * gdb.base/vla-stub-define.c: New file.
20088 * gdb.base/vla-stub.c: New file.
20089 * gdb.base/vla-stub.exp: New file.
20090
bb2ec1b3
TT
200912014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20092 Jan Kratochvil <jan.kratochvil@redhat.com>
20093 Tom Tromey <tromey@redhat.com>
20094
20095 * configure.ac: Add gdb.compile/.
20096 * configure: Regenerate.
20097 * gdb.compile/Makefile.in: New file.
20098 * gdb.compile/compile-ops.exp: New file.
20099 * gdb.compile/compile-ops.c: New file.
20100 * gdb.compile/compile-tls.c: New file.
20101 * gdb.compile/compile-tls.exp: New file.
20102 * gdb.compile/compile-constvar.S: New file.
20103 * gdb.compile/compile-constvar.c: New file.
20104 * gdb.compile/compile-mod.c: New file.
20105 * gdb.compile/compile-nodebug.c: New file.
20106 * gdb.compile/compile-setjmp-mod.c: New file.
20107 * gdb.compile/compile-setjmp.c: New file.
20108 * gdb.compile/compile-setjmp.exp: New file.
20109 * gdb.compile/compile-shlib.c: New file.
20110 * gdb.compile/compile.c: New file.
20111 * gdb.compile/compile.exp: New file.
20112 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20113
4ff709eb
TT
201142014-12-12 Tom Tromey <tromey@redhat.com>
20115
20116 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20117 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20118
6dddd6a5
DE
201192014-12-12 Doug Evans <dje@google.com>
20120
20121 * lib/gdb-python.exp (get_python_valueof): New function.
20122 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20123
71c24708
AA
201242014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20125
20126 * gdb.base/completion.exp: Add test for completion of "info
20127 registers ".
20128
3e29f34a
MR
201292014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20130
20131 * gdb.base/func-ptrs.c: New file.
20132 * gdb.base/func-ptrs.exp: New file.
20133
fc126975
SM
201342014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20135
20136 PR breakpoints/17012
20137 * gdb.base/dprintf-detach.c: New file.
20138 * gdb.base/dprintf-detach.exp: New file.
20139
0a46d518
SM
201402014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20141
20142 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20143 * lib/gdb.exp (target_is_gdbserver): New procedure.
20144
a0be3e44
DE
201452014-12-08 Doug Evans <dje@google.com>
20146
20147 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20148
df1b803a
YQ
201492014-12-05 Yao Qi <yao@codesourcery.com>
20150
20151 * gdb.guile/scm-error.exp: Remove the third argument to
20152 gdb_remote_download.
20153 * gdb.guile/scm-frame-args.exp: Likewise.
20154 * gdb.guile/scm-section-script.exp: Likewise.
20155
ddb9f679
YQ
201562014-12-05 Yao Qi <yao@codesourcery.com>
20157
20158 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20159
86e4ed39
DE
201602014-12-04 Doug Evans <dje@google.com>
20161
20162 * gdb.python/py-objfile.exp: Add tests for
20163 objfile.add_separate_debug_file.
20164
7c50a931
DE
201652014-12-04 Doug Evans <dje@google.com>
20166
20167 * lib/gdb.exp (get_build_id): New function.
20168 (build_id_debug_filename_get): Rewrite to use it.
20169 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20170
621661e3
MR
201712014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20172
20173 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20174 `method(long)', not just 0x0.
20175 * gdb.cp/nsalias.exp: Align code labels to 4.
20176 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20177 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20178 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20179 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20180 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20181 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20182
29f0c3b7
DE
201832014-12-02 Doug Evans <dje@google.com>
20184
e1e061e7 20185 PR symtab/17602
29f0c3b7 20186 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 20187 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
20188 * gdb.cp/anon-ns.exp: Update.
20189
162078c8
NB
201902014-12-02 Nick Bull <nicholaspbull@gmail.com>
20191
20192 * gdb.python/py-events.py (inferior_call_handler): New.
20193 (register_changed_handler, memory_changed_handler): New.
20194 (test_events.invoke): Register new handlers.
20195 * gdb.python/py-events.exp: Add tests for inferior call,
20196 memory_changed and register_changed events.
20197
fdb09caf
AA
201982014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20199
20200 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20201 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20202 if the linker doesn't understand this.
20203
55cfb2c4
SM
202042014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20205
20206 * gdb.python/python.exp: Change expected reply to help().
20207
9e8cd6df
YQ
202082014-12-01 Yao Qi <yao@codesourcery.com>
20209
20210 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20211 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20212 * configure: Re-generated.
20213
6c659fc2
SC
202142014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20215
20216 * gdb.cp/chained-calls.cc: New file.
20217 * gdb.cp/chained-calls.exp: New file.
20218 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20219
d7fc3181
SM
202202014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20221
20222 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20223 * gdb.dwarf2/symtab-producer.exp: Same.
20224 * gdb.gdb/python-interrupts.exp: Same.
20225 * gdb.gdb/python-selftest.exp: Same.
20226 * gdb.python/py-linetable.exp: Same.
20227 * gdb.python/py-type.exp: Same.
20228 * gdb.python/py-value-cc.exp: Same.
20229 * gdb.python/py-value.exp: Same.
20230
10e79639
YQ
202312014-11-28 Yao Qi <yao@codesourcery.com>
20232
20233 * gdb.base/break-probes.exp: Match library name prefixed with
20234 sysroot.
20235
f28a0564
SM
202362014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20237
20238 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20239 test expected output. Add parentheses for the call to print.
20240 Remove L suffix from integers.
20241
3fe1ce1d
DE
202422014-11-26 Doug Evans <dje@google.com>
20243
20244 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20245
84429e27
YQ
202462014-11-22 Yao Qi <yao@codesourcery.com>
20247
20248 * gdb.trace/entry-values.c: Remove asms.
20249 (foo): Add foo_label.
20250 (bar): Add bar_label.
20251 * gdb.trace/entry-values.exp: Remove code computing foo's
20252 length and bar's length.
20253 (Dwarf::assemble): Invoke function_range for bar and use
20254 MACRO_AT_func for foo.
20255
26741859
YQ
202562014-11-22 Yao Qi <yao@codesourcery.com>
20257
20258 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20259 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20260 Use .Lgcc43_procstart instead of gcc43.
20261
45e44d27
JB
202622014-11-21 Joel Brobecker <brobecker@adacore.com>
20263
20264 * gdb.ada/n_arr_bound: New testcase.
20265
458c8db8
SDJ
202662014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20267
20268 PR breakpoints/10737
20269 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20270 test_catch_syscall_multi_arch.
20271 (test_catch_syscall_multi_arch): New function.
20272
43f3e411
DE
202732014-11-20 Doug Evans <xdje42@gmail.com>
20274
20275 * gdb.base/maint.exp: Update expected output.
20276
0d7b2549
AA
202772014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20278
20279 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20280 4-byte instruction on S390.
20281
8908fca5
JB
202822014-11-19 Joel Brobecker <brobecker@adacore.com>
20283
20284 * gdb.ada/arr_arr: New testcase.
20285
4a46959e
JB
202862014-11-19 Joel Brobecker <brobecker@adacore.com>
20287
20288 * gdb.ada/pkd_arr_elem: New Testcase.
20289
470e2f4e
LM
202902014-11-18 Luis Machado <lgustavo@codesourcery.com>
20291
20292 * gdb.reverse/break-precsave: Expect completion message for
20293 core file reads.
20294 * gdb.reverse/consecutive-precsave.exp: Likewise.
20295 * gdb.reverse/finish-precsave.exp: Likewise.
20296 * gdb.reverse/i386-precsave.exp: Likewise.
20297 * gdb.reverse/machinestate-precsave.exp: Likewise.
20298 * gdb.reverse/sigall-precsave.exp: Likewise.
20299 * gdb.reverse/solib-precsave.exp: Likewise.
20300 * gdb.reverse/step-precsave.exp: Likewise.
20301 * gdb.reverse/until-precsave.exp: Likewise.
20302 * gdb.reverse/watch-precsave.exp: Likewise.
20303
a267f3ad
AA
203042014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20305
20306 * gdb.base/bp-permanent.c: Include unistd.h.
20307 * gdb.python/py-framefilter-mi.c (main): Add return type.
20308 * gdb.python/py-framefilter.c (main): Likewise.
20309 * gdb.trace/actions-changed.c (main): Likewise.
20310
12084a9a
AA
203112014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20312
20313 * gdb.mi/until.c: Add eye-catchers.
20314 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20315 line numbers.
20316
dc7e1a77
AA
203172014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20318
20319 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20320 function header variants in break1.c.
20321 * gdb.base/ena-dis-br.exp: Likewise.
20322 * gdb.base/hbreak2.exp: Likewise.
20323 * gdb.reverse/until-precsave.exp: Drop references to removed
20324 non-prototype function header variants in ur1.c.
20325 * gdb.reverse/until-reverse.exp: Likewise.
20326
41c77605
PM
203272014-11-17 Petr Machata <pmachata@redhat.com>
20328
20329 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20330 ${_cu_offset_size} bytes abbrev offset.
20331
34248c3a
DE
203322014-11-15 Doug Evans <xdje42@gmail.com>
20333
20334 PR symtab/17559
20335 * gdb.base/line-symtabs.exp: New file.
20336 * gdb.base/line-symtabs.c: New file.
20337 * gdb.base/line-symtabs.h: New file.
20338
646da059
YQ
203392014-11-14 Yao Qi <yao@codesourcery.com>
20340
20341 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20342 (func): Add label func_label.
20343 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20344 Replace low_pc and high_pc with MACRO_AT_range.
20345 Replace name, low_pc and high_pc with MACRO_AT_func.
20346
9301ebe6
YQ
203472014-11-14 Yao Qi <yao@codesourcery.com>
20348
20349 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20350 Replace name, low_pc and high_pc with MACRO_AT_func.
20351
f166b542
YQ
203522014-11-14 Yao Qi <yao@codesourcery.com>
20353
20354 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20355 produce debug information.
20356 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20357
0f6e71e3
YQ
203582014-11-14 Yao Qi <yao@codesourcery.com>
20359
20360 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20361 object and get function length.
20362 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20363 with MACRO_AT_func.
20364 (top-level): Replace gdb_compile and clean_restart with
20365 prepare_for_testing.
20366 * gdb.dwarf2/main.c (main): Add label main_label.
20367
876c4df9
YQ
203682014-11-14 Yao Qi <yao@codesourcery.com>
20369
20370 * lib/dwarf.exp (function_range): New procedure.
20371 (Dwarf::_handle_macro_at_func): New procedure.
20372 (Dwarf::_handle_macro_at_range): New procedure.
20373 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20374
02ad9cf1
YQ
203752014-11-14 Yao Qi <yao@codesourcery.com>
20376
20377 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20378 (_handle_attribute): New procedure.
20379
a59add0c
AA
203802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20381
20382 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20383 * gdb.base/call-sc.c (zed): Likewise.
20384 * gdb.base/checkpoint.c (main): Likewise.
20385 * gdb.base/dump.c (main): Likewise.
20386 * gdb.base/gcore.c (main): Likewise.
20387 * gdb.base/huge.c (main): Likewise.
20388 * gdb.base/multi-forks.c (main): Likewise.
20389 * gdb.base/pr10179-a.c (main): Likewise.
20390 * gdb.base/savedregs.c (main): Likewise.
20391 * gdb.base/sigaltstack.c (main): Likewise.
20392 * gdb.base/siginfo.c (main): Likewise.
20393 * gdb.base/structs.c (zed): Likewise.
20394 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20395 * gdb.mi/mi-syn-frame.c (main): Likewise.
20396 * gdb.mi/until.c (foo, main): Likewise.
20397 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20398 * gdb.base/solib-weak.c (foo): Declare.
20399 * gdb.base/attach-twice.c: Include stdio.h.
20400 * gdb.base/weaklib1.c: Likewise.
20401 * gdb.base/weaklib2.c: Likewise.
20402 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20403 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20404 unistd.h.
20405 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20406 * gdb.mi/mi-exit-code.c: Likewise.
20407 * gdb.base/break-interp-lib.c: Include string.h.
20408 * gdb.base/coremaker.c: Likewise.
20409 * gdb.base/testenv.c: Likewise.
20410 * gdb.python/py-finish-breakpoint.c: Likewise.
20411 * gdb.base/inferior-died.c: Include sys/wait.h.
20412 * gdb.base/fileio.c: Include time.h.
20413 * gdb.base/async-shell.c: Include unistd.h.
20414 * gdb.base/dprintf-non-stop.c: Likewise.
20415 * gdb.base/info-os.c: Likewise.
20416 * gdb.mi/mi-console.c: Likewise.
20417 * gdb.mi/watch-nonstop.c: Likewise.
20418 * gdb.python/py-events.c: Likewise.
20419 * gdb.base/async.c (baz): Move up before its invocation.
20420 * gdb.base/code_elim2.c (my_global_func): Likewise.
20421 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20422 * gdb.base/advance.c (func2): Likewise.
20423
3b5d5997
AA
204242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20425
20426 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20427 variant.
20428 * gdb.base/annota3.c: Likewise.
20429 * gdb.base/async.c: Likewise.
20430 * gdb.base/average.c: Likewise.
20431 * gdb.base/call-ar-st.c: Likewise.
20432 * gdb.base/call-rt-st.c: Likewise.
20433 * gdb.base/call-sc.c: Likewise.
20434 * gdb.base/call-strs.c: Likewise.
20435 * gdb.base/ending-run.c: Likewise.
20436 * gdb.base/execd-prog.c: Likewise.
20437 * gdb.base/exprs.c: Likewise.
20438 * gdb.base/foll-exec.c: Likewise.
20439 * gdb.base/foll-fork.c: Likewise.
20440 * gdb.base/foll-vfork.c: Likewise.
20441 * gdb.base/funcargs.c: Likewise.
20442 * gdb.base/gcore.c: Likewise.
20443 * gdb.base/jump.c: Likewise.
20444 * gdb.base/langs0.c: Likewise.
20445 * gdb.base/langs1.c: Likewise.
20446 * gdb.base/langs2.c: Likewise.
20447 * gdb.base/mips_pro.c: Likewise.
20448 * gdb.base/nodebug.c: Likewise.
20449 * gdb.base/opaque0.c: Likewise.
20450 * gdb.base/opaque1.c: Likewise.
20451 * gdb.base/recurse.c: Likewise.
20452 * gdb.base/run.c: Likewise.
20453 * gdb.base/scope0.c: Likewise.
20454 * gdb.base/scope1.c: Likewise.
20455 * gdb.base/setshow.c: Likewise.
20456 * gdb.base/setvar.c: Likewise.
20457 * gdb.base/shmain.c: Likewise.
20458 * gdb.base/shr1.c: Likewise.
20459 * gdb.base/shr2.c: Likewise.
20460 * gdb.base/sigall.c: Likewise.
20461 * gdb.base/signals.c: Likewise.
20462 * gdb.base/so-indr-cl.c: Likewise.
20463 * gdb.base/solib2.c: Likewise.
20464 * gdb.base/structs.c: Likewise.
20465 * gdb.base/sum.c: Likewise.
20466 * gdb.base/vforked-prog.c: Likewise.
20467 * gdb.base/watchpoint.c: Likewise.
20468 * gdb.reverse/shr2.c: Likewise.
20469 * gdb.reverse/until-reverse.c: Likewise.
20470 * gdb.reverse/ur1.c: Likewise.
20471 * gdb.reverse/watch-reverse.c: Likewise.
20472
066a77c5
AA
204732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20474
20475 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20476 variant.
20477 * gdb.base/sepdebug.exp: Drop references to removed code.
20478
4f204ea5
AA
204792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20480
20481 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20482 variant. Preserve original line numbering.
20483 * gdb.base/list1.c: Likewise.
20484
3b377a3a
AA
204852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20486
20487 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20488 variant.
20489 * gdb.base/break1.c: Likewise.
20490 * gdb.base/break.exp: Drop references to removed code.
20491
e444df73
AA
204922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20493
20494 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20495 variant.
20496
8008f2a7
AA
204972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20498
20499 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20500
a5a06887
AA
205012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20502
20503 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20504 logic into perform_all_tests() and invoke it with and without
20505 function header prototypes.
20506 (do_function_calls): Remove conditional XFAIL for PR 5318.
20507 (rerun_and_prepare): Remove duplicate code.
20508 (perform_all_tests): New. Main logic moved here.
20509
44dba9b9
AA
205102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20511
20512 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20513 code guarded by #ifdef NO_PROTOTYPES.
20514 (t_double_many_args): Likewise.
20515 (DEF_FUNC_MANY_ARGS_1): Likewise.
20516 (DEF_FUNC_VALUES_1): Likewise.
20517 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20518 guarded by #ifdef PROTOTYPES.
20519
d1fbcd56
AA
205202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20521
20522 * gdb.mi/mi-console.c: Add eye-catcher.
20523 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20524 instead of literal line number.
20525
b0e59b8f
AA
205262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20527
20528 * gdb.base/shr2.c: Add eye-catcher.
20529 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20530 line number.
20531
78f98cca
AA
205322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20533
20534 * gdb.base/jump.c: Add eye-catchers.
20535 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20536 numbers.
20537
58fa2af0
AA
205382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20539
20540 * gdb.base/execd-prog.c: Add eye-catchers.
20541 * gdb.base/foll-exec.c: Likewise.
20542 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20543 line numbers.
20544
04e5059b
AA
205452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20546
20547 * gdb.base/ending-run.c: Add eye-catchers.
20548 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20549 literal line numbers.
20550
dbfdb174
AA
205512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20552
20553 * gdb.base/call-rt-st.c: Add eye-catchers.
20554 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20555 literal line numbers.
20556
888a2ade
AA
205572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20558
20559 * gdb.base/call-ar-st.c: Add eye-catchers.
20560 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20561 literal line numbers.
20562
6acc2dde
AA
205632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20564
20565 * gdb.base/average.c: Add eye-catchers.
20566 * gdb.base/sum.c: Likewise.
20567 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20568 regexps dynamically.
20569
9ecfcd1d
AA
205702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20571
20572 * gdb.base/solib1.c: Add eye-catchers.
20573 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20574 literal line numbers.
20575
78708b7c
PA
205762014-11-12 Pedro Alves <palves@redhat.com>
20577
20578 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20579 leader has exited.
20580
af48d08f
PA
205812014-11-12 Pedro Alves <palves@redhat.com>
20582
20583 * gdb.arch/i386-bp_permanent.c: New file.
20584 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20585 (srcfile): Set to i386-bp_permanent.c.
20586 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20587 that stepi does not execute the 'leave' instruction, instead of
20588 testing it does execute.
20589 * gdb.base/bp-permanent.c: New file.
20590 * gdb.base/bp-permanent.exp: New file.
20591
af3768e9
DE
205922014-11-10 Doug Evans <xdje42@gmail.com>
20593
20594 PR symtab/17564
20595 * gdb.base/symtab-search-order.exp: New file.
20596 * gdb.base/symtab-search-order.c: New file.
20597 * gdb.base/symtab-search-order-1.c: New file.
20598 * gdb.base/symtab-search-order-shlib-1.c: New file.
20599
9de00a4a
PA
206002014-11-07 Pedro Alves <palves@redhat.com>
20601
20602 PR gdb/17511
20603 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20604 i?86-*-linux*.
20605
e0f52461
SC
206062014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20607
20608 PR c++/17494
20609 * gdb.cp/pr17494.cc: New file.
20610 * gdb.cp/pr17494.exp: New file.
20611
6ce8c980
YQ
206122014-11-02 Yao Qi <yao@codesourcery.com>
20613
20614 * gdb.python/python.exp: Get working directory and match the
20615 output of "set extended-prompt \\w " with it.
20616
02be9a71
DE
206172014-10-30 Doug Evans <dje@google.com>
20618
20619 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20620 in objfiles.
20621 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20622 in progspaces.
20623
3bdff46b
LM
206242014-10-30 Janis Johnson <janisjo@codesourcery.com>
20625
20626 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20627 * gdb.base/realname-expand.exp: Likewise.
20628 * gdb.linespec/macro-relative.exp: Likewise.
20629
ab917dfb
PA
206302014-10-29 Pedro Alves <palves@redhat.com>
20631
20632 PR gdb/17408
20633 * gdb.threads/schedlock.c (some_function): New function.
20634 (call_function): New global.
20635 (MAYBE_CALL_SOME_FUNCTION): New macro.
20636 (thread_function): Call it.
20637 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20638 and use it instead of a global counter. Adjust all callers.
20639 (get_current_thread): Use "find current thread" for test message
20640 here rather than having all callers pass down the same string.
20641 (goto_loop): New procedure, factored out from ...
20642 (my_continue): ... this.
20643 (step_ten_loops): Change parameter from test message to command to
20644 use. Adjust.
20645 (list_count): Delete global.
20646 (check_result): New procedure, factored out from duplicate top
20647 level code.
20648 (continue tests): Wrap in with_test_prefix.
20649 (test_step): New procedure, factored out from duplicate top level
20650 code.
20651 (top level): Test "step" in combination with all scheduler-locking
20652 modes. Test "next" in combination with all scheduler-locking
20653 modes, and in combination with stepping over a function call or
20654 not.
20655 * gdb.threads/next-bp-other-thread.c: New file.
20656 * gdb.threads/next-bp-other-thread.exp: New file.
20657
d3d4baed
PA
206582014-10-29 Pedro Alves <palves@redhat.com>
20659
20660 PR python/17372
20661 * gdb.python/python.exp: Test a multi-line command that spawns
20662 interactive Python.
20663 * gdb.base/multi-line-starts-subshell.exp: New file.
20664
563e8d85
YQ
206652014-10-29 Yao Qi <yao@codesourcery.com>
20666
20667 * gdb.base/fileio.exp: Make directories on host.
20668
0ea4d52e
YQ
206692014-10-29 Yao Qi <yao@codesourcery.com>
20670
20671 * gdb.base/fileio.c (test_write): Close the file.
20672
7f5ef605
PA
206732014-10-28 Pedro Alves <palves@redhat.com>
20674
20675 PR gdb/12623
20676 * gdb.base/sigstep.c (no_handler): New global.
20677 (main): If 'no_handler is true, set the signal handlers to
20678 SIG_IGN.
20679 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20680 with_sw_watch and no_handler parameters. Handle them.
20681 (top level) <stepping over handler when stopped at a breakpoint
20682 test>: Add a test axis for testing with a software watchpoint, and
20683 another for testing with the signal handler set to SIG_IGN.
20684 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20685 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20686
abbdbd03
PA
206872014-10-28 Pedro Alves <palves@redhat.com>
20688
20689 PR gdb/17511
20690 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20691 * gdb.base/sigstep.exp (other_handler_location): New global.
20692 (advance): Support stepping into the signal handler, and running
20693 commands while in the handler.
20694 (in_handler_map): New global.
20695 (top level): In the advance test, add combinations for getting
20696 into the handler with stepping commands, and for running commands
20697 in the handler. Add comment descripting the advancei tests.
20698
1df4399f
PA
206992014-10-28 Pedro Alves <palves@redhat.com>
20700
20701 * gdb.base/sigstep.exp: Use build_executable instead of
20702 prepare_for_testing.
20703 (top level): Move code that starts GDB, runs to main and creates a
20704 display to ...
20705 (restart): ... this new procedure.
20706 (top level): Move backtrace from signal handler test to ...
20707 (validate_backtrace): ... this new procedure.
20708 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20709 with_test_prefix. Always restart GDB.
20710 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20711 with_test_prefix. Always restart GDB. No need to delete
20712 breakpoints after the test.
20713 (test_skip_handler): Remove prefix parameter.
20714 (skip_over_handler, breakpoint_to_handler)
20715 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20716 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20717 restart GDB. No need to delete breakpoints after the test.
20718 (top level): Use foreach to call the test procedures with
20719 different commands.
20720
a5b6e449
PA
207212014-10-28 Pedro Alves <palves@redhat.com>
20722
20723 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20724 instead of GNATS numbers.
20725 * gdb.base/sigbpt.exp: Likewise.
20726 * gdb.base/siginfo.exp: Likewise.
20727 * gdb.base/sigstep.exp: Likewise.
20728
e5f8a7cc
PA
207292014-10-27 Pedro Alves <palves@redhat.com>
20730
20731 * gdb.base/sigstep.c (dummy): New global.
20732 (main): Issue a couple writes to the new global.
20733 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20734 procedures.
20735 (skip_over_handler): Use test_skip_handler.
20736 (top level): Call skip_over_handler for stepi and nexti too.
20737 (breakpoint_over_handler): Use test_skip_handler.
20738 (top level): Call breakpoint_over_handler for stepi and nexti too.
20739
763905a3
YQ
207402014-10-27 Yao Qi <yao@codesourcery.com>
20741
20742 * gdb.trace/tfile.c (adjust_function_address)
20743 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20744 function descriptor.
20745
6f259a23
DB
207462014-10-24 Don Breazeal <donb@codesourcery.com>
20747
20748 * gdb.base/foll-fork.exp (test_follow_fork,
20749 catch_fork_child_follow): Check for updated fork messages emitted
20750 from infrun.c.
20751 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20752 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20753 vfork_and_exec_child_follow_through_step): Check for updated vfork
20754 messages emitted from infrun.c.
20755
09dd9a69
PA
207562014-10-24 Pedro Alves <palves@redhat.com>
20757
20758 * gdb.base/corefile.exp: Remove references to ultrix.
20759 * gdb.base/interrupt.exp: Likewise.
20760 * gdb.base/whatis.exp: Likewise.
20761 * gdb.gdb/selftest.exp: Likewise.
20762 * gdb.threads/manythreads.exp: Likewise.
20763 * gdb.threads/print-threads.exp: Likewise.
20764 * gdb.threads/pthreads.exp:: Likewise.
20765 * gdb.threads/schedlock.exp: Likewise.
20766
3433cfa5
SC
207672014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20768
20769 * gdb.cp/non-trivial-retval.cc: Add a test case.
20770 * gdb.cp/non-trivial-retval.exp: Add a test.
20771
092f880b
YQ
207722014-10-20 Yao Qi <yao@codesourcery.com>
20773
20774 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20775 * gdb.python/py-objfile-script-gdb.py: New file.
20776 * gdb.python/py-objfile-script.exp: Update reference to
20777 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20778 of remote_download. Remove the dest file.
20779
acbdb7f3
YQ
207802014-10-20 Yao Qi <yao@codesourcery.com>
20781
20782 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20783 * gdb.base/step-line.exp: Likewise.
20784 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20785 * gdb.dwarf2/dw2-basic.exp: Likewise.
20786 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20787 * gdb.dwarf2/dw2-filename.exp: Likewise.
20788 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20789 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20790 * gdb.dwarf2/dw2-producer.exp: Likewise.
20791 * gdb.dwarf2/mac-fileno.exp: Likewise.
20792 * gdb.python/py-frame-args.exp: Likewise.
20793 * gdb.python/py-framefilter.exp: Likewise.
20794 * gdb.python/py-mi.exp: Likewise.
20795 * gdb.python/py-objfile-script.exp: Likewise
20796 * gdb.python/py-pp-integral.exp: Likewise.
20797 * gdb.python/py-pp-re-notag.exp: Likewise.
20798 * gdb.python/py-prettyprint.exp: Likewise.
20799 * gdb.python/py-section-script.exp: Likewise.
20800 * gdb.python/py-typeprint.exp: Likewise.
20801 * gdb.python/py-xmethods.exp: Likewise.
20802 * gdb.stabs/weird.exp: Likewise.
20803 * gdb.xml/tdesc-regs.exp: Likewise.
20804
bd286a29
KCY
208052014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20806
20807 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20808 (out_cu): Use addr_len for the size of addresses.
20809 (out_line): Likewise. Size DW_LNE_set_address instruction
20810 according to addr_len.
20811 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20812 (FUNC): Add START_INSNS to definition.
20813
673dc4a0
YQ
208142014-10-18 Yao Qi <yao@codesourcery.com>
20815
20816 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20817 gdb_has_argv0 return true.
20818 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20819 check [target_info exists noargs], check [gdb_has_argv0]
20820 instead.
20821 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20822 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20823 procedures.
20824
4ffbba72
DE
208252014-10-17 Doug Evans <dje@google.com>
20826
20827 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20828 event.
20829 * gdb.python/py-events.py: Add clear_objfiles event.
20830
d096d8c1
DE
208312014-10-17 Doug Evans <dje@google.com>
20832
20833 * gdb.python/py-objfile.exp: Test progspace attribute.
20834
a80db015
LM
208352014-10-17 Luis Machado <lgustavo@codesourcery.com>
20836
20837 * gdb.guile/scm-breakpoint.exp: Do not assume any
20838 directory separators when matching source file paths.
20839 * gdb.python/py-breakpoint.exp: Likewise.
20840 * gdb.reverse/break-precsave.exp: Likewise.
20841 * gdb.reverse/break-reverse.exp: Likewise.
20842 * gdb.reverse/consecutive-precsave.exp: Likewise.
20843 * gdb.reverse/finish-precsave.exp: Likewise.
20844 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20845 * gdb.reverse/finish-reverse.exp: Likewise.
20846 * gdb.reverse/i386-precsave.exp: Likewise.
20847 * gdb.reverse/i387-env-reverse.exp: Likewise.
20848 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20849 * gdb.reverse/machinestate-precsave.exp: Likewise.
20850 * gdb.reverse/machinestate.exp: Likewise.
20851 * gdb.reverse/sigall-precsave.exp: Likewise.
20852 * gdb.reverse/solib-precsave.exp: Likewise.
20853 * gdb.reverse/step-precsave.exp: Likewise.
20854 * gdb.reverse/until-precsave.exp: Likewise.
20855 * gdb.reverse/watch-precsave.exp: Likewise.
20856 * gdb.reverse/watch-reverse.exp: Likewise.
20857
b22089ab
YQ
208582014-10-17 Yao Qi <yao@codesourcery.com>
20859
20860 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20861 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20862
6c4486e6
PA
208632014-10-17 Pedro Alves <palves@redhat.com>
20864
20865 PR gdb/17471
20866 * gdb.base/bg-execution-repeat.c: New file.
20867 * gdb.base/bg-execution-repeat.exp: New file.
20868
0ff33695
PA
208692014-10-17 Pedro Alves <palves@redhat.com>
20870
20871 PR gdb/17300
20872 * gdb.base/continue-all-already-running.c: New file.
20873 * gdb.base/continue-all-already-running.exp: New file.
20874
6fdebc3d
PA
208752014-10-17 Pedro Alves <palves@redhat.com>
20876
20877 PR gdb/17472
20878 * gdb.base/annota-input-while-running.c: New file.
20879 * gdb.base/annota-input-while-running.exp: New file.
20880
32a8097b
PA
208812014-10-17 Pedro Alves <palves@redhat.com>
20882
20883 * gdb.base/callfuncs.exp: emove references to osf.
20884 * gdb.base/sigall.exp: Likewise.
20885 * gdb.gdb/selftest.exp: Likewise.
20886 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20887 * gdb.mi/non-stop.c: Likewise.
20888 * gdb.mi/pthreads.c: Likewise.
20889 * gdb.reverse/sigall-precsave.exp: Likewise.
20890 * gdb.reverse/sigall-reverse.exp: Likewise.
20891 * gdb.threads/pthreads.c: Likewise.
20892 * gdb.threads/pthreads.exp: Likewise.
20893
7a3517ff
YQ
208942014-10-17 Yao Qi <yao@codesourcery.com>
20895
20896 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20897 check 'target_info exists noargs'.
20898 (test_command_prompt_position): Likewise.
20899 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20900 Remove "set args".
20901 (progvar_simple_while_test): Likewise.
20902 (progvar_complex_if_while_test): Likewise.
20903 (if_while_breakpoint_command_test): Likewise.
20904 (infrun_breakpoint_command_test): Likewise.
20905 (breakpoint_command_test): Likewise.
20906 (watchpoint_command_test): Likewise.
20907 (bp_deleted_in_command_test): Likewise.
20908 (temporary_breakpoint_commands): Likewise.
20909
bb99c472
YQ
209102014-10-16 Yao Qi <yao@codesourcery.com>
20911
20912 * gdb.base/remotetimeout.exp: Remove noargs checking.
20913
7c16b83e
PA
209142014-10-15 Pedro Alves <palves@redhat.com>
20915
20916 PR breakpoints/9649
20917 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20918 * gdb.base/breakpoint-in-ro-region.exp
20919 (probe_target_hardware_step): New procedure.
20920 (top level): Probe hardware stepping and hardware breakpoint
20921 support. Test stepping through a read-only region, with both
20922 "breakpoint auto-hw" on and off and both "always-inserted" on and
20923 off.
20924
35a49624
IB
209252014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20926
20927 * gdb.dlang/demangle.exp: Update for demangling changes.
20928
2d1c107c
SC
209292014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20930
20931 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20932 * gdb.cp/non-trivial-retval.exp: Add new tests.
20933
778811d5
SC
209342014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20935
20936 PR c++/13403
20937 PR c++/15154
20938 * gdb.cp/non-trivial-retval.cc: New file.
20939 * gdb.cp/non-trivial-retval.exp: New file.
20940
10c5f0a8
YQ
209412014-10-15 Yao Qi <yao@codesourcery.com>
20942
20943 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20944 remote host.
20945
65d7b369
YQ
209462014-10-15 Yao Qi <yao@codesourcery.com>
20947
20948 * gdb.python/py-symbol.exp: Match file base name if host is
20949 remote, otherwise match file name with dir name.
20950 * gdb.python/py-symtab.exp: Likewise.
20951 * gdb.python/python.exp: Likewise.
20952
46dc1394
YQ
209532014-10-15 Yao Qi <yao@codesourcery.com>
20954
20955 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20956 pattern.
20957 * gdb.python/py-symtab.exp: Likewise.
20958 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20959 locationn.
20960
c40cc657
JB
209612014-10-14 Joel Brobecker <brobecker@adacore.com>
20962
20963 * gdb.ada/addr_arith: New testcase.
20964
2abf49e1
MR
209652014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20966
20967 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20968 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20969 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20970 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20971
f7088df3
SDJ
209722014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20973
20974 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20975 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20976 * gdb.arch/stap-eval-lang-ada.exp: New file.
20977
4dc06805
YQ
209782014-10-14 Yao Qi <yao@codesourcery.com>
20979
20980 * gdb.mi/mi-var-child.c (nothing1): New function.
20981 (nothing2): New function.
20982 (do_children_tests): Set function pointers by nothing1 and
20983 nothing2.
20984 * gdb.mi/mi-var-child.exp: Step over new added statements.
20985 Update test to match the new output.
20986 * gdb.mi/var-cmd.c (nothing1): New function.
20987 (nothing2): New function.
20988 (do_children_tests): Set function pointers by nothing1 and
20989 nothing2.
20990 * gdb.mi/mi-var-display.exp: Update test to match output.
20991 Step to the line specified by $line_dct_nothing.
20992 Increase the number of lines to step.
20993
46a93de2
YQ
209942014-10-14 Yao Qi <yao@codesourcery.com>
20995
20996 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20997 tests.
20998 * gdb.mi/mi2-var-child.exp: Likewise.
20999
14ea52ee
DE
210002014-10-13 Doug Evans <dje@google.com>
21001
21002 * gdb.python/py-objfile.exp: Change name of file name test.
21003
e5c6e92b
DE
210042014-10-13 Doug Evans <dje@google.com>
21005
21006 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21007 from the start of the CU.
21008
c780cc2f
JK
210092014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21010 Yao Qi <yao@codesourcery.com>
21011
21012 Fix "save breakpoints" for "catch" command.
21013 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21014 Remove -nonewline. Match also the added "main" line.
21015
99894e11
JK
210162014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21017
21018 Fix "save breakpoints" for "disable $bpnum" command.
21019 * gdb.base/save-bp.c (main): Add label.
21020 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21021
6e1ac5a3
JK
210222014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21023
21024 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21025
754dd2b0
YQ
210262014-10-11 Yao Qi <yao@codesourcery.com>
21027
21028 * gdb.server/server-kill.exp: Execute command
21029 "set remote trace-status-packet on" before "tstatus".
21030
f90183d7
YQ
210312014-10-11 Yao Qi <yao@codesourcery.com>
21032
21033 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21034 (main): Call getppid.
21035 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21036 and continue to it. Read variable "server_pid".
21037
bf40a607
YQ
210382014-10-11 Yao Qi <yao@codesourcery.com>
21039
21040 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21041
052ca370
YQ
210422014-10-11 Yao Qi <yao@codesourcery.com>
21043
21044 * gdb.threads/thread-find.exp: Don't execute command
21045 "info threads".
21046 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21047 * gdb.threads/linux-dp.exp: Don't check the condition
21048 $threads_created equals to zero.
21049
3831839c
PA
210502014-10-10 Pedro Alves <palves@redhat.com>
21051
21052 * gdb.base/bigcore.exp: Remove references to IRIX.
21053 * gdb.base/funcargs.exp: Likewise.
21054 * gdb.base/interrupt.exp: Likewise.
21055 * gdb.base/mips_pro.exp: Likewise.
21056 * gdb.base/nodebug.exp: Likewise.
21057 * gdb.base/setvar.exp: Likewise.
21058 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21059
8b9a549d
PA
210602014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21061 Pedro Alves <palves@redhat.com>
21062
21063 PR symtab/14466
21064 * gdb.base/vdso-warning.c: New file.
21065 * gdb.base/vdso-warning.exp: New file.
21066
d48ba5e8
DE
210672014-10-02 Doug Evans <dje@google.com>
21068
21069 * gdb.base/structs.c (main): Don't run forever.
21070
2278c276
PA
210712014-10-02 Pedro Alves <palves@redhat.com>
21072
21073 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21074 (top level) <stop threads 1, stop threads 2>: Use it.
21075
b57bacec
PA
210762014-10-02 Pedro Alves <palves@redhat.com>
21077
21078 * gdb.threads/break-while-running.exp (test): Add new
21079 'update_thread_list' argument. Skip "info threads" if false.
21080 (top level): Add new 'update_thread_list' axis.
21081
13fd3ff3
PA
210822014-10-02 Pedro Alves <palves@redhat.com>
21083
21084 PR breakpoints/17431
21085 * gdb.base/execl-update-breakpoints.c: New file.
21086 * gdb.base/execl-update-breakpoints.exp: New file.
21087
0fec99e8
PA
210882014-10-01 Pedro Alves <palves@redhat.com>
21089
21090 * gdb.base/breakpoint-in-ro-region.c: New file.
21091 * gdb.base/breakpoint-in-ro-region.exp: New file.
21092
2ddf4301
SM
210932014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21094
21095 * gdb.mi/mi-exit-code.exp: New file.
21096 * gdb.mi/mi-exit-code.c: New file.
21097
6a5f3f43
YQ
210982014-09-30 Yao Qi <yao@codesourcery.com>
21099
21100 * lib/prelink-support.exp (build_executable_own_libs): Error if
21101 the target isn't native.
21102
345bcc73
YQ
211032014-09-30 Yao Qi <yao@codesourcery.com>
21104
21105 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21106 false.
21107
a25a5a45
PA
211082014-09-22 Pedro Alves <palves@redhat.com>
21109
21110 * gdb.threads/break-while-running.exp: New file.
21111 * gdb.threads/break-while-running.c: New file.
21112
00ba3162
YQ
211132014-09-19 Yao Qi <yao@codesourcery.com>
21114
21115 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21116 Invoke test. Restart GDB with --readnow and invoke test again.
21117
c3b7b696
YQ
211182014-09-19 Yao Qi <yao@codesourcery.com>
21119
21120 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21121 proc set_breakpoint_on_gcd_function. Invoke
21122 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21123 invoke set_breakpoint_on_gcd_function again.
21124
2b4fd423
DE
211252014-09-18 Doug Evans <dje@google.com>
21126
21127 * gdb.dwarf2/symtab-producer.exp: New file.
21128
a5947601
SDJ
211292014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21130
21131 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21132 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21133 * gdb.base/global-var-nested-by-dso.c: Likewise.
21134 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21135
91c19059
SDJ
211362014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21137 Pedro Alves <palves@redhat.com>
21138
21139 * gdb.base/watch-bitfields.exp: Pass string other than test file
21140 name to prepare_for_testing.
21141 (watch): New procedure.
21142 (expect_watchpoint): Use with_test_prefix.
21143 (top level): Factor out tests to ...
21144 (test_watch_location, test_regular_watch): ... these new
21145 procedures, and use with_test_prefix and gdb_continue_to_end.
21146
bb9d5f81
PP
211472014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21148
21149 PR breakpoints/12526
21150 * gdb.base/watch-bitfields.exp: New file.
21151 * gdb.base/watch-bitfields.c: New file.
21152
635856f5
PA
211532014-09-16 Pedro Alves <palves@redhat.com>
21154
21155 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21156 software and hardware addresses, not software address against
21157 itself.
21158
7280ceea
PA
211592014-09-16 Pedro Alves <palves@redhat.com>
21160
21161 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21162 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21163
428b16bd
PA
211642014-09-16 Pedro Alves <palves@redhat.com>
21165
21166 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21167 files.
21168 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21169 "*-*-vxworks*" throughout.
21170 * gdb.base/break.exp: Likewise.
21171 * gdb.base/default.exp: Likewise.
21172 * gdb.base/scope.exp: Likewise.
21173 * gdb.base/sepdebug.exp: Likewise.
21174 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21175 throughout.
21176 * gdb.base/run.c: Likewise.
21177 * gdb.base/sepdebug.c: Likewise.
21178 * gdb.hp/gdb.aCC/run.c: Likewise.
21179 * gdb.reverse/until-reverse.c: Likewise.
21180 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21181
666d413c
YQ
211822014-09-16 Yao Qi <yao@codesourcery.com>
21183
21184 * boards/local-remote-host-native.exp: New file.
21185
57cbd724
DE
211862014-09-14 Doug Evans <xdje42@gmail.com>
21187
21188 * gdb.threads/queue-signal.c (thread_count): New variable.
21189 (thread_count_mutex, thread_count_condvar): New variables.
21190 (incr_thread_count, wait_all_threads_running): New functions.
21191 (main): Wait for all threads to be in their thread functions.
21192
81219e53
DE
211932014-09-13 Doug Evans <xdje42@gmail.com>
21194
21195 * gdb.threads/queue-signal.c: New file.
21196 * gdb.threads/queue-signal.exp: New file.
21197
3714cea7
DE
211982014-09-13 Doug Evans <xdje42@gmail.com>
21199
21200 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21201 be consistent with what default_gdb_init uses.
21202 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21203 the plain text of the prompt. Add some logging printfs.
21204 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21205
fa43b1d7
PA
212062014-09-12 Pedro Alves <palves@redhat.com>
21207
21208 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21209 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21210 * gdb.arch/i386-size-overlap.exp: Likewise.
21211 * gdb.arch/i386-size.exp: Likewise.
21212 * gdb.arch/i386-unwind.exp: Likewise.
21213 * gdb.base/a2-run.exp: Likewise.
21214 * gdb.base/break.exp: Likewise.
21215 * gdb.base/charset.exp: Likewise.
21216 * gdb.base/chng-syms.exp: Likewise.
21217 * gdb.base/commands.exp: Likewise.
21218 * gdb.base/dbx.exp: Likewise.
21219 * gdb.base/find.exp: Likewise.
21220 * gdb.base/funcargs.exp: Likewise.
21221 * gdb.base/jit-simple.exp: Likewise.
21222 * gdb.base/reread.exp: Likewise.
21223 * gdb.base/sepdebug.exp: Likewise.
21224 * gdb.base/step-bt.exp: Likewise.
21225 * gdb.cp/mb-inline.exp: Likewise.
21226 * gdb.cp/mb-templates.exp: Likewise.
21227 * gdb.objc/basicclass.exp: Likewise.
21228 * gdb.threads/killed.exp: Likewise.
21229
9d9bf2df
EBM
212302014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21231
21232 PR tdep/17379
21233 * gdb.arch/powerpc-stackless.S: New file.
21234 * gdb.arch/powerpc-stackless.exp: New file.
21235
1cf2f1b0
JK
212362014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21237
21238 * gdb.base/attach.c: Include unistd.h.
21239 (main): Call alarm. Add label postloop.
21240 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21241 gdb_breakpoint, gdb_continue_to_breakpoint.
21242 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21243
98880d46
PA
212442014-09-11 Pedro Alves <palves@redhat.com>
21245
21246 PR gdb/17347
21247 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21248 * gdb.base/attach.exp (test_command_line_attach_run): New
21249 procedure.
21250 (top level): Call it.
21251
4c92ff2c
PA
212522014-09-11 Pedro Alves <palves@redhat.com>
21253
21254 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21255 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21256 (do_command_attach_tests): Use spawn_wait_for_attach.
21257 * gdb.base/solib-overlap.exp: Likewise.
21258 * gdb.multi/multi-attach.exp: Likewise.
21259 * gdb.python/py-prompt.exp: Likewise.
21260 * gdb.python/py-sync-interp.exp: Likewise.
21261 * gdb.server/ext-attach.exp: Likewise.
21262
3adc1a7d
GKB
212632014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21264
21265 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21266 command in testcase. Simplify testcase.
21267
96334934
JB
212682014-09-10 Joel Brobecker <brobecker@adacore.com>
21269
21270 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21271
eb479039
JB
212722014-09-10 Joel Brobecker <brobecker@adacore.com>
21273
21274 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21275
deede10c
JB
212762014-09-10 Joel Brobecker <brobecker@adacore.com>
21277
21278 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21279
7828a5f5
JB
212802014-09-10 Joel Brobecker <brobecker@adacore.com>
21281
21282 * gdb.dwarf2/dynarr-ptr.c: New file.
21283 * gdb.dwarf2/dynarr-ptr.exp: New file.
21284
33aeebcf
MR
212852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21286
21287 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21288 of 30 rather than hardcoding 120 for a slow test case. Take the
21289 `gdb,timeout' target setting into account for this calculation.
21290 Don't extend the timeout for the test cases that don't need it.
21291
7b415901
MR
212922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21293
21294 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21295 a factor of 2 for a slow test case. Take the `gdb,timeout'
21296 target setting into account for this calculation.
21297 * gdb.reverse/until-precsave.exp: Increase the timeout by
21298 a factor of 15 and 3 respectively rather than adding 120
21299 for a pair of slow test cases. Take the `gdb,timeout'
21300 target setting into account for this calculation.
21301
4a40f85a
MR
213022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21303
21304 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21305 timeout, don't pass one down to gdb_expect.
21306 (gdb_expect): Rework timeout selection.
21307
09635af7
MR
213082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21309
21310 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21311 exception on timeout.
21312 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21313 (gdbserver_start_extended): Catch any `gdbserver_start' error
21314 exceptions.
21315 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21316 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21317 `gdbserver_gdb_load' error exceptions.
21318
2bdd10b7
MR
213192014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21320
21321 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21322 120 on waiting for the TCP socket to open.
21323
316935f0
DE
213242014-09-09 Doug Evans <xdje42@gmail.com>
21325
21326 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21327 _caller_matches, _any_caller_is, _any_caller_matches.
21328
83740597
DE
213292014-09-09 Doug Evans <xdje42@gmail.com>
21330
21331 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21332
4c122fc3
YQ
213332014-09-09 Yao Qi <yao@codesourcery.com>
21334
21335 * gdb.mi/mi-var-display.exp: Set print symbol off.
21336
a9f116cb
GKB
213372014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21338
21339 PR gdb/17035
21340 * gdb.base/commands.exp: Add tests to verify user-defined
21341 commands with empty bodies.
21342 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21343 python commands in `show user command`.
21344 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21345 scheme commands in `show user command`.
21346
c75bd3a2
JK
213472014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21348
21349 PR python/17355
21350 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21351 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21352 * gdb.python/py-framefilter-invalidarg.exp: New file.
21353 * gdb.python/py-framefilter-invalidarg.py: New file.
21354
faa42425
DE
213552014-09-06 Doug Evans <xdje42@gmail.com>
21356
21357 PR 15276
21358 * gdb.python/py-caller-is.c: New file.
21359 * gdb.python/py-caller-is.exp: New file.
21360
474ca4f6
SDJ
213612014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21362
21363 PR gdb/17235
21364 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21365 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21366
eb0b0463
SDJ
213672014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21368
21369 PR fortran/17237
21370 * gdb.fortran/print-formatted.exp: New file.
21371 * gdb.fortran/print-formatted.f90: Likewise.
21372
5f3b99cf
SS
213732014-09-03 Sasha Smundak <asmundak@google.com>
21374
21375 * gdb.python/py-frame.exp: Test Frame.read_register.
21376
7d793aa9
SDJ
213772014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21378
21379 PR python/16699
21380 * gdb.python/py-completion.exp: New file.
21381 * gdb.python/py-completion.py: Likewise.
21382
fb0576e9
DE
213832014-08-28 Doug Evans <dje@google.com>
21384
21385 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21386 eax,etc. are live with values set by gdb and thus the compiler can't
21387 use them.
21388 * gdb.arch/i386-pseudo.c (main): Ditto.
21389
ee92b0dd
DE
213902014-08-27 Doug Evans <dje@google.com>
21391
21392 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21393
6649db35
DE
213942014-08-25 Doug Evans <dje@google.com>
21395
21396 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21397 (main): Ditto.
21398
564b7600
DE
213992014-08-25 Doug Evans <dje@google.com>
21400
21401 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21402
3881fb67
YQ
214032014-08-24 Yao Qi <yao@codesourcery.com>
21404
21405 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21406 symbol off.
21407 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21408
a05a36a5
DE
214092014-08-22 Doug Evans <dje@google.com>
21410
21411 PR 17276
21412 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21413 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21414 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21415
7c343b48
YQ
214162014-08-22 Yao Qi <yao@codesourcery.com>
21417
21418 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21419 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21420 * gdb.python/python.exp: Likewise. Use .py file on the host
21421 instead of the build.
21422
22fd09ae
JK
214232014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21424
21425 * gdb.threads/gcore-stale-thread.c: New file.
21426 * gdb.threads/gcore-stale-thread.exp: New file.
21427
a8454a7c
PA
214282014-08-21 Pedro Alves <palves@redhat.com>
21429
21430 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21431 * gdb.base/gcore-relro-pie.exp: Likewise.
21432 * gdb.base/gcore-relro.exp: Likewise.
21433 * gdb.base/gcore.exp: Likewise.
21434 * gdb.base/print-symbol-loading.exp: Likewise.
21435 * gdb.threads/gcore-thread.exp: Likewise.
21436 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21437
2a31c623
PA
214382014-08-20 Pedro Alves <palves@redhat.com>
21439 Jan Kratochvil <jan.kratochvil@redhat.com>
21440
21441 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21442 configure.
21443 (EXPECT): Handle READ1 being set.
21444 (all): Depend on EXTRA_RULES.
21445 (check-read1, expect-read1, read1.so, read1): New rules.
21446 * README (Testsuite Parameters): Document the READ1 make variable.
21447 (Race detection): New section.
21448 * configure: Regenerate.
21449 * configure.ac: If build==host==target, and running under a
21450 GNU/glibc system, add read1 to the extra Makefile rules.
21451 (EXTRA_RULES): AC_SUBST it.
21452 * lib/read1.c: New file.
21453
d36430db
JB
214542014-08-20 Joel Brobecker <brobecker@adacore.com>
21455
21456 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21457 the handling of variables declared as a typedef to an array
21458 which a DW_AT_data_location attribute.
21459
9a0dc9e3
PA
214602014-08-19 Andrew Burgess <aburgess@broadcom.com>
21461 Pedro Alves <palves@redhat.com>
21462
21463 PR symtab/14604
21464 PR symtab/14605
21465 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21466 gdb_test.
21467
0718a8da
PA
214682014-08-19 Pedro Alves <palves@redhat.com>
21469
21470 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21471
13b448cd
YQ
214722014-08-19 Yao Qi <yao@codesourcery.com>
21473
21474 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21475 right line.
21476
1cbf5077
DB
214772014-08-18 David Blaikie <dblaikie@gmail.com>
21478
21479 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21480
bf0fae19
JB
214812014-08-18 Joel Brobecker <brobecker@adacore.com>
21482
21483 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21484 attribute in array range.
21485
3c8c5dcc
JB
214862014-08-18 Joel Brobecker <brobecker@adacore.com>
21487
21488 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21489
e66d4446
SC
214902014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21491
21492 PR c++/17132
21493 * gdb.cp/pr17132.cc: New file.
21494 * gdb.cp/pr17132.exp: New file.
21495
940df408
SC
214962014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21497
21498 * gdb.python/py-xmethods.py (A_getarrayind)
21499 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21500 Use 'print' with function call syntax.
21501 (E_method_matcher.match): Fix tab vs space indentation mixup.
21502
ebcc6c3a
YQ
215032014-08-15 Yao Qi <yao@codesourcery.com>
21504
21505 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21506 false.
21507
775e0f04
YQ
215082014-08-15 Yao Qi <yao@codesourcery.com>
21509
21510 * gdb.cp/casts.exp: Set print symbol off.
21511 * gdb.cp/class2.exp: Likewise.
21512 * gdb.cp/overload.exp: Likewise.
21513 * gdb.cp/templates.exp: Likewise.
21514
d769e349
DE
215152014-08-11 Doug Evans <dje@google.com>
21516
21517 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21518 (test_load_shlib): Update.
21519
20c6f1e1
YQ
215202014-08-09 Yao Qi <yao@codesourcery.com>
21521
21522 * gdb.base/display.exp: Invoke is_address_zero_readable.
21523 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21524 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21525 * gdb.base/hbreak-unmapped.exp: Return if
21526 is_address_zero_readable returns true.
21527 * gdb.base/signest.exp: Likewise.
21528 * gdb.base/signull.exp: Likewise.
21529 * gdb.base/sigbpt.exp: Likewise.
21530 * gdb.guile/scm-disasm.exp: Do the test if
21531 is_address_zero_readable returns false.
21532 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21533 * gdb.python/py-arch.exp: Likewise.
21534 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21535 * lib/gdb.exp (is_address_zero_readable): New proc.
21536
5792e8e3
YQ
215372014-08-09 Yao Qi <yao@codesourcery.com>
21538
21539 PR testsuite/13443
21540 * gdb.mi/mi-var-display.exp: Make test messages unique.
21541
3cecbbbe
TT
215422014-08-04 Tom Tromey <tromey@redhat.com>
21543
21544 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21545 target 0".
21546
00b51ff5
TT
215472014-08-04 Tom Tromey <tromey@redhat.com>
21548
21549 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21550 "target_resume".
21551
6908c509
JB
215522014-08-01 Joel Brobecker <brobecker@adacore.com>
21553
21554 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21555 inner_vla_struct_object_size.
21556 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21557 as xfail.
21558
cc6563d2
PA
215592014-07-30 Pedro Alves <palves@redhat.com>
21560
21561 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21562 comment.
21563
7e09a223
YQ
215642014-07-29 Yao Qi <yao@codesourcery.com>
21565
21566 PR gdb/17206
21567 * gdb.base/until-nodebug.exp: New.
21568
7ebdbe92
DE
215692014-07-28 Doug Evans <xdje42@gmail.com>
21570
21571 PR guile/17203
21572 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21573 previously existing parameter, and previously ambiguously spelled
21574 parameter.
21575
fdb1adc6
WN
215762014-07-28 Will Newton <will.newton@linaro.org>
21577
21578 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21579
186fcde0
DE
215802014-07-26 Ludovic Courtès <ludo@gnu.org>
21581 Doug Evans <xdje42@gmail.com>
21582
21583 PR guile/17146
21584 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21585
70509625
PA
215862014-07-25 Pedro Alves <palves@redhat.com>
21587
21588 * gdb.threads/signal-command-handle-nopass.c: New file.
21589 * gdb.threads/signal-command-handle-nopass.exp: New file.
21590 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21591 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21592 * gdb.threads/signal-delivered-right-thread.c: New file.
21593 * gdb.threads/signal-delivered-right-thread.exp: New file.
21594
c3f814a1
PA
215952014-07-25 Pedro Alves <palves@redhat.com>
21596
21597 * gdb.base/double-prompt-target-event-error.exp
21598 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21599 match.
21600 (cancel_pagination_in_target_event): Rework double prompt
21601 detection.
21602 * gdb.base/paginate-after-ctrl-c-running.exp
21603 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21604 <return>' match.
21605 * gdb.base/paginate-bg-execution.exp
21606 (test_bg_execution_pagination_return)
21607 (test_bg_execution_pagination_cancel): Remove '-notransfer
21608 <return>' matches.
21609 * gdb.base/paginate-execution-startup.exp
21610 (test_fg_execution_pagination_return)
21611 (test_fg_execution_pagination_cancel): Remove '-notransfer
21612 <return>' matches.
21613 * gdb.base/paginate-inferior-exit.exp
21614 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21615 match.
21616 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21617 * lib/gdb.exp (pagination_prompt): Run text through
21618 string_to_regexp.
21619 (gdb_test_multiple): Match $pagination_prompt instead of
21620 "<return>".
21621 (string_to_regexp): Move to lib/gdb-utils.exp.
21622
e214cf6c
JK
216232014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21624
21625 * gdb.arch/amd64-entry-value-paramref.S: New file.
21626 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21627 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21628 * gdb.arch/amd64-optimout-repeat.S: New file.
21629 * gdb.arch/amd64-optimout-repeat.c: New file.
21630 * gdb.arch/amd64-optimout-repeat.exp: New file.
21631
17d0c5c8
JK
216322014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21633
21634 PR gdb/17170
21635 * gdb.base/statistics.exp: New file.
21636
b8b8facf
DE
216372014-07-17 Doug Evans <dje@google.com>
21638
74b49205 21639 PR gdb/17170
b8b8facf
DE
21640 * gdb.base/maint.exp: Update testing of per-command stats.
21641
1b5d0ab3
PA
216422014-07-16 Pedro Alves <palves@redhat.com>
21643
21644 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21645 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21646 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21647 (tfile_write_buf): New functions.
21648 (add_memory_block): Rewrite using the above.
21649 (adjust_function_address): New function.
21650 (FUNCTION_ADDRESS): New macro.
21651 (write_basic_trace_file): Remove short_x local, and use
21652 tfile_write_16. Change type of func_addr local to unsigned long
21653 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21654 here. Cast argument of add_memory_block to char pointer.
21655 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21656 (main): Remove parameters.
21657 * gdb.trace/tfile.exp: Remove nowarnings.
21658
4d974e88
SM
216592014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21660
21661 * gdb.base/debug-expr.exp: Test string evaluation with
21662 "debug expression" on.
21663
41e99568
PA
216642014-07-15 Pedro Alves <palves@redhat.com>
21665
21666 * gdb.base/reread.exp: Use clean_restart.
21667
487d9753
PL
216682014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21669
21670 * gdb.arch/avr-flash-qualifer.c: New.
21671 * gdb.arch/avr-flash-qualifer.exp: New.
21672
cc1c52ad
PA
216732014-07-14 Pedro Alves <palves@redhat.com>
21674
21675 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21676 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21677
1e973570
PA
216782014-07-14 Pedro Alves <palves@redhat.com>
21679
21680 * gdb.base/double-prompt-target-event-error.c: New file.
21681 * gdb.base/double-prompt-target-event-error.exp: New file.
21682
93d6eb10
PA
216832014-07-14 Pedro Alves <palves@redhat.com>
21684
21685 PR gdb/17072
21686 * gdb.base/paginate-inferior-exit.c: New file.
21687 * gdb.base/paginate-inferior-exit.exp: New file.
21688
0017922d
PA
216892014-07-14 Pedro Alves <palves@redhat.com>
21690
21691 PR gdb/17072
21692 * gdb.base/paginate-bg-execution.c: New file.
21693 * gdb.base/paginate-bg-execution.exp: New file.
21694
94696ad3
PA
216952014-07-14 Pedro Alves <palves@redhat.com>
21696
21697 PR gdb/17072
21698 * gdb.base/paginate-execution-startup.c: New file.
21699 * gdb.base/paginate-execution-startup.exp: New file.
21700 * lib/gdb.exp (pagination_prompt): New global.
21701 (default_gdb_spawn): New procedure, factored out from
21702 default_gdb_spawn.
21703 (default_gdb_start): Adjust to call default_gdb_spawn.
21704 (gdb_spawn): New procedure.
21705
bd293940
PA
217062014-07-14 Pedro Alves <palves@redhat.com>
21707
21708 * lib/gdb.exp (gdb_assert): New procedure.
21709 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21710
c933f875
PA
217112014-07-14 Pedro Alves <palves@redhat.com>
21712
21713 * gdb.base/execution-termios.c: New file.
21714 * gdb.base/execution-termios.exp: New file.
21715
d98b7a16
TT
217162014-07-14 Tom Tromey <tromey@redhat.com>
21717
21718 * gdb.cp/vla-cxx.cc: New file.
21719 * gdb.cp/vla-cxx.exp: New file.
21720
548740d6
TT
217212014-07-14 Tom Tromey <tromey@redhat.com>
21722
21723 * gdb.reverse/rerun-prec.c: New file.
21724 * gdb.reverse/rerun-prec.exp: New file.
21725
a25eb028
MR
217262014-07-12 Maciej W. Rozycki <macro@mips.com>
21727 Maciej W. Rozycki <macro@codesourcery.com>
21728
21729 * lib/gdb-utils.exp: New file.
21730 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21731 inline `gdb_init_command' processing.
21732 (gdb_start_cmd): Likewise.
21733 * lib/mi-support.exp (mi_run_cmd): Likewise.
21734 * README: Document `gdb_init_command' and `gdb_init_commands'.
21735
218c2655
JK
217362014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21737
21738 Fix false FAIL running under a very long directory name.
21739 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21740 and "set print elements 10000". Twice.
21741
5401fde3
YQ
217422014-07-11 Yao Qi <yao@codesourcery.com>
21743
21744 * gdb.base/exprs.exp: "set print symbol off".
21745
e76126e8
PA
217462014-07-11 Pedro Alves <palves@redhat.com>
21747
21748 * gdb.threads/kill.c: New file.
21749 * gdb.threads/kill.exp: New file.
21750
2d6f0de6
YQ
217512014-07-10 Yao Qi <yao@codesourcery.com>
21752
21753 * gdb.trace/tfile.c (write_basic_trace_file)
21754 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21755 address written to trace file.
21756
7180e04a
PA
217572014-07-09 Pedro Alves <palves@redhat.com>
21758
21759 * gdb.base/attach-wait-input.exp: New file.
21760 * gdb.base/attach-wait-input.c: New file.
21761
9a9a7608
AB
217622014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21763
21764 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21765 setting up test structures.
21766 (main): Call new test function.
21767 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21768 test function, continue into test function and walk test
21769 structures.
21770
161ac41e
YQ
217712014-07-02 Yao Qi <yao@codesourcery.com>
21772
21773 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21774 'bar_start' at the beginning of functions 'foo' and 'bar'
21775 respectively.
21776 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21777 instead of 'foo' and 'bar'.
21778
1f267ae3
MM
217792014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21780
21781 * gdb.btrace/segv.exp: New.
21782 * gdb.btrace/segv.c: New.
21783
2b239efb
LM
217842014-07-02 Luis Machado <lgustavo@codesourcery.com>
21785
21786 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21787 instruction.
21788
cf363f18
MW
217892014-06-30 Mark Wielaard <mjw@redhat.com>
21790
21791 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21792 vulture, vilify, villar): New volatile array constants.
21793 (vindictive, vegetation): New const volatile array constants.
21794 * gdb.base/volatile.exp: Test volatile and const volatile array
21795 types.
21796
aebf9d24
AA
217972014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21798
21799 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21800 target lacks support for awatch, rwatch, or hbreak.
21801
b67a2c6f
YQ
218022014-06-27 Yao Qi <yao@codesourcery.com>
21803
21804 * gdb.multi/dummy-frame-restore.exp: New.
21805 * gdb.multi/dummy-frame-restore.c: New.
21806
aef92902
MM
218072014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21808
21809 * gdb.btrace/gcore.exp: New.
21810
8e9db26e
PA
218112014-06-23 Pedro Alves <palves@redhat.com>
21812
21813 * gdb.base/watchpoint-reuse-slot.c: New file.
21814 * gdb.base/watchpoint-reuse-slot.exp: New file.
21815
70afc5b7
SC
218162014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21817
21818 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21819 progspace's filename in 'info', 'enable' and 'disable' command
21820 tests.
21821
b972bd9c
JK
218222014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21823
21824 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21825 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21826 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21827
125f8a3d
GB
218282014-06-20 Gary Benson <gbenson@redhat.com>
21829
21830 * gdb.arch/i386-avx.exp: Fix include file location.
21831 * gdb.arch/i386-sse.exp: Likewise.
21832
3ed9baed
IB
218332014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21834
21835 * gdb.dlang/expression.exp: New file.
21836
034f788c
PA
218372014-06-19 Pedro Alves <palves@redhat.com>
21838
21839 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21840 out from ...
21841 (top level): ... here. Iterate running tests under different
21842 scheduler-locking settings.
21843
45371d0c
LM
218442014-06-18 Luis Machado <lgustavo@codesourcery.com>
21845
21846 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21847 to DW_FORM_addr and use non-zero addresses.
21848
5d376983
SC
218492014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21850
21851 PR gdb/17017
21852 * gdb.python/py-xmethods.cc: Add global function call counters and
21853 increment them in their respective functions. Remove "cout"
21854 statements.
21855 * gdb.python/py-xmethods.exp: Make tests check the global function
21856 call counters instead of depending on inferior IO.
21857
a1aa2221
LM
218582014-06-18 Don Breazeal <donb@codesourcery.com>
21859
21860 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21861 Deleted procedure.
21862 (explicit_fork_parent_follow): Deleted procedure.
21863 (explicit_fork_child_follow): Deleted procedure.
21864 (test_follow_fork): New procedure.
21865 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 21866 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
21867 procedure calls.
21868
0fc05997
YQ
218692014-06-17 Yao Qi <yao@codesourcery.com>
21870
21871 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21872 CP1252.
21873
70795c52
LM
218742014-06-17 Luis Machado <lgustavo@codesourcery.com>
21875
21876 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21877 Initialize ptr and S explicitly.
21878 (skip_type_update_when_not_use_rtti_test): Likewise.
21879
6be47f0c
KS
218802014-06-16 Keith Seitz <keiths@redhat.com>
21881
21882 PR mi/15863
21883 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21884 the inferior is started.
21885
d03de421
PA
218862014-06-16 Pedro Alves <palves@redhat.com>
21887
21888 * gdb.base/break-main-file-remove-fail.c: New file.
21889 * gdb.base/break-main-file-remove-fail.exp: New file.
21890 * gdb.base/break-unload-file.exp: Use build_executable instead of
21891 prepare_for_testing.
21892 (test_break): New parameter "initial_load". Handle it.
21893 (top level): Add initial_load cmdline/file axis.
21894
f9579b99
TT
218952014-06-12 Tom Tromey <tromey@redhat.com>
21896
21897 * gdb.base/completion.exp: Don't use directory name in test.
21898
3657956b
GB
218992014-06-09 Gary Benson <gbenson@redhat.com>
21900
21901 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21902 separate the always-available ANSI-standard signals from the
21903 signals that require checking.
21904 (main): Likewise.
21905 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21906 Likewise.
21907 (main): Likewise.
21908
4186eb54
KS
219092014-06-07 Keith Seitz <keiths@redhat.com>
21910
21911 Revert:
21912 PR c++/16253
21913 * gdb.cp/var-tag.cc: New file.
21914 * gdb.cp/var-tag.exp: New file.
21915 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21916 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21917 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21918 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21919
25326a28 219202014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
21921
21922 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21923
829155c9
PA
219242014-06-06 Pedro Alves <palves@redhat.com>
21925
21926 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21927 in target debug output instead of looking at RSP packets,
21928 disabling the test on any target that uses hardware stepping.
21929 Update comments.
21930
61c8d22e
PA
219312014-06-06 Pedro Alves <palves@redhat.com>
21932
21933 * gdb.base/break-unload-file.exp: Fix typo.
21934
d9a47287
YQ
219352014-06-06 Yao Qi <yao@codesourcery.com>
21936
21937 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21938 from "jit_function" to "^jit_function".
21939
e5e01dbf
YQ
219402014-06-06 Yao Qi <yao@codesourcery.com>
21941
21942 * gdb.base/async.c (foo): Add one statement.
21943 * gdb.base/async.exp: Get the next instruction address and
21944 match the output of "nexti" by instruction address. Match
21945 the hex address in the output of "finish".
21946
73ba372c
GB
219472014-06-06 Gary Benson <gbenson@redhat.com>
21948
21949 * gdb.base/call-signals.c: Remove preprocessor conditionals
21950 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21951 SIGSEGV and SIGTERM.
21952 * gdb.base/sigall.c: Likewise.
21953 * gdb.base/unwindonsignal.c: Likewise.
21954 * gdb.reverse/sigall-reverse.c: Likewise.
21955
831517df
YQ
219562014-06-06 Yao Qi <yao@codesourcery.com>
21957
21958 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21959 readable, skip the test.
21960
b8b91e98
YQ
219612014-06-06 Yao Qi <yao@codesourcery.com>
21962
21963 * gdb.threads/staticthreads.c (thread_function): Move the line
21964 setting breakpoint on forward.
21965 * gdb.threads/staticthreads.exp: Update comments.
21966
fb934770
LC
219672014-06-05 Ludovic Courtès <ludo@gnu.org>
21968
21969 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21970 "history-append! type error".
21971
6ef284bd
SM
219722014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21973
21974 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21975 erroneous dprintf expected input.
21976
a872e241
DE
219772014-06-04 Doug Evans <xdje42@gmail.com>
21978
21979 * gdb.guile/scm-generics.exp: Delete.
21980
16f691fb
DE
219812014-06-04 Doug Evans <xdje42@gmail.com>
21982
21983 * gdb.guile/scm-breakpoint.exp: Update.
21984 Add tests for breakpoint registration.
21985
012370f6
TT
219862014-06-04 Tom Tromey <tromey@redhat.com>
21987
21988 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21989 VLA-in-union.
21990 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21991 inner_vla_struct, vla_union types. Initialize objects of those
21992 types and compute their sizes.
21993
9f5a4cef
HZ
219942014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21995 Hui Zhu <hui@codesourcery.com>
21996
21997 * gdb.base/fileio.exp: Add test for shell not available as well as
21998 available.
21999 * gdb.base/fileio.c (test_system): Check for shell twice.
22000
90a45c4d
YQ
220012014-06-04 Yao Qi <yao@codesourcery.com>
22002
22003 * gdb.base/auto-connect-native-target.exp: Remove redundant
22004 space from the regexp pattern.
22005
70017e41
YQ
220062014-06-04 Yao Qi <yao@codesourcery.com>
22007
22008 * gdb.base/default.exp: Replace "child" with "native" in
22009 regexp pattern.
22010
883964a7
SC
220112014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22012
22013 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22014 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22015 * gdb.python/py-xmethods.py: Python script supporting the
22016 new testcase and tests.
22017
ef370185
JB
220182014-06-03 Joel Brobecker <brobecker@adacore.com>
22019 Pedro Alves <palves@redhat.com>
22020
22021 PR breakpoints/17000
22022 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22023 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22024
1e2ccb61
BM
220252014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22026
22027 * gdb.base/subst.exp: Add tests to verify partial path matching
22028 output.
22029
c6ec5ab2
PA
220302014-06-03 Pedro Alves <palves@redhat.com>
22031
22032 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22033 target that doesn't use software single-stepping.
22034
835c559f
PA
220352014-06-03 Pedro Alves <palves@redhat.com>
22036
22037 PR breakpoints/17000
22038 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22039 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22040
06eb1586
DE
220412014-06-02 Doug Evans <xdje42@gmail.com>
22042
22043 * gdb.guile/scm-parameter.exp: New file.
22044
e698b8c4
DE
220452014-06-02 Doug Evans <xdje42@gmail.com>
22046
22047 * gdb.guile/scm-cmd.c: New file.
22048 * gdb.guile/scm-cmd.exp: New file.
22049
ded03782
DE
220502014-06-02 Doug Evans <xdje42@gmail.com>
22051
22052 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22053 pretty-printer lookup.
22054 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22055 (make-pp_s-printer): Call it.
22056 (make-pretty-printer-from-dict): New function.
22057 (lookup-pretty-printer-maker-from-dict): New function.
22058 (*pretty-printer*): Simplify.
22059 (make-objfile-pp_s-printer): New function.
22060 (install-objfile-pretty-printers!): New function.
22061 (make-progspace-pp_s-printer): New function.
22062 (install-progspace-pretty-printers!): New function.
22063 * gdb.guile/scm-progspace.c: New file.
22064 * gdb.guile/scm-progspace.exp: New file.
22065
41fac0cf
PA
220662014-06-02 Pedro Alves <palves@redhat.com>
22067
22068 * gdb.base/dprintf-bp-same-addr.c: New file.
22069 * gdb.base/dprintf-bp-same-addr.exp: New file.
22070
96ae5695
EBM
220712014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22072
22073 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22074 * gdb.arch/powerpc-power.s: Likewise.
22075
da02b3a8
JB
220762014-06-02 Joel Brobecker <brobecker@adacore.com>
22077
22078 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22079
c72b2e7b
YQ
220802014-06-01 Yao Qi <yao@codesourcery.com>
22081
22082 * gdb.base/watchpoint.exp (test_watch_location): Check null
22083 pointer can be dereferenced. If not, do the test, otherwise
22084 skip it.
22085
53e8a631
AB
220862014-05-30 Andrew Burgess <aburgess@broadcom.com>
22087
22088 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22089 results.
22090 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22091
938f0e2f
AB
220922014-05-30 Andrew Burgess <aburgess@broadcom.com>
22093
22094 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22095 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22096 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22097 * gdb.arch/amd64-invalid-stack-top.c: New file.
22098 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22099
9ba6657a
PA
221002014-05-30 Pedro Alves <palves@redhat.com>
22101
22102 PR breakpoints/17000
22103 * gdb.base/sss-bp-on-user-bp.c: New file.
22104 * gdb.base/sss-bp-on-user-bp.exp: New file.
22105
522c09bf
DB
221062014-05-30 David Blaikie <dblaikie@gmail.com>
22107
22108 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22109 gnu_inline semantics via attribute.
22110 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22111 source explicitly specifies the required semantics.
22112
bf4ef81e
MR
221132014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22114
22115 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22116
329ea579
PA
221172014-05-29 Pedro Alves <palves@redhat.com>
22118 Tom Tromey <tromey@redhat.com>
22119
22120 * gdb.base/async-shell.exp: Don't enable target-async.
22121 * gdb.base/async.exp
22122 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22123 parameter. Adjust.
22124 (top level): Don't test with "target-async".
22125 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22126 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22127 * gdb.base/inferior-died.exp: Don't enable target-async.
22128 * gdb.base/interrupt-noterm.exp: Likewise.
22129 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22130 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22131 * gdb.mi/mi-nonstop.exp: Likewise.
22132 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22133 * gdb.mi/mi-nsintrall.exp: Likewise.
22134 * gdb.mi/mi-nsmoribund.exp: Likewise.
22135 * gdb.mi/mi-nsthrexec.exp: Likewise.
22136 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22137 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22138 * gdb.python/py-evsignal.exp: Don't enable target-async.
22139 * gdb.python/py-evthreads.exp: Likewise.
22140 * gdb.python/py-prompt.exp: Likewise.
22141 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22142 * gdb.server/solib-list.exp: Don't enable target-async.
22143 * gdb.threads/thread-specific-bp.exp: Likewise.
22144 * lib/mi-support.exp: Adjust to use mi-async.
22145
fd664c91
PA
221462014-05-29 Pedro Alves <palves@redhat.com>
22147
22148 PR gdb/13860
22149 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22150 reason, even in sync mode.
22151
251bde03
PA
221522014-05-29 Pedro Alves <palves@redhat.com>
22153 Hui Zhu <hui@codesourcery.com>
22154
22155 PR PR15693
22156 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22157 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22158 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22159 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22160
7f3c0343
JB
221612014-05-28 Joel Brobecker <brobecker@adacore.com>
22162
22163 * config/monitor.exp (gdb_target_monitor): Replace use of
22164 "set remotebaud" by "set serial baud".
22165
b2715b27
AW
221662014-05-26 Andy Wingo <wingo@igalia.com>
22167
22168 * gdb.guile/scm-breakpoint.exp:
22169 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22170 properties instead of gdb-object-properties.
22171
498a4489
YQ
221722014-05-26 Yao Qi <yao@codesourcery.com>
22173
22174 * gdb.server/no-thread-db.exp: Specify source file name
22175 explicitly when setting a breakpoint.
22176
589fdceb
MM
221772014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22178
22179 * gdb.btrace/vdso.c: New.
22180 * gdb.btrace/vdso.exp: New.
22181
e9089e05
MM
221822014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22183
22184 * gdb.base/gcore.exp (capture_command_output): Move ...
22185 * lib/gdb.exp (capture_command_output): ... here.
22186
67b5c0c1
MM
221872014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22188
22189 * gdb.btrace/data.exp: Test memory access during btrace replay.
22190
a2199296
SM
221912014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22192
22193 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22194
17b2616c
PA
221952014-05-21 Pedro Alves <palves@redhat.com>
22196
22197 PR gdb/13860
22198 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22199 (top level): Test that output related to execution commands is
22200 sent to the console with CLI commands, but not with MI commands.
22201 Test that breakpoint events are always mirrored to the console.
22202 Also expect the new source line to be output after a "next" in
22203 async mode too. Make it a pass/fail test.
22204 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22205 output.
22206 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22207
5166082f
PA
222082014-05-21 Pedro Alves <palves@redhat.com>
22209
22210 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22211 Use them to test variations of "list" after reaching a breakpoint.
22212 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22213 Test "list" with listsize 10 after reaching a breakpoint.
22214 * gdb.python/python.exp (decode_line current location line
22215 number): Adjust expected line number.
22216
2f25d70f
SM
222172014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22218
22219 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22220 behavior for $args, pass it directly to "run".
22221
ff604a67
MR
222222014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22223
22224 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22225 30000 to 65536.
22226
6a3cb8e8
PA
222272014-05-21 Pedro Alves <palves@redhat.com>
22228
22229 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22230 auto-connect-native-target off".
22231 * gdb.base/auto-connect-native-target.c: New file.
22232 * gdb.base/auto-connect-native-target.exp: New file.
22233
4ebfc96e
PA
222342014-05-21 Pedro Alves <palves@redhat.com>
22235
22236 * gdb.base/default.exp: Test "target native" instead of "target
22237 child".
22238
36d46afb
MW
222392014-05-21 Mark Wielaard <mjw@redhat.com>
22240
22241 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22242
5876f503
JK
222432014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22244
22245 Fix TLS access for -static -pthread.
22246 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22247 <HAVE_TLS> (thread_function, main): Initialize it.
22248 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22249 Add clean_restart.
22250 <$have_tls != "">: Check TLSVAR.
22251
0256a6ac
PA
222522014-05-21 Pedro Alves <palves@redhat.com>
22253
22254 * gdb.base/dcache-line-read-error.c: New.
22255 * gdb.base/dcache-line-read-error.exp: New.
22256
936d2992
PA
222572014-05-20 Pedro Alves <palves@redhat.com>
22258
22259 * gdb.base/compare-sections.c: New file.
22260 * gdb.base/compare-sections.exp: New file.
22261
802e8e6d
PA
222622014-05-20 Pedro Alves <palves@redhat.com>
22263
22264 * gdb.base/break-idempotent.c: New file.
22265 * gdb.base/break-idempotent.exp: New file.
22266
e59fa00f
MM
222672014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22268
22269 * gdb.btrace/nohist.exp: New.
22270
8b696e31
YQ
222712014-05-20 Yao Qi <yao@codesourcery.com>
22272
22273 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22274 gdb.reverse directory and gdb_reverse_timeout exists in board
22275 setting.
22276 * README: Document gdb_reverse_timeout.
22277
73c9764f
YQ
222782014-05-20 Yao Qi <yao@codesourcery.com>
22279
22280 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22281 'test_file_name'. Treat args as a string instead of a list.
22282 (gdb_init): Rename argument 'args' by 'test_file_name'.
22283
f1f4348a
JK
222842014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22285
22286 * gdb.arch/powerpc-power.exp: New file.
22287 * gdb.arch/powerpc-power.s: New file.
22288
0dbe70ce
DE
222892014-05-16 Doug Evans <dje@google.com>
22290
22291 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
22292 * gdb.base/completion.exp: Check that all expected files exist
22293 before doing file completion.
0dbe70ce 22294
8d551b02
DE
222952014-05-16 Doug Evans <dje@google.com>
22296
22297 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22298 Update.
22299 (do_syscall_tests_without_xml): Update.
22300
73eb7709
PA
223012014-05-16 Pedro Alves <palves@redhat.com>
22302
22303 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22304 instead of "unknown output after running".
22305
3fae92fc
YQ
223062014-05-16 Yao Qi <yao@codesourcery.com>
22307
22308 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22309 file1.txt from host at the end.
22310 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22311
c2b2ccc5
DE
223122014-05-15 Doug Evans <dje@google.com>
22313
22314 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22315 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22316 loading file. Add test for TU lookup.
22317
8c217a4b
SM
223182014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22319
22320 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22321 calling "-exec-arguments" or "set args" before running the
22322 inferior.
22323
3deb39c6
SM
223242014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22325
22326 * lib/mi-support.exp (mi_expect_stop): Expect message for
22327 inferiors that exit with non-zero exit code.
22328
71a79f8c
YQ
223292014-05-14 Yao Qi <yao@codesourcery.com>
22330
22331 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22332 match absolute path on remote host.
22333 (test_file_list_exec_source_files): Remove "/" from the
22334 pattern.
22335
f23fcd46
YQ
223362014-05-14 Yao Qi <yao@codesourcery.com>
22337
22338 * boards/local-remote-host-notty.exp (${board}_file): New
22339 proc.
22340
9404b58f
KM
223412014-05-07 Kyle McMartin <kyle@redhat.com>
22342
22343 Pushed by Joel Brobecker <brobecker@adacore.com>.
22344 * gdb.arch/aarch64-atomic-inst.c: New file.
22345 * gdb.arch/aarch64-atomic-inst.exp: New file.
22346
5e45f04c
YQ
223472014-05-07 Yao Qi <yao@codesourcery.com>
22348
22349 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22350 in current context" too.
22351
c888a17d
KS
223522014-05-05 Keith Seitz <keiths@redhat.com>
22353
22354 * gdb.linespec/ls-dollar.exp: Add test for linespec
22355 file:convenience_variable.
22356
290a839c
YQ
223572014-05-05 Yao Qi <yao@codesourcery.com>
22358
22359 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22360 traceframes into tfile and ctf trace files. Read data from
22361 trace file and test collected data.
22362 (gdb_collect_locals_test): Likewise.
22363 (gdb_unavailable_registers_test): Likewise.
22364 (gdb_unavailable_floats): Likewise.
22365 (gdb_collect_globals_test): Likewise.
22366 (top-level): Append "ctf" to trace_file_targets if GDB
22367 supports.
22368
b5262cd0
YQ
223692014-05-05 Yao Qi <yao@codesourcery.com>
22370
22371 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22372 code to ...
22373 (gdb_collect_args_test_1): ... it. New proc.
22374 (gdb_collect_locals_test): Move some code to ...
22375 (gdb_collect_locals_test_1): ... it. New proc.
22376 (gdb_unavailable_registers_test): Move some code to ...
22377 (gdb_unavailable_registers_test_1): ... it. New proc.
22378 (gdb_unavailable_floats): Move some code to ...
22379 (gdb_unavailable_floats_1): ... it. New proc.
22380
30a1e6cc
SDJ
223812014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22382
22383 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22384 probes to test for bitness recognition.
22385 * gdb.arch/amd64-stap-optional-prefix.exp
22386 (test_probe_value_without_reg): New procedure.
22387 Add code to test for different kinds of bitness.
22388
f33da99a
SDJ
223892014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22390
22391 PR breakpoints/16889
22392 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22393 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22394
5b80f00d
PA
223952014-05-01 Pedro Alves <palves@redhat.com>
22396
22397 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22398 gdb_file_cmd if no file is specified.
22399 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22400 last_loaded_file to set the remote exec-file.
22401
f8c2a73c
PA
224022014-05-01 Pedro Alves <palves@redhat.com>
22403
22404 * boards/local-remote-host.exp: New file.
22405
be6e8ac7
PA
224062014-05-01 Pedro Alves <palves@redhat.com>
22407
22408 * boards/local-remote-host.exp: Rename to ...
22409 * boards/local-remote-host-notty.exp: ... this.
22410
cac0dc8f
JB
224112014-04-28 Joel Brobecker <brobecker@adacore.com>
22412
22413 * gdb.ada/dyn_arrayidx: New testcase.
22414
9730e6cc
YQ
224152014-04-26 Yao Qi <yao@codesourcery.com>
22416
22417 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22418 and compute the length of function main. Save it in
22419 $main_length.
22420 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22421 (top-level): Use gdb_compile to compile objects into
22422 executable and restart GDB. Remove invocation to
22423 prepare_for_testing.
22424
7ae1a6a6
PA
224252014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22426 Pedro Alves <palves@redhat.com>
22427
22428 PR server/16255
22429 * gdb.multi/multi-attach.c: New file.
22430 * gdb.multi/multi-attach.exp: New file.
22431
4082afcc
PA
224322014-04-25 Pedro Alves <palves@redhat.com>
22433
22434 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22435 user.
22436 (top level): Test that "set remote conditional-breakpoints-packet
22437 off" works as intended.
22438 * gdb.base/dprintf.exp: Test that "set remote
22439 breakpoint-commands-packet off" works as intended.
22440 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22441 New function.
22442 (top level): Call it.
22443 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22444 remote fast-tracepoints-packet off" works as intended.
22445 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22446 * lib/gdb.exp (gdb_is_target_remote): ... here.
22447
2abc3f8d
DB
224482014-04-24 David Blaikie <dblaikie@gmail.com>
22449
22450 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22451 ensure clang would not discard them.
22452 * gdb.base/gdbvars.c: Ditto.
22453 * gdb.base/memattr.c: Ditto.
22454 * gdb.base/whatis.c: Ditto.
22455 * gdb.python/py-prettyprint.c: Ditto.
22456 * gdb.trace/actions.c: Ditto.
22457 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22458 ensure clang would not discard it.
22459
bfd39632
DB
224602014-04-24 David Blaikie <dblaikie@gmail.com>
22461
22462 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22463 clang to emit the full definition of type required by the test
22464 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22465
22842ff6
DB
224662014-04-24 David Blaikie <dblaikie@gmail.com>
22467
22468 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22469 coax Clang into emitting the definition of the type.
22470 * gdb.cp/pr10728-x.h (y): Ditto.
22471 * gdb.cp/pr10728-y.cc (y): Ditto.
22472
c2e827ad
DB
224732014-04-24 David Blaikie <dblaikie@gmail.com>
22474
22475 * gdb.base/label.exp: XFAIL label related tests under Clang.
22476 * gdb.cp/cplabel.exp: Ditto.
22477 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22478 under Clang those using labels.
22479
4c2d33e7
YQ
224802014-04-25 Yao Qi <yao@codesourcery.com>
22481
22482 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22483 double_label.
22484 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22485 partial_label and double_label.
22486
56083b99
DB
224872014-04-24 David Blaikie <dblaikie@gmail.com>
22488
22489 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22490
25d4e99d
DB
224912014-04-24 David Blaikie <dblaikie@gmail.com>
22492
22493 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22494 of the function to work across GCC and Clang.
22495 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22496 pointer types (const void ** const V void **).
22497
01f9f808
MS
224982014-04-24 Michael Sturm <michael.sturm@mintel.com>
22499 Walfred Tedeschi <walfred.tedeschi@intel.com>
22500
22501 * Makefile.in (EXECUTABLES): Added i386-avx512.
22502 * gdb.arch/i386-avx512.c: New file.
22503 * gdb.arch/i386-avx512.exp: Likewise.
22504
4b48d439
KS
225052014-04-23 Keith Seitz <keiths@redhat.com>
22506
22507 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22508 (mi_make_breakpoint_table): New procedure.
22509 (mi_create_breakpoint): Use mi_make_breakpoint
22510 and return the result.
22511 (mi_make_breakpoint): New procedure.
22512 (mi_build_kv_pairs): New procedure.
22513
22514 * gdb.mi/mi-break.exp: Remove unused globals,
22515 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22516 All callers updated.
22517 * gdb.mi/mi-dprintf.exp: Use variable to track command
22518 number.
22519 Update all callers of mi_create_breakpoint and use
22520 mi_make_breakpoint_table.
22521 Remove any unused global variables.
22522 * gdb.mi/mi-nonstop.exp: Likewise.
22523 * gdb.mi/mi-nsintrall.exp: Likewise.
22524 * gdb.mi/mi-nsmoribund.exp: Likewise.
22525 * gdb.mi/mi-nsthrexec.exp: Likewise.
22526 * gdb.mi/mi-reverse.exp: Likewise.
22527 * gdb.mi/mi-simplerun.exp: Likewise.
22528 * gdb.mi/mi-stepn.exp: Likewise.
22529 * gdb.mi/mi-syn-frame.exp: Likewise.
22530 * gdb.mi/mi-until.exp: Likewise.
22531 * gdb.mi/mi-var-cp.exp: Likewise.
22532 * gdb.mi/mi-var-display.exp: Likewise.
22533 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22534 * gdb.mi/mi2-var-child.exp: Likewise.
22535 * gdb.mi/mi-vla-c99.exp: Likewise.
22536 * lib/mi-support.exp: Likewise.
22537
22538 From Ian Lance Taylor <iant@cygnus.com>:
22539 * lib/gdb.exp (parse_args): New procedure.
22540
08351840
PA
225412014-04-23 Pedro Alves <palves@redhat.com>
22542
22543 * gdb.base/break-unload-file.c: New file.
22544 * gdb.base/break-unload-file.exp: New file.
22545 * gdb.base/sym-file-lib.c (baz): New function.
22546 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22547 field.
22548 (load): Store the segment's mapped size.
22549 (unload): New function.
22550 (unload_shlib): New function.
22551 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22552 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22553 set a breakpoint at baz, and call it.
22554 * gdb.base/sym-file.exp: New tests for stale breakpoint
22555 instructions.
22556
076855f9
PA
225572014-04-23 Pedro Alves <palves@redhat.com>
22558
22559 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22560 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22561 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22562 * gdb.base/hbreak-unmapped.c: New file.
22563 * gdb.base/hbreak-unmapped.exp: New file.
22564 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22565 * lib/gdb.exp (gdb_is_target_remote): ... here.
22566
483805cf
PA
225672014-04-22 Pedro Alves <palves@redhat.com>
22568
22569 * gdb.base/consecutive-step-over.c: New file.
22570 * gdb.base/consecutive-step-over.exp: New file.
22571
06d97543
PA
225722014-04-22 Pedro Alves <palves@redhat.com>
22573
22574 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22575 instead of send_gdb/gdb_expect.
22576
b4429ea2
YQ
225772014-04-22 Yao Qi <yao@codesourcery.com>
22578
22579 * lib/trace-support.exp (generate_tracefile): New procedure.
22580 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22581 return 0.
22582 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22583 if generate_tracefile returns 1.
22584
51d48146
PA
225852014-04-18 Tom Tromey <palves@redhat.com>
22586 Pedro alves <tromey@redhat.com>
22587
22588 PR backtrace/15558
22589 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22590 with a backtrace limit.
22591 * gdb.python/py-frame-inline.exp: Test running to an inline
22592 function with a backtrace limit, and printing the newest frame.
22593 * gdb.python/py-frame-inline.c (main): Call f.
22594
bd1dce5f
MS
225952014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22596
22597 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22598
40d1a503
MS
225992014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22600
22601 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22602 Drop prefix from unsupported source file path.
22603
389b98f7
YQ
226042014-04-17 Yao Qi <yao@codesourcery.com>
22605
22606 * lib/gdb.exp (with_target_charset): New proc.
22607 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22608 with_target_charset.
22609 (test_print_strings): Likewise.
22610 (test_repeat_bytes): Likewise.
22611 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22612 for some tests.
22613
22869d73
KS
226142014-04-16 Keith Seitz <keiths@redhat.com>
22615
22616 PR gdb/15827
22617 * gdb.dwarf2/corrupt.c: New file.
22618 * gdb.dwarf2/corrupt.exp: New file.
22619
c4f87ca6
KS
226202014-04-16 Keith Seitz <keiths@redhat.com>
22621
22622 PR c++/16597
22623 * gdb.cp/namelessclass.cc: New file.
22624 * gdb.cp/namelessclass.exp: New file.
22625 * gdb.cp/namelessclass.S: New file.
22626
ab19de87
DE
226272014-04-16 Doug Evans <dje@google.com>
22628
22629 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22630 Add comment.
22631 (gdbserver_default_get_comm_port): New function.
22632 (gdbserver_start): Check if board file provided
22633 "gdbserver,get_comm_port" and use it if so.
22634 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22635 (gdb,socketport): Set to "stdio".
22636 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22637 (stdio_gdbserver_template): Delete.
22638 (${board}_get_remote_address): Update.
22639 (${board}_build_remote_cmd): Delete.
22640 (${board}_get_comm_port): New function.
22641 (${board}_spawn): Update.
22642 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22643 Delete.
22644 (${board}_get_remote_address): Update.
22645 (${board}_get_comm_port): New function.
22646
fc98a809
AB
226472014-04-16 Andrew Burgess <aburgess@broadcom.com>
22648
22649 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22650 appearing in any order.
22651
87fd9e6e
DE
226522014-04-15 Doug Evans <dje@google.com>
22653
22654 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22655 uninitialized value of "description".
22656
099fc3ea
KS
226572014-04-15 Keith Seitz <keiths@redhat.com>
22658
22659 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22660 Remove unused globals.
22661 (test_running_the_program): Likewise.
22662 (test_controlled_execution): Likewise.
22663 (test_controlling_breakpoints): Likewise.
22664 (test_program_termination): Likewise.
22665
5da151d4
KS
226662014-04-15 Keith Seitz <keiths@redhat.com>
22667
22668 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22669 unused globals.
22670 (test_rbreak_creation_and_listing): Likewise.
22671 (test_ignore_count): Likewise.
22672 (test_error): Likewise.
22673
35e5d2f0
PA
226742014-04-15 Pedro Alves <palves@redhat.com>
22675
22676 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22677 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22678 sym-file-loader.c.
22679 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22680 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22681 to sym-file-loader.c.
22682 (struct library): Forward declare.
22683 (load_shlib, lookup_function): Change prototypes.
22684 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22685 (translate_offset): Remove declarations.
22686 (get_text_addr): New declaration.
22687 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22688 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22689 sym-file-loader.h.
22690 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22691 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22692 here from sym-file-loader.h.
22693 (struct library): New structure.
22694 (load_shlib, lookup_function): Change prototypes and adjust to
22695 work with a struct library.
22696 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22697 (translate_offset): Make static.
22698 (get_text_addr): New function.
22699 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22700
eb4c1710
PA
227012014-04-15 Pedro Alves <palves@redhat.com>
22702
22703 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22704
2d1baf52
PA
227052014-04-15 Pedro Alves <palves@redhat.com>
22706
22707 * gdb.base/sym-file-loader.c: Include <limits.h>.
22708 (SELF_LINK): New define.
22709 (get_origin): New function.
22710 (load_shlib): Use it.
22711 * gdb.base/sym-file.exp: Don't early return if the target is
22712 remote. Use runto_main, and issue fail is that fails. Use
22713 gdb_load_shlibs.
22714 (shlib_name): Delete.
22715 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22716
7dd6df01
PA
227172014-04-15 Pedro Alves <palves@redhat.com>
22718
22719 * gdb.base/sym-file.exp: Remove regex characters from test
22720 message. Don't refer to breakpoint numbers in test messages.
22721
b50c8614
KS
227222014-04-14 Keith Seitz <keiths@redhat.com>
22723
22724 PR c++/16253
22725 * gdb.cp/var-tag.cc: New file.
22726 * gdb.cp/var-tag.exp: New file.
22727 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22728 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22729 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22730 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22731
3d567982
TT
227322014-04-14 Tom Tromey <tromey@redhat.com>
22733
22734 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22735 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22736 type.
22737 * gdb.cp/enum-class.exp: New file.
22738 * gdb.cp/enum-class.cc: New file.
22739
0626fc76
TT
227402014-04-14 Tom Tromey <tromey@redhat.com>
22741
22742 * gdb.dwarf2/enum-type.exp: New file.
22743
dca325b3
SA
227442014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22745
22746 * gdb.mi/mi-vla-c99.exp: New file.
22747 * gdb.mi/vla.c: New file.
22748
5854b38a
SA
227492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22750
22751 * gdb.base/vla-datatypes.c: New file.
22752 * gdb.base/vla-datatypes.exp: New file.
22753
463bb957
SA
227542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22755
22756 * gdb.base/vla-ptr.c: New file.
22757 * gdb.base/vla-ptr.exp: New file.
22758
3dd170be
SA
227592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22760
22761 * gdb.dwarf2/count.exp: New file.
22762
5ecaaa66
SA
227632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22764
22765 * gdb.base/vla-sideeffect.c: New file.
22766 * gdb.base/vla-sideeffect.exp: New file.
22767
41f1ada5
DB
227682014-04-14 David Blaikie <dblaikie@gmail.com>
22769
22770 * gdb.mi/non-stop.c: Add return value for non-void function return
22771 statement.
22772 * gdb.threads/staticthreads.c: Ditto.
22773
0be03e84
DE
227742014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22775 Doug Evans <xdje42@gmail.com>
22776
22777 * gdb.guile/scm-value.c: Improve test case.
22778 * gdb.guile/scm-value.exp: Add new test.
22779
f180a1fb
DB
227802014-04-11 David Blaikie <dblaikie@gmail.com>
22781
22782 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22783 override Clang's default.
22784
6b662e19
JB
227852014-04-11 Joel Brobecker <brobecker@adacore.com>
22786
22787 Revert the following changes (regressions):
22788
22789 * gdb.base/vla-sideeffect.c: New file.
22790 * gdb.base/vla-sideeffect.exp: New file.
22791
22792 * gdb.dwarf2/count.exp: New file.
22793
22794 * gdb.base/vla-multi.c: New file.
22795 * gdb.base/vla-multi.exp: New file.
22796
22797 * gdb.base/vla-ptr.c: New file.
22798 * gdb.base/vla-ptr.exp: New file.
22799
22800 * gdb.base/vla-datatypes.c: New file.
22801 * gdb.base/vla-datatypes.exp: New file.
22802
22803 * gdb.mi/mi-vla-c99.exp: New file.
22804 * gdb.mi/vla.c: New file.
22805
245a5f0b
KS
228062014-04-11 Keith Seitz <keiths@redhat.com>
22807
22808 PR c++/16675
22809 * gdb.cp/cpsizeof.exp: New file.
22810 * gdb.cp/cpsizeof.cc: New file.
22811
58a84dcf
SA
228122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22813
191a8a90
JB
22814 * gdb.mi/mi-vla-c99.exp: New file.
22815 * gdb.mi/vla.c: New file.
58a84dcf 22816
c8655f75
SA
228172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22818
22819 * gdb.base/vla-datatypes.c: New file.
22820 * gdb.base/vla-datatypes.exp: New file.
22821
024e13b4
SA
228222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22823
22824 * gdb.base/vla-ptr.c: New file.
22825 * gdb.base/vla-ptr.exp: New file.
22826
1a237e0e
SA
228272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22828
22829 * gdb.base/vla-multi.c: New file.
22830 * gdb.base/vla-multi.exp: New file.
22831
504f3432
SA
228322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22833
22834 * gdb.dwarf2/count.exp: New file.
22835
3bce8237
SA
228362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22837
191a8a90
JB
22838 * gdb.base/vla-sideeffect.c: New file.
22839 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 22840
322f9c21
YQ
228412014-04-11 Yao Qi <yao@codesourcery.com>
22842
22843 * gdb.base/completion.exp: Check file exists before running tests
22844 on file completion.
22845
d708bcd1
PA
228462014-04-10 Pedro Alves <palves@redhat.com>
22847
22848 * gdb.base/cond-eval-mode.c: New file.
22849 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22850 prepare_for_testing to build the new file. Check result of
22851 runto_main.
22852 (test_break, test_watch): New procedures.
22853 (top level): Use them.
22854
ae1d2761
PM
228552014-04-08 Pierre Muller <muller@sourceware.org>
22856
22857 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22858 Ctrl-V use for mingw hosts.
22859
7af389b8
SC
228602014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22861
22862 * gdb.python/py-value.c: Improve test case.
22863 * gdb.python/py-value.exp: Add new test.
22864
5e703181
DE
228652014-04-07 David Blaikie <dblaikie@gmail.com>
22866
22867 * lib/compiler.c: Identify the clang compiler.
22868 * lib/compiler.cc: Ditto.
22869
9810b410
YQ
228702014-04-03 Yao Qi <yao@codesourcery.com>
22871
22872 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22873
98d1b8dc
AB
228742014-04-01 Anton Blanchard <anton@samba.org>
22875
22876 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22877 messages unique.
22878
3114cea1
AB
228792014-04-01 Anton Blanchard <anton@samba.org>
22880
22881 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22882 prepare_for_testing.
22883
62f7182c
AB
228842014-04-01 Anton Blanchard <anton@samba.org>
22885
22886 * gdb.arch/ppc64-atomic-inst.c: Remove.
22887 * gdb.arch/ppc64-atomic-inst.S: New file.
22888 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22889
770e7fc7
DE
228902014-03-31 Doug Evans <dje@google.com>
22891
22892 * gdb.base/print-symbol-loading-lib.c: New file.
22893 * gdb.base/print-symbol-loading-main.c: New file.
22894 * gdb.base/print-symbol-loading.exp: New file.
22895
46e2bafa
YQ
228962014-03-31 Yao Qi <yao@codesourcery.com>
22897
22898 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22899
8776cfe9
JB
229002014-03-28 Joel Brobecker <brobecker@adacore.com>
22901
22902 * gdb.ada/mi_dyn_arr: New testcase.
22903
5d1ef361
DE
229042014-03-27 Doug Evans <dje@google.com>
22905
22906 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22907
b5bee914
YQ
229082014-03-27 Yao Qi <yao@codesourcery.com>
22909
22910 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22911 if target is nios2-*-*.
22912
0d4d0e77
YQ
229132014-03-26 Yao Qi <yao@codesourcery.com>
22914
22915 * lib/gdb.exp (readline_is_used): New proc.
22916 * gdb.base/completion.exp: Move tests on command complete up.
22917 Skip the rest of tests if readline is not used.
22918 * gdb.ada/complete.exp: Skp the test if readline is not
22919 used.
22920 * gdb.base/filesym.exp: Likewise.
22921 * gdb.base/macscp.exp: Likewise.
22922 * gdb.base/readline-ask.exp: Likewise.
22923 * gdb.base/readline.exp: Likewise.
22924 * gdb.python/py-cmd.exp: Likewise.
22925 * gdb.trace/tfile.exp: Likewise.
22926
29361eee
YQ
229272014-03-26 Yao Qi <yao@codesourcery.com>
22928
22929 * gdb.base/macscp.exp: Fix code format issues.
22930
bc9a5525
UW
229312014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22932
22933 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22934 * gdb.asm/powerpc64le.inc: New file.
22935
d3839ede
PA
229362014-03-25 Pedro Alves <palves@redhat.com>
22937 Doug Evans <dje@google.com>
22938
22939 * gdb.base/source-execution.c: New file.
22940 * gdb.base/source-execution.exp: New file.
22941 * gdb.base/source-execution.gdb: New file.
22942
01672a57
DE
229432014-03-24 Doug Evans <dje@google.com>
22944
22945 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22946 using fission.
22947
88bbeca9
HZ
229482014-03-24 Hui Zhu <hui@codesourcery.com>
22949 Pedro Alves <palves@redhat.com>
22950
22951 PR breakpoints/16101
22952 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22953 test pass/fail messages. Detect missing support for dprintf when
22954 breakpoints are actually inserted.
22955 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22956 breakpoints are actually inserted.
22957 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22958 fails.
22959
d2348791
JK
229602014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22961
22962 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22963
feef67ab
DE
229642014-03-22 Doug Evans <xdje42@gmail.com>
22965
22966 * gdb.python/python.exp (python not supported): Verify multi-line
22967 python command issues an error.
25d743f9 22968 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 22969 guile command issues an error.
feef67ab 22970
ecebef6a
MR
229712014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22972
22973 * gdb.threads/thread-specific.exp: Handle the lack of usable
22974 $this_breakpoint and $this_thread.
22975
ccdd1909
HZ
229762014-03-21 Hui Zhu <hui@codesourcery.com>
22977
22978 * gdb.base/attach.exp (do_command_attach_tests): New.
22979
beb460e8
PA
229802014-03-20 Tom Tromey <tromey@redhat.com>
22981 Pedro Alves <palves@redhat.com>
22982
22983 PR cli/15718
22984 * gdb.base/condbreak-call-false.c: New file.
22985 * gdb.base/condbreak-call-false.exp: New file.
22986
40acf43a
PA
229872014-03-20 Pedro Alves <palves@redhat.com>
22988
22989 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22990 Delete.
22991 (block_signals, unblock_signals): Delete.
22992 (child_function_2, main): Remove references to deleted variable
22993 and functions.
22994
9f5e1e02
PA
229952014-03-20 Pedro Alves <palves@redhat.com>
22996
22997 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22998 Use pthread_kill to signal thread 2.
22999 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23000 Adjust to make the test send itself a signal rather than using the
23001 host's "kill" command.
23002
99619bea
PA
230032014-03-20 Pedro Alves <palves@redhat.com>
23004
23005 * gdb.threads/multiple-step-overs.c: New file.
23006 * gdb.threads/multiple-step-overs.exp: New file.
23007 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23008 Adjust expected infrun debug output.
23009
2adfaa28
PA
230102014-03-20 Pedro Alves <palves@redhat.com>
23011
23012 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23013 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23014
31e77af2
PA
230152014-03-20 Pedro Alves <palves@redhat.com>
23016
23017 PR breakpoints/7143
23018 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23019 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23020 of gdb_test_multiple.
23021 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23022 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23023
b9f437de
PA
230242014-03-20 Pedro Alves <palves@redhat.com>
23025
23026 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23027 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23028
05adc73e
PA
230292014-03-19 Pedro Alves <palves@redhat.com>
23030
23031 * gdb.base/async.exp: Remove early return.
23032
6048b950
PA
230332014-03-19 Pedro Alves <palves@redhat.com>
23034
23035 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23036
8bcfb00a
PA
230372014-03-19 Pedro Alves <palves@redhat.com>
23038
23039 * gdb.base/async.exp (test_background): Expect \r\n after
23040 "completed." in the fail pattern.
23041
884e37dc
PA
230422014-03-19 Pedro Alves <palves@redhat.com>
23043
23044 * gdb.base/async.exp (test_background): New procedure.
23045 Use it for all background execution command tests.
23046
148e57e2
PA
230472014-03-19 Pedro Alves <palves@redhat.com>
23048
23049 * gdb.base/async.exp: Use prepare_for_testing.
23050
f48088c7
PA
230512014-03-19 Pedro Alves <palves@redhat.com>
23052
23053 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23054 the same line.
23055
e2f6c966
PA
230562014-03-19 Pedro Alves <palves@redhat.com>
23057
23058 * gdb.base/async.c (main): Add "jump here" and "until here" line
23059 marker comments.
23060 * gdb.base/async.exp (jump_here): New global.
23061 (jump& test): Use it.
23062 (until_here): New global.
23063 (until& test): Use it.
23064
c30568d4
PA
230652014-03-19 Pedro Alves <palves@redhat.com>
23066
23067 * gdb.base/async.exp: Don't frob gdb_protocol.
23068
0172b6a7
DE
230692014-03-18 Doug Evans <xdje42@gmail.com>
23070
23071 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23072 Fix spelling of exec-done-display.
23073
06c868a8
JK
230742014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23075
23076 PR gdb/15358
23077 * gdb.base/gdb-sigterm.c: New file.
23078 * gdb.base/gdb-sigterm.exp: New file.
23079
0c7e1a46
PA
230802014-03-18 Pedro Alves <palves@redhat.com>
23081
23082 PR gdb/13860
23083 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23084 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23085 solib-event.
23086
f7c77d93
JB
230872014-03-17 Joel Brobecker <brobecker@adacore.com>
23088
23089 * gdb.ada/pckd_arr_ren: New testcase.
23090
5a1e8c7a
DE
230912014-03-13 Doug Evans <xdje42@gmail.com>
23092
23093 PR guile/16612
23094 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23095 collect after discarding symbols.
23096
350e1a76
DE
230972014-03-13 Ludovic Courtès <ludo@gnu.org>
23098 Doug Evans <xdje42@gmail.com>
23099
23100 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23101 to history survives a gc.
23102
a69900ae
PA
231032014-03-13 Pedro Alves <palves@redhat.com>
23104
23105 * gdb.base/default.exp: Don't test "target procfs".
23106
5db9f0bd
PA
231072014-03-13 Pedro Alves <palves@redhat.com>
23108
23109 * gdb.base/default.exp: Update "target child" and "target procfs"
23110 tests to not expect "Unix".
23111
b3ccfe11
TT
231122014-03-12 Tom Tromey <tromey@redhat.com>
23113
23114 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23115 New procs. Add target-async tests.
23116 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23117 Add target-async tests.
23118
646f4417
AA
231192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23120
23121 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23122 'func_start' and 'func_end' for the beginning and end of the
23123 function code, respectively.
23124 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23125 'func_end' instead of 'func' and 'main'.
23126
288c211f
AA
231272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23128
23129 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23130 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23131 generate the debug info assembler source.
23132
e0c0f156
AA
231332014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23134
23135 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23136 * gdb.dwarf2/arr-subrange.exp: Likewise.
23137 * gdb.dwarf2/dwz.exp: Likewise.
23138 * gdb.dwarf2/method-ptr.exp: Likewise.
23139 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23140 * gdb.dwarf2/subrange.exp: Likewise.
23141 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23142 * gdb.dwarf2/implptrpiece.exp: Likewise.
23143 * gdb.dwarf2/nostaticblock.exp: Likewise.
23144
0e5c4555
AA
231452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23146
23147 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23148 directory to absolute path name arguments.
23149
5ec18f2b
JG
231502014-03-10 Joel Brobecker <brobecker@adacore.com>
23151
23152 * gdb.ada/tagged_access: New testcase.
23153
847fc4f2
MM
231542014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23155
23156 * gdb.btrace/data.exp: Update expected output.
23157
cc3da688
YQ
231582014-03-06 Yao Qi <yao@codesourcery.com>
23159
23160 * gdb.trace/pr16508.exp: New file.
23161
0f26cec1
PA
231622014-03-05 Pedro Alves <palves@redhat.com>
23163
23164 PR gdb/16575
23165 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23166 procedure.
23167 (top level): Adjust to use it. Add tests that exercise breakpoint
23168 interaction with the code-cache.
23169
7a5a839f
LC
231702014-02-26 Ludovic Courtès <ludo@gnu.org>
23171
23172 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23173 test for 'history-append!'.
23174
31aa7e4e
JB
231752014-02-26 Joel Brobecker <brobecker@adacore.com>
23176
23177 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23178 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23179 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23180 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23181 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23182 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23183
1b588015
JB
231842014-02-26 Joel Brobecker <brobecker@adacore.com>
23185
23186 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23187 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23188 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23189
55426c9d
JB
231902014-02-26 Joel Brobecker <brobecker@adacore.com>
23191
23192 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23193
dc53a7ad
JB
231942014-02-26 Joel Brobecker <brobecker@adacore.com>
23195
23196 * gdb.dwarf2/arr-stride.c: New file.
23197 * gdb.dwarf2/arr-stride.exp: New file.
23198
12ab52e9
PA
231992014-02-26 Pedro Alves <palves@redhat.com>
23200
23201 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23202 that won't ever trigger. Make sure that GDB reports the correct
23203 breakpoint that caused the stop.
23204
849c862e
JK
232052014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23206
23207 PR gdb/16626
23208 * gdb.base/auto-load-script: New file.
23209 * gdb.base/auto-load.c: New file.
23210 * gdb.base/auto-load.exp: New file.
23211
71b7d793
JK
23212 PR gdb/16626
23213 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23214
e2f0d509
JK
232152014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23216
23217 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23218 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23219
50cc37c8
DE
232202014-02-24 Doug Evans <dje@google.com>
23221
23222 * lib/gdb.exp (run_on_host): Log error output if program fails.
23223
ea4758f2
PA
232242014-02-21 Pedro Alves <palves@redhat.com>
23225
23226 * gdb.threads/step-after-sr-lock.c: Rename to ...
23227 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23228 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23229 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23230 ... this.
23231
d7b30f67
SDJ
232322014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23233
23234 PR tdep/16397
23235 * gdb.arch/amd64-stap-special-operands.exp: New file.
23236 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23237 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23238 * gdb.arch/amd64-stap-triplet.S: Likewise.
23239 * gdb.arch/amd64-stap-triplet.c: Likewise.
23240
83deb43f
JB
232412014-02-20 Joel Brobecker <brobecker@adacore.com>
23242
23243 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23244 in .section pseudo-op.
23245
adde2bff
DE
232462014-02-20 lin zuojian <manjian2006@gmail.com>
23247 Joel Brobecker <brobecker@adacore.com>
23248 Doug Evans <xdje42@gmail.com>
23249
23250 PR symtab/16581
23251 * gdb.dwarf2/dw2-icycle.S: New file.
23252 * gdb.dwarf2/dw2-icycle.c: New file.
23253 * gdb.dwarf2/dw2-icycle.exp: New file.
23254
f7bd0f78
SC
232552014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23256
23257 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23258 operations on gdb.Value objects.
23259 * gdb.python/py-value-cc.exp: Add new test to test operations on
23260 gdb.Value objects.
23261
c17ef0d5
DE
232622014-02-18 Doug Evans <dje@google.com>
23263
23264 * Makefile.in (TESTS): New variable.
23265 (expanded_tests, expanded_tests_or_none): New variables
23266 (check-single): Pass $(expanded_tests_or_none) to runtest.
23267 (check-parallel): Only run tests in $(TESTS) if non-empty.
23268 (check/no-matching-tests-found): New rule.
23269 * README: Document TESTS makefile variable.
23270
5dd3176f
DE
232712014-02-18 Doug Evans <dje@google.com>
23272
23273 * Makefile.in (check-parallel): rm -rf outputs temp.
23274
0b10be4f
JK
232752014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23276
23277 Fix "ERROR: no fileid for" in the testsuite.
23278 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23279
85f224e7
DE
232802014-02-12 Doug Evans <dje@google.com>
23281
23282 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23283 (MISCELLANEOUS): New variable.
23284 (clean): rm -rf $(MISCELLANEOUS).
23285 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23286 dwp live in the same directory as symlinks, with each symlink pointed
23287 to a differently named file in a different directory.
23288
149b30ff
DE
232892014-02-11 Doug Evans <dje@google.com>
23290
23291 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23292 of Tcl file commands.
23293
1dfdac32
MK
232942014-02-10 Mark Kettenis <kettenis@gnu.org>
23295
23296 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23297 "kill -SIGUSR1 -1".
23298
aa4fb036
JB
232992014-02-10 Joel Brobecker <brobecker@adacore.com>
23300
23301 * gdb.ada/tick_length_array_enum_idx: New testcase.
23302
ed3ef339
DE
233032014-02-10 Doug Evans <xdje42@gmail.com>
23304
23305 * configure.ac (AC_OUTPUT): Add gdb.guile.
23306 * configure: Regenerate.
23307 * lib/gdb-guile.exp: New file.
23308 * lib/gdb.exp (get_target_charset): New function.
23309 * gdb.base/help.exp: Update expected output from "apropos apropos".
23310 * gdb.guile/Makefile.in: New file.
23311 * gdb.guile/guile.exp: New file.
23312 * gdb.guile/scm-arch.c: New file.
23313 * gdb.guile/scm-arch.exp: New file.
23314 * gdb.guile/scm-block.c: New file.
23315 * gdb.guile/scm-block.exp: New file.
23316 * gdb.guile/scm-breakpoint.c: New file.
23317 * gdb.guile/scm-breakpoint.exp: New file.
23318 * gdb.guile/scm-disasm.c: New file.
23319 * gdb.guile/scm-disasm.exp: New file.
23320 * gdb.guile/scm-equal.c: New file.
23321 * gdb.guile/scm-equal.exp: New file.
23322 * gdb.guile/scm-error.exp: New file.
23323 * gdb.guile/scm-error.scm: New file.
23324 * gdb.guile/scm-frame-args.c: New file.
23325 * gdb.guile/scm-frame-args.exp: New file.
23326 * gdb.guile/scm-frame-args.scm: New file.
23327 * gdb.guile/scm-frame-inline.c: New file.
23328 * gdb.guile/scm-frame-inline.exp: New file.
23329 * gdb.guile/scm-frame.c: New file.
23330 * gdb.guile/scm-frame.exp: New file.
23331 * gdb.guile/scm-generics.exp: New file.
23332 * gdb.guile/scm-gsmob.exp: New file.
23333 * gdb.guile/scm-iterator.c: New file.
23334 * gdb.guile/scm-iterator.exp: New file.
23335 * gdb.guile/scm-math.c: New file.
23336 * gdb.guile/scm-math.exp: New file.
23337 * gdb.guile/scm-objfile-script-gdb.in: New file.
23338 * gdb.guile/scm-objfile-script.c: New file.
23339 * gdb.guile/scm-objfile-script.exp: New file.
23340 * gdb.guile/scm-objfile.c: New file.
23341 * gdb.guile/scm-objfile.exp: New file.
23342 * gdb.guile/scm-ports.exp: New file.
23343 * gdb.guile/scm-pretty-print.c: New file.
23344 * gdb.guile/scm-pretty-print.exp: New file.
23345 * gdb.guile/scm-pretty-print.scm: New file.
23346 * gdb.guile/scm-section-script.c: New file.
23347 * gdb.guile/scm-section-script.exp: New file.
23348 * gdb.guile/scm-section-script.scm: New file.
23349 * gdb.guile/scm-symbol.c: New file.
23350 * gdb.guile/scm-symbol.exp: New file.
23351 * gdb.guile/scm-symtab-2.c: New file.
23352 * gdb.guile/scm-symtab.c: New file.
23353 * gdb.guile/scm-symtab.exp: New file.
23354 * gdb.guile/scm-type.c: New file.
23355 * gdb.guile/scm-type.exp: New file.
23356 * gdb.guile/scm-value-cc.cc: New file.
23357 * gdb.guile/scm-value-cc.exp: New file.
23358 * gdb.guile/scm-value.c: New file.
23359 * gdb.guile/scm-value.exp: New file.
23360 * gdb.guile/source2.scm: New file.
23361 * gdb.guile/types-module.cc: New file.
23362 * gdb.guile/types-module.exp: New file.
23363
7026a7c1
YQ
233642014-02-10 Yao Qi <yao@codesourcery.com>
23365
23366 PR testsuite/16543
23367 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23368 * configure: Regenerated.
23369 * Makefile.in: New file.
23370
6c466447
AS
233712014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23372
23373 * gdb.python/py-framefilter.exp: Fix typo.
23374
6e854735
YQ
233752014-02-08 Yao Qi <yao@codesourcery.com>
23376
23377 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23378 that no =breakpoint-modified is emitted when breakpoints are
23379 modified through MI commands.
23380
d137e6dc
PA
233812014-02-07 Pedro Alves <pedro@codesourcery.com>
23382 Pedro Alves <palves@redhat.com>
23383
23384 * gdb.threads/step-after-sr-lock.c: New file.
23385 * gdb.threads/step-after-sr-lock.exp: New file.
23386
b5ee5a50
PA
233872014-02-07 Pedro Alves <palves@redhat.com>
23388
23389 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23390
3c77faf3
JK
233912014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23392
23393 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23394 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23395
6dddc817
DE
233962014-02-06 Doug Evans <xdje42@gmail.com>
23397
23398 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23399 output.
23400
23401 * gdb.gdb/python-interrupts.exp: New file.
23402
de7b2893
YQ
234032014-02-05 Yao Qi <yao@codesourcery.com>
23404
23405 * gdb.trace/report.exp (use_collected_data): Test the output
23406 of "info threads" and "info inferiors".
23407
66d032ac
YQ
234082014-02-05 Yao Qi <yao@codesourcery.com>
23409
23410 Revert this patch:
23411
23412 2013-05-24 Yao Qi <yao@codesourcery.com>
23413
23414 * gdb.trace/tfile.exp: Test inferior and thread.
23415
591a12a1
UW
234162014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23417
23418 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23419 on a function.
23420 * gdb.base/step-bt.c: Call hello via function pointer to make
23421 sure its first instruction is executed on powerpc64le-linux.
23422
0ff3e01f
UW
234232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23424
23425 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23426
084ee545
UW
234272014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23428
23429 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23430 of the test patterns for use on little-endian systems.
23431
6ed14ff3
UW
234322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23433
23434 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23435 (decimal_vector): Fix for little-endian.
23436
401e27fd
JM
234372014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23438
23439 * gdb.arch/sparc-sysstep.exp: New file.
23440 * gdb.arch/sparc-sysstep.c: Likewise.
23441
23442 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23443
8b924729
EBM
234442014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23445
23446 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23447
fb151210
JB
234482014-01-23 Tom Tromey <tromey@redhat.com>
23449
23450 * gdb.ada/array_char_idx: New testcase.
23451
0740f8d8
TT
234522014-01-23 Tom Tromey <tromey@redhat.com>
23453
23454 PR python/16487:
23455 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23456 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23457 classes.
23458
21909fa1
TT
234592014-01-23 Tom Tromey <tromey@redhat.com>
23460
23461 PR python/16491:
23462 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23463 string from an inferior frame.
23464 * gdb.python/py-framefilter-mi.exp: Update.
23465
87ce2a04
DE
234662014-01-22 Doug Evans <dje@google.com>
23467
23468 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23469
237b092b
AA
234702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23471
23472 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23473
d674a709
AA
234742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23475
23476 * gdb.trace/entry-values.exp: Remove excess space character from
23477 regex patterns. Handle s390 call instruction.
23478
20fa3390
AA
234792014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23480
23481 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23482 define "*_start" label. Make "name" static.
23483 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23484 ${name} by references to ${name}_start.
23485
78466714
AA
234862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23487
23488 * gdb.base/info-macros.exp: Remove "debug" from the compile
23489 options.
23490
ec9f644a
IB
234912014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23492
23493 * gdb.dlang/demangle.exp: New file.
23494
94b1b47e
IB
234952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23496
23497 * gdb.dlang/primitive-types.exp: New file.
23498
7f420862
IB
234992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23500
23501 * configure.ac: Create gdb.dlang/Makefile.
23502 * configure: Regenerate.
23503 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23504 * gdb.dlang/Makefile.in: New file.
23505 * lib/d-support.exp: New file.
23506 * lib/gdb.exp (skip_d_tests): New proc.
23507
52834460
MM
235082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23509
23510 * gdb.btrace/delta.exp: Check reverse stepi.
23511 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23512 * gdb.btrace/finish.exp: New.
23513 * gdb.btrace/next.exp: New.
23514 * gdb.btrace/nexti.exp: New.
23515 * gdb.btrace/record_goto.c: Add comments.
23516 * gdb.btrace/step.exp: New.
23517 * gdb.btrace/stepi.exp: New.
23518 * gdb.btrace/multi-thread-step.c: New.
23519 * gdb.btrace/multi-thread-step.exp: New.
23520 * gdb.btrace/rn-dl-bind.c: New.
23521 * gdb.btrace/rn-dl-bind.exp: New.
23522 * gdb.btrace/data.c: New.
23523 * gdb.btrace/data.exp: New.
23524 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23525
6e07b1d2
MM
235262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23527
23528 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23529 * gdb.btrace/exception.exp: Update.
23530 * gdb.btrace/instruction_history.exp: Update.
23531 * gdb.btrace/record_goto.exp: Update.
23532 * gdb.btrace/tailcall.exp: Update.
23533 * gdb.btrace/unknown_functions.exp: Update.
23534 * gdb.btrace/delta.exp: New.
23535
0b722aec
MM
235362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23537
23538 * gdb.btrace/record_goto.exp: Add backtrace test.
23539 * gdb.btrace/tailcall.exp: Add backtrace test.
23540
066ce621
MM
235412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23542
23543 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23544 * gdb.btrace/record_goto.c: New.
23545 * gdb.btrace/record_goto.exp: New.
23546 * gdb.btrace/x86-record_goto.S: New.
23547
0688d04e
MM
235482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23549
23550 * gdb.btrace/function_call_history.exp: Update tests.
23551 * gdb.btrace/instruction_history.exp: Update tests.
23552
8710b709
MM
235532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23554
23555 * gdb.btrace/function_call_history.exp: Fix expected field
23556 order for "record function-call-history".
23557 Add new tests for "record function-call-history /c".
23558 * gdb.btrace/exception.cc: New.
23559 * gdb.btrace/exception.exp: New.
23560 * gdb.btrace/tailcall.exp: New.
23561 * gdb.btrace/x86-tailcall.S: New.
23562 * gdb.btrace/x86-tailcall.c: New.
23563 * gdb.btrace/unknown_functions.c: New.
23564 * gdb.btrace/unknown_functions.exp: New.
23565 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23566
5de9129b
MM
235672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23568
23569 * gdb.btrace/instruction_history.exp: Update.
23570 * gdb.btrace/function_call_history.exp: Update.
23571
23a7fe75
MM
235722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23573
23574 * gdb.btrace/function_call_history.exp: Fix expected function
23575 trace.
23576 * gdb.btrace/instruction_history.exp: Initialize traced.
23577 Remove traced_functions.
23578
724c7dd8
MM
235792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23580
23581 * gdb.btrace/function_call_history.exp: Update
23582 * gdb.btrace/instruction_history.exp: Update.
23583
6d78d93b
MM
235842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23585
23586 * gdb.btrace/enable.exp: Update expected text.
23587
93a360cc
OJ
235882014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23589
23590 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23591 bytes.
23592
3772b53f
MR
235932014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23594
23595 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23596
596662fa
OJ
235972014-01-15 Omair Javaid <omair.javaid@linaro.org>
23598
23599 * lib/gdb.exp (supports_process_record): Return true for
23600 arm*-linux*. (supports_reverse): Likewise.
23601
b5b08fb4
SC
236022014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23603
23604 PR python/15464
23605 PR python/16113
23606 * gdb.python/py-type.c: Enhance test case.
23607 * gdb.python/py-value-cc.cc: Likewise
23608 * gdb.python/py-type.exp: Add new tests.
23609 * gdb.python/py-value-cc.exp: Likewise
23610
52d7fb13
AA
236112014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23612 Pedro Alves <palves@redhat.com>
23613
23614 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23615 Make "name" extern.
23616 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23617 references to ${name}_start by references to ${name}.
23618
a2cd8cfe
JB
236192014-01-10 Joel Brobecker <brobecker@adacore.com>
23620
23621 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23622
4e23fced
JB
236232014-01-10 Joel Brobecker <brobecker@adacore.com>
23624
23625 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23626
c6a9e42c
PA
236272014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23628 Pedro Alves <palves@redhat.com>
23629
23630 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 23631 mi_gdb_target_load.
c6a9e42c 23632
b7ea362b
PA
236332014-01-08 Pedro Alves <palves@redhat.com>
23634
23635 * gdb.threads/reconnect-signal.c: New file.
23636 * gdb.threads/reconnect-signal.exp: New file.
23637
5e3f4fab
EBM
236382014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23639
23640 * gdb.base/source-dir.exp: New file.
23641
79301218
JB
236422014-01-07 Joel Brobecker <brobecker@adacore.com>
23643
23644 * gdb.ada/mi_interface: New testcase.
23645
8e355c5d
JB
236462014-01-07 Joel Brobecker <brobecker@adacore.com>
23647
23648 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23649 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23650 gdb.ada/pp-rec-component/pck.ads: New files.
23651
c0d48811
JB
236522014-01-07 Joel Brobecker <brobecker@adacore.com>
23653
23654 * gdb.python/py-pp-integral.c: New file.
23655 * gdb.python/py-pp-integral.py: New file.
23656 * gdb.python/py-pp-integral.exp: New file.
23657
17b609c3 23658For older changes see ChangeLog-1993-2013.
c906108c 23659\f
8d8cb839
EZ
23660;; Local Variables:
23661;; mode: change-log
23662;; left-margin: 8
23663;; fill-column: 74
23664;; version-control: never
23665;; End:
902f2ccb 23666
3666a048 23667 Copyright 2014-2021 Free Software Foundation, Inc.
902f2ccb
MC
23668 Copying and distribution of this file, with or without modification,
23669 are permitted provided the copyright notice and this notice are preserved.
This page took 4.226462 seconds and 4 git commands to generate.